next 14.2.34 → 14.2.35

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 (87) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +1 -1
  3. package/dist/build/webpack-config.js +2 -2
  4. package/dist/client/app-bootstrap.js +1 -1
  5. package/dist/client/index.js +1 -1
  6. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js +1 -1
  7. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js.map +1 -1
  8. package/dist/compiled/next-server/app-page-experimental.runtime.prod.js +1 -1
  9. package/dist/compiled/next-server/app-page-experimental.runtime.prod.js.map +1 -1
  10. package/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +1 -1
  11. package/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js.map +1 -1
  12. package/dist/compiled/next-server/app-page-turbo.runtime.prod.js +1 -1
  13. package/dist/compiled/next-server/app-page-turbo.runtime.prod.js.map +1 -1
  14. package/dist/compiled/next-server/app-page.runtime.dev.js +1 -1
  15. package/dist/compiled/next-server/app-page.runtime.dev.js.map +1 -1
  16. package/dist/compiled/next-server/app-page.runtime.prod.js +1 -1
  17. package/dist/compiled/next-server/app-page.runtime.prod.js.map +1 -1
  18. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +5 -1
  19. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +5 -1
  20. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.min.js +3 -3
  21. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +5 -1
  22. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +5 -1
  23. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.min.js +3 -3
  24. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +5 -1
  25. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +5 -1
  26. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.min.js +3 -3
  27. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +5 -1
  28. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.js +5 -1
  29. package/dist/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js +3 -3
  30. package/dist/compiled/react-server-dom-turbopack/package.json +2 -2
  31. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js +5 -1
  32. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js +5 -1
  33. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.min.js +3 -3
  34. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js +5 -1
  35. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js +5 -1
  36. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.min.js +3 -3
  37. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js +5 -1
  38. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js +5 -1
  39. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.min.js +54 -54
  40. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.development.js +5 -1
  41. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.js +5 -1
  42. package/dist/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js +3 -3
  43. package/dist/compiled/react-server-dom-turbopack-experimental/package.json +2 -2
  44. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +5 -1
  45. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +5 -1
  46. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.min.js +3 -3
  47. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +5 -1
  48. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +5 -1
  49. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.min.js +3 -3
  50. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +5 -1
  51. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +5 -1
  52. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.min.js +3 -3
  53. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +5 -1
  54. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +5 -1
  55. package/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +3 -3
  56. package/dist/compiled/react-server-dom-webpack/package.json +2 -2
  57. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js +5 -1
  58. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js +5 -1
  59. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.min.js +3 -3
  60. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js +5 -1
  61. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js +5 -1
  62. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.min.js +3 -3
  63. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js +5 -1
  64. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js +5 -1
  65. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.min.js +55 -55
  66. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js +5 -1
  67. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js +5 -1
  68. package/dist/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +3 -3
  69. package/dist/compiled/react-server-dom-webpack-experimental/package.json +2 -2
  70. package/dist/esm/build/index.js +1 -1
  71. package/dist/esm/build/webpack-config.js +2 -2
  72. package/dist/esm/client/app-bootstrap.js +1 -1
  73. package/dist/esm/client/index.js +1 -1
  74. package/dist/esm/server/config.js +1 -1
  75. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  76. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  77. package/dist/esm/server/lib/app-info-log.js +1 -1
  78. package/dist/esm/server/lib/start-server.js +1 -1
  79. package/dist/server/config.js +1 -1
  80. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  81. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  82. package/dist/server/lib/app-info-log.js +1 -1
  83. package/dist/server/lib/start-server.js +1 -1
  84. package/dist/telemetry/anonymous-meta.js +1 -1
  85. package/dist/telemetry/events/session-stopped.js +2 -2
  86. package/dist/telemetry/events/version.js +2 -2
  87. package/package.json +6 -6
