@stencil/core 5.0.0-beta.14 → 5.0.0-beta.15

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.
@@ -1491,7 +1491,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
1491
1491
  * Note that this is "approximate", in that HTML may often not be able
1492
1492
  * to be split at an exact line width. Additionally, new lines created
1493
1493
  * is where HTML naturally already has whitespace, such as before an
1494
- * attribute or spaces between words. Defaults to `100`.
1494
+ * attribute or spaces between words. Defaults to no wrapping (`100` when prerendering).
1495
1495
  */
1496
1496
  approximateLineWidth?: number;
1497
1497
  /**
@@ -1509,12 +1509,12 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
1509
1509
  prettyHtml?: boolean;
1510
1510
  /**
1511
1511
  * Remove quotes from attribute values when possible.
1512
- * Defaults to `true`.
1512
+ * Defaults to `false` (`true` when prerendering).
1513
1513
  */
1514
1514
  removeAttributeQuotes?: boolean;
1515
1515
  /**
1516
1516
  * Remove the `=""` from standardized `boolean` attributes,
1517
- * such as `hidden` or `checked`. Defaults to `true`.
1517
+ * such as `hidden` or `checked`. Defaults to `false` (`true` when prerendering).
1518
1518
  */
1519
1519
  removeBooleanAttributeQuotes?: boolean;
1520
1520
  /**
@@ -1523,7 +1523,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
1523
1523
  */
1524
1524
  removeEmptyAttributes?: boolean;
1525
1525
  /**
1526
- * Remove HTML comments. Defaults to `true`.
1526
+ * Remove HTML comments. Defaults to `false` (`true` when prerendering).
1527
1527
  */
1528
1528
  removeHtmlComments?: boolean;
1529
1529
  /**
@@ -1,11 +1,80 @@
1
1
  import { BUILD, BUILD as BUILD$1, Env, NAMESPACE, NAMESPACE as NAMESPACE$1 } from "@stencil/core/app-data";
2
2
  import { globalStyles } from "@stencil/core/app-globals";
3
3
  import * as SignalsCore from "@preact/signals-core";
4
+ //#region src/runtime/runtime-constants.ts
5
+ /**
6
+ * Bit flags for recording various properties of VDom nodes
7
+ */
8
+ const VNODE_FLAGS = {
9
+ /**
10
+ * Whether or not a vdom node is a slot reference
11
+ */
12
+ isSlotReference: 1,
13
+ /**
14
+ * Whether or not a slot element has fallback content
15
+ */
16
+ isSlotFallback: 2,
17
+ /**
18
+ * Whether or not an element is a host element
19
+ */
20
+ isHost: 4
21
+ };
22
+ const PROXY_FLAGS = {
23
+ isElementConstructor: 1,
24
+ proxyState: 2
25
+ };
26
+ const PLATFORM_FLAGS = {
27
+ /**
28
+ * designates a node in the DOM as being actively moved by the runtime
29
+ */
30
+ isTmpDisconnected: 1,
31
+ appLoaded: 2,
32
+ queueSync: 4,
33
+ queueMask: 6
34
+ };
35
+ /**
36
+ * A (subset) of node types which are relevant for the Stencil runtime. These
37
+ * values are based on the values which can possibly be returned by the
38
+ * `.nodeType` property of a DOM node. See here for details:
39
+ *
40
+ * {@link https://dom.spec.whatwg.org/#ref-for-dom-node-nodetype%E2%91%A0}
41
+ */
42
+ const NODE_TYPE = {
43
+ ElementNode: 1,
44
+ TextNode: 3,
45
+ CommentNode: 8,
46
+ DocumentNode: 9,
47
+ DocumentTypeNode: 10,
48
+ DocumentFragment: 11
49
+ };
50
+ const HYDRATE_ID = "s-id";
51
+ const HYDRATED_STYLE_ID = "sty-id";
52
+ const HYDRATE_CHILD_ID = "c-id";
53
+ const HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
54
+ /**
55
+ * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
56
+ *
57
+ * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
58
+ * support as of Stencil v4.
59
+ */
60
+ const SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
61
+ const XLINK_NS = "http://www.w3.org/1999/xlink";
62
+ /**
63
+ * Minimum delay, in milliseconds, before retrying a failed lazy component load.
64
+ */
65
+ const LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
66
+ const FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
67
+ "formAssociatedCallback",
68
+ "formResetCallback",
69
+ "formDisabledCallback",
70
+ "formStateRestoreCallback"
71
+ ];
72
+ //#endregion
4
73
  //#region src/client/client-build.ts
