2023-04-16 15:20:58 +03:00
( function ( ) { const t = document . createElement ( "link" ) . relList ; if ( t && t . supports && t . supports ( "modulepreload" ) ) return ; for ( const l of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) i ( l ) ; new MutationObserver ( l => { for ( const o of l ) if ( o . type === "childList" ) for ( const u of o . addedNodes ) u . tagName === "LINK" && u . rel === "modulepreload" && i ( u ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function n ( l ) { const o = { } ; return l . integrity && ( o . integrity = l . integrity ) , l . referrerpolicy && ( o . referrerPolicy = l . referrerpolicy ) , l . crossorigin === "use-credentials" ? o . credentials = "include" : l . crossorigin === "anonymous" ? o . credentials = "omit" : o . credentials = "same-origin" , o } function i ( l ) { if ( l . ep ) return ; l . ep = ! 0 ; const o = n ( l ) ; fetch ( l . href , o ) } } ) ( ) ; function V ( ) { } function hs ( e ) { return e ( ) } function ql ( ) { return Object . create ( null ) } function ue ( e ) { e . forEach ( hs ) } function Ks ( e ) { return typeof e == "function" } function ge ( e , t ) { return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function" } let Bn ; function Qs ( e , t ) { return Bn || ( Bn = document . createElement ( "a" ) ) , Bn . href = t , e === Bn . href } function Zs ( e ) { return Object . keys ( e ) . length === 0 } function xs ( e , ... t ) { if ( e == null ) return V ; const n = e . subscribe ( ... t ) ; return n . unsubscribe ? ( ) => n . unsubscribe ( ) : n } function _s ( e , t , n ) { e . $$ . on _destroy . push ( xs ( t , n ) ) } function s ( e , t ) { e . appendChild ( t ) } function m ( e , t , n ) { e . insertBefore ( t , n || null ) } function p ( e ) { e . parentNode . removeChild ( e ) } function zt ( e , t ) { for ( let n = 0 ; n < e . length ; n += 1 ) e [ n ] && e [ n ] . d ( t ) } function a ( e ) { return document . createElement ( e ) } function eo ( e ) { return document . createElementNS ( "http://www.w3.org/2000/svg" , e ) } function A ( e ) { return document . createTextNode ( e ) } function h ( ) { return A ( " " ) } function ti ( ) { return A ( "" ) } function L ( e , t , n , i ) { return e . addEventListener ( t , n , i ) , ( ) => e . removeEventListener ( t , n , i ) } function Wi ( e ) { return function ( t ) { return t . preventDefault ( ) , e . call ( this , t ) } } function r ( e , t , n ) { n == null ? e . removeAttribute ( t ) : e . getAttribute ( t ) !== n && e . setAttribute ( t , n ) } function le ( e ) { return e === "" ? null : + e } function to ( e ) { return Array . from ( e . childNodes ) } function K ( e , t ) { t = "" + t , e . wholeText !== t && ( e . data = t ) } function q ( e , t ) { e . value = t == null ? "" : t } function Wt ( e , t ) { for ( let n = 0 ; n < e . options . length ; n += 1 ) { const i = e . options [ n ] ; if ( i . _ _value === t ) { i . selected = ! 0 ; return } } e . selectedIndex = - 1 } function Pi ( e ) { const t = e . querySelector ( ":checked" ) || e . options [ 0 ] ; return t && t . _ _value } function Jn ( e , t , n ) { e . classList [ n ? "add" : "remove" ] ( t ) } class no { constructor ( t = ! 1 ) { this . is _svg = ! 1 , this . is _svg = t , this . e = this . n = null } c ( t ) { this . h ( t ) } m ( t , n , i = null ) { this . e || ( this . is _svg ? this . e = eo ( n . nodeName ) : this . e = a ( n . nodeName ) , this . t = n , this . c ( t ) ) , this . i ( i ) } h ( t ) { this . e . innerHTML = t , this . n = Array . from ( this . e . childNodes ) } i ( t ) { for ( let n = 0 ; n < this . n . length ; n += 1 ) m ( this . t , this . n [ n ] , t ) } p ( t ) { this . d ( ) , this . h ( t ) , this . i ( this . a ) } d ( ) { this . n . forEach ( p ) } } let Vt ; function Gt ( e ) { Vt = e } function bs ( ) { if ( ! Vt ) throw new Error ( "Function called outside component initialization" ) ; return Vt } function dt ( e ) { bs ( ) . $$ . on _mount . push ( e ) } function Ri ( e ) { bs ( ) . $$ . on _destroy . push ( e ) } const qt = [ ] , Oi = [ ] , Yn = [ ] , Fl = [ ] , io = Promise . resolve ( ) ; let Di = ! 1 ; function lo ( ) { Di || ( Di = ! 0 , io . then ( gs ) ) } function Pt ( e ) { Yn . push ( e ) } const Ei = new Set ; let Xn = 0 ; function gs ( ) { const e = Vt ; do { for ( ; Xn < qt . length ; ) { const t = qt [ Xn ] ; Xn ++ , Gt ( t ) , so ( t . $$ ) } for ( Gt ( null ) , qt . length = 0 , Xn = 0 ; Oi . length ; ) Oi . pop ( ) ( ) ; for ( let t = 0 ; t < Yn . length ; t += 1 ) { const n = Yn [ t ] ; Ei . has ( n ) || ( Ei . add ( n ) , n ( ) ) } Yn . length = 0 } while ( qt . length ) ; for ( ; Fl . length ; ) Fl . pop ( ) ( ) ; Di = ! 1 , Ei . clear ( ) , Gt ( e ) } function so ( e ) { if ( e . fragment !== null ) { e . update ( ) , ue ( e . before _update ) ; const t = e . dirty ; e . dirty = [ - 1 ] , e . fragment && e . fragment . p ( e . ctx , t ) , e . after _update . forEach ( Pt ) } } const $n = new Set ; let ft ; function ni ( ) { ft = { r : 0 , c : [ ] , p : ft } } function ii ( ) { ft . r || ue ( ft . c ) , ft = ft . p } function Se ( e , t ) { e && e . i && ( $n . delete ( e ) , e . i ( t ) ) } function Ie ( e , t , n , i ) { if ( e && e . o ) { if ( $n . has ( e ) ) return ; $n . add ( e ) , ft . c . push ( ( ) => { $n . delete ( e ) , i && ( n && e . d ( 1 ) , i ( ) ) } ) , e . o ( t ) } else i && i ( ) } function Qn ( e ) { e && e . c ( ) } function Bt ( e , t , n , i ) { const { fragment : l , on _mount : o , on _destroy : u , after _update : d } = e . $$ ; l && l . m ( t , n ) , i || Pt ( ( ) => { const c = o . map ( hs ) . filter ( Ks ) ; u ? u . push ( ... c ) : ue ( c ) , e . $$ . on _mount = [ ] } ) , d . forEach ( Pt ) } function Jt ( e , t ) { const n = e . $$ ; n . fragment !== null && ( ue ( n . on _destroy ) , n . fragment && n
` )}};async function Ii(e,t){return E({__tauriModule:"Shell",message:{cmd:"open",path:e,with:t}})}var mo={};We(mo,{TauriEvent:()=>Ts,emit:()=>li,listen:()=>Yt,once:()=>Cs});async function ws(e,t){return E({__tauriModule:"Event",message:{cmd:"unlisten",event:e,eventId:t}})}async function ks(e,t,n){await E({__tauriModule:"Event",message:{cmd:"emit",event:e,windowLabel:t,payload:n}})}async function Ni(e,t,n){return E({__tauriModule:"Event",message:{cmd:"listen",event:e,windowLabel:t,handler:mt(n)}}).then(i=>async()=>ws(e,i))}async function Ms(e,t,n){return Ni(e,t,i=>{n(i),ws(e,i.id).catch(()=>{})})}var Ts=(e=>(e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_FILE_DROP="tauri://file-drop",e.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",e.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",e.MENU="tauri://menu",e.CHECK_UPDATE="tauri://update",e.UPDATE_AVAILABLE="tauri://update-available",e.INSTALL_UPDATE="tauri://update-install",e.STATUS_UPDATE="tauri://update-status",e.DOWNLOAD_PROGRESS="tauri://update-download-progress",e))(Ts||{});async function Yt(e,t){return Ni(e,null,t)}async function Cs(e,t){return Ms(e,null,t)}async function li(e,t){return ks(e,void 0,t)}var ho={};We(ho,{CloseRequestedEvent:()=>zs,LogicalPosition:()=>Ss,LogicalSize:()=>xn,PhysicalPosition:()=>nt,PhysicalSize:()=>pt,UserAttentionType:()=>Hi,WebviewWindow:()=>ht,WebviewWindowHandle:()=>As,WindowManager:()=>Es,appWindow:()=>Fe,availableMonitors:()=>go,currentMonitor:()=>_o,getAll:()=>Ls,getCurrent:()=>Ft,primaryMonitor:()=>bo});var xn=class{constructor(e,t){this.type="Logical",this.width=e,this.height=t}},pt=class{constructor(e,t){this.type="Physical",this.width=e,this.height=t}toLogical(e){return new xn(this.width/e,this.height/e)}},Ss=class{constructor(e,t){this.type="Logical",this.x=e,this.y=t}},nt=class{constructor(e,t){this.type="Physical",this.x=e,this.y=t}toLogical(e){return new Ss(this.x/e,this.y/e)}},Hi=(e=>(e[e.Critical=1]="Critical",e[e.Informational=2]="Informational",e))(Hi||{});function Ft(){return new ht(window.__TAURI_METADATA__.__currentWindow.label,{skip:!0})}function Ls(){return window.__TAURI_METADATA__.__windows.map(e=>new ht(e.label,{skip:!0}))}var Gl=["tauri://created","tauri://error"],As=class{constructor(e){this.label=e,this.listeners=Object.create(null)}async listen(e,t){return this._handleTauriEvent(e,t)?Promise.resolve(()=>{let n=this.listeners[e];n.splice(n.indexOf(t),1)}):Ni(e,this.label,t)}async once(e,t){return this._handleTauriEvent(e,t)?Promise.resolve(()=>{let n=this.listeners[e];n.splice(n.indexOf(t),1)}):Ms(e,this.label,t)}async emit(e,t){if(Gl.includes(e)){for(let n of this.listeners[e]||[])n({event:e,id:-1,windowLabel:this.label,payload:t});return Promise.resolve()}return ks(e,this.label,t)}_handleTauriEvent(e,t){return Gl.includes(e)?(e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t],!0):!1}},Es=class extends As{async scaleFactor(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"scaleFactor"}}}})}async innerPosition(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerPosition"}}}}).then(({x:e,y:t})=>new nt(e,t))}async outerPosition(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerPosition"}}}}).then(({x:e,y:t})=>new nt(e,t))}async innerSize(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerSize"}}}}).then(({width:e,height:t})=>new pt(e,t))}async outerSize(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerSize"}}}}).then(({width:e,height:t})=>new pt(e,t))}async isFullscreen(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{typ
Note that this is not an issue if running this frontend on a browser instead of a Tauri window . ` ),Fe=new ht("main",{skip:!0}));function Ui(e){return e===null?null:{name:e.name,scaleFactor:e.scaleFactor,position:new nt(e.position.x,e.position.y),size:new pt(e.size.width,e.size.height)}}async function _o(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"currentMonitor"}}}}).then(Ui)}async function bo(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"primaryMonitor"}}}}).then(Ui)}async function go(){return E({__tauriModule:"Window",message:{cmd:"manage",data:{cmd:{type:"availableMonitors"}}}}).then(e=>e.map(Ui))}function yo(){return navigator.appVersion.includes("Win")}var vo={};We(vo,{EOL:()=>wo,arch:()=>To,platform:()=>Ws,tempdir:()=>Co,type:()=>Mo,version:()=>ko});var wo=yo()? ` \ r
2022-07-04 04:15:23 +03:00
` : `
2023-04-16 15:20:58 +03:00
` ;async function Ws(){return E({__tauriModule:"Os",message:{cmd:"platform"}})}async function ko(){return E({__tauriModule:"Os",message:{cmd:"version"}})}async function Mo(){return E({__tauriModule:"Os",message:{cmd:"osType"}})}async function To(){return E({__tauriModule:"Os",message:{cmd:"arch"}})}async function Co(){return E({__tauriModule:"Os",message:{cmd:"tempdir"}})}var So={};We(So,{getName:()=>Os,getTauriVersion:()=>Ds,getVersion:()=>Ps,hide:()=>Is,show:()=>Rs});async function Ps(){return E({__tauriModule:"App",message:{cmd:"getAppVersion"}})}async function Os(){return E({__tauriModule:"App",message:{cmd:"getAppName"}})}async function Ds(){return E({__tauriModule:"App",message:{cmd:"getTauriVersion"}})}async function Rs(){return E({__tauriModule:"App",message:{cmd:"show"}})}async function Is(){return E({__tauriModule:"App",message:{cmd:"hide"}})}var Lo={};We(Lo,{exit:()=>Ns,relaunch:()=>ji});async function Ns(e=0){return E({__tauriModule:"Process",message:{cmd:"exit",exitCode:e}})}async function ji(){return E({__tauriModule:"Process",message:{cmd:"relaunch"}})}function Ao(e){let t,n,i,l,o,u,d,c,f,b,k,g,w,_,v,S,D,U,O,F,W,C,T,H,M,I;return{c(){t=a("p"),t.innerHTML= ` This is a demo of Tauri & # 39 ; s API capabilities using the < code > @ tauri - apps / api < / c o d e > p a c k a g e . I t & # 3 9 ; s u s e d a s t h e m a i n v a l i d a t i o n a p p , s e r v i n g a s t h e t e s t b e d o f o u r
2022-07-04 04:15:23 +03:00
development process . In the future , this app will be used on Tauri & # 39 ; s integration
2023-04-16 15:20:58 +03:00
tests . ` ,n=h(),i=a("br"),l=h(),o=a("br"),u=h(),d=a("pre"),c=A("App name: "),f=a("code"),b=A(e[2]),k=A( `
App version : ` ),g=a("code"),w=A(e[0]),_=A( `
Tauri version : ` ),v=a("code"),S=A(e[1]),D=A( `
` ),U=h(),O=a("br"),F=h(),W=a("div"),C=a("button"),C.textContent="Close application",T=h(),H=a("button"),H.textContent="Relaunch application",r(C,"class","btn"),r(H,"class","btn"),r(W,"class","flex flex-wrap gap-1 shadow-")},m(j,J){m(j,t,J),m(j,n,J),m(j,i,J),m(j,l,J),m(j,o,J),m(j,u,J),m(j,d,J),s(d,c),s(d,f),s(f,b),s(d,k),s(d,g),s(g,w),s(d,_),s(d,v),s(v,S),s(d,D),m(j,U,J),m(j,O,J),m(j,F,J),m(j,W,J),s(W,C),s(W,T),s(W,H),M||(I=[L(C,"click",e[3]),L(H,"click",e[4])],M=!0)},p(j,[J]){J&4&&K(b,j[2]),J&1&&K(w,j[0]),J&2&&K(S,j[1])},i:V,o:V,d(j){j&&p(t),j&&p(n),j&&p(i),j&&p(l),j&&p(o),j&&p(u),j&&p(d),j&&p(U),j&&p(O),j&&p(F),j&&p(W),M=!1,ue(I)}}}function Eo(e,t,n){let i="0.0.0",l="0.0.0",o="Unknown";Os().then(c=>{n(2,o=c)}),Ps().then(c=>{n(0,i=c)}),Ds().then(c=>{n(1,l=c)});async function u(){await Ns()}async function d(){await ji()}return[i,l,o,u,d]}class zo extends Me{constructor(t){super(),ke(this,t,Eo,Ao,ge,{})}}function Wo(e){let t,n,i,l,o,u,d,c,f,b,k,g,w;return{c(){t=a("p"),t.innerHTML= ` This binary can be run from the terminal and takes the following arguments :
2022-07-04 04:15:23 +03:00
< code class = "code-block flex flex-wrap my-2" > < pre > -- config & lt ; PATH & gt ;
-- theme & lt ; light | dark | system & gt ;
-- verbose < / p r e > < / c o d e >
2023-04-16 15:20:58 +03:00
Additionally , it has a < code > update -- background < / c o d e > s u b c o m m a n d . ` , n = h ( ) , i = a ( " b r " ) , l = h ( ) , o = a ( " d i v " ) , o . t e x t C o n t e n t = " N o t e t h a t t h e a r g u m e n t s a r e o n l y p a r s e d , n o t i m p l e m e n t e d . " , u = h ( ) , d = a ( " b r " ) , c = h ( ) , f = a ( " b r " ) , b = h ( ) , k = a ( " b u t t o n " ) , k . t e x t C o n t e n t = " G e t m a t c h e s " , r ( o , " c l a s s " , " n o t e " ) , r ( k , " c l a s s " , " b t n " ) , r ( k , " i d " , " c l i - m a t c h e s " ) } , m ( _ , v ) { m ( _ , t , v ) , m ( _ , n , v ) , m ( _ , i , v ) , m ( _ , l , v ) , m ( _ , o , v ) , m ( _ , u , v ) , m ( _ , d , v ) , m ( _ , c , v ) , m ( _ , f , v ) , m ( _ , b , v ) , m ( _ , k , v ) , g | | ( w = L ( k , " c l i c k " , e [ 0 ] ) , g = ! 0 ) } , p : V , i : V , o : V , d ( _ ) { _ & & p ( t ) , _ & & p ( n ) , _ & & p ( i ) , _ & & p ( l ) , _ & & p ( o ) , _ & & p ( u ) , _ & & p ( d ) , _ & & p ( c ) , _ & & p ( f ) , _ & & p ( b ) , _ & & p ( k ) , g = ! 1 , w ( ) } } } f u n c t i o n P o ( e , t , n ) { l e t { o n M e s s a g e : i } = t ; f u n c t i o n l ( ) { X t ( " p l u g i n : c l i | c l i _ m a t c h e s " ) . t h e n ( i ) . c a t c h ( i ) } r e t u r n e . $ $ s e t = o = > { " o n M e s s a g e " i n o & & n ( 1 , i = o . o n M e s s a g e ) } , [ l , i ] } c l a s s O o e x t e n d s M e { c o n s t r u c t o r ( t ) { s u p e r ( ) , k e ( t h i s , t , P o , W o , g e , { o n M e s s a g e : 1 } ) } } f u n c t i o n D o ( e ) { l e t t , n , i , l , o , u , d , c ; r e t u r n { c ( ) { t = a ( " d i v " ) , n = a ( " b u t t o n " ) , n . t e x t C o n t e n t = " C a l l L o g A P I " , i = h ( ) , l = a ( " b u t t o n " ) , l . t e x t C o n t e n t = " C a l l R e q u e s t ( a s y n c ) A P I " , o = h ( ) , u = a ( " b u t t o n " ) , u . t e x t C o n t e n t = " S e n d e v e n t t o R u s t " , r ( n , " c l a s s " , " b t n " ) , r ( n , " i d " , " l o g " ) , r ( l , " c l a s s " , " b t n " ) , r ( l , " i d " , " r e q u e s t " ) , r ( u , " c l a s s " , " b t n " ) , r ( u , " i d " , " e v e n t " ) } , m ( f , b ) { m ( f , t , b ) , s ( t , n ) , s ( t , i ) , s ( t , l ) , s ( t , o ) , s ( t , u ) , d | | ( c = [ L ( n , " c l i c k " , e [ 0 ] ) , L ( l , " c l i c k " , e [ 1 ] ) , L ( u , " c l i c k " , e [ 2 ] ) ] , d = ! 0 ) } , p : V , i : V , o : V , d ( f ) { f & & p ( t ) , d = ! 1 , u e ( c ) } } } f u n c t i o n R o ( e , t , n ) { l e t { o n M e s s a g e : i } = t , l ; d t ( a s y n c ( ) = > { l = a w a i t Y t ( " r u s t - e v e n t " , i ) } ) , R i ( ( ) = > { l & & l ( ) } ) ; f u n c t i o n o ( ) { X t ( " l o g _ o p e r a t i o n " , { e v e n t : " t a u r i - c l i c k " , p a y l o a d : " t h i s p a y l o a d i s o p t i o n a l b e c a u s e w e u s e d O p t i o n i n R u s t " } ) } f u n c t i o n u ( ) { X t ( " p e r f o r m _ r e q u e s t " , { e n d p o i n t : " d u m m y e n d p o i n t a r g " , b o d y : { i d : 5 , n a m e : " t e s t " } } ) . t h e n ( i ) . c a t c h ( i ) } f u n c t i o n d ( ) { l i ( " j s - e v e n t " , " t h i s i s t h e p a y l o a d s t r i n g " ) } r e t u r n e . $ $ s e t = c = > { " o n M e s s a g e " i n c & & n ( 3 , i = c . o n M e s s a g e ) } , [ o , u , d , i ] } c l a s s I o e x t e n d s M e { c o n s t r u c t o r ( t ) { s u p e r ( ) , k e ( t h i s , t , R o , D o , g e , { o n M e s s a g e : 3 } ) } } v a r N o = { } ; W e ( N o , { a s k : ( ) = > U s , c o n f i r m : ( ) = > U o , m e s s a g e : ( ) = > H o , o p e n : ( ) = > q i , s a v e : ( ) = > H s } ) ; a s y n c f u n c t i o n q i ( e = { } ) { r e t u r n t y p e o f e = = " o b j e c t " & & O b j e c t . f r e e z e ( e ) , E ( { _ _ t a u r i M o d u l e : " D i a l o g " , m e s s a g e : { c m d : " o p e n D i a l o g " , o p t i o n s : e } } ) } a s y n c f u n c t i o n H s ( e = { } ) { r e t u r n t y p e o f e = = " o b j e c t " & & O b j e c t . f r e e z e ( e ) , E ( { _ _ t a u r i M o d u l e : " D i a l o g " , m e s s a g e : { c m d : " s a v e D i a l o g " , o p t i o n s : e } } ) } a s y n c f u n c t i o n H o ( e , t ) { v a r i , l ; l e t n = t y p e o f t = = " s t r i n g " ? { t i t l e : t } : t ; r e t u r n E ( { _ _ t a u r i M o d u l e : " D i a l o g " , m e s s a g e : { c m d : " m e s s a g e D i a l o g " , m e s s a g e : e . t o S t r i n g ( ) , t i t l e : ( i = n = = n u l l ? v o i d 0 : n . t i t l e ) = = n u l l ? v o i d 0 : i . t o S t r i n g ( ) , t y p e : n = = n u l l ? v o i d 0 : n . t y p e , b u t t o n L a b e l : ( l = n = = n u l l ? v o i d 0 : n . o k L a b e l ) = = n u l l ? v o i d 0 : l . t o S t r i n g ( ) } } ) } a s y n c f u n c t i o n U s ( e , t ) { v a r i , l , o , u , d ; l e t n = t y p e o f t = = " s t r i n g " ? { t i t l e : t } : t ; r e t u r n E ( { _ _ t a u r i M o d u l e : " D i a l o g " , m e s s a g e : { c m d : " a s k D i a l o g " , m e s s a g e : e . t o S t r i n g ( ) , t i t l e : ( i = n = = n u l l ? v o i d 0 : n . t i t l e ) = = n u l l ? v o i d 0 : i . t o S t r i n g ( ) , t y p e : n = = n u l l ? v o i d 0 : n . t y p e , b u t t o n L a b e l s : [ ( o = ( l = n = = n u l l ? v o i d 0 : n . o k L a b e l ) = = n u l l ? v o i d 0 : l . t o S t r i n g ( ) ) ! = n u l l ? o : " Y e s " , ( d = ( u = n = = n u l l ? v o i d 0 : n . c a n c e l L a b e l ) = = n u l l ? v o i d 0 : u . t o S t r i n g ( ) ) ! = n u l l ? d : " N o " ] } } ) } a s y n c f u n c t i o n U o ( e , t ) { v a r i , l , o , u , d ; l e t n = t y p e o f t = = " s t r i n g " ? { t i t l e : t } : t ; r e t u r n E ( { _ _ t a u r i M o d u l e : " D i a l o g " , m e s s a g e : { c m d : " c o n f i r m D i a l o g " , m e s s a g e : e . t o S t r i n g ( ) , t i t l e : ( i = n = = n u l l ? v o i d 0 : n . t i t l e ) = = n u l l ? v o i d 0 : i . t o S t r i n g ( ) , t y p e : n = = n u l l ? v o i d 0 : n . t y p e , b u t t o n L a b e l s : [ ( o = ( l = n = = n u l l ? v o i d 0 : n . o k L a b e l ) = = n u l l ? v o i d 0 : l . t o S t r i n g ( ) ) ! = n u l l ? o : " O k " , ( d = ( u = n = = n u l l ? v o i d 0 : n . c a n c e l L a b e l ) = = n u l l ? v o i d 0 : u . t o S t r i n g ( ) ) ! = n u l l ? d : " C a n c e l " ] } } ) } f u n c t i o n j o ( e ) { l e t t , n , i , l , o , u , d , c , f , b , k , g , w , _ , v , S , D , U , O , F , W , C , T , H ; r e t u r n { c ( ) { t = a ( " d i v " ) , n = a ( " i n p u t " ) , i = h ( ) , l = a ( " i n p u t " ) , o = h ( ) , u = a ( " b r " ) , d = h ( ) , c = a ( " d i v " ) , f = a ( " i n p u t " ) , b = h ( ) , k = a ( " l a b e l " ) , k . t e x t C o n t e n t = " M u l t i p l e " , g = h ( ) , w = a ( " d i v " ) , _ = a ( " i n p u t " ) , v = h ( ) , S = a ( " l a b e l " ) , S . t e x t C o n t e n t = " D i r e c t o r y " , D = h ( ) , U = a ( " b r " ) , O = h ( ) , F = a ( " b u t t o n " ) , F . t e x t C o n t e n t = " O p e n d i a l o g " , W = h ( ) , C = a ( " b u t t o n " ) , C . t e x t C o n t e n t = " O p e n s a v e d i a l o g " , r ( n , " c l a s s " , " i n p u t " ) , r ( n , " i d " , " d i a l o g - d e f a u l t - p a t h " ) , r ( n , " p l a c e h o l d e r " , " D e f a u l t p a t h " ) , r ( l , " c l a s s " , " i n p u t " ) , r ( l , " i d " , " d i a l o g - f i l t e r " ) , r ( l , " p l a c e h o l d e r " , " E x t e n s i o n s f i l t e r , c o m m a - s e p a r a t e d " ) , r ( t , " c l a s s " , " f l e x g a p - 2 c h i l d r e n : g r o w " ) , r ( f , " t y p e " , " c h e c k b o x " ) , r ( f , " i d " , " d i a l o g - m u l t i p l e " ) , r ( k , " f o r " , " d i a l o g - m u l t i p l e " ) , r ( _ , " t y p e " , " c h e c k b o x " ) , r ( _ , " i d " , " d i a l o g - d i r e c t o r y " ) , r ( S , " f o r " , " d i a l o g - d i r e c t o r y
try setting the \ ` responseType \` option to \` ResponseType.Text \` or \` ResponseType.Binary \` if the API does not return a JSON response. ` ) } return i } return i } ) } async get ( e , t ) { return this . request ( { method : "GET" , url : e , ... t } ) } async post ( e , t , n ) { return this . request ( { method : "POST" , url : e , body : t , ... n } ) } async put ( e , t , n ) { return this . request ( { method : "PUT" , url : e , body : t , ... n } ) } async patch ( e , t ) { return this . request ( { method : "PATCH" , url : e , ... t } ) } async delete ( e , t ) { return this . request ( { method : "DELETE" , url : e , ... t } ) } } ; async function ei ( e ) { return E ( { _ _tauriModule : "Http" , message : { cmd : "createClient" , options : e } } ) . then ( t => new qs ( t ) ) } var zi = null ; async function Vo ( e , t ) { var n ; return zi === null && ( zi = await ei ( ) ) , zi . request ( { url : e , method : ( n = t == null ? void 0 : t . method ) != null ? n : "GET" , ... t } ) } function Vl ( e , t , n ) { const i = e . slice ( ) ; return i [ 12 ] = t [ n ] , i [ 14 ] = n , i } function Bl ( e ) { let t , n , i , l , o , u , d , c , f , b , k , g , w , _ , v , S , D , U = e [ 5 ] , O = [ ] ; for ( let T = 0 ; T < U . length ; T += 1 ) O [ T ] = Yl ( Vl ( e , U , T ) ) ; const F = T => Ie ( O [ T ] , 1 , 1 , ( ) => { O [ T ] = null } ) ; let W = ! e [ 3 ] && $l ( ) , C = ! e [ 3 ] && e [ 8 ] && Kl ( ) ; return { c ( ) { t = a ( "span" ) , n = a ( "span" ) , i = A ( e [ 6 ] ) , l = h ( ) , o = a ( "ul" ) ; for ( let T = 0 ; T < O . length ; T += 1 ) O [ T ] . c ( ) ; u = h ( ) , d = a ( "span" ) , c = A ( e [ 7 ] ) , W && W . c ( ) , f = h ( ) , b = a ( "span" ) , k = A ( e [ 6 ] ) , g = A ( Yo ) , w = A ( e [ 7 ] ) , C && C . c ( ) , _ = ti ( ) , r ( n , "class" , "bracket svelte-gbh3pt" ) , r ( n , "tabindex" , "0" ) , r ( o , "class" , "svelte-gbh3pt" ) , r ( d , "class" , "bracket svelte-gbh3pt" ) , r ( d , "tabindex" , "0" ) , r ( t , "class" , "svelte-gbh3pt" ) , Jn ( t , "hidden" , e [ 8 ] ) , r ( b , "class" , "bracket svelte-gbh3pt" ) , r ( b , "tabindex" , "0" ) , Jn ( b , "hidden" , ! e [ 8 ] ) } , m ( T , H ) { m ( T , t , H ) , s ( t , n ) , s ( n , i ) , s ( t , l ) , s ( t , o ) ; for ( let M = 0 ; M < O . length ; M += 1 ) O [ M ] . m ( o , null ) ; s ( t , u ) , s ( t , d ) , s ( d , c ) , W && W . m ( t , null ) , m ( T , f , H ) , m ( T , b , H ) , s ( b , k ) , s ( b , g ) , s ( b , w ) , C && C . m ( T , H ) , m ( T , _ , H ) , v = ! 0 , S || ( D = [ L ( n , "click" , e [ 11 ] ) , L ( d , "click" , e [ 11 ] ) , L ( b , "click" , e [ 11 ] ) ] , S = ! 0 ) } , p ( T , H ) { if ( ( ! v || H & 64 ) && K ( i , T [ 6 ] ) , H & 1591 ) { U = T [ 5 ] ; let M ; for ( M = 0 ; M < U . length ; M += 1 ) { const I = Vl ( T , U , M ) ; O [ M ] ? ( O [ M ] . p ( I , H ) , Se ( O [ M ] , 1 ) ) : ( O [ M ] = Yl ( I ) , O [ M ] . c ( ) , Se ( O [ M ] , 1 ) , O [ M ] . m ( o , null ) ) } for ( ni ( ) , M = U . length ; M < O . length ; M += 1 ) F ( M ) ; ii ( ) } ( ! v || H & 128 ) && K ( c , T [ 7 ] ) , T [ 3 ] ? W && ( W . d ( 1 ) , W = null ) : W || ( W = $l ( ) , W . c ( ) , W . m ( t , null ) ) , H & 256 && Jn ( t , "hidden" , T [ 8 ] ) , ( ! v || H & 64 ) && K ( k , T [ 6 ] ) , ( ! v || H & 128 ) && K ( w , T [ 7 ] ) , H & 256 && Jn ( b , "hidden" , ! T [ 8 ] ) , ! T [ 3 ] && T [ 8 ] ? C || ( C = Kl ( ) , C . c ( ) , C . m ( _ . parentNode , _ ) ) : C && ( C . d ( 1 ) , C = null ) } , i ( T ) { if ( ! v ) { for ( let H = 0 ; H < U . length ; H += 1 ) Se ( O [ H ] ) ; v = ! 0 } } , o ( T ) { O = O . filter ( Boolean ) ; for ( let H = 0 ; H < O . length ; H += 1 ) Ie ( O [ H ] ) ; v = ! 1 } , d ( T ) { T && p ( t ) , zt ( O , T ) , W && W . d ( ) , T && p ( f ) , T && p ( b ) , C && C . d ( T ) , T && p ( _ ) , S = ! 1 , ue ( D ) } } } function Jl ( e ) { let t , n , i = e [ 12 ] + "" , l , o ; return { c ( ) { t = a ( "span" ) , n = A ( '"' ) , l = A ( i ) , o = A ( '":' ) , r ( t , "class" , "key" ) } , m ( u , d ) { m ( u , t , d ) , s ( t , n ) , s ( t , l ) , s ( t , o ) } , p ( u , d ) { d & 32 && i !== ( i = u [ 12 ] + "" ) && K ( l , i ) } , d ( u ) { u && p ( t ) } } } function Bo ( e ) { let t , n = e [ 10 ] ( e [ 0 ] [ e [ 12 ] ] ) + "" , i , l , o = e [ 14 ] < e [ 5 ] . length - 1 && Xl ( ) ; return { c ( ) { t = a ( "span" ) , i = A ( n ) , o && o . c ( ) , r ( t , "class" , l = "val " + e [ 9 ] ( e [ 0 ] [ e [ 12 ] ] ) + " svelte-gbh3pt" ) } , m ( u , d ) { m ( u , t , d ) , s ( t , i ) , o && o . m ( t , null ) } , p ( u , d ) { d & 33 && n !== ( n = u [ 10 ] ( u [ 0 ] [ u [ 12 ] ] ) + "" ) && K ( i , n ) , u [ 14 ] < u [ 5 ] . length - 1 ? o || ( o = Xl ( ) , o . c ( ) , o . m ( t , null ) ) : o && ( o . d ( 1 ) , o = null ) , d & 33 && l !== ( l = "val " + u [ 9 ] ( u [ 0 ] [ u [ 12 ] ] ) + " svelte-gbh3pt" ) && r ( t , "class" , l ) } , i : V , o : V , d ( u ) { u && p ( t ) , o && o . d ( ) } } } function Jo ( e ) { let t , n ; return t = new Fs ( { props : { json : e [ 0 ] [ e [ 12 ] ] , depth : e [ 1 ] , _lvl : e [ 2 ] + 1 , _last : e [ 14 ] === e [ 5 ] . length - 1 } } ) , { c ( ) { Qn ( t . $$ . fragment ) } , m ( i , l ) { Bt ( t , i , l ) , n = ! 0 } , p ( i , l ) { const o = { } ; l & 33 && ( o . json = i [ 0 ] [ i [ 12 ] ] ) , l & 2 && ( o . depth = i [ 1 ] ) , l & 4 && ( o . _lvl = i [ 2 ] + 1 ) , l & 32 && ( o . _last = i [ 14 ] === i [ 5 ] . length - 1 ) , t . $set ( o ) } , i ( i ) { n || ( Se ( t . $$ . fragment , i ) , n = ! 0 ) } , o ( i ) { Ie ( t . $$ . fragment , i ) , n = ! 1 } , d ( i ) { Jt ( t , i ) } } } function Xl ( e ) { let t ; return { c ( ) { t = a ( "span" ) , t . textContent = "," , r ( t , "class" , "comma svelte-gbh3pt" ) } , m ( n , i ) { m ( n , t , i ) } , d ( n ) { n && p ( t ) } } } function Yl ( e ) { let t , n , i , l , o , u , d , c = ! e [ 4 ] && Jl ( e ) ; const f = [ Jo , Bo ] , b = [ ] ; function k ( g , w ) { return w & 33 && ( i = null ) , i == null && ( i = g [ 9 ] ( g [ 0 ] [ g [ 12 ] ] ) === "object" ) , i ? 0 : 1 } return l = k ( e , - 1 ) , o = b [ l ] = f [ l ] ( e ) , { c ( ) { t = a ( "li" ) , c && c . c ( ) , n = h ( ) , o . c ( ) , u = h ( ) } , m ( g , w ) { m ( g , t , w ) , c && c . m ( t , null ) , s ( t , n ) , b [ l ] . m ( t , null ) , s ( t , u ) , d = ! 0 } , p ( g , w ) { g [ 4 ] ? c && ( c . d ( 1 ) , c = null ) : c ? c . p ( g , w ) : ( c = Jl ( g ) , c . c ( ) , c . m ( t , n ) ) ; let _ = l ; l = k ( g , w ) , l === _ ? b [ l ] . p ( g , w ) : ( ni ( ) , Ie ( b [ _ ] , 1 , 1 , ( ) => { b [ _ ] = null } ) , ii ( ) , o = b [ l ] , o ? o . p ( g , w ) : ( o = b [ l ] = f [ l ] ( g ) , o . c ( ) ) , Se ( o , 1 ) , o . m ( t , u ) ) } , i ( g ) { d || ( Se ( o ) , d = ! 0 ) } ,
Multipart ` ),te=h(),Y=a("br"),se=h(),ee=a("br"),R=h(),X=a("button"),X.textContent="Post it",Z=h(),_e=a("br"),fe=h(),pe=a("br"),ye=h(),Qn(oe. $ $ .fragment),i.__value="GET",i.value=i.__value,l.__value="POST",l.value=l.__value,o.__value="PUT",o.value=o.__value,u.__value="PATCH",u.value=u.__value,d.__value="DELETE",d.value=d.__value,r(n,"class","input"),r(n,"id","request-method"),e[0]===void 0&&Pt(()=>e[9].call(n)),r(k,"class","input h-auto w-100%"),r(k,"id","request-body"),r(k,"placeholder","Request body"),r(k,"rows","5"),r(v,"class","btn"),r(v,"id","make-request"),r(C,"class","input"),r(H,"class","input"),r(W,"class","flex gap-2 children:grow"),r(ne,"type","checkbox"),r(X,"class","btn"),r(X,"type","button")},m(z,G){m(z,t,G),s(t,n),s(n,i),s(n,l),s(n,o),s(n,u),s(n,d),Wt(n,e[0]),s(t,c),s(t,f),s(t,b),s(t,k),q(k,e[1]),s(t,g),s(t,w),s(t,_),s(t,v),m(z,S,G),m(z,D,G),m(z,U,G),m(z,O,G),m(z,F,G),m(z,W,G),s(W,C),q(C,e[2]),s(W,T),s(W,H),q(H,e[3]),m(z,M,G),m(z,I,G),m(z,j,G),m(z,J,G),s(J,ne),ne.checked=e[5],s(J,ce),m(z,te,G),m(z,Y,G),m(z,se,G),m(z,ee,G),m(z,R,G),m(z,X,G),m(z,Z,G),m(z,_e,G),m(z,fe,G),m(z,pe,G),m(z,ye,G),Bt(oe,z,G),x=!0,me||(Le=[L(n,"change",e[9]),L(k,"input",e[10]),L(t,"submit",Wi(e[6])),L(C,"input",e[11]),L(H,"input",e[12]),L(ne,"change",e[13]),L(X,"click",e[7])],me=!0)},p(z,[G]){G&1&&Wt(n,z[0]),G&2&&q(k,z[1]),G&4&&C.value!==z[2]&&q(C,z[2]),G&8&&H.value!==z[3]&&q(H,z[3]),G&32&&(ne.checked=z[5]);const Ae={};G&16&&(Ae.json=z[4]),oe. $ set(Ae)},i(z){x||(Se(oe. $ $ .fragment,z),x=!0)},o(z){Ie(oe. $ $ .fragment,z),x=!1},d(z){z&&p(t),z&&p(S),z&&p(D),z&&p(U),z&&p(O),z&&p(F),z&&p(W),z&&p(M),z&&p(I),z&&p(j),z&&p(J),z&&p(te),z&&p(Y),z&&p(se),z&&p(ee),z&&p(R),z&&p(X),z&&p(Z),z&&p(_e),z&&p(fe),z&&p(pe),z&&p(ye),Jt(oe,z),me=!1,ue(Le)}}}function Qo(e,t,n){let i="GET",l="",{onMessage:o}=t;async function u(){const D=await ei().catch(F=>{throw o(F),F}),O={url:"http://localhost:3003",method:i||"GET"||"GET"};l.startsWith("{")&&l.endsWith("}")||l.startsWith("[")&&l.endsWith("]")?O.body=it.json(JSON.parse(l)):l!==""&&(O.body=it.text(l)),D.request(O).then(o).catch(o)}let d="baz",c="qux",f=null,b=!0;async function k(){const D=await ei().catch(U=>{throw o(U),U});n(4,f=await D.request({url:"http://localhost:3003",method:"POST",body:it.form({foo:d,bar:c}),headers:b?{"Content-Type":"multipart/form-data"}:void 0,responseType:Fi.Text}))}function g(){i=Pi(this),n(0,i)}function w(){l=this.value,n(1,l)}function _(){d=this.value,n(2,d)}function v(){c=this.value,n(3,c)}function S(){b=this.checked,n(5,b)}return e. $ $ set=D=>{"onMessage"in D&&n(8,o=D.onMessage)},[i,l,d,c,f,b,u,k,o,g,w,_,v,S]}class Zo extends Me{constructor(t){super(),ke(this,t,Qo,Ko,ge,{onMessage:8})}}function xo(e){let t,n,i;return{c(){t=a("button"),t.textContent="Send test notification",r(t,"class","btn"),r(t,"id","notification")},m(l,o){m(l,t,o),n||(i=L(t,"click",ea),n=!0)},p:V,i:V,o:V,d(l){l&&p(t),n=!1,i()}}}function ea(){new Notification("Notification title",{body:"This is the notification body"})}function ta(e,t,n){let{onMessage:i}=t;return e. $ $ set=l=>{"onMessage"in l&&n(0,i=l.onMessage)},[i]}class na extends Me{constructor(t){super(),ke(this,t,ta,xo,ge,{onMessage:0})}}function Ql(e,t,n){const i=e.slice();return i[69]=t[n],i}function Zl(e,t,n){const i=e.slice();return i[72]=t[n],i}function xl(e){let t,n,i,l,o,u,d=Object.keys(e[1]),c=[];for(let f=0;f<d.length;f+=1)c[f]=es(Zl(e,d,f));return{c(){t=a("span"),t.textContent="Selected window:",n=h(),i=a("select"),l=a("option"),l.textContent="Choose a window...";for(let f=0;f<c.length;f+=1)c[f].c();r(t,"class","font-700 text-sm"),l.__value="",l.value=l.__value,l.disabled=!0,l.selected=!0,r(i,"class","input"),e[0]===void 0&&Pt(()=>e[40].call(i))},m(f,b){m(f,t,b),m(f,n,b),m(f,i,b),s(i,l);for(let k=0;k<c.length;k+=1)c[k].m(i,null);Wt(i,e[0]),o||(u=L(i,"change",e[40]),o=!0)},p(f,b){if(b[0]&2){d=Object.keys(f[1]);let k;for(k=0;k<d.length;k+=1){const g=Zl(f,d,k);c[k]?c[k].p(g,b):(c[k]=es(g),c[k].c(),c[k].m(i,null))}for(;k<c.length;k+=1)c[k].d(1);c.length=d.length}b[0]&3&&Wt(i,f[0])},d(f){f&&p(t),f&&p(n),f&&p(i),zt(c,f),o=!1,u()}}}function es(e){let t,n=e[72
` ),O=a("input"),F=h(),W=a("label"),C=A( ` Resizable
` ),T=a("input"),H=h(),M=a("label"),I=A( ` Has decorations
` ),j=a("input"),J=h(),ne=a("label"),ce=A( ` Always on top
` ),te=a("input"),Y=h(),se=a("label"),ee=A( ` Content protected
` ),R=a("input"),X=h(),Z=a("label"),_e=A( ` Fullscreen
` ),fe=a("input"),pe=h(),ye=a("br"),oe=h(),x=a("div"),me=a("div"),Le=a("div"),z=A( ` X
` ),G=a("input"),Ae=h(),ve=a("div"),ae=A( ` Y
` ),de=a("input"),re=h(),we=a("div"),Ne=a("div"),Pe=A( ` Width
` ),Q=a("input"),N=h(),ie=a("div"),B=A( ` Height
` ),he=a("input"), $ t=h(),Ge=a("div"),_t=a("div"),Kt=A( ` Min width
` ),De=a("input"),Qt=h(),bt=a("div"),Zt=A( ` Min height
` ),Re=a("input"),xt=h(),Ve=a("div"), $ =a("div"),Ot=A( ` Max width
` ),Ee=a("input"),Dt=h(),lt=a("div"),Rt=A( ` Max height
` ),ze=a("input"),gt=h(),yt=a("br"),vt=h(),Ce=a("div"),He=a("div"),Oe=a("div"),st=a("div"),st.textContent="Inner Size",It=h(),ot=a("span"),Nt=A("Width: "),wt=A(at),en=h(),tn=a("span"),Vi=A("Height: "),si=A(nn),Bi=h(),Be=a("div"),ln=a("div"),ln.textContent="Outer Size",Ji=h(),sn=a("span"),Xi=A("Width: "),oi=A(on),Yi=h(),an=a("span"), $ i=A("Height: "),ai=A(rn),Ki=h(),kt=a("div"),Je=a("div"),un=a("div"),un.textContent="Inner Logical Size",Qi=h(),cn=a("span"),Zi=A("Width: "),ri=A(dn),xi=h(),fn=a("span"),el=A("Height: "),ui=A(pn),tl=h(),Xe=a("div"),mn=a("div"),mn.textContent="Outer Logical Size",nl=h(),hn=a("span"),il=A("Width: "),ci=A(_n),ll=h(),bn=a("span"),sl=A("Height: "),di=A(gn),ol=h(),Mt=a("div"),Ye=a("div"),yn=a("div"),yn.textContent="Inner Position",al=h(),vn=a("span"),rl=A("x: "),fi=A(wn),ul=h(),kn=a("span"),cl=A("y: "),pi=A(Mn),dl=h(), $ e=a("div"),Tn=a("div"),Tn.textContent="Outer Position",fl=h(),Cn=a("span"),pl=A("x: "),mi=A(Sn),ml=h(),Ln=a("span"),hl=A("y: "),hi=A(An),_l=h(),Tt=a("div"),Ke=a("div"),En=a("div"),En.textContent="Inner Logical Position",bl=h(),zn=a("span"),gl=A("x: "),_i=A(Wn),yl=h(),Pn=a("span"),vl=A("y: "),bi=A(On),wl=h(),Qe=a("div"),Dn=a("div"),Dn.textContent="Outer Logical Position",kl=h(),Rn=a("span"),Ml=A("x: "),gi=A(In),Tl=h(),Nn=a("span"),Cl=A("y: "),yi=A(Hn),vi=h(),wi=a("br"),ki=h(),Ht=a("h4"),Ht.textContent="Cursor",Mi=h(),Ue=a("div"),Un=a("label"),Ct=a("input"),Sl=A( `
Grab ` ),Ll=h(),jn=a("label"),St=a("input"),Al=A( `
Visible ` ),El=h(),qn=a("label"),Lt=a("input"),zl=A( `
Ignore events ` ),Ti=h(),je=a("div"),Fn=a("label"),Wl=A( ` Icon
` ),qe=a("select");for(let y=0;y<Te.length;y+=1)Te[y].c();Pl=h(),Gn=a("label"),Ol=A( ` X position
` ),Ze=a("input"),Dl=h(),Vn=a("label"),Rl=A( ` Y position
` ),xe=a("input"),Ci=h(),Si=a("br"),Li=h(),rt=a("div"),ut=a("form"),et=a("input"),Il=h(),Ut=a("button"),Ut.textContent="Set title",Nl=h(),ct=a("form"),tt=a("input"),Hl=h(),jt=a("button"),jt.textContent="Open URL",r(l,"class","btn"),r(l,"title","Unminimizes after 2 seconds"),r(u,"class","btn"),r(u,"title","Unminimizes after 2 seconds"),r(c,"class","btn"),r(c,"title","Visible again after 2 seconds"),r(b,"class","btn"),r(g,"class","btn"),r(g,"title","Minimizes the window, requests attention for 3s and then resets it"),r(i,"class","flex flex-wrap gap-2"),r(O,"type","checkbox"),r(T,"type","checkbox"),r(j,"type","checkbox"),r(te,"type","checkbox"),r(R,"type","checkbox"),r(fe,"type","checkbox"),r(S,"class","flex flex-wrap gap-2"),r(G,"class","input"),r(G,"type","number"),r(G,"min","0"),r(de,"class","input"),r(de,"type","number"),r(de,"min","0"),r(me,"class","flex children:grow flex-col"),r(Q,"class","input"),r(Q,"type","number"),r(Q,"min","400"),r(he,"class","input"),r(he,"type","number"),r(he,"min","400"),r(we,"class","flex children:grow flex-col"),r(De,"class","input"),r(De,"type","number"),r(Re,"class","input"),r(Re,"type","number"),r(Ge,"class","flex children:grow flex-col"),r(Ee,"class","input"),r(Ee,"type","number"),r(Ee,"min","800"),r(ze,"class","input"),r(ze,"type","number"),r(ze,"min","400"),r(Ve,"class","flex children:grow flex-col"),r(x,"class","flex flex-row gap-2 flex-wrap"),r(st,"class","text-accent dark:text-darkAccent font-700"),r(Oe,"class","grow"),r(ln,"class","text-accent dark:text-darkAccent font-700"),r(Be,"class","grow"),r(He,"class","flex"),r(un,"class","text-accent dark:text-darkAccent font-700"),r(Je,"class","grow"),r(mn,"class","text-accent dark:text-darkAccent font-700"),r(Xe,"class","grow"),r(kt,"class","flex"),r(yn,"class","text-accent dark:text-darkAccent font-700"),r(Ye,"class","grow"),r(Tn,"class","text-accent dark:text-darkAccent font-700"),r( $ e,"class","grow"),r(Mt,"class","flex"),r(En,"class","text-accent dark:text-darkAccent font-700"),r(Ke,"class","grow"),r(Dn,"class","text-accent dark:text-darkAccent font-700"),r(Qe,"class","grow"),r(Tt,"class","flex"),r(Ht,"class","mb-2"),r(Ct,"type","checkbox"),r(St,"type","checkbox"),r(Lt,"type","checkbox"),r(Ue,"class","flex gap-2"),r(qe,"class","input"),e[20]===void 0&&Pt(()=>e[59].call(qe)),r(Ze,"class","input"),r(Ze,"type","number"),r(xe,"class","input"),r(xe,"type","number"),r(je,"class","flex gap-2"),r(et,"class","input grow"),r(et,"id","title"),r(Ut,"class","btn"),r(Ut,"type","submit"),r(ut,"class","flex gap-1"),r(tt,"class","input grow"),r(tt,"id","url"),r(jt,"class","btn"),r(jt,"id","open-url"),r(ct,"class","flex gap-1"),r(rt,"class","flex flex-col gap-1")},m(y,P){m(y,t,P),m(y,n,P),m(y,i,P),s(i,l),s(i,o),s(i,u),s(i,d),s(i,c),s(i,f),s(i,b),s(i,k),s(i,g),m(y,w,P),m(y,_,P),m(y,v,P),m(y,S,P),s(S,D),s(D,U),s(D,O),O.checked=e[3],s(S,F),s(S,W),s(W,C),s(W,T),T.checked=e[2],s(S,H),s(S,M),s(M,I),s(M,j),j.checked=e[4],s(S,J),s(S,ne),s(ne,ce),s(ne,te),te.checked=e[5],s(S,Y),s(S,se),s(se,ee),s(se,R),R.checked=e[6],s(S,X),s(S,Z),s(Z,_e),s(Z,fe),fe.checked=e[7],m(y,pe,P),m(y,ye,P),m(y,oe,P),m(y,x,P),s(x,me),s(me,Le),s(Le,z),s(Le,G),q(G,e[14]),s(me,Ae),s(me,ve),s(ve,ae),s(ve,de),q(de,e[15]),s(x,re),s(x,we),s(we,Ne),s(Ne,Pe),s(Ne,Q),q(Q,e[8]),s(we,N),s(we,ie),s(ie,B),s(ie,he),q(he,e[9]),s(x, $ t),s(x,Ge),s(Ge,_t),s(_t,Kt),s(_t,De),q(De,e[10]),s(Ge,Qt),s(Ge,bt),s(bt,Zt),s(bt,Re),q(Re,e[11]),s(x,xt),s(x,Ve),s(Ve, $ ),s( $ ,Ot),s( $ ,Ee),q(Ee,e[12]),s(Ve,Dt),s(Ve,lt),s(lt,Rt),s(lt,ze),q(ze,e[13]),m(y,gt,P),m(y,yt,P),m(y,vt,P),m(y,Ce,P),s(Ce,He),s(He,Oe),s(Oe,st),s(Oe,It),s(Oe,ot),s(ot,Nt),s(ot,wt),s(Oe,en),s(Oe,tn),s(tn,Vi),s(tn,si),s(He,Bi),s(He,Be),s(Be,ln),s(Be,Ji),s(Be,sn),s(sn,Xi),s(sn,oi),s(Be,Yi),s(Be,an),s(an, $ i),s(an,ai),s(Ce,Ki),s(Ce,kt),s(kt,Je),s(Je,un),s(Je,Qi),s(Je,cn),s(cn,Zi),s(cn,ri),s(Je,xi),s(Je,fn),s(fn,el),s(fn,ui),s(kt,tl),s(kt,Xe),s(Xe,mn),s(Xe,nl),s(Xe,hn),s(hn,il),s(hn,ci),s(Xe,ll),s(Xe,bn),s(bn,sl),s(bn,di),s(Ce,ol),s(Ce,Mt),s(Mt,Ye),s(Ye,yn),s(Ye,al),s(Ye,vn),s(vn,rl),s(vn,fi),s(Ye,ul),s(Ye,kn),s(kn,cl),s(kn,pi),s(Mt,dl),s(Mt, $ e),s( $ e,Tn)
` ),l=a("input"),o=h(),u=a("div"),d=A( ` Encoding :
` ),c=a("input"),f=h(),b=a("div"),k=A( ` Working directory :
` ),g=a("input"),w=h(),_=a("div"),v=A( ` Arguments :
` ),S=a("input"),D=h(),U=a("div"),O=a("button"),O.textContent="Run",F=h(),W=a("button"),W.textContent="Kill",C=h(),M&&M.c(),r(l,"class","grow input"),r(n,"class","flex items-center gap-1"),r(c,"class","grow input"),r(u,"class","flex items-center gap-1"),r(g,"class","grow input"),r(g,"placeholder","Working directory"),r(b,"class","flex items-center gap-1"),r(S,"class","grow input"),r(S,"placeholder","Environment variables"),r(_,"class","flex items-center gap-1"),r(O,"class","btn"),r(W,"class","btn"),r(U,"class","flex children:grow gap-1"),r(t,"class","flex flex-col childre:grow gap-1")},m(I,j){m(I,t,j),s(t,n),s(n,i),s(n,l),q(l,e[0]),s(t,o),s(t,u),s(u,d),s(u,c),q(c,e[3]),s(t,f),s(t,b),s(b,k),s(b,g),q(g,e[1]),s(t,w),s(t,_),s(_,v),s(_,S),q(S,e[2]),s(t,D),s(t,U),s(U,O),s(U,F),s(U,W),s(t,C),M&&M.m(t,null),T||(H=[L(l,"input",e[10]),L(c,"input",e[11]),L(g,"input",e[12]),L(S,"input",e[13]),L(O,"click",e[6]),L(W,"click",e[7])],T=!0)},p(I,[j]){j&1&&l.value!==I[0]&&q(l,I[0]),j&8&&c.value!==I[3]&&q(c,I[3]),j&2&&g.value!==I[1]&&q(g,I[1]),j&4&&S.value!==I[2]&&q(S,I[2]),I[5]?M?M.p(I,j):(M=os(I),M.c(),M.m(t,null)):M&&(M.d(1),M=null)},i:V,o:V,d(I){I&&p(t),M&&M.d(),T=!1,ue(H)}}}function pa(e,t,n){const i=navigator.userAgent.includes("Windows");let l=i?"cmd":"sh",o=i?["/C"]:["-c"],{onMessage:u}=t,d='echo "hello world"',c=null,f="SOMETHING=value ANOTHER=2",b="",k="",g;function w(){return f.split(" ").reduce((C,T)=>{let[H,M]=T.split("=");return{...C,[H]:M}},{})}function _(){n(5,g=null);const C=Zn.create(l,[...o,d],{cwd:c||null,env:w(),encoding:b||void 0});C.on("close",T=>{u( ` command finished with code $ { T . code } and signal $ { T . signal } ` ),n(5,g=null)}),C.on("error",T=>u( ` command error : "${T}" ` )),C.stdout.on("data",T=>u( ` command stdout : "${T}" ` )),C.stderr.on("data",T=>u( ` command stderr : "${T}" ` )),C.spawn().then(T=>{n(5,g=T)}).catch(u)}function v(){g.kill().then(()=>u("killed child process")).catch(u)}function S(){g.write(k).catch(u)}function D(){d=this.value,n(0,d)}function U(){b=this.value,n(3,b)}function O(){c=this.value,n(1,c)}function F(){f=this.value,n(2,f)}function W(){k=this.value,n(4,k)}return e. $ $ set=C=>{"onMessage"in C&&n(9,u=C.onMessage)},[d,c,f,b,k,g,_,v,S,u,D,U,O,F,W]}class ma extends Me{constructor(t){super(),ke(this,t,pa,fa,ge,{onMessage:9})}}var ha={};We(ha,{checkUpdate:()=>Xs,installUpdate:()=>Js,onUpdaterEvent:()=>Gi});async function Gi(e){return Yt("tauri://update-status",t=>{e(t==null?void 0:t.payload)})}async function Js(){let e;function t(){e&&e(),e=void 0}return new Promise((n,i)=>{function l(o){if(o.error){t(),i(o.error);return}o.status==="DONE"&&(t(),n())}Gi(l).then(o=>{e=o}).catch(o=>{throw t(),o}),li("tauri://update-install").catch(o=>{throw t(),o})})}async function Xs(){let e;function t(){e&&e(),e=void 0}return new Promise((n,i)=>{function l(u){t(),n({manifest:u,shouldUpdate:!0})}function o(u){if(u.error){t(),i(u.error);return}u.status==="UPTODATE"&&(t(),n({shouldUpdate:!1}))}Cs("tauri://update-available",u=>{l(u==null?void 0:u.payload)}).catch(u=>{throw t(),u}),Gi(o).then(u=>{e=u}).catch(u=>{throw t(),u}),li("tauri://update").catch(u=>{throw t(),u})})}function _a(e){let t;return{c(){t=a("button"),t.innerHTML='<div class="spinner animate-spin svelte-4xesec"></div>',r(t,"class","btn text-accentText dark:text-darkAccentText flex items-center justify-center")},m(n,i){m(n,t,i)},p:V,d(n){n&&p(t)}}}function ba(e){let t,n,i;return{c(){t=a("button"),t.textContent="Install update",r(t,"class","btn")},m(l,o){m(l,t,o),n||(i=L(t,"click",e[4]),n=!0)},p:V,d(l){l&&p(t),n=!1,i()}}}function ga(e){let t,n,i;return{c(){t=a("button"),t.textContent="Check update",r(t,"class","btn")},m(l,o){m(l,t,o),n||(i=L(t,"click",e[3]),n=!0)},p:V,d(l){l&&p(t),n=!1,i()}}}function ya(e){let t;function n(o,u){return!o[0]&&!o[2]?ga:!o[1]&&o[2]?ba:_a}let i=n(e),l=i(e);return{c(){t=a("div"),l.c(),r(t,"class","flex children:grow children:h10")},m(o,u){m(o,t,u),l.m(t,null)},p(o,[u]){i===(i=n(o))&&l?l.p(o,u):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},i:V,o:V,d(o){o&&p(t),l.d()}}}function va(e,t,n){let{onMessage:i}=t,l;dt(async()=>{l=await Yt("tauri://update-sta
< video id = "localVideo" autoplay = "" playsinline = "" > < track kind = "captions" / > < / v i d e o > ` , r ( t , " c l a s s " , " f l e x f l e x - c o l g a p - 2 " ) } , m ( n , i ) { m ( n , t , i ) } , p : V , i : V , o : V , d ( n ) { n & & p ( t ) } } } f u n c t i o n L a ( e , t , n ) { l e t { o n M e s s a g e : i } = t ; c o n s t l = w i n d o w . c o n s t r a i n t s = { a u d i o : ! 0 , v i d e o : ! 0 } ; f u n c t i o n o ( d ) { c o n s t c = d o c u m e n t . q u e r y S e l e c t o r ( " v i d e o " ) , f = d . g e t V i d e o T r a c k s ( ) ; i ( " G o t s t r e a m w i t h c o n s t r a i n t s : " , l ) , i ( ` U s i n g v i d e o d e v i c e : $ { f [ 0 ] . l a b e l } ` ) , w i n d o w . s t r e a m = d , c . s r c O b j e c t = d } f u n c t i o n u ( d ) { i f ( d . n a m e = = = " C o n s t r a i n t N o t S a t i s f i e d E r r o r " ) { c o n s t c = l . v i d e o ; i ( ` T h e r e s o l u t i o n $ { c . w i d t h . e x a c t } x $ { c . h e i g h t . e x a c t } p x i s n o t s u p p o r t e d b y y o u r d e v i c e . ` ) } e l s e d . n a m e = = = " P e r m i s s i o n D e n i e d E r r o r " & & i ( " P e r m i s s i o n s h a v e n o t b e e n g r a n t e d t o u s e y o u r c a m e r a a n d m i c r o p h o n e , y o u n e e d t o a l l o w t h e p a g e a c c e s s t o y o u r d e v i c e s i n o r d e r f o r t h e d e m o t o w o r k . " ) ; i ( ` g e t U s e r M e d i a e r r o r : $ { d . n a m e } ` , d ) } r e t u r n d t ( a s y n c ( ) = > { t r y { c o n s t d = a w a i t n a v i g a t o r . m e d i a D e v i c e s . g e t U s e r M e d i a ( l ) ; o ( d ) } c a t c h ( d ) { u ( d ) } } ) , R i ( ( ) = > { w i n d o w . s t r e a m . g e t T r a c k s ( ) . f o r E a c h ( f u n c t i o n ( d ) { d . s t o p ( ) } ) } ) , e . $ $ s e t = d = > { " o n M e s s a g e " i n d & & n ( 0 , i = d . o n M e s s a g e ) } , [ i ] } c l a s s A a e x t e n d s M e { c o n s t r u c t o r ( t ) { s u p e r ( ) , k e ( t h i s , t , L a , S a , g e , { o n M e s s a g e : 0 } ) } } f u n c t i o n E a ( e ) { l e t t , n , i , l , o , u ; r e t u r n { c ( ) { t = a ( " d i v " ) , n = a ( " b u t t o n " ) , n . t e x t C o n t e n t = " S h o w " , i = h ( ) , l = a ( " b u t t o n " ) , l . t e x t C o n t e n t = " H i d e " , r ( n , " c l a s s " , " b t n " ) , r ( n , " i d " , " s h o w " ) , r ( n , " t i t l e " , " H i d e s a n d s h o w s t h e a p p a f t e r 2 s e c o n d s " ) , r ( l , " c l a s s " , " b t n " ) , r ( l , " i d " , " h i d e " ) } , m ( d , c ) { m ( d , t , c ) , s ( t , n ) , s ( t , i ) , s ( t , l ) , o | | ( u = [ L ( n , " c l i c k " , e [ 0 ] ) , L ( l , " c l i c k " , e [ 1 ] ) ] , o = ! 0 ) } , p : V , i : V , o : V , d ( d ) { d & & p ( t ) , o = ! 1 , u e ( u ) } } } f u n c t i o n z a ( e , t , n ) { l e t { o n M e s s a g e : i } = t ; f u n c t i o n l ( ) { o ( ) . t h e n ( ( ) = > { s e t T i m e o u t ( ( ) = > { R s ( ) . t h e n ( ( ) = > i ( " S h o w n a p p " ) ) . c a t c h ( i ) } , 2 e 3 ) } ) . c a t c h ( i ) } f u n c t i o n o ( ) { r e t u r n I s ( ) . t h e n ( ( ) = > i ( " H i d e a p p " ) ) . c a t c h ( i ) } r e t u r n e . $ $ s e t = u = > { " o n M e s s a g e " i n u & & n ( 2 , i = u . o n M e s s a g e ) } , [ l , o , i ] } c l a s s W a e x t e n d s M e { c o n s t r u c t o r ( t ) { s u p e r ( ) , k e ( t h i s , t , z a , E a , g e , { o n M e s s a g e : 2 } ) } } f u n c t i o n a s ( e , t , n ) { c o n s t i = e . s l i c e ( ) ; r e t u r n i [ 3 2 ] = t [ n ] , i } f u n c t i o n r s ( e , t , n ) { c o n s t i = e . s l i c e ( ) ; r e t u r n i [ 3 5 ] = t [ n ] , i } f u n c t i o n u s ( e ) { l e t t , n , i , l , o , u , d , c , f , b , k , g , w , _ , v ; f u n c t i o n S ( C , T ) { r e t u r n C [ 3 ] ? O a : P a } l e t D = S ( e ) , U = D ( e ) ; f u n c t i o n O ( C , T ) { r e t u r n C [ 2 ] ? R a : D a } l e t F = O ( e ) , W = F ( e ) ; r e t u r n { c ( ) { t = a ( " d i v " ) , n = a ( " s p a n " ) , n . t e x t C o n t e n t = " T a u r i A P I V a l i d a t i o n " , i = h ( ) , l = a ( " s p a n " ) , o = a ( " s p a n " ) , U . c ( ) , d = h ( ) , c = a ( " s p a n " ) , c . i n n e r H T M L = ' < d i v c l a s s = " i - c o d i c o n - c h r o m e - m i n i m i z e " > < / d i v > ' , f = h ( ) , b = a ( " s p a n " ) , W . c ( ) , g = h ( ) , w = a ( " s p a n " ) , w . i n n e r H T M L = ' < d i v c l a s s = " i - c o d i c o n - c h r o m e - c l o s e " > < / d i v > ' , r ( n , " c l a s s " , " l t - s m : p l - 1 0 t e x t - d a r k P r i m a r y T e x t " ) , r ( o , " t i t l e " , u = e [ 3 ] ? " S w i t c h t o L i g h t m o d e " : " S w i t c h t o D a r k m o d e " ) , r ( o , " c l a s s " , " h o v e r : b g - h o v e r O v e r l a y a c t i v e : b g - h o v e r O v e r l a y D a r k e r d a r k : h o v e r : b g - d a r k H o v e r O v e r l a y d a r k : a c t i v e : b g - d a r k H o v e r O v e r l a y D a r k e r " ) , r ( c , " t i t l e " , " M i n i m i z e " ) , r ( c , " c l a s s " , " h o v e r : b g - h o v e r O v e r l a y a c t i v e : b g - h o v e r O v e r l a y D a r k e r d a r k : h o v e r : b g - d a r k H o v e r O v e r l a y d a r k : a c t i v e : b g - d a r k H o v e r O v e r l a y D a r k e r " ) , r ( b , " t i t l e " , k = e [ 2 ] ? " R e s t o r e " : " M a x i m i z e " ) , r ( b , " c l a s s " , " h o v e r : b g - h o v e r O v e r l a y a c t i v e : b g - h o v e r O v e r l a y D a r k e r d a r k : h o v e r : b g - d a r k H o v e r O v e r l a y d a r k : a c t i v e : b g - d a r k H o v e r O v e r l a y D a r k e r " ) , r ( w , " t i t l e " , " C l o s e " ) , r ( w , " c l a s s " , " h o v e r : b g - r e d - 7 0 0 d a r k : h o v e r : b g - r e d - 7 0 0 h o v e r : t e x t - d a r k P r i m a r y T e x t a c t i v e : b g - r e d - 7 0 0 / 9 0 d a r k : a c t i v e : b g - r e d - 7 0 0 / 9 0 a c t i v e : t e x t - d a r k P r i m a r y T e x t " ) , r ( l , " c l a s s " , " h - 1 0 0 % c h i l d r e n : h - 1 0 0 % c h i l d r e n : w - 1 2 c h i l d r e n : i n l i n e - f l e x c h i l d r e n : i t e m s - c e n t e r c h i l d r e n : j u s t i f y - c e n t e r " ) , r ( t , " c l a s s " , " w - s c r e e n s e l e c t - n o n e h - 8 p l - 2 f l e x j u s t i f y - b e t w e e n i t e m s - c e n t e r a b s o l u t e t e x t - p r i m a r y T e x t d a r k : t e x t - d a r k P r i m a r y T e x t " ) , r ( t , " d a t a - t a u r i - d r a g - r e g i o n " , " " ) } , m ( C , T ) { m ( C , t , T ) , s ( t , n ) , s ( t , i ) , s ( t , l ) , s ( l , o ) , U . m ( o , n u l l ) , s ( l , d ) , s ( l , c ) , s ( l , f ) , s ( l , b ) , W . m ( b , n u l l ) , s ( l , g ) , s ( l , w ) , _ | | ( v = [ L ( o , " c l i c k " , e [ 1 2 ] ) , L ( c , " c l i c k " , e [ 9 ] ) , L ( b , " c l i c k " , e [ 1 0 ] ) , L ( w , " c l i c k " , e [ 1 1 ] ) ] , _ = ! 0 ) } , p ( C , T ) { D ! = = ( D = S ( C ) ) & & ( U . d ( 1 ) , U = D ( C ) , U & & ( U . c ( ) , U . m ( o , n u l l ) ) ) , T [ 0 ] & 8 & & u ! = = ( u = C [ 3 ] ? " S w i t c h t o L i g h t m o d e " : " S w i t c h t o D a r k m o d e " ) & & r ( o , " t i t l e " , u ) , F ! = = ( F = O ( C ) ) & & ( W . d ( 1 ) , W = F ( C ) , W & & ( W . c ( ) , W . m ( b , n u l l ) ) ) , T [ 0 ] & 4 & & k ! = = ( k = C [ 2 ] ? " R e s t o r e " : " M a x i m i z e " ) & & r ( b , " t i t l e " , k ) } , d ( C ) { C & & p ( t ) , U . d ( ) , W . d ( ) , _ = ! 1 , u e ( v ) } } } f u n c t i o n P a ( e ) { l e t t ; r e t u r n { c ( ) { t = a ( " d i v " ) , r ( t , " c l a s s " , " i - p h - m o o n " ) } , m ( n , i ) { m ( n , t , i ) } , d ( n ) { n & & p ( t ) } } } f u n c t i o n O a ( e ) { l e t t ; r e t u r n { c ( ) { t = a ( " d i v " ) , r ( t , " c l a s s " , " i - p h - s u
` ),n=a("div"),r(n,"class","i-ph-moon")},m(i,l){m(i,t,l),m(i,n,l)},d(i){i&&p(t),i&&p(n)}}}function Ua(e){let t,n;return{c(){t=A( ` Switch to Light mode
` ),n=a("div"),r(n,"class","i-ph-sun")},m(i,l){m(i,t,l),m(i,n,l)},d(i){i&&p(t),i&&p(n)}}}function ja(e){let t,n,i,l,o=e[35].label+"",u,d,c,f;function b(){return e[20](e[35])}return{c(){t=a("a"),n=a("div"),i=h(),l=a("p"),u=A(o),r(n,"class",e[35].icon+" mr-2"),r(t,"href","##"),r(t,"class",d="nv "+(e[1]===e[35]?"nv_selected":""))},m(k,g){m(k,t,g),s(t,n),s(t,i),s(t,l),s(l,u),c||(f=L(t,"click",b),c=!0)},p(k,g){e=k,g[0]&2&&d!==(d="nv "+(e[1]===e[35]?"nv_selected":""))&&r(t,"class",d)},d(k){k&&p(t),c=!1,f()}}}function ds(e){let t,n=e[35]&&ja(e);return{c(){n&&n.c(),t=ti()},m(i,l){n&&n.m(i,l),m(i,t,l)},p(i,l){i[35]&&n.p(i,l)},d(i){n&&n.d(i),i&&p(t)}}}function fs(e){let t,n=e[32].html+"",i;return{c(){t=new no(!1),i=ti(),t.a=i},m(l,o){t.m(n,l,o),m(l,i,o)},p(l,o){o[0]&64&&n!==(n=l[32].html+"")&&t.p(n)},d(l){l&&p(i),l&&t.d()}}}function qa(e){let t,n,i,l,o,u,d,c,f,b,k,g,w,_,v,S,D,U,O,F,W,C,T,H,M,I,j=e[1].label+"",J,ne,ce,te,Y,se,ee,R,X,Z,_e,fe,pe,ye,oe,x,me,Le,z=e[5]&&us(e);function G(N,ie){return N[0]?Na:Ia}let Ae=G(e),ve=Ae(e),ae=!e[5]&&cs(e),de=e[7],re=[];for(let N=0;N<de.length;N+=1)re[N]=ds(rs(e,de,N));var we=e[1].component;function Ne(N){return{props:{onMessage:N[14],insecureRenderHtml:N[15]}}}we&&(Y=new we(Ne(e)));let Pe=e[6],Q=[];for(let N=0;N<Pe.length;N+=1)Q[N]=fs(as(e,Pe,N));return{c(){z&&z.c(),t=h(),n=a("div"),ve.c(),i=h(),l=a("div"),o=a("aside"),u=a("img"),c=h(),ae&&ae.c(),f=h(),b=a("a"),b.innerHTML= ` Documentation
< span class = "i-codicon-link-external" > < / s p a n > ` , k = h ( ) , g = a ( " a " ) , g . i n n e r H T M L = ` G i t H u b
< span class = "i-codicon-link-external" > < / s p a n > ` , w = h ( ) , _ = a ( " a " ) , _ . i n n e r H T M L = ` S o u r c e
< span class = "i-codicon-link-external" > < / s p a n > ` , v = h ( ) , S = a ( " b r " ) , D = h ( ) , U = a ( " d i v " ) , O = h ( ) , F = a ( " b r " ) , W = h ( ) , C = a ( " d i v " ) ; f o r ( l e t N = 0 ; N < r e . l e n g t h ; N + = 1 ) r e [ N ] . c ( ) ; T = h ( ) , H = a ( " m a i n " ) , M = a ( " d i v " ) , I = a ( " h 1 " ) , J = A ( j ) , n e = h ( ) , c e = a ( " d i v " ) , t e = a ( " d i v " ) , Y & & Q n ( Y . $ $ . f r a g m e n t ) , s e = h ( ) , e e = a ( " d i v " ) , R = a ( " d i v " ) , X = h ( ) , Z = a ( " d i v " ) , _ e = a ( " p " ) , _ e . t e x t C o n t e n t = " C o n s o l e " , f e = h ( ) , p e = a ( " d i v " ) , p e . i n n e r H T M L = ' < d i v c l a s s = " i - c o d i c o n - c l e a r - a l l " > < / d i v > ' , y e = h ( ) , o e = a ( " d i v " ) ; f o r ( l e t N = 0 ; N < Q . l e n g t h ; N + = 1 ) Q [ N ] . c ( ) ; r ( n , " i d " , " s i d e b a r T o g g l e " ) , r ( n , " c l a s s " , " z - 2 0 0 0 d i s p l a y - n o n e l t - s m : f l e x j u s t i f y - c e n t e r i t e m s - c e n t e r a b s o l u t e t o p - 2 l e f t - 2 w - 8 h - 8 r d - 8 b g - a c c e n t d a r k : b g - d a r k A c c e n t a c t i v e : b g - a c c e n t D a r k d a r k : a c t i v e : b g - d a r k A c c e n t D a r k " ) , r ( u , " c l a s s " , " s e l f - c e n t e r p - 7 c u r s o r - p o i n t e r " ) , Q s ( u . s r c , d = " t a u r i _ l o g o . p n g " ) | | r ( u , " s r c " , d ) , r ( u , " a l t " , " T a u r i l o g o " ) , r ( b , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , r ( b , " t a r g e t " , " _ b l a n k " ) , r ( b , " h r e f " , " h t t p s : / / t a u r i . a p p / v 1 / g u i d e s / " ) , r ( g , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , r ( g , " t a r g e t " , " _ b l a n k " ) , r ( g , " h r e f " , " h t t p s : / / g i t h u b . c o m / t a u r i - a p p s / t a u r i " ) , r ( _ , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , r ( _ , " t a r g e t " , " _ b l a n k " ) , r ( _ , " h r e f " , " h t t p s : / / g i t h u b . c o m / t a u r i - a p p s / t a u r i / t r e e / d e v / e x a m p l e s / a p i " ) , r ( U , " c l a s s " , " b g - w h i t e / 5 h - 2 p x " ) , r ( C , " c l a s s " , " f l e x f l e x - c o l o v e r f l o w - y - a u t o c h i l d r e n - h - 1 0 c h i l d r e n - f l e x - n o n e g a p - 1 " ) , r ( o , " i d " , " s i d e b a r " ) , r ( o , " c l a s s " , " l t - s m : h - s c r e e n l t - s m : s h a d o w - l g l t - s m : s h a d o w l t - s m : t r a n s i t i o n - t r a n s f o r m l t - s m : a b s o l u t e l t - s m : z - 1 9 9 9 b g - d a r k P r i m a r y L i g h t e r t r a n s i t i o n - c o l o r s - 2 5 0 o v e r f l o w - h i d d e n g r i d s e l e c t - n o n e p x - 2 " ) , r ( t e , " c l a s s " , " m r - 2 " ) , r ( c e , " c l a s s " , " o v e r f l o w - y - a u t o " ) , r ( M , " c l a s s " , " p x - 5 o v e r f l o w - h i d d e n g r i d g r i d - r o w s - [ a u t o _ 1 f r ] " ) , r ( R , " c l a s s " , " b g - b l a c k / 2 0 h - 2 p x c u r s o r - n s - r e s i z e " ) , r ( _ e , " c l a s s " , " f o n t - s e m i b o l d " ) , r ( p e , " c l a s s " , " c u r s o r - p o i n t e r h - 8 5 % r d - 1 p - 1 f l e x j u s t i f y - c e n t e r i t e m s - c e n t e r h o v e r : b g - h o v e r O v e r l a y d a r k : h o v e r : b g - d a r k H o v e r O v e r l a y a c t i v e : b g - h o v e r O v e r l a y / 2 5 d a r k : a c t i v e : b g - d a r k H o v e r O v e r l a y / 2 5 " ) , r ( Z , " c l a s s " , " f l e x j u s t i f y - b e t w e e n i t e m s - c e n t e r p x - 2 " ) , r ( o e , " c l a s s " , " p x - 2 o v e r f l o w - y - a u t o a l l : f o n t - m o n o c o d e - b l o c k a l l : t e x t - x s " ) , r ( e e , " i d " , " c o n s o l e " ) , r ( e e , " c l a s s " , " s e l e c t - n o n e h - 1 5 r e m g r i d g r i d - r o w s - [ 2 p x _ 2 r e m _ 1 f r ] g a p - 1 o v e r f l o w - h i d d e n " ) , r ( H , " c l a s s " , " f l e x - 1 b g - p r i m a r y d a r k : b g - d a r k P r i m a r y t r a n s i t i o n - t r a n s f o r m t r a n s i t i o n - c o l o r s - 2 5 0 g r i d g r i d - r o w s - [ 2 f r _ a u t o ] " ) , r ( l , " c l a s s " , " f l e x h - s c r e e n w - s c r e e n o v e r f l o w - h i d d e n c h i l d r e n - p t 8 c h i l d r e n - p b - 2 t e x t - p r i m a r y T e x t d a r k : t e x t - d a r k P r i m a r y T e x t " ) } , m ( N , i e ) { z & & z . m ( N , i e ) , m ( N , t , i e ) , m ( N , n , i e ) , v e . m ( n , n u l l ) , m ( N , i , i e ) , m ( N , l , i e ) , s ( l , o ) , s ( o , u ) , s ( o , c ) , a e & & a e . m ( o , n u l l ) , s ( o , f ) , s ( o , b ) , s ( o , k ) , s ( o , g ) , s ( o , w ) , s ( o , _ ) , s ( o , v ) , s ( o , S ) , s ( o , D ) , s ( o , U ) , s ( o , O ) , s ( o , F ) , s ( o , W ) , s ( o , C ) ; f o r ( l e t B = 0 ; B < r e . l e n g t h ; B + = 1 ) r e [ B ] . m ( C , n u l l ) ; s ( l , T ) , s ( l , H ) , s ( H , M ) , s ( M , I ) , s ( I , J ) , s ( M , n e ) , s ( M , c e ) , s ( c e , t e ) , Y & & B t ( Y , t e , n u l l ) , s ( H , s e ) , s ( H , e e ) , s ( e e , R ) , s ( e e , X ) , s ( e e , Z ) , s ( Z , _ e ) , s ( Z , f e ) , s ( Z , p e ) , s ( e e , y e ) , s ( e e , o e ) ; f o r ( l e t B = 0 ; B < Q . l e n g t h ; B + = 1 ) Q [ B ] . m ( o e , n u l l ) ; e [ 2 1 ] ( e e ) , x = ! 0 , m e | | ( L e = [ L ( u , " c l i c k " , e [ 1 9 ] ) , L ( R , " m o u s e d o w n " , e [ 1 7 ] ) , L ( p e , " c l i c k " , e [ 1 6 ] ) ] , m e = ! 0 ) } , p ( N , i e ) { i f ( N [ 5 ] ? z ? z . p ( N , i e ) : ( z = u s ( N ) , z . c ( ) , z . m ( t . p a r e n t N o d e , t ) ) : z & & ( z . d ( 1 ) , z = n u l l ) , A e ! = = ( A e = G ( N ) ) & & ( v e . d ( 1 ) , v e = A e ( N ) , v e & & ( v e . c ( ) , v e . m ( n , n u l l ) ) ) , N [ 5 ] ? a e & & ( a e . d ( 1 ) , a e = n u l l ) : a e ? a e . p ( N , i e ) : ( a e = c s ( N ) , a e . c ( ) , a e . m ( o , f ) ) , i e [ 0 ] & 3 8 7 ) { d e = N [ 7 ] ; l e t B ; f o r ( B = 0 ; B < d e . l e n g t h ; B + = 1 ) { c o n s t h e = r s ( N , d e , B ) ; r e [ B ] ? r e [ B ] . p ( h e , i e ) : ( r e [ B ] = d s ( h e ) , r e [ B ] . c ( ) , r e [ B ] . m ( C , n u l l ) ) } f o r ( ; B < r e . l e n g t h ; B + = 1 ) r e [ B ] . d ( 1 ) ; r e . l e n g t h = d e . l e n g t h } i f ( ( ! x | | i e [ 0 ] & 2 ) & & j ! = = ( j = N [ 1 ] . l a b e l + " " ) & & K ( J , j ) , w e ! = = ( w e = N [ 1 ] . c o m p o n e n t ) ) { i f ( Y ) { n i ( ) ; c o n s t B = Y ; I e ( B . $ $ . f r a g m e n t , 1 , 0 , ( ) = > { J t ( B , 1 ) } ) , i i ( ) } w e ? ( Y = n e w w e ( N e ( N ) ) , Q n ( Y . $ $ . f r a g m e n t ) , S e ( Y . $ $ . f r a g m e n t , 1 ) , B t ( Y , t e , n u l l ) ) : Y = n u l l } i f ( i e [ 0 ] & 6 4 ) { P e = N [ 6 ] ; l e t B ; f o r ( B = 0 ; B < P e . l e n g t h ; B + = 1 ) { c o n s t h e = a s ( N , P e , B ) ; Q [ B ] ? Q [ B ] . p ( h e , i e ) : ( Q [ B ] = f s ( h e ) , Q [ B ] . c ( ) , Q [ B ] . m ( o e , n u l l ) ) } f o r ( ; B < Q . l e n g t h ; B + = 1 ) Q [ B ] . d ( 1 ) ; Q . l e n g t h = P e . l e n g t h } } , i ( N ) { x | | ( Y & & S e ( Y . $ $ . f r a g m e n t , N ) , x = ! 0 ) } , o ( N ) { Y & & I e ( Y . $ $ . f r a g m e n t , N ) , x = ! 1 } , d ( N ) { z & & z . d ( N ) , N & & p ( t ) , N & & p ( n ) , v e . d ( ) , N & & p ( i ) , N & & p ( l ) , a e & & a e . d ( ) , z t ( r e , N ) , Y & & J t ( Y ) , z t ( Q , N ) , e [ 2 1 ] ( n u l l ) , m e = ! 1 , u e ( L e ) } } } l e t p s = 5 0 ; f u n c t i o n m s ( e ) { c o n s t t = d o c u m e n t . q u e r y S e l e c t o r ( " h t m l " ) ; e ? t . c l a s s L i s t . a d d ( " d a r k " ) : t . c l a s s L i s t . r e m o v e ( " d a r k " ) , l o c a l S t o r a g e & & l o c a l S t o r a g e . s e t I t e m ( " t h e m e " , e ? " d a r k " : " " ) } f u n c t i o n F a ( e , t ) { e . s t y l e . s e t P r o