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,o){if("function"==typeoft?i!==t||!o:!t.has(i))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(i,n),n}vare,o,a,r,c,s;"function"==typeofSuppressedError&&SuppressedError;classl{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,e.set(this,(()=>{})),o.set(this,0),a.set(this,{}),this.id=function(i,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(i,t)}((({message:i,id:r})=>{if(r===t(this,o,"f")){n(this,o,r+1),t(this,e,"f").call(this,i);constc=Object.keys(t(this,a,"f"));if(c.length>0){leti=r+1;for(constnofc.sort()){if(parseInt(n)!==i)break;{consto=t(this,a,"f")[n];deletet(this,a,"f")[n],t(this,e,"f").call(this,o),i+=1}}n(this,o,i)}}elset(this,a,"f")[r.toString()]=i}))}setonmessage(i){n(this,e,i)}getonmessage(){returnt(this,e,"f")}toJSON(){return`__CHANNEL__:${this.id}`}}e=newWeakMap,o=newWeakMap,a=newWeakMap;classu{constructor(i,t,n){this.plugin=i,this.event=t,this.channelId=n}asyncunregister(){returnd(`plugin:${this.plugin}|remove_listener`,{event:this.event,channelId:this.channelId})}}asyncfunctionf(i,t,n){conste=newl;returne.onmessage=n,d(`plugin:${i}|register_listener`,{event:t,handler:e}).then((()=>newu(i,t,e.id)))}asyncfunctiond(i,t={},n){returnwindow.__TAURI_INTERNALS__.invoke(i,t,n)}i.ScheduleEvery=void0,(r=i.ScheduleEvery||(i.ScheduleEvery={})).Year="year",r.Month="month",r.TwoWeeks="twoWeeks",r.Week="week",r.Day="day",r.Hour="hour",r.Minute="minute",r.Second="second";returni.Importance=void0,(c=i.Importance||(i.Importance={}))[c.None=0]="None",c[c.Min=1]="Min",c[c.Low=2]="Low",c[c.Default=3]="Default",c[c.High=4]="High",i.Visibility=void0,(s=i.Visibility||(i.Visibility={}))[s.Secret=-1]="Secret",s[s.Private=0]="Private",s[s.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(){returnawaitd("plugin:notification|get_active")},i.cancel=asyncfunction(i){awaitd("plugin:notification|cancel",{notifications:i})},i.cancelAll=asyncfunction(){awaitd("plugin:notification|cancel")},i.channels=asyncfunction(){returnawaitd("plugin:notification|listChannels")},i.createChannel=asyncfunction(i){awaitd("plugin:notification|create_channel",{...i})},i.isPermissionGranted=asyncfunction(){return"default"!==window.Notification.permission?awaitPromise.resolve("granted"===window.Notification.permission):awaitd("plugin:notification|is_permission_granted")},i.onAction=asyncfunction(i){returnawaitf("notification","actionPerformed",i)},i.onNotificationReceived=asyncfunction(i){returnawaitf("notification","notification",i)},i.pending=asyncfunction(){returnawaitd("plugin:notification|get_pending")},i.registerActionTypes=asyncfunction(i){awaitd("plugin:notification|register_action_types",{types:i})},i.removeActive=asyncfunction(i){awaitd("plugin:notification|remove_active",{notifications:i})},i.removeAllActive=asyncfunction(){awaitd("plugin:notification|remove_active")},i.removeChannel=asyncfunction(i){awaitd("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";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,o){if("function"==typeoft?i!==t||!o:!t.has(i))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnt.set(i,n),n}vare,o,a,r,c,s;"function"==typeofSuppressedError&&SuppressedError;classl{constructor(){this.__TAURI_CHANNEL_MARKER__=!0,e.set(this,(()=>{})),o.set(this,0),a.set(this,{}),this.id=function(i,t=!1){returnwindow.__TAURI_INTERNALS__.transformCallback(i,t)}((({message:i,id:r})=>{if(r===t(this,o,"f")){n(this,o,r+1),t(this,e,"f").call(this,i);constc=Object.keys(t(this,a,"f"));if(c.length>0){leti=r+1;for(constnofc.sort()){if(parseInt(n)!==i)break;{consto=t(this,a,"f")[n];deletet(this,a,"f")[n],t(this,e,"f").call(this,o),i+=1}}n(this,o,i)}}elset(this,a,"f")[r.toString()]=i}))}setonmessage(i){n(this,e,i)}getonmessage(){returnt(this,e,"f")}toJSON(){return`__CHANNEL__:${this.id}`}}e=newWeakMap,o=newWeakMap,a=newWeakMap;classu{constructor(i,t,n){this.plugin=i,this.event=t,this.channelId=n}asyncunregister(){returnd(`plugin:${this.plugin}|remove_listener`,{event:this.event,channelId:this.channelId})}}asyncfunctionf(i,t,n){conste=newl;returne.onmessage=n,d(`plugin:${i}|registerListener`,{event:t,handler:e}).then((()=>newu(i,t,e.id)))}asyncfunctiond(i,t={},n){returnwindow.__TAURI_INTERNALS__.invoke(i,t,n)}i.ScheduleEvery=void0,(r=i.ScheduleEvery||(i.ScheduleEvery={})).Year="year",r.Month="month",r.TwoWeeks="twoWeeks",r.Week="week",r.Day="day",r.Hour="hour",r.Minute="minute",r.Second="second";returni.Importance=void0,(c=i.Importance||(i.Importance={}))[c.None=0]="None",c[c.Min=1]="Min",c[c.Low=2]="Low",c[c.Default=3]="Default",c[c.High=4]="High",i.Visibility=void0,(s=i.Visibility||(i.Visibility={}))[s.Secret=-1]="Secret",s[s.Private=0]="Private",s[s.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(){returnawaitd("plugin:notification|get_active")},i.cancel=asyncfunction(i){awaitd("plugin:notification|cancel",{notifications:i})},i.cancelAll=asyncfunction(){awaitd("plugin:notification|cancel")},i.channels=asyncfunction(){returnawaitd("plugin:notification|listChannels")},i.createChannel=asyncfunction(i){awaitd("plugin:notification|create_channel",{...i})},i.isPermissionGranted=asyncfunction(){return"default"!==window.Notification.permission?awaitPromise.resolve("granted"===window.Notification.permission):awaitd("plugin:notification|is_permission_granted")},i.onAction=asyncfunction(i){returnawaitf("notification","actionPerformed",i)},i.onNotificationReceived=asyncfunction(i){returnawaitf("notification","notification",i)},i.pending=asyncfunction(){returnawaitd("plugin:notification|get_pending")},i.registerActionTypes=asyncfunction(i){awaitd("plugin:notification|register_action_types",{types:i})},i.removeActive=asyncfunction(i){awaitd("plugin:notification|remove_active",{notifications:i})},i.removeAllActive=asyncfunction(){awaitd("plugin:notification|remove_active")},i.removeChannel=asyncfunction(i){awaitd("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__})}