PageSourceSearch

https://www.pixida.eu/_next/static/chunks/2jhcwzmlaa8q8.js?dpl=dpl_51K89EQoQ1fVGYJReqRcAHKvpbYm

js pixida.eu collected 2026-10-01 14:27:49 UTC 18,346 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16226,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let l=e.r(20014);function n(e,t){let r=(0,l.useRef)(null),n=(0,l.useRef)(null);return(0,l.useCallback)(l=>{if(null===l){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=o(e,l)),t&&(n.current=o(t,l))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},41877,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={formatUrl:function(){return i},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let o=e.r(19728)._(e.r(56605)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,l=e.protocol||"",n=e.pathname||"",i=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(o.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return l&&!l.endsWith(":")&&(l+=":"),e.slashes||(!l||a.test(l))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),n=n.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${l}${u}${n}${c}${i}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},39108,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let l=e.r(96334),n=e.r(49815);function o(e){if(!(0,l.isAbsoluteUrl)(e))return!0;try{let t=(0,l.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},30008,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return l}});let l=e=>{}},79053,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return y},useLinkStatus:function(){return x}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let o=e.r(19728),a=e.r(79910),i=o._(e.r(20014)),s=e.r(41877),u=e.r(39578),c=e.r(16226),d=e.r(96334),p=e.r(82718);e.r(76850);let f=e.r(28491),m=e.r(21615),g=e.r(39108),h=e.r(70352);function y(t){var r,l;let n,o,y,[x,v]=(0,i.useOptimistic)(m.IDLE_LINK_STATUS),w=(0,i.useRef)(null),{href:j,as:k,children:C,prefetch:S=null,passHref:L,replace:N,shallow:_,scroll:P,onClick:E,onMouseEnter:$,onTouchStart:O,legacyBehavior:T=!1,onNavigate:M,transitionTypes:R,ref:A,unstable_dynamicOnHover:I,...U}=t;n=C,T&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let z=i.default.useContext(u.AppRouterContext),B=!1!==S,D=!1!==S?null===(l=S)||"auto"===l?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,F="string"==typeof(r=k||j)?r:(0,s.formatUrl)(r);if(T){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let K=T?o&&"object"==typeof o&&o.ref:A,G=i.default.useCallback(e=>(null!==z&&(w.current=(0,m.mountLinkInstance)(e,F,z,D,B,v)),()=>{w.current&&((0,m.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,m.unmountPrefetchableInstance)(e)}),[B,F,z,D,v]),H={ref:(0,c.useMergedRef)(G,K),onClick(t){T||"function"!=typeof E||E(t),T&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!z||t.defaultPrevented||function(t,r,l,n,o,a,s){if
1("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(18690);i.default.startTransition(()=>{d(r,n?"replace":"push",!1===o?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,l.current,s)})}}(t,F,w,N,P,M,R)},onMouseEnter(e){T||"function"!=typeof $||$(e),T&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),z&&B&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){T||"function"!=typeof O||O(e),T&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),z&&B&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(F)?H.href=F:T&&!L&&("a"!==o.type||"href"in o.props)||(H.href=(0,p.addBasePath)(F)),y=T?i.default.cloneElement(o,H):(0,a.jsx)("a",{...U,...H,children:n}),(0,a.jsx)(b.Provider,{value:x,children:y})}e.r(30008);let b=(0,i.createContext)(m.IDLE_LINK_STATUS),x=()=>(0,i.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},75960,e=>{"use strict";e.s(["defaultLocale",0,"el","locales",0,["en","el","fr","ar","fa","ps","ur"]])},77609,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return c},getImageProps:function(){return u}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let o=e.r(97769),a=e.r(24139),i=e.r(68530),s=o._(e.r(70793));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=i.Image},10086,(e,t,r)=>{t.exports=e.r(77609)},2833,e=>{"use strict";var t=e.i(75960);e.s(["localizeHref",0,(e,r)=>{if(!e)return`/${r}`;if(e.startsWith("http"))return e;let l=e.startsWith("/")?e.slice(1):e;if(!l)return`/${r}`;let n=l.split("/");return t.locales.includes(n[0])&&n.shift(),`/${r}/${n.join("/")}`}])},36082,e=>{"use strict";var t=e.i(79910),r=e.i(10086);let l={sm:"h-10 w-10 rounded-xl p-2",md:"h-14 w-14 rounded-[1.25rem] p-3",xl:"h-[130px] w-full rounded-[1.5rem] p-4 md:p-5",wide:"rounded-[1.25rem] px-4 py-2"},n={sm:"40px",md:"56px",xl:"(min-width: 768px) 240px, 100vw",wide:"(min-width: 768px) 320px, 100vw"};e.s(["default",0,function({logo:e,name:o,size:a="md"}){return e?.url?"wide"===a?(0,t.jsx)("div",{className:`inline-flex max-w-full items-center justify-start overflow-hidden border border-slate-200/80 bg-white shadow-sm ${l[a]}`,children:(0,t.jsx)(r.default,{src:e.url,alt:e.alt||`${o} logo`,width:320,height:120,sizes:n[a],className:"h-auto max-h-14 w-auto max-w-full object-contain"})}):(0,t.jsx)("div",{className:`relative grid shrink-0 place-items-center overflow-hidden border border-slate-200/80 bg-white shadow-sm ${l[a]}`,children:(0,t.jsx)(r.default,{src:e.url,alt:e.alt||`${o} logo`,fill:!0,sizes:n[a],className:"object-contain"})}):null}])},71301,e=>{"use strict";e.s(["buildServiceHref",0,({categorySlug:e,parentSlug:t,serviceSlug:r})=>e&&r?t?`/${t}/${e}/services/${r}`:`/${e}/services/${r}`:null])},54963,91686,e=>{"use strict";e.i(56996);let t=()=>{},r=!1;function l(e){if(r)return void t(`The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`);(function(e){var t,r,l,n,o,a,i,s,u,c,d;let p=!!window.google?.maps?.importLibrary;p&&JSON.stringify(e);p||(n="google",o="importLibrary",a=document,u=(s=(i=window)[n]||(i[n]={})).maps||(s.maps={}),c=new Set,d=new URLSearchParams,u[o]?console.warn("The Google Maps JavaScript API only loads once. Ignoring:",e):u[o]=(i,...s)=>c.add(i)&&(t||(t=new Promise(async(o,i)=>{for(l in await (r=a.createElement("script")),d.set("libraries",[...c]+""),e)d.set(l.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase()),e[l]);d.set("callback",n+".maps.__ib__"),r.src="https://maps.googleapis.com/ma
1ps/api/js?"+d,u.__ib__=o,r.onerror=()=>t=i(Error("The Google Maps JavaScript API could not load.")),r.nonce=a.querySelector("script[nonce]")?.nonce||"",a.head.append(r)}))).then(()=>u[o](i,...s)))})(e),r=!0}async function n(e){if(r||t("No options were set before calling importLibrary. Make sure to configure the loader using setOptions()."),!window?.google?.maps?.importLibrary)throw Error("google.maps.importLibrary is not installed.");return await google.maps.importLibrary(e)}e.s(["importLibrary",0,n,"setOptions",0,l],54963);let o=!1,a=e=>{if("string"==typeof e)return e.trim()||void 0};e.s(["configureGoogleMapsLoader",0,e=>{if(o)return;o=!0;let t=a(e.language)??a(document.documentElement.lang);l({key:e.key,v:e.v,...t?{language:t}:{}})}],91686)},68736,e=>{"use strict";var t=e.i(79910),r=e.i(79053),l=e.i(20014),n=e.i(54963),o=e.i(84012),a=e.i(24389),i=e.i(36082),s=e.i(91686),u=e.i(2833),c=e.i(71301);e.s(["default",0,function({content:e,services:d,locale:p,labels:f}){let m=(0,o.useSearchParams)(),g=(0,l.useRef)(null),h=(0,l.useRef)(null),y=(0,l.useRef)(new Map),b=(0,l.useRef)(null),[x,v]=(0,l.useState)(null),w=x??d,[j,k]=(0,l.useState)(null),[C,S]=(0,l.useState)(""),[L,N]=(0,l.useState)(!1),[_,P]=(0,l.useState)(!1),E=m.get("service"),$=m.get("location");(0,l.useEffect)(()=>{if(d.length>0)return;let e=!1,t=new AbortController;return(async()=>{try{let r=await fetch(`/api/map-services?locale=${encodeURIComponent(p)}`,{method:"GET",headers:{Accept:"application/json"},cache:"no-store",signal:t.signal});if(!r.ok)return;let l=await r.json();if(e)return;Array.isArray(l.services)&&l.services.length>0&&v(l.services)}catch{}})(),()=>{e=!0,t.abort()}},[p,d.length]);let O=(0,l.useMemo)(()=>{if(!E)return null;let e=$&&/^\d+$/.test($)?`${E}-${$}`:null;return w.find(t=>t.id===e)??w.find(e=>e.id.startsWith(`${E}-`))??null},[$,E,w]),T=j??O?.id??null,M=(0,l.useMemo)(()=>w.find(e=>e.id===T)??null,[T,w]),R=C.trim().toLowerCase(),A=(0,l.useMemo)(()=>R?w.filter(e=>`${e.name} ${e.city??""} ${e.region??""}`.toLowerCase().includes(R)).slice(0,8):[],[R,w]);(0,l.useEffect)(()=>{let t="AIzaSyDqCeyyu9snJAnuEaUDdVg5TM44TvPUusE";if(!g.current||!t||h.current)return;let r=!1,l=y.current;return(0,s.configureGoogleMapsLoader)({key:t,v:"weekly",language:p}),(async()=>{try{if(await Promise.all([(0,n.importLibrary)("maps"),(0,n.importLibrary)("marker")]),r||!g.current)return;h.current=new google.maps.Map(g.current,{center:{lat:e.defaultCenter.lat,lng:e.defaultCenter.lng},zoom:e.defaultZoom,mapTypeControl:!1,fullscreenControl:!1,streetViewControl:!1,clickableIcons:!1,gestureHandling:"greedy",mapId:"ea47ea5c3116dc4e4ee0ec34"}),P(!0)}catch{}})(),()=>{h.current=null,l.forEach(e=>{e.map=null}),b.current&&(b.current.map=null),b.current=null,l.clear(),r=!0}},[e.defaultCenter.lat,e.defaultCenter.lng,e.defaultZoom,p]),(0,l.useEffect)(()=>{let e=h.current;_&&e&&(y.current.forEach(e=>{e.map=null}),y.current.clear(),w.forEach(t=>{var r,l;let n,o;if(!Number.isFinite(t.latitude)||!Number.isFinite(t.longitude))return;let a=new google.maps.marker.AdvancedMarkerElement({position:{lat:t.latitude,lng:t.longitude},map:e,title:t.name,content:(r=t.category?.backgroundColor,l=t.id===T,(n=document.createElement("div")).style.width=l?"44px":"36px",n.style.height=l?"44px":"36px",n.style.borderRadius="999px",n.style.backgroundColor=r||"var(--pixida-primary)",n.style.display="grid",n.style.placeItems="center",n.style.boxShadow=l?"0 10px 24px rgba(15, 23, 42, 0.35)":"0 8px 18px rgba(15, 23, 42, 0.25)",n.style.border="3px solid #ffffff",n.style.cursor="pointer",n.style.transition="transform 120ms ease",(o=document.createElement("div")).style.width=l?"14px":"10px",o.style.height=l?"14px":"10px",o.style.borderRadius="999px",o.style.backgroundColor="#ffffff",n.appendChild(o),n),gmpClickable:!0});a.addListener("gmp-click",()=>{k(e=>e===t.id?null:t.id),e.panTo({lat:t.latitude,lng:t.longitude}),(e.getZoom()??0)<13&&e.setZoom(13)}),y.current.set(t.id,a)}))},[_,w,T]),(0,l.useEffect)(()=>{!_||!h.current||"geolocation"in navigator&&navigator.geolocation.getCurrentPosition(e=>{if(!h.current)return;
1let t={lat:e.coords.latitude,lng:e.coords.longitude};if(b.current)b.current.position=t,b.current.map=h.current;else{let e;b.current=new google.maps.marker.AdvancedMarkerElement({position:t,map:h.current,title:f.currentLocationLabel,content:((e=document.createElement("div")).style.width="18px",e.style.height="18px",e.style.borderRadius="999px",e.style.backgroundColor="#2563eb",e.style.border="3px solid #ffffff",e.style.boxShadow="0 6px 14px rgba(37, 99, 235, 0.35)",e)})}},()=>{},{enableHighAccuracy:!0,timeout:8e3})},[f.currentLocationLabel,_]);let I=M?(0,c.buildServiceHref)({categorySlug:M.category?.slug,parentSlug:M.category?.parentSlug,serviceSlug:M.slug}):null;return(0,t.jsxs)("div",{className:"relative -mx-4 -mt-6 -mb-24 h-[calc(100dvh-72px)] overflow-hidden sm:-mx-6 sm:-mt-10 lg:-mx-8",children:[(0,t.jsx)("div",{ref:g,className:"absolute inset-0"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-4 z-10 flex justify-center px-4",children:(0,t.jsxs)("div",{className:"pointer-events-auto w-full max-w-md",children:[(0,t.jsx)("div",{className:"rounded-full bg-white/95 shadow-lg ring-1 ring-slate-200/80 backdrop-blur",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("label",{htmlFor:"map-service-search",className:"sr-only",children:f.searchPlaceholder}),(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"pointer-events-none absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[var(--pixida-primary)]","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"6"}),(0,t.jsx)("path",{d:"m20 20-4.2-4.2"})]}),(0,t.jsx)("input",{id:"map-service-search",type:"search",value:C,onChange:e=>S(e.target.value),onFocus:()=>N(!0),onBlur:()=>{window.setTimeout(()=>N(!1),120)},placeholder:f.searchPlaceholder,className:"w-full rounded-full bg-transparent py-3 pl-12 pr-4 text-sm text-slate-700 placeholder:text-slate-400 focus:outline-none"})]})}),L&&R?(0,t.jsx)("div",{className:"mt-2 max-h-[60dvh] overflow-y-auto rounded-2xl bg-white/98 shadow-xl ring-1 ring-slate-200/80 backdrop-blur",children:0===A.length?(0,t.jsx)("div",{className:"px-4 py-6 text-center text-sm text-slate-500",children:f.emptyResultsLabel}):(0,t.jsx)("ul",{className:"divide-y divide-slate-100",children:A.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",onMouseDown:t=>{let r;t.preventDefault(),k(e.id),S(""),N(!1),(r=h.current)&&(r.panTo({lat:e.latitude,lng:e.longitude}),r.setZoom(14))},className:"flex w-full items-start gap-3 px-4 py-3 text-left transition hover:bg-slate-50",children:[e.logo?(0,t.jsx)(i.default,{logo:e.logo,name:e.name,size:"sm"}):null,(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"truncate text-sm font-semibold text-[var(--pixida-primary-dark)]",children:e.name}),e.city||e.region?(0,t.jsx)("p",{className:"truncate text-xs text-slate-500",children:[e.city,e.region].filter(Boolean).join(", ")}):null]}),(0,t.jsx)("span",{className:"shrink-0 rounded-full px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wide",style:e.category?.backgroundColor?{color:e.category.backgroundColor,backgroundColor:`${e.category.backgroundColor}1A`}:{color:"var(--pixida-primary)",backgroundColor:"rgba(30,92,179,0.1)"},children:e.category?.title||f.categoryFallbackLabel})]})},e.id))})}):null]})}),M?(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-6 z-10 flex justify-center px-4 sm:bottom-8",children:(0,t.jsxs)("div",{className:"pointer-events-auto relative w-full max-w-md overflow-hidden rounded-3xl bg-white shadow-2xl ring-1 ring-slate-200/80",children:[(0,t.jsx)("button",{type:"button",onClick:()=>k(null),"aria-label":f.closeLabel,className:"absolute end-3 top-3 z-10 grid h-9 w-9 place-items-center rounded-full bg-white text-base leading-none ring-1 ring-slate-200 shadow-sm transition hover:bg-slate-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--pixida-primary-dark)]",children:(0,t.jsx)("span",{"aria-hidden":"true",children:"❌"})}),(0,t.jsxs)("div",{className:"flex items-start gap-4 p-5 pe-14",children:[M.logo?(0,t.jsx)(i.default,{logo:M.logo,name:M.name,size:"md"}):null,(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-[var(--pixida-primary-dark)]",children:M.name}),(0,t.jsx)("span",{className:"rounded-full px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide",style:M.category?.backgroundColor?{color:M.category.backgroundColor,backgroundColor:`${M.category.backgroundColor}1A`}:{color:"var(--pixida-primary)",backgroundColor:"rgba(30,92,179,0.1)"},children:M.category?.title||f.categoryFallbackLabel})]}),M.city||M.region?(0,t.jsx)("p",{className:"mt-0.5 text-xs text-slate-500",children:[M.city,M.region].filter(
1Boolean).join(", ")}):null,(0,t.jsx)(a.default,{content:M.description,maxLength:140,className:"mt-2 text-sm leading-5 text-slate-600"})]})]}),I?(0,t.jsx)(r.default,{href:(0,u.localizeHref)(I,p),style:{color:"#ffffff"},className:"block bg-[var(--pixida-primary-dark)] px-5 py-3 text-center text-sm font-semibold transition hover:bg-[#0b1f36] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[var(--pixida-primary-dark)]",children:f.viewServiceLabel}):null]})}):null]})}])}]);

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.