text: /*! (c) Andrea Giammarchi - ISC */
  var HyperHTMLElement=function(e){"use strict";var t={};try{t.WeakMap=WeakMap}catch(e){t.WeakMap=function(e,t){var n=t.defineProperty,r=t.hasOwnProperty,o=i.prototype;return o.delete=function(e){return this.has(e)&&delete e[this._]},o.get=function(e){return this.has(e)?e[this._]:void 0},o.has=function(e){return r.call(e,this._)},o.set=function(e,t){return n(e,this._,{configurable:!0,value:t}),this},i;function i(t){n(this,"_",{value:"_@ungap/weakmap"+e++}),t&&t.forEach(s,this)}function s(e){this.set(e[0],e[1])}}(Math.random(),Object)}var n=t.WeakMap,r={};try{r.WeakSet=WeakSet}catch(e){!function(e,t){var n=o.prototype;function o(){t(this,"_",{value:"_@ungap/weakmap"+e++})}n.add=function(e){return this.has(e)||t(e,this._,{value:!0,configurable:!0}),this},n.has=function(e){return this.hasOwnProperty.call(e,this._)},n.delete=function(e){return this.has(e)&&delete e[this._]},r.WeakSet=o}(Math.random(),Object.defineProperty)}var o=r.WeakSet;const{indexOf:i,slice:s}=[],a=(e,t,n,r,o,s)=>{const a="selectedIndex"in t;let l=a;for(;r<o;){const o=e(n[r],1);if(t.insertBefore(o,s),a&&l&&o.selected){l=!l;let{selectedIndex:e}=t;t.selectedIndex=e<0?r:i.call(t.querySelectorAll("option"),o)}r++}},l=(e,t)=>e==t,c=e=>e,u=(e,t,n,r,o,i,s)=>{const a=i-o;if(a<1)return-1;for(;n-t>=a;){let a=t,l=o;for(;a<n&&l<i&&s(e[a],r[l]);)a++,l++;if(l===i)return t;t=a+1}return-1},h=(e,t,n,r,o)=>n<r?e(t[n],0):0<n?e(t[n-1],-0).nextSibling:o,f=(e,t,n,r)=>{for(;n<r;)v(e(t[n++],-1))},d=(e,t,n)=>{let r=1,o=t;for(;r<o;){const t=(r+o)/2>>>0;n<e[t]?o=t:r=t+1}return r},p=(e,t,n,r,o,i,s,l,c,u,h,p,v)=>{((e,t,n,r,o,i,s,l,c)=>{const u=[],h=e.length;let d=s,p=0;for(;p<h;)switch(e[p++]){case 0:o++,d++;break;case 1:u.push(r[o]),a(t,n,r,o++,o,d<l?t(i[d],0):c);break;case-1:d++}for(p=0;p<h;)switch(e[p++]){case 0:s++;break;case-1:-1<u.indexOf(i[s])?s++:f(t,i,s++,s)}})(((e,t,n,r,o,i,s)=>{const a=n+i,l=[];let c,u,h,f,d,p,v;e:for(c=0;c<=a;c++){if(c>50)return null;for(v=c-1,d=c?l[c-1]:[0,0],p=l[c]=[],u=-c;u<=c;u+=2){for(h=(f=u===-c||u!==c&&d[v+u-1]<d[v+u+1]?d[v+u+1]:d[v+u-1]+1)-u;f<i&&h<n&&s(r[o+f],e[t+h]);)f++,h++;if(f===i&&h===n)break e;p[c+u]=f}}const m=Array(c/2+a/2);let g=m.length-1;for(c=l.length-1;c>=0;c--){for(;f>0&&h>0&&s(r[o+f-1],e[t+h-1]);)m[g--]=0,f--,h--;if(!c)break;v=c-1,d=c?l[c-1]:[0,0],(u=f-h)==-c||u!==c&&d[v+u-1]<d[v+u+1]?(h--,m[g--]=1):(f--,m[g--]=-1)}return m})(n,r,i,s,l,u,p)||((e,t,n,r,o,i,s,a)=>{let l=0,c=r<a?r:a;const u=Array(c++),h=Array(c);h[0]=-1;for(let e=1;e<c;e++)h[e]=s;const f=o.slice(i,s);for(let r=t;r<n;r++){const t=f.indexOf(e[r]);if(-1<t){const e=t+i;-1<(l=d(h,c,e))&&(h[l]=e,u[l]={newi:r,oldi:e,prev:u[l-1]})}}for(l=--c,--s;h[l]>s;)--l;c=a+r-l;const p=Array(c);let v=u[l];for(--n;v;){const{newi:e,oldi:t}=v;for(;n>e;)p[--c]=1,--n;for(;s>t;)p[--c]=-1,--s;p[--c]=0,--n,--s,v=v.prev}for(;n>=t;)p[--c]=1,--n;for(;s>=i;)p[--c]=-1,--s;return p})(n,r,o,i,s,l,c,u),e,t,n,r,s,l,h,v)},v=e=>(e.remove||function(){const{parentNode:e}=this;e&&e.removeChild(this)}).call(e);const m=(e,t,n,r)=>{r||(r={});const o=r.compare||l,i=r.node||c,s=null==r.before?null:i(r.before,0),d=t.length;let v=d,m=0,g=n.length,b=0;for(;m<v&&b<g&&o(t[m],n[b]);)m++,b++;for(;m<v&&b<g&&o(t[v-1],n[g-1]);)v--,g--;const y=m===v,w=b===g;if(y&&w)return n;if(y&&b<g)return a(i,e,n,b,g,h(i,t,m,d,s)),n;if(w&&m<v)return f(i,t,m,v),n;const E=v-m,N=g-b;let x=-1;if(E<N){if(-1<(x=u(n,b,g,t,m,v,o)))return a(i,e,n,b,x,i(t[m],0)),a(i,e,n,x+E,g,h(i,t,v,d,s)),n}else if(N<E&&-1<(x=u(t,m,v,n,b,g,o)))return f(i,t,m,x),f(i,t,x+N,v),n;return E<2||N<2?(a(i,e,n,b,g,i(t[m],0)),f(i,t,m,v),n):E===N&&((e,t,n,r,o,i)=>{for(;r<o&&i(n[r],e[t-1]);)r++,t--;return 0===t})(n,g,t,m,v,o)?(a(i,e,n,b,g,h(i,t,v,d,s)),n):(p(i,e,n,b,g,N,t,m,v,E,d,o,s),n)};var g={};g.CustomEvent="function"==typeof CustomEvent?CustomEvent:function(e){return t.prototype=new t("").constructor.prototype,t;function t(e,t){t||(t={});var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail),n}}();var b=g.CustomEvent,y={};try{y.Map=Map}catch(e){y.Map=function(){var e=0,t=[],n=[];return{delete:function(o){var i=r(o);return i&&(t.splice(e,1),n.splice(e,1)),i},forEach:function(e,r){t.forEach(function(t,o){e.call(r,n[o],t,this)},this)},get:function(t){return r(t)?n[e]:void 0},has:function(e){return r(e)},set:function(o,i){return n[r(o)?e:t.push(o)-1]=i,this}};function r(n){return-1<(e=t.indexOf(n))}}}var w=y.Map;function E(){return this}const N=(e,t)=>{const n="_"+e+"$";return{get(){return this[n]||x(this,n,t.call(this,e))},set(e){x(this,n,e)}}},x=(e,t,n)=>Object.defineProperty(e,t,{configurable:!0,value:"function"==typeof n?function(){return e._wire$=n.apply(this,arguments)}:n})[t];Object.defineProperties(E.prototype,{ELEMENT_NODE:{value:1},nodeType:{value:-1}});const _={},C={},k=[],A=C.hasOwnProperty;let S=0;var O,$,T={attributes:_,define:(e,t)=>{e.indexOf("-")<0?(e in C||(S=k.push(e)),C[e]=t):_[e]=t},invoke:(e,t)=>{for(let n=0;n<S;n++){let r=k[n];if(A.call(e,r))return C[r](e[r],t)}}},M=Array.isArray||($=(O={}.toString).call([]),function(e){return O.call(e)===$}),j=function(e){var t="fragment",n="content"in o("template")?function(e){var t=o("template");return t.innerHTML=e,t.content}:function(e){var n=o(t),i=o("template"),s=null;if(/^[^\S]*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i.test(e)){var a=RegExp.$1;i.innerHTML="<table>"+e+"</table>",s=i.querySelectorAll(a)}else i.innerHTML=e,s=i.childNodes;return r(n,s),n};return function(e,i){return("svg"===i?function(e){var n=o(t),i=o("div");return i.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+e+"</svg>",r(n,i.firstChild.childNodes),n}:n)(e)};function r(e,t){for(var n=t.length;n--;)e.appendChild(t[0])}function o(n){return n===t?e.createDocumentFragment():e.createElementNS("http://www.w3.org/1999/xhtml",n)}}(document);var L,P=function(e,t,n,r,o){var i="importNode"in e,s=e.createDocumentFragment();return s.appendChild(e.createTextNode("g")),s.appendChild(e.createTextNode("")),(i?e.importNode(s,!0):s.cloneNode(!0)).childNodes.length<2?function e(t,n){for(var r=t.cloneNode(),o=t.childNodes||[],i=o.length,s=0;n&&s<i;s++)r.appendChild(e(o[s],n));return r}:i?e.importNode:function(e,t){return e.cloneNode(!!t)}}(document),D="".trim||function(){return String(this).replace(/^\s+|\s+/g,"")},W="-"+Math.random().toFixed(6)+"%",R=!1;try{"content"in(L=document.createElement("template"))&&(L.innerHTML='<p tabindex="'+W+'"></p>',L.content.childNodes[0].getAttribute("tabindex")==W)||(W="_dt: "+W.slice(1,-1)+";",R=!0)}catch(e){}var H="\x3c!--"+W+"--\x3e",I=8,F=1,z=3,Z=/^(?:style|textarea)$/i,V=/^(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)$/i;var q=" \\f\\n\\r\\t",G="[^"+q+"\\/>\"'=]+",B="["+q+"]+"+G,K="<([A-Za-z]+[A-Za-z0-9:._-]*)((?:",U="(?:\\s*=\\s*(?:'[^']*?'|\"[^\"]*?\"|<[^>]*?>|"+G.replace("\\/","")+"))?)",J=new RegExp(K+B+U+"+)(["+q+"]*/?>)","g"),Q=new RegExp(K+B+U+"*)(["+q+"]*/>)","g"),X=new RegExp("("+B+"\\s*=\\s*)(['\"]?)"+H+"\\2","gi");function Y(e,t,n,r){return"<"+t+n.replace(X,ee)+r}function ee(e,t,n){return t+(n||'"')+W+(n||'"')}function te(e,t,n){return V.test(t)?e:"<"+t+n+"></"+t+">"}var ne=R?function(e,t){var n=t.join(" ");return t.slice.call(e,0).sort(function(e,t){return n.indexOf(e.name)<=n.indexOf(t.name)?-1:1})}:function(e,t){return t.slice.call(e,0)};function re(e,t){for(var n=t.length,r=0;r<n;)e=e.childNodes[t[r++]];return e}function oe(e,t,n,r){for(var o=e.attributes,i=[],s=[],a=ne(o,n),l=a.length,c=0;c<l;){var u,h=a[c++],f=h.value===W;if(f||1<(u=h.value.split(H)).length){var d=h.name;if(i.indexOf(d)<0){i.push(d);var p=n.shift().replace(f?/^(?:|[\S\s]*?\s)(\S+?)\s*=\s*('|")?$/:new RegExp("^(?:|[\\S\\s]*?\\s)("+d+")\\s*=\\s*('|\")[\\S\\s]*","i"),"$1"),v=o[p]||o[p.toLowerCase()];if(f)t.push(se(v,r,p,null));else{for(var m=u.length-2;m--;)n.shift();t.push(se(v,r,p,u))}}s.push(h)}}c=0;for(var g=(0<(l=s.length)&&R&&!("ownerSVGElement"in e));c<l;){var b=s[c++];g&&(b.value=""),e.removeAttribute(b.name)}var y=e.nodeName;if(/^script$/i.test(y)){var w=document.createElement(y);for(l=o.length,c=0;c<l;)w.setAttributeNode(o[c++].cloneNode(!0));w.textContent=e.textContent,e.parentNode.replaceChild(w,e)}}function ie(e,t){return{type:"any",node:e,path:t}}function se(e,t,n,r){return{type:"attr",node:e,path:t,name:n,sparse:r}}function ae(e,t){return{type:"text",node:e,path:t}}var le=(e=>({get:t=>e.get(t),set:(t,n)=>(e.set(t,n),n)}))(new n);function ce(e,t){var n=(e.convert||function(e){return e.join(H).replace(Q,te).replace(J,Y)})(t),r=e.transform;r&&(n=r(n));var o=j(n,e.type);fe(o);var i=[];return function e(t,n,r,o){for(var i=t.childNodes,s=i.length,a=0;a<s;){var l=i[a];switch(l.nodeType){case F:var c=o.concat(a);oe(l,n,r,c),e(l,n,r,c);break;case I:var u=l.textContent;if(u===W)r.shift(),n.push(Z.test(t.nodeName)?ae(t,o):ie(l,o.concat(a)));else switch(u.slice(0,2)){case"/*":if("*/"!==u.slice(-2))break;case"👻":t.removeChild(l),a--,s--}break;case z:Z.test(t.nodeName)&&D.call(l.textContent)===H&&(r.shift(),n.push(ae(t,o)))}a++}}(o,i,t.slice(0),[]),{content:o,updates:function(n){for(var r=[],o=i.length,s=0,a=0;s<o;){var l=i[s++],c=re(n,l.path);switch(l.type){case"any":r.push({fn:e.any(c,[]),sparse:!1});break;case"attr":var u=l.sparse,h=e.attribute(c,l.name,l.node);null===u?r.push({fn:h,sparse:!1}):(a+=u.length-2,r.push({fn:h,sparse:!0,values:u}));break;case"text":r.push({fn:e.text(c),sparse:!1}),c.textContent=""}}return o+=a,function(){var e=arguments.length;if(o!==e-1)throw new Error(e-1+" values instead of "+o+"\n"+t.join("${value}"));for(var i=1,s=1;i<e;){var a=r[i-s];if(a.sparse){var l=a.values,c=l[0],u=1,h=l.length;for(s+=h-2;u<h;)c+=arguments[i++]+l[u++];a.fn(c)}else a.fn(arguments[i++])}return n}}}}var ue=[];function he(e){var t=ue,n=fe;return function(r){return t!==r&&(n=function(e,t){var n=le.get(t)||le.set(t,ce(e,t));return n.updates(P.call(document,n.content,!0))}(e,t=r)),n.apply(null,arguments)}}function fe(e){for(var t=e.childNodes,n=t.length;n--;){var r=t[n];1!==r.nodeType&&0===D.call(r.textContent).length&&e.removeChild(r)}}var de=function(){var e=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,t=/([^A-Z])([A-Z]+)/g;return function(e,t){return"ownerSVGElement"in e?function(e,t){var n;t?n=t.cloneNode(!0):(e.setAttribute("style","--hyper:style;"),n=e.getAttributeNode("style"));return n.value="",e.setAttributeNode(n),r(n,!0)}(e,t):r(e.style,!1)};function n(e,t,n){return t+"-"+n.toLowerCase()}function r(r,o){var i,s;return function(a){var l,c,u,h;switch(typeof a){case"object":if(a){if("object"===i){if(!o&&s!==a)for(c in s)c in a||(r[c]="")}else o?r.value="":r.cssText="";for(c in l=o?{}:r,a)u="number"!=typeof(h=a[c])||e.test(c)?h:h+"px",!o&&/^--/.test(c)?l.setProperty(c,u):l[c]=u;i="object",o?r.value=function(e){var r,o=[];for(r in e)o.push(r.replace(t,n),":",e[r],";");return o.join("")}(s=l):s=a;break}default:s!=a&&(i="string",s=a,o?r.value=a||"":r.cssText=a||"")}}}}(),pe=function(e,t){return(t=n.prototype).ELEMENT_NODE=1,t.nodeType=111,t.remove=function(e){var t=this.childNodes,n=this.firstChild,r=this.lastChild;if(this._=null,e&&2===t.length)r.parentNode.removeChild(r);else{var o=this.ownerDocument.createRange();o.setStartBefore(e?t[1]:n),o.setEndAfter(r),o.deleteContents()}return n},t.valueOf=function(e){var t=this._,n=null==t;if(n&&(t=this._=this.ownerDocument.createDocumentFragment()),n||e)for(var r=this.childNodes,o=0,i=r.length;o<i;o++)t.appendChild(r[o]);return t},n;function n(t){var n=this.childNodes=e.call(t,0);this.firstChild=n[0],this.lastChild=n[n.length-1],this.ownerDocument=n[0].ownerDocument,this._=null}}([].slice);const ve="ownerSVGElement",me=E.prototype.nodeType,ge=pe.prototype.nodeType,be=function(e){var t=e.Event,n=e.WeakSet,r=!0,o=null;return function(e){return r&&(r=!r,o=new n,function(e){var r=new n,i=new n;try{new MutationObserver(c).observe(e,{subtree:!0,childList:!0})}catch(t){var s=0,a=[],l=function(e){a.push(e),clearTimeout(s),s=setTimeout(function(){c(a.splice(s=0,a.length))},0)};e.addEventListener("DOMNodeRemoved",function(e){l({addedNodes:[],removedNodes:[e.target]})},!0),e.addEventListener("DOMNodeInserted",function(e){l({addedNodes:[e.target],removedNodes:[]})},!0)}function c(e){for(var t,n=e.length,o=0;o<n;o++)u((t=e[o]).removedNodes,"disconnected",i,r),u(t.addedNodes,"connected",r,i)}function u(e,n,r,o){for(var i,s=new t(n),a=e.length,l=0;l<a;1===(i=e[l++]).nodeType&&h(i,s,n,r,o));}function h(e,t,n,r,i){o.has(e)&&!r.has(e)&&(i.delete(e),r.add(e),e.dispatchEvent(t));for(var s=e.children||[],a=s.length,l=0;l<a;h(s[l++],t,n,r,i));}}(e.ownerDocument)),o.add(e),e}}({Event:b,WeakSet:o}),ye=e=>({html:e}),we=(e,t)=>{switch(e.nodeType){case ge:return 1/t<0?t?e.remove(!0):e.lastChild:t?e.valueOf(!0):e.firstChild;case me:return we(e.render(),t);default:return e}},Ee=(e,t)=>{t(e.placeholder),"text"in e?Promise.resolve(e.text).then(String).then(t):"any"in e?Promise.resolve(e.any).then(t):"html"in e?Promise.resolve(e.html).then(ye).then(t):Promise.resolve(T.invoke(e,t)).then(t)},Ne=e=>null!=e&&"then"in e,xe=/^(?:form|list)$/i,_e=[].slice;function Ce(e){return this.type=e,he(this)}Ce.prototype={attribute(e,t,n){const r=ve in e;let o;if("style"===t)return de(e,n,r);if("."===t.slice(0,1))return((e,t,n)=>n?n=>{try{e[t]=n}catch(r){e.setAttribute(t,n)}}:n=>{e[t]=n})(e,t.slice(1),r);if(/^on/.test(t)){let n=t.slice(2);return"connected"===n||"disconnected"===n?be(e):t.toLowerCase()in e&&(n=n.toLowerCase()),t=>{o!==t&&(o&&e.removeEventListener(n,o,!1),o=t,t&&e.addEventListener(n,t,!1))}}if("data"===t||!r&&t in e&&!xe.test(t))return n=>{o!==n&&(o=n,e[t]!==n&&null==n?(e[t]="",e.removeAttribute(t)):e[t]=n)};if(t in T.attributes)return n=>{const r=T.attributes[t](e,n);o!==r&&(o=r,null==r?e.removeAttribute(t):e.setAttribute(t,r))};{let t=!1;const r=n.cloneNode(!0);return n=>{o!==n&&(o=n,r.value!==n&&(null==n?(t&&(t=!1,e.removeAttributeNode(r)),r.value=n):(r.value=n,t||(t=!0,e.setAttributeNode(r)))))}}},any(e,t){const n={node:we,before:e},r=ve in e?"svg":"html";let o,i=!1;const s=a=>{switch(typeof a){case"string":case"number":case"boolean":i?o!==a&&(o=a,t[0].textContent=a):(i=!0,o=a,t=m(e.parentNode,t,[((e,t)=>e.ownerDocument.createTextNode(t))(e,a)],n));break;case"function":s(a(e));break;case"object":case"undefined":if(null==a){i=!1,t=m(e.parentNode,t,[],n);break}default:if(i=!1,o=a,M(a))if(0===a.length)t.length&&(t=m(e.parentNode,t,[],n));else switch(typeof a[0]){case"string":case"number":case"boolean":s({html:a});break;case"object":if(M(a[0])&&(a=a.concat.apply([],a)),Ne(a[0])){Promise.all(a).then(s);break}default:t=m(e.parentNode,t,a,n)}else(e=>"ELEMENT_NODE"in e)(a)?t=m(e.parentNode,t,11===a.nodeType?_e.call(a.childNodes):[a],n):Ne(a)?a.then(s):"placeholder"in a?Ee(a,s):"text"in a?s(String(a.text)):"any"in a?s(a.any):"html"in a?t=m(e.parentNode,t,_e.call(j([].concat(a.html).join(""),r).childNodes),n):s("length"in a?_e.call(a):T.invoke(a,s))}};return s},text(e){let t;const n=r=>{if(t!==r){t=r;const o=typeof r;"object"===o&&r?Ne(r)?r.then(n):"placeholder"in r?Ee(r,n):n("text"in r?String(r.text):"any"in r?r.any:"html"in r?[].concat(r.html).join(""):"length"in r?_e.call(r).join(""):T.invoke(r,n)):"function"===o?n(r(e)):e.textContent=null==r?"":r}};return n}};var ke="object"!=typeof document,Ae=function(e){var t,r=(t=(document.defaultView.navigator||{}).userAgent,/(Firefox|Safari)\/(\d+)/.test(t)&&!/(Chrom[eium]+|Android)\/(\d+)/.test(t)),o=!("raw"in e)||e.propertyIsEnumerable("raw")||!Object.isFrozen(e.raw);if(r||o){var i={},s=function(e){for(var t=".",n=0;n<e.length;n++)t+=e[n].length+"."+e[n];return i[t]||(i[t]=e)};if(o)Ae=s;else{var a=new n;Ae=function(e){return a.get(e)||function(e,t){return a.set(e,t),t}(e,s(e))}}}else ke=!0;return Se(e)};function Se(e){return ke?e:Ae(e)}function Oe(e){for(var t=arguments.length,n=[Se(e)],r=1;r<t;)n.push(arguments[r++]);return n}const $e=new n,Te=(e,t)=>null==e?Me(t||"html"):je(e,t||"html"),Me=e=>{let t,n,r;return function(){const o=Oe.apply(null,arguments);return r!==o[0]?(r=o[0],n=new Ce(e),t=Le(n.apply(n,o))):n.apply(n,o),t}},je=(e,t)=>{const n=t.indexOf(":");let r=$e.get(e),o=t;return-1<n&&(o=t.slice(n+1),t=t.slice(0,n)||"html"),r||$e.set(e,r={}),r[o]||(r[o]=Me(t))},Le=e=>{const t=e.childNodes,{length:n}=t;return 1===n?t[0]:n?new pe(t):e},Pe=new n;function De(){const e=Pe.get(this),t=Oe.apply(null,arguments);return e&&e.template===t[0]?e.tagger.apply(null,t):function(e){const t=new Ce(ve in this?"svg":"html");Pe.set(this,{tagger:t,template:e}),this.textContent="",this.appendChild(t.apply(null,arguments))}.apply(this,t),this}const We=e=>De.bind(e),Re=T.define,He=Ce.prototype;function Ie(e){return arguments.length<2?null==e?Me("html"):"string"==typeof e?Ie.wire(null,e):"raw"in e?Me("html")(e):"nodeType"in e?Ie.bind(e):je(e,"html"):("raw"in e?Me("html"):Ie.wire).apply(null,arguments)}Ie.Component=E,Ie.bind=We,Ie.define=Re,Ie.diff=m,Ie.hyper=Ie,Ie.observe=be,Ie.tagger=He,Ie.wire=Te,Ie._={WeakMap:n,WeakSet:o},function(e){const t=new n,r=Object.create,o=(e,t)=>{const n={w:null,p:null};return t.set(e,n),n};Object.defineProperties(E,{for:{configurable:!0,value(e,i){return((e,t,i,s)=>{const a=t.get(e)||o(e,t);switch(typeof s){case"object":case"function":const t=a.w||(a.w=new n);return t.get(s)||((e,t,n)=>(e.set(t,n),n))(t,s,new e(i));default:const o=a.p||(a.p=r(null));return o[s]||(o[s]=new e(i))}})(this,t.get(e)||(e=>{const n=new w;return t.set(e,n),n})(e),e,null==i?"default":i)}}}),Object.defineProperties(E.prototype,{handleEvent:{value(e){const t=e.currentTarget;this["getAttribute"in t&&t.getAttribute("data-call")||"on"+e.type](e)}},html:N("html",e),svg:N("svg",e),state:N("state",function(){return this.defaultState}),defaultState:{get:()=>({})},dispatch:{value(e,t){const{_wire$:n}=this;if(n){const r=new b(e,{bubbles:!0,cancelable:!0,detail:t});return r.component=this,(n.dispatchEvent?n:n.firstChild).dispatchEvent(r)}return!1}},setState:{value(e,t){const n=this.state,r="function"==typeof e?e.call(this,n):e;for(const e in r)n[e]=r[e];return!1!==t&&this.render(),this}}})}(Me);const Fe="attributeChangedCallback",ze=Object,Ze=[],Ve=ze.defineProperty,qe=ze.getOwnPropertyDescriptor,Ge=ze.getOwnPropertyNames,Be=ze.getOwnPropertySymbols||(()=>[]),Ke=ze.getPrototypeOf||(e=>e.__proto__),Ue="object"==typeof Reflect&&Reflect.ownKeys||(e=>Ge(e).concat(Be(e))),Je=ze.setPrototypeOf||((e,t)=>(e.__proto__=t,e)),Qe=e=>e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),{attachShadow:Xe}=HTMLElement.prototype,Ye=new WeakMap;class et extends HTMLElement{static define(e,t){const n=this,r=n.prototype,o=r[Fe],i=!!o,s=n.booleanAttributes||[];s.forEach(e=>{e in r||Ve(r,Qe(e),{configurable:!0,get(){return this.hasAttribute(e)},set(t){t&&"false"!==t?this.setAttribute(e,t):this.removeAttribute(e)}})});const a=n.observedAttributes||[];a.forEach(e=>{e in r||Ve(r,Qe(e),{configurable:!0,get(){return this.getAttribute(e)},set(t){null==t?this.removeAttribute(e):this.setAttribute(e,t)}})});const l=s.concat(a);l.length&&Ve(n,"observedAttributes",{get:()=>l});const c=r.created||function(){this.render()};Ve(r,"_init$",{configurable:!0,writable:!0,value:!0}),Ve(r,Fe,{configurable:!0,value:function e(t,n,r){if(this._init$&&(nt.call(this,c),this._init$))return this._init$$.push(e.bind(this,t,n,r));i&&n!==r&&o.apply(this,arguments)}});const u=r.connectedCallback,h=!!u;if(Ve(r,"connectedCallback",{configurable:!0,value:function e(){if(this._init$&&(nt.call(this,c),this._init$))return this._init$$.push(e.bind(this));h&&u.apply(this,arguments)}}),Ge(r).forEach(e=>{if(/^handle[A-Z]/.test(e)){const t="_"+e+"$",n=r[e];Ve(r,e,{configurable:!0,get(){return this[t]||(this[t]=n.bind(this))}})}}),"handleEvent"in r||Ve(r,"handleEvent",{configurable:!0,value(e){this[(e.currentTarget.dataset||{}).call||"on"+e.type](e)}}),t&&t.extends){const o=document.createElement(t.extends).constructor,i=class extends o{},s=["length","name","arguments","caller","prototype"],a=[];let l=null,c=n;for(;(l=Ke(c))&&([{target:i,base:l,keys:s},{target:i.prototype,base:l.prototype,keys:a}].forEach(({target:e,base:t,keys:n})=>{Ue(t).filter(e=>n.indexOf(e)<0).forEach(r=>{n.push(r),Ve(e,r,qe(t,r))})}),c=l,l!==et););Je(n,i),Je(r,i.prototype),customElements.define(e,n,t)}else customElements.define(e,n);return Ze.push(n),n}attachShadow(){const e=Xe.apply(this,arguments);return Ye.set(this,e),e}get refs(){const e={};if("_html$"in this){const t=(Ye.get(this)||this).querySelectorAll("[ref]");for(let{length:n}=t,r=0;r<n;r++){const n=t[r];e[n.getAttribute("ref")]=n}return Object.defineProperty(this,"refs",{value:e}),e}return e}get html(){return this._html$||(this.html=We(this.shadowRoot||this._shadowRoot||Ye.get(this)||this))}set html(e){Ve(this,"_html$",{configurable:!0,value:e})}render(){}get defaultState(){return{}}get state(){return this._state$||(this.state=this.defaultState)}set state(e){Ve(this,"_state$",{configurable:!0,value:e})}setState(e,t){const n=this.state,r="function"==typeof e?e.call(this,n):e;for(const e in r)n[e]=r[e];return!1!==t&&this.render(),this}}et.Component=E,et.bind=We,et.intent=Re,et.wire=Te,et.hyper=Ie;try{Symbol.hasInstance&&Ze.push(Ve(et,Symbol.hasInstance,{enumerable:!1,configurable:!0,value:e=>Ze.some(ot,Ke(e))}))}catch(e){}const tt={type:"DOMContentLoaded",handleEvent(){tt.ready()?(document.removeEventListener(tt.type,tt,!1),tt.list.splice(0).forEach(rt)):setTimeout(tt.handleEvent)},ready:()=>"complete"===document.readyState,list:[]};function nt(e){if(tt.ready()||function(e){let t=this;do{if(t.nextSibling)return!0}while(t=t.parentNode);return setTimeout(nt.bind(this,e)),!1}.call(this,e)){if(this._init$){const t=this._init$$;t&&delete this._init$$,e.call(Ve(this,"_init$",{value:!1})),t&&t.forEach(rt)}}else this.hasOwnProperty("_init$$")||Ve(this,"_init$$",{configurable:!0,value:[]}),tt.list.push(nt.bind(this,e))}function rt(e){e()}function ot(e){return this===e.prototype}return tt.ready()||document.addEventListener(tt.type,tt,!1),e.default=et,e.default}({});
  