5
74
  const Build = {
6
- isDev: BUILD$1.isDev,
7
75
  isBrowser: true,
8
76
  isServer: false,
77
+ isDev: BUILD$1.isDev,
9
78
  isTesting: BUILD$1.isTesting
10
79
  };
11
80
  //#endregion
@@ -492,75 +561,6 @@ const modeResolver = [];
492
561
  const setScopedSSR = (_opts) => {};
493
562
  const needsScopedSSR = () => false;
494
563
  //#endregion
495
- //#region src/runtime/runtime-constants.ts
496
- /**
497
- * Bit flags for recording various properties of VDom nodes
498
- */
499
- const VNODE_FLAGS = {
500
- /**
501
- * Whether or not a vdom node is a slot reference
502
- */
503
- isSlotReference: 1,
504
- /**
505
- * Whether or not a slot element has fallback content
506
- */
507
- isSlotFallback: 2,
508
- /**
509
- * Whether or not an element is a host element
510
- */
511
- isHost: 4
512
- };
513
- const PROXY_FLAGS = {
514
- isElementConstructor: 1,
515
- proxyState: 2
516
- };
517
- const PLATFORM_FLAGS = {
518
- /**
519
- * designates a node in the DOM as being actively moved by the runtime
520
- */
521
- isTmpDisconnected: 1,
522
- appLoaded: 2,
523
- queueSync: 4,
524
- queueMask: 6
525
- };
526
- /**
527
- * A (subset) of node types which are relevant for the Stencil runtime. These
528
- * values are based on the values which can possibly be returned by the
529
- * `.nodeType` property of a DOM node. See here for details:
530
- *
531
- * {@link https://dom.spec.whatwg.org/#ref-for-dom-node-nodetype%E2%91%A0}
532
- */
533
- const NODE_TYPE = {
534
- ElementNode: 1,
535
- TextNode: 3,
536
- CommentNode: 8,
537
- DocumentNode: 9,
538
- DocumentTypeNode: 10,
539
- DocumentFragment: 11
540
- };
541
- const HYDRATE_ID = "s-id";
542
- const HYDRATED_STYLE_ID = "sty-id";
543
- const HYDRATE_CHILD_ID = "c-id";
544
- const HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
545
- /**
546
- * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
547
- *
548
- * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
549
- * support as of Stencil v4.
550
- */
551
- const SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
552
- const XLINK_NS = "http://www.w3.org/1999/xlink";
553
- /**
554
- * Minimum delay, in milliseconds, before retrying a failed lazy component load.
555
- */
556
- const LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
557
- const FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
558
- "formAssociatedCallback",
559
- "formResetCallback",
560
- "formDisabledCallback",
561
- "formStateRestoreCallback"
562
- ];
563
- //#endregion
564
564
  //#region src/client/client-window.ts
565
565
  const win = typeof window !== "undefined" ? window : {};
566
566
  const H = win.HTMLElement || class {};
@@ -3231,9 +3231,7 @@ const h = (nodeName, vnodeData, ...children) => {
3231
3231
  if (classData && !(BUILD$1.vdomSignals && isSignalLike(classData))) vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
3232
3232
  }
3233
3233
  }
3234
- if (BUILD$1.isDev && vNodeChildren.some(isHost)) consoleDevError(`The <Host> must be the single root component. Make sure:
3235
- - You are NOT using hostData() and <Host> in the same component.
3236
- - <Host> is used once, and it's the single root component of the render() function.`);
3234
+ if (BUILD$1.isDev && vNodeChildren.some(isHost)) consoleDevError(`The <Host> must be used once, and be the single root component of the render() function.`);
3237
3235
  if (BUILD$1.vdomFunctional && typeof nodeName === "function") return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
3238
3236
  const vnode = newVNode(nodeName, null);
3239
3237
  vnode.$attrs$ = vnodeData;
@@ -1,11 +1,80 @@
1
1
  import { BUILD } from "../app-data/index.js";
2
2
  import "../app-globals/index.js";
3
3
  import * as SignalsCore from "@preact/signals-core";
