@wovvmap/ui-headless 0.0.0-stage → 1.2.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.
- package/README.md +24 -2
- package/dist/HeaderInfoController.d.ts +44 -0
- package/dist/HeaderInfoController.d.ts.map +1 -0
- package/dist/HeaderInfoController.js +112 -0
- package/dist/appearance.d.ts +26 -0
- package/dist/appearance.d.ts.map +1 -0
- package/dist/appearance.js +117 -0
- package/dist/classic/ClassicController.d.ts +124 -0
- package/dist/classic/ClassicController.d.ts.map +1 -0
- package/dist/classic/ClassicController.js +1131 -0
- package/dist/classic/classic.types.d.ts +111 -0
- package/dist/classic/classic.types.d.ts.map +1 -0
- package/dist/classic/classic.types.js +1 -0
- package/dist/classic/index.d.ts +3 -0
- package/dist/classic/index.d.ts.map +1 -0
- package/dist/classic/index.js +2 -0
- package/dist/components.d.ts +253 -0
- package/dist/components.d.ts.map +1 -0
- package/dist/components.js +30 -0
- package/dist/directions/DirectionController.d.ts +76 -0
- package/dist/directions/DirectionController.d.ts.map +1 -0
- package/dist/directions/DirectionController.js +467 -0
- package/dist/directions/direction.types.d.ts +81 -0
- package/dist/directions/direction.types.d.ts.map +1 -0
- package/dist/directions/direction.types.js +1 -0
- package/dist/directions/directionPresentation.d.ts +17 -0
- package/dist/directions/directionPresentation.d.ts.map +1 -0
- package/dist/directions/directionPresentation.js +34 -0
- package/dist/flow/DiscoveryFlowController.d.ts +36 -0
- package/dist/flow/DiscoveryFlowController.d.ts.map +1 -0
- package/dist/flow/DiscoveryFlowController.js +162 -0
- package/dist/flow/FlowHistoryController.d.ts +14 -0
- package/dist/flow/FlowHistoryController.d.ts.map +1 -0
- package/dist/flow/FlowHistoryController.js +31 -0
- package/dist/flow/index.d.ts +3 -0
- package/dist/flow/index.d.ts.map +1 -0
- package/dist/flow/index.js +2 -0
- package/dist/gallery/PromotionGalleryController.d.ts +32 -0
- package/dist/gallery/PromotionGalleryController.d.ts.map +1 -0
- package/dist/gallery/PromotionGalleryController.js +80 -0
- package/dist/gallery/index.d.ts +2 -0
- package/dist/gallery/index.d.ts.map +1 -0
- package/dist/gallery/index.js +1 -0
- package/dist/headerInfo.d.ts +27 -0
- package/dist/headerInfo.d.ts.map +1 -0
- package/dist/headerInfo.js +70 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/presentation.d.ts +49 -0
- package/dist/presentation.d.ts.map +1 -0
- package/dist/presentation.js +116 -0
- package/dist/routes/RoutePreviewController.d.ts +61 -0
- package/dist/routes/RoutePreviewController.d.ts.map +1 -0
- package/dist/routes/RoutePreviewController.js +321 -0
- package/dist/routes/playback/RoutePlaybackController.d.ts +26 -0
- package/dist/routes/playback/RoutePlaybackController.d.ts.map +1 -0
- package/dist/routes/playback/RoutePlaybackController.js +115 -0
- package/dist/routes/routePlayback.types.d.ts +38 -0
- package/dist/routes/routePlayback.types.d.ts.map +1 -0
- package/dist/routes/routePlayback.types.js +1 -0
- package/dist/routes/routePreview.types.d.ts +71 -0
- package/dist/routes/routePreview.types.d.ts.map +1 -0
- package/dist/routes/routePreview.types.js +1 -0
- package/dist/routes/routePreviewPresentation.d.ts +8 -0
- package/dist/routes/routePreviewPresentation.d.ts.map +1 -0
- package/dist/routes/routePreviewPresentation.js +26 -0
- package/dist/routes/routeStepIcons.d.ts +15 -0
- package/dist/routes/routeStepIcons.d.ts.map +1 -0
- package/dist/routes/routeStepIcons.js +102 -0
- package/dist/routes/routeStepPresentation.d.ts +5 -0
- package/dist/routes/routeStepPresentation.d.ts.map +1 -0
- package/dist/routes/routeStepPresentation.js +15 -0
- package/dist/routes/routeSteps.types.d.ts +51 -0
- package/dist/routes/routeSteps.types.d.ts.map +1 -0
- package/dist/routes/routeSteps.types.js +1 -0
- package/dist/routes/steps/RouteStepsController.d.ts +49 -0
- package/dist/routes/steps/RouteStepsController.d.ts.map +1 -0
- package/dist/routes/steps/RouteStepsController.js +312 -0
- package/dist/saved-routes/SavedRoutesController.d.ts +76 -0
- package/dist/saved-routes/SavedRoutesController.d.ts.map +1 -0
- package/dist/saved-routes/SavedRoutesController.js +366 -0
- package/dist/storeHours.d.ts +19 -0
- package/dist/storeHours.d.ts.map +1 -0
- package/dist/storeHours.js +155 -0
- package/dist/storeList.d.ts +19 -0
- package/dist/storeList.d.ts.map +1 -0
- package/dist/storeList.js +21 -0
- package/dist/theme.d.ts +42 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.js +56 -0
- package/package.json +32 -3
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { freezeInteractionState, } from '@wovvmap/contracts';
|
|
2
|
+
import { FlowHistoryController } from './FlowHistoryController.js';
|
|
3
|
+
/** Accepted action/Back ordering shared by every template; hosts never maintain a second history.
|
|
4
|
+
* Hinglish: Latest accepted action hi history banaye; Native aur WebView double push na karein. */
|
|
5
|
+
export class DiscoveryFlowController {
|
|
6
|
+
port;
|
|
7
|
+
equalContext;
|
|
8
|
+
history = new FlowHistoryController((a, b) => JSON.stringify(a.interaction) === JSON.stringify(b.interaction) &&
|
|
9
|
+
this.equalContext(a.context, b.context));
|
|
10
|
+
sequence = 0;
|
|
11
|
+
pending;
|
|
12
|
+
current;
|
|
13
|
+
restoring = false;
|
|
14
|
+
constructor(port, equalContext) {
|
|
15
|
+
this.port = port;
|
|
16
|
+
this.equalContext = equalContext;
|
|
17
|
+
}
|
|
18
|
+
get isRestoring() {
|
|
19
|
+
return this.restoring;
|
|
20
|
+
}
|
|
21
|
+
get isPending() {
|
|
22
|
+
return this.pending !== undefined;
|
|
23
|
+
}
|
|
24
|
+
get size() {
|
|
25
|
+
return this.history.size;
|
|
26
|
+
}
|
|
27
|
+
begin(context, mapClick = false) {
|
|
28
|
+
const id = ++this.sequence;
|
|
29
|
+
this.restoring = false;
|
|
30
|
+
const previousSelection = this.current?.interaction.selection ?? null;
|
|
31
|
+
const before = this.pending?.before ??
|
|
32
|
+
this.port
|
|
33
|
+
.getInteractionState()
|
|
34
|
+
.then((interaction) => {
|
|
35
|
+
if (!interaction)
|
|
36
|
+
return null;
|
|
37
|
+
return {
|
|
38
|
+
interaction: freezeInteractionState(mapClick ? { ...interaction, selection: previousSelection } : interaction),
|
|
39
|
+
context,
|
|
40
|
+
};
|
|
41
|
+
})
|
|
42
|
+
.catch(() => null);
|
|
43
|
+
this.pending = { id, before };
|
|
44
|
+
return id;
|
|
45
|
+
}
|
|
46
|
+
async accept(id, getContext) {
|
|
47
|
+
const pending = this.pending;
|
|
48
|
+
if (pending?.id !== id)
|
|
49
|
+
return false;
|
|
50
|
+
const before = await pending.before;
|
|
51
|
+
if (this.pending?.id !== id)
|
|
52
|
+
return false;
|
|
53
|
+
const interaction = await this.port.getInteractionState();
|
|
54
|
+
if (this.pending?.id !== id)
|
|
55
|
+
return false;
|
|
56
|
+
if (interaction) {
|
|
57
|
+
const next = { interaction: freezeInteractionState(interaction), context: getContext() };
|
|
58
|
+
if (before &&
|
|
59
|
+
before.interaction.mallId === interaction.mallId &&
|
|
60
|
+
before.interaction.revision === interaction.revision)
|
|
61
|
+
this.history.push(before, next);
|
|
62
|
+
this.current = next;
|
|
63
|
+
}
|
|
64
|
+
this.pending = undefined;
|
|
65
|
+
return interaction !== null;
|
|
66
|
+
}
|
|
67
|
+
/** Enter an overlay after settling an earlier accepted preview, using the same bounded history.
|
|
68
|
+
* Hinglish: Detail ka pending preview pehle capture ho; direction overlay doosri stack na banaye. */
|
|
69
|
+
async enter(context, next) {
|
|
70
|
+
const pending = this.pending;
|
|
71
|
+
// Another ACK can accept the same preview while we await it; only a newer sequence retires entry.
|
|
72
|
+
// Hinglish: Wahi preview doosre ACK se accept ho jaye to entry valid hai; naya intent hi ise retire kare.
|
|
73
|
+
if (pending && !(await this.accept(pending.id, () => context)) && this.sequence !== pending.id)
|
|
74
|
+
return false;
|
|
75
|
+
return this.accept(this.begin(context), next);
|
|
76
|
+
}
|
|
77
|
+
async reject(id) {
|
|
78
|
+
const pending = this.pending;
|
|
79
|
+
if (pending?.id !== id)
|
|
80
|
+
return null;
|
|
81
|
+
this.pending = undefined;
|
|
82
|
+
const frame = await pending.before;
|
|
83
|
+
if (!frame || this.sequence !== id)
|
|
84
|
+
return null;
|
|
85
|
+
this.restoring = true;
|
|
86
|
+
try {
|
|
87
|
+
const current = await this.port.getInteractionState();
|
|
88
|
+
if (this.sequence !== id)
|
|
89
|
+
return null;
|
|
90
|
+
if (JSON.stringify(current) !== JSON.stringify(frame.interaction)) {
|
|
91
|
+
const restored = await this.port.restoreInteractionState(frame.interaction);
|
|
92
|
+
if (JSON.stringify(restored) !== JSON.stringify(frame.interaction))
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
return this.sequence === id ? frame.context : null;
|
|
96
|
+
}
|
|
97
|
+
catch {
|
|
98
|
+
// Do not show an old UI context if the domain rollback itself failed.
|
|
99
|
+
// Hinglish: Domain rollback fail ho to purani UI ko sahi restored bata kar na dikhayein.
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
finally {
|
|
103
|
+
if (this.sequence === id)
|
|
104
|
+
this.restoring = false;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/** A failed Back keeps its entry; restoration never creates a new history entry.
|
|
108
|
+
* Hinglish: Restore fail ho to entry wahi rahe; Back khud nayi entry na banaye. */
|
|
109
|
+
async back(validate, apply, options) {
|
|
110
|
+
if (this.restoring)
|
|
111
|
+
return true;
|
|
112
|
+
const pending = this.pending;
|
|
113
|
+
const id = ++this.sequence;
|
|
114
|
+
this.pending = undefined;
|
|
115
|
+
this.restoring = true;
|
|
116
|
+
try {
|
|
117
|
+
const frame = pending ? await pending.before : this.history.peek();
|
|
118
|
+
if (id !== this.sequence)
|
|
119
|
+
return true;
|
|
120
|
+
if (!frame)
|
|
121
|
+
return false;
|
|
122
|
+
validate(frame.context);
|
|
123
|
+
const state = options
|
|
124
|
+
? await this.port.restoreInteractionState(frame.interaction, options)
|
|
125
|
+
: await this.port.restoreInteractionState(frame.interaction);
|
|
126
|
+
if (id !== this.sequence)
|
|
127
|
+
return true;
|
|
128
|
+
const expected = options?.preserveOrigin && frame.interaction.endpoints && state.endpoints
|
|
129
|
+
? freezeInteractionState({
|
|
130
|
+
...frame.interaction,
|
|
131
|
+
endpoints: {
|
|
132
|
+
...frame.interaction.endpoints,
|
|
133
|
+
origin: state.endpoints.origin,
|
|
134
|
+
},
|
|
135
|
+
})
|
|
136
|
+
: frame.interaction;
|
|
137
|
+
if (JSON.stringify(state) !== JSON.stringify(expected))
|
|
138
|
+
throw new Error('A newer interaction superseded history restoration');
|
|
139
|
+
if (!pending)
|
|
140
|
+
this.history.pop();
|
|
141
|
+
this.current = { ...frame, interaction: freezeInteractionState(state) };
|
|
142
|
+
apply(frame.context);
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
catch (error) {
|
|
146
|
+
if (id !== this.sequence)
|
|
147
|
+
return true;
|
|
148
|
+
throw error;
|
|
149
|
+
}
|
|
150
|
+
finally {
|
|
151
|
+
if (id === this.sequence)
|
|
152
|
+
this.restoring = false;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
reset() {
|
|
156
|
+
++this.sequence;
|
|
157
|
+
this.pending = undefined;
|
|
158
|
+
this.current = undefined;
|
|
159
|
+
this.restoring = false;
|
|
160
|
+
this.history.clear();
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Bounded per-viewer past contexts; no writable domain state or forward-action replay.
|
|
2
|
+
* Hinglish: Sirf accepted purane contexts rakhein; map ka duplicate store ya command replay nahi. */
|
|
3
|
+
export declare class FlowHistoryController<T> {
|
|
4
|
+
private readonly equals;
|
|
5
|
+
private readonly limit;
|
|
6
|
+
private entries;
|
|
7
|
+
constructor(equals: (a: T, b: T) => boolean, limit?: number);
|
|
8
|
+
get size(): number;
|
|
9
|
+
peek(): T | undefined;
|
|
10
|
+
push(previous: T, next: T): void;
|
|
11
|
+
pop(): T | undefined;
|
|
12
|
+
clear(): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=FlowHistoryController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowHistoryController.d.ts","sourceRoot":"","sources":["../../src/flow/FlowHistoryController.ts"],"names":[],"mappings":"AAAA;qGACqG;AACrG,qBAAa,qBAAqB,CAAC,CAAC;IAGhC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHxB,OAAO,CAAC,OAAO,CAAU;gBAEN,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,EAC/B,KAAK,SAAK;IAE7B,IAAI,IAAI,IAAI,MAAM,CAEjB;IACD,IAAI,IAAI,CAAC,GAAG,SAAS;IAGrB,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI;IAMhC,GAAG,IAAI,CAAC,GAAG,SAAS;IAGpB,KAAK,IAAI,IAAI;CAGd"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Bounded per-viewer past contexts; no writable domain state or forward-action replay.
|
|
2
|
+
* Hinglish: Sirf accepted purane contexts rakhein; map ka duplicate store ya command replay nahi. */
|
|
3
|
+
export class FlowHistoryController {
|
|
4
|
+
equals;
|
|
5
|
+
limit;
|
|
6
|
+
entries = [];
|
|
7
|
+
constructor(equals, limit = 20) {
|
|
8
|
+
this.equals = equals;
|
|
9
|
+
this.limit = limit;
|
|
10
|
+
}
|
|
11
|
+
get size() {
|
|
12
|
+
return this.entries.length;
|
|
13
|
+
}
|
|
14
|
+
peek() {
|
|
15
|
+
return this.entries.at(-1);
|
|
16
|
+
}
|
|
17
|
+
push(previous, next) {
|
|
18
|
+
const last = this.peek();
|
|
19
|
+
if (this.equals(previous, next) || (last !== undefined && this.equals(last, previous)))
|
|
20
|
+
return;
|
|
21
|
+
this.entries.push(previous);
|
|
22
|
+
if (this.entries.length > this.limit)
|
|
23
|
+
this.entries.shift();
|
|
24
|
+
}
|
|
25
|
+
pop() {
|
|
26
|
+
return this.entries.pop();
|
|
27
|
+
}
|
|
28
|
+
clear() {
|
|
29
|
+
this.entries = [];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/flow/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** Small presentation state shared by Web and Native; map/domain state is never touched.
|
|
2
|
+
* Hinglish: Sirf photos ka index/failure state hai; map, floor ya selection se koi lena-dena nahi. */
|
|
3
|
+
export interface PromotionGallerySnapshot {
|
|
4
|
+
readonly index: number;
|
|
5
|
+
readonly failedIndexes: readonly number[];
|
|
6
|
+
readonly allFailed: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** Owns cyclic paging, photo recovery and a single three-second autoplay lifetime.
|
|
9
|
+
* Hinglish: Dono platforms ka next/previous, failed photos aur ek autoplay timer yahin manage hota hai. */
|
|
10
|
+
export declare class PromotionGalleryController {
|
|
11
|
+
readonly images: readonly string[];
|
|
12
|
+
private snapshot;
|
|
13
|
+
private readonly listeners;
|
|
14
|
+
private connections;
|
|
15
|
+
private timer;
|
|
16
|
+
constructor(images: readonly string[], imageBaseUrl?: string);
|
|
17
|
+
getSnapshot: () => PromotionGallerySnapshot;
|
|
18
|
+
subscribe: (listener: () => void) => (() => void);
|
|
19
|
+
/** Mount resources only while a gallery is connected; single/failed galleries have no timer.
|
|
20
|
+
* Hinglish: Gallery mount ho tabhi timer chale; ek photo ya sab failed hon to timer band rahe. */
|
|
21
|
+
connect: () => (() => void);
|
|
22
|
+
next: () => void;
|
|
23
|
+
previous: () => void;
|
|
24
|
+
/** Original photos stay mounted so a late successful load can recover a failed slide.
|
|
25
|
+
* Hinglish: Original photo mounted rahe; late load aaye to logo ki jagah asli photo wapas aa sake. */
|
|
26
|
+
reportImage: (index: number, failed: boolean) => void;
|
|
27
|
+
private move;
|
|
28
|
+
private schedule;
|
|
29
|
+
private clearTimer;
|
|
30
|
+
private update;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=PromotionGalleryController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromotionGalleryController.d.ts","sourceRoot":"","sources":["../../src/gallery/PromotionGalleryController.ts"],"names":[],"mappings":"AAEA;sGACsG;AACtG,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAA;IACzC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;CAC5B;AAED;2GAC2G;AAC3G,qBAAa,0BAA0B;IACrC,SAAgB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;IACzC,OAAO,CAAC,QAAQ,CAA8E;IAC9F,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAwB;IAClD,OAAO,CAAC,WAAW,CAAI;IACvB,OAAO,CAAC,KAAK,CAA6C;gBAE9C,MAAM,EAAE,SAAS,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM;IASrD,WAAW,QAAO,wBAAwB,CAAiB;IAE3D,SAAS,GAAI,UAAU,MAAM,IAAI,KAAG,CAAC,MAAM,IAAI,CAAC,CAGtD;IAED;sGACkG;IAC3F,OAAO,QAAO,CAAC,MAAM,IAAI,CAAC,CAQhC;IAEM,IAAI,QAAO,IAAI,CAAgB;IAC/B,QAAQ,QAAO,IAAI,CAAiB;IAE3C;0GACsG;IAC/F,WAAW,GAAI,OAAO,MAAM,EAAE,QAAQ,OAAO,KAAG,IAAI,CAY1D;IAED,OAAO,CAAC,IAAI;IASZ,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,MAAM;CAIf"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { resolveUIAssetUrl } from '../presentation.js';
|
|
2
|
+
/** Owns cyclic paging, photo recovery and a single three-second autoplay lifetime.
|
|
3
|
+
* Hinglish: Dono platforms ka next/previous, failed photos aur ek autoplay timer yahin manage hota hai. */
|
|
4
|
+
export class PromotionGalleryController {
|
|
5
|
+
images;
|
|
6
|
+
snapshot = { index: 0, failedIndexes: [], allFailed: false };
|
|
7
|
+
listeners = new Set();
|
|
8
|
+
connections = 0;
|
|
9
|
+
timer = null;
|
|
10
|
+
constructor(images, imageBaseUrl) {
|
|
11
|
+
const resolved = [];
|
|
12
|
+
for (const image of images) {
|
|
13
|
+
const url = resolveUIAssetUrl(image.trim(), imageBaseUrl);
|
|
14
|
+
if (url)
|
|
15
|
+
resolved.push(url);
|
|
16
|
+
}
|
|
17
|
+
this.images = resolved;
|
|
18
|
+
}
|
|
19
|
+
getSnapshot = () => this.snapshot;
|
|
20
|
+
subscribe = (listener) => {
|
|
21
|
+
this.listeners.add(listener);
|
|
22
|
+
return () => this.listeners.delete(listener);
|
|
23
|
+
};
|
|
24
|
+
/** Mount resources only while a gallery is connected; single/failed galleries have no timer.
|
|
25
|
+
* Hinglish: Gallery mount ho tabhi timer chale; ek photo ya sab failed hon to timer band rahe. */
|
|
26
|
+
connect = () => {
|
|
27
|
+
if (++this.connections === 1)
|
|
28
|
+
this.schedule();
|
|
29
|
+
let connected = true;
|
|
30
|
+
return () => {
|
|
31
|
+
if (!connected)
|
|
32
|
+
return;
|
|
33
|
+
connected = false;
|
|
34
|
+
if (--this.connections === 0)
|
|
35
|
+
this.clearTimer();
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
next = () => this.move(1);
|
|
39
|
+
previous = () => this.move(-1);
|
|
40
|
+
/** Original photos stay mounted so a late successful load can recover a failed slide.
|
|
41
|
+
* Hinglish: Original photo mounted rahe; late load aaye to logo ki jagah asli photo wapas aa sake. */
|
|
42
|
+
reportImage = (index, failed) => {
|
|
43
|
+
if (!this.images[index] || this.snapshot.failedIndexes.includes(index) === failed)
|
|
44
|
+
return;
|
|
45
|
+
const failedIndexes = failed
|
|
46
|
+
? [...this.snapshot.failedIndexes, index]
|
|
47
|
+
: this.snapshot.failedIndexes.filter((item) => item !== index);
|
|
48
|
+
const allFailed = failedIndexes.length === this.images.length;
|
|
49
|
+
this.update({
|
|
50
|
+
index: allFailed ? 0 : this.snapshot.index,
|
|
51
|
+
failedIndexes,
|
|
52
|
+
allFailed,
|
|
53
|
+
});
|
|
54
|
+
this.schedule();
|
|
55
|
+
};
|
|
56
|
+
move(step) {
|
|
57
|
+
if (this.images.length < 2 || this.snapshot.allFailed)
|
|
58
|
+
return;
|
|
59
|
+
this.update({
|
|
60
|
+
...this.snapshot,
|
|
61
|
+
index: (this.snapshot.index + step + this.images.length) % this.images.length,
|
|
62
|
+
});
|
|
63
|
+
this.schedule();
|
|
64
|
+
}
|
|
65
|
+
schedule() {
|
|
66
|
+
this.clearTimer();
|
|
67
|
+
if (this.connections > 0 && this.images.length > 1 && !this.snapshot.allFailed)
|
|
68
|
+
this.timer = setTimeout(this.next, 3000);
|
|
69
|
+
}
|
|
70
|
+
clearTimer() {
|
|
71
|
+
if (this.timer !== null)
|
|
72
|
+
clearTimeout(this.timer);
|
|
73
|
+
this.timer = null;
|
|
74
|
+
}
|
|
75
|
+
update(snapshot) {
|
|
76
|
+
this.snapshot = snapshot;
|
|
77
|
+
for (const listener of this.listeners)
|
|
78
|
+
listener();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gallery/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PromotionGalleryController.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** Host-provided current weather, separate from map data and the UI clock.
|
|
2
|
+
* Hinglish: Weather host deta hai; UI model GPS, API ya map store ko access nahi karta. */
|
|
3
|
+
export interface HeaderWeatherData {
|
|
4
|
+
readonly temperatureC: number;
|
|
5
|
+
readonly weatherCode?: number;
|
|
6
|
+
readonly isDay?: boolean;
|
|
7
|
+
readonly condition?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface HeaderInfoInput {
|
|
10
|
+
readonly now?: Date;
|
|
11
|
+
readonly locale?: string;
|
|
12
|
+
readonly timeZone?: string;
|
|
13
|
+
readonly weather?: HeaderWeatherData | null;
|
|
14
|
+
}
|
|
15
|
+
export interface HeaderInfoPresentation {
|
|
16
|
+
readonly dateLabel: string | null;
|
|
17
|
+
readonly timeLabel: string | null;
|
|
18
|
+
readonly weather: {
|
|
19
|
+
readonly temperatureLabel: string;
|
|
20
|
+
readonly icon: string;
|
|
21
|
+
readonly condition: string;
|
|
22
|
+
} | null;
|
|
23
|
+
}
|
|
24
|
+
/** Format the caller's clock and actual weather independently; no timer or network owner is created.
|
|
25
|
+
* Hinglish: Actual time/weather ko readable banao; invalid time ya missing weather ka fake value nahi. */
|
|
26
|
+
export declare function getHeaderInfoPresentation(input?: HeaderInfoInput): HeaderInfoPresentation;
|
|
27
|
+
//# sourceMappingURL=headerInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headerInfo.d.ts","sourceRoot":"","sources":["../src/headerInfo.ts"],"names":[],"mappings":"AAAA;2FAC2F;AAC3F,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,CAAA;IACnB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAA;CAC5C;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAA;QACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;KAC3B,GAAG,IAAI,CAAA;CACT;AAkCD;0GAC0G;AAC1G,wBAAgB,yBAAyB,CAAC,KAAK,GAAE,eAAoB,GAAG,sBAAsB,CAqC7F"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
const weatherIcons = {
|
|
2
|
+
0: ['🌞', '🌙', 'Clear sky'],
|
|
3
|
+
1: ['🌤️', '🌙', 'Mainly clear'],
|
|
4
|
+
2: ['⛅', '☁️', 'Partly cloudy'],
|
|
5
|
+
3: ['☁️', '☁️', 'Overcast'],
|
|
6
|
+
45: ['🌫️', '🌫️', 'Foggy'],
|
|
7
|
+
48: ['🌫️', '🌫️', 'Depositing rime fog'],
|
|
8
|
+
51: ['🌦️', '🌧️', 'Light drizzle'],
|
|
9
|
+
53: ['🌦️', '🌧️', 'Moderate drizzle'],
|
|
10
|
+
55: ['🌦️', '🌧️', 'Dense drizzle'],
|
|
11
|
+
56: ['🌧️', '🌧️', 'Freezing drizzle'],
|
|
12
|
+
57: ['🌧️', '🌧️', 'Freezing drizzle'],
|
|
13
|
+
61: ['🌧️', '🌧️', 'Slight rain'],
|
|
14
|
+
63: ['🌧️', '🌧️', 'Rain'],
|
|
15
|
+
65: ['⛈️', '⛈️', 'Heavy rain'],
|
|
16
|
+
66: ['🌧️', '🌧️', 'Freezing rain'],
|
|
17
|
+
67: ['🌧️', '🌧️', 'Freezing rain'],
|
|
18
|
+
71: ['❄️', '❄️', 'Slight snow fall'],
|
|
19
|
+
73: ['❄️', '❄️', 'Snow fall'],
|
|
20
|
+
75: ['❄️', '❄️', 'Heavy snow fall'],
|
|
21
|
+
77: ['🌨️', '🌨️', 'Snow grains'],
|
|
22
|
+
80: ['🌧️', '🌧️', 'Rain showers'],
|
|
23
|
+
81: ['🌧️', '🌧️', 'Rain showers'],
|
|
24
|
+
82: ['⛈️', '⛈️', 'Violent rain showers'],
|
|
25
|
+
85: ['🌨️', '🌨️', 'Snow showers'],
|
|
26
|
+
86: ['🌨️', '🌨️', 'Heavy snow showers'],
|
|
27
|
+
95: ['⛈️', '⛈️', 'Thunderstorm'],
|
|
28
|
+
96: ['⛈️', '⛈️', 'Thunderstorm'],
|
|
29
|
+
99: ['⛈️', '⛈️', 'Thunderstorm'],
|
|
30
|
+
};
|
|
31
|
+
/** Format the caller's clock and actual weather independently; no timer or network owner is created.
|
|
32
|
+
* Hinglish: Actual time/weather ko readable banao; invalid time ya missing weather ka fake value nahi. */
|
|
33
|
+
export function getHeaderInfoPresentation(input = {}) {
|
|
34
|
+
const now = input.now ?? new Date();
|
|
35
|
+
let dateLabel = null;
|
|
36
|
+
let timeLabel = null;
|
|
37
|
+
if (Number.isFinite(now.getTime())) {
|
|
38
|
+
try {
|
|
39
|
+
const locale = input.locale ?? 'en-US';
|
|
40
|
+
dateLabel = new Intl.DateTimeFormat(locale, {
|
|
41
|
+
weekday: 'long',
|
|
42
|
+
month: 'long',
|
|
43
|
+
day: '2-digit',
|
|
44
|
+
timeZone: input.timeZone,
|
|
45
|
+
}).format(now);
|
|
46
|
+
timeLabel = new Intl.DateTimeFormat(locale, {
|
|
47
|
+
hour: '2-digit',
|
|
48
|
+
minute: '2-digit',
|
|
49
|
+
hour12: true,
|
|
50
|
+
timeZone: input.timeZone,
|
|
51
|
+
}).format(now);
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
// An invalid explicit locale/timezone must not silently display another location's clock.
|
|
55
|
+
// Hinglish: Galat timezone/locale ho to doosri jagah ka time guess karke mat dikhao.
|
|
56
|
+
dateLabel = null;
|
|
57
|
+
timeLabel = null;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
const source = input.weather;
|
|
61
|
+
const icon = source?.weatherCode !== undefined ? weatherIcons[source.weatherCode] : undefined;
|
|
62
|
+
const weather = source && Number.isFinite(source.temperatureC)
|
|
63
|
+
? {
|
|
64
|
+
temperatureLabel: `${Math.round(source.temperatureC)}°C`,
|
|
65
|
+
icon: icon?.[source.isDay === false ? 1 : 0] ?? '🌡️',
|
|
66
|
+
condition: source.condition || icon?.[2] || 'Current weather',
|
|
67
|
+
}
|
|
68
|
+
: null;
|
|
69
|
+
return { dateLabel, timeLabel, weather };
|
|
70
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Framework-neutral view models and UI actions will be implemented here.
|
|
3
|
+
* Hinglish: React ke bina reusable UI state/view-model aur actions isi package me banenge.
|
|
4
|
+
*/
|
|
5
|
+
export * from './theme.js';
|
|
6
|
+
export * from './appearance.js';
|
|
7
|
+
export * from './components.js';
|
|
8
|
+
export * from './presentation.js';
|
|
9
|
+
export * from './storeList.js';
|
|
10
|
+
export * from './storeHours.js';
|
|
11
|
+
export * from './headerInfo.js';
|
|
12
|
+
export * from './HeaderInfoController.js';
|
|
13
|
+
export * from './gallery/index.js';
|
|
14
|
+
export * from './classic/index.js';
|
|
15
|
+
export type { RouteStepAction, CatalogStoreRow, CatalogSortMode, PublicNodeData, PublicNodeGroupData, PublicCategoryData, PublicSubCategoryData, PublicAmenityData, PublicCatalogOfferItem, PublicFloorData, } from '@wovvmap/contracts';
|
|
16
|
+
export * from './flow/index.js';
|
|
17
|
+
export { DirectionController } from './directions/DirectionController.js';
|
|
18
|
+
export { getDirectionPresentation, getDirectionBackAction, } from './directions/directionPresentation.js';
|
|
19
|
+
export { RoutePreviewController } from './routes/RoutePreviewController.js';
|
|
20
|
+
export { getRoutePreviewMetrics, getRouteConnectorText } from './routes/routePreviewPresentation.js';
|
|
21
|
+
export type { RoutePreviewBindings, RoutePreviewSnapshot, RoutePreviewActions, RoutePreviewProps, RoutePreferencesProps, } from './routes/routePreview.types.js';
|
|
22
|
+
export type { DirectionActions, DirectionSnapshot, DirectionViewerBindings, DirectionMembers, DirectionContentProps, } from './directions/direction.types.js';
|
|
23
|
+
export type { RouteStepsActions, RouteStepsSnapshot, RouteStepsProps, } from './routes/routeSteps.types.js';
|
|
24
|
+
export { RouteStepsController } from './routes/steps/RouteStepsController.js';
|
|
25
|
+
export { getRouteStepSymbol } from './routes/routeStepPresentation.js';
|
|
26
|
+
export { getRouteStepIcon, type RouteStepIconData } from './routes/routeStepIcons.js';
|
|
27
|
+
export type { RoutePlaybackActions, RoutePlaybackProgressSource, RoutePlaybackBindings, RoutePlaybackSnapshot, RoutePlaybackProps, } from './routes/routePlayback.types.js';
|
|
28
|
+
export { ROUTE_PLAYBACK_SPEEDS, ROUTE_PLAYBACK_MODES } from '@wovvmap/contracts';
|
|
29
|
+
export type { RoutePlaybackMode, RoutePlaybackSpeed } from '@wovvmap/contracts';
|
|
30
|
+
export { SavedRoutesController, createSavedRoutesBindings, } from './saved-routes/SavedRoutesController.js';
|
|
31
|
+
export type { SavedRoutesBindings, SavedRoutesSnapshot, SavedRoutesActions, } from './saved-routes/SavedRoutesController.js';
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,YAAY,EACV,eAAe,EACf,eAAe,EACf,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,oBAAoB,CAAA;AAE3B,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AACtE,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACjG,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,6BAA6B,CAAA;AACpC,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,8BAA8B,CAAA;AACrC,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,GAChB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAE1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAElF,YAAY,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAChF,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAC/E,OAAO,EACL,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,sCAAsC,CAAA;AAC7C,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,sCAAsC,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Framework-neutral view models and UI actions will be implemented here.
|
|
3
|
+
* Hinglish: React ke bina reusable UI state/view-model aur actions isi package me banenge.
|
|
4
|
+
*/
|
|
5
|
+
export * from './theme.js';
|
|
6
|
+
export * from './appearance.js';
|
|
7
|
+
export * from './components.js';
|
|
8
|
+
export * from './presentation.js';
|
|
9
|
+
export * from './storeList.js';
|
|
10
|
+
export * from './storeHours.js';
|
|
11
|
+
export * from './headerInfo.js';
|
|
12
|
+
export * from './HeaderInfoController.js';
|
|
13
|
+
export * from './gallery/index.js';
|
|
14
|
+
export * from './classic/index.js';
|
|
15
|
+
export * from './flow/index.js';
|
|
16
|
+
export { DirectionController } from './directions/DirectionController.js';
|
|
17
|
+
export { getDirectionPresentation, getDirectionBackAction, } from './directions/directionPresentation.js';
|
|
18
|
+
export { RoutePreviewController } from './routes/RoutePreviewController.js';
|
|
19
|
+
export { getRoutePreviewMetrics, getRouteConnectorText } from './routes/routePreviewPresentation.js';
|
|
20
|
+
export { RouteStepsController } from './routes/steps/RouteStepsController.js';
|
|
21
|
+
export { getRouteStepSymbol } from './routes/routeStepPresentation.js';
|
|
22
|
+
export { getRouteStepIcon } from './routes/routeStepIcons.js';
|
|
23
|
+
export { ROUTE_PLAYBACK_SPEEDS, ROUTE_PLAYBACK_MODES } from '@wovvmap/contracts';
|
|
24
|
+
export { SavedRoutesController, createSavedRoutesBindings, } from './saved-routes/SavedRoutesController.js';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { CatalogStoreRow, PublicFloorData, PublicNodeData } from '@wovvmap/contracts';
|
|
2
|
+
import type { FloorItem } from './components.js';
|
|
3
|
+
/** Use canonical indices, never FloorNumber aliases. Zero is a real index.
|
|
4
|
+
* Hinglish: Floor ka asli index hi command ko jayega; floor zero bhi valid hai. */
|
|
5
|
+
export declare function createFloorOptions(floors: readonly PublicFloorData[]): FloorItem[];
|
|
6
|
+
/** Resolve the small public floor list without looking up map nodes or requesting more data.
|
|
7
|
+
* Hinglish: Chhoti floor metadata se naam milega; NodePoint scan ya nayi API nahi chalegi. */
|
|
8
|
+
export declare function getFloorLabels(indices: readonly number[], floors?: readonly FloorItem[]): string;
|
|
9
|
+
/** Stable row identity preserves group/node distinctions even when their IDs match.
|
|
10
|
+
* Hinglish: Group aur single store ki same ID ho tab bhi row identity alag rahegi. */
|
|
11
|
+
export declare function getStoreRowId(row: CatalogStoreRow): string;
|
|
12
|
+
/** Read only compact row fields; never expand every member to format one result.
|
|
13
|
+
* Hinglish: Row dikhane ke liye group ke saare nodes par loop nahi chalta. */
|
|
14
|
+
export declare function getStoreRowPresentation(row: CatalogStoreRow, locationsLabel?: string): {
|
|
15
|
+
id: string;
|
|
16
|
+
title: string;
|
|
17
|
+
subtitle: string;
|
|
18
|
+
imageUrl: string | undefined;
|
|
19
|
+
memberCount: number;
|
|
20
|
+
};
|
|
21
|
+
/** Format only public details and at most seven days; never infer closed hours from absent data.
|
|
22
|
+
* Hinglish: Shared public metadata dikhate hain; missing timing ko closed assume nahi karte. */
|
|
23
|
+
export declare function getStoreDetailsFields(node: PublicNodeData): readonly {
|
|
24
|
+
label: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}[];
|
|
27
|
+
/** A constant-size visible slice; pagination remains the SDK's responsibility.
|
|
28
|
+
* Hinglish: Sirf screen ke aas-paas rows render hongi; search/pagination yahan nahi hota. */
|
|
29
|
+
export declare function getListWindow(count: number, offset: number, height?: number, rowHeight?: number, overscan?: number): {
|
|
30
|
+
start: number;
|
|
31
|
+
end: number;
|
|
32
|
+
top: number;
|
|
33
|
+
total: number;
|
|
34
|
+
};
|
|
35
|
+
/** Public links are text unless they use an explicitly supported scheme.
|
|
36
|
+
* Hinglish: API ke javascript/data links ko clickable nahi banayenge. */
|
|
37
|
+
export declare function safeContactUrl(value: string, kind?: 'website' | 'email' | 'phone'): string | undefined;
|
|
38
|
+
/** Resolve public CDN paths without coupling a UI package to company/environment configuration.
|
|
39
|
+
* Hinglish: Relative logo ko host ke public CDN base se jodo; absolute URL same rahega. */
|
|
40
|
+
export declare function resolveUIAssetUrl(source: string | null | undefined, imageBaseUrl?: string): string | undefined;
|
|
41
|
+
/** Bounded display-only preview; SDK has already resolved eligibility and no UI clock filters it again.
|
|
42
|
+
* Hinglish: SDK ke ready active offers mein se sirf teen display hon; UI date policy dobara na likhe. */
|
|
43
|
+
export declare function getStoreOfferPreview(node: PublicNodeData): {
|
|
44
|
+
key: string;
|
|
45
|
+
title: string;
|
|
46
|
+
description: string;
|
|
47
|
+
until: string;
|
|
48
|
+
}[];
|
|
49
|
+
//# sourceMappingURL=presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentation.d.ts","sourceRoot":"","sources":["../src/presentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;mFACmF;AACnF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,eAAe,EAAE,GAAG,SAAS,EAAE,CAMlF;AAED;8FAC8F;AAC9F,wBAAgB,cAAc,CAC5B,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,MAAM,GAAE,SAAS,SAAS,EAAO,GAChC,MAAM,CAIR;AAED;sFACsF;AACtF,wBAAgB,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,MAAM,CAE1D;AAED;8EAC8E;AAC9E,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,eAAe,EAAE,cAAc,SAAc;;;;;;EASzF;AAED;gGACgG;AAChG,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,cAAc,GACnB,SAAS;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAkC7C;AAED;6FAC6F;AAC7F,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,SAAM,EACZ,SAAS,SAAK,EACd,QAAQ,SAAI;;;;;EAWb;AAED;yEACyE;AACzE,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,EACb,IAAI,GAAE,SAAS,GAAG,OAAO,GAAG,OAAmB,GAC9C,MAAM,GAAG,SAAS,CAKpB;AAED;2FAC2F;AAC3F,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,YAAY,CAAC,EAAE,MAAM,GACpB,MAAM,GAAG,SAAS,CAOpB;AAED;yGACyG;AACzG,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc;;;;;IAUxD"}
|