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