77 lines
35 KiB
JavaScript
77 lines
35 KiB
JavaScript
|
/**
|
||
|
* @license React
|
||
|
* react-dom-server.browser.production.min.js
|
||
|
*
|
||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
*
|
||
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
|
*/
|
||
|
(function(){'use strict';(function(I,M){"object"===typeof exports&&"undefined"!==typeof module?M(exports,require("react")):"function"===typeof define&&define.amd?define(["exports","react"],M):(I=I||self,M(I.ReactDOMServer={},I.React))})(this,function(I,M){function n(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
|
||
|
function k(a,b){if(0!==b.length)if(512<b.length)0<A&&(a.enqueue(new Uint8Array(B.buffer,0,A)),B=new Uint8Array(512),A=0),a.enqueue(b);else{var c=B.length-A;c<b.length&&(0===c?a.enqueue(B):(B.set(b.subarray(0,c),A),a.enqueue(B),b=b.subarray(c)),B=new Uint8Array(512),A=0);B.set(b,A);A+=b.length}}function r(a,b){k(a,b);return!0}function Ea(a){B&&0<A&&(a.enqueue(new Uint8Array(B.buffer,0,A)),B=null,A=0)}function p(a){return Fa.encode(a)}function g(a){return Fa.encode(a)}function Ga(a,b){"function"===
|
||
|
typeof a.error?a.error(b):a.close()}function Ha(a){if(w.call(Ia,a))return!0;if(w.call(Ja,a))return!1;if(Cb.test(a))return Ia[a]=!0;Ja[a]=!0;return!1}function v(a,b,c,d,f,e,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=f;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=e;this.removeEmptyString=h}function u(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=Db.exec(a);if(b){var c="",d,f=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=
|
||
|
""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==d&&(c+=a.substring(f,d));f=d+1;c+=b}a=f!==d?c+a.substring(f,d):c}return a}function Eb(a,b,c,d,f){a=void 0===a?"":a;b=void 0===b?Fb:g('<script nonce="'+u(b)+'">');var e=[];void 0!==c&&e.push(b,p((""+c).replace(Gb,Hb)),Ib);if(void 0!==d)for(c=0;c<d.length;c++)e.push(Jb,p(u(d[c])),Ka);if(void 0!==f)for(d=0;d<f.length;d++)e.push(Kb,p(u(f[d])),Ka);return{bootstrapChunks:e,
|
||
|
startInlineScript:b,placeholderPrefix:g(a+"P:"),segmentPrefix:g(a+"S:"),boundaryPrefix:a+"B:",idPrefix:a,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function C(a,b){return{insertionMode:a,selectedValue:b}}function Lb(a){return C("http://www.w3.org/2000/svg"===a?2:"http://www.w3.org/1998/Math/MathML"===a?3:0,null)}function Mb(a,b,c){switch(b){case "select":return C(1,null!=c.value?c.value:c.defaultValue);case "svg":return C(2,null);case "math":return C(3,
|
||
|
null);case "foreignObject":return C(1,null);case "table":return C(4,null);case "thead":case "tbody":case "tfoot":return C(5,null);case "colgroup":return C(7,null);case "tr":return C(6,null)}return 4<=a.insertionMode||0===a.insertionMode?C(1,null):a}function La(a,b,c,d){if(""===b)return d;d&&a.push(ka);a.push(p(u(b)));return!0}function Ma(a,b,c){if("object"!==typeof c)throw Error(n(62));b=!0;for(var d in c)if(w.call(c,d)){var f=c[d];if(null!=f&&"boolean"!==typeof f&&""!==f){if(0===d.indexOf("--")){var e=
|
||
|
p(u(d));f=p(u((""+f).trim()))}else{e=d;var h=Na.get(e);void 0!==h?e=h:(h=g(u(e.replace(Nb,"-$1").toLowerCase().replace(Ob,"-ms-"))),Na.set(e,h),e=h);f="number"===typeof f?0===f||w.call(U,d)?p(""+f):p(f+"px"):p(u((""+f).trim()))}b?(b=!1,a.push(Pb,e,Oa,f)):a.push(Qb,e,Oa,f)}}b||a.push(J)}function y(a,b,c,d){switch(c){case "style":Ma(a,b,d);return;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":return}if(!(2<c.length)||
|
||
|
"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])if(b=t.hasOwnProperty(c)?t[c]:null,null!==b){switch(typeof d){case "function":case "symbol":return;case "boolean":if(!b.acceptsBooleans)return}c=p(b.attributeName);switch(b.type){case 3:d&&a.push(E,c,Pa);break;case 4:!0===d?a.push(E,c,Pa):!1!==d&&a.push(E,c,N,p(u(d)),J);break;case 5:isNaN(d)||a.push(E,c,N,p(u(d)),J);break;case 6:!isNaN(d)&&1<=d&&a.push(E,c,N,p(u(d)),J);break;default:b.sanitizeURL&&(d=""+d),a.push(E,c,N,p(u(d)),J)}}else if(Ha(c)){switch(typeof d){case "function":case "symbol":return;
|
||
|
case "boolean":if(b=c.toLowerCase().slice(0,5),"data-"!==b&&"aria-"!==b)return}a.push(E,p(c),N,p(u(d)),J)}}function V(a,b,c){if(null!=b){if(null!=c)throw Error(n(60));if("object"!==typeof b||!("__html"in b))throw Error(n(61));b=b.__html;null!==b&&void 0!==b&&a.push(p(""+b))}}function Rb(a){var b="";M.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function la(a,b,c,d){a.push(z(c));var f=c=null,e;for(e in b)if(w.call(b,e)){var h=b[e];if(null!=h)switch(e){case "children":c=h;break;case "dangerouslySetInnerHTML":f=
|
||
|
h;break;default:y(a,d,e,h)}}a.push(F);V(a,f,c);return"string"===typeof c?(a.push(p(u(c))),null):c}function z(a){var b=Qa.get(a);if(void 0===b){if(!Sb.test(a))throw Error(n(65,a));b=g("<"+a);Qa.set(a,b)}return b}function Tb(a,b,c,d,f){switch(b){case "select":a.push(z("select"));var e=null,h=null;for(q in c)if(w.call(c,q)){var m=c[q];if(null!=m)switch(q){case "children":e=m;break;case "dangerouslySetInnerHTML":h=m;break;case "defaultValue":case "value":break;default:y(a,d,q,m)}}a.push(F);V(a,h,e);return e;
|
||
|
case "option":h=f.selectedValue;a.push(z("option"));var g=m=null,k=null;var q=null;for(e in c)if(w.call(c,e)){var l=c[e];if(null!=l)switch(e){case "children":m=l;break;case "selected":k=l;break;case "dangerouslySetInnerHTML":q=l;break;case "value":g=l;default:y(a,d,e,l)}}if(null!=h)if(c=null!==g?""+g:Rb(m),ma(h))for(d=0;d<h.length;d++){if(""+h[d]===c){a.push(na);break}}else""+h===c&&a.push(na);else k&&a.push(na);a.push(F);V(a,q,m);return m;case "textarea":a.push(z("textarea"));q=h=e=null;for(m in c)if(w.call(c,
|
||
|
m)&&(g=c[m],null!=g))switch(m){case "children":q=g;break;case "value":e=g;break;case "defaultValue":h=g;break;case "dangerouslySetInnerHTML":throw Error(n(91));default:y(a,d,m,g)}null===e&&null!==h&&(e=h);a.push(F);if(null!=q){if(null!=e)throw Error(n(92));if(ma(q)&&1<q.length)throw Error(n(93));e=""+q}"string"===typeof e&&"\n"===e[0]&&a.push(oa);null!==e&&a.push(p(u(""+e)));return null;case "input":a.push(z("input"));g=q=m=e=null;for(h in c)if(w.call(c,h)&&(k=c[h],null!=k))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,
|
||
|
"input"));case "defaultChecked":g=k;break;case "defaultValue":m=k;break;case "checked":q=k;break;case "value":e=k;break;default:y(a,d,h,k)}null!==q?y(a,d,"checked",q):null!==g&&y(a,d,"checked",g);null!==e?y(a,d,"value",e):null!==m&&y(a,d,"value",m);a.push(Ra);return null;case "menuitem":a.push(z("menuitem"));for(var r in c)if(w.call(c,r)&&(e=c[r],null!=e))switch(r){case "children":case "dangerouslySetInnerHTML":throw Error(n(400));default:y(a,d,r,e)}a.push(F);return null;case "title":a.push(z("title"));
|
||
|
e=null;for(l in c)if(w.call(c,l)&&(h=c[l],null!=h))switch(l){case "children":e=h;break;case "dangerouslySetInnerHTML":throw Error(n(434));default:y(a,d,l,h)}a.push(F);return e;case "listing":case "pre":a.push(z(b));h=e=null;for(g in c)if(w.call(c,g)&&(m=c[g],null!=m))switch(g){case "children":e=m;break;case "dangerouslySetInnerHTML":h=m;break;default:y(a,d,g,m)}a.push(F);if(null!=h){if(null!=e)throw Error(n(60));if("object"!==typeof h||!("__html"in h))throw Error(n(61));c=h.__html;null!==c&&void 0!==
|
||
|
c&&("string"===typeof c&&0<c.length&&"\n"===c[0]?a.push(oa,p(c)):a.push(p(""+c)))}"string"===typeof e&&"\n"===e[0]&&a.push(oa);return e;case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":a.push(z(b));for(var t in c)if(w.call(c,t)&&(e=c[t],null!=e))switch(t){case "children":case "dangerouslySetInnerHTML":throw Error(n(399,b));default:y(a,d,t,e)}a.push(Ra);return null;case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return la(a,
|
||
|
c,b,d);case "html":return 0===f.insertionMode&&a.push(Ub),la(a,c,b,d);default:if(-1===b.indexOf("-")&&"string"!==typeof c.is)return la(a,c,b,d);a.push(z(b));h=e=null;for(k in c)if(w.call(c,k)&&(m=c[k],null!=m))switch(k){case "children":e=m;break;case "dangerouslySetInnerHTML":h=m;break;case "style":Ma(a,d,m);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:Ha(k)&&"function"!==typeof m&&"symbol"!==typeof m&&a.push(E,p(k),N,p(u(m)),J)}a.push(F);V(a,h,e);return e}}
|
||
|
function Ta(a,b,c){k(a,Vb);if(null===c)throw Error(n(395));k(a,c);return r(a,Wb)}function Xb(a,b,c,d){switch(c.insertionMode){case 0:case 1:return k(a,Yb),k(a,b.segmentPrefix),k(a,p(d.toString(16))),r(a,Zb);case 2:return k(a,$b),k(a,b.segmentPrefix),k(a,p(d.toString(16))),r(a,ac);case 3:return k(a,bc),k(a,b.segmentPrefix),k(a,p(d.toString(16))),r(a,cc);case 4:return k(a,dc),k(a,b.segmentPrefix),k(a,p(d.toString(16))),r(a,ec);case 5:return k(a,fc),k(a,b.segmentPrefix),k(a,p(d.toString(16))),r(a,gc);
|
||
|
case 6:return k(a,hc),k(a,b.segmentPrefix),k(a,p(d.toString(16))),r(a,ic);case 7:return k(a,jc),k(a,b.segmentPrefix),k(a,p(d.toString(16))),r(a,kc);default:throw Error(n(397));}}function lc(a,b){switch(b.insertionMode){case 0:case 1:return r(a,mc);case 2:return r(a,nc);case 3:return r(a,oc);case 4:return r(a,pc);case 5:return r(a,qc);case 6:return r(a,rc);case 7:return r(a,sc);default:throw Error(n(397));}}function pa(a){return JSON.stringify(a).replace(tc,function(a){switch(a){case "<":return"\\u003c";
|
||
|
case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}function qa(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ua:return"Fragment";case Va:return"Portal";case Wa:return"Profiler";case Xa:return"StrictMode";
|
||
|
case Ya:return"Suspense";case Za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case $a:return(a.displayName||"Context")+".Consumer";case ab:return(a._context.displayName||"Context")+".Provider";case bb:var b=a.render;a=a.displayName;a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case cb:return b=a.displayName||null,null!==b?b:qa(a.type)||"Memo";case ra:b=a._payload;a=a._init;try{return qa(a(b))}catch(c){}}return null}function db(a,b){a=a.contextTypes;
|
||
|
if(!a)return eb;var c={},d;for(d in a)c[d]=b[d];return c}function W(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error(n(401));}else{if(null===c)throw Error(n(401));W(a,c)}b.context._currentValue=b.value}}function fb(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&fb(a)}function gb(a){var b=a.parent;null!==b&&gb(b);a.context._currentValue=a.value}function hb(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===
|
||
|
a)throw Error(n(402));a.depth===b.depth?W(a,b):hb(a,b)}function ib(a,b){var c=b.parent;if(null===c)throw Error(n(402));a.depth===c.depth?W(a,c):ib(a,c);b.context._currentValue=b.value}function X(a){var b=K;b!==a&&(null===b?gb(a):null===a?fb(b):b.depth===a.depth?W(b,a):b.depth>a.depth?hb(b,a):ib(b,a),K=a)}function jb(a,b,c,d){var f=void 0!==a.state?a.state:null;a.updater=kb;a.props=c;a.state=f;var e={queue:[],replace:!1};a._reactInternals=e;var h=b.contextType;a.context="object"===typeof h&&null!==
|
||
|
h?h._currentValue:d;h=b.getDerivedStateFromProps;"function"===typeof h&&(h=h(c,f),f=null===h||void 0===h?f:P({},f,h),a.state=f);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&kb.enqueueReplaceState(a,
|
||
|
a.state,null),null!==e.queue&&0<e.queue.length)if(b=e.queue,h=e.replace,e.queue=null,e.replace=!1,h&&1===b.length)a.state=b[0];else{e=h?b[0]:a.state;f=!0;for(h=h?1:0;h<b.length;h++){var g=b[h];g="function"===typeof g?g.call(a,e,c,d):g;null!=g&&(f?(f=!1,e=P({},e,g)):P(e,g))}a.state=e}else e.queue=null}function sa(a,b,c){var d=a.id;a=a.overflow;var f=32-Y(d)-1;d&=~(1<<f);c+=1;var e=32-Y(b)+f;if(30<e){var h=f-f%5;e=(d&(1<<h)-1).toString(32);d>>=h;f-=h;return{id:1<<32-Y(b)+f|c<<f|d,overflow:e+a}}return{id:1<<
|
||
|
e|c<<f|d,overflow:a}}function uc(a){a>>>=0;return 0===a?32:31-(vc(a)/wc|0)|0}function xc(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function L(){if(null===D)throw Error(n(321));return D}function lb(){if(0<Z)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function ta(){null===l?null===aa?(Q=!1,aa=l=lb()):(Q=!0,l=aa):null===l.next?(Q=!1,l=l.next=lb()):(Q=!0,l=l.next);return l}function ua(){va=D=null;ba=!1;aa=null;Z=0;l=G=null}function mb(a,b){return"function"===typeof b?
|
||
|
b(a):b}function nb(a,b,c){D=L();l=ta();if(Q){var d=l.queue;b=d.dispatch;if(null!==G&&(c=G.get(d),void 0!==c)){G.delete(d);d=l.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);l.memoizedState=d;return[d,b]}return[l.memoizedState,b]}a=a===mb?"function"===typeof b?b():b:void 0!==c?c(b):b;l.memoizedState=a;a=l.queue={last:null,dispatch:null};a=a.dispatch=yc.bind(null,D,a);return[l.memoizedState,a]}function ob(a,b){D=L();l=ta();b=void 0===b?null:b;if(null!==l){var c=l.memoizedState;if(null!==
|
||
|
c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var f=0;f<d.length&&f<b.length;f++)if(!zc(b[f],d[f])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();l.memoizedState=[a,b];return a}function yc(a,b,c){if(25<=Z)throw Error(n(301));if(a===D)if(ba=!0,a={action:c,next:null},null===G&&(G=new Map),c=G.get(b),void 0===c)G.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Ac(){throw Error(n(394));}function ca(){}function Bc(a){console.error(a);return null}function R(){}function Cc(a,b,c,d,f,e,
|
||
|
h,g,k){var m=[],q=new Set;b={destination:null,responseState:b,progressiveChunkSize:void 0===d?12800:d,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:q,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===f?Bc:f,onAllReady:void 0===e?R:e,onShellReady:void 0===h?R:h,onShellError:void 0===g?R:g,onFatalError:void 0===k?R:k};c=da(b,0,null,c,!1,!1);c.parentFlushed=!0;a=wa(b,a,null,c,
|
||
|
q,eb,null,Dc);m.push(a);return b}function wa(a,b,c,d,f,e,h,g){a.allPendingTasks++;null===c?a.pendingRootTasks++:c.pendingTasks++;var m={node:b,ping:function(){var b=a.pingedTasks;b.push(m);1===b.length&&pb(a)},blockedBoundary:c,blockedSegment:d,abortSet:f,legacyContext:e,context:h,treeContext:g};f.add(m);return m}function da(a,b,c,d,f,e){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:f,textEmbedded:e}}function S(a,b){a=a.onError(b);if(null!=
|
||
|
a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function ea(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,Ga(a.destination,b)):(a.status=1,a.fatalError=b)}function qb(a,b,c,d,f){D={};va=b;T=0;for(a=c(d,f);ba;)ba=!1,T=0,Z+=1,l=null,a=c(d,f);ua();return a}
|
||
|
function rb(a,b,c,d,f){f=c.render();var e=d.childContextTypes;if(null!==e&&void 0!==e){var h=b.legacyContext;if("function"!==typeof c.getChildContext)d=h;else{c=c.getChildContext();for(var g in c)if(!(g in e))throw Error(n(108,qa(d)||"Unknown",g));d=P({},h,c)}b.legacyContext=d;x(a,b,f);b.legacyContext=h}else x(a,b,f)}function sb(a,b){if(a&&a.defaultProps){b=P({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}function xa(a,b,c,d,f){if("function"===typeof c)if(c.prototype&&
|
||
|
c.prototype.isReactComponent){f=db(c,b.legacyContext);var e=c.contextType;e=new c(d,"object"===typeof e&&null!==e?e._currentValue:f);jb(e,c,d,f);rb(a,b,e,c)}else{e=db(c,b.legacyContext);f=qb(a,b,c,d,e);var h=0!==T;if("object"===typeof f&&null!==f&&"function"===typeof f.render&&void 0===f.$$typeof)jb(f,c,d,e),rb(a,b,f,c);else if(h){d=b.treeContext;b.treeContext=sa(d,1,0);try{x(a,b,f)}finally{b.treeContext=d}}else x(a,b,f)}else if("string"===typeof c){f=b.blockedSegment;e=Tb(f.chunks,c,d,a.responseState,
|
||
|
f.formatContext);f.lastPushedText=!1;h=f.formatContext;f.formatContext=Mb(h,c,d);ya(a,b,e);f.formatContext=h;switch(c){case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break;default:f.chunks.push(Ec,p(c),Fc)}f.lastPushedText=!1}else{switch(c){case Gc:case Hc:case Xa:case Wa:case Ua:x(a,b,d.children);return;case Za:x(a,b,d.children);return;case Ic:throw Error(n(343));
|
||
|
case Ya:a:{c=b.blockedBoundary;f=b.blockedSegment;e=d.fallback;d=d.children;h=new Set;var g={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null},k=da(a,f.chunks.length,g,f.formatContext,!1,!1);f.children.push(k);f.lastPushedText=!1;var l=da(a,0,null,f.formatContext,!1,!1);l.parentFlushed=!0;b.blockedBoundary=g;b.blockedSegment=l;try{if(ya(a,b,d),l.lastPushedText&&l.textEmbedded&&l.chunks.push(ka),
|
||
|
l.status=1,fa(g,l),0===g.pendingTasks)break a}catch(q){l.status=4,g.forceClientRender=!0,g.errorDigest=S(a,q)}finally{b.blockedBoundary=c,b.blockedSegment=f}b=wa(a,e,c,k,h,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof c&&null!==c)switch(c.$$typeof){case bb:d=qb(a,b,c.render,d,f);if(0!==T){c=b.treeContext;b.treeContext=sa(c,1,0);try{x(a,b,d)}finally{b.treeContext=c}}else x(a,b,d);return;case cb:c=c.type;d=sb(c,d);xa(a,b,c,d,f);return;case ab:f=d.children;
|
||
|
c=c._context;d=d.value;e=c._currentValue;c._currentValue=d;h=K;K=d={parent:h,depth:null===h?0:h.depth+1,context:c,parentValue:e,value:d};b.context=d;x(a,b,f);a=K;if(null===a)throw Error(n(403));d=a.parentValue;a.context._currentValue=d===Jc?a.context._defaultValue:d;a=K=a.parent;b.context=a;return;case $a:d=d.children;d=d(c._currentValue);x(a,b,d);return;case ra:f=c._init;c=f(c._payload);d=sb(c,d);xa(a,b,c,d,void 0);return}throw Error(n(130,null==c?c:typeof c,""));}}function x(a,b,c){b.node=c;if("object"===
|
||
|
typeof c&&null!==c){switch(c.$$typeof){case Kc:xa(a,b,c.type,c.props,c.ref);return;case Va:throw Error(n(257));case ra:var d=c._init;c=d(c._payload);x(a,b,c);return}if(ma(c)){tb(a,b,c);return}null===c||"object"!==typeof c?d=null:(d=ub&&c[ub]||c["@@iterator"],d="function"===typeof d?d:null);if(d&&(d=d.call(c))){c=d.next();if(!c.done){var f=[];do f.push(c.value),c=d.next();while(!c.done);tb(a,b,f)}return}a=Object.prototype.toString.call(c);throw Error(n(31,"[object Object]"===a?"object with keys {"+
|
||
|
Object.keys(c).join(", ")+"}":a));}"string"===typeof c?(d=b.blockedSegment,d.lastPushedText=La(b.blockedSegment.chunks,c,a.responseState,d.lastPushedText)):"number"===typeof c&&(d=b.blockedSegment,d.lastPushedText=La(b.blockedSegment.chunks,""+c,a.responseState,d.lastPushedText))}function tb(a,b,c){for(var d=c.length,f=0;f<d;f++){var e=b.treeContext;b.treeContext=sa(e,d,f);try{ya(a,b,c[f])}finally{b.treeContext=e}}}function ya(a,b,c){var d=b.blockedSegment.formatContext,f=b.legacyContext,e=b.context;
|
||
|
try{return x(a,b,c)}catch(O){if(ua(),"object"===typeof O&&null!==O&&"function"===typeof O.then){c=O;var h=b.blockedSegment,g=da(a,h.chunks.length,null,h.formatContext,h.lastPushedText,!0);h.children.push(g);h.lastPushedText=!1;a=wa(a,b.node,b.blockedBoundary,g,b.abortSet,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.blockedSegment.formatContext=d;b.legacyContext=f;b.context=e;X(e)}else throw b.blockedSegment.formatContext=d,b.legacyContext=f,b.context=e,X(e),O;}}function Lc(a){var b=
|
||
|
a.blockedBoundary;a=a.blockedSegment;a.status=3;vb(this,b,a)}function wb(a,b,c){var d=a.blockedBoundary;a.blockedSegment.status=3;null===d?(b.allPendingTasks--,2!==b.status&&(b.status=2,null!==b.destination&&b.destination.close())):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,a=void 0===c?Error(n(432)):c,d.errorDigest=b.onError(a),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(a){return wb(a,b,c)}),d.fallbackAbortableTasks.clear(),
|
||
|
b.allPendingTasks--,0===b.allPendingTasks&&(d=b.onAllReady,d()))}function fa(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&fa(a,c)}else a.completedSegments.push(b)}function vb(a,b,c){if(null===b){if(c.parentFlushed){if(null!==a.completedRootSegment)throw Error(n(389));a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=R,b=a.onShellReady,b())}else b.pendingTasks--,
|
||
|
b.forceClientRender||(0===b.pendingTasks?(c.parentFlushed&&1===c.status&&fa(b,c),b.parentFlushed&&a.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(Lc,a),b.fallbackAbortableTasks.clear()):c.parentFlushed&&1===c.status&&(fa(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())}function pb(a){if(2!==a.status){var b=K,c=za.current;za.current=xb;var d=ha;ha=a.responseState;try{var f=a.pingedTasks,
|
||
|
e;for(e=0;e<f.length;e++){var h=f[e];var g=a,k=h.blockedSegment;if(0===k.status){X(h.context);try{x(g,h,h.node),k.lastPushedText&&k.textEmbedded&&k.chunks.push(ka),h.abortSet.delete(h),k.status=1,vb(g,h.blockedBoundary,k)}catch(H){if(ua(),"object"===typeof H&&null!==H&&"function"===typeof H.then){var l=h.ping;H.then(l,l)}else{h.abortSet.delete(h);k.status=4;var q=h.blockedBoundary,n=H,p=S(g,n);null===q?ea(g,n):(q.pendingTasks--,q.forceClientRender||(q.forceClientRender=!0,q.errorDigest=p,q.parentFlushed&&
|
||
|
g.clientRenderedBoundaries.push(q)));g.allPendingTasks--;if(0===g.allPendingTasks){var r=g.onAllReady;r()}}}finally{}}}f.splice(0,e);null!==a.destination&&Aa(a,a.destination)}catch(H){S(a,H),ea(a,H)}finally{ha=d,za.current=c,c===xb&&X(b)}}}function ia(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:var d=c.id=a.nextSegmentId++;c.lastPushedText=!1;c.textEmbedded=!1;a=a.responseState;k(b,Mc);k(b,a.placeholderPrefix);a=p(d.toString(16));k(b,a);return r(b,Nc);case 1:c.status=2;var f=!0;d=c.chunks;var e=
|
||
|
0;c=c.children;for(var g=0;g<c.length;g++){for(f=c[g];e<f.index;e++)k(b,d[e]);f=ja(a,b,f)}for(;e<d.length-1;e++)k(b,d[e]);e<d.length&&(f=r(b,d[e]));return f;default:throw Error(n(390));}}function ja(a,b,c){var d=c.boundary;if(null===d)return ia(a,b,c);d.parentFlushed=!0;if(d.forceClientRender)d=d.errorDigest,r(b,Oc),k(b,Pc),d&&(k(b,Qc),k(b,p(u(d))),k(b,Rc)),r(b,Sc),ia(a,b,c);else if(0<d.pendingTasks){d.rootSegmentID=a.nextSegmentId++;0<d.completedSegments.length&&a.partialBoundaries.push(d);var f=
|
||
|
a.responseState;var e=f.nextSuspenseID++;f=g(f.boundaryPrefix+e.toString(16));d=d.id=f;Ta(b,a.responseState,d);ia(a,b,c)}else if(d.byteSize>a.progressiveChunkSize)d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Ta(b,a.responseState,d.id),ia(a,b,c);else{r(b,Tc);c=d.completedSegments;if(1!==c.length)throw Error(n(391));ja(a,b,c[0])}return r(b,Uc)}function yb(a,b,c){Xb(b,a.responseState,c.formatContext,c.id);ja(a,b,c);return lc(b,c.formatContext)}function zb(a,b,c){for(var d=c.completedSegments,
|
||
|
f=0;f<d.length;f++)Ab(a,b,c,d[f]);d.length=0;a=a.responseState;d=c.id;c=c.rootSegmentID;k(b,a.startInlineScript);a.sentCompleteBoundaryFunction?k(b,Vc):(a.sentCompleteBoundaryFunction=!0,k(b,Wc));if(null===d)throw Error(n(395));c=p(c.toString(16));k(b,d);k(b,Xc);k(b,a.segmentPrefix);k(b,c);return r(b,Yc)}function Ab(a,b,c,d){if(2===d.status)return!0;var f=d.id;if(-1===f){if(-1===(d.id=c.rootSegmentID))throw Error(n(392));return yb(a,b,d)}yb(a,b,d);a=a.responseState;k(b,a.startInlineScript);a.sentCompleteSegmentFunction?
|
||
|
k(b,Zc):(a.sentCompleteSegmentFunction=!0,k(b,$c));k(b,a.segmentPrefix);f=p(f.toString(16));k(b,f);k(b,ad);k(b,a.placeholderPrefix);k(b,f);return r(b,bd)}function Aa(a,b){B=new Uint8Array(512);A=0;try{var c=a.completedRootSegment;if(null!==c&&0===a.pendingRootTasks){ja(a,b,c);a.completedRootSegment=null;var d=a.responseState.bootstrapChunks;for(c=0;c<d.length-1;c++)k(b,d[c]);c<d.length&&r(b,d[c])}var f=a.clientRenderedBoundaries,e;for(e=0;e<f.length;e++){var g=f[e];d=b;var m=a.responseState,l=g.id,
|
||
|
t=g.errorDigest,q=g.errorMessage,u=g.errorComponentStack;k(d,m.startInlineScript);m.sentClientRenderFunction?k(d,cd):(m.sentClientRenderFunction=!0,k(d,dd));if(null===l)throw Error(n(395));k(d,l);k(d,ed);if(t||q||u)k(d,Ba),k(d,p(pa(t||"")));if(q||u)k(d,Ba),k(d,p(pa(q||"")));u&&(k(d,Ba),k(d,p(pa(u))));if(!r(d,fd)){a.destination=null;e++;f.splice(0,e);return}}f.splice(0,e);var v=a.completedBoundaries;for(e=0;e<v.length;e++)if(!zb(a,b,v[e])){a.destination=null;e++;v.splice(0,e);return}v.splice(0,e);
|
||
|
Ea(b);B=new Uint8Array(512);A=0;var w=a.partialBoundaries;for(e=0;e<w.length;e++){var y=w[e];a:{f=a;g=b;var x=y.completedSegments;for(m=0;m<x.length;m++)if(!Ab(f,g,y,x[m])){m++;x.splice(0,m);var C=!1;break a}x.splice(0,m);C=!0}if(!C){a.destination=null;e++;w.splice(0,e);return}}w.splice(0,e);var z=a.completedBoundaries;for(e=0;e<z.length;e++)if(!zb(a,b,z[e])){a.destination=null;e++;z.splice(0,e);return}z.splice(0,e)}finally{Ea(b),0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&
|
||
|
0===a.completedBoundaries.length&&b.close()}}function Bb(a,b){try{var c=a.abortableTasks;c.forEach(function(c){return wb(c,a,b)});c.clear();null!==a.destination&&Aa(a,a.destination)}catch(d){S(a,d),ea(a,d)}}var B=null,A=0,Fa=new TextEncoder,w=Object.prototype.hasOwnProperty,Cb=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
|
||
|
Ja={},Ia={},t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){t[a]=new v(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];t[b]=new v(b,1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){t[a]=new v(a,2,!1,a.toLowerCase(),null,
|
||
|
!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){t[a]=new v(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){t[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){t[a]=
|
||
|
new v(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){t[a]=new v(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){t[a]=new v(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){t[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var Ca=/[\-:]([a-z])/g,Da=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
|
||
|
a.replace(Ca,Da);t[b]=new v(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Ca,Da);t[b]=new v(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Ca,Da);t[b]=new v(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){t[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});t.xlinkHref=new v("xlinkHref",
|
||
|
1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){t[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});var U={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,
|
||
|
gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},gd=["Webkit","ms","Moz","O"];Object.keys(U).forEach(function(a){gd.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);U[b]=U[a]})});var Db=/["'&<>]/,Nb=/([A-Z])/g,Ob=/^ms-/,ma=Array.isArray,
|
||
|
Fb=g("<script>"),Ib=g("\x3c/script>"),Jb=g('<script src="'),Kb=g('<script type="module" src="'),Ka=g('" async="">\x3c/script>'),Gb=/(<\/|<)(s)(cript)/gi,Hb=function(a,b,c,d){return""+b+("s"===c?"\\u0073":"\\u0053")+d},ka=g("\x3c!-- --\x3e"),Na=new Map,Pb=g(' style="'),Oa=g(":"),Qb=g(";"),E=g(" "),N=g('="'),J=g('"'),Pa=g('=""'),F=g(">"),Ra=g("/>"),na=g(' selected=""'),oa=g("\n"),Sb=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Qa=new Map,Ub=g("<!DOCTYPE html>"),Ec=g("</"),Fc=g(">"),Mc=g('<template id="'),Nc=g('"></template>'),
|
||
|
Tc=g("\x3c!--$--\x3e"),Vb=g('\x3c!--$?--\x3e<template id="'),Wb=g('"></template>'),Oc=g("\x3c!--$!--\x3e"),Uc=g("\x3c!--/$--\x3e"),Pc=g("<template"),Rc=g('"'),Qc=g(' data-dgst="');g(' data-msg="');g(' data-stck="');var Sc=g("></template>"),Yb=g('<div hidden id="'),Zb=g('">'),mc=g("</div>"),$b=g('<svg aria-hidden="true" style="display:none" id="'),ac=g('">'),nc=g("</svg>"),bc=g('<math aria-hidden="true" style="display:none" id="'),cc=g('">'),oc=g("</math>"),dc=g('<table hidden id="'),ec=g('">'),pc=
|
||
|
g("</table>"),fc=g('<table hidden><tbody id="'),gc=g('">'),qc=g("</tbody></table>"),hc=g('<table hidden><tr id="'),ic=g('">'),rc=g("</tr></table>"),jc=g('<table hidden><colgroup id="'),kc=g('">'),sc=g("</colgroup></table>"),$c=g('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Zc=g('$RS("'),ad=g('","'),bd=g('")\x3c/script>'),Wc=g('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),
|
||
|
Vc=g('$RC("'),Xc=g('","'),Yc=g('")\x3c/script>'),dd=g('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),cd=g('$RX("'),ed=g('"'),fd=g(")\x3c/script>"),Ba=g(","),tc=/[<\u2028\u2029]/g,P=Object.assign,Kc=Symbol.for("react.element"),Va=Symbol.for("react.portal"),Ua=Symbol.for("react.fragment"),Xa=Symbol.for("react.strict_mode"),Wa=Symbol.for("react.profiler"),ab=Symbol.for("react.provider"),
|
||
|
$a=Symbol.for("react.context"),bb=Symbol.for("react.forward_ref"),Ya=Symbol.for("react.suspense"),Za=Symbol.for("react.suspense_list"),cb=Symbol.for("react.memo"),ra=Symbol.for("react.lazy"),Ic=Symbol.for("react.scope"),Hc=Symbol.for("react.debug_trace_mode"),Gc=Symbol.for("react.legacy_hidden"),Jc=Symbol.for("react.default_value"),ub=Symbol.iterator,eb={},K=null,kb={isMounted:function(a){return!1},enqueueSetState:function(a,b,c){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,
|
||
|
b,c){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(a,b){}},Dc={id:1,overflow:""},Y=Math.clz32?Math.clz32:uc,vc=Math.log,wc=Math.LN2,zc="function"===typeof Object.is?Object.is:xc,D=null,va=null,aa=null,l=null,Q=!1,ba=!1,T=0,G=null,Z=0,xb={readContext:function(a){return a._currentValue},useContext:function(a){L();return a._currentValue},useMemo:ob,useReducer:nb,useRef:function(a){D=L();l=ta();var b=l.memoizedState;return null===b?(a={current:a},l.memoizedState=a):b},useState:function(a){return nb(mb,
|
||
|
a)},useInsertionEffect:ca,useLayoutEffect:function(a,b){},useCallback:function(a,b){return ob(function(){return a},b)},useImperativeHandle:ca,useEffect:ca,useDebugValue:ca,useDeferredValue:function(a){L();return a},useTransition:function(){L();return[!1,Ac]},useId:function(){var a=va.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Y(a)-1)).toString(32)+b;var c=ha;if(null===c)throw Error(n(404));b=T++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useMutableSource:function(a,b,
|
||
|
c){L();return b(a._source)},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error(n(407));return c()}},ha=null,za=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;I.renderToReadableStream=function(a,b){return new Promise(function(c,d){var f,e,g=new Promise(function(a,b){e=a;f=b}),k=Cc(a,Eb(b?b.identifierPrefix:void 0,b?b.nonce:void 0,b?b.bootstrapScriptContent:void 0,b?b.bootstrapScripts:void 0,b?b.bootstrapModules:void 0),Lb(b?b.namespaceURI:void 0),b?b.progressiveChunkSize:
|
||
|
void 0,b?b.onError:void 0,e,function(){var a=new ReadableStream({type:"bytes",pull:function(a){if(1===k.status)k.status=2,Ga(a,k.fatalError);else if(2!==k.status&&null===k.destination){k.destination=a;try{Aa(k,a)}catch(Sa){S(k,Sa),ea(k,Sa)}}},cancel:function(a){Bb(k)}},{highWaterMark:0});a.allReady=g;c(a)},function(a){g.catch(function(){});d(a)},f);if(b&&b.signal){var l=b.signal,n=function(){Bb(k,l.reason);l.removeEventListener("abort",n)};l.addEventListener("abort",n)}pb(k)})};I.version="18.2.0"});
|
||
|
})();
|