2023-10-20 06:04:26 +03:00
var no = Object . defineProperty ; var lo = ( e , t , n ) => t in e ? no ( e , t , { enumerable : ! 0 , configurable : ! 0 , writable : ! 0 , value : n } ) : e [ t ] = n ; var ft = ( e , t , n ) => ( lo ( e , typeof t != "symbol" ? t + "" : t , n ) , n ) ; ( function ( ) { const t = document . createElement ( "link" ) . relList ; if ( t && t . supports && t . supports ( "modulepreload" ) ) return ; for ( const o of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) i ( o ) ; new MutationObserver ( o => { for ( const r of o ) if ( r . type === "childList" ) for ( const _ of r . addedNodes ) _ . tagName === "LINK" && _ . rel === "modulepreload" && i ( _ ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function n ( o ) { const r = { } ; return o . integrity && ( r . integrity = o . integrity ) , o . referrerPolicy && ( r . referrerPolicy = o . referrerPolicy ) , o . crossOrigin === "use-credentials" ? r . credentials = "include" : o . crossOrigin === "anonymous" ? r . credentials = "omit" : r . credentials = "same-origin" , r } function i ( o ) { if ( o . ep ) return ; o . ep = ! 0 ; const r = n ( o ) ; fetch ( o . 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 Sl ; function io ( e , t ) { return e === t ? ! 0 : ( Sl || ( Sl = document . createElement ( "a" ) ) , Sl . href = t , e === Sl . href ) } function so ( e ) { return Object . keys ( e ) . length === 0 } function oo ( e , ... t ) { if ( e == null ) { for ( const i of t ) i ( void 0 ) ; return ee } const n = e . subscribe ( ... t ) ; return n . unsubscribe ? ( ) => n . unsubscribe ( ) : n } function ao ( e , t , n ) { e . $$ . on _destroy . push ( oo ( t , n ) ) } function l ( e , t ) { e . appendChild ( t ) } function w ( e , t , n ) { e . insertBefore ( t , n || null ) } function m ( e ) { e . parentNode && e . parentNode . removeChild ( e ) } function Ct ( e , t ) { for ( let n = 0 ; n < e . length ; n += 1 ) e [ n ] && e [ n ] . d ( t ) } function s ( e ) { return document . createElement ( e ) } function ro ( 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 , n , i ) { return e . addEventListener ( t , n , i ) , ( ) => e . removeEventListener ( t , n , i ) } function ds ( e ) { return function ( t ) { return t . preventDefault ( ) , e . call ( this , t ) } } function a ( e , t , n ) { n == null ? e . removeAttribute ( t ) : e . getAttribute ( t ) !== n && e . setAttribute ( t , n ) } function B ( e ) { return e === "" ? null : + e } function uo ( 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 , n , i ) { n == null ? e . style . removeProperty ( t ) : e . style . setProperty ( t , n , i ? "important" : "" ) } function Ye ( e , t , n ) { for ( let i = 0 ; i < e . options . length ; i += 1 ) { const o = e . options [ i ] ; if ( o . _ _value === t ) { o . selected = ! 0 ; return } } ( ! n || t !== void 0 ) && ( e . selectedIndex = - 1 ) } function vn ( e ) { const t = e . querySelector ( ":checked" ) ; return t && t . _ _value } class co { 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 , n , i = null ) { this . e || ( this . is _svg ? this . e = ro ( n . nodeName ) : this . e = s ( n . nodeType === 11 ? "TEMPLATE" : n . nodeName ) , this . t = n . tagName !== "TEMPLATE" ? n : n . 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 n = 0 ; n < this . n . length ; n += 1 ) w ( this . t , this . n [ n ] , 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 Tl ( e ) { Hs ( ) . $$ . on _mount . push ( e ) } function Us ( e ) { Hs ( ) . $$ . on _destroy . push ( e ) } const xt = [ ] , ri = [ ] ; let $t = [ ] ; const hs = [ ] , fo = Promise . resolve ( ) ; let ui = ! 1 ; function ho ( ) { ui || ( ui = ! 0 , fo . 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 ) , po ( 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 n = $t [ t ] ; ai . has ( n ) || ( ai . add ( n ) , n ( ) ) } $t . length = 0 } while ( xt . length ) ; for ( ; hs . length ; ) hs . pop ( ) ( ) ; ui = ! 1 , ai . clear ( ) , kn ( e ) } function po ( 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 bo ( 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-20 06:04:26 +03:00
tests . ` ,i=c(),o=s("br"),r=c(),_=s("br"),h=c(),g=s("pre"),d=p(" App name: "),I=s("code"),z=p(e[2]),Y=p( `
App version : ` ),E=s("code"),A=p(e[0]),M=p( `
Tauri version : ` ),N=s("code"),ae=p(e[1]),H=p( `
` ),W=c(),V=s("br"),G=c(),P=s("button"),P.textContent="Context menu",a(P,"class","btn")},m(R,x){w(R,t,x),l(t,n),l(t,i),l(t,o),l(t,r),l(t,_),l(t,h),l(t,g),l(g,d),l(g,I),l(I,z),l(g,Y),l(g,E),l(E,A),l(g,M),l(g,N),l(N,ae),l(g,H),l(t,W),l(t,V),l(t,G),l(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 To(e,t,n){let i="1.0.0",o="1.0.0",r="Unknown";Gs().then(h=>{n(2,r=h)}),Vs().then(h=>{n(0,i=h)}),Xs().then(h=>{n(1,o=h)});function _(){b("popup_context_menu")}return[i,o,r,_]}class Ao extends tn{constructor(t){super(),en(this,t,To,Po,Pt,{})}}var Mo={};En(Mo,{TauriEvent:()=>Js,emit:()=>bi,listen:()=>Ol,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 Ol(e,t,n){return b("plugin:event|listen",{event:e,windowLabel:n==null?void 0:n.target,handler:pi(t)}).then(i=>async()=>Qs(e,i))}async function Zs(e,t,n){return Ol(e,i=>{t(i),Qs(e,i.id).catch(()=>{})},n)}async function bi(e,t,n){await b("plugin:event|emit",{event:e,windowLabel:n==null?void 0:n.target,payload:t})}function Io(e){let t,n,i,o,r,_,h,g;return{c(){t=s("div"),n=s("button"),n.textContent="Call Log API",i=c(),o=s("button"),o.textContent="Call Request (async) API",r=c(),_=s("button"),_.textContent="Send event to Rust",a(n,"class","btn"),a(n,"id","log"),a(o,"class","btn"),a(o,"id","request"),a(_,"class","btn"),a(_,"id","event")},m(d,I){w(d,t,I),l(t,n),l(t,i),l(t,o),l(t,r),l(t,_),h||(g=[k(n,"click",e[0]),k(o,"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 Oo(e,t,n){let{onMessage:i}=t,o;Tl(async()=>{o=await Ol("rust-event",i)}),Us(()=>{o&&o()});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&&n(3,i=g.onMessage)},[r,_,h,i]}class No extends tn{constructor(t){super(),en(this,t,Oo,Io,Pt,{onMessage:3})}}var Wo={};En(Wo,{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,n){this.type="Logical",this.x=t,this.y=n}},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)}},Ro={};En(Ro,{CloseRequestedEvent:()=>xs,Effect:()=>Ml,EffectState:()=>Il,LogicalPosition:()=>gi,LogicalSize:()=>Ln,PhysicalPosition:()=>xe,PhysicalSize:()=>ht,ProgressBarStatus:()=>Al,UserAttentionType:()=>_i,Window:()=>Nl,availableMonitors:()=>Uo,currentMonitor:()=>Do,getAll:()=>Pl,getCurrent:()=>mi,primaryMonitor:()=>Ho});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}},Al=(e=>(e.None="none",e.Normal="normal",e.Indeterminate="indeterminate",e.Paused="paused",e.Error="error",e))(Al||{});function mi(){return new Nl(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}function Pl(){return window.__TAURI_INTERNALS__.metadata.windows.map(e=>new Nl(e.label,{skip:!0})
` ),R=s("input"),x=c(),te=s("label"),y=p( ` Resizable
` ),U=s("input"),j=c(), $ =s("label"),ue=p( ` Maximizable
` ),K=s("input"),_e=c(),ke=s("label"),de=p( ` Minimizable
` ),oe=s("input"),J=c(),he=s("label"),q=p( ` Closable
` ),ne=s("input"),Z=c(),v=s("label"),X=p( ` Has decorations
` ),S=s("input"),fe=c(),Ee=s("label"),me=p( ` Always on top
` ),pe=s("input"),Me=c(),Se=s("label"),Ie=p( ` Always on bottom
` ),be=s("input"),ge=c(),ze=s("label"),Ce=p( ` Content protected
` ),ce=s("input"),Le=c(),le=s("label"),Oe=p( ` Fullscreen
` ),Ne=s("input"),Pe=c(),ie=s("br"),L=c(),Q=s("div"),C=s("div"),Te=s("div"),Sn=p( ` X
` ),We=s("input"),Cn=c(),Tt=s("div"),Pn=p( ` Y
` ),Re=s("input"),Tn=c(), $ e=s("div"),At=s("div"),An=p( ` Width
` ),De=s("input"),Mn=c(),Mt=s("div"),In=p( ` Height
` ),He=s("input"),On=c(),et=s("div"),It=s("div"),Nn=p( ` Min width
` ),je=s("input"),Wn=c(),Ot=s("div"),Rn=p( ` Min height
` ),Ve=s("input"),Dn=c(),tt=s("div"),Nt=s("div"),Hn=p( ` Max width
` ),Ue=s("input"),Un=c(),Wt=s("div"),qn=p( ` Max height
` ),qe=s("input"),nn=c(),ln=s("br"),sn=c(),Ae=s("div"),nt=s("div"),Ge=s("div"),O=s("div"),O.textContent="Inner Size",on=c(),bt=s("span"),an=p("Width: "),Rt=p(gt),rn=c(),_t=s("span"),un=p("Height: "),Dt=p(mt),cn=c(),Be=s("div"),wt=s("div"),wt.textContent="Outer Size",dn=c(),vt=s("span"),fn=p("Width: "),Ht=p(yt),hn=c(),kt=s("span"),pn=p("Height: "),Ut=p(zt),Bn=c(),qt=s("div"),lt=s("div"),Fn=s("div"),Fn.textContent="Inner Logical Size",vi=c(),jn=s("span"),yi=p("Width: "),Wl=p(Vn),ki=c(),Gn=s("span"),zi=p("Height: "),Rl=p(Xn),Li=c(),it=s("div"),Yn=s("div"),Yn.textContent="Outer Logical Size",Ei=c(),Kn=s("span"),Si=p("Width: "),Dl=p(Jn),Ci=c(),Qn=s("span"),Pi=p("Height: "),Hl=p(Zn),Ti=c(),Bt=s("div"),st=s("div"),xn=s("div"),xn.textContent="Inner Position",Ai=c(), $ n=s("span"),Mi=p("x: "),Ul=p(el),Ii=c(),tl=s("span"),Oi=p("y: "),ql=p(nl),Ni=c(),ot=s("div"),ll=s("div"),ll.textContent="Outer Position",Wi=c(),il=s("span"),Ri=p("x: "),Bl=p(sl),Di=c(),ol=s("span"),Hi=p("y: "),Fl=p(al),Ui=c(),Ft=s("div"),at=s("div"),rl=s("div"),rl.textContent="Inner Logical Position",qi=c(),ul=s("span"),Bi=p("x: "),jl=p(cl),Fi=c(),dl=s("span"),ji=p("y: "),Vl=p(fl),Vi=c(),rt=s("div"),hl=s("div"),hl.textContent="Outer Logical Position",Gi=c(),pl=s("span"),Xi=p("x: "),Gl=p(bl),Yi=c(),gl=s("span"),Ki=p("y: "),Xl=p(_l),Yl=c(),Kl=s("br"),Jl=c(),bn=s("h4"),bn.textContent="Cursor",Ql=c(),Ke=s("div"),ml=s("label"),jt=s("input"),Ji=p( `
Grab ` ),Qi=c(),wl=s("label"),Vt=s("input"),Zi=p( `
Visible ` ),xi=c(),vl=s("label"),Gt=s("input"), $ i=p( `
Ignore events ` ),Zl=c(),Je=s("div"),yl=s("label"),es=p( ` Icon
` ),Qe=s("select");for(let u=0;u<we.length;u+=1)we[u].c();ts=c(),kl=s("label"),ns=p( ` X position
` ),ut=s("input"),ls=c(),zl=s("label"),is=p( ` Y position
` ),ct=s("input"),xl=c(), $ l=s("br"),ei=c(),gn=s("div"),Lt=s("form"),dt=s("input"),ss=c(),_n=s("button"),_n.textContent="Set title",ti=c(),ni=s("br"),li=c(),mn=s("div"),Xt=s("div"),Ll=s("label"),os=p( ` Progress Status
` ),Ze=s("select");for(let u=0;u<ve.length;u+=1)ve[u].c();as=c(),El=s("label"),rs=p( ` Progress
` ),Xe=s("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(Fn,"class","text-accent dark:text-darkAccent font-700"),a(lt,"class","grow"),a(Yn,"class","text-accent dark:text-darkAccent font-700"),a(it,"class","grow"),a(qt,"class","flex"),a(xn,"class","text-accent dark:text-darkAccent font-700"),a(st,"class","grow"),a(ll,"class","text-accent dark:text-darkAccent font-700"),a(ot,"class","grow"),a(Bt,"class","flex"),a(rl,"class","text-accent dark:text-darkAccent font-700"),a(at,"class","grow"),a(hl,"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,n,f),w(u,i,f),l(i,o),l(i,r),l(i,_),l(_,h),T(h,e[43]),l(_,g),l(_,d),w(u,I,f),w(u,z,f),w(u,Y,f),w(u,E,f),l(E,A),l(E,M),l(E,N),l(E,ae),l(E,H),l(E,W),l(E,V),w(u,G,f),w(u,P,f),l(P,F),l(F,re),l(F,R),R.checked=e[6],l(P,x),l(P,te),l(te,y),l(te,U),U.checked=e[2],l(P,j),l(P, $ ),l( $ ,ue),l( $ ,K),K.checked=e[3],l(P,_e),l(P,ke),l(ke,de),l(ke,oe),oe.checked=e[4],l(P,J),l(P,he),l(he,q),l(he,ne),ne.checked=e[5],l(P,Z),l(P,v),l(v,X),l(v,S),S.checked=e[7],l(P,fe),l(P,Ee),l(Ee,me),l(Ee,pe),pe.checked=e[8],l(P,Me),l(P,Se),l(Se,Ie),l(Se,be),be.checked=e[9],l(P,ge),l(P,ze),l(ze,Ce),l(ze,ce),ce.checked=e[10],l(P,Le),l(P,le),l(le,Oe),l(le,Ne),Ne.checked=e[11],w(u,Pe,f),w(u,ie,f),w(u,L,f),w(u,Q,f),l(Q,C),l(C,Te),l(Te,Sn),l(Te,We),T(We,e[18]),l(C,Cn),l(C,Tt),l(Tt,Pn),l(Tt,Re),T(Re,e[19]),l(Q,Tn),l(Q, $ e),l( $ e,At),l(At,An),l(At,De),T(De,e[12]),l( $ e,Mn),l( $ e,Mt),l(Mt,In),l(Mt,He),T(He,e[13]),l(Q,On),l(Q,et),l(et,It),l(It,Nn),l(It,je),T(je,e[14]),l(et,Wn),l(et,Ot),l(Ot,Rn),l(Ot,Ve),T(Ve,e[15]),l(Q,Dn),l(Q,tt),l(tt,Nt),l(Nt,Hn),l(Nt,Ue),T(Ue,e[16]),l(tt,Un),l(tt,Wt),l(Wt,qn),l(Wt,qe),T(qe,e[17]),w(u,nn,f),w(u,ln,f),w(u,sn,f),w(u,Ae,f),l(Ae,nt),l(nt,Ge),l(Ge,O),l(Ge,on),l(Ge,bt),l(bt,an),l(bt,Rt),l(Ge,rn),l(Ge,_t),l(_t,un),l(_t,Dt),l(nt,cn),l(nt,Be),l(Be,wt),l(Be
` ),r=s("select");for(let v=0;v<q.length;v+=1)q[v].c();_=c(),h=s("label"),g=p( ` State
` ),d=s("select");for(let v=0;v<Z.length;v+=1)Z[v].c();I=c(),z=s("label"),Y=p( ` Radius
` ),E=s("input"),A=c(),M=s("div"),N=s("label"),ae=p( ` Color
` ),H=s("div"),W=s("input"),V=c(),G=s("input"),P=c(),F=s("input"),re=c(),R=s("input"),x=c(),te=s("div"),y=s("button"),y.textContent="Add",U=c(),j=s("div"), $ =s("div"),ue=p("Applied effects: "),_e=p(K),ke=c(),de=s("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(n,"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),l(t,n),l(n,i),l(i,o),l(i,r);for(let S=0;S<q.length;S+=1)q[S]&&q[S].m(r,null);Ye(r,e[36],!0),l(n,_),l(n,h),l(h,g),l(h,d);for(let S=0;S<Z.length;S+=1)Z[S]&&Z[S].m(d,null);Ye(d,e[37],!0),l(n,I),l(n,z),l(z,Y),l(z,E),T(E,e[38]),l(t,A),l(t,M),l(M,N),l(N,ae),l(N,H),l(H,W),T(W,e[39]),l(H,V),l(H,G),T(G,e[40]),l(H,P),l(H,F),T(F,e[41]),l(H,re),l(H,R),T(R,e[42]),l(t,x),l(t,te),l(te,y),l(t,U),l(t,j),l(j, $ ),l( $ ,ue),l( $ ,_e),l(j,ke),l(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,n=e[108]+"",i;return{c(){t=s("option"),i=p(n),t.__value=e[108],T(t,t.__value)},m(o,r){w(o,t,r),l(t,i)},p:ee,d(o){o&&m(t)}}}function Ts(e){let t,n=e[105]+"",i;return{c(){t=s("option"),i=p(n),t.__value=e[105],T(t,t.__value)},m(o,r){w(o,t,r),l(t,i)},p:ee,d(o){o&&m(t)}}}function Bo(e){let t,n,i,o,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=s("div"),n=s("div"),i=s("input"),o=c(),r=s("button"),r.textContent="New window",_=c(),h=s("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(n,"class","flex gap-1"),a(t,"class","flex flex-col children:grow gap-2")},m(M,N){w(M,t,N),l(t,n),l(n,i),T(i,e[28]),l(n,o),l(n,r),l(t,_),l(t,h),l(t,g),E&&E.m(t,null),l(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 Fo(e,t,n){const i=mi();let o=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(
` ),n=s("div"),a(n,"class","i-ph-moon")},m(i,o){w(i,t,o),w(i,n,o)},d(i){i&&(m(t),m(n))}}}function $ o(e){let t,n;return{c(){t=p( ` Switch to Light mode
` ),n=s("div"),a(n,"class","i-ph-sun")},m(i,o){w(i,t,o),w(i,n,o)},d(i){i&&(m(t),m(n))}}}function ea(e){let t,n,i,o,r,_,h;function g(){return e[14](e[28])}return{c(){t=s("a"),n=s("div"),i=c(),o=s("p"),o.textContent= ` $ { e [ 28 ] . label } ` ,a(n,"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),l(t,n),l(t,i),l(t,o),_||(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,n=e[28]&&ea(e);return{c(){n&&n.c(),t=hi()},m(i,o){n&&n.m(i,o),w(i,t,o)},p(i,o){i[28]&&n.p(i,o)},d(i){i&&m(t),n&&n.d(i)}}}function Os(e){let t,n=e[25].html+"",i;return{c(){t=new co(!1),i=hi(),t.a=i},m(o,r){t.m(n,o,r),w(o,i,r)},p(o,r){r&16&&n!==(n=o[25].html+"")&&t.p(n)},d(o){o&&(m(i),t.d())}}}function ta(e){let t,n,i,o,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]?Zo:Qo}let be=Ie(e),ge=be(e);function ze(L,Q){return L[2]? $ o:xo}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=s("div"),ge.c(),n=c(),i=s("div"),o=s("aside"),r=s("img"),h=c(),g=s("a"),ce.c(),d=c(),I=s("br"),z=c(),Y=s("div"),E=c(),A=s("br"),M=c(),N=s("a"),N.innerHTML= ` Documentation
< span class = "i-codicon-link-external" > < / s p a n > ` , a e = c ( ) , H = s ( " 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 = s ( " 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 = s ( " b r " ) , F = c ( ) , r e = s ( " d i v " ) , R = c ( ) , x = s ( " b r " ) , t e = c ( ) , y = s ( " 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 = s ( " m a i n " ) , $ = s ( " d i v " ) , u e = s ( " h 1 " ) , _ e = p ( K ) , k e = c ( ) , d e = s ( " d i v " ) , o e = s ( " d i v " ) , J & & b s ( J . $ $ . f r a g m e n t ) , h e = c ( ) , q = s ( " d i v " ) , n e = s ( " d i v " ) , Z = c ( ) , v = s ( " d i v " ) , X = s ( " p " ) , X . t e x t C o n t e n t = " C o n s o l e " , S = c ( ) , f e = s ( " 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 = s ( " 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 " ) , i 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 ( o , " i d " , " s i d e b a r " ) , a ( 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 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 , n , Q ) , w ( L , i , Q ) , l ( i , o ) , l ( o , r ) , l ( o , h ) , l ( o , g ) , c e . m ( g , n u l l ) , l ( o , d ) , l ( o , I ) , l ( o , z ) , l ( o , Y ) , l ( o , E ) , l ( o , A ) , l ( o , M ) , l ( o , N ) , l ( o , a e ) , l ( o , H ) , l ( o , W ) , l ( o , V ) , l ( o , G ) , l ( o , P ) , l ( o , F ) , l ( o , r e ) , l ( o , R ) , l ( o , x ) , l ( o , t e ) , l ( o , 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 ) ; l ( i , U ) , l ( i , j ) , l ( j , $ ) , l ( $ , u e ) , l ( u e , _ e ) , l ( $ , k e ) , l ( $ , d e ) , l ( d e , o e ) , J & & d i ( J , o e , n u l l ) , l ( j , h e ) , l ( j , q ) , l ( q , n e ) , l ( q , Z ) , l ( q , v ) , l ( v , X ) , l ( v , S ) , l ( v , f e ) , l ( q , E e ) , l ( 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 ) { g 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 ) } ) , _ 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 ( n ) , 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 .