@searchcraft/vue-sdk 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/components/SearchcraftBaseSearchResults.d.ts +26 -1
  2. package/dist/components/SearchcraftBaseSearchResults.d.ts.map +1 -1
  3. package/dist/components/SearchcraftFilterPanel.d.ts +13 -1
  4. package/dist/components/SearchcraftFilterPanel.d.ts.map +1 -1
  5. package/dist/components/SearchcraftInputForm.d.ts +34 -1
  6. package/dist/components/SearchcraftInputForm.d.ts.map +1 -1
  7. package/dist/components/SearchcraftPagination.d.ts +24 -0
  8. package/dist/components/SearchcraftPagination.d.ts.map +1 -0
  9. package/dist/components/SearchcraftPopoverButton.d.ts +14 -1
  10. package/dist/components/SearchcraftPopoverButton.d.ts.map +1 -1
  11. package/dist/components/SearchcraftPopoverForm.d.ts +21 -1
  12. package/dist/components/SearchcraftPopoverForm.d.ts.map +1 -1
  13. package/dist/components/SearchcraftResultsInfo.d.ts +15 -1
  14. package/dist/components/SearchcraftResultsInfo.d.ts.map +1 -1
  15. package/dist/components/SearchcraftSearchResultsPerPage.d.ts +23 -0
  16. package/dist/components/SearchcraftSearchResultsPerPage.d.ts.map +1 -0
  17. package/dist/components/SearchcraftSelect.d.ts +25 -0
  18. package/dist/components/SearchcraftSelect.d.ts.map +1 -0
  19. package/dist/components/SearchcraftTheme.d.ts +13 -1
  20. package/dist/components/SearchcraftTheme.d.ts.map +1 -1
  21. package/dist/components/index.d.ts +2 -0
  22. package/dist/components/index.d.ts.map +1 -1
  23. package/dist/index.es.js +349 -339
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.umd.js +1 -1
  26. package/dist/index.umd.js.map +1 -1
  27. package/dist/stencil-web-components.d.ts +5 -0
  28. package/dist/stencil-web-components.d.ts.map +1 -1
  29. package/package.json +2 -2
