corequery 0.35.0 → 0.36.0

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 (36) hide show
  1. package/package.json +1 -1
  2. package/server/dist/server/api/handlers/foundational-data/multiversional/multiversional-foda.js +2 -0
  3. package/server/dist/server/api/handlers/foundational-data/multiversional/multiversional-foda.js.map +1 -1
  4. package/server/dist/shared/apis/foundational-data/v1/foundational-data.d.ts +8 -0
  5. package/server/dist/shared/apis/foundational-data/v1/foundational-data.js +8 -27
  6. package/server/dist/shared/apis/foundational-data/v1/foundational-data.js.map +1 -1
  7. package/server/dist/shared/apis/foundational-data/v1/index.d.ts +8 -0
  8. package/web/dist/assets/{About-DJhKXgnn.js → About-CuBfNcQd.js} +1 -1
  9. package/web/dist/assets/{AdminControls-D0pgA5wf.js → AdminControls-CVGbS_5e.js} +1 -1
  10. package/web/dist/assets/Alert-CNaalIbn.js +1 -0
  11. package/web/dist/assets/Debug-B9JffuQ7.js +1 -0
  12. package/web/dist/assets/{Home-DIEadcoR.js → Home-BZXUmeh8.js} +1 -1
  13. package/web/dist/assets/{Line-Dxew3yXf.js → Line-DNbLEU4Y.js} +1 -1
  14. package/web/dist/assets/NotFound-5qV_DZRA.js +1 -0
  15. package/web/dist/assets/NotFoundPage-rabdgx0c.js +1 -0
  16. package/web/dist/assets/{Picker-D4ga8LYJ.js → Picker-k_4eWvu2.js} +1 -1
  17. package/web/dist/assets/{Service-frX-LyRg.js → Service-BNcdDmTR.js} +1 -1
  18. package/web/dist/assets/{Settings-BgHb1nlk.js → Settings-ZUDsiG47.js} +1 -1
  19. package/web/dist/assets/{SimpleMobileHeaderContent-y6m4_5yJ.js → SimpleMobileHeaderContent-BZ-z0X3U.js} +1 -1
  20. package/web/dist/assets/{Status-sLRF_nKb.js → Status-CRAvAMxM.js} +1 -1
  21. package/web/dist/assets/Stop-C3WdbHTc.js +11 -0
  22. package/web/dist/assets/{ZenMode-DdoTtVJG.js → ZenMode-BRnT2IgH.js} +1 -1
  23. package/web/dist/assets/index-Bku-5Rho.css +2 -0
  24. package/web/dist/assets/{index-ByA44-P7.js → index-uA8YIkaf.js} +2 -2
  25. package/web/dist/assets/{linear-BWJmB0m_.js → linear-Ddr4Wd6S.js} +1 -1
  26. package/web/dist/assets/{use-api-_Y5vsFb-.js → use-api-DL13FmNZ.js} +1 -1
  27. package/web/dist/assets/{use-foda-synced-query-BsS3nwV1.js → use-foda-synced-query-Df-foxd8.js} +1 -1
  28. package/web/dist/assets/{use-simple-headers-BGdX3p-e.js → use-simple-headers-BE9SwcPx.js} +1 -1
  29. package/web/dist/index.html +3 -3
  30. package/web/dist/sw.js +1 -1
  31. package/web/dist/assets/Alert-DSl3_gX3.js +0 -1
  32. package/web/dist/assets/Debug-Cd_f8CKx.js +0 -1
  33. package/web/dist/assets/NotFound-Dmj1p5xO.js +0 -1
  34. package/web/dist/assets/NotFoundPage-CoVT8xxG.js +0 -1
  35. package/web/dist/assets/Stop-DEsRmVC1.js +0 -11
  36. package/web/dist/assets/index-C46bcc5o.css +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corequery",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "server/dist",
@@ -71,6 +71,7 @@ export class MultiversionalFoda {
71
71
  stop: app.terminologyConfig.stop,
72
72
  line: app.terminologyConfig.line,
73
73
  service: app.terminologyConfig.service,
74
+ stopPosition: app.terminologyConfig.stopPosition,
74
75
  },
75
76
  formatTimezone: app.formatTimezone,
76
77
  };
@@ -101,6 +102,7 @@ export class MultiversionalFoda {
101
102
  stop: this.obj.terminology.stop,
102
103
  line: this.obj.terminology.line,
103
104
  service: this.obj.terminology.service,
105
+ stopPosition: this.obj.terminology.stopPosition,
104
106
  },
105
107
  formatTimezone: this.obj.formatTimezone,
106
108
  };