4
+ //#region src/runtime/runtime-constants.ts
5
+ /**
6
+ * Bit flags for recording various properties of VDom nodes
7
+ */
8
+ const VNODE_FLAGS = {
9
+ /**
10
+ * Whether or not a vdom node is a slot reference
11
+ */
12
+ isSlotReference: 1,
13
+ /**
14
+ * Whether or not a slot element has fallback content
15
+ */
16
+ isSlotFallback: 2,
17
+ /**
18
+ * Whether or not an element is a host element
19
+ */
20
+ isHost: 4
21
+ };
22
+ const PROXY_FLAGS = {
23
+ isElementConstructor: 1,
24
+ proxyState: 2
25
+ };
26
+ const PLATFORM_FLAGS = {
27
+ /**
28
+ * designates a node in the DOM as being actively moved by the runtime
29
+ */
30
+ isTmpDisconnected: 1,
31
+ appLoaded: 2,
32
+ queueSync: 4,
33
+ queueMask: 6
34
+ };
35
+ /**
36
+ * A (subset) of node types which are relevant for the Stencil runtime. These
37
+ * values are based on the values which can possibly be returned by the
38
+ * `.nodeType` property of a DOM node. See here for details:
39
+ *
40
+ * {@link https://dom.spec.whatwg.org/#ref-for-dom-node-nodetype%E2%91%A0}
41
+ */
42
+ const NODE_TYPE = {
43
+ ElementNode: 1,
44
+ TextNode: 3,
45
+ CommentNode: 8,
46
+ DocumentNode: 9,
47
+ DocumentTypeNode: 10,
48
+ DocumentFragment: 11
49
+ };
50
+ const HYDRATE_ID = "s-id";
51
+ const HYDRATED_STYLE_ID = "sty-id";
52
+ const HYDRATE_CHILD_ID = "c-id";
53
+ const HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
54
+ /**
55
+ * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
56
+ *
57
+ * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
58
+ * support as of Stencil v4.
59
+ */
60
+ const SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
61
+ const XLINK_NS = "http://www.w3.org/1999/xlink";
62
+ /**
63
+ * Minimum delay, in milliseconds, before retrying a failed lazy component load.
64
+ */
65
+ const LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
66
+ const FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
67
+ "formAssociatedCallback",
68
+ "formResetCallback",
69
+ "formDisabledCallback",
70
+ "formStateRestoreCallback"
71
+ ];
72
+ //#endregion
4
73
  //#region src/client/client-build.ts
5
74
  const Build = {
6
- isDev: BUILD.isDev,
7
75
  isBrowser: true,
8
76
  isServer: false,
77
+ isDev: BUILD.isDev,
9
78
  isTesting: BUILD.isTesting
10
79
  };
11
80
  const MEMBER_FLAGS = {
@@ -374,75 +443,6 @@ const styles = /*@__PURE__*/ new Map();
374
443
  const modeResolver = [];
375
444
  const needsScopedSSR = () => false;
376
445
  //#endregion
377
- //#region src/runtime/runtime-constants.ts
378
- /**
379
- * Bit flags for recording various properties of VDom nodes
380
- */
381
- const VNODE_FLAGS = {
382
- /**
383
- * Whether or not a vdom node is a slot reference
384
- */
385
- isSlotReference: 1,
386
- /**
387
- * Whether or not a slot element has fallback content
388
- */
389
- isSlotFallback: 2,
390
- /**
391
- * Whether or not an element is a host element
392
- */
393
- isHost: 4
394
- };
395
- const PROXY_FLAGS = {
396
- isElementConstructor: 1,
397
- proxyState: 2
398
- };
399
- const PLATFORM_FLAGS = {
400
- /**
401
- * designates a node in the DOM as being actively moved by the runtime
402
- */
403
- isTmpDisconnected: 1,
404
- appLoaded: 2,
405
- queueSync: 4,
406
- queueMask: 6
407
- };
408
- /**
409
- * A (subset) of node types which are relevant for the Stencil runtime. These
410
- * values are based on the values which can possibly be returned by the
411
- * `.nodeType` property of a DOM node. See here for details:
412
- *
413
- * {@link https://dom.spec.whatwg.org/#ref-for-dom-node-nodetype%E2%91%A0}
414
- */
415
- const NODE_TYPE = {
416
- ElementNode: 1,
417
- TextNode: 3,
418
- CommentNode: 8,
419
- DocumentNode: 9,
420
- DocumentTypeNode: 10,
421
- DocumentFragment: 11
422
- };
423
- const HYDRATE_ID = "s-id";
424
- const HYDRATED_STYLE_ID = "sty-id";
425
- const HYDRATE_CHILD_ID = "c-id";
426
- const HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
427
- /**
428
- * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
429
- *
430
- * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
431
- * support as of Stencil v4.
432
- */
433
- const SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
434
- const XLINK_NS = "http://www.w3.org/1999/xlink";
435
- /**
436
- * Minimum delay, in milliseconds, before retrying a failed lazy component load.
437
- */
438
- const LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
439
- const FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
440
- "formAssociatedCallback",
441
- "formResetCallback",
442
- "formDisabledCallback",
443
- "formStateRestoreCallback"
444
- ];
445
- //#endregion
446
446
  //#region src/client/client-window.ts
