import{s as c,n as a,o as i}from"../chunks/scheduler.Cv9s0imo.js";import{S as d,i as f,e as l,c as m,k as _,g as h,d as p}from"../chunks/index.CdomIx_b.js";import{a as o}from"../chunks/Trucks.Bh8ez4xN.js";const u=async()=>{const{mongo_address:s}=o();return{enhanced:await(await fetch(s+"/data")).json()}};function g(s){let e,t="<header>trends</header>";return{c(){e=l("div"),e.innerHTML=t},l(n){e=m(n,"DIV",{"data-svelte-h":!0}),_(e)!=="svelte-1gx4z7s"&&(e.innerHTML=t)},m(n,r){h(n,e,r)},p:a,i:a,o:a,d(n){n&&p(e)}}}function v(s){const{mongo_address:e}=o();return console.info({mongo_address:e}),i(async()=>{const{enhanced:t}=await u();console.info({enhanced:t})}),[]}class y extends d{constructor(e){super(),f(this,e,v,g,c,{})}}export{y as component};
