jekyll-theme-hydejack 9.1.3 → 9.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/body/footer.html +1 -1
  3. data/_includes/body/scripts.html +2 -2
  4. data/_includes/head/meta-static.html +1 -1
  5. data/_includes/head/styles-inline.html +1 -1
  6. data/_includes/head/styles-no-inline.html +1 -1
  7. data/_includes/header.txt +1 -1
  8. data/_layouts/compress.html +1 -1
  9. data/assets/css/{hydejack-9.1.3.css → hydejack-9.1.4.css} +0 -0
  10. data/assets/js/{LEGACY-clap-button-hydejack-9.1.3.js → LEGACY-clap-button-hydejack-9.1.4.js} +1 -1
  11. data/assets/js/{LEGACY-drawer-hydejack-9.1.3.js → LEGACY-drawer-hydejack-9.1.4.js} +1 -1
  12. data/assets/js/{LEGACY-fetch-hydejack-9.1.3.js → LEGACY-fetch-hydejack-9.1.4.js} +1 -1
  13. data/assets/js/{LEGACY-hydejack-9.1.3.js → LEGACY-hydejack-9.1.4.js} +3 -3
  14. data/assets/js/{LEGACY-navbar-hydejack-9.1.3.js → LEGACY-navbar-hydejack-9.1.4.js} +1 -1
  15. data/assets/js/{LEGACY-push-state-hydejack-9.1.3.js → LEGACY-push-state-hydejack-9.1.4.js} +1 -1
  16. data/assets/js/{LEGACY-resize-observer-hydejack-9.1.3.js → LEGACY-resize-observer-hydejack-9.1.4.js} +1 -1
  17. data/assets/js/{LEGACY-shadydom-hydejack-9.1.3.js → LEGACY-shadydom-hydejack-9.1.4.js} +1 -1
  18. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.4.js +14 -0
  19. data/assets/js/{LEGACY-vendors~drawer-hydejack-9.1.3.js → LEGACY-vendors~drawer-hydejack-9.1.4.js} +1 -1
  20. data/assets/js/{LEGACY-vendors~drawer~push-state-hydejack-9.1.3.js → LEGACY-vendors~drawer~push-state-hydejack-9.1.4.js} +1 -1
  21. data/assets/js/{LEGACY-vendors~fetch-hydejack-9.1.3.js → LEGACY-vendors~fetch-hydejack-9.1.4.js} +1 -1
  22. data/assets/js/{LEGACY-vendors~intersection-observer-hydejack-9.1.3.js → LEGACY-vendors~intersection-observer-hydejack-9.1.4.js} +1 -1
  23. data/assets/js/{LEGACY-vendors~push-state-hydejack-9.1.3.js → LEGACY-vendors~push-state-hydejack-9.1.4.js} +3 -3
  24. data/assets/js/{LEGACY-vendors~shadydom-hydejack-9.1.3.js → LEGACY-vendors~shadydom-hydejack-9.1.4.js} +1 -1
  25. data/assets/js/{LEGACY-vendors~webanimations-hydejack-9.1.3.js → LEGACY-vendors~webanimations-hydejack-9.1.4.js} +1 -1
  26. data/assets/js/{LEGACY-vendors~webcomponents-hydejack-9.1.3.js → LEGACY-vendors~webcomponents-hydejack-9.1.4.js} +1 -1
  27. data/assets/js/{LEGACY-webcomponents-hydejack-9.1.3.js → LEGACY-webcomponents-hydejack-9.1.4.js} +1 -1
  28. data/assets/js/{clap-button-hydejack-9.1.3.js → clap-button-hydejack-9.1.4.js} +1 -1
  29. data/assets/js/{drawer-hydejack-9.1.3.js → drawer-hydejack-9.1.4.js} +1 -1
  30. data/assets/js/{fetch-hydejack-9.1.3.js → fetch-hydejack-9.1.4.js} +1 -1
  31. data/assets/js/{hydejack-9.1.3.js → hydejack-9.1.4.js} +3 -3
  32. data/assets/js/{navbar-hydejack-9.1.3.js → navbar-hydejack-9.1.4.js} +1 -1
  33. data/assets/js/{push-state-hydejack-9.1.3.js → push-state-hydejack-9.1.4.js} +1 -1
  34. data/assets/js/{resize-observer-hydejack-9.1.3.js → resize-observer-hydejack-9.1.4.js} +1 -1
  35. data/assets/js/{shadydom-hydejack-9.1.3.js → shadydom-hydejack-9.1.4.js} +1 -1
  36. data/assets/js/vendors~clap-button-hydejack-9.1.4.js +14 -0
  37. data/assets/js/{vendors~drawer-hydejack-9.1.3.js → vendors~drawer-hydejack-9.1.4.js} +1 -1
  38. data/assets/js/{vendors~drawer~push-state-hydejack-9.1.3.js → vendors~drawer~push-state-hydejack-9.1.4.js} +1 -1
  39. data/assets/js/{vendors~fetch-hydejack-9.1.3.js → vendors~fetch-hydejack-9.1.4.js} +1 -1
  40. data/assets/js/{vendors~intersection-observer-hydejack-9.1.3.js → vendors~intersection-observer-hydejack-9.1.4.js} +1 -1
  41. data/assets/js/{vendors~push-state-hydejack-9.1.3.js → vendors~push-state-hydejack-9.1.4.js} +3 -3
  42. data/assets/js/{vendors~shadydom-hydejack-9.1.3.js → vendors~shadydom-hydejack-9.1.4.js} +1 -1
  43. data/assets/js/{vendors~webanimations-hydejack-9.1.3.js → vendors~webanimations-hydejack-9.1.4.js} +1 -1
  44. data/assets/js/{webcomponents-hydejack-9.1.3.js → webcomponents-hydejack-9.1.4.js} +1 -1
  45. data/assets/version.json +2 -2
  46. metadata +38 -38
  47. data/assets/js/LEGACY-vendors~clap-button-hydejack-9.1.3.js +0 -14
  48. data/assets/js/vendors~clap-button-hydejack-9.1.3.js +0 -14
@@ -9,6 +9,6 @@
9
9
  * /\___/ \ \____/
10
10
  * \/__/ \/___/
11
11
  *
12
- * Powered by Hydejack v9.1.3 <https://hydejack.com/>
12
+ * Powered by Hydejack v9.1.4 <https://hydejack.com/>
13
13
  */
