// CentralUI-029: small JS module to replace the JS.InvokeAsync<int>("eval", ...)
// anti-pattern previously used by ConfigurationAuditLog. Exporting a named
// function from an ES module:
//   * removes the residual `eval` JS-interop surface,
//   * is CSP-friendly (no `unsafe-eval` directive required),
//   * matches the module-import pattern (`session-expiry.js`, `audit-grid.js`,
//     `nav-state.js`, `transport.js`) the rest of the Central UI follows.
//
// The function returns the same value as `new Date().getTimezoneOffset()` —
// minutes of (UTC - local), positive for time zones west of UTC.
export function getTimezoneOffsetMinutes() {
    return new Date().getTimezoneOffset();
}
