UNPKG

next

Version:

The React Framework

125 lines • 63.2 kB
/** * @license React * react-dom-server-legacy.node.production.min.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';var aa=require("next/dist/compiled/react"),ba=require("react-dom"),ca=require("stream"),p=Object.assign,t=Object.prototype.hasOwnProperty,da=RegExp("^[: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]*$"), ea={},fa={};function ka(a){if(t.call(fa,a))return!0;if(t.call(ea,a))return!1;if(da.test(a))return fa[a]=!0;ea[a]=!0;return!1} var la=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),ma= new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"], ["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical", "glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering", "shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"], ["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"], ["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),na=/["'&<>]/; function u(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=na.exec(a);if(b){var c="",d,e=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}e!==d&&(c+=a.slice(e,d));e=d+1;c+=b}a=e!==d?c+a.slice(e,d):c}return a} var oa=/([A-Z])/g,pa=/^ms-/,qa=Array.isArray,ra=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,xa={prefetchDNS:ta,preconnect:ua,preload:va,preinit:wa};function v(a,b,c){return{insertionMode:a,selectedValue:b,noscriptTagInScope:c}} function ya(a,b,c){switch(b){case "noscript":return v(2,null,!0);case "select":return v(2,null!=c.value?c.value:c.defaultValue,a.noscriptTagInScope);case "svg":return v(3,null,a.noscriptTagInScope);case "math":return v(4,null,a.noscriptTagInScope);case "foreignObject":return v(2,null,a.noscriptTagInScope);case "table":return v(5,null,a.noscriptTagInScope);case "thead":case "tbody":case "tfoot":return v(6,null,a.noscriptTagInScope);case "colgroup":return v(8,null,a.noscriptTagInScope);case "tr":return v(7, null,a.noscriptTagInScope)}return 5<=a.insertionMode?v(2,null,a.noscriptTagInScope):0===a.insertionMode?"html"===b?v(1,null,!1):v(2,null,!1):1===a.insertionMode?v(2,null,!1):a}var za=new Map; function Aa(a,b){if("object"!==typeof b)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0,d;for(d in b)if(t.call(b,d)){var e=b[d];if(null!=e&&"boolean"!==typeof e&&""!==e){if(0===d.indexOf("--")){var g=u(d);e=u((""+e).trim())}else g=za.get(d),void 0===g&&(g=u(d.replace(oa,"-$1").toLowerCase().replace(pa,"-ms-")),za.set(d,g)),e="number"===typeof e?0===e||la.has(d)?""+e:e+"px": u((""+e).trim());c?(c=!1,a.push(' style="',g,":",e)):a.push(";",g,":",e)}}c||a.push('"')}function Ba(a,b,c){c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""')}function x(a,b,c){"function"!==typeof c&&"symbol"!==typeof c&&"boolean"!==typeof c&&a.push(" ",b,'="',u(c),'"')}u("javascript:throw new Error('A React form was unexpectedly submitted.')"); function Ia(a,b){this.push('<input type="hidden"');if("string"!==typeof a)throw Error("File/Blob fields are not yet supported in progressive forms. It probably means you are closing over binary data or FormData in a Server Action.");x(this,"name",b);x(this,"value",a);this.push("/>")}function Ja(a,b,c,d,e,g,f){null!=f&&z(a,"name",f);null!=c&&z(a,"formAction",c);null!=d&&z(a,"formEncType",d);null!=e&&z(a,"formMethod",e);null!=g&&z(a,"formTarget",g);return null} function z(a,b,c){switch(b){case "className":x(a,"class",c);break;case "tabIndex":x(a,"tabindex",c);break;case "dir":case "role":case "viewBox":case "width":case "height":x(a,b,c);break;case "style":Aa(a,c);break;case "src":case "href":case "action":case "formAction":if(null==c||"function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ",b,'="',u(""+c),'"');break;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":break; case "autoFocus":case "multiple":case "muted":Ba(a,b.toLowerCase(),c);break;case "xlinkHref":if("function"===typeof c||"symbol"===typeof c||"boolean"===typeof c)break;a.push(" ","xlink:href",'="',u(""+c),'"');break;case "contentEditable":case "spellCheck":case "draggable":case "value":case "autoReverse":case "externalResourcesRequired":case "focusable":case "preserveAlpha":"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',u(c),'"');break;case "allowFullScreen":case "async":case "autoPlay":case "controls":case "default":case "defer":case "disabled":case "disablePictureInPicture":case "disableRemotePlayback":case "formNoValidate":case "hidden":case "loop":case "noModule":case "noValidate":case "open":case "playsInline":case "readOnly":case "required":case "reversed":case "scoped":case "seamless":case "itemScope":c&& "function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'=""');break;case "capture":case "download":!0===c?a.push(" ",b,'=""'):!1!==c&&"function"!==typeof c&&"symbol"!==typeof c&&a.push(" ",b,'="',u(c),'"');break;case "cols":case "rows":case "size":case "span":"function"!==typeof c&&"symbol"!==typeof c&&!isNaN(c)&&1<=c&&a.push(" ",b,'="',u(c),'"');break;case "rowSpan":case "start":"function"===typeof c||"symbol"===typeof c||isNaN(c)||a.push(" ",b,'="',u(c),'"');break;case "xlinkActuate":x(a,"xlink:actuate", c);break;case "xlinkArcrole":x(a,"xlink:arcrole",c);break;case "xlinkRole":x(a,"xlink:role",c);break;case "xlinkShow":x(a,"xlink:show",c);break;case "xlinkTitle":x(a,"xlink:title",c);break;case "xlinkType":x(a,"xlink:type",c);break;case "xmlBase":x(a,"xml:base",c);break;case "xmlLang":x(a,"xml:lang",c);break;case "xmlSpace":x(a,"xml:space",c);break;default:if(!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1])if(b=ma.get(b)||b,ka(b)){switch(typeof c){case "function":case "symbol":return; case "boolean":var d=b.toLowerCase().slice(0,5);if("data-"!==d&&"aria-"!==d)return}a.push(" ",b,'="',u(c),'"')}}}function A(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}} function Ka(a){var b="";aa.Children.forEach(a,function(c){null!=c&&(b+=c)});return b} function La(a,b,c,d,e,g,f){var k=b.rel,h=b.href,l=b.precedence;if(3===g||f||null!=b.itemProp||"string"!==typeof k||"string"!==typeof h||""===h)return D(a,b),null;if("stylesheet"===b.rel){c="[style]"+h;if("string"!==typeof l||null!=b.disabled||b.onLoad||b.onError)return D(a,b);g=d.stylesMap.get(c);g||(b=p({},b,{"data-precedence":b.precedence,precedence:null}),g=d.preloadsMap.get(c),f=0,g&&(g.state|=4,k=g.props,null==b.crossOrigin&&(b.crossOrigin=k.crossOrigin),null==b.integrity&&(b.integrity=k.integrity), g.state&3&&(f=8)),g={type:"stylesheet",chunks:[],state:f,props:b},d.stylesMap.set(c,g),b=d.precedences.get(l),b||(b=new Set,d.precedences.set(l,b),c={type:"style",chunks:[],state:0,props:{precedence:l,hrefs:[]}},b.add(c),d.stylePrecedences.set(l,c)),b.add(g));d.boundaryResources&&d.boundaryResources.add(g);e&&a.push("\x3c!-- --\x3e");return null}if(b.onLoad||b.onError)return D(a,b);e&&a.push("\x3c!-- --\x3e");switch(b.rel){case "preconnect":case "dns-prefetch":return D(c.preconnectChunks,b);case "preload":return D(c.preloadChunks, b);default:return D(c.hoistableChunks,b)}}function D(a,b){a.push(F("link"));for(var c in b)if(t.call(b,c)){var d=b[c];if(null!=d)switch(c){case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:z(a,c,d)}}a.push("/>");return null} function Ma(a,b,c){a.push(F(c));for(var d in b)if(t.call(b,d)){var e=b[d];if(null!=e)switch(d){case "children":case "dangerouslySetInnerHTML":throw Error(c+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:z(a,d,e)}}a.push("/>");return null} function Na(a,b){a.push(F("title"));var c=null,d=null,e;for(e in b)if(t.call(b,e)){var g=b[e];if(null!=g)switch(e){case "children":c=g;break;case "dangerouslySetInnerHTML":d=g;break;default:z(a,e,g)}}a.push(">");b=Array.isArray(c)?2>c.length?c[0]:null:c;"function"!==typeof b&&"symbol"!==typeof b&&null!==b&&void 0!==b&&a.push(u(""+b));A(a,d,c);a.push("</","title",">");return null} function H(a,b){a.push(F("script"));var c=null,d=null,e;for(e in b)if(t.call(b,e)){var g=b[e];if(null!=g)switch(e){case "children":c=g;break;case "dangerouslySetInnerHTML":d=g;break;default:z(a,e,g)}}a.push(">");A(a,d,c);"string"===typeof c&&a.push(u(c));a.push("</","script",">");return null} function J(a,b,c){a.push(F(c));var d=c=null,e;for(e in b)if(t.call(b,e)){var g=b[e];if(null!=g)switch(e){case "children":c=g;break;case "dangerouslySetInnerHTML":d=g;break;default:z(a,e,g)}}a.push(">");A(a,d,c);return"string"===typeof c?(a.push(u(c)),null):c}var Oa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Pa=new Map;function F(a){var b=Pa.get(a);if(void 0===b){if(!Oa.test(a))throw Error("Invalid tag: "+a);b="<"+a;Pa.set(a,b)}return b} function Qa(a,b,c,d,e,g,f){switch(b){case "div":case "span":case "svg":case "path":case "a":case "g":case "p":case "li":break;case "select":a.push(F("select"));f=e=null;for(var k in c)if(t.call(c,k)){var h=c[k];if(null!=h)switch(k){case "children":e=h;break;case "dangerouslySetInnerHTML":f=h;break;case "defaultValue":case "value":break;default:z(a,k,h)}}a.push(">");A(a,f,e);return e;case "option":e=g.selectedValue;a.push(F("option"));var l=d=f=null;h=null;for(var q in c)if(t.call(c,q)){var m=c[q]; if(null!=m)switch(q){case "children":f=m;break;case "selected":l=m;break;case "dangerouslySetInnerHTML":h=m;break;case "value":d=m;default:z(a,q,m)}}if(null!=e)if(c=null!==d?""+d:Ka(f),qa(e))for(d=0;d<e.length;d++){if(""+e[d]===c){a.push(' selected=""');break}}else""+e===c&&a.push(' selected=""');else l&&a.push(' selected=""');a.push(">");A(a,h,f);return f;case "textarea":a.push(F("textarea"));h=f=e=null;for(var w in c)if(t.call(c,w)&&(d=c[w],null!=d))switch(w){case "children":h=d;break;case "value":e= d;break;case "defaultValue":f=d;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:z(a,w,d)}null===e&&null!==f&&(e=f);a.push(">");if(null!=h){if(null!=e)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(qa(h)&&1<h.length)throw Error("<textarea> can only have at most one child.");e=""+h}"string"===typeof e&&"\n"===e[0]&&a.push("\n");null!==e&&a.push(u(""+e));return null;case "input":a.push(F("input")); var r=null,y=q=null;m=l=d=f=g=w=null;for(h in c)if(t.call(c,h)&&(k=c[h],null!=k))switch(h){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case "name":r=k;break;case "formAction":q=k;break;case "formEncType":y=k;break;case "formMethod":w=k;break;case "formTarget":g=k;break;case "defaultChecked":m=k;break;case "defaultValue":d=k;break;case "checked":l=k;break;case "value":f=k;break;default:z(a, h,k)}c=Ja(a,e,q,y,w,g,r);null!==l?Ba(a,"checked",l):null!==m&&Ba(a,"checked",m);null!==f?z(a,"value",f):null!==d&&z(a,"value",d);a.push("/>");null!==c&&c.forEach(Ia,a);return null;case "button":a.push(F("button"));y=q=r=l=d=h=f=null;for(m in c)if(t.call(c,m)&&(w=c[m],null!=w))switch(m){case "children":f=w;break;case "dangerouslySetInnerHTML":h=w;break;case "name":d=w;break;case "formAction":l=w;break;case "formEncType":r=w;break;case "formMethod":q=w;break;case "formTarget":y=w;break;default:z(a, m,w)}c=Ja(a,e,l,r,q,y,d);a.push(">");null!==c&&c.forEach(Ia,a);A(a,h,f);"string"===typeof f?(a.push(u(f)),a=null):a=f;return a;case "form":a.push(F("form"));m=l=d=h=f=e=null;for(r in c)if(t.call(c,r)&&(q=c[r],null!=q))switch(r){case "children":e=q;break;case "dangerouslySetInnerHTML":f=q;break;case "action":h=q;break;case "encType":d=q;break;case "method":l=q;break;case "target":m=q;break;default:z(a,r,q)}null!=h&&z(a,"action",h);null!=d&&z(a,"encType",d);null!=l&&z(a,"method",l);null!=m&&z(a,"target", m);a.push(">");A(a,f,e);"string"===typeof e?(a.push(u(e)),a=null):a=e;return a;case "menuitem":a.push(F("menuitem"));for(var B in c)if(t.call(c,B)&&(e=c[B],null!=e))switch(B){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:z(a,B,e)}a.push(">");return null;case "title":return 3===g.insertionMode||g.noscriptTagInScope||null!=c.itemProp?a=Na(a,c):(Na(e.hoistableChunks,c),a=null),a;case "link":return La(a,c,e,d,f,g.insertionMode, g.noscriptTagInScope);case "script":e=c.async;if("string"!==typeof c.src||!c.src||!e||"function"===typeof e||"symbol"===typeof e||c.onLoad||c.onError||3===g.insertionMode||g.noscriptTagInScope||null!=c.itemProp)a=H(a,c);else{l="[script]"+c.src;e=d.scriptsMap.get(l);if(!e){e={type:"script",chunks:[],state:0,props:null};d.scriptsMap.set(l,e);d.scripts.add(e);h=c;if(d=d.preloadsMap.get(l))d.state|=4,c=h=p({},c),d=d.props,null==c.crossOrigin&&(c.crossOrigin=d.crossOrigin),null==c.integrity&&(c.integrity= d.integrity);H(e.chunks,h)}f&&a.push("\x3c!-- --\x3e");a=null}return a;case "style":e=c.precedence;h=c.href;if(3===g.insertionMode||g.noscriptTagInScope||null!=c.itemProp||"string"!==typeof e||"string"!==typeof h||""===h){a.push(F("style"));f=e=null;for(y in c)if(t.call(c,y)&&(h=c[y],null!=h))switch(y){case "children":e=h;break;case "dangerouslySetInnerHTML":f=h;break;default:z(a,y,h)}a.push(">");c=Array.isArray(e)?2>e.length?e[0]:null:e;"function"!==typeof c&&"symbol"!==typeof c&&null!==c&&void 0!== c&&a.push(u(""+c));A(a,f,e);a.push("</","style",">");a=null}else{m="[style]"+h;r=d.stylesMap.get(m);if(!r){(r=d.stylePrecedences.get(e))?r.props.hrefs.push(h):(r={type:"style",chunks:[],state:0,props:{precedence:e,hrefs:[h]}},d.stylePrecedences.set(e,r),h=new Set,h.add(r),d.precedences.set(e,h));d.stylesMap.set(m,r);d.boundaryResources&&d.boundaryResources.add(r);e=r.chunks;d=h=null;for(l in c)if(t.call(c,l)&&(m=c[l],null!=m))switch(l){case "children":h=m;break;case "dangerouslySetInnerHTML":d=m}c= Array.isArray(h)?2>h.length?h[0]:null:h;"function"!==typeof c&&"symbol"!==typeof c&&null!==c&&void 0!==c&&e.push(u(""+c));A(e,d,h)}f&&a.push("\x3c!-- --\x3e");a=void 0}return a;case "meta":return 3===g.insertionMode||g.noscriptTagInScope||null!=c.itemProp?a=Ma(a,c,"meta"):(f&&a.push("\x3c!-- --\x3e"),a="string"===typeof c.charSet?Ma(e.charsetChunks,c,"meta"):Ma(e.hoistableChunks,c,"meta")),a;case "listing":case "pre":a.push(F(b));f=e=null;for(var G in c)if(t.call(c,G)&&(h=c[G],null!=h))switch(G){case "children":e= h;break;case "dangerouslySetInnerHTML":f=h;break;default:z(a,G,h)}a.push(">");if(null!=f){if(null!=e)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof f||!("__html"in f))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");c=f.__html;null!==c&&void 0!==c&&("string"===typeof c&&0<c.length&&"\n"===c[0]?a.push("\n",c):a.push(""+c))}"string"=== typeof e&&"\n"===e[0]&&a.push("\n");return e;case "base":case "area":case "br":case "col":case "embed":case "hr":case "img":case "keygen":case "param":case "source":case "track":case "wbr":return Ma(a,c,b);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":break;case "head":return 2>g.insertionMode&&null===e.headChunks?(e.headChunks=[],a=J(e.headChunks,c,"head")):a=J(a,c,"head"),a; case "html":return 0===g.insertionMode&&null===e.htmlChunks?(e.htmlChunks=["<!DOCTYPE html>"],a=J(e.htmlChunks,c,"html")):a=J(a,c,"html"),a;default:if(-1!==b.indexOf("-")){a.push(F(b));f=e=null;for(var n in c)if(t.call(c,n)&&(h=c[n],null!=h))switch(n){case "children":e=h;break;case "dangerouslySetInnerHTML":f=h;break;case "style":Aa(a,h);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ka(n)&&"function"!==typeof h&&"symbol"!==typeof h&&a.push(" ",n,'="',u(h), '"')}a.push(">");A(a,f,e);return e}}return J(a,c,b)}function Ra(a,b){b=b.bootstrapChunks;for(var c=0;c<b.length-1;c++)a.push(b[c]);return c<b.length?(c=b[c],b.length=0,a.push(c)):!0}function Sa(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");a.push(c);return a.push('"></template>')} function Ta(a,b,c,d){switch(c.insertionMode){case 0:case 1:case 2:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden id="'),a.push(b.segmentPrefix), b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 8:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error("Unknown insertion mode. This is a bug in React.");}} function Ua(a,b){switch(b.insertionMode){case 0:case 1:case 2:return a.push("</div>");case 3:return a.push("</svg>");case 4:return a.push("</math>");case 5:return a.push("</table>");case 6:return a.push("</tbody></table>");case 7:return a.push("</tr></table>");case 8:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var Va=/[<\u2028\u2029]/g; function Wa(a){return JSON.stringify(a).replace(Va,function(b){switch(b){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");}})}var Xa=/[&><\u2028\u2029]/g; function K(a){return JSON.stringify(a).replace(Xa,function(b){switch(b){case "&":return"\\u0026";case ">":return"\\u003e";case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts 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");}})}var Ya=!1,Za=!0; function $a(a){if("stylesheet"===a.type&&0===(a.state&1))Ya=!0;else if("style"===a.type){var b=a.chunks,c=a.props.hrefs,d=0;if(b.length){this.push('<style media="not all" data-precedence="');a=u(a.props.precedence);this.push(a);if(c.length){for(this.push('" data-href="');d<c.length-1;d++)a=u(c[d]),this.push(a),this.push(" ");d=u(c[d]);this.push(d)}this.push('">');for(d=0;d<b.length;d++)this.push(b[d]);Za=this.push("</style>");Ya=!0;b.length=0;c.length=0}}} function bb(a,b,c){Ya=!1;Za=!0;b.forEach($a,a);Ya&&(c.stylesToHoist=!0);return Za}function L(a){if(0===(a.state&7)){for(var b=a.chunks,c=0;c<b.length;c++)this.push(b[c]);a.state|=1}}function M(a){if(0===(a.state&7)){for(var b=a.chunks,c=0;c<b.length;c++)this.push(b[c]);a.state|=2}}var cb=null,db=!1;function eb(a,b,c){b=a.chunks;if(a.state&3)c.delete(a);else if("style"===a.type)cb=a;else{D(b,a.props);for(c=0;c<b.length;c++)this.push(b[c]);a.state|=1;db=!0}} function fb(a,b){db=!1;a.forEach(eb,this);a.clear();a=cb.chunks;var c=cb.props.hrefs;if(!1===db||a.length){this.push('<style data-precedence="');b=u(b);this.push(b);b=0;if(c.length){for(this.push('" data-href="');b<c.length-1;b++){var d=u(c[b]);this.push(d);this.push(" ")}b=u(c[b]);this.push(b)}this.push('">');for(b=0;b<a.length;b++)this.push(a[b]);this.push("</style>");a.length=0;c.length=0}} function gb(a){if(!(a.state&8)&&"style"!==a.type){var b=a.chunks,c=a.props;D(b,{rel:"preload",as:"style",href:a.props.href,crossOrigin:c.crossOrigin,fetchPriority:c.fetchPriority,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy});for(c=0;c<b.length;c++)this.push(b[c]);a.state|=8;b.length=0}}function hb(a){a.forEach(gb,this);a.clear()} function ib(a,b){a.push("[");var c="[";b.forEach(function(d){if("style"!==d.type&&!(d.state&1))if(d.state&3)a.push(c),d=K(""+d.props.href),a.push(d),a.push("]"),c=",[";else if("stylesheet"===d.type){a.push(c);var e=d.props["data-precedence"],g=d.props,f=K(""+d.props.href);a.push(f);e=""+e;a.push(",");e=K(e);a.push(e);for(var k in g)if(t.call(g,k)&&(f=g[k],null!=f))switch(k){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); default:a:{e=a;var h=k.toLowerCase();switch(typeof f){case "function":case "symbol":break a}switch(k){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":h="class";f=""+f;break;case "hidden":if(!1===f)break a;f="";break;case "src":case "href":f=""+f;break;default:if(2<k.length&&("o"===k[0]||"O"===k[0])&&("n"===k[1]||"N"===k[1])||!ka(k))break a;f=""+f}e.push(",");h=K(h);e.push(h);e.push(",");f=K(f); e.push(f)}}a.push("]");c=",[";d.state|=2}});a.push("]")} function jb(a,b){a.push("[");var c="[";b.forEach(function(d){if("style"!==d.type&&!(d.state&1))if(d.state&3)a.push(c),d=u(JSON.stringify(""+d.props.href)),a.push(d),a.push("]"),c=",[";else if("stylesheet"===d.type){a.push(c);var e=d.props["data-precedence"],g=d.props,f=u(JSON.stringify(""+d.props.href));a.push(f);e=""+e;a.push(",");e=u(JSON.stringify(e));a.push(e);for(var k in g)if(t.call(g,k)&&(f=g[k],null!=f))switch(k){case "href":case "rel":case "precedence":case "data-precedence":break;case "children":case "dangerouslySetInnerHTML":throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`."); default:a:{e=a;var h=k.toLowerCase();switch(typeof f){case "function":case "symbol":break a}switch(k){case "innerHTML":case "dangerouslySetInnerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":case "style":break a;case "className":h="class";f=""+f;break;case "hidden":if(!1===f)break a;f="";break;case "src":case "href":f=""+f;break;default:if(2<k.length&&("o"===k[0]||"O"===k[0])&&("n"===k[1]||"N"===k[1])||!ka(k))break a;f=""+f}e.push(",");h=u(JSON.stringify(h));e.push(h); e.push(",");f=u(JSON.stringify(f));e.push(f)}}a.push("]");c=",[";d.state|=2}});a.push("]")}function kb(){return{preloadsMap:new Map,preconnectsMap:new Map,stylesMap:new Map,scriptsMap:new Map,preconnects:new Set,fontPreloads:new Set,precedences:new Map,stylePrecedences:new Map,scripts:new Set,explicitStylesheetPreloads:new Set,explicitScriptPreloads:new Set,explicitOtherPreloads:new Set,boundaryResources:null}} function ta(a){var b=N?N:null;if(b){var c=b.resources;if("string"===typeof a&&a){var d="[prefetchDNS]"+a,e=c.preconnectsMap.get(d);e||(e={type:"preconnect",chunks:[],state:0,props:null},c.preconnectsMap.set(d,e),D(e.chunks,{href:a,rel:"dns-prefetch"}));c.preconnects.add(e);lb(b)}}} function ua(a,b){var c=N?N:null;if(c){var d=c.resources;if("string"===typeof a&&a){b=null==b||"string"!==typeof b.crossOrigin?null:"use-credentials"===b.crossOrigin?"use-credentials":"";var e="[preconnect]["+(null===b?"null":b)+"]"+a,g=d.preconnectsMap.get(e);g||(g={type:"preconnect",chunks:[],state:0,props:null},d.preconnectsMap.set(e,g),D(g.chunks,{rel:"preconnect",href:a,crossOrigin:b}));d.preconnects.add(g);lb(c)}}} function va(a,b){var c=N?N:null;if(c){var d=c.resources;if("string"===typeof a&&a&&"object"===typeof b&&null!==b&&"string"===typeof b.as&&b.as){var e=b.as;if("image"===e){var g=b.imageSrcSet;var f=b.imageSizes,k="";"string"===typeof g&&""!==g?(k+="["+g+"]","string"===typeof f&&(k+="["+f+"]")):k+="[][]"+a;g="["+e+"]"+k}else g="["+e+"]"+a;f=d.preloadsMap.get(g);f||(f={type:"preload",chunks:[],state:0,props:{rel:"preload",as:e,href:"image"===e&&b.imageSrcSet?void 0:a,crossOrigin:"font"===e?"":b.crossOrigin, integrity:b.integrity,type:b.type,nonce:b.nonce,fetchPriority:b.fetchPriority,imageSrcSet:b.imageSrcSet,imageSizes:b.imageSizes,referrerPolicy:b.referrerPolicy}},d.preloadsMap.set(g,f),D(f.chunks,f.props));switch(e){case "font":d.fontPreloads.add(f);break;case "style":d.explicitStylesheetPreloads.add(f);break;case "script":d.explicitScriptPreloads.add(f);break;default:d.explicitOtherPreloads.add(f)}lb(c)}}} function wa(a,b){var c=N?N:null;if(c){var d=c.resources;if("string"===typeof a&&a&&"object"===typeof b&&null!==b){var e=b.as;switch(e){case "style":var g="["+e+"]"+a,f=d.stylesMap.get(g);e=b.precedence||"default";if(!f){f=0;var k=d.preloadsMap.get(g);k&&k.state&3&&(f=8);f={type:"stylesheet",chunks:[],state:f,props:{rel:"stylesheet",href:a,"data-precedence":e,crossOrigin:b.crossOrigin,integrity:b.integrity,fetchPriority:b.fetchPriority}};d.stylesMap.set(g,f);a=d.precedences.get(e);a||(a=new Set,d.precedences.set(e, a),b={type:"style",chunks:[],state:0,props:{precedence:e,hrefs:[]}},a.add(b),d.stylePrecedences.set(e,b));a.add(f);lb(c)}break;case "script":g="["+e+"]"+a,e=d.scriptsMap.get(g),e||(e={type:"script",chunks:[],state:0,props:null},d.scriptsMap.set(g,e),a={src:a,async:!0,crossOrigin:b.crossOrigin,integrity:b.integrity,nonce:b.nonce,fetchPriority:b.fetchPriority},d.scripts.add(e),H(e.chunks,a),lb(c))}}}}function mb(a){this.add(a)} function nb(a,b,c,d){a=void 0===c?"":c;c=null;var e=0;void 0!==d&&(e=1,"string"===typeof d?(c={src:d,chunks:[]},H(c.chunks,{src:d,async:!0,integrity:void 0,nonce:void 0})):(c={src:d.src,chunks:[]},H(c.chunks,{src:d.src,async:!0,integrity:d.integrity,nonce:void 0})));return{bootstrapChunks:[],placeholderPrefix:a+"P:",segmentPrefix:a+"S:",boundaryPrefix:a+"B:",idPrefix:a,nextSuspenseID:0,streamingFormat:e,startInlineScript:"<script>",instructions:0,externalRuntimeScript:c,htmlChunks:null,headChunks:null, hasBody:!1,charsetChunks:[],preconnectChunks:[],preloadChunks:[],hoistableChunks:[],stylesToHoist:!1,generateStaticMarkup:b}}function ob(){return{insertionMode:2,selectedValue:null,noscriptTagInScope:!1}}function pb(a,b,c,d){if(c.generateStaticMarkup)return a.push(u(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(u(b)),a=!0);return a} var qb=Symbol.for("react.element"),rb=Symbol.for("react.portal"),sb=Symbol.for("react.fragment"),tb=Symbol.for("react.strict_mode"),ub=Symbol.for("react.profiler"),vb=Symbol.for("react.provider"),wb=Symbol.for("react.context"),xb=Symbol.for("react.server_context"),yb=Symbol.for("react.forward_ref"),zb=Symbol.for("react.suspense"),Ab=Symbol.for("react.suspense_list"),Bb=Symbol.for("react.memo"),Cb=Symbol.for("react.lazy"),Db=Symbol.for("react.scope"),Eb=Symbol.for("react.debug_trace_mode"),Fb=Symbol.for("react.offscreen"), Gb=Symbol.for("react.legacy_hidden"),Hb=Symbol.for("react.cache"),Ib=Symbol.for("react.default_value"),Jb=Symbol.iterator; function Kb(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 sb:return"Fragment";case rb:return"Portal";case ub:return"Profiler";case tb:return"StrictMode";case zb:return"Suspense";case Ab:return"SuspenseList";case Hb:return"Cache"}if("object"===typeof a)switch(a.$$typeof){case wb:return(a.displayName||"Context")+".Consumer";case vb:return(a._context.displayName||"Context")+".Provider";case yb:var b=a.render;a=a.displayName; a||(a=b.displayName||b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Bb:return b=a.displayName||null,null!==b?b:Kb(a.type)||"Memo";case Cb:b=a._payload;a=a._init;try{return Kb(a(b))}catch(c){break}case xb:return(a.displayName||a._globalName)+".Provider"}return null}var Lb={};function Mb(a,b){a=a.contextTypes;if(!a)return Lb;var c={},d;for(d in a)c[d]=b[d];return c}var O=null; function Nb(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");Nb(a,c)}b.context._currentValue2=b.value}}function Ob(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&Ob(a)} function Pb(a){var b=a.parent;null!==b&&Pb(b);a.context._currentValue2=a.value}function Qb(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?Nb(a,b):Qb(a,b)} function Rb(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?Nb(a,c):Rb(a,c);b.context._currentValue2=b.value}function Sb(a){var b=O;b!==a&&(null===b?Pb(a):null===a?Ob(b):b.depth===a.depth?Nb(b,a):b.depth>a.depth?Qb(b,a):Rb(b,a),O=a)} var Tb={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}}; function Ub(a,b,c,d){var e=void 0!==a.state?a.state:null;a.updater=Tb;a.props=c;a.state=e;var g={queue:[],replace:!1};a._reactInternals=g;var f=b.contextType;a.context="object"===typeof f&&null!==f?f._currentValue2:d;f=b.getDerivedStateFromProps;"function"===typeof f&&(f=f(c,e),e=null===f||void 0===f?e:p({},e,f),a.state=e);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&&Tb.enqueueReplaceState(a,a.state,null),null!==g.queue&&0<g.queue.length)if(b=g.queue,f=g.replace,g.queue=null,g.replace=!1,f&&1===b.length)a.state=b[0];else{g=f?b[0]:a.state;e=!0;for(f=f?1:0;f<b.length;f++){var k=b[f];k="function"===typeof k?k.call(a,g,c,d):k;null!=k&&(e?(e=!1,g=p({},g,k)):p(g,k))}a.state=g}else g.queue=null} var Vb={id:1,overflow:""};function Wb(a,b,c){var d=a.id;a=a.overflow;var e=32-Xb(d)-1;d&=~(1<<e);c+=1;var g=32-Xb(b)+e;if(30<g){var f=e-e%5;g=(d&(1<<f)-1).toString(32);d>>=f;e-=f;return{id:1<<32-Xb(b)+e|c<<e|d,overflow:g+a}}return{id:1<<g|c<<e|d,overflow:a}}var Xb=Math.clz32?Math.clz32:Yb,Zb=Math.log,$b=Math.LN2;function Yb(a){a>>>=0;return 0===a?32:31-(Zb(a)/$b|0)|0}var ac=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"); function bc(){}function cc(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(bc,bc),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}fc=b;throw ac;}}var fc=null; function gc(){if(null===fc)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=fc;fc=null;return a}function hc(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var ic="function"===typeof Object.is?Object.is:hc,Q=null,jc=null,kc=null,R=null,lc=!1,mc=!1,S=0,nc=0,T=null,U=null,oc=0; function X(){if(null===Q)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return Q} function pc(){if(0<oc)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function qc(){null===R?null===kc?(lc=!1,kc=R=pc()):(lc=!0,R=kc):null===R.next?(lc=!1,R=R.next=pc()):(lc=!0,R=R.next);return R}function rc(a,b,c,d){for(;mc;)mc=!1,nc=S=0,oc+=1,R=null,c=a(b,d);sc();return c}function tc(){var a=T;T=null;return a}function sc(){jc=Q=null;mc=!1;kc=null;oc=0;R=U=null}function uc(a,b){return"function"===typeof b?b(a):b} function vc(a,b,c){Q=X();R=qc();if(lc){var d=R.queue;b=d.dispatch;if(null!==U&&(c=U.get(d),void 0!==c)){U.delete(d);d=R.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);R.memoizedState=d;return[d,b]}return[R.memoizedState,b]}a=a===uc?"function"===typeof b?b():b:void 0!==c?c(b):b;R.memoizedState=a;a=R.queue={last:null,dispatch:null};a=a.dispatch=wc.bind(null,Q,a);return[R.memoizedState,a]} function xc(a,b){Q=X();R=qc();b=void 0===b?null:b;if(null!==R){var c=R.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var e=0;e<d.length&&e<b.length;e++)if(!ic(b[e],d[e])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();R.memoizedState=[a,b];return a} function wc(a,b,c){if(25<=oc)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===Q)if(mc=!0,a={action:c,next:null},null===U&&(U=new Map),c=U.get(b),void 0===c)U.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function yc(){throw Error("startTransition cannot be called during server rendering.");}function zc(a){var b=nc;nc+=1;null===T&&(T=[]);return cc(T,a,b)} function Ac(){throw Error("Cache cannot be refreshed during server rendering.");}function Bc(){} var Dc={readContext:function(a){return a._currentValue2},use:function(a){if(null!==a&&"object"===typeof a){if("function"===typeof a.then)return zc(a);if(a.$$typeof===wb||a.$$typeof===xb)return a._currentValue2}throw Error("An unsupported type was passed to use(): "+String(a));},useContext:function(a){X();return a._currentValue2},useMemo:xc,useReducer:vc,useRef:function(a){Q=X();R=qc();var b=R.memoizedState;return null===b?(a={current:a},R.memoizedState=a):b},useState:function(a){return vc(uc,a)}, useInsertionEffect:Bc,useLayoutEffect:Bc,useCallback:function(a,b){return xc(function(){return a},b)},useImperativeHandle:Bc,useEffect:Bc,useDebugValue:Bc,useDeferredValue:function(a){X();return a},useTransition:function(){X();return[!1,yc]},useId:function(){var a=jc.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-Xb(a)-1)).toString(32)+b;var c=Cc;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=S++;a=":"+c.idPrefix+"R"+a;0<b&&(a+= "H"+b.toString(32));return a+":"},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return c()},useCacheRefresh:function(){return Ac}},Cc=null,Ec={getCacheSignal:function(){throw Error("Not implemented.");},getCacheForType:function(){throw Error("Not implemented.");}},Fc=ra.ReactCurrentDispatcher,Gc=ra.ReactCurrentCache;function Hc(a){console.error(a);return null} function Ic(){} function Jc(a,b,c,d,e,g,f,k,h,l){sa.current=xa;var q=[],m=new Set;b={destination:null,flushScheduled:!1,responseState:c,progressiveChunkSize:void 0===e?12800:e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,resources:b,completedRootSegment:null,abortableTasks:m,pingedTasks:q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===g?Hc:g,onAllReady:void 0===f?Ic:f,onShellReady:void 0===k?Ic:k,onShellError:void 0===h?Ic:h,onFatalError:void 0=== l?Ic:l};d=Kc(b,0,null,d,!1,!1);d.parentFlushed=!0;a=Lc(b,null,a,null,d,m,Lb,null,Vb);q.push(a);return b}var N=null;function Lc(a,b,c,d,e,g,f,k,h){a.allPendingTasks++;null===d?a.pendingRootTasks++:d.pendingTasks++;var l={node:c,ping:function(){a.pingedTasks.push(l);1===a.pingedTasks.length&&(a.flushScheduled=null!==a.destination,Mc(a))},blockedBoundary:d,blockedSegment:e,abortSet:g,legacyContext:f,context:k,treeContext:h,thenableState:b};g.add(l);return l} function Kc(a,b,c,d,e,g){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:e,textEmbedded:g}}function Y(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 Nc(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)} function Oc(a,b,c,d){var e=c.render(),g=d.childContextTypes;if(null!==g&&void 0!==g){var f=b.legacyContext;if("function"!==typeof c.getChildContext)d=f;else{c=c.getChildContext();for(var k in c)if(!(k in g))throw Error((Kb(d)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');d=p({},f,c)}b.legacyContext=d;Z(a,b,null,e);b.legacyContext=f}else Z(a,b,null,e)} function Pc(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 Qc(a,b,c,d,e,g){if("function"===typeof d)if(d.prototype&&d.prototype.isReactComponent)c=Mb(d,b.legacyContext),g=d.contextType,g=new d(e,"object"===typeof g&&null!==g?g._currentValue2:c),Ub(g,d,e,c),Oc(a,b,g,d);else{g=Mb(d,b.legacyContext);Q={};jc=b;nc=S=0;T=c;c=d(e,g);c=rc(d,e,c,g);var f=0!==S;if("object"===typeof c&&null!==c&&"function"===typeof c.render&&void 0===c.$$typeof)Ub(c,d,e,g),Oc(a,b,c,d);else if(f){e=b.treeContext;b.treeContext=Wb(e,1,0);try{Z(a,b,null,c)}finally{b.treeContext= e}}else Z(a,b,null,c)}else if("string"===typeof d){c=b.blockedSegment;f=Qa(c.chunks,d,e,a.resources,a.responseState,c.formatContext,c.lastPushedText);c.lastPushedText=!1;g=c.formatContext;c.formatContext=ya(g,d,e);Rc(a,b,f);c.formatContext=g;a:{b=c.chunks;switch(d){case "title":case "style":case "script":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 a;case "body":if(1>= g.insertionMode){a.responseState.hasBody=!0;break a}break;case "html":if(0===g.insertionMode)break a}b.push("</",d,">")}c.lastPushedText=!1}else{switch(d){case Gb:case Eb:case tb:case ub:case sb:Z(a,b,null,e.children);return;case Fb:"hidden"!==e.mode&&Z(a,b,null,e.children);return;case Ab:Z(a,b,null,e.children);return;case Db:throw Error("ReactDOMServer does not yet support scope components.");case zb:a:{d=b.blockedBoundary;c=b.blockedSegment;g=e.fallback;e=e.children;f=new Set;var k={id:null,rootSegmentID:-1, parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null,resources:new Set},h=Kc(a,c.chunks.length,k,c.formatContext,!1,!1);c.children.push(h);c.lastPushedText=!1;var l=Kc(a,0,null,c.formatContext,!1,!1);l.parentFlushed=!0;b.blockedBoundary=k;b.blockedSegment=l;a.resources.boundaryResources=k.resources;try{if(Rc(a,b,e),a.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("\x3c!-- --\x3e"),l.status= 1,Sc(k,l),0===k.pendingTasks)break a}catch(q){l.status=4,k.forceClientRender=!0,k.errorDigest=Y(a,q)}finally{a.resources.boundaryResources=d?d.resources:null,b.blockedBoundary=d,b.blockedSegment=c}b=Lc(a,null,g,d,h,f,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof d&&null!==d)switch(d.$$typeof){case yb:d=d.render;Q={};jc=b;nc=S=0;T=c;c=d(e,g);e=rc(d,e,c,g);if(0!==S){d=b.treeContext;b.treeContext=Wb(d,1,0);try{Z(a,b,null,e)}finally{b.treeContext=d}}else Z(a, b,null,e);return;case Bb:d=d.type;e=Pc(d,e);Qc(a,b,c,d,e,g);return;case vb:c=e.children;d=d._context;e=e.value;g=d._currentValue2;d._currentValue2=e;f=O;O=e={parent:f,depth:null===f?0:f.depth+1,context:d,parentValue:g,value:e};b.context=e;Z(a,b,null,c);a=O;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");e=a.parentValue;a.context._currentValue2=e===Ib?a.context._defaultValue:e;a=O=a.parent;b.context=a;return;case wb:e=e.children;e=e(d._currentValue2); Z(a,b,null,e);return;case Cb:g=d._init;d=g(d._payload);e=Pc(d,e);Qc(a,b,c,d,e,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==d?d:typeof d)+"."));}} function Z(a,b,c,d){b.node=d;if("object"===typeof d&&null!==d){switch(d.$$typeof){case qb:Qc(a,b,c,d.type,d.props,d.ref);return;case rb:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Cb:c=d._init;d=c(d._payload);Z(a,b,null,d);return}if(qa(d)){Tc(a,b,d);return}null===d||"object"!==typeof d?c=null:(c=Jb&&d[Jb]||d["@@iterator"],c="function"===typeof c?c:null);if(c&&(c=c.call(d))){d=c.next();if(!d.done){var e= [];do e.push(d.value),d=c.next();while(!d.done);Tc(a,b,e)}return}if("function"===typeof d.then)return Z(a,b,null,zc(d));if(d.$$typeof===wb||d.$$typeof===xb)return Z(a,b,null,d._currentValue2);a=Object.prototype.toString.call(d);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===a?"object with keys {"+Object.keys(d).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof d?(c=b.blockedSegment,c.lastPushedText= pb(b.blockedSegment.chunks,d,a.responseState,c.lastPushedText)):"number"===typeof d&&(c=b.blockedSegment,c.lastPushedText=pb(b.blockedSegment.chunks,""+d,a.responseState,c.lastPushedText))}function Tc(a,b,c){for(var d=c.length,e=0;e<d;e++){var g=b.treeContext;b.treeContext=Wb(g,d,e);try{Rc(a,b,c[e])}finally{b.treeContext=g}}} function Rc(a,b,c){var d=b.blockedSegment,e=d.children.length,g=d.chunks.length,f=b.blockedSegment.formatContext,k=b.legacyContext,h=b.context;try{return Z(a,b,null,c)}catch(l){if(sc(),d.children.length=e,d.chunks.length=g,c=l===ac?gc():l,"object"===typeof c&&null!==c&&"function"===typeof c.then)d=tc(),e=b.blockedSegment,g=Kc(a,e.chunks.length,null,e.formatContext,e.lastPushedText,!0),e.children.push(g),e.lastPushedText=!1,a=Lc(a,d,b.node,b.blockedBoundary,g,b.abortSet,b.legacyContext,b.context,b.treeContext).ping, c.then(a,a),b.blockedSegment.formatContext=f,b.legacyContext=k,b.context=h,Sb(h);else throw b.blockedSegment.formatContext=f,b.legacyContext=k,b.context=h,Sb(h),c;}}function Uc(a){var b=a.blockedBoundary;a=a.blockedSegment;a.status=3;Vc(this,b,a)} function Wc(a,b,c){var d=a.blockedBoundary;a.blockedSegment.status=3;null===d?(b.allPendingTasks--,1!==b.status&&2!==b.status&&(Y(b,c),Nc(b,c))):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=b.onError(c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(e){return Wc(e,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--,0===b.allPendingTasks&&(a=b.onAllReady,a()))} function Sc(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&&Sc(a,c)}else a.completedSegments.push(b)} function Vc(a,b,c){if(null===b){if(c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=Ic,b=a.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(0===b.pendingTasks?(c.parentFlushed&&1===c.status&&Sc(b,c),b.parentFlushed&&a.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(Uc,a),b.fallbackAbortableTasks.clear()):c.parentFlushed&& 1===c.status&&(Sc(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())} function Mc(a){if(2!==a.status){var b=O,c=Fc.current;Fc.current=Dc;var d=Gc.current;Gc.current=Ec;var e=N;N=a;var g=Cc;Cc=a.responseState;try{var f=a.pingedTasks,k;for(k=0;k<f.length;k++){var h=f[k];var l=a,q=h.blockedBoundary;l.resources.boundaryResources=q?q.resources:null;var m=h.blockedSegment;if(0===m.status){Sb(h.context);var w=m.children.length,r=m.chunks.length;try{var y=h.thenableState;h.thenableState=null;Z(l,h,y,h.node);l.responseState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&& m.chunks.push("\x3c!-- --\x3e");h.abortSet.delete(h);m.status=1;Vc(l,h.blockedBoundary,m)}catch(C){sc();m.children.length=w;m.chunks.length=r;var B=C===ac?gc():C;if("object"===typeof B&&null!==B&&"function"===typeof B.then){var G=h.ping;B.then(G,G);h.thenableState=tc()}else{h.abortSet.delete(h);m.status=4;var n=l,I=h.blockedBoundary,V=B,ha=Y(n,V);null===I?Nc(n,V):(I.pendingTasks--,I.forceClientRender||(I.forceClientRender=!0,I.errorDigest=ha,I.parentFlushed&&n.clientRenderedBoundaries.push(I)));n.allPendingTasks--; if(0===n.allPendingTasks){var ia=n.onAllReady;ia()}}}finally{l.resources.boundaryResources=null}}}f.splice(0,k);null!==a.destination&&Xc(a,a.destination)}catch(C){Y(a,C),Nc(a,C)}finally{Cc=g,Fc.current=c,Gc.current=d,c===Dc&&Sb(b),N=e}}} function Yc(a,b,c){c.parent