14
14
  (window.webpackJsonp=window.webpackJsonp||[]).push([[16],{180:function(t,e,n){"use strict";n.r(e);n(188),n(189),n(190),n(191);var{customElements:o}=window,r=!1,i=null;function a(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),i&&i(),r=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}o.polyfillWrapFlushCallback&&o.polyfillWrapFlushCallback(t=>{i=t,r&&t()}),"complete"!==document.readyState?(window.addEventListener("load",a),window.addEventListener("DOMContentLoaded",()=>{window.removeEventListener("load",a),a()})):a()},188:function(t,e){},189:function(t,e){},190:function(t,e){},191:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,l=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,s=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,d=window.Node.prototype.replaceChild,f=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),h=window.Element.prototype.attachShadow,p=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,w=window.Element.prototype.setAttribute,y=window.Element.prototype.removeAttribute,v=window.Element.prototype.getAttributeNS,E=window.Element.prototype.setAttributeNS,b=window.Element.prototype.removeAttributeNS,g=window.Element.prototype.insertAdjacentElement,_=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,N=window.Element.prototype.append,T=window.Element.prototype.before,D=window.Element.prototype.after,k=window.Element.prototype.replaceWith,S=window.Element.prototype.remove,L=window.HTMLElement,M=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),A=window.HTMLElement.prototype.insertAdjacentElement,F=window.HTMLElement.prototype.insertAdjacentHTML,O=new Set;function j(t){var e=O.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return O.add(t)}));var H=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function x(t){var e=t.isConnected;if(void 0!==e)return e;if(H(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function P(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function W(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function R(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function I(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else!function t(e,n,o){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;n(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(r=i.import,void 0===o&&(o=new Set),r instanceof Node&&!o.has(r))for(o.add(r),r=r.firstChild;r;r=r.nextSibling)t(r,n,o);r=W(e,i);continue}if("template"===a){r=W(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)t(i,n,o)}r=r.firstChild?r.firstChild:W(e,r)}}(e,n,o)}function U(t,e){t.f&&I(t,e,(function(e){return z(t,e)}))}function z(t,e){if(t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e);for(n=0;n<t.a.length;n++)t.a[n](e)}}function B(t,e){var n=[];for(I(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):V(t,o)}}function q(t,e){var n=[];for(I(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function J(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return V(t,e)},i=[];for(I(t,e,(function(e){if(t.f&&z(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),J(t,n,{D:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function V(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?nt(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],l=e.getAttribute(a);null!==l&&t.attributeChangedCallback(e,a,null,l,null)}}x(e)&&t.connectedCallback(e)}}catch(t){$(t)}}function X(n,o,r,i){var a=o.__CE_registry;if(a&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(a=nt(a,r)))try{var l=new a.constructorFunction;if(void 0===l.__CE_state||void 0===l.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==l.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(l.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==l.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==l.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(l.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(l.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return l}catch(a){return $(a),o=null===i?t.call(o,r):e.call(o,i,r),Object.setPrototypeOf(o,HTMLUnknownElement.prototype),o.__CE_state=2,o.__CE_definition=void 0,z(n,o),o}return z(n,o=null===i?t.call(o,r):e.call(o,i,r)),o}function $(t){var e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function G(){var t=this;this.a=void 0,this.w=new Promise((function(e){t.g=e}))}function K(t){var e=document;this.g=void 0,this.b=t,this.a=e,J(this.b,this.a),"loading"===this.a.readyState&&(this.g=new MutationObserver(this.A.bind(this)),this.g.observe(this.a,{childList:!0,subtree:!0}))}function Q(t){t.g&&t.g.disconnect()}function Y(t){this.j=new Map,this.l=new Map,this.u=new Map,this.o=!1,this.s=new Map,this.i=function(t){return t()},this.c=!1,this.m=[],this.b=t,this.v=t.C?new K(t):void 0}function Z(t,e){if(!j(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(nt(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.o)throw Error("A custom element is already being defined.")}function tt(t,e,n){var o;t.o=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),l=i("disconnectedCallback"),c=i("adoptedCallback"),s=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.o=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:l,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:s,constructionStack:[]},t.l.set(e,n),t.u.set(n.constructorFunction,n),n}function et(t){if(!1!==t.c){t.c=!1;for(var e=[],n=t.m,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(J(t.b,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.l.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)V(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),l=0;l<a.length;l++)V(t.b,a[l]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function nt(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return tt(t,e,n())}catch(t){$(t)}}}function ot(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var l=o[a];if(l instanceof Element&&x(l)&&i.push(l),l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}for(e.apply(this,o),o=0;o<i.length;o++)q(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}function rt(t){function n(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(x(this)&&(r=[],I(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?J(t,this):U(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&q(t,o),x(e)&&B(t,o),e}}function r(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)J(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}h&&(Element.prototype.attachShadow=function(e){if(e=h.call(this,e),t.f&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.h.length;n++)t.h[n](e)}return this.__CE_shadowRoot=e}),p&&p.get?n(Element.prototype,p):M&&M.get?n(HTMLElement.prototype,M):function(t,e){t.f=!0,t.a.push(e)}(t,(function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return l.call(this,!0).innerHTML},set:function(t){var n="template"===this.localName,o=n?this.content:this,r=e.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<o.childNodes.length;)u.call(o,o.childNodes[0]);for(t=n?r.content:r;0<t.childNodes.length;)c.call(o,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return w.call(this,e,n);var o=m.call(this,e);w.call(this,e,n),n=m.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return E.call(this,e,n,o);var r=v.call(this,e,n);E.call(this,e,n,o),o=v.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return y.call(this,e);var n=m.call(this,e);y.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return b.call(this,e,n);var o=v.call(this,e,n);b.call(this,e,n);var r=v.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},A?o(HTMLElement.prototype,A):g&&o(Element.prototype,g),F?r(HTMLElement.prototype,F):_&&r(Element.prototype,_),ot(t,Element.prototype,{prepend:C,append:N}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var l=o[a];if(l instanceof Element&&x(l)&&i.push(l),l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}for(e.apply(this,o),o=0;o<i.length;o++)q(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&B(t,i)}}var n=Element.prototype;void 0!==T&&(n.before=e(T)),void 0!==D&&(n.after=e(D)),void 0!==k&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&x(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=x(this),k.apply(this,n),n=0;n<r.length;n++)q(t,r[n]);if(i)for(q(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&B(t,r)}),void 0!==S&&(n.remove=function(){var e=x(this);S.call(this),e&&q(t,this)})}(t)}R.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){$(t)}},R.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){$(t)}},R.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){$(t)}},G.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},K.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||Q(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)J(this.b,n[o])},Y.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Z(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},Y.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Z(this,t),tt(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i((function(){return et(n)})))},Y.prototype.upgrade=function(t){J(this.b,t)},Y.prototype.get=function(t){if(t=nt(this,t))return t.constructorFunction},Y.prototype.whenDefined=function(t){if(!j(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.s.get(t);if(e)return e.w;e=new G,this.s.set(t,e);var n=this.l.has(t)||this.j.has(t);return t=-1===this.m.indexOf(t),n&&t&&e.resolve(void 0),e.w},Y.prototype.polyfillWrapFlushCallback=function(t){this.v&&Q(this.v);var e=this.i;this.i=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=Y,Y.prototype.define=Y.prototype.define,Y.prototype.upgrade=Y.prototype.upgrade,Y.prototype.get=Y.prototype.get,Y.prototype.whenDefined=Y.prototype.whenDefined,Y.prototype.polyfillDefineLazy=Y.prototype.B,Y.prototype.polyfillWrapFlushCallback=Y.prototype.polyfillWrapFlushCallback;var it={};var at=window.customElements;function lt(){var e=new R;!function(e){function n(){var n=this.constructor,o=document.__CE_registry.u.get(n);if(!o)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=o.constructionStack;if(0===r.length)return r=t.call(document,o.localName),Object.setPrototypeOf(r,n.prototype),r.__CE_state=1,r.__CE_definition=o,z(e,r),r;var i=r.length-1,a=r[i];if(a===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(a,n.prototype),z(e,a),a}n.prototype=L.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(e),function(t){Document.prototype.createElement=function(e){return X(t,this,e,null)},Document.prototype.importNode=function(e,o){return e=n.call(this,e,!!o),this.__CE_registry?J(t,e):U(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},ot(t,Document.prototype,{prepend:o,append:r})}(e),ot(e,DocumentFragment.prototype,{prepend:i,append:a}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&x(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)q(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=P(e);if(e=s.call(this,e,n),x(this))for(n=0;n<o.length;n++)B(t,o[n]);return e}return o=e instanceof Element&&x(e),n=s.call(this,e,n),o&&q(t,e),x(this)&&B(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=P(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)B(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&q(t,e),x(this)&&B(t,e),o},Node.prototype.cloneNode=function(e){return e=l.call(this,!!e),this.ownerDocument.__CE_registry?J(t,e):U(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=u.call(this,e);return n&&q(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=P(e);if(e=d.call(this,e,n),x(this))for(q(t,n),n=0;n<o.length;n++)B(t,o[n]);return e}o=e instanceof Element&&x(e);var r=d.call(this,e,n),i=x(this);return i&&q(t,n),o&&q(t,e),i&&B(t,e),r},f&&f.get?e(Node.prototype,f):function(t,e){t.f=!0,t.h.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)u.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})}))}(e),rt(e),e=new Y(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}at&&!at.forcePolyfill&&"function"==typeof at.define&&"function"==typeof at.get||lt(),window.__CE_installPolyfill=lt}).call(self)}}]);
data/assets/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "9.1.3",
3
- "prevVersion": "9.1.2"
2
+ "version": "9.1.4",
3
+ "prevVersion": "9.1.3"
4
4
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hydejack
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.3
4
+ version: 9.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Klampfer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-28 00:00:00.000000000 Z
11
+ date: 2021-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -441,7 +441,7 @@ files:
441
441
  - assets/bower_components/katex/docs/cli.md.template
442
442
  - assets/bower_components/katex/flow-typed/npm/jest_v24.x.x.js
443
443
  - assets/bower_components/katex/yarn.lock
444
- - assets/css/hydejack-9.1.3.css
444
+ - assets/css/hydejack-9.1.4.css
445
445
  - assets/icomoon/fonts/icomoon.eot
446
446
  - assets/icomoon/fonts/icomoon.svg
447
447
  - assets/icomoon/fonts/icomoon.ttf
@@ -461,41 +461,41 @@ files:
461
461
  - assets/img/sidebar-bg.jpg
462
462
  - assets/img/swipe.svg
463
463
  - assets/js/.gitkeep
464
- - assets/js/LEGACY-clap-button-hydejack-9.1.3.js
465
- - assets/js/LEGACY-drawer-hydejack-9.1.3.js
466
- - assets/js/LEGACY-fetch-hydejack-9.1.3.js
467
- - assets/js/LEGACY-hydejack-9.1.3.js
468
- - assets/js/LEGACY-navbar-hydejack-9.1.3.js
469
- - assets/js/LEGACY-push-state-hydejack-9.1.3.js
470
- - assets/js/LEGACY-resize-observer-hydejack-9.1.3.js
471
- - assets/js/LEGACY-shadydom-hydejack-9.1.3.js
472
- - assets/js/LEGACY-vendors~clap-button-hydejack-9.1.3.js
473
- - assets/js/LEGACY-vendors~drawer-hydejack-9.1.3.js
474
- - assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.3.js
475
- - assets/js/LEGACY-vendors~fetch-hydejack-9.1.3.js
476
- - assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.3.js
477
- - assets/js/LEGACY-vendors~push-state-hydejack-9.1.3.js
478
- - assets/js/LEGACY-vendors~shadydom-hydejack-9.1.3.js
479
- - assets/js/LEGACY-vendors~webanimations-hydejack-9.1.3.js
480
- - assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.3.js
481
- - assets/js/LEGACY-webcomponents-hydejack-9.1.3.js
482
- - assets/js/clap-button-hydejack-9.1.3.js
483
- - assets/js/drawer-hydejack-9.1.3.js
484
- - assets/js/fetch-hydejack-9.1.3.js
485
- - assets/js/hydejack-9.1.3.js
486
- - assets/js/navbar-hydejack-9.1.3.js
487
- - assets/js/push-state-hydejack-9.1.3.js
488
- - assets/js/resize-observer-hydejack-9.1.3.js
489
- - assets/js/shadydom-hydejack-9.1.3.js
490
- - assets/js/vendors~clap-button-hydejack-9.1.3.js
491
- - assets/js/vendors~drawer-hydejack-9.1.3.js
492
- - assets/js/vendors~drawer~push-state-hydejack-9.1.3.js
493
- - assets/js/vendors~fetch-hydejack-9.1.3.js
494
- - assets/js/vendors~intersection-observer-hydejack-9.1.3.js
495
- - assets/js/vendors~push-state-hydejack-9.1.3.js
496
- - assets/js/vendors~shadydom-hydejack-9.1.3.js
497
- - assets/js/vendors~webanimations-hydejack-9.1.3.js
498
- - assets/js/webcomponents-hydejack-9.1.3.js
464
+ - assets/js/LEGACY-clap-button-hydejack-9.1.4.js
465
+ - assets/js/LEGACY-drawer-hydejack-9.1.4.js
466
+ - assets/js/LEGACY-fetch-hydejack-9.1.4.js
467
+ - assets/js/LEGACY-hydejack-9.1.4.js
468
+ - assets/js/LEGACY-navbar-hydejack-9.1.4.js
469
+ - assets/js/LEGACY-push-state-hydejack-9.1.4.js
470
+ - assets/js/LEGACY-resize-observer-hydejack-9.1.4.js
471
+ - assets/js/LEGACY-shadydom-hydejack-9.1.4.js
472
+ - assets/js/LEGACY-vendors~clap-button-hydejack-9.1.4.js
473
+ - assets/js/LEGACY-vendors~drawer-hydejack-9.1.4.js
474
+ - assets/js/LEGACY-vendors~drawer~push-state-hydejack-9.1.4.js
475
+ - assets/js/LEGACY-vendors~fetch-hydejack-9.1.4.js
476
+ - assets/js/LEGACY-vendors~intersection-observer-hydejack-9.1.4.js
477
+ - assets/js/LEGACY-vendors~push-state-hydejack-9.1.4.js
478
+ - assets/js/LEGACY-vendors~shadydom-hydejack-9.1.4.js
479
+ - assets/js/LEGACY-vendors~webanimations-hydejack-9.1.4.js
480
+ - assets/js/LEGACY-vendors~webcomponents-hydejack-9.1.4.js
481
+ - assets/js/LEGACY-webcomponents-hydejack-9.1.4.js
482
+ - assets/js/clap-button-hydejack-9.1.4.js
483
+ - assets/js/drawer-hydejack-9.1.4.js
484
+ - assets/js/fetch-hydejack-9.1.4.js
485
+ - assets/js/hydejack-9.1.4.js
486
+ - assets/js/navbar-hydejack-9.1.4.js
487
+ - assets/js/push-state-hydejack-9.1.4.js
488
+ - assets/js/resize-observer-hydejack-9.1.4.js
489
+ - assets/js/shadydom-hydejack-9.1.4.js
490
+ - assets/js/vendors~clap-button-hydejack-9.1.4.js
491
+ - assets/js/vendors~drawer-hydejack-9.1.4.js
492
+ - assets/js/vendors~drawer~push-state-hydejack-9.1.4.js
493
+ - assets/js/vendors~fetch-hydejack-9.1.4.js
494
+ - assets/js/vendors~intersection-observer-hydejack-9.1.4.js
495
+ - assets/js/vendors~push-state-hydejack-9.1.4.js
496
+ - assets/js/vendors~shadydom-hydejack-9.1.4.js
497
+ - assets/js/vendors~webanimations-hydejack-9.1.4.js
498
+ - assets/js/webcomponents-hydejack-9.1.4.js
499
499
  - assets/site.webmanifest
500
500
  - assets/version.json
501
501
  - licenses/Apache-2.0.md
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.3 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{334:function(t,e){!function(t){var e=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";e[i]=e[i]||[],e[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),t.addEventListener("storage",(function(e){if(e.storageArea===t.localStorage&&null!=e.newValue&&""!==e.newValue&&e.key.substring(0,i.length)===i){var n=JSON.parse(e.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),a=this._id+String(Date.now())+"$"+String(Math.random());t.localStorage.setItem(a,o),setTimeout((function(){t.localStorage.removeItem(a)}),500),e[this._id].forEach((function(t){t!==r&&t._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var t=e[this._id].indexOf(this);e[this._id].splice(t,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(t){this._mc.port1.onmessage=t},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},t.BroadcastChannel=t.BroadcastChannel||n}(self)},335:function(t,e){var n,r,i,o,a,s,u,c,l,f;function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||T(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 p(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function d(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function v(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){d(o,r,i,a,s,"next",t)}function s(t){d(o,r,i,a,s,"throw",t)}a(void 0)}))}}function y(t){var e="function"==typeof Map?new Map:void 0;return(y=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;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 m(t,arguments,x(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),b(r,t)})(t)}function m(t,e,n){return(m=C()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&b(i,n.prototype),i}).apply(null,arguments)}function g(t,e,n){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=x(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function w(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}}),e&&b(t,e)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=C();return function(){var n,r=x(t);if(e){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==L(e)&&"function"!=typeof e?k(t):e}function k(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function P(t){return function(t){if(Array.isArray(t))return O(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||T(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){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}function N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t){return(L="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})(t)}function M(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=T(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function T(t,e){if(t){if("string"==typeof t)return O(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(t,e):void 0}}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}!function(){var t=Object.defineProperty,e=Object.prototype.hasOwnProperty,d=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertySymbols,b=Object.prototype.propertyIsEnumerable,C=function(e,n,r){return n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},A=function(t,n){for(var r in n||(n={}))e.call(n,r)&&C(t,r,n[r]);if(m){var i,o=M(m(n));try{for(o.s();!(i=o.n()).done;){r=i.value;b.call(n,r)&&C(t,r,n[r])}}catch(t){o.e(t)}finally{o.f()}}return t},T=function(e,n,r,i){for(var o,a=i>1?void 0:i?d(n,r):n,s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i?o(n,r,a):o(a))||a);return i&&a&&t(n,r,a),a},O=function(t,e,n){if(!e.has(t))throw TypeError("Cannot "+n)},R=function(t,e,n){return O(t,e,"read from private field"),n?n.call(t):e.get(t)},U=function(t,e,n,r){return O(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n};!function(t){var e=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";e[i]=e[i]||[],e[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),t.addEventListener("storage",(function(e){if(e.storageArea===t.localStorage&&null!=e.newValue&&""!==e.newValue&&e.key.substring(0,i.length)===i){var n=JSON.parse(e.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),a=this._id+String(Date.now())+"$"+String(Math.random());t.localStorage.setItem(a,o),setTimeout((function(){t.localStorage.removeItem(a)}),500),e[this._id].forEach((function(t){t!==r&&t._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var t=e[this._id].indexOf(this);e[this._id].splice(t,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(t){this._mc.port1.onmessage=t},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},t.BroadcastChannel=t.BroadcastChannel||n}(self);var j=function(){function t(){}return t.prototype.then=function(e,n){var r=new t,i=this.s;if(i){var o=1&i?e:n;if(o){try{I(r,1,o(this.v))}catch(t){I(r,2,t)}return r}return this}return this.o=function(t){try{var i=t.v;1&t.s?I(r,1,e?e(i):i):n?I(r,1,n(i)):I(r,2,i)}catch(i){I(r,2,i)}},r},t}();function I(t,e,n){if(!t.s){if(n instanceof j){if(!n.s)return void(n.o=I.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(I.bind(null,t,e),I.bind(null,t,2));t.s=e,t.v=n;var r=t.o;r&&r(t)}}var V=0,B="function"==typeof WeakMap?WeakMap:function(){var t="function"==typeof Symbol?Symbol(0):"__weak$"+ ++V;this.set=function(e,n){e[t]=n},this.get=function(e){return e[t]}};function D(t,e){return new Promise((function(n,r){t.onsuccess=function(){var r=t.result;e&&(r=e(r)),n(r)},t.onerror=function(){r(t.error)}}))}function z(t,e){return D(t.openCursor(e),(function(t){return t?[t.key,t.value]:[]}))}function W(t){return new Promise((function(e,n){t.oncomplete=function(){e()},t.onabort=function(){n(t.error)},t.onerror=function(){n(t.error)}}))}function q(t){if(!("number"==typeof(e=t)||"string"==typeof e||"object"==L(e)&&e&&(Array.isArray(e)||"setUTCFullYear"in e||"function"==typeof ArrayBuffer&&ArrayBuffer.isView(e)||"byteLength"in e&&"length"in e)))throw Error("kv-storage: The given value is not allowed as a key");var e}var H={};function F(t,e){return z(t,J(e))}function J(t){return t===H?IDBKeyRange.lowerBound(-1/0):IDBKeyRange.lowerBound(t,!0)}var $=new B,Y=new B,K=new B,Z=new B,G=function(){};function X(t,e){return e((function(e,n){try{var r=function(){return Y.set(t,o),K.set(t,void 0),{value:s,done:void 0===o}},i=Y.get(t);if(void 0===i)return Promise.resolve({value:void 0,done:!0});var o,a,s,u=function(t,e){var n,r=-1;t:{for(var i=0;i<e.length;i++){var o=e[i][0];if(o){var a=o();if(a&&a.then)break t;if(a===t){r=i;break}}else r=i}if(-1!==r){do{for(var s=e[r][1];!s;)s=e[++r][1];var u=s();if(u&&u.then){n=!0;break t}var c=e[r][2];r++}while(c&&!c());return u}}var l=new j,f=I.bind(null,l,2);return(n?u.then(h):a.then((function n(a){for(;;){if(a===t){r=i;break}if(++i===e.length){if(-1!==r)break;return void I(l,1,u)}if(o=e[i][0]){if((a=o())&&a.then)return void a.then(n).then(void 0,f)}else r=i}do{for(var s=e[r][1];!s;)s=e[++r][1];var u=s();if(u&&u.then)return void u.then(h).then(void 0,f);var c=e[r][2];r++}while(c&&!c());I(l,1,u)}))).then(void 0,f),l;function h(t){for(;;){var n=e[r][2];if(!n||n())break;for(var i=e[++r][1];!i;)i=e[++r][1];if((t=i())&&t.then)return void t.then(h).then(void 0,f)}I(l,1,t)}}(Z.get(t),[[function(){return"keys"},function(){return Promise.resolve((t=n,e=i,z(t,J(e)).then((function(t){return t[0]})))).then((function(t){s=o=t}));var t,e}],[function(){return"values"},function(){return Promise.resolve(F(n,i)).then((function(t){var e;o=(e=t)[0],s=a=e[1]}))}],[function(){return"entries"},function(){return Promise.resolve(F(n,i)).then((function(t){var e;a=(e=t)[1],s=void 0===(o=e[0])?void 0:[o,a]}))}]]);return Promise.resolve(u&&u.then?u.then(r):r())}catch(r){return Promise.reject(r)}}))}function Q(t,e){var n=new G;return Z.set(n,t),$.set(n,e),Y.set(n,H),K.set(n,void 0),n}G.prototype.return=function(){Y.set(this,void 0)},G.prototype.next=function(){var t=this,e=$.get(this);if(!e)return Promise.reject(new TypeError("Invalid this value"));var n,r=K.get(this);return n=void 0!==r?r.then((function(){return X(t,e)})):X(this,e),K.set(this,n),n},"function"==typeof Symbol&&Symbol.asyncIterator&&(G.prototype[Symbol.asyncIterator]=function(){return this});var tt=function(t,e,n){try{return null===nt.get(t)&&(r=t,i=et.get(r),nt.set(r,new Promise((function(t,e){var n=self.indexedDB.open(i,1);n.onsuccess=function(){var o=n.result;(function(t,e,n){if(1!==t.objectStoreNames.length||t.objectStoreNames[0]!==rt)return n(ot(e)),!1;var r=t.transaction(rt,"readonly").objectStore(rt);return!(r.autoIncrement||r.keyPath||r.indexNames.length)||(n(ot(e)),!1)})(o,i,e)&&(o.onclose=function(){nt.set(r,null)},o.onversionchange=function(){o.close(),nt.set(r,null)},t(o))},n.onerror=function(){return e(n.error)},n.onupgradeneeded=function(){try{n.result.createObjectStore(rt)}catch(t){e(t)}}})))),Promise.resolve(nt.get(t)).then((function(t){var r=t.transaction(rt,e),i=r.objectStore(rt);return n(r,i)}))}catch(r){return Promise.reject(r)}var r,i},et=new B,nt=new B,rt="store",it=function(t){var e="kv-storage:"+t;nt.set(this,null),et.set(this,e),this.backingStore={database:e,store:rt,version:1}};function ot(t){return new Error('kv-storage: database "'+t+'" corrupted')}it.prototype.set=function(t,e){try{return q(t),tt(this,"readwrite",(function(n,r){return void 0===e?r.delete(t):r.put(e,t),W(n)}))}catch(t){return Promise.reject(t)}},it.prototype.get=function(t){try{return q(t),tt(this,"readonly",(function(e,n){return D(n.get(t))}))}catch(t){return Promise.reject(t)}},it.prototype.delete=function(t){try{return q(t),tt(this,"readwrite",(function(e,n){return n.delete(t),W(e)}))}catch(t){return Promise.reject(t)}},it.prototype.clear=function(){try{var t,e=function(){function e(){return D(self.indexedDB.deleteDatabase(et.get(n)))}var r=function(){if(t){try{t.close()}catch(t){}return Promise.resolve(new Promise(setTimeout)).then((function(){}))}}();return r&&r.then?r.then(e):e()},n=this,r=nt.get(n),i=function(){if(null!==r){var e=function(){nt.set(n,null)},i=function(e,n){try{var i=Promise.resolve(r).then((function(e){t=e}))}catch(t){return}return i&&i.then?i.then(void 0,(function(){})):i}();return i&&i.then?i.then(e):e()}}();return i&&i.then?i.then(e):e()}catch(e){return Promise.reject(e)}},it.prototype.keys=function(){var t=this;return Q("keys",(function(e){return tt(t,"readonly",e)}))},it.prototype.values=function(){var t=this;return Q("values",(function(e){return tt(t,"readonly",e)}))},it.prototype.entries=function(){var t=this;return Q("entries",(function(e){return tt(t,"readonly",e)}))},"function"==typeof Symbol&&Symbol.asyncIterator&&(it.prototype[Symbol.asyncIterator]=it.prototype.entries);new it("default");var at="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,st=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==n;){var i=e.nextSibling;t.insertBefore(e,r),e=i}},ut=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},ct="{{lit-".concat(String(Math.random()).slice(2),"}}"),lt="\x3c!--".concat(ct,"--\x3e"),ft=new RegExp("".concat(ct,"|").concat(lt)),ht="$lit$",pt=function t(e,n){N(this,t),this.parts=[],this.element=n;for(var r=[],i=[],o=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,c=e.strings,l=e.values.length;u<l;){var f=o.nextNode();if(null!==f){if(s++,1===f.nodeType){if(f.hasAttributes()){for(var h=f.attributes,p=h.length,d=0,v=0;v<p;v++)dt(h[v].name,ht)&&d++;for(;d-- >0;){var y=c[u],m=mt.exec(y)[2],g=m.toLowerCase()+ht,w=f.getAttribute(g);f.removeAttribute(g);var b=w.split(ft);this.parts.push({type:"attribute",index:s,name:m,strings:b}),u+=b.length-1}}"TEMPLATE"===f.tagName&&(i.push(f),o.currentNode=f.content)}else if(3===f.nodeType){var _=f.data;if(_.indexOf(ct)>=0){for(var S=f.parentNode,k=_.split(ft),C=k.length-1,x=0;x<C;x++){var P=void 0,A=k[x];if(""===A)P=yt();else{var E=mt.exec(A);null!==E&&dt(E[2],ht)&&(A=A.slice(0,E.index)+E[1]+E[2].slice(0,-ht.length)+E[3]),P=document.createTextNode(A)}S.insertBefore(P,f),this.parts.push({type:"node",index:++s})}""===k[C]?(S.insertBefore(yt(),f),r.push(f)):f.data=k[C],u+=C}}else if(8===f.nodeType)if(f.data===ct){var L=f.parentNode;(null===f.previousSibling||s===a)&&(s++,L.insertBefore(yt(),f)),a=s,this.parts.push({type:"node",index:s}),null===f.nextSibling?f.data="":(r.push(f),s--),u++}else for(var M=-1;-1!==(M=f.data.indexOf(ct,M+1));)this.parts.push({type:"node",index:-1}),u++}else o.currentNode=i.pop()}for(var T=0,O=r;T<O.length;T++){var R=O[T];R.parentNode.removeChild(R)}},dt=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},vt=function(t){return-1!==t.index},yt=function(){return document.createComment("")},mt=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function gt(t,e){for(var n=t.element.content,r=t.parts,i=document.createTreeWalker(n,133,null,!1),o=bt(r),a=r[o],s=-1,u=0,c=[],l=null;i.nextNode();){s++;var f=i.currentNode;for(f.previousSibling===l&&(l=null),e.has(f)&&(c.push(f),null===l&&(l=f)),null!==l&&u++;void 0!==a&&a.index===s;)a.index=null!==l?-1:a.index-u,a=r[o=bt(r,o)]}c.forEach((function(t){return t.parentNode.removeChild(t)}))}var wt=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},bt=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e+1;n<t.length;n++){var r=t[n];if(vt(r))return n}return-1};var _t=new WeakMap,St=function(t){return function(){var e=t.apply(void 0,arguments);return _t.set(e,!0),e}},kt=function(t){return"function"==typeof t&&_t.has(t)},Ct={},xt={},Pt=function(){function t(e,n,r){N(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}return E(t,[{key:"update",value:function(t){var e,n=0,r=M(this.__parts);try{for(r.s();!(e=r.n()).done;){var i=e.value;void 0!==i&&i.setValue(t[n]),n++}}catch(t){r.e(t)}finally{r.f()}var o,a=M(this.__parts);try{for(a.s();!(o=a.n()).done;){var s=o.value;void 0!==s&&s.commit()}}catch(t){a.e(t)}finally{a.f()}}},{key:"_clone",value:function(){for(var t,e=at?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(e,133,null,!1),o=0,a=0,s=i.nextNode();o<r.length;){var u;if(t=r[o],vt(t)){for(;a<t.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),i.currentNode=s.content),null===(s=i.nextNode())&&(i.currentNode=n.pop(),s=i.nextNode());if("node"===t.type){var c=this.processor.handleTextExpression(this.options);c.insertAfterNode(s.previousSibling),this.__parts.push(c)}else(u=this.__parts).push.apply(u,P(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)));o++}else this.__parts.push(void 0),o++}return at&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),t}(),At=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(t){return t}}),Et=" ".concat(ct," "),Nt=function(){function t(e,n,r,i){N(this,t),this.strings=e,this.values=n,this.type=r,this.processor=i}return E(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var i=this.strings[r],o=i.lastIndexOf("\x3c!--");n=(o>-1||n)&&-1===i.indexOf("--\x3e",o+1);var a=mt.exec(i);e+=null===a?i+(n?Et:lt):i.substr(0,a.index)+a[1]+a[2]+ht+a[3]+ct}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template"),e=this.getHTML();return void 0!==At&&(e=At.createHTML(e)),t.innerHTML=e,t}}]),t}(),Lt=function(t){w(n,t);var e=_(n);function n(){return N(this,n),e.apply(this,arguments)}return E(n,[{key:"getHTML",value:function(){return"<svg>".concat(g(x(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=g(x(n.prototype),"getTemplateElement",this).call(this),e=t.content,r=e.firstChild;return e.removeChild(r),st(e,r.firstChild),t}}]),n}(Nt),Mt=function(t){return null===t||!("object"==L(t)||"function"==typeof t)},Tt=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},Ot=function(){function t(e,n,r){N(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var i=0;i<r.length-1;i++)this.parts[i]=this._createPart()}return E(t,[{key:"_createPart",value:function(){return new Rt(this)}},{key:"_getValue",value:function(){var t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){var r=n[0].value;if("symbol"==L(r))return String(r);if("string"==typeof r||!Tt(r))return r}for(var i="",o=0;o<e;o++){i+=t[o];var a=n[o];if(void 0!==a){var s=a.value;if(Mt(s)||!Tt(s))i+="string"==typeof s?s:String(s);else{var u,c=M(s);try{for(c.s();!(u=c.n()).done;){var l=u.value;i+="string"==typeof l?l:String(l)}}catch(t){c.e(t)}finally{c.f()}}}}return i+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),Rt=function(){function t(e){N(this,t),this.value=void 0,this.committer=e}return E(t,[{key:"setValue",value:function(t){t!==Ct&&(!Mt(t)||t!==this.value)&&(this.value=t,kt(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;kt(this.value);){var t=this.value;this.value=Ct,t(this)}this.value!==Ct&&this.committer.commit()}}]),t}(),Ut=function(){function t(e){N(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return E(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(yt()),this.endNode=t.appendChild(yt())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=yt()),t.__insert(this.endNode=yt())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=yt()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;kt(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Ct,t(this)}var e=this.__pendingValue;e!==Ct&&(Mt(e)?e!==this.value&&this.__commitText(e):e instanceof Nt?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):Tt(e)?this.__commitIterable(e):e===xt?(this.value=xt,this.clear()):this.__commitText(e))}}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof Pt&&this.value.template===e)this.value.update(t.values);else{var n=new Pt(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,i=this.value,o=0,a=M(e);try{for(a.s();!(r=a.n()).done;){var s=r.value;void 0===(n=i[o])&&(n=new t(this.options),i.push(n),0===o?n.appendIntoPart(this):n.insertAfterPart(i[o-1])),n.setValue(s),n.commit(),o++}}catch(t){a.e(t)}finally{a.f()}o<i.length&&(i.length=o,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;ut(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),jt=function(){function t(e,n,r){if(N(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return E(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;kt(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Ct,t(this)}if(this.__pendingValue!==Ct){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=Ct}}}]),t}(),It=function(t){w(n,t);var e=_(n);function n(t,r,i){var o;return N(this,n),(o=e.call(this,t,r,i)).single=2===i.length&&""===i[0]&&""===i[1],o}return E(n,[{key:"_createPart",value:function(){return new Vt(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:g(x(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(Ot),Vt=function(t){w(n,t);var e=_(n);function n(){return N(this,n),e.apply(this,arguments)}return n}(Rt),Bt=!1;!function(){try{var t={get capture(){return Bt=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}}();var Dt=function(){function t(e,n,r){var i=this;N(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return i.handleEvent(t)}}return E(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;kt(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Ct,t(this)}if(this.__pendingValue!==Ct){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),i=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=zt(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=Ct}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),zt=function(t){return t&&(Bt?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)};function Wt(t){var e=qt.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},qt.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(ct);return void 0===(n=e.keyString.get(r))&&(n=new pt(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var qt=new Map,Ht=new WeakMap,Ft=new(function(){function t(){N(this,t)}return E(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var i=e[0];return"."===i?new It(t,e.slice(1),n).parts:"@"===i?[new Dt(t,e.slice(1),r.eventContext)]:"?"===i?[new jt(t,e.slice(1),n)]:new Ot(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new Ut(t)}}]),t}());"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var Jt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new Nt(t,n,"html",Ft)},$t=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new Lt(t,n,"svg",Ft)},Yt=function(t,e){return"".concat(t,"--").concat(e)},Kt=!0;void 0===window.ShadyCSS?Kt=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),Kt=!1);var Zt=function(t){return function(e){var n=Yt(e.type,t),r=qt.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},qt.set(n,r));var i=r.stringsArray.get(e.strings);if(void 0!==i)return i;var o=e.strings.join(ct);if(void 0===(i=r.keyString.get(o))){var a=e.getTemplateElement();Kt&&window.ShadyCSS.prepareTemplateDom(a,t),i=new pt(e,a),r.keyString.set(o,i)}return r.stringsArray.set(e.strings,i),i}},Gt=["html","svg"],Xt=new Set,Qt=function(t,e,n){Xt.add(t);var r=n?n.element:document.createElement("template"),i=e.querySelectorAll("style"),o=i.length;if(0!==o){for(var a=document.createElement("style"),s=0;s<o;s++){var u=i[s];u.parentNode.removeChild(u),a.textContent+=u.textContent}!function(t){Gt.forEach((function(e){var n=qt.get(Yt(e,t));void 0!==n&&n.keyString.forEach((function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach((function(t){n.add(t)})),gt(t,n)}))}))}(t);var c=r.content;n?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,i=t.parts;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),a=bt(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=wt(e),n.parentNode.insertBefore(e,n));-1!==a&&i[a].index===u;){if(s>0){for(;-1!==a;)i[a].index+=s,a=bt(i,a);return}a=bt(i,a)}else r.appendChild(e)}(n,a,c.firstChild):c.insertBefore(a,c.firstChild),window.ShadyCSS.prepareTemplateStyles(r,t);var l=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==l)e.insertBefore(l.cloneNode(!0),e.firstChild);else if(n){c.insertBefore(a,c.firstChild);var f=new Set;f.add(a),gt(n,f)}}else window.ShadyCSS.prepareTemplateStyles(r,t)};window.JSCompiler_renameProperty=function(t,e){return t};var te={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},ee=function(t,e){return e!==t&&(e==e||t==t)},ne={attribute:!0,type:String,converter:te,reflect:!1,hasChanged:ee},re="finalized",ie=function(t){w(r,t);var e,n=_(r);function r(){var t;return N(this,r),(t=n.call(this)).initialize(),t}return E(r,[{key:"initialize",value:function(){var t=this;this._updateState=0,this._updatePromise=new Promise((function(e){return t._enableUpdatingResolver=e})),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var t=this;this.constructor._classProperties.forEach((function(e,n){if(t.hasOwnProperty(n)){var r=t[n];delete t[n],t._instanceProperties||(t._instanceProperties=new Map),t._instanceProperties.set(n,r)}}))}},{key:"_applyInstanceProperties",value:function(){var t=this;this._instanceProperties.forEach((function(e,n){return t[n]=e})),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ne,r=this.constructor,i=r._attributeNameForProperty(t,n);if(void 0!==i){var o=r._propertyValueToAttribute(e,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(t,e,n){var r=!0;if(void 0!==t){var i=this.constructor;n=n||i.getPropertyOptions(t),i._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0===n.reflect&&!(16&this._updateState)&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(e=v(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,t.prev=1,t.next=4,this._updatePromise;case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:if(e=this.performUpdate(),t.t1=null!=e,!t.t1){t.next=13;break}return t.next=13,e;case 13:return t.abrupt("return",!this._hasRequestedUpdate);case 14:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(){return e.apply(this,arguments)})},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var t=!1,e=this._changedProperties;try{(t=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(t,n){return e._propertyToAttribute(n,e[n],t)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"observedAttributes",get:function(){var t=this;this.finalize();var e=[];return this._classProperties.forEach((function(n,r){var i=t._attributeNameForProperty(r,n);void 0!==i&&(t._attributeToPropertyMap.set(i,r),e.push(i))})),e}},{key:"_ensureClassProperties",value:function(){var t=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,n){return t._classProperties.set(n,e)}))}}},{key:"createProperty",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ne;if(this._ensureClassProperties(),this._classProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var n="symbol"==L(t)?Symbol():"__".concat(t),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}},{key:"getPropertyDescriptor",value:function(t,e,n){return{get:function(){return this[e]},set:function(r){var i=this[t];this[e]=r,this.requestUpdateInternal(t,i,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this._classProperties&&this._classProperties.get(t)||ne}},{key:"finalize",value:function(){var t=Object.getPrototypeOf(this);if(t.hasOwnProperty(re)||t.finalize(),this[re]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,n=this.properties,r=M([].concat(P(Object.getOwnPropertyNames(n)),P("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(e=r.n()).done;){var i=e.value;this.createProperty(i,n[i])}}catch(t){r.e(t)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee;return n(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||te,i="function"==typeof r?r:r.fromAttribute;return i?i(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||te.toAttribute)(t,n)}}}]),r}(y(HTMLElement));ie.finalized=!0;var oe=function(t){return function(e){return"function"==typeof e?function(t,e){return window.customElements.define(t,e),e}(t,e):function(t,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(t,e)}}}(t,e)}};function ae(t){return function(e,n){return void 0!==n?function(t,e,n){e.constructor.createProperty(n,t)}(t,e,n):function(t,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(n){n.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(n){n.createProperty(e.key,t)}}}(t,e)}}var se=function(t,e,n){Object.defineProperty(e,n,t)},ue=function(t,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:t}},ce=Element.prototype,le=(ce.msMatchesSelector||ce.webkitMatchesSelector,window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype),fe=Symbol(),he=function(){function t(e,n){if(N(this,t),n!==fe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}return E(t,[{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(le?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}},{key:"toString",value:function(){return this.cssText}}]),t}(),pe=function(t){if(t instanceof he)return t.cssText;if("number"==typeof t)return t;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(t,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))};(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var de={},ve=function(t){w(n,t);var e=_(n);function n(){return N(this,n),e.apply(this,arguments)}return E(n,[{key:"initialize",value:function(){g(x(n.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?le?this.renderRoot.adoptedStyleSheets=t.map((function(t){return t instanceof CSSStyleSheet?t:t.styleSheet})):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((function(t){return t.cssText})),this.localName))}},{key:"connectedCallback",value:function(){g(x(n.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var e=this,r=this.render();g(x(n.prototype),"update",this).call(this,t),r!==de&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((function(t){var n=document.createElement("style");n.textContent=t.cssText,e.renderRoot.appendChild(n)})))}},{key:"render",value:function(){return de}}],[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var t=this.getStyles();if(Array.isArray(t)){var e=function t(e,n){return e.reduceRight((function(e,n){return Array.isArray(n)?t(n,e):(e.add(n),e)}),n)}(t,new Set),n=[];e.forEach((function(t){return n.unshift(t)})),this._styles=n}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((function(t){if(t instanceof CSSStyleSheet&&!le){var e=Array.prototype.slice.call(t.cssRules).reduce((function(t,e){return t+e.cssText}),"");return new he(String(e),fe)}return t}))}}}]),n}(ie);ve.finalized=!0,ve.render=function(t,e,n){if(!n||"object"!=L(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,i=Ht.has(e),o=Kt&&11===e.nodeType&&!!e.host,a=o&&!Xt.has(r),s=a?document.createDocumentFragment():e;if(function(t,e,n){var r=Ht.get(e);void 0===r&&(ut(e,e.firstChild),Ht.set(e,r=new Ut(Object.assign({templateFactory:Wt},n))),r.appendInto(e)),r.setValue(t),r.commit()}(t,s,Object.assign({templateFactory:Zt(r)},n)),a){var u=Ht.get(s);Ht.delete(s);var c=u.value instanceof Pt?u.value.template:void 0;Qt(r,s,c),ut(e,e.firstChild),e.appendChild(s),Ht.set(e,u)}!i&&o&&window.ShadyCSS.styleElement(e.host)};var ye=function(){function t(e){N(this,t),this.classes=new Set,this.changed=!1,this.element=e;var n,r=M((e.getAttribute("class")||"").split(/\s+/));try{for(r.s();!(n=r.n()).done;){var i=n.value;this.classes.add(i)}}catch(t){r.e(t)}finally{r.f()}}return E(t,[{key:"add",value:function(t){this.classes.add(t),this.changed=!0}},{key:"remove",value:function(t){this.classes.delete(t),this.changed=!0}},{key:"commit",value:function(){if(this.changed){var t="";this.classes.forEach((function(e){return t+=e+" "})),this.element.setAttribute("class",t)}}}]),t}(),me=new WeakMap,ge=St((function(t){return function(e){if(!(e instanceof Rt)||e instanceof Vt||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=e.committer,r=n.element,i=me.get(e);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),me.set(e,i=new Set));var o=r.classList||new ye(r);for(var a in i.forEach((function(e){e in t||(o.remove(e),i.delete(e))})),t){var s=t[a];s!=i.has(a)&&(s?(o.add(a),i.add(a)):(o.remove(a),i.delete(a)))}"function"==typeof o.commit&&o.commit()}})),we=new WeakMap,be=St((function(t){return function(e){if(!(e instanceof Rt)||e instanceof Vt||"style"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=e.committer,r=n.element.style,i=we.get(e);for(var o in void 0===i&&(r.cssText=n.strings.join(" "),we.set(e,i=new Set)),i.forEach((function(e){e in t||(i.delete(e),-1===e.indexOf("-")?r[e]=null:r.removeProperty(e))})),t)i.add(o),-1===o.indexOf("-")?r[o]=t[o]:r.setProperty(o,t[o])}})),_e=function(t,e){var n=t.startNode.parentNode,r=void 0===e?t.endNode:e.startNode,i=n.insertBefore(yt(),r);n.insertBefore(yt(),r);var o=new Ut(t.options);return o.insertAfterNode(i),o},Se=function(t,e){return t.setValue(e),t.commit(),t},ke=function(t,e,n){var r=t.startNode.parentNode,i=n?n.startNode:t.endNode,o=e.endNode.nextSibling;o!==i&&st(r,e.startNode,o,i)},Ce=function(t){ut(t.startNode.parentNode,t.startNode,t.endNode.nextSibling)},xe=function(t,e,n){for(var r=new Map,i=e;i<=n;i++)r.set(t[i],i);return r},Pe=new WeakMap,Ae=new WeakMap,Ee=St((function(t,e,n){var r;return void 0===n?n=e:void 0!==e&&(r=e),function(e){if(!(e instanceof Ut))throw new Error("repeat can only be used in text bindings");var i,o=Pe.get(e)||[],a=Ae.get(e)||[],s=[],u=[],c=[],l=0,f=M(t);try{for(f.s();!(i=f.n()).done;){var h=i.value;c[l]=r?r(h,l):l,u[l]=n(h,l),l++}}catch(t){f.e(t)}finally{f.f()}for(var p,d,v=0,y=o.length-1,m=0,g=u.length-1;v<=y&&m<=g;)if(null===o[v])v++;else if(null===o[y])y--;else if(a[v]===c[m])s[m]=Se(o[v],u[m]),v++,m++;else if(a[y]===c[g])s[g]=Se(o[y],u[g]),y--,g--;else if(a[v]===c[g])s[g]=Se(o[v],u[g]),ke(e,o[v],s[g+1]),v++,g--;else if(a[y]===c[m])s[m]=Se(o[y],u[m]),ke(e,o[y],o[v]),y--,m++;else if(void 0===p&&(p=xe(c,m,g),d=xe(a,v,y)),p.has(a[v]))if(p.has(a[y])){var w=d.get(c[m]),b=void 0!==w?o[w]:null;if(null===b){var _=_e(e,o[v]);Se(_,u[m]),s[m]=_}else s[m]=Se(b,u[m]),ke(e,b,o[v]),o[w]=null;m++}else Ce(o[y]),y--;else Ce(o[v]),v++;for(;m<=g;){var S=_e(e,s[g+1]);Se(S,u[m]),s[m++]=S}for(;v<=y;){var k=o[v++];null!==k&&Ce(k)}Pe.set(e,s),Ae.set(e,c)}})),Ne=new WeakMap,Le=St((function(t){return function(e){if(!(e instanceof Ut))throw new Error("unsafeHTML can only be used in text bindings");var n=Ne.get(e);if(void 0===n||!Mt(t)||t!==n.value||e.value!==n.fragment){var r=document.createElement("template");r.innerHTML=t;var i=document.importNode(r.content,!0);e.setValue(i),Ne.set(e,{value:t,fragment:i})}}})),Me=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=n.reduce((function(e,n,r){return e+pe(n)+t[r+1]}),t[0]);return new he(i,fe)}(n||(n=p(["\n:host {\n display: block;\n position: relative;\n width: 5em;\n height: 5em;\n margin: 5em auto;\n}\n.style-root {\n position: absolute;\n fill: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n top: 0;\n left: 0;\n right: 0;\n bottom: 0; }\n .style-root .error { color: indianred }\n .style-root button {\n -webkit-tap-highlight-color: transparent;\n cursor: pointer; \n border: none;\n background: none;\n margin: 0;\n padding: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n .style-root button:disabled {\n cursor: default; }\n .style-root .shockwave {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n color: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n border-radius: 50%; }\n .style-root svg {\n position: absolute;\n width: 60%;\n height: 60%;\n margin: 20%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n opacity: 0.8;\n stroke: none;\n overflow: visible !important; }\n .style-root svg g.flat {\n visibility: hidden; }\n .style-root svg g.outline {\n visibility: visible; }\n .style-root.clapped:not(.loading) svg g.flat {\n visibility: visible; }\n .style-root.clapped svg g.outline {\n visibility: hidden; }\n .style-root.loading svg g.outline {\n visibility: visible; }\n .style-root .count-container {\n position: absolute;\n width: 100%;\n color: inherit;\n user-select: none; }\n .style-root .count-container.container-top {\n top: -2.5em; }\n .style-root .count-container.container-bottom {\n bottom: -2.5em; }\n .style-root .count-container > div {\n width: 300%;\n margin-left: -100%;\n text-align: center; }\n .style-root g.sparkle circle {\n opacity: 0;\n stroke-width: 0; }\n .style-root:not(.clapped):not(.no-shockwave):not(.no-animation) .shockwave {\n animation-name: shockwave;\n animation-duration: 1.5s;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in; }\n .style-root.clap {\n animation-name: pulse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; \n animation-timing-function: ease-out; }\n .style-root.clap .sparkle circle {\n animation-name: explode;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-top .count {\n animation-name: hide-then-show;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-bottom .count {\n animation-name: hide-then-show-inverse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n\n#hand-svg {\n margin-top: 22%;\n margin-left: 22%;\n}\n\n#countdown-svg {\n width: 100%;\n height: 100%;\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n margin: 0;\n}\n\n.countdown {\n fill: none; \n transform: rotateZ(0deg);\n transform-origin: center;\n}\n\n.countdown circle {\n stroke-width: 2px;\n opacity: 1;\n stroke-linecap: round;\n stroke-dasharray: 308 308;\n transform: rotate(-90deg);\n transform-origin: center;\n}\n\n.style-root.ticking .countdown circle {\n animation-timing-function: ease;\n animation-name: countdown;\n animation-duration: 3s; \n}\n\n.style-root.loading:not(.no-animation) .countdown {\n animation: 2s linear infinite svg-animation; \n}\n\n.style-root.loading:not(.no-animation) .countdown circle {\n animation: 1.4s ease-in-out infinite both circle-animation;\n stroke-dasharray: 308;\n stroke-dashoffset: 302; \n}\n\n@keyframes svg-animation {\n 0% { \n transform: rotateZ(-90deg);\n }\n 100% { \n transform: rotateZ(270deg);\n }\n}\n\n@keyframes circle-animation {\n 0%,\n 15% {\n stroke-dashoffset: 280;\n transform: rotate(0); \n }\n 50%,\n 65% {\n stroke-dashoffset: 75;\n transform: rotate(45deg); \n }\n 100% {\n stroke-dashoffset: 280;\n transform: rotate(360deg); \n }\n}\n\n@keyframes countdown {\n 0% {\n stroke-dasharray: 308 308;\n }\n 50% {\n stroke-dasharray: 308 308;\n }\n 100% {\n stroke-dasharray: 0 308;\n }\n}\n\n@keyframes explode {\n 0% {\n transform: translateX(10px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(25px);\n }\n}\n\n@keyframes shockwave {\n 0% {\n transform: scale(1);\n opacity: 1; \n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n 89.99% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 50px, inset 0 0 10px;\n }\n 90%, 100% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes hide-then-show {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(10px);\n }\n 80% {\n transform: translateY(10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0); \n }\n}\n\n@keyframes hide-then-show-inverse {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(10px);\n }\n 50% {\n transform: translateY(-10px);\n }\n 80% {\n transform: translateY(-10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n"]))),Te=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)},Oe=Te,Re=function(t){return parseInt(t,16)};function Ue(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=e.reduce((function(t,e){return t+e.length}),0),i=new Uint8Array(r),o=0,a=0,s=e;a<s.length;a++){var u=s[a];i.set(u,o),o+=u.length}return i}function je(t){var e=function(t){return Array.from(Oe(t),(function(t){return function(t){return t.toString(16).padStart(2,"0")}(t)}))}(t);return e.splice(4,0,"-"),e.splice(7,0,"-"),e.splice(10,0,"-"),e.splice(13,0,"-"),e.join("")}function Ie(){var t=crypto.getRandomValues(new Uint8Array(16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,t.buffer}function Ve(t){var e=t.replace(/[^0-9a-f]/gi,"").slice(0,32);if(e.length<32)throw Error("UUID too short");return function(t){return new Uint8Array(t.match(/[0-9a-f]{1,2}/gi).map(Re))}(e).buffer}function Be(t){return t=unescape(encodeURIComponent(t)),(new TextEncoder).encode(t)}function De(t,e){return ze.apply(this,arguments)}function ze(){return(ze=v(regeneratorRuntime.mark((function t(e,n){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="string"==typeof e?Be(e):Te(e),i="string"==typeof n?new We(n):n,t.t0=Uint8Array,t.next=5,crypto.subtle.digest("SHA-1",Ue(i,r));case 5:return t.t1=t.sent,o=new t.t0(t.t1),t.abrupt("return",(o[6]=15&o[6]|80,o[8]=63&o[8]|128,o.buffer.slice(0,16)));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var We=function(t){w(r,t);var e,n=_(r);function r(t,e){var i;if(N(this,r),null==t)i=n.call(this,Ie());else if("string"==typeof t)i=n.call(this,Ve(t));else if(t instanceof r)i=n.call(this,t.buffer.slice(0));else{var o=t instanceof ArrayBuffer||t instanceof SharedArrayBuffer?new Uint8Array(t,null!=e?e:0,16):new Uint8Array(t);if(o.length<16)throw Error("UUID too short");i=n.call(this,o.buffer.slice(0,16))}return S(i)}return E(r,[{key:"id",get:function(){return je(this)}},{key:"uuid",get:function(){return je(this)}},{key:"toString",value:function(){return je(this)}},{key:"toJSON",value:function(){return je(this)}}],[{key:"v4",value:function(){return new r(Ie())}},{key:"v5",value:(e=v(regeneratorRuntime.mark((function t(e,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=r,t.next=3,De(e,n);case 3:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 5:case"end":return t.stop()}}),t)}))),function(t,n){return e.apply(this,arguments)})},{key:Symbol.species,get:function(){return Uint8Array}}]),r}(y(Uint8Array)),qe=Symbol.for("nodejs.util.inspect.custom"),He="undefined"!=typeof Deno?"symbols"in Deno?Deno.symbols.customInspect:Deno.customInspect:Symbol();We.prototype[qe]=function(){return"UUID [ ".concat(this.uuid," ]")},We.prototype[He]=function(){return"UUID [ ".concat(this.uuid," ]")};var Fe=function(t){return t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)};function Je(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=e.reduce((function(t,e){return t+e.length}),0),i=new Uint8Array(r),o=0,a=0,s=e;a<s.length;a++){var u=s[a];i.set(u,o),o+=u.length}return i}function $e(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Je.apply(void 0,P(e.map(Fe)))}var Ye=function(t){return crypto.subtle.digest("SHA-256",t)},Ke=function(t){return Ye((new TextEncoder).encode(t))};function Ze(t){return Ge.apply(this,arguments)}function Ge(){return(Ge=v(regeneratorRuntime.mark((function t(e){var n,r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.id,i=e.claps,o=e.nonce,t.t0=$e,t.next=4,Ke(n.toString());case 4:return t.t1=t.sent,t.t2=new We(r.toString()),t.t3=new Uint32Array([i]),t.t4=new Uint32Array([o]),t.abrupt("return",(0,t.t0)(t.t1,t.t2,t.t3,t.t4).buffer);case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Xe(t,e){for(var n=new Uint8Array(t),r=Math.ceil(e/8),i=0;i<r;i++)for(var o=Math.min(8,e-8*i),a=0;a<o;a++)if(0!=(n[i]>>7-a&1))return!1;return!0}var Qe=function(t){return 8+Math.round(Math.log2(15+t))};function tn(t){return en.apply(this,arguments)}function en(){return(en=v(regeneratorRuntime.mark((function t(e){var n,r,i,o,a,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.url,r=e.claps,i=e.id,o=Qe(r),a=0,t.t0=Uint32Array,t.next=6,Ze({url:n,id:i,claps:r,nonce:a});case 6:return t.t1=t.sent,s=new t.t0(t.t1),t.next=10,Ye(s);case 10:u=t.sent;case 11:if(Xe(u,o)){t.next=19;break}return a++,s[s.length-1]=a,t.next=16,Ye(s);case 16:u=t.sent;case 17:t.next=11;break;case 19:return t.abrupt("return",a);case 20:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var nn=Reflect.get(window,"GET_CLAPS_API")||"https://worker.getclaps.app";function rn(t,e,n){for(var r=new URL(t,n),i=0,o=Object.entries(e||{});i<o.length;i++){var a=h(o[i],2),s=a[0],u=a[1];r.searchParams.append(s,u)}return r.href}var on,an,sn,un,cn=new Map,ln=!1,fn=function(){var t=v(regeneratorRuntime.mark((function t(e,n,r){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(i=cn.get(n))||cn.set(n,i=cn.get(n)||v(regeneratorRuntime.mark((function t(){var e,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=rn("/views",A({href:n},r&&!ln?{referrer:r}:{}),nn),t.next=3,fetch(i,{method:"POST",body:null,mode:"cors",credentials:"include",headers:{accept:"application/json"}});case 3:if(o=t.sent,ln=!0,!o.ok||!(null==(e=o.headers.get("Content-Type"))?void 0:e.includes("json"))){t.next=8;break}return t.next=7,o.json();case 7:return t.abrupt("return",t.sent);case 8:if(404!==o.status){t.next=10;break}return t.abrupt("return",{});case 10:throw 402===o.status?o:(cn.delete(n),Error());case 11:case"end":return t.stop()}}),t)})))()),t.next=4,i;case 4:if(t.t1=e,t.t0=t.sent[t.t1],t.t0){t.next=8;break}t.t0={claps:0};case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),hn=function(){var t=v(regeneratorRuntime.mark((function t(e,n){var r,i,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new URL(n)).search="",i=new We,t.next=5,tn({url:r,claps:e,id:i});case 5:return o=t.sent,t.abrupt("return",{href:r.href,id:i,nonce:o});case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),pn=function(){var t=v(regeneratorRuntime.mark((function t(e,n,r,i,o){var a,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=rn("/claps",{href:n},nn),t.next=3,fetch(s,{method:"POST",body:JSON.stringify({claps:e,id:i,nonce:o}),mode:"cors",credentials:"include",headers:{accept:"application/json","content-type":"application/json;charset=UTF-8"}});case 3:if(!(u=t.sent).ok||!(null==(a=u.headers.get("Content-Type"))?void 0:a.includes("json"))){t.next=6;break}return t.abrupt("return",(cn.delete(r),u.clone().json()));case 6:throw Error();case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}(),dn=new Map,vn=function(t){w(n,t);var e=_(n);function n(){var t;return N(this,n),t=e.apply(this,arguments),on.set(k(t),void 0),t}return E(n,[{key:"connectedCountKey",get:function(){}},{key:"allDisconnectedCallback",value:function(){}},{key:"connectedCallback",value:function(){var t;g(x(n.prototype),"connectedCallback",this).call(this),U(this,on,null!=(t=this.connectedCountKey)?t:this),dn.set(R(this,on),1+(dn.get(R(this,on))||0))}},{key:"disconnectedCallback",value:function(){var t;g(x(n.prototype),"disconnectedCallback",this).call(this);var e=((null==dn?void 0:dn.get(R(this,on)))||0)-1;e>0?dn.set(R(this,on),e):(dn.delete(R(this,on)),null==(t=this.allDisconnectedCallback)||t.call(this))}}]),n}(ve);on=new WeakMap,(sn=an||(an={})).Top="top",sn.Bottom="bottom",function(t){t[t.PaymentRequired=1]="PaymentRequired",t[t.CryptoRequired=2]="CryptoRequired",t[t.Generic=3]="Generic"}(un||(un={}));var yn=new it("clap-button"),mn=function(t){for(var e,n,r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];(e=t.classList).remove.apply(e,i),t.offsetWidth,(n=t.classList).add.apply(n,i)},gn=function(t,e){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout((function(){return t.apply(void 0,i)}),e)}},wn=function(t){var e=new URL(t);return e.hash="",e.search="",e.href},bn=function(t){w(n,t);var e=_(n);function n(){return N(this,n),e.apply(this,arguments)}return n}(ve);bn=T([oe("clap-config")],bn);var _n=function(t){w(n,t);var e=_(n);function n(){var t;return N(this,n),(t=e.apply(this,arguments)).at=1,t}return n}(ve);T([ae({type:Number,reflect:!0})],_n.prototype,"at",2),_n=T([oe("clap-text")],_n);var Sn,kn,Cn,xn,Pn,An,En,Nn,Ln=function(t){w(n,t);var e=_(n);function n(){var t;return N(this,n),t=e.apply(this,arguments),Sn.set(k(t),void 0),t.textPlacement=an.Bottom,t.noWave=!1,t.messages=!1,t.uiClaps=0,t.bufferedClaps=0,t.loading=!1,t.clapped=!1,t.clicking=!1,t.ready=!1,t.error=null,t.isIntersecting=!1,kn.set(k(t),void 0),Cn.set(k(t),void 0),xn.set(k(t),new BroadcastChannel("clap-button")),Pn.set(k(t),Math.trunc(1e9*Math.random())),An.set(k(t),(function(e){0===e.button&&(e.preventDefault(),t.clapped=!0,t.clicking=!0,t.bufferedClaps++,mn(t.styleRoot,"clap","ticking"),R(k(t),En).call(k(t)),t.uiClaps=t.bufferedClaps)})),En.set(k(t),gn(v(regeneratorRuntime.mark((function e(){var n,r,i,o,a,s,u,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.bufferedClaps,t.bufferedClaps=0,t.loading=!0,e.next=4,hn(r,t.canonical);case 4:return i=e.sent,o=i.href,a=i.id,s=i.nonce,e.next=10,pn(r,o,t.parentHref,a,s);case 10:return u=e.sent,c=u.claps,t.loading=!1,t.clicking=!1,t.styleRoot.classList.remove("ticking"),mn(t.styleRoot,"clap"),R(k(t),xn).postMessage({btnId:R(k(t),Pn),claps:r,totalClaps:c,href:o}),setTimeout((function(){t.uiClaps=c}),250),e.next=15,yn.get(o);case 15:if(e.t0=n=e.sent,null==e.t0){e.next=20;break}e.t1=n,e.next=21;break;case 20:e.t1={claps:0};case 21:return l=e.t1,e.next=24,yn.set(o,A(A({},l),{claps:l.claps+r}));case 24:case"end":return e.stop()}}),e)}))),3e3)),Nn.set(k(t),(function(e){var n=e.data,r=n.href,i=n.claps;n.btnId!==R(k(t),Pn)&&[r,wn(r)].includes(t.canonical)&&(t.clapped=!0,t.uiClaps+=i,mn(t.styleRoot,"clap"))})),t}return E(n,[{key:"canonical",get:function(){var t=this.href||this.url||"",e=U(this,kn,R(this,kn)||this.ownerDocument.head.querySelector("link[rel=canonical]")),n=null!=e?new URL(e.href):this.ownerDocument.location;return new URL(t,n.origin).href}},{key:"parentHref",get:function(){return wn(this.canonical)}},{key:"referrer",get:function(){var t=new URLSearchParams(this.ownerDocument.location.search);return t.get("referrer")||t.get("referer")||this.ownerDocument.referrer}},{key:"connectedCallback",value:function(){var t=this;if(g(x(n.prototype),"connectedCallback",this).call(this),"crypto"in window&&"subtle"in window.crypto&&"digest"in window.crypto.subtle){R(this,xn).addEventListener("message",R(this,Nn)),Ln.intersectionObserver.observe(this);var e=this.ownerDocument.querySelector("clap-config");U(this,Sn,new MutationObserver((function(){var n,r=Array.from(null!=(n=null==e?void 0:e.querySelectorAll("clap-text"))?n:[]);U(t,Cn,new Map(null==r?void 0:r.map((function(t){return[t.at,t.innerHTML]})).sort((function(t,e){var n=h(t,1)[0];return h(e,1)[0]-n}))))}))),e&&R(this,Sn).observe(e,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),v(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,yn.get(t.canonical);case 3:return e.t0=e.sent,t.clapped=null!=e.t0,e.prev=5,e.next=8,fn(t.canonical,t.parentHref,t.referrer);case 8:n=e.sent,r=n.claps,t.loading=!1,t.ready=!0,t.uiClaps=r,e.next=16;break;case 13:e.prev=13,e.t1=e.catch(5),t.loading=!1,t.ready=!1,t.error=402===e.t1.status?1:3;case 16:case"end":return e.stop()}}),e,null,[[5,13]])})))()}else this.error=2}},{key:"disconnectedCallback",value:function(){g(x(n.prototype),"disconnectedCallback",this).call(this),Ln.intersectionObserver.unobserve(this),R(this,Sn).disconnect(),R(this,xn).removeEventListener("message",R(this,Nn))}},{key:"connectedCountKey",get:function(){return this.parentHref}},{key:"allDisconnectedCallback",value:function(){!function(t){cn.delete(t)}(this.parentHref)}},{key:"render",value:function(){var t,e,n=this,d=$t(r||(r=p(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" id="hand-svg">\n <g class="flat">\n <path d="M57.0443547 6.86206897C57.6058817 6.46227795 57.7389459 5.67962382 57.3416215 5.11431557 56.9442971 4.54900731 56.1672933 4.41483804 55.6055588 4.81504702L52.4950525 7.030721C51.9335255 7.43051202 51.8004613 8.21316614 52.1977857 8.7784744 52.4404567 9.12371996 52.8251182 9.30825496 53.2153846 9.30825496 53.4640757 9.30825496 53.7152578 9.23343783 53.9338485 9.07753396L57.0443547 6.86206897zM48.8035059 6.1414838C48.94778 6.19623824 49.0959982 6.22215256 49.2415177 6.22215256 49.7455426 6.22215256 50.2198824 5.91201672 50.4075424 5.40898642L51.7485642 1.81818182C51.9906124 1.17011494 51.664906.447021944 51.0209664.203343783 50.3772345-.0405433647 49.6587706.287774295 49.4167224.93584117L48.0757006 4.52664577C47.83386 5.17471264 48.1595664 5.89780564 48.8035059 6.1414838zM58.5931726 11.6219436C58.5846615 11.6219436 58.5761504 11.6219436 58.5674317 11.6219436L54.7579749 11.6541275C54.0702341 11.6681296 53.5240687 12.1985371 53.5379772 12.8909091 53.551678 13.5745037 54.1065621 14.1297806 54.7828855 14.1297806 54.7913966 14.1297806 54.7999077 14.1297806 54.8086265 14.1297806L58.6180833 14.0643678C59.305824 14.0501567 59.8519894 13.4934169 59.838081 12.8010449 59.8243801 12.1174504 59.269496 11.6219436 58.5931726 11.6219436z"/>\n <path d="M37.1910045 6.68944619C37.7313574 6.14566353 38.4431784 5.8737722 39.155207 5.8737722 39.967916 5.8737722 40.7808327 6.22800418 41.3380002 6.93667712 42.2214969 8.06039707 42.0666359 9.69111808 41.0600392 10.7042842L39.777765 11.9949843C39.5801407 12.1276907 39.3877061 12.2695925 39.2075193 12.430303 39.0619998 11.5985371 38.7167801 10.7954023 38.1668781 10.0961338 37.4907623 9.23636364 36.588375 8.62424242 35.5772114 8.31410658L37.1910045 6.68944619zM28.5289586 3.66394984C29.0691039 3.12016719 29.7811325 2.84827586 30.4931611 2.84827586 31.3060777 2.84848485 32.1187868 3.20271682 32.6759543 3.91138976 33.559451 5.03510972 33.40459 6.66562173 32.3979933 7.67878788L17.6760235 22.3467085 17.6276554 20.6499478C17.6149925 19.014629 16.8595779 17.554441 15.6854573 16.5945664L28.5289586 3.66394984zM.624996757 36.9889537C.491717597 36.554099.508245877 35.7327064.906400646 35.2666667L3.45579518 32.2829676C3.45662553 32.2819923 4.33763118 25.8376176 6.09881213 12.9498433 6.09881213 11.4271682 7.33624726 10.1814002 8.84873717 10.1814002 10.3612271 10.1814002 11.5988698 11.4271682 11.5988698 12.9498433L11.6704878 15.4649948C9.18191673 15.8089864 7.24428555 17.9170324 7.14921001 20.492581L4.62804751 38.9475444 3.8946373 39.8060606C3.04504924 39.4926018 2.3776139 39.1458968 1.89233128 38.7659456 1.16440735 38.1960189.758275917 37.4238085.624996757 36.9889537z"/>\n <path d="M49.6070811,36.8942529 L42.4182909,44.1316614 C36.2784454,50.3128527 29.8604313,55.2743992 24.2225349,56.5113898 C24.0512744,56.5492163 23.8901857,56.6217346 23.7511014,56.7293626 L20.5013032,59.2417973 C20.2908084,59.4045977 20.1673015,59.6181154 19.5026647,59.6181154 C18.8380279,59.6181154 13.0160695,55.8303982 10.3595306,53.2846814 C7.96626306,50.9912532 3.77432047,43.9549368 4.44453927,43.0079415 L6.99372621,40.0244514 C6.99469496,40.0233368 7.87570061,33.578962 9.63674317,20.6913271 C9.63674317,19.168652 10.8743859,17.922675 12.3868758,17.922675 C13.8993657,17.922675 15.1368008,19.168652 15.1368008,20.6913271 L15.2667512,25.2522466 C15.2883404,26.0100313 15.907577,26.5034483 16.5519317,26.5034483 C16.8662207,26.5034483 17.1867374,26.3857889 17.4464306,26.1245559 L32.0670972,11.4054336 C32.6074501,10.861442 33.3190635,10.5897597 34.0312997,10.5897597 C34.8440088,10.5897597 35.6569254,10.9439916 36.214093,11.6526646 C37.0975897,12.7763845 36.942521,14.4071055 35.9359243,15.4202717 L25.8641449,25.5598746 C25.3412294,26.0865204 25.3412294,26.9398119 25.8641449,27.4660397 C26.1288202,27.7324974 26.4757006,27.8658307 26.822581,27.8658307 C27.1694614,27.8658307 27.5165494,27.7324974 27.7810172,27.4660397 L40.7291431,14.43093 C41.2692884,13.8869383 41.9811094,13.615256 42.6933456,13.615256 C43.5060547,13.615465 44.3189713,13.969697 44.8761389,14.6783699 C45.7596356,15.8018809 45.6045669,17.4326019 44.5979702,18.445768 L31.7106677,31.4198537 C31.1806943,31.953605 31.1806943,32.8183908 31.7106677,33.3521421 C31.9718141,33.615047 32.31392,33.7464995 32.656441,33.7464995 C32.9985469,33.7464995 33.3408603,33.615047 33.6020067,33.3521421 L43.7346096,23.1515152 C44.2749625,22.6075235 44.9867835,22.3358412 45.6988121,22.3358412 C46.5115212,22.3358412 47.3244378,22.6900731 47.8816054,23.3989551 C48.7651021,24.522466 48.6100334,26.153187 47.6034367,27.1663532 L37.5667397,37.2708464 C37.0245185,37.8165099 37.0245185,38.7017764 37.5667397,39.2474399 C37.8334909,39.5161964 38.161896,39.6422153 38.4900934,39.6422153 C38.8184984,39.6422153 39.1469035,39.5161964 39.3972552,39.2639498 L45.6195133,32.999791 C46.1802099,32.4353187 46.93085,32.1368861 47.678999,32.1368861 C48.2741552,32.1368861 48.8676508,32.3258098 49.361919,32.7197492 C50.682182,33.7717868 50.7639719,35.7297806 49.6070811,36.8942529 Z"/>\n </g>\n <g class="outline">\n <path d="M57.1428763 6.63333333C57.6856856 6.24686869 57.8143144 5.49030303 57.4302341 4.94383838 57.0461538 4.39737374 56.2950502 4.26767677 55.7520401 4.65454545L52.7452174 6.79636364C52.202408 7.18282828 52.0737793 7.93939394 52.4578595 8.48585859 52.6924415 8.81959596 53.0642809 8.9979798 53.4415385 8.9979798 53.6819398 8.9979798 53.9247492 8.92565657 54.1360535 8.77494949L57.1428763 6.63333333zM49.1767224 5.93676768C49.3161873 5.98969697 49.4594649 6.01474747 49.6001338 6.01474747 50.0873579 6.01474747 50.5458863 5.71494949 50.727291 5.22868687L52.023612 1.75757576C52.257592 1.13111111 51.9427425.432121212 51.3202676.196565657 50.6979933-.0391919192 50.0034783.278181818 49.7694983.904646465L48.4731773 4.37575758C48.239398 5.00222222 48.5542475 5.70121212 49.1767224 5.93676768zM58.6400669 11.2345455C58.6318395 11.2345455 58.623612 11.2345455 58.6151839 11.2345455L54.932709 11.2656566C54.267893 11.2791919 53.7399331 11.7919192 53.7533779 12.4612121 53.7666221 13.1220202 54.30301 13.6587879 54.9567893 13.6587879 54.9650167 13.6587879 54.9732441 13.6587879 54.9816722 13.6587879L58.6641472 13.5955556C59.3289632 13.5818182 59.8569231 13.0436364 59.8434783 12.3743434 59.8302341 11.7135354 59.2938462 11.2345455 58.6400669 11.2345455zM51.2107023 29.7280808C50.5940468 29.2365657 49.8640134 28.9020202 49.0922408 28.7448485 49.1432107 28.6519192 49.1907692 28.5573737 49.2357191 28.4614141L49.7189298 27.9749495C51.5799331 26.1012121 51.7753846 23.1519192 50.1732441 21.1141414 49.4169231 20.1523232 48.3670234 19.5131313 47.2009365 19.2745455 47.284214 19.120202 47.3580602 18.9624242 47.4250836 18.8022222 48.6925084 16.9539394 48.6718395 14.469899 47.2681605 12.6844444 46.5116388 11.7220202 45.4613378 11.0808081 44.2946488 10.8426263 45.2578595 9.05959596 45.1348495 6.83737374 43.8481605 5.20121212 42.8753177 3.96383838 41.4182609 3.25393939 39.8502341 3.25393939 38.5946488 3.25393939 37.4101003 3.70565657 36.480602 4.53272727 36.3399331 3.72888889 36.0064214 2.95252525 35.4748495 2.27636364 34.501806 1.0389899 33.0447492.329292929 31.4767224.329090909 30.1141806.329090909 28.8351171.861414141 27.8753177 1.82767677L15.6666221 14.1185859 15.6200669 12.4781818C15.5985953 9.68424242 13.3340468 7.41777778 10.5537793 7.41777778 7.8238796 7.41777778 5.59143813 9.60262626 5.49110368 12.3264646L3.05377926 30.1660606 1.05050167 32.510303C-.150100334 33.9157576.751318148 36.4103164 1.05050167 37.002855 1.3496852 37.5953936 1.66593319 37.9666982 2.51271962 38.8651283 2.8050341 39.1752704 3.3712736 39.6680391 4.21143813 40.3434343 3.2935786 41.7335354 4.72327715 47.298456 9.51045561 52.4226263 15.4436869 58.7735254 20.1888963 59.9262626 21.1316388 59.9262626 21.9056187 59.9262626 22.6703679 59.6646465 23.2846154 59.189899L26.2031438 56.9337374C29.0107023 56.2660606 32.1060201 54.7492929 35.4086288 52.4226263 38.2924415 50.3907071 41.4210702 47.6832323 44.7070234 44.3749495L51.656388 37.3787879C52.681204 36.3470707 53.220602 34.9165657 53.1363211 33.4541414 53.0520401 31.9941414 52.350301 30.6361616 51.2107023 29.7280808zM37.9513043 6.46646465C38.4736455 5.94080808 39.1617391 5.6779798 39.8500334 5.6779798 40.6356522 5.6779798 41.4214716 6.02040404 41.9600669 6.70545455 42.8141137 7.79171717 42.6644147 9.36808081 41.6913712 10.3474747L40.4518395 11.5951515C40.2608027 11.7234343 40.0747826 11.8606061 39.900602 12.0159596 39.7599331 11.2119192 39.4262207 10.4355556 38.8946488 9.75959596 38.2410702 8.92848485 37.3687625 8.33676768 36.3913043 8.0369697L37.9513043 6.46646465zM29.5779933 3.54181818C30.1001338 3.01616162 30.7884281 2.75333333 31.4767224 2.75333333 32.2625418 2.75353535 33.0481605 3.0959596 33.5867559 3.7810101 34.4408027 4.86727273 34.2911037 6.44343434 33.3180602 7.42282828L19.0868227 21.6018182 19.0400669 19.9616162C19.0278261 18.3808081 18.297592 16.9692929 17.1626087 16.0414141L29.5779933 3.54181818zM2.60416353 35.7559886C2.47532701 35.335629 2.49130435 34.5416162 2.87618729 34.0911111L5.34060201 31.2068687C5.34140468 31.2059259 6.19304348 24.9763636 7.89551839 12.5181818 7.89551839 11.0462626 9.09170569 9.8420202 10.5537793 9.8420202 12.0158528 9.8420202 13.2122408 11.0462626 13.2122408 12.5181818L13.2814716 14.9494949C10.8758528 15.2820202 9.00280936 17.319798 8.91090301 19.8094949L6.47377926 37.6492929 5.76481605 38.4791919C4.9435476 38.1761817 4.2983601 37.8410335 3.82925357 37.4737474 3.12559377 36.9228183 2.73300005 36.1763482 2.60416353 35.7559886zM49.9535117 35.6644444L43.0043478 42.6606061C37.0691639 48.6357576 30.8650836 53.4319192 25.4151171 54.6276768 25.2495652 54.6642424 25.0938462 54.7343434 24.959398 54.8383838L21.8179264 57.2670707C21.6144482 57.4244444 21.4950582 57.6308449 20.8525759 57.6308449 20.2100936 57.6308449 14.5822005 53.9693849 12.0142129 51.5085254 9.70072096 49.2915447 5.64850979 42.4897722 6.29638796 41.5743434L8.76060201 38.690303C8.76153846 38.6892256 9.61317726 32.4596633 11.3155184 20.0016162 11.3155184 18.529697 12.5119064 17.3252525 13.9739799 17.3252525 15.4360535 17.3252525 16.6322408 18.529697 16.6322408 20.0016162L16.7578595 24.4105051C16.7787291 25.1430303 17.3773244 25.62 18.0002007 25.62 18.3040134 25.62 18.6138462 25.5062626 18.8648829 25.2537374L32.998194 11.0252525C33.5205351 10.4993939 34.2084281 10.2367677 34.8969231 10.2367677 35.6825418 10.2367677 36.4683612 10.5791919 37.0069565 11.2642424 37.8610033 12.3505051 37.7111037 13.9268687 36.7380602 14.9062626L27.0020067 24.7078788C26.4965217 25.2169697 26.4965217 26.0418182 27.0020067 26.5505051 27.2578595 26.8080808 27.5931773 26.9369697 27.928495 26.9369697 28.2638127 26.9369697 28.5993311 26.8080808 28.8549833 26.5505051L41.371505 13.949899C41.8936455 13.4240404 42.5817391 13.1614141 43.2702341 13.1614141 44.0558528 13.1616162 44.8416722 13.5040404 45.3802676 14.1890909 46.2343144 15.2751515 46.0844147 16.8515152 45.1113712 17.8309091L32.6536455 30.3725253C32.1413378 30.8884848 32.1413378 31.7244444 32.6536455 32.240404 32.906087 32.4945455 33.2367893 32.6216162 33.567893 32.6216162 33.8985953 32.6216162 34.2294983 32.4945455 34.4819398 32.240404L44.2767893 22.379798C44.7991304 21.8539394 45.4872241 21.5913131 46.1755184 21.5913131 46.9611371 21.5913131 47.7469565 21.9337374 48.2855518 22.6189899 49.1395987 23.7050505 48.989699 25.2814141 48.0166555 26.2608081L38.3145151 36.0284848C37.7903679 36.5559596 37.7903679 37.4117172 38.3145151 37.9391919 38.5723746 38.1989899 38.8898328 38.3208081 39.2070903 38.3208081 39.5245485 38.3208081 39.8420067 38.1989899 40.0840134 37.9551515L46.0988629 31.899798C46.6408696 31.3541414 47.3664883 31.0656566 48.089699 31.0656566 48.6650167 31.0656566 49.2387291 31.2482828 49.7165217 31.6290909 50.9927759 32.6460606 51.0718395 34.5387879 49.9535117 35.6644444z"/>\n </g>\n </svg>']))),v=$t(i||(i=p(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" id="countdown-svg">\n <g class="countdown">\n <circle cx="50" cy="50" r="49"/>\n </g>\n </svg>\n ']))),y=this.bufferedClaps,m=5+y,g=300*(1-Math.pow(Math.E,-y/15)),w=$t(o||(o=p(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 20 20">\n <g class="sparkle">\n ',"\n </g>\n </svg>"])),Ee(function(t){return P(new Array(t).keys())}(m),(function(t){return t}),(function(t){return $t(a||(a=p(["<g style=",">\n <circle style=",' cx="0" cy="0" r="1"/>\n </g>'])),be({transform:"rotate(".concat(Math.floor(360/m*t),"deg) translateX(10px)")}),be({animationDelay:"".concat(Math.floor(Math.random()*g),"ms")}))})));return Jt(s||(s=p(["\n <div \n class=","\n style=",'\n >\n <div class="shockwave"></div>\n <div class=','>\n <div class="count">\n ',"","\n ","\n ","\n ","\n </div>\n </div>\n <div class=",">\n ","\n </div>\n ","\n ","\n ","\n <button\n ?disabled=","\n @mousedown=","\n @touchstart=","\n ></button>\n </div>\n "])),ge({"style-root":!0,loading:this.loading,clapped:this.clapped,"no-shockwave":this.noWave||!this.ready,"no-animation":!this.isIntersecting}),be(A({},null!=this.error?{"--clap-button-color":"indianred"}:{})),ge({"count-container":!0,"container-top":this.textPlacement===an.Top,"container-bottom":this.textPlacement===an.Bottom}),this.clicking?"+":"",this.ready?function(t){return null!=t?t.toLocaleString("en"):""}(this.uiClaps):"",1===this.error?Jt(u||(u=p(['<a class="error" href="','">Payment required</a>'])),"https://getclaps.app"):null,2===this.error?Jt(c||(c=p(['<span class="error">Crypto required</span>']))):null,3===this.error?Jt(l||(l=p(['<span class="error">Error</span>']))):null,ge({"count-container":!0,"container-top":this.textPlacement===an.Bottom,"container-bottom":this.textPlacement===an.Top}),this.messages?Jt(f||(f=p(['<div style="font-size:smaller">\n ',"\n </div>"])),this.clicking?Le(null!=(e=null==(t=P(R(this,Cn)).find((function(t){var e=h(t,1)[0];return n.uiClaps>=e})))?void 0:t[1])?e:""):""):null,d,w,v,this.loading||!this.ready,this.loading||!this.ready?null:R(this,An),this.loading||!this.ready?null:R(this,An))}}]),n}(vn);Sn=new WeakMap,kn=new WeakMap,Cn=new WeakMap,xn=new WeakMap,Pn=new WeakMap,An=new WeakMap,En=new WeakMap,Nn=new WeakMap,Ln.styles=Me,Ln.intersectionObserver=new IntersectionObserver((function(t){t.forEach((function(t){return t.target.isIntersecting=t.isIntersecting}))})),T([function(t,e){return function(n,r){var i={get:function(){return this.renderRoot.querySelector(t)},enumerable:!0,configurable:!0};if(e){var o="symbol"==L(r)?Symbol():"__".concat(r);i.get=function(){return void 0===this[o]&&(this[o]=this.renderRoot.querySelector(t)),this[o]}}return void 0!==r?se(i,n,r):ue(i,n)}}(".style-root")],Ln.prototype,"styleRoot",2),T([ae({type:String,reflect:!0,attribute:"text-placement"})],Ln.prototype,"textPlacement",2),T([ae({type:Boolean,reflect:!0})],Ln.prototype,"noWave",2),T([ae({type:Boolean,reflect:!0})],Ln.prototype,"messages",2),T([ae({type:String,reflect:!1})],Ln.prototype,"href",2),T([ae({type:String,reflect:!1})],Ln.prototype,"url",2),T([ae()],Ln.prototype,"uiClaps",2),T([ae()],Ln.prototype,"bufferedClaps",2),T([ae()],Ln.prototype,"loading",2),T([ae()],Ln.prototype,"clapped",2),T([ae()],Ln.prototype,"clicking",2),T([ae()],Ln.prototype,"ready",2),T([ae()],Ln.prototype,"error",2),T([ae()],Ln.prototype,"isIntersecting",2),Ln=T([oe("clap-button")],Ln)}()}}]);
@@ -1,14 +0,0 @@
1
- /*!
2
- * __ __ __ __
3
- * /\ \/\ \ /\ \ __ /\ \
4
- * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
5
- * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
6
- * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
7
- * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
8
- * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
9
- * /\___/ \ \____/
10
- * \/__/ \/___/
11
- *
12
- * Powered by Hydejack v9.1.3 <https://hydejack.com/>
13
- */
14
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{186:function(e,t){!function(e){var t=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";t[i]=t[i]||[],t[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),e.addEventListener("storage",(function(t){if(t.storageArea===e.localStorage&&null!=t.newValue&&""!==t.newValue&&t.key.substring(0,i.length)===i){var n=JSON.parse(t.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),s=this._id+String(Date.now())+"$"+String(Math.random());e.localStorage.setItem(s,o),setTimeout((function(){e.localStorage.removeItem(s)}),500),t[this._id].forEach((function(e){e!==r&&e._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var e=t[this._id].indexOf(this);t[this._id].splice(e,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(e){this._mc.port1.onmessage=e},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},e.BroadcastChannel=e.BroadcastChannel||n}(self)},187:function(e,t){var n,r,i,o,s,a,l,c,u,h;function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function p(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){p(o,r,i,s,a,"next",e)}function a(e){p(o,r,i,s,a,"throw",e)}s(void 0)}))}}(()=>{var e=Object.defineProperty,t=Object.prototype.hasOwnProperty,p=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertySymbols,m=Object.prototype.propertyIsEnumerable,y=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,g=(e,n)=>{for(var r in n||(n={}))t.call(n,r)&&y(e,r,n[r]);if(v)for(var r of v(n))m.call(n,r)&&y(e,r,n[r]);return e},w=(t,n,r,i)=>{for(var o,s=i>1?void 0:i?p(n,r):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i?o(n,r,s):o(s))||s);return i&&s&&e(n,r,s),s},_=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},b=(e,t,n)=>(_(e,t,"read from private field"),n?n.call(e):t.get(e)),S=(e,t,n,r)=>(_(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);!function(e){var t=[];function n(n){var r=this,i="$BroadcastChannel$"+(n=String(n))+"$";t[i]=t[i]||[],t[i].push(this),this._name=n,this._id=i,this._closed=!1,this._mc=new MessageChannel,this._mc.port1.start(),this._mc.port2.start(),e.addEventListener("storage",(function(t){if(t.storageArea===e.localStorage&&null!=t.newValue&&""!==t.newValue&&t.key.substring(0,i.length)===i){var n=JSON.parse(t.newValue);r._mc.port2.postMessage(n)}}))}n.prototype={get name(){return this._name},postMessage:function(n){var r=this;if(this._closed){var i=new Error;throw i.name="InvalidStateError",i}var o=JSON.stringify(n),s=this._id+String(Date.now())+"$"+String(Math.random());e.localStorage.setItem(s,o),setTimeout((function(){e.localStorage.removeItem(s)}),500),t[this._id].forEach((function(e){e!==r&&e._mc.port2.postMessage(JSON.parse(o))}))},close:function(){if(!this._closed){this._closed=!0,this._mc.port1.close(),this._mc.port2.close();var e=t[this._id].indexOf(this);t[this._id].splice(e,1)}},get onmessage(){return this._mc.port1.onmessage},set onmessage(e){this._mc.port1.onmessage=e},addEventListener:function(){return this._mc.port1.addEventListener.apply(this._mc.port1,arguments)},removeEventListener:function(){return this._mc.port1.removeEventListener.apply(this._mc.port1,arguments)},dispatchEvent:function(){return this._mc.port1.dispatchEvent.apply(this._mc.port1,arguments)}},e.BroadcastChannel=e.BroadcastChannel||n}(self);var C=function(){function e(){}return e.prototype.then=function(t,n){var r=new e,i=this.s;if(i){var o=1&i?t:n;if(o){try{x(r,1,o(this.v))}catch(e){x(r,2,e)}return r}return this}return this.o=function(e){try{var i=e.v;1&e.s?x(r,1,t?t(i):i):n?x(r,1,n(i)):x(r,2,i)}catch(i){x(r,2,i)}},r},e}();function x(e,t,n){if(!e.s){if(n instanceof C){if(!n.s)return void(n.o=x.bind(null,e,t));1&t&&(t=n.s),n=n.v}if(n&&n.then)return void n.then(x.bind(null,e,t),x.bind(null,e,2));e.s=t,e.v=n;var r=e.o;r&&r(e)}}var k=0,P="function"==typeof WeakMap?WeakMap:function(){var e="function"==typeof Symbol?Symbol(0):"__weak$"+ ++k;this.set=function(t,n){t[e]=n},this.get=function(t){return t[e]}};function N(e,t){return new Promise((function(n,r){e.onsuccess=function(){var r=e.result;t&&(r=t(r)),n(r)},e.onerror=function(){r(e.error)}}))}function A(e,t){return N(e.openCursor(t),(function(e){return e?[e.key,e.value]:[]}))}function L(e){return new Promise((function(t,n){e.oncomplete=function(){t()},e.onabort=function(){n(e.error)},e.onerror=function(){n(e.error)}}))}function E(e){if(!("number"==typeof(t=e)||"string"==typeof t||"object"==typeof t&&t&&(Array.isArray(t)||"setUTCFullYear"in t||"function"==typeof ArrayBuffer&&ArrayBuffer.isView(t)||"byteLength"in t&&"length"in t)))throw Error("kv-storage: The given value is not allowed as a key");var t}var M={};function T(e,t){return A(e,U(t))}function U(e){return e===M?IDBKeyRange.lowerBound(-1/0):IDBKeyRange.lowerBound(e,!0)}var O=new P,V=new P,j=new P,I=new P,R=function(){};function B(e,t){return t((function(t,n){try{var r=function(){return V.set(e,o),j.set(e,void 0),{value:a,done:void 0===o}},i=V.get(e);if(void 0===i)return Promise.resolve({value:void 0,done:!0});var o,s,a,l=function(e,t){var n,r=-1;e:{for(var i=0;i<t.length;i++){var o=t[i][0];if(o){var s=o();if(s&&s.then)break e;if(s===e){r=i;break}}else r=i}if(-1!==r){do{for(var a=t[r][1];!a;)a=t[++r][1];var l=a();if(l&&l.then){n=!0;break e}var c=t[r][2];r++}while(c&&!c());return l}}var u=new C,h=x.bind(null,u,2);return(n?l.then(d):s.then((function n(s){for(;;){if(s===e){r=i;break}if(++i===t.length){if(-1!==r)break;return void x(u,1,l)}if(o=t[i][0]){if((s=o())&&s.then)return void s.then(n).then(void 0,h)}else r=i}do{for(var a=t[r][1];!a;)a=t[++r][1];var l=a();if(l&&l.then)return void l.then(d).then(void 0,h);var c=t[r][2];r++}while(c&&!c());x(u,1,l)}))).then(void 0,h),u;function d(e){for(;;){var n=t[r][2];if(!n||n())break;for(var i=t[++r][1];!i;)i=t[++r][1];if((e=i())&&e.then)return void e.then(d).then(void 0,h)}x(u,1,e)}}(I.get(e),[[function(){return"keys"},function(){return Promise.resolve((e=n,t=i,A(e,U(t)).then((function(e){return e[0]})))).then((function(e){a=o=e}));var e,t}],[function(){return"values"},function(){return Promise.resolve(T(n,i)).then((function(e){var t;o=(t=e)[0],a=s=t[1]}))}],[function(){return"entries"},function(){return Promise.resolve(T(n,i)).then((function(e){var t;s=(t=e)[1],a=void 0===(o=t[0])?void 0:[o,s]}))}]]);return Promise.resolve(l&&l.then?l.then(r):r())}catch(r){return Promise.reject(r)}}))}function D(e,t){var n=new R;return I.set(n,e),O.set(n,t),V.set(n,M),j.set(n,void 0),n}R.prototype.return=function(){V.set(this,void 0)},R.prototype.next=function(){var e=this,t=O.get(this);if(!t)return Promise.reject(new TypeError("Invalid this value"));var n,r=j.get(this);return n=void 0!==r?r.then((function(){return B(e,t)})):B(this,t),j.set(this,n),n},"function"==typeof Symbol&&Symbol.asyncIterator&&(R.prototype[Symbol.asyncIterator]=function(){return this});var z=function(e,t,n){try{return null===q.get(e)&&(r=e,i=W.get(r),q.set(r,new Promise((function(e,t){var n=self.indexedDB.open(i,1);n.onsuccess=function(){var o=n.result;(function(e,t,n){if(1!==e.objectStoreNames.length||e.objectStoreNames[0]!==H)return n(F(t)),!1;var r=e.transaction(H,"readonly").objectStore(H);return!(r.autoIncrement||r.keyPath||r.indexNames.length)||(n(F(t)),!1)})(o,i,t)&&(o.onclose=function(){q.set(r,null)},o.onversionchange=function(){o.close(),q.set(r,null)},e(o))},n.onerror=function(){return t(n.error)},n.onupgradeneeded=function(){try{n.result.createObjectStore(H)}catch(e){t(e)}}})))),Promise.resolve(q.get(e)).then((function(e){var r=e.transaction(H,t),i=r.objectStore(H);return n(r,i)}))}catch(r){return Promise.reject(r)}var r,i},W=new P,q=new P,H="store",J=function(e){var t="kv-storage:"+e;q.set(this,null),W.set(this,t),this.backingStore={database:t,store:H,version:1}};function F(e){return new Error('kv-storage: database "'+e+'" corrupted')}J.prototype.set=function(e,t){try{return E(e),z(this,"readwrite",(function(n,r){return void 0===t?r.delete(e):r.put(t,e),L(n)}))}catch(e){return Promise.reject(e)}},J.prototype.get=function(e){try{return E(e),z(this,"readonly",(function(t,n){return N(n.get(e))}))}catch(e){return Promise.reject(e)}},J.prototype.delete=function(e){try{return E(e),z(this,"readwrite",(function(t,n){return n.delete(e),L(t)}))}catch(e){return Promise.reject(e)}},J.prototype.clear=function(){try{var e,t=function(){function t(){return N(self.indexedDB.deleteDatabase(W.get(n)))}var r=function(){if(e){try{e.close()}catch(e){}return Promise.resolve(new Promise(setTimeout)).then((function(){}))}}();return r&&r.then?r.then(t):t()},n=this,r=q.get(n),i=function(){if(null!==r){var t=function(){q.set(n,null)},i=function(t,n){try{var i=Promise.resolve(r).then((function(t){e=t}))}catch(e){return}return i&&i.then?i.then(void 0,(function(){})):i}();return i&&i.then?i.then(t):t()}}();return i&&i.then?i.then(t):t()}catch(t){return Promise.reject(t)}},J.prototype.keys=function(){var e=this;return D("keys",(function(t){return z(e,"readonly",t)}))},J.prototype.values=function(){var e=this;return D("values",(function(t){return z(e,"readonly",t)}))},J.prototype.entries=function(){var e=this;return D("entries",(function(t){return z(e,"readonly",t)}))},"function"==typeof Symbol&&Symbol.asyncIterator&&(J.prototype[Symbol.asyncIterator]=J.prototype.entries);new J("default");var $="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Y=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t!==n;){var i=t.nextSibling;e.insertBefore(t,r),t=i}},K=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t!==n;){var r=t.nextSibling;e.removeChild(t),t=r}},Z="{{lit-".concat(String(Math.random()).slice(2),"}}"),G="\x3c!--".concat(Z,"--\x3e"),X=new RegExp("".concat(Z,"|").concat(G)),Q="$lit$",ee=class{constructor(e,t){this.parts=[],this.element=t;for(var n=[],r=[],i=document.createTreeWalker(t.content,133,null,!1),o=0,s=-1,a=0,{strings:l,values:{length:c}}=e;a<c;){var u=i.nextNode();if(null!==u){if(s++,1===u.nodeType){if(u.hasAttributes()){for(var h=u.attributes,{length:d}=h,p=0,f=0;f<d;f++)te(h[f].name,Q)&&p++;for(;p-- >0;){var v=l[a],m=ie.exec(v)[2],y=m.toLowerCase()+Q,g=u.getAttribute(y);u.removeAttribute(y);var w=g.split(X);this.parts.push({type:"attribute",index:s,name:m,strings:w}),a+=w.length-1}}"TEMPLATE"===u.tagName&&(r.push(u),i.currentNode=u.content)}else if(3===u.nodeType){var _=u.data;if(_.indexOf(Z)>=0){for(var b=u.parentNode,S=_.split(X),C=S.length-1,x=0;x<C;x++){var k=void 0,P=S[x];if(""===P)k=re();else{var N=ie.exec(P);null!==N&&te(N[2],Q)&&(P=P.slice(0,N.index)+N[1]+N[2].slice(0,-Q.length)+N[3]),k=document.createTextNode(P)}b.insertBefore(k,u),this.parts.push({type:"node",index:++s})}""===S[C]?(b.insertBefore(re(),u),n.push(u)):u.data=S[C],a+=C}}else if(8===u.nodeType)if(u.data===Z){var A=u.parentNode;(null===u.previousSibling||s===o)&&(s++,A.insertBefore(re(),u)),o=s,this.parts.push({type:"node",index:s}),null===u.nextSibling?u.data="":(n.push(u),s--),a++}else for(var L=-1;-1!==(L=u.data.indexOf(Z,L+1));)this.parts.push({type:"node",index:-1}),a++}else i.currentNode=r.pop()}for(var E of n)E.parentNode.removeChild(E)}},te=(e,t)=>{var n=e.length-t.length;return n>=0&&e.slice(n)===t},ne=e=>-1!==e.index,re=()=>document.createComment(""),ie=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function oe(e,t){for(var{element:{content:n},parts:r}=e,i=document.createTreeWalker(n,133,null,!1),o=ae(r),s=r[o],a=-1,l=0,c=[],u=null;i.nextNode();){a++;var h=i.currentNode;for(h.previousSibling===u&&(u=null),t.has(h)&&(c.push(h),null===u&&(u=h)),null!==u&&l++;void 0!==s&&s.index===a;)s.index=null!==u?-1:s.index-l,s=r[o=ae(r,o)]}c.forEach(e=>e.parentNode.removeChild(e))}var se=e=>{for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,133,null,!1);n.nextNode();)t++;return t},ae=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=t+1;n<e.length;n++){var r=e[n];if(ne(r))return n}return-1};var le=new WeakMap,ce=e=>function(){var t=e(...arguments);return le.set(t,!0),t},ue=e=>"function"==typeof e&&le.has(e),he={},de={},pe=class{constructor(e,t,n){this.__parts=[],this.template=e,this.processor=t,this.options=n}update(e){var t=0;for(var n of this.__parts)void 0!==n&&n.setValue(e[t]),t++;for(var r of this.__parts)void 0!==r&&r.commit()}_clone(){for(var e,t=$?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(t,133,null,!1),o=0,s=0,a=i.nextNode();o<r.length;)if(e=r[o],ne(e)){for(;s<e.index;)s++,"TEMPLATE"===a.nodeName&&(n.push(a),i.currentNode=a.content),null===(a=i.nextNode())&&(i.currentNode=n.pop(),a=i.nextNode());if("node"===e.type){var l=this.processor.handleTextExpression(this.options);l.insertAfterNode(a.previousSibling),this.__parts.push(l)}else this.__parts.push(...this.processor.handleAttributeExpressions(a,e.name,e.strings,this.options));o++}else this.__parts.push(void 0),o++;return $&&(document.adoptNode(t),customElements.upgrade(t)),t}},fe=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:e=>e}),ve=" ".concat(Z," "),me=class{constructor(e,t,n,r){this.strings=e,this.values=t,this.type=n,this.processor=r}getHTML(){for(var e=this.strings.length-1,t="",n=!1,r=0;r<e;r++){var i=this.strings[r],o=i.lastIndexOf("\x3c!--");n=(o>-1||n)&&-1===i.indexOf("--\x3e",o+1);var s=ie.exec(i);t+=null===s?i+(n?ve:G):i.substr(0,s.index)+s[1]+s[2]+Q+s[3]+Z}return t+=this.strings[e]}getTemplateElement(){var e=document.createElement("template"),t=this.getHTML();return void 0!==fe&&(t=fe.createHTML(t)),e.innerHTML=t,e}},ye=class extends me{getHTML(){return"<svg>".concat(super.getHTML(),"</svg>")}getTemplateElement(){var e=super.getTemplateElement(),t=e.content,n=t.firstChild;return t.removeChild(n),Y(t,n.firstChild),e}},ge=e=>null===e||!("object"==typeof e||"function"==typeof e),we=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]),_e=class{constructor(e,t,n){this.dirty=!0,this.element=e,this.name=t,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}_createPart(){return new be(this)}_getValue(){var e=this.strings,t=e.length-1,n=this.parts;if(1===t&&""===e[0]&&""===e[1]){var r=n[0].value;if("symbol"==typeof r)return String(r);if("string"==typeof r||!we(r))return r}for(var i="",o=0;o<t;o++){i+=e[o];var s=n[o];if(void 0!==s){var a=s.value;if(ge(a)||!we(a))i+="string"==typeof a?a:String(a);else for(var l of a)i+="string"==typeof l?l:String(l)}}return i+=e[t]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}},be=class{constructor(e){this.value=void 0,this.committer=e}setValue(e){e!==he&&(!ge(e)||e!==this.value)&&(this.value=e,ue(e)||(this.committer.dirty=!0))}commit(){for(;ue(this.value);){var e=this.value;this.value=he,e(this)}this.value!==he&&this.committer.commit()}},Se=class{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild(re()),this.endNode=e.appendChild(re())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=re()),e.__insert(this.endNode=re())}insertAfterPart(e){e.__insert(this.startNode=re()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null!==this.startNode.parentNode){for(;ue(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=he,e(this)}var t=this.__pendingValue;t!==he&&(ge(t)?t!==this.value&&this.__commitText(t):t instanceof me?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):we(t)?this.__commitIterable(t):t===de?(this.value=de,this.clear()):this.__commitText(t))}}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){var t=this.startNode.nextSibling,n="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=n:this.__commitNode(document.createTextNode(n)),this.value=e}__commitTemplateResult(e){var t=this.options.templateFactory(e);if(this.value instanceof pe&&this.value.template===t)this.value.update(e.values);else{var n=new pe(t,e.processor,this.options),r=n._clone();n.update(e.values),this.__commitNode(r),this.value=n}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());var t,n=this.value,r=0;for(var i of e)void 0===(t=n[r])&&(t=new Se(this.options),n.push(t),0===r?t.appendIntoPart(this):t.insertAfterPart(n[r-1])),t.setValue(i),t.commit(),r++;r<n.length&&(n.length=r,this.clear(t&&t.endNode))}clear(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;K(this.startNode.parentNode,e.nextSibling,this.endNode)}},Ce=class{constructor(e,t,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=n}setValue(e){this.__pendingValue=e}commit(){for(;ue(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=he,e(this)}if(this.__pendingValue!==he){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=he}}},xe=class extends _e{constructor(e,t,n){super(e,t,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new ke(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}},ke=class extends be{},Pe=!1;(()=>{try{var e={get capture(){return Pe=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();var Ne=class{constructor(e,t,n){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=n,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;ue(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=he,e(this)}if(this.__pendingValue!==he){var t=this.__pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),i=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=Ae(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=he}}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}},Ae=e=>e&&(Pe?{capture:e.capture,passive:e.passive,once:e.once}:e.capture);function Le(e){var t=Ee.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},Ee.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(Z);return void 0===(n=t.keyString.get(r))&&(n=new ee(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var Ee=new Map,Me=new WeakMap,Te=new class{handleAttributeExpressions(e,t,n,r){var i=t[0];return"."===i?new xe(e,t.slice(1),n).parts:"@"===i?[new Ne(e,t.slice(1),r.eventContext)]:"?"===i?[new Ce(e,t.slice(1),n)]:new _e(e,t,n).parts}handleTextExpression(e){return new Se(e)}};"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var Ue=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new me(e,n,"html",Te)},Oe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new ye(e,n,"svg",Te)},Ve=(e,t)=>"".concat(e,"--").concat(t),je=!0;void 0===window.ShadyCSS?je=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/webcomponentsjs@2.0.2 and @webcomponents/shadycss@1.3.1."),je=!1);var Ie=e=>t=>{var n=Ve(t.type,e),r=Ee.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},Ee.set(n,r));var i=r.stringsArray.get(t.strings);if(void 0!==i)return i;var o=t.strings.join(Z);if(void 0===(i=r.keyString.get(o))){var s=t.getTemplateElement();je&&window.ShadyCSS.prepareTemplateDom(s,e),i=new ee(t,s),r.keyString.set(o,i)}return r.stringsArray.set(t.strings,i),i},Re=["html","svg"],Be=new Set,De=(e,t,n)=>{Be.add(e);var r=n?n.element:document.createElement("template"),i=t.querySelectorAll("style"),{length:o}=i;if(0!==o){for(var s=document.createElement("style"),a=0;a<o;a++){var l=i[a];l.parentNode.removeChild(l),s.textContent+=l.textContent}(e=>{Re.forEach(t=>{var n=Ee.get(Ve(t,e));void 0!==n&&n.keyString.forEach(e=>{var{element:{content:t}}=e,n=new Set;Array.from(t.querySelectorAll("style")).forEach(e=>{n.add(e)}),oe(e,n)})})})(e);var c=r.content;n?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{element:{content:r},parts:i}=e;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),s=ae(i),a=0,l=-1;o.nextNode();)for(l++,o.currentNode===n&&(a=se(t),n.parentNode.insertBefore(t,n));-1!==s&&i[s].index===l;){if(a>0){for(;-1!==s;)i[s].index+=a,s=ae(i,s);return}s=ae(i,s)}else r.appendChild(t)}(n,s,c.firstChild):c.insertBefore(s,c.firstChild),window.ShadyCSS.prepareTemplateStyles(r,e);var u=c.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==u)t.insertBefore(u.cloneNode(!0),t.firstChild);else if(n){c.insertBefore(s,c.firstChild);var h=new Set;h.add(s),oe(n,h)}}else window.ShadyCSS.prepareTemplateStyles(r,e)};window.JSCompiler_renameProperty=(e,t)=>e;var ze={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}},We=(e,t)=>t!==e&&(t==t||e==e),qe={attribute:!0,type:String,converter:ze,reflect:!1,hasChanged:We},He="finalized",Je=class extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();var e=[];return this._classProperties.forEach((t,n)=>{var r=this._attributeNameForProperty(n,t);void 0!==r&&(this._attributeToPropertyMap.set(r,n),e.push(r))}),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((e,t)=>this._classProperties.set(t,e))}}static createProperty(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qe;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"==typeof e?Symbol():"__".concat(e),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){var i=this[e];this[t]=r,this.requestUpdateInternal(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||qe}static finalize(){var e=Object.getPrototypeOf(this);if(e.hasOwnProperty(He)||e.finalize(),this[He]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t=this.properties,n=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(var r of n)this.createProperty(r,t[r])}}static _attributeNameForProperty(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:We)(e,t)}static _propertyValueFromAttribute(e,t){var n=t.type,r=t.converter||ze,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}static _propertyValueToAttribute(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||ze.toAttribute)(e,n)}}initialize(){this._updateState=0,this._updatePromise=new Promise(e=>this._enableUpdatingResolver=e),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach((e,t)=>{if(this.hasOwnProperty(t)){var n=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,n)}})}_applyInstanceProperties(){this._instanceProperties.forEach((e,t)=>this[t]=e),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,n){t!==n&&this._attributeToProperty(e,n)}_propertyToAttribute(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qe,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}requestUpdateInternal(e,t,n){var r=!0;if(void 0!==e){var i=this.constructor;n=n||i.getPropertyOptions(e),i._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0===n.reflect&&!(16&this._updateState)&&(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}_enqueueUpdate(){var e=this;return f((function*(){e._updateState=4|e._updateState;try{yield e._updatePromise}catch(e){}var t=e.performUpdate();return null!=t&&(yield t),!e._hasRequestedUpdate}))()}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((e,t)=>this._propertyToAttribute(t,this[t],e)),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}};Je.finalized=!0;var Fe=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{var{kind:n,elements:r}=t;return{kind:n,elements:r,finisher(t){window.customElements.define(e,t)}}})(e,t),$e=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher(n){n.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function Ye(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):$e(e,t)}var Ke=(e,t,n)=>{Object.defineProperty(t,n,e)},Ze=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),Ge=Element.prototype,Xe=(Ge.msMatchesSelector||Ge.webkitMatchesSelector,window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype),Qe=Symbol(),et=class{constructor(e,t){if(t!==Qe)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(Xe?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}},tt=e=>{if(e instanceof et)return e.cssText;if("number"==typeof e)return e;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(e,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))};(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var nt={},rt=class extends Je{static getStyles(){return this.styles}static _getUniqueStyles(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var e=this.getStyles();if(Array.isArray(e)){var t=(e,n)=>e.reduceRight((e,n)=>Array.isArray(n)?t(n,e):(e.add(n),e),n),n=t(e,new Set),r=[];n.forEach(e=>r.unshift(e)),this._styles=r}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map(e=>{if(e instanceof CSSStyleSheet&&!Xe){var t=Array.prototype.slice.call(e.cssRules).reduce((e,t)=>e+t.cssText,"");return new et(String(t),Qe)}return e})}}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?Xe?this.renderRoot.adoptedStyleSheets=e.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(e=>e.cssText),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){var t=this.render();super.update(e),t!==nt&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(e=>{var t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)}))}render(){return nt}};rt.finalized=!0,rt.render=(e,t,n)=>{if(!n||"object"!=typeof n||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,i=Me.has(t),o=je&&11===t.nodeType&&!!t.host,s=o&&!Be.has(r),a=s?document.createDocumentFragment():t;if(((e,t,n)=>{var r=Me.get(t);void 0===r&&(K(t,t.firstChild),Me.set(t,r=new Se(Object.assign({templateFactory:Le},n))),r.appendInto(t)),r.setValue(e),r.commit()})(e,a,Object.assign({templateFactory:Ie(r)},n)),s){var l=Me.get(a);Me.delete(a);var c=l.value instanceof pe?l.value.template:void 0;De(r,a,c),K(t,t.firstChild),t.appendChild(a),Me.set(t,l)}!i&&o&&window.ShadyCSS.styleElement(t.host)};var it=new WeakMap,ot=ce(e=>t=>{if(!(t instanceof be)||t instanceof ke||"class"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var{committer:n}=t,{element:r}=n,i=it.get(t);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),it.set(t,i=new Set));var o=r.classList||new class{constructor(e){this.classes=new Set,this.changed=!1,this.element=e;var t=(e.getAttribute("class")||"").split(/\s+/);for(var n of t)this.classes.add(n)}add(e){this.classes.add(e),this.changed=!0}remove(e){this.classes.delete(e),this.changed=!0}commit(){if(this.changed){var e="";this.classes.forEach(t=>e+=t+" "),this.element.setAttribute("class",e)}}}(r);for(var s in i.forEach(t=>{t in e||(o.remove(t),i.delete(t))}),e){var a=e[s];a!=i.has(s)&&(a?(o.add(s),i.add(s)):(o.remove(s),i.delete(s)))}"function"==typeof o.commit&&o.commit()}),st=new WeakMap,at=ce(e=>t=>{if(!(t instanceof be)||t instanceof ke||"style"!==t.committer.name||t.committer.parts.length>1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var{committer:n}=t,{style:r}=n.element,i=st.get(t);for(var o in void 0===i&&(r.cssText=n.strings.join(" "),st.set(t,i=new Set)),i.forEach(t=>{t in e||(i.delete(t),-1===t.indexOf("-")?r[t]=null:r.removeProperty(t))}),e)i.add(o),-1===o.indexOf("-")?r[o]=e[o]:r.setProperty(o,e[o])}),lt=(e,t)=>{var n=e.startNode.parentNode,r=void 0===t?e.endNode:t.startNode,i=n.insertBefore(re(),r);n.insertBefore(re(),r);var o=new Se(e.options);return o.insertAfterNode(i),o},ct=(e,t)=>(e.setValue(t),e.commit(),e),ut=(e,t,n)=>{var r=e.startNode.parentNode,i=n?n.startNode:e.endNode,o=t.endNode.nextSibling;o!==i&&Y(r,t.startNode,o,i)},ht=e=>{K(e.startNode.parentNode,e.startNode,e.endNode.nextSibling)},dt=(e,t,n)=>{for(var r=new Map,i=t;i<=n;i++)r.set(e[i],i);return r},pt=new WeakMap,ft=new WeakMap,vt=ce((e,t,n)=>{var r;return void 0===n?n=t:void 0!==t&&(r=t),t=>{if(!(t instanceof Se))throw new Error("repeat can only be used in text bindings");var i=pt.get(t)||[],o=ft.get(t)||[],s=[],a=[],l=[],c=0;for(var u of e)l[c]=r?r(u,c):c,a[c]=n(u,c),c++;for(var h,d,p=0,f=i.length-1,v=0,m=a.length-1;p<=f&&v<=m;)if(null===i[p])p++;else if(null===i[f])f--;else if(o[p]===l[v])s[v]=ct(i[p],a[v]),p++,v++;else if(o[f]===l[m])s[m]=ct(i[f],a[m]),f--,m--;else if(o[p]===l[m])s[m]=ct(i[p],a[m]),ut(t,i[p],s[m+1]),p++,m--;else if(o[f]===l[v])s[v]=ct(i[f],a[v]),ut(t,i[f],i[p]),f--,v++;else if(void 0===h&&(h=dt(l,v,m),d=dt(o,p,f)),h.has(o[p]))if(h.has(o[f])){var y=d.get(l[v]),g=void 0!==y?i[y]:null;if(null===g){var w=lt(t,i[p]);ct(w,a[v]),s[v]=w}else s[v]=ct(g,a[v]),ut(t,g,i[p]),i[y]=null;v++}else ht(i[f]),f--;else ht(i[p]),p++;for(;v<=m;){var _=lt(t,s[m+1]);ct(_,a[v]),s[v++]=_}for(;p<=f;){var b=i[p++];null!==b&&ht(b)}pt.set(t,s),ft.set(t,l)}}),mt=new WeakMap,yt=ce(e=>t=>{if(!(t instanceof Se))throw new Error("unsafeHTML can only be used in text bindings");var n=mt.get(t);if(void 0===n||!ge(e)||e!==n.value||t.value!==n.fragment){var r=document.createElement("template");r.innerHTML=e;var i=document.importNode(r.content,!0);t.setValue(i),mt.set(t,{value:e,fragment:i})}}),gt=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n.reduce((t,n,r)=>t+tt(n)+e[r+1],e[0]);return new et(i,Qe)}(n||(n=d(["\n:host {\n display: block;\n position: relative;\n width: 5em;\n height: 5em;\n margin: 5em auto;\n}\n.style-root {\n position: absolute;\n fill: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n top: 0;\n left: 0;\n right: 0;\n bottom: 0; }\n .style-root .error { color: indianred }\n .style-root button {\n -webkit-tap-highlight-color: transparent;\n cursor: pointer; \n border: none;\n background: none;\n margin: 0;\n padding: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%; }\n .style-root button:disabled {\n cursor: default; }\n .style-root .shockwave {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n color: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n border-radius: 50%; }\n .style-root svg {\n position: absolute;\n width: 60%;\n height: 60%;\n margin: 20%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n opacity: 0.8;\n stroke: none;\n overflow: visible !important; }\n .style-root svg g.flat {\n visibility: hidden; }\n .style-root svg g.outline {\n visibility: visible; }\n .style-root.clapped:not(.loading) svg g.flat {\n visibility: visible; }\n .style-root.clapped svg g.outline {\n visibility: hidden; }\n .style-root.loading svg g.outline {\n visibility: visible; }\n .style-root .count-container {\n position: absolute;\n width: 100%;\n color: inherit;\n user-select: none; }\n .style-root .count-container.container-top {\n top: -2.5em; }\n .style-root .count-container.container-bottom {\n bottom: -2.5em; }\n .style-root .count-container > div {\n width: 300%;\n margin-left: -100%;\n text-align: center; }\n .style-root g.sparkle circle {\n opacity: 0;\n stroke-width: 0; }\n .style-root:not(.clapped):not(.no-shockwave):not(.no-animation) .shockwave {\n animation-name: shockwave;\n animation-duration: 1.5s;\n animation-iteration-count: infinite;\n animation-timing-function: ease-in; }\n .style-root.clap {\n animation-name: pulse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; \n animation-timing-function: ease-out; }\n .style-root.clap .sparkle circle {\n animation-name: explode;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-top .count {\n animation-name: hide-then-show;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n .style-root.clap .container-bottom .count {\n animation-name: hide-then-show-inverse;\n animation-duration: 0.5s;\n animation-iteration-count: 1; }\n\n#hand-svg {\n margin-top: 22%;\n margin-left: 22%;\n}\n\n#countdown-svg {\n width: 100%;\n height: 100%;\n stroke: var(--clap-button-color, var(--theme-color, rgb(79,177,186)));\n margin: 0;\n}\n\n.countdown {\n fill: none; \n transform: rotateZ(0deg);\n transform-origin: center;\n}\n\n.countdown circle {\n stroke-width: 2px;\n opacity: 1;\n stroke-linecap: round;\n stroke-dasharray: 308 308;\n transform: rotate(-90deg);\n transform-origin: center;\n}\n\n.style-root.ticking .countdown circle {\n animation-timing-function: ease;\n animation-name: countdown;\n animation-duration: 3s; \n}\n\n.style-root.loading:not(.no-animation) .countdown {\n animation: 2s linear infinite svg-animation; \n}\n\n.style-root.loading:not(.no-animation) .countdown circle {\n animation: 1.4s ease-in-out infinite both circle-animation;\n stroke-dasharray: 308;\n stroke-dashoffset: 302; \n}\n\n@keyframes svg-animation {\n 0% { \n transform: rotateZ(-90deg);\n }\n 100% { \n transform: rotateZ(270deg);\n }\n}\n\n@keyframes circle-animation {\n 0%,\n 15% {\n stroke-dashoffset: 280;\n transform: rotate(0); \n }\n 50%,\n 65% {\n stroke-dashoffset: 75;\n transform: rotate(45deg); \n }\n 100% {\n stroke-dashoffset: 280;\n transform: rotate(360deg); \n }\n}\n\n@keyframes countdown {\n 0% {\n stroke-dasharray: 308 308;\n }\n 50% {\n stroke-dasharray: 308 308;\n }\n 100% {\n stroke-dasharray: 0 308;\n }\n}\n\n@keyframes explode {\n 0% {\n transform: translateX(10px);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: translateX(25px);\n }\n}\n\n@keyframes shockwave {\n 0% {\n transform: scale(1);\n opacity: 1; \n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n 89.99% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 50px, inset 0 0 10px;\n }\n 90%, 100% {\n transform: scale(1);\n opacity: 0;\n box-shadow: 0 0 2px, inset 0 0 1px;\n }\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes hide-then-show {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(-10px);\n }\n 50% {\n transform: translateY(10px);\n }\n 80% {\n transform: translateY(10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0); \n }\n}\n\n@keyframes hide-then-show-inverse {\n 0% {\n opacity: 1;\n transform: translateY(0);\n }\n 20% {\n opacity: 0;\n transform: translateY(10px);\n }\n 50% {\n transform: translateY(-10px);\n }\n 80% {\n transform: translateY(-10px);\n opacity: 0;\n }\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n"]))),wt=e=>e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength),_t=wt,bt=e=>parseInt(e,16);function St(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((e,t)=>e+t.length,0),i=new Uint8Array(r),o=0;for(var s of t)i.set(s,o),o+=s.length;return i}function Ct(e){var t=(e=>Array.from(_t(e),e=>(e=>e.toString(16).padStart(2,"0"))(e)))(e);return t.splice(4,0,"-"),t.splice(7,0,"-"),t.splice(10,0,"-"),t.splice(13,0,"-"),t.join("")}function xt(){var e=crypto.getRandomValues(new Uint8Array(16));return e[6]=15&e[6]|64,e[8]=63&e[8]|128,e.buffer}function kt(e){var t=e.replace(/[^0-9a-f]/gi,"").slice(0,32);if(t.length<32)throw Error("UUID too short");return(e=>new Uint8Array(e.match(/[0-9a-f]{1,2}/gi).map(bt)))(t).buffer}function Pt(e){return e=unescape(encodeURIComponent(e)),(new TextEncoder).encode(e)}function Nt(){return(Nt=f((function*(e,t){var n="string"==typeof e?Pt(e):wt(e),r="string"==typeof t?new At(t):t,i=new Uint8Array(yield crypto.subtle.digest("SHA-1",St(r,n)));return i[6]=15&i[6]|80,i[8]=63&i[8]|128,i.buffer.slice(0,16)}))).apply(this,arguments)}var At=class extends Uint8Array{static v4(){return new At(xt())}static v5(e,t){return f((function*(){return new At(yield function(e,t){return Nt.apply(this,arguments)}(e,t))}))()}constructor(e,t){if(null==e)super(xt());else if("string"==typeof e)super(kt(e));else if(e instanceof At)super(e.buffer.slice(0));else{var n=e instanceof ArrayBuffer||e instanceof SharedArrayBuffer?new Uint8Array(e,null!=t?t:0,16):new Uint8Array(e);if(n.length<16)throw Error("UUID too short");super(n.buffer.slice(0,16))}}get id(){return Ct(this)}get uuid(){return Ct(this)}toString(){return Ct(this)}toJSON(){return Ct(this)}static get[Symbol.species](){return Uint8Array}},Lt=Symbol.for("nodejs.util.inspect.custom"),Et="undefined"!=typeof Deno?"symbols"in Deno?Deno.symbols.customInspect:Deno.customInspect:Symbol();At.prototype[Lt]=function(){return"UUID [ ".concat(this.uuid," ]")},At.prototype[Et]=function(){return"UUID [ ".concat(this.uuid," ]")};var Mt=e=>e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength);function Tt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((e,t)=>e+t.length,0),i=new Uint8Array(r),o=0;for(var s of t)i.set(s,o),o+=s.length;return i}function Ut(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tt(...t.map(Mt))}var Ot=e=>crypto.subtle.digest("SHA-256",e),Vt=e=>Ot((new TextEncoder).encode(e));function jt(e){return It.apply(this,arguments)}function It(){return(It=f((function*(e){var{url:t,id:n,claps:r,nonce:i}=e;return Ut(yield Vt(t.toString()),new At(n.toString()),new Uint32Array([r]),new Uint32Array([i])).buffer}))).apply(this,arguments)}function Rt(e,t){for(var n=new Uint8Array(e),r=Math.ceil(t/8),i=0;i<r;i++)for(var o=Math.min(8,t-8*i),s=0;s<o;s++)if(0!=(n[i]>>7-s&1))return!1;return!0}var Bt=e=>8+Math.round(Math.log2(15+e));function Dt(){return(Dt=f((function*(e){for(var{url:t,claps:n,id:r}=e,i=Bt(n),o=0,s=new Uint32Array(yield jt({url:t,id:r,claps:n,nonce:o})),a=yield Ot(s);!Rt(a,i);)o++,s[s.length-1]=o,a=yield Ot(s);return o}))).apply(this,arguments)}var zt=Reflect.get(window,"GET_CLAPS_API")||"https://worker.getclaps.app";function Wt(e,t,n){var r=new URL(e,n);for(var[i,o]of Object.entries(t||{}))r.searchParams.append(i,o);return r.href}var qt,Ht,Jt,Ft,$t=new Map,Yt=!1,Kt=function(){var e=f((function*(e,t,n){var r=$t.get(t);return r||$t.set(t,r=$t.get(t)||f((function*(){var e,r=Wt("/views",g({href:t},n&&!Yt?{referrer:n}:{}),zt),i=yield fetch(r,{method:"POST",body:null,mode:"cors",credentials:"include",headers:{accept:"application/json"}});if(Yt=!0,i.ok&&(null==(e=i.headers.get("Content-Type"))?void 0:e.includes("json")))return yield i.json();if(404===i.status)return{};throw 402===i.status?i:($t.delete(t),Error())}))()),(yield r)[e]||{claps:0}}));return function(t,n,r){return e.apply(this,arguments)}}(),Zt=function(){var e=f((function*(e,t){var n=new URL(t);n.search="";var r=new At,i=yield function(e){return Dt.apply(this,arguments)}({url:n,claps:e,id:r});return{href:n.href,id:r,nonce:i}}));return function(t,n){return e.apply(this,arguments)}}(),Gt=function(){var e=f((function*(e,t,n,r,i){var o,s=Wt("/claps",{href:t},zt),a=yield fetch(s,{method:"POST",body:JSON.stringify({claps:e,id:r,nonce:i}),mode:"cors",credentials:"include",headers:{accept:"application/json","content-type":"application/json;charset=UTF-8"}});if(a.ok&&(null==(o=a.headers.get("Content-Type"))?void 0:o.includes("json")))return $t.delete(n),a.clone().json();throw Error()}));return function(t,n,r,i,o){return e.apply(this,arguments)}}(),Xt=new Map,Qt=class extends rt{constructor(){super(...arguments),qt.set(this,void 0)}get connectedCountKey(){}allDisconnectedCallback(){}connectedCallback(){var e;super.connectedCallback(),S(this,qt,null!=(e=this.connectedCountKey)?e:this),Xt.set(b(this,qt),1+(Xt.get(b(this,qt))||0))}disconnectedCallback(){var e;super.disconnectedCallback();var t=((null==Xt?void 0:Xt.get(b(this,qt)))||0)-1;t>0?Xt.set(b(this,qt),t):(Xt.delete(b(this,qt)),null==(e=this.allDisconnectedCallback)||e.call(this))}};qt=new WeakMap,(Jt=Ht||(Ht={})).Top="top",Jt.Bottom="bottom",function(e){e[e.PaymentRequired=1]="PaymentRequired",e[e.CryptoRequired=2]="CryptoRequired",e[e.Generic=3]="Generic"}(Ft||(Ft={}));var en=new J("clap-button"),tn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.classList.remove(...n),e.offsetWidth,e.classList.add(...n)},nn=e=>{var t=new URL(e);return t.hash="",t.search="",t.href},rn=class extends rt{};rn=w([Fe("clap-config")],rn);var on=class extends rt{constructor(){super(...arguments),this.at=1}};w([Ye({type:Number,reflect:!0})],on.prototype,"at",2),on=w([Fe("clap-text")],on);var sn,an,ln,cn,un,hn,dn,pn,fn=class extends Qt{constructor(){var e;super(...arguments),e=this,sn.set(this,void 0),this.textPlacement=Ht.Bottom,this.noWave=!1,this.messages=!1,this.uiClaps=0,this.bufferedClaps=0,this.loading=!1,this.clapped=!1,this.clicking=!1,this.ready=!1,this.error=null,this.isIntersecting=!1,an.set(this,void 0),ln.set(this,void 0),cn.set(this,new BroadcastChannel("clap-button")),un.set(this,Math.trunc(1e9*Math.random())),hn.set(this,e=>{0===e.button&&(e.preventDefault(),this.clapped=!0,this.clicking=!0,this.bufferedClaps++,tn(this.styleRoot,"clap","ticking"),b(this,dn).call(this),this.uiClaps=this.bufferedClaps)}),dn.set(this,((e,t)=>{var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(()=>e(...i),t)}})(f((function*(){var t,n=e.bufferedClaps;e.bufferedClaps=0,e.loading=!0;var{href:r,id:i,nonce:o}=yield Zt(n,e.canonical),{claps:s}=yield Gt(n,r,e.parentHref,i,o);e.loading=!1,e.clicking=!1,e.styleRoot.classList.remove("ticking"),tn(e.styleRoot,"clap"),b(e,cn).postMessage({btnId:b(e,un),claps:n,totalClaps:s,href:r}),setTimeout(()=>{e.uiClaps=s},250);var a=null!=(t=yield en.get(r))?t:{claps:0};yield en.set(r,g(g({},a),{claps:a.claps+n}))})),3e3)),pn.set(this,e=>{var{data:{href:t,claps:n,btnId:r}}=e;r!==b(this,un)&&[t,nn(t)].includes(this.canonical)&&(this.clapped=!0,this.uiClaps+=n,tn(this.styleRoot,"clap"))})}get canonical(){var e=this.href||this.url||"",t=S(this,an,b(this,an)||this.ownerDocument.head.querySelector("link[rel=canonical]")),n=null!=t?new URL(t.href):this.ownerDocument.location;return new URL(e,n.origin).href}get parentHref(){return nn(this.canonical)}get referrer(){var e=new URLSearchParams(this.ownerDocument.location.search);return e.get("referrer")||e.get("referer")||this.ownerDocument.referrer}connectedCallback(){var e=this;if(super.connectedCallback(),"crypto"in window&&"subtle"in window.crypto&&"digest"in window.crypto.subtle){b(this,cn).addEventListener("message",b(this,pn)),fn.intersectionObserver.observe(this);var t=this.ownerDocument.querySelector("clap-config");S(this,sn,new MutationObserver(()=>{var e,n=Array.from(null!=(e=null==t?void 0:t.querySelectorAll("clap-text"))?e:[]);S(this,ln,new Map(null==n?void 0:n.map(e=>[e.at,e.innerHTML]).sort((e,t)=>{var[n]=e,[r]=t;return r-n})))})),t&&b(this,sn).observe(t,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),f((function*(){e.loading=!0,e.clapped=null!=(yield en.get(e.canonical));try{var{claps:t}=yield Kt(e.canonical,e.parentHref,e.referrer);e.loading=!1,e.ready=!0,e.uiClaps=t}catch(t){e.loading=!1,e.ready=!1,e.error=402===t.status?1:3}}))()}else this.error=2}disconnectedCallback(){super.disconnectedCallback(),fn.intersectionObserver.unobserve(this),b(this,sn).disconnect(),b(this,cn).removeEventListener("message",b(this,pn))}get connectedCountKey(){return this.parentHref}allDisconnectedCallback(){(e=>{$t.delete(e)})(this.parentHref)}render(){var e,t,n=Oe(r||(r=d(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" id="hand-svg">\n <g class="flat">\n <path d="M57.0443547 6.86206897C57.6058817 6.46227795 57.7389459 5.67962382 57.3416215 5.11431557 56.9442971 4.54900731 56.1672933 4.41483804 55.6055588 4.81504702L52.4950525 7.030721C51.9335255 7.43051202 51.8004613 8.21316614 52.1977857 8.7784744 52.4404567 9.12371996 52.8251182 9.30825496 53.2153846 9.30825496 53.4640757 9.30825496 53.7152578 9.23343783 53.9338485 9.07753396L57.0443547 6.86206897zM48.8035059 6.1414838C48.94778 6.19623824 49.0959982 6.22215256 49.2415177 6.22215256 49.7455426 6.22215256 50.2198824 5.91201672 50.4075424 5.40898642L51.7485642 1.81818182C51.9906124 1.17011494 51.664906.447021944 51.0209664.203343783 50.3772345-.0405433647 49.6587706.287774295 49.4167224.93584117L48.0757006 4.52664577C47.83386 5.17471264 48.1595664 5.89780564 48.8035059 6.1414838zM58.5931726 11.6219436C58.5846615 11.6219436 58.5761504 11.6219436 58.5674317 11.6219436L54.7579749 11.6541275C54.0702341 11.6681296 53.5240687 12.1985371 53.5379772 12.8909091 53.551678 13.5745037 54.1065621 14.1297806 54.7828855 14.1297806 54.7913966 14.1297806 54.7999077 14.1297806 54.8086265 14.1297806L58.6180833 14.0643678C59.305824 14.0501567 59.8519894 13.4934169 59.838081 12.8010449 59.8243801 12.1174504 59.269496 11.6219436 58.5931726 11.6219436z"/>\n <path d="M37.1910045 6.68944619C37.7313574 6.14566353 38.4431784 5.8737722 39.155207 5.8737722 39.967916 5.8737722 40.7808327 6.22800418 41.3380002 6.93667712 42.2214969 8.06039707 42.0666359 9.69111808 41.0600392 10.7042842L39.777765 11.9949843C39.5801407 12.1276907 39.3877061 12.2695925 39.2075193 12.430303 39.0619998 11.5985371 38.7167801 10.7954023 38.1668781 10.0961338 37.4907623 9.23636364 36.588375 8.62424242 35.5772114 8.31410658L37.1910045 6.68944619zM28.5289586 3.66394984C29.0691039 3.12016719 29.7811325 2.84827586 30.4931611 2.84827586 31.3060777 2.84848485 32.1187868 3.20271682 32.6759543 3.91138976 33.559451 5.03510972 33.40459 6.66562173 32.3979933 7.67878788L17.6760235 22.3467085 17.6276554 20.6499478C17.6149925 19.014629 16.8595779 17.554441 15.6854573 16.5945664L28.5289586 3.66394984zM.624996757 36.9889537C.491717597 36.554099.508245877 35.7327064.906400646 35.2666667L3.45579518 32.2829676C3.45662553 32.2819923 4.33763118 25.8376176 6.09881213 12.9498433 6.09881213 11.4271682 7.33624726 10.1814002 8.84873717 10.1814002 10.3612271 10.1814002 11.5988698 11.4271682 11.5988698 12.9498433L11.6704878 15.4649948C9.18191673 15.8089864 7.24428555 17.9170324 7.14921001 20.492581L4.62804751 38.9475444 3.8946373 39.8060606C3.04504924 39.4926018 2.3776139 39.1458968 1.89233128 38.7659456 1.16440735 38.1960189.758275917 37.4238085.624996757 36.9889537z"/>\n <path d="M49.6070811,36.8942529 L42.4182909,44.1316614 C36.2784454,50.3128527 29.8604313,55.2743992 24.2225349,56.5113898 C24.0512744,56.5492163 23.8901857,56.6217346 23.7511014,56.7293626 L20.5013032,59.2417973 C20.2908084,59.4045977 20.1673015,59.6181154 19.5026647,59.6181154 C18.8380279,59.6181154 13.0160695,55.8303982 10.3595306,53.2846814 C7.96626306,50.9912532 3.77432047,43.9549368 4.44453927,43.0079415 L6.99372621,40.0244514 C6.99469496,40.0233368 7.87570061,33.578962 9.63674317,20.6913271 C9.63674317,19.168652 10.8743859,17.922675 12.3868758,17.922675 C13.8993657,17.922675 15.1368008,19.168652 15.1368008,20.6913271 L15.2667512,25.2522466 C15.2883404,26.0100313 15.907577,26.5034483 16.5519317,26.5034483 C16.8662207,26.5034483 17.1867374,26.3857889 17.4464306,26.1245559 L32.0670972,11.4054336 C32.6074501,10.861442 33.3190635,10.5897597 34.0312997,10.5897597 C34.8440088,10.5897597 35.6569254,10.9439916 36.214093,11.6526646 C37.0975897,12.7763845 36.942521,14.4071055 35.9359243,15.4202717 L25.8641449,25.5598746 C25.3412294,26.0865204 25.3412294,26.9398119 25.8641449,27.4660397 C26.1288202,27.7324974 26.4757006,27.8658307 26.822581,27.8658307 C27.1694614,27.8658307 27.5165494,27.7324974 27.7810172,27.4660397 L40.7291431,14.43093 C41.2692884,13.8869383 41.9811094,13.615256 42.6933456,13.615256 C43.5060547,13.615465 44.3189713,13.969697 44.8761389,14.6783699 C45.7596356,15.8018809 45.6045669,17.4326019 44.5979702,18.445768 L31.7106677,31.4198537 C31.1806943,31.953605 31.1806943,32.8183908 31.7106677,33.3521421 C31.9718141,33.615047 32.31392,33.7464995 32.656441,33.7464995 C32.9985469,33.7464995 33.3408603,33.615047 33.6020067,33.3521421 L43.7346096,23.1515152 C44.2749625,22.6075235 44.9867835,22.3358412 45.6988121,22.3358412 C46.5115212,22.3358412 47.3244378,22.6900731 47.8816054,23.3989551 C48.7651021,24.522466 48.6100334,26.153187 47.6034367,27.1663532 L37.5667397,37.2708464 C37.0245185,37.8165099 37.0245185,38.7017764 37.5667397,39.2474399 C37.8334909,39.5161964 38.161896,39.6422153 38.4900934,39.6422153 C38.8184984,39.6422153 39.1469035,39.5161964 39.3972552,39.2639498 L45.6195133,32.999791 C46.1802099,32.4353187 46.93085,32.1368861 47.678999,32.1368861 C48.2741552,32.1368861 48.8676508,32.3258098 49.361919,32.7197492 C50.682182,33.7717868 50.7639719,35.7297806 49.6070811,36.8942529 Z"/>\n </g>\n <g class="outline">\n <path d="M57.1428763 6.63333333C57.6856856 6.24686869 57.8143144 5.49030303 57.4302341 4.94383838 57.0461538 4.39737374 56.2950502 4.26767677 55.7520401 4.65454545L52.7452174 6.79636364C52.202408 7.18282828 52.0737793 7.93939394 52.4578595 8.48585859 52.6924415 8.81959596 53.0642809 8.9979798 53.4415385 8.9979798 53.6819398 8.9979798 53.9247492 8.92565657 54.1360535 8.77494949L57.1428763 6.63333333zM49.1767224 5.93676768C49.3161873 5.98969697 49.4594649 6.01474747 49.6001338 6.01474747 50.0873579 6.01474747 50.5458863 5.71494949 50.727291 5.22868687L52.023612 1.75757576C52.257592 1.13111111 51.9427425.432121212 51.3202676.196565657 50.6979933-.0391919192 50.0034783.278181818 49.7694983.904646465L48.4731773 4.37575758C48.239398 5.00222222 48.5542475 5.70121212 49.1767224 5.93676768zM58.6400669 11.2345455C58.6318395 11.2345455 58.623612 11.2345455 58.6151839 11.2345455L54.932709 11.2656566C54.267893 11.2791919 53.7399331 11.7919192 53.7533779 12.4612121 53.7666221 13.1220202 54.30301 13.6587879 54.9567893 13.6587879 54.9650167 13.6587879 54.9732441 13.6587879 54.9816722 13.6587879L58.6641472 13.5955556C59.3289632 13.5818182 59.8569231 13.0436364 59.8434783 12.3743434 59.8302341 11.7135354 59.2938462 11.2345455 58.6400669 11.2345455zM51.2107023 29.7280808C50.5940468 29.2365657 49.8640134 28.9020202 49.0922408 28.7448485 49.1432107 28.6519192 49.1907692 28.5573737 49.2357191 28.4614141L49.7189298 27.9749495C51.5799331 26.1012121 51.7753846 23.1519192 50.1732441 21.1141414 49.4169231 20.1523232 48.3670234 19.5131313 47.2009365 19.2745455 47.284214 19.120202 47.3580602 18.9624242 47.4250836 18.8022222 48.6925084 16.9539394 48.6718395 14.469899 47.2681605 12.6844444 46.5116388 11.7220202 45.4613378 11.0808081 44.2946488 10.8426263 45.2578595 9.05959596 45.1348495 6.83737374 43.8481605 5.20121212 42.8753177 3.96383838 41.4182609 3.25393939 39.8502341 3.25393939 38.5946488 3.25393939 37.4101003 3.70565657 36.480602 4.53272727 36.3399331 3.72888889 36.0064214 2.95252525 35.4748495 2.27636364 34.501806 1.0389899 33.0447492.329292929 31.4767224.329090909 30.1141806.329090909 28.8351171.861414141 27.8753177 1.82767677L15.6666221 14.1185859 15.6200669 12.4781818C15.5985953 9.68424242 13.3340468 7.41777778 10.5537793 7.41777778 7.8238796 7.41777778 5.59143813 9.60262626 5.49110368 12.3264646L3.05377926 30.1660606 1.05050167 32.510303C-.150100334 33.9157576.751318148 36.4103164 1.05050167 37.002855 1.3496852 37.5953936 1.66593319 37.9666982 2.51271962 38.8651283 2.8050341 39.1752704 3.3712736 39.6680391 4.21143813 40.3434343 3.2935786 41.7335354 4.72327715 47.298456 9.51045561 52.4226263 15.4436869 58.7735254 20.1888963 59.9262626 21.1316388 59.9262626 21.9056187 59.9262626 22.6703679 59.6646465 23.2846154 59.189899L26.2031438 56.9337374C29.0107023 56.2660606 32.1060201 54.7492929 35.4086288 52.4226263 38.2924415 50.3907071 41.4210702 47.6832323 44.7070234 44.3749495L51.656388 37.3787879C52.681204 36.3470707 53.220602 34.9165657 53.1363211 33.4541414 53.0520401 31.9941414 52.350301 30.6361616 51.2107023 29.7280808zM37.9513043 6.46646465C38.4736455 5.94080808 39.1617391 5.6779798 39.8500334 5.6779798 40.6356522 5.6779798 41.4214716 6.02040404 41.9600669 6.70545455 42.8141137 7.79171717 42.6644147 9.36808081 41.6913712 10.3474747L40.4518395 11.5951515C40.2608027 11.7234343 40.0747826 11.8606061 39.900602 12.0159596 39.7599331 11.2119192 39.4262207 10.4355556 38.8946488 9.75959596 38.2410702 8.92848485 37.3687625 8.33676768 36.3913043 8.0369697L37.9513043 6.46646465zM29.5779933 3.54181818C30.1001338 3.01616162 30.7884281 2.75333333 31.4767224 2.75333333 32.2625418 2.75353535 33.0481605 3.0959596 33.5867559 3.7810101 34.4408027 4.86727273 34.2911037 6.44343434 33.3180602 7.42282828L19.0868227 21.6018182 19.0400669 19.9616162C19.0278261 18.3808081 18.297592 16.9692929 17.1626087 16.0414141L29.5779933 3.54181818zM2.60416353 35.7559886C2.47532701 35.335629 2.49130435 34.5416162 2.87618729 34.0911111L5.34060201 31.2068687C5.34140468 31.2059259 6.19304348 24.9763636 7.89551839 12.5181818 7.89551839 11.0462626 9.09170569 9.8420202 10.5537793 9.8420202 12.0158528 9.8420202 13.2122408 11.0462626 13.2122408 12.5181818L13.2814716 14.9494949C10.8758528 15.2820202 9.00280936 17.319798 8.91090301 19.8094949L6.47377926 37.6492929 5.76481605 38.4791919C4.9435476 38.1761817 4.2983601 37.8410335 3.82925357 37.4737474 3.12559377 36.9228183 2.73300005 36.1763482 2.60416353 35.7559886zM49.9535117 35.6644444L43.0043478 42.6606061C37.0691639 48.6357576 30.8650836 53.4319192 25.4151171 54.6276768 25.2495652 54.6642424 25.0938462 54.7343434 24.959398 54.8383838L21.8179264 57.2670707C21.6144482 57.4244444 21.4950582 57.6308449 20.8525759 57.6308449 20.2100936 57.6308449 14.5822005 53.9693849 12.0142129 51.5085254 9.70072096 49.2915447 5.64850979 42.4897722 6.29638796 41.5743434L8.76060201 38.690303C8.76153846 38.6892256 9.61317726 32.4596633 11.3155184 20.0016162 11.3155184 18.529697 12.5119064 17.3252525 13.9739799 17.3252525 15.4360535 17.3252525 16.6322408 18.529697 16.6322408 20.0016162L16.7578595 24.4105051C16.7787291 25.1430303 17.3773244 25.62 18.0002007 25.62 18.3040134 25.62 18.6138462 25.5062626 18.8648829 25.2537374L32.998194 11.0252525C33.5205351 10.4993939 34.2084281 10.2367677 34.8969231 10.2367677 35.6825418 10.2367677 36.4683612 10.5791919 37.0069565 11.2642424 37.8610033 12.3505051 37.7111037 13.9268687 36.7380602 14.9062626L27.0020067 24.7078788C26.4965217 25.2169697 26.4965217 26.0418182 27.0020067 26.5505051 27.2578595 26.8080808 27.5931773 26.9369697 27.928495 26.9369697 28.2638127 26.9369697 28.5993311 26.8080808 28.8549833 26.5505051L41.371505 13.949899C41.8936455 13.4240404 42.5817391 13.1614141 43.2702341 13.1614141 44.0558528 13.1616162 44.8416722 13.5040404 45.3802676 14.1890909 46.2343144 15.2751515 46.0844147 16.8515152 45.1113712 17.8309091L32.6536455 30.3725253C32.1413378 30.8884848 32.1413378 31.7244444 32.6536455 32.240404 32.906087 32.4945455 33.2367893 32.6216162 33.567893 32.6216162 33.8985953 32.6216162 34.2294983 32.4945455 34.4819398 32.240404L44.2767893 22.379798C44.7991304 21.8539394 45.4872241 21.5913131 46.1755184 21.5913131 46.9611371 21.5913131 47.7469565 21.9337374 48.2855518 22.6189899 49.1395987 23.7050505 48.989699 25.2814141 48.0166555 26.2608081L38.3145151 36.0284848C37.7903679 36.5559596 37.7903679 37.4117172 38.3145151 37.9391919 38.5723746 38.1989899 38.8898328 38.3208081 39.2070903 38.3208081 39.5245485 38.3208081 39.8420067 38.1989899 40.0840134 37.9551515L46.0988629 31.899798C46.6408696 31.3541414 47.3664883 31.0656566 48.089699 31.0656566 48.6650167 31.0656566 49.2387291 31.2482828 49.7165217 31.6290909 50.9927759 32.6460606 51.0718395 34.5387879 49.9535117 35.6644444z"/>\n </g>\n </svg>']))),p=Oe(i||(i=d(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" id="countdown-svg">\n <g class="countdown">\n <circle cx="50" cy="50" r="49"/>\n </g>\n </svg>\n ']))),f=this.bufferedClaps,v=5+f,m=300*(1-Math.E**(-f/15)),y=Oe(o||(o=d(['\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 20 20">\n <g class="sparkle">\n ',"\n </g>\n </svg>"])),vt((e=>[...new Array(e).keys()])(v),e=>e,e=>Oe(s||(s=d(["<g style=",">\n <circle style=",' cx="0" cy="0" r="1"/>\n </g>'])),at({transform:"rotate(".concat(Math.floor(360/v*e),"deg) translateX(10px)")}),at({animationDelay:"".concat(Math.floor(Math.random()*m),"ms")}))));return Ue(a||(a=d(["\n <div \n class=","\n style=",'\n >\n <div class="shockwave"></div>\n <div class=','>\n <div class="count">\n ',"","\n ","\n ","\n ","\n </div>\n </div>\n <div class=",">\n ","\n </div>\n ","\n ","\n ","\n <button\n ?disabled=","\n @mousedown=","\n @touchstart=","\n ></button>\n </div>\n "])),ot({"style-root":!0,loading:this.loading,clapped:this.clapped,"no-shockwave":this.noWave||!this.ready,"no-animation":!this.isIntersecting}),at(g({},null!=this.error?{"--clap-button-color":"indianred"}:{})),ot({"count-container":!0,"container-top":this.textPlacement===Ht.Top,"container-bottom":this.textPlacement===Ht.Bottom}),this.clicking?"+":"",this.ready?(e=>null!=e?e.toLocaleString("en"):"")(this.uiClaps):"",1===this.error?Ue(l||(l=d(['<a class="error" href="','">Payment required</a>'])),"https://getclaps.app"):null,2===this.error?Ue(c||(c=d(['<span class="error">Crypto required</span>']))):null,3===this.error?Ue(u||(u=d(['<span class="error">Error</span>']))):null,ot({"count-container":!0,"container-top":this.textPlacement===Ht.Bottom,"container-bottom":this.textPlacement===Ht.Top}),this.messages?Ue(h||(h=d(['<div style="font-size:smaller">\n ',"\n </div>"])),this.clicking?yt(null!=(t=null==(e=[...b(this,ln)].find(e=>{var[t]=e;return this.uiClaps>=t}))?void 0:e[1])?t:""):""):null,n,y,p,this.loading||!this.ready,this.loading||!this.ready?null:b(this,hn),this.loading||!this.ready?null:b(this,hn))}};sn=new WeakMap,an=new WeakMap,ln=new WeakMap,cn=new WeakMap,un=new WeakMap,hn=new WeakMap,dn=new WeakMap,pn=new WeakMap,fn.styles=gt,fn.intersectionObserver=new IntersectionObserver(e=>{e.forEach(e=>e.target.isIntersecting=e.isIntersecting)}),w([function(e,t){return(n,r)=>{var i={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};if(t){var o="symbol"==typeof r?Symbol():"__".concat(r);i.get=function(){return void 0===this[o]&&(this[o]=this.renderRoot.querySelector(e)),this[o]}}return void 0!==r?Ke(i,n,r):Ze(i,n)}}(".style-root")],fn.prototype,"styleRoot",2),w([Ye({type:String,reflect:!0,attribute:"text-placement"})],fn.prototype,"textPlacement",2),w([Ye({type:Boolean,reflect:!0})],fn.prototype,"noWave",2),w([Ye({type:Boolean,reflect:!0})],fn.prototype,"messages",2),w([Ye({type:String,reflect:!1})],fn.prototype,"href",2),w([Ye({type:String,reflect:!1})],fn.prototype,"url",2),w([Ye()],fn.prototype,"uiClaps",2),w([Ye()],fn.prototype,"bufferedClaps",2),w([Ye()],fn.prototype,"loading",2),w([Ye()],fn.prototype,"clapped",2),w([Ye()],fn.prototype,"clicking",2),w([Ye()],fn.prototype,"ready",2),w([Ye()],fn.prototype,"error",2),w([Ye()],fn.prototype,"isIntersecting",2),fn=w([Fe("clap-button")],fn)})()}}]);