@@ -2902,8 +2902,12 @@ Chunk.prototype.then = function (resolve, reject) {
2902
2902
  let inspectedValue = chunk.value; // Recursively check if the value is itself a ReactPromise and if so if it points
2903
2903
  // back to itself. This helps catch recursive thenables early error.
2904
2904
 
2905
+ let cycleProtection = 0;
2906
+
2905
2907
  while (inspectedValue instanceof Chunk) {
2906
- if (inspectedValue === chunk) {
2908
+ cycleProtection++;
2909
+
2910
+ if (inspectedValue === chunk || cycleProtection > 1000) {
2907
2911
  if (typeof reject === 'function') {
2908
2912
  reject(new Error('Cannot have cyclic thenables.'));
2909
2913
  }
@@ -65,9 +65,9 @@ function Bb(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!
65
65
  function Db(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Eb(){}
66
66
  function Fb(a){for(var b=a[1],c=[],e=0;e<b.length;){var d=b[e++],g=b[e++],f=Cb.get(d);void 0===f?(Gb.set(d,g),g=__webpack_chunk_load__(d),c.push(g),f=Cb.set.bind(Cb,d,null),g.then(f,Eb),Cb.set(d,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?Db(a[0]):Promise.all(c).then(function(){return Db(a[0])}):0<c.length?Promise.all(c):null}
67
67
  function V(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a[2])return b;if(""===a[2])return b.__esModule?b.default:b;if(Ab.call(b,a[2]))return b[a[2]]}var Gb=new Map,Hb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Gb.get(a);return void 0!==b?b:Hb(a)};function W(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}W.prototype=Object.create(Promise.prototype);
68
- W.prototype.then=function(a,b){switch(this.status){case "resolved_model":Ib(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value;c instanceof W;){if(c===this){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
69
- function Jb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Kb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Jb(c,b)}}function Lb(a,b,c,e,d,g){var f=Bb(a._bundlerConfig,b);a=Fb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=V(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return V(f)});else return V(f);c.then(Mb(e,d,g),Nb(e));return null}var X=null,Y=null;
70
- function Ib(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Ob(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Kb(c,b)})}
68
+ W.prototype.then=function(a,b){switch(this.status){case "resolved_model":Ib(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,e=0;c instanceof W;){e++;if(c===this||1E3<e){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
69
+ break;default:b(this.reason)}};function Jb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Kb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Jb(c,b)}}function Lb(a,b,c,e,d,g){var f=Bb(a._bundlerConfig,b);a=Fb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=V(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return V(f)});else return V(f);c.then(Mb(e,d,g),Nb(e));return null}
70
+ var X=null,Y=null;function Ib(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Ob(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Kb(c,b)})}
71
71
  function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new W("resolved_model",e,null,a):a._closed?new W("rejected",null,a._closedReason,a):new W("pending",null,null,a),c.set(b,e));return e}function Mb(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Jb(d,e.value))}}function Nb(a){return function(b){return Kb(a,b)}}
72
72
  function Sb(a,b){a=Z(a,b);"resolved_model"===a.status&&Ib(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
73
73
  function Tb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "h":return e=parseInt(e.slice(2),16),e=Sb(a,e),Lb(a,e.id,e.bound,X,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Sb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Sb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,h){h.startsWith(d)&&g.append(h.slice(d.length),
@@ -3695,8 +3695,12 @@ Chunk.prototype.then = function (resolve, reject) {
3695
3695
  var inspectedValue = chunk.value; // Recursively check if the value is itself a ReactPromise and if so if it points
3696
3696
  // back to itself. This helps catch recursive thenables early error.
3697
3697
 
3698
+ var cycleProtection = 0;
3699
+
3698
3700
  while (inspectedValue instanceof Chunk) {
3699
- if (inspectedValue === chunk) {
3701
+ cycleProtection++;
3702
+
3703
+ if (inspectedValue === chunk || cycleProtection > 1000) {
3700
3704
  if (typeof reject === 'function') {
3701
3705
  reject(new Error('Cannot have cyclic thenables.'));
3702
3706
  }
@@ -2906,8 +2906,12 @@ Chunk.prototype.then = function (resolve, reject) {
2906
2906
  let inspectedValue = chunk.value; // Recursively check if the value is itself a ReactPromise and if so if it points
2907
2907
  // back to itself. This helps catch recursive thenables early error.
2908
2908
 
2909
+ let cycleProtection = 0;
2910
+
2909
2911
  while (inspectedValue instanceof Chunk) {
2910
- if (inspectedValue === chunk) {
2912
+ cycleProtection++;
2913
+
2914
+ if (inspectedValue === chunk || cycleProtection > 1000) {
2911
2915
  if (typeof reject === 'function') {
2912
2916
  reject(new Error('Cannot have cyclic thenables.'));
2913
2917
  }
@@ -66,9 +66,9 @@ function Fb(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!
66
66
  function Hb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Ib(){}
67
67
  function Jb(a){for(var b=a[1],c=[],e=0;e<b.length;){var d=b[e++];b[e++];var g=Gb.get(d);if(void 0===g){g=__webpack_chunk_load__(d);c.push(g);var f=Gb.set.bind(Gb,d,null);g.then(f,Ib);Gb.set(d,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?Hb(a[0]):Promise.all(c).then(function(){return Hb(a[0])}):0<c.length?Promise.all(c):null}
68
68
  function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a[2])return b;if(""===a[2])return b.__esModule?b.default:b;if(Eb.call(b,a[2]))return b[a[2]]}function X(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}X.prototype=Object.create(Promise.prototype);
69
- X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Kb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value;c instanceof X;){if(c===this){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
70
- function Lb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Mb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Lb(c,b)}}function Nb(a,b,c,e,d,g){var f=Fb(a._bundlerConfig,b);a=Jb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(f)});else return W(f);c.then(Ob(e,d,g),Pb(e));return null}var Y=null,Z=null;
71
- function Kb(a){var b=Y,c=Z;Y=a;Z=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Z&&0<Z.deps?(Z.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{Y=b,Z=c}}function Qb(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Mb(c,b)})}
69
+ X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Kb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,e=0;c instanceof X;){e++;if(c===this||1E3<e){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
70
+ break;default:b(this.reason)}};function Lb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Mb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Lb(c,b)}}function Nb(a,b,c,e,d,g){var f=Fb(a._bundlerConfig,b);a=Jb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(f)});else return W(f);c.then(Ob(e,d,g),Pb(e));return null}
71
+ var Y=null,Z=null;function Kb(a){var b=Y,c=Z;Y=a;Z=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Z&&0<Z.deps?(Z.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{Y=b,Z=c}}function Qb(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Mb(c,b)})}
72
72
  function Rb(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new X("resolved_model",e,null,a):a._closed?new X("rejected",null,a._closedReason,a):new X("pending",null,null,a),c.set(b,e));return e}function Ob(a,b,c){if(Z){var e=Z;e.deps++}else e=Z={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Lb(d,e.value))}}function Pb(a){return function(b){return Mb(a,b)}}
73
73
  function Vb(a,b){a=Rb(a,b);"resolved_model"===a.status&&Kb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
74
74
  function Wb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Rb(a,b);case "S":return Symbol.for(e.slice(2));case "h":return e=parseInt(e.slice(2),16),e=Vb(a,e),Nb(a,e.id,e.bound,Y,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Vb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Vb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,h){h.startsWith(d)&&g.append(h.slice(d.length),
@@ -3742,8 +3742,12 @@ Chunk.prototype.then = function (resolve, reject) {
3742
3742
  var inspectedValue = chunk.value; // Recursively check if the value is itself a ReactPromise and if so if it points
3743
3743
  // back to itself. This helps catch recursive thenables early error.
3744
3744
 
3745
+ var cycleProtection = 0;
3746
+
3745
3747
  while (inspectedValue instanceof Chunk) {
3746
- if (inspectedValue === chunk) {
3748
+ cycleProtection++;
3749
+
3750
+ if (inspectedValue === chunk || cycleProtection > 1000) {
3747
3751
  if (typeof reject === 'function') {
3748
3752
  reject(new Error('Cannot have cyclic thenables.'));
3749
3753
  }
@@ -2969,8 +2969,12 @@ Chunk.prototype.then = function (resolve, reject) {
2969
2969
  let inspectedValue = chunk.value; // Recursively check if the value is itself a ReactPromise and if so if it points
2970
2970
  // back to itself. This helps catch recursive thenables early error.
2971
2971
 
2972
+ let cycleProtection = 0;
2973
+
2972
2974
  while (inspectedValue instanceof Chunk) {
2973
- if (inspectedValue === chunk) {
2975
+ cycleProtection++;
2976
+
2977
+ if (inspectedValue === chunk || cycleProtection > 1000) {
2974
2978
  if (typeof reject === 'function') {
2975
2979
  reject(new Error('Cannot have cyclic thenables.'));
2976
2980
  }
@@ -8,21 +8,21 @@
8
8
  LICENSE file in the root directory of this source tree.
9
9
  */
10
10
  'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a}
11
- function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,fa.encode(b));else{var c=l;0<n&&(c=l.subarray(n));c=fa.encodeInto(b,c);var e=c.read;n+=c.written;e<b.length&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=fa.encodeInto(b.slice(e),l).written);2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,b)):(c=l.length-n,c<b.byteLength&&
11
+ function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,fa.encode(b));else{var c=l;0<n&&(c=l.subarray(n));c=fa.encodeInto(b,c);var d=c.read;n+=c.written;d<b.length&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=fa.encodeInto(b.slice(d),l).written);2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,b)):(c=l.length-n,c<b.byteLength&&
12
12
  (0===c?r(a,l):(l.set(b.subarray(0,c),n),n+=c,r(a,l),b=b.subarray(c)),l=new Uint8Array(2048),n=0),l.set(b,n),n+=b.byteLength,2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)));return q}var fa=new aa.TextEncoder,t=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:c}})}var ia=Function.prototype.bind,ja=Array.prototype.slice;
13
13
  function la(){var a=ia.apply(this,arguments);if(this.$$typeof===ha){var b=ja.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:la}})}return a}
14
14
  var ma={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},na=Promise.prototype,oa={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
15
15
  }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
