PageSourceSearch

https://www.meteovista.be/_next/static/chunks/1dqspvmb_1ohz.js

js meteovista.be collected 2026-10-01 12:11:59 UTC 36,071 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38950,e=>{"use strict";var t=e.i(91398),l=e.i(70580),a=e.i(24077),r=e.i(91788),o=e.i(32652),n=e.i(47096);function s(e){let{primaryColor:l="#FFFFFF",secondaryColor:a="none",size:r=24,strokeWidth:o=.956161,className:s}=e;return(0,t.jsx)(n.default,{size:r,strokeWidth:o,className:s,primaryColor:l,secondaryColor:a,children:(0,t.jsx)("path",{d:"M10.4107 19.9677C7.58942 17.858 2 13.0348 2 8.69444C2 5.82563 4.10526 3.5 7 3.5C8.5 3.5 10 4 12 6C14 4 15.5 3.5 17 3.5C19.8947 3.5 22 5.82563 22 8.69444C22 13.0348 16.4106 17.858 13.5893 19.9677C12.6399 20.6776 11.3601 20.6776 10.4107 19.9677Z",stroke:l,strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round",fill:a})})}e.s(["default",0,({photo:e})=>{let{lang:n}=(0,o.default)(),{likedPhotos:i,isLiked:u,likePhoto:d,currentLiked:c}=(0,r.useContext)(a.LikedPhotosContext),[h,m]=r.default.useState(!1),[p,f]=r.default.useState(0);(0,r.useEffect)(()=>{e&&(c&&c.includes(e.id)&&f(1),m(u(e.id)))},[i,e]);let x=e=>{d({id:e}),f(1)};return e?(0,t.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,t.jsxs)("div",{role:"button",tabIndex:0,onClick:()=>!u(e?.id)&&x(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&x(e.id)},onMouseEnter:()=>m(!0),onMouseLeave:()=>{m(u(e.id))},className:"cursor-pointer flex flex-row items-center py-1 px-2 rounded-full bg-blue-plus-1",children:[(0,t.jsx)(s,{primaryColor:"#FFFFFF",secondaryColor:h?"#A81914":"none",size:20}),(0,t.jsx)("p",{className:"text-white text-xs ml-2",children:(e.likeCount+p).toLocaleString(n)})]}),(0,t.jsxs)("div",{className:"flex flex-row items-center py-1 px-2 rounded-full bg-blue-plus-1",children:[(0,t.jsx)(l.default,{type:"general",icon:"view",className:"w-5 h-5"}),(0,t.jsx)("p",{className:"text-white text-xs ml-2",children:e.viewCount.toLocaleString(n)})]})]}):null}],38950)},86123,e=>{"use strict";var t=e.i(91398),l=e.i(91788),a=e.i(42175),r=e.i(6289),o=e.i(70580),n=e.i(38950),s=e.i(55975);let i=({tags:e,limit:l=3})=>e?(0,t.jsx)("div",{className:"flex gap-2",children:e?.slice(0,l)?.map(e=>(0,t.jsx)("span",{className:"inline-block bg-blue-minus-5 rounded-lg px-3 py-1 text-xs text-blue-plus-2",children:e},e))}):null;var u=e.i(32652);e.s(["default",0,({activePhoto:e,setActivePhoto:d,photoList:c,fetchMore:h,addPhotoToSendViewsList:m,fetchNewImageIndex:p})=>{let{lockScroll:f,unlockScroll:x}=(0,r.useScrollLock)(),{lang:g}=(0,u.default)(),v=(0,l.useRef)(null),b=e?.photographer?.externalUserId||null,y=e?.photographer?.name,w=(0,s.getFotoloodsUserUrl)(y,b),j=e?(0,a.convertToLocalTime)(e.dateTime,"dayMonthYearShort","Europe/Amsterdam",g):"",$=e&&e.location.name?`${e.location.name}, ${e.location.stateName} - ${j}`:`${j}`,N=()=>e?c.findIndex(t=>t.id===e.id):-1,_=()=>{let e=N();if(-1===e)return;let t=(e+1)%c.length;d(c[t]),"function"==typeof h&&p&&t>=c.length-p&&h()},k=()=>{let e=N();if(-1===e)return;let t=(e-1+c.length)%c.length;d(c[t])};(0,l.useEffect)(()=>{let t=t=>{e&&("Escape"===t.key&&d(null),"ArrowRight"===t.key&&_(),"ArrowLeft"===t.key&&k())};return window.addEventListener("keydown",t),e?(f(),m(e.id)):x(),()=>{window.removeEventListener("keydown",t)}},[e]);let E=e=>{e.target.classList.contains("fixed")&&d(null)},S="hidden md:flex items-center justify-center w-12 h-12 rounded-md bg-blue-plus-1 hover:bg-blue-plus-3 cursor-pointer shadow-lg";return(0,t.jsx)(t.Fragment,{children:e&&(0,t.jsx)("div",{className:"fixed inset-0 p-0 md:p-4 md:pt-[64px] z-2001 flex items-center justify-center bg-blue-minus-3 bg-opacity-90 backdrop-blur-sm",onClick:e=>E(e),role:"button",tabIndex:0,"aria-label":"Active photo popup",onKeyDown:e=>{("Escape"===e.key||"Enter"===e.key||" "===e.key)&&d(null)},children:(0,t.jsxs)("div",{className:"flex flex-row items-center gap-4 cursor-default",children:[c.length>1&&(0,t.jsx)("div",{onClick:()=>k(),className:S,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key||"ArrowLeft"===e.key)&&k()},"aria-label":"Previous photo",children:(0,t.jsx)(o.default,{type:"general",icon:"chevron-white",className:"w-8 h-8 rotate-180"})}),(0,t.jsxs)("div",{ref:v,className:"flex flex-col overflow-hidden bg-white border rounded-2xl border-blue-minus-3",children:[(0,t.jsxs)("div",{className:"relative",children:["video"===e.mediaType&&(0,t.jsx)("video",{src:e.mediaUrl,className:"max-h-[calc(100vh_-_260px)] mx-auto",controls:!0,muted:!0,playsInl
1ine:!0,autoPlay:!0}),"image"===e.mediaType&&(0,t.jsx)("img",{onClick:e=>E(e),src:e.mediaUrl,alt:e.description,className:"max-h-[calc(100vh_-_260px)] mx-auto"}),(0,t.jsx)("div",{className:"absolute top-4 left-4",children:(0,t.jsx)(n.default,{photo:e})}),(0,t.jsx)("div",{onClick:()=>d(null),className:"flex w-8 h-8 items-center justify-center absolute top-4 right-4 hover:cursor-pointer hover:scale-110 bg-blue-plus-1 rounded-full",role:"button",tabIndex:0,"aria-label":"Close active photo",onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&d(null)},children:(0,t.jsx)(o.default,{type:"general",icon:"cross-white",size:24})})]}),(0,t.jsxs)("div",{className:`text-blue-plus-4 w-full py-3 px-4 bg-blue-minus-4 ${"video"===e.mediaType?"-mt-px":""}`,children:[(0,t.jsx)("span",{className:"mb-1 overflow-hidden font-bold whitespace-nowrap text-ellipsis",children:w?(0,t.jsx)("a",{href:w,className:"pointer-events-auto hover:underline",children:e.photographer.name}):(0,t.jsx)(t.Fragment,{children:e.photographer.name})}),(0,t.jsx)("p",{className:"mb-2 overflow-hidden whitespace-nowrap text-ellipsis",children:$}),(0,t.jsx)(i,{tags:e?.tags})]})]}),c.length>1&&(0,t.jsx)("div",{onClick:()=>_(),role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key||"ArrowLeft"===e.key)&&_()},"aria-label":"Previous photo",className:S,children:(0,t.jsx)(o.default,{type:"general",icon:"chevron-white",className:"w-8 h-8"})})]})})})}],86123)},4538,e=>{"use strict";var t=e.i(91398),l=e.i(91788),a=e.i(42175),r=e.i(38950),o=e.i(70580),n=e.i(85758),s=e.i(55975),i=e.i(32652);e.s(["default",0,({photo:e,setActivePhoto:u,sendView:d,isSquare:c=!1,extraRounded:h=!1})=>{let{lang:m}=(0,i.default)(),p=(0,a.convertToLocalTime)(e.dateTime,"dayMonthYearShort","Europe/Amsterdam",m),f=(0,l.useRef)(null),x=e?.photographer?.externalUserId||null,g=e?.photographer?.name,v=(0,s.getFotoloodsUserUrl)(g,x),b=e.location.name?`${e.location.name}, ${e.location.stateName} - ${p}`:`${p}`;(0,n.usePhotoViewOnVisible)(e.id,d,f,!!e.mediaUrl);let y=t=>{t?.preventDefault(),u(e)};return e?(0,t.jsx)("div",{className:`flex flex-col overflow-hidden ${h?"rounded-[24px]":"rounded-2xl"} ${c?"":"mb-4"}`,children:(0,t.jsxs)("div",{className:"relative flex flex-col justify-center overflow-hidden",children:[(0,t.jsxs)("button",{type:"button",className:"relative flex object-cover w-full h-auto p-0 m-0 bg-transparent bg-black border-none cursor-pointer active:border-none focus:border-none",onClick:e=>y(e),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&y()},"aria-label":"Vergroot foto",style:{lineHeight:0},children:["image"===e.mediaType&&(0,t.jsx)("img",{ref:f,src:e.thumbnailUrl,alt:e.description,loading:"lazy",className:`w-full h-auto min-h-[100px] pointer-events-none ${1>parseFloat(e.aspectRatio)&&!c?"object-contain":"object-cover"} ${c?"aspect-[1/0.7]":""}`,draggable:!1}),"video"===e.mediaType&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{ref:f,src:e.thumbnailUrl,alt:e.description,loading:"lazy",className:`w-full h-auto min-h-[100px] pointer-events-none ${1>parseFloat(e.aspectRatio)&&!c?"object-contain":"object-cover"} ${c?"aspect-[1/0.7]":""}`,draggable:!1}),(0,t.jsx)("div",{className:"flex items-center bg-blue-plus-1 rounded-full hover:bg-blue-plus-2 justify-center w-12 h-12 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,t.jsx)(o.default,{type:"general",icon:"play-white",size:20,className:"relative left-0.5"})})]})]}),(0,t.jsx)("div",{className:"absolute top-4 left-4",children:(0,t.jsx)(r.default,{photo:e})}),(0,t.jsxs)("div",{className:"text-blue-plus-4 text-xs w-full py-3 px-4 bg-blue-minus-4",children:[(0,t.jsx)("span",{className:"mb-1 overflow-hidden font-bold whitespace-nowrap text-ellipsis",children:v?(0,t.jsx)("a",{href:v,className:"underline pointer-events-auto",children:e.photographer.name}):(0,t.jsx)(t.Fragment,{children:e.photographer.name})}),(0,t.jsx)("p",{title:b,className:"overflow-hidden whitespace-nowrap text-ellipsis",children:b})]})]})}):null}])},96345,e=>{e.v({iconButtonContainerBase:"style-module__83oWEW__iconButtonContainerBase","leaflet-container":"style-module__83oWEW__leaflet-container","leaflet-map-pane":"style-module__83oWEW__leaflet-map-pane","leaflet-overlay-pane":"style-module__83oWEW__leaflet-overlay-pane","leaflet-tile-pane":"style-module__83oWEW__leaflet-tile-pane",mapContainer:"style-module__83oWEW__mapContainer",radarControlIconContainer:"style-module__83oWEW__radarControlIconContainer"})},38073,28748,e=>{"use strict";var t=e.i(91398),l=e.i(91788),a=e.i(61572),r=e.i(88411),o=e.i(3828),n=e.i(50677),s=e.i(53887),i=e.i(42436),u=e.i(31997),d=e.i(4538),c=e.i(86123),h=e.i(32652),m=e.i(86533),p=e.i(6289),f=e.i(70580),x=e.i(36100),g=e.i(18111);let v=({name:e="popup",isOpen:a=!1,collectionSlug:r,invert:o})=>{let{t:n}=(0,i.useTranslate)(),[u,d]=(0,l.useState)(a),{brandName:c}=(0,h.default)(),{status:v}=(0,m.useSession)(),{lockScroll:b,unlockScroll:y}=(0,p.useScrollLock)(),{mobile:w}=(0,s.default)();return(0,l.useEffect)(()=>{let e=e=>{u&&"Escape"===e.key&&d(!1)};return window.addEventListener("keydown",e),u?w||b():w||y(),()=>{window.removeEventListener("keydown",e)}},[u]),(0,l.useEffect)(()=>{d(a)},[a]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:`w-full md:w-auto px-3 py-1.5 rounded-md whitespace-nowrap text-white ${o?"bg-blue-0 hover:bg-blue-plus-2":"bg-blue-plus-2 hover:bg-blue-0"}`,onClick:()=>(()=>
1{if("authenticated"!==v){window&&(0,x.pushDataLayer)({event:"click",click_name:"fotoloods_login"});let e=`${window.location.pathname}?popup=true`;(0,m.signIn)(c,{callbackUrl:`/account-redirect?redirectUrl=${e}`})}"authenticated"===v&&d(!0)})(),children:n("comp_fotoloods_upload_popup_button")}),u&&(0,t.jsx)("div",{className:"fixed inset-0 z-2001 p-2 flex items-center justify-center bg-blue-minus-3 bg-opacity-90 backdrop-blur-sm",onClick:e=>{e.target.classList.contains("fixed")&&d(!1)},role:"button",tabIndex:0,"aria-label":"Active photo popup",onKeyDown:e=>{"Escape"===e.key&&d(!1)},children:(0,t.jsxs)("div",{className:"relative cursor-auto bg-white rounded-xl p-2 border-solid border-2 border-blue-minus-3",children:[(0,t.jsx)("button",{type:"button",className:"absolute flex items-center -top-3 -right-1 bg-blue-0 rounded-full p-1 shadow hover:bg-red-100 z-30",onClick:()=>{d(!1)},tabIndex:0,"aria-label":"Close popup",children:(0,t.jsx)(f.default,{type:"general",icon:"close-white",className:"w-5 h-5"})}),(0,t.jsx)(g.default,{name:e,collectionSlug:r})]})})]})};e.s(["default",0,v],28748),e.s(["default",0,({photoList:e,fetchMore:h,locationName:m,showU
1pload:p=!1,disableTitle:f=!1,startColumns:x=3,collectionSlug:g,level:b="h1"})=>{let{t:y}=(0,i.useTranslate)(),[w,j]=(0,l.useState)(null),[$,N]=(0,l.useState)(!1),{query:_}=(0,o.useRouter)(),{mobile:k,tablet:E}=(0,s.default)(),[S,T]=(0,l.useState)(null),{addPhotoToSendViewsList:C}=(0,n.usePhotoViews)(),I=(0,l.useRef)(null),L=(0,l.useRef)(null),P=y("comp_fotoloods_list_title");m?P=y("comp_fotoloods_list_title_location",{locationName:m}):g&&(P=y("comp_fotoloods_list_title_collection",{collectionName:(0,r.default)(g)})),(0,l.useEffect)(()=>{p&&_?.popup==="true"&&N(!0)},[_]),(0,l.useEffect)(()=>{if(e.length)return T(e.length>=3?e[e.length-3].id:null),()=>{T(null)}},[e]),(0,l.useEffect)(()=>{if(!e.length)return;let t=new window.IntersectionObserver(e=>{e[0].isIntersecting?L.current||(h(),L.current=setInterval(()=>{h()},1e3)):L.current&&(clearInterval(L.current),L.current=null)},{root:null,threshold:.4}),l=I.current;return l&&t.observe(l),()=>{l&&t.unobserve(l),L.current&&(clearInterval(L.current),L.current=null)}},[S,h]);let O=x||3;k?O=1:E&&(O=x-1);let F=Array.from({length:O},()=>[]);return(e.forEach((e,t)=>{F[t%O].push(e)}),(0,a.default)(e))?null:(0,t.jsxs)("div",{className:`relative ${p&&f?"pt-10":""}`,children:[!f&&!m&&!g&&(0,t.jsx)("p",{className:"mt-8 text-center md:text-left text-[22px] lg:text-[32px] mb-4 md:mb-10!",children:P}),!f&&(m||g)&&(0,t.jsx)(u.default,{level:b,margin:"mb-2",className:"text-center md:text-left mb-4! md:mb-10!",children:P}),p&&(0,t.jsx)("div",{className:"flex justify-end md:absolute mb-4 md:mb-0 w-full md:w-56 right-0 top-0",children:(0,t.jsx)(v,{name:"banner",isOpen:$,invert:!0})}),(0,t.jsx)("div",{className:"flex gap-4 w-full overflow-hidden",children:F.map((e,l)=>(0,t.jsx)("div",{className:"flex-1 flex flex-col min-w-0",children:e.map(e=>(0,t.jsx)("div",{ref:e.id===S?I:void 0,className:"break-inside-avoid w-full",style:{maxWidth:"100%"},children:(0,t.jsx)(d.default,{setActivePhoto:j,photo:e,sendView:C})},e.id))},l))}),(0,t.jsx)(c.default,{activePhoto:w,setActivePhoto:j,photoList:e,fetchMore:h,addPhotoToSendViewsList:C,fetchNewImageIndex:3})]})}],38073)},82549,23419,88241,e=>{"use strict";var t=e.i(91398),l=e.i(91788),a=e.i(6396),r=e.i(55775),o=e.i(18111),n=e.i(42436),s=e.i(31997),i=e.i(38073),u=e.i(61572),d=e.i(81688),c=e.i(53887),h=e.i(30295),m=e.i(70580),p=e.i(4538),f=e.i(50677),x=e.i(96345),g=e.i(15781);let v=(e,l)=>{let a=e.photos.length>1,r=l===e.location.geonameId;return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:`w-12 h-12 overflow-hidden border-2 border-solid rounded-xl ${r?"border-blue-0":"border-blue-plus-4"}`,children:(0,t.jsx)("img",{src:e.photos[0].thumbnailUrl,alt:e.location.name,className:"w-full! h-full object-cover pointer-events-none"})}),a&&(0,t.jsx)("div",{className:`absolute flex items-center justify-center -top-2 -left-2 w-6 h-6 text-blue-minus-3 rounded-md ${r?"bg-blue-0":"bg-blue-plus-4"}`,children:e.photos.length})]})},b=(e,t,l,a)=>{let r=(l-e)*Math.PI/180,o=(a-t)*Math.PI/180,n=Math.sin(r/2)*Math.sin(r/2)+Math.cos(e*Math.PI/180)*Math.cos(l*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(n),Math.sqrt(1-n))*6371},y=e.r(61833),w={zoomAnimation:!0,zoom:7,zoomSnap:.2,boxZoom:!1,scrollWheelZoom:!1,doubleClickZoom:!0,dragging:!0,tap:!1,panning:!0,zooming:!1,zoomControl:!1,touchZoom:!1,attributionControl:!1,fadeAnimation:!0,markerZoomAnimation:!1},j=({suffix:e="",country:a,placeholder:n=!1,location:s})=>{let i=(0,c.default)(),[j,$]=(0,l.useState)([]),N=(0,l.useRef)(null),[_,k]=(0,l.useState)(!0),[E,S]=(0,l.useState)([]),[T,C]=(0,l.useState)(!1),[I,L]=(0,l.useState)(null),{addPhotoToSendViewsList:P}=(0,f.usePhotoViews)(),O=(0,l.useRef)(null),F=(0,l.useRef)(null),A=(0,l.useRef)(!1),R=(0,l.useRef)(null),M=(0,l.useRef)(!1),z=(0,l.useRef)(null),U=(0,l.useRef)(null),D=`fotolods-map${e}`,W=n?a?.zoom+1:6.6,B=a?.outline_url??null,V={latitude:n&&s?s?.latitude:52.2,longitude:n&&s?s?.longitude:5.1,zoom:W};(0,l.useEffect)(()=>{if(!U.current)return void console.log("Map not ready");if(_)return void console.log("Still loading");if(!j||0===j.length)return void console.log("Photos not ready");
1E.forEach(e=>{try{U.current.removeLayer(e)}catch(e){}}),E.length=0;let e=new Map;try{if(j.forEach(t=>{let l=y.divIcon({className:"div-icon",html:(0,d.renderToString)(v(t,I))}),a=y.marker([t.location.latitude,t.location.longitude],{icon:l});a&&U&&(a.on("click",()=>L(t.location.geonameId)),a.addTo(U.current),E.push(a),e.set(t.location.geonameId,a))}),M.current&&j.length>0&&U.current){let e=y.featureGroup(E);U.current.fitBounds(e.getBounds().pad(-.1),{animate:!0}),A.current=!0}}catch(e){console.error("Error adding markers",e)}return S([...E]),U.current.markerMap=e,()=>{E.forEach(e=>{try{U.current.removeLayer(e)}catch(e){}})}},[j,_]),(0,l.useEffect)(()=>{if(!U.current||!U.current.markerMap)return;let{markerMap:e}=U.current;if(null!==O.current&&e.has(O.current)){let t=j.find(e=>e.location.geonameId===O.current);if(t){let l=y.divIcon({className:"div-icon",html:(0,d.renderToString)(v(t,I))});e.get(O.current).setIcon(l)}}if(null!==I&&e.has(I)){let t=j.find(e=>e.location.geonameId===I);if(t){let l=y.divIcon({className:"div-icon",html:(0,d.renderToString)(v(t,I))});e.get(I).setIcon(l)}}O.current=I},[I,j]);let G=async e=>{let t=e??V.zoom,l={lat:V?.latitude,lon:V?.longitude,radius:200},a=await (0,r.fetchFotoLoods)(1,void 0,100,null);if((0,u.default)(a))return;let o=a.filter(e=>{var t,a,r,o,n;return t=l.lat,a=l.lon,r=e?.location?.latitude,o=e?.location?.longitude,n=l?.radius,!!t&&!!a&&!!r&&!!o&&b(t,a,r,o)<=n});N.current=o;let n=((e,t)=>{let l=Math.max(3500/2**t,5),a=e.map((e,t)=>({idx:t,lat:e.location.latitude,lon:e.location.longitude,photo:e})),r=Array(a.length).fill(!1),o=Array(a.length).fill(!1),n=[],s=e=>{let t=[];for(let r=0;r<a.length;r+=1)r!==e&&b(a[e].lat,a[e].lon,a[r].lat,a[r].lon)<=l&&t.push(r);return t};for(let e=0;e<a.length;e+=1){if(r[e])continue;r[e]=!0;let t=s(e);if(t.length+1<1){n.push({location:a[e].photo.location,photos:[a[e].photo]}),o[e]=!0;continue}let l=[a[e].photo];o[e]=!0;let i=[...t];for(;i.length;){let e=i.shift();if(!r[e]){r[e]=!0;let t=s(e);t.length+1>=1&&i.push(...t.filter(e=>!o[e]))}o[e]||(l.push(a[e].photo),o[e]=!0)}let u=l.reduce((e,t)=>e+t.location.latitude,0),d=l.reduce((e,t)=>e+t.location.longitude,0),c=u/l.length,h=d/l.length,m={...l[0].location,latitude:c,longitude:h},p=new Map(l.map(e=>[e.id,e]));n.push({location:m,photos:Array.from(p.values())})}return n})(o,t);M.current=!e,$(n),L(n?.[0]?.location.geonameId)},K=async()=>{if(!A.current)return;let e=U.current.getZoom();await G(e)};return(0,l.useEffect)(()=>{!n&&i.desktop&&G()},[i.default]),(0,l.useEffect)(()=>{let e;if(i.default||!i.desktop)return;(0,g.addLeafletCss)();let l=V?.latitude,r=V?.longitude,o=y.DomUtil.get(D);o&&(o._leaflet_id=null),U.current=y.map(z.current,{...w});let u=U.current;u.on("load",()=>{if(k(!1),B){let e="outline";U.current.createPane(e),U.current.getPane(e).style.zIndex=300,fetch(a.outline_url).then(e=>e.json()).then(t=>{y.geoJSON(t,{pane:e,style:()=>({color:"#B3CAE9",fillColor:"#B3CAE9",fillOpacity:1,weight:0})}).addTo(U.current)}).catch(e=>console.error("Failed to fetch outline",e))}n&&(()=>{if(!s||!U.current)return;let e=y.divIcon({className:"div-icon",html:(0,d.renderToString)((0,t.jsx)("div",{className:"relative left-0 top-0 w-3 h-3 bg-blue-plus-2 rounded-full shadow-md",children:(0,t.jsxs)("div",{className:"absolute whitespace-nowrap -translate-x-1/2 -top-10 py-1 px-3 rounded-3xl bg-blue-minus-2 text-blue-plus-2 text-base",children:[(0,t.jsx)("span",{children:"Deel weer uit  "}),(0,t.jsx)("span",{className:"font-bold",children:s.name})]})}))}),l=y.marker([s.latitude,s.longitude],{icon:e});l&&U&&l.addTo(U.current)})()}),n||u.on("zoomend",()=>{K()});let c=/Mobi|Android|iPhone|iPad|iPod|Mobile|Tablet/i.test(window.navigator.userAgent);if(y.Browser.touch&&u&&c){let t=u.getContainer();u.dragging.disable();let l=e=>{if(2===e.touches.length)u.dragging.enable(),F.current=null;else if(u.dragging.disable(),1===e.touches.length){let t=e.touches[0];F.current={x:t.clientX,y:t.clientY}}},a=e=>{if(1===e.touches.length&&F.current){let t=e.touches[0];Math.abs(t.clientX-F.current.x)+Math.abs(t.clientY-F.current.y)>12&&(T||(C(!0),R.current&&window.clearTimeout(R.current),R.current=window.setTimeout(()=>C(!1),2e3)))}},r=e=>{e.touches.length<2&&u.dragging.disable(),0===e.touches.length&&(F.current=null)};t.addEventListener("touchstart",l,{passive:!0}),t.addEventListener("touchmove",a,{passive:!0}),t.addEventListener("touchend",r,{passive:!0}),t.addEventListener("touchcancel",r,{passive:!0}),e=()=>{t.removeEventListener("touchstart",l),t.removeEventListener("touchmove",a),t.removeEventListener("touchend",r),t.removeEventListener("touchcancel",r)}}return u.setView([l,r],V.zoom,{animate:!1}),()=>{e?.(),u&&(u.off("load"),u.remove(),N.current=null),U.current=null}},[i.default]),(0,t.jsxs)("div",{className:"flex w-full h-full rounded-[40px] overflow-hidden",children:[(0,t.jsxs)("div",{className:`relative ${n?"bg-map-fotoloods-gradient-reverse":"bg-[#B3CAE9] w-1/3 max-w-xs"}`,children:[null!==I&&(0,t.jsx)("div",{className:"overflow-auto absolute w-full top-0 bottom-0 z-1000 p-4 shadow-lg",children:(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)("div",{className:"flex flex-col",children:j.find(e=>e.location.geonameId===I)?.photos.map(e=>(0,t.jsx)(p.default,{extraRounded:!0,photo:e,setActivePhoto:()=>{},sendView:P},e.id))})})}),n&&(0,t.jsxs)("div",{className:"p-8 pt-4 pr-4",children:[(0,t.jsxs)("p",{className:"text-[22px] lg:text-[32px] mb-6",children:["Deel de eerste weer foto in ",(0,t.jsx)("br",{}),(0,t.jsx)("b",{children:s?.name})]}),(0,t.jsx)(o.default,{})]})]}),(0,t.jsx)("div",{className:"grow h-full",children:(0,t.jsx)("div",{className:x.default.mapContainer,children:(0,t.jsxs)("div",{className:"flex flex-col h-full relative overflow-hidden",children:[(0,t.jsx)("div",{className:"w-full flex-1 relative bg-map-fotoloods-gradient! ",id:D,ref:z}),T&&(0,t.jsx)("div",{className:"pointer-events-none absolute top-0 right-0 bottom-0 left-0 bg-black-neg-4/40 animate-fade flex items-center text-center",style:{zIndex:1100},children:(0,t.jsx)("p",{className:"text-xs text-white font-bold text-center m-auto",children:"Gebruik twee vingers om de kaart te verplaatsen"})}),(0,t.jsx)("div",{className:x.default.iconButtonContainerBase,children:!n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:x.default.radarControlIconContainer,onClick:()=>{U.current.zoomOut()},children:(0,t.jsx)(m.default,{type:"general",icon:"new-minus-v2",size:26})}),(0,t.jsx)("div",{className:x.default.radarControlIconContainer,onClick:()=>{U.current.zoomIn()},children:(0,t.jsx)(m.default,{type:"general",icon:"new-plus",size:26})})]})}),_&&(0,t.jsx)("div",{className:"absolute bottom-4 right-4 z-1001",children:(0,t.jsx)(h.default,{size:36})})]})})})]})};e.s(["default",0,j],23419);var $=e.i(81859);let N=()=>{let{t:e}=(0,n.useTranslate)(),l=`${$.ASSETS_IMAGES_PATH}/fotoloods/header-photoloods.png`;return(0,t.jsx)("div",{className:"md:bg-white w-full mb-6 md:mb-10",children:(0,t.jsxs)("div",{className:"w-full flex items-center relative",children:[(0,t.jsxs)("div",{className:"absolute w-full h-full overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute top-[-150px] md:top-[-120px] left-[-165px] md:left-[-135px] w-[250px] h-[380px] rounded-[145px] blur-[125
1px] bg-fotoloods-gradient"}),(0,t.jsx)("div",{className:"hidden md:block absolute top-[50px] right-[-145px] w-[188px] h-[436px] rounded-[145px] blur-[125px] bg-fotoloods-gradient"}),(0,t.jsx)("div",{className:"hidden absolute lg:block w-[982px] h-[982px] right-[-15%] top-[-50%] rounded-full bg-[#BCD3FD33]"})]}),(0,t.jsxs)("div",{className:"flex container m-auto justify-between items-center",children:[(0,t.jsxs)("div",{className:"relative z-10 flex flex-col py-4 md:py-16",children:[(0,t.jsx)(s.default,{level:"h1",bold:"font-normal",className:"text-[22px]! md:text-[32px]! md:mb-2!",children:e("comp_fotoloods_home_banner_title_1")}),(0,t.jsx)(s.default,{level:"h2",bold:"font-normal",className:"text-[22px]! md:text-[32px]! mb-4 md:mb-10!",children:e("comp_fotoloods_home_banner_title_2")}),(0,t.jsx)(o.default,{})]}),(0,t.jsx)("div",{className:"hidden lg:block relative -right-8 top-4",children:(0,t.jsx)("img",{width:"480",src:l,alt:"Fotoloods homepage banner"})})]})]})})};e.s(["default",0,N],88241),e.s(["default",0,({level:e="h1",collectionSlug:u,location:d,radius:c,showUpload:h=!1,startColumns:m=3,linkButton:p,disableTitle:f=!1,enableMap:x=!1,country:g})=>{let[v,b]=(0,l.useState)(1),[y,w]=(0,l.useState)([]),[$,_]=(0,l.useState)(!1),[k,E]=(0,l.useState)(!0),[S,T]=(0,l.useState)(!1),[C,I]=(0,l.useState)(!0),[L,P]=(0,l.useState)(!1),O=p&&p.href&&p.text,F=O?6:null,{t:A}=(0,n.useTranslate)();return(0,l.useEffect)(()=>{(async()=>{let e={lat:d?.latitude,lon:d?.longitude,radius:c||1e4},t=d?void 0:u,l=await (0,r.fetchFotoLoods)(v,t,F,d?e:null),a=null;if(1===v&&(l?.length===0||!l)&&d){if(a=await (0,r.fetchFotoLoods)(v,u,F,null),(l?.length===0||!l)&&(!a||a?.length===0)){_(!0),I(!1);return}T(!0)}let o=l??a;if(null===o)return I(!1);I(!1);let n=[...y,...o],s=new Map;n.forEach(e=>{s.set(e.id,e)}),w(Array.from(s.values())),E(!1),e&&!a&&P(!0)})()},[v]),(0,t.jsxs)(t.Fragment,{children:[C&&0===y.length&&(0,t.jsx)("div",{className:"p-4 text-blue-plus-4 rounded-2xl text-center",children:(0,t.jsx)(s.default,{level:e,bold:"font-normal",className:"text-[22px]! md:text-[32px]! md:mb-2! leading-[40px]!",children:A("comp_fotoloods_loading")})}),$&&(0,t.jsxs)("div",{className:"p-4 text-blue-plus-4 rounded-2xl text-center",children:[(0,t.jsxs)(s.default,{level:e,bold:"font-normal",className:"text-[22px]! md:text-[32px]! md:mb-2! leading-[40px]!",children:[A("comp_fotoloods_empty_title",{locationName:d.name}),(0,t.jsx)("br",{}),A("comp_fotoloods_empty_cta_prefix")," ",(0,t.jsx)("b",{children:A("comp_fotoloods_empty_cta_bold")})]}),(0,t.jsx)("div",{className:"mt-6 flex justify-center p-4 pt-12",children:(0,t.jsx)(o.default,{})})]}),!$&&(0,t.jsxs)(t.Fragment,{children:[S&&x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden lg:block aspect-[3/1] mb-4",children:(0,t.jsx)(j,{placeholder:!0,country:g,location:d})}),(0,t.jsx)("div",{className:"md:hidden mb-4 -ml-4 -mt-4",children:(0,t.jsx)(N,{})})]}),(0,t.jsx)(i.default,{level:e,disableTitle:f,collectionSlug:u,startColumns:m,showUpload:h,locationName:L?d?.name:null,photoList:y,fetchMore:()=>{!O&&(E(!0),k||b(v+1))}}),O&&(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)(a.default,{className:"max-w-40",type:"button",centerText:!0,size:"sm",href:p.href,children:p.text})})]})]})}],82549)},18111,e=>{"use strict";var t=e.i(91398);let l=(0,e.i(68489).default)(()=>e.A(17357),{loadableGenerated:{modules:[11939]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"max-w-[442px] w-full overflow-visible flex relative min-h-[192px]","aria-busy":"true"})});e.s(["default",0,l])},24077,e=>{"use strict";var t=e.i(91398),l=e.i(91788),a=e.i(86533),r=e.i(49977),o=e.i(5291),n=e.i(55775);let s="WOL_liked_photos",i=(0,l.createContext)({likedPhotos:[],loading:!1,currentLiked:[],isLiked:()=>null,getPhotos:()=>null,likePhoto:()=>null});e.s(["LikedPhotosContext",0,i,"LikedPhotosProvider",0,({children:e})=>{let[u,d]=(0,l.useState)([]),[c,h]=(0,l.useState)([]),[m,p]=(0,l.useState)(!1),[f,x]=(0,l.useState)(!1),{data:g}=(0,a.useSession)(),v=async(e,t)=>{x(!0),await (0,r.setUserLikedPhotos)(e,t),x(!1)},b=e=>!!u&&0!==u.length&&u?.some(t=>t.id===e),y=async e=>{let t;if(!b(e.id)){h((t=[])=>[...t,e.id]);try{(0,n.sendLikeFotoloodsPhoto)(e.id)}catch(e){console.log("Error sending like fotoloods photo:",e)}if(d(t=e&&u.length?[...u,e]:[e]),g&&g.accessToken)v(g.accessToken,t);else{let e=JSON.stringify(t);(0,o.setLocalStorage)(s,e)}}},w=async()=>
1{if(g&&g.accessToken&&!m){x(!0);let e=await (0,r.getUserLikedPhotos)(g.accessToken);Array.isArray(e)&&d(e),p(!0),x(!1)}if(!g&&!m){let e=(0,o.readLocalStorage)(s),t=e?JSON.parse(e):[];Array.isArray(t)&&d(t),p(!0)}};return(0,t.jsx)(i.Provider,{value:{loading:f,likedPhotos:u,getPhotos:w,likePhoto:y,isLiked:b,currentLiked:c},children:e})}])},85758,e=>{"use strict";var t=e.i(91788);e.s(["usePhotoViewOnVisible",0,(e,l,a,r=!0,o=.4)=>{let[n,s]=(0,t.useState)(!1);(0,t.useEffect)(()=>{if(!r||n)return;let t=a.current;if(!t)return;let i=new window.IntersectionObserver(t=>{n||t[0].isIntersecting&&(l(e),s(!0))},{root:null,threshold:o});return i.observe(t),()=>{i.unobserve(t)}},[e,l,n,r,o])}])},50677,e=>{"use strict";var t=e.i(91788),l=e.i(55775);e.s(["usePhotoViews",0,(e=1e3)=>{let[a,r]=(0,t.useState)(!1),o=(0,t.useRef)(new Set),n=(0,t.useRef)(null),s=(0,t.useRef)([]),i=async()=>{if(a)return;r(!0);let e=s.current;if(0===e.length)return void r(!1);e.splice(50);let t=e.join(",");await (0,l.sendViewsFotoloodsPhotos)(t),e.forEach(e=>{o.current.add(e),s.current=s.current.filter(t=>t!==e)}),r(!1)};return{addPhotoToSendViewsList:t=>{o.current.has(t)||(s.current=Array.from(new Set([...s.current,t])),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{i(),n.current=null},e))},sending:a,viewedPhotosRef:o}}])},55775,e=>{"use strict";e.i(50461),e.i(81859);var t=e.i(78338),l=e.i(55464),a=e.i(5745);let r=e=>new Date(`${e}+02:00`).toISOString(),o=async(e,t,o,n)=>{let s,i=o||12,u=(s="/api/phoenix/",t?`${s}${l.API_RESOURCE_GET_FOTOLOODS_COLLECTION}/`:n?`${s}${l.API_RESOURCE_GET_FOTOLOODS_LOCATION}/`:`${s}${l.API_RESOURCE_GET_FOTOLOODS}/`),d=1,c=`${u}${i}/${e?(e-1)*i:0}`;if(t&&(c=`${c}/${t}`),n){let e=n.radius||25e3;c=`${c}/${n.lat}/${n.lon}/${e}`,d=300}try{let{data:e}=await (0,a.default)({url:c,caller:"fetchFromFotoloods",hmac:!1,agent:!1,cacheTime:d})||{};if(e)return e.map(e=>{if(e.dateTime=r(e.dateTime),Array.isArray(e.tags)){let t=Array.from(new Set(e.tags));e.tags=t.slice(0,3)}return e}),e;return null}catch{return null}},n=async e=>{let r=(0,t.getOrCreatePPID)(),o=`/api/phoenix/${l.API_RESOURCE_LIKE_FOTOLOODS_PHOTO}/${e}/${r}`,n={Authorization:(0,a.generateHmacToken)("GET",o)};try{return(await (0,a.axiosInstance)(o,{headers:n})).data}catch(e){return e?.response?.data}},s=async e=>{let r=(0,t.getOrCreatePPID)(),o=`/api/phoenix/${l.API_RESOURCE_VIEW_FOTOLOODS_PHOTOS}/${r}/${e}`,n={Authorization:(0,a.generateHmacToken)("GET",o)};try{return(await (0,a.axiosInstance)(o,{headers:n})).data}catch(e){return e?.response?.data}},i=async e=>{if(!e)return null;let l=(0,t.getOrCreatePPID)(),a=new FormData;e.file&&a.append("file",e.file),e.description&&a.append("description",e.description),e.dateTime&&a.append("datetime",e.dateTime),e.photographerName&&a.append("photographer_name",e.photographerName),e.photographerEmail&&a.append("photographer_email",e.photographerEmail),e.locationLatitude&&a.append("location_latitude",String(e.locationLatitude)),e.locationLongitude&&a.append("location_longitude",String(e.locationLongitude)),e.locationGeoNameId&&a.append("location_geoname_id",String(e.locationGeoNameId)),e.locationName&&a.append("location_name",String(e.locationName)),e.collectionSlug&&a.append("collection_slug",String(e.collectionSlug)),a.append("user_hash",l);let r=await fetch("/api/phoenix/fotoloodsUpload",{method:"POST",body:a});return r&&r?.status===200?r.json():null},u=async(e,t,o)=>{if(!e)return null;let n=o||12,s=`/api/phoenix/${l.API_RESOURCE_GET_FOTOLOODS_USER}/${e}/${n}/${t?(t-1)*n:0}`;try{let e=await (0,a.default)({url:s,caller:"fetchFromFotoloodsUser",hmac:!1,agent:!1,cacheTime:1}),{data:t}=e||{};if(t)return t.map(e=>{if(e.dateTime=r(e.dateTime),Array.isArray(e.tags)){let t=Array.from(new Set(e.tags));e.tags=t.slice(0,3)}return e}),e.data=t,e;return null}catch{return null}};e.s(["fetchFotoLoods",0,o,"getUserPhotos",0,u,"sendLikeFotoloodsPhoto",0,n,"sendViewsFotoloodsPhotos",0,s,"uploadPhotoToFotoloods",0,i])},15122,e=>{"use strict";e.i(50461);var t=e.i(5745),l=e.i(36474);let a="https://api.imweather.com",r={zoom:6,north:65,south:-55,west:-55,east:67},o=async(e,t)=>{let a=(0,l.getRadarSettingsFromType)(t),o="satellite"===t?c(r,e)?"satellite-europe-mtg":"satellite-world":a.element;return i(e,o,a.rustTimeSpan,a.params,a.fetchLightningLayer,a.fetchRadarSatLayer)},n=async(e,t,a,r)=>s(e,(0,l.getRadarSettingsFromType)(t),a,r),s=async(e,r,o,n)=>{if(!e)return null;let{zoom:s,north:i,south:u,east:c,west:h}=e;if(!s||!i||!h||!u||!c||!r)return null;let{model:m,element:y,hasOptimal:w,hasData:j,hasVector:$,params:N,filterHours:_,limit:k}=r,E="auto"!==m&&m?m:p({north:i,south:u,east:c,west:h,zoom:s},w);"country"===E&&o?E=(0,l.getTempModelForCountry)(o,n):"country"!==E||o||(E="gfs");let S=await d(E);if(!S)return null;let T=`${a}/v0/gridmapdata/layers/${E}/${S}/${y}/${Math.round(s)}/${i}/${h}/${u}/${c}?${N}`,C=`${a}/v0/gridmapdata/layers/${E}/${S}/${y}/${Math.round(s)}/${i}/${h}/${u}/${c}?${N}&outputtype=data`,I=`${a}/v0/gridmapdata/layers/${E}/${S}/winddirection/${Math.round(s)}/${i}/${h}/${u}/${c}?level=10m&outputtype=data`;try{let l=(0,t.default)({url:T,caller:`fetchImWeatherImages - ${y}`,hmac:!1,agent:!1,cacheTime:900}),a=null;j&&("arrow"===j&&(a=(0,t.default)({url:I,caller:"fetchImWeatherData - icon",hmac:!1,agent:!1,cacheTime:900})),"value"===j&&(a=(0,t.default)({url:C,caller:"fetchImWeatherData - value",hmac:!1,agent:!1,cacheTime:900})));let r=null;$&&(r=x(e,E,S));let o=[l];j&&a&&o.push(a),$&&r&&o.push(r);let n=await Promise.all(o);if(!n[0])return null;let s=n[0],i=f(s,_);if(!i)return null;let u=null,d=null;j&&n[1]&&(d=f(n[1],_));let c=null;if($&&n[2]&&(c=f(n[2],_)),k&&(i&&i.layers.length>k&&(i.layers=i.layers.slice(0,k)),d&&d.layers.length>k&&(d.layers=d.layers.slice(0,k)),c&&c.layers.length>k&&(c.layers=c.layers.slice(0,k))),j&&n[1]&&(u=await g(d)),!u)return i;return i.layers=v(i?.layers??null,u?.layers),$&&c?.layers?.length&&(i.vectorBoundingBox=c.boundingbox,i.layers=b(i?.layers??null,c?.layers
1)),i}catch{return null}},i=async(e,l,a,o,n,s)=>{if(!e)return null;let{zoom:i,north:d,south:h,east:m,west:p}=e;if(!i||!d||!p||!h||!m||!a||!l)return null;let f="https://imn-rust-lb.infoplaza.io",x=`${f}/v4/nowcast/tiles/${l}/${a}/${i}/${d}/${p}/${h}/${m}${o||""}`,g=`${f}/v4/nowcast/tiles/lightning/${a}/${i}/${d}/${p}/${h}/${m}?palette=lightningbolt`,v=c(r,e)?"radarsatellite-europe-mtg":"radarsatellite-world",b=`${f}/v4/nowcast/tiles/${v}/${a}/${i}/${d}/${p}/${h}/${m}?palette=weeronline&outputtype=jpeg`,y=null,w=null,j=(0,t.default)({url:x,caller:`fetchRustImages - ${l} - ${a}`,hmac:!1,agent:!1});try{n&&(y=(0,t.default)({url:g,caller:`fetchRustImages - Lightning - ${a}`,hmac:!1,agent:!1})),s&&(w=(0,t.default)({url:b,caller:`fetchRustImages - Sat Radar - ${a}`,hmac:!1,agent:!1}));let e=[j];n&&y&&e.push(y),s&&w&&e.push(w);let l=await Promise.all(e),r=l[0];if(!r)return null;let o=l&&l.length>1?l[1]:null,i=l&&l.length>2?l[2]:null;r.layers=u(r.layers,o?.layers,i?.layers);let d=[];return o?.layers.length||d.push("lightning"),i?.layers.length||d.push("satRadar"),r.emptyLayers=d,r}catch{return null}},u=(e,t,l)=>(t&&e.forEach((a,r)=>{let o=a.timestamp;if(t){let l=t.find(e=>e.timestamp===o);l&&(e[r].lightningurl=l.url)}if(l){let t=l.find(e=>e.timestamp===o);t&&(e[r].satradarurl=t.url)}}),e),d=async e=>{let l=`${a}/v0/gridmapdata/models/${e}`;try{var r;let e,a=await (0,t.default)({url:l,caller:"fetchImnAPIModel",hmac:!1,agent:!1,cacheTime:900});if(!a)return null;return e=(r=a?.metadata?.runtimes).sort((e,t)=>t-e),r.length<1?null:e[1]}catch{return null}},c=(e,t)=>t.north<=e.north&&t.south>=e.south&&t.east<=e.east&&t.west>=e.west,h={zoom:6,north:57.33,west:0,south:45.09,east:19.69},m={zoom:6,north:70.61,west:-33.75,south:21.94,east:67.5},p=(e,t=!0)=>t&&c(h,e)?"optimal":c(m,e)?"dwdiconeu":"gfs",f=(e,t=1)=>{let l=(e=>{if(!e?.layers)return null;let t=Math.floor(new Date().getTime()/1e3),l=e.layers.filter(e=>e.timestamp>t);return{...e,layers:l}})(e);return l?t&&0!==t?((e,t)=>{let l=e?.layers;if(!l||0===l.length)return null;let a=l.filter(e=>{let t=new Date(1e3*e.timestamp);return 0===t.getUTCMinutes()&&0===t.getUTCSeconds()}).filter((e,l)=>l%t==0);return{...e,layers:a}})(l,t):l:null},x=async(e,l,r)=>{let{zoom:o,north:n,south:s,east:i,west:u}=e,d=`${a}/v0/gridmapdata/layers/${l}/${r}/windvector/${Math.round(o-1)}/${n}/${u}/${s}/${i}?level=10m&unit=km/h`;return await (0,t.default)({url:d,caller:"fetchWindVector",hmac:!1,agent:!1,cacheTime:900})},g=async e=>{if(!e)return null;let{layers:l}=e||{layers:[]},r=[];l.forEach(e=>{let l=async()=>{let l=`${a}${e.url}`;return(0,t.default)({url:l,caller:"fetchLayerData",hmac:!1,agent:!1,cacheTime:900})};r.push(l())});let o=await Promise.all(r),n=0;return o.forEach(e=>{e&&(l[n].data=e),n+=1}),e.layers=l,e},v=(e,t)=>e?(t&&e.forEach((l,a)=>{let r=l.timestamp;if(t){let l=t.find(e=>e.timestamp===r);l&&(e[a].data=l?.data??void 0)}}),e):[],b=(e,t)=>e?(t&&e.forEach((l,a)=>{let r=l.timestamp;if(t){let l=t.find(e=>e.timestamp===r);l&&(e[a].vectorUrl=l?.url??void 0)}}),e):[];e.s(["fetchFromImWeather",0,n,"fetchFromImnRust",0,o,"getCorrectModelByCoords",0,(e,t,l=!0)=>l&&e<=h.north&&e>=h.south&&t>
1=h.west&&t<=h.east?"optimal":e<=m.north&&e>=m.south&&t>=m.west&&t<=m.east?"dwdiconeu":"gfs"])}]);

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.