@stonedeck/html-plugin 0.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.
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +479 -0
- package/dist/index.js.map +1 -0
- package/package.json +17 -0
- package/src/index.ts +491 -0
- package/tsconfig.json +16 -0
- package/tsconfig.tsbuildinfo +1 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StoneDeckIR, ExportPlugin } from '@stonedeck/core';
|
|
2
|
+
export interface HtmlPluginOptions {
|
|
3
|
+
offline?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare class HtmlPlugin implements ExportPlugin {
|
|
6
|
+
name: string;
|
|
7
|
+
version: string;
|
|
8
|
+
generate(ir: StoneDeckIR, outputPath: string, options?: HtmlPluginOptions): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA4C,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEtG,MAAM,WAAW,iBAAiB;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,UAAW,YAAW,YAAY;IAC3C,IAAI,SAAiB;IACrB,OAAO,SAAW;IAEZ,QAAQ,CAAC,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAGlG"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
import * as fs from 'fs';
|
|
2
|
+
import * as path from 'path';
|
|
3
|
+
import { getLayout } from '@stonedeck/core';
|
|
4
|
+
export class HtmlPlugin {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = "HTML Plugin";
|
|
7
|
+
this.version = "1.0.0";
|
|
8
|
+
}
|
|
9
|
+
async generate(ir, outputPath, options) {
|
|
10
|
+
return HtmlPluginStatic.generate(ir, outputPath, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
class HtmlPluginStatic {
|
|
14
|
+
static async generate(ir, outputPath, options) {
|
|
15
|
+
const offline = options?.offline ?? true; // Default to offline mode
|
|
16
|
+
const outputDir = path.dirname(outputPath);
|
|
17
|
+
// Render slides directly wrapped in their containers
|
|
18
|
+
const slidePromises = ir.slides.map(async (slide, index) => {
|
|
19
|
+
const bgStyle = await this.getBackgroundCSS(slide.style.background, ir.basePath, offline);
|
|
20
|
+
const slideStyle = `background: ${bgStyle}; color: ${slide.style.color || '#000000'}; font-family: ${slide.style.font_family || 'sans-serif'};`;
|
|
21
|
+
let slideContent = '';
|
|
22
|
+
const layout = getLayout(slide.layout_id, slide.slots.length);
|
|
23
|
+
let yOffset = 0;
|
|
24
|
+
if (slide.title) {
|
|
25
|
+
const hasTitleSlot = layout?.slots.some(s => s.id === 'title');
|
|
26
|
+
if (!hasTitleSlot) {
|
|
27
|
+
slideContent += this.renderOptionalTitle(slide.title, slide.style);
|
|
28
|
+
yOffset = 60;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (layout) {
|
|
32
|
+
const slotPromises = slide.slots.map(async (content, slotIdx) => {
|
|
33
|
+
const slotDef = layout.slots[slotIdx];
|
|
34
|
+
if (slotDef) {
|
|
35
|
+
return this.renderSlot(content, slotDef, slide.style, ir, yOffset, outputDir, offline);
|
|
36
|
+
}
|
|
37
|
+
return '';
|
|
38
|
+
});
|
|
39
|
+
const slotContents = await Promise.all(slotPromises);
|
|
40
|
+
slideContent += slotContents.join('');
|
|
41
|
+
}
|
|
42
|
+
return `
|
|
43
|
+
<div class="slide-wrapper ${index === 0 ? 'active' : ''}" id="wrapper-${index}">
|
|
44
|
+
<div class="slide" id="slide-${index}" style="${slideStyle}">
|
|
45
|
+
${slideContent}
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
`;
|
|
49
|
+
});
|
|
50
|
+
const slidesResponse = await Promise.all(slidePromises);
|
|
51
|
+
let slidesInnerHtml = slidesResponse.join('');
|
|
52
|
+
const html = `
|
|
53
|
+
<!DOCTYPE html>
|
|
54
|
+
<html lang="en">
|
|
55
|
+
<head>
|
|
56
|
+
<meta charset="UTF-8">
|
|
57
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
58
|
+
<title>${ir.manifesto.title || 'StoneDeck Presentation'}</title>
|
|
59
|
+
<style>
|
|
60
|
+
:root {
|
|
61
|
+
--canvas-width: 720pt;
|
|
62
|
+
--canvas-height: 405pt;
|
|
63
|
+
--accent-color: #3b82f6;
|
|
64
|
+
--scale-factor: 1;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
html, body { height: 100%; }
|
|
68
|
+
|
|
69
|
+
body {
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: 0;
|
|
72
|
+
background-color: #1a1a1a;
|
|
73
|
+
min-height: 100vh;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
align-items: center;
|
|
77
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
78
|
+
transition: background-color 0.3s;
|
|
79
|
+
overflow-x: hidden;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Presentation Mode */
|
|
83
|
+
body.presenting {
|
|
84
|
+
background-color: black;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#presentation-container {
|
|
89
|
+
flex-grow: 1;
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
align-items: center;
|
|
94
|
+
width: 100%;
|
|
95
|
+
padding: 20px 0;
|
|
96
|
+
box-sizing: border-box;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
body.presenting #presentation-container {
|
|
100
|
+
padding: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.slides-inner {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
gap: 20px;
|
|
107
|
+
align-items: center;
|
|
108
|
+
width: 100%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
body.presenting .slides-inner {
|
|
112
|
+
gap: 0;
|
|
113
|
+
width: auto;
|
|
114
|
+
height: 100%;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.slide-wrapper {
|
|
119
|
+
position: relative;
|
|
120
|
+
width: var(--canvas-width);
|
|
121
|
+
height: var(--canvas-height);
|
|
122
|
+
transform-origin: top left;
|
|
123
|
+
transform: scale(var(--scale-factor));
|
|
124
|
+
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
|
|
125
|
+
background-color: white;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
flex-shrink: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
body.presenting .slide-wrapper {
|
|
131
|
+
box-shadow: none;
|
|
132
|
+
display: none; /* Hide inactive */
|
|
133
|
+
/* Do NOT override transform or width/height. Keep them logical 720x405 and let scale work. */
|
|
134
|
+
position: absolute;
|
|
135
|
+
top: 50%;
|
|
136
|
+
left: 50%;
|
|
137
|
+
transform-origin: center center;
|
|
138
|
+
transform: translate(-50%, -50%) scale(var(--scale-factor));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
body.presenting .slide-wrapper.active {
|
|
142
|
+
display: block;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.slide {
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 0;
|
|
149
|
+
width: 100%;
|
|
150
|
+
height: 100%;
|
|
151
|
+
box-sizing: border-box;
|
|
152
|
+
background-color: white;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Slots */
|
|
157
|
+
.slot {
|
|
158
|
+
position: absolute;
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-direction: column;
|
|
161
|
+
overflow: hidden;
|
|
162
|
+
box-sizing: border-box;
|
|
163
|
+
}
|
|
164
|
+
.slot-title { font-weight: bold; }
|
|
165
|
+
|
|
166
|
+
h1 { font-size: 1.8em; margin-bottom: 0.2em; margin-top: 0; }
|
|
167
|
+
h2 { font-size: 1.4em; margin-bottom: 0.4em; margin-top: 0; }
|
|
168
|
+
h3 { font-size: 1.2em; margin-bottom: 0.3em; margin-top: 0; }
|
|
169
|
+
|
|
170
|
+
ul { padding-left: 1.2em; margin: 0; list-style-type: square; }
|
|
171
|
+
li { margin-bottom: 0.3em; }
|
|
172
|
+
|
|
173
|
+
table { border-collapse: collapse; width: 100%; margin-top: 1em; }
|
|
174
|
+
td, th { border: 1pt solid #ccc; padding: 6pt; text-align: left; }
|
|
175
|
+
th { background: rgba(0,0,0,0.05); font-weight: bold; }
|
|
176
|
+
|
|
177
|
+
img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; margin: auto; }
|
|
178
|
+
|
|
179
|
+
.markdown-line { margin-bottom: 4pt; }
|
|
180
|
+
|
|
181
|
+
/* Navigation */
|
|
182
|
+
#nav-bar {
|
|
183
|
+
position: fixed;
|
|
184
|
+
bottom: 20px;
|
|
185
|
+
left: 50%;
|
|
186
|
+
transform: translateX(-50%);
|
|
187
|
+
background: rgba(0, 0, 0, 0.8);
|
|
188
|
+
color: white;
|
|
189
|
+
padding: 10px 20px;
|
|
190
|
+
border-radius: 30px;
|
|
191
|
+
display: flex;
|
|
192
|
+
gap: 15px;
|
|
193
|
+
align-items: center;
|
|
194
|
+
z-index: 1000;
|
|
195
|
+
backdrop-filter: blur(10px);
|
|
196
|
+
opacity: 1;
|
|
197
|
+
transition: opacity 0.3s;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
body.presenting #nav-bar {
|
|
201
|
+
opacity: 0;
|
|
202
|
+
pointer-events: none;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
body.presenting #nav-bar:hover {
|
|
206
|
+
opacity: 1;
|
|
207
|
+
pointer-events: auto;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
button {
|
|
211
|
+
background: transparent;
|
|
212
|
+
border: 1px solid rgba(255,255,255,0.3);
|
|
213
|
+
color: white;
|
|
214
|
+
padding: 5px 12px;
|
|
215
|
+
border-radius: 15px;
|
|
216
|
+
cursor: pointer;
|
|
217
|
+
font-size: 14px;
|
|
218
|
+
}
|
|
219
|
+
button:hover { background: var(--accent-color); border-color: var(--accent-color); }
|
|
220
|
+
|
|
221
|
+
#slide-index { min-width: 60px; text-align: center; }
|
|
222
|
+
|
|
223
|
+
@media print {
|
|
224
|
+
body { background: none; display: block; }
|
|
225
|
+
#nav-bar { display: none; }
|
|
226
|
+
.slide-wrapper { margin: 0; box-shadow: none; page-break-after: always; transform: none !important; width: 100% !important; height: auto !important; }
|
|
227
|
+
}
|
|
228
|
+
</style>
|
|
229
|
+
</head>
|
|
230
|
+
<body id="body">
|
|
231
|
+
<div id="presentation-container">
|
|
232
|
+
<div class="slides-inner">
|
|
233
|
+
${slidesInnerHtml}
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
|
|
237
|
+
<div id="nav-bar">
|
|
238
|
+
<button onclick="togglePresent()">Present</button>
|
|
239
|
+
<button onclick="prevSlide()">Prev</button>
|
|
240
|
+
<span id="slide-index">1 / ${ir.slides.length}</span>
|
|
241
|
+
<button onclick="nextSlide()">Next</button>
|
|
242
|
+
<button onclick="toggleFS()">FS</button>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<script>
|
|
246
|
+
const totalSlides = ${ir.slides.length};
|
|
247
|
+
const body = document.getElementById('body');
|
|
248
|
+
const wrappers = document.querySelectorAll('.slide-wrapper');
|
|
249
|
+
const indexSpan = document.getElementById('slide-index');
|
|
250
|
+
let currentIdx = 0;
|
|
251
|
+
|
|
252
|
+
function resize() {
|
|
253
|
+
const baseWidth = 960;
|
|
254
|
+
const baseHeight = 540;
|
|
255
|
+
const isPresenting = body.classList.contains('presenting');
|
|
256
|
+
|
|
257
|
+
const winW = window.innerWidth || document.documentElement.clientWidth || 1024;
|
|
258
|
+
const winH = window.innerHeight || document.documentElement.clientHeight || 768;
|
|
259
|
+
|
|
260
|
+
const targetWidth = isPresenting ? winW : winW * 0.95;
|
|
261
|
+
const targetHeight = isPresenting ? winH : winH * 0.9;
|
|
262
|
+
|
|
263
|
+
let scale = Math.min(targetWidth / baseWidth, targetHeight / baseHeight);
|
|
264
|
+
|
|
265
|
+
if (!isPresenting) {
|
|
266
|
+
scale = Math.min(scale, 1);
|
|
267
|
+
}
|
|
268
|
+
if (scale <= 0.01) scale = 1;
|
|
269
|
+
|
|
270
|
+
document.documentElement.style.setProperty('--scale-factor', scale);
|
|
271
|
+
|
|
272
|
+
wrappers.forEach(w => {
|
|
273
|
+
if (isPresenting) {
|
|
274
|
+
w.style.height = ''; // Reset to CSS default (var(--canvas-height)) for proper aspect ratio scaling
|
|
275
|
+
} else {
|
|
276
|
+
w.style.height = (baseHeight * scale) + 'px';
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
window.addEventListener('resize', resize);
|
|
282
|
+
window.addEventListener('DOMContentLoaded', resize);
|
|
283
|
+
window.addEventListener('load', resize);
|
|
284
|
+
resize();
|
|
285
|
+
|
|
286
|
+
function updateUI() {
|
|
287
|
+
indexSpan.innerText = (currentIdx + 1) + ' / ' + totalSlides;
|
|
288
|
+
wrappers.forEach((w, i) => {
|
|
289
|
+
w.classList.toggle('active', i === currentIdx);
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
if (!body.classList.contains('presenting')) {
|
|
293
|
+
wrappers[currentIdx].scrollIntoView({ behavior: 'auto', block: 'center' });
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
function nextSlide() {
|
|
298
|
+
if (currentIdx < totalSlides - 1) {
|
|
299
|
+
currentIdx++;
|
|
300
|
+
updateUI();
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
function prevSlide() {
|
|
305
|
+
if (currentIdx > 0) {
|
|
306
|
+
currentIdx--;
|
|
307
|
+
updateUI();
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
function togglePresent() {
|
|
312
|
+
body.classList.toggle('presenting');
|
|
313
|
+
setTimeout(() => { resize(); updateUI(); }, 50);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
function toggleFS() {
|
|
317
|
+
if (!document.fullscreenElement) {
|
|
318
|
+
body.requestFullscreen().catch(e => console.warn(e));
|
|
319
|
+
} else {
|
|
320
|
+
document.exitFullscreen();
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
window.addEventListener('keydown', (e) => {
|
|
325
|
+
if (['ArrowRight', ' ', 'PageDown', 'Enter'].includes(e.key)) { e.preventDefault(); nextSlide(); }
|
|
326
|
+
if (['ArrowLeft', 'PageUp', 'Backspace'].includes(e.key)) { e.preventDefault(); prevSlide(); }
|
|
327
|
+
if (e.key === 'p') togglePresent();
|
|
328
|
+
if (e.key === 'f') toggleFS();
|
|
329
|
+
if (e.key === 'Escape' && body.classList.contains('presenting')) togglePresent();
|
|
330
|
+
});
|
|
331
|
+
</script>
|
|
332
|
+
</body>
|
|
333
|
+
</html>
|
|
334
|
+
`;
|
|
335
|
+
fs.writeFileSync(outputPath, html);
|
|
336
|
+
}
|
|
337
|
+
static async getBackgroundCSS(bg, basePath, offline) {
|
|
338
|
+
if (!bg)
|
|
339
|
+
return '#FFFFFF';
|
|
340
|
+
if (bg.type === 'color')
|
|
341
|
+
return bg.value || '#FFFFFF';
|
|
342
|
+
if (bg.type === 'gradient' && bg.colors) {
|
|
343
|
+
return `linear-gradient(to bottom, ${bg.colors.join(', ')})`;
|
|
344
|
+
}
|
|
345
|
+
if (bg.type === 'image' && bg.src) {
|
|
346
|
+
const base64 = await this.resolveImageAsBase64(bg.src, basePath, offline);
|
|
347
|
+
const fit = bg.fit === 'contain' ? 'contain' : 'cover';
|
|
348
|
+
return `url('${base64}') center center / ${fit} no-repeat`;
|
|
349
|
+
}
|
|
350
|
+
return '#FFFFFF';
|
|
351
|
+
}
|
|
352
|
+
static renderOptionalTitle(title, style) {
|
|
353
|
+
const fontSize = (style.font_size || 18) * 1.8;
|
|
354
|
+
const align = style.content_align?.horizontal || 'left';
|
|
355
|
+
return `
|
|
356
|
+
<div class="slot slot-title" style="left: 50pt; top: 30pt; width: 620pt; font-size: ${fontSize}pt; text-align: ${align}; justify-content: flex-start;">
|
|
357
|
+
${title}
|
|
358
|
+
</div>
|
|
359
|
+
`;
|
|
360
|
+
}
|
|
361
|
+
static async renderSlot(content, slot, style, ir, yOffset, outputDir, offline) {
|
|
362
|
+
let drawY = slot.y + yOffset;
|
|
363
|
+
let bottomLimit = 405 - 15;
|
|
364
|
+
let availableHeight = bottomLimit - drawY;
|
|
365
|
+
let safeHeight = Math.min(slot.height, availableHeight);
|
|
366
|
+
let widthStr = `${slot.width}pt`;
|
|
367
|
+
if (style.full_bleed && content.type === 'image') {
|
|
368
|
+
drawY = 0;
|
|
369
|
+
safeHeight = 405; // Full Canvas Height
|
|
370
|
+
// HTML width calculation: Total Width (720) - Left (x)
|
|
371
|
+
widthStr = `calc(var(--canvas-width) - ${slot.x}pt)`;
|
|
372
|
+
}
|
|
373
|
+
let innerHtml = '';
|
|
374
|
+
const hAlign = style.card?.content_align?.horizontal || style.content_align?.horizontal || 'left';
|
|
375
|
+
const vAlign = style.card?.content_align?.vertical || style.content_align?.vertical || 'top';
|
|
376
|
+
const valignMap = { top: 'flex-start', middle: 'center', bottom: 'flex-end' };
|
|
377
|
+
const justifyContent = valignMap[vAlign] || 'flex-start';
|
|
378
|
+
let extraStyles = '';
|
|
379
|
+
if (style.card && slot.id !== 'title' && slot.id !== 'subtitle' && !(style.full_bleed && content.type === 'image')) {
|
|
380
|
+
const card = style.card;
|
|
381
|
+
if (card.background)
|
|
382
|
+
extraStyles += `background-color: ${card.background}; `;
|
|
383
|
+
if (card.radius)
|
|
384
|
+
extraStyles += `border-radius: ${card.radius}; `;
|
|
385
|
+
if (card.border)
|
|
386
|
+
extraStyles += `border: ${card.border}; `;
|
|
387
|
+
if (card.shadow)
|
|
388
|
+
extraStyles += `box-shadow: 0 4pt 12pt rgba(0,0,0,0.15); `;
|
|
389
|
+
extraStyles += `padding: 10pt; `;
|
|
390
|
+
}
|
|
391
|
+
if (content.type === 'markdown') {
|
|
392
|
+
if (slot.id === 'number') {
|
|
393
|
+
innerHtml = content.raw.replace(/^#+\s+/, '');
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
innerHtml = this.parseMarkdown(content.raw);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
else if (content.type === 'list') {
|
|
400
|
+
innerHtml = '<ul>' + content.items.map(i => {
|
|
401
|
+
const processedText = i.text.replace(/\*\*(.*?)\*\*/g, '<strong>$1</strong>');
|
|
402
|
+
return `<li>${processedText}</li>`;
|
|
403
|
+
}).join('') + '</ul>';
|
|
404
|
+
}
|
|
405
|
+
else if (content.type === 'table') {
|
|
406
|
+
innerHtml = '<table>' + content.rows.map(row => `<tr>${row.map(cell => cell.isHeader ? `<th>${cell.text}</th>` : `<td>${cell.text}</td>`).join('')}</tr>`).join('') + '</table>';
|
|
407
|
+
}
|
|
408
|
+
else if (content.type === 'image') {
|
|
409
|
+
const base64 = await this.resolveImageAsBase64(content.src, ir.basePath, offline);
|
|
410
|
+
let objFit = 'contain';
|
|
411
|
+
if (style.image_fit === 'cover' || (style.card && style.card.image_fit === 'cover')) {
|
|
412
|
+
objFit = 'cover';
|
|
413
|
+
}
|
|
414
|
+
innerHtml = `<img src="${base64}" alt="${content.alt || ''}" style="width: 100%; height: 100%; object-fit: ${objFit}; display: block;">`;
|
|
415
|
+
}
|
|
416
|
+
const validFontSize = slot.id === 'number' ? (style.font_size || 18) * 6 : (style.font_size || 18);
|
|
417
|
+
const lineHeight = slot.id === 'number' ? '1.1' : 'normal';
|
|
418
|
+
return `
|
|
419
|
+
<div class="slot" style="left: ${slot.x}pt; top: ${drawY}pt; width: ${widthStr}; height: ${safeHeight}pt; font-size: ${validFontSize}pt; line-height: ${lineHeight}; text-align: ${hAlign}; justify-content: ${justifyContent}; ${extraStyles}">
|
|
420
|
+
${innerHtml}
|
|
421
|
+
</div>
|
|
422
|
+
`;
|
|
423
|
+
}
|
|
424
|
+
static parseMarkdown(raw) {
|
|
425
|
+
const lines = raw.split(/\r?\n/);
|
|
426
|
+
return lines.map(line => {
|
|
427
|
+
const text = line.trim();
|
|
428
|
+
if (!text)
|
|
429
|
+
return '<div class="markdown-line"> </div>';
|
|
430
|
+
let processedText = text.replace(/\*\*(.*?)\*\*/g, '<strong>$1</strong>');
|
|
431
|
+
processedText = processedText.replace(/!\[(.*?)\]\((.*?)\)/g, '<img src="$2" alt="$1">');
|
|
432
|
+
if (processedText.startsWith('### '))
|
|
433
|
+
return `<h3>${processedText.substring(4)}</h3>`;
|
|
434
|
+
if (processedText.startsWith('## '))
|
|
435
|
+
return `<h2>${processedText.substring(3)}</h2>`;
|
|
436
|
+
if (processedText.startsWith('# '))
|
|
437
|
+
return `<h1>${processedText.substring(2)}</h1>`;
|
|
438
|
+
if (processedText.startsWith('> '))
|
|
439
|
+
return `<blockquote style="border-left: 3px solid #ccc; margin: 0; padding-left: 10px; font-style: italic; color: #555;">${processedText.substring(2)}</blockquote>`;
|
|
440
|
+
const listMatch = processedText.match(/^(\s*)([-*+])\s+(.*)$/);
|
|
441
|
+
if (listMatch) {
|
|
442
|
+
const indent = (listMatch[1].length / 2 + 1) * 20;
|
|
443
|
+
return `<div style="display: list-item; margin-left: ${indent}pt; list-style-type: disc;">${listMatch[3]}</div>`;
|
|
444
|
+
}
|
|
445
|
+
return `<div class="markdown-line">${processedText}</div>`;
|
|
446
|
+
}).join('');
|
|
447
|
+
}
|
|
448
|
+
// Helper to resolve image to Base64
|
|
449
|
+
static async resolveImageAsBase64(src, basePath, offline) {
|
|
450
|
+
try {
|
|
451
|
+
if (src.startsWith('http://') || src.startsWith('https://')) {
|
|
452
|
+
if (!offline)
|
|
453
|
+
return src;
|
|
454
|
+
const response = await fetch(src);
|
|
455
|
+
if (!response.ok)
|
|
456
|
+
throw new Error(`Failed to fetch image: ${response.statusText}`);
|
|
457
|
+
const arrayBuffer = await response.arrayBuffer();
|
|
458
|
+
const buffer = Buffer.from(arrayBuffer);
|
|
459
|
+
const mimeType = response.headers.get('content-type') || 'image/octet-stream';
|
|
460
|
+
const base64 = buffer.toString('base64');
|
|
461
|
+
return `data:${mimeType};base64,${base64}`;
|
|
462
|
+
}
|
|
463
|
+
const imagePath = path.isAbsolute(src) ? src : path.resolve(basePath, src);
|
|
464
|
+
if (fs.existsSync(imagePath)) {
|
|
465
|
+
const ext = path.extname(imagePath).toLowerCase().substring(1);
|
|
466
|
+
const mimeType = ext === 'png' ? 'image/png' : ext === 'jpg' || ext === 'jpeg' ? 'image/jpeg' : ext === 'svg' ? 'image/svg+xml' : 'image/octet-stream';
|
|
467
|
+
const buffer = fs.readFileSync(imagePath);
|
|
468
|
+
const base64 = buffer.toString('base64');
|
|
469
|
+
return `data:${mimeType};base64,${base64}`;
|
|
470
|
+
}
|
|
471
|
+
return src;
|
|
472
|
+
}
|
|
473
|
+
catch (e) {
|
|
474
|
+
console.warn(`Failed to convert image to base64: ${src}`, e);
|
|
475
|
+
return src;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC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html-plugin",
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc -b"
|
|
9
|
+
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@stonedeck/core": "^0.7.0"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"typescript": "^5.0.0",
|
|
15
|
+
"@types/node": "^20.0.0"
|
|
16
|
+
}
|
|
17
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
|
|
2
|
+
import * as fs from 'fs';
|
|
3
|
+
import * as path from 'path';
|
|
4
|
+
import { StoneDeckIR, SlotContent, TableCell, Slide, getLayout, ExportPlugin } from '@stonedeck/core';
|
|
5
|
+
|
|
6
|
+
export interface HtmlPluginOptions {
|
|
7
|
+
offline?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class HtmlPlugin implements ExportPlugin {
|
|
11
|
+
name = "HTML Plugin";
|
|
12
|
+
version = "1.0.0";
|
|
13
|
+
|
|
14
|
+
async generate(ir: StoneDeckIR, outputPath: string, options?: HtmlPluginOptions): Promise<void> {
|
|
15
|
+
return HtmlPluginStatic.generate(ir, outputPath, options);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
class HtmlPluginStatic {
|
|
20
|
+
static async generate(ir: StoneDeckIR, outputPath: string, options?: HtmlPluginOptions): Promise<void> {
|
|
21
|
+
const offline = options?.offline ?? true; // Default to offline mode
|
|
22
|
+
const outputDir = path.dirname(outputPath);
|
|
23
|
+
|
|
24
|
+
// Render slides directly wrapped in their containers
|
|
25
|
+
const slidePromises = ir.slides.map(async (slide, index) => {
|
|
26
|
+
const bgStyle = await this.getBackgroundCSS(slide.style.background, ir.basePath, offline);
|
|
27
|
+
const slideStyle = `background: ${bgStyle}; color: ${slide.style.color || '#000000'}; font-family: ${slide.style.font_family || 'sans-serif'};`;
|
|
28
|
+
|
|
29
|
+
let slideContent = '';
|
|
30
|
+
|
|
31
|
+
const layout = getLayout(slide.layout_id, slide.slots.length);
|
|
32
|
+
let yOffset = 0;
|
|
33
|
+
if (slide.title) {
|
|
34
|
+
const hasTitleSlot = layout?.slots.some(s => s.id === 'title');
|
|
35
|
+
if (!hasTitleSlot) {
|
|
36
|
+
slideContent += this.renderOptionalTitle(slide.title, slide.style);
|
|
37
|
+
yOffset = 60;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (layout) {
|
|
42
|
+
const slotPromises = slide.slots.map(async (content, slotIdx) => {
|
|
43
|
+
const slotDef = layout.slots[slotIdx];
|
|
44
|
+
if (slotDef) {
|
|
45
|
+
return this.renderSlot(content, slotDef, slide.style, ir, yOffset, outputDir, offline);
|
|
46
|
+
}
|
|
47
|
+
return '';
|
|
48
|
+
});
|
|
49
|
+
const slotContents = await Promise.all(slotPromises);
|
|
50
|
+
slideContent += slotContents.join('');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
return `
|
|
54
|
+
<div class="slide-wrapper ${index === 0 ? 'active' : ''}" id="wrapper-${index}">
|
|
55
|
+
<div class="slide" id="slide-${index}" style="${slideStyle}">
|
|
56
|
+
${slideContent}
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
`;
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
const slidesResponse = await Promise.all(slidePromises);
|
|
63
|
+
let slidesInnerHtml = slidesResponse.join('');
|
|
64
|
+
|
|
65
|
+
const html = `
|
|
66
|
+
<!DOCTYPE html>
|
|
67
|
+
<html lang="en">
|
|
68
|
+
<head>
|
|
69
|
+
<meta charset="UTF-8">
|
|
70
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
71
|
+
<title>${ir.manifesto.title || 'StoneDeck Presentation'}</title>
|
|
72
|
+
<style>
|
|
73
|
+
:root {
|
|
74
|
+
--canvas-width: 720pt;
|
|
75
|
+
--canvas-height: 405pt;
|
|
76
|
+
--accent-color: #3b82f6;
|
|
77
|
+
--scale-factor: 1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
html, body { height: 100%; }
|
|
81
|
+
|
|
82
|
+
body {
|
|
83
|
+
margin: 0;
|
|
84
|
+
padding: 0;
|
|
85
|
+
background-color: #1a1a1a;
|
|
86
|
+
min-height: 100vh;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
align-items: center;
|
|
90
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
91
|
+
transition: background-color 0.3s;
|
|
92
|
+
overflow-x: hidden;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Presentation Mode */
|
|
96
|
+
body.presenting {
|
|
97
|
+
background-color: black;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
#presentation-container {
|
|
102
|
+
flex-grow: 1;
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
width: 100%;
|
|
108
|
+
padding: 20px 0;
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
body.presenting #presentation-container {
|
|
113
|
+
padding: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.slides-inner {
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-direction: column;
|
|
119
|
+
gap: 20px;
|
|
120
|
+
align-items: center;
|
|
121
|
+
width: 100%;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
body.presenting .slides-inner {
|
|
125
|
+
gap: 0;
|
|
126
|
+
width: auto;
|
|
127
|
+
height: 100%;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.slide-wrapper {
|
|
132
|
+
position: relative;
|
|
133
|
+
width: var(--canvas-width);
|
|
134
|
+
height: var(--canvas-height);
|
|
135
|
+
transform-origin: top left;
|
|
136
|
+
transform: scale(var(--scale-factor));
|
|
137
|
+
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
|
|
138
|
+
background-color: white;
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
flex-shrink: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
body.presenting .slide-wrapper {
|
|
144
|
+
box-shadow: none;
|
|
145
|
+
display: none; /* Hide inactive */
|
|
146
|
+
/* Do NOT override transform or width/height. Keep them logical 720x405 and let scale work. */
|
|
147
|
+
position: absolute;
|
|
148
|
+
top: 50%;
|
|
149
|
+
left: 50%;
|
|
150
|
+
transform-origin: center center;
|
|
151
|
+
transform: translate(-50%, -50%) scale(var(--scale-factor));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
body.presenting .slide-wrapper.active {
|
|
155
|
+
display: block;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.slide {
|
|
159
|
+
position: absolute;
|
|
160
|
+
top: 0;
|
|
161
|
+
left: 0;
|
|
162
|
+
width: 100%;
|
|
163
|
+
height: 100%;
|
|
164
|
+
box-sizing: border-box;
|
|
165
|
+
background-color: white;
|
|
166
|
+
overflow: hidden;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Slots */
|
|
170
|
+
.slot {
|
|
171
|
+
position: absolute;
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
box-sizing: border-box;
|
|
176
|
+
}
|
|
177
|
+
.slot-title { font-weight: bold; }
|
|
178
|
+
|
|
179
|
+
h1 { font-size: 1.8em; margin-bottom: 0.2em; margin-top: 0; }
|
|
180
|
+
h2 { font-size: 1.4em; margin-bottom: 0.4em; margin-top: 0; }
|
|
181
|
+
h3 { font-size: 1.2em; margin-bottom: 0.3em; margin-top: 0; }
|
|
182
|
+
|
|
183
|
+
ul { padding-left: 1.2em; margin: 0; list-style-type: square; }
|
|
184
|
+
li { margin-bottom: 0.3em; }
|
|
185
|
+
|
|
186
|
+
table { border-collapse: collapse; width: 100%; margin-top: 1em; }
|
|
187
|
+
td, th { border: 1pt solid #ccc; padding: 6pt; text-align: left; }
|
|
188
|
+
th { background: rgba(0,0,0,0.05); font-weight: bold; }
|
|
189
|
+
|
|
190
|
+
img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; margin: auto; }
|
|
191
|
+
|
|
192
|
+
.markdown-line { margin-bottom: 4pt; }
|
|
193
|
+
|
|
194
|
+
/* Navigation */
|
|
195
|
+
#nav-bar {
|
|
196
|
+
position: fixed;
|
|
197
|
+
bottom: 20px;
|
|
198
|
+
left: 50%;
|
|
199
|
+
transform: translateX(-50%);
|
|
200
|
+
background: rgba(0, 0, 0, 0.8);
|
|
201
|
+
color: white;
|
|
202
|
+
padding: 10px 20px;
|
|
203
|
+
border-radius: 30px;
|
|
204
|
+
display: flex;
|
|
205
|
+
gap: 15px;
|
|
206
|
+
align-items: center;
|
|
207
|
+
z-index: 1000;
|
|
208
|
+
backdrop-filter: blur(10px);
|
|
209
|
+
opacity: 1;
|
|
210
|
+
transition: opacity 0.3s;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
body.presenting #nav-bar {
|
|
214
|
+
opacity: 0;
|
|
215
|
+
pointer-events: none;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
body.presenting #nav-bar:hover {
|
|
219
|
+
opacity: 1;
|
|
220
|
+
pointer-events: auto;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
button {
|
|
224
|
+
background: transparent;
|
|
225
|
+
border: 1px solid rgba(255,255,255,0.3);
|
|
226
|
+
color: white;
|
|
227
|
+
padding: 5px 12px;
|
|
228
|
+
border-radius: 15px;
|
|
229
|
+
cursor: pointer;
|
|
230
|
+
font-size: 14px;
|
|
231
|
+
}
|
|
232
|
+
button:hover { background: var(--accent-color); border-color: var(--accent-color); }
|
|
233
|
+
|
|
234
|
+
#slide-index { min-width: 60px; text-align: center; }
|
|
235
|
+
|
|
236
|
+
@media print {
|
|
237
|
+
body { background: none; display: block; }
|
|
238
|
+
#nav-bar { display: none; }
|
|
239
|
+
.slide-wrapper { margin: 0; box-shadow: none; page-break-after: always; transform: none !important; width: 100% !important; height: auto !important; }
|
|
240
|
+
}
|
|
241
|
+
</style>
|
|
242
|
+
</head>
|
|
243
|
+
<body id="body">
|
|
244
|
+
<div id="presentation-container">
|
|
245
|
+
<div class="slides-inner">
|
|
246
|
+
${slidesInnerHtml}
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
<div id="nav-bar">
|
|
251
|
+
<button onclick="togglePresent()">Present</button>
|
|
252
|
+
<button onclick="prevSlide()">Prev</button>
|
|
253
|
+
<span id="slide-index">1 / ${ir.slides.length}</span>
|
|
254
|
+
<button onclick="nextSlide()">Next</button>
|
|
255
|
+
<button onclick="toggleFS()">FS</button>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
<script>
|
|
259
|
+
const totalSlides = ${ir.slides.length};
|
|
260
|
+
const body = document.getElementById('body');
|
|
261
|
+
const wrappers = document.querySelectorAll('.slide-wrapper');
|
|
262
|
+
const indexSpan = document.getElementById('slide-index');
|
|
263
|
+
let currentIdx = 0;
|
|
264
|
+
|
|
265
|
+
function resize() {
|
|
266
|
+
const baseWidth = 960;
|
|
267
|
+
const baseHeight = 540;
|
|
268
|
+
const isPresenting = body.classList.contains('presenting');
|
|
269
|
+
|
|
270
|
+
const winW = window.innerWidth || document.documentElement.clientWidth || 1024;
|
|
271
|
+
const winH = window.innerHeight || document.documentElement.clientHeight || 768;
|
|
272
|
+
|
|
273
|
+
const targetWidth = isPresenting ? winW : winW * 0.95;
|
|
274
|
+
const targetHeight = isPresenting ? winH : winH * 0.9;
|
|
275
|
+
|
|
276
|
+
let scale = Math.min(targetWidth / baseWidth, targetHeight / baseHeight);
|
|
277
|
+
|
|
278
|
+
if (!isPresenting) {
|
|
279
|
+
scale = Math.min(scale, 1);
|
|
280
|
+
}
|
|
281
|
+
if (scale <= 0.01) scale = 1;
|
|
282
|
+
|
|
283
|
+
document.documentElement.style.setProperty('--scale-factor', scale);
|
|
284
|
+
|
|
285
|
+
wrappers.forEach(w => {
|
|
286
|
+
if (isPresenting) {
|
|
287
|
+
w.style.height = ''; // Reset to CSS default (var(--canvas-height)) for proper aspect ratio scaling
|
|
288
|
+
} else {
|
|
289
|
+
w.style.height = (baseHeight * scale) + 'px';
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
window.addEventListener('resize', resize);
|
|
295
|
+
window.addEventListener('DOMContentLoaded', resize);
|
|
296
|
+
window.addEventListener('load', resize);
|
|
297
|
+
resize();
|
|
298
|
+
|
|
299
|
+
function updateUI() {
|
|
300
|
+
indexSpan.innerText = (currentIdx + 1) + ' / ' + totalSlides;
|
|
301
|
+
wrappers.forEach((w, i) => {
|
|
302
|
+
w.classList.toggle('active', i === currentIdx);
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
if (!body.classList.contains('presenting')) {
|
|
306
|
+
wrappers[currentIdx].scrollIntoView({ behavior: 'auto', block: 'center' });
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
function nextSlide() {
|
|
311
|
+
if (currentIdx < totalSlides - 1) {
|
|
312
|
+
currentIdx++;
|
|
313
|
+
updateUI();
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
function prevSlide() {
|
|
318
|
+
if (currentIdx > 0) {
|
|
319
|
+
currentIdx--;
|
|
320
|
+
updateUI();
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
function togglePresent() {
|
|
325
|
+
body.classList.toggle('presenting');
|
|
326
|
+
setTimeout(() => { resize(); updateUI(); }, 50);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
function toggleFS() {
|
|
330
|
+
if (!document.fullscreenElement) {
|
|
331
|
+
body.requestFullscreen().catch(e => console.warn(e));
|
|
332
|
+
} else {
|
|
333
|
+
document.exitFullscreen();
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
window.addEventListener('keydown', (e) => {
|
|
338
|
+
if (['ArrowRight', ' ', 'PageDown', 'Enter'].includes(e.key)) { e.preventDefault(); nextSlide(); }
|
|
339
|
+
if (['ArrowLeft', 'PageUp', 'Backspace'].includes(e.key)) { e.preventDefault(); prevSlide(); }
|
|
340
|
+
if (e.key === 'p') togglePresent();
|
|
341
|
+
if (e.key === 'f') toggleFS();
|
|
342
|
+
if (e.key === 'Escape' && body.classList.contains('presenting')) togglePresent();
|
|
343
|
+
});
|
|
344
|
+
</script>
|
|
345
|
+
</body>
|
|
346
|
+
</html>
|
|
347
|
+
`;
|
|
348
|
+
fs.writeFileSync(outputPath, html);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
private static async getBackgroundCSS(bg: any, basePath: string, offline: boolean): Promise<string> {
|
|
352
|
+
if (!bg) return '#FFFFFF';
|
|
353
|
+
if (bg.type === 'color') return bg.value || '#FFFFFF';
|
|
354
|
+
if (bg.type === 'gradient' && bg.colors) {
|
|
355
|
+
return `linear-gradient(to bottom, ${bg.colors.join(', ')})`;
|
|
356
|
+
}
|
|
357
|
+
if (bg.type === 'image' && bg.src) {
|
|
358
|
+
const base64 = await this.resolveImageAsBase64(bg.src, basePath, offline);
|
|
359
|
+
const fit = bg.fit === 'contain' ? 'contain' : 'cover';
|
|
360
|
+
return `url('${base64}') center center / ${fit} no-repeat`;
|
|
361
|
+
}
|
|
362
|
+
return '#FFFFFF';
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
private static renderOptionalTitle(title: string, style: any): string {
|
|
366
|
+
const fontSize = (style.font_size || 18) * 1.8;
|
|
367
|
+
const align = style.content_align?.horizontal || 'left';
|
|
368
|
+
return `
|
|
369
|
+
<div class="slot slot-title" style="left: 50pt; top: 30pt; width: 620pt; font-size: ${fontSize}pt; text-align: ${align}; justify-content: flex-start;">
|
|
370
|
+
${title}
|
|
371
|
+
</div>
|
|
372
|
+
`;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
private static async renderSlot(content: SlotContent, slot: any, style: any, ir: StoneDeckIR, yOffset: number, outputDir: string, offline: boolean): Promise<string> {
|
|
376
|
+
let drawY = slot.y + yOffset;
|
|
377
|
+
let bottomLimit = 405 - 15;
|
|
378
|
+
let availableHeight = bottomLimit - drawY;
|
|
379
|
+
let safeHeight = Math.min(slot.height, availableHeight);
|
|
380
|
+
let widthStr = `${slot.width}pt`;
|
|
381
|
+
|
|
382
|
+
if (style.full_bleed && content.type === 'image') {
|
|
383
|
+
drawY = 0;
|
|
384
|
+
safeHeight = 405; // Full Canvas Height
|
|
385
|
+
// HTML width calculation: Total Width (720) - Left (x)
|
|
386
|
+
widthStr = `calc(var(--canvas-width) - ${slot.x}pt)`;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
let innerHtml = '';
|
|
390
|
+
const hAlign = style.card?.content_align?.horizontal || style.content_align?.horizontal || 'left';
|
|
391
|
+
const vAlign = style.card?.content_align?.vertical || style.content_align?.vertical || 'top';
|
|
392
|
+
const valignMap: any = { top: 'flex-start', middle: 'center', bottom: 'flex-end' };
|
|
393
|
+
const justifyContent = valignMap[vAlign] || 'flex-start';
|
|
394
|
+
|
|
395
|
+
let extraStyles = '';
|
|
396
|
+
if (style.card && slot.id !== 'title' && slot.id !== 'subtitle' && !(style.full_bleed && content.type === 'image')) {
|
|
397
|
+
const card = style.card;
|
|
398
|
+
if (card.background) extraStyles += `background-color: ${card.background}; `;
|
|
399
|
+
if (card.radius) extraStyles += `border-radius: ${card.radius}; `;
|
|
400
|
+
if (card.border) extraStyles += `border: ${card.border}; `;
|
|
401
|
+
if (card.shadow) extraStyles += `box-shadow: 0 4pt 12pt rgba(0,0,0,0.15); `;
|
|
402
|
+
extraStyles += `padding: 10pt; `;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
if (content.type === 'markdown') {
|
|
406
|
+
if (slot.id === 'number') {
|
|
407
|
+
innerHtml = content.raw.replace(/^#+\s+/, '');
|
|
408
|
+
} else {
|
|
409
|
+
innerHtml = this.parseMarkdown(content.raw);
|
|
410
|
+
}
|
|
411
|
+
} else if (content.type === 'list') {
|
|
412
|
+
innerHtml = '<ul>' + content.items.map(i => {
|
|
413
|
+
const processedText = i.text.replace(/\*\*(.*?)\*\*/g, '<strong>$1</strong>');
|
|
414
|
+
return `<li>${processedText}</li>`;
|
|
415
|
+
}).join('') + '</ul>';
|
|
416
|
+
} else if (content.type === 'table') {
|
|
417
|
+
innerHtml = '<table>' + content.rows.map(row =>
|
|
418
|
+
`<tr>${row.map(cell => cell.isHeader ? `<th>${cell.text}</th>` : `<td>${cell.text}</td>`).join('')}</tr>`
|
|
419
|
+
).join('') + '</table>';
|
|
420
|
+
} else if (content.type === 'image') {
|
|
421
|
+
const base64 = await this.resolveImageAsBase64(content.src, ir.basePath, offline);
|
|
422
|
+
|
|
423
|
+
let objFit = 'contain';
|
|
424
|
+
if (style.image_fit === 'cover' || (style.card && style.card.image_fit === 'cover')) {
|
|
425
|
+
objFit = 'cover';
|
|
426
|
+
}
|
|
427
|
+
innerHtml = `<img src="${base64}" alt="${content.alt || ''}" style="width: 100%; height: 100%; object-fit: ${objFit}; display: block;">`;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
const validFontSize = slot.id === 'number' ? (style.font_size || 18) * 6 : (style.font_size || 18);
|
|
431
|
+
const lineHeight = slot.id === 'number' ? '1.1' : 'normal';
|
|
432
|
+
|
|
433
|
+
return `
|
|
434
|
+
<div class="slot" style="left: ${slot.x}pt; top: ${drawY}pt; width: ${widthStr}; height: ${safeHeight}pt; font-size: ${validFontSize}pt; line-height: ${lineHeight}; text-align: ${hAlign}; justify-content: ${justifyContent}; ${extraStyles}">
|
|
435
|
+
${innerHtml}
|
|
436
|
+
</div>
|
|
437
|
+
`;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
private static parseMarkdown(raw: string): string {
|
|
441
|
+
const lines = raw.split(/\r?\n/);
|
|
442
|
+
return lines.map(line => {
|
|
443
|
+
const text = line.trim();
|
|
444
|
+
if (!text) return '<div class="markdown-line"> </div>';
|
|
445
|
+
let processedText = text.replace(/\*\*(.*?)\*\*/g, '<strong>$1</strong>');
|
|
446
|
+
processedText = processedText.replace(/!\[(.*?)\]\((.*?)\)/g, '<img src="$2" alt="$1">');
|
|
447
|
+
|
|
448
|
+
if (processedText.startsWith('### ')) return `<h3>${processedText.substring(4)}</h3>`;
|
|
449
|
+
if (processedText.startsWith('## ')) return `<h2>${processedText.substring(3)}</h2>`;
|
|
450
|
+
if (processedText.startsWith('# ')) return `<h1>${processedText.substring(2)}</h1>`;
|
|
451
|
+
if (processedText.startsWith('> ')) return `<blockquote style="border-left: 3px solid #ccc; margin: 0; padding-left: 10px; font-style: italic; color: #555;">${processedText.substring(2)}</blockquote>`;
|
|
452
|
+
|
|
453
|
+
const listMatch = processedText.match(/^(\s*)([-*+])\s+(.*)$/);
|
|
454
|
+
if (listMatch) {
|
|
455
|
+
const indent = (listMatch[1]!.length / 2 + 1) * 20;
|
|
456
|
+
return `<div style="display: list-item; margin-left: ${indent}pt; list-style-type: disc;">${listMatch[3]}</div>`;
|
|
457
|
+
}
|
|
458
|
+
return `<div class="markdown-line">${processedText}</div>`;
|
|
459
|
+
}).join('');
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
// Helper to resolve image to Base64
|
|
463
|
+
private static async resolveImageAsBase64(src: string, basePath: string, offline: boolean): Promise<string> {
|
|
464
|
+
try {
|
|
465
|
+
if (src.startsWith('http://') || src.startsWith('https://')) {
|
|
466
|
+
if (!offline) return src;
|
|
467
|
+
|
|
468
|
+
const response = await fetch(src);
|
|
469
|
+
if (!response.ok) throw new Error(`Failed to fetch image: ${response.statusText}`);
|
|
470
|
+
const arrayBuffer = await response.arrayBuffer();
|
|
471
|
+
const buffer = Buffer.from(arrayBuffer);
|
|
472
|
+
const mimeType = response.headers.get('content-type') || 'image/octet-stream';
|
|
473
|
+
const base64 = buffer.toString('base64');
|
|
474
|
+
return `data:${mimeType};base64,${base64}`;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
const imagePath = path.isAbsolute(src) ? src : path.resolve(basePath, src);
|
|
478
|
+
if (fs.existsSync(imagePath)) {
|
|
479
|
+
const ext = path.extname(imagePath).toLowerCase().substring(1);
|
|
480
|
+
const mimeType = ext === 'png' ? 'image/png' : ext === 'jpg' || ext === 'jpeg' ? 'image/jpeg' : ext === 'svg' ? 'image/svg+xml' : 'image/octet-stream';
|
|
481
|
+
const buffer = fs.readFileSync(imagePath);
|
|
482
|
+
const base64 = buffer.toString('base64');
|
|
483
|
+
return `data:${mimeType};base64,${base64}`;
|
|
484
|
+
}
|
|
485
|
+
return src;
|
|
486
|
+
} catch (e) {
|
|
487
|
+
console.warn(`Failed to convert image to base64: ${src}`, e);
|
|
488
|
+
return src;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/typescript/lib/lib.es2020.full.d.ts","../core/dist/models/ir.d.ts","../core/dist/emitter.d.ts","../core/dist/parser/tokenizer.d.ts","../core/dist/parser/manifesto.d.ts","../core/dist/layouts/validator.d.ts","../core/dist/interface/export-plugin.d.ts","../core/dist/processor.d.ts","../core/dist/index.d.ts","./src/index.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/symbols/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/any/any.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/any/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/readonly/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/constructor/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/literal/literal.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/literal/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/enum/enum.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/enum/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/function/function.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/function/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/computed/computed.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/computed/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/never/never.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/never/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intersect/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/union/union-type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/union/union.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/union/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/recursive/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/ref/ref.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/ref/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/tuple/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/error/error.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/error/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/string/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/boolean/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/number/number.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/number/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/integer/integer.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/integer/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/bigint/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/indexed/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/iterator/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/promise/promise.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/promise/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/sets/set.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/sets/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/mapped/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/optional/optional.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/optional/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/awaited/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/keyof/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/omit/omit.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/omit/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/pick/pick.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/pick/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/null/null.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/null/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/symbol/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/undefined/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/partial/partial.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/partial/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/regexp/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/record/record.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/record/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/required/required.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/required/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/transform/transform.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/transform/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/module/compute.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/module/infer.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/module/module.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/module/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/not/not.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/not/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/static/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/object/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/helpers/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/array/array.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/array/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/date/date.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/date/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/unknown/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/void/void.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/void/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/schema/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/clone/type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/clone/value.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/clone/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/create/type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/create/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/argument/argument.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/argument/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/guard/kind.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/guard/type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/guard/value.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/guard/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/patterns/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/registry/format.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/registry/type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/registry/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/composite/composite.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/composite/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/const/const.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/const/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/exclude/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extends/extends.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extends/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extract/extract.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/extract/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/parameters/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/rest/rest.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/rest/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/return-type/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/type/json.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/type/javascript.d.ts","../../node_modules/@sinclair/typebox/build/cjs/type/type/index.d.ts","../../node_modules/@sinclair/typebox/build/cjs/index.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/jest-mock/build/index.d.ts","../../node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/compatibility/index.d.ts","../../node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/@types/node/web-globals/events.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.generated.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/pdfkit/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileIdsList":[[62,277,323],[277,323],[264,277,323],[74,76,80,83,85,87,89,91,93,97,101,105,107,109,111,113,115,117,119,121,123,125,133,138,140,142,144,146,149,151,156,160,164,166,168,170,173,175,177,180,182,186,188,190,192,194,196,198,200,202,204,207,210,212,214,218,220,223,225,227,229,233,239,243,245,247,254,256,258,260,263,277,323],[74,207,277,323],[75,277,323],[213,277,323],[74,190,194,207,277,323],[195,277,323],[74,190,207,277,323],[79,277,323],[95,101,105,111,142,194,207,277,323],[150,277,323],[124,277,323],[118,277,323],[208,209,277,323],[207,277,323],[97,101,138,144,156,192,194,207,277,323],[224,277,323],[73,207,277,323],[94,277,323],[76,83,89,93,97,113,125,166,168,170,192,194,198,200,202,207,277,323],[226,277,323],[87,97,113,207,277,323],[228,277,323],[74,83,85,149,190,194,207,277,323],[86,277,323],[211,277,323],[205,277,323],[197,277,323],[74,89,207,277,323],[90,277,323],[114,277,323],[146,192,207,231,277,323],[133,207,231,277,323],[97,105,133,146,190,194,207,230,232,277,323],[230,231,232,277,323],[115,207,277,323],[89,146,192,194,207,236,277,323],[146,192,207,236,277,323],[105,146,190,194,207,235,237,277,323],[234,235,236,237,238,277,323],[146,192,207,241,277,323],[133,207,241,277,323],[97,105,133,146,190,194,207,240,242,277,323],[240,241,242,277,323],[92,277,323],[215,216,217,277,323],[74,76,80,83,87,89,93,95,97,101,105,107,109,111,113,117,119,121,123,125,133,140,142,146,149,166,168,170,175,177,182,186,188,192,196,198,200,202,204,207,214,277,323],[74,76,80,83,87,89,93,95,97,101,105,107,109,111,113,115,117,119,121,123,125,133,140,142,146,149,166,168,170,175,177,182,186,188,192,196,198,200,202,204,207,214,277,323],[97,192,207,277,323],[193,277,323],[134,135,136,137,277,323],[136,146,192,194,207,277,323],[134,138,146,192,207,277,323],[89,105,121,123,133,207,277,323],[95,97,101,105,107,111,113,134,135,137,146,192,194,196,207,277,323],[244,277,323],[87,97,207,277,323],[246,277,323],[80,83,85,87,93,101,105,113,140,142,149,177,192,196,202,207,214,277,323],[122,277,323],[98,99,100,277,323],[83,97,98,149,207,277,323],[97,98,207,277,323],[207,249,277,323],[248,249,250,251,252,253,277,323],[89,146,192,194,207,249,277,323],[89,105,133,146,207,248,277,323],[139,277,323],[152,153,154,155,277,323],[146,153,192,194,207,277,323],[101,105,107,113,144,192,194,196,207,277,323],[89,95,105,111,121,146,152,154,194,207,277,323],[88,277,323],[77,78,145,277,323],[74,192,207,277,323],[77,78,80,83,87,89,91,93,101,105,113,138,140,142,144,149,192,194,196,207,277,323],[80,83,87,91,93,95,97,101,105,111,113,138,140,149,151,156,160,164,173,177,180,182,192,194,196,207,277,323],[185,277,323],[80,83,87,91,93,101,105,107,111,113,140,149,177,190,192,194,196,207,277,323],[74,183,184,190,192,207,277,323],[96,277,323],[187,277,323],[165,277,323],[120,277,323],[191,277,323],[74,83,149,190,194,207,277,323],[157,158,159,277,323],[146,158,192,207,277,323],[146,158,192,194,207,277,323],[89,95,101,105,107,111,138,146,157,159,192,194,207,277,323],[147,148,277,323],[146,147,192,277,323],[74,146,148,194,207,277,323],[255,277,323],[93,97,113,207,277,323],[171,172,277,323],[146,171,192,194,207,277,323],[83,85,89,95,101,105,107,111,117,119,121,123,125,146,149,166,168,170,172,192,194,207,277,323],[219,277,323],[161,162,163,277,323],[146,162,192,207,277,323],[146,162,192,194,207,277,323],[89,95,101,105,107,111,138,146,161,163,192,194,207,277,323],[141,277,323],[84,277,323],[83,149,207,277,323],[81,82,277,323],[81,146,192,277,323],[74,82,146,194,207,277,323],[176,277,323],[74,76,89,91,97,105,117,119,121,123,133,175,190,192,194,207,277,323],[106,277,323],[110,277,323],[74,109,190,207,277,323],[174,277,323],[221,222,277,323],[178,179,277,323],[146,178,192,194,207,277,323],[83,85,89,95,101,105,107,111,117,119,121,123,125,146,149,166,168,170,179,192,194,207,277,323],[257,277,323],[101,105,113,207,277,323],[259,277,323],[93,97,207,277,323],[76,80,87,89,91,93,101,105,107,111,113,117,119,121,123,125,133,140,142,166,168,170,175,177,188,192,196,198,200,202,204,205,277,323],[205,206,277,323],[74,277,323],[143,277,323],[189,277,323],[80,83,87,91,93,97,101,105,107,109,111,113,140,142,149,177,182,186,188,192,194,196,207,277,323],[116,277,323],[167,277,323],[73,277,323],[89,105,115,117,119,121,123,125,126,133,277,323],[89,105,115,119,126,127,133,194,277,323],[126,127,128,129,130,131,132,277,323],[115,277,323],[115,133,277,323],[89,105,117,119,121,125,133,194,277,323],[74,89,97,105,117,119,121,123,125,129,190,194,207,277,323],[89,105,131,190,194,277,323],[181,277,323],[112,277,323],[261,262,277,323],[80,87,93,125,140,142,151,168,170,175,198,200,204,207,214,229,245,247,256,260,261,277,323],[76,83,85,89,91,97,101,105,107,109,111,113,117,119,121,123,133,138,146,149,156,160,164,166,173,177,180,182,186,188,192,196,202,207,225,227,233,239,243,254,258,277,323],[199,277,323],[169,277,323],[102,103,104,277,323],[83,97,102,149,207,277,323],[97,102,207,277,323],[201,277,323],[108,277,323],[203,277,323],[62,63,64,65,66,277,323],[62,64,277,323],[68,277,323],[69,277,323],[266,270,277,323],[277,320,323],[277,322,323],[323],[277,323,328,356],[277,323,324,329,334,342,353,364],[277,323,324,325,334,342],[272,273,274,277,323],[277,323,326,365],[277,323,327,328,335,343],[277,323,328,353,361],[277,323,329,331,334,342],[277,322,323,330],[277,323,331,332],[277,323,333,334],[277,322,323,334],[277,323,334,335,336,353,364],[277,323,334,335,336,349,353,356],[277,323,331,334,337,342,353,364],[277,323,334,335,337,338,342,353,361,364],[277,323,337,339,353,361,364],[275,276,277,278,279,280,281,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370],[277,323,334,340],[277,323,341,364,369],[277,323,331,334,342,353],[277,323,343],[277,323,344],[277,322,323,345],[277,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370],[277,323,347],[277,323,348],[277,323,334,349,350],[277,323,349,351,365,367],[277,323,334,353,354,356],[277,323,355,356],[277,323,353,354],[277,323,356],[277,323,357],[277,320,323,353,358],[277,323,334,359,360],[277,323,359,360],[277,323,328,342,353,361],[277,323,362],[277,323,342,363],[277,323,337,348,364],[277,323,328,365],[277,323,353,366],[277,323,341,367],[277,323,368],[277,318,323],[277,318,323,334,336,345,353,356,364,367,369],[277,323,353,370],[277,323,371],[277,323,374],[71,268,269,277,323],[266,277,323],[72,267,277,323],[265,277,323],[277,290,294,323,364],[277,290,323,353,364],[277,285,323],[277,287,290,323,361,364],[277,323,342,361],[277,285,323,371],[277,287,290,323,342,364],[277,282,283,286,289,323,334,353,364],[277,290,297,323],[277,282,288,323],[277,290,311,312,323],[277,286,290,323,356,364,371],[277,311,323,371],[277,284,285,323,371],[277,290,323],[277,284,285,286,287,288,289,290,291,292,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,312,313,314,315,316,317,323],[277,290,305,323],[277,290,297,298,323],[277,288,290,298,299,323],[277,289,323],[277,282,285,290,323],[277,290,294,298,299,323],[277,294,323],[277,288,290,293,323,364],[277,282,287,290,297,323],[277,323,353],[277,285,290,311,323,369,371],[53,277,323],[53,54,55,56,57,58,59,277,323],[60,277,323,335,344]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"1d316a39a306b3527193fbe481b9d957777982692c87a472e91cdfc50eefbeeb","impliedFormat":99},{"version":"4d714ae2b4d3878809eeb42855f46f16f858bceec723fd03a1b5c06e0f34bfb3","impliedFormat":99},{"version":"845341090e44b3cfe1c37b1ec68111f08daca1027c9336abfd4b6b8ab6ca5047","impliedFormat":99},{"version":"97781dbf756cecc3e83d4e2ba5be269fa9fd2fbf12a9f134339e044553803423","impliedFormat":99},{"version":"b05a178a40b55d024a3501b85f6504a81ef8bb2372b3a376ae79b4b704baa763","impliedFormat":99},{"version":"31ec767a09574eedd9bbb610f4d821da0c3f107ded145e3c06fd6c1e6e741bf5","impliedFormat":99},{"version":"fcf901dee62c34fc6b50c5e67b827806debc9a297193cc910ced3300c2ddc344","impliedFormat":99},{"version":"01c1f4c2cd45e8a08e67e9b141c8da9d936ee6abcf1553eff71be8cbc6d64cd3","impliedFormat":99},{"version":"2a12d4ffb22490f1c90fb316e9f92a41fb8d9730f97a8f8723b55c30fe7f685f","signature":"ad7194ed41cc0a1899efda94f465d86b16aecbb34271e1ae280dbe3b2beeaa24","impliedFormat":99},{"version":"511a5f4f77165dc1b73ceae1e28b4a8f78f3443d8e18a1fd43bfafd2b0133bbe","impliedFormat":1},{"version":"b6d03c9cfe2cf0ba4c673c209fcd7c46c815b2619fd2aad59fc4229aaef2ed43","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"13b77ab19ef7aadd86a1e54f2f08ea23a6d74e102909e3c00d31f231ed040f62","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","impliedFormat":1},{"version":"a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","impliedFormat":1},{"version":"5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","impliedFormat":1},{"version":"d934a06d62d87a7e2d75a3586b5f9fb2d94d5fe4725ff07252d5f4651485100f","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"b104e2da53231a529373174880dc0abfbc80184bb473b6bf2a9a0746bebb663d","impliedFormat":1},{"version":"ee91a5fbbd1627c632df89cce5a4054f9cc6e7413ebdccc82b27c7ffeedf982d","impliedFormat":1},{"version":"85c8731ca285809fc248abf21b921fe00a67b6121d27060d6194eddc0e042b1a","impliedFormat":1},{"version":"6bac0cbdf1bc85ae707f91fdf037e1b600e39fb05df18915d4ecab04a1e59d3c","impliedFormat":1},{"version":"5688b21a05a2a11c25f56e53359e2dcda0a34cb1a582dbeb1eaacdeca55cb699","impliedFormat":1},{"version":"35558bf15f773acbe3ed5ac07dd27c278476630d85245f176e85f9a95128b6e0","impliedFormat":1},{"version":"951f54e4a63e82b310439993170e866dba0f28bb829cbc14d2f2103935cea381","impliedFormat":1},{"version":"4454a999dc1676b866450e8cddd9490be87b391b5526a33f88c7e45129d30c5d","impliedFormat":1},{"version":"99013139312db746c142f27515a14cdebb61ff37f20ee1de6a58ce30d36a4f0d","impliedFormat":1},{"version":"71da852f38ac50d2ae43a7b7f2899b10a2000727fee293b0b72123ed2e7e2ad6","impliedFormat":1},{"version":"74dd1096fca1fec76b951cf5eacf609feaf919e67e13af02fed49ec3b77ea797","impliedFormat":1},{"version":"a0691153ccf5aa1b687b1500239722fff4d755481c20e16d9fcd7fb2d659c7c7","impliedFormat":1},{"version":"fe2201d73ae56b1b4946c10e18549a93bf4c390308af9d422f1ffd3c7989ffc8","impliedFormat":1},{"version":"cad63667f992149cee390c3e98f38c00eee56a2dae3541c6d9929641b835f987","impliedFormat":1},{"version":"f497cad2b33824d8b566fa276cfe3561553f905fdc6b40406c92bcfcaec96552","impliedFormat":1},{"version":"eb58c4dbc6fec60617d80f8ccf23900a64d3190fda7cfb2558b389506ec69be0","impliedFormat":1},{"version":"578929b1c1e3adaed503c0a0f9bda8ba3fea598cc41ad5c38932f765684d9888","impliedFormat":1},{"version":"7cc9d600b2070b1e5c220044a8d5a58b40da1c11399b6c8968711de9663dc6b2","impliedFormat":1},{"version":"45f36cf09d3067cd98b39a7d430e0e531f02911dd6d63b6d784b1955eef86435","impliedFormat":1},{"version":"80419a23b4182c256fa51d71cb9c4d872256ca6873701ceabbd65f8426591e49","impliedFormat":1},{"version":"5aa046aaab44da1a63d229bd67a7a1344afbd6f64db20c2bbe3981ceb2db3b07","impliedFormat":1},{"version":"ed9ad5b51c6faf9d6f597aa0ab11cb1d3a361c51ba59d1220557ef21ad5b0146","impliedFormat":1},{"version":"73db7984e8a35e6b48e3879a6d024803dd990022def2750b3c23c01eb58bc30f","impliedFormat":1},{"version":"c9ecb910b3b4c0cf67bc74833fc41585141c196b5660d2eb3a74cfffbf5aa266","impliedFormat":1},{"version":"33dcfba8a7e4acbe23974d342c44c36d7382c3d1d261f8aef28261a7a5df2969","impliedFormat":1},{"version":"de26700eb7277e8cfdde32ebb21b3d9ad1d713b64fdc2019068b857611e8f0c4","impliedFormat":1},{"version":"e481bd2c07c8e93eb58a857a9e66f22cb0b5ddfd86bbf273816fd31ef3a80613","impliedFormat":1},{"version":"ef156ba4043f6228d37645d6d9c6230a311e1c7a86669518d5f2ebc26e6559bf","impliedFormat":1},{"version":"457fd1e6d6f359d7fa2ca453353f4317efccae5c902b13f15c587597015212bc","impliedFormat":1},{"version":"473b2b42af720ebdb539988c06e040fd9600facdeb23cb297d72ee0098d8598f","impliedFormat":1},{"version":"22bc373ca556de33255faaddb373fec49e08336638958ad17fbd6361c7461eed","impliedFormat":1},{"version":"b3d58358675095fef03ec71bddc61f743128682625f1336df2fc31e29499ab25","impliedFormat":1},{"version":"5b1ef94b03042629c76350fe18be52e17ab70f1c3be8f606102b30a5cd86c1b3","impliedFormat":1},{"version":"a7b6046c44d5fda21d39b3266805d37a2811c2f639bf6b40a633b9a5fb4f5d88","impliedFormat":1},{"version":"80b036a132f3def4623aad73d526c6261dcae3c5f7013857f9ecf6589b72951f","impliedFormat":1},{"version":"0a347c2088c3b1726b95ccde77953bede00dd9dd2fda84585fa6f9f6e9573c18","impliedFormat":1},{"version":"8cc3abb4586d574a3faeea6747111b291e0c9981003a0d72711351a6bcc01421","impliedFormat":1},{"version":"0a516adfde610035e31008b170da29166233678216ef3646822c1b9af98879da","impliedFormat":1},{"version":"70d48a1faa86f67c9cb8a39babc5049246d7c67b6617cd08f64e29c055897ca9","impliedFormat":1},{"version":"df10dc6fe1c49e2f94be9d7d1e625aeb66e5eb90b2e0af1f378bfdfa5313155b","impliedFormat":1},{"version":"082b818038423de54be877cebdb344a2e3cf3f6abcfc48218d8acf95c030426a","impliedFormat":1},{"version":"813514ef625cb8fc3befeec97afddfb3b80b80ced859959339d99f3ad538d8fe","impliedFormat":1},{"version":"039cd54028eb988297e189275764df06c18f9299b14c063e93bd3f30c046fee6","impliedFormat":1},{"version":"e91cfd040e6da28427c5c4396912874902c26605240bdc3457cc75b6235a80f2","impliedFormat":1},{"version":"b4347f0b45e4788c18241ac4dee20ceab96d172847f1c11d42439d3de3c09a3e","impliedFormat":1},{"version":"16fe6721dc0b4144a0cdcef98857ee19025bf3c2a3cc210bcd0b9d0e25f7cec8","impliedFormat":1},{"version":"346d903799e8ea99e9674ba5745642d47c0d77b003cc7bb93e1d4c21c9e37101","impliedFormat":1},{"version":"3997421bb1889118b1bbfc53dd198c3f653bf566fd13c663e02eb08649b985c4","impliedFormat":1},{"version":"2d1ac54184d897cb5b2e732d501fa4591f751678717fd0c1fd4a368236b75cba","impliedFormat":1},{"version":"bade30041d41945c54d16a6ec7046fba6d1a279aade69dfdef9e70f71f2b7226","impliedFormat":1},{"version":"56fbea100bd7dd903dc49a1001995d3c6eee10a419c66a79cdb194bff7250eb7","impliedFormat":1},{"version":"fe8d26b2b3e519e37ceea31b1790b17d7c5ab30334ca2b56d376501388ba80d6","impliedFormat":1},{"version":"37ad0a0c2b296442072cd928d55ef6a156d50793c46c2e2497da1c2750d27c1e","impliedFormat":1},{"version":"be93d07586d09e1b6625e51a1591d6119c9f1cbd95718497636a406ec42babee","impliedFormat":1},{"version":"a062b507ed5fc23fbc5850fd101bc9a39e9a0940bb52a45cd4624176337ad6b8","impliedFormat":1},{"version":"cf01f601ef1e10b90cad69312081ce0350f26a18330913487a26d6d4f7ce5a73","impliedFormat":1},{"version":"a9de7b9a5deaed116c9c89ad76fdcc469226a22b79c80736de585af4f97b17cd","impliedFormat":1},{"version":"5bde81e8b0efb2d977c6795f9425f890770d54610764b1d8df340ce35778c4f8","impliedFormat":1},{"version":"20fd0402351907669405355eeae8db00b3cf0331a3a86d8142f7b33805174f57","impliedFormat":1},{"version":"da6949af729eca1ec1fe867f93a601988b5b206b6049c027d0c849301d20af6f","impliedFormat":1},{"version":"7008f240ea3a5a344be4e5f9b5dbf26721aad3c5cfef5ff79d133fa7450e48fa","impliedFormat":1},{"version":"eb13c8624f5747a845aea0df1dfde0f2b8f5ed90ca3bc550b12777797cb1b1e3","impliedFormat":1},{"version":"2452fc0f47d3b5b466bda412397831dd5138e62f77aa5e11270e6ca3ecb8328d","impliedFormat":1},{"version":"33c2ebbdd9a62776ca0091a8d1f445fa2ea4b4f378bc92f524031a70dfbeec86","impliedFormat":1},{"version":"3ac3a5b34331a56a3f76de9baf619def3f3073961ce0a012b6ffa72cf8a91f1f","impliedFormat":1},{"version":"d5e9d32cc9813a5290a17492f554999e33f1aa083a128d3e857779548537a778","impliedFormat":1},{"version":"776f49489fa2e461b40370e501d8e775ddb32433c2d1b973f79d9717e1d79be5","impliedFormat":1},{"version":"be94ea1bfaa2eeef1e821a024914ef94cf0cba05be8f2e7df7e9556231870a1d","impliedFormat":1},{"version":"40cd13782413c7195ad8f189f81174850cc083967d056b23d529199d64f02c79","impliedFormat":1},{"version":"05e041810faf710c1dcd03f3ffde100c4a744672d93512314b1f3cfffccdaf20","impliedFormat":1},{"version":"15a8f79b1557978d752c0be488ee5a70daa389638d79570507a3d4cfc620d49d","impliedFormat":1},{"version":"968ee57037c469cffb3b0e268ab824a9c31e4205475b230011895466a1e72da4","impliedFormat":1},{"version":"77debd777927059acbaf1029dfc95900b3ab8ed0434ce3914775efb0574e747b","impliedFormat":1},{"version":"921e3bd6325acb712cd319eaec9392c9ad81f893dead509ab2f4e688f265e536","impliedFormat":1},{"version":"60f6768c96f54b870966957fb9a1b176336cd82895ded088980fb506c032be1c","impliedFormat":1},{"version":"755d9b267084db4ea40fa29653ea5fc43e125792b1940f2909ec70a4c7f712d8","impliedFormat":1},{"version":"7e3056d5333f2d8a9e54324c2e2293027e4cd9874615692a53ad69090894d116","impliedFormat":1},{"version":"1e25b848c58ad80be5c31b794d49092d94df2b7e492683974c436bcdbefb983c","impliedFormat":1},{"version":"3df6fc700b8d787974651680ae6e37b6b50726cf5401b7887f669ab195c2f2ef","impliedFormat":1},{"version":"145df08c171ec616645a353d5eaa5d5f57a5fbce960a47d847548abd9215a99e","impliedFormat":1},{"version":"dcfd2ca9e033077f9125eeca6890bb152c6c0bc715d0482595abc93c05d02d92","impliedFormat":1},{"version":"8056fa6beb8297f160e13c9b677ba2be92ab23adfb6940e5a974b05acd33163b","impliedFormat":1},{"version":"86dda1e79020fad844010b39abb68fafed2f3b2156e3302820c4d0a161f88b03","impliedFormat":1},{"version":"dea0dcec8d5e0153d6f0eacebb163d7c3a4b322a9304048adffc6d26084054bd","impliedFormat":1},{"version":"2afd081a65d595d806b0ff434d2a96dc3d6dcd8f0d1351c0a0968568c6944e0b","impliedFormat":1},{"version":"b86259ab4b95ebe1aedb03d3eebea647f0bd9a706981220f00210487d70e77a0","impliedFormat":1},{"version":"2f1f7c65e8ee58e3e7358f9b8b3c37d8447549ecc85046f9405a0fc67fbdf54b","impliedFormat":1},{"version":"e3f3964ff78dee11a07ae589f1319ff682f62f3c6c8afa935e3d8616cf21b431","impliedFormat":1},{"version":"2762c2dbee294ffb8fdbcae6db32c3dae09e477d6a348b48578b4145b15d1818","impliedFormat":1},{"version":"78a1eace936ad32ca1c228814f3333cb2e826e1447e60fee181b3c53d43a8d07","impliedFormat":1},{"version":"24bd135b687da453ea7bd98f7ece72e610a3ff8ca6ec23d321c0e32f19d32db6","impliedFormat":1},{"version":"64d45d55ba6e42734ac326d2ea1f674c72837443eb7ff66c82f95e4544980713","impliedFormat":1},{"version":"f9b0dc747f13dcc09e40c26ddcc118b1bafc3152f771fdc32757a7f8916a11fc","impliedFormat":1},{"version":"7035fc608c297fd38dfe757d44d3483a570e2d6c8824b2d6b20294d617da64c6","impliedFormat":1},{"version":"22160a296186123d2df75280a1fab70d2105ce1677af1ebb344ffcb88eef6e42","impliedFormat":1},{"version":"9067b3fd7d71165d4c34fcbbf29f883860fd722b7e8f92e87da036b355a6c625","impliedFormat":1},{"version":"e01ab4b99cc4a775d06155e9cadd2ebd93e4af46e2723cb9361f24a4e1f178ef","impliedFormat":1},{"version":"9a13410635d5cc9c2882e67921c59fb26e77b9d99efa1a80b5a46fdc2954afce","impliedFormat":1},{"version":"b04862a4f44f78fd12ad8ed34ab81f9f254a87398568173694a78dc0bdebcd23","impliedFormat":1},{"version":"fa894bdddb2ba0e6c65ad0d88942cf15328941246410c502576124ef044746f9","impliedFormat":1},{"version":"59c5a06fa4bf2fa320a3c5289b6f199a3e4f9562480f59c0987c91dc135a1adf","impliedFormat":1},{"version":"456a9a12ad5d57af0094edf99ceab1804449f6e7bc773d85d09c56a18978a177","impliedFormat":1},{"version":"a8e2a77f445a8a1ce61bfd4b7b22664d98cf19b84ec6a966544d0decec18e143","impliedFormat":1},{"version":"6f6b0b477db6c4039410c7a13fe1ebed4910dedf644330269816df419cdb1c65","impliedFormat":1},{"version":"960b6e1edfb9aafbd560eceaae0093b31a9232ab273f4ed776c647b2fb9771da","impliedFormat":1},{"version":"530f4bee13cc07fd4e8bac69eeb728a6270ebafeab886c98624c699725b29755","impliedFormat":1},{"version":"a0db48d42371b223cea8fd7a41763d48f9166ecd4baecc9d29d9bb44cc3c2d83","impliedFormat":1},{"version":"aaf3c2e268f27514eb28255835f38445a200cd8bcfdff2c07c6227f67aaaf657","impliedFormat":1},{"version":"6ade56d2afdf75a9bd55cd9c8593ed1d78674804d9f6d9aba04f807f3179979e","impliedFormat":1},{"version":"b67acb619b761e91e3a11dddb98c51ee140361bc361eb17538f1c3617e3ec157","impliedFormat":1},{"version":"81b097e0f9f8d8c3d5fe6ba9dc86139e2d95d1e24c5ce7396a276dfbb2713371","impliedFormat":1},{"version":"692d56fff4fb60948fe16e9fed6c4c4eac9b263c06a8c6e63726e28ed4844fd4","impliedFormat":1},{"version":"f13228f2c0e145fc6dc64917eeef690fb2883a0ac3fa9ebfbd99616fd12f5629","impliedFormat":1},{"version":"d89b2b41a42c04853037408080a2740f8cd18beee1c422638d54f8aefe95c5b8","impliedFormat":1},{"version":"be5d39e513e3e0135068e4ebed5473ab465ae441405dce90ab95055a14403f64","impliedFormat":1},{"version":"97e320c56905d9fa6ac8bd652cea750265384f048505870831e273050e2878cc","impliedFormat":1},{"version":"9932f390435192eb93597f89997500626fb31005416ce08a614f66ec475c5c42","impliedFormat":1},{"version":"5d89ca552233ac2d61aee34b0587f49111a54a02492e7a1098e0701dedca60c9","impliedFormat":1},{"version":"1ee47a39f996d76442fe9777bb4446bd110f6828488db0e65cba817b4ffc5807","impliedFormat":1},{"version":"fdc4fd2c610b368104746960b45216bc32685927529dd871a5330f4871d14906","impliedFormat":1},{"version":"7b5d77c769a6f54ea64b22f1877d64436f038d9c81f1552ad11ed63f394bd351","impliedFormat":1},{"version":"4f7d54c603949113f45505330caae6f41e8dbb59841d4ae20b42307dc4579835","impliedFormat":1},{"version":"a71fd01a802624c3fce6b09c14b461cc7c7758aa199c202d423a7c89ad89943c","impliedFormat":1},{"version":"1ed0dc05908eb15f46379bc1cb64423760e59d6c3de826a970b2e2f6da290bf5","impliedFormat":1},{"version":"db89ef053f209839606e770244031688c47624b771ff5c65f0fa1ec10a6919f1","impliedFormat":1},{"version":"4d45b88987f32b2ac744f633ff5ddb95cd10f64459703f91f1633ff457d6c30d","impliedFormat":1},{"version":"8512fd4a480cd8ef8bf923a85ff5e97216fa93fb763ec871144a9026e1c9dade","impliedFormat":1},{"version":"2aa58b491183eedf2c8ae6ef9a610cd43433fcd854f4cc3e2492027fbe63f5ca","impliedFormat":1},{"version":"ce1f3439cb1c5a207f47938e68752730892fc3e66222227effc6a8b693450b82","impliedFormat":1},{"version":"295ce2cf585c26a9b71ba34fbb026d2b5a5f0d738b06a356e514f39c20bf38ba","impliedFormat":1},{"version":"342f10cf9ba3fbf52d54253db5c0ac3de50360b0a3c28e648a449e28a4ac8a8c","impliedFormat":1},{"version":"c485987c684a51c30e375d70f70942576fa86e9d30ee8d5849b6017931fccc6f","impliedFormat":1},{"version":"320bd1aa480e22cdd7cd3d385157258cc252577f4948cbf7cfdf78ded9d6d0a8","impliedFormat":1},{"version":"4ee053dfa1fce5266ecfae2bf8b6b0cb78a6a76060a1dcf66fb7215b9ff46b0b","impliedFormat":1},{"version":"1f84d8b133284b596328df47453d3b3f3817ad206cf3facf5eb64b0a2c14f6d7","impliedFormat":1},{"version":"5c75e05bc62bffe196a9b2e9adfa824ffa7b90d62345a766c21585f2ce775001","impliedFormat":1},{"version":"cc2eb5b23140bbceadf000ef2b71d27ac011d1c325b0fc5ecd42a3221db5fb2e","impliedFormat":1},{"version":"fd75cc24ea5ec28a44c0afc2f8f33da5736be58737ba772318ae3bdc1c079dc3","impliedFormat":1},{"version":"5ae43407346e6f7d5408292a7d957a663cc7b6d858a14526714a23466ac83ef9","impliedFormat":1},{"version":"c72001118edc35bbe4fff17674dc5f2032ccdbcc5bec4bd7894a6ed55739d31b","impliedFormat":1},{"version":"353196fd0dd1d05e933703d8dad664651ed172b8dfb3beaef38e66522b1e0219","impliedFormat":1},{"version":"670aef817baea9332d7974295938cf0201a2d533c5721fccf4801ba9a4571c75","impliedFormat":1},{"version":"3f5736e735ee01c6ecc6d4ab35b2d905418bb0d2128de098b73e11dd5decc34f","impliedFormat":1},{"version":"b64e159c49afc6499005756f5a7c2397c917525ceab513995f047cdd80b04bdf","impliedFormat":1},{"version":"f72b400dbf8f27adbda4c39a673884cb05daf8e0a1d8152eec2480f5700db36c","impliedFormat":1},{"version":"24509d0601fc00c4d77c20cacddbca6b878025f4e0712bddd171c7917f8cdcde","impliedFormat":1},{"version":"5f5baa59149d3d6d6cef2c09d46bb4d19beb10d6bee8c05b7850c33535b3c438","impliedFormat":1},{"version":"f17a51aae728f9f1a2290919cf29a927621b27f6ae91697aee78f41d48851690","impliedFormat":1},{"version":"be02e3c3cb4e187fd252e7ae12f6383f274e82288c8772bb0daf1a4e4af571ad","impliedFormat":1},{"version":"82ca40fb541799273571b011cd9de6ee9b577ef68acc8408135504ae69365b74","impliedFormat":1},{"version":"8fb6646db72914d6ef0692ea88b25670bbf5e504891613a1f46b42783ec18cce","impliedFormat":1},{"version":"b61efdebae3d131b6ad71bd2aa7cc4284e351481339bf66d84ee5ed86465bcc8","impliedFormat":1},{"version":"213aa21650a910d95c4d0bee4bb936ecd51e230c1a9e5361e008830dcc73bc86","impliedFormat":1},{"version":"874a8c5125ad187e47e4a8eacc809c866c0e71b619a863cc14794dd3ccf23940","impliedFormat":1},{"version":"c31db8e51e85ee67018ac2a40006910efbb58e46baea774cf1f245d99bf178b5","impliedFormat":1},{"version":"31fac222250b18ebac0158938ede4b5d245e67d29cd2ef1e6c8a5859d137d803","impliedFormat":1},{"version":"a9dfb793a7e10949f4f3ea9f282b53d3bd8bf59f5459bc6e618e3457ed2529f5","impliedFormat":1},{"version":"2a77167687b0ec0c36ef581925103f1dc0c69993f61a9dbd299dcd30601af487","impliedFormat":1},{"version":"0f23b5ce60c754c2816c2542b9b164d6cb15243f4cbcd11cfafcab14b60e04d0","impliedFormat":1},{"version":"813ce40a8c02b172fdbeb8a07fdd427ac68e821f0e20e3dc699fb5f5bdf1ef0a","impliedFormat":1},{"version":"5ce6b24d5fd5ebb1e38fe817b8775e2e00c94145ad6eedaf26e3adf8bb3903d0","impliedFormat":1},{"version":"6babca69d3ae17be168cfceb91011eed881d41ce973302ee4e97d68a81c514b4","impliedFormat":1},{"version":"3e0832bc2533c0ec6ffcd61b7c055adedcca1a45364b3275c03343b83c71f5b3","impliedFormat":1},{"version":"342418c52b55f721b043183975052fb3956dae3c1f55f965fedfbbf4ad540501","impliedFormat":1},{"version":"6a6ab1edb5440ee695818d76f66d1a282a31207707e0d835828341e88e0c1160","impliedFormat":1},{"version":"7e9b4669774e97f5dc435ddb679aa9e7d77a1e5a480072c1d1291892d54bf45c","impliedFormat":1},{"version":"de439ddbed60296fbd1e5b4d242ce12aad718dffe6432efcae1ad6cd996defd3","impliedFormat":1},{"version":"ce5fb71799f4dbb0a9622bf976a192664e6c574d125d3773d0fa57926387b8b2","impliedFormat":1},{"version":"b9c0de070a5876c81540b1340baac0d7098ea9657c6653731a3199fcb2917cef","impliedFormat":1},{"version":"cbc91ecd74d8f9ddcbcbdc2d9245f14eff5b2f6ae38371283c97ca7dc3c4a45f","impliedFormat":1},{"version":"3ca1d6f016f36c61a59483c80d8b9f9d50301fbe52a0dde288c1381862b13636","impliedFormat":1},{"version":"ecfef0c0ff0c80ac9a6c2fab904a06b680fb5dfe8d9654bb789e49c6973cb781","impliedFormat":1},{"version":"0ee2eb3f7c0106ccf6e388bc0a16e1b3d346e88ac31b6a5bbc15766e43992167","impliedFormat":1},{"version":"7a80da7b14bc7902b1da607c8b3734ad5740f8f5fade9a7bfbf753b9bba22652","impliedFormat":1},{"version":"7e46dd61422e5afe88c34e5f1894ae89a37b7a07393440c092e9dc4399820172","impliedFormat":1},{"version":"9df4f57d7279173b0810154c174aa03fd60f5a1f0c3acfe8805e55e935bdecd4","impliedFormat":1},{"version":"a02a51b68a60a06d4bd0c747d6fbade0cb87eefda5f985fb4650e343da424f12","impliedFormat":1},{"version":"0cf851e2f0ecf61cabe64efd72de360246bcb8c19c6ef7b5cbb702293e1ff755","impliedFormat":1},{"version":"0c0e0aaf37ab0552dffc13eb584d8c56423b597c1c49f7974695cb45e2973de6","impliedFormat":1},{"version":"e2e0cd8f6470bc69bbfbc5e758e917a4e0f9259da7ffc93c0930516b0aa99520","impliedFormat":1},{"version":"180de8975eff720420697e7b5d95c0ecaf80f25d0cea4f8df7fe9cf817d44884","impliedFormat":1},{"version":"424a7394f9704d45596dce70bd015c5afec74a1cc5760781dfda31bc300df88f","impliedFormat":1},{"version":"044a62b9c967ee8c56dcb7b2090cf07ef2ac15c07e0e9c53d99fab7219ee3d67","impliedFormat":1},{"version":"3903b01a9ba327aae8c7ea884cdabc115d27446fba889afc95fddca8a9b4f6e2","impliedFormat":1},{"version":"78fd8f2504fbfb0070569729bf2fe41417fdf59f8c3e975ab3143a96f03e0a4a","impliedFormat":1},{"version":"8afd4f91e3a060a886a249f22b23da880ec12d4a20b6404acc5e283ef01bdd46","impliedFormat":1},{"version":"72e72e3dea4081877925442f67b23be151484ef0a1565323c9af7f1c5a0820f0","impliedFormat":1},{"version":"fa8c21bafd5d8991019d58887add8971ccbe88243c79bbcaec2e2417a40af4e8","impliedFormat":1},{"version":"ab35597fd103b902484b75a583606f606ab2cef7c069fae6c8aca0f058cee77d","impliedFormat":1},{"version":"ca54ec33929149dded2199dca95fd8ad7d48a04f6e8500f3f84a050fa77fee45","impliedFormat":1},{"version":"cac7dcf6f66d12979cc6095f33edc7fbb4266a44c8554cd44cd04572a4623fd0","impliedFormat":1},{"version":"98af566e6d420e54e4d8d942973e7fbe794e5168133ad6658b589d9dfb4409d8","impliedFormat":1},{"version":"772b2865dd86088c6e0cab71e23534ad7254961c1f791bdeaf31a57a2254df43","impliedFormat":1},{"version":"786d837fba58af9145e7ad685bc1990f52524dc4f84f3e60d9382a0c3f4a0f77","impliedFormat":1},{"version":"539dd525bf1d52094e7a35c2b4270bee757d3a35770462bcb01cd07683b4d489","impliedFormat":1},{"version":"69135303a105f3b058d79ea7e582e170721e621b1222e8f8e51ea29c61cd3acf","impliedFormat":1},{"version":"e92e6f0d63e0675fe2538e8031e1ece36d794cb6ecc07a036d82c33fa3e091a9","impliedFormat":1},{"version":"1fdb07843cdb9bd7e24745d357c6c1fde5e7f2dd7c668dd68b36c0dff144a390","impliedFormat":1},{"version":"3e2f739bdfb6b194ae2af13316b4c5bb18b3fe81ac340288675f92ba2061b370","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"2cbe0621042e2a68c7cbce5dfed3906a1862a16a7d496010636cdbdb91341c0f","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"2fd4c143eff88dabb57701e6a40e02a4dbc36d5eb1362e7964d32028056a782b","impliedFormat":1},{"version":"714435130b9015fae551788df2a88038471a5a11eb471f27c4ede86552842bc9","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"27fdb0da0daf3b337c5530c5f266efe046a6ceb606e395b346974e4360c36419","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"0e456fd5b101271183d99a9087875a282323e3a3ff0d7bcf1881537eaa8b8e63","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"47ab634529c5955b6ad793474ae188fce3e6163e3a3fb5edd7e0e48f14435333","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"0225ecb9ed86bdb7a2c7fd01f1556906902929377b44483dc4b83e03b3ef227d","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"ddc734b4fae82a01d247e9e342d020976640b5e93b4e9b3a1e30e5518883a060","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"05db535df8bdc30d9116fe754a3473d1b6479afbc14ae8eb18b605c62677d518","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1},{"version":"cb10a0a912da58ffb11ea16a0138f3f799628559b9f391a8caefee162b7249f6","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","impliedFormat":1},{"version":"bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","impliedFormat":1},{"version":"26a770cec4bd2e7dbba95c6e536390fffe83c6268b78974a93727903b515c4e7","impliedFormat":1}],"root":[61],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[64,1],[62,2],[71,2],[265,3],[264,4],[75,5],[76,6],[213,5],[214,7],[195,8],[196,9],[79,10],[80,11],[150,12],[151,13],[124,5],[125,14],[118,5],[119,15],[210,16],[208,17],[209,2],[224,18],[225,19],[94,20],[95,21],[226,22],[227,23],[228,24],[229,25],[86,26],[87,27],[212,28],[211,29],[197,5],[198,30],[90,31],[91,32],[114,2],[115,33],[232,34],[230,35],[231,36],[233,37],[234,38],[237,39],[235,40],[238,17],[236,41],[239,42],[242,43],[240,44],[241,45],[243,46],[92,26],[93,47],[218,48],[215,49],[216,50],[217,2],[193,51],[194,52],[138,53],[137,54],[135,55],[134,56],[136,57],[245,58],[244,59],[247,60],[246,61],[123,62],[122,5],[101,63],[99,64],[98,10],[100,65],[250,66],[254,67],[248,68],[249,69],[251,66],[252,66],[253,66],[140,70],[139,10],[156,71],[154,72],[155,17],[152,73],[153,74],[89,75],[88,5],[146,76],[77,5],[78,77],[145,78],[183,79],[186,80],[184,81],[185,82],[97,83],[96,5],[188,84],[187,10],[166,85],[165,5],[121,86],[120,5],[192,87],[191,88],[160,89],[159,90],[157,91],[158,92],[149,93],[148,94],[147,95],[256,96],[255,97],[173,98],[172,99],[171,100],[220,101],[219,2],[164,102],[163,103],[161,104],[162,105],[142,106],[141,10],[85,107],[84,108],[83,109],[82,110],[81,111],[177,112],[176,113],[107,114],[106,10],[111,115],[110,116],[175,117],[174,5],[221,2],[223,118],[222,2],[180,119],[179,120],[178,121],[258,122],[257,123],[260,124],[259,125],[206,126],[207,127],[205,128],[144,129],[143,2],[190,130],[189,131],[117,132],[116,5],[168,133],[167,5],[74,134],[73,2],[127,135],[128,136],[133,137],[126,138],[130,139],[129,140],[131,141],[132,142],[182,143],[181,10],[113,144],[112,10],[263,145],[262,146],[261,147],[200,148],[199,5],[170,149],[169,5],[105,150],[103,151],[102,10],[104,152],[202,153],[201,5],[109,154],[108,5],[204,155],[203,5],[67,156],[63,1],[65,157],[66,1],[68,2],[69,158],[70,159],[271,160],[320,161],[321,161],[322,162],[277,163],[323,164],[324,165],[325,166],[272,2],[275,167],[273,2],[274,2],[326,168],[327,169],[328,170],[329,171],[330,172],[331,173],[332,173],[333,174],[334,175],[335,176],[336,177],[278,2],[276,2],[337,178],[338,179],[339,180],[371,181],[340,182],[341,183],[342,184],[343,185],[344,186],[345,187],[346,188],[347,189],[348,190],[349,191],[350,191],[351,192],[352,2],[353,193],[355,194],[354,195],[356,196],[357,197],[358,198],[359,199],[360,200],[361,201],[362,202],[363,203],[364,204],[365,205],[366,206],[367,207],[368,208],[279,2],[280,2],[281,2],[319,209],[369,210],[370,211],[372,212],[373,2],[374,2],[375,213],[72,2],[270,214],[267,215],[268,216],[269,2],[266,217],[50,2],[51,2],[10,2],[8,2],[9,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[23,2],[24,2],[4,2],[25,2],[29,2],[26,2],[27,2],[28,2],[30,2],[31,2],[32,2],[5,2],[33,2],[34,2],[35,2],[36,2],[6,2],[40,2],[37,2],[38,2],[39,2],[41,2],[7,2],[42,2],[52,2],[47,2],[48,2],[43,2],[44,2],[45,2],[46,2],[1,2],[49,2],[12,2],[11,2],[297,218],[307,219],[296,218],[317,220],[288,221],[287,222],[316,212],[310,223],[315,224],[290,225],[304,226],[289,227],[313,228],[285,229],[284,212],[314,230],[286,231],[291,232],[292,2],[295,232],[282,2],[318,233],[308,234],[299,235],[300,236],[302,237],[298,238],[301,239],[311,212],[293,240],[294,241],[303,242],[283,243],[306,234],[305,232],[309,2],[312,244],[54,245],[60,246],[58,245],[57,245],[53,2],[56,245],[55,245],[59,245],[61,247]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
|