16
16
  function pa(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
17
- },a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=v({},a.$$id,!0),d=new Proxy(e,qa);a.status="fulfilled";a.value=d;return a.then=v(function(f){return Promise.resolve(f(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
18
- },a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,oa));return e}
17
+ },a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=v({},a.$$id,!0),e=new Proxy(d,qa);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");d=a[b];d||(d=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
18
+ },a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,oa));return d}
19
19
  var qa={get:function(a,b){return pa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:pa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return na},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ya={prefetchDNS:ra,preconnect:sa,preload:ta,preloadModule:ua,preinitStyle:va,preinitScript:wa,preinitModuleScript:xa};
20
- function ra(a){if("string"===typeof a&&a){var b=w();if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),x(b,"D",a))}}}function sa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
21
- function ta(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,h=c.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;d.has(f)||(d.add(f),(c=y(c))?x(e,"L",[a,b,c]):x(e,"L",[a,b]))}}}function ua(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
22
- function va(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="S|"+a;if(!d.has(f))return d.add(f),(c=y(c))?x(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(e,"S",[a,b]):x(e,"S",a)}}}function wa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"X",[a,b]):x(c,"X",a)}}}function xa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"M",[a,b]):x(c,"M",a)}}}
23
- function y(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}
20
+ function ra(a){if("string"===typeof a&&a){var b=w();if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),x(b,"D",a))}}}function sa(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
21
+ function ta(a,b,c){if("string"===typeof a){var d=w();if(d){var e=d.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,h=c.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;f+="[image]"+k}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(c=y(c))?x(d,"L",[a,b,c]):x(d,"L",[a,b]))}}}function ua(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="m|"+a;if(!d.has(e))return d.add(e),(b=y(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
22
+ function va(a,b,c){if("string"===typeof a){var d=w();if(d){var e=d.hints,f="S|"+a;if(!e.has(f))return e.add(f),(c=y(c))?x(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(d,"S",[a,b]):x(d,"S",a)}}}function wa(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="X|"+a;if(!d.has(e))return d.add(e),(b=y(b))?x(c,"X",[a,b]):x(c,"X",a)}}}function xa(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="M|"+a;if(!d.has(e))return d.add(e),(b=y(b))?x(c,"M",[a,b]):x(c,"M",a)}}}
23
+ function y(a){if(null==a)return null;var b=!1,c={},d;for(d in a)null!=a[d]&&(b=!0,c[d]=a[d]);return b?c:null}
24
24
  var za=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Aa=new ba.AsyncLocalStorage,A=Symbol.for("react.element"),Ba=Symbol.for("react.fragment"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),Ha=Symbol.for("react.memo_cache_sentinel"),C=Symbol.for("react.postpone"),Ia=Symbol.iterator,Ja=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
25
- function Ka(){}function La(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ka,Ka),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ma=b;throw Ja;}}var Ma=null;
25
+ function Ka(){}function La(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ka,Ka),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ma=b;throw Ja;}}var Ma=null;
26
26
  function Na(){if(null===Ma)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ma;Ma=null;return a}var D=null,Oa=0,E=null;function Pa(){var a=E||[];E=null;return a}
27
27
  var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Qa,useContext:Qa,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Ra,useSyncExternalStore:F,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ha;return b},use:Ta};
28
28
  function F(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Qa(){throw Error("Cannot read a Client Context from a Server Component.");}function Ra(){if(null===D)throw Error("useId can only be used while React is rendering");var a=D.identifierCount++;return":"+D.identifierPrefix+"S"+a.toString(32)+":"}
@@ -30,60 +30,60 @@ function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("func
30
30
  function Wa(){var a=w();return a?a.cache:new Map}var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ya=Array.isArray,Za=Object.getPrototypeOf;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
31
31
  function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";if(null!==a&&a.$$typeof===bb)return"client";a=$a(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===bb?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
32
32
  function cb(a){if("string"===typeof a)return a;switch(a){case Ea:return"Suspense";case Fa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return cb(a.render);case Ga:return cb(a.type);case B:var b=a._payload;a=a._init;try{return cb(a(b))}catch(c){}}return""}var bb=Symbol.for("react.client.reference");
33
- function G(a,b){var c=$a(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Ya(a)){var d="[";for(var f=0;f<a.length;f++){0<f&&(d+=", ");var g=a[f];g="object"===typeof g&&null!==g?G(g):ab(g);""+f===b?(c=d.length,e=g.length,d+=g):d=10>g.length&&40>d.length+g.length?d+g:d+"..."}d+="]"}else if(a.$$typeof===A)d="<"+cb(a.type)+"/>";else{if(a.$$typeof===bb)return"client";d="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(d+=", ");var h=f[g],k=JSON.stringify(h);d+=('"'+h+'"'===k?h:k)+": ";k=a[h];
34
- k="object"===typeof k&&null!==k?G(k):ab(k);h===b?(c=d.length,e=k.length,d+=k):d=10>k.length&&40>d.length+k.length?d+k:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var db=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
33
+ function G(a,b){var c=$a(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ya(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?G(g):ab(g);""+f===b?(c=e.length,d=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===A)e="<"+cb(a.type)+"/>";else{if(a.$$typeof===bb)return"client";e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];
34
+ k="object"===typeof k&&null!==k?G(k):ab(k);h===b?(c=e.length,d=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}var db=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
35
35
  if(!H)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var eb=Object.prototype,I=JSON.stringify,fb=H.TaintRegistryObjects,J=H.TaintRegistryValues,gb=H.TaintRegistryByteLengths,hb=H.TaintRegistryPendingRequests,ib=H.ReactCurrentCache,jb=db.ReactCurrentDispatcher;function K(a){throw Error(a);}
36
- function kb(a){a=a.taintCleanupQueue;hb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=J.get(c);void 0!==e&&(1===e.count?J.delete(c):e.count--)}a.length=0}function lb(a){console.error(a)}function mb(){}
37
- function nb(a,b,c,e,d){if(null!==ib.current&&ib.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");za.current=ya;ib.current=Xa;var f=new Set,g=[],h=[];hb.add(h);var k=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
38
- writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:h,onError:void 0===c?lb:c,onPostpone:void 0===d?mb:d};a=ob(b,a,null,!1,f);g.push(a);return b}var L=null;function w(){if(L)return L;var a=Aa.getStore();return a?a:null}
39
- function pb(a,b,c){var e=ob(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,qb(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===C?(M(a,b.message),N(a,e.id)):(b=O(a,b),P(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
40
- d;qb(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===C?(M(a,d.message),N(a,e.id)):(e.status=4,d=O(a,d),P(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function x(a,b,c){c=I(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;a.completedHintChunks.push(b+c+"\n");rb(a)}function sb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
36
+ function kb(a){a=a.taintCleanupQueue;hb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],d=J.get(c);void 0!==d&&(1===d.count?J.delete(c):d.count--)}a.length=0}function lb(a){console.error(a)}function mb(){}
37
+ function nb(a,b,c,d,e){if(null!==ib.current&&ib.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");za.current=ya;ib.current=Xa;var f=new Set,g=[],h=[];hb.add(h);var k=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
38
+ writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:h,onError:void 0===c?lb:c,onPostpone:void 0===e?mb:e};a=ob(b,a,null,!1,f);g.push(a);return b}var L=null;function w(){if(L)return L;var a=Aa.getStore();return a?a:null}
39
+ function pb(a,b,c){var d=ob(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,qb(a,d),d.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===C?(M(a,b.message),N(a,d.id)):(b=O(a,b),P(a,d.id,b)),d.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(e){"pending"===c.status&&(c.status="fulfilled",c.value=e)},function(e){"pending"===c.status&&(c.status="rejected",c.reason=e)}))}c.then(function(e){d.model=
40
+ e;qb(a,d)},function(e){"object"===typeof e&&null!==e&&e.$$typeof===C?(M(a,e.message),N(a,d.id)):(d.status=4,e=O(a,e),P(a,d.id,e));a.abortableTasks.delete(d);null!==a.destination&&Q(a,a.destination)});return d.id}function x(a,b,c){c=I(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;a.completedHintChunks.push(b+c+"\n");rb(a)}function sb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
41
41
  function tb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:B,_payload:a,_init:sb}}
42
- function ub(a,b,c,e,d){var f=b.thenableState;b.thenableState=null;Oa=0;E=f;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=tb(e)}d=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,vb,"",e);b.keyPath=d;b.implicitSlot=f;return a}function wb(a,b,c){return null!==b.keyPath?(a=[A,Ba,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
43
- function xb(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[A,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
44
- function yb(a,b,c,e,d,f){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?xb(b,c,e,f):ub(a,b,e,c,f);if("string"===typeof c)return xb(b,c,e,f);if("symbol"===typeof c)return c===Ba&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,vb,"",f.children),b.implicitSlot=e,a):xb(b,c,e,f);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return xb(b,c,e,f);switch(c.$$typeof){case B:var g=
45
- c._init;c=g(c._payload);return yb(a,b,c,e,d,f);case Da:return ub(a,b,e,c.render,f);case Ga:return yb(a,b,c.type,e,d,f)}}throw Error("Unsupported Server Component type: "+ab(c));}function qb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return zb(a)}))}
46
- function ob(a,b,c,e,d){a.pendingChunks++;var f=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return qb(a,g)},toJSON:function(h,k){a:{var p=g.keyPath,u=g.implicitSlot;try{var m=R(a,g,this,h,k)}catch(ka){h=ka===Ja?Na():ka;k=g.model;k="object"===typeof k&&null!==k&&(k.$$typeof===A||k.$$typeof===B);if("object"===typeof h&&null!==h){if("function"===typeof h.then){m=ob(a,g.model,g.keyPath,g.implicitSlot,
47
- a.abortableTasks);var z=m.ping;h.then(z,z);m.thenableState=Pa();g.keyPath=p;g.implicitSlot=u;m=k?"$L"+m.id.toString(16):S(m.id);break a}if(h.$$typeof===C){a.pendingChunks++;m=a.nextChunkId++;M(a,h.message);N(a,m);g.keyPath=p;g.implicitSlot=u;m=k?"$L"+m.toString(16):S(m);break a}}g.keyPath=p;g.implicitSlot=u;if(k)a.pendingChunks++,p=a.nextChunkId++,u=O(a,h),P(a,p,u),m="$L"+p.toString(16);else throw h;}}return m},thenableState:null};d.add(g);return g}function S(a){return"$"+a.toString(16)}
42
+ function ub(a,b,c,d,e){var f=b.thenableState;b.thenableState=null;Oa=0;E=f;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=tb(d)}e=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=R(a,b,vb,"",d);b.keyPath=e;b.implicitSlot=f;return a}function wb(a,b,c){return null!==b.keyPath?(a=[A,Ba,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
43
+ function xb(a,b,c,d){var e=a.keyPath;null===c?c=e:null!==e&&(c=e+","+c);b=[A,b,c,d];return a.implicitSlot&&null!==c?[b]:b}
44
+ function yb(a,b,c,d,e,f){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?xb(b,c,d,f):ub(a,b,d,c,f);if("string"===typeof c)return xb(b,c,d,f);if("symbol"===typeof c)return c===Ba&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,vb,"",f.children),b.implicitSlot=d,a):xb(b,c,d,f);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return xb(b,c,d,f);switch(c.$$typeof){case B:var g=
45
+ c._init;c=g(c._payload);return yb(a,b,c,d,e,f);case Da:return ub(a,b,d,c.render,f);case Ga:return yb(a,b,c.type,d,e,f)}}throw Error("Unsupported Server Component type: "+ab(c));}function qb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return zb(a)}))}
46
+ function ob(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||d||a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return qb(a,g)},toJSON:function(h,k){a:{var p=g.keyPath,u=g.implicitSlot;try{var m=R(a,g,this,h,k)}catch(ka){h=ka===Ja?Na():ka;k=g.model;k="object"===typeof k&&null!==k&&(k.$$typeof===A||k.$$typeof===B);if("object"===typeof h&&null!==h){if("function"===typeof h.then){m=ob(a,g.model,g.keyPath,g.implicitSlot,
47
+ a.abortableTasks);var z=m.ping;h.then(z,z);m.thenableState=Pa();g.keyPath=p;g.implicitSlot=u;m=k?"$L"+m.id.toString(16):S(m.id);break a}if(h.$$typeof===C){a.pendingChunks++;m=a.nextChunkId++;M(a,h.message);N(a,m);g.keyPath=p;g.implicitSlot=u;m=k?"$L"+m.toString(16):S(m);break a}}g.keyPath=p;g.implicitSlot=u;if(k)a.pendingChunks++,p=a.nextChunkId++,u=O(a,h),P(a,p,u),m="$L"+p.toString(16);else throw h;}}return m},thenableState:null};e.add(g);return g}function S(a){return"$"+a.toString(16)}
48
48
  function Ab(a,b,c){a=I(c);return b.toString(16)+":"+a+"\n"}
