react-server-dom-webpack 18.3.0-canary-88df88f94-20230613 → 18.3.0-canary-613e6f5fc-20230616

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.
@@ -1784,35 +1784,42 @@ function processBinaryChunk(response, chunk) {
1784
1784
  case ROW_CHUNK_BY_LENGTH:
1785
1785
  {
1786
1786
  // We're looking for the remaining byte length
1787
- if (i + rowLength <= chunk.length) {
1788
- lastIdx = i + rowLength;
1787
+ lastIdx = i + rowLength;
1788
+
1789
+ if (lastIdx > chunk.length) {
1790
+ lastIdx = -1;
1789
1791
  }
1790
1792
 
1791
1793
  break;
1792
1794
  }
1793
1795
  }
1794
1796
 
1797
+ var offset = chunk.byteOffset + i;
1798
+
1795
1799
  if (lastIdx > -1) {
1796
1800
  // We found the last chunk of the row
1797
- var offset = chunk.byteOffset + i;
1798
1801
  var length = lastIdx - i;
1799
1802
  var lastChunk = new Uint8Array(chunk.buffer, offset, length);
1800
1803
  processFullRow(response, rowID, rowTag, buffer, lastChunk); // Reset state machine for a new row
1801
1804
 
1805
+ i = lastIdx;
1806
+
1807
+ if (rowState === ROW_CHUNK_BY_NEWLINE) {
1808
+ // If we're trailing by a newline we need to skip it.
1809
+ i++;
1810
+ }
1811
+
1802
1812
  rowState = ROW_ID;
1803
1813
  rowTag = 0;
1804
1814
  rowID = 0;
1805
1815
  rowLength = 0;
1806
1816
  buffer.length = 0;
1807
- i = lastIdx + 1;
1808
1817
  } else {
1809
1818
  // The rest of this row is in a future chunk. We stash the rest of the
1810
1819
  // current chunk until we can process the full row.
1811
- var _offset = chunk.byteOffset + i;
1812
-
1813
1820
  var _length = chunk.byteLength - i;
1814
1821
 
1815
- var remainingSlice = new Uint8Array(chunk.buffer, _offset, _length);
1822
+ var remainingSlice = new Uint8Array(chunk.buffer, offset, _length);
1816
1823
  buffer.push(remainingSlice); // Update how many bytes we're still waiting for. If we're looking for
1817
1824
  // a newline, this doesn't hurt since we'll just ignore it.
1818
1825
 
@@ -7,29 +7,29 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- 'use strict';var q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}var w=new Map,x=new Map;function y(){}
11
- function z(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var g=b[d],h=w.get(g);if(void 0===h){h=__webpack_chunk_load__(g);c.push(h);var n=w.set.bind(w,g,null);h.then(n,y);w.set(g,h)}else null!==h&&c.push(h)}if(a.async){if(b=x.get(a.id))return"fulfilled"===b.status?null:b;var e=Promise.all(c).then(function(){return __webpack_require__(a.id)});e.then(function(l){e.status="fulfilled";e.value=l},function(l){e.status="rejected";e.reason=l});x.set(a.id,e);return e}return 0<c.length?Promise.all(c):null}
12
- var A=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),F=Symbol.iterator;function G(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var aa=Array.isArray,I=new WeakMap;function ba(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
13
- function J(a,b,c,d){function g(l,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===e&&(e=new FormData);n++;var k=h++;f.then(function(p){p=JSON.stringify(p,g);var t=e;t.append(b+k,p);n--;0===n&&c(t)},function(p){d(p)});return"$@"+k.toString(16)}if(f instanceof FormData){null===e&&(e=new FormData);var m=e;l=h++;var E=b+l+"_";f.forEach(function(p,t){m.append(E+t,p)});return"$K"+l.toString(16)}return!aa(f)&&G(f)?Array.from(f):f}if("string"===typeof f){if("Z"===f[f.length-
14
- 1]&&this[l]instanceof Date)return"$D"+f;f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return ba(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=I.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===e&&(e=new FormData),l=h++,e.set(b+l,f),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){l=f.description;
15
- if(Symbol.for(l)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(f.description+") cannot be found among global symbols."));return"$S"+l}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,n=0,e=null;a=JSON.stringify(a,g);null===e?c(a):(e.set(b+"0",a),0===n&&c(e))}var K=new WeakMap;
16
- function ca(a){var b,c,d=new Promise(function(g,h){b=g;c=h});J(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d}
17
- function L(a){var b=I.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=K.get(b);c||(c=ca(b),K.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}
18
- var M=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function N(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}N.prototype=Object.create(Promise.prototype);
19
- N.prototype.then=function(a,b){switch(this.status){case "resolved_model":O(this);break;case "resolved_module":P(this)}switch(this.status){case "fulfilled":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)}};
20
- function da(a){switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function Q(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function R(a,b,c){switch(a.status){case "fulfilled":Q(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&Q(c,a.reason)}}
21
- function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Q(c,b)}}function T(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(P(a),R(a,c,d))}}var U=null,V=null;
22
- function O(a){var b=U,c=V;U=a;V=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==V&&0<V.deps?(V.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{U=b,V=c}}
23
- function P(a){try{var b=a.value;if(b.async){var c=x.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var g="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}}function W(a,b){a._chunks.forEach(function(c){"pending"===c.status&&S(c,b)})}function X(a,b){var c=a._chunks,d=c.get(b);d||(d=new N("pending",null,null,a),c.set(b,d));return d}
24
- function ea(a,b,c){if(V){var d=V;d.deps++}else d=V={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&Q(g,d.value))}}function fa(a){return function(b){return S(a,b)}}
25
- function ha(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(n){return d(b.id,n.concat(g))}):d(b.id,g)}var d=a._callServer;c.$$FORM_ACTION=L;I.set(c,b);return c}
26
- function ia(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=X(a,b),{$$typeof:C,_payload:a,_init:da};case "@":return b=parseInt(d.slice(2),16),X(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),M[a]||(M[a]=r.createServerContext(a,D)),M[a].Provider;case "F":b=parseInt(d.slice(2),16);b=X(a,b);switch(b.status){case "resolved_model":O(b)}switch(b.status){case "fulfilled":return ha(a,b.value);default:throw b.reason;
27
- }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=X(a,d);switch(a.status){case "resolved_model":O(a);break;case "resolved_module":P(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=U,a.then(ea(d,b,c),fa(d)),null;default:throw a.reason;}}}return d}
28
- function ja(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function Y(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:ja,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ka(a);return a}
29
- function la(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=v(a._bundlerConfig,c);if(c=z(h)){if(g){var n=g;n.status="blocked"}else n=new N("blocked",null,null,a),d.set(b,n);c.then(function(){return T(n,h)},function(e){return S(n,e)})}else g?T(g,h):d.set(b,new N("resolved_module",h,null,a))}
30
- function ka(a){return function(b,c){return"string"===typeof c?ia(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
31
- function Z(a,b){function c(h){var n=h.value;if(h.done)W(a,Error("Connection closed."));else{var e=0,l=a._rowState,f=a._rowID,k=a._rowTag,m=a._rowLength;h=a._buffer;for(var E=n.length;e<E;){var p=-1;switch(l){case 0:p=n[e++];58===p?l=1:f=f<<4|(96<p?p-87:p-48);continue;case 1:p=n[e];84===p?(k=p,l=2,e++):64<p&&91>p?(k=p,l=3,e++):(k=0,l=3);continue;case 2:p=n[e++];44===p?l=4:m=m<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,e);break;case 4:e+m<=n.length&&(p=e+m)}if(-1<p){e=new Uint8Array(n.buffer,
32
- n.byteOffset+e,p-e);m=a;l=k;k="";for(var t=m._stringDecoder,H=0;H<h.length;H++)k+=t.decode(h[H],u);k="string"===typeof e?k+e:k+t.decode(e);switch(l){case 73:la(m,f,k);break;case 72:f=k[0];k=k.slice(1);m=JSON.parse(k,m._fromJSON);k=void 0;if(l=A.current)switch("string"===typeof m?e=m:(e=m[0],k=m[1]),f){case "D":l.prefetchDNS(e,k);break;case "C":l.preconnect(e,k);break;case "L":l.preload(e,k);break;case "I":l.preinit(e,k)}break;case 69:k=JSON.parse(k);e=k.digest;k=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
33
- k.stack="Error: "+k.message;k.digest=e;e=m._chunks;(l=e.get(f))?S(l,k):e.set(f,new N("rejected",null,k,m));break;case 84:m._chunks.set(f,new N("fulfilled",k,null,m));break;default:e=m._chunks,(l=e.get(f))?(m=l,f=k,"pending"===m.status&&(k=m.value,e=m.reason,m.status="resolved_model",m.value=f,null!==k&&(O(m),R(m,k,e)))):e.set(f,new N("resolved_model",k,null,m))}m=f=k=l=0;h.length=0;e=p+1}else{n=new Uint8Array(n.buffer,n.byteOffset+e,n.byteLength-e);h.push(n);m-=n.byteLength;break}}a._rowState=l;a._rowID=
34
- f;a._rowTag=k;a._rowLength=m;return g.read().then(c).catch(d)}}function d(h){W(a,h)}var g=b.getReader();g.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(null,b&&b.callServer?b.callServer:void 0);a.then(function(d){Z(c,d.body)},function(d){W(c,d)});return X(c,0)};exports.createFromReadableStream=function(a,b){b=Y(null,b&&b.callServer?b.callServer:void 0);Z(b,a);return X(b,0)};
35
- exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}c.$$FORM_ACTION=L;I.set(c,{id:a,bound:null});return c};exports.encodeReply=function(a){return new Promise(function(b,c){J(a,"",b,c)})};
10
+ 'use strict';var r=require("react-dom"),t=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}var w=new Map,x=new Map;function y(){}
11
+ function z(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var g=b[d],h=w.get(g);if(void 0===h){h=__webpack_chunk_load__(g);c.push(h);var n=w.set.bind(w,g,null);h.then(n,y);w.set(g,h)}else null!==h&&c.push(h)}if(a.async){if(b=x.get(a.id))return"fulfilled"===b.status?null:b;var e=Promise.all(c).then(function(){return __webpack_require__(a.id)});e.then(function(m){e.status="fulfilled";e.value=m},function(m){e.status="rejected";e.reason=m});x.set(a.id,e);return e}return 0<c.length?Promise.all(c):null}
12
+ var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),F=Symbol.iterator;function aa(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var ba=Array.isArray,G=new WeakMap;function ca(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
13
+ function I(a,b,c,d){function g(m,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===e&&(e=new FormData);n++;var k=h++;f.then(function(p){p=JSON.stringify(p,g);var q=e;q.append(b+k,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+k.toString(16)}if(f instanceof FormData){null===e&&(e=new FormData);var l=e;m=h++;var E=b+m+"_";f.forEach(function(p,q){l.append(E+q,p)});return"$K"+m.toString(16)}return!ba(f)&&aa(f)?Array.from(f):f}if("string"===typeof f){if("Z"===
14
+ f[f.length-1]&&this[m]instanceof Date)return"$D"+f;f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return ca(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=G.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===e&&(e=new FormData),m=h++,e.set(b+m,f),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){m=
15
+ f.description;if(Symbol.for(m)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(f.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,n=0,e=null;a=JSON.stringify(a,g);null===e?c(a):(e.set(b+"0",a),0===n&&c(e))}var J=new WeakMap;
16
+ function da(a){var b,c,d=new Promise(function(g,h){b=g;c=h});I(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d}
17
+ function K(a){var b=G.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=J.get(b);c||(c=da(b),J.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}
18
+ var L=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function M(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}M.prototype=Object.create(Promise.prototype);
19
+ M.prototype.then=function(a,b){switch(this.status){case "resolved_model":N(this);break;case "resolved_module":O(this)}switch(this.status){case "fulfilled":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)}};
20
+ function ea(a){switch(a.status){case "resolved_model":N(a);break;case "resolved_module":O(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function P(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Q(a,b,c){switch(a.status){case "fulfilled":P(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&P(c,a.reason)}}
21
+ function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&P(c,b)}}function T(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(O(a),Q(a,c,d))}}var U=null,V=null;
22
+ function N(a){var b=U,c=V;U=a;V=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==V&&0<V.deps?(V.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{U=b,V=c}}
23
+ function O(a){try{var b=a.value;if(b.async){var c=x.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var g="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}}function W(a,b){a._chunks.forEach(function(c){"pending"===c.status&&S(c,b)})}function X(a,b){var c=a._chunks,d=c.get(b);d||(d=new M("pending",null,null,a),c.set(b,d));return d}
24
+ function fa(a,b,c){if(V){var d=V;d.deps++}else d=V={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&P(g,d.value))}}function ha(a){return function(b){return S(a,b)}}
25
+ function ia(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(n){return d(b.id,n.concat(g))}):d(b.id,g)}var d=a._callServer;c.$$FORM_ACTION=K;G.set(c,b);return c}
26
+ function ja(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=X(a,b),{$$typeof:C,_payload:a,_init:ea};case "@":return b=parseInt(d.slice(2),16),X(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),L[a]||(L[a]=t.createServerContext(a,D)),L[a].Provider;case "F":b=parseInt(d.slice(2),16);b=X(a,b);switch(b.status){case "resolved_model":N(b)}switch(b.status){case "fulfilled":return ia(a,b.value);default:throw b.reason;
27
+ }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=X(a,d);switch(a.status){case "resolved_model":N(a);break;case "resolved_module":O(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=U,a.then(fa(d,b,c),ha(d)),null;default:throw a.reason;}}}return d}
28
+ function ka(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function Y(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:ka,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=la(a);return a}
29
+ function ma(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=v(a._bundlerConfig,c);if(c=z(h)){if(g){var n=g;n.status="blocked"}else n=new M("blocked",null,null,a),d.set(b,n);c.then(function(){return T(n,h)},function(e){return S(n,e)})}else g?T(g,h):d.set(b,new M("resolved_module",h,null,a))}
30
+ function la(a){return function(b,c){return"string"===typeof c?ja(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
31
+ function Z(a,b){function c(h){var n=h.value;if(h.done)W(a,Error("Connection closed."));else{var e=0,m=a._rowState,f=a._rowID,k=a._rowTag,l=a._rowLength;h=a._buffer;for(var E=n.length;e<E;){var p=-1;switch(m){case 0:p=n[e++];58===p?m=1:f=f<<4|(96<p?p-87:p-48);continue;case 1:m=n[e];84===m?(k=m,m=2,e++):64<m&&91>m?(k=m,m=3,e++):(k=0,m=3);continue;case 2:p=n[e++];44===p?m=4:l=l<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,e);break;case 4:p=e+l,p>n.length&&(p=-1)}var q=n.byteOffset+e;if(-1<p){e=
32
+ new Uint8Array(n.buffer,q,p-e);l=a;q=k;k="";for(var R=l._stringDecoder,H=0;H<h.length;H++)k+=R.decode(h[H],u);k="string"===typeof e?k+e:k+R.decode(e);switch(q){case 73:ma(l,f,k);break;case 72:f=k[0];k=k.slice(1);l=JSON.parse(k,l._fromJSON);k=void 0;if(q=A.current)switch("string"===typeof l?e=l:(e=l[0],k=l[1]),f){case "D":q.prefetchDNS(e,k);break;case "C":q.preconnect(e,k);break;case "L":q.preload(e,k);break;case "I":q.preinit(e,k)}break;case 69:k=JSON.parse(k);e=k.digest;k=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
33
+ k.stack="Error: "+k.message;k.digest=e;e=l._chunks;(q=e.get(f))?S(q,k):e.set(f,new M("rejected",null,k,l));break;case 84:l._chunks.set(f,new M("fulfilled",k,null,l));break;default:e=l._chunks,(q=e.get(f))?(l=q,f=k,"pending"===l.status&&(k=l.value,e=l.reason,l.status="resolved_model",l.value=f,null!==k&&(N(l),Q(l,k,e)))):e.set(f,new M("resolved_model",k,null,l))}e=p;3===m&&e++;l=f=k=m=0;h.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-e);h.push(n);l-=n.byteLength;break}}a._rowState=m;a._rowID=
34
+ f;a._rowTag=k;a._rowLength=l;return g.read().then(c).catch(d)}}function d(h){W(a,h)}var g=b.getReader();g.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=Y(null,b&&b.callServer?b.callServer:void 0);a.then(function(d){Z(c,d.body)},function(d){W(c,d)});return X(c,0)};exports.createFromReadableStream=function(a,b){b=Y(null,b&&b.callServer?b.callServer:void 0);Z(b,a);return X(b,0)};
35
+ exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}c.$$FORM_ACTION=K;G.set(c,{id:a,bound:null});return c};exports.encodeReply=function(a){return new Promise(function(b,c){I(a,"",b,c)})};
@@ -1768,35 +1768,42 @@ function processBinaryChunk(response, chunk) {
1768
1768
  case ROW_CHUNK_BY_LENGTH:
1769
1769
  {
1770
1770
  // We're looking for the remaining byte length
1771
- if (i + rowLength <= chunk.length) {
1772
- lastIdx = i + rowLength;
1771
+ lastIdx = i + rowLength;
1772
+
1773
+ if (lastIdx > chunk.length) {
1774
+ lastIdx = -1;
1773
1775
  }
1774
1776
 
1775
1777
  break;
1776
1778
  }
1777
1779
  }
1778
1780
 
1781
+ var offset = chunk.byteOffset + i;
1782
+
1779
1783
  if (lastIdx > -1) {
1780
1784
  // We found the last chunk of the row
1781
- var offset = chunk.byteOffset + i;
1782
1785
  var length = lastIdx - i;
1783
1786
  var lastChunk = new Uint8Array(chunk.buffer, offset, length);
1784
1787
  processFullRow(response, rowID, rowTag, buffer, lastChunk); // Reset state machine for a new row
1785
1788
 
1789
+ i = lastIdx;
1790
+
1791
+ if (rowState === ROW_CHUNK_BY_NEWLINE) {
1792
+ // If we're trailing by a newline we need to skip it.
1793
+ i++;
1794
+ }
1795
+
1786
1796
  rowState = ROW_ID;
1787
1797
  rowTag = 0;
1788
1798
  rowID = 0;
1789
1799
  rowLength = 0;
1790
1800
  buffer.length = 0;
1791
- i = lastIdx + 1;
1792
1801
  } else {
1793
1802
  // The rest of this row is in a future chunk. We stash the rest of the
1794
1803
  // current chunk until we can process the full row.
1795
- var _offset = chunk.byteOffset + i;
1796
-
1797
1804
  var _length = chunk.byteLength - i;
1798
1805
 
1799
- var remainingSlice = new Uint8Array(chunk.buffer, _offset, _length);
1806
+ var remainingSlice = new Uint8Array(chunk.buffer, offset, _length);
1800
1807
  buffer.push(remainingSlice); // Update how many bytes we're still waiting for. If we're looking for
1801
1808
  // a newline, this doesn't hurt since we'll just ignore it.
1802
1809
 
@@ -7,28 +7,28 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- 'use strict';var q=require("react-dom"),r=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}var w=new Map,x=new Map;function y(){}
11
- function z(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var g=b[d],h=w.get(g);if(void 0===h){h=__webpack_chunk_load__(g);c.push(h);var n=w.set.bind(w,g,null);h.then(n,y);w.set(g,h)}else null!==h&&c.push(h)}if(a.async){if(b=x.get(a.id))return"fulfilled"===b.status?null:b;var e=Promise.all(c).then(function(){return __webpack_require__(a.id)});e.then(function(l){e.status="fulfilled";e.value=l},function(l){e.status="rejected";e.reason=l});x.set(a.id,e);return e}return 0<c.length?Promise.all(c):null}
12
- var A=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),F=Symbol.iterator;function G(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var H=Array.isArray,J=new WeakMap;function aa(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
13
- function ba(a,b,c,d){function g(l,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===e&&(e=new FormData);n++;var k=h++;f.then(function(p){p=JSON.stringify(p,g);var t=e;t.append(b+k,p);n--;0===n&&c(t)},function(p){d(p)});return"$@"+k.toString(16)}if(f instanceof FormData){null===e&&(e=new FormData);var m=e;l=h++;var E=b+l+"_";f.forEach(function(p,t){m.append(E+t,p)});return"$K"+l.toString(16)}return!H(f)&&G(f)?Array.from(f):f}if("string"===typeof f){if("Z"===f[f.length-
14
- 1]&&this[l]instanceof Date)return"$D"+f;f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return aa(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=J.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===e&&(e=new FormData),l=h++,e.set(b+l,f),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){l=f.description;
15
- if(Symbol.for(l)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(f.description+") cannot be found among global symbols."));return"$S"+l}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,n=0,e=null;a=JSON.stringify(a,g);null===e?c(a):(e.set(b+"0",a),0===n&&c(e))}var K=new WeakMap;
16
- function ca(a){var b,c,d=new Promise(function(g,h){b=g;c=h});ba(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d}
17
- function da(a){var b=J.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=K.get(b);c||(c=ca(b),K.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}
18
- var L=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function M(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}M.prototype=Object.create(Promise.prototype);
19
- M.prototype.then=function(a,b){switch(this.status){case "resolved_model":N(this);break;case "resolved_module":O(this)}switch(this.status){case "fulfilled":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)}};
20
- function ea(a){switch(a.status){case "resolved_model":N(a);break;case "resolved_module":O(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function P(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Q(a,b,c){switch(a.status){case "fulfilled":P(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&P(c,a.reason)}}
21
- function R(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&P(c,b)}}function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(O(a),Q(a,c,d))}}var T=null,U=null;
22
- function N(a){var b=T,c=U;T=a;U=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==U&&0<U.deps?(U.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{T=b,U=c}}
23
- function O(a){try{var b=a.value;if(b.async){var c=x.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var g="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}}function V(a,b){a._chunks.forEach(function(c){"pending"===c.status&&R(c,b)})}function W(a,b){var c=a._chunks,d=c.get(b);d||(d=new M("pending",null,null,a),c.set(b,d));return d}
24
- function fa(a,b,c){if(U){var d=U;d.deps++}else d=U={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&P(g,d.value))}}function ha(a){return function(b){return R(a,b)}}
25
- function ia(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(n){return d(b.id,n.concat(g))}):d(b.id,g)}var d=a._callServer;c.$$FORM_ACTION=da;J.set(c,b);return c}
26
- function ja(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=W(a,b),{$$typeof:C,_payload:a,_init:ea};case "@":return b=parseInt(d.slice(2),16),W(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),L[a]||(L[a]=r.createServerContext(a,D)),L[a].Provider;case "F":b=parseInt(d.slice(2),16);b=W(a,b);switch(b.status){case "resolved_model":N(b)}switch(b.status){case "fulfilled":return ia(a,b.value);default:throw b.reason;
27
- }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=W(a,d);switch(a.status){case "resolved_model":N(a);break;case "resolved_module":O(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=T,a.then(fa(d,b,c),ha(d)),null;default:throw a.reason;}}}return d}
28
- function ka(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function X(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:ka,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=la(a);return a}
29
- function ma(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=v(a._bundlerConfig,c);if(c=z(h)){if(g){var n=g;n.status="blocked"}else n=new M("blocked",null,null,a),d.set(b,n);c.then(function(){return S(n,h)},function(e){return R(n,e)})}else g?S(g,h):d.set(b,new M("resolved_module",h,null,a))}
30
- function la(a){return function(b,c){return"string"===typeof c?ja(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Y(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
31
- function Z(a,b){function c(h){var n=h.value;if(h.done)V(a,Error("Connection closed."));else{var e=0,l=a._rowState,f=a._rowID,k=a._rowTag,m=a._rowLength;h=a._buffer;for(var E=n.length;e<E;){var p=-1;switch(l){case 0:p=n[e++];58===p?l=1:f=f<<4|(96<p?p-87:p-48);continue;case 1:p=n[e];84===p?(k=p,l=2,e++):64<p&&91>p?(k=p,l=3,e++):(k=0,l=3);continue;case 2:p=n[e++];44===p?l=4:m=m<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,e);break;case 4:e+m<=n.length&&(p=e+m)}if(-1<p){e=new Uint8Array(n.buffer,
32
- n.byteOffset+e,p-e);m=a;l=k;k="";for(var t=m._stringDecoder,I=0;I<h.length;I++)k+=t.decode(h[I],u);k="string"===typeof e?k+e:k+t.decode(e);switch(l){case 73:ma(m,f,k);break;case 72:f=k[0];k=k.slice(1);m=JSON.parse(k,m._fromJSON);k=void 0;if(l=A.current)switch("string"===typeof m?e=m:(e=m[0],k=m[1]),f){case "D":l.prefetchDNS(e,k);break;case "C":l.preconnect(e,k);break;case "L":l.preload(e,k);break;case "I":l.preinit(e,k)}break;case 69:k=JSON.parse(k);e=k.digest;k=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
33
- k.stack="Error: "+k.message;k.digest=e;e=m._chunks;(l=e.get(f))?R(l,k):e.set(f,new M("rejected",null,k,m));break;case 84:m._chunks.set(f,new M("fulfilled",k,null,m));break;default:e=m._chunks,(l=e.get(f))?(m=l,f=k,"pending"===m.status&&(k=m.value,e=m.reason,m.status="resolved_model",m.value=f,null!==k&&(N(m),Q(m,k,e)))):e.set(f,new M("resolved_model",k,null,m))}m=f=k=l=0;h.length=0;e=p+1}else{n=new Uint8Array(n.buffer,n.byteOffset+e,n.byteLength-e);h.push(n);m-=n.byteLength;break}}a._rowState=l;a._rowID=
34
- f;a._rowTag=k;a._rowLength=m;return g.read().then(c).catch(d)}}function d(h){V(a,h)}var g=b.getReader();g.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=X(b&&b.moduleMap?b.moduleMap:null,Y);a.then(function(d){Z(c,d.body)},function(d){V(c,d)});return W(c,0)};exports.createFromReadableStream=function(a,b){b=X(b&&b.moduleMap?b.moduleMap:null,Y);Z(b,a);return W(b,0)};exports.createServerReference=function(){return Y};
10
+ 'use strict';var r=require("react-dom"),t=require("react"),u={stream:!0};function v(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}var w=new Map,x=new Map;function y(){}
11
+ function z(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var g=b[d],h=w.get(g);if(void 0===h){h=__webpack_chunk_load__(g);c.push(h);var n=w.set.bind(w,g,null);h.then(n,y);w.set(g,h)}else null!==h&&c.push(h)}if(a.async){if(b=x.get(a.id))return"fulfilled"===b.status?null:b;var e=Promise.all(c).then(function(){return __webpack_require__(a.id)});e.then(function(m){e.status="fulfilled";e.value=m},function(m){e.status="rejected";e.reason=m});x.set(a.id,e);return e}return 0<c.length?Promise.all(c):null}
12
+ var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),F=Symbol.iterator;function G(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var aa=Array.isArray,H=new WeakMap;function ba(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
13
+ function ca(a,b,c,d){function g(m,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===e&&(e=new FormData);n++;var k=h++;f.then(function(p){p=JSON.stringify(p,g);var q=e;q.append(b+k,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+k.toString(16)}if(f instanceof FormData){null===e&&(e=new FormData);var l=e;m=h++;var E=b+m+"_";f.forEach(function(p,q){l.append(E+q,p)});return"$K"+m.toString(16)}return!aa(f)&&G(f)?Array.from(f):f}if("string"===typeof f){if("Z"===
14
+ f[f.length-1]&&this[m]instanceof Date)return"$D"+f;f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return ba(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=H.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===e&&(e=new FormData),m=h++,e.set(b+m,f),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){m=
15
+ f.description;if(Symbol.for(m)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(f.description+") cannot be found among global symbols."));return"$S"+m}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var h=1,n=0,e=null;a=JSON.stringify(a,g);null===e?c(a):(e.set(b+"0",a),0===n&&c(e))}var J=new WeakMap;
16
+ function da(a){var b,c,d=new Promise(function(g,h){b=g;c=h});ca(a,"",function(g){if("string"===typeof g){var h=new FormData;h.append("0",g);g=h}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d}
17
+ function ea(a){var b=H.get(this);if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=J.get(b);c||(c=da(b),J.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,h){d.append("$ACTION_"+a+":"+h,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}
18
+ var K=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function L(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}L.prototype=Object.create(Promise.prototype);
19
+ L.prototype.then=function(a,b){switch(this.status){case "resolved_model":M(this);break;case "resolved_module":N(this)}switch(this.status){case "fulfilled":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)}};
20
+ function fa(a){switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function O(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function P(a,b,c){switch(a.status){case "fulfilled":O(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&O(c,a.reason)}}
21
+ function R(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&O(c,b)}}function S(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(N(a),P(a,c,d))}}var T=null,U=null;
22
+ function M(a){var b=T,c=U;T=a;U=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==U&&0<U.deps?(U.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{T=b,U=c}}
23
+ function N(a){try{var b=a.value;if(b.async){var c=x.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var g="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=g}catch(h){a.status="rejected",a.reason=h}}function V(a,b){a._chunks.forEach(function(c){"pending"===c.status&&R(c,b)})}function W(a,b){var c=a._chunks,d=c.get(b);d||(d=new L("pending",null,null,a),c.set(b,d));return d}
24
+ function ha(a,b,c){if(U){var d=U;d.deps++}else d=U={deps:1,value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&O(g,d.value))}}function ia(a){return function(b){return R(a,b)}}
25
+ function ja(a,b){function c(){var g=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(g)):Promise.resolve(h).then(function(n){return d(b.id,n.concat(g))}):d(b.id,g)}var d=a._callServer;c.$$FORM_ACTION=ea;H.set(c,b);return c}
26
+ function ka(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=W(a,b),{$$typeof:C,_payload:a,_init:fa};case "@":return b=parseInt(d.slice(2),16),W(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),K[a]||(K[a]=t.createServerContext(a,D)),K[a].Provider;case "F":b=parseInt(d.slice(2),16);b=W(a,b);switch(b.status){case "resolved_model":M(b)}switch(b.status){case "fulfilled":return ja(a,b.value);default:throw b.reason;
27
+ }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=W(a,d);switch(a.status){case "resolved_model":M(a);break;case "resolved_module":N(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=T,a.then(ha(d,b,c),ia(d)),null;default:throw a.reason;}}}return d}
28
+ function la(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function X(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:la,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ma(a);return a}
29
+ function na(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var h=v(a._bundlerConfig,c);if(c=z(h)){if(g){var n=g;n.status="blocked"}else n=new L("blocked",null,null,a),d.set(b,n);c.then(function(){return S(n,h)},function(e){return R(n,e)})}else g?S(g,h):d.set(b,new L("resolved_module",h,null,a))}
30
+ function ma(a){return function(b,c){return"string"===typeof c?ka(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function Y(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
31
+ function Z(a,b){function c(h){var n=h.value;if(h.done)V(a,Error("Connection closed."));else{var e=0,m=a._rowState,f=a._rowID,k=a._rowTag,l=a._rowLength;h=a._buffer;for(var E=n.length;e<E;){var p=-1;switch(m){case 0:p=n[e++];58===p?m=1:f=f<<4|(96<p?p-87:p-48);continue;case 1:m=n[e];84===m?(k=m,m=2,e++):64<m&&91>m?(k=m,m=3,e++):(k=0,m=3);continue;case 2:p=n[e++];44===p?m=4:l=l<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,e);break;case 4:p=e+l,p>n.length&&(p=-1)}var q=n.byteOffset+e;if(-1<p){e=
32
+ new Uint8Array(n.buffer,q,p-e);l=a;q=k;k="";for(var Q=l._stringDecoder,I=0;I<h.length;I++)k+=Q.decode(h[I],u);k="string"===typeof e?k+e:k+Q.decode(e);switch(q){case 73:na(l,f,k);break;case 72:f=k[0];k=k.slice(1);l=JSON.parse(k,l._fromJSON);k=void 0;if(q=A.current)switch("string"===typeof l?e=l:(e=l[0],k=l[1]),f){case "D":q.prefetchDNS(e,k);break;case "C":q.preconnect(e,k);break;case "L":q.preload(e,k);break;case "I":q.preinit(e,k)}break;case 69:k=JSON.parse(k);e=k.digest;k=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
33
+ k.stack="Error: "+k.message;k.digest=e;e=l._chunks;(q=e.get(f))?R(q,k):e.set(f,new L("rejected",null,k,l));break;case 84:l._chunks.set(f,new L("fulfilled",k,null,l));break;default:e=l._chunks,(q=e.get(f))?(l=q,f=k,"pending"===l.status&&(k=l.value,e=l.reason,l.status="resolved_model",l.value=f,null!==k&&(M(l),P(l,k,e)))):e.set(f,new L("resolved_model",k,null,l))}e=p;3===m&&e++;l=f=k=m=0;h.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-e);h.push(n);l-=n.byteLength;break}}a._rowState=m;a._rowID=
34
+ f;a._rowTag=k;a._rowLength=l;return g.read().then(c).catch(d)}}function d(h){V(a,h)}var g=b.getReader();g.read().then(c).catch(d)}exports.createFromFetch=function(a,b){var c=X(b&&b.moduleMap?b.moduleMap:null,Y);a.then(function(d){Z(c,d.body)},function(d){V(c,d)});return W(c,0)};exports.createFromReadableStream=function(a,b){b=X(b&&b.moduleMap?b.moduleMap:null,Y);Z(b,a);return W(b,0)};exports.createServerReference=function(){return Y};
@@ -1769,35 +1769,42 @@ function processBinaryChunk(response, chunk) {
1769
1769
  case ROW_CHUNK_BY_LENGTH:
1770
1770
  {
1771
1771
  // We're looking for the remaining byte length
1772
- if (i + rowLength <= chunk.length) {
1773
- lastIdx = i + rowLength;
1772
+ lastIdx = i + rowLength;
1773
+
1774
+ if (lastIdx > chunk.length) {
1775
+ lastIdx = -1;
1774
1776
  }
1775
1777
 
1776
1778
  break;
1777
1779
  }
1778
1780
  }
1779
1781
 
1782
+ var offset = chunk.byteOffset + i;
1783
+
1780
1784
  if (lastIdx > -1) {
1781
1785
  // We found the last chunk of the row
1782
- var offset = chunk.byteOffset + i;
1783
1786
  var length = lastIdx - i;
1784
1787
  var lastChunk = new Uint8Array(chunk.buffer, offset, length);
1785
1788
  processFullRow(response, rowID, rowTag, buffer, lastChunk); // Reset state machine for a new row
1786
1789
 
1790
+ i = lastIdx;
1791
+
1792
+ if (rowState === ROW_CHUNK_BY_NEWLINE) {
1793
+ // If we're trailing by a newline we need to skip it.
1794
+ i++;
1795
+ }
1796
+
1787
1797
  rowState = ROW_ID;
1788
1798
  rowTag = 0;
1789
1799
  rowID = 0;
1790
1800
  rowLength = 0;
1791
1801
  buffer.length = 0;
1792
- i = lastIdx + 1;
1793
1802
  } else {
1794
1803
  // The rest of this row is in a future chunk. We stash the rest of the
1795
1804
  // current chunk until we can process the full row.
1796
- var _offset = chunk.byteOffset + i;
1797
-
1798
1805
  var _length = chunk.byteLength - i;
1799
1806
 
1800
- var remainingSlice = new Uint8Array(chunk.buffer, _offset, _length);
1807
+ var remainingSlice = new Uint8Array(chunk.buffer, offset, _length);
1801
1808
  buffer.push(remainingSlice); // Update how many bytes we're still waiting for. If we're looking for
1802
1809
  // a newline, this doesn't hurt since we'll just ignore it.
1803
1810
 
@@ -7,12 +7,12 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- 'use strict';var n=require("util"),p=require("react-dom"),t=require("react"),u={stream:!0};function v(a,c){if(a){var b=a[c.id];if(a=b[c.name])b=a.name;else{a=b["*"];if(!a)throw Error('Could not find the module "'+c.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');b=c.name}return{id:a.id,chunks:a.chunks,name:b,async:!!c.async}}return c}var y=new Map,z=new Map;function A(){}
11
- function B(a){for(var c=a.chunks,b=[],d=0;d<c.length;d++){var e=c[d],g=y.get(e);if(void 0===g){g=__webpack_chunk_load__(e);b.push(g);var l=y.set.bind(y,e,null);g.then(l,A);y.set(e,g)}else null!==g&&b.push(g)}if(a.async){if(c=z.get(a.id))return"fulfilled"===c.status?null:c;var f=Promise.all(b).then(function(){return __webpack_require__(a.id)});f.then(function(h){f.status="fulfilled";f.value=h},function(h){f.status="rejected";f.reason=h});z.set(a.id,f);return f}return 0<b.length?Promise.all(b):null}
12
- var C=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,D=Symbol.for("react.element"),E=Symbol.for("react.lazy"),F=Symbol.for("react.default_value"),G=Symbol.iterator;function H(a){if(null===a||"object"!==typeof a)return null;a=G&&a[G]||a["@@iterator"];return"function"===typeof a?a:null}var I=Array.isArray,J=new WeakMap;function K(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
13
- function L(a,c,b,d){function e(h,k){if(null===k)return null;if("object"===typeof k){if("function"===typeof k.then){null===f&&(f=new FormData);l++;var w=g++;k.then(function(q){q=JSON.stringify(q,e);var x=f;x.append(c+w,q);l--;0===l&&b(x)},function(q){d(q)});return"$@"+w.toString(16)}if(k instanceof FormData){null===f&&(f=new FormData);var m=f;h=g++;var r=c+h+"_";k.forEach(function(q,x){m.append(r+x,q)});return"$K"+h.toString(16)}return!I(k)&&H(k)?Array.from(k):k}if("string"===typeof k){if("Z"===k[k.length-
14
- 1]&&this[h]instanceof Date)return"$D"+k;k="$"===k[0]?"$"+k:k;return k}if("boolean"===typeof k)return k;if("number"===typeof k)return K(k);if("undefined"===typeof k)return"$undefined";if("function"===typeof k){k=J.get(k);if(void 0!==k)return k=JSON.stringify(k,e),null===f&&(f=new FormData),h=g++,f.set(c+h,k),"$F"+h.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof k){h=k.description;
15
- if(Symbol.for(h)!==k)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(k.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof k)return"$n"+k.toString(10);throw Error("Type "+typeof k+" is not supported as an argument to a Server Function.");}var g=1,l=0,f=null;a=JSON.stringify(a,e);null===f?b(a):(f.set(c+"0",a),0===l&&b(f))}var M=new WeakMap;
10
+ 'use strict';var q=require("util"),r=require("react-dom"),t=require("react"),u={stream:!0};function v(a,c){if(a){var b=a[c.id];if(a=b[c.name])b=a.name;else{a=b["*"];if(!a)throw Error('Could not find the module "'+c.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');b=c.name}return{id:a.id,chunks:a.chunks,name:b,async:!!c.async}}return c}var y=new Map,z=new Map;function A(){}
11
+ function B(a){for(var c=a.chunks,b=[],d=0;d<c.length;d++){var e=c[d],g=y.get(e);if(void 0===g){g=__webpack_chunk_load__(e);b.push(g);var l=y.set.bind(y,e,null);g.then(l,A);y.set(e,g)}else null!==g&&b.push(g)}if(a.async){if(c=z.get(a.id))return"fulfilled"===c.status?null:c;var f=Promise.all(b).then(function(){return __webpack_require__(a.id)});f.then(function(k){f.status="fulfilled";f.value=k},function(k){f.status="rejected";f.reason=k});z.set(a.id,f);return f}return 0<b.length?Promise.all(b):null}
12
+ var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,D=Symbol.for("react.element"),E=Symbol.for("react.lazy"),F=Symbol.for("react.default_value"),G=Symbol.iterator;function H(a){if(null===a||"object"!==typeof a)return null;a=G&&a[G]||a["@@iterator"];return"function"===typeof a?a:null}var I=Array.isArray,J=new WeakMap;function K(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
13
+ function L(a,c,b,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===f&&(f=new FormData);l++;var w=g++;h.then(function(p){p=JSON.stringify(p,e);var x=f;x.append(c+w,p);l--;0===l&&b(x)},function(p){d(p)});return"$@"+w.toString(16)}if(h instanceof FormData){null===f&&(f=new FormData);var m=f;k=g++;var n=c+k+"_";h.forEach(function(p,x){m.append(n+x,p)});return"$K"+k.toString(16)}return!I(h)&&H(h)?Array.from(h):h}if("string"===typeof h){if("Z"===h[h.length-
14
+ 1]&&this[k]instanceof Date)return"$D"+h;h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return K(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=J.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===f&&(f=new FormData),k=g++,f.set(c+k,h),"$F"+k.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof h){k=h.description;
15
+ if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,l=0,f=null;a=JSON.stringify(a,e);null===f?b(a):(f.set(c+"0",a),0===l&&b(f))}var M=new WeakMap;
16
16
  function aa(a){var c,b,d=new Promise(function(e,g){c=e;b=g});L(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;c(e)},function(e){d.status="rejected";d.reason=e;b(e)});return d}
17
17
  function ba(a){var c=J.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var b=null;if(null!==c.bound){b=M.get(c);b||(b=aa(c),M.set(c,b));if("rejected"===b.status)throw b.reason;if("fulfilled"!==b.status)throw b;c=b.value;var d=new FormData;c.forEach(function(e,g){d.append("$ACTION_"+a+":"+g,e)});b=d;c="$ACTION_REF_"+a}else c="$ACTION_ID_"+c.id;return{name:c,method:"POST",encType:"multipart/form-data",data:b}}
18
18
  var N=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function O(a,c,b,d){this.status=a;this.value=c;this.reason=b;this._response=d}O.prototype=Object.create(Promise.prototype);
@@ -25,10 +25,10 @@ function da(a,c,b){if(W){var d=W;d.deps++}else d=W={deps:1,value:null};return fu
25
25
  function fa(a,c){function b(){var e=Array.prototype.slice.call(arguments),g=c.bound;return g?"fulfilled"===g.status?d(c.id,g.value.concat(e)):Promise.resolve(g).then(function(l){return d(c.id,l.concat(e))}):d(c.id,e)}var d=a._callServer;b.$$FORM_ACTION=ba;J.set(b,c);return b}
26
26
  function ha(a,c,b,d){if("$"===d[0]){if("$"===d)return D;switch(d[1]){case "$":return d.slice(1);case "L":return c=parseInt(d.slice(2),16),a=Y(a,c),{$$typeof:E,_payload:a,_init:ca};case "@":return c=parseInt(d.slice(2),16),Y(a,c);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),N[a]||(N[a]=t.createServerContext(a,F)),N[a].Provider;case "F":c=parseInt(d.slice(2),16);c=Y(a,c);switch(c.status){case "resolved_model":P(c)}switch(c.status){case "fulfilled":return fa(a,c.value);default:throw c.reason;
27
27
  }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=Y(a,d);switch(a.status){case "resolved_model":P(a);break;case "resolved_module":Q(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=V,a.then(da(d,c,b),ea(d)),null;default:throw a.reason;}}}return d}
28
- function ia(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ja(a,c){var b=new Map;a={_bundlerConfig:a,_callServer:void 0!==c?c:ia,_chunks:b,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ka(a);return a}
28
+ function ia(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ja(a,c){var b=new Map;a={_bundlerConfig:a,_callServer:void 0!==c?c:ia,_chunks:b,_stringDecoder:new q.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ka(a);return a}
29
29
  function la(a,c,b){var d=a._chunks,e=d.get(c);b=JSON.parse(b,a._fromJSON);var g=v(a._bundlerConfig,b);if(b=B(g)){if(e){var l=e;l.status="blocked"}else l=new O("blocked",null,null,a),d.set(c,l);b.then(function(){return U(l,g)},function(f){return T(l,f)})}else e?U(e,g):d.set(c,new O("resolved_module",g,null,a))}
30
30
  function ka(a){return function(c,b){return"string"===typeof b?ha(a,this,c,b):"object"===typeof b&&null!==b?(c=b[0]===D?{$$typeof:D,type:b[1],key:b[2],ref:null,props:b[3],_owner:null}:b,c):b}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
31
- exports.createFromNodeStream=function(a,c){var b=ja(c,Z);a.on("data",function(d){for(var e=0,g=b._rowState,l=b._rowID,f=b._rowTag,h=b._rowLength,k=b._buffer,w=d.length;e<w;){var m=-1;switch(g){case 0:m=d[e++];58===m?g=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:m=d[e];84===m?(f=m,g=2,e++):64<m&&91>m?(f=m,g=3,e++):(f=0,g=3);continue;case 2:m=d[e++];44===m?g=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=d.indexOf(10,e);break;case 4:e+h<=d.length&&(m=e+h)}if(-1<m){h=new Uint8Array(d.buffer,d.byteOffset+
32
- e,m-e);e=f;f="";g=b._stringDecoder;for(var r=0;r<k.length;r++)f+=g.decode(k[r],u);f="string"===typeof h?f+h:f+g.decode(h);switch(e){case 73:la(b,l,f);break;case 72:l=f[0];f=f.slice(1);f=JSON.parse(f,b._fromJSON);h=void 0;if(g=C.current)switch("string"===typeof f?e=f:(e=f[0],h=f[1]),l){case "D":g.prefetchDNS(e,h);break;case "C":g.preconnect(e,h);break;case "L":g.preload(e,h);break;case "I":g.preinit(e,h)}break;case 69:f=JSON.parse(f);h=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
33
- f.stack="Error: "+f.message;f.digest=h;h=b._chunks;(e=h.get(l))?T(e,f):h.set(l,new O("rejected",null,f,b));break;case 84:b._chunks.set(l,new O("fulfilled",f,null,b));break;default:h=b._chunks,(e=h.get(l))?(l=e,"pending"===l.status&&(h=l.value,e=l.reason,l.status="resolved_model",l.value=f,null!==h&&(P(l),S(l,h,e)))):h.set(l,new O("resolved_model",f,null,b))}h=l=f=g=0;k.length=0;e=m+1}else{d=new Uint8Array(d.buffer,d.byteOffset+e,d.byteLength-e);k.push(d);h-=d.byteLength;break}}b._rowState=g;b._rowID=
34
- l;b._rowTag=f;b._rowLength=h});a.on("error",function(d){X(b,d)});a.on("end",function(){X(b,Error("Connection closed."))});return Y(b,0)};exports.createServerReference=function(){return Z};
31
+ exports.createFromNodeStream=function(a,c){var b=ja(c,Z);a.on("data",function(d){for(var e=0,g=b._rowState,l=b._rowID,f=b._rowTag,k=b._rowLength,h=b._buffer,w=d.length;e<w;){var m=-1;switch(g){case 0:m=d[e++];58===m?g=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:g=d[e];84===g?(f=g,g=2,e++):64<g&&91>g?(f=g,g=3,e++):(f=0,g=3);continue;case 2:m=d[e++];44===m?g=4:k=k<<4|(96<m?m-87:m-48);continue;case 3:m=d.indexOf(10,e);break;case 4:m=e+k,m>d.length&&(m=-1)}var n=d.byteOffset+e;if(-1<m){k=new Uint8Array(d.buffer,
32
+ n,m-e);e=f;f="";n=b._stringDecoder;for(var p=0;p<h.length;p++)f+=n.decode(h[p],u);f="string"===typeof k?f+k:f+n.decode(k);switch(e){case 73:la(b,l,f);break;case 72:l=f[0];f=f.slice(1);f=JSON.parse(f,b._fromJSON);k=void 0;if(n=C.current)switch("string"===typeof f?e=f:(e=f[0],k=f[1]),l){case "D":n.prefetchDNS(e,k);break;case "C":n.preconnect(e,k);break;case "L":n.preload(e,k);break;case "I":n.preinit(e,k)}break;case 69:f=JSON.parse(f);k=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
33
+ f.stack="Error: "+f.message;f.digest=k;k=b._chunks;(e=k.get(l))?T(e,f):k.set(l,new O("rejected",null,f,b));break;case 84:b._chunks.set(l,new O("fulfilled",f,null,b));break;default:k=b._chunks,(e=k.get(l))?(l=e,"pending"===l.status&&(k=l.value,e=l.reason,l.status="resolved_model",l.value=f,null!==k&&(P(l),S(l,k,e)))):k.set(l,new O("resolved_model",f,null,b))}e=m;3===g&&e++;k=l=f=g=0;h.length=0}else{d=new Uint8Array(d.buffer,n,d.byteLength-e);h.push(d);k-=d.byteLength;break}}b._rowState=g;b._rowID=
34
+ l;b._rowTag=f;b._rowLength=k});a.on("error",function(d){X(b,d)});a.on("end",function(){X(b,Error("Connection closed."))});return Y(b,0)};exports.createServerReference=function(){return Z};
@@ -1718,35 +1718,42 @@ function processBinaryChunk(response, chunk) {
1718
1718
  case ROW_CHUNK_BY_LENGTH:
1719
1719
  {
1720
1720
  // We're looking for the remaining byte length
1721
- if (i + rowLength <= chunk.length) {
1722
- lastIdx = i + rowLength;
1721
+ lastIdx = i + rowLength;
1722
+
1723
+ if (lastIdx > chunk.length) {
1724
+ lastIdx = -1;
1723
1725
  }
1724
1726
 
1725
1727
  break;
1726
1728
  }
1727
1729
  }
1728
1730
 
1731
+ var offset = chunk.byteOffset + i;
1732
+
1729
1733
  if (lastIdx > -1) {
1730
1734
  // We found the last chunk of the row
1731
- var offset = chunk.byteOffset + i;
1732
1735
  var length = lastIdx - i;
1733
1736
  var lastChunk = new Uint8Array(chunk.buffer, offset, length);
1734
1737
  processFullRow(response, rowID, rowTag, buffer, lastChunk); // Reset state machine for a new row
1735
1738
 
1739
+ i = lastIdx;
1740
+
1741
+ if (rowState === ROW_CHUNK_BY_NEWLINE) {
1742
+ // If we're trailing by a newline we need to skip it.
1743
+ i++;
1744
+ }
1745
+
1736
1746
  rowState = ROW_ID;
1737
1747
  rowTag = 0;
1738
1748
  rowID = 0;
1739
1749
  rowLength = 0;
1740
1750
  buffer.length = 0;
1741
- i = lastIdx + 1;
1742
1751
  } else {
1743
1752
  // The rest of this row is in a future chunk. We stash the rest of the
1744
1753
  // current chunk until we can process the full row.
1745
- var _offset = chunk.byteOffset + i;
1746
-
1747
1754
  var _length = chunk.byteLength - i;
1748
1755
 
1749
- var remainingSlice = new Uint8Array(chunk.buffer, _offset, _length);
1756
+ var remainingSlice = new Uint8Array(chunk.buffer, offset, _length);
1750
1757
  buffer.push(remainingSlice); // Update how many bytes we're still waiting for. If we're looking for
1751
1758
  // a newline, this doesn't hurt since we'll just ignore it.
1752
1759
 
@@ -7,10 +7,10 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- 'use strict';var n=require("util"),p=require("react-dom"),t=require("react"),u={stream:!0};function x(a,c){var b=a[c.id];if(a=b[c.name])c=a.name;else{a=b["*"];if(!a)throw Error('Could not find the module "'+c.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=c.name}return{specifier:a.specifier,name:c}}var y=new Map;
11
- function z(a){var c=y.get(a.specifier);if(c)return"fulfilled"===c.status?null:c;var b=import(a.specifier);b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});y.set(a.specifier,b);return b}var A=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),E=Symbol.iterator;
10
+ 'use strict';var q=require("util"),r=require("react-dom"),t=require("react"),u={stream:!0};function x(a,c){var b=a[c.id];if(a=b[c.name])c=a.name;else{a=b["*"];if(!a)throw Error('Could not find the module "'+c.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=c.name}return{specifier:a.specifier,name:c}}var y=new Map;
11
+ function z(a){var c=y.get(a.specifier);if(c)return"fulfilled"===c.status?null:c;var b=import(a.specifier);b.then(function(d){b.status="fulfilled";b.value=d},function(d){b.status="rejected";b.reason=d});y.set(a.specifier,b);return b}var A=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.lazy"),D=Symbol.for("react.default_value"),E=Symbol.iterator;
12
12
  function F(a){if(null===a||"object"!==typeof a)return null;a=E&&a[E]||a["@@iterator"];return"function"===typeof a?a:null}var G=Array.isArray,H=new WeakMap;function I(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
13
- function J(a,c,b,d){function e(h,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===f&&(f=new FormData);l++;var v=k++;g.then(function(q){q=JSON.stringify(q,e);var w=f;w.append(c+v,q);l--;0===l&&b(w)},function(q){d(q)});return"$@"+v.toString(16)}if(g instanceof FormData){null===f&&(f=new FormData);var m=f;h=k++;var r=c+h+"_";g.forEach(function(q,w){m.append(r+w,q)});return"$K"+h.toString(16)}return!G(g)&&F(g)?Array.from(g):g}if("string"===typeof g){if("Z"===g[g.length-
13
+ function J(a,c,b,d){function e(h,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===f&&(f=new FormData);l++;var v=k++;g.then(function(p){p=JSON.stringify(p,e);var w=f;w.append(c+v,p);l--;0===l&&b(w)},function(p){d(p)});return"$@"+v.toString(16)}if(g instanceof FormData){null===f&&(f=new FormData);var m=f;h=k++;var n=c+h+"_";g.forEach(function(p,w){m.append(n+w,p)});return"$K"+h.toString(16)}return!G(g)&&F(g)?Array.from(g):g}if("string"===typeof g){if("Z"===g[g.length-
14
14
  1]&&this[h]instanceof Date)return"$D"+g;g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return I(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=H.get(g);if(void 0!==g)return g=JSON.stringify(g,e),null===f&&(f=new FormData),h=k++,f.set(c+h,g),"$F"+h.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){h=g.description;
15
15
  if(Symbol.for(h)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(g.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof g)return"$n"+g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var k=1,l=0,f=null;a=JSON.stringify(a,e);null===f?b(a):(f.set(c+"0",a),0===l&&b(f))}var K=new WeakMap;
16
16
  function L(a){var c,b,d=new Promise(function(e,k){c=e;b=k});J(a,"",function(e){if("string"===typeof e){var k=new FormData;k.append("0",e);e=k}d.status="fulfilled";d.value=e;c(e)},function(e){d.status="rejected";d.reason=e;b(e)});return d}
@@ -24,10 +24,10 @@ function X(a,c){a._chunks.forEach(function(b){"pending"===b.status&&T(b,c)})}fun
24
24
  function da(a,c){function b(){var e=Array.prototype.slice.call(arguments),k=c.bound;return k?"fulfilled"===k.status?d(c.id,k.value.concat(e)):Promise.resolve(k).then(function(l){return d(c.id,l.concat(e))}):d(c.id,e)}var d=a._callServer;b.$$FORM_ACTION=M;H.set(b,c);return b}
25
25
  function ea(a,c,b,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return c=parseInt(d.slice(2),16),a=Y(a,c),{$$typeof:C,_payload:a,_init:aa};case "@":return c=parseInt(d.slice(2),16),Y(a,c);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),N[a]||(N[a]=t.createServerContext(a,D)),N[a].Provider;case "F":c=parseInt(d.slice(2),16);c=Y(a,c);switch(c.status){case "resolved_model":P(c)}switch(c.status){case "fulfilled":return da(a,c.value);default:throw c.reason;
26
26
  }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=Y(a,d);switch(a.status){case "resolved_model":P(a);break;case "resolved_module":Q(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=V,a.then(ba(d,c,b),ca(d)),null;default:throw a.reason;}}}return d}
27
- function fa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ha(a,c){var b=new Map;a={_bundlerConfig:a,_callServer:void 0!==c?c:fa,_chunks:b,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ia(a);return a}
27
+ function fa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ha(a,c){var b=new Map;a={_bundlerConfig:a,_callServer:void 0!==c?c:fa,_chunks:b,_stringDecoder:new q.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ia(a);return a}
28
28
  function ja(a,c,b){var d=a._chunks,e=d.get(c);b=JSON.parse(b,a._fromJSON);var k=x(a._bundlerConfig,b);if(b=z(k)){if(e){var l=e;l.status="blocked"}else l=new O("blocked",null,null,a),d.set(c,l);b.then(function(){return U(l,k)},function(f){return T(l,f)})}else e?U(e,k):d.set(c,new O("resolved_module",k,null,a))}
29
29
  function ia(a){return function(c,b){return"string"===typeof b?ea(a,this,c,b):"object"===typeof b&&null!==b?(c=b[0]===B?{$$typeof:B,type:b[1],key:b[2],ref:null,props:b[3],_owner:null}:b,c):b}}function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
30
- exports.createFromNodeStream=function(a,c){var b=ha(c,Z);a.on("data",function(d){for(var e=0,k=b._rowState,l=b._rowID,f=b._rowTag,h=b._rowLength,g=b._buffer,v=d.length;e<v;){var m=-1;switch(k){case 0:m=d[e++];58===m?k=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:m=d[e];84===m?(f=m,k=2,e++):64<m&&91>m?(f=m,k=3,e++):(f=0,k=3);continue;case 2:m=d[e++];44===m?k=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=d.indexOf(10,e);break;case 4:e+h<=d.length&&(m=e+h)}if(-1<m){h=new Uint8Array(d.buffer,d.byteOffset+
31
- e,m-e);e=f;f="";k=b._stringDecoder;for(var r=0;r<g.length;r++)f+=k.decode(g[r],u);f="string"===typeof h?f+h:f+k.decode(h);switch(e){case 73:ja(b,l,f);break;case 72:l=f[0];f=f.slice(1);f=JSON.parse(f,b._fromJSON);h=void 0;if(k=A.current)switch("string"===typeof f?e=f:(e=f[0],h=f[1]),l){case "D":k.prefetchDNS(e,h);break;case "C":k.preconnect(e,h);break;case "L":k.preload(e,h);break;case "I":k.preinit(e,h)}break;case 69:f=JSON.parse(f);h=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
32
- f.stack="Error: "+f.message;f.digest=h;h=b._chunks;(e=h.get(l))?T(e,f):h.set(l,new O("rejected",null,f,b));break;case 84:b._chunks.set(l,new O("fulfilled",f,null,b));break;default:h=b._chunks,(e=h.get(l))?(l=e,"pending"===l.status&&(h=l.value,e=l.reason,l.status="resolved_model",l.value=f,null!==h&&(P(l),S(l,h,e)))):h.set(l,new O("resolved_model",f,null,b))}h=l=f=k=0;g.length=0;e=m+1}else{d=new Uint8Array(d.buffer,d.byteOffset+e,d.byteLength-e);g.push(d);h-=d.byteLength;break}}b._rowState=k;b._rowID=
30
+ exports.createFromNodeStream=function(a,c){var b=ha(c,Z);a.on("data",function(d){for(var e=0,k=b._rowState,l=b._rowID,f=b._rowTag,h=b._rowLength,g=b._buffer,v=d.length;e<v;){var m=-1;switch(k){case 0:m=d[e++];58===m?k=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:k=d[e];84===k?(f=k,k=2,e++):64<k&&91>k?(f=k,k=3,e++):(f=0,k=3);continue;case 2:m=d[e++];44===m?k=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=d.indexOf(10,e);break;case 4:m=e+h,m>d.length&&(m=-1)}var n=d.byteOffset+e;if(-1<m){h=new Uint8Array(d.buffer,
31
+ n,m-e);e=f;f="";n=b._stringDecoder;for(var p=0;p<g.length;p++)f+=n.decode(g[p],u);f="string"===typeof h?f+h:f+n.decode(h);switch(e){case 73:ja(b,l,f);break;case 72:l=f[0];f=f.slice(1);f=JSON.parse(f,b._fromJSON);h=void 0;if(n=A.current)switch("string"===typeof f?e=f:(e=f[0],h=f[1]),l){case "D":n.prefetchDNS(e,h);break;case "C":n.preconnect(e,h);break;case "L":n.preload(e,h);break;case "I":n.preinit(e,h)}break;case 69:f=JSON.parse(f);h=f.digest;f=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
32
+ f.stack="Error: "+f.message;f.digest=h;h=b._chunks;(e=h.get(l))?T(e,f):h.set(l,new O("rejected",null,f,b));break;case 84:b._chunks.set(l,new O("fulfilled",f,null,b));break;default:h=b._chunks,(e=h.get(l))?(l=e,"pending"===l.status&&(h=l.value,e=l.reason,l.status="resolved_model",l.value=f,null!==h&&(P(l),S(l,h,e)))):h.set(l,new O("resolved_model",f,null,b))}e=m;3===k&&e++;h=l=f=k=0;g.length=0}else{d=new Uint8Array(d.buffer,n,d.byteLength-e);g.push(d);h-=d.byteLength;break}}b._rowState=k;b._rowID=
33
33
  l;b._rowTag=f;b._rowLength=h});a.on("error",function(d){X(b,d)});a.on("end",function(){X(b,Error("Connection closed."))});return Y(b,0)};exports.createServerReference=function(){return Z};
@@ -3186,7 +3186,8 @@ function decodeReplyFromBusboy(busboyStream, webpackMap) {
3186
3186
  close(response);
3187
3187
  });
3188
3188
  busboyStream.on('error', function (err) {
3189
- reportGlobalError(response, err);
3189
+ reportGlobalError(response, // $FlowFixMe[incompatible-call] types Error and mixed are incompatible
3190
+ err);
3190
3191
  });
3191
3192
  return getRoot(response);
3192
3193
  }
@@ -3118,7 +3118,8 @@ function decodeReplyFromBusboy(busboyStream, webpackMap) {
3118
3118
  close(response);
3119
3119
  });
3120
3120
  busboyStream.on('error', function (err) {
3121
- reportGlobalError(response, err);
3121
+ reportGlobalError(response, // $FlowFixMe[incompatible-call] types Error and mixed are incompatible
3122
+ err);
3122
3123
  });
3123
3124
  return getRoot(response);
3124
3125
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-server-dom-webpack",
3
3
  "description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
4
- "version": "18.3.0-canary-88df88f94-20230613",
4
+ "version": "18.3.0-canary-613e6f5fc-20230616",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -78,8 +78,8 @@
78
78
  "node": ">=0.10.0"
79
79
  },
80
80
  "peerDependencies": {
81
- "react": "18.3.0-canary-88df88f94-20230613",
82
- "react-dom": "18.3.0-canary-88df88f94-20230613",
81
+ "react": "18.3.0-canary-613e6f5fc-20230616",
82
+ "react-dom": "18.3.0-canary-613e6f5fc-20230616",
83
83
  "webpack": "^5.59.0"
84
84
  },
85
85
  "dependencies": {
@@ -1780,35 +1780,42 @@
1780
1780
  case ROW_CHUNK_BY_LENGTH:
1781
1781
  {
1782
1782
  // We're looking for the remaining byte length
1783
- if (i + rowLength <= chunk.length) {
1784
- lastIdx = i + rowLength;
1783
+ lastIdx = i + rowLength;
1784
+
1785
+ if (lastIdx > chunk.length) {
1786
+ lastIdx = -1;
1785
1787
  }
1786
1788
 
1787
1789
  break;
1788
1790
  }
1789
1791
  }
1790
1792
 
1793
+ var offset = chunk.byteOffset + i;
1794
+
1791
1795
  if (lastIdx > -1) {
1792
1796
  // We found the last chunk of the row
1793
- var offset = chunk.byteOffset + i;
1794
1797
  var length = lastIdx - i;
1795
1798
  var lastChunk = new Uint8Array(chunk.buffer, offset, length);
1796
1799
  processFullRow(response, rowID, rowTag, buffer, lastChunk); // Reset state machine for a new row
1797
1800
 
1801
+ i = lastIdx;
1802
+
1803
+ if (rowState === ROW_CHUNK_BY_NEWLINE) {
1804
+ // If we're trailing by a newline we need to skip it.
1805
+ i++;
1806
+ }
1807
+
1798
1808
  rowState = ROW_ID;
1799
1809
  rowTag = 0;
1800
1810
  rowID = 0;
1801
1811
  rowLength = 0;
1802
1812
  buffer.length = 0;
1803
- i = lastIdx + 1;
1804
1813
  } else {
1805
1814
  // The rest of this row is in a future chunk. We stash the rest of the
1806
1815
  // current chunk until we can process the full row.
1807
- var _offset = chunk.byteOffset + i;
1808
-
1809
1816
  var _length = chunk.byteLength - i;
1810
1817
 
1811
- var remainingSlice = new Uint8Array(chunk.buffer, _offset, _length);
1818
+ var remainingSlice = new Uint8Array(chunk.buffer, offset, _length);
1812
1819
  buffer.push(remainingSlice); // Update how many bytes we're still waiting for. If we're looking for
1813
1820
  // a newline, this doesn't hurt since we'll just ignore it.
1814
1821
 
@@ -7,25 +7,25 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- (function(){'use strict';(function(q,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],w):(q="undefined"!==typeof globalThis?globalThis:q||self,w(q.ReactServerDOMClient={},q.ReactDOM,q.React))})(this,function(q,w,K){function T(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');
11
- c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}function U(){}function V(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var g=b[d],k=y.get(g);if(void 0===k){k=__webpack_chunk_load__(g);c.push(k);var p=y.set.bind(y,g,null);k.then(p,U);y.set(g,k)}else null!==k&&c.push(k)}if(a.async){if(b=E.get(a.id))return"fulfilled"===b.status?null:b;var e=Promise.all(c).then(function(){return __webpack_require__(a.id)});e.then(function(l){e.status="fulfilled";e.value=l},function(l){e.status=
12
- "rejected";e.reason=l});E.set(a.id,e);return e}return 0<c.length?Promise.all(c):null}function W(a){if(null===a||"object"!==typeof a)return null;a=L&&a[L]||a["@@iterator"];return"function"===typeof a?a:null}function X(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}function M(a,b,c,d){function g(l,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===e&&(e=new FormData);p++;var h=k++;f.then(function(n){n=
13
- JSON.stringify(n,g);var u=e;u.append(b+h,n);p--;0===p&&c(u)},function(n){d(n)});return"$@"+h.toString(16)}if(f instanceof FormData){null===e&&(e=new FormData);var m=e;l=k++;var F=b+l+"_";f.forEach(function(n,u){m.append(F+u,n)});return"$K"+l.toString(16)}return!Y(f)&&W(f)?Array.from(f):f}if("string"===typeof f){if("Z"===f[f.length-1]&&this[l]instanceof Date)return"$D"+f;f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return X(f);if("undefined"===typeof f)return"$undefined";
14
- if("function"===typeof f){f=z.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===e&&(e=new FormData),l=k++,e.set(b+l,f),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){l=f.description;if(Symbol.for(l)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(f.description+") cannot be found among global symbols."));
15
- return"$S"+l}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var k=1,p=0,e=null;a=JSON.stringify(a,g);null===e?c(a):(e.set(b+"0",a),0===p&&c(e))}function Z(a){var b,c,d=new Promise(function(g,k){b=g;c=k});M(a,"",function(g){if("string"===typeof g){var k=new FormData;k.append("0",g);g=k}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d}function N(a){var b=z.get(this);
16
- if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=O.get(b);c||(c=Z(b),O.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,k){d.append("$ACTION_"+a+":"+k,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}function t(a,b,c,d){this.status=a;
17
- this.value=b;this.reason=c;this._response=d}function aa(a){switch(a.status){case "resolved_model":x(a);break;case "resolved_module":A(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function B(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function P(a,b,c){switch(a.status){case "fulfilled":B(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&B(c,a.reason)}}function C(a,b){if("pending"===a.status||
18
- "blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&B(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(A(a),P(a,c,d))}}function x(a){var b=D,c=r;D=a;r=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==r&&0<r.deps?(r.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{D=b,r=c}}function A(a){try{var b=
19
- a.value;if(b.async){var c=E.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var g="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=g}catch(k){a.status="rejected",a.reason=k}}function G(a,b){a._chunks.forEach(function(c){"pending"===c.status&&C(c,b)})}function v(a,b){var c=a._chunks,d=c.get(b);d||(d=new t("pending",null,null,a),c.set(b,d));return d}function ba(a,b,c){if(r){var d=r;d.deps++}else d=r={deps:1,
20
- value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&B(g,d.value))}}function ca(a){return function(b){return C(a,b)}}function da(a,b){var c=a._callServer;a=function(){var d=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?c(b.id,g.value.concat(d)):Promise.resolve(g).then(function(k){return c(b.id,k.concat(d))}):c(b.id,d)};a.$$FORM_ACTION=N;z.set(a,b);return a}function ea(a,b,c,d){if("$"===
21
- d[0]){if("$"===d)return H;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=v(a,b),{$$typeof:fa,_payload:a,_init:aa};case "@":return b=parseInt(d.slice(2),16),v(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(I[a]=K.createServerContext(a,ha)),I[a].Provider;case "F":b=parseInt(d.slice(2),16);b=v(a,b);switch(b.status){case "resolved_model":x(b)}switch(b.status){case "fulfilled":return da(a,b.value);default:throw b.reason;}case "I":return Infinity;
22
- 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=v(a,d);switch(a.status){case "resolved_model":x(a);break;case "resolved_module":A(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=D,a.then(ba(d,b,c),ca(d)),null;default:throw a.reason;}}}return d}function ia(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');
23
- }function R(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:ia,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ja(a);return a}function ka(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var k=T(a._bundlerConfig,c);if(c=V(k)){if(g){var p=g;p.status="blocked"}else p=new t("blocked",null,null,a),d.set(b,p);c.then(function(){return Q(p,k)},function(e){return C(p,e)})}else g?Q(g,k):d.set(b,new t("resolved_module",
24
- k,null,a))}function ja(a){return function(b,c){return"string"===typeof c?ea(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===H?{$$typeof:H,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function S(a,b){function c(k){var p=k.value;if(k.done)G(a,Error("Connection closed."));else{var e=0,l=a._rowState,f=a._rowID,h=a._rowTag,m=a._rowLength;k=a._buffer;for(var F=p.length;e<F;){var n=-1;switch(l){case 0:n=p[e++];58===n?l=1:f=f<<4|(96<n?n-87:n-48);continue;case 1:n=p[e];84===n?(h=n,l=2,e++):
25
- 64<n&&91>n?(h=n,l=3,e++):(h=0,l=3);continue;case 2:n=p[e++];44===n?l=4:m=m<<4|(96<n?n-87:n-48);continue;case 3:n=p.indexOf(10,e);break;case 4:e+m<=p.length&&(n=e+m)}if(-1<n){e=new Uint8Array(p.buffer,p.byteOffset+e,n-e);m=a;l=h;h="";for(var u=m._stringDecoder,J=0;J<k.length;J++)h+=u.decode(k[J],la);h="string"===typeof e?h+e:h+u.decode(e);switch(l){case 73:ka(m,f,h);break;case 72:f=h[0];h=h.slice(1);m=JSON.parse(h,m._fromJSON);h=void 0;if(l=ma.current)switch("string"===typeof m?e=m:(e=m[0],h=m[1]),
26
- f){case "D":l.prefetchDNS(e,h);break;case "C":l.preconnect(e,h);break;case "L":l.preload(e,h);break;case "I":l.preinit(e,h)}break;case 69:h=JSON.parse(h);e=h.digest;h=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");h.stack="Error: "+h.message;h.digest=e;e=m._chunks;(l=e.get(f))?
27
- C(l,h):e.set(f,new t("rejected",null,h,m));break;case 84:m._chunks.set(f,new t("fulfilled",h,null,m));break;default:e=m._chunks,(l=e.get(f))?(m=l,f=h,"pending"===m.status&&(h=m.value,e=m.reason,m.status="resolved_model",m.value=f,null!==h&&(x(m),P(m,h,e)))):e.set(f,new t("resolved_model",h,null,m))}m=f=h=l=0;k.length=0;e=n+1}else{p=new Uint8Array(p.buffer,p.byteOffset+e,p.byteLength-e);k.push(p);m-=p.byteLength;break}}a._rowState=l;a._rowID=f;a._rowTag=h;a._rowLength=m;return g.read().then(c).catch(d)}}
28
- function d(k){G(a,k)}var g=b.getReader();g.read().then(c).catch(d)}var la={stream:!0},y=new Map,E=new Map,ma=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,H=Symbol.for("react.element"),fa=Symbol.for("react.lazy"),ha=Symbol.for("react.default_value"),L=Symbol.iterator,Y=Array.isArray,z=new WeakMap,O=new WeakMap,I=K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;t.prototype=Object.create(Promise.prototype);t.prototype.then=function(a,b){switch(this.status){case "resolved_model":x(this);
29
- break;case "resolved_module":A(this)}switch(this.status){case "fulfilled":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)}};var D=null,r=null;q.createFromFetch=function(a,b){var c=R(null,b&&b.callServer?b.callServer:void 0);a.then(function(d){S(c,d.body)},function(d){G(c,d)});return v(c,0)};q.createFromReadableStream=function(a,b){b=R(null,b&&b.callServer?
30
- b.callServer:void 0);S(b,a);return v(b,0)};q.createServerReference=function(a,b){var c=function(){var d=Array.prototype.slice.call(arguments);return b(a,d)};c.$$FORM_ACTION=N;z.set(c,{id:a,bound:null});return c};q.encodeReply=function(a){return new Promise(function(b,c){M(a,"",b,c)})}});
10
+ (function(){'use strict';(function(r,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],w):(r="undefined"!==typeof globalThis?globalThis:r||self,w(r.ReactServerDOMClient={},r.ReactDOM,r.React))})(this,function(r,w,K){function U(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');
11
+ c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}function V(){}function W(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var g=b[d],k=y.get(g);if(void 0===k){k=__webpack_chunk_load__(g);c.push(k);var n=y.set.bind(y,g,null);k.then(n,V);y.set(g,k)}else null!==k&&c.push(k)}if(a.async){if(b=E.get(a.id))return"fulfilled"===b.status?null:b;var e=Promise.all(c).then(function(){return __webpack_require__(a.id)});e.then(function(m){e.status="fulfilled";e.value=m},function(m){e.status=
12
+ "rejected";e.reason=m});E.set(a.id,e);return e}return 0<c.length?Promise.all(c):null}function X(a){if(null===a||"object"!==typeof a)return null;a=L&&a[L]||a["@@iterator"];return"function"===typeof a?a:null}function Y(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}function M(a,b,c,d){function g(m,f){if(null===f)return null;if("object"===typeof f){if("function"===typeof f.then){null===e&&(e=new FormData);n++;var h=k++;f.then(function(p){p=
13
+ JSON.stringify(p,g);var q=e;q.append(b+h,p);n--;0===n&&c(q)},function(p){d(p)});return"$@"+h.toString(16)}if(f instanceof FormData){null===e&&(e=new FormData);var l=e;m=k++;var F=b+m+"_";f.forEach(function(p,q){l.append(F+q,p)});return"$K"+m.toString(16)}return!Z(f)&&X(f)?Array.from(f):f}if("string"===typeof f){if("Z"===f[f.length-1]&&this[m]instanceof Date)return"$D"+f;f="$"===f[0]?"$"+f:f;return f}if("boolean"===typeof f)return f;if("number"===typeof f)return Y(f);if("undefined"===typeof f)return"$undefined";
14
+ if("function"===typeof f){f=z.get(f);if(void 0!==f)return f=JSON.stringify(f,g),null===e&&(e=new FormData),m=k++,e.set(b+m,f),"$F"+m.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){m=f.description;if(Symbol.for(m)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(f.description+") cannot be found among global symbols."));
15
+ return"$S"+m}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var k=1,n=0,e=null;a=JSON.stringify(a,g);null===e?c(a):(e.set(b+"0",a),0===n&&c(e))}function aa(a){var b,c,d=new Promise(function(g,k){b=g;c=k});M(a,"",function(g){if("string"===typeof g){var k=new FormData;k.append("0",g);g=k}d.status="fulfilled";d.value=g;b(g)},function(g){d.status="rejected";d.reason=g;c(g)});return d}function N(a){var b=z.get(this);
16
+ if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=O.get(b);c||(c=aa(b),O.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(g,k){d.append("$ACTION_"+a+":"+k,g)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}function u(a,b,c,d){this.status=
17
+ a;this.value=b;this.reason=c;this._response=d}function ba(a){switch(a.status){case "resolved_model":x(a);break;case "resolved_module":A(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function B(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function P(a,b,c){switch(a.status){case "fulfilled":B(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&B(c,a.reason)}}function C(a,b){if("pending"===a.status||
18
+ "blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&B(c,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(A(a),P(a,c,d))}}function x(a){var b=D,c=t;D=a;t=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==t&&0<t.deps?(t.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(g){a.status="rejected",a.reason=g}finally{D=b,t=c}}function A(a){try{var b=
19
+ a.value;if(b.async){var c=E.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var g="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=g}catch(k){a.status="rejected",a.reason=k}}function G(a,b){a._chunks.forEach(function(c){"pending"===c.status&&C(c,b)})}function v(a,b){var c=a._chunks,d=c.get(b);d||(d=new u("pending",null,null,a),c.set(b,d));return d}function ca(a,b,c){if(t){var d=t;d.deps++}else d=t={deps:1,
20
+ value:null};return function(g){b[c]=g;d.deps--;0===d.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=d.value,null!==g&&B(g,d.value))}}function da(a){return function(b){return C(a,b)}}function ea(a,b){var c=a._callServer;a=function(){var d=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?c(b.id,g.value.concat(d)):Promise.resolve(g).then(function(k){return c(b.id,k.concat(d))}):c(b.id,d)};a.$$FORM_ACTION=N;z.set(a,b);return a}function fa(a,b,c,d){if("$"===
21
+ d[0]){if("$"===d)return H;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=v(a,b),{$$typeof:ha,_payload:a,_init:ba};case "@":return b=parseInt(d.slice(2),16),v(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),I[a]||(I[a]=K.createServerContext(a,ia)),I[a].Provider;case "F":b=parseInt(d.slice(2),16);b=v(a,b);switch(b.status){case "resolved_model":x(b)}switch(b.status){case "fulfilled":return ea(a,b.value);default:throw b.reason;}case "I":return Infinity;
22
+ 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=v(a,d);switch(a.status){case "resolved_model":x(a);break;case "resolved_module":A(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=D,a.then(ca(d,b,c),da(d)),null;default:throw a.reason;}}}return d}function ja(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');
23
+ }function R(a,b){var c=new Map;a={_bundlerConfig:a,_callServer:void 0!==b?b:ja,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ka(a);return a}function la(a,b,c){var d=a._chunks,g=d.get(b);c=JSON.parse(c,a._fromJSON);var k=U(a._bundlerConfig,c);if(c=W(k)){if(g){var n=g;n.status="blocked"}else n=new u("blocked",null,null,a),d.set(b,n);c.then(function(){return Q(n,k)},function(e){return C(n,e)})}else g?Q(g,k):d.set(b,new u("resolved_module",
24
+ k,null,a))}function ka(a){return function(b,c){return"string"===typeof c?fa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===H?{$$typeof:H,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function S(a,b){function c(k){var n=k.value;if(k.done)G(a,Error("Connection closed."));else{var e=0,m=a._rowState,f=a._rowID,h=a._rowTag,l=a._rowLength;k=a._buffer;for(var F=n.length;e<F;){var p=-1;switch(m){case 0:p=n[e++];58===p?m=1:f=f<<4|(96<p?p-87:p-48);continue;case 1:m=n[e];84===m?(h=m,m=2,e++):
25
+ 64<m&&91>m?(h=m,m=3,e++):(h=0,m=3);continue;case 2:p=n[e++];44===p?m=4:l=l<<4|(96<p?p-87:p-48);continue;case 3:p=n.indexOf(10,e);break;case 4:p=e+l,p>n.length&&(p=-1)}var q=n.byteOffset+e;if(-1<p){e=new Uint8Array(n.buffer,q,p-e);l=a;q=h;h="";for(var T=l._stringDecoder,J=0;J<k.length;J++)h+=T.decode(k[J],ma);h="string"===typeof e?h+e:h+T.decode(e);switch(q){case 73:la(l,f,h);break;case 72:f=h[0];h=h.slice(1);l=JSON.parse(h,l._fromJSON);h=void 0;if(q=na.current)switch("string"===typeof l?e=l:(e=l[0],
26
+ h=l[1]),f){case "D":q.prefetchDNS(e,h);break;case "C":q.preconnect(e,h);break;case "L":q.preload(e,h);break;case "I":q.preinit(e,h)}break;case 69:h=JSON.parse(h);e=h.digest;h=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");h.stack="Error: "+h.message;h.digest=e;e=l._chunks;(q=e.get(f))?
27
+ C(q,h):e.set(f,new u("rejected",null,h,l));break;case 84:l._chunks.set(f,new u("fulfilled",h,null,l));break;default:e=l._chunks,(q=e.get(f))?(l=q,f=h,"pending"===l.status&&(h=l.value,e=l.reason,l.status="resolved_model",l.value=f,null!==h&&(x(l),P(l,h,e)))):e.set(f,new u("resolved_model",h,null,l))}e=p;3===m&&e++;l=f=h=m=0;k.length=0}else{n=new Uint8Array(n.buffer,q,n.byteLength-e);k.push(n);l-=n.byteLength;break}}a._rowState=m;a._rowID=f;a._rowTag=h;a._rowLength=l;return g.read().then(c).catch(d)}}
28
+ function d(k){G(a,k)}var g=b.getReader();g.read().then(c).catch(d)}var ma={stream:!0},y=new Map,E=new Map,na=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,H=Symbol.for("react.element"),ha=Symbol.for("react.lazy"),ia=Symbol.for("react.default_value"),L=Symbol.iterator,Z=Array.isArray,z=new WeakMap,O=new WeakMap,I=K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;u.prototype=Object.create(Promise.prototype);u.prototype.then=function(a,b){switch(this.status){case "resolved_model":x(this);
29
+ break;case "resolved_module":A(this)}switch(this.status){case "fulfilled":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)}};var D=null,t=null;r.createFromFetch=function(a,b){var c=R(null,b&&b.callServer?b.callServer:void 0);a.then(function(d){S(c,d.body)},function(d){G(c,d)});return v(c,0)};r.createFromReadableStream=function(a,b){b=R(null,b&&b.callServer?
30
+ b.callServer:void 0);S(b,a);return v(b,0)};r.createServerReference=function(a,b){var c=function(){var d=Array.prototype.slice.call(arguments);return b(a,d)};c.$$FORM_ACTION=N;z.set(c,{id:a,bound:null});return c};r.encodeReply=function(a){return new Promise(function(b,c){M(a,"",b,c)})}});
31
31
  })();