import{s as w,e as d,c as h,b as g,f as p,q as u,i as I,n as v,o as q,w as A,a as C,g as H,x as D,p as $,h as m,y as O,z as S,A as z}from"../chunks/scheduler.Ze4Bbz0A.js";import{S as x,i as V,b as L,d as T,m as j,a as y,t as b,e as k}from"../chunks/index.76WsQp4a.js";function F(r){let e;return{c(){e=d("div"),this.h()},l(t){e=h(t,"DIV",{style:!0}),g(e).forEach(p),this.h()},h(){u(e,"width","50px"),u(e,"height","50px"),u(e,"background-color",r[0]),u(e,"position","absolute"),u(e,"opacity","0.6"),u(e,"top","10px"),u(e,"left","10px")},m(t,s){I(t,e,s)},p(t,[s]){s&1&&u(e,"background-color",t[0])},i:v,o:v,d(t){t&&p(e)}}}function N(r,e,t){const s=async()=>{const l=await fetch("/api/env/search_version"),{value:c}=await l.json();return c};let a="rgb(0, 110, 255)";return q(async()=>{const l=await s();console.log(l),l=="e5"&&t(0,a="red")}),[a,s]}class R extends x{constructor(e){super(),V(this,e,N,F,w,{loadVersion:1})}get loadVersion(){return this.$$.ctx[1]}}function U(r){let e,t;return e=new R({}),{c(){L(e.$$.fragment)},l(s){T(e.$$.fragment,s)},m(s,a){j(e,s,a),t=!0},p:v,i(s){t||(y(e.$$.fragment,s),t=!0)},o(s){b(e.$$.fragment,s),t=!1},d(s){k(e,s)}}}class B extends x{constructor(e){super(),V(this,e,null,U,w,{})}}function G(r){let e,t,s,a,l,c,E="",f;t=new B({});const _=r[1].default,o=A(_,r,r[0],null);return{c(){e=d("div"),L(t.$$.fragment),s=C(),a=d("main"),o&&o.c(),l=C(),c=d("footer"),c.innerHTML=E,this.h()},l(n){e=h(n,"DIV",{class:!0});var i=g(e);T(t.$$.fragment,i),s=H(i),a=h(i,"MAIN",{class:!0});var M=g(a);o&&o.l(M),M.forEach(p),l=H(i),c=h(i,"FOOTER",{class:!0,"data-svelte-h":!0}),D(c)!=="svelte-sjry9h"&&(c.innerHTML=E),i.forEach(p),this.h()},h(){$(a,"class","svelte-1i03v0h"),$(c,"class","svelte-1i03v0h"),$(e,"class","app svelte-1i03v0h")},m(n,i){I(n,e,i),j(t,e,null),m(e,s),m(e,a),o&&o.m(a,null),m(e,l),m(e,c),f=!0},p(n,[i]){o&&o.p&&(!f||i&1)&&O(o,_,n,n[0],f?z(_,n[0],i,null):S(n[0]),null)},i(n){f||(y(t.$$.fragment,n),y(o,n),f=!0)},o(n){b(t.$$.fragment,n),b(o,n),f=!1},d(n){n&&p(e),k(t),o&&o.d(n)}}}function J(r,e,t){let{$$slots:s={},$$scope:a}=e;return r.$$set=l=>{"$$scope"in l&&t(0,a=l.$$scope)},[a,s]}class Q extends x{constructor(e){super(),V(this,e,J,G,w,{})}}export{Q as component}; | |