49
- function Bb(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,f=a.writtenClientReferences,g=f.get(d);if(void 0!==g)return b[0]===A&&"1"===c?"$L"+g.toString(16):S(g);try{var h=a.bundlerConfig,k=e.$$id;g="";var p=h[k];if(p)g=p.name;else{var u=k.lastIndexOf("#");-1!==u&&(g=k.slice(u+1),p=h[k.slice(0,u)]);if(!p)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===e.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
50
- g];a.pendingChunks++;var z=a.nextChunkId++,ka=I(m),Yb=z.toString(16)+":I"+ka+"\n";a.completedImportChunks.push(Yb);f.set(d,z);return b[0]===A&&"1"===c?"$L"+z.toString(16):S(z)}catch(Zb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Zb),P(a,b,c),S(b)}}function T(a,b){b=ob(a,b,null,!1,a.abortableTasks);Cb(a,b);return b.id}
51
- function U(a,b,c){if(gb.has(c.byteLength)){var e=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&K(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);var d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";a.completedRegularChunks.push(b,c);return S(e)}var V=!1;
52
- function R(a,b,c,e,d){b.model=d;if(d===A)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case A:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e)}else c.set(d,-1);c=d.props;e=c.ref;return yb(a,b,d.type,d.key,void 0!==e?e:null,c);case B:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,vb,"",d)}if(d.$$typeof===t)return Bb(a,c,e,d);c=fb.get(d);void 0!==c&&K(c);c=a.writtenObjects;
53
- e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+pb(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=pb(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e);else c.set(d,-1);if(Ya(d))return wb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+T(a,
54
- d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+T(a,d).toString(16)}if(d instanceof ArrayBuffer)return U(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return U(a,"C",d);if(d instanceof Uint8Array)return U(a,"c",d);if(d instanceof Uint8ClampedArray)return U(a,"U",d);if(d instanceof Int16Array)return U(a,"S",d);if(d instanceof Uint16Array)return U(a,"s",d);if(d instanceof
55
- Int32Array)return U(a,"L",d);if(d instanceof Uint32Array)return U(a,"l",d);if(d instanceof Float32Array)return U(a,"F",d);if(d instanceof Float64Array)return U(a,"d",d);if(d instanceof BigInt64Array)return U(a,"N",d);if(d instanceof BigUint64Array)return U(a,"m",d);if(d instanceof DataView)return U(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Ia&&d[Ia]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return wb(a,b,Array.from(d));a=Za(d);if(a!==eb&&(null===a||null!==Za(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
56
- return d}if("string"===typeof d){b=J.get(d);void 0!==b&&K(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,c="string"===typeof d?Buffer.byteLength(d,"utf8"):d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",a.completedRegularChunks.push(c,d),S(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===
57
- d?"$-Infinity":"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===t)return Bb(a,c,e,d);if(d.$$typeof===ha)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$h"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(d,a),a="$h"+a.toString(16)),a;a=fb.get(d);void 0!==a&&K(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+G(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
58
- throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var f=b.get(d);if(void 0!==f)return S(f);f=d.description;if(Symbol.for(f)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
59
- G(c,e));a.pendingChunks++;c=a.nextChunkId++;e=Ab(a,c,"$S"+f);a.completedImportChunks.push(e);b.set(d,c);return S(c)}if("bigint"===typeof d)return a=J.get(d),void 0!==a&&K(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+G(c,e));}function M(a,b){var c=L;L=null;try{Aa.run(void 0,a.onPostpone,b)}finally{L=c}}
60
- function O(a,b){var c=L;L=null;try{var e=Aa.run(void 0,a.onError,b)}finally{L=c}if(null!=e&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}function Db(a,b){kb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
49
+ function Bb(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===A&&"1"===c?"$L"+g.toString(16):S(g);try{var h=a.bundlerConfig,k=d.$$id;g="";var p=h[k];if(p)g=p.name;else{var u=k.lastIndexOf("#");-1!==u&&(g=k.slice(u+1),p=h[k.slice(0,u)]);if(!p)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===d.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
50
+ g];a.pendingChunks++;var z=a.nextChunkId++,ka=I(m),Yb=z.toString(16)+":I"+ka+"\n";a.completedImportChunks.push(Yb);f.set(e,z);return b[0]===A&&"1"===c?"$L"+z.toString(16):S(z)}catch(Zb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Zb),P(a,b,c),S(b)}}function T(a,b){b=ob(a,b,null,!1,a.abortableTasks);Cb(a,b);return b.id}
51
+ function U(a,b,c){if(gb.has(c.byteLength)){var d=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==d&&K(d.message)}a.pendingChunks+=2;d=a.nextChunkId++;c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);var e=c.byteLength;b=d.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,c);return S(d)}var V=!1;
52
+ function R(a,b,c,d,e){b.model=e;if(e===A)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case A:c=a.writtenObjects;d=c.get(e);if(void 0!==d){if(null===b.keyPath&&!b.implicitSlot)if(V===e)V=null;else return-1===d?(a=T(a,e),S(a)):S(d)}else c.set(e,-1);c=e.props;d=c.ref;return yb(a,b,e.type,e.key,void 0!==d?d:null,c);case B:return b.thenableState=null,c=e._init,e=c(e._payload),R(a,b,vb,"",e)}if(e.$$typeof===t)return Bb(a,c,d,e);c=fb.get(e);void 0!==c&&K(c);c=a.writtenObjects;
53
+ d=c.get(e);if("function"===typeof e.then){if(void 0!==d){if(null!==b.keyPath||b.implicitSlot)return"$@"+pb(a,b,e).toString(16);if(V===e)V=null;else return"$@"+d.toString(16)}a=pb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(V===e)V=null;else return-1===d?(a=T(a,e),S(a)):S(d);else c.set(e,-1);if(Ya(e))return wb(a,b,e);if(e instanceof Map){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b][0],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$Q"+T(a,
54
+ e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$W"+T(a,e).toString(16)}if(e instanceof ArrayBuffer)return U(a,"A",new Uint8Array(e));if(e instanceof Int8Array)return U(a,"C",e);if(e instanceof Uint8Array)return U(a,"c",e);if(e instanceof Uint8ClampedArray)return U(a,"U",e);if(e instanceof Int16Array)return U(a,"S",e);if(e instanceof Uint16Array)return U(a,"s",e);if(e instanceof
55
+ Int32Array)return U(a,"L",e);if(e instanceof Uint32Array)return U(a,"l",e);if(e instanceof Float32Array)return U(a,"F",e);if(e instanceof Float64Array)return U(a,"d",e);if(e instanceof BigInt64Array)return U(a,"N",e);if(e instanceof BigUint64Array)return U(a,"m",e);if(e instanceof DataView)return U(a,"V",e);null===e||"object"!==typeof e?c=null:(c=Ia&&e[Ia]||e["@@iterator"],c="function"===typeof c?c:null);if(c)return wb(a,b,Array.from(e));a=Za(e);if(a!==eb&&(null===a||null!==Za(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
56
+ return e}if("string"===typeof e){b=J.get(e);void 0!==b&&K(b.message);if("Z"===e[e.length-1]&&c[d]instanceof Date)return"$D"+e;if(1024<=e.length)return a.pendingChunks+=2,b=a.nextChunkId++,c="string"===typeof e?Buffer.byteLength(e,"utf8"):e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",a.completedRegularChunks.push(c,e),S(b);a="$"===e[0]?"$"+e:e;return a}if("boolean"===typeof e)return e;if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===
57
+ e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";if("function"===typeof e){if(e.$$typeof===t)return Bb(a,c,d,e);if(e.$$typeof===ha)return b=a.writtenServerReferences,c=b.get(e),void 0!==c?a="$h"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(e,a),a="$h"+a.toString(16)),a;a=fb.get(e);void 0!==a&&K(a);if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+G(c,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
58
+ throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var f=b.get(e);if(void 0!==f)return S(f);f=e.description;if(Symbol.for(f)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(e.description+") cannot be found among global symbols.")+
59
+ G(c,d));a.pendingChunks++;c=a.nextChunkId++;d=Ab(a,c,"$S"+f);a.completedImportChunks.push(d);b.set(e,c);return S(c)}if("bigint"===typeof e)return a=J.get(e),void 0!==a&&K(a.message),"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported in Client Component props."+G(c,d));}function M(a,b){var c=L;L=null;try{Aa.run(void 0,a.onPostpone,b)}finally{L=c}}
60
+ function O(a,b){var c=L;L=null;try{var d=Aa.run(void 0,a.onError,b)}finally{L=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function Db(a,b){kb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
61
61
  function N(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";a.completedErrorChunks.push(b)}var vb={};
62
- function Cb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,vb,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),d=b.id.toString(16)+":"+e+"\n";a.completedRegularChunks.push(d);a.abortableTasks.delete(b);b.status=1}catch(k){var f=k===Ja?Na():k;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Pa();return}if(f.$$typeof===C){a.abortableTasks.delete(b);b.status=4;M(a,f.message);N(a,b.id);return}}a.abortableTasks.delete(b);
63
- b.status=4;var h=O(a,f);P(a,b.id,h)}finally{}}function zb(a){var b=jb.current;jb.current=Ua;var c=L;D=L=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)Cb(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Db(a,f)}finally{jb.current=b,D=null,L=c}}
64
- function Q(a,b){l=new Uint8Array(2048);n=0;q=!0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)if(a.pendingChunks--,!ea(b,c[e])){a.destination=null;e++;break}c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)if(!ea(b,d[e])){a.destination=null;e++;break}d.splice(0,e);var f=a.completedRegularChunks;for(e=0;e<f.length;e++)if(a.pendingChunks--,!ea(b,f[e])){a.destination=null;e++;break}f.splice(0,e);var g=a.completedErrorChunks;for(e=0;e<g.length;e++)if(a.pendingChunks--,!ea(b,
65
- g[e])){a.destination=null;e++;break}g.splice(0,e)}finally{a.flushScheduled=!1,l&&0<n&&b.write(l.subarray(0,n)),l=null,n=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(kb(a),b.end())}function Eb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return Aa.run(a,zb,a)})}function rb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}}
62
+ function Cb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,vb,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),e=b.id.toString(16)+":"+d+"\n";a.completedRegularChunks.push(e);a.abortableTasks.delete(b);b.status=1}catch(k){var f=k===Ja?Na():k;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Pa();return}if(f.$$typeof===C){a.abortableTasks.delete(b);b.status=4;M(a,f.message);N(a,b.id);return}}a.abortableTasks.delete(b);
63
+ b.status=4;var h=O(a,f);P(a,b.id,h)}finally{}}function zb(a){var b=jb.current;jb.current=Ua;var c=L;D=L=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)Cb(a,d[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Db(a,f)}finally{jb.current=b,D=null,L=c}}
64
+ function Q(a,b){l=new Uint8Array(2048);n=0;q=!0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)if(a.pendingChunks--,!ea(b,c[d])){a.destination=null;d++;break}c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)if(!ea(b,e[d])){a.destination=null;d++;break}e.splice(0,d);var f=a.completedRegularChunks;for(d=0;d<f.length;d++)if(a.pendingChunks--,!ea(b,f[d])){a.destination=null;d++;break}f.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)if(a.pendingChunks--,!ea(b,
65
+ g[d])){a.destination=null;d++;break}g.splice(0,d)}finally{a.flushScheduled=!1,l&&0<n&&b.write(l.subarray(0,n)),l=null,n=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(kb(a),b.end())}function Eb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return Aa.run(a,zb,a)})}function rb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}}
66
66
  function Fb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(c){O(a,c),Db(a,c)}}}