447
447
  const win = typeof window !== "undefined" ? window : {};
448
448
  win.HTMLElement;
@@ -3103,9 +3103,7 @@ const h = (nodeName, vnodeData, ...children) => {
3103
3103
  if (classData && !(BUILD.vdomSignals && isSignalLike(classData))) vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
3104
3104
  }
3105
3105
  }
3106
- if (BUILD.isDev && vNodeChildren.some(isHost)) consoleDevError(`The <Host> must be the single root component. Make sure:
3107
- - You are NOT using hostData() and <Host> in the same component.
3108
- - <Host> is used once, and it's the single root component of the render() function.`);
3106
+ if (BUILD.isDev && vNodeChildren.some(isHost)) consoleDevError(`The <Host> must be used once, and be the single root component of the render() function.`);
3109
3107
  if (BUILD.vdomFunctional && typeof nodeName === "function") return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
3110
3108
  const vnode = newVNode(nodeName, null);
3111
3109
  vnode.$attrs$ = vnodeData;
@@ -298,7 +298,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
298
298
  * Note that this is "approximate", in that HTML may often not be able
299
299
  * to be split at an exact line width. Additionally, new lines created
300
300
  * is where HTML naturally already has whitespace, such as before an
301
- * attribute or spaces between words. Defaults to `100`.
301
+ * attribute or spaces between words. Defaults to no wrapping (`100` when prerendering).
302
302
  */
303
303
  approximateLineWidth?: number;
304
304
  /**
@@ -316,12 +316,12 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
316
316
  prettyHtml?: boolean;
317
317
  /**
318
318
  * Remove quotes from attribute values when possible.
319
- * Defaults to `true`.
319
+ * Defaults to `false` (`true` when prerendering).
320
320
  */
321
321
  removeAttributeQuotes?: boolean;
322
322
  /**
323
323
  * Remove the `=""` from standardized `boolean` attributes,
324
- * such as `hidden` or `checked`. Defaults to `true`.
324
+ * such as `hidden` or `checked`. Defaults to `false` (`true` when prerendering).
325
325
  */
326
326
  removeBooleanAttributeQuotes?: boolean;
327
327
  /**
@@ -330,7 +330,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
330
330
  */
331
331
  removeEmptyAttributes?: boolean;
332
332
  /**
333
- * Remove HTML comments. Defaults to `true`.
333
+ * Remove HTML comments. Defaults to `false` (`true` when prerendering).
334
334
  */
335
335
  removeHtmlComments?: boolean;
