import{r as t}from"./p-5925f187.js";import{b as e}from"./p-1580513b.js";import{a as i}from"./p-1e3b01c2.js";import"./p-4fb8ce4b.js";import"./p-e9c4f463.js";var r=undefined&&undefined.__classPrivateFieldGet||function(t,e,i,r){if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e==="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?r:i==="a"?r.call(t):r?r.value:e.get(t)};var o,n;const a=class{constructor(e){t(this,e);o.add(this);this.selector="atomic-search-interface";this.selector="atomic-search-interface";this.boundInterface=undefined}handleInitialization(t){t.preventDefault();t.stopPropagation();r(this,o,"a",n).dispatchEvent(e(i,t.detail))}handleScrollToTop(t){t.preventDefault();t.stopPropagation();r(this,o,"a",n).dispatchEvent(e("atomic/scrollToTop",t.detail))}};o=new WeakSet,n=function t(){var e;if(!this.boundInterface){this.boundInterface=(e=document.querySelector(this.selector))!==null&&e!==void 0?e:undefined;if(!this.boundInterface){throw new Error(`Cannot find interface element with selector "${this.selector}"`)}}return this.boundInterface};export{a as atomic_external}; //# sourceMappingURL=p-91f14b49.entry.js.map