67
- function Gb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===C)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,f=O(a,d);P(a,e,f,d)}c.forEach(function(g){g.status=3;var h=S(e);g=Ab(a,g.id,h);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Db(a,g)}}var Hb=Object.prototype.hasOwnProperty;
68
- function Ib(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!==d&&(c=b.slice(d+1),e=a[b.slice(0,d)]);if(!e)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[e.id,e.chunks,c]}var Jb=new Map;
67
+ function Gb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var d=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===C)M(a,b.message),N(a,d,b);else{var e=void 0===b?Error("The render was aborted by the server without a reason."):b,f=O(a,e);P(a,d,f,e)}c.forEach(function(g){g.status=3;var h=S(d);g=Ab(a,g.id,h);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Db(a,g)}}var Hb=Object.prototype.hasOwnProperty;
68
+ function Ib(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]);if(!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[d.id,d.chunks,c]}var Jb=new Map;
69
69
  function Kb(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Lb(){}
70
- function Mb(a){for(var b=a[1],c=[],e=0;e<b.length;){var d=b[e++];b[e++];var f=Jb.get(d);if(void 0===f){f=__webpack_chunk_load__(d);c.push(f);var g=Jb.set.bind(Jb,d,null);f.then(g,Lb);Jb.set(d,f)}else null!==f&&c.push(f)}return 4===a.length?0===c.length?Kb(a[0]):Promise.all(c).then(function(){return Kb(a[0])}):0<c.length?Promise.all(c):null}
71
- function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a[2])return b;if(""===a[2])return b.__esModule?b.default:b;if(Hb.call(b,a[2]))return b[a[2]]}function X(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}X.prototype=Object.create(Promise.prototype);
72
- X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Nb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value;c instanceof X;){if(c===this){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
73
- function Ob(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Pb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Ob(c,b)}}function Qb(a,b,c,e,d,f){var g=Ib(a._bundlerConfig,b);a=Mb(g);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Rb(e,d,f),Sb(e));return null}var Tb=null,Y=null;
74
- function Nb(a){var b=Tb,c=Y;Tb=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{Tb=b,Y=c}}function Ub(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Pb(c,b)})}
75
- function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new X("resolved_model",e,null,a):a._closed?new X("rejected",null,a._closedReason,a):new X("pending",null,null,a),c.set(b,e));return e}function Rb(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Ob(d,e.value))}}function Sb(a){return function(b){return Pb(a,b)}}
70
+ function Mb(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++];b[d++];var f=Jb.get(e);if(void 0===f){f=__webpack_chunk_load__(e);c.push(f);var g=Jb.set.bind(Jb,e,null);f.then(g,Lb);Jb.set(e,f)}else null!==f&&c.push(f)}return 4===a.length?0===c.length?Kb(a[0]):Promise.all(c).then(function(){return Kb(a[0])}):0<c.length?Promise.all(c):null}
71
+ function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a[2])return b;if(""===a[2])return b.__esModule?b.default:b;if(Hb.call(b,a[2]))return b[a[2]]}function X(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}X.prototype=Object.create(Promise.prototype);
72
+ X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Nb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,d=0;c instanceof X;){d++;if(c===this||1E3<d){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
73
+ break;default:b(this.reason)}};function Ob(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Pb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Ob(c,b)}}function Qb(a,b,c,d,e,f){var g=Ib(a._bundlerConfig,b);a=Mb(g);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Rb(d,e,f),Sb(d));return null}
74
+ var Tb=null,Y=null;function Nb(a){var b=Tb,c=Y;Tb=a;Y=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{Tb=b,Y=c}}function Ub(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Pb(c,b)})}
75
+ function Z(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new X("resolved_model",d,null,a):a._closed?new X("rejected",null,a._closedReason,a):new X("pending",null,null,a),c.set(b,d));return d}function Rb(a,b,c){if(Y){var d=Y;d.deps++}else d=Y={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&Ob(e,d.value))}}function Sb(a){return function(b){return Pb(a,b)}}
76
76
  function Vb(a,b){a=Z(a,b);"resolved_model"===a.status&&Nb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
77
- function Wb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "h":return e=parseInt(e.slice(2),16),e=Vb(a,e),Qb(a,e.id,e.bound,Tb,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Vb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Vb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(d)&&f.append(h.slice(d.length),
78
- g)});return f;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Z(a,e);switch(a.status){case "resolved_model":Nb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=Tb,a.then(Rb(e,b,c),Sb(e)),null;default:throw a.reason;}}return e}
79
- function Xb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(f,g){return"string"===typeof g?Wb(d,this,f,g):g},_closed:!1,_closedReason:null};return d}
80
- function $b(a,b,c){a._formData.append(b,c);var e=a._prefix;if(b.startsWith(e)&&(a=a._chunks,b=+b.slice(e.length),(b=a.get(b))&&"pending"===b.status&&(e=b.value,a=b.reason,b.status="resolved_model",b.value=c,null!==e)))switch(Nb(b),b.status){case "fulfilled":Ob(e,b.value);break;case "pending":case "blocked":b.value=e;b.reason=a;break;case "rejected":a&&Ob(a,b.reason)}}function ac(a){Ub(a,Error("Connection closed."))}
81
- function bc(a,b,c){var e=Ib(a,b);a=Mb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var f=W(e);return f.bind.apply(f,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}function cc(a,b,c){a=Xb(b,c,a);ac(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function dc(a,b){return function(){return Fb(b,a)}}function ec(a,b){return function(){a.destination=null;Gb(a,Error(b))}}
82
- exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,qa)};exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(d="$ACTION_"+f.slice(12)+":",d=cc(a,b,d),e=bc(b,d.id,d.bound)):f.startsWith("$ACTION_ID_")&&(d=f.slice(11),e=bc(b,d,null)):c.append(f,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};
83
- exports.decodeFormState=function(a,b,c){var e=b.get("$ACTION_KEY");if("string"!==typeof e)return Promise.resolve(null);var d=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",d=cc(b,c,g))});if(null===d)return Promise.resolve(null);var f=d.id;return Promise.resolve(d.bound).then(function(g){return null===g?null:[a,e,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Xb(b,"",a);b=Z(a,0);ac(a);return b};
84
- exports.decodeReplyFromBusboy=function(a,b){var c=Xb(b,""),e=0,d=[];a.on("field",function(f,g){if(0<e)d.push(f,g);else try{$b(c,f,g)}catch(h){a.destroy(h)}});a.on("file",function(f,g,h){var k=h.filename,p=h.mimeType;if("base64"===h.encoding.toLowerCase())a.destroy(Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."));else{e++;var u=[];g.on("data",function(m){u.push(m)});
85
- g.on("end",function(){try{var m=new Blob(u,{type:p});c._formData.append(f,m,k);e--;if(0===e){for(m=0;m<d.length;m+=2)$b(c,d[m],d[m+1]);d.length=0}}catch(z){a.destroy(z)}})}});a.on("finish",function(){ac(c)});a.on("error",function(f){Ub(c,f)});return Z(c,0)};exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};
77
+ function Wb(a,b,c,d){if("$"===d[0])switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),Z(a,b);case "S":return Symbol.for(d.slice(2));case "h":return d=parseInt(d.slice(2),16),d=Vb(a,d),Qb(a,d.id,d.bound,Tb,b,c);case "Q":return b=parseInt(d.slice(2),16),a=Vb(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Vb(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length),
78
+ g)});return f;case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=Z(a,d);switch(a.status){case "resolved_model":Nb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=Tb,a.then(Rb(d,b,c),Sb(d)),null;default:throw a.reason;}}return d}
79
+ function Xb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(f,g){return"string"===typeof g?Wb(e,this,f,g):g},_closed:!1,_closedReason:null};return e}
80
+ function $b(a,b,c){a._formData.append(b,c);var d=a._prefix;if(b.startsWith(d)&&(a=a._chunks,b=+b.slice(d.length),(b=a.get(b))&&"pending"===b.status&&(d=b.value,a=b.reason,b.status="resolved_model",b.value=c,null!==d)))switch(Nb(b),b.status){case "fulfilled":Ob(d,b.value);break;case "pending":case "blocked":b.value=d;b.reason=a;break;case "rejected":a&&Ob(a,b.reason)}}function ac(a){Ub(a,Error("Connection closed."))}
81
+ function bc(a,b,c){var d=Ib(a,b);a=Mb(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var f=W(d);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(d)}):Promise.resolve(W(d))}function cc(a,b,c){a=Xb(b,c,a);ac(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function dc(a,b){return function(){return Fb(b,a)}}function ec(a,b){return function(){a.destination=null;Gb(a,Error(b))}}
82
+ exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,qa)};exports.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=cc(a,b,e),d=bc(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),d=bc(b,e,null)):c.append(f,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};
83
+ exports.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!==typeof d)return Promise.resolve(null);var e=null;b.forEach(function(g,h){h.startsWith("$ACTION_REF_")&&(g="$ACTION_"+h.slice(12)+":",e=cc(b,c,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,d,f,g.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Xb(b,"",a);b=Z(a,0);ac(a);return b};
84
+ exports.decodeReplyFromBusboy=function(a,b){var c=Xb(b,""),d=0,e=[];a.on("field",function(f,g){if(0<d)e.push(f,g);else try{$b(c,f,g)}catch(h){a.destroy(h)}});a.on("file",function(f,g,h){var k=h.filename,p=h.mimeType;if("base64"===h.encoding.toLowerCase())a.destroy(Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."));else{d++;var u=[];g.on("data",function(m){u.push(m)});
85
+ g.on("end",function(){try{var m=new Blob(u,{type:p});c._formData.append(f,m,k);d--;if(0===d){for(m=0;m<e.length;m+=2)$b(c,e[m],e[m+1]);e.length=0}}catch(z){a.destroy(z)}})}});a.on("finish",function(){ac(c)});a.on("error",function(f){Ub(c,f)});return Z(c,0)};exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};
86
86
  exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:la,configurable:!0},toString:ma})};
