app.jibecdn.com Open in urlscan Pro
2606:4700:10::6816:2c7a  Public Scan

URL: https://app.jibecdn.com/prod/search-bar/0.2.33/scripts.js
Submission Tags: falconsandbox
Submission: On November 20 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

!function(t,e){"use strict";function n(){var t=M.splice(0,M.length);for(Qt=0;t.length;)t.shift().call(null,t.shift())}function o(t,e){for(var n=0,o=t.length;n<o;n++)h(t[n],e)}function r(t){return function(e){xt(e)&&(h(e,t),it.length&&o(e.querySelectorAll(it),t))}}function i(t){var e=qt.call(t,"is"),n=t.nodeName.toUpperCase(),o=at.call(ot,e?tt+e.toUpperCase():J+n);return e&&-1<o&&!l(n,e)?-1:o}function l(t,e){return-1<it.indexOf(t+'[is="'+e+'"]')}function a(t){var e=t.currentTarget,n=t.attrChange,o=t.attrName,r=t.target,i=t[X]||2,l=t[$]||3;!oe||r&&r!==e||!e[q]||"style"===o||t.prevValue===t.newValue&&(""!==t.newValue||n!==i&&n!==l)||e[q](o,n===i?null:t.prevValue,n===l?null:t.newValue)}function c(t){var e=r(t);return function(t){M.push(e,t.target),Qt&&clearTimeout(Qt),Qt=setTimeout(n,1)}}function u(t){ne&&(ne=!1,t.currentTarget.removeEventListener(Q,u)),it.length&&o((t.target||T).querySelectorAll(it),t.detail===V?V:I),kt&&function(){for(var t,e=0,n=jt.length;e<n;e++)lt.contains(t=jt[e])||(n--,jt.splice(e--,1),h(t,V))}()}function s(t,e){var n=this;zt.call(n,t,e),_.call(n,{target:n})}function f(t,e,n){var o=e.apply(t,n),r=i(o);return-1<r&&S(o,rt[r]),n.pop()&&it.length&&function(t){for(var e,n=0,o=t.length;n<o;n++)S(e=t[n],rt[i(e)])}(o.querySelectorAll(it)),o}function d(t,e){Dt(t,e),A?A.observe(t,$t):(ee&&(t.setAttribute=s,t[x]=N(t),t[j](Y,_)),t[j](K,a)),t[Z]&&oe&&(t.created=!0,t[Z](),t.created=!1)}function p(t){throw new Error("A "+t+" type is already registered")}function h(t,e){var n,o,r=i(t);-1<r&&!Vt.call(t,"TEMPLATE")&&(O(t,rt[r]),r=0,e!==I||t[I]?e!==V||t[V]||(t[I]=!1,t[V]=!0,o="disconnected",r=1):(t[V]=!1,t[I]=!0,o="connected",r=1,kt&&at.call(jt,t)<0&&jt.push(t)),r&&(n=t[e+R]||t[o+R])&&n.call(t))}function m(){}function E(t,e,n){var o=n&&n[U]||"",r=e.prototype,i=At(r),l=e.observedAttributes||dt,a={prototype:i};Pt(i,Z,{value:function(){if(Lt)Lt=!1;else if(!this[gt]){this[gt]=!0,new e(this),r[Z]&&r[Z].call(this);var t=Mt[Ht.get(e)];(!wt||t.create.length>1)&&y(this)}}}),Pt(i,q,{value:function(t){-1<at.call(l,t)&&r[q]&&r[q].apply(this,arguments)}}),r[W]&&Pt(i,B,{value:r[W]}),r[z]&&Pt(i,G,{value:r[z]}),o&&(a[U]=o),t=t.toUpperCase(),Mt[t]={constructor:e,create:o?[o,Nt(t)]:[t]},Ht.set(e,t),T[k](t.toLowerCase(),a),w(t),_t[t].r()}function v(t){var e=Mt[t.toUpperCase()];return e&&e.constructor}function g(t){return"string"==typeof t?t:t&&t.is||""}function y(t){for(var e,n=t[q],o=n?t.attributes:dt,r=o.length;r--;)n.call(t,(e=o[r]).name||e.nodeName,null,e.value||e.nodeValue)}function w(t){return(t=t.toUpperCase())in _t||(_t[t]={},_t[t].p=new Ct(function(e){_t[t].r=e})),_t[t].p}function b(){yt&&delete t.customElements,ft(t,"customElements",{configurable:!0,value:new m}),ft(t,"CustomElementRegistry",{configurable:!0,value:m});for(var e=L.get(/^HTML[A-Z]*[a-z]/),n=e.length;n--;function(e){var n=t[e];if(n){t[e]=function(t){var e,o;return t||(t=this),t[gt]||(Lt=!0,e=Mt[Ht.get(t.constructor)],(t=(o=wt&&1===e.create.length)?Reflect.construct(n,dt,e.constructor):T.createElement.apply(T,e.create))[gt]=!0,Lt=!1,o||y(t)),t},t[e].prototype=n.prototype;try{n.prototype.constructor=t[e]}catch(o){ft(n,gt,{value:t[e]})}}}(e[n]));T.createElement=function(t,e){var n=g(e);return n?Xt.call(this,t,Nt(n)):Xt.call(this,t)},Yt||(te=!0,T[k](""))}var T=t.document,C=t.Object,L=function(t){var e,n,o,r,i=/^[A-Z]+[a-z]/,l=function(t,e){(e=e.toLowerCase())in a||(a[t]=(a[t]||[]).concat(e),a[e]=a[e.toUpperCase()]=t)},a=(C.create||C)(null),c={};for(n in t)for(r in t[n])for(a[r]=o=t[n][r],e=0;e<o.length;e++)a[o[e].toLowerCase()]=a[o[e].toUpperCase()]=r;return c.get=function(t){return"string"==typeof t?a[t]||(i.test(t)?[]:""):function(t){var e,n=[];for(e in a)t.test(e)&&n.push(e);return n}(t)},c.set=function(t,e){return i.test(t)?l(t,e):l(e,t),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof e&&(e={type:e||"auto"});var M,_,H,N,A,D,O,S,F,k="registerElement",P=1e5*t.Math.random()>>0,x="__"+k+P,j="addEventListener",I="attached",R="Callback",V="detached",U="extends",q="attributeChanged"+R,B=I+R,W="connected"+R,z="disconnected"+R,Z="created"+R,G=V+R,X="ADDITION",$="REMOVAL",K="DOMAttrModified",Q="DOMContentLoaded",Y="DOMSubtreeModified",J="<",tt="=",et=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,nt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ot=[],rt=[],it="",lt=T.documentElement,at=ot.indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},ct=C.prototype,ut=ct.hasOwnProperty,st=ct.isPrototypeOf,ft=C.defineProperty,dt=[],pt=C.getOwnPropertyDescriptor,ht=C.getOwnPropertyNames,mt=C.getPrototypeOf,Et=C.setPrototypeOf,vt=!!C.__proto__,gt="__dreCEv1",yt=t.customElements,wt=!/^force/.test(e.type)&&!!(yt&&yt.define&&yt.get&&yt.whenDefined),bt=C.create||C,Tt=t.Map||function(){var t,e=[],n=[];return{get:function(t){return n[at.call(e,t)]},set:function(o,r){(t=at.call(e,o))<0?n[e.push(o)-1]=r:n[t]=r}}},Ct=t.Promise||function(t){function e(t){for(o=!0;n.length;)n.shift()(t)}var n=[],o=!1,r={catch:function(){return r},then:function(t){return n.push(t),o&&setTimeout(e,1),r}};return t(e),r},Lt=!1,Mt=bt(null),_t=bt(null),Ht=new Tt,Nt=function(t){return t.toLowerCase()},At=C.create||function t(e){return e?(t.prototype=e,new t):this},Dt=Et||(vt?function(t,e){return t.__proto__=e,t}:ht&&pt?function(){function t(t,e){for(var n,o=ht(e),r=0,i=o.length;r<i;r++)ut.call(t,n=o[r])||ft(t,n,pt(e,n))}return function(e,n){do{t(e,n)}while((n=mt(n))&&!st.call(n,e));return e}}():function(t,e){for(var n in e)t[n]=e[n];return t}),Ot=t.MutationObserver||t.WebKitMutationObserver,St=t.HTMLAnchorElement,Ft=(t.HTMLElement||t.Element||t.Node).prototype,kt=!st.call(Ft,lt),Pt=kt?function(t,e,n){return t[e]=n.value,t}:ft,xt=kt?function(t){return 1===t.nodeType}:function(t){return st.call(Ft,t)},jt=kt&&[],It=Ft.attachShadow,Rt=Ft.cloneNode,Vt=Ft.closest||function(t){for(var e=this;e&&e.nodeName!==t;)e=e.parentNode;return e},Ut=Ft.dispatchEvent,qt=Ft.getAttribute,Bt=Ft.hasAttribute,Wt=Ft.removeAttribute,zt=Ft.setAttribute,Zt=T.createElement,Gt=T.importNode,Xt=Zt,$t=Ot&&{attributes:!0,characterData:!0,attributeOldValue:!0},Kt=Ot||function(t){ee=!1,lt.removeEventListener(K,Kt)},Qt=0,Yt=k in T&&!/^force-all/.test(e.type),Jt=!0,te=!1,ee=!0,ne=!0,oe=!0;if(Ot&&((F=T.createElement("div")).innerHTML="<div><div></div></div>",new Ot(function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){var n=(F=pt(Ft,"innerHTML"))&&F.set;n&&ft(Ft,"innerHTML",{set:function(t){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,t)}})}e.disconnect(),F=null}).observe(F,{childList:!0,subtree:!0}),F.innerHTML=""),Yt||(Et||vt?(O=function(t,e){st.call(e,t)||d(t,e)},S=d):S=O=function(t,e){t[x]||(t[x]=C(!0),d(t,e))},kt?(ee=!1,function(){var t=pt(Ft,j),e=t.value,n=function(t){var e=new CustomEvent(K,{bubbles:!0});e.attrName=t,e.prevValue=qt.call(this,t),e.newValue=null,e[$]=e.attrChange=2,Wt.call(this,t),Ut.call(this,e)},o=function(t,e){var n=Bt.call(this,t),o=n&&qt.call(this,t),r=new CustomEvent(K,{bubbles:!0});zt.call(this,t,e),r.attrName=t,r.prevValue=n?o:null,r.newValue=e,n?r.MODIFICATION=r.attrChange=1:r[X]=r.attrChange=0,Ut.call(this,r)},r=function(t){var e,n=t.currentTarget,o=n[x],r=t.propertyName;o.hasOwnProperty(r)&&(o=o[r],(e=new CustomEvent(K,{bubbles:!0})).attrName=o.name,e.prevValue=o.value||null,e.newValue=o.value=n[r]||null,null==e.prevValue?e[X]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,Ut.call(n,e))};t.value=function(t,i,l){t===K&&this[q]&&this.setAttribute!==o&&(this[x]={className:{name:"class",value:this.className}},this.setAttribute=o,this.removeAttribute=n,e.call(this,"propertychange",r)),e.call(this,t,i,l)},ft(Ft,j,t)}()):Ot||(lt[j](K,Kt),lt.setAttribute(x,1),lt.removeAttribute(x),ee&&(_=function(t){var e,n,o,r=this;if(r===t.target){for(o in e=r[x],r[x]=n=N(r),n){if(!(o in e))return H(0,r,o,e[o],n[o],X);if(n[o]!==e[o])return H(1,r,o,e[o],n[o],"MODIFICATION")}for(o in e)if(!(o in n))return H(2,r,o,e[o],n[o],$)}},H=function(t,e,n,o,r,i){var l={attrChange:t,currentTarget:e,attrName:n,prevValue:o,newValue:r};l[i]=t,a(l)},N=function(t){for(var e,n,o={},r=t.attributes,i=0,l=r.length;i<l;i++)"setAttribute"!==(n=(e=r[i]).name)&&(o[n]=e.value);return o})),T[k]=function(t,e){if(n=t.toUpperCase(),Jt&&(Jt=!1,Ot?(A=function(t,e){function n(t,e){for(var n=0,o=t.length;n<o;e(t[n++]));}return new Ot(function(o){for(var r,i,l,a=0,c=o.length;a<c;a++)"childList"===(r=o[a]).type?(n(r.addedNodes,t),n(r.removedNodes,e)):(i=r.target,oe&&i[q]&&"style"!==r.attributeName&&(l=qt.call(i,r.attributeName))!==r.oldValue&&i[q](r.attributeName,r.oldValue,l))})}(r(I),r(V)),(D=function(t){return A.observe(t,{childList:!0,subtree:!0}),t})(T),It&&(Ft.attachShadow=function(){return D(It.apply(this,arguments))})):(M=[],T[j]("DOMNodeInserted",c(I)),T[j]("DOMNodeRemoved",c(V))),T[j](Q,u),T[j]("readystatechange",u),T.importNode=function(t,e){switch(t.nodeType){case 1:return f(T,Gt,[t,!!e]);case 11:for(var n=T.createDocumentFragment(),o=t.childNodes,r=o.length,i=0;i<r;i++)n.appendChild(T.importNode(o[i],!!e));return n;default:return Rt.call(t,!!e)}},Ft.cloneNode=function(t){return f(this,Rt,[!!t])}),te)return te=!1;if(-2<at.call(ot,tt+n)+at.call(ot,J+n)&&p(t),!et.test(n)||-1<at.call(nt,n))throw new Error("The type "+t+" is invalid");var n,i,l=function(){return s?T.createElement(d,n):T.createElement(d)},a=e||ct,s=ut.call(a,U),d=s?e[U].toUpperCase():n;return s&&-1<at.call(ot,J+d)&&p(d),i=ot.push((s?tt:J)+n)-1,it=it.concat(it.length?",":"",s?d+'[is="'+t.toLowerCase()+'"]':d),l.prototype=rt[i]=ut.call(a,"prototype")?a.prototype:At(Ft),it.length&&o(T.querySelectorAll(it),I),l},T.createElement=Xt=function(t,e){var n=g(e),o=n?Zt.call(T,t,Nt(n)):Zt.call(T,t),r=""+t,i=at.call(ot,(n?tt:J)+(n||r).toUpperCase()),a=-1<i;return n&&(o.setAttribute("is",n=n.toLowerCase()),a&&(a=l(r.toUpperCase(),n))),oe=!T.createElement.innerHTMLHelper,a&&S(o,rt[i]),o}),addEventListener("beforeunload",function(){delete T.createElement,delete T.importNode,delete T[k]},!1),m.prototype={constructor:m,define:wt?function(t,e,n){if(n)E(t,e,n);else{var o=t.toUpperCase();Mt[o]={constructor:e,create:[o]},Ht.set(e,o),yt.define(t,e)}}:E,get:wt?function(t){return yt.get(t)||v(t)}:v,whenDefined:wt?function(t){return Ct.race([yt.whenDefined(t),w(t)])}:w},!yt||/^force/.test(e.type))b();else if(!e.noBuiltIn)try{!function(e,n,o){var r=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(n[U]="a",(e.prototype=At(St.prototype)).constructor=e,t.customElements.define(o,e,n),!r.test(T.createElement("a",{is:o}).outerHTML)||!r.test((new e).outerHTML))throw n}(function t(){return Reflect.construct(St,[],t)},{},"document-register-element-a"+P)}catch(re){b()}if(!e.noBuiltIn)try{if(Zt.call(T,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(ie){Nt=function(t){return{is:t.toLowerCase()}}}}(window),(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,l=window.DocumentFragment.prototype.append,a=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,u=window.Node.prototype.insertBefore,s=window.Node.prototype.removeChild,f=window.Node.prototype.replaceChild,d=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),p=window.Element.prototype.attachShadow,h=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),m=window.Element.prototype.getAttribute,E=window.Element.prototype.setAttribute,v=window.Element.prototype.removeAttribute,g=window.Element.prototype.getAttributeNS,y=window.Element.prototype.setAttributeNS,w=window.Element.prototype.removeAttributeNS,b=window.Element.prototype.insertAdjacentElement,T=window.Element.prototype.insertAdjacentHTML,C=window.Element.prototype.prepend,L=window.Element.prototype.append,M=window.Element.prototype.before,_=window.Element.prototype.after,H=window.Element.prototype.replaceWith,N=window.Element.prototype.remove,A=window.HTMLElement,D=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),O=window.HTMLElement.prototype.insertAdjacentElement,S=window.HTMLElement.prototype.insertAdjacentHTML,F=new Set;function k(t){var e=F.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 F.add(t)});var P=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(P(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 j(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 I(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function R(t,e,n){for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o;e(r);var i=r.localName;if("link"===i&&"import"===r.getAttribute("rel")){if(o=r.import,void 0===n&&(n=new Set),o instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)R(o,e,n);o=I(t,r);continue}if("template"===i){o=I(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)R(r,e,n)}o=o.firstChild?o.firstChild:I(t,o)}}function V(){var t=!(null==lt||!lt.noDocumentConstructionObserver),e=!(null==lt||!lt.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function U(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 R(e,n,o)}function q(t,e){t.f&&U(t,e,function(e){return B(t,e)})}function B(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 W(t,e){var n=[];for(U(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):G(t,o)}}function z(t,e){var n=[];for(U(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 Z(t,e,n){var o=(n=void 0===n?{}:n).D,r=n.upgrade||function(e){return G(t,e)},i=[];for(U(t,e,function(e){if(t.f&&B(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)),Z(t,n,{D:i,upgrade:r})}})}else i.push(e)},o),e=0;e<i.length;e++)r(i[e])}function G(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?ot(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(c){throw e.__CE_state=2,c}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 l=i[r],a=e.getAttribute(l);null!==a&&t.attributeChangedCallback(e,l,null,a,null)}}x(e)&&t.connectedCallback(e)}}catch(c){$(c)}}function X(n,o,r,i){var l=o.__CE_registry;if(l&&(null===i||"http://www.w3.org/1999/xhtml"===i)&&(l=ot(l,r)))try{var a=new l.constructorFunction;if(void 0===a.__CE_state||void 0===a.__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"!==a.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(a.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==a.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==a.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(a.ownerDocument!==o)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(a.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return a}catch(c){return $(c),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,B(n,o),o}return B(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=void 0;void 0===ErrorEvent.prototype.initErrorEvent?r=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:t.column||t.columnNumber||0,error:t}):((r=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),r.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===r.error&&Object.defineProperty(r,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(r),r.defaultPrevented||console.error(t)}function K(){var t=this;this.a=void 0,this.w=new Promise(function(e){t.g=e})}function Q(t){var e=document;this.g=void 0,this.b=t,this.a=e,Z(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 Y(t){t.g&&t.g.disconnect()}function J(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 Q(t):void 0}function tt(t,e){if(!k(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(ot(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 et(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},l=i("connectedCallback"),a=i("disconnectedCallback"),c=i("adoptedCallback"),u=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(s){throw s}finally{t.o=!1}return t.l.set(e,n={localName:e,constructorFunction:n,connectedCallback:l,disconnectedCallback:a,adoptedCallback:c,attributeChangedCallback:o,observedAttributes:u,constructionStack:[]}),t.u.set(n.constructorFunction,n),n}function nt(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(Z(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++)G(t.b,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],l=o.get(i),a=0;a<l.length;a++)G(t.b,l[a]);(i=t.s.get(i))&&i.resolve(void 0)}n.length=0}}function ot(t,e){var n=t.l.get(e);if(n)return n;if(n=t.j.get(e)){t.j.delete(e);try{return et(t,e,n())}catch(o){$(o)}}}function rt(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=[],l=0;l<o.length;l++){var a=o[l];if(a instanceof Element&&x(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}V.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(n){$(n)}},V.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(n){$(n)}},V.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(l){$(l)}},K.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.g(t)},Q.prototype.A=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||Y(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)Z(this.b,n[o])},J.prototype.B=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");tt(this,t),this.j.set(t,e),this.m.push(t),this.c||(this.c=!0,this.i(function(){return nt(n)}))},J.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");tt(this,t),et(this,t,e),this.m.push(t),this.c||(this.c=!0,this.i(function(){return nt(n)}))},J.prototype.upgrade=function(t){Z(this.b,t)},J.prototype.get=function(t){if(t=ot(this,t))return t.constructorFunction},J.prototype.whenDefined=function(t){if(!k(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 K,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},J.prototype.polyfillWrapFlushCallback=function(t){this.v&&Y(this.v);var e=this.i;this.i=function(n){return t(function(){return e(n)})}},window.CustomElementRegistry=J,J.prototype.define=J.prototype.define,J.prototype.upgrade=J.prototype.upgrade,J.prototype.get=J.prototype.get,J.prototype.whenDefined=J.prototype.whenDefined,J.prototype.polyfillDefineLazy=J.prototype.B,J.prototype.polyfillWrapFlushCallback=J.prototype.polyfillWrapFlushCallback;var it={},lt=window.customElements;function at(){var F=new V;!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,B(e,r),r;var i=r.length-1,l=r[i];if(l===it)throw Error("Failed to construct '"+o.localName+"': This element was already constructed.");return r[i]=it,Object.setPrototypeOf(l,n.prototype),B(e,l),l}n.prototype=A.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:n}),window.HTMLElement=n}(F),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?Z(t,e):q(t,e),e},Document.prototype.createElementNS=function(e,n){return X(t,this,n,e)},rt(t,Document.prototype,{prepend:o,append:r})}(F),rt(F,DocumentFragment.prototype,{prepend:i,append:l}),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 l=0;l<i;l++)o[l]=r[l]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)z(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=j(e);if(e=u.call(this,e,n),x(this))for(n=0;n<o.length;n++)W(t,o[n]);return e}return o=e instanceof Element&&x(e),n=u.call(this,e,n),o&&z(t,e),x(this)&&W(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=j(e);if(e=c.call(this,e),x(this))for(var o=0;o<n.length;o++)W(t,n[o]);return e}return n=e instanceof Element&&x(e),o=c.call(this,e),n&&z(t,e),x(this)&&W(t,e),o},Node.prototype.cloneNode=function(e){return e=a.call(this,!!e),this.ownerDocument.__CE_registry?Z(t,e):q(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&x(e),o=s.call(this,e);return n&&z(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=j(e);if(e=f.call(this,e,n),x(this))for(z(t,n),n=0;n<o.length;n++)W(t,o[n]);return e}o=e instanceof Element&&x(e);var r=f.call(this,e,n),i=x(this);return i&&z(t,n),o&&z(t,e),i&&W(t,e),r},d&&d.get?e(Node.prototype,d):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;)s.call(this,this.firstChild);null!=t&&""!==t&&c.call(this,document.createTextNode(t))}})})}(F),function(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=[],U(t,this,function(t){t!==o&&r.push(t)})),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var l=r[i];1===l.__CE_state&&t.disconnectedCallback(l)}return this.ownerDocument.__CE_registry?Z(t,this):q(t,this),e}})}function o(e,n){e.insertAdjacentElement=function(e,o){var r=x(o);return e=n.call(this,e,o),r&&z(t,o),x(e)&&W(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++)Z(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)}}}p&&(Element.prototype.attachShadow=function(e){if(e=p.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}),h&&h.get?n(Element.prototype,h):D&&D.get?n(HTMLElement.prototype,D):function(t,e){t.f=!0,t.a.push(e)}(t,function(t){n(t,{enumerable:!0,configurable:!0,get:function(){return a.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;)s.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 E.call(this,e,n);var o=m.call(this,e);E.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 y.call(this,e,n,o);var r=g.call(this,e,n);y.call(this,e,n,o),o=g.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return v.call(this,e);var n=m.call(this,e);v.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return w.call(this,e,n);var o=g.call(this,e,n);w.call(this,e,n);var r=g.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},O?o(HTMLElement.prototype,O):b&&o(Element.prototype,b),S?r(HTMLElement.prototype,S):T&&r(Element.prototype,T),rt(t,Element.prototype,{prepend:C,append:L}),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=[],l=0;l<o.length;l++){var a=o[l];if(a instanceof Element&&x(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(e.apply(this,o),o=0;o<i.length;o++)z(t,i[o]);if(x(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&W(t,i)}}var n=Element.prototype;void 0!==M&&(n.before=e(M)),void 0!==_&&(n.after=e(_)),void 0!==H&&(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 l=n[i];if(l instanceof Element&&x(l)&&r.push(l),l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)o.push(l);else o.push(l)}for(i=x(this),H.apply(this,n),n=0;n<r.length;n++)z(t,r[n]);if(i)for(z(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&W(t,r)}),void 0!==N&&(n.remove=function(){var e=x(this);N.call(this),e&&z(t,this)})}(t)}(F),F=new J(F),document.__CE_registry=F,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:F})}lt&&!lt.forcePolyfill&&"function"==typeof lt.define&&"function"==typeof lt.get||at(),window.__CE_installPolyfill=at}).call(self),function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const t=HTMLElement;window.HTMLElement={HTMLElement:function(){return Reflect.construct(t,[],this.constructor)}}.HTMLElement,HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}()}();
//# sourceMappingURL=scripts.js.map