@zodiacs/engine 2.0.0-rc.2 → 2.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +168 -0
  2. package/LICENSING.md +21 -7
  3. package/NOTICE +19 -9
  4. package/README.md +150 -38
  5. package/dist/{api-C_SVd9BJ.d.ts → api-G8RVGizH.d.ts} +1 -1
  6. package/dist/{ayanamsa-Clgkekhh.d.ts → ayanamsa-C4-pYjzm.d.ts} +2 -2
  7. package/dist/calc.d.ts +4 -4
  8. package/dist/calc.js +13 -9
  9. package/dist/{chunk-WONTOC5W.js → chunk-4RCOOAGI.js} +1 -1
  10. package/dist/{chunk-IXFUYEUF.js → chunk-EEKVS6W7.js} +17 -4
  11. package/dist/{chunk-N4UQLCBN.js → chunk-FXNA2TJM.js} +1 -1
  12. package/dist/{chunk-NX4PHQBL.js → chunk-JY2LU4VC.js} +61 -80
  13. package/dist/{chunk-B5LKF437.js → chunk-M65JXRFN.js} +40 -0
  14. package/dist/{chunk-PNXIA7MI.js → chunk-PU4HNPRX.js} +9 -4
  15. package/dist/{chunk-T6F4FYYS.js → chunk-QLQRN6RY.js} +1 -1
  16. package/dist/{chunk-FVGA776A.js → chunk-XINOD63H.js} +2 -2
  17. package/dist/{chunk-I3L4POY7.js → chunk-XO7MHH32.js} +2 -1
  18. package/dist/core.d.ts +21 -0
  19. package/dist/core.js +2953 -0
  20. package/dist/crossings.d.ts +2 -2
  21. package/dist/de440-pack.d.ts +2 -2
  22. package/dist/de440.d.ts +2 -2
  23. package/dist/{ephemeris-D1lM832F.d.ts → ephemeris-Bnmowcsk.d.ts} +1 -1
  24. package/dist/geo.d.ts +74 -16
  25. package/dist/geo.js +139 -5
  26. package/dist/{houses-icK01yXi.d.ts → houses-CAiYEICK.d.ts} +1 -1
  27. package/dist/houses-extra.d.ts +3 -3
  28. package/dist/index.d.ts +8 -8
  29. package/dist/index.js +6 -6
  30. package/dist/{internal-math-BGX23p4h.d.ts → internal-math-rq6do9IR.d.ts} +2 -2
  31. package/dist/internal-math.d.ts +4 -4
  32. package/dist/internal-math.js +1 -1
  33. package/dist/internal.d.ts +4 -4
  34. package/dist/internal.js +3 -3
  35. package/dist/receipt.d.ts +3 -3
  36. package/dist/receipt.js +65 -26
  37. package/dist/{rulers-CpS9qkvu.d.ts → rulers-CFGiWJza.d.ts} +1 -1
  38. package/dist/sky.d.ts +4 -4
  39. package/dist/sky.js +3 -3
  40. package/dist/techniques.d.ts +4 -4
  41. package/dist/techniques.js +9 -9
  42. package/dist/{time-bands-CZA9AlLg.d.ts → time-bands-BCmfa8FR.d.ts} +5 -4
  43. package/dist/{time-scale-DIFNa0gz.d.ts → time-scale-9vmKQPCn.d.ts} +14 -4
  44. package/dist/time.d.ts +3 -3
  45. package/dist/time.js +2 -2
  46. package/dist/timing.d.ts +5 -5
  47. package/dist/timing.js +6 -6
  48. package/dist/{types-BCnyWBQZ.d.ts → types-CkuiCcsV.d.ts} +7 -4
  49. package/dist/{tzdb-2025c-00-6GVG6RYL.js → tzdb-2026f-00-RAB4YONA.js} +4 -4
  50. package/dist/{tzdb-2025c-01-CEYMG3LE.js → tzdb-2026f-01-SWR7EW5U.js} +4 -4
  51. package/dist/{tzdb-2025c-02-NWQJCVUU.js → tzdb-2026f-02-SOLHCLDL.js} +3 -3
  52. package/dist/{tzdb-2025c-03-PLHP6VH4.js → tzdb-2026f-03-LYLMCVL7.js} +3 -3
  53. package/dist/{tzdb-2025c-04-MEKUJA6M.js → tzdb-2026f-04-XTKMZPKX.js} +4 -4
  54. package/dist/{tzdb-2025c-05-3K5YKZBL.js → tzdb-2026f-05-EOKCMY5O.js} +4 -4
  55. package/dist/{tzdb-2025c-06-L2VV5XJV.js → tzdb-2026f-06-O4LQW2N6.js} +4 -4
  56. package/dist/{tzdb-2025c-07-H3GLGJGY.js → tzdb-2026f-07-2FDJ5OJ7.js} +4 -4
  57. package/dist/{tzdb-2025c-08-DA7QQIGD.js → tzdb-2026f-08-OKEWSMIX.js} +4 -4
  58. package/dist/{tzdb-2025c-09-MTXIO3QL.js → tzdb-2026f-09-5GB7FKLF.js} +4 -4
  59. package/dist/{tzdb-2025c-10-ASL4UW5C.js → tzdb-2026f-10-GXHCIASR.js} +4 -4
  60. package/dist/{tzdb-2025c-11-EQEOANYB.js → tzdb-2026f-11-66EMKXFG.js} +4 -4
  61. package/dist/{tzdb-2025c-12-NKCCXJ5G.js → tzdb-2026f-12-YK3CZCIY.js} +3 -3
  62. package/dist/{tzdb-2025c-13-DYTF3UC7.js → tzdb-2026f-13-UNZD3QIH.js} +4 -4
  63. package/dist/{tzdb-2025c-14-C25H45R5.js → tzdb-2026f-14-4FQNGNZM.js} +4 -4
  64. package/dist/{tzdb-2025c-15-7OYYZWRY.js → tzdb-2026f-15-5TA3B2WI.js} +4 -4
  65. package/dist/vedic.d.ts +4 -4
  66. package/dist/vedic.js +6 -6
  67. package/dist/window.d.ts +2 -2
  68. package/dist/window.js +8 -5
  69. package/dist/{zone-history-0XzMGx9V.d.ts → zone-history-2UYUKA43.d.ts} +26 -9
  70. package/package.json +7 -3
