1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0fd72-2e06-7493-a6a3-2b7a08157306")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3902],{63902:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return M}});var a=e(31549),r=e(44194),l=e(83659),i=e(47111),u=e(14510),o=e(87932),s=e(25972),c=e.n(s);let h=(0,o.U)(c(),"map-input"),f=t=>Array.isArray(t)?t:"lon"in t?[t.lon,t.lat]:[t.lng,t.lat],m=h.div`container`;var M=(0,r.forwardRef)(function(t,n){let{style:e,value:o,defaultValue:s,onChange:c,className:h}=t,M=(0,r.useRef)(null),g=(0,u.db)(),[b,d]=(0,l.zk)(o,s,c);if((0,r.useEffect)(()=>{b&&M.current?.setCenter(b)},[b]),(0,r.useImperativeHandle)(n,()=>({focus:()=>{}})),!b)return null;let[p,x]=f(b);return(0,a.jsx)(m,{style:e,className:h,children:(0,a.jsx)(i.D5,{ref:M,initialViewState:{longitude:p,latitude:x,zoom:13},mapStyle:g,onLoad:t=>{let{target:n}=t;return(0,u.A4)(n)},mapboxAccessToken:"pk.eyJ1IjoibWF4d2lobGJvcmciLCJhIjoiY2w3NmF1ZzYyMDRsMjNvbzFqOTdkd2k1NyJ9.3vLG2pvYMqGgUGksIRV5fA",children:(0,a.jsx)(i.Jx,{longitude:p,latitude:x,draggable:!0,onDragEnd:t=>d(t.lngLat)})})})})},14510:function(t,n,e){"use strict";function a(t){t.setFog(null)}e.d(n,{A4:function(){return a},jo:function(){return s},db:function(){return c}}),e(43780);var r=e(71908);let l="mapbox://styles/";function i(t,n){let e=10**n;return Math.round(t*e)/e}function u(t){return Math.max(1,Math.min(1280,Math.round(t)))}function o(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function s(t){let{style:n,accessToken:e,width:a=1280,height:s=1280,retina:c=!0,bounds:h,padding:f=50}=t;if(!n||!e)return null;let m=(0,r.EE)(h);if(!function(t){let{northEast:n,southWest:e}=t;return Number.isFinite(n.lat)&&Number.isFinite(n.lng)&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)&&n.lat>e.lat&&n.lng>e.lng}(m))return null;let M=n.startsWith(l)?n.slice(l.length):n,g=u(a),b=u(s),d=`${g}x${b}${c?"@2x":""}`,{lng:p,lat:x,zoom:N}=function(t,n,e,a){let{northEast:r,southWest:l}=t,i=(180+l.lng)/360,u=(180+r.lng)/360,s=o(r.lat),c=o(l.lat),h=Math.abs(u-i)||Number.EPSILON,f=Math.abs(c-s)||Number.EPSILON;return{lng:(l.lng+r.lng)/2,lat:(Math.atan(Math.exp((180-360*((s+c)/2))*(Math.PI/180)))-Math.PI/4)*360/Math.PI,zoom:Math.max(0,Math.min(22,Math.log2(Math.min(Math.max(1,n-2*a)/(512*h),Math.max(1,e-2*a)/(512*f)))))}}(m,g,b,f),I=`${i(p,5)},${i(x,5)},${i(N,4)}`,k=new URLSearchParams({access_token:e});return`https://api.mapbox.com/styles/v1/${M}/static/${I}/${d}?${k.toString()}`}function c(){return"mapbox://styles/maxwihlborg/clislo0ji009901qy67thc8j8"}},43780:function(){},25972:function(t){t.exports={"map-input__container":"w0xBCV"}}}]); 2//# chunkId=01a0fd72-2e06-7493-a6a3-2b7a08157306
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.