@searchcraft/vue-sdk 0.7.1 → 0.7.2
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.
- package/dist/components/SearchcraftBaseSearchResults.d.ts +11 -30
- package/dist/components/SearchcraftBaseSearchResults.d.ts.map +1 -1
- package/dist/components/SearchcraftFilterPanel.d.ts +11 -7
- package/dist/components/SearchcraftFilterPanel.d.ts.map +1 -1
- package/dist/components/SearchcraftInputForm.d.ts +10 -36
- package/dist/components/SearchcraftInputForm.d.ts.map +1 -1
- package/dist/components/SearchcraftPopoverButton.d.ts +10 -3
- package/dist/components/SearchcraftPopoverButton.d.ts.map +1 -1
- package/dist/components/SearchcraftPopoverForm.d.ts +10 -15
- package/dist/components/SearchcraftPopoverForm.d.ts.map +1 -1
- package/dist/components/SearchcraftResultsInfo.d.ts +10 -3
- package/dist/components/SearchcraftResultsInfo.d.ts.map +1 -1
- package/dist/components/SearchcraftTheme.d.ts +10 -3
- package/dist/components/SearchcraftTheme.d.ts.map +1 -1
- package/dist/components/index.d.ts +7 -7
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.es.js +310 -440
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(R,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],g):(R=typeof globalThis<"u"?globalThis:R||self,g(R.SearchcraftVueSdk={},R.Vue))})(this,function(R,g){"use strict";const W="routerLink",oe="navManager",Ie="router",Fe="aria",F=Symbol(),le={default:F},ie=e=>(e==null?void 0:e.split(" "))||[],Ne=(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)},A=(e,t,n=[],s=[],r,i)=>{const l=g.defineComponent((a,{attrs:o,slots:f,emit:d})=>{var S;const c=g.ref(),u=new Set(ie(o.class)),$=g.getCurrentInstance(),y=((S=$==null?void 0:$.appContext)==null?void 0:S.provides[oe])?g.inject(oe):void 0,b=h=>{const{routerLink:B}=a;if(B!==F)if(y!==void 0){h.preventDefault();let T={event:h};for(const P in a){const m=a[P];a.hasOwnProperty(P)&&P.startsWith(Ie)&&m!==F&&(T[P]=m)}y.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(m=>{u.add(m)});const h=a.onClick,B=m=>{h!==void 0&&h(m),m.defaultPrevented||b(m)};let T={ref:c,class:Ne(c,u),onClick:B};for(const m in a){const xe=a[m];(a.hasOwnProperty(m)&&xe!==F||m.startsWith(Fe))&&(T[m]=xe);const we="on"+m.slice(0,1).toUpperCase()+m.slice(1),Ut=o[we];c.value&&o.hasOwnProperty(we)&&"addEventListener"in c.value&&c.value.addEventListener(m,Ut)}return W in a&&a[W]!==F&&(T={...T,href:a[W]}),g.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},je=A("searchcraft-base-search-results",void 0,["adInterval","customStylesForResults","searchResultMappings","placeAdAtEnd","placeAdAtStart","resultImagePlacement","buttonLabel","buttonTarget","buttonRel","containerTarget","containerRel","noResults"],["noResults"]),Be=A("searchcraft-filter-panel",void 0,["items"]),De=A("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"]),Ue=A("searchcraft-popover-button"),ze=A("searchcraft-popover-form",void 0,["config","type","popoverResultMappings","hotkey","hotkeyModifier"]),He=A("searchcraft-results-info"),Me=A("searchcraft-theme"),qe=g.defineComponent({name:"SearchcraftBaseSearchResults",props:{adInterval:Number,customStylesForResults:Object,searchResultMappings:Object,placeAdAtEnd:Boolean,placeAdAtStart:Boolean,resultImagePlacement:String,buttonLabel:String,buttonTarget:String,buttonRel:String,containerTarget:String,containerRel:String,noResults:String},setup(e){return()=>g.createVNode(je,e,null)}}),We=g.defineComponent({name:"SearchcraftFilterPanel",props:{items:{type:Array,required:!0}},setup(e){return()=>g.createVNode(Be,e,null)}}),Qe=g.defineComponent({name:"SearchcraftInputForm",props:{config:{type:Object,required:!1},autoSearch:{type:Boolean,default:!1},buttonPlacement:{type:String,default:"right"},buttonLabel:{type:String,default:"Search"},inputLabel:{type:String,default:""},customStyles:{type:Object,default:()=>({})},placeholderValue:{type:String,default:"Enter a search term..."},searchTerm:{type:String,default:""},debounceDelay:{type:Number,default:300}},emits:["inputCleared","noResultsReceived","querySubmit","inputFocus","inputBlur"],setup(e,{emit:t}){const n=s=>r=>{t(s,r)};return()=>g.createVNode(De,g.mergeProps(e,{onInputCleared:n("inputCleared"),onNoResultsReceived:n("noResultsReceived"),onQuerySubmit:n("querySubmit"),onInputFocus:n("inputFocus"),onInputBlur:n("inputBlur")}),null)}}),Ge=g.defineComponent({name:"SearchcraftPopoverButton",props:{},setup(e){return()=>g.createVNode(Ue,e,null)}}),Xe=g.defineComponent({name:"SearchcraftPopoverForm",props:{type:{type:String,required:!1},hotkey:{type:String,required:!1},hotkeyModifier:{type:String,required:!1},config:{type:Object,required:!1},popoverResultMappings:{type:Object,required:!1}},setup(e){return()=>g.createVNode(ze,e,null)}}),Ke=g.defineComponent({name:"SearchcraftResultsInfo",props:{},setup(e){return()=>g.createVNode(He,e,null)}}),Ye=g.defineComponent({name:"SearchcraftTheme",props:{},setup(e){return()=>g.createVNode(Me,e,null)}}),Je="searchcraft-javascript-sdk",x={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}",D=typeof window<"u"?window:{},C=D.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=x.shadowDom,lt=e=>Promise.resolve(e),Q=!1,de=[],$e=[],it=(e,t)=>n=>{e.push(n),Q||(Q=!0,v.$flags$&4?X(G):v.raf(G))},pe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},G=()=>{pe(de),pe($e),(Q=de.length>0)&&v.raf(G)},X=e=>lt().then(e),ct=it($e),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:()=>he,map:()=>dt,ok:()=>Y,unwrap:()=>$t,unwrapErr:()=>pt});var Y=e=>({isOk:!0,isErr:!1,value:e}),he=e=>({isOk:!1,isErr:!0,value:e});function dt(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 he(n)}throw"should never get here"}var $t=e=>{if(e.isOk)return e.value;throw e.value},pt=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"&&ye(t,e.tagName).forEach(n=>{var s;n.nodeType===1&&n.tagName==="SLOT-FB"&&((s=ht(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 ye(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,...ye(i.childNodes,t,n)];return r}var ht=(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},ve=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",O=(e,t="")=>()=>{},gt=(e,t)=>()=>{},yt=(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 d=J(e,null);return d.$attrs$=t,o.length>0&&(d.$children$=o),d.$key$=r,d.$name$=i,d},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},vt={},St=e=>e&&e.$tag$===vt,Z=(e,t)=>e!=null&&!K(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,mt=(e,t,n)=>{const s=v.ce(t,n);return e.dispatchEvent(s),s},U=new WeakMap,Se=(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=me(n);let d=me(s);e["s-si"]?(d.push(e["s-si"]),f.forEach(c=>{c.startsWith(e["s-si"])&&d.push(c)}),d=[...new Set(d)],o.add(...d),delete e["s-si"]):(o.remove(...f.filter(c=>c&&!d.includes(c))),o.add(...d.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(D,a)?t=a.slice(2):t=a[2]+t.slice(3),n||s){const o=t.endsWith(be);t=t.replace(Rt,""),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))}}},bt=/\s/,me=e=>(typeof e=="object"&&"baseVal"in e&&(e=e.baseVal),e?e.split(bt):[]),be="Capture",Rt=new RegExp(be+"$"),Re=(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 Te(Object.keys(r)))l in i||Se(s,l,r[l],void 0,n,t.$flags$);for(const l of Te(Object.keys(i)))Se(s,l,r[l],i[l],n,t.$flags$)};function Te(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var V,ee,z=!1,H=!1,te=!1,k=!1,M=(e,t,n)=>{var s;const r=t.$children$[n];let i=0,l,a,o;if(z||(te=!0,r.$tag$==="slot"&&(r.$flags$|=r.$children$?2:1)),r.$text$!==null)l=r.$elm$=C.createTextNode(r.$text$);else if(r.$flags$&1)l=r.$elm$=C.createTextNode("");else{if(k||(k=r.$tag$==="svg"),l=r.$elm$=C.createElementNS(k?et:tt,!z&&x.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),k&&r.$tag$==="foreignObject"&&(k=!1),Re(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$&&N(e.$elm$,!1)),l},N=(e,t)=>{v.$flags$|=1;const n=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&x.experimentalSlotFixes;for(let s=n.length-1;s>=0;s--){const r=n[s];r["s-hn"]!==ee&&r["s-ol"]&&(_(j(r).parentNode,r,j(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,te=!0),t&&N(r,t)}v.$flags$&=-2},ke=(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,j(t))))},Ee=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;i&&(H=!0,i["s-ol"]?i["s-ol"].remove():N(i,!0),i.remove())}}},Tt=(e,t,n,s,r=!1)=>{let i=0,l=0,a=0,o=0,f=t.length-1,d=t[0],c=t[f],u=s.length-1,$=s[0],p=s[u],y,b;for(;i<=f&&l<=u;)if(d==null)d=t[++i];else if(c==null)c=t[--f];else if($==null)$=s[++l];else if(p==null)p=s[--u];else if(q(d,$,r))I(d,$,r),d=t[++i],$=s[++l];else if(q(c,p,r))I(c,p,r),c=t[--f],p=s[--u];else if(q(d,p,r))(d.$tag$==="slot"||p.$tag$==="slot")&&N(d.$elm$.parentNode,!1),I(d,p,r),_(e,d.$elm$,c.$elm$.nextSibling),d=t[++i],p=s[--u];else if(q(c,$,r))(d.$tag$==="slot"||p.$tag$==="slot")&&N(c.$elm$.parentNode,!1),I(c,$,r),_(e,c.$elm$,d.$elm$),c=t[--f],$=s[++l];else{for(a=-1,o=i;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===$.$key$){a=o;break}a>=0?(b=t[a],b.$tag$!==$.$tag$?y=M(t&&t[l],n,a):(I(b,$,r),t[a]=void 0,y=b.$elm$),$=s[++l]):(y=M(t&&t[l],n,l),$=s[++l]),y&&_(j(d.$elm$).parentNode,y,j(d.$elm$))}i>f?ke(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&Ee(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,j=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"&&!z||Re(e,t,k),r!==null&&i!==null?Tt(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ke(s,null,t,i,0,i.length-1)):!n&&x.updatable&&r!==null&&Ee(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=[],Ce=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(ve(t,l)){let a=L.find(o=>o.$nodeToRelocate$===t);H=!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=>{ve(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)}},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),kt=(e,t,n=!1)=>{var s,r,i,l;const a=e.$hostElement$,o=e.$vnode$||J(null,null),f=St(t)?t:yt(null,null,t);if(ee=a.tagName,n&&f.$attrs$)for(const d of Object.keys(f.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(f.$attrs$[d]=a[d]);f.$tag$=null,f.$flags$|=4,e.$vnode$=f,f.$elm$=o.$elm$=a,z=ot,V=a["s-cr"],H=!1,I(o,f,n);{if(v.$flags$|=1,te){Ce(f.$elm$);for(const d of L){const c=d.$nodeToRelocate$;if(!c["s-ol"]){const u=C.createTextNode("");u["s-nr"]=c,_(c.parentNode,c["s-ol"]=u,c)}}for(const d of L){const c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){const $=u.parentNode;let p=u.nextSibling;{let S=(s=c["s-ol"])==null?void 0:s.previousSibling;for(;S;){let h=(r=S["s-nr"])!=null?r:null;if(h&&h["s-sn"]===c["s-sn"]&&$===(h.__parentNode||h.parentNode)){for(h=h.nextSibling;h===c||h!=null&&h["s-sr"];)h=h==null?void 0:h.nextSibling;if(!h||!h["s-nr"]){p=h;break}}S=S.previousSibling}}const y=c.__parentNode||c.parentNode,b=c.__nextSibling||c.nextSibling;(!p&&$!==y||b!==p)&&c!==p&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),_($,c,p),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)}}H&&ge(f.$elm$),v.$flags$&=-2,L.length=0}V=void 0},Pe=(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 Pe(e,e.$ancestorComponent$),ct(()=>Et(e,t))},Et=(e,t)=>{const n=e.$hostElement$,s=O("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(),Ct(i,()=>Lt(e,r,t))},Ct=(e,t)=>Pt(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Pt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Lt=async(e,t,n)=>{var s;const r=e.$hostElement$,i=O("update",e.$cmpMeta$.$tagName$),l=r["s-rc"],a=O("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=()=>At(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,kt(e,t,s)}catch(r){w(r,e.$hostElement$)}return null},At=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=O("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(C.documentElement),X(()=>mt(D,"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=x.hydratedSelectorName)!=null?t:"hydrated")},Ot=(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),d=n!==l&&!f;if((!(a&8)||l===void 0)&&d&&(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($){w($,i)}})}(a&18)===2&&ne(r,!1)}},Ae=(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:d}=Object.getOwnPropertyDescriptor(i,a)||{};f&&(t.$members$[a][0]|=2048),d&&(t.$members$[a][0]|=4096),(n&1||!f)&&Object.defineProperty(i,a,{get(){{if(!(t.$members$[a][0]&2048))return Ot(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(d){const $=o&32?this[a]:u.$hostElement$[a];typeof $>"u"&&u.$instanceValues$.get(a)?c=u.$instanceValues$.get(a):!u.$instanceValues$.get(a)&&$&&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 $=()=>{const p=u.$lazyInstance$[a];!u.$instanceValues$.get(a)&&p&&u.$instanceValues$.set(a,p),u.$lazyInstance$[a]=Z(c,o),re(this,a,u.$lazyInstance$[a],t)};u.$lazyInstance$?$():u.$onReadyPromise$.then(()=>$())}}})}}),n&1){const a=new Map;i.attributeChangedCallback=function(o,f,d){v.jmp(()=>{var c;const u=a.get(o);if(this.hasOwnProperty(u)&&x.lazyLoad)d=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==d)return;if(u==null){const p=E(this),y=p==null?void 0:p.$flags$;if(y&&!(y&8)&&y&128&&d!==f){const b=p.$lazyInstance$,S=(c=t.$watchers$)==null?void 0:c[o];S==null||S.forEach(h=>{b[h]!=null&&b[h].call(b,d,f,o)})}return}}const $=Object.getOwnPropertyDescriptor(i,u);d=d===null&&typeof this[u]=="boolean"?!1:d,d!==this[u]&&(!$.get||$.set)&&(this[u]=d)})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,f])=>f[0]&15).map(([o,f])=>{const d=f[1]||o;return a.set(d,o),d})]))}}return e},xt=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,Ae(r,n,2),r.isProxied=!0);const o=O("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=O("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"]){Pe(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}}),xt(e,t,n)}s()}},It=e=>{const t=e["s-cr"]=C.createComment("");t["s-cn"]=!0,_(e,t,e.firstChild)},Oe=(e,t)=>{se(e,"disconnectedCallback",void 0,t||e)},Ft=async e=>{if(!(v.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?Oe(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Oe(t.$lazyInstance$,e))}U.has(e)&&U.delete(e),e.shadowRoot&&U.has(e.shadowRoot)&&U.delete(e.shadowRoot)},Nt=(e,t={})=>{var n;const s=O(),r=[],i=t.exclude||[],l=D.customElements,a=C.head,o=a.querySelector("meta[charset]"),f=C.createElement("style"),d=[];let c,u=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",C.baseURI).href;let $=!1;if(e.map(p=>{p[1].map(y=>{var b;const S={$flags$:y[0],$tagName$:y[1],$members$:y[2],$listeners$:y[3]};S.$flags$&4&&($=!0),S.$members$=y[2],S.$watchers$=(b=y[4])!=null?b:{};const h=S.$tagName$,B=class extends HTMLElement{constructor(T){super(T),this.hasRegisteredEventListeners=!1,T=this,nt(T,S)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),c&&(clearTimeout(c),c=null),u?d.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$}};S.$lazyBundleId$=p[0],!i.includes(h)&&!l.get(h)&&(r.push(h),l.define(h,Ae(B,S,1)))})}),r.length>0&&($&&(f.textContent+=at),f.textContent+=r.sort()+rt,f.innerHTML.length)){f.setAttribute("data-styles","");const p=(n=v.$nonce$)!=null?n:ft(C);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}u=!1,d.length?d.map(p=>p.connectedCallback()):v.jmp(()=>c=setTimeout(Le,30)),s()};const jt=()=>{},Bt=async(e,t)=>{if(!(typeof window>"u"))return await jt(),Nt([["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 Dt={async install(){Bt()}};R.ComponentLibrary=Dt,R.SearchcraftBaseSearchResults=qe,R.SearchcraftFilterPanel=We,R.SearchcraftInputForm=Qe,R.SearchcraftPopoverButton=Ge,R.SearchcraftPopoverForm=Xe,R.SearchcraftResultsInfo=Ke,R.SearchcraftTheme=Ye,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
|
|
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"})});
|
|
2
2
|
//# sourceMappingURL=index.umd.js.map
|