if("__TAURI__"inwindow){var__TAURI_PLUGIN_GEOLOCATION__=function(t){"use strict";functionr(t,r,e,s){if("a"===e&&!s)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeofr?t!==r||!s:!r.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?s:"a"===e?s.call(t):s?s.value:r.get(t)}functione(t,r,e,s,o){if("function"==typeofr?t!==r||!o:!r.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnr.set(t,e),e}vars,o,i,a;"function"==typeofSuppressedError&&SuppressedError;classn{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,s.set(this,(()=>{})),o.set(this,0),i.set(this,{}),this.id=function(t,r=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,r)}((({message:t,id:a})=>{if(a===r(this,o,"f")){e(this,o,a+1),r(this,s,"f").call(this,t);constn=Object.keys(r(this,i,"f"));if(n.length>0){lett=a+1;for(consteofn.sort()){if(parseInt(e)!==t)break;{consto=r(this,i,"f")[e];deleter(this,i,"f")[e],r(this,s,"f").call(this,o),t+=1}}e(this,o,t)}}elser(this,i,"f")[a.toString()]=t}))}setonmessage(t){e(this,s,t)}getonmessage(){returnr(this,s,"f")}toJSON(){return`__CHANNEL__:${this.id}`}}asyncfunctionc(t,r={},e){returnwindow.__TAURI_INTERNALS__.invoke(t,r,e)}s=newWeakMap,o=newWeakMap,i=newWeakMap,function(t){t.WINDOW_RESIZED="tauri://resize",t.WINDOW_MOVED="tauri://move",t.WINDOW_CLOSE_REQUESTED="tauri://close-requested",t.WINDOW_DESTROYED="tauri://destroyed",t.WINDOW_FOCUS="tauri://focus",t.WINDOW_BLUR="tauri://blur",t.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",t.WINDOW_THEME_CHANGED="tauri://theme-changed",t.WINDOW_CREATED="tauri://window-created",t.WEBVIEW_CREATED="tauri://webview-created",t.DRAG_ENTER="tauri://drag-enter",t.DRAG_OVER="tauri://drag-over",t.DRAG_DROP="tauri://drag-drop",t.DRAG_LEAVE="tauri://drag-leave"}(a||(a={}));constu={asyncgetCurrentPosition(t){try{return{status:"ok",data:awaitc("plugin:geolocation|get_current_position",{options:t})}}catch(t){if(tinstanceofError)throwt;return{status:"error",error:t}}},asyncwatchPosition(t,r){try{return{status:"ok",data:awaitc("plugin:geolocation|watch_position",{options:t,channel:r})}}catch(t){if(tinstanceofError)throwt;return{status:"error",error:t}}},asyncclearWatch(t){try{return{status:"ok",data:awaitc("plugin:geolocation|clear_watch",{channelId:t})}}catch(t){if(tinstanceofError)throwt;return{status:"error",error:t}}},asynccheckPermissions(){try{return{status:"ok",data:awaitc("plugin:geolocation|check_permissions")}}catch(t){if(tinstanceofError)throwt;return{status:"error",error:t}}},asyncrequestPermissions(t){try{return{status:"ok",data:awaitc("plugin:geolocation|request_permissions",{permissions:t})}}catch(t){if(tinstanceofError)throwt;return{status:"error",error:t}}}};const{getCurrentPosition:_,clearWatch:h,checkPermissions:f,requestPermissions:w}=u;returnt.checkPermissions=f,t.clearWatch=h,t.getCurrentPosition=_,t.requestPermissions=w,t.watchPosition=asyncfunction(t,r){conste=newn;returne.onmessage=r,awaitu.watchPosition(t,e),e.id},t}({});Object.defineProperty(window.__TAURI__,"geolocation",{value:__TAURI_PLUGIN_GEOLOCATION__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_GEOLOCATION__=function(t){"use strict";functione(t,e,n,i){if("a"===n&&!i)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeofe?t!==e||!i:!e.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:e.get(t)}functionn(t,e,n,i,o){if("function"==typeofe?t!==e||!o:!e.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returne.set(t,n),n}vari,o,s;"function"==typeofSuppressedError&&SuppressedError;classr{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,i.set(this,(()=>{})),o.set(this,0),s.set(this,{}),this.id=function(t,e=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,e)}((({message:t,id:r})=>{if(r===e(this,o,"f")){n(this,o,r+1),e(this,i,"f").call(this,t);consta=Object.keys(e(this,s,"f"));if(a.length>0){lett=r+1;for(constnofa.sort()){if(parseInt(n)!==t)break;{consto=e(this,s,"f")[n];deletee(this,s,"f")[n],e(this,i,"f").call(this,o),t+=1}}n(this,o,t)}}elsee(this,s,"f")[r.toString()]=t}))}setonmessage(t){n(this,i,t)}getonmessage(){returne(this,i,"f")}toJSON(){return`__CHANNEL__:${this.id}`}}asyncfunctiona(t,e={},n){returnwindow.__TAURI_INTERNALS__.invoke(t,e,n)}returni=newWeakMap,o=newWeakMap,s=newWeakMap,t.checkPermissions=asyncfunction(){returnawaitasyncfunction(t){returna(`plugin:${t}|check_permissions`)}("geolocation")},t.clearWatch=asyncfunction(t){awaita("plugin:geolocation|clear_watch",{channelId:t})},t.getCurrentPosition=asyncfunction(t){returnawaita("plugin:geolocation|get_current_position",{options:t})},t.requestPermissions=asyncfunction(t){returnawaita("plugin:geolocation|request_permissions",{permissions:t})},t.watchPosition=asyncfunction(t,e){constn=newr;returnn.onmessage=t=>{"string"==typeoft?e(null,t):e(t)},awaita("plugin:geolocation|watch_position",{options:t,channel:n}),n.id},t}({});Object.defineProperty(window.__TAURI__,"geolocation",{value:__TAURI_PLUGIN_GEOLOCATION__})}