1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6356],{8461:function(t,e,n){n.r(e),n.d(e,{default:function(){return p}});var a=n(85893),o=n(67294);async function i(t){let e=await fetch("http://ip-api.com/json/".concat(t)),n=await e.json();return{lat:n.lat,lng:n.lon}}n(52408),n(27490),n(20585);var c=n(5715),r=n(52013),s=n(20577),l=n(32604),p=t=>{let{camps:e}=t,n=function(){let[t,e]=(0,o.useState)();return(0,o.useEffect)(()=>{(async function(){try{let t=await fetch("https://api.ipify.org/"),n=await t.text(),a=await i(n);e(a)}catch(t){e({lat:51.505,lng:-.09})}})()},[]),t}();return n?(0,a.jsxs)(c.h,{className:"",style:{height:"100%"},center:[n.lat,n.lng],zoom:13,children:[(0,a.jsx)(r.I,{attribution:'\xa9 <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),null==e?void 0:e.map(t=>t.location&&(0,a.jsx)(s.J,{position:[t.location.coordinates.lat,t.location.coordinates.lng],children:(0,a.jsx)(l.G,{closeButton:!1,children:(0,a.jsx)("p",{className:"p-3 text-center text-xs",children:t.name})})},t.id+"marker"))]}):(0,a.jsx)("div",{children:"No location!"})}}}]);
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.