1import{R as u,C as m}from"./BkakuSTo.js";import{e as g,y as f}from"./BA2cZanY.js";const o="https://maps.johku.com/basemap",E={lat:60.17181876023031,lng:24.941196491601545},c="basemap",b=15,M=18,h=new Set(["ar","bg","cs","da","de","el","en","es","et","fa","fi","fr","ga","he","hi","hr","hu","id","it","ja","ko","lt","lv","mr","mt","ne","nl","no","pl","pt","ro","ru","sk","sl","sv","tr","uk","ur","vi","zh"]);function d(t){const e=String(t||o).trim().replace(/\/$/,"");return e.includes("{z}")?e:e+"/{z}/{x}/{y}"}function y(t){const e=String(t||"en").split(/[_-]/)[0].toLowerCase();return e==="nb"||e==="nn"?"no":h.has(e)?e:"en"}function A(t={}){return{version:8,glyphs:"https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf",sprite:"https://protomaps.github.io/basemaps-assets/sprites/v4/light",sources:{[c]:{type:"vector",tiles:[d(t.tileUrl)],maxzoom:b,attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'}},layers:u(c,m("light"),{lang:y(t.lang)})}}function v(t){if(!t)return null;const e=t.geo;if(Array.isArray(e)&&e.length>=2){const i=parseFloat(e[0]),p=parseFloat(e[1]);if(i&&p)return{lat:i,lng:p}}const n=parseFloat(t.channeldata?.latitude??t.latitude??t.lat),a=parseFloat(t.channeldata?.longitude??t.longitude??t.lng);if(n&&a)return{lat:n,lng:a};const s=parseFloat(t.availability?.lat),l=parseFloat(t.availability?.lng);return s&&l?{lat:s,lng:l}:null}const r="#3c8bd9";function S(t){if(typeof document>"u")return r;const e=document.createElement("div");e.style.cssText="position:absolute;left:-9999px;top:0;width:1px;height:1px;pointer-events:none;background-color:var(--johku-color-primary, var(--johku-color-button-primary-background, var(--johku-color-titlebar-background, "+r+")))",(t&&t.isConnected?t:document.body).appendChild(e);const a=getComputedStyle(e).backgroundColor;return e.remove(),!a||a==="rgba(0, 0, 0, 0)"||a==="transparent"?r:a}function k(){const t=g(()=>{try{return f().public.mapsBasemapUrl||o}catch{return o}});return{mapsBasemapUrl:t,basemapStyle:n=>A({tileUrl:t.value,lang:n}),productCoordinates:v,schemeMarkerColor:S}}export{M as B,o as D,E as a,A as c,S as s,k 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.