87
- exports.renderToPipeableStream=function(a,b,c){var e=nb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0),d=!1;Eb(e);return{pipe:function(f){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;Fb(e,f);f.on("drain",dc(f,e));f.on("error",ec(e,"The destination stream errored while writing data."));f.on("close",ec(e,"The destination stream closed early."));return f},abort:function(f){Gb(e,f)}}};
87
+ exports.renderToPipeableStream=function(a,b,c){var d=nb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0),e=!1;Eb(d);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Fb(d,f);f.on("drain",dc(f,d));f.on("error",ec(d,"The destination stream errored while writing data."));f.on("close",ec(d,"The destination stream closed early."));return f},abort:function(f){Gb(d,f)}}};
88
88
 
89
89
  //# sourceMappingURL=react-server-dom-webpack-server.node.production.min.js.map
@@ -3669,8 +3669,12 @@ Chunk.prototype.then = function (resolve, reject) {
3669
3669
  var inspectedValue = chunk.value; // Recursively check if the value is itself a ReactPromise and if so if it points
3670
3670
  // back to itself. This helps catch recursive thenables early error.
3671
3671
 
3672
+ var cycleProtection = 0;
3673
+
3672
3674
  while (inspectedValue instanceof Chunk) {
3673
- if (inspectedValue === chunk) {
3675
+ cycleProtection++;
3676
+
3677
+ if (inspectedValue === chunk || cycleProtection > 1000) {
3674
3678
  if (typeof reject === 'function') {
3675
3679
  reject(new Error('Cannot have cyclic thenables.'));
3676
3680
  }
@@ -2896,8 +2896,12 @@ Chunk.prototype.then = function (resolve, reject) {
2896
2896
  let inspectedValue = chunk.value; // Recursively check if the value is itself a ReactPromise and if so if it points
2897
2897
  // back to itself. This helps catch recursive thenables early error.
2898
2898
 
2899
+ let cycleProtection = 0;
2900
+
2899
2901
  while (inspectedValue instanceof Chunk) {
2900
- if (inspectedValue === chunk) {
2902
+ cycleProtection++;
2903
+
2904
+ if (inspectedValue === chunk || cycleProtection > 1000) {
2901
2905
  if (typeof reject === 'function') {
2902
2906
  reject(new Error('Cannot have cyclic thenables.'));
2903
2907
  }
@@ -67,9 +67,9 @@ function Fb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==
67
67
  function Gb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===C)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,f=O(a,d);P(a,e,f,d)}c.forEach(function(g){g.status=3;var h=S(e);g=Ab(a,g.id,h);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Db(a,g)}}var Hb=Object.prototype.hasOwnProperty;
68
68
  function Ib(a,b){var c=b.lastIndexOf("#");a=b.slice(0,c);b=b.slice(c+1);return{specifier:a,name:b}}var Jb=new Map;function Kb(a){var b=Jb.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var c=import(a.specifier);a.async&&(c=c.then(function(e){return e.default}));c.then(function(e){var d=c;d.status="fulfilled";d.value=e},function(e){var d=c;d.status="rejected";d.reason=e});Jb.set(a.specifier,c);return c}
69
69
  function W(a){var b=Jb.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a.name)return b;if(""===a.name)return b.default;Hb.call(b,a.name);return b[a.name]}function X(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}X.prototype=Object.create(Promise.prototype);
70
- X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Lb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value;c instanceof X;){if(c===this){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
71
- function Mb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Nb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Mb(c,b)}}function Ob(a,b,c,e,d,f){var g=Ib(a._bundlerConfig,b);a=Kb(g);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Pb(e,d,f),Qb(e));return null}var Rb=null,Y=null;
72
- function Lb(a){var b=Rb,c=Y;Rb=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{Rb=b,Y=c}}function Sb(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Nb(c,b)})}
70
+ X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Lb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,e=0;c instanceof X;){e++;if(c===this||1E3<e){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
71
+ break;default:b(this.reason)}};function Mb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Nb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Mb(c,b)}}function Ob(a,b,c,e,d,f){var g=Ib(a._bundlerConfig,b);a=Kb(g);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(g);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Pb(e,d,f),Qb(e));return null}
72
+ var Rb=null,Y=null;function Lb(a){var b=Rb,c=Y;Rb=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{Rb=b,Y=c}}function Sb(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Nb(c,b)})}
73
73
  function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new X("resolved_model",e,null,a):a._closed?new X("rejected",null,a._closedReason,a):new X("pending",null,null,a),c.set(b,e));return e}function Pb(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Mb(d,e.value))}}function Qb(a){return function(b){return Nb(a,b)}}
