2023-08-14 04:25:50 +03:00
( function ( ) { const t = document . createElement ( "link" ) . relList ; if ( t && t . supports && t . supports ( "modulepreload" ) ) return ; for ( const r of document . querySelectorAll ( 'link[rel="modulepreload"]' ) ) i ( r ) ; new MutationObserver ( r => { for ( const a of r ) if ( a . type === "childList" ) for ( const m of a . addedNodes ) m . tagName === "LINK" && m . rel === "modulepreload" && i ( m ) } ) . observe ( document , { childList : ! 0 , subtree : ! 0 } ) ; function n ( r ) { const a = { } ; return r . integrity && ( a . integrity = r . integrity ) , r . referrerpolicy && ( a . referrerPolicy = r . referrerpolicy ) , r . crossorigin === "use-credentials" ? a . credentials = "include" : r . crossorigin === "anonymous" ? a . credentials = "omit" : a . credentials = "same-origin" , a } function i ( r ) { if ( r . ep ) return ; r . ep = ! 0 ; const a = n ( r ) ; fetch ( r . href , a ) } } ) ( ) ; function E ( ) { } function st ( e ) { return e ( ) } function Xe ( ) { return Object . create ( null ) } function F ( e ) { e . forEach ( st ) } function vt ( e ) { return typeof e == "function" } function he ( e , t ) { return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function" } let ke ; function bt ( e , t ) { return ke || ( ke = document . createElement ( "a" ) ) , ke . href = t , e === ke . href } function yt ( e ) { return Object . keys ( e ) . length === 0 } function wt ( e , ... t ) { if ( e == null ) return E ; const n = e . subscribe ( ... t ) ; return n . unsubscribe ? ( ) => n . unsubscribe ( ) : n } function kt ( e , t , n ) { e . $$ . on _destroy . push ( wt ( t , n ) ) } function s ( e , t ) { e . appendChild ( t ) } function w ( e , t , n ) { e . insertBefore ( t , n || null ) } function y ( e ) { e . parentNode . removeChild ( e ) } function Ye ( e , t ) { for ( let n = 0 ; n < e . length ; n += 1 ) e [ n ] && e [ n ] . d ( t ) } function d ( e ) { return document . createElement ( e ) } function Et ( e ) { return document . createElementNS ( "http://www.w3.org/2000/svg" , e ) } function Q ( e ) { return document . createTextNode ( e ) } function g ( ) { return Q ( " " ) } function lt ( ) { return Q ( "" ) } function q ( e , t , n , i ) { return e . addEventListener ( t , n , i ) , ( ) => e . removeEventListener ( t , n , i ) } function c ( e , t , n ) { n == null ? e . removeAttribute ( t ) : e . getAttribute ( t ) !== n && e . setAttribute ( t , n ) } function $t ( e ) { return Array . from ( e . childNodes ) } function Lt ( e , t ) { t = "" + t , e . wholeText !== t && ( e . data = t ) } class xt { 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 = Et ( n . nodeName ) : this . e = d ( 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 ) w ( this . t , this . n [ n ] , t ) } p ( t ) { this . d ( ) , this . h ( t ) , this . i ( this . a ) } d ( ) { this . n . forEach ( y ) } } let de ; function ue ( e ) { de = e } function ct ( ) { if ( ! de ) throw new Error ( "Function called outside component initialization" ) ; return de } function xe ( e ) { ct ( ) . $$ . on _mount . push ( e ) } function at ( e ) { ct ( ) . $$ . on _destroy . push ( e ) } const ce = [ ] , Ne = [ ] , $e = [ ] , Ke = [ ] , St = Promise . resolve ( ) ; let Ie = ! 1 ; function Ot ( ) { Ie || ( Ie = ! 0 , St . then ( ut ) ) } function We ( e ) { $e . push ( e ) } const De = new Set ; let Ee = 0 ; function ut ( ) { const e = de ; do { for ( ; Ee < ce . length ; ) { const t = ce [ Ee ] ; Ee ++ , ue ( t ) , Tt ( t . $$ ) } for ( ue ( null ) , ce . length = 0 , Ee = 0 ; Ne . length ; ) Ne . pop ( ) ( ) ; for ( let t = 0 ; t < $e . length ; t += 1 ) { const n = $e [ t ] ; De . has ( n ) || ( De . add ( n ) , n ( ) ) } $e . length = 0 } while ( ce . length ) ; for ( ; Ke . length ; ) Ke . pop ( ) ( ) ; Ie = ! 1 , De . clear ( ) , ue ( e ) } function Tt ( e ) { if ( e . fragment !== null ) { e . update ( ) , F ( e . before _update ) ; const t = e . dirty ; e . dirty = [ - 1 ] , e . fragment && e . fragment . p ( e . ctx , t ) , e . after _update . forEach ( We ) } } const Le = new Set ; let U ; function Ct ( ) { U = { r : 0 , c : [ ] , p : U } } function Dt ( ) { U . r || F ( U . c ) , U = U . p } function Me ( e , t ) { e && e . i && ( Le . delete ( e ) , e . i ( t ) ) } function Je ( e , t , n , i ) { if ( e && e . o ) { if ( Le . has ( e ) ) return ; Le . add ( e ) , U . c . push ( ( ) => { Le . delete ( e ) , i && ( n && e . d ( 1 ) , i ( ) ) } ) , e . o ( t ) } else i && i ( ) } function Qe ( e ) { e && e . c ( ) } function Re ( e , t , n , i ) { const { fragment : r , on _mount : a , on _destroy : m , after _update : o } = e . $$ ; r && r . m ( t , n ) , i || We ( ( ) => { const f = a . map ( st ) . filter ( vt ) ; m ? m . push ( ... f ) : F ( f ) , e . $$ . on _mount = [ ] } ) , o . forEach ( We ) } function Ae ( e , t ) { const n = e . $$ ; n . fragment !== null && ( F ( n . on _destroy ) , n . fragment && n . fragment . d ( t ) , n . on _destroy = n . fragment = null , n . ctx = [ ] ) } function Nt ( e , t ) { e . $$ . dirty [ 0 ] === - 1 && ( ce . push ( e ) , Ot ( ) , e . $$ . dirty . fill ( 0 ) ) , e . $$ . dirty [ t / 31 | 0 ] |= 1 << t % 31 } function Se ( e , t , n , i , r , a , m , o = [ - 1 ] ) { const f = de ; ue ( e ) ; const u = e . $$ = { fragment : null , ctx : null , props : a , update : E , not _equal : r , bound : Xe ( ) , on _mount : [ ] , on _destroy : [ ] , on _disconnect : [ ] , before _update : [ ] , after _update : [ ] , context : new Map ( t . context || ( f ? f . $$ . context : [ ] ) ) , callbacks : Xe ( ) , dirty : o , sk
development process . In the future , this app will be used on Tauri & # 39 ; s integration
tests . ` ,i=g(),r=d("button"),r.textContent="Context menu",c(r,"class","btn")},m(o,f){w(o,t,f),s(t,n),s(t,i),s(t,r),a||(m=q(r,"click",e[0]),a=!0)},p:E,i:E,o:E,d(o){o&&y(t),a=!1,m()}}}function Ut(e){function t(){W("popup_context_menu")}return[t]}class Ft extends Oe{constructor(t){super(),Se(this,t,Ut,qt,he,{})}}var zt={};dt(zt,{TauriEvent:()=>pt,emit:()=>_t,listen:()=>Pe,once:()=>Vt});var pt=(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))(pt||{});async function gt(e,t){await W("plugin:event|unlisten",{event:e,eventId:t})}async function Pe(e,t,n){return W("plugin:event|listen",{event:e,windowLabel:n==null?void 0:n.target,handler:fe(t)}).then(i=>async()=>gt(e,i))}async function Vt(e,t,n){return Pe(e,i=>{t(i),gt(e,i.id).catch(()=>{})},n)}async function _t(e,t,n){await W("plugin:event|emit",{event:e,windowLabel:n==null?void 0:n.target,payload:t})}function Bt(e){let t,n,i,r,a,m,o,f;return{c(){t=d("div"),n=d("button"),n.textContent="Call Log API",i=g(),r=d("button"),r.textContent="Call Request (async) API",a=g(),m=d("button"),m.textContent="Send event to Rust",c(n,"class","btn"),c(n,"id","log"),c(r,"class","btn"),c(r,"id","request"),c(m,"class","btn"),c(m,"id","event")},m(u,T){w(u,t,T),s(t,n),s(t,i),s(t,r),s(t,a),s(t,m),o||(f=[q(n,"click",e[0]),q(r,"click",e[1]),q(m,"click",e[2])],o=!0)},p:E,i:E,o:E,d(u){u&&y(t),o=!1,F(f)}}}function Gt(e,t,n){let{onMessage:i}=t,r;xe(async()=>{r=await Pe("rust-event",i)}),at(()=>{r&&r()});function a(){W("log_operation",{event:"tauri-click",payload:"this payload is optional because we used Option in Rust"})}function m(){W("perform_request",{endpoint:"dummy endpoint arg",body:{id:5,name:"test"}}).then(i).catch(i)}function o(){_t("js-event","this is the payload string")}return e. $ $ set=f=>{"onMessage"in f&&n(3,i=f.onMessage)},[a,m,o,i]}class Xt extends Oe{constructor(t){super(),Se(this,t,Gt,Bt,he,{onMessage:3})}}function Yt(e){let t;return{c(){t=d("div"),t.innerHTML= ` < div class = "note-red grow" > Not available for Linux < / d i v >
< video id = "localVideo" autoplay = "" playsinline = "" > < track kind = "captions" / > < / v i d e o > ` , c ( t , " c l a s s " , " f l e x f l e x - c o l g a p - 2 " ) } , m ( n , i ) { w ( n , t , i ) } , p : E , i : E , o : E , d ( n ) { n & & y ( t ) } } } f u n c t i o n K t ( e , t , n ) { l e t { o n M e s s a g e : i } = t ; c o n s t r = 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 a ( o ) { c o n s t f = 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 " ) , u = o . 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 : " , r ) , i ( ` U s i n g v i d e o d e v i c e : $ { u [ 0 ] . l a b e l } ` ) , w i n d o w . s t r e a m = o , f . s r c O b j e c t = o } f u n c t i o n m ( o ) { i f ( o . 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 f = r . v i d e o ; i ( ` T h e r e s o l u t i o n $ { f . w i d t h . e x a c t } x $ { f . 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 o . 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 : $ { o . n a m e } ` , o ) } r e t u r n x e ( a s y n c ( ) = > { t r y { c o n s t o = 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 ( r ) ; a ( o ) } c a t c h ( o ) { m ( o ) } } ) , a t ( ( ) = > { 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 ( o ) { o . s t o p ( ) } ) } ) , e . $ $ s e t = o = > { " o n M e s s a g e " i n o & & n ( 0 , i = o . o n M e s s a g e ) } , [ i ] } c l a s s J t e x t e n d s O e { c o n s t r u c t o r ( t ) { s u p e r ( ) , S e ( t h i s , t , K t , Y t , h e , { o n M e s s a g e : 0 } ) } } f u n c t i o n e t ( e , t , n ) { c o n s t i = e . s l i c e ( ) ; r e t u r n i [ 2 3 ] = t [ n ] , i } f u n c t i o n t t ( e , t , n ) { c o n s t i = e . s l i c e ( ) ; r e t u r n i [ 2 6 ] = t [ n ] , i } f u n c t i o n Q t ( e ) { l e t t ; r e t u r n { c ( ) { t = d ( " s p a n " ) , c ( t , " c l a s s " , " i - c o d i c o n - m e n u a n i m a t e - d u r a t i o n - 3 0 0 m s a n i m a t e - f a d e - i n " ) } , m ( n , i ) { w ( n , t , i ) } , d ( n ) { n & & y ( t ) } } } f u n c t i o n Z t ( e ) { l e t t ; r e t u r n { c ( ) { t = d ( " s p a n " ) , c ( t , " c l a s s " , " i - c o d i c o n - c l o s e a n i m a t e - d u r a t i o n - 3 0 0 m s a n i m a t e - f a d e - i n " ) } , m ( n , i ) { w ( n , t , i ) } , d ( n ) { n & & y ( t ) } } } f u n c t i o n e n ( e ) { l e t t , n ; r e t u r n { c ( ) { t = Q ( ` S w i t c h t o D a r k m o d e
` ),n=d("div"),c(n,"class","i-ph-moon")},m(i,r){w(i,t,r),w(i,n,r)},d(i){i&&y(t),i&&y(n)}}}function tn(e){let t,n;return{c(){t=Q( ` Switch to Light mode
` ),n=d("div"),c(n,"class","i-ph-sun")},m(i,r){w(i,t,r),w(i,n,r)},d(i){i&&y(t),i&&y(n)}}}function nn(e){let t,n,i,r,a=e[26].label+"",m,o,f,u;function T(){return e[14](e[26])}return{c(){t=d("a"),n=d("div"),i=g(),r=d("p"),m=Q(a),c(n,"class",e[26].icon+" mr-2"),c(t,"href","##"),c(t,"class",o="nv "+(e[1]===e[26]?"nv_selected":""))},m(_,S){w(_,t,S),s(t,n),s(t,i),s(t,r),s(r,m),f||(u=q(t,"click",T),f=!0)},p(_,S){e=_,S&2&&o!==(o="nv "+(e[1]===e[26]?"nv_selected":""))&&c(t,"class",o)},d(_){_&&y(t),f=!1,u()}}}function nt(e){let t,n=e[26]&&nn(e);return{c(){n&&n.c(),t=lt()},m(i,r){n&&n.m(i,r),w(i,t,r)},p(i,r){i[26]&&n.p(i,r)},d(i){n&&n.d(i),i&&y(t)}}}function it(e){let t,n=e[23].html+"",i;return{c(){t=new xt(!1),i=lt(),t.a=i},m(r,a){t.m(n,r,a),w(r,i,a)},p(r,a){a&16&&n!==(n=r[23].html+"")&&t.p(n)},d(r){r&&y(i),r&&t.d()}}}function rn(e){let t,n,i,r,a,m,o,f,u,T,_,S,O,M,Z,R,k,C,z,D,V,ee,me,te,pe,h,b,x,ne,A,P,B,ge=e[1].label+"",Te,He,_e,ie,v,je,I,ve,qe,G,be,Ue,re,Fe,oe,se,Ce,ze;function Ve(l,N){return l[0]?Zt:Qt}let ye=Ve(e),H=ye(e);function Be(l,N){return l[2]?tn:en}let we=Be(e),j=we(e),X=e[5], $ =[];for(let l=0;l<X.length;l+=1) $ [l]=nt(tt(e,X,l));var Y=e[1].component;function Ge(l){return{props:{onMessage:l[9],insecureRenderHtml:l[10]}}}Y&&(v=new Y(Ge(e)));let K=e[4],L=[];for(let l=0;l<K.length;l+=1)L[l]=it(et(e,K,l));return{c(){t=d("div"),H.c(),n=g(),i=d("div"),r=d("aside"),a=d("img"),o=g(),f=d("a"),j.c(),u=g(),T=d("br"),_=g(),S=d("div"),O=g(),M=d("br"),Z=g(),R=d("a"),R.innerHTML= ` Documentation
< span class = "i-codicon-link-external" > < / s p a n > ` , k = g ( ) , C = d ( " a " ) , C . 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 > ` , z = g ( ) , D = d ( " a " ) , D . 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 = g ( ) , e e = d ( " b r " ) , m e = g ( ) , t e = d ( " d i v " ) , p e = g ( ) , h = d ( " b r " ) , b = g ( ) , x = d ( " d i v " ) ; f o r ( l e t l = 0 ; l < $ . l e n g t h ; l + = 1 ) $ [ l ] . c ( ) ; n e = g ( ) , A = d ( " m a i n " ) , P = d ( " d i v " ) , B = d ( " h 1 " ) , T e = Q ( g e ) , H e = g ( ) , _ e = d ( " d i v " ) , i e = d ( " d i v " ) , v & & Q e ( v . $ $ . f r a g m e n t ) , j e = g ( ) , I = d ( " d i v " ) , v e = d ( " d i v " ) , q e = g ( ) , G = d ( " d i v " ) , b e = d ( " p " ) , b e . t e x t C o n t e n t = " C o n s o l e " , U e = g ( ) , r e = d ( " d i v " ) , r 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 > ' , F e = g ( ) , o e = d ( " d i v " ) ; f o r ( l e t l = 0 ; l < L . l e n g t h ; l + = 1 ) L [ l ] . c ( ) ; c ( t , " i d " , " s i d e b a r T o g g l e " ) , c ( 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 " ) , c ( a , " 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 " ) , b t ( a . s r c , m = " t a u r i _ l o g o . p n g " ) | | c ( a , " s r c " , m ) , c ( a , " a l t " , " T a u r i l o g o " ) , c ( f , " h r e f " , " # # " ) , c ( f , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , c ( S , " c l a s s " , " b g - w h i t e / 5 h - 2 p x " ) , c ( R , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , c ( R , " t a r g e t " , " _ b l a n k " ) , c ( R , " 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 / " ) , c ( C , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , c ( C , " t a r g e t " , " _ b l a n k " ) , c ( C , " 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 " ) , c ( D , " c l a s s " , " n v j u s t i f y - b e t w e e n h - 8 " ) , c ( D , " t a r g e t " , " _ b l a n k " ) , c ( D , " 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 " ) , c ( t e , " c l a s s " , " b g - w h i t e / 5 h - 2 p x " ) , c ( x , " 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 " ) , c ( r , " i d " , " s i d e b a r " ) , c ( r , " 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 " ) , c ( i e , " c l a s s " , " m r - 2 " ) , c ( _ e , " c l a s s " , " o v e r f l o w - y - a u t o " ) , c ( P , " 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 ] " ) , c ( v 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 " ) , c ( b e , " c l a s s " , " f o n t - s e m i b o l d " ) , c ( r 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 " ) , c ( G , " 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 " ) , c ( 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 " ) , c ( I , " i d " , " c o n s o l e " ) , c ( I , " 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 " ) , c ( A , " 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 ] " ) , c ( 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 , N ) { w ( l , t , N ) , H . m ( t , n u l l ) , w ( l , n , N ) , w ( l , i , N ) , s ( i , r ) , s ( r , a ) , s ( r , o ) , s ( r , f ) , j . m ( f , n u l l ) , s ( r , u ) , s ( r , T ) , s ( r , _ ) , s ( r , S ) , s ( r , O ) , s ( r , M ) , s ( r , Z ) , s ( r , R ) , s ( r , k ) , s ( r , C ) , s ( r , z ) , s ( r , D ) , s ( r , V ) , s ( r , e e ) , s ( r , m e ) , s ( r , t e ) , s ( r , p e ) , s ( r , h ) , s ( r , b ) , s ( r , x ) ; f o r ( l e t p = 0 ; p < $ . l e n g t h ; p + = 1 ) $ [ p ] . m ( x , n u l l ) ; s ( i , n e ) , s ( i , A ) , s ( A , P ) , s ( P , B ) , s ( B , T e ) , s ( P , H e ) , s ( P , _ e ) , s ( _ e , i e ) , v & & R e ( v , i e , n u l l ) , s ( A , j e ) , s ( A , I ) , s ( I , v e ) , s ( I , q e ) , s ( I , G ) , s ( G , b e ) , s ( G , U e ) , s ( G , r e ) , s ( I , F e ) , s ( I , o e ) ; f o r ( l e t p = 0 ; p < L . l e n g t h ; p + = 1 ) L [ p ] . m ( o e , n u l l ) ; e [ 1 5 ] ( I ) , s e = ! 0 , C e | | ( z e = [ q ( f , " c l i c k " , e [ 7 ] ) , q ( v e , " m o u s e d o w n " , e [ 1 2 ] ) , q ( r e , " c l i c k " , e [ 1 1 ] ) ] , C e = ! 0 ) } , p ( l , [ N ] ) { i f ( y e ! = = ( y e = V e ( l ) ) & & ( H . d ( 1 ) , H = y e ( l ) , H & & ( H . c ( ) , H . m ( t , n u l l ) ) ) , w e ! = = ( w e = B e ( l ) ) & & ( j . d ( 1 ) , j = w e ( l ) , j & & ( j . c ( ) , j . m ( f , n u l l ) ) ) , N & 9 9 ) { X = l [ 5 ] ; l e t p ; f o r ( p = 0 ; p < X . l e n g t h ; p + = 1 ) { c o n s t l e = t t ( l , X , p ) ; $ [ p ] ? $ [ p ] . p ( l e , N ) : ( $ [ p ] = n t ( l e ) , $ [ p ] . c ( ) , $ [ p ] . m ( x , n u l l ) ) } f o r ( ; p < $ . l e n g t h ; p + = 1 ) $ [ p ] . d ( 1 ) ; $ . l e n g t h = X . l e n g t h } i f ( ( ! s e | | N & 2 ) & & g e ! = = ( g e = l [ 1 ] . l a b e l + " " ) & & L t ( T e , g e ) , Y ! = = ( Y = l [ 1 ] . c o m p o n e n t ) ) { i f ( v ) { C t ( ) ; c o n s t p = v ; J e ( p . $ $ . f r a g m e n t , 1 , 0 , ( ) = > { A e ( p , 1 ) } ) , D t ( ) } Y ? ( v = n e w Y ( G e ( l ) ) , Q e ( v . $ $ . f r a g m e n t ) , M e ( v . $ $ . f r a g m e n t , 1 ) , R e ( v , i e , n u l l ) ) : v = n u l l } i f ( N & 1 6 ) { K = l [ 4 ] ; l e t p ; f o r ( p = 0 ; p < K . l e n g t h ; p + = 1 ) { c o n s t l e = e t ( l , K , p ) ; L [ p ] ? L [ p ] . p ( l e , N ) : ( L [ p ] = i t ( l e ) , L [ p ] . c ( ) , L [ p ] . m ( o e , n u l l ) ) } f o r ( ; p < L . l e n g t h ; p + = 1 ) L [ p ] . d ( 1 ) ; L . l e n g t h = K . l e n g t h } } , i ( l ) { s e | | ( v & & M e ( v . $ $ . f r a g m e n t , l ) , s e = ! 0 ) } , o ( l ) { v & & J e ( v . $ $ . f r a g m e n t , l ) , s e = ! 1 } , d ( l ) { l & & y ( t ) , H . d ( ) , l & & y ( n ) , l & & y ( i ) , j . d ( ) , Y e ( $ , l ) , v & & A e ( v ) , Y e ( L , l ) , e [ 1 5 ] ( n u l l ) , C e = ! 1 , F ( z e ) } } } l e t r t = 5 0 ; f u n c t i o n o t ( 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 o n ( e , t ) { e . s t y l e . s e t P r o p