@sbb-esta/lyne-elements-experimental 2.5.1 → 2.7.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 (104) hide show
  1. package/core/datetime/date-helper.js +191 -0
  2. package/core/datetime.d.ts +3 -0
  3. package/core/datetime.d.ts.map +1 -1
  4. package/core/datetime.js +3 -189
  5. package/core/timetable/access-leg-helper.js +94 -0
  6. package/core/timetable/timetable-helper.js +13 -0
  7. package/core/timetable/timetable-properties.js +1 -0
  8. package/core/timetable.d.ts +3 -0
  9. package/core/timetable.d.ts.map +1 -1
  10. package/core/timetable.js +6 -102
  11. package/custom-elements.json +602 -433
  12. package/development/core/datetime/date-helper.js +285 -0
  13. package/development/core/datetime.d.ts +3 -0
  14. package/development/core/datetime.d.ts.map +1 -1
  15. package/development/core/datetime.js +2 -281
  16. package/development/core/timetable/access-leg-helper.js +128 -0
  17. package/development/core/timetable/timetable-helper.js +21 -0
  18. package/development/core/timetable/timetable-properties.js +2 -0
  19. package/development/core/timetable.d.ts +3 -0
  20. package/development/core/timetable.d.ts.map +1 -1
  21. package/development/core/timetable.js +3 -139
  22. package/development/{differenceInMinutes-Cmyza6nm.js → differenceInMinutes-CHSyWiQs.js} +2 -2
  23. package/development/{format-BU7bjY-L.js → format-D0-yhzi4.js} +3 -3
  24. package/development/{isValid-DO_pHwcW.js → isValid-Bo4R7iA7.js} +2 -2
  25. package/development/journey-summary/journey-summary.js +297 -0
  26. package/development/journey-summary.d.ts +3 -0
  27. package/development/journey-summary.d.ts.map +1 -1
  28. package/development/journey-summary.js +2 -294
  29. package/development/pearl-chain/pearl-chain.js +649 -0
  30. package/development/pearl-chain-time/pearl-chain-time.js +315 -0
  31. package/development/pearl-chain-time.d.ts +3 -0
  32. package/development/pearl-chain-time.d.ts.map +1 -1
  33. package/development/pearl-chain-time.js +2 -312
  34. package/development/pearl-chain-vertical/pearl-chain-vertical.js +45 -0
  35. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.js +395 -0
  36. package/development/pearl-chain-vertical-item.d.ts +3 -0
  37. package/development/pearl-chain-vertical-item.d.ts.map +1 -1
  38. package/development/pearl-chain-vertical-item.js +2 -392
  39. package/development/pearl-chain-vertical.d.ts +3 -0
  40. package/development/pearl-chain-vertical.d.ts.map +1 -1
  41. package/development/pearl-chain-vertical.js +2 -42
  42. package/development/pearl-chain.d.ts +3 -0
  43. package/development/pearl-chain.d.ts.map +1 -1
  44. package/development/pearl-chain.js +2 -646
  45. package/development/timetable-duration/timetable-duration.js +119 -0
  46. package/development/timetable-duration.d.ts +3 -0
  47. package/development/timetable-duration.d.ts.map +1 -1
  48. package/development/timetable-duration.js +2 -116
  49. package/development/timetable-row/timetable-row.d.ts +1 -0
  50. package/development/timetable-row/timetable-row.d.ts.map +1 -1
  51. package/development/timetable-row/timetable-row.js +820 -0
  52. package/development/timetable-row.d.ts +3 -0
  53. package/development/timetable-row.d.ts.map +1 -1
  54. package/development/timetable-row.js +2 -788
  55. package/development/{toDate-B6IBgPYH.js → toDate-D_Vjps95.js} +5 -5
  56. package/{differenceInMinutes-BI2zjbtS.js → differenceInMinutes-BMqUZdhj.js} +1 -1
  57. package/{format-CUYwLzoN.js → format-Dg8rkk7h.js} +2 -2
  58. package/index.d.ts +7 -7
  59. package/index.js +7 -7
  60. package/{isValid-mroh13Xp.js → isValid-DJ69OMZJ.js} +6 -6
  61. package/journey-summary/journey-summary.js +190 -0
  62. package/journey-summary.d.ts +3 -0
  63. package/journey-summary.d.ts.map +1 -1
  64. package/journey-summary.js +2 -188
  65. package/package.json +3 -3
  66. package/pearl-chain/pearl-chain.js +177 -0
  67. package/pearl-chain-time/pearl-chain-time.js +153 -0
  68. package/pearl-chain-time.d.ts +3 -0
  69. package/pearl-chain-time.d.ts.map +1 -1
  70. package/pearl-chain-time.js +2 -151
  71. package/pearl-chain-vertical/pearl-chain-vertical.js +23 -0
  72. package/pearl-chain-vertical-item/pearl-chain-vertical-item.js +71 -0
  73. package/pearl-chain-vertical-item.d.ts +3 -0
  74. package/pearl-chain-vertical-item.d.ts.map +1 -1
  75. package/pearl-chain-vertical-item.js +2 -69
  76. package/pearl-chain-vertical.d.ts +3 -0
  77. package/pearl-chain-vertical.d.ts.map +1 -1
  78. package/pearl-chain-vertical.js +2 -21
  79. package/pearl-chain.d.ts +3 -0
  80. package/pearl-chain.d.ts.map +1 -1
  81. package/pearl-chain.js +2 -175
  82. package/timetable-duration/timetable-duration.js +55 -0
  83. package/timetable-duration.d.ts +3 -0
  84. package/timetable-duration.d.ts.map +1 -1
  85. package/timetable-duration.js +2 -53
  86. package/timetable-row/timetable-row.d.ts +1 -0
  87. package/timetable-row/timetable-row.d.ts.map +1 -1
  88. package/timetable-row/timetable-row.js +462 -0
  89. package/timetable-row.d.ts +3 -0
  90. package/timetable-row.d.ts.map +1 -1
  91. package/timetable-row.js +9 -439
  92. package/{toDate-DQg4ZFnf.js → toDate-BCXKL_wM.js} +4 -4
  93. package/development/pearl-chain/pearl-chain.sample-data.d.ts +0 -140
  94. package/development/pearl-chain/pearl-chain.sample-data.d.ts.map +0 -1
  95. package/development/timetable-duration/timetable-duration.sample-data.d.ts +0 -6
  96. package/development/timetable-duration/timetable-duration.sample-data.d.ts.map +0 -1
  97. package/development/timetable-row/timetable-row.sample-data.d.ts +0 -24
  98. package/development/timetable-row/timetable-row.sample-data.d.ts.map +0 -1
  99. package/pearl-chain/pearl-chain.sample-data.d.ts +0 -140
  100. package/pearl-chain/pearl-chain.sample-data.d.ts.map +0 -1
  101. package/timetable-duration/timetable-duration.sample-data.d.ts +0 -6
  102. package/timetable-duration/timetable-duration.sample-data.d.ts.map +0 -1
  103. package/timetable-row/timetable-row.sample-data.d.ts +0 -24
  104. package/timetable-row/timetable-row.sample-data.d.ts.map +0 -1
