PageSourceSearch

https://trystan.net/assets/useDate-CDG0xbF6.js

js trystan.net collected 2026-09-26 06:21:09 UTC 1,761 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`3fb85819`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`43728828-9c09-435a-b67f-40ee71dc2b1a`,e._sentryDebugIdIdentifier=`sentry-dbid-43728828-9c09-435a-b67f-40ee71dc2b1a`)}catch{}})();import{s as e,t}from"./react-BxJ5vIog.js";import{t as n}from"./compiler-runtime-BQBjb8-F.js";import{a as r,i,n as a,o,r as s,t as c}from"./utils-CmXuxXjD.js";import{t as l}from"./useAccounts-Cxhw8thq.js";var u=e(t(),1),d=n(),f={dateFormat:`MM/DD/YYYY`,hourFormat:`12`,temperatureUnit:`F`,timeFormat:`hh:mma`};function p(){let e=(0,d.c)(5),{account:t,updateAccount:n}=l(),r=t?.settings?.localeSettings||f,i;e[0]===n?i=e[1]:(i=e=>{n({settings:{localeSettings:e}})},e[0]=n,e[1]=i);let a=i,o;return e[2]!==r||e[3]!==a?(o={localeSettings:r,updateLocaleSettings:a},e[2]=r,e[3]=a,e[4]=o):o=e[4],o}function m(){return`UTC`}function h(){return i()??`UTC`}var g=e=>{let t=(0,d.c)(13),n=e?.timezone,{account:i}=l(),{localeSettings:f}=p(),g;t[0]===f.dateFormat?g=t[1]:(g=r(f.dateFormat),t[0]=f.dateFormat,t[1]=g);let _=g,y;
1t[2]===f.timeFormat?y=t[3]:(y=o(f.timeFormat),t[2]=f.timeFormat,t[3]=y);let b=y,x=(0,u.useSyncExternalStore)(v,h,m),S=n||i?.settings?.timezone||x,C;t[4]===S?C=t[5]:(C=c(S),t[4]=S,t[5]=C);let w=C,T;t[6]===w?T=t[7]:(T=e=>{let t=e.timezone||w;return a({...e,timezone:t})},t[6]=w,t[7]=T);let E=T,D;return t[8]!==E||t[9]!==_||t[10]!==b||t[11]!==w?(D={dateFormat:_,formatTz:E,formatUtc:s,timeFormat:b,timezone:w},t[8]=E,t[9]=_,t[10]=b,t[11]=w,t[12]=D):D=t[12],D};function _(){}function v(){return _}export{f as n,p as r,g as t};
2//# sourceMappingURL=useDate-CDG0xbF6.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.