Kehilla offline zmanim component, version 2.0.0

BUILD
This archive supplies the adapter, installed upstream library packages and their
license files, published source maps (including embedded TypeScript sources),
and an npm package-lock.json pinning all versions. Build tools are not runtime
dependencies. With Node.js and npm installed:
  npm ci
  node build.mjs ./zmanim-engine.js
  node verify.mjs ./zmanim-engine.js

The browser bundle exposes globalThis.KehillaZmanim. Load it before consumers.
No CDNs, fetch(), remote APIs, fonts or runtime network access are required.
The calendar and astronomy compute arbitrary requested dates locally; there is
no 14-day or 30-day hard expiry. Device time, location and timezone must be correct.

CONTRACT
catalog: 38 named variants, each with id/en/he/group/method/description.
day('YYYY-MM-DD', location): synchronous, cached data. location requires lat,
lon and IANA tz; elevation defaults to 0 metres. useElevation defaults true
when elevation is positive. il or israel selects the Israel calendar (default
false). candleLightingMins defaults 18; havdalahDeg defaults 8.5. Optional
havdalahMins chooses a fixed-minute convention instead of havdalahDeg.
The times object contains dated ISO strings with timezone offsets, or null when
inapplicable/not calculable. time(id,date,location) returns local HH:MM:SS or null.
Stable schedule anchors: sunrise, sunset, tzeis85, tzeis72.
Calendar event IDs: candleLighting, havdalah. These appear only when applicable.
Catalog entries are standard named calculations; visibility does not redefine
methods. Custom service times belong in the separate schedule rules engine.

DAY SEMANTICS
Hebrew date and holiday flags describe the daytime of the chosen civil date.
parsha is the coming Shabbos reading (or festival reading, parshaIsHoliday=true).
After-sunset Hebrew-date display must request the next civil day's date data.
Candle lighting/havdalah are evening events on the selected civil date.
chatzosLayla is the midpoint of the night beginning that evening, and may fall
on the next civil date; the ISO timestamp preserves this.
isFastDay describes communal fast days. isOptionalFast identifies BeHaB and
Yom Kippur Katan; isFirstbornFast identifies Ta'anit Bechorot separately.
The library's hallel/tachanun results are exposed as data; local customs still
need review when enabling corresponding reminders. Omer is a number or null.

CALCULATION CONVENTIONS
Hebcal core 6.14.7 and @hebcal/noaa 0.12.4 use NOAA solar algorithms based on
Jean Meeus. Seconds are display resolution, not a claim of observational
accuracy to a second. The official documentation describes typical sunrise/
sunset theoretical accuracy of approximately one minute within +/-72 latitude,
and atmospheric conditions can change observed times. Null is preserved for
polar/solar-angle cases rather than inventing fallback times.
Degree variants ignore elevation; entries using sea-level explicitly say so.
Fixed 72-minute methods are distinct from 72 seasonal-minute methods.
Candle lighting/havdalah use the calendar's transition rules and rounding to
nearest minute; other daily solar values preserve seconds from the library.
No exhaustive claim is made about all halachic opinions.

VERIFICATION
The source test checks 30 dates offline, both DST transitions, time ordering,
fixed 72-minute offsets, invalid dates/locations/zones, polar null values,
Israel/diaspora Yom Tov differences, Omer, optional/communal fast classification,
and synchronous cache reuse. Published examples reproduced:
Providence, 2023-09-08 candle lighting: 18:49:00-04:00.
Daf Yomi, 2024-04-08: Baba Metzia 40.

PRIMARY DOCUMENTATION
https://hebcal.github.io/api/core/classes/Zmanim.html
https://hebcal.github.io/api/core/classes/HebrewCalendar.html
https://hebcal.github.io/api/learning/
https://github.com/hebcal/hebcal-es6
https://github.com/hebcal/noaa

LICENSES
The component includes @hebcal/core (GPL-2.0-or-later), @hebcal/noaa
(LGPL-2.1), @hebcal/hdate and @hebcal/learning (BSD-2-Clause), and the
licenses of their included dependencies. See ZMANIM-NOTICES.txt and each
package's license. Keep notices and corresponding source with distribution.
The adapter is supplied as readable source. This document does not assign a
license to unrelated application files.