package/timetable-row.js CHANGED
@@ -1,441 +1,11 @@
1
- var Qe = (e) => {
2
- throw TypeError(e);
3
- };
4
- var Ke = (e, i, s) => i.has(e) || Qe("Cannot " + s);
5
- var T = (e, i, s) => (Ke(e, i, "read from private field"), s ? s.call(e) : i.get(e)), A = (e, i, s) => i.has(e) ? Qe("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(e) : i.set(e, s), h = (e, i, s, n) => (Ke(e, i, "write to private field"), n ? n.call(e, s) : i.set(e, s), s);
6
- import { __runInitializers as d, __esDecorate as w } from "tslib";
7
- import { SbbLanguageController as ft } from "@sbb-esta/lyne-elements/core/controllers.js";
8
- import { defaultDateAdapter as Ye } from "@sbb-esta/lyne-elements/core/datetime.js";
9
- import { forceType as I } from "@sbb-esta/lyne-elements/core/decorators.js";
10
- import { setOrRemoveAttribute as yt } from "@sbb-esta/lyne-elements/core/dom.js";
11
- import { i18nFromPlatform as vt, i18nDeparture as Xe, i18nMeansOfTransport as X, i18nDirection as Ze, i18nRealTimeInfo as Ge, i18nSupersaver as Ve, i18nTransferProcedures as xt, i18nArrival as wt, i18nClass as et, i18nOccupancy as tt, i18nTravelhints as $t, i18nTripDuration as at, i18nNew as it, i18nTripQuayChange as Tt } from "@sbb-esta/lyne-elements/core/i18n.js";
12
- import { css as At, LitElement as Nt, nothing as f, html as m } from "lit";
13
- import { customElement as Ct, property as N } from "lit/decorators.js";
14
- import { removeTimezoneFromISOTimeString as st, durationToTime as rt } from "./core/datetime.js";
15
- import { isRideLeg as bt, getDepartureArrivalTimeAttribute as kt } from "./core/timetable.js";
16
- import "@sbb-esta/lyne-elements/card.js";
17
- import "@sbb-esta/lyne-elements/icon.js";
18
- import "@sbb-esta/lyne-elements/timetable-occupancy.js";
19
- import "./pearl-chain-time.js";
20
- import { f as nt } from "./format-CUYwLzoN.js";
21
- const zt = At`*,:before,:after{box-sizing:border-box}:host{--sbb-timetable-row-gap: var(--sbb-spacing-fixed-2x);--sbb-timetable-row-height: 1.5625rem;--sbb-timetable-row-height-header: 1.25rem;--sbb-timetable-row-height-footer: 1rem;--sbb-timetable-row-skeleton-pulse-duration: 1.8s;display:block}:host([disable-animation]){--sbb-timetable-row-skeleton-pulse-duration: 0}.sbb-timetable__row-transport-icon{--sbb-icon-svg-width: 1.25rem;--sbb-icon-svg-height: 1.25rem}.sbb-travel-hints__item{--sbb-icon-svg-height: .875rem}.sbb-screen-reader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sbb-timetable__row--quay{margin-inline-end:var(--sbb-spacing-fixed-1x)}.sbb-timetable__row--quay-type{float:left}ul{list-style:none;margin:0;padding:0;font-size:inherit;display:inline-flex}li,.sbb-timetable__row-transport{display:inline-flex;align-self:center}.sbb-timetable__row-transportnumber,.sbb-timetable__row-time{--sbb-text-font-size: var(--sbb-font-size-text-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);font-weight:700;line-height:unset;white-space:nowrap;align-self:center}.sbb-timetable__row{--sbb-text-font-size: var(--sbb-font-size-text-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);display:flex;flex-direction:column;gap:var(--sbb-timetable-row-gap)}.sbb-timetable__row-header,.sbb-timetable__row-footer{animation:none}.sbb-timetable__row-header{display:flex;gap:var(--sbb-spacing-fixed-2x);align-items:center;line-height:var(--sbb-timetable-row-height-header)}.sbb-timetable__row-details,.sbb-timetable__row-hints{display:inline-flex;gap:var(--sbb-spacing-fixed-1x);align-items:center}.sbb-timetable__row-header p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;align-self:center}.sbb-timetable__row-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--sbb-spacing-fixed-2x);line-height:var(--sbb-timetable-row-height-footer)}.sbb-timetable__row-footer>span{align-self:center}.sbb-timetable__row-footer :only-child{margin-inline-start:auto}.sbb-timetable__row-quay--changed{color:var(--sbb-color-red)}.sbb-timetable__row-transport-wrapper,.sbb-timetable__row-warning{display:inline-flex}.sbb-loading{pointer-events:none}.sbb-loading__wrapper{display:flex;flex-direction:column;gap:var(--sbb-spacing-fixed-2x)}.sbb-loading__row{width:100%;border-radius:var(--sbb-border-radius-1x);height:var(--sbb-timetable-row-height)}@media (min-width: 52.5rem){.sbb-loading__row{height:1.75rem}}@media (forced-colors: active){.sbb-loading__row{border:var(--sbb-border-width-1x) solid ButtonBorder!important}}.sbb-loading__row,.sbb-loading__badge{background:var(--sbb-color-cloud);animation:skeleton-pulse var(--sbb-timetable-row-skeleton-pulse-duration) ease-out infinite}.sbb-loading__row:first-of-type{height:var(--sbb-timetable-row-height-header);width:50%}.sbb-loading__row:last-of-type{height:var(--sbb-timetable-row-height-footer)}.sbb-loading__badge{margin-inline:auto calc(var(--sbb-spacing-fixed-3x) * -1);padding-inline-end:var(--sbb-spacing-fixed-6x);border-end-start-radius:var(--sbb-border-radius-4x);transform:skew(16deg);width:7.1875rem;height:1.25rem}@keyframes skeleton-pulse{0%{background:var(--sbb-color-cloud)}17%{background:var(--sbb-color-cloud)}50%{background:var(--sbb-color-milk)}67%{background:var(--sbb-color-milk)}to{background:var(--sbb-color-cloud)}}`, It = (e, i) => m`<span class="sbb-timetable__row-transport">
22
- <sbb-icon name=${e}></sbb-icon>
23
- <span class="sbb-screen-reader-only">${i}</span>
24
- </span>`, Mt = (e, i) => {
25
- const s = ["M", "B", "T"].includes(e) ? " " : "";
26
- return m`<span class="sbb-timetable__row-transportnumber">
27
- ${i !== null ? e + s + i : e}
28
- </span>`;
29
- }, ot = (e) => {
30
- var i, s, n;
31
- return (n = (s = (i = e == null ? void 0 : e.find((b) => {
32
- var r, p;
33
- return (p = (r = b.serviceJourney) == null ? void 0 : r.serviceAlteration) == null ? void 0 : p.reachableText;
34
- })) == null ? void 0 : i.serviceJourney) == null ? void 0 : s.serviceAlteration) == null ? void 0 : n.reachableText;
35
- }, Et = (e) => {
36
- var i, s, n;
37
- return (n = (s = (i = e == null ? void 0 : e.find((b) => {
38
- var r, p;
39
- return (p = (r = b.serviceJourney) == null ? void 0 : r.serviceAlteration) == null ? void 0 : p.delayText;
40
- })) == null ? void 0 : i.serviceJourney) == null ? void 0 : s.serviceAlteration) == null ? void 0 : n.delayText;
41
- }, lt = (e) => {
42
- var i, s, n;
43
- return (n = (s = (i = e == null ? void 0 : e.find((b) => {
44
- var r, p;
45
- return !!((p = (r = b.serviceJourney) == null ? void 0 : r.serviceAlteration) != null && p.redirectedText);
46
- })) == null ? void 0 : i.serviceJourney) == null ? void 0 : s.serviceAlteration) == null ? void 0 : n.redirectedText;
47
- }, ct = (e) => {
48
- var i, s, n;
49
- return (n = (s = (i = e == null ? void 0 : e.find((b) => {
50
- var r, p;
51
- return !!((p = (r = b.serviceJourney) == null ? void 0 : r.serviceAlteration) != null && p.unplannedStopPointsText);
52
- })) == null ? void 0 : i.serviceJourney) == null ? void 0 : s.serviceAlteration) == null ? void 0 : n.unplannedStopPointsText;
53
- }, Lt = (e) => {
54
- const i = {
55
- DISTURBANCE: 0,
56
- INFORMATION: 1,
57
- DELAY: 2,
58
- TRAIN_REPLACEMENT_BY_BUS: 3,
59
- CONSTRUCTION_SITE: 4,
60
- END_MESSAGE: 5
61
- };
62
- return [...e].sort((s, n) => i[s.cause] - i[n.cause]);
63
- }, Rt = (e) => {
64
- var i;
65
- switch (e == null ? void 0 : e.cause) {
66
- case "DISTURBANCE":
67
- return {
68
- name: "disruption",
69
- text: (i = e == null ? void 0 : e.broadcastMessages) != null && i.length ? e == null ? void 0 : e.broadcastMessages[0].title : ""
70
- };
71
- case "INFORMATION":
72
- return {
73
- name: "info",
74
- text: e != null && e.broadcastMessages.length ? e == null ? void 0 : e.broadcastMessages[0].title : ""
75
- };
76
- case "DELAY":
77
- return {
78
- name: "delay",
79
- text: e != null && e.broadcastMessages.length ? e == null ? void 0 : e.broadcastMessages[0].title : ""
80
- };
81
- case "TRAIN_REPLACEMENT_BY_BUS":
82
- return {
83
- name: "replacementbus",
84
- text: e != null && e.broadcastMessages.length ? e == null ? void 0 : e.broadcastMessages[0].title : ""
85
- };
86
- case "CONSTRUCTION_SITE":
87
- return {
88
- name: "construction",
89
- text: e != null && e.broadcastMessages.length ? e == null ? void 0 : e.broadcastMessages[0].title : ""
90
- };
91
- default:
92
- return {
93
- name: "info",
94
- text: e != null && e.broadcastMessages.length ? e == null ? void 0 : e.broadcastMessages[0].title : ""
95
- };
96
- }
97
- }, St = (e, i) => {
98
- const { summary: s, legs: n } = e || {}, b = n == null ? void 0 : n.filter((p) => bt(p)), { tripStatus: r } = s || {};
99
- if (r != null && r.cancelled || r != null && r.partiallyCancelled)
100
- return { name: "cancellation", text: r == null ? void 0 : r.cancelledText };
101
- if (ot(b))
102
- return { name: "missed-connection", text: ot(b) };
103
- if (r != null && r.alternative)
104
- return { name: "alternative", text: r.alternativeText };
105
- if (lt(b))
106
- return { name: "reroute", text: lt(b) };
107
- if (ct(b))
108
- return { name: "add-stop", text: ct(b) };
109
- if (r != null && r.delayed || r != null && r.delayedUnknown)
110
- return { name: "delay", text: Et(b) };
111
- if (r != null && r.quayChanged) {
112
- const p = b[0].departure;
113
- return {
114
- name: "platform-change",
115
- text: p.quayChanged ? p.quayChangedText : Tt[i]
116
- };
117
- }
118
- return {};
119
- }, Ot = (e) => {
120
- const i = ["RR", "RK", "RC", "RL", "RM", "RS", "RU", "XP", "XR", "XT"];
121
- return e.reduce((s, n) => {
122
- if (s)
123
- return s;
124
- if (i.includes(n.name))
125
- return { ...n, name: "RR" };
126
- }, void 0);
127
- }, Pt = (e) => {
128
- const i = ["Z", "SB", "SZ", "VR", "TG"];
129
- return e.filter((n, b) => e.findIndex((r) => r.name === n.name) === b).filter((n) => i.includes(n.name)).sort((n, b) => i.indexOf(n.name) - i.indexOf(b.name));
130
- }, ee = (e) => {
131
- const i = Ot(e), s = Pt(e);
132
- return i === void 0 ? s : s.length ? s[0].name === "Z" && s[1] ? [s[0], i, s[1]].concat(s.slice(2)) : [i, ...s] : [i];
133
- };
134
- let ta = (() => {
135
- var M, E, L, R, S, O, P, D, F, B, _;
136
- let e = [Ct("sbb-timetable-row")], i, s = [], n, b = Nt, r = [], p, te = [], ae = [], ie, se = [], re = [], ne, oe = [], le = [], ce, be = [], de = [], he, ge = [], me = [], pe, _e = [], ue = [], fe, ye = [], ve = [], xe, we = [], $e = [], Te, Ae = [], Ne = [], Ce, ke = [], ze = [], Ie;
137
- return _ = class extends b {
138
- constructor() {
139
- super(...arguments);
140
- A(this, M);
141
- A(this, E);
142
- A(this, L);
143
- A(this, R);
144
- A(this, S);
145
- A(this, O);
146
- A(this, P);
147
- A(this, D);
148
- A(this, F);
149
- A(this, B);
150
- h(this, M, (d(this, r), d(this, te, null))), h(this, E, (d(this, ae), d(this, se, null))), h(this, L, (d(this, re), d(this, oe, !1))), h(this, R, (d(this, le), d(this, be, null))), h(this, S, (d(this, de), d(this, ge, !1))), h(this, O, (d(this, me), d(this, _e, !1))), h(this, P, (d(this, ue), d(this, ye, !1))), h(this, D, (d(this, ve), d(this, we, ""))), h(this, F, (d(this, $e), d(this, Ae, !1))), h(this, B, (d(this, Ne), d(this, ke, !1))), this._now = (d(this, ze), null), this._language = new ft(this);
151
- }
152
- /** The trip Prop. */
153
- get trip() {
154
- return T(this, M);
155
- }
156
- set trip(a) {
157
- h(this, M, a);
158
- }
159
- /** The price Prop, which consists of the data for the badge. */
160
- get price() {
161
- return T(this, E);
162
- }
163
- set price(a) {
164
- h(this, E, a);
165
- }
166
- /** This will be forwarded to the sbb-pearl-chain component - if true the position won't be animated. */
167
- get disableAnimation() {
168
- return T(this, L);
169
- }
170
- set disableAnimation(a) {
171
- h(this, L, a);
172
- }
173
- /** This will be forwarded to the notices section */
174
- get boarding() {
175
- return T(this, R);
176
- }
177
- set boarding(a) {
178
- h(this, R, a);
179
- }
180
- /**
181
- * The loading state -
182
- * when this is true it will be render skeleton with an idling animation
183
- */
184
- get loadingTrip() {
185
- return T(this, S);
186
- }
187
- set loadingTrip(a) {
188
- h(this, S, a);
189
- }
190
- /**
191
- * The Footpath attribute for rendering different icons
192
- * true: render a11y-icon
193
- * false: render walk-icon
194
- * default: render walk-icon
195
- */
196
- get a11yFootpath() {
197
- return T(this, O);
198
- }
199
- set a11yFootpath(a) {
200
- h(this, O, a);
201
- }
202
- /**
203
- * The loading state -
204
- * when this is true it will be render skeleton with an idling animation
205
- */
206
- get loadingPrice() {
207
- return T(this, P);
208
- }
209
- set loadingPrice(a) {
210
- h(this, P, a);
211
- }
212
- /**
213
- * Hidden label for the card action. It overrides the automatically generated accessibility text for the component. Use this prop to provide custom accessibility information for the component.
214
- */
215
- get cardActionLabel() {
216
- return T(this, D);
217
- }
218
- set cardActionLabel(a) {
219
- h(this, D, a);
220
- }
221
- /** This will be forwarded to the sbb-card component as aria-expanded. */
222
- get accessibilityExpanded() {
223
- return T(this, F);
224
- }
225
- set accessibilityExpanded(a) {
226
- h(this, F, a);
227
- }
228
- /** When this prop is true the sbb-card will be in the active state. */
229
- get active() {
230
- return T(this, B);
231
- }
232
- set active(a) {
233
- h(this, B, a);
234
- }
235
- /** A configured date which acts as the current date instead of the real current date. Recommended for testing purposes. */
236
- set now(a) {
237
- this._now = Ye.getValidDateOrNull(Ye.deserialize(a));
238
- }
239
- get now() {
240
- return this._now ?? /* @__PURE__ */ new Date();
241
- }
242
- willUpdate(a) {
243
- super.willUpdate(a), a.has("loadingTrip") && yt(this, "role", this.loadingTrip ? null : "rowgroup");
244
- }
245
- /** The skeleton render function for the loading state */
246
- _renderSkeleton() {
247
- return m`
248
- <sbb-card size="l" class="sbb-loading">
249
- ${this.loadingPrice ? m`<sbb-card-badge class="sbb-loading__badge"></sbb-card-badge>` : f}
250
- <div class="sbb-loading__wrapper">
251
- <div class="sbb-loading__row"></div>
252
- <div class="sbb-loading__row"></div>
253
- <div class="sbb-loading__row"></div>
254
- </div>
255
- </sbb-card>
256
- `;
257
- }
258
- _getQuayTypeStrings() {
259
- var $, l, z;
260
- if (!(($ = this.trip.summary) != null && $.product))
261
- return null;
262
- const a = (l = this.trip.legs) == null ? void 0 : l.filter((u) => bt(u)), o = ((z = this.trip.summary.product) == null ? void 0 : z.vehicleMode) === "TRAIN" ? a[0].serviceJourney.quayTypeShortName || "" : a[0].serviceJourney.quayTypeName || "";
263
- return {
264
- long: vt[this._language.current] + " " + o,
265
- short: o
266
- };
267
- }
268
- /** map Quay */
269
- _renderQuayType() {
270
- var t;
271
- if (!((t = this.trip.summary) != null && t.product))
272
- return;
273
- const a = this._getQuayTypeStrings();
274
- return m`
275
- <span class="sbb-timetable__row--quay">
276
- <span class="sbb-screen-reader-only">${a == null ? void 0 : a.long}&nbsp;</span>
277
- <span class="sbb-timetable__row--quay-type" aria-hidden="true"
278
- >${a == null ? void 0 : a.short}</span
279
- >
280
- </span>
281
- `;
282
- }
283
- _handleHimCus(a) {
284
- var l;
285
- const { situations: t } = a || {}, o = t && Lt(t), $ = St(a, this._language.current);
286
- return {
287
- cus: (l = Object.keys($)) != null && l.length ? $ : null,
288
- him: t != null && t.length ? Rt(o[0]) : null
289
- };
290
- }
291
- _getAccessibilityText(a) {
292
- var Le, Re, Se, Oe, Pe, De, Fe, Be, qe, Ue, We, Je;
293
- const { summary: t, legs: o, notices: $ } = a || {}, { departureWalk: l, arrivalWalk: z, departure: u, arrival: g, product: v, direction: Z, occupancy: c, duration: C } = t || {}, { departureTimeAttribute: x, arrivalTimeAttribute: q } = kt(o, l || 0, z || 0, this._language.current, this.a11yFootpath), k = u != null && u.time ? st(u.time) : void 0, U = g != null && g.time ? st(g.time) : void 0, W = x ? `${x.text} ${x.duration}, ` : "", J = q ? `${q.text} ${q.duration}, ` : "", j = k ? `${Xe[this._language.current]}: ${nt(k, "HH:mm")}, ` : "", H = () => {
294
- var Y;
295
- return u != null && u.quayFormatted ? `${u != null && u.quayChanged ? `${it[this._language.current]} ` : ""}${(Y = this._getQuayTypeStrings()) == null ? void 0 : Y.long} ${u == null ? void 0 : u.quayFormatted}, ` : "";
296
- }, Q = v && v.vehicleMode ? X[v.vehicleMode.toLowerCase()] && `${X[v.vehicleMode.toLowerCase()][this._language.current]}, ` : "", G = v != null && v.vehicleSubModeShortName ? `${v.vehicleSubModeShortName} ${v.line || ""}, ` : "", K = `${Ze[this._language.current]} ${Z}, `, y = this._handleHimCus(a), Me = (Le = y == null ? void 0 : y.cus) != null && Le.text ? `${Ge[this._language.current]}: ${(Re = y == null ? void 0 : y.cus) == null ? void 0 : Re.text}, ` : "", dt = (Se = y == null ? void 0 : y.him) != null && Se.text ? `${Ge[this._language.current]}: ${(Oe = y == null ? void 0 : y.him) == null ? void 0 : Oe.text}, ` : "", ht = this.boarding ? `${this.boarding.text}, ` : "", gt = `${(Pe = this.price) != null && Pe.isDiscount ? Ve[this._language.current] : ""} ${(De = this.price) != null && De.text && ((Fe = this.price) != null && Fe.price) ? (((Be = this.price) == null ? void 0 : Be.text) || "") + " " + (((qe = this.price) == null ? void 0 : qe.price) || "") + ", " : ""}`, mt = (o == null ? void 0 : o.length) > 1 ? `${(o == null ? void 0 : o.length) - 1} ${xt[this._language.current]}, ` : "", pt = U ? `${wt[this._language.current]}: ${nt(U, "HH:mm")}, ` : "";
297
- let V = "";
298
- c && (c.firstClass && c.firstClass !== "UNKNOWN" && (V += `${et.first[this._language.current]} ${(Ue = tt[c.firstClass.toLowerCase()]) == null ? void 0 : Ue[this._language.current]}.`), c.secondClass && c.secondClass !== "UNKNOWN" && (V += ` ${et.second[this._language.current]} ${(We = tt[c.secondClass.toLowerCase()]) == null ? void 0 : We[this._language.current]}.`));
299
- const Ee = $ && ee($).length && ((Je = ee($)) == null ? void 0 : Je.map((je, Y) => {
300
- var He;
301
- return Y < 4 && ((He = je.text) == null ? void 0 : He.template);
302
- }).join(", ")) + ", ", _t = Ee ? `${$t[this._language.current]}: ${Ee}` : "", ut = C && C > 0 ? `${at[this._language.current]} ${rt(C, this._language.current).long}, ` : "";
303
- return `${W} ${j} ${H()} ${Q} ${G} ${K} ${Me} ${ht} ${gt} ${Me ? "" : dt} ${pt} ${J} ${ut} ${mt} ${V} ${_t}`;
304
- }
305
- render() {
306
- var W, J, j, H;
307
- if (this.loadingTrip)
308
- return this._renderSkeleton();
309
- const { legs: a, id: t, notices: o, summary: $ } = this.trip || {}, { product: l, direction: z, departureWalk: u, departure: g, arrival: v, arrivalWalk: Z, occupancy: c, duration: C } = $ || {}, x = this._handleHimCus(this.trip), q = !!x.cus || !!x.him, k = o && ee(o), U = C ? rt(C, this._language.current) : null;
310
- return m`
311
- <sbb-card size="l" id=${t}>
312
- <sbb-card-button
313
- ?active=${this.active}
314
- aria-expanded=${this.accessibilityExpanded ? "true" : f}
315
- >
316
- ${this.cardActionLabel ? this.cardActionLabel : this._getAccessibilityText(this.trip)}
317
- </sbb-card-button>
318
- ${this.loadingPrice ? m`<sbb-card-badge class="sbb-loading__badge"></sbb-card-badge>` : f}
319
- ${this.price && !this.loadingPrice ? m`<sbb-card-badge color=${this.price.isDiscount ? "charcoal" : "white"}>
320
- ${this.price.isDiscount ? m`<span aria-hidden="true">
321
- %<span class="sbb-screen-reader-only"
322
- >${Ve[this._language.current]}</span
323
- >
324
- </span>` : f}
325
- ${this.price.text ? m`<span>${this.price.text}</span>` : f}
326
- ${this.price.price ? m`<span>${this.price.price}</span>` : f}
327
- </sbb-card-badge>` : f}
328
- <div class="sbb-timetable__row" role="row">
329
- <div class="sbb-timetable__row-header" role="gridcell">
330
- <div class="sbb-timetable__row-details">
331
- ${(l == null ? void 0 : l.corporateIdentityPictogram) && m`<span class="sbb-timetable__row-transport-wrapper">
332
- <sbb-icon
333
- class="sbb-timetable__row-transport-icon"
334
- name="picto:${l.corporateIdentityPictogram}"
335
- ></sbb-icon>
336
- <span class="sbb-screen-reader-only">
337
- ${l && l.vehicleMode && X[l.vehicleMode.toLowerCase()] && X[l.vehicleMode.toLowerCase()][this._language.current]}
338
- &nbsp;
339
- </span>
340
- </span>`}
341
- ${l && (l.corporateIdentityIcon ? It(l.corporateIdentityIcon, l.name) : l.vehicleSubModeShortName && Mt(l.vehicleSubModeShortName, l == null ? void 0 : l.line))}
342
- </div>
343
- ${z ? m`<p>${`${Ze[this._language.current]} ${z}`}</p>` : f}
344
- </div>
345
- <sbb-pearl-chain-time
346
- role="gridcell"
347
- .legs=${a}
348
- .departureTime=${g == null ? void 0 : g.time}
349
- .arrivalTime=${v == null ? void 0 : v.time}
350
- .departureWalk=${u}
351
- .arrivalWalk=${Z}
352
- ?disable-animation=${this.disableAnimation}
353
- ?a11y-footpath=${this.a11yFootpath}
354
- .now=${this.now}
355
- ></sbb-pearl-chain-time>
356
- <div class="sbb-timetable__row-footer" role="gridcell">
357
- ${l && (g != null && g.quayFormatted) ? m`<span
358
- class=${g != null && g.quayChanged ? "sbb-timetable__row-quay--changed" : f}
359
- >
360
- <span class="sbb-screen-reader-only">
361
- ${`${Xe[this._language.current]} ${g != null && g.quayChanged ? it[this._language.current] : ""}`}
362
- &nbsp;
363
- </span>
364
- ${this._renderQuayType()} ${g == null ? void 0 : g.quayFormatted}
365
- </span>` : f}
366
- ${c != null && c.firstClass && (c == null ? void 0 : c.firstClass) !== "UNKNOWN" || c != null && c.secondClass && c.secondClass !== "UNKNOWN" ? m`<sbb-timetable-occupancy
367
- .firstClassOccupancy=${(W = c == null ? void 0 : c.firstClass) == null ? void 0 : W.toLowerCase()}
368
- .secondClassOccupancy=${(J = c == null ? void 0 : c.secondClass) == null ? void 0 : J.toLowerCase()}
369
- ></sbb-timetable-occupancy>` : f}
370
- ${k && k.length || this.boarding ? m`<ul class="sbb-timetable__row-hints" role="list">
371
- ${k == null ? void 0 : k.map((Q, G) => {
372
- var K, y;
373
- return G < 4 ? m`<li>
374
- <sbb-icon
375
- class="sbb-travel-hints__item"
376
- name=${"sa-" + ((K = Q.name) == null ? void 0 : K.toLowerCase())}
377
- ></sbb-icon>
378
- <span class="sbb-screen-reader-only">${(y = Q.text) == null ? void 0 : y.template}</span>
379
- </li>` : f;
380
- })}
381
- ${this.boarding ? m`<li>
382
- <sbb-icon
383
- class="sbb-travel-hints__item"
384
- name=${(j = this.boarding) == null ? void 0 : j.name}
385
- aria-label=${(H = this.boarding) == null ? void 0 : H.text}
386
- aria-hidden="false"
387
- ></sbb-icon>
388
- </li>` : f}
389
- </ul>` : f}
390
- ${C && C > 0 ? m`<time>
391
- <span class="sbb-screen-reader-only">
392
- ${`${at[this._language.current]} ${U.long}`}
393
- </span>
394
- <span aria-hidden="true">${U.short}</span>
395
- </time>` : f}
396
- ${q && (x.cus || x.him) ? m`<span class="sbb-timetable__row-warning">
397
- <sbb-icon name=${(x.cus || x.him).name}></sbb-icon>
398
- <span class="sbb-screen-reader-only">${(x.cus || x.him).text}</span>
399
- </span>` : f}
400
- </div>
401
- </div>
402
- </sbb-card>
403
- `;
404
- }
405
- }, M = new WeakMap(), E = new WeakMap(), L = new WeakMap(), R = new WeakMap(), S = new WeakMap(), O = new WeakMap(), P = new WeakMap(), D = new WeakMap(), F = new WeakMap(), B = new WeakMap(), n = _, (() => {
406
- const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
407
- p = [N({ type: Object })], ie = [N({ type: Object })], ne = [I(), N({ attribute: "disable-animation", reflect: !0, type: Boolean })], ce = [N({ type: Object })], he = [I(), N({ attribute: "loading-trip", type: Boolean })], pe = [I(), N({ attribute: "a11y-footpath", type: Boolean })], fe = [I(), N({ attribute: "loading-price", type: Boolean })], xe = [I(), N({ attribute: "card-action-label" })], Te = [I(), N({ attribute: "accessibility-expanded", type: Boolean })], Ce = [I(), N({ type: Boolean })], Ie = [N()], w(_, null, p, { kind: "accessor", name: "trip", static: !1, private: !1, access: { has: (t) => "trip" in t, get: (t) => t.trip, set: (t, o) => {
408
- t.trip = o;
409
- } }, metadata: a }, te, ae), w(_, null, ie, { kind: "accessor", name: "price", static: !1, private: !1, access: { has: (t) => "price" in t, get: (t) => t.price, set: (t, o) => {
410
- t.price = o;
411
- } }, metadata: a }, se, re), w(_, null, ne, { kind: "accessor", name: "disableAnimation", static: !1, private: !1, access: { has: (t) => "disableAnimation" in t, get: (t) => t.disableAnimation, set: (t, o) => {
412
- t.disableAnimation = o;
413
- } }, metadata: a }, oe, le), w(_, null, ce, { kind: "accessor", name: "boarding", static: !1, private: !1, access: { has: (t) => "boarding" in t, get: (t) => t.boarding, set: (t, o) => {
414
- t.boarding = o;
415
- } }, metadata: a }, be, de), w(_, null, he, { kind: "accessor", name: "loadingTrip", static: !1, private: !1, access: { has: (t) => "loadingTrip" in t, get: (t) => t.loadingTrip, set: (t, o) => {
416
- t.loadingTrip = o;
417
- } }, metadata: a }, ge, me), w(_, null, pe, { kind: "accessor", name: "a11yFootpath", static: !1, private: !1, access: { has: (t) => "a11yFootpath" in t, get: (t) => t.a11yFootpath, set: (t, o) => {
418
- t.a11yFootpath = o;
419
- } }, metadata: a }, _e, ue), w(_, null, fe, { kind: "accessor", name: "loadingPrice", static: !1, private: !1, access: { has: (t) => "loadingPrice" in t, get: (t) => t.loadingPrice, set: (t, o) => {
420
- t.loadingPrice = o;
421
- } }, metadata: a }, ye, ve), w(_, null, xe, { kind: "accessor", name: "cardActionLabel", static: !1, private: !1, access: { has: (t) => "cardActionLabel" in t, get: (t) => t.cardActionLabel, set: (t, o) => {
422
- t.cardActionLabel = o;
423
- } }, metadata: a }, we, $e), w(_, null, Te, { kind: "accessor", name: "accessibilityExpanded", static: !1, private: !1, access: { has: (t) => "accessibilityExpanded" in t, get: (t) => t.accessibilityExpanded, set: (t, o) => {
424
- t.accessibilityExpanded = o;
425
- } }, metadata: a }, Ae, Ne), w(_, null, Ce, { kind: "accessor", name: "active", static: !1, private: !1, access: { has: (t) => "active" in t, get: (t) => t.active, set: (t, o) => {
426
- t.active = o;
427
- } }, metadata: a }, ke, ze), w(_, null, Ie, { kind: "setter", name: "now", static: !1, private: !1, access: { has: (t) => "now" in t, set: (t, o) => {
428
- t.now = o;
429
- } }, metadata: a }, null, r), w(null, i = { value: n }, e, { kind: "class", name: n.name, metadata: a }, null, s), n = i.value, a && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a });
430
- })(), _.styles = zt, d(n, s), n;
431
- })();
1
+ import { SbbTimetableRowElement as o, filterNotices as r, getCus as i, getHimIcon as n, handleNotices as c, renderIconProduct as d, renderStringProduct as l, sortSituation as m } from "./timetable-row/timetable-row.js";
432
2
  export {
433
- ta as SbbTimetableRowElement,
434
- Pt as filterNotices,
435
- St as getCus,
436
- Rt as getHimIcon,
437
- ee as handleNotices,
438
- It as renderIconProduct,
439
- Mt as renderStringProduct,
440
- Lt as sortSituation
3
+ o as SbbTimetableRowElement,
4
+ r as filterNotices,
5
+ i as getCus,
6
+ n as getHimIcon,
7
+ c as handleNotices,
8
+ d as renderIconProduct,
9
+ l as renderStringProduct,
10
+ m as sortSituation
441
11
  };