74
74
  function Tb(a,b){a=Z(a,b);"resolved_model"===a.status&&Lb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
75
75
  function Ub(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "h":return e=parseInt(e.slice(2),16),e=Tb(a,e),Ob(a,e.id,e.bound,Rb,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Tb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Tb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(d)&&f.append(h.slice(d.length),
@@ -47,8 +47,8 @@
47
47
  "loose-envify": "^1.1.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "react": "0.0.0-experimental-3e107bf495-20251209",
51
- "react-dom": "0.0.0-experimental-3e107bf495-20251209",
50
+ "react": "0.0.0-experimental-c750c232fe-20251211",
51
+ "react-dom": "0.0.0-experimental-c750c232fe-20251211",
52
52
  "webpack": "^5.59.0"
53
53
  }
54
54
  }
@@ -302,7 +302,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
302
302
  const nextBuildSpan = trace("next-build", undefined, {
303
303
  buildMode: experimentalBuildMode,
304
304
  isTurboBuild: String(turboNextBuild),
305
- version: "14.2.34"
305
+ version: "14.2.35"
306
306
  });
307
307
  NextBuildContext.nextBuildSpan = nextBuildSpan;
308
308
  NextBuildContext.dir = dir;
@@ -1408,7 +1408,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
1408
1408
  new WellKnownErrorsPlugin(),
1409
1409
  isClient && new CopyFilePlugin({
1410
1410
  filePath: require.resolve("./polyfills/polyfill-nomodule"),
1411
- cacheKey: "14.2.34",
1411
+ cacheKey: "14.2.35",
1412
1412
  name: `static/chunks/polyfills${dev ? "" : "-[hash]"}.js`,
1413
1413
  minimize: false,
1414
1414
  info: {
@@ -1636,7 +1636,7 @@ export default async function getBaseWebpackConfig(dir, { buildId, encryptionKey
1636
1636
  // - Next.js location on disk (some loaders use absolute paths and some resolve options depend on absolute paths)
1637
1637
  // - Next.js version
1638
1638
  // - next.config.js keys that affect compilation
1639
- version: `${__dirname}|${"14.2.34"}|${configVars}`,
1639
+ version: `${__dirname}|${"14.2.35"}|${configVars}`,
1640
1640
  cacheDirectory: path.join(distDir, "cache", "webpack"),
1641
1641
  // For production builds, it's more efficient to compress all cache files together instead of compression each one individually.
1642
1642
  // So we disable compression here and allow the build runner to take care of compressing the cache as a whole.
@@ -3,7 +3,7 @@
3
3
  * sure the following scripts are executed in the correct order:
4
4
  * - Polyfills
5
5
  * - next/script with `beforeInteractive` strategy
6
- */ const version = "14.2.34";
6
+ */ const version = "14.2.35";
7
7
  window.next = {
8
8
  version,
9
9
  appDir: true
@@ -26,7 +26,7 @@ import { SearchParamsContext, PathParamsContext } from "../shared/lib/hooks-clie
26
26
  import onRecoverableError from "./on-recoverable-error";
27
27
  import tracer from "./tracing/tracer";
28
28
  import reportToSocket from "./tracing/report-to-socket";
29
- export const version = "14.2.34";
29
+ export const version = "14.2.35";
30
30
  export let router;
31
31
  export const emitter = mitt();
32
32
  const looseToArray = (input)=>[].slice.call(input);
@@ -184,7 +184,7 @@ function assignDefaults(dir, userConfig, silent) {
184
184
  ...defaultConfig,
185
185
  ...config
186
186
  };
187
- if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.2.34".includes("canary") && !process.env.__NEXT_TEST_MODE) {
187
+ if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.2.35".includes("canary") && !process.env.__NEXT_TEST_MODE) {
188
188
  throw new Error(`The experimental.ppr preview feature can only be enabled when using the latest canary version of Next.js. See more info here: https://nextjs.org/docs/messages/ppr-preview`);
189
189
  }
190
190
  if (result.output === "export") {
@@ -40,7 +40,7 @@ export async function createHotReloaderTurbopack(opts, serverFields, distDir) {
40
40
  }
41
41
  const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
42
42
  const hotReloaderSpan = trace("hot-reloader", undefined, {
43
- version: "14.2.34"
43
+ version: "14.2.35"
44
44
  });
45
45
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
46
46
  // of the current `next dev` invocation.
@@ -189,7 +189,7 @@ export default class HotReloaderWebpack {
189
189
  this.previewProps = previewProps;
190
190
  this.rewrites = rewrites;
191
191
  this.hotReloaderSpan = trace("hot-reloader", undefined, {
192
- version: "14.2.34"
192
+ version: "14.2.35"
193
193
  });
194
194
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
195
195
  // of the current `next dev` invocation.
@@ -4,7 +4,7 @@ import { bold, purple } from "../../lib/picocolors";
4
4
  import { PHASE_DEVELOPMENT_SERVER, PHASE_PRODUCTION_BUILD } from "../../shared/lib/constants";
5
5
  import loadConfig, { getEnabledExperimentalFeatures } from "../config";
6
6
  export function logStartInfo({ networkUrl, appUrl, envInfo, expFeatureInfo, maxExperimentalFeatures = Infinity }) {
7
- Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"14.2.34"}`))}${process.env.TURBOPACK ? " (turbo)" : ""}`);
7
+ Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"14.2.35"}`))}${process.env.TURBOPACK ? " (turbo)" : ""}`);
8
8
  if (appUrl) {
9
9
  Log.bootstrap(`- Local: ${appUrl}`);
10
10
  }
@@ -39,7 +39,7 @@ export async function getRequestHandlers({ dir, port, isDev, server, hostname, m
39
39
  export async function startServer(serverOptions) {
40
40
  const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate } = serverOptions;
41
41
  let { port } = serverOptions;
42
- process.title = `next-server (v${"14.2.34"})`;
42
+ process.title = `next-server (v${"14.2.35"})`;
43
43
  let handlersReady = ()=>{};
44
44
  let handlersError = ()=>{};
45
45
  let handlersPromise = new Promise((resolve, reject)=>{
@@ -263,7 +263,7 @@ function assignDefaults(dir, userConfig, silent) {
263
263
  ..._configshared.defaultConfig,
264
264
  ...config
265
265
  };
266
- if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.2.34".includes("canary") && !process.env.__NEXT_TEST_MODE) {
266
+ if (((_result_experimental = result.experimental) == null ? void 0 : _result_experimental.ppr) && !"14.2.35".includes("canary") && !process.env.__NEXT_TEST_MODE) {
267
267
  throw new Error(`The experimental.ppr preview feature can only be enabled when using the latest canary version of Next.js. See more info here: https://nextjs.org/docs/messages/ppr-preview`);
268
268
  }
269
269
  if (result.output === "export") {
@@ -96,7 +96,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir) {
96
96
  }
97
97
  const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
98
98
  const hotReloaderSpan = (0, _trace.trace)("hot-reloader", undefined, {
99
- version: "14.2.34"
99
+ version: "14.2.35"
100
100
  });
101
101
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
102
102
  // of the current `next dev` invocation.