react-server-dom-webpack 18.3.0-next-4fcc9184a-20230217 → 18.3.0-next-bfb9cbd8c-20230223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +11 -7
  2. package/cjs/react-server-dom-webpack-client.browser.production.min.js +17 -18
  3. package/cjs/react-server-dom-webpack-client.edge.development.js +14 -48
  4. package/cjs/react-server-dom-webpack-client.edge.production.min.js +16 -19
  5. package/cjs/react-server-dom-webpack-client.node.development.js +23 -69
  6. package/cjs/react-server-dom-webpack-client.node.production.min.js +17 -19
  7. package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +52 -157
  8. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +15 -19
  9. package/cjs/react-server-dom-webpack-node-register.js +9 -9
  10. package/cjs/react-server-dom-webpack-plugin.js +8 -8
  11. package/cjs/react-server-dom-webpack-server.browser.development.js +122 -142
  12. package/cjs/react-server-dom-webpack-server.browser.production.min.js +31 -31
  13. package/cjs/react-server-dom-webpack-server.edge.development.js +122 -142
  14. package/cjs/react-server-dom-webpack-server.edge.production.min.js +27 -27
  15. package/cjs/react-server-dom-webpack-server.node.development.js +122 -142
  16. package/cjs/react-server-dom-webpack-server.node.production.min.js +27 -27
  17. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +122 -142
  18. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +27 -27
  19. package/esm/{react-server-dom-webpack-node-loader.js → react-server-dom-webpack-node-loader.production.min.js} +4 -4
  20. package/package.json +4 -4
  21. package/umd/react-server-dom-webpack-client.browser.development.js +14 -10
  22. package/umd/react-server-dom-webpack-client.browser.production.min.js +14 -14
  23. package/umd/react-server-dom-webpack-server.browser.development.js +127 -146
  24. package/umd/react-server-dom-webpack-server.browser.production.min.js +42 -42