@@ -6,10 +6,10 @@ function f(n, o) {
6
6
  return s(o || n, n);
7
7
  }
8
8
  export {
9
- e as a,
10
- i as b,
9
+ r as a,
10
+ e as b,
11
11
  s as c,
12
- r as d,
13
- c as m,
12
+ c as d,
13
+ i as m,
14
14
  f as t
15
15
  };
@@ -1,140 +0,0 @@
1
- export declare const futureLeg: any;
2
- export declare const connectionLeg: any;
3
- export declare const extendedLeg: {
4
- __typename: string;
5
- arrival: {
6
- time: string;
7
- };
8
- departure: {
9
- time: string;
10
- };
11
- serviceJourney: {
12
- notices: {
13
- name: string;
14
- text: {
15
- template: string;
16
- };
17
- }[];
18
- quayTypeName: string;
19
- quayTypeShortName: string;
20
- serviceAlteration: {
21
- cancelled: boolean;
22
- delayText: string;
23
- reachable: boolean;
24
- unplannedStopPointsText: string;
25
- };
26
- };
27
- };
28
- export declare const longFutureLeg: {
29
- __typename: string;
30
- arrival: {
31
- time: string;
32
- };
33
- departure: {
34
- time: string;
35
- };
36
- serviceJourney: {
37
- quayTypeName: string;
38
- quayTypeShortName: string;
39
- serviceAlteration: {
40
- cancelled: boolean;
41
- delayText: string;
42
- reachable: boolean;
43
- unplannedStopPointsText: string;
44
- };
45
- };
46
- };
47
- export declare const cancelledLeg: any;
48
- export declare const progressLeg: any;
49
- export declare const pastLeg: any;
50
- export declare const defaultBusLeg: any;
51
- export declare const pastBusLeg: any;
52
- export declare const defaultShipLeg: any;
53
- export declare const defaultTramLeg: any;
54
- export declare const delayedLeg: {
55
- __typename: string;
56
- arrival: {
57
- time: string;
58
- };
59
- departure: {
60
- time: string;
61
- };
62
- serviceJourney: {
63
- serviceAlteration: {
64
- delay: boolean;
65
- };
66
- quayTypeName: string;
67
- quayTypeShortName: string;
68
- };
69
- };
70
- export declare const notReachableLeg: {
71
- __typename: string;
72
- arrival: {
73
- time: string;
74
- };
75
- departure: {
76
- time: string;
77
- };
78
- serviceJourney: {
79
- serviceAlteration: {
80
- reachable: boolean;
81
- };
82
- quayTypeName: string;
83
- quayTypeShortName: string;
84
- };
85
- };
86
- export declare const unplannedStopLeg: {
87
- __typename: string;
88
- arrival: {
89
- time: string;
90
- };
91
- departure: {
92
- time: string;
93
- };
94
- serviceJourney: {
95
- serviceAlteration: {
96
- unplannedStopPointsText: string;
97
- };
98
- quayTypeName: string;
99
- quayTypeShortName: string;
100
- };
101
- };
102
- export declare const redirectedOnDepartureLeg: {
103
- __typename: string;
104
- arrival: {
105
- time: string;
106
- };
107
- departure: {
108
- time: string;
109
- };
110
- serviceJourney: {
111
- serviceAlteration: {
112
- redirectedText: string;
113
- };
114
- quayTypeName: string;
115
- quayTypeShortName: string;
116
- stopPoints: {
117
- stopStatus: string;
118
- }[];
119
- };
120
- };
121
- export declare const redirectedOnArrivalLeg: {
122
- __typename: string;
123
- arrival: {
124
- time: string;
125
- };
126
- departure: {
127
- time: string;
128
- };
129
- serviceJourney: {
130
- stopPoints: {
131
- stopStatus: string;
132
- }[];
133
- serviceAlteration: {
134
- redirectedText: string;
135
- };
136
- quayTypeName: string;
137
- quayTypeShortName: string;
138
- };
139
- };
140
- //# sourceMappingURL=pearl-chain.sample-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pearl-chain.sample-data.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/pearl-chain/pearl-chain.sample-data.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,SAAS,EAAE,GAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,GA2B3B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;CAQvB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;CAKzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,GAK1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,GAKzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,GAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,GAG3B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,GAGxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,GAO5B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,GAO5B,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAKtB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAK3B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;CAK5B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;CAQpC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;CAKlC,CAAC"}
@@ -1,6 +0,0 @@
1
- declare const _default: {
2
- hours: number;
3
- minutes: number;
4
- }[];
5
- export default _default;
6
- //# sourceMappingURL=timetable-duration.sample-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timetable-duration.sample-data.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/timetable-duration/timetable-duration.sample-data.ts"],"names":[],"mappings":";;;;AAAA,wBAaE"}
@@ -1,24 +0,0 @@
1
- import { ITripItem } from '../core/timetable.js';
2
- export type DeepPartial<T> = T extends object ? {
3
- [P in keyof T]?: DeepPartial<T[P]>;
4
- } : T;
5
- export declare const defaultTrip: DeepPartial<ITripItem>;
6
- export declare const connectionTrip: DeepPartial<ITripItem>;
7
- export declare const cancelledTrip: DeepPartial<ITripItem>;
8
- export declare const progressTrip: DeepPartial<ITripItem>;
9
- export declare const partiallyCancelled: DeepPartial<ITripItem>;
10
- export declare const pastTrip: DeepPartial<ITripItem>;
11
- export declare const skippedLastArrivalStopTrip: DeepPartial<ITripItem>;
12
- export declare const skippedArrivalStopTrip: DeepPartial<ITripItem>;
13
- export declare const skippedDepartureStopTrip: DeepPartial<ITripItem>;
14
- export declare const skippedFirstDepartureStopTrip: DeepPartial<ITripItem>;
15
- export declare const disturbanceTrip: DeepPartial<ITripItem>;
16
- export declare const quayChangeTrip: DeepPartial<ITripItem>;
17
- export declare const trainTrip: DeepPartial<ITripItem>;
18
- export declare const busTrip: DeepPartial<ITripItem>;
19
- export declare const shipTrip: DeepPartial<ITripItem>;
20
- export declare const walkTimeTrip: DeepPartial<ITripItem>;
21
- export declare const a11yFootpathTrip: DeepPartial<ITripItem>;
22
- export declare const extendedEnterTimeTrip: DeepPartial<ITripItem>;
23
- export declare const noticesTrip: DeepPartial<ITripItem>;
24
- //# sourceMappingURL=timetable-row.sample-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timetable-row.sample-data.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/timetable-row/timetable-row.sample-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAiBtD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GACzC;KACG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACnC,GACD,CAAC,CAAC;AAEN,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,SAAS,CAoB9C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,SAAS,CAGjD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,SAAS,CA2BhD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,SAAS,CAoB/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,WAAW,CAAC,SAAS,CAuBrD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,WAAW,CAAC,SAAS,CAwB3C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,WAAW,CAAC,SAAS,CAkB7D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,SAAS,CAkBzD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,SAAS,CAkB3D,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,WAAW,CAAC,SAAS,CAkBhE,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,SAAS,CA+DlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,WAAW,CAAC,SAAS,CA8CjD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,SAAS,CA8B5C,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,WAAW,CAAC,SAAS,CA8B1C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,WAAW,CAAC,SAAS,CAuB3C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,SAAS,CA0J/C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,SAAS,CAAuB,CAAC;AAE5E,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,SAAS,CA4BxD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,SAAS,CAsF9C,CAAC"}