PageSourceSearch

https://www.homofaber.com/assets/useDownloadBanner-C1qShxXn.js

js homofaber.com collected 2026-09-24 08:39:36 UTC 2,267 bytes, 1 lines download raw bytes

1import{b as m,c as i,a as s}from"./index-DKUJs7YE.js";import{t as g}from"./triggerEvent-Cz4KJkb0.js";import{r as y}from"./i18n-vendor-CgdUv56d.js";function b(){const[a]=m({destinations:i(s).withDefault([]),craft:i(s).withDefault([]),materials:i(s).withDefault([]),objects:i(s).withDefault([]),categories:i(s).withDefault([]),"has-experiences":s.withDefault("all"),"type-of-experience":i(s).withDefault([]),type:i(s).withDefault([]),"type-of-artisan":i(s).withDefault([]),programme:i(s).withDefault([]),tags:i(s).withDefault([]),years:i(s).withDefault([])});return a}function k(a,r,n){const p={destinations:"Places",type:"Destination Type","type-of-artisan":"Profile Type","type-of-experience":"Experience Type"},u={destinations:"places",craft:"crafts",materials:"materials",objects:"categories",categories:"categories","has-experiences":"has_course_tours","type-of-experience":"experience_type",type:"destination_type","type-of-artisan":"profile_type",programme:"programme",tags:"tags",years:"years"},_=p[a]||a,f={filter_places:[],filter_crafts:[],filter_materials:[],filter_objects:[],has_course_tours:[],experience_type:[],filter_categories:[],destination_type:[],profile_type:[],filter_workshop_atelier:[],filter_programme:[],filter_tags:[],filter_years:[]};for(const[t,e]of Object.entries(n))if(t!=="page"&&t!=="q"&&t!=="lat"&&t!=="lng"&&e!=null){const c=u[t]||t,o=["has_course_tours","experience_type","destination_type","profile_type"].includes(c)?c:`filter_${c}`;t==="has-experiences"?e==="true"||e===!0?f[o]=[!0]:e==="false"||e===!1?f[o]=[!1]:e!=="all"&&(f[o]=[e==="true"]):Array.isArray(e)?(f[o]=e,t==="type-of-artisan"&&(f.filter_workshop_atelier=e)):typeof e=="string"&&e&&(f[o]=[e],t==="type-of-artisan"&&(f.filter_workshop_atelier=[e]))}let l=[];if(a==="has-experiences"){const t=String(r);t==="true"?l=[!0]:t==="false"&&(l=[!1])}else Array.isArray(r)?l=r:typeof r=="string"&&r&&(l=[r]);const h=l.length>0?l.join(","):"";g("filter_apply",{filter_type:_,filter_value:h,...f})}function w(a){var p;const n=`; ${document.cookie}`.split(`; ${a}=`);return n.length===2&&((p=n.pop())==null?void 0:p.split(";").shift())||null}function v(){const[a,r]=y.useState(!1);return y.useEffect(()=>{r(w("smartbanner-closed")!=="true")},[]),a}export{b as a,k as t,v as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.