336
336
  /**
@@ -1,6 +1,86 @@
1
1
  import { BUILD, BUILD as BUILD$1, Env, NAMESPACE, NAMESPACE as NAMESPACE$1 } from "@stencil/core/app-data";
2
2
  import { globalScripts, globalStyles } from "@stencil/core/app-globals";
3
3
  import * as SignalsCore from "@preact/signals-core";
4
+ //#region src/runtime/runtime-constants.ts
5
+ /**
6
+ * Bit flags for recording various properties of VDom nodes
7
+ */
8
+ const VNODE_FLAGS = {
9
+ /**
10
+ * Whether or not a vdom node is a slot reference
11
+ */
12
+ isSlotReference: 1,
13
+ /**
14
+ * Whether or not a slot element has fallback content
15
+ */
16
+ isSlotFallback: 2,
17
+ /**
18
+ * Whether or not an element is a host element
19
+ */
20
+ isHost: 4
21
+ };
22
+ const PROXY_FLAGS = {
23
+ isElementConstructor: 1,
24
+ proxyState: 2
25
+ };
26
+ const PLATFORM_FLAGS = {
27
+ /**
28
+ * designates a node in the DOM as being actively moved by the runtime
29
+ */
30
+ isTmpDisconnected: 1,
31
+ appLoaded: 2,
32
+ queueSync: 4,
33
+ queueMask: 6
34
+ };
35
+ /**
36
+ * A (subset) of node types which are relevant for the Stencil runtime. These
37
+ * values are based on the values which can possibly be returned by the
38
+ * `.nodeType` property of a DOM node. See here for details:
39
+ *
40
+ * {@link https://dom.spec.whatwg.org/#ref-for-dom-node-nodetype%E2%91%A0}
41
+ */
42
+ const NODE_TYPE = {
43
+ ElementNode: 1,
44
+ TextNode: 3,
45
+ CommentNode: 8,
46
+ DocumentNode: 9,
47
+ DocumentTypeNode: 10,
48
+ DocumentFragment: 11
49
+ };
50
+ const HYDRATE_ID = "s-id";
51
+ const HYDRATED_STYLE_ID = "sty-id";
52
+ const HYDRATE_CHILD_ID = "c-id";
53
+ const HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
54
+ const STENCIL_DOC_DATA = "_stencilDocData";
55
+ const DEFAULT_DOC_DATA = {
56
+ hostIds: 0,
57
+ rootLevelIds: 0,
58
+ staticComponents: /* @__PURE__ */ new Set()
59
+ };
60
+ /**
61
+ * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
62
+ *
63
+ * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
64
+ * support as of Stencil v4.
65
+ */
66
+ const SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
67
+ const XLINK_NS = "http://www.w3.org/1999/xlink";
68
+ /**
69
+ * Minimum delay, in milliseconds, before retrying a failed lazy component load.
70
+ */
71
+ const LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
72
+ const FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
73
+ "formAssociatedCallback",
74
+ "formResetCallback",
75
+ "formDisabledCallback",
76
+ "formStateRestoreCallback"
77
+ ];
78
+ const SERVER_BUILD_FLAGS = {
79
+ isBrowser: false,
80
+ isServer: true,
81
+ isDev: false,
82
+ isTesting: false
83
+ };
4
84
  const MEMBER_FLAGS = {
5
85
  String: 1,
6
86
  Number: 2,
@@ -253,81 +333,6 @@ const reWireGetterSetter = (instance, hostRef) => {
253
333
  });
254
334
  };
255
335
  //#endregion
256
- //#region src/runtime/runtime-constants.ts
257
- /**
258
- * Bit flags for recording various properties of VDom nodes
259
- */
260
- const VNODE_FLAGS = {
261
- /**
262
- * Whether or not a vdom node is a slot reference
263
- */
264
- isSlotReference: 1,
265
- /**
266
- * Whether or not a slot element has fallback content
267
- */
268
- isSlotFallback: 2,
269
- /**
270
- * Whether or not an element is a host element
271
- */
272
- isHost: 4
273
- };
274
- const PROXY_FLAGS = {
275
- isElementConstructor: 1,
276
- proxyState: 2
277
- };
278
- const PLATFORM_FLAGS = {
279
- /**
280
- * designates a node in the DOM as being actively moved by the runtime
281
- */
282
- isTmpDisconnected: 1,
283
- appLoaded: 2,
284
- queueSync: 4,
285
- queueMask: 6
286
- };
287
- /**
288
- * A (subset) of node types which are relevant for the Stencil runtime. These
289
- * values are based on the values which can possibly be returned by the
290
- * `.nodeType` property of a DOM node. See here for details:
291
- *
292
- * {@link https://dom.spec.whatwg.org/#ref-for-dom-node-nodetype%E2%91%A0}
293
- */
294
- const NODE_TYPE = {
295
- ElementNode: 1,
296
- TextNode: 3,
297
- CommentNode: 8,
298
- DocumentNode: 9,
299
- DocumentTypeNode: 10,
300
- DocumentFragment: 11
301
- };
302
- const HYDRATE_ID = "s-id";
303
- const HYDRATED_STYLE_ID = "sty-id";
304
- const HYDRATE_CHILD_ID = "c-id";
305
- const HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
306
- const STENCIL_DOC_DATA = "_stencilDocData";
307
- const DEFAULT_DOC_DATA = {
308
- hostIds: 0,
309
- rootLevelIds: 0,
310
- staticComponents: /* @__PURE__ */ new Set()
311
- };
312
- /**
313
- * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
314
- *
315
- * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
316
- * support as of Stencil v4.
317
- */
318
- const SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
319
- const XLINK_NS = "http://www.w3.org/1999/xlink";
320
- /**
321
- * Minimum delay, in milliseconds, before retrying a failed lazy component load.
322
- */
323
- const LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
324
- const FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
325
- "formAssociatedCallback",
326
- "formResetCallback",
327
- "formDisabledCallback",
328
- "formStateRestoreCallback"
329
- ];
330
- //#endregion
331
336
  //#region src/utils/shadow-root.ts
