!function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)e.d(r,o,function(t){return n[t]}.bind(null,o));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=0)}([function(n,t,e){"use strict";e.r(t);var r={};e.r(r),e.d(r,"Debug",function(){return l}),e.d(r,"Info",function(){return s}),e.d(r,"Warning",function(){return f}),e.d(r,"Error",function(){return d}),e.d(r,"Fatal",function(){return w});var o={};e.r(o),e.d(o,"OpenURL",function(){return y}),e.d(o,"OpenFile",function(){return b});var i={};e.r(i),e.d(i,"New",function(){return C});var a=[];function c(n,t,e){var r={type:n,callbackID:e,payload:t};!function(n){if(window.wailsbridge?window.wailsbridge.websocket.send(n):window.external.invoke(n),a.length>0)for(var t=0;t0)var a=setTimeout(function(){o(Error("Call to "+n+" timed out. Request ID: "+i))},e);v[i]={timeoutHandle:a,reject:o,resolve:r};try{c("call",{bindingName:n,data:JSON.stringify(t)},i)}catch(n){console.error(n)}})}function h(n,t){return g(".wails."+n,t)}function y(n){return h("Browser.OpenURL",n)}function b(n){return h("Browser.OpenFile",n)}p=window.crypto?function(){var n=new Uint32Array(1);return window.crypto.getRandomValues(n)[0]}:function(){return 9007199254740991*Math.random()};var m=function n(t,e){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=e||-1,this.Callback=function(n){return t.apply(null,n),-1!==e&&0===(e-=1)}},E={};function O(n,t,e){E[n]=E[n]||[];var r=new m(t,e);E[n].push(r)}function S(n){c("event",{name:n,data:JSON.stringify([].slice.apply(arguments).slice(1))})}var N={};function k(n){try{return new Function("var "+n),!0}catch(n){return!1}}function C(n,t){var e,r=this;if(!window.wails)throw Error("Wails is not initialised");var o=[];return this.subscribe=function(n){o.push(n)},this.set=function(t){e=t,window.wails.Events.Emit("wails:sync:store:updatedbyfrontend:"+n,JSON.stringify(e)),o.forEach(function(n){n(e)})},this.update=function(n){var t=n(e);r.set(t)},window.wails.Events.On("wails:sync:store:updatedbybackend:"+n,function(n){n=JSON.parse(n),e=n,o.forEach(function(n){n(e)})}),t&&this.set(t),this}function j(){return(j=Object.assign||function(n){for(var t=1;t1)for(var r=0;r