"use strict";exports.id=415,exports.ids=[415],exports.modules={415:(o,n,t)=>{t.r(n),t.d(n,{default:()=>d});var e=t(8633),i=t(4683),r=t(6262),a=t(9911),s=t.n(a);const c=(0,r.A)(i.A,[["ssrRender",e.p]]),d=c;s()(i.A,"e53b34e0")},1524:(o,n,t)=>{t.d(n,{A:()=>r});var e=t(8944),i=t(7145);const r={setup(){const o=(0,e.ref)("Getting GPS position..."),n=async()=>{await i.L.getCurrentPosition().then(n=>{console.log("Current",n),o.value=n})},t=(0,e.ref)(null);return(0,e.onMounted)(()=>{n(),t.value=i.L.watchPosition({},n=>{console.log("New GPS position"),o.value=n})}),(0,e.onBeforeUnmount)(()=>{i.L.clearWatch(t.value)}),{position:o}}}},3506:(o,n,t)=>{t.d(n,{p:()=>i});var e=t(2398);function i(o,n,t,i,r,a,s,c){n(`<div${(0,e.ssrRenderAttrs)(i)}> GPS position: <strong>${(0,e.ssrInterpolate)(a.position)}</strong></div>`)}},4683:(o,n,t)=>{t.d(n,{A:()=>e.A});var e=t(1524)},7145:(o,n,t)=>{t.d(n,{L:()=>r});var e=t(5438),i=t(7200);const r=(0,e.F3)("Geolocation",{web:()=>t.e(827).then(t.bind(t,8827)).then(o=>new o.GeolocationWeb)});(0,i.Y)()},7200:(o,n,t)=>{function e(o){o.CapacitorUtils.Synapse=new Proxy({},{get(n,t){return new Proxy({},{get(n,e){return(n,i,r)=>{const a=o.Capacitor.Plugins[t];void 0!==a?"function"==typeof a[e]?(async()=>{try{const o=await a[e](n);i(o)}catch(o){r(o)}})():r(new Error(`Method ${e} not found in Capacitor plugin ${t}`)):r(new Error(`Capacitor plugin ${t} not found`))}}})}})}function i(o){o.CapacitorUtils.Synapse=new Proxy({},{get(n,t){return o.cordova.plugins[t]}})}function r(o=!1){typeof window>"u"||(window.CapacitorUtils=window.CapacitorUtils||{},void 0===window.Capacitor||o?void 0!==window.cordova&&i(window):e(window))}t.d(n,{Y:()=>r})},8633:(o,n,t)=>{t.d(n,{p:()=>e.p});var e=t(3506)}};