import{X as u,aP as c,aO as r,bG as i,r as f}from"./main-TIUJvpaR.js";function m(){var a,n,o,s;const e=(n=(a=u())==null?void 0:a.settings.dates)==null?void 0:n.default_timezone,t=((s=(o=u())==null?void 0:o.user)==null?void 0:s.timezone)||e||"auto";return t==="auto"?c():t}function T(){const e=i();return f.useMemo(()=>{try{return r(e)}catch{return r("UTC")}},[e])}function d(){const e=m();try{return r(e)}catch{return r("UTC")}}export{d as g,T as u};
