if("__TAURI__"inwindow){var__TAURI_PLUGIN_CLIPBOARD_MANAGER__=function(e){"use strict";vart;asyncfunctionr(e,t={},r){returnwindow.__TAURI_INTERNALS__.invoke(e,t,r)}"function"==typeofSuppressedError&&SuppressedError;classn{getrid(){returnfunction(e,t,r,n){if("a"===r&&!n)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeoft?e!==t||!n:!t.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}(this,t,"f")}constructor(e){t.set(this,void0),function(e,t,r){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");t.set(e,r)}(this,t,e)}asyncclose(){returnr("plugin:resources|close",{rid:this.rid})}}t=newWeakMap;classaextendsn{constructor(e){super(e)}staticasyncnew(e,t,n){returnr("plugin:image|new",{rgba:i(e),width:t,height:n}).then((e=>newa(e)))}staticasyncfromBytes(e){returnr("plugin:image|from_bytes",{bytes:i(e)}).then((e=>newa(e)))}staticasyncfromPath(e){returnr("plugin:image|from_path",{path:e}).then((e=>newa(e)))}asyncrgba(){returnr("plugin:image|rgba",{rid:this.rid}).then((e=>newUint8Array(e)))}asyncsize(){returnr("plugin:image|size",{rid:this.rid})}}functioni(e){returnnull==e?null:"string"==typeofe?e:einstanceofa?e.rid:e}returne.clear=asyncfunction(){awaitr("plugin:clipboard-manager|clear")},e.readImage=asyncfunction(){returnawaitr("plugin:clipboard-manager|read_image").then((e=>newa(e)))},e.readText=asyncfunction(){returnawaitr("plugin:clipboard-manager|read_text")},e.writeHtml=asyncfunction(e,t){awaitr("plugin:clipboard-manager|write_html",{html:e,altText:t})},e.writeImage=asyncfunction(e){awaitr("plugin:clipboard-manager|write_image",{image:i(e)})},e.writeText=asyncfunction(e,t){awaitr("plugin:clipboard-manager|write_text",{label:t?.label,text:e})},e}({});Object.defineProperty(window.__TAURI__,"clipboardManager",{value:__TAURI_PLUGIN_CLIPBOARD_MANAGER__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_CLIPBOARD_MANAGER__=function(e){"use strict";varn;asyncfunctiont(e,n={},t){returnwindow.__TAURI_INTERNALS__.invoke(e,n,t)}"function"==typeofSuppressedError&&SuppressedError;classr{getrid(){returnfunction(e,n,t,r){if("function"==typeofn||!n.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?r:"a"===t?r.call(e):r?r.value:n.get(e)}(this,n,"f")}constructor(e){n.set(this,void0),function(e,n,t){if("function"==typeofn||!n.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");n.set(e,t)}(this,n,e)}asyncclose(){returnt("plugin:resources|close",{rid:this.rid})}}n=newWeakMap;classaextendsr{constructor(e){super(e)}staticasyncnew(e,n,r){returnt("plugin:image|new",{rgba:i(e),width:n,height:r}).then((e=>newa(e)))}staticasyncfromBytes(e){returnt("plugin:image|from_bytes",{bytes:i(e)}).then((e=>newa(e)))}staticasyncfromPath(e){returnt("plugin:image|from_path",{path:e}).then((e=>newa(e)))}asyncrgba(){returnt("plugin:image|rgba",{rid:this.rid}).then((e=>newUint8Array(e)))}asyncsize(){returnt("plugin:image|size",{rid:this.rid})}}functioni(e){returnnull==e?null:"string"==typeofe?e:einstanceofa?e.rid:e}returne.clear=asyncfunction(){awaitt("plugin:clipboard-manager|clear")},e.readImage=asyncfunction(){returnawaitt("plugin:clipboard-manager|read_image").then((e=>newa(e)))},e.readText=asyncfunction(){returnawaitt("plugin:clipboard-manager|read_text")},e.writeHtml=asyncfunction(e,n){awaitt("plugin:clipboard-manager|write_html",{html:e,altText:n})},e.writeImage=asyncfunction(e){awaitt("plugin:clipboard-manager|write_image",{image:i(e)})},e.writeText=asyncfunction(e,n){awaitt("plugin:clipboard-manager|write_text",{label:n?.label,text:e})},e}({});Object.defineProperty(window.__TAURI__,"clipboardManager",{value:__TAURI_PLUGIN_CLIPBOARD_MANAGER__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_GEOLOCATION__=function(t){"use strict";functionn(t,n,e,i){if("a"===e&&!i)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeofn?t!==n||!i:!n.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?i:"a"===e?i.call(t):i?i.value:n.get(t)}functione(t,n,e,i,s){if("function"==typeofn||!n.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnn.set(t,e),e}vari,s,o;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,i.set(this,(()=>{})),s.set(this,0),o.set(this,[]),this.id=function(t,n=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,n)}((({message:t,id:r})=>{if(r==n(this,s,"f"))for(n(this,i,"f").call(this,t),e(this,s,n(this,s,"f")+1);n(this,s,"f")inn(this,o,"f");){constt=n(this,o,"f")[n(this,s,"f")];n(this,i,"f").call(this,t),deleten(this,o,"f")[n(this,s,"f")],e(this,s,n(this,s,"f")+1)}elsen(this,o,"f")[r]=t}))}setonmessage(t){e(this,i,t)}getonmessage(){returnn(this,i,"f")}[(i=newWeakMap,s=newWeakMap,o=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}asyncfunctionc(t,n={},e){returnwindow.__TAURI_INTERNALS__.invoke(t,n,e)}returnt.checkPermissions=asyncfunction(){returnawaitasyncfunction(t){returnc(`plugin:${t}|check_permissions`)}("geolocation")},t.clearWatch=asyncfunction(t){awaitc("plugin:geolocation|clear_watch",{channelId:t})},t.getCurrentPosition=asyncfunction(t){returnawaitc("plugin:geolocation|get_current_position",{options:t})},t.requestPermissions=asyncfunction(t){returnawaitc("plugin:geolocation|request_permissions",{permissions:t})},t.watchPosition=asyncfunction(t,n){conste=newa;returne.onmessage=t=>{"string"==typeoft?n(null,t):n(t)},awaitc("plugin:geolocation|watch_position",{options:t,channel:e}),e.id},t}({});Object.defineProperty(window.__TAURI__,"geolocation",{value:__TAURI_PLUGIN_GEOLOCATION__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_GEOLOCATION__=function(t){"use strict";functionn(t,n,e,i){if("function"==typeofn||!n.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?i:"a"===e?i.call(t):i?i.value:n.get(t)}functione(t,n,e,i,s){if("function"==typeofn||!n.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnn.set(t,e),e}vari,s,o;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,i.set(this,(()=>{})),s.set(this,0),o.set(this,[]),this.id=function(t,n=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,n)}((({message:t,id:r})=>{if(r==n(this,s,"f"))for(n(this,i,"f").call(this,t),e(this,s,n(this,s,"f")+1);n(this,s,"f")inn(this,o,"f");){constt=n(this,o,"f")[n(this,s,"f")];n(this,i,"f").call(this,t),deleten(this,o,"f")[n(this,s,"f")],e(this,s,n(this,s,"f")+1)}elsen(this,o,"f")[r]=t}))}setonmessage(t){e(this,i,t)}getonmessage(){returnn(this,i,"f")}[(i=newWeakMap,s=newWeakMap,o=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}asyncfunctionc(t,n={},e){returnwindow.__TAURI_INTERNALS__.invoke(t,n,e)}returnt.checkPermissions=asyncfunction(){returnawaitasyncfunction(t){returnc(`plugin:${t}|check_permissions`)}("geolocation")},t.clearWatch=asyncfunction(t){awaitc("plugin:geolocation|clear_watch",{channelId:t})},t.getCurrentPosition=asyncfunction(t){returnawaitc("plugin:geolocation|get_current_position",{options:t})},t.requestPermissions=asyncfunction(t){returnawaitc("plugin:geolocation|request_permissions",{permissions:t})},t.watchPosition=asyncfunction(t,n){conste=newa;returne.onmessage=t=>{"string"==typeoft?n(null,t):n(t)},awaitc("plugin:geolocation|watch_position",{options:t,channel:e}),e.id},t}({});Object.defineProperty(window.__TAURI__,"geolocation",{value:__TAURI_PLUGIN_GEOLOCATION__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_GLOBAL_SHORTCUT__=function(t){"use strict";functione(t,e,r,s){if("a"===r&&!s)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeofe?t!==e||!s:!e.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?s:"a"===r?s.call(t):s?s.value:e.get(t)}functionr(t,e,r,s,i){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returne.set(t,r),r}vars,i,n;"function"==typeofSuppressedError&&SuppressedError;consto="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,s.set(this,(()=>{})),i.set(this,0),n.set(this,[]),this.id=function(t,e=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,e)}((({message:t,id:o})=>{if(o==e(this,i,"f"))for(e(this,s,"f").call(this,t),r(this,i,e(this,i,"f")+1);e(this,i,"f")ine(this,n,"f");){constt=e(this,n,"f")[e(this,i,"f")];e(this,s,"f").call(this,t),deletee(this,n,"f")[e(this,i,"f")],r(this,i,e(this,i,"f")+1)}elsee(this,n,"f")[o]=t}))}setonmessage(t){r(this,s,t)}getonmessage(){returne(this,s,"f")}[(s=newWeakMap,i=newWeakMap,n=newWeakMap,o)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[o]()}}asyncfunction_(t,e={},r){returnwindow.__TAURI_INTERNALS__.invoke(t,e,r)}returnt.isRegistered=asyncfunction(t){returnawait_("plugin:global-shortcut|is_registered",{shortcut:t})},t.register=asyncfunction(t,e){constr=newa;returnr.onmessage=e,await_("plugin:global-shortcut|register",{shortcuts:Array.isArray(t)?t:[t],handler:r})},t.unregister=asyncfunction(t){returnawait_("plugin:global-shortcut|unregister",{shortcuts:Array.isArray(t)?t:[t]})},t.unregisterAll=asyncfunction(){returnawait_("plugin:global-shortcut|unregister_all",{})},t}({});Object.defineProperty(window.__TAURI__,"globalShortcut",{value:__TAURI_PLUGIN_GLOBAL_SHORTCUT__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_GLOBAL_SHORTCUT__=function(t){"use strict";functione(t,e,r,s){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?s:"a"===r?s.call(t):s?s.value:e.get(t)}functionr(t,e,r,s,i){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returne.set(t,r),r}vars,i,n;"function"==typeofSuppressedError&&SuppressedError;consto="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,s.set(this,(()=>{})),i.set(this,0),n.set(this,[]),this.id=function(t,e=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,e)}((({message:t,id:o})=>{if(o==e(this,i,"f"))for(e(this,s,"f").call(this,t),r(this,i,e(this,i,"f")+1);e(this,i,"f")ine(this,n,"f");){constt=e(this,n,"f")[e(this,i,"f")];e(this,s,"f").call(this,t),deletee(this,n,"f")[e(this,i,"f")],r(this,i,e(this,i,"f")+1)}elsee(this,n,"f")[o]=t}))}setonmessage(t){r(this,s,t)}getonmessage(){returne(this,s,"f")}[(s=newWeakMap,i=newWeakMap,n=newWeakMap,o)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[o]()}}asyncfunction_(t,e={},r){returnwindow.__TAURI_INTERNALS__.invoke(t,e,r)}returnt.isRegistered=asyncfunction(t){returnawait_("plugin:global-shortcut|is_registered",{shortcut:t})},t.register=asyncfunction(t,e){constr=newa;returnr.onmessage=e,await_("plugin:global-shortcut|register",{shortcuts:Array.isArray(t)?t:[t],handler:r})},t.unregister=asyncfunction(t){returnawait_("plugin:global-shortcut|unregister",{shortcuts:Array.isArray(t)?t:[t]})},t.unregisterAll=asyncfunction(){returnawait_("plugin:global-shortcut|unregister_all",{})},t}({});Object.defineProperty(window.__TAURI__,"globalShortcut",{value:__TAURI_PLUGIN_GLOBAL_SHORTCUT__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_NOTIFICATION__=function(i){"use strict";functiont(i,t,n,e){if("a"===n&&!e)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeoft?i!==t||!e:!t.has(i))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?e:"a"===n?e.call(i):e?e.value:t.get(i)}functionn(i,t,n,e,a){if("function"==typeoft||!t.has(i))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(i,n),n}vare,a,o;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classs{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,e.set(this,(()=>{})),a.set(this,0),o.set(this,[]),this.id=function(i,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(i,t)}((({message:i,id:r})=>{if(r==t(this,a,"f"))for(t(this,e,"f").call(this,i),n(this,a,t(this,a,"f")+1);t(this,a,"f")int(this,o,"f");){consti=t(this,o,"f")[t(this,a,"f")];t(this,e,"f").call(this,i),deletet(this,o,"f")[t(this,a,"f")],n(this,a,t(this,a,"f")+1)}elset(this,o,"f")[r]=i}))}setonmessage(i){n(this,e,i)}getonmessage(){returnt(this,e,"f")}[(e=newWeakMap,a=newWeakMap,o=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}classc{constructor(i,t,n){this.plugin=i,this.event=t,this.channelId=n}asyncunregister(){returnu(`plugin:${this.plugin}|remove_listener`,{event:this.event,channelId:this.channelId})}}asyncfunctionl(i,t,n){conste=news;returne.onmessage=n,u(`plugin:${i}|registerListener`,{event:t,handler:e}).then((()=>newc(i,t,e.id)))}asyncfunctionu(i,t={},n){returnwindow.__TAURI_INTERNALS__.invoke(i,t,n)}varf,h,d;i.ScheduleEvery=void0,(f=i.ScheduleEvery||(i.ScheduleEvery={})).Year="year",f.Month="month",f.TwoWeeks="twoWeeks",f.Week="week",f.Day="day",f.Hour="hour",f.Minute="minute",f.Second="second";returni.Importance=void0,(h=i.Importance||(i.Importance={}))[h.None=0]="None",h[h.Min=1]="Min",h[h.Low=2]="Low",h[h.Default=3]="Default",h[h.High=4]="High",i.Visibility=void0,(d=i.Visibility||(i.Visibility={}))[d.Secret=-1]="Secret",d[d.Private=0]="Private",d[d.Public=1]="Public",i.Schedule=class{staticat(i,t=!1,n=!1){return{at:{date:i,repeating:t,allowWhileIdle:n},interval:void0,every:void0}}staticinterval(i,t=!1){return{at:void0,interval:{interval:i,allowWhileIdle:t},every:void0}}staticevery(i,t,n=!1){return{at:void0,interval:void0,every:{interval:i,count:t,allowWhileIdle:n}}}},i.active=asyncfunction(){returnawaitu("plugin:notification|get_active")},i.cancel=asyncfunction(i){awaitu("plugin:notification|cancel",{notifications:i})},i.cancelAll=asyncfunction(){awaitu("plugin:notification|cancel")},i.channels=asyncfunction(){returnawaitu("plugin:notification|listChannels")},i.createChannel=asyncfunction(i){awaitu("plugin:notification|create_channel",{...i})},i.isPermissionGranted=asyncfunction(){return"default"!==window.Notification.permission?awaitPromise.resolve("granted"===window.Notification.permission):awaitu("plugin:notification|is_permission_granted")},i.onAction=asyncfunction(i){returnawaitl("notification","actionPerformed",i)},i.onNotificationReceived=asyncfunction(i){returnawaitl("notification","notification",i)},i.pending=asyncfunction(){returnawaitu("plugin:notification|get_pending")},i.registerActionTypes=asyncfunction(i){awaitu("plugin:notification|register_action_types",{types:i})},i.removeActive=asyncfunction(i){awaitu("plugin:notification|remove_active",{notifications:i})},i.removeAllActive=asyncfunction(){awaitu("plugin:notification|remove_active")},i.removeChannel=asyncfunction(i){awaitu("plugin:notification|delete_channel",{id:i})},i.requestPermission=asyncfunction(){returnawaitwindow.Notification.requestPermission()},i.sendNotification=function(i){"string"==typeofi?newwindow.Notification(i):newwindow.Notification(i.title,i)},i}({});Object.defineProperty(window.__TAURI__,"notification",{value:__TAURI_PLUGIN_NOTIFICATION__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_NOTIFICATION__=function(i){"use strict";functionn(i,n,t,e){if("function"==typeofn||!n.has(i))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===t?e:"a"===t?e.call(i):e?e.value:n.get(i)}functiont(i,n,t,e,o){if("function"==typeofn||!n.has(i))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnn.set(i,t),t}vare,o,a;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classc{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,e.set(this,(()=>{})),o.set(this,0),a.set(this,[]),this.id=function(i,n=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(i,n)}((({message:i,id:r})=>{if(r==n(this,o,"f"))for(n(this,e,"f").call(this,i),t(this,o,n(this,o,"f")+1);n(this,o,"f")inn(this,a,"f");){consti=n(this,a,"f")[n(this,o,"f")];n(this,e,"f").call(this,i),deleten(this,a,"f")[n(this,o,"f")],t(this,o,n(this,o,"f")+1)}elsen(this,a,"f")[r]=i}))}setonmessage(i){t(this,e,i)}getonmessage(){returnn(this,e,"f")}[(e=newWeakMap,o=newWeakMap,a=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}classs{constructor(i,n,t){this.plugin=i,this.event=n,this.channelId=t}asyncunregister(){returnu(`plugin:${this.plugin}|remove_listener`,{event:this.event,channelId:this.channelId})}}asyncfunctionl(i,n,t){conste=newc;returne.onmessage=t,u(`plugin:${i}|registerListener`,{event:n,handler:e}).then((()=>news(i,n,e.id)))}asyncfunctionu(i,n={},t){returnwindow.__TAURI_INTERNALS__.invoke(i,n,t)}varf,h,d;i.ScheduleEvery=void0,(f=i.ScheduleEvery||(i.ScheduleEvery={})).Year="year",f.Month="month",f.TwoWeeks="twoWeeks",f.Week="week",f.Day="day",f.Hour="hour",f.Minute="minute",f.Second="second";returni.Importance=void0,(h=i.Importance||(i.Importance={}))[h.None=0]="None",h[h.Min=1]="Min",h[h.Low=2]="Low",h[h.Default=3]="Default",h[h.High=4]="High",i.Visibility=void0,(d=i.Visibility||(i.Visibility={}))[d.Secret=-1]="Secret",d[d.Private=0]="Private",d[d.Public=1]="Public",i.Schedule=class{staticat(i,n=!1,t=!1){return{at:{date:i,repeating:n,allowWhileIdle:t},interval:void0,every:void0}}staticinterval(i,n=!1){return{at:void0,interval:{interval:i,allowWhileIdle:n},every:void0}}staticevery(i,n,t=!1){return{at:void0,interval:void0,every:{interval:i,count:n,allowWhileIdle:t}}}},i.active=asyncfunction(){returnawaitu("plugin:notification|get_active")},i.cancel=asyncfunction(i){awaitu("plugin:notification|cancel",{notifications:i})},i.cancelAll=asyncfunction(){awaitu("plugin:notification|cancel")},i.channels=asyncfunction(){returnawaitu("plugin:notification|listChannels")},i.createChannel=asyncfunction(i){awaitu("plugin:notification|create_channel",{...i})},i.isPermissionGranted=asyncfunction(){return"default"!==window.Notification.permission?awaitPromise.resolve("granted"===window.Notification.permission):awaitu("plugin:notification|is_permission_granted")},i.onAction=asyncfunction(i){returnawaitl("notification","actionPerformed",i)},i.onNotificationReceived=asyncfunction(i){returnawaitl("notification","notification",i)},i.pending=asyncfunction(){returnawaitu("plugin:notification|get_pending")},i.registerActionTypes=asyncfunction(i){awaitu("plugin:notification|register_action_types",{types:i})},i.removeActive=asyncfunction(i){awaitu("plugin:notification|remove_active",{notifications:i})},i.removeAllActive=asyncfunction(){awaitu("plugin:notification|remove_active")},i.removeChannel=asyncfunction(i){awaitu("plugin:notification|delete_channel",{id:i})},i.requestPermission=asyncfunction(){returnawaitwindow.Notification.requestPermission()},i.sendNotification=function(i){"string"==typeofi?newwindow.Notification(i):newwindow.Notification(i.title,i)},i}({});Object.defineProperty(window.__TAURI__,"notification",{value:__TAURI_PLUGIN_NOTIFICATION__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_SHELL__=function(e){"use strict";functiont(e,t,s,i){if("a"===s&&!i)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeoft?e!==t||!i:!t.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?i:"a"===s?i.call(e):i?i.value:t.get(e)}functions(e,t,s,i,n){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(e,s),s}vari,n,r;"function"==typeofSuppressedError&&SuppressedError;consto="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,i.set(this,(()=>{})),n.set(this,0),r.set(this,[]),this.id=function(e,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(e,t)}((({message:e,id:o})=>{if(o==t(this,n,"f"))for(t(this,i,"f").call(this,e),s(this,n,t(this,n,"f")+1);t(this,n,"f")int(this,r,"f");){conste=t(this,r,"f")[t(this,n,"f")];t(this,i,"f").call(this,e),deletet(this,r,"f")[t(this,n,"f")],s(this,n,t(this,n,"f")+1)}elset(this,r,"f")[o]=e}))}setonmessage(e){s(this,i,e)}getonmessage(){returnt(this,i,"f")}[(i=newWeakMap,n=newWeakMap,r=newWeakMap,o)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[o]()}}asyncfunctionh(e,t={},s){returnwindow.__TAURI_INTERNALS__.invoke(e,t,s)}classc{constructor(){this.eventListeners=Object.create(null)}addListener(e,t){returnthis.on(e,t)}removeListener(e,t){returnthis.off(e,t)}on(e,t){returneinthis.eventListeners?this.eventListeners[e].push(t):this.eventListeners[e]=[t],this}once(e,t){consts=i=>{this.removeListener(e,s),t(i)};returnthis.addListener(e,s)}off(e,t){returneinthis.eventListeners&&(this.eventListeners[e]=this.eventListeners[e].filter((e=>e!==t))),this}removeAllListeners(e){returne?deletethis.eventListeners[e]:this.eventListeners=Object.create(null),this}emit(e,t){if(einthis.eventListeners){consts=this.eventListeners[e];for(consteofs)e(t);return!0}return!1}listenerCount(e){returneinthis.eventListeners?this.eventListeners[e].length:0}prependListener(e,t){returneinthis.eventListeners?this.eventListeners[e].unshift(t):this.eventListeners[e]=[t],this}prependOnceListener(e,t){consts=i=>{this.removeListener(e,s),t(i)};returnthis.prependListener(e,s)}}classl{constructor(e){this.pid=e}asyncwrite(e){awaith("plugin:shell|stdin_write",{pid:this.pid,buffer:e})}asynckill(){awaith("plugin:shell|kill",{cmd:"killChild",pid:this.pid})}}classuextendsc{constructor(e,t=[],s){super(),this.stdout=newc,this.stderr=newc,this.program=e,this.args="string"==typeoft?[t]:t,this.options=s??{}}staticcreate(e,t=[],s){returnnewu(e,t,s)}staticsidecar(e,t=[],s){consti=newu(e,t,s);returni.options.sidecar=!0,i}asyncspawn(){conste=this.program,t=this.args,s=this.options;"object"==typeoft&&Object.freeze(t);consti=newa;returni.onmessage=e=>{switch(e.event){case"Error":this.emit("error",e.payload);break;case"Terminated":this.emit("close",e.payload);break;case"Stdout":this.stdout.emit("data",e.payload);break;case"Stderr":this.stderr.emit("data",e.payload)}},awaith("plugin:shell|spawn",{program:e,args:t,options:s,onEvent:i}).then((e=>newl(e)))}asyncexecute(){conste=this.program,t=this.args,s=this.options;return"object"==typeoft&&Object.freeze(t),awaith("plugin:shell|execute",{program:e,args:t,options:s})}}returne.Child=l,e.Command=u,e.EventEmitter=c,e.open=asyncfunction(e,t){awaith("plugin:shell|open",{path:e,with:t})},e}({});Object.defineProperty(window.__TAURI__,"shell",{value:__TAURI_PLUGIN_SHELL__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_SHELL__=function(e){"use strict";functiont(e,t,s,i){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?i:"a"===s?i.call(e):i?i.value:t.get(e)}functions(e,t,s,i,n){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(e,s),s}vari,n,r;"function"==typeofSuppressedError&&SuppressedError;consto="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,i.set(this,(()=>{})),n.set(this,0),r.set(this,[]),this.id=function(e,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(e,t)}((({message:e,id:o})=>{if(o==t(this,n,"f"))for(t(this,i,"f").call(this,e),s(this,n,t(this,n,"f")+1);t(this,n,"f")int(this,r,"f");){conste=t(this,r,"f")[t(this,n,"f")];t(this,i,"f").call(this,e),deletet(this,r,"f")[t(this,n,"f")],s(this,n,t(this,n,"f")+1)}elset(this,r,"f")[o]=e}))}setonmessage(e){s(this,i,e)}getonmessage(){returnt(this,i,"f")}[(i=newWeakMap,n=newWeakMap,r=newWeakMap,o)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[o]()}}asyncfunctionh(e,t={},s){returnwindow.__TAURI_INTERNALS__.invoke(e,t,s)}classc{constructor(){this.eventListeners=Object.create(null)}addListener(e,t){returnthis.on(e,t)}removeListener(e,t){returnthis.off(e,t)}on(e,t){returneinthis.eventListeners?this.eventListeners[e].push(t):this.eventListeners[e]=[t],this}once(e,t){consts=i=>{this.removeListener(e,s),t(i)};returnthis.addListener(e,s)}off(e,t){returneinthis.eventListeners&&(this.eventListeners[e]=this.eventListeners[e].filter((e=>e!==t))),this}removeAllListeners(e){returne?deletethis.eventListeners[e]:this.eventListeners=Object.create(null),this}emit(e,t){if(einthis.eventListeners){consts=this.eventListeners[e];for(consteofs)e(t);return!0}return!1}listenerCount(e){returneinthis.eventListeners?this.eventListeners[e].length:0}prependListener(e,t){returneinthis.eventListeners?this.eventListeners[e].unshift(t):this.eventListeners[e]=[t],this}prependOnceListener(e,t){consts=i=>{this.removeListener(e,s),t(i)};returnthis.prependListener(e,s)}}classl{constructor(e){this.pid=e}asyncwrite(e){awaith("plugin:shell|stdin_write",{pid:this.pid,buffer:e})}asynckill(){awaith("plugin:shell|kill",{cmd:"killChild",pid:this.pid})}}classuextendsc{constructor(e,t=[],s){super(),this.stdout=newc,this.stderr=newc,this.program=e,this.args="string"==typeoft?[t]:t,this.options=s??{}}staticcreate(e,t=[],s){returnnewu(e,t,s)}staticsidecar(e,t=[],s){consti=newu(e,t,s);returni.options.sidecar=!0,i}asyncspawn(){conste=this.program,t=this.args,s=this.options;"object"==typeoft&&Object.freeze(t);consti=newa;returni.onmessage=e=>{switch(e.event){case"Error":this.emit("error",e.payload);break;case"Terminated":this.emit("close",e.payload);break;case"Stdout":this.stdout.emit("data",e.payload);break;case"Stderr":this.stderr.emit("data",e.payload)}},awaith("plugin:shell|spawn",{program:e,args:t,options:s,onEvent:i}).then((e=>newl(e)))}asyncexecute(){conste=this.program,t=this.args,s=this.options;return"object"==typeoft&&Object.freeze(t),awaith("plugin:shell|execute",{program:e,args:t,options:s})}}returne.Child=l,e.Command=u,e.EventEmitter=c,e.open=asyncfunction(e,t){awaith("plugin:shell|open",{path:e,with:t})},e}({});Object.defineProperty(window.__TAURI__,"shell",{value:__TAURI_PLUGIN_SHELL__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_STORE__=function(t){"use strict";vare,a;functionr(t,e=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,e)}asyncfunctions(t,e={},a){returnwindow.__TAURI_INTERNALS__.invoke(t,e,a)}"function"==typeofSuppressedError&&SuppressedError;classi{getrid(){returnfunction(t,e,a,r){if("a"===a&&!r)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeofe?t!==e||!r:!e.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?r:"a"===a?r.call(t):r?r.value:e.get(t)}(this,e,"f")}constructor(t){e.set(this,void0),function(t,e,a){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");e.set(t,a)}(this,e,t)}asyncclose(){returns("plugin:resources|close",{rid:this.rid})}}asyncfunctionn(t,e,a){consti={kind:"Any"};returns("plugin:event|listen",{event:t,target:i,handler:r(e)}).then((e=>async()=>asyncfunction(t,e){awaits("plugin:event|unlisten",{event:t,eventId:e})}(t,e)))}asyncfunctiono(t,e){returnawaitu.load(t,e)}e=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={}));classuextendsi{constructor(t){super(t)}staticasyncload(t,e){consta=awaits("plugin:store|load",{path:t,...e});returnnewu(a)}staticasyncget(t){returnawaits("plugin:store|get_store",{path:t}).then((t=>t?newu(t):null))}asyncset(t,e){awaits("plugin:store|set",{rid:this.rid,key:t,value:e})}asyncget(t){const[e,a]=awaits("plugin:store|get",{rid:this.rid,key:t});returna?e:void0}asynchas(t){returnawaits("plugin:store|has",{rid:this.rid,key:t})}asyncdelete(t){returnawaits("plugin:store|delete",{rid:this.rid,key:t})}asyncclear(){awaits("plugin:store|clear",{rid:this.rid})}asyncreset(){awaits("plugin:store|reset",{rid:this.rid})}asynckeys(){returnawaits("plugin:store|keys",{rid:this.rid})}asyncvalues(){returnawaits("plugin:store|values",{rid:this.rid})}asyncentries(){returnawaits("plugin:store|entries",{rid:this.rid})}asynclength(){returnawaits("plugin:store|length",{rid:this.rid})}asyncreload(){awaits("plugin:store|reload",{rid:this.rid})}asyncsave(){awaits("plugin:store|save",{rid:this.rid})}asynconKeyChange(t,e){returnawaitn("store://change",(a=>{a.payload.resourceId===this.rid&&a.payload.key===t&&e(a.payload.exists?a.payload.value:void0)}))}asynconChange(t){returnawaitn("store://change",(e=>{e.payload.resourceId===this.rid&&t(e.payload.key,e.payload.exists?e.payload.value:void0)}))}}returnt.LazyStore=class{getstore(){returnthis._store||(this._store=o(this.path,this.options)),this._store}constructor(t,e){this.path=t,this.options=e}asyncinit(){awaitthis.store}asyncset(t,e){return(awaitthis.store).set(t,e)}asyncget(t){return(awaitthis.store).get(t)}asynchas(t){return(awaitthis.store).has(t)}asyncdelete(t){return(awaitthis.store).delete(t)}asyncclear(){await(awaitthis.store).clear()}asyncreset(){await(awaitthis.store).reset()}asynckeys(){return(awaitthis.store).keys()}asyncvalues(){return(awaitthis.store).values()}asyncentries(){return(awaitthis.store).entries()}asynclength(){return(awaitthis.store).length()}asyncreload(){await(awaitthis.store).reload()}asyncsave(){await(awaitthis.store).save()}asynconKeyChange(t,e){return(awaitthis.store).onKeyChange(t,e)}asynconChange(t){return(awaitthis.store).onChange(t)}asyncclose(){this._store&&await(awaitthis._store).close()}},t.Store=u,t.getStore=asyncfunction(t){returnawaitu.get(t)},t.load=o,t}({});Object.defineProperty(window.__TAURI__,"store",{value:__TAURI_PLUGIN_STORE__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_STORE__=function(t){"use strict";vare,a;functionr(t,e=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,e)}asyncfunctions(t,e={},a){returnwindow.__TAURI_INTERNALS__.invoke(t,e,a)}"function"==typeofSuppressedError&&SuppressedError;classi{getrid(){returnfunction(t,e,a,r){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?r:"a"===a?r.call(t):r?r.value:e.get(t)}(this,e,"f")}constructor(t){e.set(this,void0),function(t,e,a){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");e.set(t,a)}(this,e,t)}asyncclose(){returns("plugin:resources|close",{rid:this.rid})}}asyncfunctionn(t,e,a){consti={kind:"Any"};returns("plugin:event|listen",{event:t,target:i,handler:r(e)}).then((e=>async()=>asyncfunction(t,e){awaits("plugin:event|unlisten",{event:t,eventId:e})}(t,e)))}asyncfunctiono(t,e){returnawaitu.load(t,e)}e=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={}));classuextendsi{constructor(t){super(t)}staticasyncload(t,e){consta=awaits("plugin:store|load",{path:t,...e});returnnewu(a)}staticasyncget(t){returnawaits("plugin:store|get_store",{path:t}).then((t=>t?newu(t):null))}asyncset(t,e){awaits("plugin:store|set",{rid:this.rid,key:t,value:e})}asyncget(t){const[e,a]=awaits("plugin:store|get",{rid:this.rid,key:t});returna?e:void0}asynchas(t){returnawaits("plugin:store|has",{rid:this.rid,key:t})}asyncdelete(t){returnawaits("plugin:store|delete",{rid:this.rid,key:t})}asyncclear(){awaits("plugin:store|clear",{rid:this.rid})}asyncreset(){awaits("plugin:store|reset",{rid:this.rid})}asynckeys(){returnawaits("plugin:store|keys",{rid:this.rid})}asyncvalues(){returnawaits("plugin:store|values",{rid:this.rid})}asyncentries(){returnawaits("plugin:store|entries",{rid:this.rid})}asynclength(){returnawaits("plugin:store|length",{rid:this.rid})}asyncreload(){awaits("plugin:store|reload",{rid:this.rid})}asyncsave(){awaits("plugin:store|save",{rid:this.rid})}asynconKeyChange(t,e){returnawaitn("store://change",(a=>{a.payload.resourceId===this.rid&&a.payload.key===t&&e(a.payload.exists?a.payload.value:void0)}))}asynconChange(t){returnawaitn("store://change",(e=>{e.payload.resourceId===this.rid&&t(e.payload.key,e.payload.exists?e.payload.value:void0)}))}}returnt.LazyStore=class{getstore(){returnthis._store||(this._store=o(this.path,this.options)),this._store}constructor(t,e){this.path=t,this.options=e}asyncinit(){awaitthis.store}asyncset(t,e){return(awaitthis.store).set(t,e)}asyncget(t){return(awaitthis.store).get(t)}asynchas(t){return(awaitthis.store).has(t)}asyncdelete(t){return(awaitthis.store).delete(t)}asyncclear(){await(awaitthis.store).clear()}asyncreset(){await(awaitthis.store).reset()}asynckeys(){return(awaitthis.store).keys()}asyncvalues(){return(awaitthis.store).values()}asyncentries(){return(awaitthis.store).entries()}asynclength(){return(awaitthis.store).length()}asyncreload(){await(awaitthis.store).reload()}asyncsave(){await(awaitthis.store).save()}asynconKeyChange(t,e){return(awaitthis.store).onKeyChange(t,e)}asynconChange(t){return(awaitthis.store).onChange(t)}asyncclose(){this._store&&await(awaitthis._store).close()}},t.Store=u,t.getStore=asyncfunction(t){returnawaitu.get(t)},t.load=o,t}({});Object.defineProperty(window.__TAURI__,"store",{value:__TAURI_PLUGIN_STORE__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_UPDATER__=function(e){"use strict";functiont(e,t,s,i){if("a"===s&&!i)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeoft?e!==t||!i:!t.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?i:"a"===s?i.call(e):i?i.value:t.get(e)}functions(e,t,s,i,n){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(e,s),s}vari,n,r,a;"function"==typeofSuppressedError&&SuppressedError;consto="__TAURI_TO_IPC_KEY__";classd{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,i.set(this,(()=>{})),n.set(this,0),r.set(this,[]),this.id=function(e,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(e,t)}((({message:e,id:a})=>{if(a==t(this,n,"f"))for(t(this,i,"f").call(this,e),s(this,n,t(this,n,"f")+1);t(this,n,"f")int(this,r,"f");){conste=t(this,r,"f")[t(this,n,"f")];t(this,i,"f").call(this,e),deletet(this,r,"f")[t(this,n,"f")],s(this,n,t(this,n,"f")+1)}elset(this,r,"f")[a]=e}))}setonmessage(e){s(this,i,e)}getonmessage(){returnt(this,i,"f")}[(i=newWeakMap,n=newWeakMap,r=newWeakMap,o)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[o]()}}asyncfunctionl(e,t={},s){returnwindow.__TAURI_INTERNALS__.invoke(e,t,s)}classh{getrid(){returnt(this,a,"f")}constructor(e){a.set(this,void0),s(this,a,e)}asyncclose(){returnl("plugin:resources|close",{rid:this.rid})}}a=newWeakMap;classcextendsh{constructor(e){super(e.rid),this.available=e.available,this.currentVersion=e.currentVersion,this.version=e.version,this.date=e.date,this.body=e.body,this.rawJson=e.rawJson}asyncdownload(e,t){consts=newd;e&&(s.onmessage=e);consti=awaitl("plugin:updater|download",{onEvent:s,rid:this.rid,...t});this.downloadedBytes=newh(i)}asyncinstall(){if(!this.downloadedBytes)thrownewError("Update.install called before Update.download");awaitl("plugin:updater|install",{updateRid:this.rid,bytesRid:this.downloadedBytes.rid}),this.downloadedBytes=void0}asyncdownloadAndInstall(e,t){consts=newd;e&&(s.onmessage=e),awaitl("plugin:updater|download_and_install",{onEvent:s,rid:this.rid,...t})}asyncclose(){await(this.downloadedBytes?.close()),awaitsuper.close()}}returne.Update=c,e.check=asyncfunction(e){returne?.headers&&(e.headers=Array.from(newHeaders(e.headers).entries())),awaitl("plugin:updater|check",{...e}).then((e=>e.available?newc(e):null))},e}({});Object.defineProperty(window.__TAURI__,"updater",{value:__TAURI_PLUGIN_UPDATER__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_UPDATER__=function(e){"use strict";functiont(e,t,s,n){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?n:"a"===s?n.call(e):n?n.value:t.get(e)}functions(e,t,s,n,i){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(e,s),s}varn,i,a,r;"function"==typeofSuppressedError&&SuppressedError;consto="__TAURI_TO_IPC_KEY__";classd{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,n.set(this,(()=>{})),i.set(this,0),a.set(this,[]),this.id=function(e,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(e,t)}((({message:e,id:r})=>{if(r==t(this,i,"f"))for(t(this,n,"f").call(this,e),s(this,i,t(this,i,"f")+1);t(this,i,"f")int(this,a,"f");){conste=t(this,a,"f")[t(this,i,"f")];t(this,n,"f").call(this,e),deletet(this,a,"f")[t(this,i,"f")],s(this,i,t(this,i,"f")+1)}elset(this,a,"f")[r]=e}))}setonmessage(e){s(this,n,e)}getonmessage(){returnt(this,n,"f")}[(n=newWeakMap,i=newWeakMap,a=newWeakMap,o)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[o]()}}asyncfunctionl(e,t={},s){returnwindow.__TAURI_INTERNALS__.invoke(e,t,s)}classh{getrid(){returnt(this,r,"f")}constructor(e){r.set(this,void0),s(this,r,e)}asyncclose(){returnl("plugin:resources|close",{rid:this.rid})}}r=newWeakMap;classcextendsh{constructor(e){super(e.rid),this.available=e.available,this.currentVersion=e.currentVersion,this.version=e.version,this.date=e.date,this.body=e.body,this.rawJson=e.rawJson}asyncdownload(e,t){consts=newd;e&&(s.onmessage=e);constn=awaitl("plugin:updater|download",{onEvent:s,rid:this.rid,...t});this.downloadedBytes=newh(n)}asyncinstall(){if(!this.downloadedBytes)thrownewError("Update.install called before Update.download");awaitl("plugin:updater|install",{updateRid:this.rid,bytesRid:this.downloadedBytes.rid}),this.downloadedBytes=void0}asyncdownloadAndInstall(e,t){consts=newd;e&&(s.onmessage=e),awaitl("plugin:updater|download_and_install",{onEvent:s,rid:this.rid,...t})}asyncclose(){await(this.downloadedBytes?.close()),awaitsuper.close()}}returne.Update=c,e.check=asyncfunction(e){returne?.headers&&(e.headers=Array.from(newHeaders(e.headers).entries())),awaitl("plugin:updater|check",{...e}).then((e=>e.available?newc(e):null))},e}({});Object.defineProperty(window.__TAURI__,"updater",{value:__TAURI_PLUGIN_UPDATER__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_UPLOAD__=function(t){"use strict";functione(t,e,n,s){if("a"===n&&!s)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeofe?t!==e||!s:!e.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?s:"a"===n?s.call(t):s?s.value:e.get(t)}functionn(t,e,n,s,i){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returne.set(t,n),n}vars,i,o;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,s.set(this,(()=>{})),i.set(this,0),o.set(this,[]),this.id=function(t,e=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,e)}((({message:t,id:r})=>{if(r==e(this,i,"f"))for(e(this,s,"f").call(this,t),n(this,i,e(this,i,"f")+1);e(this,i,"f")ine(this,o,"f");){constt=e(this,o,"f")[e(this,i,"f")];e(this,s,"f").call(this,t),deletee(this,o,"f")[e(this,i,"f")],n(this,i,e(this,i,"f")+1)}elsee(this,o,"f")[r]=t}))}setonmessage(t){n(this,s,t)}getonmessage(){returne(this,s,"f")}[(s=newWeakMap,i=newWeakMap,o=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}asyncfunction_(t,e={},n){returnwindow.__TAURI_INTERNALS__.invoke(t,e,n)}returnt.download=asyncfunction(t,e,n,s,i){consto=newUint32Array(1);window.crypto.getRandomValues(o);constr=o[0],c=newa;n&&(c.onmessage=n),await_("plugin:upload|download",{id:r,url:t,filePath:e,headers:s??{},onProgress:c,body:i})},t.upload=asyncfunction(t,e,n,s){consti=newUint32Array(1);window.crypto.getRandomValues(i);consto=i[0],r=newa;returnn&&(r.onmessage=n),await_("plugin:upload|upload",{id:o,url:t,filePath:e,headers:s??{},onProgress:r})},t}({});Object.defineProperty(window.__TAURI__,"upload",{value:__TAURI_PLUGIN_UPLOAD__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_UPLOAD__=function(t){"use strict";functione(t,e,n,s){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?s:"a"===n?s.call(t):s?s.value:e.get(t)}functionn(t,e,n,s,i){if("function"==typeofe||!e.has(t))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returne.set(t,n),n}vars,i,o;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,s.set(this,(()=>{})),i.set(this,0),o.set(this,[]),this.id=function(t,e=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(t,e)}((({message:t,id:r})=>{if(r==e(this,i,"f"))for(e(this,s,"f").call(this,t),n(this,i,e(this,i,"f")+1);e(this,i,"f")ine(this,o,"f");){constt=e(this,o,"f")[e(this,i,"f")];e(this,s,"f").call(this,t),deletee(this,o,"f")[e(this,i,"f")],n(this,i,e(this,i,"f")+1)}elsee(this,o,"f")[r]=t}))}setonmessage(t){n(this,s,t)}getonmessage(){returne(this,s,"f")}[(s=newWeakMap,i=newWeakMap,o=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}asyncfunction_(t,e={},n){returnwindow.__TAURI_INTERNALS__.invoke(t,e,n)}returnt.download=asyncfunction(t,e,n,s,i){consto=newUint32Array(1);window.crypto.getRandomValues(o);constr=o[0],c=newa;n&&(c.onmessage=n),await_("plugin:upload|download",{id:r,url:t,filePath:e,headers:s??{},onProgress:c,body:i})},t.upload=asyncfunction(t,e,n,s){consti=newUint32Array(1);window.crypto.getRandomValues(i);consto=i[0],r=newa;returnn&&(r.onmessage=n),await_("plugin:upload|upload",{id:o,url:t,filePath:e,headers:s??{},onProgress:r})},t}({});Object.defineProperty(window.__TAURI__,"upload",{value:__TAURI_PLUGIN_UPLOAD__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_WEBSOCKET__=function(){"use strict";functione(e,t,s,n){if("a"===s&&!n)thrownewTypeError("Private accessor was defined without a getter");if("function"==typeoft?e!==t||!n:!t.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?n:"a"===s?n.call(e):n?n.value:t.get(e)}functiont(e,t,s,n,i){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(e,s),s}vars,n,i;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,s.set(this,(()=>{})),n.set(this,0),i.set(this,[]),this.id=function(e,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(e,t)}((({message:r,id:a})=>{if(a==e(this,n,"f"))for(e(this,s,"f").call(this,r),t(this,n,e(this,n,"f")+1);e(this,n,"f")ine(this,i,"f");){constr=e(this,i,"f")[e(this,n,"f")];e(this,s,"f").call(this,r),deletee(this,i,"f")[e(this,n,"f")],t(this,n,e(this,n,"f")+1)}elsee(this,i,"f")[a]=r}))}setonmessage(e){t(this,s,e)}getonmessage(){returne(this,s,"f")}[(s=newWeakMap,n=newWeakMap,i=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}asyncfunctiono(e,t={},s){returnwindow.__TAURI_INTERNALS__.invoke(e,t,s)}classc{constructor(e,t){this.id=e,this.listeners=t}staticasyncconnect(e,t){consts=newSet,n=newa;returnn.onmessage=e=>{s.forEach((t=>{t(e)}))},t?.headers&&(t.headers=Array.from(newHeaders(t.headers).entries())),awaito("plugin:websocket|connect",{url:e,onMessage:n,config:t}).then((e=>newc(e,s)))}addListener(e){returnthis.listeners.add(e),()=>{this.listeners.delete(e)}}asyncsend(e){lett;if("string"==typeofe)t={type:"Text",data:e};elseif("object"==typeofe&&"type"ine)t=e;else{if(!Array.isArray(e))thrownewError("invalid `message` type, expected a `{ type: string, data: any }` object, a string or a numeric array");t={type:"Binary",data:e}}awaito("plugin:websocket|send",{id:this.id,message:t})}asyncdisconnect(){awaitthis.send({type:"Close",data:{code:1e3,reason:"Disconnected by client"}})}}returnc}();Object.defineProperty(window.__TAURI__,"websocket",{value:__TAURI_PLUGIN_WEBSOCKET__})}
if("__TAURI__"inwindow){var__TAURI_PLUGIN_WEBSOCKET__=function(){"use strict";functione(e,t,s,n){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?n:"a"===s?n.call(e):n?n.value:t.get(e)}functiont(e,t,s,n,i){if("function"==typeoft||!t.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(e,s),s}vars,n,i;"function"==typeofSuppressedError&&SuppressedError;constr="__TAURI_TO_IPC_KEY__";classa{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,s.set(this,(()=>{})),n.set(this,0),i.set(this,[]),this.id=function(e,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(e,t)}((({message:r,id:a})=>{if(a==e(this,n,"f"))for(e(this,s,"f").call(this,r),t(this,n,e(this,n,"f")+1);e(this,n,"f")ine(this,i,"f");){constr=e(this,i,"f")[e(this,n,"f")];e(this,s,"f").call(this,r),deletee(this,i,"f")[e(this,n,"f")],t(this,n,e(this,n,"f")+1)}elsee(this,i,"f")[a]=r}))}setonmessage(e){t(this,s,e)}getonmessage(){returne(this,s,"f")}[(s=newWeakMap,n=newWeakMap,i=newWeakMap,r)](){return`__CHANNEL__:${this.id}`}toJSON(){returnthis[r]()}}asyncfunctiono(e,t={},s){returnwindow.__TAURI_INTERNALS__.invoke(e,t,s)}classc{constructor(e,t){this.id=e,this.listeners=t}staticasyncconnect(e,t){consts=newSet,n=newa;returnn.onmessage=e=>{s.forEach((t=>{t(e)}))},t?.headers&&(t.headers=Array.from(newHeaders(t.headers).entries())),awaito("plugin:websocket|connect",{url:e,onMessage:n,config:t}).then((e=>newc(e,s)))}addListener(e){returnthis.listeners.add(e),()=>{this.listeners.delete(e)}}asyncsend(e){lett;if("string"==typeofe)t={type:"Text",data:e};elseif("object"==typeofe&&"type"ine)t=e;else{if(!Array.isArray(e))thrownewError("invalid `message` type, expected a `{ type: string, data: any }` object, a string or a numeric array");t={type:"Binary",data:e}}awaito("plugin:websocket|send",{id:this.id,message:t})}asyncdisconnect(){awaitthis.send({type:"Close",data:{code:1e3,reason:"Disconnected by client"}})}}returnc}();Object.defineProperty(window.__TAURI__,"websocket",{value:__TAURI_PLUGIN_WEBSOCKET__})}