@@ -15,7 +15,6 @@ if (process.env.NODE_ENV !== "production") {
15
15
  'use strict';
16
16
 
17
17
  var React = require('react');
18
- var ReactDOM = require('react-dom');
19
18
 
20
19
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
21
20
 
@@ -135,7 +134,7 @@ var textEncoder = new TextEncoder();
135
134
  function stringToChunk(content) {
136
135
  return textEncoder.encode(content);
137
136
  }
138
- var precomputedChunkSet = new Set() ;
137
+ var precomputedChunkSet = new Set() ;
139
138
  function stringToPrecomputedChunk(content) {
140
139
  var precomputedChunk = textEncoder.encode(content);
141
140
 
@@ -174,11 +173,6 @@ function processErrorChunkProd(request, id, digest) {
174
173
  // eslint-disable-next-line react-internal/prod-error-codes
175
174
  throw new Error('processErrorChunkProd should never be called while in development mode. Use processErrorChunkDev instead. This is a bug in React.');
176
175
  }
177
-
178
- var errorInfo = {
179
- digest: digest
180
- };
181
- var row = serializeRowHeader('E', id) + stringify(errorInfo) + '\n';
182
176
  }
183
177
  function processErrorChunkDev(request, id, digest, message, stack) {
184
178
 
@@ -293,11 +287,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
293
287
  this.sanitizeURL = sanitizeURL;
294
288
  this.removeEmptyString = removeEmptyString;
295
289
  } // When adding attributes to this list, be sure to also add them to
296
- // the `possibleStandardNames` module to ensure casing and incorrect
297
- // name warnings.
298
-
299
-
300
- var properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.
301
290
 
302
291
  var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular
303
292
  // elements (not just inputs). Now that ReactDOMInput assigns to the
@@ -306,7 +295,7 @@ var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This preven
306
295
 
307
296
  reservedProps.forEach(function (name) {
308
297
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
309
- properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
298
+ new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
310
299
  name, // attributeName
311
300
  null, // attributeNamespace
312
301
  false, // sanitizeURL
@@ -318,7 +307,7 @@ reservedProps.forEach(function (name) {
318
307
  var name = _ref[0],
319
308
  attributeName = _ref[1];
320
309
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
321
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
310
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
322
311
  attributeName, // attributeName
323
312
  null, // attributeNamespace
324
313
  false, // sanitizeURL
@@ -329,7 +318,7 @@ reservedProps.forEach(function (name) {
329
318
 
330
319
  ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
331
320
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
332
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
321
+ new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
333
322
  name.toLowerCase(), // attributeName
334
323
  null, // attributeNamespace
335
324
  false, // sanitizeURL
@@ -341,7 +330,7 @@ reservedProps.forEach(function (name) {
341
330
 
342
331
  ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
343
332
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
344
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
333
+ new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
345
334
  name, // attributeName
346
335
  null, // attributeNamespace
347
336
  false, // sanitizeURL
@@ -353,7 +342,7 @@ reservedProps.forEach(function (name) {
353
342
  'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'disableRemotePlayback', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata
354
343
  'itemScope'].forEach(function (name) {
355
344
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
356
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
345
+ new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
357
346
  name.toLowerCase(), // attributeName
358
347
  null, // attributeNamespace
359
348
  false, // sanitizeURL
@@ -368,7 +357,7 @@ reservedProps.forEach(function (name) {
368
357
  // instead in the assignment below.
369
358
  ].forEach(function (name) {
370
359
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
371
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
360
+ new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
372
361
  name, // attributeName
373
362
  null, // attributeNamespace
374
363
  false, // sanitizeURL
@@ -381,7 +370,7 @@ reservedProps.forEach(function (name) {
381
370
  // instead in the assignment below.
382
371
  ].forEach(function (name) {
383
372
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
384
- properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
373
+ new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
385
374
  name, // attributeName
386
375
  null, // attributeNamespace
387
376
  false, // sanitizeURL
@@ -393,7 +382,7 @@ reservedProps.forEach(function (name) {
393
382
  // instead in the assignment below.
394
383
  ].forEach(function (name) {
395
384
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
396
- properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
385
+ new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
397
386
  name, // attributeName
398
387
  null, // attributeNamespace
399
388
  false, // sanitizeURL
@@ -402,7 +391,7 @@ reservedProps.forEach(function (name) {
402
391
 
403
392
  ['rowSpan', 'start'].forEach(function (name) {
404
393
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
405
- properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
394
+ new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
406
395
  name.toLowerCase(), // attributeName
407
396
  null, // attributeNamespace
408
397
  false, // sanitizeURL
@@ -425,7 +414,7 @@ var capitalize = function (token) {
425
414
  ].forEach(function (attributeName) {
426
415
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
427
416
 
428
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
417
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
429
418
  attributeName, null, // attributeNamespace
430
419
  false, // sanitizeURL
431
420
  false);
@@ -437,7 +426,7 @@ var capitalize = function (token) {
437
426
  ].forEach(function (attributeName) {
438
427
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
439
428
 
440
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
429
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
441
430
  attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
442
431
  false);
443
432
  }); // String SVG attributes with the xml namespace.
@@ -448,7 +437,7 @@ var capitalize = function (token) {
448
437
  ].forEach(function (attributeName) {
449
438
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
450
439
 
451
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
440
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
452
441
  attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
453
442
  false);
454
443
  }); // These attribute exists both in HTML and SVG.
@@ -457,22 +446,19 @@ var capitalize = function (token) {
457
446
 
458
447
  ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
459
448
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
460
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
449
+ new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
461
450
  attributeName.toLowerCase(), // attributeName
462
451
  null, // attributeNamespace
463
452
  false, // sanitizeURL
464
453
  false);
465
454
  }); // These attributes accept URLs. These must not allow javascript: URLS.
466
- // These will also need to accept Trusted Types object in the future.
467
-
468
- var xlinkHref = 'xlinkHref'; // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
469
455
 
470
- properties[xlinkHref] = new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
456
+ new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
471
457
  'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
472
458
  false);
473
459
  ['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
474
460
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
475
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
461
+ new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
476
462
  attributeName.toLowerCase(), // attributeName
477
463
  null, // attributeNamespace
478
464
  true, // sanitizeURL
@@ -567,116 +553,112 @@ var completeBoundary = '$RC=function(b,c,e){c=document.getElementById(c);c.paren
567
553
  var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(p,q,w){function r(l){this.s=l}for(var t=$RC,m=$RM,u=new Map,n=new Map,g=document,h,e,f=g.querySelectorAll("template[data-precedence]"),c=0;e=f[c++];){for(var b=e.content.firstChild;b;b=b.nextSibling)u.set(b.getAttribute("data-href"),b);e.parentNode.removeChild(e)}f=g.querySelectorAll("link[data-precedence],style[data-precedence]");for(c=0;e=f[c++];)m.set(e.getAttribute("STYLE"===e.nodeName?"data-href":"href"),e),n.set(e.dataset.precedence,h=e);e=0;f=[];for(var d,\nv,a;d=w[e++];){var k=0;b=d[k++];if(!(a=m.get(b))){if(a=u.get(b))c=a.getAttribute("data-precedence");else{a=g.createElement("link");a.href=b;a.rel="stylesheet";for(a.dataset.precedence=c=d[k++];v=d[k++];)a.setAttribute(v,d[k++]);d=a._p=new Promise(function(l,x){a.onload=l;a.onerror=x});d.then(r.bind(d,"l"),r.bind(d,"e"))}m.set(b,a);b=n.get(c)||h;b===h&&(h=a);n.set(c,a);b?b.parentNode.insertBefore(a,b.nextSibling):(c=g.head,c.insertBefore(a,c.firstChild))}d=a._p;c=a.getAttribute("media");!d||"l"===\nd.s||c&&!matchMedia(c).matches||f.push(d)}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};';
568
554
  var completeSegment = '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};';
569
555
 
570
- var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
556
+ stringToPrecomputedChunk('"></template>');
557
+ stringToPrecomputedChunk('<script>');
558
+ stringToPrecomputedChunk('</script>');
559
+ stringToPrecomputedChunk('<script src="');
560
+ stringToPrecomputedChunk('<script type="module" src="');
561
+ stringToPrecomputedChunk('" integrity="');
562
+ stringToPrecomputedChunk('" async=""></script>');
571
563
 
572
- var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
564
+ stringToPrecomputedChunk('<!-- -->');
573
565
 
574
- var dataElementQuotedEnd = stringToPrecomputedChunk('"></template>');
575
- var startInlineScript = stringToPrecomputedChunk('<script>');
576
- var endInlineScript = stringToPrecomputedChunk('</script>');
577
- var startScriptSrc = stringToPrecomputedChunk('<script src="');
578
- var startModuleSrc = stringToPrecomputedChunk('<script type="module" src="');
579
- var scriptIntegirty = stringToPrecomputedChunk('" integrity="');
580
- var endAsyncScript = stringToPrecomputedChunk('" async=""></script>');
566
+ stringToPrecomputedChunk(' style="');
567
+ stringToPrecomputedChunk(':');
568
+ stringToPrecomputedChunk(';');
581
569
 
582
- var textSeparator = stringToPrecomputedChunk('<!-- -->');
570
+ stringToPrecomputedChunk(' ');
571
+ stringToPrecomputedChunk('="');
572
+ stringToPrecomputedChunk('"');
573
+ stringToPrecomputedChunk('=""');
583
574
 
584
- var styleAttributeStart = stringToPrecomputedChunk(' style="');
585
- var styleAssign = stringToPrecomputedChunk(':');
586
- var styleSeparator = stringToPrecomputedChunk(';');
575
+ stringToPrecomputedChunk('>');
576
+ stringToPrecomputedChunk('/>');
587
577
 
588
- var attributeSeparator = stringToPrecomputedChunk(' ');
589
- var attributeAssign = stringToPrecomputedChunk('="');
590
- var attributeEnd = stringToPrecomputedChunk('"');
591
- var attributeEmptyString = stringToPrecomputedChunk('=""');
578
+ stringToPrecomputedChunk(' selected=""');
592
579
 
593
- var endOfStartTag = stringToPrecomputedChunk('>');
594
- var endOfStartTagSelfClosing = stringToPrecomputedChunk('/>');
580
+ stringToPrecomputedChunk('\n');
595
581
 
596
- var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""');
597
-
598
- var leadingNewline = stringToPrecomputedChunk('\n');
599
-
600
- var DOCTYPE = stringToPrecomputedChunk('<!DOCTYPE html>');
601
- var endTag1 = stringToPrecomputedChunk('</');
602
- var endTag2 = stringToPrecomputedChunk('>');
582
+ stringToPrecomputedChunk('<!DOCTYPE html>');
583
+ stringToPrecomputedChunk('</');
584
+ stringToPrecomputedChunk('>');
603
585
  // A placeholder is a node inside a hidden partial tree that can be filled in later, but before
604
586
  // display. It's never visible to users. We use the template tag because it can be used in every
605
587
  // type of parent. <script> tags also work in every other tag except <colgroup>.
606
588
 
607
- var placeholder1 = stringToPrecomputedChunk('<template id="');
608
- var placeholder2 = stringToPrecomputedChunk('"></template>');
609
-
610
- var startCompletedSuspenseBoundary = stringToPrecomputedChunk('<!--$-->');
611
- var startPendingSuspenseBoundary1 = stringToPrecomputedChunk('<!--$?--><template id="');
612
- var startPendingSuspenseBoundary2 = stringToPrecomputedChunk('"></template>');
613
- var startClientRenderedSuspenseBoundary = stringToPrecomputedChunk('<!--$!-->');
614
- var endSuspenseBoundary = stringToPrecomputedChunk('<!--/$-->');
615
- var clientRenderedSuspenseBoundaryError1 = stringToPrecomputedChunk('<template');
616
- var clientRenderedSuspenseBoundaryErrorAttrInterstitial = stringToPrecomputedChunk('"');
617
- var clientRenderedSuspenseBoundaryError1A = stringToPrecomputedChunk(' data-dgst="');
618
- var clientRenderedSuspenseBoundaryError1B = stringToPrecomputedChunk(' data-msg="');
619
- var clientRenderedSuspenseBoundaryError1C = stringToPrecomputedChunk(' data-stck="');
620
- var clientRenderedSuspenseBoundaryError2 = stringToPrecomputedChunk('></template>');
621
- var startSegmentHTML = stringToPrecomputedChunk('<div hidden id="');
622
- var startSegmentHTML2 = stringToPrecomputedChunk('">');
623
- var endSegmentHTML = stringToPrecomputedChunk('</div>');
624
- var startSegmentSVG = stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="');
625
- var startSegmentSVG2 = stringToPrecomputedChunk('">');
626
- var endSegmentSVG = stringToPrecomputedChunk('</svg>');
627
- var startSegmentMathML = stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="');
628
- var startSegmentMathML2 = stringToPrecomputedChunk('">');
629
- var endSegmentMathML = stringToPrecomputedChunk('</math>');
630
- var startSegmentTable = stringToPrecomputedChunk('<table hidden id="');
631
- var startSegmentTable2 = stringToPrecomputedChunk('">');
632
- var endSegmentTable = stringToPrecomputedChunk('</table>');
633
- var startSegmentTableBody = stringToPrecomputedChunk('<table hidden><tbody id="');
634
- var startSegmentTableBody2 = stringToPrecomputedChunk('">');
635
- var endSegmentTableBody = stringToPrecomputedChunk('</tbody></table>');
636
- var startSegmentTableRow = stringToPrecomputedChunk('<table hidden><tr id="');
637
- var startSegmentTableRow2 = stringToPrecomputedChunk('">');
638
- var endSegmentTableRow = stringToPrecomputedChunk('</tr></table>');
639
- var startSegmentColGroup = stringToPrecomputedChunk('<table hidden><colgroup id="');
640
- var startSegmentColGroup2 = stringToPrecomputedChunk('">');
641
- var endSegmentColGroup = stringToPrecomputedChunk('</colgroup></table>');
642
- var completeSegmentScript1Full = stringToPrecomputedChunk(completeSegment + ';$RS("');
643
- var completeSegmentScript1Partial = stringToPrecomputedChunk('$RS("');
644
- var completeSegmentScript2 = stringToPrecomputedChunk('","');
645
- var completeSegmentScriptEnd = stringToPrecomputedChunk('")</script>');
646
- var completeSegmentData1 = stringToPrecomputedChunk('<template data-rsi="" data-sid="');
647
- var completeSegmentData2 = stringToPrecomputedChunk('" data-pid="');
648
- var completeBoundaryScript1Full = stringToPrecomputedChunk(completeBoundary + '$RC("');
649
- var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("');
650
- var completeBoundaryWithStylesScript1FullBoth = stringToPrecomputedChunk(completeBoundary + completeBoundaryWithStyles + '$RR("');
651
- var completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(completeBoundaryWithStyles + '$RR("');
652
- var completeBoundaryWithStylesScript1Partial = stringToPrecomputedChunk('$RR("');
653
- var completeBoundaryScript2 = stringToPrecomputedChunk('","');
654
- var completeBoundaryScript3a = stringToPrecomputedChunk('",');
655
- var completeBoundaryScript3b = stringToPrecomputedChunk('"');
656
- var completeBoundaryScriptEnd = stringToPrecomputedChunk(')</script>');
657
- var completeBoundaryData1 = stringToPrecomputedChunk('<template data-rci="" data-bid="');
658
- var completeBoundaryWithStylesData1 = stringToPrecomputedChunk('<template data-rri="" data-bid="');
659
- var completeBoundaryData2 = stringToPrecomputedChunk('" data-sid="');
660
- var completeBoundaryData3a = stringToPrecomputedChunk('" data-sty="');
661
- var clientRenderScript1Full = stringToPrecomputedChunk(clientRenderBoundary + ';$RX("');
662
- var clientRenderScript1Partial = stringToPrecomputedChunk('$RX("');
663
- var clientRenderScript1A = stringToPrecomputedChunk('"');
664
- var clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(',');
665
- var clientRenderScriptEnd = stringToPrecomputedChunk(')</script>');
666
- var clientRenderData1 = stringToPrecomputedChunk('<template data-rxi="" data-bid="');
667
- var clientRenderData2 = stringToPrecomputedChunk('" data-dgst="');
668
- var clientRenderData3 = stringToPrecomputedChunk('" data-msg="');
669
- var clientRenderData4 = stringToPrecomputedChunk('" data-stck="');
670
-
671
- var styleTagTemplateOpen = stringToPrecomputedChunk('<template data-precedence="">');
672
- var styleTagTemplateClose = stringToPrecomputedChunk('</template>'); // Tracks whether we wrote any late style tags. We use this to determine
673
- var precedencePlaceholderStart = stringToPrecomputedChunk('<style data-precedence="');
674
- var precedencePlaceholderEnd = stringToPrecomputedChunk('"></style>');
675
-
676
- var arrayFirstOpenBracket = stringToPrecomputedChunk('[');
677
- var arraySubsequentOpenBracket = stringToPrecomputedChunk(',[');
678
- var arrayInterstitial = stringToPrecomputedChunk(',');
679
- var arrayCloseBracket = stringToPrecomputedChunk(']'); // This function writes a 2D array of strings to be embedded in javascript.
589
+ stringToPrecomputedChunk('<template id="');
590
+ stringToPrecomputedChunk('"></template>');
591
+
592
+ stringToPrecomputedChunk('<!--$-->');
593
+ stringToPrecomputedChunk('<!--$?--><template id="');
594
+ stringToPrecomputedChunk('"></template>');
595
+ stringToPrecomputedChunk('<!--$!-->');
596
+ stringToPrecomputedChunk('<!--/$-->');
597
+ stringToPrecomputedChunk('<template');
598
+ stringToPrecomputedChunk('"');
599
+ stringToPrecomputedChunk(' data-dgst="');
600
+ stringToPrecomputedChunk(' data-msg="');
601
+ stringToPrecomputedChunk(' data-stck="');
602
+ stringToPrecomputedChunk('></template>');
603
+ stringToPrecomputedChunk('<div hidden id="');
604
+ stringToPrecomputedChunk('">');
605
+ stringToPrecomputedChunk('</div>');
606
+ stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="');
607
+ stringToPrecomputedChunk('">');
608
+ stringToPrecomputedChunk('</svg>');
609
+ stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="');
610
+ stringToPrecomputedChunk('">');
611
+ stringToPrecomputedChunk('</math>');
612
+ stringToPrecomputedChunk('<table hidden id="');
613
+ stringToPrecomputedChunk('">');
614
+ stringToPrecomputedChunk('</table>');
615
+ stringToPrecomputedChunk('<table hidden><tbody id="');
616
+ stringToPrecomputedChunk('">');
617
+ stringToPrecomputedChunk('</tbody></table>');
618
+ stringToPrecomputedChunk('<table hidden><tr id="');
619
+ stringToPrecomputedChunk('">');
620
+ stringToPrecomputedChunk('</tr></table>');
621
+ stringToPrecomputedChunk('<table hidden><colgroup id="');
622
+ stringToPrecomputedChunk('">');
623
+ stringToPrecomputedChunk('</colgroup></table>');
624
+ stringToPrecomputedChunk(completeSegment + ';$RS("');
625
+ stringToPrecomputedChunk('$RS("');
626
+ stringToPrecomputedChunk('","');
627
+ stringToPrecomputedChunk('")</script>');
628
+ stringToPrecomputedChunk('<template data-rsi="" data-sid="');
629
+ stringToPrecomputedChunk('" data-pid="');
630
+ stringToPrecomputedChunk(completeBoundary + '$RC("');
631
+ stringToPrecomputedChunk('$RC("');
632
+ stringToPrecomputedChunk(completeBoundary + completeBoundaryWithStyles + '$RR("');
633
+ stringToPrecomputedChunk(completeBoundaryWithStyles + '$RR("');
634
+ stringToPrecomputedChunk('$RR("');
635
+ stringToPrecomputedChunk('","');
636
+ stringToPrecomputedChunk('",');
637
+ stringToPrecomputedChunk('"');
638
+ stringToPrecomputedChunk(')</script>');
639
+ stringToPrecomputedChunk('<template data-rci="" data-bid="');
640
+ stringToPrecomputedChunk('<template data-rri="" data-bid="');
641
+ stringToPrecomputedChunk('" data-sid="');
642
+ stringToPrecomputedChunk('" data-sty="');
643
+ stringToPrecomputedChunk(clientRenderBoundary + ';$RX("');
644
+ stringToPrecomputedChunk('$RX("');
645
+ stringToPrecomputedChunk('"');
646
+ stringToPrecomputedChunk(',');
647
+ stringToPrecomputedChunk(')</script>');
648
+ stringToPrecomputedChunk('<template data-rxi="" data-bid="');
649
+ stringToPrecomputedChunk('" data-dgst="');
650
+ stringToPrecomputedChunk('" data-msg="');
651
+ stringToPrecomputedChunk('" data-stck="');
652
+
653
+ stringToPrecomputedChunk('<template data-precedence="">');
654
+ stringToPrecomputedChunk('</template>'); // Tracks whether we wrote any late style tags. We use this to determine
655
+ stringToPrecomputedChunk('<style data-precedence="');
656
+ stringToPrecomputedChunk('"></style>');
657
+
658
+ stringToPrecomputedChunk('[');
659
+ stringToPrecomputedChunk(',[');
660
+ stringToPrecomputedChunk(',');
661
+ stringToPrecomputedChunk(']'); // This function writes a 2D array of strings to be embedded in javascript.
680
662
 
681
663
  var rendererSigil;
682
664
 
@@ -865,8 +847,8 @@ function popProvider() {
865
847
  function getActiveContext() {
866
848
  return currentActiveSnapshot;
867
849
  }
868
- function readContext(context) {
869
- var value = context._currentValue ;
850
+ function readContext$1(context) {
851
+ var value = context._currentValue ;
870
852
  return value;
871
853
  }
872
854
 
@@ -1003,7 +985,7 @@ function getThenableStateAfterSuspending() {
1003
985
  return state;
1004
986
  }
1005
987
 
1006
- function readContext$1(context) {
988
+ function readContext(context) {
1007
989
  {
1008
990
  if (context.$$typeof !== REACT_SERVER_CONTEXT_TYPE) {
1009
991
  if (isClientReference(context)) {
@@ -1018,7 +1000,7 @@ function readContext$1(context) {
1018
1000
  }
1019
1001
  }
1020
1002
 
1021
- return readContext(context);
1003
+ return readContext$1(context);
1022
1004
  }
1023
1005
 
1024
1006
  var HooksDispatcher = {
@@ -1031,8 +1013,8 @@ var HooksDispatcher = {
1031
1013
  useDebugValue: function () {},
1032
1014
  useDeferredValue: unsupportedHook,
1033
1015
  useTransition: unsupportedHook,
1034
- readContext: readContext$1,
1035
- useContext: readContext$1,
1016
+ readContext: readContext,
1017
+ useContext: readContext,
1036
1018
  useReducer: unsupportedHook,
1037
1019
  useRef: unsupportedHook,
1038
1020
  useState: unsupportedHook,
@@ -1055,7 +1037,7 @@ var HooksDispatcher = {
1055
1037
 
1056
1038
  return data;
1057
1039
  },
1058
- use: use
1040
+ use: use
1059
1041
  };
1060
1042
 
1061
1043
  function unsupportedHook() {
@@ -1093,7 +1075,7 @@ function use(usable) {
1093
1075
  return trackUsedThenable(thenableState, thenable, index);
1094
1076
  } else if (usable.$$typeof === REACT_SERVER_CONTEXT_TYPE) {
1095
1077
  var context = usable;
1096
- return readContext$1(context);
1078
+ return readContext(context);
1097
1079
  }
1098
1080
  }
1099
1081
 
@@ -1755,7 +1737,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
1755
1737
  var length = 0;
1756
1738
 
1757
1739
  if (isArray(objectOrArray)) {
1758
- if ( jsxChildrenParents.has(objectOrArray)) {
1740
+ if (jsxChildrenParents.has(objectOrArray)) {
1759
1741
  // Print JSX Children
1760
1742
  var type = jsxChildrenParents.get(objectOrArray);
1761
1743
  str = '<' + describeElementType(type) + '>';
@@ -1823,7 +1805,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
1823
1805
  } else {
1824
1806
  if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE) {
1825
1807
  str = '<' + describeElementType(objectOrArray.type) + '/>';
1826
- } else if ( jsxPropsParents.has(objectOrArray)) {
1808
+ } else if (jsxPropsParents.has(objectOrArray)) {
1827
1809
  // Print JSX
1828
1810
  var _type = jsxPropsParents.get(objectOrArray);
1829
1811
 
@@ -2176,7 +2158,7 @@ function fatalError(request, error) {
2176
2158
  }
2177
2159
 
2178
2160
  function emitErrorChunkProd(request, id, digest) {
2179
- var processedChunk = processErrorChunkProd(request, id, digest);
2161
+ var processedChunk = processErrorChunkProd();
2180
2162
  request.completedErrorChunks.push(processedChunk);
2181
2163
  }
2182
2164
 
@@ -2431,8 +2413,6 @@ function abort(request, reason) {
2431
2413
  stack = _getErrorMessageAndSt6.stack;
2432
2414
 
2433
2415
  emitErrorChunkDev(request, errorId, digest, message, stack);
2434
- } else {
2435
- emitErrorChunkProd(request, errorId, digest);
2436
2416
  }
2437
2417
 
2438
2418
  abortableTasks.forEach(function (task) {