p-elements-core 1.2.7-rc.2 → 1.2.7
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/demo/sample.js +1 -1
- package/dist/p-elements-core-modern.js +1 -1
- package/dist/p-elements-core.js +1 -1
- package/index.html +3 -0
- package/package.json +1 -1
- package/src/custom-element.ts +5 -5
- package/src/sample.tsx +12 -0
package/demo/sample.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! P-ELEMENTS 1.2.7-rc.0 - Tue Dec 03 2024 10:44:11 GMT+0100 (Midden-Europese standaardtijd) */({253:function(){var e,t;function n(e){var t="function"==typeof Map?new Map:void 0;return n=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(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 function(e,t,n){if(p())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var r=new(e.bind.apply(e,o));return n&&m(r,n.prototype),r}(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),m(n,e)},n(e)}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},o.apply(null,arguments)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function i(e,t,n){return e.set(a(e,t),n),n}function a(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,s(o.key),o)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=v(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}function f(e,t,n){return t=d(t),function(e,t){if(t&&("object"==v(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)}(e,p()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function y(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function v(e){return v="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},v(e)}var b=this&&this.__decorate||function(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===("undefined"==typeof Reflect?"undefined":v(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},g=(e=function(){function e(){var t;return u(this,e),(t=f(this,e,arguments)).count=1,t.name="",t.foo="foo",t.onInput=function(e){t.name=e.target.value},t.onPeterClick=function(e){console.log({e,p:t})},t.render=function(){return h("div",null,h("h1",{eventListeners:[["click",function(e){return console.log(e,t.slotContainer)}]],id:"Foo"},"Hallo:"),h("h1",{"data-title":t.name&&t.name.toLocaleUpperCase(),class:"title"},t.foo," ",t.name),h("p",{"data-count":t.count,updateAnimation:t.countUpdateAnimation},t.count),h("div",{id:"SlotContainer"},h("slot",null)),h("p",null,"Please enter your name (hint type"," ",h("em",null,h("strong",null,"Peter")),")",h("br",null),h("input",{type:"text",value:t.name,oninput:t.onInput})),h("p",null,h("a",{is:"super-a"},"Super a")),t.name&&t.name.toLowerCase&&t.name.toLowerCase().indexOf("peter")>-1?h("div",{key:"peter",afterRemoved:t.peterRemoved,afterCreate:t.peterCreate,class:"is-peter",eventListeners:[["click",t.onPeterClick]],enterAnimation:t.enterAnimation,exitAnimation:t.exitAnimation},h("p",null,"Hello Peter"),h("img",{class:"is-peter--image",src:"https://s-media-cache-ak0.pinimg.com/474x/ce/1d/07/ce1d07011c0afb8e0614a0ae42a8c861.jpg",height:"140"})):"")},t.onFooEvent=function(e){t.foo=e.detail.foo},t}return y(e,CustomElement),c(e,[{key:"enterAnimation",value:function(e,t){anime({targets:e,translateX:[{value:100,duration:1200},{value:0,duration:800}],rotate:"2turn",duration:3e3,loop:!1})}},{key:"exitAnimation",value:function(e,t,n){anime({targets:e,translateX:[{value:100,duration:1200},{value:0,duration:800}],duration:3e3,opacity:0,loop:!1,complete:function(){t(e)}})}},{key:"countUpdateAnimation",value:function(e,t,n){anime.timeline().add([{duration:300,targets:e,translateX:200,scale:1.9,easing:"easeOutExpo"},{duration:300,targets:e,translateX:0,scale:1,easing:"easeInExpo"}])}},{key:"peterRemoved",value:function(){console.log("removed")}},{key:"peterCreate",value:function(){console.log("create")}},{key:"connectedCallback",value:function(){var e=this,t=this.templateFromString('\n <style>\n\n :host{\n /* display: none; */\n }\n\n .root {\n display: flex;\n padding: 10px;\n flex-direction: row;\n }\n\n #Foo {\n @apply --mixin-sample;\n text-decoration: underline;\n }\n\n #SlotContainer ::slotted(*) {\n font-weight: bold;\n color: green;\n font-size: 1.5em;\n }\n\n </style>\n <div class="root"></div>\n ');this.shadowRoot.appendChild(t),this.createProjector(this.shadowRoot.querySelector(".root"),this.render),setInterval((function(){e.count++,e.renderNow()}),5e3),window.addEventListener("foo",this.onFooEvent)}},{key:"attributeChangedCallback",value:function(e,t,n){"name"===e&&(this.name=n)}}],[{key:"observedAttributes",get:function(){return["name"]}}])}(),e.isFormAssociated=!0,e);b([PropertyRenderOnSet],g.prototype,"name",void 0),b([PropertyRenderOnSet],g.prototype,"foo",void 0),b([Query("#SlotContainer")],g.prototype,"slotContainer",void 0),g=b([CustomElementConfig({tagName:"my-greetings"})],g);var w=new WeakMap,k=new WeakSet,C=function(){function e(){var t,n,o;return u(this,e),t=f(this,e,arguments),r(n=t,o=k),o.add(n),function(e,t,n){r(e,t),t.set(e,n)}(t,w,void 0),i(w,t,!1),t.disabled=!1,t}return y(e,CustomElementController),c(e,[{key:"connected",value:function(){console.log("connected"),i(w,this,!0),a(k,this,P).call(this)}},{key:"disconnected",value:function(){console.info("disconnected"),i(w,this,!1)}},{key:"shouldUpdate",value:function(e,t,n){return console.info("shouldUpdate",{property:e,oldValue:t,newValue:n}),!0}},{key:"updated",value:function(){console.info("updated",this),a(k,this,P).call(this)}}])}();function P(){var e,t;(t=this,(e=w).get(a(e,t)))&&(!0===this.disabled?this.hostElement.setAttribute("disabled","!!"):this.hostElement.removeAttribute("disabled"))}b([Property({type:"boolean"})],C.prototype,"disabled",void 0);var O=(t=function(){function e(){var t;return u(this,e),(t=f(this,e,arguments)).disabledController=new C(t),t.items=["foo","bar"],t.nickName="de prutser",t.render=function(){var e;return h("div",{classes:{foo:!0,foo__disabled:t.disabledController.disabled}},h("div",null,"Hello ",t.name," ",t.nickName?h("span",null," (",t.nickName,")"):null),h("div",null,"age ",t.age),t.data?h("pre",null,JSON.stringify(t.data,null,2)):null,null===(e=t.items)||void 0===e?void 0:e.map((function(e,t){return h("div",{key:"item".concat(t)},e)})))},t}return y(e,CustomElement),c(e,[{key:"init",value:function(){console.info("init")}},{key:"shouldUpdate",value:function(e,t,n){return"name"!==e||"string"!=typeof n||"adolf"!==n.toLocaleLowerCase()}},{key:"updated",value:function(e,t,n){console.info("PFoo",{name:e,old:t,newValue:n})}},{key:"attributeChangedCallback",value:function(t,n,r){var i,a,u,l,c;(i=e,a="attributeChangedCallback",u=this,c=o(d(1&(l=3)?i.prototype:i),a,u),2&l&&"function"==typeof c?function(e){return c.apply(u,e)}:c)([t,n,r]),"disabled"===t&&(this.disabledController.disabled=null!==r)}}])}(),t.style=".foo{color: red} .foo__disabled{opacity: 0.5;}",t.observedAttributes=["disabled"],t);b([Property({type:"string",attribute:"name",reflect:!0})],O.prototype,"name",void 0),b([Property({type:"number",attribute:"age",reflect:!0})],O.prototype,"age",void 0),b([Property({type:"object",attribute:"data",reflect:!0})],O.prototype,"data",void 0),b([Property({attribute:"items",reflect:!0,converter:{fromAttribute:function(e){return e?e.split(",").map((function(e){return e.trim()})):null},toAttribute:function(e){return e.join?e.join(","):null}}})],O.prototype,"items",void 0),b([Property({type:"string",attribute:"nick-name",readonly:!0})],O.prototype,"nickName",void 0),O=b([CustomElementConfig({tagName:"p-foo"})],O);var j=function(e){function t(){var e;return u(this,t),(e=f(this,t)).onclick=function(e){e.preventDefault(),alert("super")},e}return y(t,e),c(t,[{key:"connectedCallback",value:function(){this.classList.add("super"),this.style.color="red"}}])}(n(HTMLAnchorElement));window.customElements.define("super-a",j,{extends:"a"})}})[253]();
|
|
1
|
+
/*! P-ELEMENTS 1.2.7 - Tue Dec 03 2024 12:44:15 GMT+0100 (Midden-Europese standaardtijd) */({253:function(){var e,t,n;function o(e){var t="function"==typeof Map?new Map:void 0;return o=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(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 function(e,t,n){if(d())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var r=new(e.bind.apply(e,o));return n&&v(r,n.prototype),r}(e,arguments,y(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)},o(e)}function r(){return r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=y(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},r.apply(null,arguments)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t,n){return e.set(u(e,t),n),n}function u(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function l(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,s(o.key),o)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=b(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=b(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==b(t)?t:t+""}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t,n){return t=y(t),function(e,t){if(t&&("object"==b(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)}(e,d()?Reflect.construct(t,n||[],y(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function m(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function b(e){return b="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},b(e)}var g=this&&this.__decorate||function(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===("undefined"==typeof Reflect?"undefined":b(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},w=(e=function(){function e(){var t;return f(this,e),(t=p(this,e,arguments)).render=function(){return h("button",{class:"foo"},h("slot",null))},t}return m(e,CustomElement),c(e)}(),e.style=".foo{background-color: red; color: white; border: 0px;}",e.delegatesFocus=!0,e);w=g([CustomElementConfig({tagName:"my-button"})],w);var k=(t=function(){function e(){var t;return f(this,e),(t=p(this,e,arguments)).count=1,t.name="",t.foo="foo",t.onInput=function(e){t.name=e.target.value},t.onPeterClick=function(e){console.log({e,p:t})},t.render=function(){return h("div",null,h("h1",{eventListeners:[["click",function(e){return console.log(e,t.slotContainer)}]],id:"Foo"},"Hallo:"),h("h1",{"data-title":t.name&&t.name.toLocaleUpperCase(),class:"title"},t.foo," ",t.name),h("p",{"data-count":t.count,updateAnimation:t.countUpdateAnimation},t.count),h("div",{id:"SlotContainer"},h("slot",null)),h("p",null,"Please enter your name (hint type"," ",h("em",null,h("strong",null,"Peter")),")",h("br",null),h("input",{type:"text",value:t.name,oninput:t.onInput})),h("p",null,h("a",{is:"super-a"},"Super a")),t.name&&t.name.toLowerCase&&t.name.toLowerCase().indexOf("peter")>-1?h("div",{key:"peter",afterRemoved:t.peterRemoved,afterCreate:t.peterCreate,class:"is-peter",eventListeners:[["click",t.onPeterClick]],enterAnimation:t.enterAnimation,exitAnimation:t.exitAnimation},h("p",null,"Hello Peter"),h("img",{class:"is-peter--image",src:"https://s-media-cache-ak0.pinimg.com/474x/ce/1d/07/ce1d07011c0afb8e0614a0ae42a8c861.jpg",height:"140"})):"")},t.onFooEvent=function(e){t.foo=e.detail.foo},t}return m(e,CustomElement),c(e,[{key:"enterAnimation",value:function(e,t){anime({targets:e,translateX:[{value:100,duration:1200},{value:0,duration:800}],rotate:"2turn",duration:3e3,loop:!1})}},{key:"exitAnimation",value:function(e,t,n){anime({targets:e,translateX:[{value:100,duration:1200},{value:0,duration:800}],duration:3e3,opacity:0,loop:!1,complete:function(){t(e)}})}},{key:"countUpdateAnimation",value:function(e,t,n){anime.timeline().add([{duration:300,targets:e,translateX:200,scale:1.9,easing:"easeOutExpo"},{duration:300,targets:e,translateX:0,scale:1,easing:"easeInExpo"}])}},{key:"peterRemoved",value:function(){console.log("removed")}},{key:"peterCreate",value:function(){console.log("create")}},{key:"connectedCallback",value:function(){var e=this,t=this.templateFromString('\n <style>\n\n :host{\n /* display: none; */\n }\n\n .root {\n display: flex;\n padding: 10px;\n flex-direction: row;\n }\n\n #Foo {\n @apply --mixin-sample;\n text-decoration: underline;\n }\n\n #SlotContainer ::slotted(*) {\n font-weight: bold;\n color: green;\n font-size: 1.5em;\n }\n\n </style>\n <div class="root"></div>\n ');this.shadowRoot.appendChild(t),this.createProjector(this.shadowRoot.querySelector(".root"),this.render),setInterval((function(){e.count++,e.renderNow()}),5e3),window.addEventListener("foo",this.onFooEvent)}},{key:"attributeChangedCallback",value:function(e,t,n){"name"===e&&(this.name=n)}}],[{key:"observedAttributes",get:function(){return["name"]}}])}(),t.isFormAssociated=!0,t);g([PropertyRenderOnSet],k.prototype,"name",void 0),g([PropertyRenderOnSet],k.prototype,"foo",void 0),g([Query("#SlotContainer")],k.prototype,"slotContainer",void 0),k=g([CustomElementConfig({tagName:"my-greetings"})],k);var C=new WeakMap,P=new WeakSet,O=function(){function e(){var t,n,o;return f(this,e),t=p(this,e,arguments),i(n=t,o=P),o.add(n),function(e,t,n){i(e,t),t.set(e,n)}(t,C,void 0),a(C,t,!1),t.disabled=!1,t}return m(e,CustomElementController),c(e,[{key:"connected",value:function(){console.log("connected"),a(C,this,!0),u(P,this,j).call(this)}},{key:"disconnected",value:function(){console.info("disconnected"),a(C,this,!1)}},{key:"shouldUpdate",value:function(e,t,n){return console.info("shouldUpdate",{property:e,oldValue:t,newValue:n}),!0}},{key:"updated",value:function(){console.info("updated",this),u(P,this,j).call(this)}}])}();function j(){var e,t;(t=this,(e=C).get(u(e,t)))&&(!0===this.disabled?this.hostElement.setAttribute("disabled","!!"):this.hostElement.removeAttribute("disabled"))}g([Property({type:"boolean"})],O.prototype,"disabled",void 0);var E=(n=function(){function e(){var t;return f(this,e),(t=p(this,e,arguments)).disabledController=new O(t),t.items=["foo","bar"],t.nickName="de prutser",t.render=function(){var e;return h("div",{classes:{foo:!0,foo__disabled:t.disabledController.disabled}},h("div",null,"Hello ",t.name," ",t.nickName?h("span",null," (",t.nickName,")"):null),h("div",null,"age ",t.age),t.data?h("pre",null,JSON.stringify(t.data,null,2)):null,null===(e=t.items)||void 0===e?void 0:e.map((function(e,t){return h("div",{key:"item".concat(t)},e)})))},t}return m(e,CustomElement),c(e,[{key:"init",value:function(){console.info("init")}},{key:"shouldUpdate",value:function(e,t,n){return"name"!==e||"string"!=typeof n||"adolf"!==n.toLocaleLowerCase()}},{key:"updated",value:function(e,t,n){console.info("PFoo",{name:e,old:t,newValue:n})}},{key:"attributeChangedCallback",value:function(t,n,o){var i,a,u,l,c;(i=e,a="attributeChangedCallback",u=this,c=r(y(1&(l=3)?i.prototype:i),a,u),2&l&&"function"==typeof c?function(e){return c.apply(u,e)}:c)([t,n,o]),"disabled"===t&&(this.disabledController.disabled=null!==o)}}])}(),n.style=".foo{color: red} .foo__disabled{opacity: 0.5;}",n.observedAttributes=["disabled"],n);g([Property({type:"string",attribute:"name",reflect:!0})],E.prototype,"name",void 0),g([Property({type:"number",attribute:"age",reflect:!0})],E.prototype,"age",void 0),g([Property({type:"object",attribute:"data",reflect:!0})],E.prototype,"data",void 0),g([Property({attribute:"items",reflect:!0,converter:{fromAttribute:function(e){return e?e.split(",").map((function(e){return e.trim()})):null},toAttribute:function(e){return e.join?e.join(","):null}}})],E.prototype,"items",void 0),g([Property({type:"string",attribute:"nick-name",readonly:!0})],E.prototype,"nickName",void 0),E=g([CustomElementConfig({tagName:"p-foo"})],E);var S=function(e){function t(){var e;return f(this,t),(e=p(this,t)).onclick=function(e){e.preventDefault(),alert("super")},e}return m(t,e),c(t,[{key:"connectedCallback",value:function(){this.classList.add("super"),this.style.color="red"}}])}(o(HTMLAnchorElement));window.customElements.define("super-a",S,{extends:"a"})}})[253]();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! P-ELEMENTS 1.2.7-rc.0 - Tue Dec 03 2024 10:44:11 GMT+0100 (Midden-Europese standaardtijd) */var t={554:function(t,e,r){var n,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){if(r.get||r.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==r.g&&null!=r.g?r.g:t},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(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var r=0,n={next:function(){if(r<t.length){var o=r++;return{value:e(o,t[o]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},a.polyfill=function(t,e,r,n){if(e){for(r=a.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&a.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],n=function(){function t(t){if(!V.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var r=t.length,n=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<r;i++)if(i in t){var a=t[i];e.call(n,a,i,t)&&o.push(a)}return o}function r(t){return t.reduce((function(t,e){return t.concat(V.arr(e)?r(e):e)}),[])}function n(e){return V.arr(e)?e:(V.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,r={};for(e in t)r[e]=t[e];return r}function a(t,e){var r,n=i(t);for(r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function s(t,e){var r,n=i(t);for(r in e)n[r]=V.und(t[r])?e[r]:t[r];return n}function c(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,r,n){return e+e+r+r+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function l(t){function e(t,e,r){return 0>r&&(r+=1),1<r&&--r,r<1/6?t+6*(e-t)*r:.5>r?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(r[1])/360;var n=parseInt(r[2])/100,o=parseInt(r[3])/100;if(r=r[4]||1,0==n)o=n=t=o;else{var i=.5>o?o*(1+n):o+n-o*n,a=2*o-i;o=e(a,i,t+1/3),n=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*n+","+255*t+","+r+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function p(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function d(t,e){return V.fnc(t)?t(e.target,e.id,e.total):t}function h(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function y(t,e){return V.dom(t)&&o(R,e)?"transform":V.dom(t)&&(t.getAttribute(e)||V.svg(t)&&t[e])?"attribute":V.dom(t)&&"transform"!==e&&h(t,e)?"css":null!=t[e]?"object":void 0}function m(t,r){var n=p(r);if(n=-1<r.indexOf("scale")?1:0+n,!(t=t.style.transform))return n;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===r})),t.length?t[0]:n}function v(t,e){switch(y(t,e)){case"transform":return m(t,e);case"css":return h(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(r[0],"")),r[0][0]){case"+":return e+t+n;case"-":return e-t+n;case"*":return e*t+n}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,r=0,n=0;n<t.numberOfItems;n++){var o=t.getItem(n);0<n&&(r+=g(e,o)),e=o}return r}function S(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function E(t,e){function r(r){return r=void 0===r?0:r,t.el.getPointAtLength(1<=e+r?e+r:0)}var n=r(),o=r(-1),i=r(1);switch(t.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function O(t,e){var r,n=/-?\d*\.?\d+/g;if(r=V.pth(t)?t.totalLength:t,V.col(r))if(V.rgb(r)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);r=o?"rgba("+o[1]+",1)":r}else r=V.hex(r)?c(r):V.hsl(r)?l(r):void 0;else o=(o=f(r))?r.substr(0,r.length-o.length):r,r=e&&!/\s/g.test(r)?o+e:o;return{original:r+="",numbers:r.match(n)?r.match(n).map(Number):[0],strings:V.str(t)||e?r.split(n):[]}}function A(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function j(t){var e=A(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function x(t,e){var r=i(e);if(V.arr(t)){var o=t.length;2!==o||V.obj(t[0])?V.fnc(e.duration)||(r.duration=e.duration/o):t={value:t}}return n(t).map((function(t,r){return r=r?0:e.delay,t=V.obj(t)&&!V.pth(t)?t:{value:t},V.und(t.delay)&&(t.delay=r),t})).map((function(t){return s(t,r)}))}function M(t,e){var r,n={};for(r in t){var o=d(t[r],e);V.arr(o)&&(o=o.map((function(t){return d(t,e)})),1===o.length&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function k(t){return V.arr(t)?W.apply(this,t):D[t]}function N(t,e){var r;return t.tweens.map((function(n){var o=(n=M(n,e)).value,i=v(e.target,t.name),a=r?r.to.original:i,u=(a=V.arr(o)?o[0]:a,b(V.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),n.from=O(a,i),n.to=O(u,i),n.start=r?r.end:t.offset,n.end=n.start+n.delay+n.duration,n.easing=k(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=V.pth(o),n.isColor=V.col(n.from.original),n.isColor&&(n.round=1),r=n}))}function P(t,n){return e(r(t.map((function(t){return n.map((function(e){var r=y(t.target,e.name);if(r){var n=N(e,t);e={type:r,property:e.name,animatable:t,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else e=void 0;return e}))}))),(function(t){return!V.und(t)}))}function T(t,e,r,n){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?n.delay:r.offset+n.delay+n.duration}function C(t){var e,r=a(F,t),n=a(L,t),o=j(t.targets),i=[],u=s(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:x(t[e],n)});return s(r,{children:[],animatables:o,animations:t=P(o,i),duration:T("duration",t,r,n),delay:T("delay",t,r,n)})}function _(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return d.reversed?d.duration-t:t}function o(t){for(var r=0,n={},o=d.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[p=c.length-1];p&&(s=e(c,(function(e){return t<e.end}))[0]||s);for(var c=Math.min(Math.max(t-s.start-s.delay,0),s.duration)/s.duration,l=isNaN(c)?1:s.easing(c,s.elasticity),f=(c=s.to.strings,s.round),p=[],y=void 0,m=(y=s.to.numbers.length,0);m<y;m++){var v=void 0,b=(v=s.to.numbers[m],s.from.numbers[m]);v=s.isPath?E(s.value,l*v):b+l*(v-b),f&&(s.isColor&&2<m||(v=Math.round(v*f)/f)),p.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=p[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=p[0];B[a.type](u.target,a.property,y,n,u.id),a.currentValue=y,r++}if(r=Object.keys(n).length)for(o=0;o<r;o++)I||(I=h(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[I]=n[o].join(" ");d.currentTime=t,d.progress=t/d.duration*100}function i(t){d[t]&&d[t](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(t){var e=d.duration,u=d.offset,h=u+d.delay,y=d.currentTime,m=d.reversed,v=n(t);if(d.children.length){var b=d.children,g=b.length;if(v>=d.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=h||!e)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==y&&(o(0),m&&a()),(v>=e&&y!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(d.remaining?(c=s,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,p=r(),d=C(t);return d.reset=function(){var t=d.direction,e=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===t,d.remaining="alternate"===t&&1===e?2:e,o(0),t=d.children.length;t--;)d.children[t].reset()},d.tick=function(t){s=t,c||(c=s),u((l+s-c)*_.speed)},d.seek=function(t){u(n(t))},d.pause=function(){var t=q.indexOf(d);-1<t&&q.splice(t,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,l=n(d.currentTime),q.push(d),$||H())},d.reverse=function(){d.reversed=!d.reversed,c=0,l=n(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var I,F={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},L={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(" "),V={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return V.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||V.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return V.hex(t)||V.rgb(t)||V.hsl(t)}},W=function(){function t(t,e,r){return(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t}return function(e,r,n,o){if(0<=e&&1>=e&&0<=n&&1>=n){var i=new Float32Array(11);if(e!==r||n!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,n);return function(a){if(e===r&&n===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,s=1;10!==s&&i[s]<=a;++s)u+=.1;--s,s=u+(a-i[s])/(i[s+1]-i[s])*.1;var c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e);++u){var l=t(s,e,n)-a;s-=l/c}a=s}else if(0===c)a=s;else{s=u,u+=.1;var f=0;do{0<(c=t(l=s+(u-s)/2,e,n)-a)?u=l:s=l}while(1e-7<Math.abs(c)&&10>++f);a=l}return t(a,r,o)}}}}(),D=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={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],t],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(e,r){return 1-t(1-e,r)}],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(e,r){return.5>e?t(2*e,r)/2:1-t(-2*e+2,r)/2}]},o={linear:W(.25,.25,.75,.75)},i={};for(e in n)i.type=e,n[i.type].forEach(function(t){return function(e,n){o["ease"+t.type+r[n]]=V.fnc(e)?e:W.apply(u,e)}}(i)),i={type:i.type};return o}(),B={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){n[o]||(n[o]=[]),n[o].push(e+"("+r+")")}},q=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=q.length;if(r){for(var n=0;n<r;)q[n]&&q[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return _.version="2.2.0",_.speed=1,_.running=q,_.remove=function(t){t=A(t);for(var e=q.length;e--;)for(var r=q[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},_.getValue=v,_.path=function(e,r){var n=V.str(e)?t(e)[0]:e,o=r||100;return function(t){return{el:n,property:t,totalLength:S(n)*(o/100)}}},_.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},_.bezier=W,_.easings=D,_.timeline=function(t){var e=_(t);return e.pause(),e.duration=0,e.add=function(r){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),n(r).forEach((function(r){var n=s(r,a(L,t||{}));n.targets=n.targets||t.targets,r=e.duration;var o=n.offset;n.autoplay=!1,n.direction=e.direction,n.offset=V.und(o)?r:b(o,r),e.began=!0,e.completed=!0,e.seek(n.offset),(n=_(n)).began=!0,n.completed=!0,n.duration>r&&(e.duration=n.duration),e.children.push(n)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},_.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},_},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},999:(t,e,r)=>{function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Y8:()=>B,K9:()=>ut,y0:()=>q,Wd:()=>St,zG:()=>Jt,mA:()=>U,dd:()=>$,XK:()=>H,Qf:()=>te,_:()=>v,h:()=>Zt});var i=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,a=new Map;function u(t){var e=0,r=t.replace(i,(function(t,r,o,i){if(i){e++;var u=function(t){return null==t?void 0:t.split(";").map((function(t){var e=n(t.split(":",2),2),r=e[0],o=e[1];return{key:r.trim(),value:o?o.trim():""}})).filter((function(t){return t.key&&""!==t.key&&""!==t.value}))}(i),s="",c=[];return u.forEach((function(t){c.push(t.key),s+="".concat(r,"_-_").concat(t.key,": ").concat(t.value,";")+"\n"})),a.set(r,c),t.replace(r,"".concat(s,"\n ").concat(r))}return t}));return e>0?r:null}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}function f(t,e,r){return e=y(e),function(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,d()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function p(t){var e="function"==typeof Map?new Map:void 0;return p=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(d())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&h(o,r.prototype),o}(t,arguments,y(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},p(t)}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=function(){return!!t})()}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href");fetch(e).then((function(e){e.text().then((function(e){var r=u(e);if(r){var n=document.createElement("link");n.rel="stylesheet",n.href=URL.createObjectURL(new Blob([r],{type:"text/css"})),t.parentElement.replaceWith(n),window.dispatchEvent(new CustomEvent("updatecssapply"))}}))}))}}])&&c(r.prototype,n),o&&c(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(p(HTMLLinkElement));m.cssApplyVars=a,customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),customElements.define("custom-style",m,{extends:"link"});var v=r(523),b=r(554);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}var w=function(t){return function(e,r){var n=e.constructor,o=Symbol(r+"_PropertyDecorator");n&&!n.observedAttributes&&(n.observedAttributes=[]),n&&!n.__properties__&&(n.__properties__=[]),n.__properties__.push(r),t.attribute&&!t.readonly&&-1===n.observedAttributes.indexOf(t.attribute)&&n.observedAttributes.push(t.attribute),Object.defineProperty(e,"__property_".concat(r,"__"),{configurable:!0,enumerable:!0,get:function(){return t}}),!0!==t.readonly?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(e){var n=this,i=this[o],a=(null==this?void 0:this.shouldUpdate)&&!this.shouldUpdate(r,i,e),u=this.isCustomElementController?this.hostElement:this,s=t.converter?t.converter.toAttribute(e):function(t,e){switch(t){case"string":case"number":return e.toString();case"object":return JSON.stringify(e)}}(t.type,e);a?(this[o]=i,requestAnimationFrame((function(){u.setAttribute(t.attribute,i)}))):this[o]=e;var c=function(){n[o]!==i&&((null==n?void 0:n.renderNow)&&n.renderNow(),(null==n?void 0:n.updated)&&n.updated(r,i,n[o]))};if(t.reflect&&t.attribute)if("boolean"!==t.type){if(!e)return u.removeAttribute(t.attribute),void c();if(u.getAttribute(t.attribute)===s)return void c();null!==s?u.setAttribute(t.attribute,s):u.removeAttribute(t.attribute)}else e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),c();c(),(null==this?void 0:this.renderNow)&&this.renderNow()}}):Object.defineProperty(e,r,{get:function(){return this[o]},set:function(t){this[o]=t,null==this||this.renderNow(),delete this[r],Object.defineProperty(this,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(){throw new Error("Cannot set read-only property")}}),Object.seal(this[o])}})}},S=w({});function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function O(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return A(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}(t)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function M(t,e,r){return(e=N(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,N(n.key),n)}}function N(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:e+""}function P(t,e){if(e&&("object"==E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function T(t){var e="function"==typeof Map?new Map:void 0;return T=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(C())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&_(o,r.prototype),o}(t,arguments,I(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_(r,t)},T(t)}function C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(C=function(){return!!t})()}function _(t,e){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_(t,e)}function I(t){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},I(t)}function F(t,e,r){L(t,e),e.set(t,r)}function L(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(t,e,r){return r(D(t,e))}function V(t,e,r){return t.set(D(t,e),r),r}function W(t,e){return t.get(D(t,e))}function D(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var B=function(t,e,r){var n=r.value;if("function"!=typeof n)throw new Error("@Bind decorator can only be applied to methods not: ".concat(g(n)));var o=!1;return{configurable:!0,get:function(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),o=!1,r},set:function(t){n=t}}},q=function(t){return function(e){customElements.get(t.tagName)?console.warn("Custom element with tag name ".concat(t.tagName," already exists.")):customElements.define(t.tagName,e,t.options)}},$=S,H=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return e?this.shadowRoot.querySelector(t):this.querySelector(t)}})}},U=w,z=[],K=new WeakMap,Y=new WeakMap,X=new WeakMap,Q=new WeakMap,G=new WeakMap,Z=new WeakMap,J=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakMap,it=new WeakSet,at=new WeakMap,ut=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,o=I(o=e),function(t,e){L(t,e),e.add(t)}(r=P(n,C()?Reflect.construct(o,i||[],I(n).constructor):o.apply(n,i)),it),F(r,K,void 0),F(r,Y,void 0),F(r,X,void 0),F(r,Q,void 0),F(r,G,void 0),F(r,Z,void 0),F(r,J,!1),F(r,tt,void 0),F(r,et,void 0),F(r,rt,void 0),F(r,nt,[]),F(r,ot,!1),F(r,at,(function(){var t=r.constructor.__properties__;V(K,r,[]),t&&V(K,r,t.map((function(t){return x(x({},r["__property_".concat(t,"__")]),{},{name:t})})))})),D(it,r,ct).call(r),D(it,r,st).call(r),P(r,t)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}(e,t),r=e,n=[{key:"addController",value:function(t){W(nt,this).push(t),W(ot,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return W(rt,this)},set:function(t){V(rt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(R(it,this,lt)){if(W(G,this)||V(G,this,new CSSStyleSheet),t=D(it,this,ft).call(this),W(G,this).replaceSync(t),W(J,this))return;if(e instanceof Document){var r=D(it,this,dt).call(this,t);-1===z.indexOf(r)&&(document.adoptedStyleSheets=[].concat(O(document.adoptedStyleSheets),[W(G,this)]),V(J,this,!0),z.push(r))}else this.shadowRoot.adoptedStyleSheets=[W(G,this)],V(J,this,!0)}else if(V(Z,this,document.createElement("link")),W(Z,this).rel="stylesheet",t=D(it,this,ft).call(this),W(Z,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=D(it,this,dt).call(this,t);-1===z.indexOf(n)&&(document.head.appendChild(W(Z,this)),z.push(n))}else this.shadowRoot.appendChild(W(Z,this))}},{key:"templateFromString",value:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=document.createElement("template");n.innerHTML=t;var o=document.createDocumentFragment();o.appendChild(n.content);var i=o.querySelector("style");return r&&(V(tt,this,!0),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:W(et,this)})),D(it,this,pt).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){D(it,e,ft).call(e)})),o}},{key:"adoptStyle",value:function(t,e){this.addStylesheetToRootNode(e,t)}},{key:"createProjector",value:function(t,e){var r=this;return new Promise((function(n,o){var i,a=W(X,r)?W(X,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e),V(Y,r,i),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){W(Y,this)&&W(Y,this).renderNow()}},{key:"connectedCallback",value:function(){V(ot,this,!0),W(nt,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){V(ot,this,!1),W(nt,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=W(K,this).find((function(e){return e.attribute===t}));if(n)if(n.converter)this[n.name]=n.converter.fromAttribute(r);else{var o=n.type;"string"===o?this[n.name]=r:"number"===o?this[n.name]=parseFloat(r):"boolean"===o?this[n.name]=null!==r:"object"===o&&(this[n.name]=JSON.parse(r))}}}],n&&k(r.prototype,n),o&&k(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(T(HTMLElement));function st(){"function"==typeof this.init&&(this.init(),W(nt,this).forEach((function(t){null==t||t.init()})))}function ct(){var t=this;W(at,this).call(this);var e=this.constructor.projectorMode;V(X,this,e||"append");var r=this.constructor.isFormAssociated,n=this.constructor.isDelegateFocus;V(et,this,n),r&&V(rt,this,this.attachInternals());var o=this.constructor.style;if(o){V(tt,this,!0),V(X,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:W(et,this)}),D(it,this,pt).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame((function(){t.createProjector(i,t.render)})),window.addEventListener("updatecssapply",(function(){D(it,t,ft).call(t)}))}}function lt(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function ft(){var t=function(t){for(var e,r=customElements.get("custom-style").cssApplyVars,n=t,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=function(){var t=e[0],o=e[1];if(r.has(o)){var i="@apply"+t.split("@apply",2)[1],a=r.get(o).map((function(t){return";".concat(t,": var(").concat(o,"_-_").concat(t,");")})).join("");n=n.replace(i,a)}};e=o.exec(n);)i();return n}(W(Q,this));return W(Q,this)!==t&&(V(Q,this,t),R(it,this,lt)&&W(G,this)?W(G,this).replaceSync(t):R(it,this,lt)||(W(Z,this)&&URL.revokeObjectURL(W(Z,this).href),W(Z,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function pt(t){V(Q,this,t),W(tt,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):W(tt,this)||this.addStylesheetToRootNode(t,document)}function dt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function yt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mt(n.key),n)}}function mt(t){var e=function(t,e){if("object"!=ht(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ht(e)?e:e+""}function vt(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function bt(t,e){return t.get(gt(t,e))}function gt(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var wt=new WeakMap,St=function(){return t=function t(e){var r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),vt(this,wt,void 0),n=this,o=e,(r=wt).set(gt(r,n),o),bt(wt,this).addController(this)},(e=[{key:"hostElement",get:function(){return bt(wt,this)}},{key:"renderNow",value:function(){var t;null===(t=this.hostElement)||void 0===t||t.renderNow()}}])&&yt(t.prototype,e),r&&yt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}();function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}var Ot="http://www.w3.org/",At=Ot+"2000/svg",jt=Ot+"1999/xlink",xt=[],Mt=[],kt=!1,Nt=function(t){var e;(t.children||[]).forEach(Nt),null!=t&&null!==(e=t.properties)&&void 0!==e&&e.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},Pt=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},Tt=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},Ct=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(Pt(t[n],e))return n;return-1},_t=function(t,e,r,n){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(Pt(u,o))throw"added"===n?new Error(r.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(r.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},It=function(t,e){if(t.properties){var r=t.properties.enterAnimation;r&&("function"==typeof r?r(t.domNode,t.properties):e.enter(t.domNode,t.properties,r))}},Ft=function(t,e){var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),e&&Object.keys(e).forEach((function(t){r[t]=e[t]})),r},Lt=function(t,e,r){if(function(t,e,r){if(e)for(var n=0;n<e.length;n++)Vt(e[n],t,void 0,r)}(t,e.children,r),e.text&&(t.textContent=e.text),e.properties&&e.properties.eventListeners){if(!Array.isArray(e.properties.eventListeners))throw new Error("eventListeners value must be an array");e.properties.eventListeners.forEach((function(e){t.addEventListener(e[0],e[1],e[2])}))}!function(t,e,r){if(e)for(var n=r.eventHandlerInterceptor,o=Object.keys(e),i=o.length,a=function(){var i,a=o[u],s=e[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)!function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))}(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var p=c[f];s[p]&&t.classList.add(p)}else if("styles"===a)for(var d=Object.keys(s),h=d.length,y=0;y<h;y++){var m=d[y],v=s[m];v&&(Tt(v),r.styleApplyer(t,m,v))}else if("key"!==a&&null!=s){var b=Et(s);"function"===b?(0===a.lastIndexOf("on",0)&&(n&&(s=n(a,s,t,e)),"oninput"===a&&(i=s,s=function(t){i.apply(this,[t]),t.target["oninput-value"]=t.target.value})),t[a]=s):r.namespace===At?"href"===a?t.setAttributeNS(jt,a,s):t.setAttribute(a,s):"string"===b&&"value"!==a&&"innerHTML"!==a?t.setAttribute(a,s):t[a]=s}},u=0;u<i;u++)a()}(t,e.properties,r),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children])},Rt=function(t,e){return{update:function(r){if(t.vnodeSelector!==r.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)");$t(t,r,e),t=r},domNode:t.domNode}},Vt=function(t,e,r,n){var o,i,a,u,s,c=0,l=t.vnodeSelector,f=e.ownerDocument;if(""===l)o=t.domNode=f.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o);else{var p=function(){if(a=l.charAt(i),i===l.length||"."===a||"#"===a){if(u=l.charAt(c-1),s=l.slice(c,i),"."===u)o.classList.add(s);else if("#"===u)o.id=s;else{if("svg"===s&&(n=Ft(n,{namespace:At})),void 0!==n.namespace)o=t.domNode=f.createElementNS(n.namespace,s);else{var p;if(t.properties&&t.properties.is){var d=document.createElement("div");d.style.display="none",document.body.appendChild(d),d.innerHTML="<".concat(s,' is="').concat(t.properties.is,'"></').concat(s,">"),setTimeout((function(){document.body.removeChild(d)}),10),p=f.createElement(s,{is:t.properties.is})}else p=f.createElement(s);o=t.domNode=t.domNode||p,"input"===s&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type)}o&&(void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o))}c=i+1}};for(i=0;i<=l.length;++i)p();Lt(o,t,n)}},Wt=function(t,e){var r=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){r.removeEventListener(t[0],t[1])}));var n=t.properties.exitAnimation;if(n){r.style.pointerEvents="none";var o=function(){r.parentNode&&(r.parentNode.removeChild(r),Dt(t))};return"function"==typeof n?void n(r,o,t.properties):void e.exit(t.domNode,t.properties,n,o)}}r.parentNode&&(r.parentNode.removeChild(r),Dt(t))},Dt=function(t){Mt.push(t),kt||(kt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Bt,{timeout:16}):setTimeout(Bt,16))},Bt=function(){kt=!1,Mt.forEach(Nt),Mt.length=0},qt=function(t,e,r,n,o){if(r===n)return!1;n=n||xt;for(var i,a=(r=r||xt).length,u=n.length,s=o.transitions,c=0,l=0,f=!1;l<u;){var p=c<a?r[c]:void 0,d=n[l];if(void 0!==p&&Pt(p,d))f=$t(p,d,o)||f,c++;else{var h=Ct(r,d,c+1);if(h>=0){for(i=c;i<h;i++)Wt(r[i],s),_t(r,i,t,"removed");f=$t(r[h],d,o)||f,c=h+1}else Vt(d,e,c<a?r[c].domNode:void 0,o),It(d,s),_t(n,l,t,"added")}l++}if(a>c)for(i=c;i<a;i++)Wt(r[i],s),_t(r,i,t,"removed");return f},$t=function(t,e,r){var n=t.domNode,o=!1;if(t===e)return!1;var i=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var a=n.ownerDocument.createTextNode(e.text);return n.parentNode.replaceChild(a,n),e.domNode=a,o=!0}}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=Ft(r,{namespace:At})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),i=qt(e,n,t.children,e.children,r)||i,i=Ht(n,t.properties,e.properties,r)||i,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[n,r,e.vnodeSelector,e.properties,e.children]);return i&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(n,e.properties,t.properties),e.domNode=t.domNode,o},Ht=function(t,e,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,u=0;u<a;u++){var s=i[u],c=r[s],l=e[s];if("class"===s){if(l!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===s)for(var f=t.classList,p=Object.keys(c),d=p.length,h=0;h<d;h++){var y=p[h],m=!!c[y];m!==!!l[y]&&(o=!0,m?f.add(y):f.remove(y))}else if("styles"===s)for(var v=Object.keys(c),b=v.length,g=0;g<b;g++){var w=v[g],S=c[w];S!==l[w]&&(o=!0,S?(Tt(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||(c=""),"value"===s){var E=t[s];E!==c&&(t["oninput-value"]?E===t["oninput-value"]:c!==l)&&(t[s]=c,t["oninput-value"]=void 0),c!==l&&(o=!0)}else if(c!==l){var O=Et(c);if("function"===O)throw new Error("Functions may not be updated on subsequent renders (property: "+s+"). Hint: declare event handler functions outside the render() function.");"string"===O&&"innerHTML"!==s?n.namespace===At&&"href"===s?t.setAttributeNS(jt,s,c):"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0}}return o}},Ut=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},zt={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){t.style[e]=r},transitions:{enter:Ut,exit:Ut}},Kt=function(t){return Ft(zt,t)},Yt={create:function(t,e){return e=Kt(e),Vt(t,document.createElement("div"),void 0,e),Rt(t,e)},append:function(t,e,r){return r=Kt(r),Vt(e,t,void 0,r),Rt(e,r)},insertBefore:function(t,e,r){return r=Kt(r),Vt(e,t.parentNode,t,r),Rt(e,r)},merge:function(t,e,r){return r=Kt(r),e.domNode=t,Lt(t,e,r),Rt(e,r)},replace:function(t,e,r){return r=Kt(r),Vt(e,t.parentNode,t,r),t.parentNode.removeChild(t),Rt(e,r)}};function Xt(t){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(t)}var Qt=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},Gt=function(t,e,r){for(var n=0,o=e.length;n<o;n++){var i=e[n];Array.isArray(i)?Gt(t,i,r):null!=i&&(i.hasOwnProperty("vnodeSelector")||(i=Qt(i)),r.push(i))}},Zt=function(t){var e=arguments[1];if("string"!=typeof t)throw new Error;var r,n,o=1;!e||e.hasOwnProperty("vnodeSelector")||Array.isArray(e)||"object"!==Xt(e)?e=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?r=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(r=a[0])}if(void 0===r)for(n=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?Gt(t,u,n):u.hasOwnProperty("vnodeSelector")?n.push(u):n.push(Qt(u)))}return{vnodeSelector:t,properties:e,children:n,text:""===r?void 0:r,domNode:null}},Jt={createCache:function(){var t,e;return{invalidate:function(){e=void 0,t=void 0},result:function(r,n){if(t)for(var o=0;o<r.length;o++)t[o]!==r[o]&&(e=void 0);return e||(e=n(),t=r),e}}},createMapping:function(t,e,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(t),u=o.slice(),s=0,c=0;c<i.length;c++){var l=i[c],f=a[c];if(f===n[s])o[c]=u[s],r(l,u[s],c),s++;else{for(var p=!1,d=1;d<n.length+1;d++){var h=(s+d)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,p=!0;break}}p||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r=Kt(t);r.eventHandlerInterceptor=function(t,r,n,o){return function(){return e.scheduleRender(),r.apply(o.bind||this,arguments)}};var n,o=!0,i=!1,a=[],u=[],s=function(){if(n=void 0,o){o=!1;for(var t=0;t<a.length;t++){var e=u[t]();a[t].update(e)}o=!0}};return e={renderNow:s,scheduleRender:function(){n||i||(n=requestAnimationFrame(s))},stop:function(){n&&(cancelAnimationFrame(n),n=void 0),i=!0},resume:function(){i=!1,o=!0,e.scheduleRender()},append:function(t,e){a.push(Yt.append(t,e(),r)),u.push(e)},insertBefore:function(t,e){a.push(Yt.insertBefore(t,e(),r)),u.push(e)},merge:function(t,e){a.push(Yt.merge(t,e(),r)),u.push(e)},replace:function(t,e){a.push(Yt.replace(t,e(),r)),u.push(e)},detach:function(t){for(var e=0;e<u.length;e++)if(u[e]===t)return u.splice(e,1),a.splice(e,1)[0];throw new Error("renderMaquetteFunction was not found")}}},dom:Yt,h:Zt},te=$;!function(t){t._=v,t.Maquette=Jt,t.h=Zt,t.anime=b,t.CustomElement=ut,t.CustomElementController=St,t.CustomElementConfig=q,t.PropertyRenderOnSet=$,t.RenderOnSet=$,t.Property=U,t.Query=H,t.Bind=B}(window)},484:()=>{const{keys:t}=Object,e=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:u,Set:s,WeakMap:c}=self,l=t=>o in t,{filter:f}=[],p=t=>{const p=new c,d=(e,r)=>{let n;if(r)for(let o,i=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(e),a=0,{length:u}=y;a<u;a++)i.call(e,o=y[a])&&(p.has(e)||p.set(e,new s),n=p.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else p.has(e)&&(n=p.get(e),p.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)d(t[r],e)},{query:y}=t,m=t.root||i,v=((t,o=document,i=MutationObserver,a=["*"])=>{const u=(r,o,i,a,s,c)=>{for(const l of r)(c||n in l)&&(s?i.has(l)||(i.add(l),a.delete(l),t(l,s)):a.has(l)||(a.add(l),i.delete(l),t(l,s)),c||u(l[n](o),o,i,a,s,e))},s=new i((t=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:s}of t)u(s,n,o,i,r,r),u(a,n,o,i,e,r)}})),{observe:c}=s;return(s.observe=t=>c.call(s,t,{subtree:e,childList:e}))(o),s})(d,m,u,y),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(t){const e=b.call(this,t);return v.observe(e),e}),y.length&&h(m[o](y)),{drop:t=>{for(let e=0,{length:r}=t;e<r;e++)p.delete(t[e])},flush:()=>{const t=v.takeRecords();for(let e=0,{length:r}=t;e<r;e++)h(f.call(t[e].removedNodes,l),!1),h(f.call(t[e].addedNodes,l),!0)},observer:v,parse:h}},{customElements:d,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:O}=h,{define:A,get:j,upgrade:x}=d,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,C=new w,_=new g,I=new g,F=new g,L=new g,R=[],V=[],W=t=>L.get(t)||j.call(d,t),{parse:D}=p({query:V,handle:(e,r,n)=>{const o=F.get(n);if(r&&!o.isPrototypeOf(e)){const r=(e=>{const r=t(e),n=[],o=new Set,{length:i}=r;for(let t=0;t<i;t++){n[t]=e[r[t]];try{delete e[r[t]]}catch(e){o.add(t)}}return()=>{for(let t=0;t<i;t++)o.has(t)||(e[r[t]]=n[t])}})(e);U=P(e,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&e[i]()}}),{parse:B}=p({query:R,handle(t,e){T.has(t)&&(e?C.add(t):C.delete(t),V.length&&z.call(V,t))}}),{attachShadow:q}=y.prototype;q&&(y.prototype.attachShadow=function(t){const e=q.call(this,t);return T.set(this,e),e});const $=t=>{if(!I.has(t)){let e,r=new b((t=>{e=t}));I.set(t,{$:r,_:e})}return I.get(t).$},H=((t,e)=>{const r=t=>{for(let e=0,{length:r}=t;e<r;e++)n(t[e])},n=({target:t,attributeName:e,oldValue:r})=>{t.attributeChangedCallback(e,r,t.getAttribute(e))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&t(i).then((()=>{new e(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let t=0,{length:e}=a;t<e;t++)o.hasAttribute(a[t])&&n({target:o,attributeName:a[t],oldValue:null})})),o}})($,m);let U=null;function z(t){const e=T.get(t);D(e.querySelectorAll(this),t.isConnected)}N(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!_.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=_.get(t);if(r){if(U)return H(U,r);const e=O.call(h,n);return e.setAttribute("is",r),H(P(e,t.prototype),r)}return M.call(this,e,[],t)}P(r,e),k(r.prototype=e.prototype,"constructor",{value:r}),k(self,t,{value:r})})),h.createElement=function(t,e){const r=e&&e.is;if(r){const e=L.get(r);if(e&&_.get(e).tag===t)return new e}const n=O.call(h,t);return r&&n.setAttribute("is",r),n},d.get=W,d.whenDefined=$,d.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=L.get(e);if(r)return void H(P(t,r.prototype),e)}x.call(d,t)},d.define=function(t,e,r){if(W(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;_.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,F.set(n,e.prototype),L.set(t,e),V.push(n)):(A.apply(d,arguments),R.push(n=t)),$(t).then((()=>{o?(D(h.querySelectorAll(n)),C.forEach(z,[n])):B(h.querySelectorAll(n))})),I.get(t)._(e)}},650:()=>{!function(t){const e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,f=new WeakMap,p=new WeakMap,d=new WeakMap,h=new WeakMap,y=new WeakMap,m={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function v(t){const e=o.get(t),{form:r}=e;C(t,r,e),M(t,e.labels)}const b=(t,e=!1)=>{const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>o.has(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let n=r.nextNode();const i=!e||t.disabled;for(;n;)n.formDisabledCallback&&i&&A(n,t.disabled),n=r.nextNode()},g={attributes:!0,attributeFilter:["disabled","name"]},w=R()?new MutationObserver((t=>{for(const e of t){const t=e.target;if("disabled"===e.attributeName&&(t.constructor.formAssociated?A(t,t.hasAttribute("disabled")):"fieldset"===t.localName&&b(t)),"name"===e.attributeName&&t.constructor.formAssociated){const e=o.get(t),r=c.get(t);e.setFormValue(r)}}})):{};function S(t){t.forEach((t=>{const{addedNodes:e,removedNodes:r}=t,i=Array.from(e),a=Array.from(r);i.forEach((t=>{var e;if(o.has(t)&&t.constructor.formAssociated&&v(t),l.has(t)){const e=l.get(t);Object.keys(m).filter((t=>null!==e[t])).forEach((r=>{t.setAttribute(m[r],e[r])})),l.delete(t)}if(y.has(t)){const e=y.get(t);t.setAttribute("internals-valid",e.validity.valid.toString()),t.setAttribute("internals-invalid",(!e.validity.valid).toString()),t.setAttribute("aria-invalid",(!e.validity.valid).toString()),y.delete(t)}if("form"===t.localName){const e=s.get(t),r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>!o.has(t)||!t.constructor.formAssociated||e&&e.has(t)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let n=r.nextNode();for(;n;)v(n),n=r.nextNode()}"fieldset"===t.localName&&(null===(e=w.observe)||void 0===e||e.call(w,t,g),b(t,!0))})),a.forEach((t=>{const e=o.get(t);if(e&&n.get(e)&&j(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=d.get(t.target);o.has(e)&&L(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const O={childList:!0,subtree:!0},A=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},j=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},x=(t,e)=>{const r=document.createElement("input");return r.type="hidden",r.name=t.getAttribute("name"),t.after(r),n.get(e).push(r),r},M=(t,e)=>{if(e.length){Array.from(e).forEach((e=>e.addEventListener("click",t.click.bind(t))));let r=e[0].id;e[0].id||(r=`${e[0].htmlFor}_Label`,e[0].id=r),t.setAttribute("aria-labelledby",r)}},k=t=>{const e=Array.from(t.elements).filter((t=>!t.tagName.includes("-")&&t.validity)).map((t=>t.validity.valid)),r=s.get(t)||[],n=[...e,...Array.from(r).filter((t=>t.isConnected)).map((t=>o.get(t).validity.valid))].includes(!1);t.toggleAttribute("internals-invalid",n),t.toggleAttribute("internals-valid",!n)},N=t=>{k(_(t.target))},P=t=>{k(_(t.target))},T=t=>{const e=s.get(t.target);e&&e.size&&e.forEach((t=>{t.constructor.formAssociated&&t.formResetCallback&&t.formResetCallback.apply(t)}))},C=(t,e,r)=>{if(e){const n=s.get(e);if(n)n.add(t);else{const r=new Set;r.add(t),s.set(e,r),(t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map((t=>`${t}:not([disabled])`)).map((e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`)).join(",");t.addEventListener("click",(r=>{if(r.target.closest(e)){const e=s.get(t);if(t.noValidate)return;e.size&&Array.from(e).reverse().map((t=>o.get(t).reportValidity())).includes(!1)&&r.preventDefault()}}))})(e),e.addEventListener("reset",T),e.addEventListener("input",N),e.addEventListener("change",P)}a.set(e,{ref:t,internals:r}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout((()=>{t.formAssociatedCallback.apply(t,[e])}),0),k(e)}},_=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=_(e)),e},I=(t,e,r=DOMException)=>{if(!t.constructor.formAssociated)throw new r(e)},F=(t,e,r)=>{const n=s.get(t);return n&&n.size&&n.forEach((t=>{o.get(t)[r]()||(e=!1)})),e},L=t=>{if(t.constructor.formAssociated){const e=o.get(t),{labels:r,form:n}=e;M(t,r),C(t,n,e)}};function R(){return"undefined"!=typeof MutationObserver}class V{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const W=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},D=new WeakMap;function B(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class q extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");D.set(this,t)}add(t){if(!/^--/.test(t)||"string"!=typeof t)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${t} must start with '--'.`);const e=super.add(t),r=D.get(this),n=`state${t}`;return r.isConnected?B(r,n):setTimeout((()=>{B(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=D.get(this);return r.isConnected?(r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)):setTimeout((()=>{r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)})),e}}function $(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}var H;class U{constructor(t){H.set(this,void 0),function(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(t,r):o?o.value=r:e.set(t,r)}(this,H,t,"f");for(let e=0;e<t.length;e++){let r=t[e];this[e]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return $(this,H,"f").length}[(H=new WeakMap,Symbol.iterator)](){return $(this,H,"f")[Symbol.iterator]()}item(t){return null==this[t]?null:this[t]}namedItem(t){return null==this[t]?null:this[t]}}class z{static get isPolyfilled(){return!0}constructor(t){if(!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=t.getRootNode(),a=new V;this.states=new q(t),e.set(this,t),r.set(this,a),o.set(t,this),((t,e)=>{for(let r in m){e[r]=null;let n=null;const o=m[r];Object.defineProperty(e,r,{get:()=>n,set(r){n=r,t.isConnected?t.setAttribute(o,r):l.set(t,e)}})}})(t,this),((t,e)=>{var r;n.set(e,[]),null===(r=w.observe)||void 0===r||r.call(w,t,g)})(t,this),Object.seal(this),i instanceof DocumentFragment&&(t=>{var e,r;const n=new MutationObserver(E);(null===(e=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===e?void 0:e.inUse)&&t.mode&&t.host&&(t=t.host),null===(r=n.observe)||void 0===r||r.call(n,t,{childList:!0}),d.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(I(t,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=r.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});t.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return I(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=_(t)),r}get labels(){const t=e.get(this);I(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(I(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=p.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(I(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),j(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=x(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){x(r,this).value=t}c.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(I(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!t)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,o);const u=r.get(this),s={};for(const e in t)s[e]=t[e];var c;0===Object.keys(s).length&&((c=u).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const l=Object.assign(Object.assign({},u),s);delete l.valid;const{valid:f}=((t,e,r)=>(t.valid=W(e),Object.keys(e).forEach((r=>t[r]=e[r])),r&&k(r),t))(u,l,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");i.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),a.setAttribute("aria-invalid",`${!f}`)):y.set(a,this)}get shadowRoot(){const t=e.get(this),r=f.get(t);return r||null}get validationMessage(){const t=e.get(this);return I(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get validity(){const t=e.get(this);I(t,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return r.get(this)}get willValidate(){const t=e.get(this);return I(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let K=!1,Y=!1;function X(t){Y||(Y=!0,window.CustomStateSet=q,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new q(this),r}))}function Q(t=!0){if(!K){if(K=!0,"undefined"!=typeof window&&(window.ElementInternals=z),"undefined"!=typeof CustomElementRegistry){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,r,n){if(r.formAssociated){const t=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){h.has(this)||(h.set(this,!0),this.hasAttribute("disabled")&&A(this,!0)),null!=t&&t.apply(this),L(this)}}e.call(this,t,r,n)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(o.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new z(this)}),"undefined"!=typeof Element){function r(...t){const e=n.apply(this,t);if(f.set(this,e),R()){const t=new MutationObserver(S);window.ShadyDOM?t.observe(this,O):t.observe(e,O),u.set(this,t)}return e}const n=Element.prototype.attachShadow;Element.prototype.attachShadow=r}if(R()&&"undefined"!=typeof document){new MutationObserver(S).observe(document.documentElement,O)}"undefined"!=typeof HTMLFormElement&&function(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...e){let r=t.apply(this,e);return F(this,r,"checkValidity")};const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...t){let r=e.apply(this,t);return F(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...t){const e=r.call(this,...t),n=Array.from(s.get(this)||[]);if(0===n.length)return e;const o=Array.from(e).concat(n).sort(((t,e)=>t.compareDocumentPosition?2&t.compareDocumentPosition(e)?1:-1:0));return new U(o)}})}(),(t||"undefined"!=typeof window&&!window.CustomStateSet)&&X()}}!!customElements.polyfillWrapFlushCallback||(!function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const r=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((t=>t in r.internals))}()?Q(!1):"undefined"==typeof window||window.CustomStateSet||X(HTMLElement.prototype.attachInternals)),t.forceCustomStateSetPolyfill=X,t.forceElementInternalsPolyfill=Q,Object.defineProperty(t,"__esModule",{value:!0})}({})},523:(t,e,r)=>{r.r(e),r.d(e,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Fe,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>qr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>It,filter:()=>Ze,find:()=>Ue,findIndex:()=>We,findKey:()=>Re,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>Cr,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>D,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>C,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>Ce,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Wt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Fe,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Dr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>It,filter:()=>Ze,find:()=>Ue,findIndex:()=>We,findKey:()=>Re,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>Cr,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>D,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>C,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>Ce,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Wt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});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,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=d&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=Math.pow(2,53)-1;function A(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var i=Array(e+1);for(o=0;o<e;o++)i[o]=arguments[o];return i[e]=n,t.apply(this,i)}}function j(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function x(t){return null===t}function M(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===f.call(t)}function N(t){return!(!t||1!==t.nodeType)}function P(t){var e="[object "+t+"]";return function(t){return f.call(t)===e}}const T=P("String"),C=P("Number"),_=P("Date"),I=P("RegExp"),F=P("Error"),L=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),W=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof W&&(V=function(t){return"function"==typeof t||!1});const D=V,B=P("Object");var q=h&&B(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&B(new Map),H=P("DataView");const U=q?function(t){return null!=t&&D(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function K(t,e){return null!=t&&p.call(t,e)}var Y=P("Arguments");!function(){Y(arguments)||(Y=function(t){return K(t,"callee")})}();const X=Y;function Q(t){return!L(t)&&w(t)&&!isNaN(parseFloat(t))}function G(t){return C(t)&&g(t)}function Z(t){return function(){return t}}function J(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=O}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=J(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=d?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:Z(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=E.length,n=t.constructor,o=D(n)&&n.prototype||u,i="constructor";for(K(t,i)&&!e.contains(i)&&e.push(i);r--;)(i=E[r])in t&&t[i]!==o[i]&&!e.contains(i)&&e.push(i)}function ut(t){if(!j(t))return[];if(m)return m(t);var e=[];for(var r in t)K(t,r)&&e.push(r);return S&&at(t,e),e}function st(t){if(null==t)return!0;var e=it(t);return"number"==typeof e&&(z(t)||T(t)||X(t))?0===e:0===it(ut(t))}function ct(t,e){var r=ut(e),n=r.length;if(null==t)return!n;for(var o=Object(t),i=0;i<n;i++){var a=r[i];if(e[a]!==o[a]||!(a in o))return!1}return!0}function lt(t){return t instanceof lt?t:this instanceof lt?void(this._wrapped=t):new lt(t)}function ft(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}lt.VERSION=o,lt.prototype.value=function(){return this._wrapped},lt.prototype.valueOf=lt.prototype.toJSON=lt.prototype.value,lt.prototype.toString=function(){return String(this._wrapped)};var pt="[object DataView]";function dt(t,e,r,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var o=typeof t;return("function"===o||"object"===o||"object"==typeof e)&&ht(t,e,r,n)}function ht(t,e,r,n){t instanceof lt&&(t=t._wrapped),e instanceof lt&&(e=e._wrapped);var o=f.call(t);if(o!==f.call(e))return!1;if(q&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=pt}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return s.valueOf.call(t)===s.valueOf.call(e);case"[object ArrayBuffer]":case pt:return ht(ft(t),ft(e),r,n)}var i="[object Array]"===o;if(!i&&ot(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(D(a)&&a instanceof a&&D(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}n=n||[];for(var c=(r=r||[]).length;c--;)if(r[c]===t)return n[c]===e;if(r.push(t),n.push(e),i){if((c=t.length)!==e.length)return!1;for(;c--;)if(!dt(t[c],e[c],r,n))return!1}else{var l,p=ut(t);if(c=p.length,ut(e).length!==c)return!1;for(;c--;)if(!K(e,l=p[c])||!dt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return dt(t,e)}function mt(t){if(!j(t))return[];var e=[];for(var r in t)e.push(r);return S&&at(t,e),e}function vt(t){var e=it(t);return function(r){if(null==r)return!1;var n=mt(r);if(it(n))return!1;for(var o=0;o<e;o++)if(!D(r[t[o]]))return!1;return t!==Et||!D(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),Ot=["add"].concat(gt,bt,"has");const At=$?vt(St):P("Map"),jt=$?vt(Et):P("WeakMap"),xt=$?vt(Ot):P("Set"),Mt=P("WeakSet");function kt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=t[e[o]];return n}function Nt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=[e[o],t[e[o]]];return n}function Pt(t){for(var e={},r=ut(t),n=0,o=r.length;n<o;n++)e[t[r[n]]]=r[n];return e}function Tt(t){var e=[];for(var r in t)D(t[r])&&e.push(r);return e.sort()}function Ct(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var o=1;o<n;o++)for(var i=arguments[o],a=t(i),u=a.length,s=0;s<u;s++){var c=a[s];e&&void 0!==r[c]||(r[c]=i[c])}return r}}const _t=Ct(mt),It=Ct(ut),Ft=Ct(mt,!0);function Lt(t){if(!j(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function Rt(t,e){var r=Lt(t);return e&&It(r,e),r}function Vt(t){return j(t)?z(t)?t.slice():_t({},t):t}function Wt(t,e){return e(t),t}function Dt(t){return z(t)?t:[t]}function Bt(t){return lt.toPath(t)}function qt(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function $t(t,e,r){var n=qt(t,Bt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=Bt(e)).length,n=0;n<r;n++){var o=e[n];if(!K(t,o))return!1;t=t[o]}return!!r}function Ut(t){return t}function zt(t){return t=It({},t),function(e){return ct(e,t)}}function Kt(t){return t=Bt(t),function(e){return qt(e,t)}}function Yt(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)}}return function(){return t.apply(e,arguments)}}function Xt(t,e,r){return null==t?Ut:D(t)?Yt(t,e,r):j(t)&&!z(t)?zt(t):Kt(t)}function Qt(t,e){return Xt(t,e,1/0)}function Gt(t,e,r){return lt.iteratee!==Qt?lt.iteratee(t,e):Xt(t,e,r)}function Zt(t,e,r){e=Gt(e,r);for(var n=ut(t),o=n.length,i={},a=0;a<o;a++){var u=n[a];i[u]=e(t[u],u,t)}return i}function Jt(){}function te(t){return null==t?Jt:function(e){return $t(t,e)}}function ee(t,e,r){var n=Array(Math.max(0,t));e=Yt(e,r,1);for(var o=0;o<t;o++)n[o]=e(o);return n}function re(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}lt.toPath=Dt,lt.iteratee=Qt;const ne=Date.now||function(){return(new Date).getTime()};function oe(t){var e=function(e){return t[e]},r="(?:"+ut(t).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}}const ie={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ae=oe(ie),ue=oe(Pt(ie)),se=lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ce=/(.)^/,le={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},fe=/\\|'|\r|\n|\u2028|\u2029/g;function pe(t){return"\\"+le[t]}var de=/^\s*(\w|\$)+\s*$/;function he(t,e,r){!e&&r&&(e=r),e=Ft({},e,lt.templateSettings);var n=RegExp([(e.escape||ce).source,(e.interpolate||ce).source,(e.evaluate||ce).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,(function(e,r,n,a,u){return i+=t.slice(o,u).replace(fe,pe),o=u+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,u=e.variable;if(u){if(!de.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(t){throw t.source=i,t}var s=function(t){return a.call(this,t,lt)};return s.source="function("+u+"){\n"+i+"}",s}function ye(t,e,r){var n=(e=Bt(e)).length;if(!n)return D(r)?r.call(t):r;for(var o=0;o<n;o++){var i=null==t?void 0:t[e[o]];void 0===i&&(i=r,o=n),t=D(i)?i.call(t):i}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function be(t){var e=lt(t);return e._chain=!0,e}function ge(t,e,r,n,o){if(!(n instanceof e))return t.apply(r,o);var i=Lt(t.prototype),a=t.apply(i,o);return j(a)?a:i}var we=A((function(t,e){var r=we.placeholder,n=function(){for(var o=0,i=e.length,a=Array(i),u=0;u<i;u++)a[u]=e[u]===r?arguments[o++]:e[u];for(;o<arguments.length;)a.push(arguments[o++]);return ge(t,n,this,this,a)};return n}));we.placeholder=lt;const Se=we,Ee=A((function(t,e,r){if(!D(t))throw new TypeError("Bind must be called on a function");var n=A((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Oe=J(it);function Ae(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var o=n.length,i=0,a=it(t);i<a;i++){var u=t[i];if(Oe(u)&&(z(u)||X(u)))if(e>1)Ae(u,e-1,r,n),o=n.length;else for(var s=0,c=u.length;s<c;)n[o++]=u[s++];else r||(n[o++]=u)}return n}const je=A((function(t,e){var r=(e=Ae(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=Ee(t[n],t)}return t}));function xe(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return K(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const Me=A((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),ke=Se(Me,lt,1);function Ne(t,e,r){var n,o,i,a,u=0;r||(r={});var s=function(){u=!1===r.leading?0:ne(),n=null,a=t.apply(o,i),n||(o=i=null)},c=function(){var c=ne();u||!1!==r.leading||(u=c);var l=e-(c-u);return o=this,i=arguments,l<=0||l>e?(n&&(clearTimeout(n),n=null),u=c,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(n),u=0,n=o=i=null},c}function Pe(t,e,r){var n,o,i,a,u,s=function(){var c=ne()-o;e>c?n=setTimeout(s,e-c):(n=null,r||(a=t.apply(u,i)),n||(i=u=null))},c=A((function(c){return u=this,i=c,o=ne(),n||(n=setTimeout(s,e),r&&(a=t.apply(u,i))),a}));return c.cancel=function(){clearTimeout(n),n=i=u=null},c}function Te(t,e){return Se(e,t)}function Ce(t){return function(){return!t.apply(this,arguments)}}function _e(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ie(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Fe(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const Le=Se(Fe,2);function Re(t,e,r){e=Gt(e,r);for(var n,o=ut(t),i=0,a=o.length;i<a;i++)if(e(t[n=o[i]],n,t))return n}function Ve(t){return function(e,r,n){r=Gt(r,n);for(var o=it(e),i=t>0?0:o-1;i>=0&&i<o;i+=t)if(r(e[i],i,e))return i;return-1}}const We=Ve(1),De=Ve(-1);function Be(t,e,r,n){for(var o=(r=Gt(r,n,1))(e),i=0,a=it(t);i<a;){var u=Math.floor((i+a)/2);r(t[u])<o?i=u+1:a=u}return i}function qe(t,e,r){return function(n,o,i){var a=0,u=it(n);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(r&&i&&u)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(l.call(n,a,u),G))>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(n[i]===o)return i;return-1}}const $e=qe(1,We,Be),He=qe(-1,De);function Ue(t,e,r){var n=(Oe(t)?We:Re)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function ze(t,e){return Ue(t,zt(e))}function Ke(t,e,r){var n,o;if(e=Yt(e,r),Oe(t))for(n=0,o=t.length;n<o;n++)e(t[n],n,t);else{var i=ut(t);for(n=0,o=i.length;n<o;n++)e(t[i[n]],i[n],t)}return t}function Ye(t,e,r){e=Gt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=Array(o),a=0;a<o;a++){var u=n?n[a]:a;i[a]=e(t[u],u,t)}return i}function Xe(t){return function(e,r,n,o){var i=arguments.length>=3;return function(e,r,n,o){var i=!Oe(e)&&ut(e),a=(i||e).length,u=t>0?0:a-1;for(o||(n=e[i?i[u]:u],u+=t);u>=0&&u<a;u+=t){var s=i?i[u]:u;n=r(n,e[s],s,e)}return n}(e,Yt(r,o,4),n,i)}}const Qe=Xe(1),Ge=Xe(-1);function Ze(t,e,r){var n=[];return e=Gt(e,r),Ke(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function Je(t,e,r){return Ze(t,Ce(Gt(e)),r)}function tr(t,e,r){e=Gt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(!e(t[a],a,t))return!1}return!0}function er(t,e,r){e=Gt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(e(t[a],a,t))return!0}return!1}function rr(t,e,r,n){return Oe(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=A((function(t,e,r){var n,o;return D(e)?o=e:(e=Bt(e),n=e.slice(0,-1),e=e[e.length-1]),Ye(t,(function(t){var i=o;if(!i){if(n&&n.length&&(t=qt(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)}))}));function or(t,e){return Ye(t,Kt(e))}function ir(t,e){return Ze(t,zt(e))}function ar(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n>i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ur(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n<i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))<a||o===1/0&&i===1/0)&&(i=t,a=o)}));return i}function sr(t,e,r){if(null==e||r)return Oe(t)||(t=kt(t)),t[re(t.length-1)];var n=Oe(t)?Vt(t):kt(t),o=it(n);e=Math.max(Math.min(e,o),0);for(var i=o-1,a=0;a<e;a++){var u=re(a,i),s=n[a];n[a]=n[u],n[u]=s}return n.slice(0,e)}function cr(t){return sr(t,1/0)}function lr(t,e,r){var n=0;return e=Gt(e,r),or(Ye(t,(function(t,r,o){return{value:t,index:n++,criteria:e(t,r,o)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function fr(t,e){return function(r,n,o){var i=e?[[],[]]:{};return n=Gt(n,o),Ke(r,(function(e,o){var a=n(e,o,r);t(i,e,a)})),i}}const pr=fr((function(t,e,r){K(t,r)?t[r].push(e):t[r]=[e]})),dr=fr((function(t,e,r){t[r]=e})),hr=fr((function(t,e,r){K(t,r)?t[r]++:t[r]=1})),yr=fr((function(t,e,r){t[r?0:1].push(e)}),!0);var mr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function vr(t){return t?z(t)?l.call(t):T(t)?t.match(mr):Oe(t)?Ye(t,Ut):kt(t):[]}function br(t){return null==t?0:Oe(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=A((function(t,e){var r={},n=e[0];if(null==t)return r;D(n)?(e.length>1&&(n=Yt(n,e[1])),e=mt(t)):(n=gr,e=Ae(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o<i;o++){var a=e[o],u=t[a];n(u,a,t)&&(r[a]=u)}return r})),Sr=A((function(t,e){var r,n=e[0];return D(n)?(n=Ce(n),e.length>1&&(r=e[1])):(e=Ye(Ae(e,!1,!1),String),n=function(t,r){return!rr(e,r)}),wr(t,n,r)}));function Er(t,e,r){return l.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Or(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:Er(t,t.length-e)}function Ar(t,e,r){return l.call(t,null==e||r?1:e)}function jr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Ar(t,Math.max(0,t.length-e))}function xr(t){return Ze(t,Boolean)}function Mr(t,e){return Ae(t,e,!1)}const kr=A((function(t,e){return e=Ae(e,!0,!0),Ze(t,(function(t){return!rr(e,t)}))})),Nr=A((function(t,e){return kr(t,e)}));function Pr(t,e,r,n){k(e)||(n=r,r=e,e=!1),null!=r&&(r=Gt(r,n));for(var o=[],i=[],a=0,u=it(t);a<u;a++){var s=t[a],c=r?r(s,a,t):s;e&&!r?(a&&i===c||o.push(s),i=c):r?rr(i,c)||(i.push(c),o.push(s)):rr(o,s)||o.push(s)}return o}const Tr=A((function(t){return Pr(Ae(t,!0,!0))}));function Cr(t){for(var e=[],r=arguments.length,n=0,o=it(t);n<o;n++){var i=t[n];if(!rr(e,i)){var a;for(a=1;a<r&&rr(arguments[a],i);a++);a===r&&e.push(i)}}return e}function _r(t){for(var e=t&&ar(t,it).length||0,r=Array(e),n=0;n<e;n++)r[n]=or(t,n);return r}const Ir=A(_r);function Fr(t,e){for(var r={},n=0,o=it(t);n<o;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function Lr(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),o=Array(n),i=0;i<n;i++,t+=r)o[i]=t;return o}function Rr(t,e){if(null==e||e<1)return[];for(var r=[],n=0,o=t.length;n<o;)r.push(l.call(t,n,n+=e));return r}function Vr(t,e){return t._chain?lt(e).chain():e}function Wr(t){return Ke(Tt(t),(function(e){var r=lt[e]=t[e];lt.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Vr(this,r.apply(lt,t))}})),lt}Ke(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];lt.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),Vr(this,r)}})),Ke(["concat","join","slice"],(function(t){var e=a[t];lt.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Vr(this,t)}}));const Dr=lt;var Br=Wr(n);Br._=Br;const qr=Br}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(484),r(523),r(650);var n=r(999),o=n.Y8,i=n.K9,a=n.y0,u=n.Wd,s=n.zG,c=n.mA,l=n.dd,f=n.XK,p=n.Qf,d=n._,h=n.h;export{o as Bind,i as CustomElement,a as CustomElementConfig,u as CustomElementController,s as Maquette,c as Property,l as PropertyRenderOnSet,f as Query,p as RenderOnSet,d as _,h};
|
|
1
|
+
/*! P-ELEMENTS 1.2.7 - Tue Dec 03 2024 12:44:15 GMT+0100 (Midden-Europese standaardtijd) */var t={554:function(t,e,r){var n,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){if(r.get||r.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==r.g&&null!=r.g?r.g:t},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(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var r=0,n={next:function(){if(r<t.length){var o=r++;return{value:e(o,t[o]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},a.polyfill=function(t,e,r,n){if(e){for(r=a.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&a.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],n=function(){function t(t){if(!V.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var r=t.length,n=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<r;i++)if(i in t){var a=t[i];e.call(n,a,i,t)&&o.push(a)}return o}function r(t){return t.reduce((function(t,e){return t.concat(V.arr(e)?r(e):e)}),[])}function n(e){return V.arr(e)?e:(V.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,r={};for(e in t)r[e]=t[e];return r}function a(t,e){var r,n=i(t);for(r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function s(t,e){var r,n=i(t);for(r in e)n[r]=V.und(t[r])?e[r]:t[r];return n}function c(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,r,n){return e+e+r+r+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function l(t){function e(t,e,r){return 0>r&&(r+=1),1<r&&--r,r<1/6?t+6*(e-t)*r:.5>r?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(r[1])/360;var n=parseInt(r[2])/100,o=parseInt(r[3])/100;if(r=r[4]||1,0==n)o=n=t=o;else{var i=.5>o?o*(1+n):o+n-o*n,a=2*o-i;o=e(a,i,t+1/3),n=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*n+","+255*t+","+r+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function p(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function d(t,e){return V.fnc(t)?t(e.target,e.id,e.total):t}function h(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function y(t,e){return V.dom(t)&&o(R,e)?"transform":V.dom(t)&&(t.getAttribute(e)||V.svg(t)&&t[e])?"attribute":V.dom(t)&&"transform"!==e&&h(t,e)?"css":null!=t[e]?"object":void 0}function m(t,r){var n=p(r);if(n=-1<r.indexOf("scale")?1:0+n,!(t=t.style.transform))return n;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===r})),t.length?t[0]:n}function v(t,e){switch(y(t,e)){case"transform":return m(t,e);case"css":return h(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(r[0],"")),r[0][0]){case"+":return e+t+n;case"-":return e-t+n;case"*":return e*t+n}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,r=0,n=0;n<t.numberOfItems;n++){var o=t.getItem(n);0<n&&(r+=g(e,o)),e=o}return r}function S(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function E(t,e){function r(r){return r=void 0===r?0:r,t.el.getPointAtLength(1<=e+r?e+r:0)}var n=r(),o=r(-1),i=r(1);switch(t.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function O(t,e){var r,n=/-?\d*\.?\d+/g;if(r=V.pth(t)?t.totalLength:t,V.col(r))if(V.rgb(r)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);r=o?"rgba("+o[1]+",1)":r}else r=V.hex(r)?c(r):V.hsl(r)?l(r):void 0;else o=(o=f(r))?r.substr(0,r.length-o.length):r,r=e&&!/\s/g.test(r)?o+e:o;return{original:r+="",numbers:r.match(n)?r.match(n).map(Number):[0],strings:V.str(t)||e?r.split(n):[]}}function A(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function j(t){var e=A(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function x(t,e){var r=i(e);if(V.arr(t)){var o=t.length;2!==o||V.obj(t[0])?V.fnc(e.duration)||(r.duration=e.duration/o):t={value:t}}return n(t).map((function(t,r){return r=r?0:e.delay,t=V.obj(t)&&!V.pth(t)?t:{value:t},V.und(t.delay)&&(t.delay=r),t})).map((function(t){return s(t,r)}))}function M(t,e){var r,n={};for(r in t){var o=d(t[r],e);V.arr(o)&&(o=o.map((function(t){return d(t,e)})),1===o.length&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function k(t){return V.arr(t)?W.apply(this,t):D[t]}function N(t,e){var r;return t.tweens.map((function(n){var o=(n=M(n,e)).value,i=v(e.target,t.name),a=r?r.to.original:i,u=(a=V.arr(o)?o[0]:a,b(V.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),n.from=O(a,i),n.to=O(u,i),n.start=r?r.end:t.offset,n.end=n.start+n.delay+n.duration,n.easing=k(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=V.pth(o),n.isColor=V.col(n.from.original),n.isColor&&(n.round=1),r=n}))}function P(t,n){return e(r(t.map((function(t){return n.map((function(e){var r=y(t.target,e.name);if(r){var n=N(e,t);e={type:r,property:e.name,animatable:t,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else e=void 0;return e}))}))),(function(t){return!V.und(t)}))}function T(t,e,r,n){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?n.delay:r.offset+n.delay+n.duration}function C(t){var e,r=a(F,t),n=a(L,t),o=j(t.targets),i=[],u=s(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:x(t[e],n)});return s(r,{children:[],animatables:o,animations:t=P(o,i),duration:T("duration",t,r,n),delay:T("delay",t,r,n)})}function _(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return d.reversed?d.duration-t:t}function o(t){for(var r=0,n={},o=d.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[p=c.length-1];p&&(s=e(c,(function(e){return t<e.end}))[0]||s);for(var c=Math.min(Math.max(t-s.start-s.delay,0),s.duration)/s.duration,l=isNaN(c)?1:s.easing(c,s.elasticity),f=(c=s.to.strings,s.round),p=[],y=void 0,m=(y=s.to.numbers.length,0);m<y;m++){var v=void 0,b=(v=s.to.numbers[m],s.from.numbers[m]);v=s.isPath?E(s.value,l*v):b+l*(v-b),f&&(s.isColor&&2<m||(v=Math.round(v*f)/f)),p.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=p[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=p[0];B[a.type](u.target,a.property,y,n,u.id),a.currentValue=y,r++}if(r=Object.keys(n).length)for(o=0;o<r;o++)I||(I=h(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[I]=n[o].join(" ");d.currentTime=t,d.progress=t/d.duration*100}function i(t){d[t]&&d[t](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(t){var e=d.duration,u=d.offset,h=u+d.delay,y=d.currentTime,m=d.reversed,v=n(t);if(d.children.length){var b=d.children,g=b.length;if(v>=d.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=h||!e)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==y&&(o(0),m&&a()),(v>=e&&y!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(d.remaining?(c=s,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,p=r(),d=C(t);return d.reset=function(){var t=d.direction,e=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===t,d.remaining="alternate"===t&&1===e?2:e,o(0),t=d.children.length;t--;)d.children[t].reset()},d.tick=function(t){s=t,c||(c=s),u((l+s-c)*_.speed)},d.seek=function(t){u(n(t))},d.pause=function(){var t=q.indexOf(d);-1<t&&q.splice(t,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,l=n(d.currentTime),q.push(d),$||H())},d.reverse=function(){d.reversed=!d.reversed,c=0,l=n(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var I,F={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},L={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(" "),V={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return V.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||V.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return V.hex(t)||V.rgb(t)||V.hsl(t)}},W=function(){function t(t,e,r){return(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t}return function(e,r,n,o){if(0<=e&&1>=e&&0<=n&&1>=n){var i=new Float32Array(11);if(e!==r||n!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,n);return function(a){if(e===r&&n===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,s=1;10!==s&&i[s]<=a;++s)u+=.1;--s,s=u+(a-i[s])/(i[s+1]-i[s])*.1;var c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e);++u){var l=t(s,e,n)-a;s-=l/c}a=s}else if(0===c)a=s;else{s=u,u+=.1;var f=0;do{0<(c=t(l=s+(u-s)/2,e,n)-a)?u=l:s=l}while(1e-7<Math.abs(c)&&10>++f);a=l}return t(a,r,o)}}}}(),D=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={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],t],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(e,r){return 1-t(1-e,r)}],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(e,r){return.5>e?t(2*e,r)/2:1-t(-2*e+2,r)/2}]},o={linear:W(.25,.25,.75,.75)},i={};for(e in n)i.type=e,n[i.type].forEach(function(t){return function(e,n){o["ease"+t.type+r[n]]=V.fnc(e)?e:W.apply(u,e)}}(i)),i={type:i.type};return o}(),B={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){n[o]||(n[o]=[]),n[o].push(e+"("+r+")")}},q=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=q.length;if(r){for(var n=0;n<r;)q[n]&&q[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return _.version="2.2.0",_.speed=1,_.running=q,_.remove=function(t){t=A(t);for(var e=q.length;e--;)for(var r=q[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},_.getValue=v,_.path=function(e,r){var n=V.str(e)?t(e)[0]:e,o=r||100;return function(t){return{el:n,property:t,totalLength:S(n)*(o/100)}}},_.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},_.bezier=W,_.easings=D,_.timeline=function(t){var e=_(t);return e.pause(),e.duration=0,e.add=function(r){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),n(r).forEach((function(r){var n=s(r,a(L,t||{}));n.targets=n.targets||t.targets,r=e.duration;var o=n.offset;n.autoplay=!1,n.direction=e.direction,n.offset=V.und(o)?r:b(o,r),e.began=!0,e.completed=!0,e.seek(n.offset),(n=_(n)).began=!0,n.completed=!0,n.duration>r&&(e.duration=n.duration),e.children.push(n)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},_.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},_},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},999:(t,e,r)=>{function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Y8:()=>B,K9:()=>ut,y0:()=>q,Wd:()=>St,zG:()=>Jt,mA:()=>U,dd:()=>$,XK:()=>H,Qf:()=>te,_:()=>v,h:()=>Zt});var i=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,a=new Map;function u(t){var e=0,r=t.replace(i,(function(t,r,o,i){if(i){e++;var u=function(t){return null==t?void 0:t.split(";").map((function(t){var e=n(t.split(":",2),2),r=e[0],o=e[1];return{key:r.trim(),value:o?o.trim():""}})).filter((function(t){return t.key&&""!==t.key&&""!==t.value}))}(i),s="",c=[];return u.forEach((function(t){c.push(t.key),s+="".concat(r,"_-_").concat(t.key,": ").concat(t.value,";")+"\n"})),a.set(r,c),t.replace(r,"".concat(s,"\n ").concat(r))}return t}));return e>0?r:null}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}function f(t,e,r){return e=y(e),function(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,d()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function p(t){var e="function"==typeof Map?new Map:void 0;return p=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(d())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&h(o,r.prototype),o}(t,arguments,y(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},p(t)}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=function(){return!!t})()}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href");fetch(e).then((function(e){e.text().then((function(e){var r=u(e);if(r){var n=document.createElement("link");n.rel="stylesheet",n.href=URL.createObjectURL(new Blob([r],{type:"text/css"})),t.parentElement.replaceWith(n),window.dispatchEvent(new CustomEvent("updatecssapply"))}}))}))}}])&&c(r.prototype,n),o&&c(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(p(HTMLLinkElement));m.cssApplyVars=a,customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),customElements.define("custom-style",m,{extends:"link"});var v=r(523),b=r(554);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}var w=function(t){return function(e,r){var n=e.constructor,o=Symbol(r+"_PropertyDecorator");n&&!n.observedAttributes&&(n.observedAttributes=[]),n&&!n.__properties__&&(n.__properties__=[]),n.__properties__.push(r),t.attribute&&!t.readonly&&-1===n.observedAttributes.indexOf(t.attribute)&&n.observedAttributes.push(t.attribute),Object.defineProperty(e,"__property_".concat(r,"__"),{configurable:!0,enumerable:!0,get:function(){return t}}),!0!==t.readonly?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(e){var n=this,i=this[o],a=(null==this?void 0:this.shouldUpdate)&&!this.shouldUpdate(r,i,e),u=this.isCustomElementController?this.hostElement:this,s=t.converter?t.converter.toAttribute(e):function(t,e){switch(t){case"string":case"number":return e.toString();case"object":return JSON.stringify(e)}}(t.type,e);a?(this[o]=i,requestAnimationFrame((function(){u.setAttribute(t.attribute,i)}))):this[o]=e;var c=function(){n[o]!==i&&((null==n?void 0:n.renderNow)&&n.renderNow(),(null==n?void 0:n.updated)&&n.updated(r,i,n[o]))};if(t.reflect&&t.attribute)if("boolean"!==t.type){if(!e)return u.removeAttribute(t.attribute),void c();if(u.getAttribute(t.attribute)===s)return void c();null!==s?u.setAttribute(t.attribute,s):u.removeAttribute(t.attribute)}else e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),c();c(),(null==this?void 0:this.renderNow)&&this.renderNow()}}):Object.defineProperty(e,r,{get:function(){return this[o]},set:function(t){this[o]=t,null==this||this.renderNow(),delete this[r],Object.defineProperty(this,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(){throw new Error("Cannot set read-only property")}}),Object.seal(this[o])}})}},S=w({});function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function O(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return A(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}(t)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function M(t,e,r){return(e=N(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,N(n.key),n)}}function N(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:e+""}function P(t,e){if(e&&("object"==E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function T(t){var e="function"==typeof Map?new Map:void 0;return T=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(C())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&_(o,r.prototype),o}(t,arguments,I(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_(r,t)},T(t)}function C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(C=function(){return!!t})()}function _(t,e){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_(t,e)}function I(t){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},I(t)}function F(t,e,r){L(t,e),e.set(t,r)}function L(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(t,e,r){return r(D(t,e))}function V(t,e,r){return t.set(D(t,e),r),r}function W(t,e){return t.get(D(t,e))}function D(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var B=function(t,e,r){var n=r.value;if("function"!=typeof n)throw new Error("@Bind decorator can only be applied to methods not: ".concat(g(n)));var o=!1;return{configurable:!0,get:function(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),o=!1,r},set:function(t){n=t}}},q=function(t){return function(e){customElements.get(t.tagName)?console.warn("Custom element with tag name ".concat(t.tagName," already exists.")):customElements.define(t.tagName,e,t.options)}},$=S,H=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return e?this.shadowRoot.querySelector(t):this.querySelector(t)}})}},U=w,z=[],K=new WeakMap,Y=new WeakMap,X=new WeakMap,Q=new WeakMap,G=new WeakMap,Z=new WeakMap,J=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakMap,it=new WeakSet,at=new WeakMap,ut=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,o=I(o=e),function(t,e){L(t,e),e.add(t)}(r=P(n,C()?Reflect.construct(o,i||[],I(n).constructor):o.apply(n,i)),it),F(r,K,void 0),F(r,Y,void 0),F(r,X,void 0),F(r,Q,void 0),F(r,G,void 0),F(r,Z,void 0),F(r,J,!1),F(r,tt,void 0),F(r,et,void 0),F(r,rt,void 0),F(r,nt,[]),F(r,ot,!1),F(r,at,(function(){var t=r.constructor.__properties__;V(K,r,[]),t&&V(K,r,t.map((function(t){return x(x({},r["__property_".concat(t,"__")]),{},{name:t})})))})),D(it,r,ct).call(r),D(it,r,st).call(r),P(r,t)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}(e,t),r=e,n=[{key:"addController",value:function(t){W(nt,this).push(t),W(ot,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return W(rt,this)},set:function(t){V(rt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(R(it,this,lt)){if(W(G,this)||V(G,this,new CSSStyleSheet),t=D(it,this,ft).call(this),W(G,this).replaceSync(t),W(J,this))return;if(e instanceof Document){var r=D(it,this,dt).call(this,t);-1===z.indexOf(r)&&(document.adoptedStyleSheets=[].concat(O(document.adoptedStyleSheets),[W(G,this)]),V(J,this,!0),z.push(r))}else this.shadowRoot.adoptedStyleSheets=[W(G,this)],V(J,this,!0)}else if(V(Z,this,document.createElement("link")),W(Z,this).rel="stylesheet",t=D(it,this,ft).call(this),W(Z,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=D(it,this,dt).call(this,t);-1===z.indexOf(n)&&(document.head.appendChild(W(Z,this)),z.push(n))}else this.shadowRoot.appendChild(W(Z,this))}},{key:"templateFromString",value:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=document.createElement("template");n.innerHTML=t;var o=document.createDocumentFragment();o.appendChild(n.content);var i=o.querySelector("style");return r&&(V(tt,this,!0),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:W(et,this)})),D(it,this,pt).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){D(it,e,ft).call(e)})),o}},{key:"adoptStyle",value:function(t,e){this.addStylesheetToRootNode(e,t)}},{key:"createProjector",value:function(t,e){var r=this;return new Promise((function(n,o){var i,a=W(X,r)?W(X,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e),V(Y,r,i),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){W(Y,this)&&W(Y,this).renderNow()}},{key:"connectedCallback",value:function(){V(ot,this,!0),W(nt,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){V(ot,this,!1),W(nt,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=W(K,this).find((function(e){return e.attribute===t}));if(n)if(n.converter)this[n.name]=n.converter.fromAttribute(r);else{var o=n.type;"string"===o?this[n.name]=r:"number"===o?this[n.name]=parseFloat(r):"boolean"===o?this[n.name]=null!==r:"object"===o&&(this[n.name]=JSON.parse(r))}}}],n&&k(r.prototype,n),o&&k(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(T(HTMLElement));function st(){"function"==typeof this.init&&(this.init(),W(nt,this).forEach((function(t){null==t||t.init()})))}function ct(){var t=this;W(at,this).call(this);var e=this.constructor.projectorMode;V(X,this,e||"append");var r=this.constructor.isFormAssociated,n=this.constructor.delegatesFocus;V(et,this,n),r&&V(rt,this,this.attachInternals());var o=this.constructor.style;if(o){V(tt,this,!0),V(X,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:W(et,this)}),D(it,this,pt).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame((function(){t.createProjector(i,t.render)})),window.addEventListener("updatecssapply",(function(){D(it,t,ft).call(t)}))}}function lt(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function ft(){var t=function(t){for(var e,r=customElements.get("custom-style").cssApplyVars,n=t,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=function(){var t=e[0],o=e[1];if(r.has(o)){var i="@apply"+t.split("@apply",2)[1],a=r.get(o).map((function(t){return";".concat(t,": var(").concat(o,"_-_").concat(t,");")})).join("");n=n.replace(i,a)}};e=o.exec(n);)i();return n}(W(Q,this));return W(Q,this)!==t&&(V(Q,this,t),R(it,this,lt)&&W(G,this)?W(G,this).replaceSync(t):R(it,this,lt)||(W(Z,this)&&URL.revokeObjectURL(W(Z,this).href),W(Z,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function pt(t){V(Q,this,t),W(tt,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):W(tt,this)||this.addStylesheetToRootNode(t,document)}function dt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}function yt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mt(n.key),n)}}function mt(t){var e=function(t,e){if("object"!=ht(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ht(e)?e:e+""}function vt(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function bt(t,e){return t.get(gt(t,e))}function gt(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var wt=new WeakMap,St=function(){return t=function t(e){var r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),vt(this,wt,void 0),n=this,o=e,(r=wt).set(gt(r,n),o),bt(wt,this).addController(this)},(e=[{key:"hostElement",get:function(){return bt(wt,this)}},{key:"renderNow",value:function(){var t;null===(t=this.hostElement)||void 0===t||t.renderNow()}}])&&yt(t.prototype,e),r&&yt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}();function Et(t){return Et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et(t)}var Ot="http://www.w3.org/",At=Ot+"2000/svg",jt=Ot+"1999/xlink",xt=[],Mt=[],kt=!1,Nt=function(t){var e;(t.children||[]).forEach(Nt),null!=t&&null!==(e=t.properties)&&void 0!==e&&e.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},Pt=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},Tt=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},Ct=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(Pt(t[n],e))return n;return-1},_t=function(t,e,r,n){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(Pt(u,o))throw"added"===n?new Error(r.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(r.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},It=function(t,e){if(t.properties){var r=t.properties.enterAnimation;r&&("function"==typeof r?r(t.domNode,t.properties):e.enter(t.domNode,t.properties,r))}},Ft=function(t,e){var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),e&&Object.keys(e).forEach((function(t){r[t]=e[t]})),r},Lt=function(t,e,r){if(function(t,e,r){if(e)for(var n=0;n<e.length;n++)Vt(e[n],t,void 0,r)}(t,e.children,r),e.text&&(t.textContent=e.text),e.properties&&e.properties.eventListeners){if(!Array.isArray(e.properties.eventListeners))throw new Error("eventListeners value must be an array");e.properties.eventListeners.forEach((function(e){t.addEventListener(e[0],e[1],e[2])}))}!function(t,e,r){if(e)for(var n=r.eventHandlerInterceptor,o=Object.keys(e),i=o.length,a=function(){var i,a=o[u],s=e[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)!function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))}(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var p=c[f];s[p]&&t.classList.add(p)}else if("styles"===a)for(var d=Object.keys(s),h=d.length,y=0;y<h;y++){var m=d[y],v=s[m];v&&(Tt(v),r.styleApplyer(t,m,v))}else if("key"!==a&&null!=s){var b=Et(s);"function"===b?(0===a.lastIndexOf("on",0)&&(n&&(s=n(a,s,t,e)),"oninput"===a&&(i=s,s=function(t){i.apply(this,[t]),t.target["oninput-value"]=t.target.value})),t[a]=s):r.namespace===At?"href"===a?t.setAttributeNS(jt,a,s):t.setAttribute(a,s):"string"===b&&"value"!==a&&"innerHTML"!==a?t.setAttribute(a,s):t[a]=s}},u=0;u<i;u++)a()}(t,e.properties,r),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children])},Rt=function(t,e){return{update:function(r){if(t.vnodeSelector!==r.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)");$t(t,r,e),t=r},domNode:t.domNode}},Vt=function(t,e,r,n){var o,i,a,u,s,c=0,l=t.vnodeSelector,f=e.ownerDocument;if(""===l)o=t.domNode=f.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o);else{var p=function(){if(a=l.charAt(i),i===l.length||"."===a||"#"===a){if(u=l.charAt(c-1),s=l.slice(c,i),"."===u)o.classList.add(s);else if("#"===u)o.id=s;else{if("svg"===s&&(n=Ft(n,{namespace:At})),void 0!==n.namespace)o=t.domNode=f.createElementNS(n.namespace,s);else{var p;if(t.properties&&t.properties.is){var d=document.createElement("div");d.style.display="none",document.body.appendChild(d),d.innerHTML="<".concat(s,' is="').concat(t.properties.is,'"></').concat(s,">"),setTimeout((function(){document.body.removeChild(d)}),10),p=f.createElement(s,{is:t.properties.is})}else p=f.createElement(s);o=t.domNode=t.domNode||p,"input"===s&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type)}o&&(void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o))}c=i+1}};for(i=0;i<=l.length;++i)p();Lt(o,t,n)}},Wt=function(t,e){var r=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){r.removeEventListener(t[0],t[1])}));var n=t.properties.exitAnimation;if(n){r.style.pointerEvents="none";var o=function(){r.parentNode&&(r.parentNode.removeChild(r),Dt(t))};return"function"==typeof n?void n(r,o,t.properties):void e.exit(t.domNode,t.properties,n,o)}}r.parentNode&&(r.parentNode.removeChild(r),Dt(t))},Dt=function(t){Mt.push(t),kt||(kt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(Bt,{timeout:16}):setTimeout(Bt,16))},Bt=function(){kt=!1,Mt.forEach(Nt),Mt.length=0},qt=function(t,e,r,n,o){if(r===n)return!1;n=n||xt;for(var i,a=(r=r||xt).length,u=n.length,s=o.transitions,c=0,l=0,f=!1;l<u;){var p=c<a?r[c]:void 0,d=n[l];if(void 0!==p&&Pt(p,d))f=$t(p,d,o)||f,c++;else{var h=Ct(r,d,c+1);if(h>=0){for(i=c;i<h;i++)Wt(r[i],s),_t(r,i,t,"removed");f=$t(r[h],d,o)||f,c=h+1}else Vt(d,e,c<a?r[c].domNode:void 0,o),It(d,s),_t(n,l,t,"added")}l++}if(a>c)for(i=c;i<a;i++)Wt(r[i],s),_t(r,i,t,"removed");return f},$t=function(t,e,r){var n=t.domNode,o=!1;if(t===e)return!1;var i=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var a=n.ownerDocument.createTextNode(e.text);return n.parentNode.replaceChild(a,n),e.domNode=a,o=!0}}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=Ft(r,{namespace:At})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),i=qt(e,n,t.children,e.children,r)||i,i=Ht(n,t.properties,e.properties,r)||i,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[n,r,e.vnodeSelector,e.properties,e.children]);return i&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(n,e.properties,t.properties),e.domNode=t.domNode,o},Ht=function(t,e,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,u=0;u<a;u++){var s=i[u],c=r[s],l=e[s];if("class"===s){if(l!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===s)for(var f=t.classList,p=Object.keys(c),d=p.length,h=0;h<d;h++){var y=p[h],m=!!c[y];m!==!!l[y]&&(o=!0,m?f.add(y):f.remove(y))}else if("styles"===s)for(var v=Object.keys(c),b=v.length,g=0;g<b;g++){var w=v[g],S=c[w];S!==l[w]&&(o=!0,S?(Tt(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||(c=""),"value"===s){var E=t[s];E!==c&&(t["oninput-value"]?E===t["oninput-value"]:c!==l)&&(t[s]=c,t["oninput-value"]=void 0),c!==l&&(o=!0)}else if(c!==l){var O=Et(c);if("function"===O)throw new Error("Functions may not be updated on subsequent renders (property: "+s+"). Hint: declare event handler functions outside the render() function.");"string"===O&&"innerHTML"!==s?n.namespace===At&&"href"===s?t.setAttributeNS(jt,s,c):"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0}}return o}},Ut=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},zt={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){t.style[e]=r},transitions:{enter:Ut,exit:Ut}},Kt=function(t){return Ft(zt,t)},Yt={create:function(t,e){return e=Kt(e),Vt(t,document.createElement("div"),void 0,e),Rt(t,e)},append:function(t,e,r){return r=Kt(r),Vt(e,t,void 0,r),Rt(e,r)},insertBefore:function(t,e,r){return r=Kt(r),Vt(e,t.parentNode,t,r),Rt(e,r)},merge:function(t,e,r){return r=Kt(r),e.domNode=t,Lt(t,e,r),Rt(e,r)},replace:function(t,e,r){return r=Kt(r),Vt(e,t.parentNode,t,r),t.parentNode.removeChild(t),Rt(e,r)}};function Xt(t){return Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(t)}var Qt=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},Gt=function(t,e,r){for(var n=0,o=e.length;n<o;n++){var i=e[n];Array.isArray(i)?Gt(t,i,r):null!=i&&(i.hasOwnProperty("vnodeSelector")||(i=Qt(i)),r.push(i))}},Zt=function(t){var e=arguments[1];if("string"!=typeof t)throw new Error;var r,n,o=1;!e||e.hasOwnProperty("vnodeSelector")||Array.isArray(e)||"object"!==Xt(e)?e=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?r=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(r=a[0])}if(void 0===r)for(n=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?Gt(t,u,n):u.hasOwnProperty("vnodeSelector")?n.push(u):n.push(Qt(u)))}return{vnodeSelector:t,properties:e,children:n,text:""===r?void 0:r,domNode:null}},Jt={createCache:function(){var t,e;return{invalidate:function(){e=void 0,t=void 0},result:function(r,n){if(t)for(var o=0;o<r.length;o++)t[o]!==r[o]&&(e=void 0);return e||(e=n(),t=r),e}}},createMapping:function(t,e,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(t),u=o.slice(),s=0,c=0;c<i.length;c++){var l=i[c],f=a[c];if(f===n[s])o[c]=u[s],r(l,u[s],c),s++;else{for(var p=!1,d=1;d<n.length+1;d++){var h=(s+d)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,p=!0;break}}p||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r=Kt(t);r.eventHandlerInterceptor=function(t,r,n,o){return function(){return e.scheduleRender(),r.apply(o.bind||this,arguments)}};var n,o=!0,i=!1,a=[],u=[],s=function(){if(n=void 0,o){o=!1;for(var t=0;t<a.length;t++){var e=u[t]();a[t].update(e)}o=!0}};return e={renderNow:s,scheduleRender:function(){n||i||(n=requestAnimationFrame(s))},stop:function(){n&&(cancelAnimationFrame(n),n=void 0),i=!0},resume:function(){i=!1,o=!0,e.scheduleRender()},append:function(t,e){a.push(Yt.append(t,e(),r)),u.push(e)},insertBefore:function(t,e){a.push(Yt.insertBefore(t,e(),r)),u.push(e)},merge:function(t,e){a.push(Yt.merge(t,e(),r)),u.push(e)},replace:function(t,e){a.push(Yt.replace(t,e(),r)),u.push(e)},detach:function(t){for(var e=0;e<u.length;e++)if(u[e]===t)return u.splice(e,1),a.splice(e,1)[0];throw new Error("renderMaquetteFunction was not found")}}},dom:Yt,h:Zt},te=$;!function(t){t._=v,t.Maquette=Jt,t.h=Zt,t.anime=b,t.CustomElement=ut,t.CustomElementController=St,t.CustomElementConfig=q,t.PropertyRenderOnSet=$,t.RenderOnSet=$,t.Property=U,t.Query=H,t.Bind=B}(window)},484:()=>{const{keys:t}=Object,e=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:u,Set:s,WeakMap:c}=self,l=t=>o in t,{filter:f}=[],p=t=>{const p=new c,d=(e,r)=>{let n;if(r)for(let o,i=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(e),a=0,{length:u}=y;a<u;a++)i.call(e,o=y[a])&&(p.has(e)||p.set(e,new s),n=p.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else p.has(e)&&(n=p.get(e),p.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)d(t[r],e)},{query:y}=t,m=t.root||i,v=((t,o=document,i=MutationObserver,a=["*"])=>{const u=(r,o,i,a,s,c)=>{for(const l of r)(c||n in l)&&(s?i.has(l)||(i.add(l),a.delete(l),t(l,s)):a.has(l)||(a.add(l),i.delete(l),t(l,s)),c||u(l[n](o),o,i,a,s,e))},s=new i((t=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:s}of t)u(s,n,o,i,r,r),u(a,n,o,i,e,r)}})),{observe:c}=s;return(s.observe=t=>c.call(s,t,{subtree:e,childList:e}))(o),s})(d,m,u,y),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(t){const e=b.call(this,t);return v.observe(e),e}),y.length&&h(m[o](y)),{drop:t=>{for(let e=0,{length:r}=t;e<r;e++)p.delete(t[e])},flush:()=>{const t=v.takeRecords();for(let e=0,{length:r}=t;e<r;e++)h(f.call(t[e].removedNodes,l),!1),h(f.call(t[e].addedNodes,l),!0)},observer:v,parse:h}},{customElements:d,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:O}=h,{define:A,get:j,upgrade:x}=d,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,C=new w,_=new g,I=new g,F=new g,L=new g,R=[],V=[],W=t=>L.get(t)||j.call(d,t),{parse:D}=p({query:V,handle:(e,r,n)=>{const o=F.get(n);if(r&&!o.isPrototypeOf(e)){const r=(e=>{const r=t(e),n=[],o=new Set,{length:i}=r;for(let t=0;t<i;t++){n[t]=e[r[t]];try{delete e[r[t]]}catch(e){o.add(t)}}return()=>{for(let t=0;t<i;t++)o.has(t)||(e[r[t]]=n[t])}})(e);U=P(e,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&e[i]()}}),{parse:B}=p({query:R,handle(t,e){T.has(t)&&(e?C.add(t):C.delete(t),V.length&&z.call(V,t))}}),{attachShadow:q}=y.prototype;q&&(y.prototype.attachShadow=function(t){const e=q.call(this,t);return T.set(this,e),e});const $=t=>{if(!I.has(t)){let e,r=new b((t=>{e=t}));I.set(t,{$:r,_:e})}return I.get(t).$},H=((t,e)=>{const r=t=>{for(let e=0,{length:r}=t;e<r;e++)n(t[e])},n=({target:t,attributeName:e,oldValue:r})=>{t.attributeChangedCallback(e,r,t.getAttribute(e))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&t(i).then((()=>{new e(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let t=0,{length:e}=a;t<e;t++)o.hasAttribute(a[t])&&n({target:o,attributeName:a[t],oldValue:null})})),o}})($,m);let U=null;function z(t){const e=T.get(t);D(e.querySelectorAll(this),t.isConnected)}N(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!_.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=_.get(t);if(r){if(U)return H(U,r);const e=O.call(h,n);return e.setAttribute("is",r),H(P(e,t.prototype),r)}return M.call(this,e,[],t)}P(r,e),k(r.prototype=e.prototype,"constructor",{value:r}),k(self,t,{value:r})})),h.createElement=function(t,e){const r=e&&e.is;if(r){const e=L.get(r);if(e&&_.get(e).tag===t)return new e}const n=O.call(h,t);return r&&n.setAttribute("is",r),n},d.get=W,d.whenDefined=$,d.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=L.get(e);if(r)return void H(P(t,r.prototype),e)}x.call(d,t)},d.define=function(t,e,r){if(W(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;_.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,F.set(n,e.prototype),L.set(t,e),V.push(n)):(A.apply(d,arguments),R.push(n=t)),$(t).then((()=>{o?(D(h.querySelectorAll(n)),C.forEach(z,[n])):B(h.querySelectorAll(n))})),I.get(t)._(e)}},650:()=>{!function(t){const e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,f=new WeakMap,p=new WeakMap,d=new WeakMap,h=new WeakMap,y=new WeakMap,m={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function v(t){const e=o.get(t),{form:r}=e;C(t,r,e),M(t,e.labels)}const b=(t,e=!1)=>{const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>o.has(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let n=r.nextNode();const i=!e||t.disabled;for(;n;)n.formDisabledCallback&&i&&A(n,t.disabled),n=r.nextNode()},g={attributes:!0,attributeFilter:["disabled","name"]},w=R()?new MutationObserver((t=>{for(const e of t){const t=e.target;if("disabled"===e.attributeName&&(t.constructor.formAssociated?A(t,t.hasAttribute("disabled")):"fieldset"===t.localName&&b(t)),"name"===e.attributeName&&t.constructor.formAssociated){const e=o.get(t),r=c.get(t);e.setFormValue(r)}}})):{};function S(t){t.forEach((t=>{const{addedNodes:e,removedNodes:r}=t,i=Array.from(e),a=Array.from(r);i.forEach((t=>{var e;if(o.has(t)&&t.constructor.formAssociated&&v(t),l.has(t)){const e=l.get(t);Object.keys(m).filter((t=>null!==e[t])).forEach((r=>{t.setAttribute(m[r],e[r])})),l.delete(t)}if(y.has(t)){const e=y.get(t);t.setAttribute("internals-valid",e.validity.valid.toString()),t.setAttribute("internals-invalid",(!e.validity.valid).toString()),t.setAttribute("aria-invalid",(!e.validity.valid).toString()),y.delete(t)}if("form"===t.localName){const e=s.get(t),r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>!o.has(t)||!t.constructor.formAssociated||e&&e.has(t)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let n=r.nextNode();for(;n;)v(n),n=r.nextNode()}"fieldset"===t.localName&&(null===(e=w.observe)||void 0===e||e.call(w,t,g),b(t,!0))})),a.forEach((t=>{const e=o.get(t);if(e&&n.get(e)&&j(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=d.get(t.target);o.has(e)&&L(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const O={childList:!0,subtree:!0},A=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},j=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},x=(t,e)=>{const r=document.createElement("input");return r.type="hidden",r.name=t.getAttribute("name"),t.after(r),n.get(e).push(r),r},M=(t,e)=>{if(e.length){Array.from(e).forEach((e=>e.addEventListener("click",t.click.bind(t))));let r=e[0].id;e[0].id||(r=`${e[0].htmlFor}_Label`,e[0].id=r),t.setAttribute("aria-labelledby",r)}},k=t=>{const e=Array.from(t.elements).filter((t=>!t.tagName.includes("-")&&t.validity)).map((t=>t.validity.valid)),r=s.get(t)||[],n=[...e,...Array.from(r).filter((t=>t.isConnected)).map((t=>o.get(t).validity.valid))].includes(!1);t.toggleAttribute("internals-invalid",n),t.toggleAttribute("internals-valid",!n)},N=t=>{k(_(t.target))},P=t=>{k(_(t.target))},T=t=>{const e=s.get(t.target);e&&e.size&&e.forEach((t=>{t.constructor.formAssociated&&t.formResetCallback&&t.formResetCallback.apply(t)}))},C=(t,e,r)=>{if(e){const n=s.get(e);if(n)n.add(t);else{const r=new Set;r.add(t),s.set(e,r),(t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map((t=>`${t}:not([disabled])`)).map((e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`)).join(",");t.addEventListener("click",(r=>{if(r.target.closest(e)){const e=s.get(t);if(t.noValidate)return;e.size&&Array.from(e).reverse().map((t=>o.get(t).reportValidity())).includes(!1)&&r.preventDefault()}}))})(e),e.addEventListener("reset",T),e.addEventListener("input",N),e.addEventListener("change",P)}a.set(e,{ref:t,internals:r}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout((()=>{t.formAssociatedCallback.apply(t,[e])}),0),k(e)}},_=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=_(e)),e},I=(t,e,r=DOMException)=>{if(!t.constructor.formAssociated)throw new r(e)},F=(t,e,r)=>{const n=s.get(t);return n&&n.size&&n.forEach((t=>{o.get(t)[r]()||(e=!1)})),e},L=t=>{if(t.constructor.formAssociated){const e=o.get(t),{labels:r,form:n}=e;M(t,r),C(t,n,e)}};function R(){return"undefined"!=typeof MutationObserver}class V{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const W=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},D=new WeakMap;function B(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class q extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");D.set(this,t)}add(t){if(!/^--/.test(t)||"string"!=typeof t)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${t} must start with '--'.`);const e=super.add(t),r=D.get(this),n=`state${t}`;return r.isConnected?B(r,n):setTimeout((()=>{B(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=D.get(this);return r.isConnected?(r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)):setTimeout((()=>{r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)})),e}}function $(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}var H;class U{constructor(t){H.set(this,void 0),function(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(t,r):o?o.value=r:e.set(t,r)}(this,H,t,"f");for(let e=0;e<t.length;e++){let r=t[e];this[e]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return $(this,H,"f").length}[(H=new WeakMap,Symbol.iterator)](){return $(this,H,"f")[Symbol.iterator]()}item(t){return null==this[t]?null:this[t]}namedItem(t){return null==this[t]?null:this[t]}}class z{static get isPolyfilled(){return!0}constructor(t){if(!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=t.getRootNode(),a=new V;this.states=new q(t),e.set(this,t),r.set(this,a),o.set(t,this),((t,e)=>{for(let r in m){e[r]=null;let n=null;const o=m[r];Object.defineProperty(e,r,{get:()=>n,set(r){n=r,t.isConnected?t.setAttribute(o,r):l.set(t,e)}})}})(t,this),((t,e)=>{var r;n.set(e,[]),null===(r=w.observe)||void 0===r||r.call(w,t,g)})(t,this),Object.seal(this),i instanceof DocumentFragment&&(t=>{var e,r;const n=new MutationObserver(E);(null===(e=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===e?void 0:e.inUse)&&t.mode&&t.host&&(t=t.host),null===(r=n.observe)||void 0===r||r.call(n,t,{childList:!0}),d.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(I(t,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=r.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});t.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return I(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=_(t)),r}get labels(){const t=e.get(this);I(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(I(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=p.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(I(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),j(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=x(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){x(r,this).value=t}c.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(I(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!t)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,o);const u=r.get(this),s={};for(const e in t)s[e]=t[e];var c;0===Object.keys(s).length&&((c=u).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const l=Object.assign(Object.assign({},u),s);delete l.valid;const{valid:f}=((t,e,r)=>(t.valid=W(e),Object.keys(e).forEach((r=>t[r]=e[r])),r&&k(r),t))(u,l,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");i.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),a.setAttribute("aria-invalid",`${!f}`)):y.set(a,this)}get shadowRoot(){const t=e.get(this),r=f.get(t);return r||null}get validationMessage(){const t=e.get(this);return I(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get validity(){const t=e.get(this);I(t,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return r.get(this)}get willValidate(){const t=e.get(this);return I(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let K=!1,Y=!1;function X(t){Y||(Y=!0,window.CustomStateSet=q,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new q(this),r}))}function Q(t=!0){if(!K){if(K=!0,"undefined"!=typeof window&&(window.ElementInternals=z),"undefined"!=typeof CustomElementRegistry){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,r,n){if(r.formAssociated){const t=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){h.has(this)||(h.set(this,!0),this.hasAttribute("disabled")&&A(this,!0)),null!=t&&t.apply(this),L(this)}}e.call(this,t,r,n)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(o.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new z(this)}),"undefined"!=typeof Element){function r(...t){const e=n.apply(this,t);if(f.set(this,e),R()){const t=new MutationObserver(S);window.ShadyDOM?t.observe(this,O):t.observe(e,O),u.set(this,t)}return e}const n=Element.prototype.attachShadow;Element.prototype.attachShadow=r}if(R()&&"undefined"!=typeof document){new MutationObserver(S).observe(document.documentElement,O)}"undefined"!=typeof HTMLFormElement&&function(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...e){let r=t.apply(this,e);return F(this,r,"checkValidity")};const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...t){let r=e.apply(this,t);return F(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...t){const e=r.call(this,...t),n=Array.from(s.get(this)||[]);if(0===n.length)return e;const o=Array.from(e).concat(n).sort(((t,e)=>t.compareDocumentPosition?2&t.compareDocumentPosition(e)?1:-1:0));return new U(o)}})}(),(t||"undefined"!=typeof window&&!window.CustomStateSet)&&X()}}!!customElements.polyfillWrapFlushCallback||(!function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const r=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((t=>t in r.internals))}()?Q(!1):"undefined"==typeof window||window.CustomStateSet||X(HTMLElement.prototype.attachInternals)),t.forceCustomStateSetPolyfill=X,t.forceElementInternalsPolyfill=Q,Object.defineProperty(t,"__esModule",{value:!0})}({})},523:(t,e,r)=>{r.r(e),r.d(e,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Fe,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>qr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>It,filter:()=>Ze,find:()=>Ue,findIndex:()=>We,findKey:()=>Re,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>Cr,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>D,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>C,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>Ce,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Wt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ie,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>It,before:()=>Fe,bind:()=>Ee,bindAll:()=>je,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ye,compact:()=>xr,compose:()=>_e,constant:()=>Z,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Dr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ke,escape:()=>ae,every:()=>tr,extend:()=>_t,extendOwn:()=>It,filter:()=>Ze,find:()=>Ue,findIndex:()=>We,findKey:()=>Re,findLastIndex:()=>De,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ge,forEach:()=>Ke,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>Cr,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>_,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>D,isMap:()=>At,isMatch:()=>ct,isNaN:()=>G,isNull:()=>x,isNumber:()=>C,isObject:()=>j,isRegExp:()=>I,isSet:()=>xt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>jt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>jr,lastIndexOf:()=>He,map:()=>Ye,mapObject:()=>Zt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>xe,methods:()=>Tt,min:()=>ur,mixin:()=>Wr,negate:()=>Ce,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Kt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ge,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ze,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Wt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Dt,transpose:()=>_r,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>_r,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Ir});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,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=d&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=Math.pow(2,53)-1;function A(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var i=Array(e+1);for(o=0;o<e;o++)i[o]=arguments[o];return i[e]=n,t.apply(this,i)}}function j(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function x(t){return null===t}function M(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===f.call(t)}function N(t){return!(!t||1!==t.nodeType)}function P(t){var e="[object "+t+"]";return function(t){return f.call(t)===e}}const T=P("String"),C=P("Number"),_=P("Date"),I=P("RegExp"),F=P("Error"),L=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),W=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof W&&(V=function(t){return"function"==typeof t||!1});const D=V,B=P("Object");var q=h&&B(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&B(new Map),H=P("DataView");const U=q?function(t){return null!=t&&D(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function K(t,e){return null!=t&&p.call(t,e)}var Y=P("Arguments");!function(){Y(arguments)||(Y=function(t){return K(t,"callee")})}();const X=Y;function Q(t){return!L(t)&&w(t)&&!isNaN(parseFloat(t))}function G(t){return C(t)&&g(t)}function Z(t){return function(){return t}}function J(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=O}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=J(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=d?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:Z(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=E.length,n=t.constructor,o=D(n)&&n.prototype||u,i="constructor";for(K(t,i)&&!e.contains(i)&&e.push(i);r--;)(i=E[r])in t&&t[i]!==o[i]&&!e.contains(i)&&e.push(i)}function ut(t){if(!j(t))return[];if(m)return m(t);var e=[];for(var r in t)K(t,r)&&e.push(r);return S&&at(t,e),e}function st(t){if(null==t)return!0;var e=it(t);return"number"==typeof e&&(z(t)||T(t)||X(t))?0===e:0===it(ut(t))}function ct(t,e){var r=ut(e),n=r.length;if(null==t)return!n;for(var o=Object(t),i=0;i<n;i++){var a=r[i];if(e[a]!==o[a]||!(a in o))return!1}return!0}function lt(t){return t instanceof lt?t:this instanceof lt?void(this._wrapped=t):new lt(t)}function ft(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}lt.VERSION=o,lt.prototype.value=function(){return this._wrapped},lt.prototype.valueOf=lt.prototype.toJSON=lt.prototype.value,lt.prototype.toString=function(){return String(this._wrapped)};var pt="[object DataView]";function dt(t,e,r,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var o=typeof t;return("function"===o||"object"===o||"object"==typeof e)&&ht(t,e,r,n)}function ht(t,e,r,n){t instanceof lt&&(t=t._wrapped),e instanceof lt&&(e=e._wrapped);var o=f.call(t);if(o!==f.call(e))return!1;if(q&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=pt}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return s.valueOf.call(t)===s.valueOf.call(e);case"[object ArrayBuffer]":case pt:return ht(ft(t),ft(e),r,n)}var i="[object Array]"===o;if(!i&&ot(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(D(a)&&a instanceof a&&D(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}n=n||[];for(var c=(r=r||[]).length;c--;)if(r[c]===t)return n[c]===e;if(r.push(t),n.push(e),i){if((c=t.length)!==e.length)return!1;for(;c--;)if(!dt(t[c],e[c],r,n))return!1}else{var l,p=ut(t);if(c=p.length,ut(e).length!==c)return!1;for(;c--;)if(!K(e,l=p[c])||!dt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return dt(t,e)}function mt(t){if(!j(t))return[];var e=[];for(var r in t)e.push(r);return S&&at(t,e),e}function vt(t){var e=it(t);return function(r){if(null==r)return!1;var n=mt(r);if(it(n))return!1;for(var o=0;o<e;o++)if(!D(r[t[o]]))return!1;return t!==Et||!D(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),Ot=["add"].concat(gt,bt,"has");const At=$?vt(St):P("Map"),jt=$?vt(Et):P("WeakMap"),xt=$?vt(Ot):P("Set"),Mt=P("WeakSet");function kt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=t[e[o]];return n}function Nt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=[e[o],t[e[o]]];return n}function Pt(t){for(var e={},r=ut(t),n=0,o=r.length;n<o;n++)e[t[r[n]]]=r[n];return e}function Tt(t){var e=[];for(var r in t)D(t[r])&&e.push(r);return e.sort()}function Ct(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var o=1;o<n;o++)for(var i=arguments[o],a=t(i),u=a.length,s=0;s<u;s++){var c=a[s];e&&void 0!==r[c]||(r[c]=i[c])}return r}}const _t=Ct(mt),It=Ct(ut),Ft=Ct(mt,!0);function Lt(t){if(!j(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function Rt(t,e){var r=Lt(t);return e&&It(r,e),r}function Vt(t){return j(t)?z(t)?t.slice():_t({},t):t}function Wt(t,e){return e(t),t}function Dt(t){return z(t)?t:[t]}function Bt(t){return lt.toPath(t)}function qt(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function $t(t,e,r){var n=qt(t,Bt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=Bt(e)).length,n=0;n<r;n++){var o=e[n];if(!K(t,o))return!1;t=t[o]}return!!r}function Ut(t){return t}function zt(t){return t=It({},t),function(e){return ct(e,t)}}function Kt(t){return t=Bt(t),function(e){return qt(e,t)}}function Yt(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)}}return function(){return t.apply(e,arguments)}}function Xt(t,e,r){return null==t?Ut:D(t)?Yt(t,e,r):j(t)&&!z(t)?zt(t):Kt(t)}function Qt(t,e){return Xt(t,e,1/0)}function Gt(t,e,r){return lt.iteratee!==Qt?lt.iteratee(t,e):Xt(t,e,r)}function Zt(t,e,r){e=Gt(e,r);for(var n=ut(t),o=n.length,i={},a=0;a<o;a++){var u=n[a];i[u]=e(t[u],u,t)}return i}function Jt(){}function te(t){return null==t?Jt:function(e){return $t(t,e)}}function ee(t,e,r){var n=Array(Math.max(0,t));e=Yt(e,r,1);for(var o=0;o<t;o++)n[o]=e(o);return n}function re(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}lt.toPath=Dt,lt.iteratee=Qt;const ne=Date.now||function(){return(new Date).getTime()};function oe(t){var e=function(e){return t[e]},r="(?:"+ut(t).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}}const ie={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ae=oe(ie),ue=oe(Pt(ie)),se=lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ce=/(.)^/,le={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},fe=/\\|'|\r|\n|\u2028|\u2029/g;function pe(t){return"\\"+le[t]}var de=/^\s*(\w|\$)+\s*$/;function he(t,e,r){!e&&r&&(e=r),e=Ft({},e,lt.templateSettings);var n=RegExp([(e.escape||ce).source,(e.interpolate||ce).source,(e.evaluate||ce).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,(function(e,r,n,a,u){return i+=t.slice(o,u).replace(fe,pe),o=u+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,u=e.variable;if(u){if(!de.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(t){throw t.source=i,t}var s=function(t){return a.call(this,t,lt)};return s.source="function("+u+"){\n"+i+"}",s}function ye(t,e,r){var n=(e=Bt(e)).length;if(!n)return D(r)?r.call(t):r;for(var o=0;o<n;o++){var i=null==t?void 0:t[e[o]];void 0===i&&(i=r,o=n),t=D(i)?i.call(t):i}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function be(t){var e=lt(t);return e._chain=!0,e}function ge(t,e,r,n,o){if(!(n instanceof e))return t.apply(r,o);var i=Lt(t.prototype),a=t.apply(i,o);return j(a)?a:i}var we=A((function(t,e){var r=we.placeholder,n=function(){for(var o=0,i=e.length,a=Array(i),u=0;u<i;u++)a[u]=e[u]===r?arguments[o++]:e[u];for(;o<arguments.length;)a.push(arguments[o++]);return ge(t,n,this,this,a)};return n}));we.placeholder=lt;const Se=we,Ee=A((function(t,e,r){if(!D(t))throw new TypeError("Bind must be called on a function");var n=A((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Oe=J(it);function Ae(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var o=n.length,i=0,a=it(t);i<a;i++){var u=t[i];if(Oe(u)&&(z(u)||X(u)))if(e>1)Ae(u,e-1,r,n),o=n.length;else for(var s=0,c=u.length;s<c;)n[o++]=u[s++];else r||(n[o++]=u)}return n}const je=A((function(t,e){var r=(e=Ae(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=Ee(t[n],t)}return t}));function xe(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return K(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const Me=A((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),ke=Se(Me,lt,1);function Ne(t,e,r){var n,o,i,a,u=0;r||(r={});var s=function(){u=!1===r.leading?0:ne(),n=null,a=t.apply(o,i),n||(o=i=null)},c=function(){var c=ne();u||!1!==r.leading||(u=c);var l=e-(c-u);return o=this,i=arguments,l<=0||l>e?(n&&(clearTimeout(n),n=null),u=c,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(n),u=0,n=o=i=null},c}function Pe(t,e,r){var n,o,i,a,u,s=function(){var c=ne()-o;e>c?n=setTimeout(s,e-c):(n=null,r||(a=t.apply(u,i)),n||(i=u=null))},c=A((function(c){return u=this,i=c,o=ne(),n||(n=setTimeout(s,e),r&&(a=t.apply(u,i))),a}));return c.cancel=function(){clearTimeout(n),n=i=u=null},c}function Te(t,e){return Se(e,t)}function Ce(t){return function(){return!t.apply(this,arguments)}}function _e(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ie(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Fe(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const Le=Se(Fe,2);function Re(t,e,r){e=Gt(e,r);for(var n,o=ut(t),i=0,a=o.length;i<a;i++)if(e(t[n=o[i]],n,t))return n}function Ve(t){return function(e,r,n){r=Gt(r,n);for(var o=it(e),i=t>0?0:o-1;i>=0&&i<o;i+=t)if(r(e[i],i,e))return i;return-1}}const We=Ve(1),De=Ve(-1);function Be(t,e,r,n){for(var o=(r=Gt(r,n,1))(e),i=0,a=it(t);i<a;){var u=Math.floor((i+a)/2);r(t[u])<o?i=u+1:a=u}return i}function qe(t,e,r){return function(n,o,i){var a=0,u=it(n);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(r&&i&&u)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(l.call(n,a,u),G))>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(n[i]===o)return i;return-1}}const $e=qe(1,We,Be),He=qe(-1,De);function Ue(t,e,r){var n=(Oe(t)?We:Re)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function ze(t,e){return Ue(t,zt(e))}function Ke(t,e,r){var n,o;if(e=Yt(e,r),Oe(t))for(n=0,o=t.length;n<o;n++)e(t[n],n,t);else{var i=ut(t);for(n=0,o=i.length;n<o;n++)e(t[i[n]],i[n],t)}return t}function Ye(t,e,r){e=Gt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=Array(o),a=0;a<o;a++){var u=n?n[a]:a;i[a]=e(t[u],u,t)}return i}function Xe(t){return function(e,r,n,o){var i=arguments.length>=3;return function(e,r,n,o){var i=!Oe(e)&&ut(e),a=(i||e).length,u=t>0?0:a-1;for(o||(n=e[i?i[u]:u],u+=t);u>=0&&u<a;u+=t){var s=i?i[u]:u;n=r(n,e[s],s,e)}return n}(e,Yt(r,o,4),n,i)}}const Qe=Xe(1),Ge=Xe(-1);function Ze(t,e,r){var n=[];return e=Gt(e,r),Ke(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function Je(t,e,r){return Ze(t,Ce(Gt(e)),r)}function tr(t,e,r){e=Gt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(!e(t[a],a,t))return!1}return!0}function er(t,e,r){e=Gt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(e(t[a],a,t))return!0}return!1}function rr(t,e,r,n){return Oe(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=A((function(t,e,r){var n,o;return D(e)?o=e:(e=Bt(e),n=e.slice(0,-1),e=e[e.length-1]),Ye(t,(function(t){var i=o;if(!i){if(n&&n.length&&(t=qt(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)}))}));function or(t,e){return Ye(t,Kt(e))}function ir(t,e){return Ze(t,zt(e))}function ar(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n>i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ur(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n<i&&(i=n);else e=Gt(e,r),Ke(t,(function(t,r,n){((o=e(t,r,n))<a||o===1/0&&i===1/0)&&(i=t,a=o)}));return i}function sr(t,e,r){if(null==e||r)return Oe(t)||(t=kt(t)),t[re(t.length-1)];var n=Oe(t)?Vt(t):kt(t),o=it(n);e=Math.max(Math.min(e,o),0);for(var i=o-1,a=0;a<e;a++){var u=re(a,i),s=n[a];n[a]=n[u],n[u]=s}return n.slice(0,e)}function cr(t){return sr(t,1/0)}function lr(t,e,r){var n=0;return e=Gt(e,r),or(Ye(t,(function(t,r,o){return{value:t,index:n++,criteria:e(t,r,o)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function fr(t,e){return function(r,n,o){var i=e?[[],[]]:{};return n=Gt(n,o),Ke(r,(function(e,o){var a=n(e,o,r);t(i,e,a)})),i}}const pr=fr((function(t,e,r){K(t,r)?t[r].push(e):t[r]=[e]})),dr=fr((function(t,e,r){t[r]=e})),hr=fr((function(t,e,r){K(t,r)?t[r]++:t[r]=1})),yr=fr((function(t,e,r){t[r?0:1].push(e)}),!0);var mr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function vr(t){return t?z(t)?l.call(t):T(t)?t.match(mr):Oe(t)?Ye(t,Ut):kt(t):[]}function br(t){return null==t?0:Oe(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=A((function(t,e){var r={},n=e[0];if(null==t)return r;D(n)?(e.length>1&&(n=Yt(n,e[1])),e=mt(t)):(n=gr,e=Ae(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o<i;o++){var a=e[o],u=t[a];n(u,a,t)&&(r[a]=u)}return r})),Sr=A((function(t,e){var r,n=e[0];return D(n)?(n=Ce(n),e.length>1&&(r=e[1])):(e=Ye(Ae(e,!1,!1),String),n=function(t,r){return!rr(e,r)}),wr(t,n,r)}));function Er(t,e,r){return l.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Or(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:Er(t,t.length-e)}function Ar(t,e,r){return l.call(t,null==e||r?1:e)}function jr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Ar(t,Math.max(0,t.length-e))}function xr(t){return Ze(t,Boolean)}function Mr(t,e){return Ae(t,e,!1)}const kr=A((function(t,e){return e=Ae(e,!0,!0),Ze(t,(function(t){return!rr(e,t)}))})),Nr=A((function(t,e){return kr(t,e)}));function Pr(t,e,r,n){k(e)||(n=r,r=e,e=!1),null!=r&&(r=Gt(r,n));for(var o=[],i=[],a=0,u=it(t);a<u;a++){var s=t[a],c=r?r(s,a,t):s;e&&!r?(a&&i===c||o.push(s),i=c):r?rr(i,c)||(i.push(c),o.push(s)):rr(o,s)||o.push(s)}return o}const Tr=A((function(t){return Pr(Ae(t,!0,!0))}));function Cr(t){for(var e=[],r=arguments.length,n=0,o=it(t);n<o;n++){var i=t[n];if(!rr(e,i)){var a;for(a=1;a<r&&rr(arguments[a],i);a++);a===r&&e.push(i)}}return e}function _r(t){for(var e=t&&ar(t,it).length||0,r=Array(e),n=0;n<e;n++)r[n]=or(t,n);return r}const Ir=A(_r);function Fr(t,e){for(var r={},n=0,o=it(t);n<o;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function Lr(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),o=Array(n),i=0;i<n;i++,t+=r)o[i]=t;return o}function Rr(t,e){if(null==e||e<1)return[];for(var r=[],n=0,o=t.length;n<o;)r.push(l.call(t,n,n+=e));return r}function Vr(t,e){return t._chain?lt(e).chain():e}function Wr(t){return Ke(Tt(t),(function(e){var r=lt[e]=t[e];lt.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Vr(this,r.apply(lt,t))}})),lt}Ke(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];lt.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),Vr(this,r)}})),Ke(["concat","join","slice"],(function(t){var e=a[t];lt.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Vr(this,t)}}));const Dr=lt;var Br=Wr(n);Br._=Br;const qr=Br}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(484),r(523),r(650);var n=r(999),o=n.Y8,i=n.K9,a=n.y0,u=n.Wd,s=n.zG,c=n.mA,l=n.dd,f=n.XK,p=n.Qf,d=n._,h=n.h;export{o as Bind,i as CustomElement,a as CustomElementConfig,u as CustomElementController,s as Maquette,c as Property,l as PropertyRenderOnSet,f as Query,p as RenderOnSet,d as _,h};
|
package/dist/p-elements-core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! P-ELEMENTS 1.2.7-rc.0 - Tue Dec 03 2024 10:44:28 GMT+0100 (Midden-Europese standaardtijd) */(()=>{var t={554:function(t,e,r){var n,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){if(r.get||r.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==r.g&&null!=r.g?r.g:t},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(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var r=0,n={next:function(){if(r<t.length){var o=r++;return{value:e(o,t[o]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},a.polyfill=function(t,e,r,n){if(e){for(r=a.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&a.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],n=function(){function t(t){if(!V.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var r=t.length,n=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<r;i++)if(i in t){var a=t[i];e.call(n,a,i,t)&&o.push(a)}return o}function r(t){return t.reduce((function(t,e){return t.concat(V.arr(e)?r(e):e)}),[])}function n(e){return V.arr(e)?e:(V.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,r={};for(e in t)r[e]=t[e];return r}function a(t,e){var r,n=i(t);for(r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function s(t,e){var r,n=i(t);for(r in e)n[r]=V.und(t[r])?e[r]:t[r];return n}function c(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,r,n){return e+e+r+r+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function l(t){function e(t,e,r){return 0>r&&(r+=1),1<r&&--r,r<1/6?t+6*(e-t)*r:.5>r?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(r[1])/360;var n=parseInt(r[2])/100,o=parseInt(r[3])/100;if(r=r[4]||1,0==n)o=n=t=o;else{var i=.5>o?o*(1+n):o+n-o*n,a=2*o-i;o=e(a,i,t+1/3),n=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*n+","+255*t+","+r+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function p(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function d(t,e){return V.fnc(t)?t(e.target,e.id,e.total):t}function h(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function y(t,e){return V.dom(t)&&o(R,e)?"transform":V.dom(t)&&(t.getAttribute(e)||V.svg(t)&&t[e])?"attribute":V.dom(t)&&"transform"!==e&&h(t,e)?"css":null!=t[e]?"object":void 0}function m(t,r){var n=p(r);if(n=-1<r.indexOf("scale")?1:0+n,!(t=t.style.transform))return n;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===r})),t.length?t[0]:n}function v(t,e){switch(y(t,e)){case"transform":return m(t,e);case"css":return h(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(r[0],"")),r[0][0]){case"+":return e+t+n;case"-":return e-t+n;case"*":return e*t+n}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,r=0,n=0;n<t.numberOfItems;n++){var o=t.getItem(n);0<n&&(r+=g(e,o)),e=o}return r}function S(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function E(t,e){function r(r){return r=void 0===r?0:r,t.el.getPointAtLength(1<=e+r?e+r:0)}var n=r(),o=r(-1),i=r(1);switch(t.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function O(t,e){var r,n=/-?\d*\.?\d+/g;if(r=V.pth(t)?t.totalLength:t,V.col(r))if(V.rgb(r)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);r=o?"rgba("+o[1]+",1)":r}else r=V.hex(r)?c(r):V.hsl(r)?l(r):void 0;else o=(o=f(r))?r.substr(0,r.length-o.length):r,r=e&&!/\s/g.test(r)?o+e:o;return{original:r+="",numbers:r.match(n)?r.match(n).map(Number):[0],strings:V.str(t)||e?r.split(n):[]}}function A(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function x(t){var e=A(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function j(t,e){var r=i(e);if(V.arr(t)){var o=t.length;2!==o||V.obj(t[0])?V.fnc(e.duration)||(r.duration=e.duration/o):t={value:t}}return n(t).map((function(t,r){return r=r?0:e.delay,t=V.obj(t)&&!V.pth(t)?t:{value:t},V.und(t.delay)&&(t.delay=r),t})).map((function(t){return s(t,r)}))}function M(t,e){var r,n={};for(r in t){var o=d(t[r],e);V.arr(o)&&(o=o.map((function(t){return d(t,e)})),1===o.length&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function k(t){return V.arr(t)?D.apply(this,t):W[t]}function N(t,e){var r;return t.tweens.map((function(n){var o=(n=M(n,e)).value,i=v(e.target,t.name),a=r?r.to.original:i,u=(a=V.arr(o)?o[0]:a,b(V.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),n.from=O(a,i),n.to=O(u,i),n.start=r?r.end:t.offset,n.end=n.start+n.delay+n.duration,n.easing=k(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=V.pth(o),n.isColor=V.col(n.from.original),n.isColor&&(n.round=1),r=n}))}function P(t,n){return e(r(t.map((function(t){return n.map((function(e){var r=y(t.target,e.name);if(r){var n=N(e,t);e={type:r,property:e.name,animatable:t,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else e=void 0;return e}))}))),(function(t){return!V.und(t)}))}function T(t,e,r,n){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?n.delay:r.offset+n.delay+n.duration}function _(t){var e,r=a(F,t),n=a(L,t),o=x(t.targets),i=[],u=s(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:j(t[e],n)});return s(r,{children:[],animatables:o,animations:t=P(o,i),duration:T("duration",t,r,n),delay:T("delay",t,r,n)})}function I(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return d.reversed?d.duration-t:t}function o(t){for(var r=0,n={},o=d.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[p=c.length-1];p&&(s=e(c,(function(e){return t<e.end}))[0]||s);for(var c=Math.min(Math.max(t-s.start-s.delay,0),s.duration)/s.duration,l=isNaN(c)?1:s.easing(c,s.elasticity),f=(c=s.to.strings,s.round),p=[],y=void 0,m=(y=s.to.numbers.length,0);m<y;m++){var v=void 0,b=(v=s.to.numbers[m],s.from.numbers[m]);v=s.isPath?E(s.value,l*v):b+l*(v-b),f&&(s.isColor&&2<m||(v=Math.round(v*f)/f)),p.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=p[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=p[0];B[a.type](u.target,a.property,y,n,u.id),a.currentValue=y,r++}if(r=Object.keys(n).length)for(o=0;o<r;o++)C||(C=h(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[C]=n[o].join(" ");d.currentTime=t,d.progress=t/d.duration*100}function i(t){d[t]&&d[t](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(t){var e=d.duration,u=d.offset,h=u+d.delay,y=d.currentTime,m=d.reversed,v=n(t);if(d.children.length){var b=d.children,g=b.length;if(v>=d.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=h||!e)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==y&&(o(0),m&&a()),(v>=e&&y!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(d.remaining?(c=s,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,p=r(),d=_(t);return d.reset=function(){var t=d.direction,e=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===t,d.remaining="alternate"===t&&1===e?2:e,o(0),t=d.children.length;t--;)d.children[t].reset()},d.tick=function(t){s=t,c||(c=s),u((l+s-c)*I.speed)},d.seek=function(t){u(n(t))},d.pause=function(){var t=q.indexOf(d);-1<t&&q.splice(t,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,l=n(d.currentTime),q.push(d),$||H())},d.reverse=function(){d.reversed=!d.reversed,c=0,l=n(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var C,F={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},L={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(" "),V={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return V.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||V.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return V.hex(t)||V.rgb(t)||V.hsl(t)}},D=function(){function t(t,e,r){return(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t}return function(e,r,n,o){if(0<=e&&1>=e&&0<=n&&1>=n){var i=new Float32Array(11);if(e!==r||n!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,n);return function(a){if(e===r&&n===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,s=1;10!==s&&i[s]<=a;++s)u+=.1;--s,s=u+(a-i[s])/(i[s+1]-i[s])*.1;var c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e);++u){var l=t(s,e,n)-a;s-=l/c}a=s}else if(0===c)a=s;else{s=u,u+=.1;var f=0;do{0<(c=t(l=s+(u-s)/2,e,n)-a)?u=l:s=l}while(1e-7<Math.abs(c)&&10>++f);a=l}return t(a,r,o)}}}}(),W=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={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],t],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(e,r){return 1-t(1-e,r)}],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(e,r){return.5>e?t(2*e,r)/2:1-t(-2*e+2,r)/2}]},o={linear:D(.25,.25,.75,.75)},i={};for(e in n)i.type=e,n[i.type].forEach(function(t){return function(e,n){o["ease"+t.type+r[n]]=V.fnc(e)?e:D.apply(u,e)}}(i)),i={type:i.type};return o}(),B={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){n[o]||(n[o]=[]),n[o].push(e+"("+r+")")}},q=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=q.length;if(r){for(var n=0;n<r;)q[n]&&q[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return I.version="2.2.0",I.speed=1,I.running=q,I.remove=function(t){t=A(t);for(var e=q.length;e--;)for(var r=q[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},I.getValue=v,I.path=function(e,r){var n=V.str(e)?t(e)[0]:e,o=r||100;return function(t){return{el:n,property:t,totalLength:S(n)*(o/100)}}},I.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},I.bezier=D,I.easings=W,I.timeline=function(t){var e=I(t);return e.pause(),e.duration=0,e.add=function(r){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),n(r).forEach((function(r){var n=s(r,a(L,t||{}));n.targets=n.targets||t.targets,r=e.duration;var o=n.offset;n.autoplay=!1,n.direction=e.direction,n.offset=V.und(o)?r:b(o,r),e.began=!0,e.completed=!0,e.seek(n.offset),(n=I(n)).began=!0,n.completed=!0,n.duration>r&&(e.duration=n.duration),e.children.push(n)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},I.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},I},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},398:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var i=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,a=new Map;function u(t){var e=0,r=t.replace(i,(function(t,r,o,i){if(i){e++;var u=function(t){return null==t?void 0:t.split(";").map((function(t){var e=n(t.split(":",2),2),r=e[0],o=e[1];return{key:r.trim(),value:o?o.trim():""}})).filter((function(t){return t.key&&""!==t.key&&""!==t.value}))}(i),s="",c=[];return u.forEach((function(t){c.push(t.key),s+="".concat(r,"_-_").concat(t.key,": ").concat(t.value,";")+"\n"})),a.set(r,c),t.replace(r,"".concat(s,"\n ").concat(r))}return t}));return e>0?r:null}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}function f(t,e,r){return e=y(e),function(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,d()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function p(t){var e="function"==typeof Map?new Map:void 0;return p=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(d())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&h(o,r.prototype),o}(t,arguments,y(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},p(t)}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=function(){return!!t})()}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href");fetch(e).then((function(e){e.text().then((function(e){var r=u(e);if(r){var n=document.createElement("link");n.rel="stylesheet",n.href=URL.createObjectURL(new Blob([r],{type:"text/css"})),t.parentElement.replaceWith(n),window.dispatchEvent(new CustomEvent("updatecssapply"))}}))}))}}])&&c(r.prototype,n),o&&c(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(p(HTMLLinkElement));m.cssApplyVars=a,customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),customElements.define("custom-style",m,{extends:"link"});var v=r(523),b=r(554);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}var w=function(t){return function(e,r){var n=e.constructor,o=Symbol(r+"_PropertyDecorator");n&&!n.observedAttributes&&(n.observedAttributes=[]),n&&!n.__properties__&&(n.__properties__=[]),n.__properties__.push(r),t.attribute&&!t.readonly&&-1===n.observedAttributes.indexOf(t.attribute)&&n.observedAttributes.push(t.attribute),Object.defineProperty(e,"__property_".concat(r,"__"),{configurable:!0,enumerable:!0,get:function(){return t}}),!0!==t.readonly?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(e){var n=this,i=this[o],a=(null==this?void 0:this.shouldUpdate)&&!this.shouldUpdate(r,i,e),u=this.isCustomElementController?this.hostElement:this,s=t.converter?t.converter.toAttribute(e):function(t,e){switch(t){case"string":case"number":return e.toString();case"object":return JSON.stringify(e)}}(t.type,e);a?(this[o]=i,requestAnimationFrame((function(){u.setAttribute(t.attribute,i)}))):this[o]=e;var c=function(){n[o]!==i&&((null==n?void 0:n.renderNow)&&n.renderNow(),(null==n?void 0:n.updated)&&n.updated(r,i,n[o]))};if(t.reflect&&t.attribute)if("boolean"!==t.type){if(!e)return u.removeAttribute(t.attribute),void c();if(u.getAttribute(t.attribute)===s)return void c();null!==s?u.setAttribute(t.attribute,s):u.removeAttribute(t.attribute)}else e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),c();c(),(null==this?void 0:this.renderNow)&&this.renderNow()}}):Object.defineProperty(e,r,{get:function(){return this[o]},set:function(t){this[o]=t,null==this||this.renderNow(),delete this[r],Object.defineProperty(this,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(){throw new Error("Cannot set read-only property")}}),Object.seal(this[o])}})}},S=w({});function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function O(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return A(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}(t)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function M(t,e,r){return(e=N(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,N(n.key),n)}}function N(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:e+""}function P(t,e){if(e&&("object"==E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function T(t){var e="function"==typeof Map?new Map:void 0;return T=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(_())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&I(o,r.prototype),o}(t,arguments,C(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),I(r,t)},T(t)}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}function I(t,e){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},I(t,e)}function C(t){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},C(t)}function F(t,e,r){L(t,e),e.set(t,r)}function L(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(t,e,r){return r(W(t,e))}function V(t,e,r){return t.set(W(t,e),r),r}function D(t,e){return t.get(W(t,e))}function W(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var B=function(t,e,r){var n=r.value;if("function"!=typeof n)throw new Error("@Bind decorator can only be applied to methods not: ".concat(g(n)));var o=!1;return{configurable:!0,get:function(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),o=!1,r},set:function(t){n=t}}},q=function(t){return function(e){customElements.get(t.tagName)?console.warn("Custom element with tag name ".concat(t.tagName," already exists.")):customElements.define(t.tagName,e,t.options)}},$=S,H=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return e?this.shadowRoot.querySelector(t):this.querySelector(t)}})}},U=w,z=[],Y=new WeakMap,K=new WeakMap,X=new WeakMap,Q=new WeakMap,Z=new WeakMap,G=new WeakMap,J=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakMap,it=new WeakSet,at=new WeakMap,ut=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,o=C(o=e),function(t,e){L(t,e),e.add(t)}(r=P(n,_()?Reflect.construct(o,i||[],C(n).constructor):o.apply(n,i)),it),F(r,Y,void 0),F(r,K,void 0),F(r,X,void 0),F(r,Q,void 0),F(r,Z,void 0),F(r,G,void 0),F(r,J,!1),F(r,tt,void 0),F(r,et,void 0),F(r,rt,void 0),F(r,nt,[]),F(r,ot,!1),F(r,at,(function(){var t=r.constructor.__properties__;V(Y,r,[]),t&&V(Y,r,t.map((function(t){return j(j({},r["__property_".concat(t,"__")]),{},{name:t})})))})),W(it,r,ct).call(r),W(it,r,st).call(r),P(r,t)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&I(t,e)}(e,t),r=e,n=[{key:"addController",value:function(t){D(nt,this).push(t),D(ot,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return D(rt,this)},set:function(t){V(rt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(R(it,this,lt)){if(D(Z,this)||V(Z,this,new CSSStyleSheet),t=W(it,this,ft).call(this),D(Z,this).replaceSync(t),D(J,this))return;if(e instanceof Document){var r=W(it,this,dt).call(this,t);-1===z.indexOf(r)&&(document.adoptedStyleSheets=[].concat(O(document.adoptedStyleSheets),[D(Z,this)]),V(J,this,!0),z.push(r))}else this.shadowRoot.adoptedStyleSheets=[D(Z,this)],V(J,this,!0)}else if(V(G,this,document.createElement("link")),D(G,this).rel="stylesheet",t=W(it,this,ft).call(this),D(G,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=W(it,this,dt).call(this,t);-1===z.indexOf(n)&&(document.head.appendChild(D(G,this)),z.push(n))}else this.shadowRoot.appendChild(D(G,this))}},{key:"templateFromString",value:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=document.createElement("template");n.innerHTML=t;var o=document.createDocumentFragment();o.appendChild(n.content);var i=o.querySelector("style");return r&&(V(tt,this,!0),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:D(et,this)})),W(it,this,pt).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){W(it,e,ft).call(e)})),o}},{key:"adoptStyle",value:function(t,e){this.addStylesheetToRootNode(e,t)}},{key:"createProjector",value:function(t,e){var r=this;return new Promise((function(n,o){var i,a=D(X,r)?D(X,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e),V(K,r,i),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){D(K,this)&&D(K,this).renderNow()}},{key:"connectedCallback",value:function(){V(ot,this,!0),D(nt,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){V(ot,this,!1),D(nt,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=D(Y,this).find((function(e){return e.attribute===t}));if(n)if(n.converter)this[n.name]=n.converter.fromAttribute(r);else{var o=n.type;"string"===o?this[n.name]=r:"number"===o?this[n.name]=parseFloat(r):"boolean"===o?this[n.name]=null!==r:"object"===o&&(this[n.name]=JSON.parse(r))}}}],n&&k(r.prototype,n),o&&k(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(T(HTMLElement));function st(){"function"==typeof this.init&&(this.init(),D(nt,this).forEach((function(t){null==t||t.init()})))}function ct(){var t=this;D(at,this).call(this);var e=this.constructor.projectorMode;V(X,this,e||"append");var r=this.constructor.isFormAssociated,n=this.constructor.isDelegateFocus;V(et,this,n),r&&V(rt,this,this.attachInternals());var o=this.constructor.style;if(o){V(tt,this,!0),V(X,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:D(et,this)}),W(it,this,pt).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame((function(){t.createProjector(i,t.render)})),window.addEventListener("updatecssapply",(function(){W(it,t,ft).call(t)}))}}function lt(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function ft(){var t=function(t){for(var e,r=customElements.get("custom-style").cssApplyVars,n=t,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=function(){var t=e[0],o=e[1];if(r.has(o)){var i="@apply"+t.split("@apply",2)[1],a=r.get(o).map((function(t){return";".concat(t,": var(").concat(o,"_-_").concat(t,");")})).join("");n=n.replace(i,a)}};e=o.exec(n);)i();return n}(D(Q,this));return D(Q,this)!==t&&(V(Q,this,t),R(it,this,lt)&&D(Z,this)?D(Z,this).replaceSync(t):R(it,this,lt)||(D(G,this)&&URL.revokeObjectURL(D(G,this).href),D(G,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function pt(t){V(Q,this,t),D(tt,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):D(tt,this)||this.addStylesheetToRootNode(t,document)}function dt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}var yt="http://www.w3.org/",mt=yt+"2000/svg",vt=yt+"1999/xlink",bt=[],gt=[],wt=!1,St=function(t){var e;(t.children||[]).forEach(St),null!=t&&null!==(e=t.properties)&&void 0!==e&&e.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},Et=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},Ot=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},At=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(Et(t[n],e))return n;return-1},xt=function(t,e,r,n){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(Et(u,o))throw"added"===n?new Error(r.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(r.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},jt=function(t,e){if(t.properties){var r=t.properties.enterAnimation;r&&("function"==typeof r?r(t.domNode,t.properties):e.enter(t.domNode,t.properties,r))}},Mt=function(t,e){var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),e&&Object.keys(e).forEach((function(t){r[t]=e[t]})),r},kt=function(t,e,r){if(function(t,e,r){if(e)for(var n=0;n<e.length;n++)Pt(e[n],t,void 0,r)}(t,e.children,r),e.text&&(t.textContent=e.text),e.properties&&e.properties.eventListeners){if(!Array.isArray(e.properties.eventListeners))throw new Error("eventListeners value must be an array");e.properties.eventListeners.forEach((function(e){t.addEventListener(e[0],e[1],e[2])}))}!function(t,e,r){if(e)for(var n=r.eventHandlerInterceptor,o=Object.keys(e),i=o.length,a=function(){var i,a=o[u],s=e[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)!function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))}(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var p=c[f];s[p]&&t.classList.add(p)}else if("styles"===a)for(var d=Object.keys(s),h=d.length,y=0;y<h;y++){var m=d[y],v=s[m];v&&(Ot(v),r.styleApplyer(t,m,v))}else if("key"!==a&&null!=s){var b=ht(s);"function"===b?(0===a.lastIndexOf("on",0)&&(n&&(s=n(a,s,t,e)),"oninput"===a&&(i=s,s=function(t){i.apply(this,[t]),t.target["oninput-value"]=t.target.value})),t[a]=s):r.namespace===mt?"href"===a?t.setAttributeNS(vt,a,s):t.setAttribute(a,s):"string"===b&&"value"!==a&&"innerHTML"!==a?t.setAttribute(a,s):t[a]=s}},u=0;u<i;u++)a()}(t,e.properties,r),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children])},Nt=function(t,e){return{update:function(r){if(t.vnodeSelector!==r.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)");Ft(t,r,e),t=r},domNode:t.domNode}},Pt=function(t,e,r,n){var o,i,a,u,s,c=0,l=t.vnodeSelector,f=e.ownerDocument;if(""===l)o=t.domNode=f.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o);else{var p=function(){if(a=l.charAt(i),i===l.length||"."===a||"#"===a){if(u=l.charAt(c-1),s=l.slice(c,i),"."===u)o.classList.add(s);else if("#"===u)o.id=s;else{if("svg"===s&&(n=Mt(n,{namespace:mt})),void 0!==n.namespace)o=t.domNode=f.createElementNS(n.namespace,s);else{var p;if(t.properties&&t.properties.is){var d=document.createElement("div");d.style.display="none",document.body.appendChild(d),d.innerHTML="<".concat(s,' is="').concat(t.properties.is,'"></').concat(s,">"),setTimeout((function(){document.body.removeChild(d)}),10),p=f.createElement(s,{is:t.properties.is})}else p=f.createElement(s);o=t.domNode=t.domNode||p,"input"===s&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type)}o&&(void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o))}c=i+1}};for(i=0;i<=l.length;++i)p();kt(o,t,n)}},Tt=function(t,e){var r=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){r.removeEventListener(t[0],t[1])}));var n=t.properties.exitAnimation;if(n){r.style.pointerEvents="none";var o=function(){r.parentNode&&(r.parentNode.removeChild(r),_t(t))};return"function"==typeof n?void n(r,o,t.properties):void e.exit(t.domNode,t.properties,n,o)}}r.parentNode&&(r.parentNode.removeChild(r),_t(t))},_t=function(t){gt.push(t),wt||(wt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(It,{timeout:16}):setTimeout(It,16))},It=function(){wt=!1,gt.forEach(St),gt.length=0},Ct=function(t,e,r,n,o){if(r===n)return!1;n=n||bt;for(var i,a=(r=r||bt).length,u=n.length,s=o.transitions,c=0,l=0,f=!1;l<u;){var p=c<a?r[c]:void 0,d=n[l];if(void 0!==p&&Et(p,d))f=Ft(p,d,o)||f,c++;else{var h=At(r,d,c+1);if(h>=0){for(i=c;i<h;i++)Tt(r[i],s),xt(r,i,t,"removed");f=Ft(r[h],d,o)||f,c=h+1}else Pt(d,e,c<a?r[c].domNode:void 0,o),jt(d,s),xt(n,l,t,"added")}l++}if(a>c)for(i=c;i<a;i++)Tt(r[i],s),xt(r,i,t,"removed");return f},Ft=function(t,e,r){var n=t.domNode,o=!1;if(t===e)return!1;var i=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var a=n.ownerDocument.createTextNode(e.text);return n.parentNode.replaceChild(a,n),e.domNode=a,o=!0}}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=Mt(r,{namespace:mt})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),i=Ct(e,n,t.children,e.children,r)||i,i=Lt(n,t.properties,e.properties,r)||i,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[n,r,e.vnodeSelector,e.properties,e.children]);return i&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(n,e.properties,t.properties),e.domNode=t.domNode,o},Lt=function(t,e,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,u=0;u<a;u++){var s=i[u],c=r[s],l=e[s];if("class"===s){if(l!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===s)for(var f=t.classList,p=Object.keys(c),d=p.length,h=0;h<d;h++){var y=p[h],m=!!c[y];m!==!!l[y]&&(o=!0,m?f.add(y):f.remove(y))}else if("styles"===s)for(var v=Object.keys(c),b=v.length,g=0;g<b;g++){var w=v[g],S=c[w];S!==l[w]&&(o=!0,S?(Ot(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||(c=""),"value"===s){var E=t[s];E!==c&&(t["oninput-value"]?E===t["oninput-value"]:c!==l)&&(t[s]=c,t["oninput-value"]=void 0),c!==l&&(o=!0)}else if(c!==l){var O=ht(c);if("function"===O)throw new Error("Functions may not be updated on subsequent renders (property: "+s+"). Hint: declare event handler functions outside the render() function.");"string"===O&&"innerHTML"!==s?n.namespace===mt&&"href"===s?t.setAttributeNS(vt,s,c):"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0}}return o}},Rt=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},Vt={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){t.style[e]=r},transitions:{enter:Rt,exit:Rt}},Dt=function(t){return Mt(Vt,t)},Wt={create:function(t,e){return e=Dt(e),Pt(t,document.createElement("div"),void 0,e),Nt(t,e)},append:function(t,e,r){return r=Dt(r),Pt(e,t,void 0,r),Nt(e,r)},insertBefore:function(t,e,r){return r=Dt(r),Pt(e,t.parentNode,t,r),Nt(e,r)},merge:function(t,e,r){return r=Dt(r),e.domNode=t,kt(t,e,r),Nt(e,r)},replace:function(t,e,r){return r=Dt(r),Pt(e,t.parentNode,t,r),t.parentNode.removeChild(t),Nt(e,r)}};function Bt(t){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bt(t)}var qt=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},$t=function(t,e,r){for(var n=0,o=e.length;n<o;n++){var i=e[n];Array.isArray(i)?$t(t,i,r):null!=i&&(i.hasOwnProperty("vnodeSelector")||(i=qt(i)),r.push(i))}},Ht=function(t){var e=arguments[1];if("string"!=typeof t)throw new Error;var r,n,o=1;!e||e.hasOwnProperty("vnodeSelector")||Array.isArray(e)||"object"!==Bt(e)?e=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?r=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(r=a[0])}if(void 0===r)for(n=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?$t(t,u,n):u.hasOwnProperty("vnodeSelector")?n.push(u):n.push(qt(u)))}return{vnodeSelector:t,properties:e,children:n,text:""===r?void 0:r,domNode:null}},Ut={createCache:function(){var t,e;return{invalidate:function(){e=void 0,t=void 0},result:function(r,n){if(t)for(var o=0;o<r.length;o++)t[o]!==r[o]&&(e=void 0);return e||(e=n(),t=r),e}}},createMapping:function(t,e,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(t),u=o.slice(),s=0,c=0;c<i.length;c++){var l=i[c],f=a[c];if(f===n[s])o[c]=u[s],r(l,u[s],c),s++;else{for(var p=!1,d=1;d<n.length+1;d++){var h=(s+d)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,p=!0;break}}p||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r=Dt(t);r.eventHandlerInterceptor=function(t,r,n,o){return function(){return e.scheduleRender(),r.apply(o.bind||this,arguments)}};var n,o=!0,i=!1,a=[],u=[],s=function(){if(n=void 0,o){o=!1;for(var t=0;t<a.length;t++){var e=u[t]();a[t].update(e)}o=!0}};return e={renderNow:s,scheduleRender:function(){n||i||(n=requestAnimationFrame(s))},stop:function(){n&&(cancelAnimationFrame(n),n=void 0),i=!0},resume:function(){i=!1,o=!0,e.scheduleRender()},append:function(t,e){a.push(Wt.append(t,e(),r)),u.push(e)},insertBefore:function(t,e){a.push(Wt.insertBefore(t,e(),r)),u.push(e)},merge:function(t,e){a.push(Wt.merge(t,e(),r)),u.push(e)},replace:function(t,e){a.push(Wt.replace(t,e(),r)),u.push(e)},detach:function(t){for(var e=0;e<u.length;e++)if(u[e]===t)return u.splice(e,1),a.splice(e,1)[0];throw new Error("renderMaquetteFunction was not found")}}},dom:Wt,h:Ht};!function(t){t._=v,t.Maquette=Ut,t.h=Ht,t.anime=b,t.CustomElement=ut,t.CustomElementConfig=q,t.PropertyRenderOnSet=$,t.RenderOnSet=$,t.Property=U,t.Query=H,t.Bind=B}(window)},484:()=>{"use strict";const{keys:t}=Object,e=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:u,Set:s,WeakMap:c}=self,l=t=>o in t,{filter:f}=[],p=t=>{const p=new c,d=(e,r)=>{let n;if(r)for(let o,i=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(e),a=0,{length:u}=y;a<u;a++)i.call(e,o=y[a])&&(p.has(e)||p.set(e,new s),n=p.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else p.has(e)&&(n=p.get(e),p.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)d(t[r],e)},{query:y}=t,m=t.root||i,v=((t,o=document,i=MutationObserver,a=["*"])=>{const u=(r,o,i,a,s,c)=>{for(const l of r)(c||n in l)&&(s?i.has(l)||(i.add(l),a.delete(l),t(l,s)):a.has(l)||(a.add(l),i.delete(l),t(l,s)),c||u(l[n](o),o,i,a,s,e))},s=new i((t=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:s}of t)u(s,n,o,i,r,r),u(a,n,o,i,e,r)}})),{observe:c}=s;return(s.observe=t=>c.call(s,t,{subtree:e,childList:e}))(o),s})(d,m,u,y),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(t){const e=b.call(this,t);return v.observe(e),e}),y.length&&h(m[o](y)),{drop:t=>{for(let e=0,{length:r}=t;e<r;e++)p.delete(t[e])},flush:()=>{const t=v.takeRecords();for(let e=0,{length:r}=t;e<r;e++)h(f.call(t[e].removedNodes,l),!1),h(f.call(t[e].addedNodes,l),!0)},observer:v,parse:h}},{customElements:d,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:O}=h,{define:A,get:x,upgrade:j}=d,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,_=new w,I=new g,C=new g,F=new g,L=new g,R=[],V=[],D=t=>L.get(t)||x.call(d,t),{parse:W}=p({query:V,handle:(e,r,n)=>{const o=F.get(n);if(r&&!o.isPrototypeOf(e)){const r=(e=>{const r=t(e),n=[],o=new Set,{length:i}=r;for(let t=0;t<i;t++){n[t]=e[r[t]];try{delete e[r[t]]}catch(e){o.add(t)}}return()=>{for(let t=0;t<i;t++)o.has(t)||(e[r[t]]=n[t])}})(e);U=P(e,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&e[i]()}}),{parse:B}=p({query:R,handle(t,e){T.has(t)&&(e?_.add(t):_.delete(t),V.length&&z.call(V,t))}}),{attachShadow:q}=y.prototype;q&&(y.prototype.attachShadow=function(t){const e=q.call(this,t);return T.set(this,e),e});const $=t=>{if(!C.has(t)){let e,r=new b((t=>{e=t}));C.set(t,{$:r,_:e})}return C.get(t).$},H=((t,e)=>{const r=t=>{for(let e=0,{length:r}=t;e<r;e++)n(t[e])},n=({target:t,attributeName:e,oldValue:r})=>{t.attributeChangedCallback(e,r,t.getAttribute(e))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&t(i).then((()=>{new e(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let t=0,{length:e}=a;t<e;t++)o.hasAttribute(a[t])&&n({target:o,attributeName:a[t],oldValue:null})})),o}})($,m);let U=null;function z(t){const e=T.get(t);W(e.querySelectorAll(this),t.isConnected)}N(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!I.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=I.get(t);if(r){if(U)return H(U,r);const e=O.call(h,n);return e.setAttribute("is",r),H(P(e,t.prototype),r)}return M.call(this,e,[],t)}P(r,e),k(r.prototype=e.prototype,"constructor",{value:r}),k(self,t,{value:r})})),h.createElement=function(t,e){const r=e&&e.is;if(r){const e=L.get(r);if(e&&I.get(e).tag===t)return new e}const n=O.call(h,t);return r&&n.setAttribute("is",r),n},d.get=D,d.whenDefined=$,d.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=L.get(e);if(r)return void H(P(t,r.prototype),e)}j.call(d,t)},d.define=function(t,e,r){if(D(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;I.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,F.set(n,e.prototype),L.set(t,e),V.push(n)):(A.apply(d,arguments),R.push(n=t)),$(t).then((()=>{o?(W(h.querySelectorAll(n)),_.forEach(z,[n])):B(h.querySelectorAll(n))})),C.get(t)._(e)}},650:()=>{"use strict";!function(t){const e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,f=new WeakMap,p=new WeakMap,d=new WeakMap,h=new WeakMap,y=new WeakMap,m={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function v(t){const e=o.get(t),{form:r}=e;_(t,r,e),M(t,e.labels)}const b=(t,e=!1)=>{const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>o.has(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let n=r.nextNode();const i=!e||t.disabled;for(;n;)n.formDisabledCallback&&i&&A(n,t.disabled),n=r.nextNode()},g={attributes:!0,attributeFilter:["disabled","name"]},w=R()?new MutationObserver((t=>{for(const e of t){const t=e.target;if("disabled"===e.attributeName&&(t.constructor.formAssociated?A(t,t.hasAttribute("disabled")):"fieldset"===t.localName&&b(t)),"name"===e.attributeName&&t.constructor.formAssociated){const e=o.get(t),r=c.get(t);e.setFormValue(r)}}})):{};function S(t){t.forEach((t=>{const{addedNodes:e,removedNodes:r}=t,i=Array.from(e),a=Array.from(r);i.forEach((t=>{var e;if(o.has(t)&&t.constructor.formAssociated&&v(t),l.has(t)){const e=l.get(t);Object.keys(m).filter((t=>null!==e[t])).forEach((r=>{t.setAttribute(m[r],e[r])})),l.delete(t)}if(y.has(t)){const e=y.get(t);t.setAttribute("internals-valid",e.validity.valid.toString()),t.setAttribute("internals-invalid",(!e.validity.valid).toString()),t.setAttribute("aria-invalid",(!e.validity.valid).toString()),y.delete(t)}if("form"===t.localName){const e=s.get(t),r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>!o.has(t)||!t.constructor.formAssociated||e&&e.has(t)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let n=r.nextNode();for(;n;)v(n),n=r.nextNode()}"fieldset"===t.localName&&(null===(e=w.observe)||void 0===e||e.call(w,t,g),b(t,!0))})),a.forEach((t=>{const e=o.get(t);if(e&&n.get(e)&&x(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=d.get(t.target);o.has(e)&&L(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const O={childList:!0,subtree:!0},A=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},x=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},j=(t,e)=>{const r=document.createElement("input");return r.type="hidden",r.name=t.getAttribute("name"),t.after(r),n.get(e).push(r),r},M=(t,e)=>{if(e.length){Array.from(e).forEach((e=>e.addEventListener("click",t.click.bind(t))));let r=e[0].id;e[0].id||(r=`${e[0].htmlFor}_Label`,e[0].id=r),t.setAttribute("aria-labelledby",r)}},k=t=>{const e=Array.from(t.elements).filter((t=>!t.tagName.includes("-")&&t.validity)).map((t=>t.validity.valid)),r=s.get(t)||[],n=[...e,...Array.from(r).filter((t=>t.isConnected)).map((t=>o.get(t).validity.valid))].includes(!1);t.toggleAttribute("internals-invalid",n),t.toggleAttribute("internals-valid",!n)},N=t=>{k(I(t.target))},P=t=>{k(I(t.target))},T=t=>{const e=s.get(t.target);e&&e.size&&e.forEach((t=>{t.constructor.formAssociated&&t.formResetCallback&&t.formResetCallback.apply(t)}))},_=(t,e,r)=>{if(e){const n=s.get(e);if(n)n.add(t);else{const r=new Set;r.add(t),s.set(e,r),(t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map((t=>`${t}:not([disabled])`)).map((e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`)).join(",");t.addEventListener("click",(r=>{if(r.target.closest(e)){const e=s.get(t);if(t.noValidate)return;e.size&&Array.from(e).reverse().map((t=>o.get(t).reportValidity())).includes(!1)&&r.preventDefault()}}))})(e),e.addEventListener("reset",T),e.addEventListener("input",N),e.addEventListener("change",P)}a.set(e,{ref:t,internals:r}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout((()=>{t.formAssociatedCallback.apply(t,[e])}),0),k(e)}},I=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=I(e)),e},C=(t,e,r=DOMException)=>{if(!t.constructor.formAssociated)throw new r(e)},F=(t,e,r)=>{const n=s.get(t);return n&&n.size&&n.forEach((t=>{o.get(t)[r]()||(e=!1)})),e},L=t=>{if(t.constructor.formAssociated){const e=o.get(t),{labels:r,form:n}=e;M(t,r),_(t,n,e)}};function R(){return"undefined"!=typeof MutationObserver}class V{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},W=new WeakMap;function B(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class q extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");W.set(this,t)}add(t){if(!/^--/.test(t)||"string"!=typeof t)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${t} must start with '--'.`);const e=super.add(t),r=W.get(this),n=`state${t}`;return r.isConnected?B(r,n):setTimeout((()=>{B(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=W.get(this);return r.isConnected?(r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)):setTimeout((()=>{r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)})),e}}function $(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}var H;class U{constructor(t){H.set(this,void 0),function(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(t,r):o?o.value=r:e.set(t,r)}(this,H,t,"f");for(let e=0;e<t.length;e++){let r=t[e];this[e]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return $(this,H,"f").length}[(H=new WeakMap,Symbol.iterator)](){return $(this,H,"f")[Symbol.iterator]()}item(t){return null==this[t]?null:this[t]}namedItem(t){return null==this[t]?null:this[t]}}class z{static get isPolyfilled(){return!0}constructor(t){if(!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=t.getRootNode(),a=new V;this.states=new q(t),e.set(this,t),r.set(this,a),o.set(t,this),((t,e)=>{for(let r in m){e[r]=null;let n=null;const o=m[r];Object.defineProperty(e,r,{get:()=>n,set(r){n=r,t.isConnected?t.setAttribute(o,r):l.set(t,e)}})}})(t,this),((t,e)=>{var r;n.set(e,[]),null===(r=w.observe)||void 0===r||r.call(w,t,g)})(t,this),Object.seal(this),i instanceof DocumentFragment&&(t=>{var e,r;const n=new MutationObserver(E);(null===(e=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===e?void 0:e.inUse)&&t.mode&&t.host&&(t=t.host),null===(r=n.observe)||void 0===r||r.call(n,t,{childList:!0}),d.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(C(t,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=r.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});t.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return C(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=I(t)),r}get labels(){const t=e.get(this);C(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(C(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=p.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(C(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),x(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=j(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){j(r,this).value=t}c.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(C(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!t)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,o);const u=r.get(this),s={};for(const e in t)s[e]=t[e];var c;0===Object.keys(s).length&&((c=u).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const l=Object.assign(Object.assign({},u),s);delete l.valid;const{valid:f}=((t,e,r)=>(t.valid=D(e),Object.keys(e).forEach((r=>t[r]=e[r])),r&&k(r),t))(u,l,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");i.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),a.setAttribute("aria-invalid",`${!f}`)):y.set(a,this)}get shadowRoot(){const t=e.get(this),r=f.get(t);return r||null}get validationMessage(){const t=e.get(this);return C(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get validity(){const t=e.get(this);C(t,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return r.get(this)}get willValidate(){const t=e.get(this);return C(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let Y=!1,K=!1;function X(t){K||(K=!0,window.CustomStateSet=q,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new q(this),r}))}function Q(t=!0){if(!Y){if(Y=!0,"undefined"!=typeof window&&(window.ElementInternals=z),"undefined"!=typeof CustomElementRegistry){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,r,n){if(r.formAssociated){const t=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){h.has(this)||(h.set(this,!0),this.hasAttribute("disabled")&&A(this,!0)),null!=t&&t.apply(this),L(this)}}e.call(this,t,r,n)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(o.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new z(this)}),"undefined"!=typeof Element){function r(...t){const e=n.apply(this,t);if(f.set(this,e),R()){const t=new MutationObserver(S);window.ShadyDOM?t.observe(this,O):t.observe(e,O),u.set(this,t)}return e}const n=Element.prototype.attachShadow;Element.prototype.attachShadow=r}if(R()&&"undefined"!=typeof document){new MutationObserver(S).observe(document.documentElement,O)}"undefined"!=typeof HTMLFormElement&&function(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...e){let r=t.apply(this,e);return F(this,r,"checkValidity")};const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...t){let r=e.apply(this,t);return F(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...t){const e=r.call(this,...t),n=Array.from(s.get(this)||[]);if(0===n.length)return e;const o=Array.from(e).concat(n).sort(((t,e)=>t.compareDocumentPosition?2&t.compareDocumentPosition(e)?1:-1:0));return new U(o)}})}(),(t||"undefined"!=typeof window&&!window.CustomStateSet)&&X()}}!!customElements.polyfillWrapFlushCallback||(!function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const r=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((t=>t in r.internals))}()?Q(!1):"undefined"==typeof window||window.CustomStateSet||X(HTMLElement.prototype.attachInternals)),t.forceCustomStateSetPolyfill=X,t.forceElementInternalsPolyfill=Q,Object.defineProperty(t,"__esModule",{value:!0})}({})},523:(t,e,r)=>{"use strict";r.r(e),r.d(e,{VERSION:()=>o,after:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Fe,bind:()=>Ee,bindAll:()=>xe,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ke,compact:()=>jr,compose:()=>Ie,constant:()=>G,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>qr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ye,escape:()=>ae,every:()=>tr,extend:()=>It,extendOwn:()=>Ct,filter:()=>Ge,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ze,forEach:()=>Ye,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>I,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>Z,isNull:()=>j,isNumber:()=>_,isObject:()=>x,isRegExp:()=>C,isSet:()=>jt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>xt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>xr,lastIndexOf:()=>He,map:()=>Ke,mapObject:()=>Gt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>je,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>_e,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Yt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ge,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>Ir,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Ir,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Fe,bind:()=>Ee,bindAll:()=>xe,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ke,compact:()=>jr,compose:()=>Ie,constant:()=>G,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Wr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ye,escape:()=>ae,every:()=>tr,extend:()=>It,extendOwn:()=>Ct,filter:()=>Ge,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ze,forEach:()=>Ye,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>I,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>Z,isNull:()=>j,isNumber:()=>_,isObject:()=>x,isRegExp:()=>C,isSet:()=>jt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>xt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>xr,lastIndexOf:()=>He,map:()=>Ke,mapObject:()=>Gt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>je,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>_e,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Yt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ge,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>Ir,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Ir,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});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,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=d&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=Math.pow(2,53)-1;function A(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var i=Array(e+1);for(o=0;o<e;o++)i[o]=arguments[o];return i[e]=n,t.apply(this,i)}}function x(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function j(t){return null===t}function M(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===f.call(t)}function N(t){return!(!t||1!==t.nodeType)}function P(t){var e="[object "+t+"]";return function(t){return f.call(t)===e}}const T=P("String"),_=P("Number"),I=P("Date"),C=P("RegExp"),F=P("Error"),L=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),D=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof D&&(V=function(t){return"function"==typeof t||!1});const W=V,B=P("Object");var q=h&&B(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&B(new Map),H=P("DataView");const U=q?function(t){return null!=t&&W(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function Y(t,e){return null!=t&&p.call(t,e)}var K=P("Arguments");!function(){K(arguments)||(K=function(t){return Y(t,"callee")})}();const X=K;function Q(t){return!L(t)&&w(t)&&!isNaN(parseFloat(t))}function Z(t){return _(t)&&g(t)}function G(t){return function(){return t}}function J(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=O}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=J(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=d?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:G(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=E.length,n=t.constructor,o=W(n)&&n.prototype||u,i="constructor";for(Y(t,i)&&!e.contains(i)&&e.push(i);r--;)(i=E[r])in t&&t[i]!==o[i]&&!e.contains(i)&&e.push(i)}function ut(t){if(!x(t))return[];if(m)return m(t);var e=[];for(var r in t)Y(t,r)&&e.push(r);return S&&at(t,e),e}function st(t){if(null==t)return!0;var e=it(t);return"number"==typeof e&&(z(t)||T(t)||X(t))?0===e:0===it(ut(t))}function ct(t,e){var r=ut(e),n=r.length;if(null==t)return!n;for(var o=Object(t),i=0;i<n;i++){var a=r[i];if(e[a]!==o[a]||!(a in o))return!1}return!0}function lt(t){return t instanceof lt?t:this instanceof lt?void(this._wrapped=t):new lt(t)}function ft(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}lt.VERSION=o,lt.prototype.value=function(){return this._wrapped},lt.prototype.valueOf=lt.prototype.toJSON=lt.prototype.value,lt.prototype.toString=function(){return String(this._wrapped)};var pt="[object DataView]";function dt(t,e,r,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var o=typeof t;return("function"===o||"object"===o||"object"==typeof e)&&ht(t,e,r,n)}function ht(t,e,r,n){t instanceof lt&&(t=t._wrapped),e instanceof lt&&(e=e._wrapped);var o=f.call(t);if(o!==f.call(e))return!1;if(q&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=pt}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return s.valueOf.call(t)===s.valueOf.call(e);case"[object ArrayBuffer]":case pt:return ht(ft(t),ft(e),r,n)}var i="[object Array]"===o;if(!i&&ot(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(W(a)&&a instanceof a&&W(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}n=n||[];for(var c=(r=r||[]).length;c--;)if(r[c]===t)return n[c]===e;if(r.push(t),n.push(e),i){if((c=t.length)!==e.length)return!1;for(;c--;)if(!dt(t[c],e[c],r,n))return!1}else{var l,p=ut(t);if(c=p.length,ut(e).length!==c)return!1;for(;c--;)if(!Y(e,l=p[c])||!dt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return dt(t,e)}function mt(t){if(!x(t))return[];var e=[];for(var r in t)e.push(r);return S&&at(t,e),e}function vt(t){var e=it(t);return function(r){if(null==r)return!1;var n=mt(r);if(it(n))return!1;for(var o=0;o<e;o++)if(!W(r[t[o]]))return!1;return t!==Et||!W(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),Ot=["add"].concat(gt,bt,"has");const At=$?vt(St):P("Map"),xt=$?vt(Et):P("WeakMap"),jt=$?vt(Ot):P("Set"),Mt=P("WeakSet");function kt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=t[e[o]];return n}function Nt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=[e[o],t[e[o]]];return n}function Pt(t){for(var e={},r=ut(t),n=0,o=r.length;n<o;n++)e[t[r[n]]]=r[n];return e}function Tt(t){var e=[];for(var r in t)W(t[r])&&e.push(r);return e.sort()}function _t(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var o=1;o<n;o++)for(var i=arguments[o],a=t(i),u=a.length,s=0;s<u;s++){var c=a[s];e&&void 0!==r[c]||(r[c]=i[c])}return r}}const It=_t(mt),Ct=_t(ut),Ft=_t(mt,!0);function Lt(t){if(!x(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function Rt(t,e){var r=Lt(t);return e&&Ct(r,e),r}function Vt(t){return x(t)?z(t)?t.slice():It({},t):t}function Dt(t,e){return e(t),t}function Wt(t){return z(t)?t:[t]}function Bt(t){return lt.toPath(t)}function qt(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function $t(t,e,r){var n=qt(t,Bt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=Bt(e)).length,n=0;n<r;n++){var o=e[n];if(!Y(t,o))return!1;t=t[o]}return!!r}function Ut(t){return t}function zt(t){return t=Ct({},t),function(e){return ct(e,t)}}function Yt(t){return t=Bt(t),function(e){return qt(e,t)}}function Kt(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)}}return function(){return t.apply(e,arguments)}}function Xt(t,e,r){return null==t?Ut:W(t)?Kt(t,e,r):x(t)&&!z(t)?zt(t):Yt(t)}function Qt(t,e){return Xt(t,e,1/0)}function Zt(t,e,r){return lt.iteratee!==Qt?lt.iteratee(t,e):Xt(t,e,r)}function Gt(t,e,r){e=Zt(e,r);for(var n=ut(t),o=n.length,i={},a=0;a<o;a++){var u=n[a];i[u]=e(t[u],u,t)}return i}function Jt(){}function te(t){return null==t?Jt:function(e){return $t(t,e)}}function ee(t,e,r){var n=Array(Math.max(0,t));e=Kt(e,r,1);for(var o=0;o<t;o++)n[o]=e(o);return n}function re(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}lt.toPath=Wt,lt.iteratee=Qt;const ne=Date.now||function(){return(new Date).getTime()};function oe(t){var e=function(e){return t[e]},r="(?:"+ut(t).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}}const ie={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ae=oe(ie),ue=oe(Pt(ie)),se=lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ce=/(.)^/,le={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},fe=/\\|'|\r|\n|\u2028|\u2029/g;function pe(t){return"\\"+le[t]}var de=/^\s*(\w|\$)+\s*$/;function he(t,e,r){!e&&r&&(e=r),e=Ft({},e,lt.templateSettings);var n=RegExp([(e.escape||ce).source,(e.interpolate||ce).source,(e.evaluate||ce).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,(function(e,r,n,a,u){return i+=t.slice(o,u).replace(fe,pe),o=u+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,u=e.variable;if(u){if(!de.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(t){throw t.source=i,t}var s=function(t){return a.call(this,t,lt)};return s.source="function("+u+"){\n"+i+"}",s}function ye(t,e,r){var n=(e=Bt(e)).length;if(!n)return W(r)?r.call(t):r;for(var o=0;o<n;o++){var i=null==t?void 0:t[e[o]];void 0===i&&(i=r,o=n),t=W(i)?i.call(t):i}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function be(t){var e=lt(t);return e._chain=!0,e}function ge(t,e,r,n,o){if(!(n instanceof e))return t.apply(r,o);var i=Lt(t.prototype),a=t.apply(i,o);return x(a)?a:i}var we=A((function(t,e){var r=we.placeholder,n=function(){for(var o=0,i=e.length,a=Array(i),u=0;u<i;u++)a[u]=e[u]===r?arguments[o++]:e[u];for(;o<arguments.length;)a.push(arguments[o++]);return ge(t,n,this,this,a)};return n}));we.placeholder=lt;const Se=we,Ee=A((function(t,e,r){if(!W(t))throw new TypeError("Bind must be called on a function");var n=A((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Oe=J(it);function Ae(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var o=n.length,i=0,a=it(t);i<a;i++){var u=t[i];if(Oe(u)&&(z(u)||X(u)))if(e>1)Ae(u,e-1,r,n),o=n.length;else for(var s=0,c=u.length;s<c;)n[o++]=u[s++];else r||(n[o++]=u)}return n}const xe=A((function(t,e){var r=(e=Ae(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=Ee(t[n],t)}return t}));function je(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return Y(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const Me=A((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),ke=Se(Me,lt,1);function Ne(t,e,r){var n,o,i,a,u=0;r||(r={});var s=function(){u=!1===r.leading?0:ne(),n=null,a=t.apply(o,i),n||(o=i=null)},c=function(){var c=ne();u||!1!==r.leading||(u=c);var l=e-(c-u);return o=this,i=arguments,l<=0||l>e?(n&&(clearTimeout(n),n=null),u=c,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(n),u=0,n=o=i=null},c}function Pe(t,e,r){var n,o,i,a,u,s=function(){var c=ne()-o;e>c?n=setTimeout(s,e-c):(n=null,r||(a=t.apply(u,i)),n||(i=u=null))},c=A((function(c){return u=this,i=c,o=ne(),n||(n=setTimeout(s,e),r&&(a=t.apply(u,i))),a}));return c.cancel=function(){clearTimeout(n),n=i=u=null},c}function Te(t,e){return Se(e,t)}function _e(t){return function(){return!t.apply(this,arguments)}}function Ie(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ce(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Fe(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const Le=Se(Fe,2);function Re(t,e,r){e=Zt(e,r);for(var n,o=ut(t),i=0,a=o.length;i<a;i++)if(e(t[n=o[i]],n,t))return n}function Ve(t){return function(e,r,n){r=Zt(r,n);for(var o=it(e),i=t>0?0:o-1;i>=0&&i<o;i+=t)if(r(e[i],i,e))return i;return-1}}const De=Ve(1),We=Ve(-1);function Be(t,e,r,n){for(var o=(r=Zt(r,n,1))(e),i=0,a=it(t);i<a;){var u=Math.floor((i+a)/2);r(t[u])<o?i=u+1:a=u}return i}function qe(t,e,r){return function(n,o,i){var a=0,u=it(n);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(r&&i&&u)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(l.call(n,a,u),Z))>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(n[i]===o)return i;return-1}}const $e=qe(1,De,Be),He=qe(-1,We);function Ue(t,e,r){var n=(Oe(t)?De:Re)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function ze(t,e){return Ue(t,zt(e))}function Ye(t,e,r){var n,o;if(e=Kt(e,r),Oe(t))for(n=0,o=t.length;n<o;n++)e(t[n],n,t);else{var i=ut(t);for(n=0,o=i.length;n<o;n++)e(t[i[n]],i[n],t)}return t}function Ke(t,e,r){e=Zt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=Array(o),a=0;a<o;a++){var u=n?n[a]:a;i[a]=e(t[u],u,t)}return i}function Xe(t){return function(e,r,n,o){var i=arguments.length>=3;return function(e,r,n,o){var i=!Oe(e)&&ut(e),a=(i||e).length,u=t>0?0:a-1;for(o||(n=e[i?i[u]:u],u+=t);u>=0&&u<a;u+=t){var s=i?i[u]:u;n=r(n,e[s],s,e)}return n}(e,Kt(r,o,4),n,i)}}const Qe=Xe(1),Ze=Xe(-1);function Ge(t,e,r){var n=[];return e=Zt(e,r),Ye(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function Je(t,e,r){return Ge(t,_e(Zt(e)),r)}function tr(t,e,r){e=Zt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(!e(t[a],a,t))return!1}return!0}function er(t,e,r){e=Zt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(e(t[a],a,t))return!0}return!1}function rr(t,e,r,n){return Oe(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=A((function(t,e,r){var n,o;return W(e)?o=e:(e=Bt(e),n=e.slice(0,-1),e=e[e.length-1]),Ke(t,(function(t){var i=o;if(!i){if(n&&n.length&&(t=qt(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)}))}));function or(t,e){return Ke(t,Yt(e))}function ir(t,e){return Ge(t,zt(e))}function ar(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n>i&&(i=n);else e=Zt(e,r),Ye(t,(function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ur(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n<i&&(i=n);else e=Zt(e,r),Ye(t,(function(t,r,n){((o=e(t,r,n))<a||o===1/0&&i===1/0)&&(i=t,a=o)}));return i}function sr(t,e,r){if(null==e||r)return Oe(t)||(t=kt(t)),t[re(t.length-1)];var n=Oe(t)?Vt(t):kt(t),o=it(n);e=Math.max(Math.min(e,o),0);for(var i=o-1,a=0;a<e;a++){var u=re(a,i),s=n[a];n[a]=n[u],n[u]=s}return n.slice(0,e)}function cr(t){return sr(t,1/0)}function lr(t,e,r){var n=0;return e=Zt(e,r),or(Ke(t,(function(t,r,o){return{value:t,index:n++,criteria:e(t,r,o)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function fr(t,e){return function(r,n,o){var i=e?[[],[]]:{};return n=Zt(n,o),Ye(r,(function(e,o){var a=n(e,o,r);t(i,e,a)})),i}}const pr=fr((function(t,e,r){Y(t,r)?t[r].push(e):t[r]=[e]})),dr=fr((function(t,e,r){t[r]=e})),hr=fr((function(t,e,r){Y(t,r)?t[r]++:t[r]=1})),yr=fr((function(t,e,r){t[r?0:1].push(e)}),!0);var mr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function vr(t){return t?z(t)?l.call(t):T(t)?t.match(mr):Oe(t)?Ke(t,Ut):kt(t):[]}function br(t){return null==t?0:Oe(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=A((function(t,e){var r={},n=e[0];if(null==t)return r;W(n)?(e.length>1&&(n=Kt(n,e[1])),e=mt(t)):(n=gr,e=Ae(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o<i;o++){var a=e[o],u=t[a];n(u,a,t)&&(r[a]=u)}return r})),Sr=A((function(t,e){var r,n=e[0];return W(n)?(n=_e(n),e.length>1&&(r=e[1])):(e=Ke(Ae(e,!1,!1),String),n=function(t,r){return!rr(e,r)}),wr(t,n,r)}));function Er(t,e,r){return l.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Or(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:Er(t,t.length-e)}function Ar(t,e,r){return l.call(t,null==e||r?1:e)}function xr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Ar(t,Math.max(0,t.length-e))}function jr(t){return Ge(t,Boolean)}function Mr(t,e){return Ae(t,e,!1)}const kr=A((function(t,e){return e=Ae(e,!0,!0),Ge(t,(function(t){return!rr(e,t)}))})),Nr=A((function(t,e){return kr(t,e)}));function Pr(t,e,r,n){k(e)||(n=r,r=e,e=!1),null!=r&&(r=Zt(r,n));for(var o=[],i=[],a=0,u=it(t);a<u;a++){var s=t[a],c=r?r(s,a,t):s;e&&!r?(a&&i===c||o.push(s),i=c):r?rr(i,c)||(i.push(c),o.push(s)):rr(o,s)||o.push(s)}return o}const Tr=A((function(t){return Pr(Ae(t,!0,!0))}));function _r(t){for(var e=[],r=arguments.length,n=0,o=it(t);n<o;n++){var i=t[n];if(!rr(e,i)){var a;for(a=1;a<r&&rr(arguments[a],i);a++);a===r&&e.push(i)}}return e}function Ir(t){for(var e=t&&ar(t,it).length||0,r=Array(e),n=0;n<e;n++)r[n]=or(t,n);return r}const Cr=A(Ir);function Fr(t,e){for(var r={},n=0,o=it(t);n<o;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function Lr(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),o=Array(n),i=0;i<n;i++,t+=r)o[i]=t;return o}function Rr(t,e){if(null==e||e<1)return[];for(var r=[],n=0,o=t.length;n<o;)r.push(l.call(t,n,n+=e));return r}function Vr(t,e){return t._chain?lt(e).chain():e}function Dr(t){return Ye(Tt(t),(function(e){var r=lt[e]=t[e];lt.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Vr(this,r.apply(lt,t))}})),lt}Ye(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];lt.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),Vr(this,r)}})),Ye(["concat","join","slice"],(function(t){var e=a[t];lt.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Vr(this,t)}}));const Wr=lt;var Br=Dr(n);Br._=Br;const qr=Br}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(484),r(523),r(650);r(398)})();
|
|
1
|
+
/*! P-ELEMENTS 1.2.7 - Tue Dec 03 2024 12:44:19 GMT+0100 (Midden-Europese standaardtijd) */(()=>{var t={554:function(t,e,r){var n,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){if(r.get||r.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},a.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==r.g&&null!=r.g?r.g:t},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(t){return a.SYMBOL_PREFIX+(t||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var t=a.global.Symbol.iterator;t||(t=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&a.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(t){var e=0;return a.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},a.iteratorPrototype=function(t){return a.initSymbolIterator(),(t={next:t})[a.global.Symbol.iterator]=function(){return this},t},a.array=a.array||{},a.iteratorFromArray=function(t,e){a.initSymbolIterator(),t instanceof String&&(t+="");var r=0,n={next:function(){if(r<t.length){var o=r++;return{value:e(o,t[o]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},a.polyfill=function(t,e,r,n){if(e){for(r=a.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];o in r||(r[o]={}),r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&a.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},a.polyfill("Array.prototype.keys",(function(t){return t||function(){return a.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var u=this;o=[],n=function(){function t(t){if(!V.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var r=t.length,n=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<r;i++)if(i in t){var a=t[i];e.call(n,a,i,t)&&o.push(a)}return o}function r(t){return t.reduce((function(t,e){return t.concat(V.arr(e)?r(e):e)}),[])}function n(e){return V.arr(e)?e:(V.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function o(t,e){return t.some((function(t){return t===e}))}function i(t){var e,r={};for(e in t)r[e]=t[e];return r}function a(t,e){var r,n=i(t);for(r in t)n[r]=e.hasOwnProperty(r)?e[r]:t[r];return n}function s(t,e){var r,n=i(t);for(r in e)n[r]=V.und(t[r])?e[r]:t[r];return n}function c(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,r,n){return e+e+r+r+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function l(t){function e(t,e,r){return 0>r&&(r+=1),1<r&&--r,r<1/6?t+6*(e-t)*r:.5>r?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(r[1])/360;var n=parseInt(r[2])/100,o=parseInt(r[3])/100;if(r=r[4]||1,0==n)o=n=t=o;else{var i=.5>o?o*(1+n):o+n-o*n,a=2*o-i;o=e(a,i,t+1/3),n=e(a,i,t),t=e(a,i,t-1/3)}return"rgba("+255*o+","+255*n+","+255*t+","+r+")"}function f(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function p(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function d(t,e){return V.fnc(t)?t(e.target,e.id,e.total):t}function h(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function y(t,e){return V.dom(t)&&o(R,e)?"transform":V.dom(t)&&(t.getAttribute(e)||V.svg(t)&&t[e])?"attribute":V.dom(t)&&"transform"!==e&&h(t,e)?"css":null!=t[e]?"object":void 0}function m(t,r){var n=p(r);if(n=-1<r.indexOf("scale")?1:0+n,!(t=t.style.transform))return n;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(t);)i.push(o[1]),a.push(o[2]);return t=e(a,(function(t,e){return i[e]===r})),t.length?t[0]:n}function v(t,e){switch(y(t,e)){case"transform":return m(t,e);case"css":return h(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function b(t,e){var r=/^(\*=|\+=|-=)/.exec(t);if(!r)return t;var n=f(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(r[0],"")),r[0][0]){case"+":return e+t+n;case"-":return e-t+n;case"*":return e*t+n}}function g(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function w(t){t=t.points;for(var e,r=0,n=0;n<t.numberOfItems;n++){var o=t.getItem(n);0<n&&(r+=g(e,o)),e=o}return r}function S(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return g({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return w(t);case"polygon":var e=t.points;return w(t)+g(e.getItem(e.numberOfItems-1),e.getItem(0))}}function E(t,e){function r(r){return r=void 0===r?0:r,t.el.getPointAtLength(1<=e+r?e+r:0)}var n=r(),o=r(-1),i=r(1);switch(t.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function O(t,e){var r,n=/-?\d*\.?\d+/g;if(r=V.pth(t)?t.totalLength:t,V.col(r))if(V.rgb(r)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);r=o?"rgba("+o[1]+",1)":r}else r=V.hex(r)?c(r):V.hsl(r)?l(r):void 0;else o=(o=f(r))?r.substr(0,r.length-o.length):r,r=e&&!/\s/g.test(r)?o+e:o;return{original:r+="",numbers:r.match(n)?r.match(n).map(Number):[0],strings:V.str(t)||e?r.split(n):[]}}function A(t){return e(t=t?r(V.arr(t)?t.map(n):n(t)):[],(function(t,e,r){return r.indexOf(t)===e}))}function x(t){var e=A(t);return e.map((function(t,r){return{target:t,id:r,total:e.length}}))}function j(t,e){var r=i(e);if(V.arr(t)){var o=t.length;2!==o||V.obj(t[0])?V.fnc(e.duration)||(r.duration=e.duration/o):t={value:t}}return n(t).map((function(t,r){return r=r?0:e.delay,t=V.obj(t)&&!V.pth(t)?t:{value:t},V.und(t.delay)&&(t.delay=r),t})).map((function(t){return s(t,r)}))}function M(t,e){var r,n={};for(r in t){var o=d(t[r],e);V.arr(o)&&(o=o.map((function(t){return d(t,e)})),1===o.length&&(o=o[0])),n[r]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function k(t){return V.arr(t)?D.apply(this,t):W[t]}function N(t,e){var r;return t.tweens.map((function(n){var o=(n=M(n,e)).value,i=v(e.target,t.name),a=r?r.to.original:i,u=(a=V.arr(o)?o[0]:a,b(V.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),n.from=O(a,i),n.to=O(u,i),n.start=r?r.end:t.offset,n.end=n.start+n.delay+n.duration,n.easing=k(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=V.pth(o),n.isColor=V.col(n.from.original),n.isColor&&(n.round=1),r=n}))}function P(t,n){return e(r(t.map((function(t){return n.map((function(e){var r=y(t.target,e.name);if(r){var n=N(e,t);e={type:r,property:e.name,animatable:t,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else e=void 0;return e}))}))),(function(t){return!V.und(t)}))}function T(t,e,r,n){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?n.delay:r.offset+n.delay+n.duration}function _(t){var e,r=a(F,t),n=a(L,t),o=x(t.targets),i=[],u=s(r,n);for(e in t)u.hasOwnProperty(e)||"targets"===e||i.push({name:e,offset:u.offset,tweens:j(t[e],n)});return s(r,{children:[],animatables:o,animations:t=P(o,i),duration:T("duration",t,r,n),delay:T("delay",t,r,n)})}function I(t){function r(){return window.Promise&&new Promise((function(t){return f=t}))}function n(t){return d.reversed?d.duration-t:t}function o(t){for(var r=0,n={},o=d.animations,i=o.length;r<i;){var a=o[r],u=a.animatable,s=(c=a.tweens)[p=c.length-1];p&&(s=e(c,(function(e){return t<e.end}))[0]||s);for(var c=Math.min(Math.max(t-s.start-s.delay,0),s.duration)/s.duration,l=isNaN(c)?1:s.easing(c,s.elasticity),f=(c=s.to.strings,s.round),p=[],y=void 0,m=(y=s.to.numbers.length,0);m<y;m++){var v=void 0,b=(v=s.to.numbers[m],s.from.numbers[m]);v=s.isPath?E(s.value,l*v):b+l*(v-b),f&&(s.isColor&&2<m||(v=Math.round(v*f)/f)),p.push(v)}if(s=c.length)for(y=c[0],l=0;l<s;l++)f=c[l+1],m=p[l],isNaN(m)||(y=f?y+(m+f):y+(m+" "));else y=p[0];B[a.type](u.target,a.property,y,n,u.id),a.currentValue=y,r++}if(r=Object.keys(n).length)for(o=0;o<r;o++)C||(C=h(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[C]=n[o].join(" ");d.currentTime=t,d.progress=t/d.duration*100}function i(t){d[t]&&d[t](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(t){var e=d.duration,u=d.offset,h=u+d.delay,y=d.currentTime,m=d.reversed,v=n(t);if(d.children.length){var b=d.children,g=b.length;if(v>=d.currentTime)for(var w=0;w<g;w++)b[w].seek(v);else for(;g--;)b[g].seek(v)}(v>=h||!e)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<e?o(v):(v<=u&&0!==y&&(o(0),m&&a()),(v>=e&&y!==e||!e)&&(o(e),m||a())),i("update"),t>=e&&(d.remaining?(c=s,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=r()))),l=0)}t=void 0===t?{}:t;var s,c,l=0,f=null,p=r(),d=_(t);return d.reset=function(){var t=d.direction,e=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===t,d.remaining="alternate"===t&&1===e?2:e,o(0),t=d.children.length;t--;)d.children[t].reset()},d.tick=function(t){s=t,c||(c=s),u((l+s-c)*I.speed)},d.seek=function(t){u(n(t))},d.pause=function(){var t=q.indexOf(d);-1<t&&q.splice(t,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,l=n(d.currentTime),q.push(d),$||H())},d.reverse=function(){d.reversed=!d.reversed,c=0,l=n(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var C,F={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},L={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(" "),V={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return V.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||V.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return V.hex(t)||V.rgb(t)||V.hsl(t)}},D=function(){function t(t,e,r){return(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t}return function(e,r,n,o){if(0<=e&&1>=e&&0<=n&&1>=n){var i=new Float32Array(11);if(e!==r||n!==o)for(var a=0;11>a;++a)i[a]=t(.1*a,e,n);return function(a){if(e===r&&n===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,s=1;10!==s&&i[s]<=a;++s)u+=.1;--s,s=u+(a-i[s])/(i[s+1]-i[s])*.1;var c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*n+3*e)*s*s+2*(3*n-6*e)*s+3*e);++u){var l=t(s,e,n)-a;s-=l/c}a=s}else if(0===c)a=s;else{s=u,u+=.1;var f=0;do{0<(c=t(l=s+(u-s)/2,e,n)-a)?u=l:s=l}while(1e-7<Math.abs(c)&&10>++f);a=l}return t(a,r,o)}}}}(),W=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,r="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={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],t],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(e,r){return 1-t(1-e,r)}],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(e,r){return.5>e?t(2*e,r)/2:1-t(-2*e+2,r)/2}]},o={linear:D(.25,.25,.75,.75)},i={};for(e in n)i.type=e,n[i.type].forEach(function(t){return function(e,n){o["ease"+t.type+r[n]]=V.fnc(e)?e:D.apply(u,e)}}(i)),i={type:i.type};return o}(),B={css:function(t,e,r){return t.style[e]=r},attribute:function(t,e,r){return t.setAttribute(e,r)},object:function(t,e,r){return t[e]=r},transform:function(t,e,r,n,o){n[o]||(n[o]=[]),n[o].push(e+"("+r+")")}},q=[],$=0,H=function(){function t(){$=requestAnimationFrame(e)}function e(e){var r=q.length;if(r){for(var n=0;n<r;)q[n]&&q[n].tick(e),n++;t()}else cancelAnimationFrame($),$=0}return t}();return I.version="2.2.0",I.speed=1,I.running=q,I.remove=function(t){t=A(t);for(var e=q.length;e--;)for(var r=q[e],n=r.animations,i=n.length;i--;)o(t,n[i].animatable.target)&&(n.splice(i,1),n.length||r.pause())},I.getValue=v,I.path=function(e,r){var n=V.str(e)?t(e)[0]:e,o=r||100;return function(t){return{el:n,property:t,totalLength:S(n)*(o/100)}}},I.setDashoffset=function(t){var e=S(t);return t.setAttribute("stroke-dasharray",e),e},I.bezier=D,I.easings=W,I.timeline=function(t){var e=I(t);return e.pause(),e.duration=0,e.add=function(r){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),n(r).forEach((function(r){var n=s(r,a(L,t||{}));n.targets=n.targets||t.targets,r=e.duration;var o=n.offset;n.autoplay=!1,n.direction=e.direction,n.offset=V.und(o)?r:b(o,r),e.began=!0,e.completed=!0,e.seek(n.offset),(n=I(n)).began=!0,n.completed=!0,n.duration>r&&(e.duration=n.duration),e.children.push(n)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},I.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},I},void 0===(i="function"==typeof n?n.apply(e,o):n)||(t.exports=i)},398:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],s=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var i=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,a=new Map;function u(t){var e=0,r=t.replace(i,(function(t,r,o,i){if(i){e++;var u=function(t){return null==t?void 0:t.split(";").map((function(t){var e=n(t.split(":",2),2),r=e[0],o=e[1];return{key:r.trim(),value:o?o.trim():""}})).filter((function(t){return t.key&&""!==t.key&&""!==t.value}))}(i),s="",c=[];return u.forEach((function(t){c.push(t.key),s+="".concat(r,"_-_").concat(t.key,": ").concat(t.value,";")+"\n"})),a.set(r,c),t.replace(r,"".concat(s,"\n ").concat(r))}return t}));return e>0?r:null}function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}function f(t,e,r){return e=y(e),function(t,e){if(e&&("object"==s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,d()?Reflect.construct(e,r||[],y(t).constructor):e.apply(t,r))}function p(t){var e="function"==typeof Map?new Map:void 0;return p=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(d())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&h(o,r.prototype),o}(t,arguments,y(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)},p(t)}function d(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(d=function(){return!!t})()}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}(e,t),r=e,(n=[{key:"connectedCallback",value:function(){var t=this,e=this.getAttribute("href");fetch(e).then((function(e){e.text().then((function(e){var r=u(e);if(r){var n=document.createElement("link");n.rel="stylesheet",n.href=URL.createObjectURL(new Blob([r],{type:"text/css"})),t.parentElement.replaceWith(n),window.dispatchEvent(new CustomEvent("updatecssapply"))}}))}))}}])&&c(r.prototype,n),o&&c(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(p(HTMLLinkElement));m.cssApplyVars=a,customElements.whenDefined("custom-style").then((function(){document.body.parentElement.classList.add("custom-style-defined")})),customElements.define("custom-style",m,{extends:"link"});var v=r(523),b=r(554);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}var w=function(t){return function(e,r){var n=e.constructor,o=Symbol(r+"_PropertyDecorator");n&&!n.observedAttributes&&(n.observedAttributes=[]),n&&!n.__properties__&&(n.__properties__=[]),n.__properties__.push(r),t.attribute&&!t.readonly&&-1===n.observedAttributes.indexOf(t.attribute)&&n.observedAttributes.push(t.attribute),Object.defineProperty(e,"__property_".concat(r,"__"),{configurable:!0,enumerable:!0,get:function(){return t}}),!0!==t.readonly?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(e){var n=this,i=this[o],a=(null==this?void 0:this.shouldUpdate)&&!this.shouldUpdate(r,i,e),u=this.isCustomElementController?this.hostElement:this,s=t.converter?t.converter.toAttribute(e):function(t,e){switch(t){case"string":case"number":return e.toString();case"object":return JSON.stringify(e)}}(t.type,e);a?(this[o]=i,requestAnimationFrame((function(){u.setAttribute(t.attribute,i)}))):this[o]=e;var c=function(){n[o]!==i&&((null==n?void 0:n.renderNow)&&n.renderNow(),(null==n?void 0:n.updated)&&n.updated(r,i,n[o]))};if(t.reflect&&t.attribute)if("boolean"!==t.type){if(!e)return u.removeAttribute(t.attribute),void c();if(u.getAttribute(t.attribute)===s)return void c();null!==s?u.setAttribute(t.attribute,s):u.removeAttribute(t.attribute)}else e&&!u.hasAttribute(t.attribute)?u.setAttribute(t.attribute,""):!e&&u.hasAttribute(t.attribute)&&u.removeAttribute(t.attribute),c();c(),(null==this?void 0:this.renderNow)&&this.renderNow()}}):Object.defineProperty(e,r,{get:function(){return this[o]},set:function(t){this[o]=t,null==this||this.renderNow(),delete this[r],Object.defineProperty(this,r,{configurable:!0,enumerable:!0,get:function(){return this[o]},set:function(){throw new Error("Cannot set read-only property")}}),Object.seal(this[o])}})}},S=w({});function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function O(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return A(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}(t)||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 A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function M(t,e,r){return(e=N(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,N(n.key),n)}}function N(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:e+""}function P(t,e){if(e&&("object"==E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function T(t){var e="function"==typeof Map?new Map:void 0;return T=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return function(t,e,r){if(_())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var o=new(t.bind.apply(t,n));return r&&I(o,r.prototype),o}(t,arguments,C(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),I(r,t)},T(t)}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}function I(t,e){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},I(t,e)}function C(t){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},C(t)}function F(t,e,r){L(t,e),e.set(t,r)}function L(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(t,e,r){return r(W(t,e))}function V(t,e,r){return t.set(W(t,e),r),r}function D(t,e){return t.get(W(t,e))}function W(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var B=function(t,e,r){var n=r.value;if("function"!=typeof n)throw new Error("@Bind decorator can only be applied to methods not: ".concat(g(n)));var o=!1;return{configurable:!0,get:function(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof n)return n;var r=n.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){n=t,delete this[e]}}),o=!1,r},set:function(t){n=t}}},q=function(t){return function(e){customElements.get(t.tagName)?console.warn("Custom element with tag name ".concat(t.tagName," already exists.")):customElements.define(t.tagName,e,t.options)}},$=S,H=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(r,n){Object.defineProperty(r,n,{get:function(){return e?this.shadowRoot.querySelector(t):this.querySelector(t)}})}},U=w,z=[],Y=new WeakMap,K=new WeakMap,X=new WeakMap,Q=new WeakMap,Z=new WeakMap,G=new WeakMap,J=new WeakMap,tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,ot=new WeakMap,it=new WeakSet,at=new WeakMap,ut=function(t){function e(t){var r,n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=this,o=C(o=e),function(t,e){L(t,e),e.add(t)}(r=P(n,_()?Reflect.construct(o,i||[],C(n).constructor):o.apply(n,i)),it),F(r,Y,void 0),F(r,K,void 0),F(r,X,void 0),F(r,Q,void 0),F(r,Z,void 0),F(r,G,void 0),F(r,J,!1),F(r,tt,void 0),F(r,et,void 0),F(r,rt,void 0),F(r,nt,[]),F(r,ot,!1),F(r,at,(function(){var t=r.constructor.__properties__;V(Y,r,[]),t&&V(Y,r,t.map((function(t){return j(j({},r["__property_".concat(t,"__")]),{},{name:t})})))})),W(it,r,ct).call(r),W(it,r,st).call(r),P(r,t)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&I(t,e)}(e,t),r=e,n=[{key:"addController",value:function(t){D(nt,this).push(t),D(ot,this)&&t.connected&&t.connected()}},{key:"internals",get:function(){return D(rt,this)},set:function(t){V(rt,this,t)}},{key:"addStylesheetToRootNode",value:function(t,e){if(R(it,this,lt)){if(D(Z,this)||V(Z,this,new CSSStyleSheet),t=W(it,this,ft).call(this),D(Z,this).replaceSync(t),D(J,this))return;if(e instanceof Document){var r=W(it,this,dt).call(this,t);-1===z.indexOf(r)&&(document.adoptedStyleSheets=[].concat(O(document.adoptedStyleSheets),[D(Z,this)]),V(J,this,!0),z.push(r))}else this.shadowRoot.adoptedStyleSheets=[D(Z,this)],V(J,this,!0)}else if(V(G,this,document.createElement("link")),D(G,this).rel="stylesheet",t=W(it,this,ft).call(this),D(G,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})),e instanceof Document){var n=W(it,this,dt).call(this,t);-1===z.indexOf(n)&&(document.head.appendChild(D(G,this)),z.push(n))}else this.shadowRoot.appendChild(D(G,this))}},{key:"templateFromString",value:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=document.createElement("template");n.innerHTML=t;var o=document.createDocumentFragment();o.appendChild(n.content);var i=o.querySelector("style");return r&&(V(tt,this,!0),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:D(et,this)})),W(it,this,pt).call(this,i.textContent),i.remove(),window.addEventListener("updatecssapply",(function(){W(it,e,ft).call(e)})),o}},{key:"adoptStyle",value:function(t,e){this.addStylesheetToRootNode(e,t)}},{key:"createProjector",value:function(t,e){var r=this;return new Promise((function(n,o){var i,a=D(X,r)?D(X,r):"append";requestAnimationFrame((function(){(i=window.Maquette.createProjector())[a](t,e),V(K,r,i),n(i),r.dispatchEvent(new CustomEvent("firstRender",{}))}))}))}},{key:"renderNow",value:function(){D(K,this)&&D(K,this).renderNow()}},{key:"connectedCallback",value:function(){V(ot,this,!0),D(nt,this).forEach((function(t){null==t||t.connected()}))}},{key:"disconnectedCallback",value:function(){V(ot,this,!1),D(nt,this).forEach((function(t){null==t||t.disconnected()}))}},{key:"attributeChangedCallback",value:function(t,e,r){var n=D(Y,this).find((function(e){return e.attribute===t}));if(n)if(n.converter)this[n.name]=n.converter.fromAttribute(r);else{var o=n.type;"string"===o?this[n.name]=r:"number"===o?this[n.name]=parseFloat(r):"boolean"===o?this[n.name]=null!==r:"object"===o&&(this[n.name]=JSON.parse(r))}}}],n&&k(r.prototype,n),o&&k(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(T(HTMLElement));function st(){"function"==typeof this.init&&(this.init(),D(nt,this).forEach((function(t){null==t||t.init()})))}function ct(){var t=this;D(at,this).call(this);var e=this.constructor.projectorMode;V(X,this,e||"append");var r=this.constructor.isFormAssociated,n=this.constructor.delegatesFocus;V(et,this,n),r&&V(rt,this,this.attachInternals());var o=this.constructor.style;if(o){V(tt,this,!0),V(X,this,"replace"),this.shadowRoot||this.attachShadow({mode:"open",delegatesFocus:D(et,this)}),W(it,this,pt).call(this,o);var i=document.createElement("div");this.shadowRoot.appendChild(i),requestAnimationFrame((function(){t.createProjector(i,t.render)})),window.addEventListener("updatecssapply",(function(){W(it,t,ft).call(t)}))}}function lt(t){return Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype}function ft(){var t=function(t){for(var e,r=customElements.get("custom-style").cssApplyVars,n=t,o=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,i=function(){var t=e[0],o=e[1];if(r.has(o)){var i="@apply"+t.split("@apply",2)[1],a=r.get(o).map((function(t){return";".concat(t,": var(").concat(o,"_-_").concat(t,");")})).join("");n=n.replace(i,a)}};e=o.exec(n);)i();return n}(D(Q,this));return D(Q,this)!==t&&(V(Q,this,t),R(it,this,lt)&&D(Z,this)?D(Z,this).replaceSync(t):R(it,this,lt)||(D(G,this)&&URL.revokeObjectURL(D(G,this).href),D(G,this).href=URL.createObjectURL(new Blob([t],{type:"text/css"})))),t}function pt(t){V(Q,this,t),D(tt,this)&&this.shadowRoot?this.addStylesheetToRootNode(t,this.shadowRoot):D(tt,this)||this.addStylesheetToRootNode(t,document)}function dt(t){for(var e=0,r=0;e<t.length;e++)r=Math.imul(31,r)+t.charCodeAt(e)|0;return r}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}var yt="http://www.w3.org/",mt=yt+"2000/svg",vt=yt+"1999/xlink",bt=[],gt=[],wt=!1,St=function(t){var e;(t.children||[]).forEach(St),null!=t&&null!==(e=t.properties)&&void 0!==e&&e.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},Et=function(t,e){return t.vnodeSelector===e.vnodeSelector&&(t.properties&&e.properties?t.properties.key===e.properties.key&&t.properties.bind===e.properties.bind:!t.properties&&!e.properties)},Ot=function(t){if("string"!=typeof t)throw new Error("Style values must be strings")},At=function(t,e,r){if(""!==e.vnodeSelector)for(var n=r;n<t.length;n++)if(Et(t[n],e))return n;return-1},xt=function(t,e,r,n){var o=t[e];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<t.length;a++)if(a!==e){var u=t[a];if(Et(u,o))throw"added"===n?new Error(r.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(r.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},jt=function(t,e){if(t.properties){var r=t.properties.enterAnimation;r&&("function"==typeof r?r(t.domNode,t.properties):e.enter(t.domNode,t.properties,r))}},Mt=function(t,e){var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),e&&Object.keys(e).forEach((function(t){r[t]=e[t]})),r},kt=function(t,e,r){if(function(t,e,r){if(e)for(var n=0;n<e.length;n++)Pt(e[n],t,void 0,r)}(t,e.children,r),e.text&&(t.textContent=e.text),e.properties&&e.properties.eventListeners){if(!Array.isArray(e.properties.eventListeners))throw new Error("eventListeners value must be an array");e.properties.eventListeners.forEach((function(e){t.addEventListener(e[0],e[1],e[2])}))}!function(t,e,r){if(e)for(var n=r.eventHandlerInterceptor,o=Object.keys(e),i=o.length,a=function(){var i,a=o[u],s=e[a];if("className"===a)throw new Error('Property "className" is not supported, use "class".');if("class"===a)!function(t,e,r){e&&e.split(" ").forEach((function(e){e&&t.classList.toggle(e,r)}))}(t,s,!0);else if("classes"===a)for(var c=Object.keys(s),l=c.length,f=0;f<l;f++){var p=c[f];s[p]&&t.classList.add(p)}else if("styles"===a)for(var d=Object.keys(s),h=d.length,y=0;y<h;y++){var m=d[y],v=s[m];v&&(Ot(v),r.styleApplyer(t,m,v))}else if("key"!==a&&null!=s){var b=ht(s);"function"===b?(0===a.lastIndexOf("on",0)&&(n&&(s=n(a,s,t,e)),"oninput"===a&&(i=s,s=function(t){i.apply(this,[t]),t.target["oninput-value"]=t.target.value})),t[a]=s):r.namespace===mt?"href"===a?t.setAttributeNS(vt,a,s):t.setAttribute(a,s):"string"===b&&"value"!==a&&"innerHTML"!==a?t.setAttribute(a,s):t[a]=s}},u=0;u<i;u++)a()}(t,e.properties,r),e.properties&&e.properties.afterCreate&&e.properties.afterCreate.apply(e.properties.bind||e.properties,[t,r,e.vnodeSelector,e.properties,e.children])},Nt=function(t,e){return{update:function(r){if(t.vnodeSelector!==r.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)");Ft(t,r,e),t=r},domNode:t.domNode}},Pt=function(t,e,r,n){var o,i,a,u,s,c=0,l=t.vnodeSelector,f=e.ownerDocument;if(""===l)o=t.domNode=f.createTextNode(t.text),void 0!==r?e.insertBefore(o,r):e.appendChild(o);else{var p=function(){if(a=l.charAt(i),i===l.length||"."===a||"#"===a){if(u=l.charAt(c-1),s=l.slice(c,i),"."===u)o.classList.add(s);else if("#"===u)o.id=s;else{if("svg"===s&&(n=Mt(n,{namespace:mt})),void 0!==n.namespace)o=t.domNode=f.createElementNS(n.namespace,s);else{var p;if(t.properties&&t.properties.is){var d=document.createElement("div");d.style.display="none",document.body.appendChild(d),d.innerHTML="<".concat(s,' is="').concat(t.properties.is,'"></').concat(s,">"),setTimeout((function(){document.body.removeChild(d)}),10),p=f.createElement(s,{is:t.properties.is})}else p=f.createElement(s);o=t.domNode=t.domNode||p,"input"===s&&t.properties&&void 0!==t.properties.type&&o.setAttribute("type",t.properties.type)}o&&(void 0!==r?e.insertBefore(o,r):o.parentNode!==e&&e.appendChild(o))}c=i+1}};for(i=0;i<=l.length;++i)p();kt(o,t,n)}},Tt=function(t,e){var r=t.domNode;if(t.properties){t.properties.eventListeners&&Array.isArray(t.properties.eventListeners)&&t.properties.eventListeners.forEach((function(t){r.removeEventListener(t[0],t[1])}));var n=t.properties.exitAnimation;if(n){r.style.pointerEvents="none";var o=function(){r.parentNode&&(r.parentNode.removeChild(r),_t(t))};return"function"==typeof n?void n(r,o,t.properties):void e.exit(t.domNode,t.properties,n,o)}}r.parentNode&&(r.parentNode.removeChild(r),_t(t))},_t=function(t){gt.push(t),wt||(wt=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(It,{timeout:16}):setTimeout(It,16))},It=function(){wt=!1,gt.forEach(St),gt.length=0},Ct=function(t,e,r,n,o){if(r===n)return!1;n=n||bt;for(var i,a=(r=r||bt).length,u=n.length,s=o.transitions,c=0,l=0,f=!1;l<u;){var p=c<a?r[c]:void 0,d=n[l];if(void 0!==p&&Et(p,d))f=Ft(p,d,o)||f,c++;else{var h=At(r,d,c+1);if(h>=0){for(i=c;i<h;i++)Tt(r[i],s),xt(r,i,t,"removed");f=Ft(r[h],d,o)||f,c=h+1}else Pt(d,e,c<a?r[c].domNode:void 0,o),jt(d,s),xt(n,l,t,"added")}l++}if(a>c)for(i=c;i<a;i++)Tt(r[i],s),xt(r,i,t,"removed");return f},Ft=function(t,e,r){var n=t.domNode,o=!1;if(t===e)return!1;var i=!1;if(""===e.vnodeSelector){if(e.text!==t.text){var a=n.ownerDocument.createTextNode(e.text);return n.parentNode.replaceChild(a,n),e.domNode=a,o=!0}}else 0===e.vnodeSelector.lastIndexOf("svg",0)&&(r=Mt(r,{namespace:mt})),t.text!==e.text&&(i=!0,void 0===e.text?n.removeChild(n.firstChild):n.textContent=e.text),i=Ct(e,n,t.children,e.children,r)||i,i=Lt(n,t.properties,e.properties,r)||i,e.properties&&e.properties.afterUpdate&&e.properties.afterUpdate.apply(e.properties.bind||e.properties,[n,r,e.vnodeSelector,e.properties,e.children]);return i&&e.properties&&e.properties.updateAnimation&&e.properties.updateAnimation(n,e.properties,t.properties),e.domNode=t.domNode,o},Lt=function(t,e,r,n){if(r){for(var o=!1,i=Object.keys(r),a=i.length,u=0;u<a;u++){var s=i[u],c=r[s],l=e[s];if("class"===s){if(l!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===s)for(var f=t.classList,p=Object.keys(c),d=p.length,h=0;h<d;h++){var y=p[h],m=!!c[y];m!==!!l[y]&&(o=!0,m?f.add(y):f.remove(y))}else if("styles"===s)for(var v=Object.keys(c),b=v.length,g=0;g<b;g++){var w=v[g],S=c[w];S!==l[w]&&(o=!0,S?(Ot(S),n.styleApplyer(t,w,S)):n.styleApplyer(t,w,""))}else if(c||"string"!=typeof l||(c=""),"value"===s){var E=t[s];E!==c&&(t["oninput-value"]?E===t["oninput-value"]:c!==l)&&(t[s]=c,t["oninput-value"]=void 0),c!==l&&(o=!0)}else if(c!==l){var O=ht(c);if("function"===O)throw new Error("Functions may not be updated on subsequent renders (property: "+s+"). Hint: declare event handler functions outside the render() function.");"string"===O&&"innerHTML"!==s?n.namespace===mt&&"href"===s?t.setAttributeNS(vt,s,c):"role"===s&&""===c?t.removeAttribute(s):t.setAttribute(s,c):t[s]!==c&&(t[s]=c),o=!0}}return o}},Rt=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},Vt={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(t,e,r){t.style[e]=r},transitions:{enter:Rt,exit:Rt}},Dt=function(t){return Mt(Vt,t)},Wt={create:function(t,e){return e=Dt(e),Pt(t,document.createElement("div"),void 0,e),Nt(t,e)},append:function(t,e,r){return r=Dt(r),Pt(e,t,void 0,r),Nt(e,r)},insertBefore:function(t,e,r){return r=Dt(r),Pt(e,t.parentNode,t,r),Nt(e,r)},merge:function(t,e,r){return r=Dt(r),e.domNode=t,kt(t,e,r),Nt(e,r)},replace:function(t,e,r){return r=Dt(r),Pt(e,t.parentNode,t,r),t.parentNode.removeChild(t),Nt(e,r)}};function Bt(t){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bt(t)}var qt=function(t){return{vnodeSelector:"",properties:void 0,children:void 0,text:t.toString(),domNode:null}},$t=function(t,e,r){for(var n=0,o=e.length;n<o;n++){var i=e[n];Array.isArray(i)?$t(t,i,r):null!=i&&(i.hasOwnProperty("vnodeSelector")||(i=qt(i)),r.push(i))}},Ht=function(t){var e=arguments[1];if("string"!=typeof t)throw new Error;var r,n,o=1;!e||e.hasOwnProperty("vnodeSelector")||Array.isArray(e)||"object"!==Bt(e)?e=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?r=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(r=a[0])}if(void 0===r)for(n=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?$t(t,u,n):u.hasOwnProperty("vnodeSelector")?n.push(u):n.push(qt(u)))}return{vnodeSelector:t,properties:e,children:n,text:""===r?void 0:r,domNode:null}},Ut={createCache:function(){var t,e;return{invalidate:function(){e=void 0,t=void 0},result:function(r,n){if(t)for(var o=0;o<r.length;o++)t[o]!==r[o]&&(e=void 0);return e||(e=n(),t=r),e}}},createMapping:function(t,e,r){var n=[],o=[];return{results:o,map:function(i){for(var a=i.map(t),u=o.slice(),s=0,c=0;c<i.length;c++){var l=i[c],f=a[c];if(f===n[s])o[c]=u[s],r(l,u[s],c),s++;else{for(var p=!1,d=1;d<n.length+1;d++){var h=(s+d)%n.length;if(n[h]===f){o[c]=u[h],r(i[c],u[h],c),s=h+1,p=!0;break}}p||(o[c]=e(l,c))}}o.length=i.length,n=a}}},createProjector:function(t){var e,r=Dt(t);r.eventHandlerInterceptor=function(t,r,n,o){return function(){return e.scheduleRender(),r.apply(o.bind||this,arguments)}};var n,o=!0,i=!1,a=[],u=[],s=function(){if(n=void 0,o){o=!1;for(var t=0;t<a.length;t++){var e=u[t]();a[t].update(e)}o=!0}};return e={renderNow:s,scheduleRender:function(){n||i||(n=requestAnimationFrame(s))},stop:function(){n&&(cancelAnimationFrame(n),n=void 0),i=!0},resume:function(){i=!1,o=!0,e.scheduleRender()},append:function(t,e){a.push(Wt.append(t,e(),r)),u.push(e)},insertBefore:function(t,e){a.push(Wt.insertBefore(t,e(),r)),u.push(e)},merge:function(t,e){a.push(Wt.merge(t,e(),r)),u.push(e)},replace:function(t,e){a.push(Wt.replace(t,e(),r)),u.push(e)},detach:function(t){for(var e=0;e<u.length;e++)if(u[e]===t)return u.splice(e,1),a.splice(e,1)[0];throw new Error("renderMaquetteFunction was not found")}}},dom:Wt,h:Ht};!function(t){t._=v,t.Maquette=Ut,t.h=Ht,t.anime=b,t.CustomElement=ut,t.CustomElementConfig=q,t.PropertyRenderOnSet=$,t.RenderOnSet=$,t.Property=U,t.Query=H,t.Bind=B}(window)},484:()=>{"use strict";const{keys:t}=Object,e=!0,r=!1,n="querySelectorAll",o="querySelectorAll",{document:i,Element:a,MutationObserver:u,Set:s,WeakMap:c}=self,l=t=>o in t,{filter:f}=[],p=t=>{const p=new c,d=(e,r)=>{let n;if(r)for(let o,i=(t=>t.matches||t.webkitMatchesSelector||t.msMatchesSelector)(e),a=0,{length:u}=y;a<u;a++)i.call(e,o=y[a])&&(p.has(e)||p.set(e,new s),n=p.get(e),n.has(o)||(n.add(o),t.handle(e,r,o)));else p.has(e)&&(n=p.get(e),p.delete(e),n.forEach((n=>{t.handle(e,r,n)})))},h=(t,e=!0)=>{for(let r=0,{length:n}=t;r<n;r++)d(t[r],e)},{query:y}=t,m=t.root||i,v=((t,o=document,i=MutationObserver,a=["*"])=>{const u=(r,o,i,a,s,c)=>{for(const l of r)(c||n in l)&&(s?i.has(l)||(i.add(l),a.delete(l),t(l,s)):a.has(l)||(a.add(l),i.delete(l),t(l,s)),c||u(l[n](o),o,i,a,s,e))},s=new i((t=>{if(a.length){const n=a.join(","),o=new Set,i=new Set;for(const{addedNodes:a,removedNodes:s}of t)u(s,n,o,i,r,r),u(a,n,o,i,e,r)}})),{observe:c}=s;return(s.observe=t=>c.call(s,t,{subtree:e,childList:e}))(o),s})(d,m,u,y),{attachShadow:b}=a.prototype;return b&&(a.prototype.attachShadow=function(t){const e=b.call(this,t);return v.observe(e),e}),y.length&&h(m[o](y)),{drop:t=>{for(let e=0,{length:r}=t;e<r;e++)p.delete(t[e])},flush:()=>{const t=v.takeRecords();for(let e=0,{length:r}=t;e<r;e++)h(f.call(t[e].removedNodes,l),!1),h(f.call(t[e].addedNodes,l),!0)},observer:v,parse:h}},{customElements:d,document:h,Element:y,MutationObserver:m,Object:v,Promise:b,Map:g,Set:w,WeakMap:S,Reflect:E}=self,{createElement:O}=h,{define:A,get:x,upgrade:j}=d,{construct:M}=E||{construct(t){return t.call(this)}},{defineProperty:k,getOwnPropertyNames:N,setPrototypeOf:P}=v,T=new S,_=new w,I=new g,C=new g,F=new g,L=new g,R=[],V=[],D=t=>L.get(t)||x.call(d,t),{parse:W}=p({query:V,handle:(e,r,n)=>{const o=F.get(n);if(r&&!o.isPrototypeOf(e)){const r=(e=>{const r=t(e),n=[],o=new Set,{length:i}=r;for(let t=0;t<i;t++){n[t]=e[r[t]];try{delete e[r[t]]}catch(e){o.add(t)}}return()=>{for(let t=0;t<i;t++)o.has(t)||(e[r[t]]=n[t])}})(e);U=P(e,o);try{new o.constructor}finally{U=null,r()}}const i=(r?"":"dis")+"connectedCallback";i in o&&e[i]()}}),{parse:B}=p({query:R,handle(t,e){T.has(t)&&(e?_.add(t):_.delete(t),V.length&&z.call(V,t))}}),{attachShadow:q}=y.prototype;q&&(y.prototype.attachShadow=function(t){const e=q.call(this,t);return T.set(this,e),e});const $=t=>{if(!C.has(t)){let e,r=new b((t=>{e=t}));C.set(t,{$:r,_:e})}return C.get(t).$},H=((t,e)=>{const r=t=>{for(let e=0,{length:r}=t;e<r;e++)n(t[e])},n=({target:t,attributeName:e,oldValue:r})=>{t.attributeChangedCallback(e,r,t.getAttribute(e))};return(o,i)=>{const{observedAttributes:a}=o.constructor;return a&&t(i).then((()=>{new e(r).observe(o,{attributes:!0,attributeOldValue:!0,attributeFilter:a});for(let t=0,{length:e}=a;t<e;t++)o.hasAttribute(a[t])&&n({target:o,attributeName:a[t],oldValue:null})})),o}})($,m);let U=null;function z(t){const e=T.get(t);W(e.querySelectorAll(this),t.isConnected)}N(self).filter((t=>/^HTML.*Element$/.test(t))).forEach((t=>{const e=self[t];function r(){const{constructor:t}=this;if(!I.has(t))throw new TypeError("Illegal constructor");const{is:r,tag:n}=I.get(t);if(r){if(U)return H(U,r);const e=O.call(h,n);return e.setAttribute("is",r),H(P(e,t.prototype),r)}return M.call(this,e,[],t)}P(r,e),k(r.prototype=e.prototype,"constructor",{value:r}),k(self,t,{value:r})})),h.createElement=function(t,e){const r=e&&e.is;if(r){const e=L.get(r);if(e&&I.get(e).tag===t)return new e}const n=O.call(h,t);return r&&n.setAttribute("is",r),n},d.get=D,d.whenDefined=$,d.upgrade=function(t){const e=t.getAttribute("is");if(e){const r=L.get(e);if(r)return void H(P(t,r.prototype),e)}j.call(d,t)},d.define=function(t,e,r){if(D(t))throw new Error(`'${t}' has already been defined as a custom element`);let n;const o=r&&r.extends;I.set(e,o?{is:t,tag:o}:{is:"",tag:t}),o?(n=`${o}[is="${t}"]`,F.set(n,e.prototype),L.set(t,e),V.push(n)):(A.apply(d,arguments),R.push(n=t)),$(t).then((()=>{o?(W(h.querySelectorAll(n)),_.forEach(z,[n])):B(h.querySelectorAll(n))})),C.get(t)._(e)}},650:()=>{"use strict";!function(t){const e=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,f=new WeakMap,p=new WeakMap,d=new WeakMap,h=new WeakMap,y=new WeakMap,m={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function v(t){const e=o.get(t),{form:r}=e;_(t,r,e),M(t,e.labels)}const b=(t,e=!1)=>{const r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>o.has(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let n=r.nextNode();const i=!e||t.disabled;for(;n;)n.formDisabledCallback&&i&&A(n,t.disabled),n=r.nextNode()},g={attributes:!0,attributeFilter:["disabled","name"]},w=R()?new MutationObserver((t=>{for(const e of t){const t=e.target;if("disabled"===e.attributeName&&(t.constructor.formAssociated?A(t,t.hasAttribute("disabled")):"fieldset"===t.localName&&b(t)),"name"===e.attributeName&&t.constructor.formAssociated){const e=o.get(t),r=c.get(t);e.setFormValue(r)}}})):{};function S(t){t.forEach((t=>{const{addedNodes:e,removedNodes:r}=t,i=Array.from(e),a=Array.from(r);i.forEach((t=>{var e;if(o.has(t)&&t.constructor.formAssociated&&v(t),l.has(t)){const e=l.get(t);Object.keys(m).filter((t=>null!==e[t])).forEach((r=>{t.setAttribute(m[r],e[r])})),l.delete(t)}if(y.has(t)){const e=y.get(t);t.setAttribute("internals-valid",e.validity.valid.toString()),t.setAttribute("internals-invalid",(!e.validity.valid).toString()),t.setAttribute("aria-invalid",(!e.validity.valid).toString()),y.delete(t)}if("form"===t.localName){const e=s.get(t),r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>!o.has(t)||!t.constructor.formAssociated||e&&e.has(t)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let n=r.nextNode();for(;n;)v(n),n=r.nextNode()}"fieldset"===t.localName&&(null===(e=w.observe)||void 0===e||e.call(w,t,g),b(t,!0))})),a.forEach((t=>{const e=o.get(t);if(e&&n.get(e)&&x(e),u.has(t)){u.get(t).disconnect()}}))}))}function E(t){t.forEach((t=>{const{removedNodes:e}=t;e.forEach((e=>{const r=d.get(t.target);o.has(e)&&L(e),r.disconnect()}))}))}!R()||new MutationObserver(S);const O={childList:!0,subtree:!0},A=(t,e)=>{t.toggleAttribute("internals-disabled",e),e?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled"),t.formDisabledCallback&&t.formDisabledCallback.apply(t,[e])},x=t=>{n.get(t).forEach((t=>{t.remove()})),n.set(t,[])},j=(t,e)=>{const r=document.createElement("input");return r.type="hidden",r.name=t.getAttribute("name"),t.after(r),n.get(e).push(r),r},M=(t,e)=>{if(e.length){Array.from(e).forEach((e=>e.addEventListener("click",t.click.bind(t))));let r=e[0].id;e[0].id||(r=`${e[0].htmlFor}_Label`,e[0].id=r),t.setAttribute("aria-labelledby",r)}},k=t=>{const e=Array.from(t.elements).filter((t=>!t.tagName.includes("-")&&t.validity)).map((t=>t.validity.valid)),r=s.get(t)||[],n=[...e,...Array.from(r).filter((t=>t.isConnected)).map((t=>o.get(t).validity.valid))].includes(!1);t.toggleAttribute("internals-invalid",n),t.toggleAttribute("internals-valid",!n)},N=t=>{k(I(t.target))},P=t=>{k(I(t.target))},T=t=>{const e=s.get(t.target);e&&e.size&&e.forEach((t=>{t.constructor.formAssociated&&t.formResetCallback&&t.formResetCallback.apply(t)}))},_=(t,e,r)=>{if(e){const n=s.get(e);if(n)n.add(t);else{const r=new Set;r.add(t),s.set(e,r),(t=>{const e=["button[type=submit]","input[type=submit]","button:not([type])"].map((t=>`${t}:not([disabled])`)).map((e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`)).join(",");t.addEventListener("click",(r=>{if(r.target.closest(e)){const e=s.get(t);if(t.noValidate)return;e.size&&Array.from(e).reverse().map((t=>o.get(t).reportValidity())).includes(!1)&&r.preventDefault()}}))})(e),e.addEventListener("reset",T),e.addEventListener("input",N),e.addEventListener("change",P)}a.set(e,{ref:t,internals:r}),t.constructor.formAssociated&&t.formAssociatedCallback&&setTimeout((()=>{t.formAssociatedCallback.apply(t,[e])}),0),k(e)}},I=t=>{let e=t.parentNode;return e&&"FORM"!==e.tagName&&(e=I(e)),e},C=(t,e,r=DOMException)=>{if(!t.constructor.formAssociated)throw new r(e)},F=(t,e,r)=>{const n=s.get(t);return n&&n.size&&n.forEach((t=>{o.get(t)[r]()||(e=!1)})),e},L=t=>{if(t.constructor.formAssociated){const e=o.get(t),{labels:r,form:n}=e;M(t,r),_(t,n,e)}};function R(){return"undefined"!=typeof MutationObserver}class V{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const D=t=>{let e=!0;for(let r in t)"valid"!==r&&!1!==t[r]&&(e=!1);return e},W=new WeakMap;function B(t,e){t.toggleAttribute(e,!0),t.part&&t.part.add(e)}class q extends Set{static get isPolyfilled(){return!0}constructor(t){if(super(),!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");W.set(this,t)}add(t){if(!/^--/.test(t)||"string"!=typeof t)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${t} must start with '--'.`);const e=super.add(t),r=W.get(this),n=`state${t}`;return r.isConnected?B(r,n):setTimeout((()=>{B(r,n)})),e}clear(){for(let[t]of this.entries())this.delete(t);super.clear()}delete(t){const e=super.delete(t),r=W.get(this);return r.isConnected?(r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)):setTimeout((()=>{r.toggleAttribute(`state${t}`,!1),r.part&&r.part.remove(`state${t}`)})),e}}function $(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}var H;class U{constructor(t){H.set(this,void 0),function(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===n?o.call(t,r):o?o.value=r:e.set(t,r)}(this,H,t,"f");for(let e=0;e<t.length;e++){let r=t[e];this[e]=r,r.hasAttribute("name")&&(this[r.getAttribute("name")]=r)}Object.freeze(this)}get length(){return $(this,H,"f").length}[(H=new WeakMap,Symbol.iterator)](){return $(this,H,"f")[Symbol.iterator]()}item(t){return null==this[t]?null:this[t]}namedItem(t){return null==this[t]?null:this[t]}}class z{static get isPolyfilled(){return!0}constructor(t){if(!t||!t.tagName||-1===t.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const i=t.getRootNode(),a=new V;this.states=new q(t),e.set(this,t),r.set(this,a),o.set(t,this),((t,e)=>{for(let r in m){e[r]=null;let n=null;const o=m[r];Object.defineProperty(e,r,{get:()=>n,set(r){n=r,t.isConnected?t.setAttribute(o,r):l.set(t,e)}})}})(t,this),((t,e)=>{var r;n.set(e,[]),null===(r=w.observe)||void 0===r||r.call(w,t,g)})(t,this),Object.seal(this),i instanceof DocumentFragment&&(t=>{var e,r;const n=new MutationObserver(E);(null===(e=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===e?void 0:e.inUse)&&t.mode&&t.host&&(t=t.host),null===(r=n.observe)||void 0===r||r.call(n,t,{childList:!0}),d.set(t,n)})(i)}checkValidity(){const t=e.get(this);if(C(t,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const n=r.get(this);if(!n.valid){const e=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});t.dispatchEvent(e)}return n.valid}get form(){const t=e.get(this);let r;return C(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(r=I(t)),r}get labels(){const t=e.get(this);C(t,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const r=t.getAttribute("id"),n=t.getRootNode();return n&&r?n.querySelectorAll(`[for="${r}"]`):[]}reportValidity(){const t=e.get(this);if(C(t,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const r=this.checkValidity(),n=p.get(this);if(n&&!t.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!r&&n&&(t.focus(),n.focus()),r}setFormValue(t){const r=e.get(this);if(C(r,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),x(this),null==t||t instanceof FormData)null!=t&&t instanceof FormData&&Array.from(t).reverse().forEach((([t,e])=>{if("string"==typeof e){const n=j(r,this);n.name=t,n.value=e}}));else if(r.getAttribute("name")){j(r,this).value=t}c.set(r,t)}setValidity(t,n,o){const a=e.get(this);if(C(a,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!t)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");p.set(this,o);const u=r.get(this),s={};for(const e in t)s[e]=t[e];var c;0===Object.keys(s).length&&((c=u).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const l=Object.assign(Object.assign({},u),s);delete l.valid;const{valid:f}=((t,e,r)=>(t.valid=D(e),Object.keys(e).forEach((r=>t[r]=e[r])),r&&k(r),t))(u,l,this.form);if(!f&&!n)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");i.set(this,f?"":n),a.isConnected?(a.toggleAttribute("internals-invalid",!f),a.toggleAttribute("internals-valid",f),a.setAttribute("aria-invalid",`${!f}`)):y.set(a,this)}get shadowRoot(){const t=e.get(this),r=f.get(t);return r||null}get validationMessage(){const t=e.get(this);return C(t,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get validity(){const t=e.get(this);C(t,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element.");return r.get(this)}get willValidate(){const t=e.get(this);return C(t,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(t.disabled||t.hasAttribute("disabled")||t.hasAttribute("readonly"))}}let Y=!1,K=!1;function X(t){K||(K=!0,window.CustomStateSet=q,t&&(HTMLElement.prototype.attachInternals=function(...e){const r=t.call(this,e);return r.states=new q(this),r}))}function Q(t=!0){if(!Y){if(Y=!0,"undefined"!=typeof window&&(window.ElementInternals=z),"undefined"!=typeof CustomElementRegistry){const e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(t,r,n){if(r.formAssociated){const t=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){h.has(this)||(h.set(this,!0),this.hasAttribute("disabled")&&A(this,!0)),null!=t&&t.apply(this),L(this)}}e.call(this,t,r,n)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(o.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new z(this)}),"undefined"!=typeof Element){function r(...t){const e=n.apply(this,t);if(f.set(this,e),R()){const t=new MutationObserver(S);window.ShadyDOM?t.observe(this,O):t.observe(e,O),u.set(this,t)}return e}const n=Element.prototype.attachShadow;Element.prototype.attachShadow=r}if(R()&&"undefined"!=typeof document){new MutationObserver(S).observe(document.documentElement,O)}"undefined"!=typeof HTMLFormElement&&function(){const t=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...e){let r=t.apply(this,e);return F(this,r,"checkValidity")};const e=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...t){let r=e.apply(this,t);return F(this,r,"reportValidity")};const{get:r}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...t){const e=r.call(this,...t),n=Array.from(s.get(this)||[]);if(0===n.length)return e;const o=Array.from(e).concat(n).sort(((t,e)=>t.compareDocumentPosition?2&t.compareDocumentPosition(e)?1:-1:0));return new U(o)}})}(),(t||"undefined"!=typeof window&&!window.CustomStateSet)&&X()}}!!customElements.polyfillWrapFlushCallback||(!function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class t extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const e=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(e,t);const r=new t;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((t=>t in r.internals))}()?Q(!1):"undefined"==typeof window||window.CustomStateSet||X(HTMLElement.prototype.attachInternals)),t.forceCustomStateSetPolyfill=X,t.forceElementInternalsPolyfill=Q,Object.defineProperty(t,"__esModule",{value:!0})}({})},523:(t,e,r)=>{"use strict";r.r(e),r.d(e,{VERSION:()=>o,after:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Fe,bind:()=>Ee,bindAll:()=>xe,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ke,compact:()=>jr,compose:()=>Ie,constant:()=>G,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>qr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ye,escape:()=>ae,every:()=>tr,extend:()=>It,extendOwn:()=>Ct,filter:()=>Ge,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ze,forEach:()=>Ye,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>I,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>Z,isNull:()=>j,isNumber:()=>_,isObject:()=>x,isRegExp:()=>C,isSet:()=>jt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>xt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>xr,lastIndexOf:()=>He,map:()=>Ke,mapObject:()=>Gt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>je,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>_e,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Yt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ge,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>Ir,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Ir,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});var n={};r.r(n),r.d(n,{VERSION:()=>o,after:()=>Ce,all:()=>tr,allKeys:()=>mt,any:()=>er,assign:()=>Ct,before:()=>Fe,bind:()=>Ee,bindAll:()=>xe,chain:()=>be,chunk:()=>Rr,clone:()=>Vt,collect:()=>Ke,compact:()=>jr,compose:()=>Ie,constant:()=>G,contains:()=>rr,countBy:()=>hr,create:()=>Rt,debounce:()=>Pe,default:()=>Wr,defaults:()=>Ft,defer:()=>ke,delay:()=>Me,detect:()=>Ue,difference:()=>kr,drop:()=>Ar,each:()=>Ye,escape:()=>ae,every:()=>tr,extend:()=>It,extendOwn:()=>Ct,filter:()=>Ge,find:()=>Ue,findIndex:()=>De,findKey:()=>Re,findLastIndex:()=>We,findWhere:()=>ze,first:()=>Or,flatten:()=>Mr,foldl:()=>Qe,foldr:()=>Ze,forEach:()=>Ye,functions:()=>Tt,get:()=>$t,groupBy:()=>pr,has:()=>Ht,head:()=>Or,identity:()=>Ut,include:()=>rr,includes:()=>rr,indexBy:()=>dr,indexOf:()=>$e,initial:()=>Er,inject:()=>Qe,intersection:()=>_r,invert:()=>Pt,invoke:()=>nr,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>I,isElement:()=>N,isEmpty:()=>st,isEqual:()=>yt,isError:()=>F,isFinite:()=>Q,isFunction:()=>W,isMap:()=>At,isMatch:()=>ct,isNaN:()=>Z,isNull:()=>j,isNumber:()=>_,isObject:()=>x,isRegExp:()=>C,isSet:()=>jt,isString:()=>T,isSymbol:()=>L,isTypedArray:()=>ot,isUndefined:()=>M,isWeakMap:()=>xt,isWeakSet:()=>Mt,iteratee:()=>Qt,keys:()=>ut,last:()=>xr,lastIndexOf:()=>He,map:()=>Ke,mapObject:()=>Gt,matcher:()=>zt,matches:()=>zt,max:()=>ar,memoize:()=>je,methods:()=>Tt,min:()=>ur,mixin:()=>Dr,negate:()=>_e,noop:()=>Jt,now:()=>ne,object:()=>Fr,omit:()=>Sr,once:()=>Le,pairs:()=>Nt,partial:()=>Se,partition:()=>yr,pick:()=>wr,pluck:()=>or,property:()=>Yt,propertyOf:()=>te,random:()=>re,range:()=>Lr,reduce:()=>Qe,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Ar,restArguments:()=>A,result:()=>ye,sample:()=>sr,select:()=>Ge,shuffle:()=>cr,size:()=>br,some:()=>er,sortBy:()=>lr,sortedIndex:()=>Be,tail:()=>Ar,take:()=>Or,tap:()=>Dt,template:()=>he,templateSettings:()=>se,throttle:()=>Ne,times:()=>ee,toArray:()=>vr,toPath:()=>Wt,transpose:()=>Ir,unescape:()=>ue,union:()=>Tr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>ve,unzip:()=>Ir,values:()=>kt,where:()=>ir,without:()=>Nr,wrap:()=>Te,zip:()=>Cr});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,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,y=Array.isArray,m=Object.keys,v=Object.create,b=d&&ArrayBuffer.isView,g=isNaN,w=isFinite,S=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=Math.pow(2,53)-1;function A(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o<r;o++)n[o]=arguments[o+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var i=Array(e+1);for(o=0;o<e;o++)i[o]=arguments[o];return i[e]=n,t.apply(this,i)}}function x(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function j(t){return null===t}function M(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===f.call(t)}function N(t){return!(!t||1!==t.nodeType)}function P(t){var e="[object "+t+"]";return function(t){return f.call(t)===e}}const T=P("String"),_=P("Number"),I=P("Date"),C=P("RegExp"),F=P("Error"),L=P("Symbol"),R=P("ArrayBuffer");var V=P("Function"),D=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof D&&(V=function(t){return"function"==typeof t||!1});const W=V,B=P("Object");var q=h&&B(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&B(new Map),H=P("DataView");const U=q?function(t){return null!=t&&W(t.getInt8)&&R(t.buffer)}:H,z=y||P("Array");function Y(t,e){return null!=t&&p.call(t,e)}var K=P("Arguments");!function(){K(arguments)||(K=function(t){return Y(t,"callee")})}();const X=K;function Q(t){return!L(t)&&w(t)&&!isNaN(parseFloat(t))}function Z(t){return _(t)&&g(t)}function G(t){return function(){return t}}function J(t){return function(e){var r=t(e);return"number"==typeof r&&r>=0&&r<=O}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),rt=J(et);var nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=d?function(t){return b?b(t)&&!U(t):rt(t)&&nt.test(f.call(t))}:G(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},r=t.length,n=0;n<r;++n)e[t[n]]=!0;return{contains:function(t){return e[t]},push:function(r){return e[r]=!0,t.push(r)}}}(e);var r=E.length,n=t.constructor,o=W(n)&&n.prototype||u,i="constructor";for(Y(t,i)&&!e.contains(i)&&e.push(i);r--;)(i=E[r])in t&&t[i]!==o[i]&&!e.contains(i)&&e.push(i)}function ut(t){if(!x(t))return[];if(m)return m(t);var e=[];for(var r in t)Y(t,r)&&e.push(r);return S&&at(t,e),e}function st(t){if(null==t)return!0;var e=it(t);return"number"==typeof e&&(z(t)||T(t)||X(t))?0===e:0===it(ut(t))}function ct(t,e){var r=ut(e),n=r.length;if(null==t)return!n;for(var o=Object(t),i=0;i<n;i++){var a=r[i];if(e[a]!==o[a]||!(a in o))return!1}return!0}function lt(t){return t instanceof lt?t:this instanceof lt?void(this._wrapped=t):new lt(t)}function ft(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}lt.VERSION=o,lt.prototype.value=function(){return this._wrapped},lt.prototype.valueOf=lt.prototype.toJSON=lt.prototype.value,lt.prototype.toString=function(){return String(this._wrapped)};var pt="[object DataView]";function dt(t,e,r,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var o=typeof t;return("function"===o||"object"===o||"object"==typeof e)&&ht(t,e,r,n)}function ht(t,e,r,n){t instanceof lt&&(t=t._wrapped),e instanceof lt&&(e=e._wrapped);var o=f.call(t);if(o!==f.call(e))return!1;if(q&&"[object Object]"==o&&U(t)){if(!U(e))return!1;o=pt}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return s.valueOf.call(t)===s.valueOf.call(e);case"[object ArrayBuffer]":case pt:return ht(ft(t),ft(e),r,n)}var i="[object Array]"===o;if(!i&&ot(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,u=e.constructor;if(a!==u&&!(W(a)&&a instanceof a&&W(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}n=n||[];for(var c=(r=r||[]).length;c--;)if(r[c]===t)return n[c]===e;if(r.push(t),n.push(e),i){if((c=t.length)!==e.length)return!1;for(;c--;)if(!dt(t[c],e[c],r,n))return!1}else{var l,p=ut(t);if(c=p.length,ut(e).length!==c)return!1;for(;c--;)if(!Y(e,l=p[c])||!dt(t[l],e[l],r,n))return!1}return r.pop(),n.pop(),!0}function yt(t,e){return dt(t,e)}function mt(t){if(!x(t))return[];var e=[];for(var r in t)e.push(r);return S&&at(t,e),e}function vt(t){var e=it(t);return function(r){if(null==r)return!1;var n=mt(r);if(it(n))return!1;for(var o=0;o<e;o++)if(!W(r[t[o]]))return!1;return t!==Et||!W(r[bt])}}var bt="forEach",gt=["clear","delete"],wt=["get","has","set"],St=gt.concat(bt,wt),Et=gt.concat(wt),Ot=["add"].concat(gt,bt,"has");const At=$?vt(St):P("Map"),xt=$?vt(Et):P("WeakMap"),jt=$?vt(Ot):P("Set"),Mt=P("WeakSet");function kt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=t[e[o]];return n}function Nt(t){for(var e=ut(t),r=e.length,n=Array(r),o=0;o<r;o++)n[o]=[e[o],t[e[o]]];return n}function Pt(t){for(var e={},r=ut(t),n=0,o=r.length;n<o;n++)e[t[r[n]]]=r[n];return e}function Tt(t){var e=[];for(var r in t)W(t[r])&&e.push(r);return e.sort()}function _t(t,e){return function(r){var n=arguments.length;if(e&&(r=Object(r)),n<2||null==r)return r;for(var o=1;o<n;o++)for(var i=arguments[o],a=t(i),u=a.length,s=0;s<u;s++){var c=a[s];e&&void 0!==r[c]||(r[c]=i[c])}return r}}const It=_t(mt),Ct=_t(ut),Ft=_t(mt,!0);function Lt(t){if(!x(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var r=new e;return e.prototype=null,r}function Rt(t,e){var r=Lt(t);return e&&Ct(r,e),r}function Vt(t){return x(t)?z(t)?t.slice():It({},t):t}function Dt(t,e){return e(t),t}function Wt(t){return z(t)?t:[t]}function Bt(t){return lt.toPath(t)}function qt(t,e){for(var r=e.length,n=0;n<r;n++){if(null==t)return;t=t[e[n]]}return r?t:void 0}function $t(t,e,r){var n=qt(t,Bt(e));return M(n)?r:n}function Ht(t,e){for(var r=(e=Bt(e)).length,n=0;n<r;n++){var o=e[n];if(!Y(t,o))return!1;t=t[o]}return!!r}function Ut(t){return t}function zt(t){return t=Ct({},t),function(e){return ct(e,t)}}function Yt(t){return t=Bt(t),function(e){return qt(e,t)}}function Kt(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function(r){return t.call(e,r)};case 3:return function(r,n,o){return t.call(e,r,n,o)};case 4:return function(r,n,o,i){return t.call(e,r,n,o,i)}}return function(){return t.apply(e,arguments)}}function Xt(t,e,r){return null==t?Ut:W(t)?Kt(t,e,r):x(t)&&!z(t)?zt(t):Yt(t)}function Qt(t,e){return Xt(t,e,1/0)}function Zt(t,e,r){return lt.iteratee!==Qt?lt.iteratee(t,e):Xt(t,e,r)}function Gt(t,e,r){e=Zt(e,r);for(var n=ut(t),o=n.length,i={},a=0;a<o;a++){var u=n[a];i[u]=e(t[u],u,t)}return i}function Jt(){}function te(t){return null==t?Jt:function(e){return $t(t,e)}}function ee(t,e,r){var n=Array(Math.max(0,t));e=Kt(e,r,1);for(var o=0;o<t;o++)n[o]=e(o);return n}function re(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}lt.toPath=Wt,lt.iteratee=Qt;const ne=Date.now||function(){return(new Date).getTime()};function oe(t){var e=function(e){return t[e]},r="(?:"+ut(t).join("|")+")",n=RegExp(r),o=RegExp(r,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(o,e):t}}const ie={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ae=oe(ie),ue=oe(Pt(ie)),se=lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ce=/(.)^/,le={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},fe=/\\|'|\r|\n|\u2028|\u2029/g;function pe(t){return"\\"+le[t]}var de=/^\s*(\w|\$)+\s*$/;function he(t,e,r){!e&&r&&(e=r),e=Ft({},e,lt.templateSettings);var n=RegExp([(e.escape||ce).source,(e.interpolate||ce).source,(e.evaluate||ce).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,(function(e,r,n,a,u){return i+=t.slice(o,u).replace(fe,pe),o=u+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,u=e.variable;if(u){if(!de.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(t){throw t.source=i,t}var s=function(t){return a.call(this,t,lt)};return s.source="function("+u+"){\n"+i+"}",s}function ye(t,e,r){var n=(e=Bt(e)).length;if(!n)return W(r)?r.call(t):r;for(var o=0;o<n;o++){var i=null==t?void 0:t[e[o]];void 0===i&&(i=r,o=n),t=W(i)?i.call(t):i}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function be(t){var e=lt(t);return e._chain=!0,e}function ge(t,e,r,n,o){if(!(n instanceof e))return t.apply(r,o);var i=Lt(t.prototype),a=t.apply(i,o);return x(a)?a:i}var we=A((function(t,e){var r=we.placeholder,n=function(){for(var o=0,i=e.length,a=Array(i),u=0;u<i;u++)a[u]=e[u]===r?arguments[o++]:e[u];for(;o<arguments.length;)a.push(arguments[o++]);return ge(t,n,this,this,a)};return n}));we.placeholder=lt;const Se=we,Ee=A((function(t,e,r){if(!W(t))throw new TypeError("Bind must be called on a function");var n=A((function(o){return ge(t,n,e,this,r.concat(o))}));return n})),Oe=J(it);function Ae(t,e,r,n){if(n=n||[],e||0===e){if(e<=0)return n.concat(t)}else e=1/0;for(var o=n.length,i=0,a=it(t);i<a;i++){var u=t[i];if(Oe(u)&&(z(u)||X(u)))if(e>1)Ae(u,e-1,r,n),o=n.length;else for(var s=0,c=u.length;s<c;)n[o++]=u[s++];else r||(n[o++]=u)}return n}const xe=A((function(t,e){var r=(e=Ae(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=Ee(t[n],t)}return t}));function je(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return Y(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const Me=A((function(t,e,r){return setTimeout((function(){return t.apply(null,r)}),e)})),ke=Se(Me,lt,1);function Ne(t,e,r){var n,o,i,a,u=0;r||(r={});var s=function(){u=!1===r.leading?0:ne(),n=null,a=t.apply(o,i),n||(o=i=null)},c=function(){var c=ne();u||!1!==r.leading||(u=c);var l=e-(c-u);return o=this,i=arguments,l<=0||l>e?(n&&(clearTimeout(n),n=null),u=c,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(n),u=0,n=o=i=null},c}function Pe(t,e,r){var n,o,i,a,u,s=function(){var c=ne()-o;e>c?n=setTimeout(s,e-c):(n=null,r||(a=t.apply(u,i)),n||(i=u=null))},c=A((function(c){return u=this,i=c,o=ne(),n||(n=setTimeout(s,e),r&&(a=t.apply(u,i))),a}));return c.cancel=function(){clearTimeout(n),n=i=u=null},c}function Te(t,e){return Se(e,t)}function _e(t){return function(){return!t.apply(this,arguments)}}function Ie(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ce(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Fe(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const Le=Se(Fe,2);function Re(t,e,r){e=Zt(e,r);for(var n,o=ut(t),i=0,a=o.length;i<a;i++)if(e(t[n=o[i]],n,t))return n}function Ve(t){return function(e,r,n){r=Zt(r,n);for(var o=it(e),i=t>0?0:o-1;i>=0&&i<o;i+=t)if(r(e[i],i,e))return i;return-1}}const De=Ve(1),We=Ve(-1);function Be(t,e,r,n){for(var o=(r=Zt(r,n,1))(e),i=0,a=it(t);i<a;){var u=Math.floor((i+a)/2);r(t[u])<o?i=u+1:a=u}return i}function qe(t,e,r){return function(n,o,i){var a=0,u=it(n);if("number"==typeof i)t>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(r&&i&&u)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(l.call(n,a,u),Z))>=0?i+a:-1;for(i=t>0?a:u-1;i>=0&&i<u;i+=t)if(n[i]===o)return i;return-1}}const $e=qe(1,De,Be),He=qe(-1,We);function Ue(t,e,r){var n=(Oe(t)?De:Re)(t,e,r);if(void 0!==n&&-1!==n)return t[n]}function ze(t,e){return Ue(t,zt(e))}function Ye(t,e,r){var n,o;if(e=Kt(e,r),Oe(t))for(n=0,o=t.length;n<o;n++)e(t[n],n,t);else{var i=ut(t);for(n=0,o=i.length;n<o;n++)e(t[i[n]],i[n],t)}return t}function Ke(t,e,r){e=Zt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=Array(o),a=0;a<o;a++){var u=n?n[a]:a;i[a]=e(t[u],u,t)}return i}function Xe(t){return function(e,r,n,o){var i=arguments.length>=3;return function(e,r,n,o){var i=!Oe(e)&&ut(e),a=(i||e).length,u=t>0?0:a-1;for(o||(n=e[i?i[u]:u],u+=t);u>=0&&u<a;u+=t){var s=i?i[u]:u;n=r(n,e[s],s,e)}return n}(e,Kt(r,o,4),n,i)}}const Qe=Xe(1),Ze=Xe(-1);function Ge(t,e,r){var n=[];return e=Zt(e,r),Ye(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n}function Je(t,e,r){return Ge(t,_e(Zt(e)),r)}function tr(t,e,r){e=Zt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(!e(t[a],a,t))return!1}return!0}function er(t,e,r){e=Zt(e,r);for(var n=!Oe(t)&&ut(t),o=(n||t).length,i=0;i<o;i++){var a=n?n[i]:i;if(e(t[a],a,t))return!0}return!1}function rr(t,e,r,n){return Oe(t)||(t=kt(t)),("number"!=typeof r||n)&&(r=0),$e(t,e,r)>=0}const nr=A((function(t,e,r){var n,o;return W(e)?o=e:(e=Bt(e),n=e.slice(0,-1),e=e[e.length-1]),Ke(t,(function(t){var i=o;if(!i){if(n&&n.length&&(t=qt(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)}))}));function or(t,e){return Ke(t,Yt(e))}function ir(t,e){return Ge(t,zt(e))}function ar(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n>i&&(i=n);else e=Zt(e,r),Ye(t,(function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ur(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,s=(t=Oe(t)?t:kt(t)).length;u<s;u++)null!=(n=t[u])&&n<i&&(i=n);else e=Zt(e,r),Ye(t,(function(t,r,n){((o=e(t,r,n))<a||o===1/0&&i===1/0)&&(i=t,a=o)}));return i}function sr(t,e,r){if(null==e||r)return Oe(t)||(t=kt(t)),t[re(t.length-1)];var n=Oe(t)?Vt(t):kt(t),o=it(n);e=Math.max(Math.min(e,o),0);for(var i=o-1,a=0;a<e;a++){var u=re(a,i),s=n[a];n[a]=n[u],n[u]=s}return n.slice(0,e)}function cr(t){return sr(t,1/0)}function lr(t,e,r){var n=0;return e=Zt(e,r),or(Ke(t,(function(t,r,o){return{value:t,index:n++,criteria:e(t,r,o)}})).sort((function(t,e){var r=t.criteria,n=e.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return t.index-e.index})),"value")}function fr(t,e){return function(r,n,o){var i=e?[[],[]]:{};return n=Zt(n,o),Ye(r,(function(e,o){var a=n(e,o,r);t(i,e,a)})),i}}const pr=fr((function(t,e,r){Y(t,r)?t[r].push(e):t[r]=[e]})),dr=fr((function(t,e,r){t[r]=e})),hr=fr((function(t,e,r){Y(t,r)?t[r]++:t[r]=1})),yr=fr((function(t,e,r){t[r?0:1].push(e)}),!0);var mr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function vr(t){return t?z(t)?l.call(t):T(t)?t.match(mr):Oe(t)?Ke(t,Ut):kt(t):[]}function br(t){return null==t?0:Oe(t)?t.length:ut(t).length}function gr(t,e,r){return e in r}const wr=A((function(t,e){var r={},n=e[0];if(null==t)return r;W(n)?(e.length>1&&(n=Kt(n,e[1])),e=mt(t)):(n=gr,e=Ae(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o<i;o++){var a=e[o],u=t[a];n(u,a,t)&&(r[a]=u)}return r})),Sr=A((function(t,e){var r,n=e[0];return W(n)?(n=_e(n),e.length>1&&(r=e[1])):(e=Ke(Ae(e,!1,!1),String),n=function(t,r){return!rr(e,r)}),wr(t,n,r)}));function Er(t,e,r){return l.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Or(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:Er(t,t.length-e)}function Ar(t,e,r){return l.call(t,null==e||r?1:e)}function xr(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Ar(t,Math.max(0,t.length-e))}function jr(t){return Ge(t,Boolean)}function Mr(t,e){return Ae(t,e,!1)}const kr=A((function(t,e){return e=Ae(e,!0,!0),Ge(t,(function(t){return!rr(e,t)}))})),Nr=A((function(t,e){return kr(t,e)}));function Pr(t,e,r,n){k(e)||(n=r,r=e,e=!1),null!=r&&(r=Zt(r,n));for(var o=[],i=[],a=0,u=it(t);a<u;a++){var s=t[a],c=r?r(s,a,t):s;e&&!r?(a&&i===c||o.push(s),i=c):r?rr(i,c)||(i.push(c),o.push(s)):rr(o,s)||o.push(s)}return o}const Tr=A((function(t){return Pr(Ae(t,!0,!0))}));function _r(t){for(var e=[],r=arguments.length,n=0,o=it(t);n<o;n++){var i=t[n];if(!rr(e,i)){var a;for(a=1;a<r&&rr(arguments[a],i);a++);a===r&&e.push(i)}}return e}function Ir(t){for(var e=t&&ar(t,it).length||0,r=Array(e),n=0;n<e;n++)r[n]=or(t,n);return r}const Cr=A(Ir);function Fr(t,e){for(var r={},n=0,o=it(t);n<o;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r}function Lr(t,e,r){null==e&&(e=t||0,t=0),r||(r=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/r),0),o=Array(n),i=0;i<n;i++,t+=r)o[i]=t;return o}function Rr(t,e){if(null==e||e<1)return[];for(var r=[],n=0,o=t.length;n<o;)r.push(l.call(t,n,n+=e));return r}function Vr(t,e){return t._chain?lt(e).chain():e}function Dr(t){return Ye(Tt(t),(function(e){var r=lt[e]=t[e];lt.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Vr(this,r.apply(lt,t))}})),lt}Ye(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];lt.prototype[t]=function(){var r=this._wrapped;return null!=r&&(e.apply(r,arguments),"shift"!==t&&"splice"!==t||0!==r.length||delete r[0]),Vr(this,r)}})),Ye(["concat","join","slice"],(function(t){var e=a[t];lt.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Vr(this,t)}}));const Wr=lt;var Br=Dr(n);Br._=Br;const qr=Br}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(484),r(523),r(650);r(398)})();
|
package/index.html
CHANGED
package/package.json
CHANGED
package/src/custom-element.ts
CHANGED
|
@@ -50,7 +50,7 @@ export abstract class CustomElement extends HTMLElement {
|
|
|
50
50
|
|
|
51
51
|
#useShadowRoot;
|
|
52
52
|
|
|
53
|
-
#
|
|
53
|
+
#delegatesFocus;
|
|
54
54
|
|
|
55
55
|
#internals: ElementInternals;
|
|
56
56
|
|
|
@@ -79,8 +79,8 @@ export abstract class CustomElement extends HTMLElement {
|
|
|
79
79
|
const staticProjectorMode = (this.constructor as any).projectorMode;
|
|
80
80
|
this.#projectorMode = staticProjectorMode ? staticProjectorMode : "append";
|
|
81
81
|
const isFormAssociated = (this.constructor as any).isFormAssociated;
|
|
82
|
-
const
|
|
83
|
-
this.#
|
|
82
|
+
const delegatesFocus = (this.constructor as any).delegatesFocus;
|
|
83
|
+
this.#delegatesFocus = delegatesFocus;
|
|
84
84
|
if (isFormAssociated) {
|
|
85
85
|
this.#internals = this.attachInternals();
|
|
86
86
|
}
|
|
@@ -90,7 +90,7 @@ export abstract class CustomElement extends HTMLElement {
|
|
|
90
90
|
this.#useShadowRoot = true;
|
|
91
91
|
this.#projectorMode = "replace";
|
|
92
92
|
if (!this.shadowRoot) {
|
|
93
|
-
this.attachShadow({ mode: "open", delegatesFocus: this.#
|
|
93
|
+
this.attachShadow({ mode: "open", delegatesFocus: this.#delegatesFocus });
|
|
94
94
|
}
|
|
95
95
|
this.#initStylesheet(css);
|
|
96
96
|
const div = document.createElement("div");
|
|
@@ -221,7 +221,7 @@ export abstract class CustomElement extends HTMLElement {
|
|
|
221
221
|
if (useShadowRoot) {
|
|
222
222
|
this.#useShadowRoot = true;
|
|
223
223
|
if (!this.shadowRoot) {
|
|
224
|
-
this.attachShadow({ mode: "open", delegatesFocus: this.#
|
|
224
|
+
this.attachShadow({ mode: "open", delegatesFocus: this.#delegatesFocus });
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
this.#initStylesheet(styleElement.textContent);
|
package/src/sample.tsx
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
@CustomElementConfig({
|
|
2
|
+
tagName: "my-button",
|
|
3
|
+
})
|
|
4
|
+
class MyButton extends CustomElement {
|
|
5
|
+
static style = `.foo{background-color: red; color: white; border: 0px;}`;
|
|
6
|
+
static delegatesFocus = true;
|
|
7
|
+
render = () => {
|
|
8
|
+
return <button class="foo"><slot></slot></button>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
@CustomElementConfig({
|
|
2
14
|
tagName: "my-greetings",
|
|
3
15
|
})
|