@@ -1,6 +1,6 @@
1
- import { B as BodyName } from './types-BCnyWBQZ.js';
1
+ import { B as BodyName } from './types-CkuiCcsV.js';
2
2
  import './deltat.js';
3
- import './time-scale-DIFNa0gz.js';
3
+ import './time-scale-9vmKQPCn.js';
4
4
 
5
5
  /**
6
6
  * The instants a body sits exactly on an ecliptic longitude.
@@ -1,7 +1,7 @@
1
1
  import { De440Source } from './de440.js';
2
- import './types-BCnyWBQZ.js';
2
+ import './types-CkuiCcsV.js';
3
3
  import './deltat.js';
4
- import './time-scale-DIFNa0gz.js';
4
+ import './time-scale-9vmKQPCn.js';
5
5
 
6
6
  /** The pack this entry ships, and the kernel it was refitted from. */
7
7
  interface De440PackDescription {
package/dist/de440.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { P as PositionSource } from './types-BCnyWBQZ.js';
1
+ import { P as PositionSource } from './types-CkuiCcsV.js';
2
2
  import './deltat.js';
3
- import './time-scale-DIFNa0gz.js';
3
+ import './time-scale-9vmKQPCn.js';
4
4
 
5
5
  /**
6
6
  * A sealed ephemeris pack (`ZODEPH02`): the header, checked before anything
@@ -1,4 +1,4 @@
1
- import { P as PositionSource, B as BodyName, c as BodyPosition, C as ChartInput, d as Chart } from './types-BCnyWBQZ.js';
1
+ import { P as PositionSource, B as BodyName, c as BodyPosition, C as ChartInput, d as Chart } from './types-CkuiCcsV.js';
2
2
 
3
3
  /** What a call outside `withEphemeris` computes on. */
4
4
  type DefaultEphemerisName = "de440" | "astronomy-engine";
package/dist/geo.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { H as HouseSystem, h as BirthInput } from './types-BCnyWBQZ.js';
2
- import { T as TransitionCause, N as NatalLocalResolution } from './zone-history-0XzMGx9V.js';
1
+ import { H as HouseSystem, h as BirthInput } from './types-CkuiCcsV.js';
2
+ import { T as TransitionCause, N as NatalLocalResolution } from './zone-history-2UYUKA43.js';
3
3
  import './deltat.js';
4
- import './time-scale-DIFNa0gz.js';
4
+ import './time-scale-9vmKQPCn.js';
5
5
 
6
6
  interface City {
7
7
  name: string;
@@ -80,6 +80,29 @@ interface CalendarNote {
80
80
  * RangeError.
81
81
  */
82
82
  declare function calendarNote(gregorianDate: string, calendar: CalendarName, country: string): CalendarNote | null;
83
+ /**
84
+ * The Julian Day Number of a civil date in `calendar` (default "gregorian"):
85
+ * the integer day that begins at noon UT on that date. Years are astronomical
86
+ * (year 0 exists; -4712 is 4713 BC). Throws a RangeError unless year, month
87
+ * and day are integers, the year is between -100000 and 100000, and the date
88
+ * exists in that calendar.
89
+ */
90
+ declare function julianDayNumber(date: {
91
+ year: number;
92
+ month: number;
93
+ day: number;
94
+ }, calendar?: CalendarName): number;
95
+ /**
96
+ * The civil date in `calendar` (default "gregorian") of a Julian Day Number,
97
+ * as `{ year, month, day }` with astronomical years. Throws a RangeError
98
+ * unless `jdn` is an integer that falls in the years -100000 to 100000 of
99
+ * that calendar.
100
+ */
101
+ declare function dateOfJulianDayNumber(jdn: number, calendar?: CalendarName): {
102
+ year: number;
103
+ month: number;
104
+ day: number;
105
+ };
83
106
 
84
107
  /**
85
108
  * The pinned tzdb release: its version, archive digest and the form its histories were compiled from. The
@@ -129,9 +152,11 @@ interface LocalTimeResolution {
129
152
  * A gap or fold of any cause ("dst-" names kept for compatibility; see `jump`), a local mean time clock, and
130
153
  * "calendar-unknown": no `country` the table dates, and a date that one of the adoption table's changeovers
131
154
  * skipped and the zone does not rule out, so whether it was in civil use where it was written is not known
132
- * (docs/time.md).
155
+ * (docs/time.md). "host-zone-data-differs": the host's Intl answered, and at an instant within 36 hours of a
156
+ * span in which the time zone database changed between tzdata 2021a and the release `zone.hostCheck` names, it
157
+ * gave another offset than that release does; the instant returned is still the host's (docs/time.md).
133
158
  */
134
- flags: ("dst-gap" | "dst-fold" | "lmt" | "calendar-unknown")[];
159
+ flags: ("dst-gap" | "dst-fold" | "lmt" | "calendar-unknown" | "host-zone-data-differs")[];
135
160
  /** The proleptic Gregorian date resolved. */
136
161
  date: string;
137
162
  writtenDate: string;
@@ -153,6 +178,8 @@ interface LocalTimeResolution {
153
178
  dataForm: "main+backzone" | "main" | "host";
154
179
  abbreviation: string | null;
155
180
  dst: boolean | null;
181
+ /** Set where the host's Intl answered: whether its offset matches the pinned tzdb release (docs/time.md). */
182
+ hostCheck?: HostZoneCheck;
156
183
  };
157
184
  /** The host's offset where the shipped history answered, as a cross-check. */
158
185
  intlOffsetMinutes: number | null;
@@ -160,6 +187,28 @@ interface LocalTimeResolution {
160
187
  /** For `createNatalEnvelope`'s `localResolution`. */
161
188
  localResolution: NatalLocalResolution;
162
189
  }
190
+ /**
191
+ * How the host's time zone data compares with the pinned tzdb release near a wall time the host's Intl read.
192
+ * "unchecked": no span in which tzdata 2021a and the pinned release differ lies within 36 hours of the
193
+ * instant (or the instant is before 1970, or the zone is a fixed one). Otherwise the host was asked for its
194
+ * offset at `probe`, an instant inside each such span: "current" when it gave the pinned release's offset at
195
+ * every probe, "differs" when it did not at one (the chart is flagged "host-zone-data-differs"), and "newer"
196
+ * when it did not but the runtime names a tzdb release later than the pinned one (Node does; browsers do not),
197
+ * which may know a rule the pinned release does not, so nothing is flagged.
198
+ */
199
+ type HostZoneCheck = {
200
+ status: "unchecked";
201
+ } | {
202
+ status: "current" | "differs" | "newer";
203
+ /** UTC, ISO 8601: the instant the host was asked about (the first that disagreed, else the first asked). */
204
+ probe: string;
205
+ /** The host's offset at `probe`, minutes east. */
206
+ hostOffsetMinutes: number;
207
+ /** The pinned release's offset at `probe`, minutes east. */
208
+ tzdbOffsetMinutes: number;
209
+ /** The pinned release, such as "2026f". */
210
+ tzdbVersion: string;
211
+ };
163
212
  interface LocalBirthInput {
164
213
  /** YYYY-MM-DD, in `calendar`. */
165
214
  date: string;
@@ -180,19 +229,10 @@ interface LocalBirthInput {
180
229
  * UTC offset for an IANA timezone at a UTC instant, minutes east, from the
181
230
  * host's Intl: a cross-check on the host's time-zone data. zoneOffsetAt is the
182
231
  * engine's own answer, the one its wall times use; the two agree from 1970
183
- * where the host has tzdata 2025c, and before 1970 they can differ, because
232
+ * where the host has tzdata 2026f, and before 1970 they can differ, because
184
233
  * Intl does not carry the history this package ships.
185
234
  */
186
235
  declare function offsetAt(timeZone: string, utcMilliseconds: number): number;
187
- /**
188
- * Resolve a local wall time in an IANA zone to UTC: a repeated one takes the
189
- * earlier instant, or the later one with `options.fold` "later"; a skipped
190
- * one moves forward by the jump. Before 1970 the
191
- * shipped tzdb 2025c history answers, loaded by `prepareLocalTime` (a wall
192
- * time before 1970-01-02 throws otherwise); from 1970, and in the fixed Etc
193
- * zones, the host's Intl.
194
- */
195
- declare function resolveLocalToUtc(date: string, time: string, timeZone: string, options?: LocalTimeOptions): LocalTimeResolution;
196
236
  /**
197
237
  * Load what a wall time on `date` (YYYY-MM-DD) in `timeZone` needs: up to
198
238
  * 1970, the zone's shipped history (one of 16 buckets). A failed load rejects
@@ -215,6 +255,17 @@ declare class ZoneHistoryNotLoadedError extends Error {
215
255
  readonly name = "ZoneHistoryNotLoadedError";
216
256
  constructor();
217
257
  }
258
+
259
+ /**
260
+ * Resolve a local wall time in an IANA zone to UTC: a repeated one takes the
261
+ * earlier instant, or the later one with `options.fold` "later"; a skipped
262
+ * one moves forward by the jump. Before 1970 the
263
+ * shipped tzdb 2026f history answers, loaded by `prepareLocalTime` (a wall
264
+ * time before 1970-01-02 throws otherwise); from 1970, and in the fixed Etc
265
+ * zones, the host's Intl, whose offset near the instant is checked against the
266
+ * pinned tzdb release (`zone.hostCheck`, flag "host-zone-data-differs").
267
+ */
268
+ declare function resolveLocalToUtc(date: string, time: string, timeZone: string, options?: LocalTimeOptions): LocalTimeResolution;
218
269
  /** A local birth resolved, with how its wall time was read and the receipt's `reference`. */
219
270
  interface LocalBirthResolution {
220
271
  birth: BirthInput;
@@ -226,4 +277,11 @@ declare function resolveLocalBirth(input: LocalBirthInput): LocalBirthResolution
226
277
  /** Convert a local birth form into the explicit UTC input accepted by the core. */
227
278
  declare function resolveBirth(input: LocalBirthInput): BirthInput;
228
279
 
229
- export { type CalendarName, type CalendarNote, type City, type FoldChoice, GREGORIAN_ADOPTION, GREGORIAN_ADOPTION_SOURCES, type GeoNamesClient, type GeoNamesClientOptions, type GeoNamesIndexMetadata, type GregorianAdoption, type GregorianAdoptionSource, type LocalBirthInput, type LocalBirthResolution, type LocalTimeOptions, type LocalTimeResolution, TZDB, TransitionCause, ZoneHistoryNotLoadedError, type ZoneTransition, calendarNote, createGeoNamesClient, gregorianAdoption, gregorianToJulian, julianToGregorian, offsetAt, prepareLocalTime, resolveBirth, resolveLocalBirth, resolveLocalToUtc, zoneOffsetAt };
280
+ /**
281
+ * The local mean time offset of a longitude, in seconds east of Greenwich:
282
+ * `longitude × 240`, not rounded. Throws a RangeError unless the longitude is
283
+ * a finite number of degrees between -180 and 180.
284
+ */
285
+ declare function localMeanTimeOffset(longitude: number): number;
286
+
287
+ export { type CalendarName, type CalendarNote, type City, type FoldChoice, GREGORIAN_ADOPTION, GREGORIAN_ADOPTION_SOURCES, type GeoNamesClient, type GeoNamesClientOptions, type GeoNamesIndexMetadata, type GregorianAdoption, type GregorianAdoptionSource, type HostZoneCheck, type LocalBirthInput, type LocalBirthResolution, type LocalTimeOptions, type LocalTimeResolution, TZDB, TransitionCause, ZoneHistoryNotLoadedError, type ZoneTransition, calendarNote, createGeoNamesClient, dateOfJulianDayNumber, gregorianAdoption, gregorianToJulian, julianDayNumber, julianToGregorian, localMeanTimeOffset, offsetAt, prepareLocalTime, resolveBirth, resolveLocalBirth, resolveLocalToUtc, zoneOffsetAt };
package/dist/geo.js CHANGED
@@ -1,22 +1,29 @@
1
1
  import {
2
+ DAY,
3
+ FIXED_ZONE,
2
4
  GREGORIAN_ADOPTION,
3
5
  GREGORIAN_ADOPTION_SOURCES,
6
+ PROBE,
4
7
  TZDB,
5
8
  ZoneHistoryNotLoadedError,
6
9
  calendarNote,
10
+ currentHost,
11
+ dateOfJulianDayNumber,
7
12
  gregorianAdoption,
13
+ julianDayNumber,
14
+ nameHash,
8
15
  offsetAt,
9
16
  prepareLocalTime,
10
- resolveBirth,
11
- resolveLocalBirth,
12
- resolveLocalToUtc,
17
+ readLocalTime,
13
18
  zoneOffsetAt
14
- } from "./chunk-NX4PHQBL.js";
19
+ } from "./chunk-JY2LU4VC.js";
15
20
  import {
16
21
  gregorianToJulian,
17
22
  julianToGregorian
18
23
  } from "./chunk-KFTJMMG7.js";
19
- import "./chunk-WONTOC5W.js";
24
+ import {
25
+ validateBirthSettings
26
+ } from "./chunk-4RCOOAGI.js";
20
27
 
21
28
  // src/geo/geonames.ts
22
29
  var fold = (value) => value.normalize("NFD").replace(/[\u0300-\u036f]/gu, "").toLowerCase();
@@ -157,6 +164,130 @@ function createGeoNamesClient(options) {
157
164
  }
158
165
  };
159
166
  }
167
+
168
+ // src/geo/host-probes-data.ts
169
+ var HOST_PROBES_TZDB = "2026f";
170
+ var HOST_PROBES_UNTIL = 18877536e5;
171
+ var HOST_PROBES = "8i4hw:0,7ji4c,bo,0,8fno,0,0,94cvo,bo,0,0,8c;1myovc,9iyn3w:gp2so,5m6c,50,5m9o,5tyc,50,5eho,5tyc,50,5eho,5tyc,50,5m9o,5m6c,50,5m9o,5m6c,50,5m9o,5m6c,50;5w7i17,1g6nwqf:hsov0,43to,-bo,7cec,3w1o,-bo,7cec,3w1o,-bo;9e4lpj:0,23xc0,1o,5m80,7to,1o,5eec,1o,0,13jac,1o,1o,5m6c,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,1o,1o,5tyc,1o,0,5m6c,1o,1o,5m6c,1o,0,26uw0,5m80,1o,0,5m80,3c,0,5m80,1o,0,5m80,3c,0,5m80,1o,0,5m80,3c,0,5u00,1o;asrkyp:g159o,69p1,dc,4yqz,69p1,dc,4vjz,0,dc;b5re23,uyfsdo:hsooc,43s0,-6o;ce8zcd,pz5m04,1rhzabd,1ybd2zs:3k8o,5m6c,-bo,5m9o,5tyc,-bo,5m9o,5m6c,-bo,5m9o,5m6c,-bo,25to,92mc,-bo,3o9o,7k6c,-bo;cyn8qr:gjgj0,4r5o,50,6hac,4r5o,50,6hac,4r5o,50,6p2c,4jdo,50,6p2c,4jdo,50,6p2c,4r5o,50,6hac,4r5o,50,6hac,0,50;dcc607,m9wqor:2kzs0,1o,0,5m6c,1o,1o,5m6c,1o,0,b8ec,7to,0,b0mc,1o,1o,5m6c,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,3c,1o,5m4o,1o,0,5m6c,1o,1o,5tyc,1o,0,5m6c,1o,1o,5m6c,1o,0;dmmcsr,1lsj5zo:0,dc,-bo,goa1o,6hac,-bo,4yxo,69ic,-bo,4yxo,69ic,-bo,4yxo,69ic,-bo,4yxo,6hac,-bo,4r5o,6hac,-bo,4r5o,0,-bo;f09xrh,l091et:gurdo,4r40,-3c,0,6hc0,-1o,0,4r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,1q80,-8c;1ln5rj6:3k3o,5m6c,-6o,5m9o,5tyc,-6o,5m9o,5m6c,-6o,5m9o,5m6c,-6o;1m8wjwn,1o82kr6:hsotc,43to,-a0,7cec,3w1o,-a0,7cec,3w1o,-a0;1oekpsn:29jk0,5m80,0,5u00,5m80,0,5m80,5m9o,0,5m6c,5m9o,0,5m80,5m80,0,5m80,7qc,0,5eg0,1o,0,5m6c,3c,1o,5m4o,1o,0,5m6c,1o,1o,5tyc,1o,0,5m6c,1o,1o,5m6c,1o,0,5m6c,1o,1o;1qpkgrs:29kao,5hqc,f0,5l5o,5nac,dc,3nhdo,24mc,f0;1tajtnw:q8wo,5m6c,-bo,5m9o,5m6c,-bo,5m9o,5m6c,-bo,5m9o,5m6c,-bo,5m9o,5tyc,-bo,5eho,5tyc,-bo,5m9o,5m6c,-bo,5m9o,5m4o,-a0,epyw0,43to,-a0,7cec,3w1o,-a0,7cec,3w1o,-a0;1vtbk8m:0,2qmj6,-ic;1y6qmtw:6ypgo,3c,3c,5m30,50,50,5m4o,3c,3c,5m30,50,50,5m4o,3c,3c,5m1c,50,6o,5m4o,3c,50,5m30,50,6o";
172
+
173
+ // src/geo/timezone.ts
174
+ var hostAnswers = /* @__PURE__ */ new WeakMap();
175
+ var OPEN_PROBE = 45 * DAY;
176
+ var probeTable = null;
177
+ function probeSpans(timeZone) {
178
+ if (!probeTable) {
179
+ probeTable = /* @__PURE__ */ new Map();
180
+ for (const row of HOST_PROBES.split(";")) {
181
+ const [hashes = "", body = ""] = row.split(":");
182
+ const minutes = body.split(",").map((value) => parseInt(value, 36) * 6e4);
183
+ const spans = [];
184
+ let previous = 0;
185
+ for (let index = 0; index + 2 < minutes.length; index += 3) {
186
+ const from = previous + minutes[index];
187
+ const length = minutes[index + 1];
188
+ spans.push(from, length ? from + length : HOST_PROBES_UNTIL, from + (length ? Math.floor(length / 12e4) * 6e4 : OPEN_PROBE), minutes[index + 2] / 1e3);
189
+ previous = length ? from + length : from;
190
+ }
191
+ for (const hash of hashes.split(",")) probeTable.set(parseInt(hash, 36), spans);
192
+ }
193
+ }
194
+ return probeTable.get(nameHash(timeZone));
195
+ }
196
+ function checkHost(timeZone, utcMs) {
197
+ const spans = utcMs >= 0 && !FIXED_ZONE.test(timeZone) ? probeSpans(timeZone) : void 0;
198
+ const host = currentHost();
199
+ let answers = hostAnswers.get(host);
200
+ if (!answers) hostAnswers.set(host, answers = /* @__PURE__ */ new Map());
201
+ let agreed = null;
202
+ for (let index = 0; spans && index < spans.length; index += 4) {
203
+ if (utcMs < spans[index] - PROBE || utcMs >= spans[index + 1] + PROBE) continue;
204
+ const probe = spans[index + 2];
205
+ const pinned = spans[index + 3];
206
+ const key = `${timeZone.toLowerCase()}
207
+ ${probe}`;
208
+ let answer = answers.get(key);
209
+ if (answer === void 0) {
210
+ answer = Math.round(host.offsetAt(timeZone, probe) * 60);
211
+ answers.set(key, answer);
212
+ }
213
+ const version = host.tzdbVersion();
214
+ const status = answer === pinned ? "current" : version !== null && version > HOST_PROBES_TZDB ? "newer" : "differs";
215
+ const check = {
216
+ status,
217
+ probe: new Date(probe).toISOString(),
218
+ hostOffsetMinutes: answer / 60,
219
+ tzdbOffsetMinutes: pinned / 60,
220
+ tzdbVersion: HOST_PROBES_TZDB
221
+ };
222
+ if (status !== "current") return check;
223
+ agreed ??= check;
224
+ }
225
+ return agreed ?? { status: "unchecked" };
226
+ }
227
+ function resolveLocalToUtc(date, time, timeZone, options) {
228
+ const resolution = readLocalTime(date, time, timeZone, options);
229
+ if (resolution.zone.source === "intl") {
230
+ const check = checkHost(timeZone, resolution.utc.getTime());
231
+ resolution.zone.hostCheck = check;
232
+ if (check.status === "differs") resolution.flags.push("host-zone-data-differs");
233
+ }
234
+ return resolution;
235
+ }
236
+ var LOCAL_BIRTH_KEYS = [
237
+ "date",
238
+ "time",
239
+ "timeZone",
240
+ "latitude",
241
+ "longitude",
242
+ "houseSystem",
243
+ "timeKnown",
244
+ "calendar",
245
+ "country",
246
+ "fold"
247
+ ];
248
+ function resolveLocalBirth(input) {
249
+ if (!input || typeof input !== "object" || Array.isArray(input)) {
250
+ throw new RangeError("birth must be an object containing a local date and timezone.");
251
+ }
252
+ for (const key of Object.getOwnPropertyNames(input)) {
253
+ if (!LOCAL_BIRTH_KEYS.includes(key)) throw new RangeError(`Unknown local birth field "${key}".`);
254
+ }
255
+ const fields = Object.fromEntries(LOCAL_BIRTH_KEYS.map((key) => [key, input[key]]));
256
+ const settings = validateBirthSettings(fields);
257
+ const { time, calendar, country, fold: fold2 } = fields;
258
+ const timeKnown = settings.timeKnown ?? time !== void 0;
259
+ if (timeKnown && time === void 0) {
260
+ throw new RangeError("time is required when timeKnown is true.");
261
+ }
262
+ const resolution = resolveLocalToUtc(fields.date, time === void 0 ? "12:00" : time, fields.timeZone, {
263
+ longitude: settings.longitude,
264
+ calendar,
265
+ country,
266
+ fold: fold2
267
+ });
268
+ return {
269
+ birth: {
270
+ utc: resolution.utc,
271
+ timeKnown,
272
+ houseSystem: settings.houseSystem ?? "whole",
273
+ flags: resolution.flags,
274
+ ...settings.latitude === void 0 ? {} : { latitude: settings.latitude, longitude: settings.longitude }
275
+ },
276
+ resolution,
277
+ reference: time === void 0 ? "local-noon" : "supplied-instant"
278
+ };
279
+ }
280
+ function resolveBirth(input) {
281
+ return resolveLocalBirth(input).birth;
282
+ }
283
+
284
+ // src/geo/mean-time.ts
285
+ function localMeanTimeOffset(longitude) {
286
+ if (typeof longitude !== "number" || !(Math.abs(longitude) <= 180)) {
287
+ throw new RangeError("longitude must be a number of degrees between -180 and 180.");
288
+ }
289
+ return longitude * 240 + 0;
290
+ }
160
291
  export {
161
292
  GREGORIAN_ADOPTION,
162
293
  GREGORIAN_ADOPTION_SOURCES,
@@ -164,9 +295,12 @@ export {
164
295
  ZoneHistoryNotLoadedError,
165
296
  calendarNote,
166
297
  createGeoNamesClient,
298
+ dateOfJulianDayNumber,
167
299
  gregorianAdoption,
168
300
  gregorianToJulian,
301
+ julianDayNumber,
169
302
  julianToGregorian,
303
+ localMeanTimeOffset,
170
304
  offsetAt,
171
305
  prepareLocalTime,
172
306
  resolveBirth,
@@ -1,4 +1,4 @@
1
- import { A as Angles, H as HouseSystem, a as Houses, b as HouseNumber } from './types-BCnyWBQZ.js';
1
+ import { A as Angles, H as HouseSystem, a as Houses, b as HouseNumber } from './types-CkuiCcsV.js';
2
2
 
3
3
  declare const HOUSE_SYSTEMS: readonly ["whole", "placidus", "porphyry", "equal", "equal-mc", "vehlow", "koch", "regiomontanus", "campanus", "topocentric", "alcabitius", "morinus", "meridian"];
4
4
  /**
@@ -1,7 +1,7 @@
1
- import { A as AngleInput } from './houses-icK01yXi.js';
2
- import { H as HouseSystem, A as Angles } from './types-BCnyWBQZ.js';
1
+ import { A as AngleInput } from './houses-CAiYEICK.js';
2
+ import { H as HouseSystem, A as Angles } from './types-CkuiCcsV.js';
3
3
  import './deltat.js';
4
- import './time-scale-DIFNa0gz.js';
4
+ import './time-scale-9vmKQPCn.js';
5
5
 
6
6
  /**
7
7
  * `@zodiacs/engine/houses`: the house position of a body with ecliptic
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export { C as ChartDeclinations, D as DECLINATION_ORB, a as DECLINATION_ORB_LUMINARY, b as DEFAULT_DECLINATION_ORB_POLICY, c as DeclinationAspect, d as DeclinationAspectType, e as DeclinationBody, f as DeclinationOrbPolicy, g as DeclinationRow, h as Declinations, E as EquatorialCoordinates, N as NatalSource, R as RA_POLE_TOLERANCE, i as ReturnSeason, S as SUN_BOUND_LATITUDE, j as SaturnReturnResult, k as SaturnReturnSource, l as chartDeclinations, m as chartPoints, n as declinationOf, o as declinationOrb, p as declinationsForBodies, q as eclipticToEquatorial, r as findDeclinationAspects, s as findLongitudeCrossings, t as groupIntoSeasons, u as moonPhase, v as natalChart, w as positions, x as saturnReturn, y as searchLongitudeCrossings, z as synastry, A as transits } from './api-C_SVd9BJ.js';
2
- export { D as DefaultEphemeris, d as DefaultEphemerisName, e as defaultEphemeris, s as setDefaultEphemeris, w as withEphemeris } from './ephemeris-D1lM832F.js';
3
- import { e as DateInput, c as BodyPosition, j as Sect, k as MinimalBody, l as Element, I as InterAspect, m as Modality, n as PairSummary } from './types-BCnyWBQZ.js';
4
- export { A as Angles, o as Aspect, f as AspectType, h as BirthInput, B as BodyName, d as Chart, g as ChartFlag, C as ChartInput, i as ChartPoints, p as ENGINE_VERSION, q as EPHEMERIS, E as EphemerisFallback, b as HouseNumber, H as HouseSystem, a as Houses, r as InstantFlag, M as MoonPhase, s as MoonPhaseName, t as PointName, u as PointPosition, v as Polarity, P as PositionSource, w as SignDefinition, x as SourceBody, S as SynastryResult, T as TransitResult, Z as ZodiacSign } from './types-BCnyWBQZ.js';
5
- import { A as AspectMotion } from './internal-math-BGX23p4h.js';
6
- export { a as ASPECTS, b as ASPECT_BODIES, c as ASPECT_TYPES, d as AspectDefinition, E as ELEMENTS, M as MODALITIES, S as SIGNS, e as SIGN_NAMES, f as SIGN_SLUGS, g as STATIONARY_RELATIVE_SPEED, h as aspectMotion, i as degreeInSign, j as findAspects, m as matchAspect, n as normalizeLongitude, s as separation, k as signForLongitude, l as signIndexForLongitude } from './internal-math-BGX23p4h.js';
7
- export { A as AngleInput, H as HOUSE_SYSTEMS, P as PLACIDUS_POLAR_FALLBACK, a as POLAR_FALLBACK, b as POLAR_UNDEFINED_HOUSE_SYSTEMS, c as alcabitiusCusps, d as campanusCusps, e as computeAngles, f as computeHouses, g as eastPointOf, h as equalCusps, i as equalMcCusps, j as houseOf, k as isPolarUndefinedHouseSystem, l as kochCusps, m as meanObliquity, n as meridianCusps, o as morinusCusps, p as placidusCusps, q as porphyryCusps, r as ramcOf, s as regiomontanusCusps, t as topocentricCusps, v as vehlowCusps, u as vertexOf, w as wholeSignCusps } from './houses-icK01yXi.js';
1
+ export { C as ChartDeclinations, D as DECLINATION_ORB, a as DECLINATION_ORB_LUMINARY, b as DEFAULT_DECLINATION_ORB_POLICY, c as DeclinationAspect, d as DeclinationAspectType, e as DeclinationBody, f as DeclinationOrbPolicy, g as DeclinationRow, h as Declinations, E as EquatorialCoordinates, N as NatalSource, R as RA_POLE_TOLERANCE, i as ReturnSeason, S as SUN_BOUND_LATITUDE, j as SaturnReturnResult, k as SaturnReturnSource, l as chartDeclinations, m as chartPoints, n as declinationOf, o as declinationOrb, p as declinationsForBodies, q as eclipticToEquatorial, r as findDeclinationAspects, s as findLongitudeCrossings, t as groupIntoSeasons, u as moonPhase, v as natalChart, w as positions, x as saturnReturn, y as searchLongitudeCrossings, z as synastry, A as transits } from './api-G8RVGizH.js';
2
+ export { D as DefaultEphemeris, d as DefaultEphemerisName, e as defaultEphemeris, s as setDefaultEphemeris, w as withEphemeris } from './ephemeris-Bnmowcsk.js';
3
+ import { e as DateInput, c as BodyPosition, j as Sect, k as MinimalBody, l as Element, I as InterAspect, m as Modality, n as PairSummary } from './types-CkuiCcsV.js';
4
+ export { A as Angles, o as Aspect, f as AspectType, h as BirthInput, B as BodyName, d as Chart, g as ChartFlag, C as ChartInput, i as ChartPoints, p as ENGINE_VERSION, q as EPHEMERIS, E as EphemerisFallback, b as HouseNumber, H as HouseSystem, a as Houses, r as InstantFlag, M as MoonPhase, s as MoonPhaseName, t as PointName, u as PointPosition, v as Polarity, P as PositionSource, w as SignDefinition, x as SourceBody, S as SynastryResult, T as TransitResult, Z as ZodiacSign } from './types-CkuiCcsV.js';
5
+ import { A as AspectMotion } from './internal-math-rq6do9IR.js';
6
+ export { a as ASPECTS, b as ASPECT_BODIES, c as ASPECT_TYPES, d as AspectDefinition, E as ELEMENTS, M as MODALITIES, S as SIGNS, e as SIGN_NAMES, f as SIGN_SLUGS, g as STATIONARY_RELATIVE_SPEED, h as aspectMotion, i as degreeInSign, j as findAspects, m as matchAspect, n as normalizeLongitude, s as separation, k as signForLongitude, l as signIndexForLongitude } from './internal-math-rq6do9IR.js';
7
+ export { A as AngleInput, H as HOUSE_SYSTEMS, P as PLACIDUS_POLAR_FALLBACK, a as POLAR_FALLBACK, b as POLAR_UNDEFINED_HOUSE_SYSTEMS, c as alcabitiusCusps, d as campanusCusps, e as computeAngles, f as computeHouses, g as eastPointOf, h as equalCusps, i as equalMcCusps, j as houseOf, k as isPolarUndefinedHouseSystem, l as kochCusps, m as meanObliquity, n as meridianCusps, o as morinusCusps, p as placidusCusps, q as porphyryCusps, r as ramcOf, s as regiomontanusCusps, t as topocentricCusps, v as vehlowCusps, u as vertexOf, w as wholeSignCusps } from './houses-CAiYEICK.js';
8
8
  export { DELTA_T_MODEL, DELTA_T_TABLE, DeltaT, DeltaTSegment, DeltaTTable, deltaT, deltaTAt } from './deltat.js';
9
- export { D as DELTA_T_IERS_MODEL, L as LeapSeconds, T as TimeScale, a as TimeScaleName, U as Ut1MinusUtc } from './time-scale-DIFNa0gz.js';
9
+ export { D as DELTA_T_IERS_MODEL, L as LeapSeconds, T as TimeScale, a as TimeScaleName, U as Ut1MinusUtc } from './time-scale-9vmKQPCn.js';
10
10
  export { E as EPHEMERIS_SPAN, R as REFERENCE_SPAN, o as outsideReferenceSpan } from './reference-span-CILpclrz.js';
11
11
  export { BodyLongitudeAt, CrossingSearchOptions, CrossingSearchResult, LongitudeCrossing, findLongitudeCrossingsWith, searchLongitudeCrossingsWith } from './crossings.js';
12
12
 
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  PROGRESSION_DAYS_PER_YEAR,
3
3
  progressedBodies,
4
4
  progressedInstant
5
- } from "./chunk-N4UQLCBN.js";
5
+ } from "./chunk-FXNA2TJM.js";
6
6
  import {
7
7
  chartDeclinations,
8
8
  chartPoints,
@@ -19,7 +19,7 @@ import {
19
19
  summarizePair,
20
20
  synastry,
21
21
  transits
22
- } from "./chunk-IXFUYEUF.js";
22
+ } from "./chunk-EEKVS6W7.js";
23
23
  import {
24
24
  DECLINATION_ORB,
25
25
  DECLINATION_ORB_LUMINARY,
@@ -51,7 +51,7 @@ import {
51
51
  setDefaultEphemeris,
52
52
  signOf,
53
53
  withEphemeris
54
- } from "./chunk-PNXIA7MI.js";
54
+ } from "./chunk-PU4HNPRX.js";
55
55
  import "./chunk-CPALRSPC.js";
56
56
  import {
57
57
  ASPECTS,
@@ -64,14 +64,14 @@ import {
64
64
  findAspects,
65
65
  matchAspect,
66
66
  separation
67
- } from "./chunk-T6F4FYYS.js";
67
+ } from "./chunk-QLQRN6RY.js";
68
68
  import "./chunk-EEW7746S.js";
69
69
  import {
70
70
  DELTA_T_IERS_MODEL,
71
71
  EPHEMERIS_SPAN,
72
72
  REFERENCE_SPAN,
73
73
  outsideReferenceSpan
74
- } from "./chunk-B5LKF437.js";
74
+ } from "./chunk-M65JXRFN.js";
75
75
  import {
76
76
  findLongitudeCrossingsWith,
77
77
  searchLongitudeCrossingsWith
@@ -123,7 +123,7 @@ import {
123
123
  deltaT,
124
124
  deltaTAt
125
125
  } from "./chunk-BHJXUY67.js";
126
- import "./chunk-WONTOC5W.js";
126
+ import "./chunk-4RCOOAGI.js";
127
127
 
128
128
  // src/configured-aspects.ts
129
129
  var ASPECT_POLICY_SCHEMA = "zodiacs.aspect-policy.v1";
@@ -1,5 +1,5 @@
1
- import { f as AspectType, c as BodyPosition, o as Aspect, Z as ZodiacSign, w as SignDefinition } from './types-BCnyWBQZ.js';
2
- import './houses-icK01yXi.js';
1
+ import { f as AspectType, c as BodyPosition, o as Aspect, Z as ZodiacSign, w as SignDefinition } from './types-CkuiCcsV.js';
2
+ import './houses-CAiYEICK.js';
3
3
 
4
4
  interface AspectDefinition {
5
5
  readonly type: AspectType;
@@ -1,5 +1,5 @@
1
- export { a as ASPECTS, b as ASPECT_BODIES, c as ASPECT_TYPES, d as AspectDefinition, A as AspectMotion, g as STATIONARY_RELATIVE_SPEED, h as aspectMotion, j as findAspects, m as matchAspect, n as normalizeLongitude, s as separation } from './internal-math-BGX23p4h.js';
2
- export { A as AngleInput, H as HOUSE_SYSTEMS, P as PLACIDUS_POLAR_FALLBACK, a as POLAR_FALLBACK, b as POLAR_UNDEFINED_HOUSE_SYSTEMS, c as alcabitiusCusps, d as campanusCusps, e as computeAngles, f as computeHouses, g as eastPointOf, h as equalCusps, i as equalMcCusps, j as houseOf, k as isPolarUndefinedHouseSystem, l as kochCusps, m as meanObliquity, n as meridianCusps, o as morinusCusps, p as placidusCusps, q as porphyryCusps, r as ramcOf, s as regiomontanusCusps, t as topocentricCusps, v as vehlowCusps, u as vertexOf, w as wholeSignCusps } from './houses-icK01yXi.js';
3
- export { A as Angles, o as Aspect, f as AspectType, B as BodyName, c as BodyPosition, d as Chart, g as ChartFlag, C as ChartInput, p as ENGINE_VERSION, b as HouseNumber, H as HouseSystem, a as Houses } from './types-BCnyWBQZ.js';
1
+ export { a as ASPECTS, b as ASPECT_BODIES, c as ASPECT_TYPES, d as AspectDefinition, A as AspectMotion, g as STATIONARY_RELATIVE_SPEED, h as aspectMotion, j as findAspects, m as matchAspect, n as normalizeLongitude, s as separation } from './internal-math-rq6do9IR.js';
2
+ export { A as AngleInput, H as HOUSE_SYSTEMS, P as PLACIDUS_POLAR_FALLBACK, a as POLAR_FALLBACK, b as POLAR_UNDEFINED_HOUSE_SYSTEMS, c as alcabitiusCusps, d as campanusCusps, e as computeAngles, f as computeHouses, g as eastPointOf, h as equalCusps, i as equalMcCusps, j as houseOf, k as isPolarUndefinedHouseSystem, l as kochCusps, m as meanObliquity, n as meridianCusps, o as morinusCusps, p as placidusCusps, q as porphyryCusps, r as ramcOf, s as regiomontanusCusps, t as topocentricCusps, v as vehlowCusps, u as vertexOf, w as wholeSignCusps } from './houses-CAiYEICK.js';
3
+ export { A as Angles, o as Aspect, f as AspectType, B as BodyName, c as BodyPosition, d as Chart, g as ChartFlag, C as ChartInput, p as ENGINE_VERSION, b as HouseNumber, H as HouseSystem, a as Houses } from './types-CkuiCcsV.js';
4
4
  import './deltat.js';
5
- import './time-scale-DIFNa0gz.js';
5
+ import './time-scale-9vmKQPCn.js';
@@ -8,7 +8,7 @@ import {
8
8
  findAspects,
9
9
  matchAspect,
10
10
  separation
11
- } from "./chunk-T6F4FYYS.js";
11
+ } from "./chunk-QLQRN6RY.js";
12
12
  import {
13
13
  HOUSE_SYSTEMS,
14
14
  PLACIDUS_POLAR_FALLBACK,
@@ -1,8 +1,8 @@
1
- import { B as BodyName, D as DetailedResult } from './types-BCnyWBQZ.js';
2
- export { E as EphemerisFallback } from './types-BCnyWBQZ.js';
3
- export { b as bodyLongitude, c as computeBodies, a as computeChart, l as longitudeSpeed } from './ephemeris-D1lM832F.js';
1
+ import { B as BodyName, D as DetailedResult } from './types-CkuiCcsV.js';
2
+ export { E as EphemerisFallback } from './types-CkuiCcsV.js';
3
+ export { b as bodyLongitude, c as computeBodies, a as computeChart, l as longitudeSpeed } from './ephemeris-Bnmowcsk.js';
4
4
  import './deltat.js';
5
- import './time-scale-DIFNa0gz.js';
5
+ import './time-scale-9vmKQPCn.js';
6
6
 
7
7
  /**
8
8
  * `bodyLongitude`'s longitude as `value`, with the ephemeris it came from and
package/dist/internal.js CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  ephemerisOver,
6
6
  fallbacksAt,
7
7
  longitudeSpeed
8
- } from "./chunk-PNXIA7MI.js";
9
- import "./chunk-T6F4FYYS.js";
8
+ } from "./chunk-PU4HNPRX.js";
9
+ import "./chunk-QLQRN6RY.js";
10
10
  import "./chunk-EEW7746S.js";
11
- import "./chunk-B5LKF437.js";
11
+ import "./chunk-M65JXRFN.js";
12
12
  import "./chunk-UXY4RU57.js";
13
13
  import "./chunk-HNVGWN3S.js";
14
14
  import "./chunk-CV53HA7R.js";
package/dist/receipt.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import './time-scale-DIFNa0gz.js';
2
- import './types-BCnyWBQZ.js';
1
+ import './time-scale-9vmKQPCn.js';
2
+ import './types-CkuiCcsV.js';
3
3
  import './deltat.js';
4
- export { a as NATAL_DIAGNOSTIC_SCHEMA, b as NATAL_ENVELOPE_LIMITS, c as NATAL_ENVELOPE_SCHEMA, d as NATAL_RECEIPT_CONVENTION_SETS, e as NATAL_RECEIPT_SCHEMA, f as NatalAnglesRecord, g as NatalAspectRecord, h as NatalBodyRecord, i as NatalConventionSet, j as NatalCoverage, k as NatalDeltaTRecord, l as NatalDiagnostic, m as NatalEnvelope, n as NatalEnvelopeContext, o as NatalEnvelopeError, p as NatalEnvelopeErrorCode, q as NatalEnvelopeParseResult, r as NatalHousesRecord, s as NatalJsonObject, t as NatalJsonValue, N as NatalLocalResolution, u as NatalProvenanceClaims, v as NatalReceipt, w as NatalRecordedResult, x as NatalReference, y as NatalTimeScaleRecord, z as NatalZoneTransition, A as createNatalEnvelope, B as natalReplayInput, C as parseNatalEnvelope, D as redactNatalEnvelope, E as serializeNatalEnvelope } from './zone-history-0XzMGx9V.js';
4
+ export { a as NATAL_DIAGNOSTIC_SCHEMA, b as NATAL_ENVELOPE_LIMITS, c as NATAL_ENVELOPE_SCHEMA, d as NATAL_RECEIPT_CONVENTION_SETS, e as NATAL_RECEIPT_SCHEMA, f as NatalAnglesRecord, g as NatalAspectRecord, h as NatalBodyRecord, i as NatalConventionSet, j as NatalCoverage, k as NatalDeltaTRecord, l as NatalDiagnostic, m as NatalEnvelope, n as NatalEnvelopeContext, o as NatalEnvelopeError, p as NatalEnvelopeErrorCode, q as NatalEnvelopeParseResult, r as NatalHousesRecord, s as NatalJsonObject, t as NatalJsonValue, N as NatalLocalResolution, u as NatalProvenanceClaims, v as NatalReceipt, w as NatalRecordedResult, x as NatalReference, y as NatalTimeScaleRecord, z as NatalZoneTransition, A as createNatalEnvelope, B as natalReplayInput, C as parseNatalEnvelope, D as redactNatalEnvelope, E as serializeNatalEnvelope } from './zone-history-2UYUKA43.js';