import{s as S,n as _,d as q}from"../chunks/scheduler.cc52f4b9.js";import{S as x,i as w,e as d,q as f,s as y,a as g,f as h,r as v,d as l,b as C,m,l as $,w as E}from"../chunks/index.ccfa71ad.js";import{s as H}from"../chunks/singletons.0dd9244e.js";const P=()=>{const s=H;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},j={subscribe(s){return P().page.subscribe(s)}};function k(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",u;return{c(){t=d("h1"),o=f(r),n=y(),i=d("p"),u=f(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(l),n=C(e),i=g(e,"P",{});var p=h(i);u=v(p,c),p.forEach(l)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,u)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(u,c)},i:_,o:_,d(e){e&&(l(t),l(n),l(i))}}}function z(s,t,r){let o;return q(s,j,n=>r(0,o=n)),[o]}let F=class extends x{constructor(t){super(),w(this,t,z,k,S,{})}};export{F as component};
