iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.hillsboroughcounty.org/_nuxt/index.vue.CpvmkLZI.js
import{d as be,r as M,ah as xe,af as Z,s as r,t as f,w as a,y as o,m as t,e as Re,a2 as Te,a4 as ze,c as B,C as v,a8 as Be,a5 as de,a6 as ce,aT as Ee,ag as j,W as K,E as me,z as L,G as b,a1 as De,F as V,D as E,x,aU as Ue,ai as Ne,aj as Oe,v as R,aH as fe,K as G,M as J,J as _e,a0 as pe,H as X,A as Y,aa as ve,aV as je,aW as Ae,aL as Me,I as He,$ as Fe,P as We,B as qe,aX as Qe,ab as Ke,ac as H,ad as F}from"./entry.ds4tjCL3.js";import{V as Ge}from"./VPagination.RkZOVaLg.js";import{h as Je,i as Xe,a as A,u as Ye,j as Ze,k as et,l as ye,t as ge,b as tt,d as at,A as nt}from"./search.B7XOQmio.js";import{u as ot}from"./url.Uxguswxc.js";import{V as lt}from"./VChip.DHxZcbgl.js";import{V as rt,a as st}from"./VWindowItem.VlMLf8yV.js";const it=be({__name:"Pagination",props:{modelValue:{default:1}},emits:["update:modelValue"],setup(e,{emit:l}){const d=e,_=l,m=M(),y=k=>{var $;($=m.value)==null||$.call(m,k-1),_("update:modelValue",k)};return xe(()=>{Z(()=>d.modelValue,k=>{var $;($=m.value)==null||$.call(m,k-1)})}),(k,$)=>(r(),f(t(Je),null,{default:a(({currentRefinement:T,nbPages:U,refine:p})=>[o(Ge,{onVnodeMounted:N=>m.value=p,"model-value":T+1,"onUpdate:modelValue":y,onPrevious:N=>p(T-1),onNext:N=>p(T+1),length:U,"total-visible":k.$vuetify.display.xs?3:5,size:k.$vuetify.display.xs?"small":"default"},null,8,["onVnodeMounted","model-value","onPrevious","onNext","length","total-visible","size"])]),_:1}))}});function D(e){"@babel/helpers - typeof";return D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},D(e)}var ut=["configure"];function dt(e,l,d){return l=ct(l),l in e?Object.defineProperty(e,l,{value:d,enumerable:!0,configurable:!0,writable:!0}):e[l]=d,e}function ct(e){var l=mt(e,"string");return D(l)==="symbol"?l:String(l)}function mt(e,l){if(D(e)!=="object"||e===null)return e;var d=e[Symbol.toPrimitive];if(d!==void 0){var _=d.call(e,l||"default");if(D(_)!=="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(e)}function ft(e,l){if(e==null)return{};var d=_t(e,l),_,m;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(e);for(m=0;m=0)&&Object.prototype.propertyIsEnumerable.call(e,_)&&(d[_]=e[_])}return d}function _t(e,l){if(e==null)return{};var d={},_=Object.keys(e),m,y;for(y=0;y<_.length;y++)m=_[y],!(l.indexOf(m)>=0)&&(d[m]=e[m]);return d}function he(e){e.configure;var l=ft(e,ut);return l}function pt(e){return{$$type:"ais.singleIndex",stateToRoute:function(d){return he(d[e]||{})},routeToState:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return dt({},e,he(d))}}}const vt=H(()=>F(()=>import("./Document.ClVmza6T.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)),yt=H(()=>F(()=>import("./CloudinaryDocument.CtTaAGNy.js"),__vite__mapDeps([5,2,3,4]),import.meta.url).then(e=>e.default||e)),gt=H(()=>F(()=>import("./Cip.CUcrP-pb.js"),__vite__mapDeps([6,7,2,3,4]),import.meta.url).then(e=>e.default||e)),ht=H(()=>F(()=>import("./index.CPL69mLM.js"),__vite__mapDeps([8,3,4,9,2]),import.meta.url).then(e=>e.default||e)),bt=R("div",null,null,-1),Vt={class:"text-caption text-right my-2"},kt={key:0},Ct={class:"text-center text-disabled font-weight-bold"},wt=R("div",{id:"search-filter-xs-teleport"},null,-1),St=R("div",{id:"search-filter-teleport"},null,-1),Tt=be({__name:"index",props:{config:{},placeholder:{},page:{},tab:{},hideHits:{type:Boolean}},emits:["update:page","update:tab"],async setup(e,{emit:l}){var ae;let d,_;const{path:m,query:y}=Re(),k=e,$=l,{data:T}=([d,_]=Te(()=>ze("/api/contentstack/search-settings","$QzruhQ9o4q")),d=await d,_(),d),U=B(()=>{var n;return(n=T.value)==null?void 0:n.landing_pages}),p=B(()=>{var n;return(n=U.value)==null?void 0:n.find(u=>(u==null?void 0:u.route)===m)}),N=B(()=>{var n,u;return(u=(n=p.value)==null?void 0:n.indices)!=null&&u[0]?{router:Xe(),stateMapping:pt(A(p.value.indices[0]))}:void 0}),ee=y.tab?parseInt(`${y.tab}`):0,g=M(isNaN(ee)?0:ee);Z(g,n=>{$("update:tab",n)});const{query:C,algolia:Ve,refinementComponetResolver:ke}=Ye();function Ce(n){return{filters:(n.filters??[]).join(` ${n.filters_join} `)}}const z=M(!1),O=M(),te=B(()=>{var n,u;return(u=(n=p.value)==null?void 0:n.indices)==null?void 0:u.map((w,I)=>Ce(w))});(ae=te.value)==null||ae.forEach((n,u)=>{Z(()=>{var w;return(w=k.config)==null?void 0:w[u]},w=>{var I;w&&((I=O.value)==null||I.call(O,{...n,...w}))})});const we=B(()=>{const{origin:n,pathname:u}=ot();return[n,u].join("")});return(n,u)=>{var ne,oe,le,re;const w=Qe,I=Ke,Se=vt,Pe=yt,$e=gt,Ie=ht,Le=it;return r(),v(V,null,[o(w,{rel:"canonical",href:t(we)},null,8,["href"]),(oe=(ne=t(p))==null?void 0:ne.indices)!=null&&oe[0]?(r(),f(t(nt),{key:0,"search-client":t(Ve),"index-name":("usePrefixedIndex"in n?n.usePrefixedIndex:t(A))((re=(le=t(p))==null?void 0:le.indices)==null?void 0:re[0]),routing:t(N)},{default:a(()=>[o(Be,null,{default:a(()=>[o(de,null,{default:a(()=>[o(ce,{cols:"12",sm:"8",order:"0","order-sm":"1"},{default:a(()=>{var i;return[o(t(Ze),null,{default:a(({isSearchStalled:s,refine:h})=>[o(Ee,{placeholder:n.placeholder??"Search",color:"secondary","append-inner-icon":"fa-solid fa-magnifying-glass",rounded:"",clearable:"",variant:"outlined",modelValue:t(C),"onUpdate:modelValue":[u[1]||(u[1]=S=>j(C)?C.value=S:null),S=>h(t(C))],"onClick:clear":()=>{C.value="",h(t(C))},loading:s,"hide-details":""},{prepend:a(()=>[o(I,null,{default:a(()=>[n.$vuetify.display.xs?(r(),f(K,{key:0,onClick:u[0]||(u[0]=S=>z.value=!t(z)),icon:"",variant:"tonal",color:"secondary"},{default:a(()=>[o(me,null,{default:a(()=>[L("fa-solid fa-filter")]),_:1})]),_:1})):b("",!0)]),_:1})]),_:2},1032,["placeholder","modelValue","onUpdate:modelValue","onClick:clear","loading"])]),_:1}),b("",!0),((i=t(p).indices)==null?void 0:i.length)>1?(r(),f(Ne,{key:1,modelValue:t(g),"onUpdate:modelValue":u[2]||(u[2]=s=>j(g)?g.value=s:null),color:"blue-lighten-1",class:"mt-5","bg-color":"grey-lighten-3",grow:"","show-arrows":"","center-active":""},{default:a(()=>[(r(!0),v(V,null,E(t(p).indices,(s,h)=>(r(),v(V,null,[s?(r(),f(t(ye),{key:0,"index-name":("usePrefixedIndex"in n?n.usePrefixedIndex:t(A))(s)},{default:a(()=>[o(t(ge),null,{default:a(({nbHits:S,processingTimeMS:W})=>[o(Oe,{value:h,class:"text-capitalize"},{default:a(()=>[R("span",{class:fe({"font-weight-bold":t(g)===h})},x(s.name),3),s.hide_count?b("",!0):(r(),f(lt,{key:0,size:"x-small",class:fe(["ml-2",{"font-weight-black":t(g)===h}])},{default:a(()=>[L(x(S),1)]),_:2},1032,["class"]))]),_:2},1032,["value"]),bt]),_:2},1024)]),_:2},1032,["index-name"])):b("",!0)],64))),256))]),_:1},8,["modelValue"])):b("",!0),o(rt,{modelValue:t(g),"onUpdate:modelValue":u[4]||(u[4]=s=>j(g)?g.value=s:null)},{default:a(()=>[(r(!0),v(V,null,E(t(p).indices,(s,h)=>(r(),v(V,null,[s?(r(),f(t(ye),{key:0,"index-name":("usePrefixedIndex"in n?n.usePrefixedIndex:t(A))(s)},{default:a(()=>{var S;return[o(t(tt),G(J((S=t(te))==null?void 0:S[h])),{default:a(({searchParameters:W,refine:se})=>[o(st,{value:h,onVnodeMounted:c=>O.value=se},{default:a(()=>[o(t(ge),null,{default:a(({nbHits:c,processingTimeMS:q})=>[R("p",Vt,x(c)+" hits retrieved in "+x(q)+"ms ",1)]),_:1}),o(t(at),null,{default:a(({items:c,sendEvent:q})=>{var Q,ie;return[_e(n.$slots,"default",G(J({settings:t(p),items:c,searchParameters:W,index:s}))),n.hideHits?b("",!0):(r(),v("div",kt,[c.length?(r(),f(pe,{key:0,lines:"three"},{default:a(()=>[(r(!0),v(V,null,E(c,P=>(r(),v(V,{key:P.objectID},[o(X),_e(n.$slots,"hit",G(J({hit:P,index:s})),()=>[(s==null?void 0:s.index_id)==="contentstack_assets"?(r(),f(Se,{key:0,hit:P,role:"option"},null,8,["hit"])):(s==null?void 0:s.index_id)==="cloudinary_documents"?(r(),f(Pe,{key:1,hit:P,role:"option"},null,8,["hit"])):(s==null?void 0:s.index_id)==="capital_improvement_projects"?(r(),f($e,{key:2,hit:P,role:"option"},null,8,["hit"])):(r(),f(Ie,{key:3,hit:P,role:"option"},null,8,["hit"]))])],64))),128))]),_:2},1024)):(r(),v(V,{key:1},[o(X),o(Y,null,{default:a(()=>{var P,ue;return[R("div",Ct,' No results in the "'+x((ue=(P=t(p).indices)==null?void 0:P[t(g)])==null?void 0:ue.name)+'" search index ',1)]}),_:1}),((ie=(Q=t(p).indices)==null?void 0:Q[t(g)])==null?void 0:ie.index_id)!="contentstack_main"?(r(),f(de,{key:0,justify:"center",class:"pb-3"},{default:a(()=>[o(K,{variant:"tonal",href:`/search?query=${t(C)}`},{default:a(()=>[L("Search All Indices")]),_:1},8,["href"])]),_:1})):b("",!0)],64))]))]}),_:2},1024),n.hideHits?b("",!0):(r(),f(Le,{key:0,"model-value":n.page,"onUpdate:modelValue":u[3]||(u[3]=c=>n.$emit("update:page",c))},null,8,["model-value"])),o(I,null,{default:a(()=>[(r(),f(ve,{to:"#search-filter-teleport"},[(r(!0),v(V,null,E(s==null?void 0:s.refinements,c=>(r(),v(V,null,[c!=null&&c.attribute&&h===t(g)&&(c!=null&&c.component)?(r(),f(je(t(ke)(c==null?void 0:c.component)),{key:0,title:c.title??void 0,attribute:c.attribute,class:"mb-3"},null,8,["title","attribute"])):b("",!0)],64))),256))]))]),_:2},1024)]),_:2},1032,["value","onVnodeMounted"])]),_:2},1040)]}),_:2},1032,["index-name"])):b("",!0)],64))),256))]),_:3},8,["modelValue"])]}),_:3}),o(ce,{cols:"12",sm:"4",order:"1","order-sm":"0"},{default:a(()=>[o(I,null,{default:a(()=>[o(Ae,{modelValue:t(z),"onUpdate:modelValue":u[5]||(u[5]=i=>j(z)?z.value=i:null),temporary:"",class:"py-3"},{default:a(()=>[wt]),_:1},8,["modelValue"]),(r(),f(ve,{to:"#search-filter-xs-teleport",disabled:!n.$vuetify.display.xs},[St,o(t(et),null,{default:a(({canRefine:i,refine:s,createURL:h})=>[De(o(Y,null,{default:a(()=>[o(K,{onClick:Me(s,["prevent"]),color:"warning",variant:"outlined",size:"small",block:"",class:"text-capitalize mb-3"},{default:a(()=>[L(" Clear Refinements ")]),_:2},1032,["onClick"])]),_:2},1536),[[Ue,i]])]),_:1}),o(He,{variant:"flat",class:"mb-5"},{default:a(()=>[o(Fe,{class:"text-overline font-weight-bold"},{default:a(()=>[L(" Landing Pages ")]),_:1}),o(X,{class:"mb-1"}),o(pe,{density:"compact"},{default:a(()=>[(r(!0),v(V,null,E(t(U),i=>(r(),v(V,null,[i?(r(),f(Y,{key:0,href:t(C)?`${i==null?void 0:i.route}?query=${t(C)}`:i==null?void 0:i.route,active:(n._.provides[We]||n.$route).path===(i==null?void 0:i.route),"active-class":"bg-blue-lighten-1"},{prepend:a(()=>[o(me,null,{default:a(()=>[L(x(i!=null&&i.icon?i==null?void 0:i.icon:"fa-solid fa-magnifying-glass"),1)]),_:2},1024)]),default:a(()=>[o(qe,{class:"text-caption text-capitalize",title:i==null?void 0:i.name},{default:a(()=>[L(x(i==null?void 0:i.name),1)]),_:2},1032,["title"])]),_:2},1032,["href","active"])):b("",!0)],64))),256))]),_:1})]),_:1})],8,["disabled"]))]),_:1})]),_:1})]),_:3})]),_:3})]),_:3},8,["search-client","index-name","routing"])):b("",!0)],64)}}});export{Tt as _}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["./Document.ClVmza6T.js","./util.Bx7Qs3b4.js","./search.B7XOQmio.js","./entry.ds4tjCL3.js","./entry.CoV4LeTs.css","./CloudinaryDocument.CtTaAGNy.js","./Cip.CUcrP-pb.js","./Cip.vue.C_hplLO8.js","./index.CPL69mLM.js","./page.BlsHrsf_.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) }