1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[66],{Qetd:function(e,t,c){"use strict";var n=Object.assign.bind(Object);e.exports=n,e.exports.default=e.exports},"hGi/":function(e,t,c){"use strict";function n(e){if(null==e)throw new TypeError("Cannot destructure undefined")}c.d(t,"a",(function(){return n}))},j9VQ:function(e,t,c){"use strict";c.r(t),c.d(t,"__N_SSG",(function(){return o})),c.d(t,"default",(function(){return r}));var n=c("nKUr"),i=c("hGi/"),s=c("q1tI"),o=!0;function r(e){Object(i.a)(e);var t=Object(s.useState)(),c=t[0],o=t[1],r=Object(s.useState)(),a=r[0],d=r[1],l=Object(s.useState)(),u=l[0],j=l[1],b=Object(s.useState)(""),x=b[0],f=b[1],O=function(e){d(e.coords.latitude),o(e.coords.longitude),j(e.coords.accuracy)};function h(e){switch(e.code){case e.PERMISSION_DENIED:f("User denied the request for Geolocation.");break;case e.POSITION_UNAVAILABLE:f("Location information is unavailable.");break;case e.TIMEOUT:f("The request to get user location timed out.");break;case e.UNKNOWN_ERROR:f("An unknown error occurred.")}}return Object(n.jsx)("div",{className:"h-screen bg-pwhite",children:Object(n.jsxs)("div",{className:"flex flex-col items-center",children:[Object(n.jsxs)("div",{className:"flex flex-col text-center",children:[Object(n.jsx)("div",{className:"pr-1",children:"Message:"}),Object(n.jsx)("div",{children:x})]}),Object(n.jsxs)("div",{className:"flex flex-col text-center",children:[Object(n.jsx)("div",{className:"pr-1",children:"Latitude:"}),Object(n.jsx)("div",{children:a})]}),Object(n.jsxs)("div",{className:"flex flex-col text-center",children:[Object(n.jsx)("div",{className:"pr-1",children:"Longitude:"}),Object(n.jsx)("div",{children:c})]}),Object(n.jsx)("div",{children:Object(n.jsxs)("div",{children:["La pr\xe9cision est de ",u," m\xe8tres."]})}),Object(n.jsx)("button",{className:"w-20 px-2 py-1 text-white bg-black",onClick:function(){navigator.geolocation?navigator.geolocation.getCurrentPosition(O,h):f("Geolocation is not supported by this browser.")},children:"GeoLoc"})]})})}},p417:function(e,t,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/geolocation",function(){return c("j9VQ")}])}},[["p417",0,1]]]);
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.