332
337
  let globalStyleSheet;
333
338
  const GLOBAL_STYLE_ID = "sc-global";
@@ -5474,12 +5479,7 @@ const registerHost = (elm, cmpMeta) => {
5474
5479
  elm.__s_ghr = () => hostRef;
5475
5480
  return hostRef;
5476
5481
  };
5477
- const Build = {
5478
- isDev: false,
5479
- isBrowser: false,
5480
- isServer: true,
5481
- isTesting: false
5482
- };
5482
+ const Build = { ...SERVER_BUILD_FLAGS };
5483
5483
  const styles = /* @__PURE__ */ new Map();
5484
5484
  const modeResolver = [];
5485
5485
  /**
@@ -139,7 +139,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
139
139
  * Note that this is "approximate", in that HTML may often not be able
140
140
  * to be split at an exact line width. Additionally, new lines created
141
141
  * is where HTML naturally already has whitespace, such as before an
142
- * attribute or spaces between words. Defaults to `100`.
142
+ * attribute or spaces between words. Defaults to no wrapping (`100` when prerendering).
143
143
  */
144
144
  approximateLineWidth?: number;
145
145
  /**
@@ -157,12 +157,12 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
157
157
  prettyHtml?: boolean;
158
158
  /**
159
159
  * Remove quotes from attribute values when possible.
160
- * Defaults to `true`.
160
+ * Defaults to `false` (`true` when prerendering).
161
161
  */
162
162
  removeAttributeQuotes?: boolean;
163
163
  /**
164
164
  * Remove the `=""` from standardized `boolean` attributes,
165
- * such as `hidden` or `checked`. Defaults to `true`.
165
+ * such as `hidden` or `checked`. Defaults to `false` (`true` when prerendering).
166
166
  */
167
167
  removeBooleanAttributeQuotes?: boolean;
168
168
  /**
@@ -171,7 +171,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
171
171
  */
172
172
  removeEmptyAttributes?: boolean;
173
173
  /**
174
- * Remove HTML comments. Defaults to `true`.
174
+ * Remove HTML comments. Defaults to `false` (`true` when prerendering).
175
175
  */
176
176
  removeHtmlComments?: boolean;
177
177
  /**
@@ -1,4 +1,4 @@
1
- import { Nt as Logger, Y as CompilerSystem } from "../../index-BilaSOF5.mjs";
1
+ import { J as CompilerSystem, Mt as Logger } from "../../index-BxnFTzyD.mjs";
2
2
  //#region src/sys/node/logger/index.d.ts
3
3
  /**
4
4
  * Create a logger to run in a Node environment
@@ -1,2 +1,2 @@
1
- import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-Bw9pHJOq.mjs";
1
+ import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-v9OHhp0m.mjs";
2
2
  export { createNodeLogger, createNodeSys, setupNodeProcess };
@@ -1,5 +1,5 @@
1
- import { l as createWorkerMessageHandler } from "../../compiler-Bit_AiP4.mjs";
2
- import { t as createNodeSys } from "../../node-Bw9pHJOq.mjs";
1
+ import { l as createWorkerMessageHandler } from "../../compiler-DhVflHyt.mjs";
2
+ import { t as createNodeSys } from "../../node-v9OHhp0m.mjs";
3
3
  //#region src/sys/node/node-worker-thread.ts
4
4
  /**
5
5
  * Initialize a worker thread, setting up various machinery for managing