@@ -1 +1 @@
1
- {"version":3,"file":"multiversional-foda.js","sourceRoot":"","sources":["../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CAAC,CAAC,EAAE,EAAE,CAC9B,IAAI,sBAAsB,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CACzC;YACD,WAAW,EAAE;gBACX,eAAe,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,eAAe;aACtD;YACD,MAAM,EAAE;gBACN,eAAe,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,eAAe;aACjD;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI;gBAC/B,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI;gBAC/B,OAAO,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO;aACtC;YACD,cAAc,EAAE,IAAI,CAAC,GAAG,CAAC,cAAc;SACxC,CAAC;IACJ,CAAC;CAMF"}
1
+ {"version":3,"file":"multiversional-foda.js","sourceRoot":"","sources":["../../../../../../api/handlers/foundational-data/multiversional/multiversional-foda.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,oFAAoF,CAAC;AAC5H,OAAO,EAAE,sBAAsB,EAAE,MAAM,oFAAoF,CAAC;AAI5H,2EAA2E;AAC3E,8EAA8E;AAC9E,0EAA0E;AAC1E,2EAA2E;AAC3E,6EAA6E;AAC7E,+CAA+C;AAC/C,EAAE;AACF,+EAA+E;AAC/E,2EAA2E;AAC3E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,0EAA0E;AAC1E,2EAA2E;AAC3E,UAAU;AAEV,MAAM,OAAO,kBAAkB;IAOR;IANZ,IAAI,CAAS;IAEtB,0EAA0E;IAC1E,4EAA4E;IAC5E,qEAAqE;IACrE,qDAAqD;IACrD,YAAqB,GAAoD;QAApD,QAAG,GAAH,GAAG,CAAiD;QACvE,2EAA2E;QAC3E,uEAAuE;QACvE,yEAAyE;QACzE,6DA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AC;CAMF"}
@@ -409,6 +409,14 @@ export declare const fodaSchema: z.ZodObject<{
409
409
  tram: "tram";
410
410
  bus: "bus";
411
411
  }>;
412
+ stopPosition: z.ZodEnum<{
413
+ platform: "platform";
414
+ track: "track";
415
+ bay: "bay";
416
+ wharf: "wharf";
417
+ "wharf-and-side": "wharf-and-side";
418
+ stand: "stand";
419
+ }>;
412
420
  }, z.z.core.$strip>;
413
421
  formatTimezone: z.ZodString;
414
422
  landingPage: z.ZodObject<{
@@ -136,33 +136,14 @@ const terminologySchema = z.object({
136
136
  stop: z.enum(["stop", "station"]),
137
137
  line: z.enum(["line", "route"]),
138
138
  service: z.enum(["service", "trip", "train", "tram", "bus"]),
139
- // Not sure if this is really needed yet. It will be if stop filters are
140
- // included in the foundational data, as they're not pre-formatted by the
141
- // server (i.e. sent over as `position: 1` and expect the frontend to format
142
- // that to "Platform 1").
143
- //
144
- // Pre-formatting could make sense if we want to support customly named
145
- // filters for maximum flexibility, but NOT pre-formatting allows us to
146
- // smartly combine multiple filters together, e.g. "Citybound Frankston trains
147
- // on Platform 6". I think we'll end up pre-formatting the filters, due to how
148
- // Southern Cross has platforms 16a, 16b, and 16, and we just want a single
149
- // "Platform 16" filter to cover all three.
150
- //
151
- // This could also be needed for showing the little "Platform XYZ" badges on
152
- // each departure. It probably makes more sense to send it over as part of the
153
- // foundational data rather than each departures/service API response.
154
- //
155
- // Gonna omit it for now, until I'm sure, then I don't have to make a breaking
156
- // change.
157
- //
158
- // stopPosition: z.enum([
159
- // "platform",
160
- // "track",
161
- // "bay",
162
- // "wharf",
163
- // "wharf-and-side",
164
- // "stand",
165
- // ]),
139
+ stopPosition: z.enum([
140
+ "platform",
141
+ "track",
142
+ "bay",
143
+ "wharf",
144
+ "wharf-and-side",
145
+ "stand",
146
+ ]),
166
147
  });
167
148
  const landingPageFodaSchema = z.object({
168
149
  // Would feel weird needing to load copy from an API while the rest of the
@@ -1 +1 @@
1
- {"version":3,"file":"foundational-data.js","sourceRoot":"","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E;IACF,4EAA4E;IAC5E,8EAA8E;IAC9E,sEAAsE;IACtE,EAAE;IACF,8EAA8E;IAC9E,UAAU;IACV,EAAE;IACF,yBAAyB;IACzB,gBAAgB;IAChB,aAAa;IACb,WAAW;IACX,aAAa;IACb,sBAAsB;IACtB,aAAa;IACb,MAAM;CACP,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,0EAA0E;IAC1E,uEAAuE;IACvE,iBAAiB;IACjB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,6EAA6E;IAC7E,uEAAuE;IACvE,4EAA4E;IAC5E,6EAA6E;IAC7E,sBAAsB;IACtB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC;QAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;KAC1B,CAAC;IAEF,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,iBAAiB;IAC9B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,qBAAqB;IAClC,MAAM,EAAE,gBAAgB;CACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"foundational-data.js","sourceRoot":"","sources":["../../../../../../shared/apis/foundational-data/v1/foundational-data.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,6EAA6E;AAC7E,4E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C,CAAC;AAEH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,6EAA6E;IAC7E,uEAAuE;IACvE,4EAA4E;IAC5E,6EAA6E;IAC7E,sBAAsB;IACtB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC;QAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;KAC1B,CAAC;IAEF,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,iBAAiB;IAC9B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,qBAAqB;IAClC,MAAM,EAAE,gBAAgB;CACzB,CAAC,CAAC"}
@@ -143,6 +143,14 @@ declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
143
143
  tram: "tram";
144
144
  bus: "bus";
145
145
  }>;
146
+ stopPosition: z.ZodEnum<{
147
+ platform: "platform";
148
+ track: "track";
149
+ bay: "bay";
150
+ wharf: "wharf";
151
+ "wharf-and-side": "wharf-and-side";
152
+ stand: "stand";
153
+ }>;
146
154
  }, z.z.core.$strip>;
147
155
  formatTimezone: z.ZodString;
148
156
  landingPage: z.ZodObject<{
@@ -1 +1 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{d as r}from"./use-api-_Y5vsFb-.js";import{n as i}from"./use-foundational-data-DyAlFXWG.js";import{r as a,y as o}from"./index-ByA44-P7.js";import{t as s}from"./Placeholder-B5DNAGHP.js";import{n as c,t as l}from"./Markdown-BY6JcM-Z.js";import{t as u}from"./Page-eZ-IZNxm.js";import{t as d}from"./use-simple-headers-BGdX3p-e.js";import{t as f}from"./Divider-C465PGQW.js";import{t as p}from"./Alert-DSl3_gX3.js";function m(){let{appName:m}=o(),{foda:h}=i(),{data:g,loading:_,error:v}=a(r,{}),y=d({title:`About ${m}`});return _?t(u,{...y,children:t(n,{class:`px-4 py-8`,children:[t(s,{class:`w-[30%] text-xl`}),t(`div`,{class:`h-8`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-[60%] text-md`}),t(`div`,{class:`h-12`}),t(s,{class:`w-[40%] text-lg`}),t(`div`,{class:`h-8`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-[20%] text-md`}),t(`div`,{class:`h-12`}),t(s,{class:`w-[50%] text-lg`}),t(`div`,{class:`h-8`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-[80%] text-md`})]})}):v!=null||g==null?t(u,{...y,children:t(n,{class:`px-4 py-8`,children:t(p,{type:`error`,children:t(e,{children:`An error occurred while loading the about page.`})})})}):t(u,{...y,children:t(n,{class:`px-4 py-8 gap-12`,children:[t(l,{markdown:g.primaryMarkdown}),t(n,{class:`gap-8`,children:[t(f,{}),t(e,{as:`p`,style:`small-weak`,children:t(c,{markdown:h.footerPrimaryMarkdown})})]})]})})}export{m as default};
1
+ import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{d as r}from"./use-api-DL13FmNZ.js";import{n as i}from"./use-foundational-data-DyAlFXWG.js";import{b as a,r as o}from"./index-uA8YIkaf.js";import{t as s}from"./Placeholder-B5DNAGHP.js";import{n as c,t as l}from"./Markdown-BY6JcM-Z.js";import{t as u}from"./Page-eZ-IZNxm.js";import{t as d}from"./use-simple-headers-BE9SwcPx.js";import{t as f}from"./Divider-C465PGQW.js";import{t as p}from"./Alert-CNaalIbn.js";function m(){let{appName:m}=a(),{foda:h}=i(),{data:g,loading:_,error:v}=o(r,{}),y=d({title:`About ${m}`});return _?t(u,{...y,children:t(n,{class:`px-4 py-8`,children:[t(s,{class:`w-[30%] text-xl`}),t(`div`,{class:`h-8`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-[60%] text-md`}),t(`div`,{class:`h-12`}),t(s,{class:`w-[40%] text-lg`}),t(`div`,{class:`h-8`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-[20%] text-md`}),t(`div`,{class:`h-12`}),t(s,{class:`w-[50%] text-lg`}),t(`div`,{class:`h-8`}),t(s,{class:`w-full text-md`}),t(`div`,{class:`h-3`}),t(s,{class:`w-[80%] text-md`})]})}):v!=null||g==null?t(u,{...y,children:t(n,{class:`px-4 py-8`,children:t(p,{type:`error`,children:t(e,{children:`An error occurred while loading the about page.`})})})}):t(u,{...y,children:t(n,{class:`px-4 py-8 gap-12`,children:[t(l,{markdown:g.primaryMarkdown}),t(n,{class:`gap-8`,children:[t(f,{}),t(e,{as:`p`,style:`small-weak`,children:t(c,{markdown:h.footerPrimaryMarkdown})})]})]})})}export{m as default};
@@ -1 +1 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Page-eZ-IZNxm.js";import{t as i}from"./use-simple-headers-BGdX3p-e.js";function a(){return t(r,{...i({title:`Admin controls`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:`Maybe the real admin controls were the friends we made along the way?`})})})}export{a as default};
1
+ import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Page-eZ-IZNxm.js";import{t as i}from"./use-simple-headers-BE9SwcPx.js";function a(){return t(r,{...i({title:`Admin controls`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:`Maybe the real admin controls were the friends we made along the way?`})})})}export{a as default};
@@ -0,0 +1 @@
1
+ import{c as e,l as t,o as n,s as r}from"./use-nav-exemptions-Daz3EeSR.js";import{a as i,d as a,i as o,l as s}from"./index-uA8YIkaf.js";import{t as c}from"./MingcuteAlertLine-DxgntDGK.js";function l(l){let u={info:s,error:a,warning:c,success:o}[l.type],d=l.icon===void 0?u:l.icon,f={info:`bg-soft-accent`,error:`bg-soft-error`,warning:`bg-soft-warning`,success:`bg-soft-success`}[l.type],p={info:[`[--color-fg:var(--color-accent-text)]`,`[--color-fg-strong:var(--color-accent-text)]`,`[--color-fg-weak:var(--color-accent-text)]`],error:[`[--color-fg:var(--color-error-text)]`,`[--color-fg-strong:var(--color-error-text)]`,`[--color-fg-weak:var(--color-error-text)]`],warning:[`[--color-fg:var(--color-warning-text)]`,`[--color-fg-strong:var(--color-warning-text)]`,`[--color-fg-weak:var(--color-warning-text)]`],success:[`[--color-fg:var(--color-success-text)]`,`[--color-fg-strong:var(--color-success-text)]`,`[--color-fg-weak:var(--color-success-text)]`]}[l.type];return t(r,{class:e(l.class,f,p,`px-4 py-4.5 rounded-sm gap-2 items-start`,{"grid-cols-[auto_1fr]":d!=null}),children:[d!=null&&t(i,{heightRem:n(`text-md`),children:t(d,{class:`text-fg text-icon-lg`})}),l.children]})}export{l as t};
@@ -0,0 +1 @@
1
+ import{c as e,h as t,i as n,l as r,o as i,r as a,s as o,v as s}from"./use-nav-exemptions-Daz3EeSR.js";import{i as c}from"./use-api-DL13FmNZ.js";import{n as l}from"./use-foundational-data-DyAlFXWG.js";import{a as u,b as d,c as f,g as p,m,n as h,r as g,v as _,y as v}from"./index-uA8YIkaf.js";import{t as y}from"./Placeholder-B5DNAGHP.js";import{t as b}from"./Page-eZ-IZNxm.js";import{t as x}from"./use-simple-headers-BE9SwcPx.js";import{t as S}from"./Divider-C465PGQW.js";import{t as C}from"./Alert-CNaalIbn.js";function w(t){let i={info:`bg-soft-accent`,error:`bg-soft-error`,warning:`bg-soft-warning`,success:`bg-soft-success`}[t.type],a={info:`[--color-fg:var(--color-accent-text)]`,error:`[--color-fg:var(--color-error-text)]`,warning:`[--color-fg:var(--color-warning-text)]`,success:`[--color-fg:var(--color-success-text)]`}[t.type];return r(o,{class:e(t.class,i,a,`px-2 py-1.5 rounded-full`),children:r(n,{style:`small`,children:t.text})})}function T(t){return r(p,{class:e(t.class,`gap-x-2 gap-y-3`),wrap:!0,children:[r(n,{style:`strong`,children:t.header}),t.loading&&r(y,{class:`w-[20%] text-md`}),!t.loading&&t.pillContent!=null&&r(u,{heightRem:i(`text-md`),children:r(w,{type:t.pillContent.type,text:t.pillContent.text})})]})}function E(e){return r(T,{class:e.class,header:e.header,pillContent:D(e.currentValue,e.latestValue),loading:e.loading})}function D(e,t){return t==null?null:{text:e===t?`Up to date`:`Outdated`,type:e===t?`success`:`error`}}function O(e){return e.loading?r(o,{class:e.class,children:r(y,{class:`w-[40%] text-md`})}):e.value==null?null:r(n,{class:e.class,children:[e.prefix,`: `,e.value]})}function k(e){return e==null?null:e.length<32||!/^[0-9a-f]+$/.test(e)?e:e.slice(0,7)}function A(t){let{isUpdateAvailable:a,update:o}=f();return a?r(m,{theme:`accent`,text:`Refresh & update`,class:`self-start`,icon:_,onClick:()=>void o()}):r(p,{class:e(t.class,`gap-2`),children:[r(u,{heightRem:i(`text-md`),children:r(v,{})}),r(n,{class:`min-w-0 shrink`,children:`Waiting for service worker to install update...`})]})}function j(e){let{isHotReloadingEnabled:t}=h();return r(t?M:N,{...e})}function M(t){return r(a,{class:e(t.class,`gap-6`),children:[r(T,{header:`App version`,pillContent:{text:`Development`,type:`info`},loading:!1}),r(n,{children:`All frontend code is being served with hot-reloading enabled, not through the PWA. (The below values are meaningless.)`}),r(P,{}),r(O,{prefix:`Latest version`,value:t.latestVersion?.slice(0,8)??null,loading:t.loading})]})}function N(t){let{frontendVersion:n}=d(),i=!t.loading&&t.latestVersion!=null&&t.latestVersion!==n;return r(a,{class:e(t.class,`gap-6`),children:[r(E,{header:`App version`,currentValue:n,latestValue:t.latestVersion,loading:t.loading}),r(P,{}),r(O,{prefix:`Latest version`,value:k(t.latestVersion),loading:t.loading}),i&&r(A,{})]})}function P(){let{frontendVersion:e,versionsOnLastUpdate:t}=d();return r(a,{class:`gap-4`,children:[r(n,{children:[`Current version: `,k(e)]}),r(a,{class:`gap-3`,children:[r(n,{style:`small-weak`,children:[`Server version: `,k(t.serverVersion)]}),r(n,{style:`small-weak`,children:[`CoreQuery version: `,t.corequeryPackageVersion]})]})]})}function F(t){let{foda:i}=l();return r(a,{class:e(t.class,`gap-6`),children:[r(E,{header:`Foundational data`,currentValue:i.hash,latestValue:t.latestVersion,loading:t.loading}),r(a,{class:`gap-4`,children:[r(n,{children:[`Current version: `,k(i.hash)]}),r(n,{style:`small-weak`,children:[`Server version: `,k(i.serverVersion)]})]}),r(O,{prefix:`Latest version`,value:k(t.latestVersion),loading:t.loading})]})}function I(t){return r(a,{class:e(t.class,`gap-6`),children:[r(n,{style:`strong`,children:`Server`}),t.error!=null&&r(C,{type:`error`,children:r(n,{children:`An error occurred while fetching the latest version info from the server.`})}),r(a,{class:`gap-4 empty:hidden`,children:[r(O,{prefix:`Server version`,value:k(t.serverVersion),loading:t.loading}),r(O,{prefix:`CoreQuery version`,value:t.corequeryPackageVersion,loading:t.loading})]})]})}function L(e){return e<2e3?`${e.toFixed(0)} bytes`:e<2e6?`${(e/1e3).toFixed(2)} KB`:e<2e9?`${(e/1e6).toFixed(2)} MB`:e<2e12?`${(e/1e9).toFixed(2)} GB`:`${(e/0xe8d4a51000).toFixed(2)} TB`}function R(){let[e,i]=s(null),[o,c]=s(!0),[l,u]=s(!1);t(()=>{async function e(){c(!0),u(!1);try{let e=await navigator.storage.estimate();i(e)}catch(e){console.warn(`An error occurred while retrieving storage metrics.`,e),u(!0)}finally{c(!1)}}e()},[]);let d=e?.usage==null?null:L(e.usage),f=e?.quota==null?null:L(e.quota);return r(a,{class:`gap-6`,children:[r(n,{style:`strong`,children:`On-device storage`}),l&&r(C,{type:`error`,children:r(n,{children:`An error occurred while retrieving storage metrics.`})}),r(a,{class:`gap-4 empty:hidden`,children:[r(O,{prefix:`Storage used`,value:d,loading:o}),r(O,{prefix:`Storage quota`,value:f,loading:o})]})]})}function z(){let{data:e,loading:t,error:i}=g(c,{});return r(b,{...x({title:`Developer info`}),children:r(a,{class:`px-4 py-8 gap-8`,children:[i!=null&&r(C,{type:`error`,children:r(n,{children:`An error occurred while fetching the latest version info from the server.`})}),r(j,{latestVersion:e?.frontendVersion??null,loading:t}),r(S,{}),r(F,{latestVersion:e?.foundationalDataHash??null,loading:t}),r(S,{}),r(I,{serverVersion:e?.serverVersion??null,corequeryPackageVersion:e?.corequeryPackageVersion??null,loading:t,error:i}),r(S,{}),r(R,{}),r(S,{})]})})}export{z as default};
@@ -1 +1 @@
1
- import{l as e,r as t}from"./use-nav-exemptions-Daz3EeSR.js";import{n}from"./use-foundational-data-DyAlFXWG.js";import{t as r}from"./Markdown-BY6JcM-Z.js";import{t as i}from"./Page-eZ-IZNxm.js";import{t as a}from"./use-simple-headers-BGdX3p-e.js";function o(){let{foda:o}=n();return e(i,{...a({title:`Home`}),children:e(t,{class:`px-4 py-8 gap-12`,children:e(r,{markdown:o.landingPage.primaryMarkdown})})})}export{o as default};
1
+ import{l as e,r as t}from"./use-nav-exemptions-Daz3EeSR.js";import{n}from"./use-foundational-data-DyAlFXWG.js";import{t as r}from"./Markdown-BY6JcM-Z.js";import{t as i}from"./Page-eZ-IZNxm.js";import{t as a}from"./use-simple-headers-BE9SwcPx.js";function o(){let{foda:o}=n();return e(i,{...a({title:`Home`}),children:e(t,{class:`px-4 py-8 gap-12`,children:e(r,{markdown:o.landingPage.primaryMarkdown})})})}export{o as default};
@@ -1 +1 @@
1
- import{_ as e,c as t,i as n,l as r,m as i,r as a,s as o,v as s,y as c}from"./use-nav-exemptions-Daz3EeSR.js";import{l}from"./use-api-_Y5vsFb-.js";import{n as u}from"./use-foundational-data-DyAlFXWG.js";import{t as d}from"./scope-B-e4l8Dr.js";import{i as f,n as p,o as m,r as h,t as g}from"./linear-BWJmB0m_.js";import{t as _}from"./LinkText-Co4qc0dx.js";import{f as v,o as y,y as b}from"./index-ByA44-P7.js";import{t as x}from"./Page-eZ-IZNxm.js";import{t as S}from"./use-simple-headers-BGdX3p-e.js";import{t as C}from"./Alert-DSl3_gX3.js";import{t as w}from"./NotFoundPage-CoVT8xxG.js";import{t as T}from"./Picker-D4ga8LYJ.js";function E(e){throw Error(`Unexpected value: ${String(e)}`)}function D(i){let{foda:o}=u(),{appName:s}=b(),c=e(()=>i.fallbackStopList.map(e=>o.stops.require(e)).sort((e,t)=>e.name.localeCompare(t.name)),[o.stops,i.fallbackStopList]);return r(a,{class:t(i.class,`gap-6`),children:[r(n,{style:`subtitle`,children:`Stops`}),r(C,{type:`info`,children:r(a,{class:`gap-6`,children:[r(n,{children:[`A neat little diagram is also available for this line, but it's of a new type, and so requires a newer version of `,s,` to be able to view.`,` `]}),r(n,{style:`strong`,children:r(_,{href:`/debug`,children:`Help me update`})})]})}),r(`ul`,{class:`flex-col flex list-disc list-inside gap-4`,children:c.map((e,t)=>r(n,{children:r(`li`,{children:r(_,{href:`/stop/${e.urlPath}`,children:e.name})})},t))})]})}function O(e,t){return t.map(t=>{let i=e.stops.require(t.stopId),a=`/stop/${i.urlPath}`;if(t.type===`regular`)return{content:r(n,{style:`strong`,children:r(_,{href:a,style:`subtle`,children:i.name})})};if(t.type===`always-express`)return{content:r(n,{style:`small-weak`,children:r(_,{href:a,style:`subtle`,children:[`Skips `,i.name]})}),drawMark:!1};E(t.type)})}function k(t){let{foda:n}=u(),i=e(()=>({type:`linear`,stops:O(n,t.diagram.stops)}),[n,t.diagram.stops]);return r(g,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}var A=10,j=15,M=class extends h{_onRenderStructure(){let{commonStops:e,branchAStops:t,branchBStops:n}=this.data.structure,{x:r,y:i}=this._measure();this._renderSection({stops:e,x:r.common,yLevels:i.common.all,terminatesAtTop:!0,terminatesAtBottom:!1,notchSide:`right`}),this._renderSection({stops:t,x:r.branchA,yLevels:i.branchA.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`left`}),this._renderSection({stops:n,x:r.branchB,yLevels:i.branchB.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`right`}),this._drawLine(e=>{e.moveTo(r.common,i.common.bottom),e.lineTo(r.common,i.common.bottom+A),e.bezierCurveTo(r.common,i.common.bottom+j+A,r.branchA,i.branches.top-j,r.branchA,i.branches.top),e.lineTo(r.branchA,i.branchA.top),e.moveTo(r.common,i.common.bottom+A),e.bezierCurveTo(r.common,i.common.bottom+j+A,r.branchB,i.branches.top-j,r.branchB,i.branches.top),e.lineTo(r.branchB,i.branchA.top)})}_measure(){let{commonStops:e,branchAStops:t,branchBStops:n}=this.data.structure,r=this._extractYLevels(e,N),i=d(r[0]),a=d(r[r.length-1]),o=this._extractYLevels(t,P),s=d(o[0]),c=d(o[o.length-1]),l=this._extractYLevels(n,F),u=d(l[0]),f=d(l[l.length-1]);return{x:{common:this.width/2,branchA:8,branchB:this.width-8},y:{common:{all:r,top:i,bottom:a},branchA:{all:o,top:s,bottom:c},branchB:{all:l,top:u,bottom:f},branches:{top:Math.min(s,u),bottom:Math.max(c,f)}}}}},N=`_diagram-common-stops`,P=`_diagram-branch-a-stops`,F=`_diagram-branch-b-stops`;function I(n){let{settings:i}=v(),s=e(()=>({structure:n.structure,lightThemeColorHexCode:n.lightThemeColorHexCode,darkThemeColorHexCode:n.darkThemeColorHexCode,colorTheme:i.theme}),[n.darkThemeColorHexCode,n.lightThemeColorHexCode,n.structure,i.theme]),l=c((e,t)=>new M(e,t),[]);return s.structure.commonStops.length<1||s.structure.branchAStops.length<1||s.structure.branchBStops.length<1?r(p,{}):r(o,{class:t(n.class,`grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-y-8 gap-x-4`),children:[r(f,{class:`w-12 col-2 row-span-full`,createController:l,data:s}),r(a,{class:t(`gap-6 col-3 row-1 -ml-4`,N),xAlign:`left`,children:n.structure.commonStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-1 row-2`,P),xAlign:`right`,children:n.structure.branchAStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-2`,F),xAlign:`left`,children:n.structure.branchBStops.map((e,t)=>r(o,{children:e.content},t))})]})}function L(t){let{foda:n}=u(),i=e(()=>({type:`branch`,commonStops:O(n,t.diagram.commonStops),branchAStops:O(n,t.diagram.branchAStops),branchBStops:O(n,t.diagram.branchBStops)}),[n,t.diagram]);return r(I,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}var R=10,z=15,B=24,V=1,H=class extends h{_onRenderStructure(){let{loopLeftStops:e,loopRightStops:t,mainStops:n}=this.data.structure,{x:r,y:i}=this._measure();if(e.length>0?this._renderSection({stops:e,x:r.loopLeft,yLevels:i.loopLeft.all,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:`left`}):this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.top-V),e.lineTo(r.loopLeft,i.loopLeft.bottom+V)}),t.length>0?this._renderSection({stops:t,x:r.loopRight,yLevels:i.loopRight.all,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:`right`}):this._drawLine(e=>{e.moveTo(r.loopRight,i.loopRight.top-V),e.lineTo(r.loopRight,i.loopRight.bottom+V)}),n.length>0){let e=d(i.main.top);this._renderSection({stops:n,x:r.main,yLevels:i.main.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`right`}),this._drawLine(t=>{t.moveTo(r.main,e),t.lineTo(r.main,e-R),t.bezierCurveTo(r.main,e-z-R,r.loopLeft,i.loop.bottom+z,r.loopLeft,i.loop.bottom),t.lineTo(r.loopLeft,i.loopLeft.bottom),t.moveTo(r.main,e-R),t.bezierCurveTo(r.main,e-z-R,r.loopRight,i.loop.bottom+z,r.loopRight,i.loop.bottom),t.lineTo(r.loopRight,i.loopRight.bottom)}),this.ctx.stroke()}else this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.bottom),e.lineTo(r.loopLeft,i.loop.bottom),e.bezierCurveTo(r.loopLeft,i.loop.bottom+B,r.loopRight,i.loop.bottom+B,r.loopRight,i.loop.bottom),e.lineTo(r.loopRight,i.loopRight.bottom)});this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.top),e.lineTo(r.loopLeft,i.loop.top),e.bezierCurveTo(r.loopLeft,i.loop.top-B,r.loopRight,i.loop.top-B,r.loopRight,i.loop.top),e.lineTo(r.loopRight,i.loopRight.top)})}_measure(){let{loopLeftStops:e,loopRightStops:t,mainStops:n}=this.data.structure,r=this._extractYLevels(e,W),i=this._extractYLevels(t,G),a=this._extractYLevels(n,U),o=r[0],s=i[0],c=r[r.length-1],l=i[i.length-1],u=d(o??s),f=d(s??o),p=d(c??l),m=d(l??c);return{x:{loopLeft:8,loopRight:this.width-8,main:this.width/2},y:{loopLeft:{all:r,top:u,bottom:p},loopRight:{all:i,top:f,bottom:m},main:{all:a,top:a[0]??null,bottom:a[a.length-1]??null},loop:{top:Math.min(u,f),bottom:Math.max(p,m)}}}}},U=`_diagram-main-stops`,W=`_diagram-loop-left-stops`,G=`_diagram-loop-right-stops`;function K(n){let{settings:i}=v(),s=e(()=>({structure:n.structure,lightThemeColorHexCode:n.lightThemeColorHexCode,darkThemeColorHexCode:n.darkThemeColorHexCode,colorTheme:i.theme}),[n.darkThemeColorHexCode,n.lightThemeColorHexCode,n.structure,i.theme]),l=c((e,t)=>new H(e,t),[]),{loopLeftStops:u,loopRightStops:d}=s.structure;return u.length+d.length<1?r(p,{}):r(o,{class:t(n.class,`grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-x-4`),children:[r(f,{class:`w-12 col-2 row-span-full`,createController:l,data:s}),r(a,{class:t(`gap-6 col-1 row-1 py-4`,W),xAlign:`right`,yAlign:`center`,children:n.structure.loopLeftStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-1 py-4`,G),xAlign:`left`,yAlign:`center`,children:n.structure.loopRightStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-2 -ml-4`,U,{"pt-4":n.structure.mainStops.length>0}),xAlign:`left`,children:n.structure.mainStops.map((e,t)=>r(o,{children:e.content},t))})]})}function q(t){let{foda:n}=u(),i=e(()=>({type:`loop`,loopLeftStops:O(n,t.diagram.loopLeftStops),loopRightStops:O(n,t.diagram.loopRightStops),mainStops:O(n,t.diagram.mainStops)}),[n,t.diagram]);return r(K,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}function J(e){return r(o,{class:t(e.class,`bg-bg-raised px-4 py-8 justify-center rounded-sm border border-soft-border`),children:r(Y,{diagram:e.diagram})})}function Y(e){if(e.diagram.type===`linear`)return r(k,{diagram:e.diagram});if(e.diagram.type===`branch`)return r(L,{diagram:e.diagram});if(e.diagram.type===`loop`)return r(q,{diagram:e.diagram});E(e.diagram)}function X(e){let i=e.diagram.entries.filter(e=>l(e.type));return i.length<e.diagram.entries.length?r(D,{fallbackStopList:e.diagram.fallbackStopList}):r(a,{class:t(e.class,`gap-6`),children:[r(n,{style:`subtitle`,children:`Diagram`}),i.length===1?r(J,{diagram:d(i[0])}):r(Z,{entries:i},i.length)]})}function Z(t){let[n,i]=s(0),o=e(()=>t.entries.map((e,t)=>({value:t.toFixed(),label:e.name??`Route ${t+1}`})),[t.entries]);return r(a,{class:`gap-4`,children:[r(T,{class:`self-start`,value:n.toFixed(),options:o,onChange:e=>{i(m(e))}}),r(J,{diagram:d(t.entries[n])})]})}function Q(){let{params:{id:t}}=i(),{foda:n}=u(),a=e(()=>n.lines.getByUrlPath(t??``),[n.lines,t]);return a==null?r(w,{afterConfirming:`foundational-data-version`}):r($,{line:a},a.id)}function $(e){let{formatLine:t}=y();return r(x,{...S({title:t(e.line.name),back:{href:`/`,text:`Home`}}),children:r(a,{class:`px-4 py-8 gap-8`,children:e.line.diagram.entries.length>0&&r(X,{diagram:e.line.diagram})})})}export{Q as default};
1
+ import{_ as e,c as t,i as n,l as r,m as i,r as a,s as o,v as s,y as c}from"./use-nav-exemptions-Daz3EeSR.js";import{l}from"./use-api-DL13FmNZ.js";import{n as u}from"./use-foundational-data-DyAlFXWG.js";import{t as d}from"./scope-B-e4l8Dr.js";import{i as f,n as p,o as m,r as h,t as g}from"./linear-Ddr4Wd6S.js";import{t as _}from"./LinkText-Co4qc0dx.js";import{b as v,p as y,s as b}from"./index-uA8YIkaf.js";import{t as x}from"./Page-eZ-IZNxm.js";import{t as S}from"./use-simple-headers-BE9SwcPx.js";import{t as C}from"./Alert-CNaalIbn.js";import{t as w}from"./NotFoundPage-rabdgx0c.js";import{t as T}from"./Picker-k_4eWvu2.js";function E(e){throw Error(`Unexpected value: ${String(e)}`)}function D(i){let{foda:o}=u(),{appName:s}=v(),c=e(()=>i.fallbackStopList.map(e=>o.stops.require(e)).sort((e,t)=>e.name.localeCompare(t.name)),[o.stops,i.fallbackStopList]);return r(a,{class:t(i.class,`gap-6`),children:[r(n,{style:`subtitle`,children:`Stops`}),r(C,{type:`info`,children:r(a,{class:`gap-6`,children:[r(n,{children:[`A neat little diagram is also available for this line, but it's of a new type, and so requires a newer version of `,s,` to be able to view.`,` `]}),r(n,{style:`strong`,children:r(_,{href:`/debug`,children:`Help me update`})})]})}),r(`ul`,{class:`flex-col flex list-disc list-inside gap-4`,children:c.map((e,t)=>r(n,{children:r(`li`,{children:r(_,{href:`/stop/${e.urlPath}`,children:e.name})})},t))})]})}function O(e,t){return t.map(t=>{let i=e.stops.require(t.stopId),a=`/stop/${i.urlPath}`;if(t.type===`regular`)return{content:r(n,{style:`strong`,children:r(_,{href:a,style:`subtle`,children:i.name})})};if(t.type===`always-express`)return{content:r(n,{style:`small-weak`,children:r(_,{href:a,style:`subtle`,children:[`Skips `,i.name]})}),drawMark:!1};E(t.type)})}function k(t){let{foda:n}=u(),i=e(()=>({type:`linear`,stops:O(n,t.diagram.stops)}),[n,t.diagram.stops]);return r(g,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}var A=10,j=15,M=class extends h{_onRenderStructure(){let{commonStops:e,branchAStops:t,branchBStops:n}=this.data.structure,{x:r,y:i}=this._measure();this._renderSection({stops:e,x:r.common,yLevels:i.common.all,terminatesAtTop:!0,terminatesAtBottom:!1,notchSide:`right`}),this._renderSection({stops:t,x:r.branchA,yLevels:i.branchA.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`left`}),this._renderSection({stops:n,x:r.branchB,yLevels:i.branchB.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`right`}),this._drawLine(e=>{e.moveTo(r.common,i.common.bottom),e.lineTo(r.common,i.common.bottom+A),e.bezierCurveTo(r.common,i.common.bottom+j+A,r.branchA,i.branches.top-j,r.branchA,i.branches.top),e.lineTo(r.branchA,i.branchA.top),e.moveTo(r.common,i.common.bottom+A),e.bezierCurveTo(r.common,i.common.bottom+j+A,r.branchB,i.branches.top-j,r.branchB,i.branches.top),e.lineTo(r.branchB,i.branchA.top)})}_measure(){let{commonStops:e,branchAStops:t,branchBStops:n}=this.data.structure,r=this._extractYLevels(e,N),i=d(r[0]),a=d(r[r.length-1]),o=this._extractYLevels(t,P),s=d(o[0]),c=d(o[o.length-1]),l=this._extractYLevels(n,F),u=d(l[0]),f=d(l[l.length-1]);return{x:{common:this.width/2,branchA:8,branchB:this.width-8},y:{common:{all:r,top:i,bottom:a},branchA:{all:o,top:s,bottom:c},branchB:{all:l,top:u,bottom:f},branches:{top:Math.min(s,u),bottom:Math.max(c,f)}}}}},N=`_diagram-common-stops`,P=`_diagram-branch-a-stops`,F=`_diagram-branch-b-stops`;function I(n){let{settings:i}=y(),s=e(()=>({structure:n.structure,lightThemeColorHexCode:n.lightThemeColorHexCode,darkThemeColorHexCode:n.darkThemeColorHexCode,colorTheme:i.theme}),[n.darkThemeColorHexCode,n.lightThemeColorHexCode,n.structure,i.theme]),l=c((e,t)=>new M(e,t),[]);return s.structure.commonStops.length<1||s.structure.branchAStops.length<1||s.structure.branchBStops.length<1?r(p,{}):r(o,{class:t(n.class,`grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-y-8 gap-x-4`),children:[r(f,{class:`w-12 col-2 row-span-full`,createController:l,data:s}),r(a,{class:t(`gap-6 col-3 row-1 -ml-4`,N),xAlign:`left`,children:n.structure.commonStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-1 row-2`,P),xAlign:`right`,children:n.structure.branchAStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-2`,F),xAlign:`left`,children:n.structure.branchBStops.map((e,t)=>r(o,{children:e.content},t))})]})}function L(t){let{foda:n}=u(),i=e(()=>({type:`branch`,commonStops:O(n,t.diagram.commonStops),branchAStops:O(n,t.diagram.branchAStops),branchBStops:O(n,t.diagram.branchBStops)}),[n,t.diagram]);return r(I,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}var R=10,z=15,B=24,V=1,H=class extends h{_onRenderStructure(){let{loopLeftStops:e,loopRightStops:t,mainStops:n}=this.data.structure,{x:r,y:i}=this._measure();if(e.length>0?this._renderSection({stops:e,x:r.loopLeft,yLevels:i.loopLeft.all,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:`left`}):this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.top-V),e.lineTo(r.loopLeft,i.loopLeft.bottom+V)}),t.length>0?this._renderSection({stops:t,x:r.loopRight,yLevels:i.loopRight.all,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:`right`}):this._drawLine(e=>{e.moveTo(r.loopRight,i.loopRight.top-V),e.lineTo(r.loopRight,i.loopRight.bottom+V)}),n.length>0){let e=d(i.main.top);this._renderSection({stops:n,x:r.main,yLevels:i.main.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`right`}),this._drawLine(t=>{t.moveTo(r.main,e),t.lineTo(r.main,e-R),t.bezierCurveTo(r.main,e-z-R,r.loopLeft,i.loop.bottom+z,r.loopLeft,i.loop.bottom),t.lineTo(r.loopLeft,i.loopLeft.bottom),t.moveTo(r.main,e-R),t.bezierCurveTo(r.main,e-z-R,r.loopRight,i.loop.bottom+z,r.loopRight,i.loop.bottom),t.lineTo(r.loopRight,i.loopRight.bottom)}),this.ctx.stroke()}else this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.bottom),e.lineTo(r.loopLeft,i.loop.bottom),e.bezierCurveTo(r.loopLeft,i.loop.bottom+B,r.loopRight,i.loop.bottom+B,r.loopRight,i.loop.bottom),e.lineTo(r.loopRight,i.loopRight.bottom)});this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.top),e.lineTo(r.loopLeft,i.loop.top),e.bezierCurveTo(r.loopLeft,i.loop.top-B,r.loopRight,i.loop.top-B,r.loopRight,i.loop.top),e.lineTo(r.loopRight,i.loopRight.top)})}_measure(){let{loopLeftStops:e,loopRightStops:t,mainStops:n}=this.data.structure,r=this._extractYLevels(e,W),i=this._extractYLevels(t,G),a=this._extractYLevels(n,U),o=r[0],s=i[0],c=r[r.length-1],l=i[i.length-1],u=d(o??s),f=d(s??o),p=d(c??l),m=d(l??c);return{x:{loopLeft:8,loopRight:this.width-8,main:this.width/2},y:{loopLeft:{all:r,top:u,bottom:p},loopRight:{all:i,top:f,bottom:m},main:{all:a,top:a[0]??null,bottom:a[a.length-1]??null},loop:{top:Math.min(u,f),bottom:Math.max(p,m)}}}}},U=`_diagram-main-stops`,W=`_diagram-loop-left-stops`,G=`_diagram-loop-right-stops`;function K(n){let{settings:i}=y(),s=e(()=>({structure:n.structure,lightThemeColorHexCode:n.lightThemeColorHexCode,darkThemeColorHexCode:n.darkThemeColorHexCode,colorTheme:i.theme}),[n.darkThemeColorHexCode,n.lightThemeColorHexCode,n.structure,i.theme]),l=c((e,t)=>new H(e,t),[]),{loopLeftStops:u,loopRightStops:d}=s.structure;return u.length+d.length<1?r(p,{}):r(o,{class:t(n.class,`grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-x-4`),children:[r(f,{class:`w-12 col-2 row-span-full`,createController:l,data:s}),r(a,{class:t(`gap-6 col-1 row-1 py-4`,W),xAlign:`right`,yAlign:`center`,children:n.structure.loopLeftStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-1 py-4`,G),xAlign:`left`,yAlign:`center`,children:n.structure.loopRightStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-2 -ml-4`,U,{"pt-4":n.structure.mainStops.length>0}),xAlign:`left`,children:n.structure.mainStops.map((e,t)=>r(o,{children:e.content},t))})]})}function q(t){let{foda:n}=u(),i=e(()=>({type:`loop`,loopLeftStops:O(n,t.diagram.loopLeftStops),loopRightStops:O(n,t.diagram.loopRightStops),mainStops:O(n,t.diagram.mainStops)}),[n,t.diagram]);return r(K,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}function J(e){return r(o,{class:t(e.class,`bg-bg-raised px-4 py-8 justify-center rounded-sm border border-soft-border`),children:r(Y,{diagram:e.diagram})})}function Y(e){if(e.diagram.type===`linear`)return r(k,{diagram:e.diagram});if(e.diagram.type===`branch`)return r(L,{diagram:e.diagram});if(e.diagram.type===`loop`)return r(q,{diagram:e.diagram});E(e.diagram)}function X(e){let i=e.diagram.entries.filter(e=>l(e.type));return i.length<e.diagram.entries.length?r(D,{fallbackStopList:e.diagram.fallbackStopList}):r(a,{class:t(e.class,`gap-6`),children:[r(n,{style:`subtitle`,children:`Diagram`}),i.length===1?r(J,{diagram:d(i[0])}):r(Z,{entries:i},i.length)]})}function Z(t){let[n,i]=s(0),o=e(()=>t.entries.map((e,t)=>({value:t.toFixed(),label:e.name??`Route ${t+1}`})),[t.entries]);return r(a,{class:`gap-4`,children:[r(T,{class:`self-start`,value:n.toFixed(),options:o,onChange:e=>{i(m(e))}}),r(J,{diagram:d(t.entries[n])})]})}function Q(){let{params:{id:t}}=i(),{foda:n}=u(),a=e(()=>n.lines.getByUrlPath(t??``),[n.lines,t]);return a==null?r(w,{afterConfirming:`foundational-data-version`}):r($,{line:a},a.id)}function $(e){let{formatLine:t}=b();return r(x,{...S({title:t(e.line.name),back:{href:`/`,text:`Home`}}),children:r(a,{class:`px-4 py-8 gap-8`,children:e.line.diagram.entries.length>0&&r(X,{diagram:e.line.diagram})})})}export{Q as default};
@@ -0,0 +1 @@
1
+ import{l as e}from"./use-nav-exemptions-Daz3EeSR.js";import{t}from"./NotFoundPage-rabdgx0c.js";function n(){return e(t,{afterConfirming:`frontend-version`})}export{n as default};
@@ -0,0 +1 @@
1
+ import{h as e,i as t,l as n,r,v as i}from"./use-nav-exemptions-Daz3EeSR.js";import{i as a}from"./use-api-DL13FmNZ.js";import{n as o}from"./use-foundational-data-DyAlFXWG.js";import{b as s,c,m as l,n as u,r as d,u as f,y as p}from"./index-uA8YIkaf.js";import{t as m}from"./Page-eZ-IZNxm.js";function h(e){let t=d(a,{}),n=g(e===`frontend-version`,t),r=_(e===`foundational-data-version`,t);return t.loading||n||r}function g(t,n){let{isHotReloadingEnabled:r}=u(),{frontendVersion:i}=s(),{unregister:a}=c(),o=t&&!r&&!n.loading&&n.error==null&&n.data!=null&&n.data.frontendVersion!==i;return e(()=>{if(!o)return;async function e(){await a(),window.location.reload()}e()},[o,a]),o}function _(t,n){let{foda:r,forceFodaUpdate:a}=o(),[s,c]=i(!1),[l,u]=i(!1),d=t&&!n.loading&&n.error==null&&n.data!=null&&n.data.foundationalDataHash!==r.hash;return e(()=>{if(!d)return;async function e(){u(!0);try{await a()}catch{console.warn(`Foundational data is outdated, but force update failed.`)}finally{c(!0),u(!1)}}e()},[d,a]),d&&!s||l}function v({afterConfirming:e}){return h(e)?n(m,{mobileHeader:null,desktopHeader:null,children:n(r,{xAlign:`center`,yAlign:`center`,children:n(p,{})})}):n(m,{mobileHeader:null,desktopHeader:null,children:n(r,{class:`px-4 py-8 gap-8`,xAlign:`center`,yAlign:`center`,children:[n(t,{style:`title`,align:`center`,children:`Page not found`}),n(t,{align:`center`,children:`This page doesn't exist, at least not anymore!`}),n(l,{href:`/`,text:`Go home`,icon:f})]})})}export{v as t};
@@ -1 +1 @@
1
- import{c as e,i as t,l as n}from"./use-nav-exemptions-Daz3EeSR.js";import{g as r,h as i}from"./index-ByA44-P7.js";var a=[`bg-transparent`,`group-hover:bg-soft-hover`,`group-active:bg-soft-active`],o=[`bg-accent`,`group-hover:bg-accent-hover`,`group-active:bg-accent-active`],s=[`[--color-fg:var(--color-on-accent)]`,`[--color-fg-strong:var(--color-on-accent)]`,`[--color-fg-weak:var(--color-on-accent)]`],c=e(a),l=e(o),u=e(s);function d(t){return n(i,{class:e(t.class,`overflow-hidden rounded-sm border border-accent max-w-full`),children:t.options.map((e,r)=>n(f,{class:`shrink`,label:e.label,active:e.value===t.value,last:r===t.options.length-1,onClick:()=>t.onChange(e.value)},e.value))})}function f(a){return n(r,{class:e(a.class,`relative group min-h-8`,{[u]:a.active,"border-r border-accent":!a.last}),onClick:a.onClick,children:[n(`div`,{class:e(`absolute z-0 top-0 bottom-0 left-0 right-0`,{[c]:!a.active,[l]:a.active})}),n(i,{class:`relative z-1 px-6 py-2 min-w-0`,xAlign:`center`,yAlign:`center`,children:n(t,{class:`shrink min-w-min`,align:`center`,children:a.label})})]})}export{d as t};
1
+ import{c as e,i as t,l as n}from"./use-nav-exemptions-Daz3EeSR.js";import{_ as r,g as i}from"./index-uA8YIkaf.js";var a=[`bg-transparent`,`group-hover:bg-soft-hover`,`group-active:bg-soft-active`],o=[`bg-accent`,`group-hover:bg-accent-hover`,`group-active:bg-accent-active`],s=[`[--color-fg:var(--color-on-accent)]`,`[--color-fg-strong:var(--color-on-accent)]`,`[--color-fg-weak:var(--color-on-accent)]`],c=e(a),l=e(o),u=e(s);function d(t){return n(i,{class:e(t.class,`overflow-hidden rounded-sm border border-accent max-w-full`),children:t.options.map((e,r)=>n(f,{class:`shrink`,label:e.label,active:e.value===t.value,last:r===t.options.length-1,onClick:()=>t.onChange(e.value)},e.value))})}function f(a){return n(r,{class:e(a.class,`relative group min-h-8`,{[u]:a.active,"border-r border-accent":!a.last}),onClick:a.onClick,children:[n(`div`,{class:e(`absolute z-0 top-0 bottom-0 left-0 right-0`,{[c]:!a.active,[l]:a.active})}),n(i,{class:`relative z-1 px-6 py-2 min-w-0`,xAlign:`center`,yAlign:`center`,children:n(t,{class:`shrink min-w-min`,align:`center`,children:a.label})})]})}export{d as t};
@@ -1 +1 @@
1
- import{_ as e,c as t,i as n,l as r,m as i,r as a,s as o}from"./use-nav-exemptions-Daz3EeSR.js";import{o as s}from"./use-api-_Y5vsFb-.js";import{n as c}from"./use-foundational-data-DyAlFXWG.js";import{a as l,t as u}from"./linear-BWJmB0m_.js";import{t as d}from"./LinkText-Co4qc0dx.js";import{h as f,l as p,p as m,v as h}from"./index-ByA44-P7.js";import{t as g}from"./Page-eZ-IZNxm.js";import{t as _}from"./use-simple-headers-BGdX3p-e.js";import{t as v}from"./use-foda-synced-query-BsS3nwV1.js";function y(n){let{foda:i}=c(),a=e(()=>({type:`linear`,stops:b(i,n.service.movements)}),[i,n.service.movements]);return r(o,{class:t(n.class),children:r(u,{class:n.class,structure:a,lightThemeColorHexCode:n.service.color?.lightModeHexCode??null,darkThemeColorHexCode:n.service.color?.darkModeHexCode??null})})}function b(e,t){return t.map(t=>{let i=e.stops.require(t.stopId),a=`/stop/${i.urlPath}`,o=t.arrivalTime==null?null:new Date(Date.parse(t.arrivalTime)).toLocaleString(),s=t.departureTime==null?null:new Date(Date.parse(t.departureTime)).toLocaleString();if(o==null&&s==null)return{content:r(n,{style:`small-weak`,children:r(d,{href:a,style:`subtle`,children:[`Skips `,i.name]})}),drawMark:!1};let c=s??o;return{content:r(f,{class:`gap-2 min-w-0`,children:[r(n,{style:`strong`,children:r(d,{href:a,style:`subtle`,children:i.name})}),r(n,{children:`•`}),r(n,{class:`shrink min-w-0`,oneLine:!0,children:c})]})}})}function x(){let{params:{sourceId:e,intrasourceId:t},query:{from:n}}=i(),{data:a,loading:o,error:c}=v(s,{sourceId:e??``,intrasourceId:t??``}),u=l(n??``);return o?r(C,{}):c!=null||a==null||u==null||u<0||a.service!=null&&u>a.service.movements.length-1?r(w,{}):a.service==null?r(T,{}):r(S,{service:a.service,movementIndex:u},`${e}/${t}`)}function S(e){return r(g,{..._({title:`${e.service.primaryDestinationText} service`,back:{href:`/`,text:`Home`}}),children:r(a,{class:`px-4 py-8 gap-8`,children:[r(y,{service:e.service}),r(n,{style:`small-narrow`,children:`(Real-time data has not been provided for all stops. Times marked with * are estimates, extrapolated from the available data.)`})]})})}function C(){return r(g,{..._({title:`Loading...`,back:{href:`/`,text:`Home`}}),children:r(h,{})})}function w(){return r(g,{..._({title:`Error`,back:{href:`/`,text:`Home`}}),children:r(n,{children:`Failed to load service.`})})}function T(){return r(g,{mobileHeader:null,desktopHeader:null,children:r(a,{class:`px-4 py-8 gap-8`,xAlign:`center`,yAlign:`center`,children:[r(n,{style:`title`,align:`center`,children:`Service not found`}),r(n,{align:`center`,children:`This can happen if the service was cancelled, or the timetable changed since this link was generated. You might be able to find it again by searching for one of the stops it departed from.`}),r(m,{href:`/`,text:`Go home`,icon:p})]})})}export{x as default};
1
+ import{_ as e,c as t,i as n,l as r,m as i,r as a,s as o}from"./use-nav-exemptions-Daz3EeSR.js";import{o as s}from"./use-api-DL13FmNZ.js";import{n as c}from"./use-foundational-data-DyAlFXWG.js";import{a as l,t as u}from"./linear-Ddr4Wd6S.js";import{t as d}from"./LinkText-Co4qc0dx.js";import{g as f,m as p,u as m,y as h}from"./index-uA8YIkaf.js";import{t as g}from"./Page-eZ-IZNxm.js";import{t as _}from"./use-simple-headers-BE9SwcPx.js";import{t as v}from"./use-foda-synced-query-Df-foxd8.js";function y(n){let{foda:i}=c(),a=e(()=>({type:`linear`,stops:b(i,n.service.movements)}),[i,n.service.movements]);return r(o,{class:t(n.class),children:r(u,{class:n.class,structure:a,lightThemeColorHexCode:n.service.color?.lightModeHexCode??null,darkThemeColorHexCode:n.service.color?.darkModeHexCode??null})})}function b(e,t){return t.map(t=>{let i=e.stops.require(t.stopId),a=`/stop/${i.urlPath}`,o=t.arrivalTime==null?null:new Date(Date.parse(t.arrivalTime)).toLocaleString(),s=t.departureTime==null?null:new Date(Date.parse(t.departureTime)).toLocaleString();if(o==null&&s==null)return{content:r(n,{style:`small-weak`,children:r(d,{href:a,style:`subtle`,children:[`Skips `,i.name]})}),drawMark:!1};let c=s??o;return{content:r(f,{class:`gap-2 min-w-0`,children:[r(n,{style:`strong`,children:r(d,{href:a,style:`subtle`,children:i.name})}),r(n,{children:`•`}),r(n,{class:`shrink min-w-0`,oneLine:!0,children:c})]})}})}function x(){let{params:{sourceId:e,intrasourceId:t},query:{from:n}}=i(),{data:a,loading:o,error:c}=v(s,{sourceId:e??``,intrasourceId:t??``}),u=l(n??``);return o?r(C,{}):c!=null||a==null||u==null||u<0||a.service!=null&&u>a.service.movements.length-1?r(w,{}):a.service==null?r(T,{}):r(S,{service:a.service,movementIndex:u},`${e}/${t}`)}function S(e){return r(g,{..._({title:`${e.service.primaryDestinationText} service`,back:{href:`/`,text:`Home`}}),children:r(a,{class:`px-4 py-8 gap-8`,children:[r(y,{service:e.service}),r(n,{style:`small-narrow`,children:`(Real-time data has not been provided for all stops. Times marked with * are estimates, extrapolated from the available data.)`})]})})}function C(){return r(g,{..._({title:`Loading...`,back:{href:`/`,text:`Home`}}),children:r(h,{})})}function w(){return r(g,{..._({title:`Error`,back:{href:`/`,text:`Home`}}),children:r(n,{children:`Failed to load service.`})})}function T(){return r(g,{mobileHeader:null,desktopHeader:null,children:r(a,{class:`px-4 py-8 gap-8`,xAlign:`center`,yAlign:`center`,children:[r(n,{style:`title`,align:`center`,children:`Service not found`}),r(n,{align:`center`,children:`This can happen if the service was cancelled, or the timetable changed since this link was generated. You might be able to find it again by searching for one of the stops it departed from.`}),r(p,{href:`/`,text:`Go home`,icon:m})]})})}export{x as default};
@@ -1 +1 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{d as r,f as i}from"./index-ByA44-P7.js";import{t as a}from"./Page-eZ-IZNxm.js";import{t as o}from"./use-simple-headers-BGdX3p-e.js";import{t as s}from"./Divider-C465PGQW.js";import{t as c}from"./Picker-D4ga8LYJ.js";var l={auto:`Auto`,light:`Light`,dark:`Dark`},u=r.map(e=>({value:e,label:l[e]}));function d(e){let{settings:n,updateSettings:r}=i();return t(c,{class:e.class,value:n.theme,options:u,onChange:e=>{r(t=>t.with({theme:e}))}})}function f(){return t(a,{...o({title:`Settings`}),children:t(n,{class:`px-4 py-8 gap-8`,children:[t(n,{class:`gap-6`,children:[t(e,{style:`strong`,children:`Theme`}),t(e,{children:`"Auto" means the colour theme should follow your device's/browser's settings.`}),t(d,{class:`self-start`})]}),t(s,{}),t(e,{style:`small-weak`,children:`(Settings are saved to your device's/browser's local storage.)`})]})})}export{f as default};
1
+ import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{f as r,p as i}from"./index-uA8YIkaf.js";import{t as a}from"./Page-eZ-IZNxm.js";import{t as o}from"./use-simple-headers-BE9SwcPx.js";import{t as s}from"./Divider-C465PGQW.js";import{t as c}from"./Picker-k_4eWvu2.js";var l={auto:`Auto`,light:`Light`,dark:`Dark`},u=r.map(e=>({value:e,label:l[e]}));function d(e){let{settings:n,updateSettings:r}=i();return t(c,{class:e.class,value:n.theme,options:u,onChange:e=>{r(t=>t.with({theme:e}))}})}function f(){return t(a,{...o({title:`Settings`}),children:t(n,{class:`px-4 py-8 gap-8`,children:[t(n,{class:`gap-6`,children:[t(e,{style:`strong`,children:`Theme`}),t(e,{children:`"Auto" means the colour theme should follow your device's/browser's settings.`}),t(d,{class:`self-start`})]}),t(s,{}),t(e,{style:`small-weak`,children:`(Settings are saved to your device's/browser's local storage.)`})]})})}export{f as default};
@@ -1 +1 @@
1
- import{c as e,i as t,l as n}from"./use-nav-exemptions-Daz3EeSR.js";import{h as r,p as i}from"./index-ByA44-P7.js";function a(e){return n(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:n(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M14.657 17.657L9 12l5.657-5.657`})})}function o(o){return n(r,{class:e(o.class,`gap-2`,{"px-4":o.backHref==null,"pl-2 pr-4":o.backHref!=null}),yAlign:`center`,children:[o.backHref!=null&&n(i,{href:o.backHref,icon:a,theme:`hover`}),n(t,{style:`title`,children:o.title})]})}export{a as n,o as t};
1
+ import{c as e,i as t,l as n}from"./use-nav-exemptions-Daz3EeSR.js";import{g as r,m as i}from"./index-uA8YIkaf.js";function a(e){return n(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:n(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M14.657 17.657L9 12l5.657-5.657`})})}function o(o){return n(r,{class:e(o.class,`gap-2`,{"px-4":o.backHref==null,"pl-2 pr-4":o.backHref!=null}),yAlign:`center`,children:[o.backHref!=null&&n(i,{href:o.backHref,icon:a,theme:`hover`}),n(t,{style:`title`,children:o.title})]})}export{a as n,o as t};
@@ -1 +1 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Page-eZ-IZNxm.js";import{t as i}from"./use-simple-headers-BGdX3p-e.js";function a(){return t(r,{...i({title:`Status`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:`LGTM`})})})}export{a as default};
1
+ import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Page-eZ-IZNxm.js";import{t as i}from"./use-simple-headers-BE9SwcPx.js";function a(){return t(r,{...i({title:`Status`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:`LGTM`})})})}export{a as default};
@@ -0,0 +1,11 @@
1
+ import{C as e,_ as t,a as n,c as r,i,l as a,m as o,n as s,o as c,r as l,s as u}from"./use-nav-exemptions-Daz3EeSR.js";import{u as d}from"./use-api-DL13FmNZ.js";import{n as f}from"./use-foundational-data-DyAlFXWG.js";import{a as p,g as m,h,m as g,o as _,s as v,t as y,y as b}from"./index-uA8YIkaf.js";import{t as x}from"./Page-eZ-IZNxm.js";import{n as S,t as C}from"./SimpleMobileHeaderContent-BZ-z0X3U.js";import{t as w}from"./NotFoundPage-rabdgx0c.js";import{t as T}from"./ErrorMessage-Mp0VVnTj.js";import{t as E}from"./use-foda-synced-query-Df-foxd8.js";function D(e,t){return(e%t+t)%t}function O(e){return{hour:D(e-1,12)+1,half:e<12?`am`:`pm`}}function k(e){return{hideMobileHeaderWhenScrolledToTop:!0,mobileHeader:a(C,{title:e.title,backHref:e.back?.href??null}),agnosticHeader:a(u,{class:`not-desktop:bg-bg-navbar not-desktop:border-b not-desktop:border-soft-border`,children:a(s,{children:a(u,{class:`not-desktop:px-4 desktop:mx-4 desktop:border-b desktop:border-soft-border`,children:a(l,{class:r(`gap-8`,{"pt-4 pb-6 desktop:pt-6":e.back!=null,"py-6 desktop:pt-8":e.back==null,"desktop:pb-4":e.additionalContent==null}),children:[e.back!=null&&a(g,{text:e.back.text,href:e.back.href,icon:S,class:`self-start`,layout:`narrow-icon`}),a(l,{class:`gap-4`,children:[a(i,{style:`megatitle`,children:e.title}),e.additionalContent]})]})})})})}}function A(e){return a(`svg`,{class:r(e.class,`text-fg _dynamic-live-icon`),style:n(e.dynamicColor),xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,children:[a(`path`,{style:`
2
+ fill: none;
3
+ stroke: currentColor;
4
+ stroke-width: 4;
5
+ stroke-linecap: round;
6
+ `,d:`M 4,4 A 16,16 0 0 1 20,20`,class:`outer`}),a(`path`,{style:`
7
+ fill: none;
8
+ stroke: currentColor;
9
+ stroke-width: 4;
10
+ stroke-linecap: round;
11
+ `,d:`M 4,12 A 8,8 0 0 1 12,20`,class:`inner`})]})}function j(e){return a(m,{class:r(e.class,`relative gap-1`),children:[e.timeStrings.struckout!=null&&a(i,{style:`struckout-on-raised`,children:e.timeStrings.struckout}),a(i,{style:`strong`,dynamicColor:e.serviceColor,children:e.timeStrings.primary}),e.timeType!==`scheduled-time`&&a(A,{dynamicColor:e.serviceColor,class:`absolute -right-2.5 -top-1.75 text-icon-xs`})]})}function M(t){return a(m,{class:r(t.class,`gap-1`),children:[t.timeStrings.delay!=null&&a(e,{children:[a(N,{delay:t.timeStrings.delay}),a(i,{style:`small-narrow`,children:`•`})]}),t.timeStrings.schedule==null?a(_,{style:`small-narrow`,lineIds:t.lineIds}):a(i,{style:`small-narrow`,class:`shrink min-w-0`,oneLine:!0,children:[`Scheduled for `,t.timeStrings.schedule]})]})}function N(e){let t={green:`small-narrow-strong-success`,yellow:`small-narrow-strong-warning`,red:`small-narrow-strong-error`}[e.delay.color];return a(i,{style:t,children:e.delay.text})}function P(e){let{foda:n}=f(),{positionIndicatorHeader:o}=v(),s=t(()=>e.positionId==null?null:n.stops.require(e.stopId).positions.require(e.positionId).name,[n,e.stopId,e.positionId]);return s==null?null:a(l,{yAlign:`space-between`,class:r(e.class,`border-2 px-1.5 py-1 border-soft-border rounded-sm h-8.5 min-w-10`),children:[a(i,{style:`tiny-narrow`,align:`center`,children:o}),a(i,{style:`strong`,align:`center`,children:s})]})}var F=3.5;function I(e){let{currentMinute:n}=y(),{foda:o}=f(),s=t(()=>e.departure.getTimeStrings(n,o.formatTimezone),[e.departure,n,o.formatTimezone]);return a(l,{class:r(e.class,`h-14 min-w-0`),yAlign:`space-between`,children:[a(m,{xAlign:`space-between`,class:`gap-2 `,children:[a(m,{yAlign:`bottom`,class:`gap-1 shrink min-w-0`,children:[a(i,{style:`strong`,dynamicColor:e.departure.color,children:e.departure.primaryDestinationText}),e.departure.secondaryDestinationText!=null&&a(i,{style:`small-narrow`,class:`shrink min-w-0`,dynamicColor:e.departure.color,oneLine:!0,children:e.departure.secondaryDestinationText})]}),a(j,{timeType:e.departure.timeType,timeStrings:s,serviceColor:e.departure.color})]}),a(m,{xAlign:`space-between`,yAlign:`bottom`,children:[a(l,{class:`gap-3 min-w-0 shrink`,children:[a(i,{style:`small-narrow`,oneLine:!0,children:`The stopping pattern goes here`}),a(M,{timeStrings:s,lineIds:e.departure.lineIds})]}),a(P,{class:`-mb-0.5`,stopId:e.departure.stopId,positionId:e.departure.positionId})]})]})}function L(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M9.343 6.343L15 12l-5.657 5.657`})})}var R=F+2;function z(e){return a(h,{class:r(e.class),href:e.departure.servicePageUrl,children:a(u,{class:`grid-cols-[1fr_auto] p-4 items-center pr-2 gap-2`,children:[a(I,{departure:e.departure}),a(L,{class:`text-icon-lg text-fg`})]})})}function B(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M11 20H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4H4m12-7v2M8 4v2m12.121 9.879L18 18m0 0l-2.121 2.121M18 18l-2.121-2.121M18 18l2.121 2.121`})})}function ee(e){let{pluralServicesTerm:t}=v();return e.loading?a(V,{class:e.class,queryCount:e.queryCount,centerContent:!0,children:a(b,{})}):e.hadError?a(V,{class:r(e.class,`gap-2`),queryCount:e.queryCount,centerContent:!0,children:a(T,{text:`An error occurred while retrieving departures`})}):e.departures.length===0?a(V,{class:e.class,queryCount:e.queryCount,centerContent:!0,children:a(T,{text:`No ${t} scheduled`,icon:B})}):a(V,{class:e.class,queryCount:e.queryCount,children:e.departures.map((t,n)=>a(u,{class:`relative`,children:[a(z,{departure:t}),n<e.queryCount-1&&a(`hr`,{class:`border-soft-border absolute bottom-0 left-0 right-0 mx-4`})]},H(t)))})}function V(e){let t=e.centerContent??!1;return a(l,{class:e.class,xAlign:t?`center`:`stretch`,yAlign:t?`center`:`top`,dynamicMinHeightRem:R*e.queryCount,children:e.children})}function H(e){return`${e.sourceId}/${e.intrasourceId}/${e.movementIndex}`}function U(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m4 20l5-5m0 0l3.956 3.956a1 1 0 0 0 1.626-.314l2.255-5.261a1 1 0 0 1 .548-.535l3.207-1.283a1 1 0 0 0 .336-1.635l-6.856-6.856a1 1 0 0 0-1.635.336l-1.283 3.207a1 1 0 0 1-.535.548L5.358 9.418a1 1 0 0 0-.314 1.626z`})})}function W(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M9 20H4v-5m0 5l6.5-6.5M15 4h5v5m0-5l-6.5 6.5`})})}function G(e){return a(l,{class:r(e.class,`min-w-0`),children:[a(m,{xAlign:`space-between`,yAlign:`center`,class:`gap-2 not-desktop:pl-4 not-desktop:pr-2 not-desktop:pt-6 pb-2`,children:[a(i,{style:`subtitle`,class:`shrink min-w-0`,oneLine:!0,children:e.feed.title}),a(m,{class:`gap-2`,children:[a(g,{theme:`hover`,icon:U}),a(g,{theme:`hover`,icon:W})]})]}),a(ee,{class:`bg-bg-raised desktop:border not-desktop:border-y border-soft-border desktop:rounded-lg overflow-hidden box-content`,departures:e.departures,queryCount:e.feed.desiredCount,loading:e.loading,hadError:e.hadError})]})}function K(e,{includeSeconds:t=!1}={}){let n=O(e.hour),r=n.hour.toFixed(),i=e.minute.toFixed().padStart(2,`0`),a=n.half;return t?`${r}:${i}:${e.second.toFixed().padStart(2,`0`)}${a}`:`${r}:${i}${a}`}function q(e,{suppressAgo:t=!1}={}){let n=e.sign===-1,{days:r,hours:i,minutes:a,seconds:o}=e.abs().round({largestUnit:`day`,smallestUnit:`second`}),s=[];r!==0&&s.push(r===1?`1 day`:`${r.toFixed()} days`),i!==0&&s.push(i===1?`1 hr`:`${i.toFixed()} hrs`),a!==0&&s.push(a===1?`1 min`:`${a.toFixed()} mins`),(o!==0||s.length===0)&&s.push(o===1?`1 sec`:`${o.toFixed()} secs`);let c=n&&!t;return s.join(`, `)+(c?` ago`:``)}function J(e,{includeYear:t=!1}={}){let n=e.toLocaleString(`en-US`,{weekday:`short`}),r=e.toLocaleString(`en-US`,{month:`short`});return`${n}, ${e.day.toFixed()} ${r}${t?` ${e.year.toFixed()}`:``}`}function Y(e,t,{suppressEarlierToday:n=!1}={}){let r=e.toPlainTime(),i=e.toPlainDate(),a=t.toPlainTime(),o=t.toPlainDate(),s=K(r),c=i.since(o).days;return c===0?Temporal.PlainTime.compare(r,a)<=0&&!n?`${s} earlier today`:s:c===1?r.hour<=2?`${s} tonight`:`${s} tomorrow`:c===-1?`${s} yesterday`:c>1&&c<7?`${s} ${i.toLocaleString(`en-US`,{weekday:`long`})}`:c<-1&&c>=-7?`${s} last ${i.toLocaleString(`en-US`,{weekday:`long`})}`:`${s} (${J(i)})`}var X=class e{primary;struckout;delay;schedule;constructor(e){this.primary=e.primary,this.struckout=e.struckout,this.delay=e.delay,this.schedule=e.schedule}static build(t,n,r){let{time:i,formerTime:a,timeType:o}=t,s=Y(this._inFormatTimezone(i,r),this._inFormatTimezone(n,r));if(o===`scheduled-time`||a==null)return new e({primary:s,struckout:null,delay:null,schedule:null});let c=i.since(n),l=this._getDelay(i.since(a));if(c.total({unit:`minutes`})>60)return new e({primary:s,struckout:null,delay:l,schedule:null});let u=a.since(n),d=this._formatDurationWithNow(c),f=this._formatDurationWithNow(u);return new e({primary:d,struckout:d===f?null:f,delay:l,schedule:s})}static _getDelay(e){let t=e.total({unit:`minutes`}),n=q(e,{suppressAgo:!0});return t<0?{text:`${n} early`,color:`green`}:t===0?{text:`On time`,color:`green`}:{text:`${n} late`,color:this._getDelayColor(t)}}static _getDelayColor(e){return e<3?`green`:e<15?`yellow`:`red`}static _formatDurationWithNow(e){return e.sign>=0&&e.total({unit:`minutes`})<1?`Now`:q(e)}static _inFormatTimezone(e,t){return e.toZonedDateTimeISO(t).toPlainDateTime()}},Z=class e{sourceId;intrasourceId;lineIds;primaryDestinationText;secondaryDestinationText;color;stopId;positionId;timeType;time;formerTime;movementIndex;constructor(e){this.sourceId=e.sourceId,this.intrasourceId=e.intrasourceId,this.lineIds=e.lineIds,this.primaryDestinationText=e.primaryDestinationText,this.secondaryDestinationText=e.secondaryDestinationText,this.color=e.color,this.stopId=e.stopId,this.positionId=e.positionId,this.timeType=e.timeType,this.time=e.time,this.formerTime=e.formerTime,this.movementIndex=e.movementIndex}get servicePageUrl(){return`/service/${encodeURIComponent(this.sourceId)}/${encodeURIComponent(this.intrasourceId)}?from=${encodeURIComponent(this.movementIndex.toString())}`}getTimeStrings(e,t){return X.build(this,e,t)}static wrap(t,n){return new e({sourceId:n.sourceId,intrasourceId:n.intrasourceId,lineIds:n.lineIds,primaryDestinationText:n.primaryDestinationText,secondaryDestinationText:n.secondaryDestinationText,color:n.color,stopId:t,positionId:n.movement.positionId??null,timeType:n.movement.timeType,time:Temporal.Instant.from(n.movement.time),formerTime:n.movement.formerTime==null?null:Temporal.Instant.from(n.movement.formerTime),movementIndex:n.movement.index})}static wrapAll(t,n){return n?.map(n=>e.wrap(t,n))??[]}};function Q(e){let{data:n,loading:i,error:o}=E(d,{instant:e.instant.toString(),direction:`forwards`,feeds:e.feeds.map(e=>({...e,skips:[]}))}),s=t(()=>e.feeds.map((e,t)=>({feed:e,departures:Z.wrapAll(e.stopId,n?.feeds[t]?.departures)})),[e.feeds,n]);return a(u,{class:r(e.class,`desktop:grid-cols-[1fr_1fr] desktop:gap-6 desktop:px-4 desktop:py-8`),children:s.map((e,t)=>a(G,{feed:e.feed,departures:e.departures,loading:i,hadError:o!=null,class:`not-desktop:last:-mb-px`},t))})}function $(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M17.657 9.343L12 15L6.343 9.343`})})}function te(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M12 7v5l3 3m6-3a9 9 0 1 1-18 0a9 9 0 0 1 18 0`})})}function ne(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M19.5 4h-15a.5.5 0 0 0-.5.5v2.086a1 1 0 0 0 .293.707L10 13v5.691a.5.5 0 0 0 .276.447L14 21v-8l5.707-5.707A1 1 0 0 0 20 6.586V4.5a.5.5 0 0 0-.5-.5Z`})})}function re(e){return a(u,{class:`desktop:pt-6 desktop:px-4`,children:a(u,{class:r(e.class,`grid-cols-[1fr_1fr] desktop:max-w-150 bg-bg-raised divide-x divide-soft-border desktop:border not-desktop:border-b border-soft-border desktop:rounded-lg overflow-hidden`),children:[a(h,{children:a(m,{xAlign:`space-between`,yAlign:`center`,class:`p-4`,children:[a(m,{yAlign:`center`,class:`gap-2`,children:[a(p,{heightRem:c(`text-md`),children:a(te,{class:`text-icon-lg text-fg`})}),a(i,{children:`Now`})]}),a(p,{heightRem:c(`text-md`),children:a($,{class:`text-icon-lg text-fg`})})]})}),a(h,{children:a(m,{xAlign:`space-between`,yAlign:`center`,class:`p-4`,children:[a(m,{yAlign:`center`,class:`gap-2`,children:[a(p,{heightRem:c(`text-md`),children:a(ne,{class:`text-icon-lg text-fg`})}),a(i,{children:`All trains`})]}),a(p,{heightRem:c(`text-md`),children:a($,{class:`text-icon-lg text-fg`})})]})})]})})}function ie(){let{params:{id:e}}=o(),{foda:n}=f(),r=t(()=>n.stops.getByUrlPath(e??``),[n.stops,e]);return r==null?a(w,{afterConfirming:`foundational-data-version`}):a(ae,{stop:r},r.id)}function ae(e){let{currentMinute:t}=y(),n=e.stop.defaultDepartureFeeds.map(t=>({title:t.name,stopId:e.stop.id,desiredCount:t.desiredCount,filterExpression:`${t.filterExpression} !arr !sdo`.trim()}));return a(x,{...k({title:e.stop.name,back:{href:`/`,text:`Home`},additionalContent:a(_,{lineIds:e.stop.canonicalLinesServingStop,withLinks:!0})}),children:a(l,{children:[a(re,{}),a(Q,{feeds:n,instant:t})]})})}export{ie as default};
@@ -1 +1 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Strong-DYvq_eAK.js";import{t as i}from"./Page-eZ-IZNxm.js";import{t as a}from"./use-simple-headers-BGdX3p-e.js";function o(){return t(i,{...a({title:`Zen mode`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:[t(r,{children:`✨`}),` Zen! `,t(r,{children:`✨`})]})})})}export{o as default};
1
+ import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Strong-DYvq_eAK.js";import{t as i}from"./Page-eZ-IZNxm.js";import{t as a}from"./use-simple-headers-BE9SwcPx.js";function o(){return t(i,{...a({title:`Zen mode`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:[t(r,{children:`✨`}),` Zen! `,t(r,{children:`✨`})]})})})}export{o as default};
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-duration:initial}}}@layer theme{:root,:host{--default-font-family:"Mona Sans", system-ui, sans-serif;--spacing:.25rem;--text-xs:.6rem;--text-sm:.75rem;--text-md:.9rem;--text-mdlg:1rem;--text-lg:1.1rem;--text-xl:1.25rem;--text-2xl:1.75rem;--text-icon-xs:.7rem;--text-icon-md:1rem;--text-icon-lg:1.25rem;--text-icon-xl:1.5rem;--font-weight-normal:400;--font-weight-bold:700;--radius-sm:.25rem;--radius-lg:.75rem;--color-bg:#e9edf3;--color-bg-raised:#f5f6fa;--color-bg-navbar:#fff;--color-fg:#000714cc;--color-fg-strong:#000;--color-fg-weak:#000e2999;--color-fg-weak-on-raised:#626a7d;--color-accent:#1773cf;--color-accent-hover:#1a80e6;--color-accent-active:#1466b8;--color-accent-text:#06c;--color-soft-accent:#1773cf26;--color-on-accent:#fff;--color-soft:#001e5a1f;--color-soft-hover:#001f5e14;--color-soft-active:#001d5629;--color-soft-border:#c2c9d6;--color-soft-border-disabled:#d1d6e0;--color-placeholder:#0018474d;--color-error:#a11212;--color-error-hover:#b81414;--color-error-active:#8a0f0f;--color-error-text:#b30000;--color-soft-error:#b3000026;--color-on-error:#fff;--color-warning:#b88114;--color-warning-hover:#cf9117;--color-warning-active:#a17112;--color-warning-text:#b37700;--color-soft-warning:#e6990033;--color-on-warning:#fff;--color-success:#1f7a2e;--color-success-hover:#248f36;--color-success-active:#196626;--color-success-text:#1f7a2e;--color-soft-success:#00991926;--color-on-success:#fff;--animate-placeholder-pulse:placeholder-pulse 1s ease-in-out infinite}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}svg._loading-spinner{animation:1s ease-out infinite loading-spinner-flip}._loading-spinner>circle:nth-child(2){transform-origin:25% 25%;animation:1s linear infinite loading-spinner-pulse}._loading-spinner>circle:nth-child(3){transform-origin:75% 25%;animation:1s linear .1s infinite loading-spinner-pulse}._loading-spinner>circle:nth-child(4){transform-origin:75% 75%;animation:1s linear .2s infinite loading-spinner-pulse}._loading-spinner>circle:nth-child(5){transform-origin:25% 75%;animation:1s linear .3s infinite loading-spinner-pulse}@keyframes loading-spinner-pulse{0%{transform:scale(1)}10%{transform:scale(2)}30%{transform:scale(1)}}@keyframes loading-spinner-flip{0%{transform:rotate(0)}60%{transform:rotate(0)}to{transform:rotate(180deg)}}._dynamic-live-icon>:first-child{stroke-opacity:0;animation:2s linear .25s infinite dynamic-live-icon-pulse}._dynamic-live-icon>:nth-child(2){stroke-opacity:0;animation:2s linear infinite dynamic-live-icon-pulse}@keyframes dynamic-live-icon-pulse{0%{stroke-opacity:0}20%{stroke-opacity:1}40%{stroke-opacity:0}to{stroke-opacity:0}}*{flex-shrink:0}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.-top-1\.75{top:calc(var(--spacing) * -1.75)}.top-0{top:0}.top-1{top:var(--spacing)}.top-\[50\%\]{top:50%}.-right-2\.5{right:calc(var(--spacing) * -2.5)}.right-0{right:0}.right-3{right:calc(var(--spacing) * 3)}.bottom-0{bottom:0}.left-0{left:0}.left-4{left:calc(var(--spacing) * 4)}.z-0{z-index:0}.z-1{z-index:1}.col-1{grid-column:1}.col-2{grid-column:2}.col-3{grid-column:3}.col-start-2{grid-column-start:2}.row-1{grid-row:1}.row-2{grid-row:2}.row-span-full{grid-row:1/-1}.container{width:100%}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}.mx-4{margin-inline:calc(var(--spacing) * 4)}.-my-\[0\.13em\]{margin-block:-.13em}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mt-\[-0\.38em\]{margin-top:-.38em}.mr-4{margin-right:calc(var(--spacing) * 4)}.-mb-0\.5{margin-bottom:calc(var(--spacing) * -.5)}.mb-\[-0\.38em\]{margin-bottom:-.38em}.-ml-4{margin-left:calc(var(--spacing) * -4)}.box-content{box-sizing:content-box}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.h-8\.5{height:calc(var(--spacing) * 8.5)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-18{height:calc(var(--spacing) * 18)}.h-24{height:calc(var(--spacing) * 24)}.h-32{height:calc(var(--spacing) * 32)}.h-\[1em\]{height:1em}.h-full{height:100%}.h-svh{height:100svh}.max-h-\[calc\(100vh-12rem\)\]{max-height:calc(100vh - 12rem)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-svh{min-height:100svh}.w-2{width:calc(var(--spacing) * 2)}.w-4{width:calc(var(--spacing) * 4)}.w-12{width:calc(var(--spacing) * 12)}.w-24{width:calc(var(--spacing) * 24)}.w-\[1em\]{width:1em}.w-\[20\%\]{width:20%}.w-\[30\%\]{width:30%}.w-\[40\%\]{width:40%}.w-\[50\%\]{width:50%}.w-\[60\%\]{width:60%}.w-\[80\%\]{width:80%}.w-full{width:100%}.w-svw{width:100svw}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-10{min-width:calc(var(--spacing) * 10)}.min-w-min{min-width:min-content}.shrink{flex-shrink:1}.grow{flex-grow:1}.-translate-y-4{--tw-translate-y:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-placeholder-pulse{animation:var(--animate-placeholder-pulse)}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-cols-\[0px_1fr_0px\]{grid-template-columns:0 1fr 0}.grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_auto_auto\]{grid-template-columns:auto auto auto}.grid-cols-\[repeat\(auto-fit\,minmax\(0\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-16{gap:calc(var(--spacing) * 16)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-8{row-gap:calc(var(--spacing) * 8)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-soft-border>:not(:last-child)){border-color:var(--color-soft-border)}.self-center{align-self:center}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-y-scroll{overflow-y:scroll}.rounded-full{border-radius:2147483647px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y-2{border-block-style:var(--tw-border-style);border-block-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-accent{border-color:var(--color-accent)}.border-soft-border{border-color:var(--color-soft-border)}.border-y-transparent{border-block-color:#0000}.border-b-accent{border-bottom-color:var(--color-accent)}.border-b-soft-border{border-bottom-color:var(--color-soft-border)}.bg-accent{background-color:var(--color-accent)}.bg-bg{background-color:var(--color-bg)}.bg-bg-navbar{background-color:var(--color-bg-navbar)}.bg-bg-raised{background-color:var(--color-bg-raised)}.bg-error-text{background-color:var(--color-error-text)}.bg-placeholder{background-color:var(--color-placeholder)}.bg-soft-accent{background-color:var(--color-soft-accent)}.bg-soft-error{background-color:var(--color-soft-error)}.bg-soft-success{background-color:var(--color-soft-success)}.bg-soft-warning{background-color:var(--color-soft-warning)}.bg-success-text{background-color:var(--color-success-text)}.bg-transparent{background-color:#0000}.bg-warning-text{background-color:var(--color-warning-text)}.p-4{padding:calc(var(--spacing) * 4)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-4\.5{padding-block:calc(var(--spacing) * 4.5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-12{padding-left:calc(var(--spacing) * 12)}.text-center{text-align:center}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.text-2xl{font-size:var(--text-2xl)}.text-icon-lg{font-size:var(--text-icon-lg)}.text-icon-md{font-size:var(--text-icon-md)}.text-icon-xl{font-size:var(--text-icon-xl)}.text-icon-xs{font-size:var(--text-icon-xs)}.text-lg{font-size:var(--text-lg)}.text-md{font-size:var(--text-md)}.text-mdlg{font-size:var(--text-mdlg)}.text-sm{font-size:var(--text-sm)}.text-xl{font-size:var(--text-xl)}.text-xs{font-size:var(--text-xs)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-accent-text{color:var(--color-accent-text)}.text-error-text{color:var(--color-error-text)}.text-fg{color:var(--color-fg)}.text-fg-strong{color:var(--color-fg-strong)}.text-fg-weak{color:var(--color-fg-weak)}.text-fg-weak-on-raised{color:var(--color-fg-weak-on-raised)}.text-success-text{color:var(--color-success-text)}.text-warning-text{color:var(--color-warning-text)}.italic{font-style:italic}.font-stretch-semi-condensed{font-stretch:87.5%}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-97{opacity:.97}.transition-\[opacity\,visibility\,translate\]{transition-property:opacity,visibility,translate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[opacity\,visibility\]{transition-property:opacity,visibility;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\[--color-fg-strong\:var\(--color-accent-text\)\]{--color-fg-strong:var(--color-accent-text)}.\[--color-fg-strong\:var\(--color-error-text\)\]{--color-fg-strong:var(--color-error-text)}.\[--color-fg-strong\:var\(--color-on-accent\)\]{--color-fg-strong:var(--color-on-accent)}.\[--color-fg-strong\:var\(--color-success-text\)\]{--color-fg-strong:var(--color-success-text)}.\[--color-fg-strong\:var\(--color-warning-text\)\]{--color-fg-strong:var(--color-warning-text)}.\[--color-fg-weak\:var\(--color-accent-text\)\]{--color-fg-weak:var(--color-accent-text)}.\[--color-fg-weak\:var\(--color-error-text\)\]{--color-fg-weak:var(--color-error-text)}.\[--color-fg-weak\:var\(--color-on-accent\)\]{--color-fg-weak:var(--color-on-accent)}.\[--color-fg-weak\:var\(--color-success-text\)\]{--color-fg-weak:var(--color-success-text)}.\[--color-fg-weak\:var\(--color-warning-text\)\]{--color-fg-weak:var(--color-warning-text)}.\[--color-fg\:var\(--color-accent-text\)\]{--color-fg:var(--color-accent-text)}.\[--color-fg\:var\(--color-error-text\)\]{--color-fg:var(--color-error-text)}.\[--color-fg\:var\(--color-on-accent\)\]{--color-fg:var(--color-on-accent)}.\[--color-fg\:var\(--color-success-text\)\]{--color-fg:var(--color-success-text)}.\[--color-fg\:var\(--color-warning-text\)\]{--color-fg:var(--color-warning-text)}.not-disabled\:cursor-pointer:not(:disabled){cursor:pointer}.not-disabled\:\[--color-fg-strong\:var\(--color-on-accent\)\]:not(:disabled){--color-fg-strong:var(--color-on-accent)}.not-disabled\:\[--color-fg-strong\:var\(--color-on-error\)\]:not(:disabled){--color-fg-strong:var(--color-on-error)}.not-disabled\:\[--color-fg-strong\:var\(--color-on-success\)\]:not(:disabled){--color-fg-strong:var(--color-on-success)}.not-disabled\:\[--color-fg-strong\:var\(--color-on-warning\)\]:not(:disabled){--color-fg-strong:var(--color-on-warning)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-accent\)\]:not(:disabled){--color-fg-weak:var(--color-on-accent)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-error\)\]:not(:disabled){--color-fg-weak:var(--color-on-error)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-success\)\]:not(:disabled){--color-fg-weak:var(--color-on-success)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-warning\)\]:not(:disabled){--color-fg-weak:var(--color-on-warning)}.not-disabled\:\[--color-fg\:var\(--color-on-accent\)\]:not(:disabled){--color-fg:var(--color-on-accent)}.not-disabled\:\[--color-fg\:var\(--color-on-error\)\]:not(:disabled){--color-fg:var(--color-on-error)}.not-disabled\:\[--color-fg\:var\(--color-on-success\)\]:not(:disabled){--color-fg:var(--color-on-success)}.not-disabled\:\[--color-fg\:var\(--color-on-warning\)\]:not(:disabled){--color-fg:var(--color-on-warning)}@media not all and (width>=48rem){.not-desktop\:bottom-0{bottom:0}.not-desktop\:row-1{grid-row:1}.not-desktop\:hidden{display:none}.not-desktop\:translate-y-4{--tw-translate-y:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.not-desktop\:grid-rows-\[1fr_auto\]{grid-template-rows:1fr auto}.not-desktop\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.not-desktop\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.not-desktop\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.not-desktop\:border-soft-border{border-color:var(--color-soft-border)}.not-desktop\:bg-bg-navbar{background-color:var(--color-bg-navbar)}.not-desktop\:px-4{padding-inline:calc(var(--spacing) * 4)}.not-desktop\:pt-6{padding-top:calc(var(--spacing) * 6)}.not-desktop\:pr-2{padding-right:calc(var(--spacing) * 2)}.not-desktop\:pb-18{padding-bottom:calc(var(--spacing) * 18)}.not-desktop\:pl-4{padding-left:calc(var(--spacing) * 4)}}.group-not-disabled\:border-soft-border:is(:where(.group):not(:disabled) *){border-color:var(--color-soft-border)}.group-not-disabled\:border-transparent:is(:where(.group):not(:disabled) *){border-color:#0000}.group-not-disabled\:bg-accent:is(:where(.group):not(:disabled) *){background-color:var(--color-accent)}.group-not-disabled\:bg-error:is(:where(.group):not(:disabled) *){background-color:var(--color-error)}.group-not-disabled\:bg-soft:is(:where(.group):not(:disabled) *){background-color:var(--color-soft)}.group-not-disabled\:bg-success:is(:where(.group):not(:disabled) *){background-color:var(--color-success)}.group-not-disabled\:bg-transparent:is(:where(.group):not(:disabled) *){background-color:#0000}.group-not-disabled\:bg-warning:is(:where(.group):not(:disabled) *){background-color:var(--color-warning)}@media (hover:hover){.group-hover\:bg-accent-hover:is(:where(.group):hover *){background-color:var(--color-accent-hover)}.group-hover\:bg-soft:is(:where(.group):hover *){background-color:var(--color-soft)}.group-hover\:bg-soft-hover:is(:where(.group):hover *){background-color:var(--color-soft-hover)}.group-not-disabled\:group-hover\:bg-accent-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-accent-hover)}.group-not-disabled\:group-hover\:bg-error-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-error-hover)}.group-not-disabled\:group-hover\:bg-soft-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-soft-hover)}.group-not-disabled\:group-hover\:bg-success-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-success-hover)}.group-not-disabled\:group-hover\:bg-warning-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-warning-hover)}}.group-active\:bg-accent-active:is(:where(.group):active *){background-color:var(--color-accent-active)}.group-active\:bg-soft-active:is(:where(.group):active *){background-color:var(--color-soft-active)}.group-not-disabled\:group-active\:bg-accent-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-accent-active)}.group-not-disabled\:group-active\:bg-error-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-error-active)}.group-not-disabled\:group-active\:bg-soft-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-soft-active)}.group-not-disabled\:group-active\:bg-success-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-success-active)}.group-not-disabled\:group-active\:bg-warning-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-warning-active)}.group-disabled\:border-soft-border-disabled:is(:where(.group):disabled *){border-color:var(--color-soft-border-disabled)}.placeholder\:font-normal::placeholder{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.placeholder\:text-fg-weak::placeholder{color:var(--color-fg-weak)}@media not all and (width>=48rem){.not-desktop\:last\:-mb-px:last-child{margin-bottom:-1px}}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:underline:hover{text-decoration-line:underline}}.disabled\:\[--color-fg-strong\:var\(--color-fg-weak\)\]:disabled{--color-fg-strong:var(--color-fg-weak)}.disabled\:\[--color-fg\:var\(--color-fg-weak\)\]:disabled{--color-fg:var(--color-fg-weak)}@media (width>=48rem){.desktop\:top-0{top:0}.desktop\:row-2{grid-row:2}.desktop\:mx-4{margin-inline:calc(var(--spacing) * 4)}.desktop\:hidden{display:none}.desktop\:h-8{height:calc(var(--spacing) * 8)}.desktop\:max-w-150{max-width:calc(var(--spacing) * 150)}.desktop\:-translate-y-4{--tw-translate-y:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.desktop\:grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.desktop\:grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.desktop\:flex-col-reverse{flex-direction:column-reverse}.desktop\:gap-2{gap:calc(var(--spacing) * 2)}.desktop\:gap-6{gap:calc(var(--spacing) * 6)}.desktop\:rounded-lg{border-radius:var(--radius-lg)}.desktop\:border{border-style:var(--tw-border-style);border-width:1px}.desktop\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.desktop\:border-soft-border{border-color:var(--color-soft-border)}.desktop\:px-4{padding-inline:calc(var(--spacing) * 4)}.desktop\:py-8{padding-block:calc(var(--spacing) * 8)}.desktop\:pt-6{padding-top:calc(var(--spacing) * 6)}.desktop\:pt-8{padding-top:calc(var(--spacing) * 8)}.desktop\:pt-12{padding-top:calc(var(--spacing) * 12)}.desktop\:pb-4{padding-bottom:calc(var(--spacing) * 4)}.desktop\:pl-11{padding-left:calc(var(--spacing) * 11)}.desktop\:text-icon-lg{font-size:var(--text-icon-lg)}.desktop\:text-md{font-size:var(--text-md)}}@media (width>=64rem){.widescreen\:grid-cols-\[1fr_64rem_1fr\]{grid-template-columns:1fr 64rem 1fr}}}body{background-color:var(--color-bg-navbar);font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}body.light,body.light dialog{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){body:not(.light),body:not(.light) dialog{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0f1115;--color-bg-raised:#191d24;--color-bg-dialog:#242933;--color-bg-navbar:#242933;--color-fg:#ebf1ffcc;--color-fg-strong:#fff;--color-fg-weak:#d6e4ff99;--color-fg-weak-on-raised:#8a94a7;--color-accent:#5ea6ed;--color-accent-hover:#75b3f0;--color-accent-active:#4799eb;--color-accent-text:#80bfff;--color-soft-accent:#4ca6ff26;--color-on-accent:#000;--color-soft:#a5c3ff1f;--color-soft-hover:#a9c6ff29;--color-soft-active:#a1c0ff14;--color-soft-border:#3f485a;--color-soft-border-disabled:#343c4b;--color-placeholder:#b8cfff4d;--color-field-border:#ccddff80;--color-shadow:#0009;--color-shadow-weak:#0003;--color-error:#e46767;--color-error-hover:#e87d7d;--color-error-active:#e05252;--color-error-text:#ff8080;--color-soft-error:#ff4c4c26;--color-on-error:#000;--color-warning:#e0b152;--color-warning-hover:#e8c47d;--color-warning-active:#dda73c;--color-warning-text:#ffd580;--color-soft-warning:#ffc44c26;--color-on-warning:#000;--color-success:#5cd670;--color-success-hover:#85e094;--color-success-active:#47d15e;--color-success-text:#99e6a6;--color-soft-success:#33ff551a;--color-on-success:#000}}body.dark,body.dark dialog{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0f1115;--color-bg-raised:#191d24;--color-bg-dialog:#242933;--color-bg-navbar:#242933;--color-fg:#ebf1ffcc;--color-fg-strong:#fff;--color-fg-weak:#d6e4ff99;--color-fg-weak-on-raised:#8a94a7;--color-accent:#5ea6ed;--color-accent-hover:#75b3f0;--color-accent-active:#4799eb;--color-accent-text:#80bfff;--color-soft-accent:#4ca6ff26;--color-on-accent:#000;--color-soft:#a5c3ff1f;--color-soft-hover:#a9c6ff29;--color-soft-active:#a1c0ff14;--color-soft-border:#3f485a;--color-soft-border-disabled:#343c4b;--color-placeholder:#b8cfff4d;--color-field-border:#ccddff80;--color-shadow:#0009;--color-shadow-weak:#0003;--color-error:#e46767;--color-error-hover:#e87d7d;--color-error-active:#e05252;--color-error-text:#ff8080;--color-soft-error:#ff4c4c26;--color-on-error:#000;--color-warning:#e0b152;--color-warning-hover:#e8c47d;--color-warning-active:#dda73c;--color-warning-text:#ffd580;--color-soft-warning:#ffc44c26;--color-on-warning:#000;--color-success:#5cd670;--color-success-hover:#85e094;--color-success-active:#47d15e;--color-success-text:#99e6a6;--color-soft-success:#33ff551a;--color-on-success:#000}@font-face{font-family:Mona Sans;font-weight:200 900;font-display:swap;src:url(/mona-sans.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes placeholder-pulse{0%,to{opacity:.5}50%{opacity:1}}