import{B as e,Ct as t,H as n,K as r,Mt as i,U as a,V as o,Z as s,d as c,jt as l,pt as u,s as d,st as f,tt as p,wt as m}from"./BA99CCI5.js";import"./xihTtKlq.js";import"./DGo8yE5j.js";import{t as h}from"./BAdiU3ne2.js";import{t as g}from"./C81q2Yt32.js";import{n as _,t as v}from"./ChzvQw1N.js";function y(y,b){i(b,!1);let x=()=>m(g,`$serverTimezone`,C),S=()=>m(h,`$dateFormat`,C),[C,w]=t(),T=d(b,`value`,8,void 0),E=d(b,`date`,8,!1),D=d(b,`options`,8,void 0);c();var O=a(),k=u(O),A=e=>{var t=r();f(e=>o(t,e),[()=>(s(v),s(T()),x(),S(),s(D()),p(()=>v(T(),x(),S(),D())))]),n(e,t)},j=e=>{var t=r();f(e=>o(t,e),[()=>(s(_),s(T()),x(),S(),s(D()),p(()=>_(T(),x(),S(),D())))]),n(e,t)};e(k,e=>{E()?e(A):e(j,-1)}),n(y,O),l(),w()}export{y as t};