package/dist/index.umd.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(m,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],C):(m=typeof globalThis<"u"?globalThis:m||self,C(m.SearchcraftVueSdk={},m.Vue))})(this,function(m,C){"use strict";const W="routerLink",oe="navManager",Ie="router",Fe="aria",F=Symbol(),le={default:F},ie=e=>(e==null?void 0:e.split(" "))||[],je=(e,t,n=[])=>{var s;return[...Array.from(((s=e.value)==null?void 0:s.classList)||[]),...n].filter((r,i,l)=>!t.has(r)&&l.indexOf(r)===i)},x=(e,t,n=[],s=[],r,i)=>{const l=C.defineComponent((a,{attrs:o,slots:f,emit:$})=>{var y;const c=C.ref(),u=new Set(ie(o.class)),d=C.getCurrentInstance(),g=((y=d==null?void 0:d.appContext)==null?void 0:y.provides[oe])?C.inject(oe):void 0,S=p=>{const{routerLink:N}=a;if(N!==F)if(g!==void 0){p.preventDefault();let T={event:p};for(const P in a){const b=a[P];a.hasOwnProperty(P)&&P.startsWith(Ie)&&b!==F&&(T[P]=b)}g.navigate(T)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{a[r],ie(o.class).forEach(b=>{u.add(b)});const p=a.onClick,N=b=>{p!==void 0&&p(b),b.defaultPrevented||S(b)};let T={ref:c,class:je(c,u),onClick:N};for(const b in a){const Oe=a[b];(a.hasOwnProperty(b)&&Oe!==F||b.startsWith(Fe))&&(T[b]=Oe);const we="on"+b.slice(0,1).toUpperCase()+b.slice(1),zt=o[we];c.value&&o.hasOwnProperty(we)&&"addEventListener"in c.value&&c.value.addEventListener(b,zt)}return W in a&&a[W]!==F&&(T={...T,href:a[W]}),C.h(e,T,f.default&&f.default())}});if(typeof l!="function"){let a=[],o={};o.ROUTER_LINK_VALUE=le,n.forEach(f=>o[f]=le),a=s,l.name=e,l.emits=a,l.props=o}return l},De=x("searchcraft-base-search-results",void 0,["adInterval","customStylesForResults","searchResultMappings","placeAdAtEnd","placeAdAtStart","resultImagePlacement","buttonLabel","buttonTarget","buttonRel","containerTarget","containerRel","noResults"],["noResults"]),Ne=x("searchcraft-filter-panel",void 0,["items"]),Ue=x("searchcraft-input-form",void 0,["config","autoSearch","buttonPlacement","buttonLabel","inputLabel","customStyles","placeholderValue","searchTerm","inputCleared","noResultsReceived","inputFocus","inputBlur","inputInit","querySubmit"],["inputCleared","noResultsReceived","inputFocus","inputBlur","inputInit","querySubmit"]),ze=x("searchcraft-popover-button"),He=x("searchcraft-popover-form",void 0,["config","type","popoverResultMappings","hotkey","hotkeyModifier"]),Be=x("searchcraft-results-info"),Me=x("searchcraft-theme"),qe=De,We=Ne,Ge=Ue,Qe=ze,Xe=He,Ke=Be,Ye=Me,Je="searchcraft-javascript-sdk",O={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,modernPropertyDecls:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!1,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!1,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var Ze=Object.defineProperty,Ve=(e,t)=>{for(var n in t)Ze(e,n,{get:t[n],enumerable:!0})},et="http://www.w3.org/2000/svg",tt="http://www.w3.org/1999/xhtml",ce=new WeakMap,E=e=>ce.get(e),nt=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],ce.set(e,n)},fe=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),ue=new Map,st=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=ue.get(r);if(i)return i[s];/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${r}.entry.js`).then(l=>(ue.set(r,l),l[s]),l=>{w(l,t.$hostElement$)})},rt="{visibility:hidden}.hydrated{visibility:inherit}",at="slot-fb{display:contents}slot-fb[hidden]{display:none}",U=typeof window<"u"?window:{},R=U.document||{head:{}},v={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},ot=O.shadowDom,lt=e=>Promise.resolve(e),G=!1,$e=[],de=[],it=(e,t)=>n=>{e.push(n),G||(G=!0,v.$flags$&4?X(Q):v.raf(Q))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},Q=()=>{he($e),he(de),(G=$e.length>0)&&v.raf(Q)},X=e=>lt().then(e),ct=it(de),K=e=>(e=typeof e,e==="object"||e==="function");function ft(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var ut={};Ve(ut,{err:()=>pe,map:()=>$t,ok:()=>Y,unwrap:()=>dt,unwrapErr:()=>ht});var Y=e=>({isOk:!0,isErr:!1,value:e}),pe=e=>({isOk:!1,isErr:!0,value:e});function $t(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>Y(s)):Y(n)}if(e.isErr){const n=e.value;return pe(n)}throw"should never get here"}var dt=e=>{if(e.isOk)return e.value;throw e.value},ht=e=>{if(e.isErr)return e.value;throw e.value},ge=e=>{const t=e.__childNodes||e.childNodes;e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ve(t,e.tagName).forEach(n=>{var s;n.nodeType===1&&n.tagName==="SLOT-FB"&&((s=pt(n,n["s-sn"],!1))!=null&&s.length?n.hidden=!0:n.hidden=!1)});for(const n of t)n.nodeType===1&&(n.__childNodes||n.childNodes).length&&ge(n)};function ve(e,t,n){let s=0,r=[],i;for(;s<e.length;s++)i=e[s],i["s-sr"]&&i["s-hn"]===t&&n===void 0&&r.push(i),r=[...r,...ve(i.childNodes,t,n)];return r}var pt=(e,t,n=!0)=>{const s=[];for((n&&e["s-sr"]||!e["s-sr"])&&s.push(e);(e=e.nextSibling)&&e["s-sn"]===t;)s.push(e);return s},ye=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",A=(e,t="")=>()=>{},gt=(e,t)=>()=>{},vt=(e,t,...n)=>{let s=null,r=null,i=null,l=!1,a=!1;const o=[],f=c=>{for(let u=0;u<c.length;u++)s=c[u],Array.isArray(s)?f(s):s!=null&&typeof s!="boolean"&&((l=!K(s))&&(s=String(s)),l&&a?o[o.length-1].$text$+=s:o.push(l?J(null,s):s),a=l)};f(n);const $=J(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=i,$},J=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n.$name$=null,n},yt={},bt=e=>e&&e.$tag$===yt,Z=(e,t)=>e!=null&&!K(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,St=(e,t,n)=>{const s=v.ce(t,n);return e.dispatchEvent(s),s},z=new WeakMap,be=(e,t,n,s,r,i)=>{if(n!==s){let l=fe(e,t),a=t.toLowerCase();if(t==="class"){const o=e.classList,f=Se(n);let $=Se(s);e["s-si"]?($.push(e["s-si"]),f.forEach(c=>{c.startsWith(e["s-si"])&&$.push(c)}),$=[...new Set($)],o.add(...$),delete e["s-si"]):(o.remove(...f.filter(c=>c&&!$.includes(c))),o.add(...$.filter(c=>c&&!f.includes(c))))}else if(t==="style"){for(const o in n)(!s||s[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in s)(!n||s[o]!==n[o])&&(o.includes("-")?e.style.setProperty(o,s[o]):e.style[o]=s[o])}else if(t!=="key")if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):fe(U,a)?t=a.slice(2):t=a[2]+t.slice(3),n||s){const o=t.endsWith(me);t=t.replace(Tt,""),n&&v.rel(e,t,n,o),s&&v.ael(e,t,s,o)}}else{const o=K(s);if((l||o&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const f=s??"";t==="list"?l=!1:(n==null||e[t]!=f)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},mt=/\s/,Se=e=>(typeof e=="object"&&"baseVal"in e&&(e=e.baseVal),e?e.split(mt):[]),me="Capture",Tt=new RegExp(me+"$"),Te=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||{},i=t.$attrs$||{};for(const l of ke(Object.keys(r)))l in i||be(s,l,r[l],void 0,n,t.$flags$);for(const l of ke(Object.keys(i)))be(s,l,r[l],i[l],n,t.$flags$)};function ke(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var V,ee,H=!1,B=!1,te=!1,k=!1,M=(e,t,n)=>{var s;const r=t.$children$[n];let i=0,l,a,o;if(H||(te=!0,r.$tag$==="slot"&&(r.$flags$|=r.$children$?2:1)),r.$text$!==null)l=r.$elm$=R.createTextNode(r.$text$);else if(r.$flags$&1)l=r.$elm$=R.createTextNode("");else{if(k||(k=r.$tag$==="svg"),l=r.$elm$=R.createElementNS(k?et:tt,!H&&O.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),k&&r.$tag$==="foreignObject"&&(k=!1),Te(null,r,k),r.$children$)for(i=0;i<r.$children$.length;++i)a=M(e,r,i),a&&l.appendChild(a);r.$tag$==="svg"?k=!1:l.tagName==="foreignObject"&&(k=!0)}return l["s-hn"]=ee,r.$flags$&3&&(l["s-sr"]=!0,l["s-cr"]=V,l["s-sn"]=r.$name$||"",l["s-rf"]=(s=r.$attrs$)==null?void 0:s.ref,o=e&&e.$children$&&e.$children$[n],o&&o.$tag$===r.$tag$&&e.$elm$&&j(e.$elm$,!1)),l},j=(e,t)=>{v.$flags$|=1;const n=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&O.experimentalSlotFixes;for(let s=n.length-1;s>=0;s--){const r=n[s];r["s-hn"]!==ee&&r["s-ol"]&&(_(D(r).parentNode,r,D(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,te=!0),t&&j(r,t)}v.$flags$&=-2},Ee=(e,t,n,s,r,i)=>{let l=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(;r<=i;++r)s[r]&&(a=M(null,n,r),a&&(s[r].$elm$=a,_(l,a,D(t))))},Re=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;i&&(B=!0,i["s-ol"]?i["s-ol"].remove():j(i,!0),i.remove())}}},kt=(e,t,n,s,r=!1)=>{let i=0,l=0,a=0,o=0,f=t.length-1,$=t[0],c=t[f],u=s.length-1,d=s[0],h=s[u],g,S;for(;i<=f&&l<=u;)if($==null)$=t[++i];else if(c==null)c=t[--f];else if(d==null)d=s[++l];else if(h==null)h=s[--u];else if(q($,d,r))I($,d,r),$=t[++i],d=s[++l];else if(q(c,h,r))I(c,h,r),c=t[--f],h=s[--u];else if(q($,h,r))($.$tag$==="slot"||h.$tag$==="slot")&&j($.$elm$.parentNode,!1),I($,h,r),_(e,$.$elm$,c.$elm$.nextSibling),$=t[++i],h=s[--u];else if(q(c,d,r))($.$tag$==="slot"||h.$tag$==="slot")&&j(c.$elm$.parentNode,!1),I(c,d,r),_(e,c.$elm$,$.$elm$),c=t[--f],d=s[++l];else{for(a=-1,o=i;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){a=o;break}a>=0?(S=t[a],S.$tag$!==d.$tag$?g=M(t&&t[l],n,a):(I(S,d,r),t[a]=void 0,g=S.$elm$),d=s[++l]):(g=M(t&&t[l],n,l),d=s[++l]),g&&_(D($.$elm$).parentNode,g,D($.$elm$))}i>f?Ee(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&Re(t,i,f)},q=(e,t,n=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,D=e=>e&&e["s-ol"]||e,I=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,a=t.$text$;let o;a===null?(k=l==="svg"?!0:l==="foreignObject"?!1:k,l==="slot"&&!H||Te(e,t,k),r!==null&&i!==null?kt(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),Ee(s,null,t,i,0,i.length-1)):!n&&O.updatable&&r!==null&&Re(r,0,r.length-1),k&&l==="svg"&&(k=!1)):(o=s["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(s.data=a)},L=[],Pe=e=>{let t,n,s;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"])if(ye(t,l)){let a=L.find(o=>o.$nodeToRelocate$===t);B=!0,t["s-sn"]=t["s-sn"]||l,a?(a.$nodeToRelocate$["s-sh"]=i["s-hn"],a.$slotRefNode$=i):(t["s-sh"]=i["s-hn"],L.push({$slotRefNode$:i,$nodeToRelocate$:t})),t["s-sr"]&&L.map(o=>{ye(o.$nodeToRelocate$,t["s-sn"])&&(a=L.find(f=>f.$nodeToRelocate$===t),a&&!o.$slotRefNode$&&(o.$slotRefNode$=a.$slotRefNode$))})}else L.some(a=>a.$nodeToRelocate$===t)||L.push({$nodeToRelocate$:t})}i.nodeType===1&&Pe(i)}},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Et=(e,t,n=!1)=>{var s,r,i,l;const a=e.$hostElement$,o=e.$vnode$||J(null,null),f=bt(t)?t:vt(null,null,t);if(ee=a.tagName,n&&f.$attrs$)for(const $ of Object.keys(f.$attrs$))a.hasAttribute($)&&!["key","ref","style","class"].includes($)&&(f.$attrs$[$]=a[$]);f.$tag$=null,f.$flags$|=4,e.$vnode$=f,f.$elm$=o.$elm$=a,H=ot,V=a["s-cr"],B=!1,I(o,f,n);{if(v.$flags$|=1,te){Pe(f.$elm$);for(const $ of L){const c=$.$nodeToRelocate$;if(!c["s-ol"]){const u=R.createTextNode("");u["s-nr"]=c,_(c.parentNode,c["s-ol"]=u,c)}}for(const $ of L){const c=$.$nodeToRelocate$,u=$.$slotRefNode$;if(u){const d=u.parentNode;let h=u.nextSibling;{let y=(s=c["s-ol"])==null?void 0:s.previousSibling;for(;y;){let p=(r=y["s-nr"])!=null?r:null;if(p&&p["s-sn"]===c["s-sn"]&&d===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===c||p!=null&&p["s-sr"];)p=p==null?void 0:p.nextSibling;if(!p||!p["s-nr"]){h=p;break}}y=y.previousSibling}}const g=c.__parentNode||c.parentNode,S=c.__nextSibling||c.nextSibling;(!h&&d!==g||S!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),_(d,c,h),c.nodeType===1&&c.tagName!=="SLOT-FB"&&(c.hidden=(i=c["s-ih"])!=null?i:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(n&&(c["s-ih"]=(l=c.hidden)!=null?l:!1),c.hidden=!0)}}B&&ge(f.$elm$),v.$flags$&=-2,L.length=0}V=void 0},Ce=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const n=t["s-p"].push(new Promise(s=>e.$onRenderResolve$=()=>{t["s-p"].splice(n-1,1),s()}))}},ne=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ce(e,e.$ancestorComponent$),ct(()=>Rt(e,t))},Rt=(e,t)=>{const n=e.$hostElement$,s=A("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Pt(i,()=>Lt(e,r,t))},Pt=(e,t)=>Ct(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ct=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Lt=async(e,t,n)=>{var s;const r=e.$hostElement$,i=A("update",e.$cmpMeta$.$tagName$),l=r["s-rc"],a=A("render",e.$cmpMeta$.$tagName$);_t(e,t,r,n),l&&(l.map(o=>o()),r["s-rc"]=void 0),a(),i();{const o=(s=r["s-p"])!=null?s:[],f=()=>xt(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},_t=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Et(e,t,s)}catch(r){w(r,e.$hostElement$)}return null},xt=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=A("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,_e(n),se(r,"componentDidLoad",void 0,n),s(),e.$onReadyResolve$(n),i||Le()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&X(()=>ne(e,!1)),e.$flags$&=-517},Le=e=>{_e(R.documentElement),X(()=>St(U,"appload",{detail:{namespace:Je}}))},se=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(r){w(r,s)}},_e=e=>{var t;return e.classList.add((t=O.hydratedSelectorName)!=null?t:"hydrated")},At=(e,t)=>E(e).$instanceValues$.get(t),re=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;n=Z(n,s.$members$[t][0]);const f=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!f;if((!(a&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),o)){if(s.$watchers$&&a&128){const c=s.$watchers$[t];c&&c.map(u=>{try{o[u](n,l,t)}catch(d){w(d,i)}})}(a&18)===2&&ne(r,!1)}},xe=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([a,[o]])=>{if(o&31||n&2&&o&32){const{get:f,set:$}=Object.getOwnPropertyDescriptor(i,a)||{};f&&(t.$members$[a][0]|=2048),$&&(t.$members$[a][0]|=4096),(n&1||!f)&&Object.defineProperty(i,a,{get(){{if(!(t.$members$[a][0]&2048))return At(this,a);const c=E(this),u=c?c.$lazyInstance$:i;return u?u[a]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(c){const u=E(this);if($){const d=o&32?this[a]:u.$hostElement$[a];typeof d>"u"&&u.$instanceValues$.get(a)?c=u.$instanceValues$.get(a):!u.$instanceValues$.get(a)&&d&&u.$instanceValues$.set(a,d),$.apply(this,[Z(c,o)]),c=o&32?this[a]:u.$hostElement$[a],re(this,a,c,t);return}{if(!(n&1)||!(t.$members$[a][0]&4096)){re(this,a,c,t),n&1&&!u.$lazyInstance$&&u.$onReadyPromise$.then(()=>{t.$members$[a][0]&4096&&u.$lazyInstance$[a]!==u.$instanceValues$.get(a)&&(u.$lazyInstance$[a]=c)});return}const d=()=>{const h=u.$lazyInstance$[a];!u.$instanceValues$.get(a)&&h&&u.$instanceValues$.set(a,h),u.$lazyInstance$[a]=Z(c,o),re(this,a,u.$lazyInstance$[a],t)};u.$lazyInstance$?d():u.$onReadyPromise$.then(()=>d())}}})}}),n&1){const a=new Map;i.attributeChangedCallback=function(o,f,$){v.jmp(()=>{var c;const u=a.get(o);if(this.hasOwnProperty(u)&&O.lazyLoad)$=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const h=E(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&$!==f){const S=h.$lazyInstance$,y=(c=t.$watchers$)==null?void 0:c[o];y==null||y.forEach(p=>{S[p]!=null&&S[p].call(S,$,f,o)})}return}}const d=Object.getOwnPropertyDescriptor(i,u);$=$===null&&typeof this[u]=="boolean"?!1:$,$!==this[u]&&(!d.get||d.set)&&(this[u]=$)})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,f])=>f[0]&15).map(([o,f])=>{const $=f[1]||o;return a.set($,o),$})]))}}return e},Ot=async(e,t,n,s)=>{let r;if(!(t.$flags$&32)){t.$flags$|=32;{const a=st(n,t);if(a&&"then"in a){const f=gt();r=await a,f()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,xe(r,n,2),r.isProxied=!0);const o=A("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(f){w(f,e)}t.$flags$&=-9,t.$flags$|=128,o(),ae(t.$lazyInstance$,e)}}const i=t.$ancestorComponent$,l=()=>ne(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()},ae=(e,t)=>{se(e,"connectedCallback",void 0,t)},wt=e=>{if(!(v.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=A("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?ae(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ae(t.$lazyInstance$,e));else{t.$flags$|=1,n.$flags$&12&&It(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ce(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Ot(e,t,n)}s()}},It=e=>{const t=e["s-cr"]=R.createComment("");t["s-cn"]=!0,_(e,t,e.firstChild)},Ae=(e,t)=>{se(e,"disconnectedCallback",void 0,t||e)},Ft=async e=>{if(!(v.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?Ae(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ae(t.$lazyInstance$,e))}z.has(e)&&z.delete(e),e.shadowRoot&&z.has(e.shadowRoot)&&z.delete(e.shadowRoot)},jt=(e,t={})=>{var n;const s=A(),r=[],i=t.exclude||[],l=U.customElements,a=R.head,o=a.querySelector("meta[charset]"),f=R.createElement("style"),$=[];let c,u=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",R.baseURI).href;let d=!1;if(e.map(h=>{h[1].map(g=>{var S;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(S=g[4])!=null?S:{};const p=y.$tagName$,N=class extends HTMLElement{constructor(T){super(T),this.hasRegisteredEventListeners=!1,T=this,nt(T,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),c&&(clearTimeout(c),c=null),u?$.push(this):v.jmp(()=>wt(this))}disconnectedCallback(){v.jmp(()=>Ft(this)),v.raf(()=>{var T;const P=E(this);((T=P==null?void 0:P.$vnode$)==null?void 0:T.$elm$)instanceof Node&&!P.$vnode$.$elm$.isConnected&&delete P.$vnode$.$elm$})}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=h[0],!i.includes(p)&&!l.get(p)&&(r.push(p),l.define(p,xe(N,y,1)))})}),r.length>0&&(d&&(f.textContent+=at),f.textContent+=r.sort()+rt,f.innerHTML.length)){f.setAttribute("data-styles","");const h=(n=v.$nonce$)!=null?n:ft(R);h!=null&&f.setAttribute("nonce",h),a.insertBefore(f,o?o.nextSibling:a.firstChild)}u=!1,$.length?$.map(h=>h.connectedCallback()):v.jmp(()=>c=setTimeout(Le,30)),s()};const Dt=()=>{},Nt=async(e,t)=>{if(!(typeof window>"u"))return await Dt(),jt([["searchcraft-filter-panel",[[0,"searchcraft-filter-panel",{items:[16],unsubscribe:[32],lastQuery:[32]}]]],["searchcraft-base-search-results",[[4,"searchcraft-base-search-results",{adInterval:[2,"ad-interval"],customStylesForResults:[1,"custom-styles-for-results"],searchResultMappings:[16],placeAdAtEnd:[4,"place-ad-at-end"],placeAdAtStart:[4,"place-ad-at-start"],resultImagePlacement:[1,"result-image-placement"],buttonLabel:[1,"button-label"],buttonTarget:[1,"button-target"],buttonRel:[1,"button-rel"],containerTarget:[1,"container-target"],containerRel:[1,"container-rel"],hasSearched:[32],query:[32],searchResults:[32]}]]],["searchcraft-popover-button",[[4,"searchcraft-popover-button"]]],["searchcraft-results-info",[[0,"searchcraft-results-info",{isRequesting:[32],resultsCount:[32],responseTime:[32],query:[32]}]]],["searchcraft-theme",[[0,"searchcraft-theme"]]],["searchcraft-base-search-result",[[0,"searchcraft-base-search-result",{titleContent:[1,"title-content"],subtitleContent:[1,"subtitle-content"],bodyContent:[1,"body-content"],footerContent:[1,"footer-content"],buttonLabel:[1,"button-label"],buttonHref:[1,"button-href"],buttonTarget:[1,"button-target"],buttonRel:[1,"button-rel"],containerHref:[1,"container-href"],containerTarget:[1,"container-target"],containerRel:[1,"container-rel"],imageSrc:[1,"image-src"],imageAlt:[1,"image-alt"],imagePlacement:[1,"image-placement"],customStyles:[1,"custom-styles"],documentPosition:[2,"document-position"]}]]],["searchcraft-popover-list-item",[[0,"searchcraft-popover-list-item",{titleContent:[1,"title-content"],subtitleContent:[1,"subtitle-content"],imageSrc:[1,"image-src"],imageAlt:[1,"image-alt"],href:[1],documentPosition:[2,"document-position"]}]]],["searchcraft-button_3",[[0,"searchcraft-button",{iconElement:[16],iconOnly:[4,"icon-only"],iconPosition:[1,"icon-position"],label:[1],isRequesting:[32]}],[0,"searchcraft-input-label",{inputLabelClassName:[1,"input-label-class-name"],label:[1]}],[0,"searchcraft-error-message",{errorMessage:[1,"error-message"]}]]],["searchcraft-input-form_2",[[0,"searchcraft-input-form",{config:[16],autoSearch:[4,"auto-search"],buttonPlacement:[1,"button-placement"],buttonLabel:[1,"button-label"],inputLabel:[1,"input-label"],customStyles:[1,"custom-styles"],placeholderValue:[1,"placeholder-value"],searchTerm:[1,"search-term"],inputValue:[32],error:[32],isSearchcraftInitialized:[32]},null,{config:["onConfigChange"]}],[0,"searchcraft-popover-list-view",{popoverResultMappings:[16],documents:[16]}]]],["searchcraft-popover-form",[[0,"searchcraft-popover-form",{config:[16],type:[1],popoverResultMappings:[16],hotkey:[1],hotkeyModifier:[1,"hotkey-modifier"],isPopoverVisibleInState:[32],unsubscribe:[32],searchResults:[32],searchTerm:[32],isFocused:[32],breakpointSm:[32],breakpointMd:[32],breakpointLg:[32],modalElement:[32]}]]],["searchcraft-facet-list_3",[[0,"searchcraft-facet-list",{fieldName:[1,"field-name"],baseFacetRoot:[32],facetRoot:[32],selectedPaths:[32],lastTimeTaken:[32],hasNewSearchTerm:[32],lastQuery:[32],lastSearchMode:[32],lastSortType:[32],unsubscribe:[32]}],[0,"searchcraft-slider",{max:[2],min:[2],granularity:[2],dataType:[1,"data-type"],endValue:[32],startValue:[32],lastFocusedHandle:[32]}],[0,"searchcraft-toggle-button",{label:[1],subLabel:[1,"sub-label"],isActive:[32],unsubscribe:[32],lastQuery:[32]}]]]],t)};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}})();const Ut={async install(){Nt()}};m.ComponentLibrary=Ut,m.SearchcraftBaseSearchResults=qe,m.SearchcraftFilterPanel=We,m.SearchcraftInputForm=Ge,m.SearchcraftPopoverButton=Qe,m.SearchcraftPopoverForm=Xe,m.SearchcraftResultsInfo=Ke,m.SearchcraftTheme=Ye,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
1
+ (function(m,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],E):(m=typeof globalThis<"u"?globalThis:m||self,E(m.SearchcraftVueSdk={},m.Vue))})(this,function(m,E){"use strict";const W="routerLink",oe="navManager",Ae="router",Fe="aria",F=Symbol(),le={default:F},ie=e=>(e==null?void 0:e.split(" "))||[],je=(e,t,s=[])=>{var n;return[...Array.from(((n=e.value)==null?void 0:n.classList)||[]),...s].filter((r,i,l)=>!t.has(r)&&l.indexOf(r)===i)},_=(e,t,s=[],n=[],r,i)=>{const l=E.defineComponent((a,{attrs:o,slots:f,emit:$})=>{var y;const c=E.ref(),u=new Set(ie(o.class)),d=E.getCurrentInstance(),g=((y=d==null?void 0:d.appContext)==null?void 0:y.provides[oe])?E.inject(oe):void 0,b=p=>{const{routerLink:N}=a;if(N!==F)if(g!==void 0){p.preventDefault();let R={event:p};for(const C in a){const S=a[C];a.hasOwnProperty(C)&&C.startsWith(Ae)&&S!==F&&(R[C]=S)}g.navigate(R)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{a[r],ie(o.class).forEach(S=>{u.add(S)});const p=a.onClick,N=S=>{p!==void 0&&p(S),S.defaultPrevented||b(S)};let R={ref:c,class:je(c,u),onClick:N};for(const S in a){const Oe=a[S];(a.hasOwnProperty(S)&&Oe!==F||S.startsWith(Fe))&&(R[S]=Oe);const we="on"+S.slice(0,1).toUpperCase()+S.slice(1),qt=o[we];c.value&&o.hasOwnProperty(we)&&"addEventListener"in c.value&&c.value.addEventListener(S,qt)}return W in a&&a[W]!==F&&(R={...R,href:a[W]}),E.h(e,R,f.default&&f.default())}});if(typeof l!="function"){let a=[],o={};o.ROUTER_LINK_VALUE=le,s.forEach(f=>o[f]=le),a=n,l.name=e,l.emits=a,l.props=o}return l},De=_("searchcraft-base-search-results",void 0,["customStylesForResults","searchResultMappings","resultImagePlacement","buttonLabel","buttonTarget","buttonRel","containerTarget","containerRel","noResults"],["noResults"]),Ne=_("searchcraft-filter-panel",void 0,["items"]),Ue=_("searchcraft-input-form",void 0,["config","autoSearch","buttonPlacement","buttonLabel","inputLabel","customStyles","placeholderValue","searchTerm","inputCleared","noResultsReceived","inputFocus","inputBlur","inputInit","querySubmit"],["inputCleared","noResultsReceived","inputFocus","inputBlur","inputInit","querySubmit"]),ze=_("searchcraft-pagination",void 0,["customStyles"]),He=_("searchcraft-popover-button"),Me=_("searchcraft-popover-form",void 0,["config","type","popoverResultMappings","hotkey","hotkeyModifier"]),Be=_("searchcraft-results-info",void 0,["customFormatter","customStyles"]),qe=_("searchcraft-search-results-per-page",void 0,["increment","customStyles"]),We=_("searchcraft-theme",void 0,["theme","customTheme"]),Ge=De,Xe=Ne,Ke=Ue,Ye=He,Qe=Me,Je=Be,Ze=We,Ve=ze,et=qe,tt="searchcraft-javascript-sdk",O={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,modernPropertyDecls:!0,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!1,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!1,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var st=Object.defineProperty,nt=(e,t)=>{for(var s in t)st(e,s,{get:t[s],enumerable:!0})},rt="http://www.w3.org/2000/svg",at="http://www.w3.org/1999/xhtml",ce=new WeakMap,T=e=>ce.get(e),ot=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],ce.set(e,s)},fe=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),ue=new Map,lt=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=ue.get(r);if(i)return i[n];/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${r}.entry.js`).then(l=>(ue.set(r,l),l[n]),l=>{w(l,t.$hostElement$)})},it="{visibility:hidden}.hydrated{visibility:inherit}",ct="slot-fb{display:contents}slot-fb[hidden]{display:none}",U=typeof window<"u"?window:{},k=U.document||{head:{}},v={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},ft=O.shadowDom,ut=e=>Promise.resolve(e),G=!1,$e=[],de=[],$t=(e,t)=>s=>{e.push(s),G||(G=!0,v.$flags$&4?K(X):v.raf(X))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},X=()=>{he($e),he(de),(G=$e.length>0)&&v.raf(X)},K=e=>ut().then(e),dt=$t(de),Y=e=>(e=typeof e,e==="object"||e==="function");function ht(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var pt={};nt(pt,{err:()=>pe,map:()=>gt,ok:()=>Q,unwrap:()=>vt,unwrapErr:()=>yt});var Q=e=>({isOk:!0,isErr:!1,value:e}),pe=e=>({isOk:!1,isErr:!0,value:e});function gt(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>Q(n)):Q(s)}if(e.isErr){const s=e.value;return pe(s)}throw"should never get here"}var vt=e=>{if(e.isOk)return e.value;throw e.value},yt=e=>{if(e.isErr)return e.value;throw e.value},ge=e=>{const t=e.__childNodes||e.childNodes;e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ve(t,e.tagName).forEach(s=>{var n;s.nodeType===1&&s.tagName==="SLOT-FB"&&((n=mt(s,s["s-sn"],!1))!=null&&n.length?s.hidden=!0:s.hidden=!1)});for(const s of t)s.nodeType===1&&(s.__childNodes||s.childNodes).length&&ge(s)};function ve(e,t,s){let n=0,r=[],i;for(;n<e.length;n++)i=e[n],i["s-sr"]&&i["s-hn"]===t&&s===void 0&&r.push(i),r=[...r,...ve(i.childNodes,t,s)];return r}var mt=(e,t,s=!0)=>{const n=[];for((s&&e["s-sr"]||!e["s-sr"])&&n.push(e);(e=e.nextSibling)&&e["s-sn"]===t;)n.push(e);return n},ye=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",I=(e,t="")=>()=>{},St=(e,t)=>()=>{},bt=(e,t,...s)=>{let n=null,r=null,i=null,l=!1,a=!1;const o=[],f=c=>{for(let u=0;u<c.length;u++)n=c[u],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((l=!Y(n))&&(n=String(n)),l&&a?o[o.length-1].$text$+=n:o.push(l?J(null,n):n),a=l)};f(s);const $=J(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=i,$},J=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Rt={},Pt=e=>e&&e.$tag$===Rt,Z=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Tt=(e,t,s)=>{const n=v.ce(t,s);return e.dispatchEvent(n),n},z=new WeakMap,me=(e,t,s,n,r,i)=>{if(s!==n){let l=fe(e,t),a=t.toLowerCase();if(t==="class"){const o=e.classList,f=Se(s);let $=Se(n);e["s-si"]?($.push(e["s-si"]),f.forEach(c=>{c.startsWith(e["s-si"])&&$.push(c)}),$=[...new Set($)],o.add(...$),delete e["s-si"]):(o.remove(...f.filter(c=>c&&!$.includes(c))),o.add(...$.filter(c=>c&&!f.includes(c))))}else if(t==="style"){for(const o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):fe(U,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){const o=t.endsWith(be);t=t.replace(Ct,""),s&&v.rel(e,t,s,o),n&&v.ael(e,t,n,o)}}else{const o=Y(n);if((l||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{const f=n??"";t==="list"?l=!1:(s==null||e[t]!=f)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!o&&(n=n===!0?"":n,e.setAttribute(t,n))}}},kt=/\s/,Se=e=>(typeof e=="object"&&"baseVal"in e&&(e=e.baseVal),e?e.split(kt):[]),be="Capture",Ct=new RegExp(be+"$"),Re=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||{},i=t.$attrs$||{};for(const l of Pe(Object.keys(r)))l in i||me(n,l,r[l],void 0,s,t.$flags$);for(const l of Pe(Object.keys(i)))me(n,l,r[l],i[l],s,t.$flags$)};function Pe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var V,ee,H=!1,M=!1,te=!1,P=!1,B=(e,t,s)=>{var n;const r=t.$children$[s];let i=0,l,a,o;if(H||(te=!0,r.$tag$==="slot"&&(r.$flags$|=r.$children$?2:1)),r.$text$!==null)l=r.$elm$=k.createTextNode(r.$text$);else if(r.$flags$&1)l=r.$elm$=k.createTextNode("");else{if(P||(P=r.$tag$==="svg"),l=r.$elm$=k.createElementNS(P?rt:at,!H&&O.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),P&&r.$tag$==="foreignObject"&&(P=!1),Re(null,r,P),r.$children$)for(i=0;i<r.$children$.length;++i)a=B(e,r,i),a&&l.appendChild(a);r.$tag$==="svg"?P=!1:l.tagName==="foreignObject"&&(P=!0)}return l["s-hn"]=ee,r.$flags$&3&&(l["s-sr"]=!0,l["s-cr"]=V,l["s-sn"]=r.$name$||"",l["s-rf"]=(n=r.$attrs$)==null?void 0:n.ref,o=e&&e.$children$&&e.$children$[s],o&&o.$tag$===r.$tag$&&e.$elm$&&j(e.$elm$,!1)),l},j=(e,t)=>{v.$flags$|=1;const s=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&O.experimentalSlotFixes;for(let n=s.length-1;n>=0;n--){const r=s[n];r["s-hn"]!==ee&&r["s-ol"]&&(x(D(r).parentNode,r,D(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,te=!0),t&&j(r,t)}v.$flags$&=-2},Te=(e,t,s,n,r,i)=>{let l=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(;r<=i;++r)n[r]&&(a=B(null,s,r),a&&(n[r].$elm$=a,x(l,a,D(t))))},ke=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const i=r.$elm$;i&&(M=!0,i["s-ol"]?i["s-ol"].remove():j(i,!0),i.remove())}}},Et=(e,t,s,n,r=!1)=>{let i=0,l=0,a=0,o=0,f=t.length-1,$=t[0],c=t[f],u=n.length-1,d=n[0],h=n[u],g,b;for(;i<=f&&l<=u;)if($==null)$=t[++i];else if(c==null)c=t[--f];else if(d==null)d=n[++l];else if(h==null)h=n[--u];else if(q($,d,r))A($,d,r),$=t[++i],d=n[++l];else if(q(c,h,r))A(c,h,r),c=t[--f],h=n[--u];else if(q($,h,r))($.$tag$==="slot"||h.$tag$==="slot")&&j($.$elm$.parentNode,!1),A($,h,r),x(e,$.$elm$,c.$elm$.nextSibling),$=t[++i],h=n[--u];else if(q(c,d,r))($.$tag$==="slot"||h.$tag$==="slot")&&j(c.$elm$.parentNode,!1),A(c,d,r),x(e,c.$elm$,$.$elm$),c=t[--f],d=n[++l];else{for(a=-1,o=i;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){a=o;break}a>=0?(b=t[a],b.$tag$!==d.$tag$?g=B(t&&t[l],s,a):(A(b,d,r),t[a]=void 0,g=b.$elm$),d=n[++l]):(g=B(t&&t[l],s,l),d=n[++l]),g&&x(D($.$elm$).parentNode,g,D($.$elm$))}i>f?Te(e,n[u+1]==null?null:n[u+1].$elm$,s,n,l,u):l>u&&ke(t,i,f)},q=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:s?(s&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,D=e=>e&&e["s-ol"]||e,A=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,a=t.$text$;let o;a===null?(P=l==="svg"?!0:l==="foreignObject"?!1:P,l==="slot"&&!H||Re(e,t,P),r!==null&&i!==null?Et(n,r,t,i,s):i!==null?(e.$text$!==null&&(n.textContent=""),Te(n,null,t,i,0,i.length-1)):!s&&O.updatable&&r!==null&&ke(r,0,r.length-1),P&&l==="svg"&&(P=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},L=[],Ce=e=>{let t,s,n;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"])if(ye(t,l)){let a=L.find(o=>o.$nodeToRelocate$===t);M=!0,t["s-sn"]=t["s-sn"]||l,a?(a.$nodeToRelocate$["s-sh"]=i["s-hn"],a.$slotRefNode$=i):(t["s-sh"]=i["s-hn"],L.push({$slotRefNode$:i,$nodeToRelocate$:t})),t["s-sr"]&&L.map(o=>{ye(o.$nodeToRelocate$,t["s-sn"])&&(a=L.find(f=>f.$nodeToRelocate$===t),a&&!o.$slotRefNode$&&(o.$slotRefNode$=a.$slotRefNode$))})}else L.some(a=>a.$nodeToRelocate$===t)||L.push({$nodeToRelocate$:t})}i.nodeType===1&&Ce(i)}},x=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),_t=(e,t,s=!1)=>{var n,r,i,l;const a=e.$hostElement$,o=e.$vnode$||J(null,null),f=Pt(t)?t:bt(null,null,t);if(ee=a.tagName,s&&f.$attrs$)for(const $ of Object.keys(f.$attrs$))a.hasAttribute($)&&!["key","ref","style","class"].includes($)&&(f.$attrs$[$]=a[$]);f.$tag$=null,f.$flags$|=4,e.$vnode$=f,f.$elm$=o.$elm$=a,H=ft,V=a["s-cr"],M=!1,A(o,f,s);{if(v.$flags$|=1,te){Ce(f.$elm$);for(const $ of L){const c=$.$nodeToRelocate$;if(!c["s-ol"]){const u=k.createTextNode("");u["s-nr"]=c,x(c.parentNode,c["s-ol"]=u,c)}}for(const $ of L){const c=$.$nodeToRelocate$,u=$.$slotRefNode$;if(u){const d=u.parentNode;let h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(r=y["s-nr"])!=null?r:null;if(p&&p["s-sn"]===c["s-sn"]&&d===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===c||p!=null&&p["s-sr"];)p=p==null?void 0:p.nextSibling;if(!p||!p["s-nr"]){h=p;break}}y=y.previousSibling}}const g=c.__parentNode||c.parentNode,b=c.__nextSibling||c.nextSibling;(!h&&d!==g||b!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),x(d,c,h),c.nodeType===1&&c.tagName!=="SLOT-FB"&&(c.hidden=(i=c["s-ih"])!=null?i:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(l=c.hidden)!=null?l:!1),c.hidden=!0)}}M&&ge(f.$elm$),v.$flags$&=-2,L.length=0}V=void 0},Ee=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const s=t["s-p"].push(new Promise(n=>e.$onRenderResolve$=()=>{t["s-p"].splice(s-1,1),n()}))}},se=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ee(e,e.$ancestorComponent$),dt(()=>Lt(e,t))},Lt=(e,t)=>{const s=e.$hostElement$,n=I("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n(),xt(i,()=>Ot(e,r,t))},xt=(e,t)=>It(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),It=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ot=async(e,t,s)=>{var n;const r=e.$hostElement$,i=I("update",e.$cmpMeta$.$tagName$),l=r["s-rc"],a=I("render",e.$cmpMeta$.$tagName$);wt(e,t,r,s),l&&(l.map(o=>o()),r["s-rc"]=void 0),a(),i();{const o=(n=r["s-p"])!=null?n:[],f=()=>At(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},wt=(e,t,s,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,_t(e,t,n)}catch(r){w(r,e.$hostElement$)}return null},At=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=I("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?n():(e.$flags$|=64,Le(s),ne(r,"componentDidLoad",void 0,s),n(),e.$onReadyResolve$(s),i||_e()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&K(()=>se(e,!1)),e.$flags$&=-517},_e=e=>{Le(k.documentElement),K(()=>Tt(U,"appload",{detail:{namespace:tt}}))},ne=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(r){w(r,n)}},Le=e=>{var t;return e.classList.add((t=O.hydratedSelectorName)!=null?t:"hydrated")},Ft=(e,t)=>T(e).$instanceValues$.get(t),re=(e,t,s,n)=>{const r=T(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=Z(s,n.$members$[t][0]);const f=Number.isNaN(l)&&Number.isNaN(s),$=s!==l&&!f;if((!(a&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){const c=n.$watchers$[t];c&&c.map(u=>{try{o[u](s,l,t)}catch(d){w(d,i)}})}(a&18)===2&&se(r,!1)}},xe=(e,t,s)=>{var n,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((n=t.$members$)!=null?n:{});if(l.map(([a,[o]])=>{if(o&31||s&2&&o&32){const{get:f,set:$}=Object.getOwnPropertyDescriptor(i,a)||{};f&&(t.$members$[a][0]|=2048),$&&(t.$members$[a][0]|=4096),(s&1||!f)&&Object.defineProperty(i,a,{get(){{if(!(t.$members$[a][0]&2048))return Ft(this,a);const c=T(this),u=c?c.$lazyInstance$:i;return u?u[a]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(c){const u=T(this);if($){const d=o&32?this[a]:u.$hostElement$[a];typeof d>"u"&&u.$instanceValues$.get(a)?c=u.$instanceValues$.get(a):!u.$instanceValues$.get(a)&&d&&u.$instanceValues$.set(a,d),$.apply(this,[Z(c,o)]),c=o&32?this[a]:u.$hostElement$[a],re(this,a,c,t);return}{if(!(s&1)||!(t.$members$[a][0]&4096)){re(this,a,c,t),s&1&&!u.$lazyInstance$&&u.$onReadyPromise$.then(()=>{t.$members$[a][0]&4096&&u.$lazyInstance$[a]!==u.$instanceValues$.get(a)&&(u.$lazyInstance$[a]=c)});return}const d=()=>{const h=u.$lazyInstance$[a];!u.$instanceValues$.get(a)&&h&&u.$instanceValues$.set(a,h),u.$lazyInstance$[a]=Z(c,o),re(this,a,u.$lazyInstance$[a],t)};u.$lazyInstance$?d():u.$onReadyPromise$.then(()=>d())}}})}}),s&1){const a=new Map;i.attributeChangedCallback=function(o,f,$){v.jmp(()=>{var c;const u=a.get(o);if(this.hasOwnProperty(u)&&O.lazyLoad)$=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const h=T(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&$!==f){const b=h.$lazyInstance$,y=(c=t.$watchers$)==null?void 0:c[o];y==null||y.forEach(p=>{b[p]!=null&&b[p].call(b,$,f,o)})}return}}const d=Object.getOwnPropertyDescriptor(i,u);$=$===null&&typeof this[u]=="boolean"?!1:$,$!==this[u]&&(!d.get||d.set)&&(this[u]=$)})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,f])=>f[0]&15).map(([o,f])=>{const $=f[1]||o;return a.set($,o),$})]))}}return e},jt=async(e,t,s,n)=>{let r;if(!(t.$flags$&32)){t.$flags$|=32;{const a=lt(s,t);if(a&&"then"in a){const f=St();r=await a,f()}else r=a;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,xe(r,s,2),r.isProxied=!0);const o=I("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch(f){w(f,e)}t.$flags$&=-9,t.$flags$|=128,o(),ae(t.$lazyInstance$,e)}}const i=t.$ancestorComponent$,l=()=>se(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()},ae=(e,t)=>{ne(e,"connectedCallback",void 0,t)},Dt=e=>{if(!(v.$flags$&1)){const t=T(e),s=t.$cmpMeta$,n=I("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?ae(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ae(t.$lazyInstance$,e));else{t.$flags$|=1,s.$flags$&12&&Nt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ee(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),jt(e,t,s)}n()}},Nt=e=>{const t=e["s-cr"]=k.createComment("");t["s-cn"]=!0,x(e,t,e.firstChild)},Ie=(e,t)=>{ne(e,"disconnectedCallback",void 0,t||e)},Ut=async e=>{if(!(v.$flags$&1)){const t=T(e);t!=null&&t.$lazyInstance$?Ie(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ie(t.$lazyInstance$,e))}z.has(e)&&z.delete(e),e.shadowRoot&&z.has(e.shadowRoot)&&z.delete(e.shadowRoot)},zt=(e,t={})=>{var s;const n=I(),r=[],i=t.exclude||[],l=U.customElements,a=k.head,o=a.querySelector("meta[charset]"),f=k.createElement("style"),$=[];let c,u=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",k.baseURI).href;let d=!1;if(e.map(h=>{h[1].map(g=>{var b;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(b=g[4])!=null?b:{};const p=y.$tagName$,N=class extends HTMLElement{constructor(R){super(R),this.hasRegisteredEventListeners=!1,R=this,ot(R,y)}connectedCallback(){T(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),c&&(clearTimeout(c),c=null),u?$.push(this):v.jmp(()=>Dt(this))}disconnectedCallback(){v.jmp(()=>Ut(this)),v.raf(()=>{var R;const C=T(this);((R=C==null?void 0:C.$vnode$)==null?void 0:R.$elm$)instanceof Node&&!C.$vnode$.$elm$.isConnected&&delete C.$vnode$.$elm$})}componentOnReady(){return T(this).$onReadyPromise$}};y.$lazyBundleId$=h[0],!i.includes(p)&&!l.get(p)&&(r.push(p),l.define(p,xe(N,y,1)))})}),r.length>0&&(d&&(f.textContent+=ct),f.textContent+=r.sort()+it,f.innerHTML.length)){f.setAttribute("data-styles","");const h=(s=v.$nonce$)!=null?s:ht(k);h!=null&&f.setAttribute("nonce",h),a.insertBefore(f,o?o.nextSibling:a.firstChild)}u=!1,$.length?$.map(h=>h.connectedCallback()):v.jmp(()=>c=setTimeout(_e,30)),n()};const Ht=()=>{},Mt=async(e,t)=>{if(!(typeof window>"u"))return await Ht(),zt([["searchcraft-base-search-results",[[4,"searchcraft-base-search-results",{customStylesForResults:[1,"custom-styles-for-results"],searchResultMappings:[16],resultImagePlacement:[1,"result-image-placement"],buttonLabel:[1,"button-label"],buttonTarget:[1,"button-target"],buttonRel:[1,"button-rel"],containerTarget:[1,"container-target"],containerRel:[1,"container-rel"],searchTerm:[32],searchClientResponseItems:[32],adClientResponseItems:[32],searchResultsPerPage:[32],searchResultsPage:[32]}]]],["searchcraft-filter-panel",[[0,"searchcraft-filter-panel",{items:[16],unsubscribe:[32],lastSearchTerm:[32]}]]],["searchcraft-pagination",[[0,"searchcraft-pagination",{customStyles:[1,"custom-styles"],searchTerm:[32],searchResultsPerPage:[32],searchResultsPage:[32],searchResultsCount:[32],searchResultsPagesCount:[32],searchResultsRangeMin:[32],searchResultsRangeMax:[32],setSearchResultsPage:[32]}]]],["searchcraft-search-results-per-page",[[0,"searchcraft-search-results-per-page",{increment:[8],customStyles:[1,"custom-styles"],searchTerm:[32],searchResultsPage:[32],searchResultsPerPage:[32],searchResultsCount:[32],searchResultsPagesCount:[32],initialSearchResultsPerPage:[32],setSearchResultsPerPage:[32],setSearchResultsPage:[32]}]]],["searchcraft-popover-button",[[4,"searchcraft-popover-button"]]],["searchcraft-results-info",[[0,"searchcraft-results-info",{customFormatter:[16],customStyles:[1,"custom-styles"],searchTerm:[32],searchResultsPage:[32],searchResultsPerPage:[32],searchResultsCount:[32],count:[32],range:[32],responseTime:[32]}]]],["searchcraft-theme",[[0,"searchcraft-theme",{theme:[1],customTheme:[1,"custom-theme"]}]]],["searchcraft-input-form_2",[[0,"searchcraft-input-form",{config:[16],autoSearch:[4,"auto-search"],buttonPlacement:[1,"button-placement"],buttonLabel:[1,"button-label"],inputLabel:[1,"input-label"],customStyles:[1,"custom-styles"],placeholderValue:[1,"placeholder-value"],searchTerm:[1,"search-term"],inputValue:[32],error:[32],isSearchcraftInitialized:[32]},null,{config:["onConfigChange"]}],[0,"searchcraft-popover-list-view",{popoverResultMappings:[16],searchClientResponseItems:[16],adClientResponseItems:[16],searchResultsPage:[2,"search-results-page"],searchResultsPerPage:[2,"search-results-per-page"]}]]],["searchcraft-popover-form",[[0,"searchcraft-popover-form",{config:[16],type:[1],popoverResultMappings:[16],hotkey:[1],hotkeyModifier:[1,"hotkey-modifier"],isPopoverVisibleInState:[32],unsubscribe:[32],searchClientResponseItems:[32],adClientResponseItems:[32],searchTerm:[32],isFocused:[32],breakpointSm:[32],breakpointMd:[32],breakpointLg:[32],searchResultsPage:[32],searchResultsPerPage:[32],modalElement:[32]}]]],["searchcraft-select",[[0,"searchcraft-select",{caption:[1],disabled:[4],inputId:[1,"input-id"],label:[1],labelId:[1,"label-id"],name:[1],options:[1],customStyles:[1,"custom-styles"],searchResultsPerPage:[32],setSearchResultsPage:[32],setSearchResultsPerPage:[32]}]]],["searchcraft-base-search-result_2",[[0,"searchcraft-base-search-result",{item:[16],searchResultMappings:[16],containerTarget:[1,"container-target"],containerRel:[1,"container-rel"],buttonTarget:[1,"button-target"],buttonRel:[1,"button-rel"],imagePlacement:[1,"image-placement"],customStyles:[1,"custom-styles"],documentPosition:[2,"document-position"],titleContent:[32],subtitleContent:[32],bodyContent:[32],footerContent:[32],buttonLabel:[32],buttonHref:[32],containerHref:[32],imageSrc:[32],imageAlt:[32]}],[0,"searchcraft-base-search-result-ad",{adClientResponseItem:[16]}]]],["searchcraft-facet-list_3",[[0,"searchcraft-facet-list",{fieldName:[1,"field-name"],baseFacetRoot:[32],facetRoot:[32],selectedPaths:[32],lastTimeTaken:[32],hasNewSearchTerm:[32],lastSearchTerm:[32],lastSearchMode:[32],lastSortType:[32],unsubscribe:[32]}],[0,"searchcraft-slider",{max:[2],min:[2],granularity:[2],dataType:[1,"data-type"],endValue:[32],startValue:[32],lastFocusedHandle:[32]}],[0,"searchcraft-toggle-button",{label:[1],subLabel:[1,"sub-label"],isActive:[32],unsubscribe:[32],lastSearchTerm:[32]}]]],["searchcraft-popover-list-item_2",[[0,"searchcraft-popover-list-item",{item:[16],popoverResultMappings:[16],documentPosition:[2,"document-position"],href:[32],imageSrc:[32],imageAlt:[32],titleContent:[32],subtitleContent:[32]}],[0,"searchcraft-popover-list-item-ad",{adClientResponseItem:[16]}]]],["searchcraft-button_3",[[0,"searchcraft-input-label",{inputLabelClassName:[1,"input-label-class-name"],label:[1]}],[0,"searchcraft-button",{hierarchy:[1],disabled:[4],icon:[16],iconOnly:[4,"icon-only"],iconPosition:[1,"icon-position"],label:[1],type:[1]}],[0,"searchcraft-error-message",{errorMessage:[1,"error-message"]}]]]],t)};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}})();const Bt={async install(){Mt()}};m.ComponentLibrary=Bt,m.SearchcraftBaseSearchResults=Ge,m.SearchcraftFilterPanel=Xe,m.SearchcraftInputForm=Ke,m.SearchcraftPagination=Ve,m.SearchcraftPopoverButton=Ye,m.SearchcraftPopoverForm=Qe,m.SearchcraftResultsInfo=Je,m.SearchcraftSearchResultsPerPage=et,m.SearchcraftTheme=Ze,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
2
2
  //# sourceMappingURL=index.umd.js.map