From 00706c4f6e89c41d73eea905510eb3ad9d55ea89 Mon Sep 17 00:00:00 2001 From: Aman Chhabra <17457975+achhabra2@users.noreply.github.com> Date: Thu, 10 Feb 2022 13:58:40 -0800 Subject: [PATCH] Bump version to 0.1.7 --- build/darwin/Info.plist | 4 ++-- build/windows/RiftShare.exe.manifest | 2 +- build/windows/appxmanifest.xml | 2 +- frontend/dist/bundle.js | 2 +- internal/update/selfupdate.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/darwin/Info.plist b/build/darwin/Info.plist index cd1b146..269ca9a 100644 --- a/build/darwin/Info.plist +++ b/build/darwin/Info.plist @@ -6,9 +6,9 @@ CFBundleNameRiftShare CFBundleExecutableRiftShare CFBundleIdentifierapp.riftshare - CFBundleVersion0.1.6 + CFBundleVersion0.1.7 CFBundleGetInfoStringRiftshare - Easy, Secure, Free file sharing - CFBundleShortVersionString0.1.6 + CFBundleShortVersionString0.1.7 CFBundleIconFileiconfile.icns LSMinimumSystemVersion10.13.0 LSApplicationCategoryTypepublic.app-category.utilities diff --git a/build/windows/RiftShare.exe.manifest b/build/windows/RiftShare.exe.manifest index a78f7d8..3e53cf7 100644 --- a/build/windows/RiftShare.exe.manifest +++ b/build/windows/RiftShare.exe.manifest @@ -1,6 +1,6 @@ - + diff --git a/build/windows/appxmanifest.xml b/build/windows/appxmanifest.xml index d8a4dbd..015d76c 100644 --- a/build/windows/appxmanifest.xml +++ b/build/windows/appxmanifest.xml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"> - + RiftShare Aman Chhabra diff --git a/frontend/dist/bundle.js b/frontend/dist/bundle.js index 1d26a6c..8c43f59 100644 --- a/frontend/dist/bundle.js +++ b/frontend/dist/bundle.js @@ -1,2 +1,2 @@ -var app=function(){"use strict";function t(){}const e=t=>t;function o(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(o)}function i(t){return"function"==typeof t}function a(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(t,e,o,r){return t[1]&&r?function(t,e){for(const o in e)t[o]=e[o];return t}(o.ctx.slice(),t[1](r(e))):o.ctx}function c(t,e,o,r,n,i,a){const c=function(t,e,o,r){if(t[2]&&r){const n=t[2](r(o));if(void 0===e.dirty)return n;if("object"==typeof n){const t=[],o=Math.max(e.dirty.length,n.length);for(let r=0;rwindow.performance.now():()=>Date.now(),p=l?t=>requestAnimationFrame(t):t;const g=new Set;function u(t){g.forEach((e=>{e.c(t)||(g.delete(e),e.f())})),0!==g.size&&p(u)}function w(t){let e;return 0===g.size&&p(u),{promise:new Promise((o=>{g.add(e={c:t,f:o})})),abort(){g.delete(e)}}}let b=!1;function m(t,e,o,r){for(;t>1);o(n)<=r?t=n+1:e=n}return t}function h(t,e){b?(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;const e=t.childNodes,o=new Int32Array(e.length+1),r=new Int32Array(e.length);o[0]=-1;let n=0;for(let t=0;te[o[t]].claim_order),e[t].claim_order)-1;r[t]=o[i]+1;const a=i+1;o[a]=t,n=Math.max(a,n)}const i=[],a=[];let s=e.length-1;for(let t=o[n]+1;0!=t;t=r[t-1]){for(i.push(e[t-1]);s>=t;s--)a.push(e[s]);s--}for(;s>=0;s--)a.push(e[s]);i.reverse(),a.sort(((t,e)=>t.claim_order-e.claim_order));for(let e=0,o=0;e=i[o].claim_order;)o++;const r=ot.removeEventListener(e,o,r)}function A(t,e,o){null==o?t.removeAttribute(e):t.getAttribute(e)!==o&&t.setAttribute(e,o)}function C(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function F(t,e){t.value=null==e?"":e}const _=new Set;let E,z=0;function O(t,e,o,r,n,i,a,s=0){const c=16.666/r;let l="{\n";for(let t=0;t<=1;t+=c){const r=e+(o-e)*i(t);l+=100*t+`%{${a(r,1-r)}}\n`}const d=l+`100% {${a(o,1-o)}}\n}`,p=`__svelte_${function(t){let e=5381,o=t.length;for(;o--;)e=(e<<5)-e^t.charCodeAt(o);return e>>>0}(d)}_${s}`,g=t.ownerDocument;_.add(g);const u=g.__svelte_stylesheet||(g.__svelte_stylesheet=g.head.appendChild(y("style")).sheet),w=g.__svelte_rules||(g.__svelte_rules={});w[p]||(w[p]=!0,u.insertRule(`@keyframes ${p} ${d}`,u.cssRules.length));const b=t.style.animation||"";return t.style.animation=`${b?`${b}, `:""}${p} ${r}ms linear ${n}ms 1 both`,z+=1,p}function j(t,e){const o=(t.style.animation||"").split(", "),r=o.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),n=o.length-r.length;n&&(t.style.animation=r.join(", "),z-=n,z||p((()=>{z||(_.forEach((t=>{const e=t.__svelte_stylesheet;let o=e.cssRules.length;for(;o--;)e.deleteRule(o);t.__svelte_rules={}})),_.clear())})))}function U(t){E=t}function P(t){(function(){if(!E)throw new Error("Function called outside component initialization");return E})().$$.on_mount.push(t)}const D=[],R=[],G=[],N=[],I=Promise.resolve();let M=!1;function L(t){G.push(t)}let B=!1;const T=new Set;function q(){if(!B){B=!0;do{for(let t=0;t{W=null}))),W}function J(t,e,o){t.dispatchEvent(function(t,e){const o=document.createEvent("CustomEvent");return o.initCustomEvent(t,!1,!1,e),o}(`${e?"intro":"outro"}${o}`))}const Q=new Set;let K;function X(){K={r:0,c:[],p:K}}function Y(){K.r||n(K.c),K=K.p}function Z(t,e){t&&t.i&&(Q.delete(t),t.i(e))}function tt(t,e,o,r){if(t&&t.o){if(Q.has(t))return;Q.add(t),K.c.push((()=>{Q.delete(t),r&&(o&&t.d(1),r())})),t.o(e)}}const et={duration:0};function ot(o,r,n){let a,s,c=r(o,n),l=!1,p=0;function g(){a&&j(o,a)}function u(){const{delay:r=0,duration:n=300,easing:i=e,tick:u=t,css:b}=c||et;b&&(a=O(o,0,1,n,r,i,b,p++)),u(0,1);const m=d()+r,h=m+n;s&&s.abort(),l=!0,L((()=>J(o,!0,"start"))),s=w((t=>{if(l){if(t>=h)return u(1,0),J(o,!0,"end"),g(),l=!1;if(t>=m){const e=i((t-m)/n);u(e,1-e)}}return l}))}let b=!1;return{start(){b||(j(o),i(c)?(c=c(),H().then(u)):u())},invalidate(){b=!1},end(){l&&(g(),l=!1)}}}function rt(o,r,a,s){let c=r(o,a),l=s?0:1,p=null,g=null,u=null;function b(){u&&j(o,u)}function m(t,e){const o=t.b-l;return e*=Math.abs(o),{a:l,b:t.b,d:o,duration:e,start:t.start,end:t.start+e,group:t.group}}function h(r){const{delay:i=0,duration:a=300,easing:s=e,tick:h=t,css:f}=c||et,x={start:d()+i,b:r};r||(x.group=K,K.r+=1),p||g?g=x:(f&&(b(),u=O(o,l,r,a,i,s,f)),r&&h(0,1),p=m(x,a),L((()=>J(o,r,"start"))),w((t=>{if(g&&t>g.start&&(p=m(g,a),g=null,J(o,p.b,"start"),f&&(b(),u=O(o,l,p.b,p.duration,0,s,c.css))),p)if(t>=p.end)h(l=p.b,1-l),J(o,p.b,"end"),g||(p.b?b():--p.group.r||n(p.group.c)),p=null;else if(t>=p.start){const e=t-p.start;l=p.a+p.d*s(e/p.duration),h(l,1-l)}return!(!p&&!g)})))}return{run(t){i(c)?H().then((()=>{c=c(),h(t)})):h(t)},end(){b(),p=g=null}}}function nt(t){t&&t.c()}function it(t,e,r,a){const{fragment:s,on_mount:c,on_destroy:l,after_update:d}=t.$$;s&&s.m(e,r),a||L((()=>{const e=c.map(o).filter(i);l?l.push(...e):n(e),t.$$.on_mount=[]})),d.forEach(L)}function at(t,e){const o=t.$$;null!==o.fragment&&(n(o.on_destroy),o.fragment&&o.fragment.d(e),o.on_destroy=o.fragment=null,o.ctx=[])}function st(t,e){-1===t.$$.dirty[0]&&(D.push(t),M||(M=!0,I.then(q)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const n=r.length?r[0]:o;return p.ctx&&s(p.ctx[t],p.ctx[t]=n)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](n),g&&st(e,t)),o})):[],p.update(),g=!0,n(p.before_update),p.fragment=!!a&&a(p.ctx),o.target){if(o.hydrate){b=!0;const t=function(t){return Array.from(t.childNodes)}(o.target);p.fragment&&p.fragment.l(t),t.forEach(x)}else p.fragment&&p.fragment.c();o.intro&&Z(e.$$.fragment),it(e,o.target,o.anchor,o.customElement),b=!1,q()}U(d)}class lt{$destroy(){at(this,1),this.$destroy=t}$on(t,e){const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(e),()=>{const t=o.indexOf(e);-1!==t&&o.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function dt(t){const e=t-1;return e*e*e+1}function pt(t,{delay:e=0,duration:o=400,easing:r=dt}={}){const n=getComputedStyle(t),i=+n.opacity,a=parseFloat(n.height),s=parseFloat(n.paddingTop),c=parseFloat(n.paddingBottom),l=parseFloat(n.marginTop),d=parseFloat(n.marginBottom),p=parseFloat(n.borderTopWidth),g=parseFloat(n.borderBottomWidth);return{delay:e,duration:o,easing:r,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*i};height: ${t*a}px;padding-top: ${t*s}px;padding-bottom: ${t*c}px;margin-top: ${t*l}px;margin-bottom: ${t*d}px;border-top-width: ${t*p}px;border-bottom-width: ${t*g}px;`}}window.wailsbindings={main:{App:{AppInstalledFromPackageManager:{name:"main.App.AppInstalledFromPackageManager",outputs:[{type:"bool"}]},CancelWormholeRequest:{name:"main.App.CancelWormholeRequest"},ClearSelectedFiles:{name:"main.App.ClearSelectedFiles"},GetCurrentVersion:{name:"main.App.GetCurrentVersion",outputs:[{type:"string"}]},GetLogPath:{name:"main.App.GetLogPath",outputs:[{type:"string"}]},GetReceivedFile:{name:"main.App.GetReceivedFile",outputs:[{type:"string"}]},GetSelectedFiles:{name:"main.App.GetSelectedFiles",outputs:[{type:"[]string"}]},GetUserPrefs:{name:"main.App.GetUserPrefs",outputs:[{type:"settings.UserSettings"}]},OpenDirectoryDialog:{name:"main.App.OpenDirectoryDialog",outputs:[{type:"[]string"},{type:"error"}]},OpenFile:{name:"main.App.OpenFile",inputs:[{type:"string"}]},OpenFilesDialog:{name:"main.App.OpenFilesDialog",outputs:[{type:"[]string"},{type:"error"}]},PersistUserSettings:{name:"main.App.PersistUserSettings"},ReceiveFile:{name:"main.App.ReceiveFile",inputs:[{type:"string"}]},SelectedFilesSend:{name:"main.App.SelectedFilesSend"},SendDirectory:{name:"main.App.SendDirectory",inputs:[{type:"string"}]},SendFile:{name:"main.App.SendFile",inputs:[{type:"string"}]},SetDownloadsFolder:{name:"main.App.SetDownloadsFolder",outputs:[{type:"string"}]},SetNotificationsParam:{name:"main.App.SetNotificationsParam",inputs:[{type:"bool"}],outputs:[{type:"bool"}]},SetOverwriteParam:{name:"main.App.SetOverwriteParam",inputs:[{type:"bool"}],outputs:[{type:"bool"}]},SetSelfUpdateParam:{name:"main.App.SetSelfUpdateParam",inputs:[{type:"bool"}],outputs:[{type:"bool"}]},ShowErrorDialog:{name:"main.App.ShowErrorDialog",inputs:[{type:"string"}]},UpdateCheckUI:{name:"main.App.UpdateCheckUI"},UpdateSendProgress:{name:"main.App.UpdateSendProgress",inputs:[{type:"int64"},{type:"int64"}]},VerifyNotificationIcon:{name:"main.App.VerifyNotificationIcon",outputs:[{type:"string"}]}}}};const gt={App:{AppInstalledFromPackageManager:()=>window.go.main.App.AppInstalledFromPackageManager(),CancelWormholeRequest:()=>window.go.main.App.CancelWormholeRequest(),ClearSelectedFiles:()=>window.go.main.App.ClearSelectedFiles(),GetCurrentVersion:()=>window.go.main.App.GetCurrentVersion(),GetLogPath:()=>window.go.main.App.GetLogPath(),GetReceivedFile:()=>window.go.main.App.GetReceivedFile(),GetSelectedFiles:()=>window.go.main.App.GetSelectedFiles(),GetUserPrefs:()=>window.go.main.App.GetUserPrefs(),OpenDirectoryDialog:()=>window.go.main.App.OpenDirectoryDialog(),OpenFile:t=>window.go.main.App.OpenFile(t),OpenFilesDialog:()=>window.go.main.App.OpenFilesDialog(),PersistUserSettings:()=>window.go.main.App.PersistUserSettings(),ReceiveFile:t=>window.go.main.App.ReceiveFile(t),SelectedFilesSend:()=>window.go.main.App.SelectedFilesSend(),SendDirectory:t=>window.go.main.App.SendDirectory(t),SendFile:t=>window.go.main.App.SendFile(t),SetDownloadsFolder:()=>window.go.main.App.SetDownloadsFolder(),SetNotificationsParam:t=>window.go.main.App.SetNotificationsParam(t),SetOverwriteParam:t=>window.go.main.App.SetOverwriteParam(t),SetSelfUpdateParam:t=>window.go.main.App.SetSelfUpdateParam(t),ShowErrorDialog:t=>window.go.main.App.ShowErrorDialog(t),UpdateCheckUI:()=>window.go.main.App.UpdateCheckUI(),UpdateSendProgress:(t,e)=>window.go.main.App.UpdateSendProgress(t,e),VerifyNotificationIcon:()=>window.go.main.App.VerifyNotificationIcon()}};function ut(t){let e,o,r,n,i,a,l,d,p,g,u,w,b,m,v,S;const F=t[3].default,_=function(t,e,o,r){if(t){const n=s(t,e,o,r);return t[0](n)}}(F,t,t[2],null);return{c(){e=y("div"),o=y("div"),r=y("div"),n=y("span"),i=k(t[0]),a=$(),l=y("span"),d=k(t[1]),p=k("%"),g=$(),u=y("div"),w=y("div"),m=$(),_&&_.c(),A(n,"class","text-base text-gray-100 font-medium"),A(l,"class","text-sm font-medium text-gray-100"),A(r,"class","mb-1 flex justify-between"),A(w,"class","bg-green-500 h-4 rounded-full animate-pulse"),A(w,"style",b="width: "+t[1].toString()+"%"),A(u,"class","w-full bg-green-900 rounded-full h-4 shadow-inner"),A(o,"class","progress-inner"),A(e,"class","progress-outer")},m(t,s){f(t,e,s),h(e,o),h(o,r),h(r,n),h(n,i),h(r,a),h(r,l),h(l,d),h(l,p),h(o,g),h(o,u),h(u,w),h(o,m),_&&_.m(o,null),S=!0},p(t,[e]){(!S||1&e)&&C(i,t[0]),(!S||2&e)&&C(d,t[1]),(!S||2&e&&b!==(b="width: "+t[1].toString()+"%"))&&A(w,"style",b),_&&_.p&&(!S||4&e)&&c(_,F,t,t[2],S?e:-1,null,null)},i(t){S||(Z(_,t),L((()=>{v||(v=rt(e,pt,{},!0)),v.run(1)})),S=!0)},o(t){tt(_,t),v||(v=rt(e,pt,{},!1)),v.run(0),S=!1},d(t){t&&x(e),_&&_.d(t),t&&v&&v.end()}}}function wt(t,e,o){let{$$slots:r={},$$scope:n}=e,{status:i=waiting}=e,{percent:a=0}=e;return t.$$set=t=>{"status"in t&&o(0,i=t.status),"percent"in t&&o(1,a=t.percent),"$$scope"in t&&o(2,n=t.$$scope)},[i,a,n,r]}class bt extends lt{constructor(t){super(),ct(this,t,wt,ut,a,{status:0,percent:1})}}function mt(t,e,o){const r=t.slice();return r[11]=e[o],r[13]=o,r}function ht(t){let e,o,r,i,a,s,c,l,d,p,g,u;return{c(){e=y("div"),o=y("div"),r=y("span"),r.textContent="Send Files",i=$(),a=y("button"),s=$(),c=y("div"),l=y("span"),l.textContent="Send Directory",d=$(),p=y("button"),A(r,"class","tooltip"),A(a,"class","file-select-icon"),a.disabled=t[4],A(o,"class","has-tooltip"),A(l,"class","tooltip"),A(p,"class","folder-select-icon"),p.disabled=t[4],A(c,"class","has-tooltip"),A(e,"class","flex flex-row items-center content-center justify-around place-items-center h-full")},m(n,w){f(n,e,w),h(e,o),h(o,r),h(o,i),h(o,a),h(e,s),h(e,c),h(c,l),h(c,d),h(c,p),g||(u=[S(a,"click",t[7]),S(p,"click",t[6])],g=!0)},p(t,e){16&e&&(a.disabled=t[4]),16&e&&(p.disabled=t[4])},d(t){t&&x(e),g=!1,n(u)}}}function ft(t){let e,o=t[5],r=[];for(let e=0;e{i=ot(o,pt,{duration:200}),i.start()})),l||L((()=>{l=ot(s,pt,{duration:200}),l.start()}))},o:t,d(t){t&&x(o),t&&x(a),t&&x(s),d=!1,n(p)}}}function $t(t){let e,o;return e=new bt({props:{percent:t[3],status:t[2],$$slots:{default:[At]},$$scope:{ctx:t}}}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},p(t,o){const r={};8&o&&(r.percent=t[3]),4&o&&(r.status=t[2]),16386&o&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function St(t){let e,o,r,n,i,a,s,c,l,d,p;return{c(){e=y("div"),o=y("label"),o.textContent="Send Code",r=$(),n=y("div"),i=y("input"),a=$(),s=y("button"),s.innerHTML='
',A(o,"for","sendCode"),A(o,"class","send-input-label"),A(i,"id","sendCode"),i.readOnly=!0,A(i,"type","text"),A(i,"placeholder","Send code will appear"),i.value=t[1],A(i,"class","send-input mt-1"),A(s,"class","copy-button mt-1 ml-1"),A(n,"class","flex flex-row"),A(e,"class","mx-auto mt-2")},m(t,c){f(t,e,c),h(e,o),h(e,r),h(e,n),h(n,i),h(n,a),h(n,s),l=!0,d||(p=S(s,"click",Ft),d=!0)},p(t,e){(!l||2&e&&i.value!==t[1])&&(i.value=t[1])},i(t){l||(L((()=>{c||(c=rt(e,pt,{},!0)),c.run(1)})),l=!0)},o(t){c||(c=rt(e,pt,{},!1)),c.run(0),l=!1},d(t){t&&x(e),t&&c&&c.end(),d=!1,p()}}}function At(t){let e,o,r,n,i,a,s=t[1]&&St(t);return{c(){e=y("div"),o=y("button"),o.textContent="Cancel",r=$(),s&&s.c(),A(o,"class","my-2 mx-auto cancel-button"),A(e,"class","container grid")},m(c,l){f(c,e,l),h(e,o),h(e,r),s&&s.m(e,null),n=!0,i||(a=S(o,"click",t[9]),i=!0)},p(t,o){t[1]?s?(s.p(t,o),2&o&&Z(s,1)):(s=St(t),s.c(),Z(s,1),s.m(e,null)):s&&(X(),tt(s,1,1,(()=>{s=null})),Y())},i(t){n||(Z(s),n=!0)},o(t){tt(s),n=!1},d(t){t&&x(e),s&&s.d(),i=!1,a()}}}function Ct(t){let e,o,r,n,i,a;function s(t,e){return t[0].length>0?ft:ht}let c=s(t),l=c(t),d=t[0].length>0&&kt(t),p=t[4]&&$t(t);return{c(){e=y("div"),o=y("div"),l.c(),r=$(),n=y("div"),d&&d.c(),i=$(),p&&p.c(),A(o,"class","border-2 border-green-300 rounded-md shadow-md w-72 h-56 p-2 mx-auto cursor-fix send-icon-container"),A(n,"class","p-2 mx-auto"),A(e,"class","flex flex-col justify-items-center content-center m-2")},m(t,s){f(t,e,s),h(e,o),l.m(o,null),h(e,r),h(e,n),d&&d.m(n,null),h(e,i),p&&p.m(e,null),a=!0},p(t,[r]){c===(c=s(t))&&l?l.p(t,r):(l.d(1),l=c(t),l&&(l.c(),l.m(o,null))),t[0].length>0?d?(d.p(t,r),1&r&&Z(d,1)):(d=kt(t),d.c(),Z(d,1),d.m(n,null)):d&&(d.d(1),d=null),t[4]?p?(p.p(t,r),16&r&&Z(p,1)):(p=$t(t),p.c(),Z(p,1),p.m(e,null)):p&&(X(),tt(p,1,1,(()=>{p=null})),Y())},i(t){a||(Z(d),Z(p),a=!0)},o(t){tt(p),a=!1},d(t){t&&x(e),l.d(),d&&d.d(),p&&p.d()}}}function Ft(){var t=document.getElementById("sendCode");t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value)}function _t(t,e,o){let r;String.prototype.trimEllip=function(t){return this.length>t?this.substring(0,t)+"...":this};let n="",i="waiting",a=0,s=[],c=!1;return window.runtime.EventsOn("send:started",(function(t){o(1,n=t)})),window.runtime.EventsOn("send:updated",(function(t){o(3,a=t),"transferring"!=i&&o(2,i="transferring")})),window.runtime.EventsOn("send:status",(function(t){o(2,i=t),"completed"!=t&&"failed"!=t||setTimeout((()=>{o(4,c=!1),o(1,n=""),o(3,a=0)}),500)})),P((()=>{gt.App.GetSelectedFiles().then((t=>{t&&t.length>0&&o(0,s=t)}))})),t.$$.update=()=>{1&t.$$.dirty&&o(5,r=s.map((t=>t.split("\\").pop().split("/").pop().trimEllip(30))))},[s,n,i,a,c,r,function(){gt.App.OpenDirectoryDialog().then((t=>{o(0,s=null!=t?t:[])})).catch((t=>{console.log(t)}))},function(){gt.App.OpenFilesDialog().then((t=>{o(0,s=null!=t?t:[])})).catch((t=>{console.log(t)}))},function(){o(1,n=""),o(2,i="waiting"),o(3,a=0),o(0,s=[]),o(4,c=!1),gt.App.ClearSelectedFiles()},function(){gt.App.CancelWormholeRequest().then((()=>{o(4,c=!1),o(1,n=""),o(2,i="waiting"),o(3,a=0)})).catch((t=>{console.log(t)}))},function(){gt.App.SelectedFilesSend(),o(4,c=!0)}]}class Et extends lt{constructor(t){super(),ct(this,t,_t,Ct,a,{})}}function zt(t){let e,o,r,n,i,a,s=!t[4]&&Ot(t);return{c(){e=y("div"),o=y("div"),r=$(),n=y("span"),i=k(t[6]),a=$(),s&&s.c(),A(o,"class","icon-lg receive-file-icon"),A(n,"class","text-gray-200"),A(e,"class","flex flex-col justify-center items-center space-y-2 bg-gray-800 rounded-md bg-opacity-60 h-full")},m(t,c){f(t,e,c),h(e,o),h(e,r),h(e,n),h(n,i),h(e,a),s&&s.m(e,null)},p(t,o){64&o&&C(i,t[6]),t[4]?s&&(s.d(1),s=null):s?s.p(t,o):(s=Ot(t),s.c(),s.m(e,null))},d(t){t&&x(e),s&&s.d()}}}function Ot(e){let o,r,i,a,s,c;return{c(){o=y("div"),r=y("button"),r.textContent="Open File",i=$(),a=y("button"),a.textContent="Open Folder",A(r,"class","open-button text-sm"),A(a,"class","open-button text-sm"),A(o,"class","inline-flex space-x-1")},m(t,n){f(t,o,n),h(o,r),h(o,i),h(o,a),s||(c=[S(r,"click",e[8]),S(a,"click",e[9])],s=!0)},p:t,d(t){t&&x(o),s=!1,n(c)}}}function jt(t){let e,o;return e=new bt({props:{percent:t[3],status:t[2],$$slots:{default:[Ut]},$$scope:{ctx:t}}}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},p(t,o){const r={};8&o&&(r.percent=t[3]),4&o&&(r.status=t[2]),4096&o&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Ut(e){let o,r,n,i;return{c(){o=y("div"),r=y("button"),r.textContent="Cancel",A(r,"class","my-2 mx-auto cancel-button"),A(o,"class","container grid")},m(t,a){f(t,o,a),h(o,r),n||(i=S(r,"click",e[10]),n=!0)},p:t,d(t){t&&x(o),n=!1,i()}}}function Pt(t){let e,o,r,i,a,s,c,l,d,p,g,u,w,b,m,v,C=t[1]&&zt(t),_=t[4]&&jt(t);return{c(){e=y("div"),o=y("div"),C&&C.c(),r=$(),i=y("div"),a=y("form"),s=y("label"),s.textContent="Receive Code",c=$(),l=y("input"),d=$(),p=y("button"),g=k("Download"),w=$(),_&&_.c(),A(o,"class","border-2 border-green-300 rounded-md shadow-md w-72 h-56 p-2 mx-auto receive-icon-container"),A(s,"for","receiveCode"),A(s,"class","receive-input-label"),A(l,"id","receiveCode"),A(l,"type","text"),A(l,"placeholder","eg. 5-component-button"),A(l,"class","receive-input"),A(p,"class","receive-button"),A(p,"type","submit"),p.disabled=u=!t[5],A(a,"autocomplete","off"),A(i,"class","p-2 mx-auto"),A(e,"class","flex flex-col justify-items-center content-center m-2")},m(n,u){var x;f(n,e,u),h(e,o),C&&C.m(o,null),h(e,r),h(e,i),h(i,a),h(a,s),h(a,c),h(a,l),F(l,t[0]),h(a,d),h(a,p),h(p,g),h(e,w),_&&_.m(e,null),b=!0,m||(v=[S(l,"input",t[11]),S(a,"submit",(x=t[7],function(t){return t.preventDefault(),x.call(this,t)}))],m=!0)},p(t,[r]){t[1]?C?C.p(t,r):(C=zt(t),C.c(),C.m(o,null)):C&&(C.d(1),C=null),1&r&&l.value!==t[0]&&F(l,t[0]),(!b||32&r&&u!==(u=!t[5]))&&(p.disabled=u),t[4]?_?(_.p(t,r),16&r&&Z(_,1)):(_=jt(t),_.c(),Z(_,1),_.m(e,null)):_&&(X(),tt(_,1,1,(()=>{_=null})),Y())},i(t){b||(Z(_),b=!0)},o(t){tt(_),b=!1},d(t){t&&x(e),C&&C.d(),_&&_.d(),m=!1,n(v)}}}const Dt=/\d+\-\w+\-\w+/;function Rt(t,e,o){let r,n,i="",a="waiting",s=0,c=!1,l="";return String.prototype.trimEllip=function(t){return this.length>t?this.substring(0,t)+"...":this},window.runtime.EventsOn("receive:updated",(function(t){o(3,s=t)})),window.runtime.EventsOn("receive:started",(function(){o(4,c=!0)})),window.runtime.EventsOn("receive:path",(function(t){o(1,l=t)})),window.runtime.EventsOn("receive:status",(function(t){o(2,a=t),"completed"==t&&setTimeout((()=>{o(4,c=!1),o(3,s=0)}),500)})),P((()=>{gt.App.GetReceivedFile().then((t=>{t&&o(1,l=t)}))})),t.$$.update=()=>{1&t.$$.dirty&&o(5,r=Dt.test(i)),2&t.$$.dirty&&o(6,n=l.split("\\").pop().split("/").pop().trimEllip(24))},[i,l,a,s,c,r,n,function(){gt.App.ReceiveFile(i)},function(){gt.App.OpenFile(l)},function(){gt.App.GetUserPrefs().then((t=>{gt.App.OpenFile(t.downloadsDirectory)}))},function(){gt.App.CancelWormholeRequest().then((()=>{o(4,c=!1),o(0,i=""),o(2,a="waiting"),o(3,s=0),o(1,l="")})).catch((t=>{console.log(t)}))},function(){i=this.value,o(0,i)}]}class Gt extends lt{constructor(t){super(),ct(this,t,Rt,Pt,a,{})}}function Nt(t){let e,o,r,n,i;return{c(){e=y("label"),e.textContent="Auto Update Enabled",o=$(),r=y("input"),A(e,"class","text-sm"),A(e,"for","selfUpdate"),A(r,"class","checkbox"),A(r,"type","checkbox"),A(r,"id","selfUpdate"),A(r,"name","selfUpdate"),r.checked=t[3]},m(a,s){f(a,e,s),f(a,o,s),f(a,r,s),n||(i=S(r,"input",t[11]),n=!0)},p(t,e){8&e&&(r.checked=t[3])},d(t){t&&x(e),t&&x(o),t&&x(r),n=!1,i()}}}function It(e){let o;return{c(){o=y("span"),o.textContent="Update from Package Manager",A(o,"class","text-sm")},m(t,e){f(t,o,e)},p:t,d(t){t&&x(o)}}}function Mt(e){let o,r,i,a,s,c,l,d,p,g,u,w,b,m,v,F,_,E,z,O,j,U,P,D,R,G,N,I,M,L,B,T,q,V,W,H,J,Q,K,X,Y,Z;function tt(t,e){return t[4]?It:Nt}let et=tt(e),ot=et(e);return{c(){o=y("div"),r=y("div"),i=y("div"),i.textContent="Downloads Folder",a=$(),s=y("div"),c=y("div"),l=k(e[5]),d=$(),p=y("div"),g=y("button"),g.textContent="Edit",u=$(),w=y("button"),w.textContent="Open",b=$(),m=y("div"),m.textContent="Notifications",v=$(),F=y("div"),_=y("label"),_.textContent="Show Desktop Notifications",E=$(),z=y("input"),O=$(),j=y("div"),j.textContent="Overwrite",U=$(),P=y("div"),D=y("label"),D.textContent="Overwrite Existing Files",R=$(),G=y("input"),N=$(),I=y("div"),I.textContent="Auto Update",M=$(),L=y("div"),ot.c(),B=$(),T=y("div"),q=y("div"),q.textContent="Logs",V=$(),W=y("div"),H=y("div"),J=k(e[6]),Q=$(),K=y("div"),X=y("button"),X.textContent="Open",A(i,"class","text-gray-300 font-bold"),A(c,"class","text-gray-200 text-xs max-w-md"),A(g,"class","settings-button"),A(w,"class","settings-button"),A(p,"class","w-22 inline-flex space-x-1"),A(s,"class","flex flex-row items-center justify-between"),A(r,"class","mb-2"),A(m,"class","text-gray-300 font-bold"),A(_,"class","text-sm"),A(_,"for","notifications"),A(z,"class","checkbox"),A(z,"type","checkbox"),A(z,"id","notifications"),A(z,"name","notifications"),z.checked=e[1],A(F,"class","flex flex-row items-center justify-between mb-2"),A(j,"class","text-gray-300 font-bold"),A(D,"class","text-sm"),A(D,"for","overwrite"),A(G,"class","checkbox"),A(G,"type","checkbox"),A(G,"id","overwrite"),A(G,"name","overwrite"),G.checked=e[2],A(P,"class","flex flex-row items-center justify-between mb-2"),A(I,"class","text-gray-300 font-bold"),A(L,"class","flex flex-row items-center justify-between mb-2"),A(q,"class","text-gray-300 font-bold"),A(H,"class","text-gray-200 text-xs"),A(X,"class","settings-button"),A(W,"class","flex flex-row items-center justify-between"),A(T,"class","mb-1"),A(o,"class","text-gray-200")},m(t,n){f(t,o,n),h(o,r),h(r,i),h(r,a),h(r,s),h(s,c),h(c,l),h(s,d),h(s,p),h(p,g),h(p,u),h(p,w),h(o,b),h(o,m),h(o,v),h(o,F),h(F,_),h(F,E),h(F,z),h(o,O),h(o,j),h(o,U),h(o,P),h(P,D),h(P,R),h(P,G),h(o,N),h(o,I),h(o,M),h(o,L),ot.m(L,null),h(o,B),h(o,T),h(T,q),h(T,V),h(T,W),h(W,H),h(H,J),h(W,Q),h(W,K),h(K,X),Y||(Z=[S(g,"click",e[7]),S(w,"click",e[8]),S(z,"input",e[10]),S(G,"input",e[9]),S(X,"click",e[13])],Y=!0)},p(t,[e]){32&e&&C(l,t[5]),2&e&&(z.checked=t[1]),4&e&&(G.checked=t[2]),et===(et=tt(t))&&ot?ot.p(t,e):(ot.d(1),ot=et(t),ot&&(ot.c(),ot.m(L,null))),64&e&&C(J,t[6])},i:t,o:t,d(t){t&&x(o),ot.d(),Y=!1,n(Z)}}}function Lt(t,e,o){let r,n,i="",a="",s=!1,c=!1,l=!1,d=!1;P((()=>{gt.App.GetUserPrefs().then((t=>{o(12,i=t.downloadsDirectory),o(1,s=t.notifications),o(2,c=t.overwrite),o(3,l=t.selfUpdate)})),gt.App.GetLogPath().then((t=>{o(0,a=t)})),gt.App.AppInstalledFromPackageManager().then((t=>{o(4,d=t)}))}));return t.$$.update=()=>{4096&t.$$.dirty&&o(5,r=i.replace(/.{50}.\//g,"$&\n")),1&t.$$.dirty&&o(6,n=a.replace(/.{50}.\//g,"$&\n"))},[a,s,c,l,d,r,n,function(){gt.App.SetDownloadsFolder().then((t=>{o(12,i=t)}))},function(){gt.App.OpenFile(i)},function(){gt.App.SetOverwriteParam(!c).then((t=>{o(2,c=t)}))},function(){gt.App.SetNotificationsParam(!s).then((t=>{o(1,s=t)}))},function(){gt.App.SetSelfUpdateParam(!l).then((t=>{o(3,l=t)}))},i,t=>window.runtime.BrowserOpenURL(a)]}class Bt extends lt{constructor(t){super(),ct(this,t,Lt,Mt,a,{})}}function Tt(t,e,o){const r=t.slice();return r[6]=e[o][0],r[7]=e[o][1],r}function qt(t){let e,o,r,n,i,a=t[6]+"";function s(...e){return t[5](t[7],...e)}return{c(){e=y("li"),o=y("button"),r=k(a),A(o,"class","text-blue-500")},m(t,a){f(t,e,a),h(e,o),h(o,r),n||(i=S(o,"click",s),n=!0)},p(e,o){t=e},d(t){t&&x(e),n=!1,i()}}}function Vt(e){let o,r,i,a,s,c,l,d,p,g,u,w,b,m,F,_,E,z,O,j,U,P,D,R,G,N=Object.entries(e[1]),I=[];for(let t=0;tLicense

\n

Licensed under the GNU GPL Version 3

',E=$(),z=y("div"),O=y("p"),O.textContent="Attributions",j=$(),U=y("p"),U.textContent="This project leverages the work of other Open Source Software",P=$(),D=y("ul");for(let t=0;t{gt.App.GetCurrentVersion().then((t=>{o(0,r=t)}))}));return[r,{"wailsapp/wails":"https://wails.io","Jackalz/wails-wormhole-gui":"https://github.com/Jacalz/wormhole-gui","psanford/wormhole-william":"https://github.com/psanford/wormhole-william","magic-wormhole":"https://magic-wormhole.readthedocs.io/",svelte:"https://github.com/sveltejs/svelte",tailwindcss:"https://github.com/tailwindlabs/tailwindcss","font awesome":"https://fontawesome.com","klauspost/compress":"https://github.com/klauspost/compress","go-github-selfupdate":"https://github.com/rhysd/go-github-selfupdate"},t=>window.runtime.BrowserOpenURL("https://riftshare.app"),t=>window.runtime.BrowserOpenURL("https://riftshare.app/faq.html"),t=>window.runtime.BrowserOpenURL("https://github.com/achhabra2/riftshare/issues/new/choose"),(t,e)=>window.runtime.BrowserOpenURL(t)]}class Ht extends lt{constructor(t){super(),ct(this,t,Wt,Vt,a,{})}}function Jt(t){let e,o;return e=new Ht({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Qt(t){let e,o;return e=new Bt({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Kt(t){let e,o;return e=new Gt({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Xt(t){let e,o;return e=new Et({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Yt(t){let e,o,r,i,a,s,c,l,d,p,g,u,w,b,m,v,k,C,F,_,E,z,O,j,U,P,D,R,G,N,I,M,L,B,T,q,V;const W=[Xt,Kt,Qt,Jt],H=[];function J(t,e){return"send"==t[0]?0:"receive"==t[0]?1:"settings"==t[0]?2:"about"==t[0]?3:-1}return~(L=J(t))&&(B=H[L]=W[L](t)),{c(){e=y("main"),o=y("div"),r=y("ul"),i=y("li"),a=y("button"),s=y("div"),c=$(),l=y("span"),l.textContent="Send",p=$(),g=y("li"),u=y("button"),w=y("div"),b=$(),m=y("span"),m.textContent="Receive",k=$(),C=y("li"),F=y("button"),_=y("div"),E=$(),z=y("span"),z.textContent="Settings",j=$(),U=y("li"),P=y("button"),D=y("div"),R=$(),G=y("span"),G.textContent="About",I=$(),M=y("div"),B&&B.c(),A(s,"class","icon send-tab-icon mr-1"),A(a,"class",d="send"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(i,"class",""),A(w,"class","icon receive-tab-icon mr-1"),A(u,"class",v="receive"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(g,"class",""),A(_,"class","icon settings-tab-icon mr-1"),A(F,"class",O="settings"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(C,"class",""),A(D,"class","icon about-tab-icon mr-1"),A(P,"class",N="about"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(U,"class",""),A(r,"class","flex justify-center space-x-1 flex-row"),A(o,"class","container mx-auto py-1"),A(M,"class","tab-container"),A(e,"data-wails-no-drag","")},m(n,d){f(n,e,d),h(e,o),h(o,r),h(r,i),h(i,a),h(a,s),h(a,c),h(a,l),h(r,p),h(r,g),h(g,u),h(u,w),h(u,b),h(u,m),h(r,k),h(r,C),h(C,F),h(F,_),h(F,E),h(F,z),h(r,j),h(r,U),h(U,P),h(P,D),h(P,R),h(P,G),h(e,I),h(e,M),~L&&H[L].m(M,null),T=!0,q||(V=[S(a,"click",t[1]),S(u,"click",t[2]),S(F,"click",t[3]),S(P,"click",t[4])],q=!0)},p(t,[e]){(!T||1&e&&d!==(d="send"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(a,"class",d),(!T||1&e&&v!==(v="receive"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(u,"class",v),(!T||1&e&&O!==(O="settings"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(F,"class",O),(!T||1&e&&N!==(N="about"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(P,"class",N);let o=L;L=J(t),L!==o&&(B&&(X(),tt(H[o],1,1,(()=>{H[o]=null})),Y()),~L?(B=H[L],B||(B=H[L]=W[L](t),B.c()),Z(B,1),B.m(M,null)):B=null)},i(t){T||(Z(B),T=!0)},o(t){tt(B),T=!1},d(t){t&&x(e),~L&&H[L].d(),q=!1,n(V)}}}function Zt(t,e,o){let r="send";return[r,()=>o(0,r="send"),()=>o(0,r="receive"),()=>o(0,r="settings"),()=>o(0,r="about")]}!function(t,e){void 0===e&&(e={});var o=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===o&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}("/*! tailwindcss v3.0.9 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:\"\"}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#94a3b8;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#94a3b8;opacity:1}input::placeholder,textarea::placeholder{color:#94a3b8;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#64748b;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#0891b2;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#0891b2;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-moz-placeholder,textarea::-moz-placeholder{color:#64748b;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#64748b;opacity:1}input::placeholder,textarea::placeholder{color:#64748b;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select{-webkit-print-color-adjust:exact;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;color-adjust:exact;padding-right:2.5rem}[multiple]{-webkit-print-color-adjust:unset;background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{-webkit-print-color-adjust:exact;--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#64748b;border-width:1px;color:#0891b2;color-adjust:exact;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#0891b2;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px auto -webkit-focus-ring-color}*,:after,:before{--tw-border-opacity:1;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(6,182,212,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-color:rgb(226 232 240/var(--tw-border-opacity))}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.open-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(226 232 240/var(--tw-text-opacity));padding:.25rem .5rem;transition-duration:.15s}.open-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.open-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.send-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color);--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(51 65 85/var(--tw-bg-opacity));border-bottom-left-radius:.375rem;border-color:transparent;border-top-left-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity))}.send-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity));border-color:transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.send-input-label{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity));display:block;font-size:.875rem;line-height:1.25rem}.send-button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem 1rem;transition-duration:.15s}.send-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.send-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.send-button:disabled{opacity:.5}.copy-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity));border-bottom-right-radius:.375rem;border-top-right-radius:.375rem;color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem;transition-duration:.15s;width:2.5rem}.copy-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.copy-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.copy-button:disabled{opacity:.5}.receive-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color);--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(30 41 59/var(--tw-bg-opacity));border-bottom-left-radius:.375rem;border-color:transparent;border-top-left-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity))}.receive-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity));border-color:transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.receive-input-label{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity));display:block;font-size:.875rem;line-height:1.25rem}.receive-button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(13 148 136/var(--tw-bg-opacity));border-bottom-right-radius:.375rem;border-top-right-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem 1rem;transition-duration:.15s}.receive-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.receive-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.receive-button:disabled{opacity:.5}.about-button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity));padding:.25rem .5rem;transition-duration:.15s}.about-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.about-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.send-icon-container{background-image:url(assets/images/upload-solid.svg)}.receive-icon-container,.send-icon-container{--tw-bg-opacity:0.75;background-color:rgb(19 78 74/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:60%}.receive-icon-container{background-image:url(assets/images/download-solid.svg)}.file-list{list-style-position:inside;list-style-type:disc}.cursor-fix{cursor:default}.tab-item{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);border-radius:.25rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:block;display:flex;flex-direction:row;font-size:.75rem;font-weight:700;justify-content:center;line-height:1rem;line-height:1.5;padding:.75rem;text-transform:uppercase;width:7rem}.tab-item-inactive{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));color:rgb(17 94 89/var(--tw-text-opacity))}.tab-item-active{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity));color:rgb(241 245 249/var(--tw-text-opacity))}.tab-container{width:100%}@media (min-width:640px){.tab-container{max-width:640px}}@media (min-width:768px){.tab-container{max-width:768px}}@media (min-width:1024px){.tab-container{max-width:1024px}}@media (min-width:1280px){.tab-container{max-width:1280px}}@media (min-width:1536px){.tab-container{max-width:1536px}}.tab-container{--tw-bg-opacity:0.5;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);background-color:rgb(51 65 85/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);height:82%;margin-left:auto;margin-right:auto;width:91.666667%;z-index:10}.progress-outer,.tab-container{padding:1rem}.progress-outer{--tw-bg-opacity:0.9;background-color:rgb(30 41 59/var(--tw-bg-opacity));bottom:0;height:100%;left:0;margin:auto;position:absolute;right:0;top:0;width:100%;z-index:0}.progress-inner{position:relative;top:33.333333%}.send-progress-old{margin-left:auto;margin-right:auto;padding:.5rem;width:75%}.icon{height:16px;width:16px}.icon,.icon-lg{background-repeat:no-repeat}.icon-lg{height:64px;width:64px}.copy-icon{background-repeat:no-repeat;height:1.5rem;-webkit-mask-image:url(assets/images/copy-regular.svg);mask-image:url(assets/images/copy-regular.svg);width:1.5rem}.copy-icon,.receive-tab-icon{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.receive-tab-icon{-webkit-mask-image:url(assets/images/download-solid.svg);mask-image:url(assets/images/download-solid.svg)}.send-tab-icon{-webkit-mask-image:url(assets/images/paper-plane-solid.svg);mask-image:url(assets/images/paper-plane-solid.svg)}.send-tab-icon,.settings-tab-icon{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.settings-tab-icon{-webkit-mask-image:url(assets/images/cog-solid.svg);mask-image:url(assets/images/cog-solid.svg)}.about-tab-icon{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));-webkit-mask-image:url(assets/images/info-circle-solid.svg);mask-image:url(assets/images/info-circle-solid.svg);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.send-file-icon{-webkit-mask-image:url(assets/images/file-upload-solid.svg);mask-image:url(assets/images/file-upload-solid.svg)}.receive-file-icon,.send-file-icon{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.receive-file-icon{-webkit-mask-image:url(assets/images/file-download-solid.svg);mask-image:url(assets/images/file-download-solid.svg)}.folder-select-icon{--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(203 213 225/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);content:\"\";display:block;height:6rem;-webkit-mask-image:url(assets/images/folder-regular.svg);mask-image:url(assets/images/folder-regular.svg);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;transition-duration:.3s;width:6rem}.folder-select-icon:hover{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.file-select-icon{--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(203 213 225/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);content:\"\";display:block;height:6rem;-webkit-mask-image:url(assets/images/file-regular.svg);mask-image:url(assets/images/file-regular.svg);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;transition-duration:.3s;width:6rem}.file-select-icon:hover{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.cancel-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem 1rem;transition-duration:.15s}.cancel-button:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.cancel-button:active{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}.cancel-button:disabled{opacity:.5}.tooltip{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);background-color:rgb(226 232 240/var(--tw-bg-opacity));border-color:rgb(15 118 110/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem;margin-top:-2rem;padding:.25rem;position:absolute;visibility:hidden}.has-tooltip:hover .tooltip{visibility:visible;z-index:50}.checkbox{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;height:1rem;width:1rem}.checkbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.settings-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(226 232 240/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem;padding:.25rem;transition-duration:.15s}.settings-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.settings-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.settings-button:disabled{opacity:.5}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;left:0;right:0;top:0}.z-0{z-index:0}.m-2{margin:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-auto{margin-bottom:auto;margin-top:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.-mt-8{margin-top:-2rem}.mr-1{margin-right:.25rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.mt-1{margin-top:.25rem}.ml-1{margin-left:.25rem}.mb-2{margin-bottom:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-24{height:6rem}.h-4{height:1rem}.h-56{height:14rem}.h-full{height:100%}.h-36{height:9rem}.w-28{width:7rem}.w-11\\/12{width:91.666667%}.w-full{width:100%}.w-24{width:6rem}.w-4{width:1rem}.w-72{width:18rem}.w-60{width:15rem}.max-w-md{max-width:28rem}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}.animate-pulse{-webkit-animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.place-items-center{place-items:center}.content-center{align-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-items-center{justify-items:center}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-l-md{border-bottom-left-radius:.375rem;border-top-left-radius:.375rem}.rounded-r-md{border-bottom-right-radius:.375rem;border-top-right-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-transparent{border-color:transparent}.border-green-700{--tw-border-opacity:1;border-color:rgb(15 118 110/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity))}.border-green-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity:1;background-color:rgb(19 78 74/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity:1;background-color:rgb(139 92 246/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-opacity-90{--tw-bg-opacity:0.9}.bg-opacity-60{--tw-bg-opacity:0.6}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.p-2{padding:.5rem}.p-1{padding:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pt-2{padding-top:.5rem}.pb-2{padding-bottom:.5rem}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.leading-normal{line-height:1.5}.text-gray-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(17 94 89/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(6 182 212/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity))}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color)}.shadow-inner,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.duration-150{transition-duration:.15s}.duration-300{transition-duration:.3s}main{height:100%;width:100%}div{overscroll:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.hover\\:bg-green-700:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.hover\\:bg-green-500:hover{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.hover\\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.focus\\:border-transparent:focus{border-color:transparent}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-green-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity))}.active\\:bg-green-800:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.disabled\\:opacity-50:disabled{opacity:.5}");return new class extends lt{constructor(t){super(),ct(this,t,Zt,Yt,a,{})}}({target:document.body})}(); +var app=function(){"use strict";function t(){}const e=t=>t;function o(t){return t()}function r(){return Object.create(null)}function n(t){t.forEach(o)}function i(t){return"function"==typeof t}function a(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function s(t,e,o,r){return t[1]&&r?function(t,e){for(const o in e)t[o]=e[o];return t}(o.ctx.slice(),t[1](r(e))):o.ctx}function c(t,e,o,r,n,i,a){const c=function(t,e,o,r){if(t[2]&&r){const n=t[2](r(o));if(void 0===e.dirty)return n;if("object"==typeof n){const t=[],o=Math.max(e.dirty.length,n.length);for(let r=0;rwindow.performance.now():()=>Date.now(),p=l?t=>requestAnimationFrame(t):t;const g=new Set;function u(t){g.forEach((e=>{e.c(t)||(g.delete(e),e.f())})),0!==g.size&&p(u)}function w(t){let e;return 0===g.size&&p(u),{promise:new Promise((o=>{g.add(e={c:t,f:o})})),abort(){g.delete(e)}}}let b=!1;function m(t,e,o,r){for(;t>1);o(n)<=r?t=n+1:e=n}return t}function h(t,e){b?(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;const e=t.childNodes,o=new Int32Array(e.length+1),r=new Int32Array(e.length);o[0]=-1;let n=0;for(let t=0;te[o[t]].claim_order),e[t].claim_order)-1;r[t]=o[i]+1;const a=i+1;o[a]=t,n=Math.max(a,n)}const i=[],a=[];let s=e.length-1;for(let t=o[n]+1;0!=t;t=r[t-1]){for(i.push(e[t-1]);s>=t;s--)a.push(e[s]);s--}for(;s>=0;s--)a.push(e[s]);i.reverse(),a.sort(((t,e)=>t.claim_order-e.claim_order));for(let e=0,o=0;e=i[o].claim_order;)o++;const r=ot.removeEventListener(e,o,r)}function A(t,e,o){null==o?t.removeAttribute(e):t.getAttribute(e)!==o&&t.setAttribute(e,o)}function C(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function F(t,e){t.value=null==e?"":e}const _=new Set;let E,z=0;function O(t,e,o,r,n,i,a,s=0){const c=16.666/r;let l="{\n";for(let t=0;t<=1;t+=c){const r=e+(o-e)*i(t);l+=100*t+`%{${a(r,1-r)}}\n`}const d=l+`100% {${a(o,1-o)}}\n}`,p=`__svelte_${function(t){let e=5381,o=t.length;for(;o--;)e=(e<<5)-e^t.charCodeAt(o);return e>>>0}(d)}_${s}`,g=t.ownerDocument;_.add(g);const u=g.__svelte_stylesheet||(g.__svelte_stylesheet=g.head.appendChild(y("style")).sheet),w=g.__svelte_rules||(g.__svelte_rules={});w[p]||(w[p]=!0,u.insertRule(`@keyframes ${p} ${d}`,u.cssRules.length));const b=t.style.animation||"";return t.style.animation=`${b?`${b}, `:""}${p} ${r}ms linear ${n}ms 1 both`,z+=1,p}function j(t,e){const o=(t.style.animation||"").split(", "),r=o.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),n=o.length-r.length;n&&(t.style.animation=r.join(", "),z-=n,z||p((()=>{z||(_.forEach((t=>{const e=t.__svelte_stylesheet;let o=e.cssRules.length;for(;o--;)e.deleteRule(o);t.__svelte_rules={}})),_.clear())})))}function U(t){E=t}function P(t){(function(){if(!E)throw new Error("Function called outside component initialization");return E})().$$.on_mount.push(t)}const D=[],R=[],G=[],N=[],I=Promise.resolve();let M=!1;function L(t){G.push(t)}let B=!1;const T=new Set;function q(){if(!B){B=!0;do{for(let t=0;t{W=null}))),W}function J(t,e,o){t.dispatchEvent(function(t,e){const o=document.createEvent("CustomEvent");return o.initCustomEvent(t,!1,!1,e),o}(`${e?"intro":"outro"}${o}`))}const Q=new Set;let K;function X(){K={r:0,c:[],p:K}}function Y(){K.r||n(K.c),K=K.p}function Z(t,e){t&&t.i&&(Q.delete(t),t.i(e))}function tt(t,e,o,r){if(t&&t.o){if(Q.has(t))return;Q.add(t),K.c.push((()=>{Q.delete(t),r&&(o&&t.d(1),r())})),t.o(e)}}const et={duration:0};function ot(o,r,n){let a,s,c=r(o,n),l=!1,p=0;function g(){a&&j(o,a)}function u(){const{delay:r=0,duration:n=300,easing:i=e,tick:u=t,css:b}=c||et;b&&(a=O(o,0,1,n,r,i,b,p++)),u(0,1);const m=d()+r,h=m+n;s&&s.abort(),l=!0,L((()=>J(o,!0,"start"))),s=w((t=>{if(l){if(t>=h)return u(1,0),J(o,!0,"end"),g(),l=!1;if(t>=m){const e=i((t-m)/n);u(e,1-e)}}return l}))}let b=!1;return{start(){b||(j(o),i(c)?(c=c(),H().then(u)):u())},invalidate(){b=!1},end(){l&&(g(),l=!1)}}}function rt(o,r,a,s){let c=r(o,a),l=s?0:1,p=null,g=null,u=null;function b(){u&&j(o,u)}function m(t,e){const o=t.b-l;return e*=Math.abs(o),{a:l,b:t.b,d:o,duration:e,start:t.start,end:t.start+e,group:t.group}}function h(r){const{delay:i=0,duration:a=300,easing:s=e,tick:h=t,css:f}=c||et,x={start:d()+i,b:r};r||(x.group=K,K.r+=1),p||g?g=x:(f&&(b(),u=O(o,l,r,a,i,s,f)),r&&h(0,1),p=m(x,a),L((()=>J(o,r,"start"))),w((t=>{if(g&&t>g.start&&(p=m(g,a),g=null,J(o,p.b,"start"),f&&(b(),u=O(o,l,p.b,p.duration,0,s,c.css))),p)if(t>=p.end)h(l=p.b,1-l),J(o,p.b,"end"),g||(p.b?b():--p.group.r||n(p.group.c)),p=null;else if(t>=p.start){const e=t-p.start;l=p.a+p.d*s(e/p.duration),h(l,1-l)}return!(!p&&!g)})))}return{run(t){i(c)?H().then((()=>{c=c(),h(t)})):h(t)},end(){b(),p=g=null}}}function nt(t){t&&t.c()}function it(t,e,r,a){const{fragment:s,on_mount:c,on_destroy:l,after_update:d}=t.$$;s&&s.m(e,r),a||L((()=>{const e=c.map(o).filter(i);l?l.push(...e):n(e),t.$$.on_mount=[]})),d.forEach(L)}function at(t,e){const o=t.$$;null!==o.fragment&&(n(o.on_destroy),o.fragment&&o.fragment.d(e),o.on_destroy=o.fragment=null,o.ctx=[])}function st(t,e){-1===t.$$.dirty[0]&&(D.push(t),M||(M=!0,I.then(q)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const n=r.length?r[0]:o;return p.ctx&&s(p.ctx[t],p.ctx[t]=n)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](n),g&&st(e,t)),o})):[],p.update(),g=!0,n(p.before_update),p.fragment=!!a&&a(p.ctx),o.target){if(o.hydrate){b=!0;const t=function(t){return Array.from(t.childNodes)}(o.target);p.fragment&&p.fragment.l(t),t.forEach(x)}else p.fragment&&p.fragment.c();o.intro&&Z(e.$$.fragment),it(e,o.target,o.anchor,o.customElement),b=!1,q()}U(d)}class lt{$destroy(){at(this,1),this.$destroy=t}$on(t,e){const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(e),()=>{const t=o.indexOf(e);-1!==t&&o.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function dt(t){const e=t-1;return e*e*e+1}function pt(t,{delay:e=0,duration:o=400,easing:r=dt}={}){const n=getComputedStyle(t),i=+n.opacity,a=parseFloat(n.height),s=parseFloat(n.paddingTop),c=parseFloat(n.paddingBottom),l=parseFloat(n.marginTop),d=parseFloat(n.marginBottom),p=parseFloat(n.borderTopWidth),g=parseFloat(n.borderBottomWidth);return{delay:e,duration:o,easing:r,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*i};height: ${t*a}px;padding-top: ${t*s}px;padding-bottom: ${t*c}px;margin-top: ${t*l}px;margin-bottom: ${t*d}px;border-top-width: ${t*p}px;border-bottom-width: ${t*g}px;`}}window.wailsbindings={main:{App:{AppInstalledFromPackageManager:{name:"main.App.AppInstalledFromPackageManager",outputs:[{type:"bool"}]},CancelWormholeRequest:{name:"main.App.CancelWormholeRequest"},ClearSelectedFiles:{name:"main.App.ClearSelectedFiles"},GetCurrentVersion:{name:"main.App.GetCurrentVersion",outputs:[{type:"string"}]},GetLogPath:{name:"main.App.GetLogPath",outputs:[{type:"string"}]},GetReceivedFile:{name:"main.App.GetReceivedFile",outputs:[{type:"string"}]},GetSelectedFiles:{name:"main.App.GetSelectedFiles",outputs:[{type:"[]string"}]},GetUserPrefs:{name:"main.App.GetUserPrefs",outputs:[{type:"settings.UserSettings"}]},OpenDirectoryDialog:{name:"main.App.OpenDirectoryDialog",outputs:[{type:"[]string"},{type:"error"}]},OpenFile:{name:"main.App.OpenFile",inputs:[{type:"string"}]},OpenFilesDialog:{name:"main.App.OpenFilesDialog",outputs:[{type:"[]string"},{type:"error"}]},PersistUserSettings:{name:"main.App.PersistUserSettings"},ReceiveFile:{name:"main.App.ReceiveFile",inputs:[{type:"string"}]},SelectedFilesSend:{name:"main.App.SelectedFilesSend"},SendDirectory:{name:"main.App.SendDirectory",inputs:[{type:"string"}]},SendFile:{name:"main.App.SendFile",inputs:[{type:"string"}]},SetDownloadsFolder:{name:"main.App.SetDownloadsFolder",outputs:[{type:"string"}]},SetNotificationsParam:{name:"main.App.SetNotificationsParam",inputs:[{type:"bool"}],outputs:[{type:"bool"}]},SetOverwriteParam:{name:"main.App.SetOverwriteParam",inputs:[{type:"bool"}],outputs:[{type:"bool"}]},SetSelfUpdateParam:{name:"main.App.SetSelfUpdateParam",inputs:[{type:"bool"}],outputs:[{type:"bool"}]},ShowErrorDialog:{name:"main.App.ShowErrorDialog",inputs:[{type:"string"}]},UpdateCheckUI:{name:"main.App.UpdateCheckUI"},UpdateSendProgress:{name:"main.App.UpdateSendProgress",inputs:[{type:"int64"},{type:"int64"}]},VerifyNotificationIcon:{name:"main.App.VerifyNotificationIcon",outputs:[{type:"string"}]}}}};const gt={App:{AppInstalledFromPackageManager:()=>window.go.main.App.AppInstalledFromPackageManager(),CancelWormholeRequest:()=>window.go.main.App.CancelWormholeRequest(),ClearSelectedFiles:()=>window.go.main.App.ClearSelectedFiles(),GetCurrentVersion:()=>window.go.main.App.GetCurrentVersion(),GetLogPath:()=>window.go.main.App.GetLogPath(),GetReceivedFile:()=>window.go.main.App.GetReceivedFile(),GetSelectedFiles:()=>window.go.main.App.GetSelectedFiles(),GetUserPrefs:()=>window.go.main.App.GetUserPrefs(),OpenDirectoryDialog:()=>window.go.main.App.OpenDirectoryDialog(),OpenFile:t=>window.go.main.App.OpenFile(t),OpenFilesDialog:()=>window.go.main.App.OpenFilesDialog(),PersistUserSettings:()=>window.go.main.App.PersistUserSettings(),ReceiveFile:t=>window.go.main.App.ReceiveFile(t),SelectedFilesSend:()=>window.go.main.App.SelectedFilesSend(),SendDirectory:t=>window.go.main.App.SendDirectory(t),SendFile:t=>window.go.main.App.SendFile(t),SetDownloadsFolder:()=>window.go.main.App.SetDownloadsFolder(),SetNotificationsParam:t=>window.go.main.App.SetNotificationsParam(t),SetOverwriteParam:t=>window.go.main.App.SetOverwriteParam(t),SetSelfUpdateParam:t=>window.go.main.App.SetSelfUpdateParam(t),ShowErrorDialog:t=>window.go.main.App.ShowErrorDialog(t),UpdateCheckUI:()=>window.go.main.App.UpdateCheckUI(),UpdateSendProgress:(t,e)=>window.go.main.App.UpdateSendProgress(t,e),VerifyNotificationIcon:()=>window.go.main.App.VerifyNotificationIcon()}};function ut(t){let e,o,r,n,i,a,l,d,p,g,u,w,b,m,v,S;const F=t[3].default,_=function(t,e,o,r){if(t){const n=s(t,e,o,r);return t[0](n)}}(F,t,t[2],null);return{c(){e=y("div"),o=y("div"),r=y("div"),n=y("span"),i=k(t[0]),a=$(),l=y("span"),d=k(t[1]),p=k("%"),g=$(),u=y("div"),w=y("div"),m=$(),_&&_.c(),A(n,"class","text-base text-gray-100 font-medium"),A(l,"class","text-sm font-medium text-gray-100"),A(r,"class","mb-1 flex justify-between"),A(w,"class","bg-green-500 h-4 rounded-full animate-pulse"),A(w,"style",b="width: "+t[1].toString()+"%"),A(u,"class","w-full bg-green-900 rounded-full h-4 shadow-inner"),A(o,"class","progress-inner"),A(e,"class","progress-outer")},m(t,s){f(t,e,s),h(e,o),h(o,r),h(r,n),h(n,i),h(r,a),h(r,l),h(l,d),h(l,p),h(o,g),h(o,u),h(u,w),h(o,m),_&&_.m(o,null),S=!0},p(t,[e]){(!S||1&e)&&C(i,t[0]),(!S||2&e)&&C(d,t[1]),(!S||2&e&&b!==(b="width: "+t[1].toString()+"%"))&&A(w,"style",b),_&&_.p&&(!S||4&e)&&c(_,F,t,t[2],S?e:-1,null,null)},i(t){S||(Z(_,t),L((()=>{v||(v=rt(e,pt,{},!0)),v.run(1)})),S=!0)},o(t){tt(_,t),v||(v=rt(e,pt,{},!1)),v.run(0),S=!1},d(t){t&&x(e),_&&_.d(t),t&&v&&v.end()}}}function wt(t,e,o){let{$$slots:r={},$$scope:n}=e,{status:i=waiting}=e,{percent:a=0}=e;return t.$$set=t=>{"status"in t&&o(0,i=t.status),"percent"in t&&o(1,a=t.percent),"$$scope"in t&&o(2,n=t.$$scope)},[i,a,n,r]}class bt extends lt{constructor(t){super(),ct(this,t,wt,ut,a,{status:0,percent:1})}}function mt(t,e,o){const r=t.slice();return r[11]=e[o],r[13]=o,r}function ht(t){let e,o,r,i,a,s,c,l,d,p,g,u;return{c(){e=y("div"),o=y("div"),r=y("span"),r.textContent="Send Files",i=$(),a=y("button"),s=$(),c=y("div"),l=y("span"),l.textContent="Send Directory",d=$(),p=y("button"),A(r,"class","tooltip"),A(a,"class","file-select-icon"),a.disabled=t[4],A(o,"class","has-tooltip"),A(l,"class","tooltip"),A(p,"class","folder-select-icon"),p.disabled=t[4],A(c,"class","has-tooltip"),A(e,"class","flex flex-row items-center content-center justify-around place-items-center h-full")},m(n,w){f(n,e,w),h(e,o),h(o,r),h(o,i),h(o,a),h(e,s),h(e,c),h(c,l),h(c,d),h(c,p),g||(u=[S(a,"click",t[7]),S(p,"click",t[6])],g=!0)},p(t,e){16&e&&(a.disabled=t[4]),16&e&&(p.disabled=t[4])},d(t){t&&x(e),g=!1,n(u)}}}function ft(t){let e,o=t[5],r=[];for(let e=0;e{i=ot(o,pt,{duration:200}),i.start()})),l||L((()=>{l=ot(s,pt,{duration:200}),l.start()}))},o:t,d(t){t&&x(o),t&&x(a),t&&x(s),d=!1,n(p)}}}function $t(t){let e,o;return e=new bt({props:{percent:t[3],status:t[2],$$slots:{default:[At]},$$scope:{ctx:t}}}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},p(t,o){const r={};8&o&&(r.percent=t[3]),4&o&&(r.status=t[2]),16386&o&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function St(t){let e,o,r,n,i,a,s,c,l,d,p;return{c(){e=y("div"),o=y("label"),o.textContent="Send Code",r=$(),n=y("div"),i=y("input"),a=$(),s=y("button"),s.innerHTML='
',A(o,"for","sendCode"),A(o,"class","send-input-label"),A(i,"id","sendCode"),i.readOnly=!0,A(i,"type","text"),A(i,"placeholder","Send code will appear"),i.value=t[1],A(i,"class","send-input mt-1"),A(s,"class","copy-button mt-1 ml-1"),A(n,"class","flex flex-row"),A(e,"class","mx-auto mt-2")},m(t,c){f(t,e,c),h(e,o),h(e,r),h(e,n),h(n,i),h(n,a),h(n,s),l=!0,d||(p=S(s,"click",Ft),d=!0)},p(t,e){(!l||2&e&&i.value!==t[1])&&(i.value=t[1])},i(t){l||(L((()=>{c||(c=rt(e,pt,{},!0)),c.run(1)})),l=!0)},o(t){c||(c=rt(e,pt,{},!1)),c.run(0),l=!1},d(t){t&&x(e),t&&c&&c.end(),d=!1,p()}}}function At(t){let e,o,r,n,i,a,s=t[1]&&St(t);return{c(){e=y("div"),o=y("button"),o.textContent="Cancel",r=$(),s&&s.c(),A(o,"class","my-2 mx-auto cancel-button"),A(e,"class","container grid")},m(c,l){f(c,e,l),h(e,o),h(e,r),s&&s.m(e,null),n=!0,i||(a=S(o,"click",t[9]),i=!0)},p(t,o){t[1]?s?(s.p(t,o),2&o&&Z(s,1)):(s=St(t),s.c(),Z(s,1),s.m(e,null)):s&&(X(),tt(s,1,1,(()=>{s=null})),Y())},i(t){n||(Z(s),n=!0)},o(t){tt(s),n=!1},d(t){t&&x(e),s&&s.d(),i=!1,a()}}}function Ct(t){let e,o,r,n,i,a;function s(t,e){return t[0].length>0?ft:ht}let c=s(t),l=c(t),d=t[0].length>0&&kt(t),p=t[4]&&$t(t);return{c(){e=y("div"),o=y("div"),l.c(),r=$(),n=y("div"),d&&d.c(),i=$(),p&&p.c(),A(o,"class","border-2 border-green-300 rounded-md shadow-md w-72 h-56 p-2 mx-auto cursor-fix send-icon-container"),A(n,"class","p-2 mx-auto"),A(e,"class","flex flex-col justify-items-center content-center m-2")},m(t,s){f(t,e,s),h(e,o),l.m(o,null),h(e,r),h(e,n),d&&d.m(n,null),h(e,i),p&&p.m(e,null),a=!0},p(t,[r]){c===(c=s(t))&&l?l.p(t,r):(l.d(1),l=c(t),l&&(l.c(),l.m(o,null))),t[0].length>0?d?(d.p(t,r),1&r&&Z(d,1)):(d=kt(t),d.c(),Z(d,1),d.m(n,null)):d&&(d.d(1),d=null),t[4]?p?(p.p(t,r),16&r&&Z(p,1)):(p=$t(t),p.c(),Z(p,1),p.m(e,null)):p&&(X(),tt(p,1,1,(()=>{p=null})),Y())},i(t){a||(Z(d),Z(p),a=!0)},o(t){tt(p),a=!1},d(t){t&&x(e),l.d(),d&&d.d(),p&&p.d()}}}function Ft(){var t=document.getElementById("sendCode");t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value)}function _t(t,e,o){let r;String.prototype.trimEllip=function(t){return this.length>t?this.substring(0,t)+"...":this};let n="",i="waiting",a=0,s=[],c=!1;return window.runtime.EventsOn("send:started",(function(t){o(1,n=t)})),window.runtime.EventsOn("send:updated",(function(t){o(3,a=t),"transferring"!=i&&o(2,i="transferring")})),window.runtime.EventsOn("send:status",(function(t){o(2,i=t),"completed"!=t&&"failed"!=t||setTimeout((()=>{o(4,c=!1),o(1,n=""),o(3,a=0)}),500)})),P((()=>{gt.App.GetSelectedFiles().then((t=>{t&&t.length>0&&o(0,s=t)}))})),t.$$.update=()=>{1&t.$$.dirty&&o(5,r=s.map((t=>t.split("\\").pop().split("/").pop().trimEllip(30))))},[s,n,i,a,c,r,function(){gt.App.OpenDirectoryDialog().then((t=>{o(0,s=null!=t?t:[])})).catch((t=>{console.log(t)}))},function(){gt.App.OpenFilesDialog().then((t=>{o(0,s=null!=t?t:[])})).catch((t=>{console.log(t)}))},function(){o(1,n=""),o(2,i="waiting"),o(3,a=0),o(0,s=[]),o(4,c=!1),gt.App.ClearSelectedFiles()},function(){gt.App.CancelWormholeRequest().then((()=>{o(4,c=!1),o(1,n=""),o(2,i="waiting"),o(3,a=0)})).catch((t=>{console.log(t)}))},function(){gt.App.SelectedFilesSend(),o(4,c=!0)}]}class Et extends lt{constructor(t){super(),ct(this,t,_t,Ct,a,{})}}function zt(t){let e,o,r,n,i,a,s=!t[4]&&Ot(t);return{c(){e=y("div"),o=y("div"),r=$(),n=y("span"),i=k(t[6]),a=$(),s&&s.c(),A(o,"class","icon-lg receive-file-icon"),A(n,"class","text-gray-200"),A(e,"class","flex flex-col justify-center items-center space-y-2 bg-gray-800 rounded-md bg-opacity-60 h-full")},m(t,c){f(t,e,c),h(e,o),h(e,r),h(e,n),h(n,i),h(e,a),s&&s.m(e,null)},p(t,o){64&o&&C(i,t[6]),t[4]?s&&(s.d(1),s=null):s?s.p(t,o):(s=Ot(t),s.c(),s.m(e,null))},d(t){t&&x(e),s&&s.d()}}}function Ot(e){let o,r,i,a,s,c;return{c(){o=y("div"),r=y("button"),r.textContent="Open File",i=$(),a=y("button"),a.textContent="Open Folder",A(r,"class","open-button text-sm"),A(a,"class","open-button text-sm"),A(o,"class","inline-flex space-x-1")},m(t,n){f(t,o,n),h(o,r),h(o,i),h(o,a),s||(c=[S(r,"click",e[8]),S(a,"click",e[9])],s=!0)},p:t,d(t){t&&x(o),s=!1,n(c)}}}function jt(t){let e,o;return e=new bt({props:{percent:t[3],status:t[2],$$slots:{default:[Ut]},$$scope:{ctx:t}}}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},p(t,o){const r={};8&o&&(r.percent=t[3]),4&o&&(r.status=t[2]),4096&o&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Ut(e){let o,r,n,i;return{c(){o=y("div"),r=y("button"),r.textContent="Cancel",A(r,"class","my-2 mx-auto cancel-button"),A(o,"class","container grid")},m(t,a){f(t,o,a),h(o,r),n||(i=S(r,"click",e[10]),n=!0)},p:t,d(t){t&&x(o),n=!1,i()}}}function Pt(t){let e,o,r,i,a,s,c,l,d,p,g,u,w,b,m,v,C=t[1]&&zt(t),_=t[4]&&jt(t);return{c(){e=y("div"),o=y("div"),C&&C.c(),r=$(),i=y("div"),a=y("form"),s=y("label"),s.textContent="Receive Code",c=$(),l=y("input"),d=$(),p=y("button"),g=k("Download"),w=$(),_&&_.c(),A(o,"class","border-2 border-green-300 rounded-md shadow-md w-72 h-56 p-2 mx-auto receive-icon-container"),A(s,"for","receiveCode"),A(s,"class","receive-input-label"),A(l,"id","receiveCode"),A(l,"type","text"),A(l,"placeholder","eg. 5-component-button"),A(l,"class","receive-input"),A(p,"class","receive-button"),A(p,"type","submit"),p.disabled=u=!t[5],A(a,"autocomplete","off"),A(i,"class","p-2 mx-auto"),A(e,"class","flex flex-col justify-items-center content-center m-2")},m(n,u){var x;f(n,e,u),h(e,o),C&&C.m(o,null),h(e,r),h(e,i),h(i,a),h(a,s),h(a,c),h(a,l),F(l,t[0]),h(a,d),h(a,p),h(p,g),h(e,w),_&&_.m(e,null),b=!0,m||(v=[S(l,"input",t[11]),S(a,"submit",(x=t[7],function(t){return t.preventDefault(),x.call(this,t)}))],m=!0)},p(t,[r]){t[1]?C?C.p(t,r):(C=zt(t),C.c(),C.m(o,null)):C&&(C.d(1),C=null),1&r&&l.value!==t[0]&&F(l,t[0]),(!b||32&r&&u!==(u=!t[5]))&&(p.disabled=u),t[4]?_?(_.p(t,r),16&r&&Z(_,1)):(_=jt(t),_.c(),Z(_,1),_.m(e,null)):_&&(X(),tt(_,1,1,(()=>{_=null})),Y())},i(t){b||(Z(_),b=!0)},o(t){tt(_),b=!1},d(t){t&&x(e),C&&C.d(),_&&_.d(),m=!1,n(v)}}}const Dt=/\d+\-\w+\-\w+/;function Rt(t,e,o){let r,n,i="",a="waiting",s=0,c=!1,l="";return String.prototype.trimEllip=function(t){return this.length>t?this.substring(0,t)+"...":this},window.runtime.EventsOn("receive:updated",(function(t){o(3,s=t)})),window.runtime.EventsOn("receive:started",(function(){o(4,c=!0)})),window.runtime.EventsOn("receive:path",(function(t){o(1,l=t)})),window.runtime.EventsOn("receive:status",(function(t){o(2,a=t),"completed"==t&&setTimeout((()=>{o(4,c=!1),o(3,s=0)}),500)})),P((()=>{gt.App.GetReceivedFile().then((t=>{t&&o(1,l=t)}))})),t.$$.update=()=>{1&t.$$.dirty&&o(5,r=Dt.test(i)),2&t.$$.dirty&&o(6,n=l.split("\\").pop().split("/").pop().trimEllip(24))},[i,l,a,s,c,r,n,function(){gt.App.ReceiveFile(i)},function(){gt.App.OpenFile(l)},function(){gt.App.GetUserPrefs().then((t=>{gt.App.OpenFile(t.downloadsDirectory)}))},function(){gt.App.CancelWormholeRequest().then((()=>{o(4,c=!1),o(0,i=""),o(2,a="waiting"),o(3,s=0),o(1,l="")})).catch((t=>{console.log(t)}))},function(){i=this.value,o(0,i)}]}class Gt extends lt{constructor(t){super(),ct(this,t,Rt,Pt,a,{})}}function Nt(t){let e,o,r,n,i;return{c(){e=y("label"),e.textContent="Auto Update Enabled",o=$(),r=y("input"),A(e,"class","text-sm"),A(e,"for","selfUpdate"),A(r,"class","checkbox"),A(r,"type","checkbox"),A(r,"id","selfUpdate"),A(r,"name","selfUpdate"),r.checked=t[3]},m(a,s){f(a,e,s),f(a,o,s),f(a,r,s),n||(i=S(r,"input",t[11]),n=!0)},p(t,e){8&e&&(r.checked=t[3])},d(t){t&&x(e),t&&x(o),t&&x(r),n=!1,i()}}}function It(e){let o;return{c(){o=y("span"),o.textContent="Update from Package Manager",A(o,"class","text-sm")},m(t,e){f(t,o,e)},p:t,d(t){t&&x(o)}}}function Mt(e){let o,r,i,a,s,c,l,d,p,g,u,w,b,m,v,F,_,E,z,O,j,U,P,D,R,G,N,I,M,L,B,T,q,V,W,H,J,Q,K,X,Y,Z;function tt(t,e){return t[4]?It:Nt}let et=tt(e),ot=et(e);return{c(){o=y("div"),r=y("div"),i=y("div"),i.textContent="Downloads Folder",a=$(),s=y("div"),c=y("div"),l=k(e[5]),d=$(),p=y("div"),g=y("button"),g.textContent="Edit",u=$(),w=y("button"),w.textContent="Open",b=$(),m=y("div"),m.textContent="Notifications",v=$(),F=y("div"),_=y("label"),_.textContent="Show Desktop Notifications",E=$(),z=y("input"),O=$(),j=y("div"),j.textContent="Overwrite",U=$(),P=y("div"),D=y("label"),D.textContent="Overwrite Existing Files",R=$(),G=y("input"),N=$(),I=y("div"),I.textContent="Auto Update",M=$(),L=y("div"),ot.c(),B=$(),T=y("div"),q=y("div"),q.textContent="Logs",V=$(),W=y("div"),H=y("div"),J=k(e[6]),Q=$(),K=y("div"),X=y("button"),X.textContent="Open",A(i,"class","text-gray-300 font-bold"),A(c,"class","text-gray-200 text-xs max-w-md"),A(g,"class","settings-button"),A(w,"class","settings-button"),A(p,"class","w-22 inline-flex space-x-1"),A(s,"class","flex flex-row items-center justify-between"),A(r,"class","mb-2"),A(m,"class","text-gray-300 font-bold"),A(_,"class","text-sm"),A(_,"for","notifications"),A(z,"class","checkbox"),A(z,"type","checkbox"),A(z,"id","notifications"),A(z,"name","notifications"),z.checked=e[1],A(F,"class","flex flex-row items-center justify-between mb-2"),A(j,"class","text-gray-300 font-bold"),A(D,"class","text-sm"),A(D,"for","overwrite"),A(G,"class","checkbox"),A(G,"type","checkbox"),A(G,"id","overwrite"),A(G,"name","overwrite"),G.checked=e[2],A(P,"class","flex flex-row items-center justify-between mb-2"),A(I,"class","text-gray-300 font-bold"),A(L,"class","flex flex-row items-center justify-between mb-2"),A(q,"class","text-gray-300 font-bold"),A(H,"class","text-gray-200 text-xs"),A(X,"class","settings-button"),A(W,"class","flex flex-row items-center justify-between"),A(T,"class","mb-1"),A(o,"class","text-gray-200")},m(t,n){f(t,o,n),h(o,r),h(r,i),h(r,a),h(r,s),h(s,c),h(c,l),h(s,d),h(s,p),h(p,g),h(p,u),h(p,w),h(o,b),h(o,m),h(o,v),h(o,F),h(F,_),h(F,E),h(F,z),h(o,O),h(o,j),h(o,U),h(o,P),h(P,D),h(P,R),h(P,G),h(o,N),h(o,I),h(o,M),h(o,L),ot.m(L,null),h(o,B),h(o,T),h(T,q),h(T,V),h(T,W),h(W,H),h(H,J),h(W,Q),h(W,K),h(K,X),Y||(Z=[S(g,"click",e[7]),S(w,"click",e[8]),S(z,"input",e[10]),S(G,"input",e[9]),S(X,"click",e[13])],Y=!0)},p(t,[e]){32&e&&C(l,t[5]),2&e&&(z.checked=t[1]),4&e&&(G.checked=t[2]),et===(et=tt(t))&&ot?ot.p(t,e):(ot.d(1),ot=et(t),ot&&(ot.c(),ot.m(L,null))),64&e&&C(J,t[6])},i:t,o:t,d(t){t&&x(o),ot.d(),Y=!1,n(Z)}}}function Lt(t,e,o){let r,n,i="",a="",s=!1,c=!1,l=!1,d=!1;P((()=>{gt.App.GetUserPrefs().then((t=>{o(12,i=t.downloadsDirectory),o(1,s=t.notifications),o(2,c=t.overwrite),o(3,l=t.selfUpdate)})),gt.App.GetLogPath().then((t=>{o(0,a=t)})),gt.App.AppInstalledFromPackageManager().then((t=>{o(4,d=t)}))}));return t.$$.update=()=>{4096&t.$$.dirty&&o(5,r=i.replace(/.{50}.\//g,"$&\n")),1&t.$$.dirty&&o(6,n=a.replace(/.{50}.\//g,"$&\n"))},[a,s,c,l,d,r,n,function(){gt.App.SetDownloadsFolder().then((t=>{o(12,i=t)}))},function(){gt.App.OpenFile(i)},function(){gt.App.SetOverwriteParam(!c).then((t=>{o(2,c=t)}))},function(){gt.App.SetNotificationsParam(!s).then((t=>{o(1,s=t)}))},function(){gt.App.SetSelfUpdateParam(!l).then((t=>{o(3,l=t)}))},i,t=>window.runtime.BrowserOpenURL(a)]}class Bt extends lt{constructor(t){super(),ct(this,t,Lt,Mt,a,{})}}function Tt(t,e,o){const r=t.slice();return r[6]=e[o][0],r[7]=e[o][1],r}function qt(t){let e,o,r,n,i,a=t[6]+"";function s(...e){return t[5](t[7],...e)}return{c(){e=y("li"),o=y("button"),r=k(a),A(o,"class","text-blue-500")},m(t,a){f(t,e,a),h(e,o),h(o,r),n||(i=S(o,"click",s),n=!0)},p(e,o){t=e},d(t){t&&x(e),n=!1,i()}}}function Vt(e){let o,r,i,a,s,c,l,d,p,g,u,w,b,m,F,_,E,z,O,j,U,P,D,R,G,N=Object.entries(e[1]),I=[];for(let t=0;tLicense

\n

Licensed under the GNU GPL Version 3

',E=$(),z=y("div"),O=y("p"),O.textContent="Attributions",j=$(),U=y("p"),U.textContent="This project leverages the work of other Open Source Software",P=$(),D=y("ul");for(let t=0;t{gt.App.GetCurrentVersion().then((t=>{o(0,r=t)}))}));return[r,{"wailsapp/wails":"https://wails.io","Jackalz/wails-wormhole-gui":"https://github.com/Jacalz/wormhole-gui","psanford/wormhole-william":"https://github.com/psanford/wormhole-william","magic-wormhole":"https://magic-wormhole.readthedocs.io/",svelte:"https://github.com/sveltejs/svelte",tailwindcss:"https://github.com/tailwindlabs/tailwindcss","font awesome":"https://fontawesome.com","klauspost/compress":"https://github.com/klauspost/compress","go-github-selfupdate":"https://github.com/rhysd/go-github-selfupdate"},t=>window.runtime.BrowserOpenURL("https://riftshare.app"),t=>window.runtime.BrowserOpenURL("https://riftshare.app/faq.html"),t=>window.runtime.BrowserOpenURL("https://github.com/achhabra2/riftshare/issues/new/choose"),(t,e)=>window.runtime.BrowserOpenURL(t)]}class Ht extends lt{constructor(t){super(),ct(this,t,Wt,Vt,a,{})}}function Jt(t){let e,o;return e=new Ht({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Qt(t){let e,o;return e=new Bt({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Kt(t){let e,o;return e=new Gt({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Xt(t){let e,o;return e=new Et({}),{c(){nt(e.$$.fragment)},m(t,r){it(e,t,r),o=!0},i(t){o||(Z(e.$$.fragment,t),o=!0)},o(t){tt(e.$$.fragment,t),o=!1},d(t){at(e,t)}}}function Yt(t){let e,o,r,i,a,s,c,l,d,p,g,u,w,b,m,v,k,C,F,_,E,z,O,j,U,P,D,R,G,N,I,M,L,B,T,q,V;const W=[Xt,Kt,Qt,Jt],H=[];function J(t,e){return"send"==t[0]?0:"receive"==t[0]?1:"settings"==t[0]?2:"about"==t[0]?3:-1}return~(L=J(t))&&(B=H[L]=W[L](t)),{c(){e=y("main"),o=y("div"),r=y("ul"),i=y("li"),a=y("button"),s=y("div"),c=$(),l=y("span"),l.textContent="Send",p=$(),g=y("li"),u=y("button"),w=y("div"),b=$(),m=y("span"),m.textContent="Receive",k=$(),C=y("li"),F=y("button"),_=y("div"),E=$(),z=y("span"),z.textContent="Settings",j=$(),U=y("li"),P=y("button"),D=y("div"),R=$(),G=y("span"),G.textContent="About",I=$(),M=y("div"),B&&B.c(),A(s,"class","icon send-tab-icon mr-1"),A(a,"class",d="send"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(i,"class",""),A(w,"class","icon receive-tab-icon mr-1"),A(u,"class",v="receive"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(g,"class",""),A(_,"class","icon settings-tab-icon mr-1"),A(F,"class",O="settings"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(C,"class",""),A(D,"class","icon about-tab-icon mr-1"),A(P,"class",N="about"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"),A(U,"class",""),A(r,"class","flex justify-center space-x-1 flex-row"),A(o,"class","container mx-auto py-1"),A(M,"class","tab-container"),A(e,"data-wails-no-drag","")},m(n,d){f(n,e,d),h(e,o),h(o,r),h(r,i),h(i,a),h(a,s),h(a,c),h(a,l),h(r,p),h(r,g),h(g,u),h(u,w),h(u,b),h(u,m),h(r,k),h(r,C),h(C,F),h(F,_),h(F,E),h(F,z),h(r,j),h(r,U),h(U,P),h(P,D),h(P,R),h(P,G),h(e,I),h(e,M),~L&&H[L].m(M,null),T=!0,q||(V=[S(a,"click",t[1]),S(u,"click",t[2]),S(F,"click",t[3]),S(P,"click",t[4])],q=!0)},p(t,[e]){(!T||1&e&&d!==(d="send"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(a,"class",d),(!T||1&e&&v!==(v="receive"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(u,"class",v),(!T||1&e&&O!==(O="settings"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(F,"class",O),(!T||1&e&&N!==(N="about"==t[0]?"tab-item tab-item-active":"tab-item tab-item-inactive"))&&A(P,"class",N);let o=L;L=J(t),L!==o&&(B&&(X(),tt(H[o],1,1,(()=>{H[o]=null})),Y()),~L?(B=H[L],B||(B=H[L]=W[L](t),B.c()),Z(B,1),B.m(M,null)):B=null)},i(t){T||(Z(B),T=!0)},o(t){tt(B),T=!1},d(t){t&&x(e),~L&&H[L].d(),q=!1,n(V)}}}function Zt(t,e,o){let r="send";return[r,()=>o(0,r="send"),()=>o(0,r="receive"),()=>o(0,r="settings"),()=>o(0,r="about")]}!function(t,e){void 0===e&&(e={});var o=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===o&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}("/*! tailwindcss v3.0.9 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:\"\"}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#94a3b8;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#94a3b8;opacity:1}input::placeholder,textarea::placeholder{color:#94a3b8;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#64748b;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#0891b2;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#0891b2;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-moz-placeholder,textarea::-moz-placeholder{color:#64748b;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#64748b;opacity:1}input::placeholder,textarea::placeholder{color:#64748b;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select{-webkit-print-color-adjust:exact;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;color-adjust:exact;padding-right:2.5rem}[multiple]{-webkit-print-color-adjust:unset;background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{-webkit-print-color-adjust:exact;--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#64748b;border-width:1px;color:#0891b2;color-adjust:exact;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#0891b2;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px auto -webkit-focus-ring-color}*,:after,:before{--tw-border-opacity:1;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(6,182,212,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border-color:rgb(226 232 240/var(--tw-border-opacity))}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.open-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(226 232 240/var(--tw-text-opacity));padding:.25rem .5rem;transition-duration:.15s}.open-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.open-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.send-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color);--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(51 65 85/var(--tw-bg-opacity));border-bottom-left-radius:.375rem;border-color:transparent;border-top-left-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity))}.send-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity));border-color:transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.send-input-label{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity));display:block;font-size:.875rem;line-height:1.25rem}.send-button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem 1rem;transition-duration:.15s}.send-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.send-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.send-button:disabled{opacity:.5}.copy-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity));border-bottom-right-radius:.375rem;border-top-right-radius:.375rem;color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem;transition-duration:.15s;width:2.5rem}.copy-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.copy-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.copy-button:disabled{opacity:.5}.receive-input{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color);--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(30 41 59/var(--tw-bg-opacity));border-bottom-left-radius:.375rem;border-color:transparent;border-top-left-radius:.375rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity))}.receive-input:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity));border-color:transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.receive-input-label{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity));display:block;font-size:.875rem;line-height:1.25rem}.receive-button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(13 148 136/var(--tw-bg-opacity));border-bottom-right-radius:.375rem;border-top-right-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem 1rem;transition-duration:.15s}.receive-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.receive-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.receive-button:disabled{opacity:.5}.about-button{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(226 232 240/var(--tw-text-opacity));padding:.25rem .5rem;transition-duration:.15s}.about-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.about-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.send-icon-container{background-image:url(assets/images/upload-solid.svg)}.receive-icon-container,.send-icon-container{--tw-bg-opacity:0.75;background-color:rgb(19 78 74/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:60%}.receive-icon-container{background-image:url(assets/images/download-solid.svg)}.file-list{list-style-position:inside;list-style-type:disc}.cursor-fix{cursor:default}.tab-item{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);border-radius:.25rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:block;display:flex;flex-direction:row;font-size:.75rem;font-weight:700;justify-content:center;line-height:1rem;line-height:1.5;padding:.75rem;text-transform:uppercase;width:7rem}.tab-item-inactive{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity));color:rgb(17 94 89/var(--tw-text-opacity))}.tab-item-active{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity));color:rgb(241 245 249/var(--tw-text-opacity))}.tab-container{width:100%}@media (min-width:640px){.tab-container{max-width:640px}}@media (min-width:768px){.tab-container{max-width:768px}}@media (min-width:1024px){.tab-container{max-width:1024px}}@media (min-width:1280px){.tab-container{max-width:1280px}}@media (min-width:1536px){.tab-container{max-width:1536px}}.tab-container{--tw-bg-opacity:0.5;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);background-color:rgb(51 65 85/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);height:82%;margin-left:auto;margin-right:auto;width:91.666667%;z-index:10}.progress-outer,.tab-container{padding:1rem}.progress-outer{--tw-bg-opacity:0.9;background-color:rgb(30 41 59/var(--tw-bg-opacity));bottom:0;height:100%;left:0;margin:auto;position:absolute;right:0;top:0;width:100%;z-index:0}.progress-inner{position:relative;top:33.333333%}.send-progress-old{margin-left:auto;margin-right:auto;padding:.5rem;width:75%}.icon{height:16px;width:16px}.icon,.icon-lg{background-repeat:no-repeat}.icon-lg{height:64px;width:64px}.copy-icon{background-repeat:no-repeat;height:1.5rem;-webkit-mask-image:url(assets/images/copy-regular.svg);mask-image:url(assets/images/copy-regular.svg);width:1.5rem}.copy-icon,.receive-tab-icon{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.receive-tab-icon{-webkit-mask-image:url(assets/images/download-solid.svg);mask-image:url(assets/images/download-solid.svg)}.send-tab-icon{-webkit-mask-image:url(assets/images/paper-plane-solid.svg);mask-image:url(assets/images/paper-plane-solid.svg)}.send-tab-icon,.settings-tab-icon{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.settings-tab-icon{-webkit-mask-image:url(assets/images/cog-solid.svg);mask-image:url(assets/images/cog-solid.svg)}.about-tab-icon{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));-webkit-mask-image:url(assets/images/info-circle-solid.svg);mask-image:url(assets/images/info-circle-solid.svg);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.send-file-icon{-webkit-mask-image:url(assets/images/file-upload-solid.svg);mask-image:url(assets/images/file-upload-solid.svg)}.receive-file-icon,.send-file-icon{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity));-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.receive-file-icon{-webkit-mask-image:url(assets/images/file-download-solid.svg);mask-image:url(assets/images/file-download-solid.svg)}.folder-select-icon{--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(203 213 225/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);content:\"\";display:block;height:6rem;-webkit-mask-image:url(assets/images/folder-regular.svg);mask-image:url(assets/images/folder-regular.svg);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;transition-duration:.3s;width:6rem}.folder-select-icon:hover{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.file-select-icon{--tw-bg-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(203 213 225/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);content:\"\";display:block;height:6rem;-webkit-mask-image:url(assets/images/file-regular.svg);mask-image:url(assets/images/file-regular.svg);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;transition-duration:.3s;width:6rem}.file-select-icon:hover{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.cancel-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(226 232 240/var(--tw-text-opacity));padding:.5rem 1rem;transition-duration:.15s}.cancel-button:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.cancel-button:active{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}.cancel-button:disabled{opacity:.5}.tooltip{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);background-color:rgb(226 232 240/var(--tw-bg-opacity));border-color:rgb(15 118 110/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(30 41 59/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem;margin-top:-2rem;padding:.25rem;position:absolute;visibility:hidden}.has-tooltip:hover .tooltip{visibility:visible;z-index:50}.checkbox{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity));border-color:rgb(203 213 225/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;height:1rem;width:1rem}.checkbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.settings-button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity));border-radius:.5rem;color:rgb(226 232 240/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem;padding:.25rem;transition-duration:.15s}.settings-button:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.settings-button:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.settings-button:disabled{opacity:.5}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;left:0;right:0;top:0}.z-0{z-index:0}.m-2{margin:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-auto{margin-bottom:auto;margin-top:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.-mt-8{margin-top:-2rem}.mr-1{margin-right:.25rem}.mb-1{margin-bottom:.25rem}.mt-2{margin-top:.5rem}.mt-1{margin-top:.25rem}.ml-1{margin-left:.25rem}.mb-2{margin-bottom:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-24{height:6rem}.h-4{height:1rem}.h-56{height:14rem}.h-full{height:100%}.h-36{height:9rem}.w-28{width:7rem}.w-11\\/12{width:91.666667%}.w-full{width:100%}.w-24{width:6rem}.w-4{width:1rem}.w-72{width:18rem}.w-60{width:15rem}.max-w-md{max-width:28rem}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}.animate-pulse{-webkit-animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.list-disc{list-style-type:disc}.grid-flow-row{grid-auto-flow:row}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.place-items-center{place-items:center}.content-center{align-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-items-center{justify-items:center}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-l-md{border-bottom-left-radius:.375rem;border-top-left-radius:.375rem}.rounded-r-md{border-bottom-right-radius:.375rem;border-top-right-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-transparent{border-color:transparent}.border-green-700{--tw-border-opacity:1;border-color:rgb(15 118 110/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity))}.border-green-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity:1;background-color:rgb(19 78 74/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity:1;background-color:rgb(139 92 246/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity:0.5}.bg-opacity-90{--tw-bg-opacity:0.9}.bg-opacity-60{--tw-bg-opacity:0.6}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.p-2{padding:.5rem}.p-1{padding:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pt-2{padding-top:.5rem}.pb-2{padding-bottom:.5rem}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.leading-normal{line-height:1.5}.text-gray-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(17 94 89/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity:1;color:rgb(6 182 212/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity))}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color)}.shadow-inner,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.duration-150{transition-duration:.15s}.duration-300{transition-duration:.3s}main{height:100%;width:100%}div{overscroll:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.hover\\:bg-green-700:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110/var(--tw-bg-opacity))}.hover\\:bg-green-500:hover{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity))}.hover\\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.focus\\:border-transparent:focus{border-color:transparent}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-green-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(94 234 212/var(--tw-ring-opacity))}.active\\:bg-green-800:active{--tw-bg-opacity:1;background-color:rgb(17 94 89/var(--tw-bg-opacity))}.disabled\\:opacity-50:disabled{opacity:.5}");return new class extends lt{constructor(t){super(),ct(this,t,Zt,Yt,a,{})}}({target:document.body})}(); //# sourceMappingURL=bundle.js.map diff --git a/internal/update/selfupdate.go b/internal/update/selfupdate.go index c976a82..e631658 100644 --- a/internal/update/selfupdate.go +++ b/internal/update/selfupdate.go @@ -11,7 +11,7 @@ import ( "github.com/rhysd/go-github-selfupdate/selfupdate" ) -const Version = "0.1.6" +const Version = "0.1.7" func DoSelfUpdate() bool { v := semver.MustParse(Version)