2023-10-18 15:47:24 +03:00
var to = Object . defineProperty ; var no = ( e , t , l ) => t in e ? to ( e , t , { enumerable : ! 0 , configurable : ! 0 , writable : ! 0 , value : l } ) : e [ t ] = l ; var ft = ( e , t , l ) => ( no ( e , typeof t != "symbol" ? t + "" : t , l ) , l ) ; ( function ( ) { const t = document . createElement ( "link" ) . relList ; if ( t && t . supports && t . supports ( "modulepreload" ) ) return ; for ( const s of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) i ( s ) ; new MutationObserver ( s => { for ( const r of s ) if ( r . type === "childList" ) for ( const _ of r . addedNodes ) _ . tagName === "LINK" && _ . rel === "modulepreload" && i ( _ ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function l ( s ) { const r = { } ; return s . integrity && ( r . integrity = s . integrity ) , s . referrerPolicy && ( r . referrerPolicy = s . referrerPolicy ) , s . crossOrigin === "use-credentials" ? r . credentials = "include" : s . crossOrigin === "anonymous" ? r . credentials = "omit" : r . credentials = "same-origin" , r } function i ( s ) { if ( s . ep ) return ; s . ep = ! 0 ; const r = l ( s ) ; fetch ( s . href , r ) } } ) ( ) ; function ee ( ) { } function Rs ( e ) { return e ( ) } function cs ( ) { return Object . create ( null ) } function Fe ( e ) { e . forEach ( Rs ) } function Ds ( e ) { return typeof e == "function" } function Pt ( e , t ) { return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function" } let Cl ; function lo ( e , t ) { return e === t ? ! 0 : ( Cl || ( Cl = document . createElement ( "a" ) ) , Cl . href = t , e === Cl . href ) } function io ( e ) { return Object . keys ( e ) . length === 0 } function so ( e , ... t ) { if ( e == null ) { for ( const i of t ) i ( void 0 ) ; return ee } const l = e . subscribe ( ... t ) ; return l . unsubscribe ? ( ) => l . unsubscribe ( ) : l } function oo ( e , t , l ) { e . $$ . on _destroy . push ( so ( t , l ) ) } function n ( e , t ) { e . appendChild ( t ) } function w ( e , t , l ) { e . insertBefore ( t , l || null ) } function m ( e ) { e . parentNode && e . parentNode . removeChild ( e ) } function Ct ( e , t ) { for ( let l = 0 ; l < e . length ; l += 1 ) e [ l ] && e [ l ] . d ( t ) } function o ( e ) { return document . createElement ( e ) } function ao ( e ) { return document . createElementNS ( "http://www.w3.org/2000/svg" , e ) } function p ( e ) { return document . createTextNode ( e ) } function c ( ) { return p ( " " ) } function hi ( ) { return p ( "" ) } function k ( e , t , l , i ) { return e . addEventListener ( t , l , i ) , ( ) => e . removeEventListener ( t , l , i ) } function ds ( e ) { return function ( t ) { return t . preventDefault ( ) , e . call ( this , t ) } } function a ( e , t , l ) { l == null ? e . removeAttribute ( t ) : e . getAttribute ( t ) !== l && e . setAttribute ( t , l ) } function B ( e ) { return e === "" ? null : + e } function ro ( e ) { return Array . from ( e . childNodes ) } function se ( e , t ) { t = "" + t , e . data !== t && ( e . data = t ) } function T ( e , t ) { e . value = t ? ? "" } function Jt ( e , t , l , i ) { l == null ? e . style . removeProperty ( t ) : e . style . setProperty ( t , l , i ? "important" : "" ) } function Ye ( e , t , l ) { for ( let i = 0 ; i < e . options . length ; i += 1 ) { const s = e . options [ i ] ; if ( s . _ _value === t ) { s . selected = ! 0 ; return } } ( ! l || t !== void 0 ) && ( e . selectedIndex = - 1 ) } function vn ( e ) { const t = e . querySelector ( ":checked" ) ; return t && t . _ _value } class uo { constructor ( t = ! 1 ) { ft ( this , "is_svg" , ! 1 ) ; ft ( this , "e" ) ; ft ( this , "n" ) ; ft ( this , "t" ) ; ft ( this , "a" ) ; this . is _svg = t , this . e = this . n = null } c ( t ) { this . h ( t ) } m ( t , l , i = null ) { this . e || ( this . is _svg ? this . e = ao ( l . nodeName ) : this . e = o ( l . nodeType === 11 ? "TEMPLATE" : l . nodeName ) , this . t = l . tagName !== "TEMPLATE" ? l : l . content , this . c ( t ) ) , this . i ( i ) } h ( t ) { this . e . innerHTML = t , this . n = Array . from ( this . e . nodeName === "TEMPLATE" ? this . e . content . childNodes : this . e . childNodes ) } i ( t ) { for ( let l = 0 ; l < this . n . length ; l += 1 ) w ( this . t , this . n [ l ] , t ) } p ( t ) { this . d ( ) , this . h ( t ) , this . i ( this . a ) } d ( ) { this . n . forEach ( m ) } } function fs ( e , t ) { return new e ( t ) } let zn ; function kn ( e ) { zn = e } function Hs ( ) { if ( ! zn ) throw new Error ( "Function called outside component initialization" ) ; return zn } function Al ( e ) { Hs ( ) . $$ . on _mount . push ( e ) } function Us ( e ) { Hs ( ) . $$ . on _destroy . push ( e ) } const xt = [ ] , ri = [ ] ; let $t = [ ] ; const hs = [ ] , co = Promise . resolve ( ) ; let ui = ! 1 ; function fo ( ) { ui || ( ui = ! 0 , co . then ( qs ) ) } function pt ( e ) { $t . push ( e ) } const ai = new Set ; let Qt = 0 ; function qs ( ) { if ( Qt !== 0 ) return ; const e = zn ; do { try { for ( ; Qt < xt . length ; ) { const t = xt [ Qt ] ; Qt ++ , kn ( t ) , ho ( t . $$ ) } } catch ( t ) { throw xt . length = 0 , Qt = 0 , t } for ( kn ( null ) , xt . length = 0 , Qt = 0 ; ri . length ; ) ri . pop ( ) ( ) ; for ( let t = 0 ; t < $t . length ; t += 1 ) { const l = $t [ t ] ; ai . has ( l ) || ( ai . add ( l ) , l ( ) ) } $t . length = 0 } while ( xt . length ) ; for ( ; hs . length ; ) hs . pop ( ) ( ) ; ui = ! 1 , ai . clear ( ) , kn ( e ) } function ho ( e ) { if ( e . fragment !== null ) { e . update ( ) , Fe ( e . before _update ) ; const t = e . dirty ; e . dirty = [ - 1 ] , e . fragment && e . fragment . p ( e . ctx , t ) , e . after _update . forEach ( pt ) } } function po ( e ) { const t =
2023-08-14 04:25:50 +03:00
development process . In the future , this app will be used on Tauri & # 39 ; s integration
2023-10-18 15:47:24 +03:00
tests . ` ,i=c(),s=o("br"),r=c(),_=o("br"),h=c(),g=o("pre"),d=p(" App name: "),I=o("code"),z=p(e[2]),Y=p( `
App version : ` ),E=o("code"),A=p(e[0]),M=p( `
Tauri version : ` ),N=o("code"),ae=p(e[1]),H=p( `
` ),W=c(),V=o("br"),G=c(),P=o("button"),P.textContent="Context menu",a(P,"class","btn")},m(R,x){w(R,t,x),n(t,l),n(t,i),n(t,s),n(t,r),n(t,_),n(t,h),n(t,g),n(g,d),n(g,I),n(I,z),n(g,Y),n(g,E),n(E,A),n(g,M),n(g,N),n(N,ae),n(g,H),n(t,W),n(t,V),n(t,G),n(t,P),F||(re=k(P,"click",e[3]),F=!0)},p(R,[x]){x&4&&se(z,R[2]),x&1&&se(A,R[0]),x&2&&se(ae,R[1])},i:ee,o:ee,d(R){R&&m(t),F=!1,re()}}}function Po(e,t,l){let i="1.0.0",s="1.0.0",r="Unknown";Gs().then(h=>{l(2,r=h)}),Vs().then(h=>{l(0,i=h)}),Xs().then(h=>{l(1,s=h)});function _(){b("popup_context_menu")}return[i,s,r,_]}class To extends tn{constructor(t){super(),en(this,t,Po,Co,Pt,{})}}var Ao={};En(Ao,{TauriEvent:()=>Js,emit:()=>bi,listen:()=>Nl,once:()=>Zs});var Js=(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))(Js||{});async function Qs(e,t){await b("plugin:event|unlisten",{event:e,eventId:t})}async function Nl(e,t,l){return b("plugin:event|listen",{event:e,windowLabel:l==null?void 0:l.target,handler:pi(t)}).then(i=>async()=>Qs(e,i))}async function Zs(e,t,l){return Nl(e,i=>{t(i),Qs(e,i.id).catch(()=>{})},l)}async function bi(e,t,l){await b("plugin:event|emit",{event:e,windowLabel:l==null?void 0:l.target,payload:t})}function Mo(e){let t,l,i,s,r,_,h,g;return{c(){t=o("div"),l=o("button"),l.textContent="Call Log API",i=c(),s=o("button"),s.textContent="Call Request (async) API",r=c(),_=o("button"),_.textContent="Send event to Rust",a(l,"class","btn"),a(l,"id","log"),a(s,"class","btn"),a(s,"id","request"),a(_,"class","btn"),a(_,"id","event")},m(d,I){w(d,t,I),n(t,l),n(t,i),n(t,s),n(t,r),n(t,_),h||(g=[k(l,"click",e[0]),k(s,"click",e[1]),k(_,"click",e[2])],h=!0)},p:ee,i:ee,o:ee,d(d){d&&m(t),h=!1,Fe(g)}}}function Io(e,t,l){let{onMessage:i}=t,s;Al(async()=>{s=await Nl("rust-event",i)}),Us(()=>{s&&s()});function r(){b("log_operation",{event:"tauri-click",payload:"this payload is optional because we used Option in Rust"})}function _(){b("perform_request",{endpoint:"dummy endpoint arg",body:{id:5,name:"test"}}).then(i).catch(i)}function h(){bi("js-event","this is the payload string")}return e. $ $ set=g=>{"onMessage"in g&&l(3,i=g.onMessage)},[r,_,h,i]}class Oo extends tn{constructor(t){super(),en(this,t,Io,Mo,Pt,{onMessage:3})}}var No={};En(No,{LogicalPosition:()=>gi,LogicalSize:()=>Ln,PhysicalPosition:()=>xe,PhysicalSize:()=>ht});var Ln=class{constructor(e,t){this.type="Logical",this.width=e,this.height=t}},ht=class{constructor(e,t){this.type="Physical",this.width=e,this.height=t}toLogical(e){return new Ln(this.width/e,this.height/e)}},gi=class{constructor(t,l){this.type="Logical",this.x=t,this.y=l}},xe=class{constructor(e,t){this.type="Physical",this.x=e,this.y=t}toLogical(e){return new gi(this.x/e,this.y/e)}},Wo={};En(Wo,{CloseRequestedEvent:()=>xs,Effect:()=>Il,EffectState:()=>Ol,LogicalPosition:()=>gi,LogicalSize:()=>Ln,PhysicalPosition:()=>xe,PhysicalSize:()=>ht,ProgressBarStatus:()=>Ml,UserAttentionType:()=>_i,Window:()=>Sn,availableMonitors:()=>Ho,currentMonitor:()=>Ro,getAll:()=>Tl,getCurrent:()=>mi,primaryMonitor:()=>Do});var _i=(e=>(e[e.Critical=1]="Critical",e[e.Informational=2]="Informational",e))(_i||{}),xs=class{constructor(e){this._preventDefault=!1,this.event=e.event,this.windowLabel=e.windowLabel,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}},Ml=(e=>(e.None="none",e.Normal="normal",e.Indeterminate="indeterminate",e.Paused="paused",e.Error="error",e))(Ml||{});function mi(){return new Sn(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}function Tl(){return window.__TAURI_INTERNALS__.metadata.windows.map(e=>new Sn(e.label,{skip:!0})
` ),R=o("input"),x=c(),te=o("label"),y=p( ` Resizable
` ),U=o("input"),j=c(), $ =o("label"),ue=p( ` Maximizable
` ),K=o("input"),_e=c(),ke=o("label"),de=p( ` Minimizable
` ),oe=o("input"),J=c(),he=o("label"),q=p( ` Closable
` ),ne=o("input"),Z=c(),v=o("label"),X=p( ` Has decorations
` ),S=o("input"),fe=c(),Ee=o("label"),me=p( ` Always on top
` ),pe=o("input"),Me=c(),Se=o("label"),Ie=p( ` Always on bottom
` ),be=o("input"),ge=c(),ze=o("label"),Ce=p( ` Content protected
` ),ce=o("input"),Le=c(),le=o("label"),Oe=p( ` Fullscreen
` ),Ne=o("input"),Pe=c(),ie=o("br"),L=c(),Q=o("div"),C=o("div"),Te=o("div"),Cn=p( ` X
` ),We=o("input"),Pn=c(),Tt=o("div"),Tn=p( ` Y
` ),Re=o("input"),An=c(), $ e=o("div"),At=o("div"),Mn=p( ` Width
` ),De=o("input"),In=c(),Mt=o("div"),On=p( ` Height
` ),He=o("input"),Nn=c(),et=o("div"),It=o("div"),Wn=p( ` Min width
` ),je=o("input"),Rn=c(),Ot=o("div"),Dn=p( ` Min height
` ),Ve=o("input"),Hn=c(),tt=o("div"),Nt=o("div"),Un=p( ` Max width
` ),Ue=o("input"),qn=c(),Wt=o("div"),Bn=p( ` Max height
` ),qe=o("input"),nn=c(),ln=o("br"),sn=c(),Ae=o("div"),nt=o("div"),Ge=o("div"),O=o("div"),O.textContent="Inner Size",on=c(),bt=o("span"),an=p("Width: "),Rt=p(gt),rn=c(),_t=o("span"),un=p("Height: "),Dt=p(mt),cn=c(),Be=o("div"),wt=o("div"),wt.textContent="Outer Size",dn=c(),vt=o("span"),fn=p("Width: "),Ht=p(yt),hn=c(),kt=o("span"),pn=p("Height: "),Ut=p(zt),Fn=c(),qt=o("div"),lt=o("div"),jn=o("div"),jn.textContent="Inner Logical Size",vi=c(),Vn=o("span"),yi=p("Width: "),Wl=p(Gn),ki=c(),Xn=o("span"),zi=p("Height: "),Rl=p(Yn),Li=c(),it=o("div"),Kn=o("div"),Kn.textContent="Outer Logical Size",Ei=c(),Jn=o("span"),Si=p("Width: "),Dl=p(Qn),Ci=c(),Zn=o("span"),Pi=p("Height: "),Hl=p(xn),Ti=c(),Bt=o("div"),st=o("div"), $ n=o("div"), $ n.textContent="Inner Position",Ai=c(),el=o("span"),Mi=p("x: "),Ul=p(tl),Ii=c(),nl=o("span"),Oi=p("y: "),ql=p(ll),Ni=c(),ot=o("div"),il=o("div"),il.textContent="Outer Position",Wi=c(),sl=o("span"),Ri=p("x: "),Bl=p(ol),Di=c(),al=o("span"),Hi=p("y: "),Fl=p(rl),Ui=c(),Ft=o("div"),at=o("div"),ul=o("div"),ul.textContent="Inner Logical Position",qi=c(),cl=o("span"),Bi=p("x: "),jl=p(dl),Fi=c(),fl=o("span"),ji=p("y: "),Vl=p(hl),Vi=c(),rt=o("div"),pl=o("div"),pl.textContent="Outer Logical Position",Gi=c(),bl=o("span"),Xi=p("x: "),Gl=p(gl),Yi=c(),_l=o("span"),Ki=p("y: "),Xl=p(ml),Yl=c(),Kl=o("br"),Jl=c(),bn=o("h4"),bn.textContent="Cursor",Ql=c(),Ke=o("div"),wl=o("label"),jt=o("input"),Ji=p( `
Grab ` ),Qi=c(),vl=o("label"),Vt=o("input"),Zi=p( `
Visible ` ),xi=c(),yl=o("label"),Gt=o("input"), $ i=p( `
Ignore events ` ),Zl=c(),Je=o("div"),kl=o("label"),es=p( ` Icon
` ),Qe=o("select");for(let u=0;u<we.length;u+=1)we[u].c();ts=c(),zl=o("label"),ns=p( ` X position
` ),ut=o("input"),ls=c(),Ll=o("label"),is=p( ` Y position
` ),ct=o("input"),xl=c(), $ l=o("br"),ei=c(),gn=o("div"),Lt=o("form"),dt=o("input"),ss=c(),_n=o("button"),_n.textContent="Set title",ti=c(),ni=o("br"),li=c(),mn=o("div"),Xt=o("div"),El=o("label"),os=p( ` Progress Status
` ),Ze=o("select");for(let u=0;u<ve.length;u+=1)ve[u].c();as=c(),Sl=o("label"),rs=p( ` Progress
` ),Xe=o("input"),ii=c(),Et&&Et.c(),si=hi(),a(h,"class","input grow"),a(d,"class","btn"),a(d,"type","submit"),a(_,"class","flex gap-1 grow"),a(i,"class","flex gap-1 items-center"),a(A,"class","btn"),a(A,"title","Unminimizes after 2 seconds"),a(N,"class","btn"),a(N,"title","Unminimizes after 2 seconds"),a(H,"class","btn"),a(H,"title","Visible again after 2 seconds"),a(V,"class","btn"),a(V,"title","Minimizes the window, requests attention for 3s and then resets it"),a(E,"class","flex flex-wrap gap-2"),a(R,"type","checkbox"),a(U,"type","checkbox"),a(K,"type","checkbox"),a(oe,"type","checkbox"),a(ne,"type","checkbox"),a(S,"type","checkbox"),a(pe,"type","checkbox"),a(be,"type","checkbox"),a(ce,"type","checkbox"),a(Ne,"type","checkbox"),a(P,"class","flex flex-wrap gap-2"),a(We,"class","input"),a(We,"type","number"),a(We,"min","0"),a(Re,"class","input"),a(Re,"type","number"),a(Re,"min","0"),a(C,"class","flex children:grow flex-col"),a(De,"class","input"),a(De,"type","number"),a(De,"min","400"),a(He,"class","input"),a(He,"type","number"),a(He,"min","400"),a( $ e,"class","flex children:grow flex-col"),a(je,"class","input"),a(je,"type","number"),a(Ve,"class","input"),a(Ve,"type","number"),a(et,"class","flex children:grow flex-col"),a(Ue,"class","input"),a(Ue,"type","number"),a(Ue,"min","800"),a(qe,"class","input"),a(qe,"type","number"),a(qe,"min","400"),a(tt,"class","flex children:grow flex-col"),a(Q,"class","flex flex-row gap-2 flex-wrap"),a(O,"class","text-accent dark:text-darkAccent font-700"),a(Ge,"class","grow"),a(wt,"class","text-accent dark:text-darkAccent font-700"),a(Be,"class","grow"),a(nt,"class","flex"),a(jn,"class","text-accent dark:text-darkAccent font-700"),a(lt,"class","grow"),a(Kn,"class","text-accent dark:text-darkAccent font-700"),a(it,"class","grow"),a(qt,"class","flex"),a( $ n,"class","text-accent dark:text-darkAccent font-700"),a(st,"class","grow"),a(il,"class","text-accent dark:text-darkAccent font-700"),a(ot,"class","grow"),a(Bt,"class","flex"),a(ul,"class","text-accent dark:text-darkAccent font-700"),a(at,"class","grow"),a(pl,"class","text-accent dark:text-darkAccent font-700"),a(rt,"class","grow"),a(Ft,"class","flex"),a(bn,"class","mb-2"),a(jt,"type","checkbox"),a(Vt,"type","checkbox"),a(Gt,"type","checkbox"),a(Ke,"class","flex gap-2"),a(Qe,"class","input"),e[24]===void 0&&pt(()=>e[83].call(Qe)),a(ut,"class","input"),a(ut,"type","number"),a(ct,"class","input"),a(ct,"type","number"),a(Je,"class","flex gap-2"),a(dt,"class","input grow"),a(dt,"id","title"),a(_n,"class","btn"),a(_n,"type","submit"),a(Lt,"class","flex gap-1"),a(gn,"class","flex flex-col gap-1"),a(Ze,"class","input"),e[26]===void 0&&pt(()=>e[87].call(Ze)),a(Xe,"class","input"),a(Xe,"type","number"),a(Xe,"min","0"),a(Xe,"max","100"),a(Xt,"class","flex gap-2"),a(mn,"class","flex flex-col gap-1")},m(u,f){w(u,t,f),w(u,l,f),w(u,i,f),n(i,s),n(i,r),n(i,_),n(_,h),T(h,e[43]),n(_,g),n(_,d),w(u,I,f),w(u,z,f),w(u,Y,f),w(u,E,f),n(E,A),n(E,M),n(E,N),n(E,ae),n(E,H),n(E,W),n(E,V),w(u,G,f),w(u,P,f),n(P,F),n(F,re),n(F,R),R.checked=e[6],n(P,x),n(P,te),n(te,y),n(te,U),U.checked=e[2],n(P,j),n(P, $ ),n( $ ,ue),n( $ ,K),K.checked=e[3],n(P,_e),n(P,ke),n(ke,de),n(ke,oe),oe.checked=e[4],n(P,J),n(P,he),n(he,q),n(he,ne),ne.checked=e[5],n(P,Z),n(P,v),n(v,X),n(v,S),S.checked=e[7],n(P,fe),n(P,Ee),n(Ee,me),n(Ee,pe),pe.checked=e[8],n(P,Me),n(P,Se),n(Se,Ie),n(Se,be),be.checked=e[9],n(P,ge),n(P,ze),n(ze,Ce),n(ze,ce),ce.checked=e[10],n(P,Le),n(P,le),n(le,Oe),n(le,Ne),Ne.checked=e[11],w(u,Pe,f),w(u,ie,f),w(u,L,f),w(u,Q,f),n(Q,C),n(C,Te),n(Te,Cn),n(Te,We),T(We,e[18]),n(C,Pn),n(C,Tt),n(Tt,Tn),n(Tt,Re),T(Re,e[19]),n(Q,An),n(Q, $ e),n( $ e,At),n(At,Mn),n(At,De),T(De,e[12]),n( $ e,In),n( $ e,Mt),n(Mt,On),n(Mt,He),T(He,e[13]),n(Q,Nn),n(Q,et),n(et,It),n(It,Wn),n(It,je),T(je,e[14]),n(et,Rn),n(et,Ot),n(Ot,Dn),n(Ot,Ve),T(Ve,e[15]),n(Q,Hn),n(Q,tt),n(tt,Nt),n(Nt,Un),n(Nt,Ue),T(Ue,e[16]),n(tt,qn),n(tt,Wt),n(Wt,Bn),n(Wt,qe),T(qe,e[17]),w(u,nn,f),w(u,ln,f),w(u,sn,f),w(u,Ae,f),n(Ae,nt),n(nt,Ge),n(Ge,O),n(Ge,on),n(Ge,bt),n(bt,an),n(bt,Rt),n(Ge,rn),n(Ge,_t),n(_t,un),n(_t,Dt),n(nt,cn),n(nt,Be),n(Be,wt),n(Be
` ),r=o("select");for(let v=0;v<q.length;v+=1)q[v].c();_=c(),h=o("label"),g=p( ` State
` ),d=o("select");for(let v=0;v<Z.length;v+=1)Z[v].c();I=c(),z=o("label"),Y=p( ` Radius
` ),E=o("input"),A=c(),M=o("div"),N=o("label"),ae=p( ` Color
` ),H=o("div"),W=o("input"),V=c(),G=o("input"),P=c(),F=o("input"),re=c(),R=o("input"),x=c(),te=o("div"),y=o("button"),y.textContent="Add",U=c(),j=o("div"), $ =o("div"),ue=p("Applied effects: "),_e=p(K),ke=c(),de=o("button"),de.textContent="Clear",a(r,"class","input"),e[36]===void 0&&pt(()=>e[89].call(r)),a(d,"class","input"),e[37]===void 0&&pt(()=>e[90].call(d)),a(E,"class","input"),a(E,"type","number"),a(l,"class","flex"),Jt(W,"max-width","120px"),a(W,"class","input"),a(W,"type","number"),a(W,"placeholder","R"),Jt(G,"max-width","120px"),a(G,"class","input"),a(G,"type","number"),a(G,"placeholder","G"),Jt(F,"max-width","120px"),a(F,"class","input"),a(F,"type","number"),a(F,"placeholder","B"),Jt(R,"max-width","120px"),a(R,"class","input"),a(R,"type","number"),a(R,"placeholder","A"),a(H,"class","flex"),a(M,"class","flex"),a(y,"class","btn"),Jt(y,"width","80px"),a(te,"class","flex"),a(de,"class","btn"),Jt(de,"width","80px"),a(j,"class","flex"),a(t,"class","flex flex-col gap-1")},m(v,X){w(v,t,X),n(t,l),n(l,i),n(i,s),n(i,r);for(let S=0;S<q.length;S+=1)q[S]&&q[S].m(r,null);Ye(r,e[36],!0),n(l,_),n(l,h),n(h,g),n(h,d);for(let S=0;S<Z.length;S+=1)Z[S]&&Z[S].m(d,null);Ye(d,e[37],!0),n(l,I),n(l,z),n(z,Y),n(z,E),T(E,e[38]),n(t,A),n(t,M),n(M,N),n(N,ae),n(N,H),n(H,W),T(W,e[39]),n(H,V),n(H,G),T(G,e[40]),n(H,P),n(H,F),T(F,e[41]),n(H,re),n(H,R),T(R,e[42]),n(t,x),n(t,te),n(te,y),n(t,U),n(t,j),n(j, $ ),n( $ ,ue),n( $ ,_e),n(j,ke),n(j,de),oe||(J=[k(r,"change",e[89]),k(d,"change",e[90]),k(E,"input",e[91]),k(W,"input",e[92]),k(G,"input",e[93]),k(F,"input",e[94]),k(R,"input",e[95]),k(y,"click",e[55]),k(de,"click",e[56])],oe=!0)},p(v,X){if(X[1]&65536){he=ye(v[47]);let S;for(S=0;S<he.length;S+=1){const fe=ws(v,he,S);q[S]?q[S].p(fe,X):(q[S]=Ps(fe),q[S].c(),q[S].m(r,null))}for(;S<q.length;S+=1)q[S].d(1);q.length=he.length}if(X[1]&65568&&Ye(r,v[36]),X[1]&131072){ne=ye(v[48]);let S;for(S=0;S<ne.length;S+=1){const fe=ms(v,ne,S);Z[S]?Z[S].p(fe,X):(Z[S]=Ts(fe),Z[S].c(),Z[S].m(d,null))}for(;S<Z.length;S+=1)Z[S].d(1);Z.length=ne.length}X[1]&131136&&Ye(d,v[37]),X[1]&128&&B(E.value)!==v[38]&&T(E,v[38]),X[1]&256&&B(W.value)!==v[39]&&T(W,v[39]),X[1]&512&&B(G.value)!==v[40]&&T(G,v[40]),X[1]&1024&&B(F.value)!==v[41]&&T(F,v[41]),X[1]&2048&&B(R.value)!==v[42]&&T(R,v[42]),X[1]&16&&K!==(K=(v[35].length?v[35].join(","):"None")+"")&&se(_e,K)},d(v){v&&m(t),Ct(q,v),Ct(Z,v),oe=!1,Fe(J)}}}function Ps(e){let t,l=e[108]+"",i;return{c(){t=o("option"),i=p(l),t.__value=e[108],T(t,t.__value)},m(s,r){w(s,t,r),n(t,i)},p:ee,d(s){s&&m(t)}}}function Ts(e){let t,l=e[105]+"",i;return{c(){t=o("option"),i=p(l),t.__value=e[105],T(t,t.__value)},m(s,r){w(s,t,r),n(t,i)},p:ee,d(s){s&&m(t)}}}function qo(e){let t,l,i,s,r,_,h,g,d=Object.keys(e[1]).length>=1,I,z,Y,E=d&&zs(e),A=e[1][e[0]]&&Es(e);return{c(){t=o("div"),l=o("div"),i=o("input"),s=c(),r=o("button"),r.textContent="New window",_=c(),h=o("br"),g=c(),E&&E.c(),I=c(),A&&A.c(),a(i,"class","input grow"),a(i,"type","text"),a(i,"placeholder","New Window label.."),a(r,"class","btn"),a(l,"class","flex gap-1"),a(t,"class","flex flex-col children:grow gap-2")},m(M,N){w(M,t,N),n(t,l),n(l,i),T(i,e[28]),n(l,s),n(l,r),n(t,_),n(t,h),n(t,g),E&&E.m(t,null),n(t,I),A&&A.m(t,null),z||(Y=[k(i,"input",e[58]),k(r,"click",e[53])],z=!0)},p(M,N){N[0]&268435456&&i.value!==M[28]&&T(i,M[28]),N[0]&2&&(d=Object.keys(M[1]).length>=1),d?E?E.p(M,N):(E=zs(M),E.c(),E.m(t,I)):E&&(E.d(1),E=null),M[1][M[0]]?A?A.p(M,N):(A=Es(M),A.c(),A.m(t,null)):A&&(A.d(1),A=null)},i:ee,o:ee,d(M){M&&m(t),E&&E.d(),A&&A.d(),z=!1,Fe(Y)}}}function Bo(e,t,l){const i=mi();let s=i.label;const r={[i.label]:i},_=["default","crosshair","hand","arrow","move","text","wait","help","progress","notAllowed","contextMenu","cell","verticalText","alias","copy","noDrop","grab","grabbing","allScroll","zoomIn","zoomOut","eResize","nResize","neResize","nwResize","sResize","seResize","swResize","wResize","ewResize","nsResize","neswResize","nwseResize","colResize","rowResize"],h=["mica","blur","acrylic","tabbed","tabbedDark","tabbedLight"],g=navigator.appVersion.includes("Windows"),d=navigator.appVersion.includes(
` ),l=o("div"),a(l,"class","i-ph-moon")},m(i,s){w(i,t,s),w(i,l,s)},d(i){i&&(m(t),m(l))}}}function xo(e){let t,l;return{c(){t=p( ` Switch to Light mode
` ),l=o("div"),a(l,"class","i-ph-sun")},m(i,s){w(i,t,s),w(i,l,s)},d(i){i&&(m(t),m(l))}}}function $ o(e){let t,l,i,s,r,_,h;function g(){return e[14](e[28])}return{c(){t=o("a"),l=o("div"),i=c(),s=o("p"),s.textContent= ` $ { e [ 28 ] . label } ` ,a(l,"class",e[28].icon+" mr-2"),a(t,"href","##"),a(t,"class",r="nv "+(e[1]===e[28]?"nv_selected":""))},m(d,I){w(d,t,I),n(t,l),n(t,i),n(t,s),_||(h=k(t,"click",g),_=!0)},p(d,I){e=d,I&2&&r!==(r="nv "+(e[1]===e[28]?"nv_selected":""))&&a(t,"class",r)},d(d){d&&m(t),_=!1,h()}}}function Is(e){let t,l=e[28]&& $ o(e);return{c(){l&&l.c(),t=hi()},m(i,s){l&&l.m(i,s),w(i,t,s)},p(i,s){i[28]&&l.p(i,s)},d(i){i&&m(t),l&&l.d(i)}}}function Os(e){let t,l=e[25].html+"",i;return{c(){t=new uo(!1),i=hi(),t.a=i},m(s,r){t.m(l,s,r),w(s,i,r)},p(s,r){r&16&&l!==(l=s[25].html+"")&&t.p(l)},d(s){s&&(m(i),t.d())}}}function ea(e){let t,l,i,s,r,_,h,g,d,I,z,Y,E,A,M,N,ae,H,W,V,G,P,F,re,R,x,te,y,U,j, $ ,ue,K=e[1].label+"",_e,ke,de,oe,J,he,q,ne,Z,v,X,S,fe,Ee,me,pe,Me,Se;function Ie(L,Q){return L[0]?Qo:Jo}let be=Ie(e),ge=be(e);function ze(L,Q){return L[2]?xo:Zo}let Ce=ze(e),ce=Ce(e),Le=ye(e[5]),le=[];for(let L=0;L<Le.length;L+=1)le[L]=Is(Ms(e,Le,L));var Oe=e[1].component;function Ne(L,Q){return{props:{onMessage:L[9],insecureRenderHtml:L[10]}}}Oe&&(J=fs(Oe,Ne(e)));let Pe=ye(e[4]),ie=[];for(let L=0;L<Pe.length;L+=1)ie[L]=Os(As(e,Pe,L));return{c(){t=o("div"),ge.c(),l=c(),i=o("div"),s=o("aside"),r=o("img"),h=c(),g=o("a"),ce.c(),d=c(),I=o("br"),z=c(),Y=o("div"),E=c(),A=o("br"),M=c(),N=o("a"),N.innerHTML= ` Documentation
< span class = "i-codicon-link-external" > < / s p a n > ` , a e = c ( ) , H = o ( " a " ) , H . 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 = c ( ) , V = o ( " a " ) , V . 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 > ` , G = c ( ) , P = o ( " b r " ) , F = c ( ) , r e = o ( " d i v " ) , R = c ( ) , x = o ( " b r " ) , t e = c ( ) , y = o ( " d i v " ) ; f o r ( l e t L = 0 ; L < l e . l e n g t h ; L + = 1 ) l e [ L ] . c ( ) ; U = c ( ) , j = o ( " m a i n " ) , $ = o ( " d i v " ) , u e = o ( " h 1 " ) , _ e = p ( K ) , k e = c ( ) , d e = o ( " d i v " ) , o e = o ( " d i v " ) , J & & b s ( J . $ $ . f r a g m e n t ) , h e = c ( ) , q = o ( " d i v " ) , n e = o ( " d i v " ) , Z = c ( ) , v = o ( " d i v " ) , X = o ( " p " ) , X . t e x t C o n t e n t = " C o n s o l e " , S = c ( ) , f e = o ( " d i v " ) , f 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 > ' , E e = c ( ) , m e = o ( " d i v " ) ; f o r ( l e t L = 0 ; L < i e . l e n g t h ; L + = 1 ) i e [ L ] . c ( ) ; a ( t , " i d " , " s i d e b a r T o g g l e " ) , a ( t , " 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 " ) , a ( r , " 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 " ) , l o ( r . s r c , _ = " t a u r i _ l o g o . p n g " ) | | a ( r , " s r c " , _ ) , a ( r , " a l t " , " T a u r i l o g o " ) , a ( g , " h r e f " , " # # " ) , a ( g , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , a ( Y , " c l a s s " , " b g - w h i t e / 5 h - 2 p x " ) , a ( N , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , a ( N , " t a r g e t " , " _ b l a n k " ) , a ( N , " 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 / " ) , a ( H , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , a ( H , " t a r g e t " , " _ b l a n k " ) , a ( H , " 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 " ) , a ( V , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , a ( V , " t a r g e t " , " _ b l a n k " ) , a ( V , " 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 " ) , a ( r e , " c l a s s " , " b g - w h i t e / 5 h - 2 p x " ) , a ( y , " 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 " ) , a ( s , " i d " , " s i d e b a r " ) , a ( s , " 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 g r i d - r o w s - [ m i n - c o n t e n t _ a u t o ] s e l e c t - n o n e p x - 2 " ) , a ( o e , " c l a s s " , " m r - 2 " ) , a ( d e , " c l a s s " , " o v e r f l o w - y - a u t o " ) , a ( $ , " 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 ] " ) , a ( n e , " 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 " ) , a ( X , " c l a s s " , " f o n t - s e m i b o l d " ) , a ( f 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 " ) , a ( v , " 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 " ) , a ( m 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 " ) , a ( q , " i d " , " c o n s o l e " ) , a ( q , " 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 " ) , a ( j , " 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 ] " ) , a ( i , " 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 ( L , Q ) { w ( L , t , Q ) , g e . m ( t , n u l l ) , w ( L , l , Q ) , w ( L , i , Q ) , n ( i , s ) , n ( s , r ) , n ( s , h ) , n ( s , g ) , c e . m ( g , n u l l ) , n ( s , d ) , n ( s , I ) , n ( s , z ) , n ( s , Y ) , n ( s , E ) , n ( s , A ) , n ( s , M ) , n ( s , N ) , n ( s , a e ) , n ( s , H ) , n ( s , W ) , n ( s , V ) , n ( s , G ) , n ( s , P ) , n ( s , F ) , n ( s , r e ) , n ( s , R ) , n ( s , x ) , n ( s , t e ) , n ( s , y ) ; f o r ( l e t C = 0 ; C < l e . l e n g t h ; C + = 1 ) l e [ C ] & & l e [ C ] . m ( y , n u l l ) ; n ( i , U ) , n ( i , j ) , n ( j , $ ) , n ( $ , u e ) , n ( u e , _ e ) , n ( $ , k e ) , n ( $ , d e ) , n ( d e , o e ) , J & & d i ( J , o e , n u l l ) , n ( j , h e ) , n ( j , q ) , n ( q , n e ) , n ( q , Z ) , n ( q , v ) , n ( v , X ) , n ( v , S ) , n ( v , f e ) , n ( q , E e ) , n ( q , m e ) ; f o r ( l e t C = 0 ; C < i e . l e n g t h ; C + = 1 ) i e [ C ] & & i e [ C ] . m ( m e , n u l l ) ; e [ 1 5 ] ( q ) , p e = ! 0 , M e | | ( S e = [ k ( g , " c l i c k " , e [ 7 ] ) , k ( n e , " m o u s e d o w n " , e [ 1 2 ] ) , k ( f e , " c l i c k " , e [ 1 1 ] ) ] , M e = ! 0 ) } , p ( L , [ Q ] ) { i f ( b e ! = = ( b e = I e ( L ) ) & & ( g e . d ( 1 ) , g e = b e ( L ) , g e & & ( g e . c ( ) , g e . m ( t , n u l l ) ) ) , C e ! = = ( C e = z e ( L ) ) & & ( c e . d ( 1 ) , c e = C e ( L ) , c e & & ( c e . c ( ) , c e . m ( g , n u l l ) ) ) , Q & 9 9 ) { L e = y e ( L [ 5 ] ) ; l e t C ; f o r ( C = 0 ; C < L e . l e n g t h ; C + = 1 ) { c o n s t T e = M s ( L , L e , C ) ; l e [ C ] ? l e [ C ] . p ( T e , Q ) : ( l e [ C ] = I s ( T e ) , l e [ C ] . c ( ) , l e [ C ] . m ( y , n u l l ) ) } f o r ( ; C < l e . l e n g t h ; C + = 1 ) l e [ C ] . d ( 1 ) ; l e . l e n g t h = L e . l e n g t h } i f ( ( ! p e | | Q & 2 ) & & K ! = = ( K = L [ 1 ] . l a b e l + " " ) & & s e ( _ e , K ) , Q & 2 & & O e ! = = ( O e = L [ 1 ] . c o m p o n e n t ) ) { i f ( J ) { b o ( ) ; c o n s t C = J ; p s ( C . $ $ . f r a g m e n t , 1 , 0 , ( ) = > { f i ( C , 1 ) } ) , g o ( ) } O e ? ( J = f s ( O e , N e ( L ) ) , b s ( J . $ $ . f r a g m e n t ) , c i ( J . $ $ . f r a g m e n t , 1 ) , d i ( J , o e , n u l l ) ) : J = n u l l } i f ( Q & 1 6 ) { P e = y e ( L [ 4 ] ) ; l e t C ; f o r ( C = 0 ; C < P e . l e n g t h ; C + = 1 ) { c o n s t T e = A s ( L , P e , C ) ; i e [ C ] ? i e [ C ] . p ( T e , Q ) : ( i e [ C ] = O s ( T e ) , i e [ C ] . c ( ) , i e [ C ] . m ( m e , n u l l ) ) } f o r ( ; C < i e . l e n g t h ; C + = 1 ) i e [ C ] . d ( 1 ) ; i e . l e n g t h = P e . l e n g t h } } , i ( L ) { p e | | ( J & & c i ( J . $ $ . f r a g m e n t , L ) , p e = ! 0 ) } , o ( L ) { J & & p s ( J . $ $ . f r a g m e n t , L ) , p e = ! 1 } , d ( L ) { L & & ( m ( t ) , m ( l ) , m ( i ) ) , g e . d ( ) , c e . d ( ) , C t ( l e , L ) , J & & f i ( J ) , C t ( i e , L ) , e [ 1 5 ] ( n u l l ) , M e = ! 1 , F e ( S e ) } } } l e t N s = 5 0 ; f u n c t i o n W 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 .