1import{r as wn,j as g,w as Sa,aw as Fa,x as Pa,bC as Qu,bD as Vu,V as uo,f as de,m as oo,t as X,ac as so,s as ft,K as fo,aC as ho,Q as go,aD as vo,aE as bo,e as yl,av as yo,bE as xo,k as wo,l as To,u as vc,ar as Eo,L as Co,E as Ro,X as Uu,i as bc}from"./index-DFVLdrKA.js";import{L as Ee}from"./label-BWugGjQ_.js";import{T as lu}from"./textarea-BaQsssvk.js";import{s as vi,u as ko}from"./admin-utils-t4WXoGd6.js";import{R as _o}from"./RichTextEditor-COr1g7vG.js";import{a as So,g as Fo}from"./analyze.functions-CvbSqc9S.js";import{l as Po}from"./i-vysocina-logo.png.asset-DpDv5afG.js";import{I as au}from"./image-EiA09aKk.js";import{D as Ao}from"./download-QLzZYdST.js";import{c as mo}from"./orca-webhook-check.functions-BVHzhdcg.js";import{A as Io}from"./arrow-left-DCuyQsD7.js";import{E as No}from"./eye-v4JbT_9i.js";import{C as Mo,a as Oo}from"./copy-plus-MeWOdIn7.js";import{S as Wu}from"./share-2-BO884cnh.js";import{C as zo}from"./copy-DyTbqPKI.js";import{W as Lo}from"./wand-sparkles-D9r4ygqK.js";import{U as Do}from"./upload-BjmD6f2A.js";import"./list-vzrZocsy.js";import"./quote-Dno4D_JU.js";function Bo({src:D,x:m,y:w,onChange:B}){const Y=wn.useRef(null),K=hn=>{const _=Y.current;if(!_)return;const G=_.getBoundingClientRect(),An=Math.min(1,Math.max(0,(hn.clientX-G.left)/G.width)),Gn=Math.min(1,Math.max(0,(hn.clientY-G.top)/G.height));B(Number(An.toFixed(3)),Number(Gn.toFixed(3)))};return g.jsxs("div",{className:"space-y-2",children:[g.jsxs("div",{ref:Y,onClick:K,className:"relative aspect-video w-full cursor-crosshair overflow-hidden rounded-md border border-border",children:[g.jsx("img",{src:D,alt:"",className:"h-full w-full object-cover",style:{objectPosition:`${m*100}% ${w*100}%`}}),g.jsx("div",{className:"pointer-events-none absolute h-5 w-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-primary shadow-lg ring-2 ring-primary/40",style:{left:`${m*100}%`,top:`${w*100}%`}})]}),g.jsxs("p",{className:"text-xs text-muted-foreground",children:["Klikni do obrázku pro nastavenà ohniska. Pozice: ",(m*100).toFixed(0),"% / ",(w*100).toFixed(0),"%"]})]})}const Ho=Sa({method:"POST"}).middleware([Fa]).handler(Pa("9247a4ce1ebebefac7374774c2021d1644c866b9b00a894e53ff43538e10e460")),Uo=Sa({method:"POST"}).middleware([Fa]).handler(Pa("2f240d675a9fb7b1075dd21630a3450d8484a3cb3ab9416f949850e4529e9e0a"));var Er={},ka={};var Yu;function Wo(){if(Yu)return ka;Yu=1;var D=Qu(),m=Vu();function w(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var B=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),hn=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),An=Symbol.for("react.context"),Gn=Symbol.for("react.forward_ref"),kn=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),mn=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),Vn=Symbol.for("react.scope"),Hn=Symbol.for("react.activity"),Ge=Symbol.for("react.legacy_hidden"),me=Symbol.for("react.memo_cache_sentinel"),H=Symbol.for("react.view_transition"),Ie=Symbol.iterator;function qe(e){return e===null||typeof e!="object"?null:(e=Ie&&e[Ie]||e["@@iterator"],typeof e=="function"?e:null)}var ue=Array.isArray;function xl(e,t){var i=e.length&3,c=e.length-i,o=t;for(t=0;t<c;){var f=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,f=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295,o^=f,o=o<<13|o>>>19,o=5*(o&65535)+((5*(o>>>16)&65535)<<16)&4294967295,o=(o&65535)+27492+(((o>>>16)+58964&65535)<<16)}switch(f=0,i){case 3:f^=(e.charCodeAt(t+2)&255)<<16;case 2:f^=(e.charCodeAt(t+1)&255)<<8;case 1:f^=e.charCodeAt(t)&255,f=3432918353*(f&65535)+((3432918353*(f>>>16)&65535)<<16)&4294967295,f=f<<15|f>>>17,o^=461845907*(f&65535)+((461845907*(f>>>16)&65535)<<16)&4294967295}return o^=e.length,o^=o>>>16,o=2246822507*(o&65535)+((2246822507*(o>>>16)&65535)<<16)&4294967295,o^=o>>>13,o=3266489909*(o&65535)+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^o>>>16)>>>0}var Ln=Object.assign,sn=Object.prototype.hasOwnProperty,Ne=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
1037D\\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]*$"),$e={},nl={};function el(e){return sn.call(nl,e)?!0:sn.call($e,e)?!1:Ne.test(e)?nl[e]=!0:($e[e]=!0,!1)}var Dn=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(" ")),Un=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"]]),F=/["'&<>]/;function O(e){if(typeof e=="boolean"||typeof e=="number"||typeof e=="bigint")return""+e;e=""+e;var t=F.exec(e);if(t){var i="",c,o=0;for(c=t.index;c<e.length;c++){switch(e.charCodeAt(c)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==c&&(i+=e.slice(o,c)),o=c+1,i+=t}e=o!==c?i+e.slice(o,c):i}return e}var wl=/([A-Z])/g,Yl=/^ms-/,I=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function E(e){return I.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Ce=D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Gl=m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,In={pending:!1,data:null,method:null,action:null},q=Gl.d;Gl.d={f:q.f,r:q.r,D:Wt,C:_e,L:wc,m:_i,X:Da,S:La,M:Tc};var jn=[],Me=null,Tl=/(<\/|<)(s)(cript)/gi;function El(e,t,i,c){return""+t+(i==="s"?"\\u0073":"\\u0053")+c}function Xl(e,t,i,c,o){return{idPrefix:e===void 0?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:i,bootstrapScripts:c,bootstrapModules:o,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Nn(e,t,i,c){return{insertionMode:e,selectedValue:t,tagScope:i,viewTransition:c}}function Qe(e,t,i){var c=e.tagScope&-25;switch(t){case"noscript":return Nn(2,null,c|1,null);case"select":return Nn(2,i.value!=null?i.value:i.defaultValue,c,null);case"svg":return Nn(4,null,c,null);case"picture":return Nn(2,null,c|2,null);case"math":return Nn(5,null,c,null);case"foreignObject":return Nn(2,null,c,null);case"table":return Nn(6,null,c,null);case"thead":case"tbody":case"tfoot":return Nn(7,null,c,null);case"colgroup":return Nn(9,null,c,null);case"tr":return Nn(8,null,c,null);case"head":if(2>e.insertionMode)return Nn(3,null,c,null);break;case"html":if(e.insertionMode===0)return Nn(1,null,c,null)}return 6<=e.insertionMode||2>e.insertionMode?Nn(2,null,c,null):e.tagScope!==c?Nn(e.insertionMode,e.selectedValue,c,null):e}function Z(e){return e===null?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Cl(e,t){return t.tagScope&32&&(e.instructions|=128),Nn(t.insertionMode,t.selectedValue,t.tagScope|12,Z(t.viewTransition))}function ll(e,t){e=Z(t.viewTransition);var i=t.tagScope|16;return e!==null&&e.share!=="none"&&(i|=64),Nn(t.insertionMode,t.selectedValue,i,e)}var T=new Map;function L(e,t){if(typeof t!="object")throw Error(w(62));var i=!0,c;for(c in t)if(sn.call(t,c)){var o=t[c];if(o!=null&&typeof o!="boolean"&&o!==""){if(c.indexOf("--")===0){var f=O(c);o=O((""+o).trim())}else f=T.get(c),f===void 0&&(f=O(c.replace(wl,"-$1").toLowerCase().replace(Yl,"-ms-")),T.set(c,f)),o=typeof o=="number"?o===0||Dn.has(c)?""+o:o+"px":O((""+o).trim());i?(i=!1,e.push(' style="',f,":",o)):e.push(";",f,":",o)}}i||e.push('"')}function J(e,t,i){i&&typeof i!="function"&&typeof i!="symbol"&&e.push(" ",t,'=""')}function dn(e,t,i){typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&e.push(" ",t,'="',O(i),'"')}var qn=O("javascript:throw new Error('React form unexpectedly submitted.')");function Xn(e,t){this.push('<input type="hidden"'),Mn(e),dn(this,"name",t),dn(this,"value",e),this.push("/>")}function Mn(e){if(typeof e!="string")throw Error(w(480))}function an(e,t){if(typeof t.$$FORM_ACTION=="function"){var i=e.nextFormID++;e=e.idPrefix+i;try{var c=t.$$FORM_ACTION(e);if(c){var o=c.data;o?.forEach(Mn)}return c}catch(f){if(typeof f=="object"&&f!==null&&typeof f.then=="function")throw f}}return null}function ht(e,t,i,c,o,f,d,R){var b=null;if(typeof c=="function"){var k=an(t,c);k!==null?(R=k.name,c=k.action||"",o=k.encType,f=k.method,d=k.target,b=k.data):(e.push(" ","formAction",'="',qn,'"'),d=f=o=c=R=null,yi(t,i))}return R!=null&&on(e,"name",R),c!=null&&on(e,"formAction",c),o!=null&&on(e,"formEncType",o),f!=null&&on(e,"formMethod",f),d!=null&&on(e,"formTarget",d),b}function on(e,t,i){switch(t){case"className":dn(e,"class",i);break;case"tabIndex":dn(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":dn(e,t,i);break;case"style":L(e,i);break;case"src":case"href":if(i==="")break;case"action":case"formAction":if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean")break;
vendor: 25,363 bytes, lines 1-9
1i=E(""+i),e.push(" ",t,'="',O(i),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":J(e,t.toLowerCase(),i);break;case"xlinkHref":if(typeof i=="function"||typeof i=="symbol"||typeof i=="boolean")break;i=E(""+i),e.push(" ","xlink:href",'="',O(i),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof i!="function"&&typeof i!="symbol"&&e.push(" ",t,'="',O(i),'"');break;case"inert":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":i&&typeof i!="function"&&typeof i!="symbol"&&e.push(" ",t,'=""');break;case"capture":case"download":i===!0?e.push(" ",t,'=""'):i!==!1&&typeof i!="function"&&typeof i!="symbol"&&e.push(" ",t,'="',O(i),'"');break;case"cols":case"rows":case"size":case"span":typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i&&e.push(" ",t,'="',O(i),'"');break;case"rowSpan":case"start":typeof i=="function"||typeof i=="symbol"||isNaN(i)||e.push(" ",t,'="',O(i),'"');break;case"xlinkActuate":dn(e,"xlink:actuate",i);break;case"xlinkArcrole":dn(e,"xlink:arcrole",i);break;case"xlinkRole":dn(e,"xlink:role",i);break;case"xlinkShow":dn(e,"xlink:show",i);break;case"xlinkTitle":dn(e,"xlink:title",i);break;case"xlinkType":dn(e,"xlink:type",i);break;case"xmlBase":dn(e,"xml:base",i);break;case"xmlLang":dn(e,"xml:lang",i);break;case"xmlSpace":dn(e,"xml:space",i);break;default:if((!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=Un.get(t)||t,el(t))){switch(typeof i){case"function":case"symbol":return;case"boolean":var c=t.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-")return}e.push(" ",t,'="',O(i),'"')}}}function Re(e,t,i){if(t!=null){if(i!=null)throw Error(w(60));if(typeof t!="object"||!("__html"in t))throw Error(w(61));t=t.__html,t!=null&&e.push(""+t)}}function yc(e){var t="";return D.Children.forEach(e,function(i){i!=null&&(t+=i)}),t}function yi(e,t){if((e.instructions&16)===0){e.instructions|=16;var i=t.preamble,c=t.bootstrapChunks;(i.htmlChunks||i.headChunks)&&c.length===0?(c.push(t.startInlineScript),Ut(c,e),c.push(">",`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,"<\/script>")):c.unshift(t.startInlineScript,">",`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,"<\/script>")}}function $n(e,t){e.push(_n("link"));for(var i in t)if(sn.call(t,i)){var c=t[i];if(c!=null)switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(w(399,"link"));default:on(e,i,c)}}return e.push("/>"),null}var xi=/(<\/|<)(s)(tyle)/gi;function wi(e,t,i,c){return""+t+(i==="s"?"\\73 ":"\\53 ")+c}function dt(e,t,i){e.push(_n(i));for(var c in t)if(sn.call(t,c)){var o=t[c];if(o!=null)switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(w(399,i));default:on(e,c,o)}}return e.push("/>"),null}function Rr(e,t){e.push(_n("title"));var i=null,c=null,o;for(o in t)if(sn.call(t,o)){var f=t[o];if(f!=null)switch(o){case"children":i=f;break;case"dangerouslySetInnerHTML":c=f;break;default:on(e,o,f)}}return e.push(">"),t=Array.isArray(i)?2>i.length?i[0]:null:i,typeof t!="function"&&typeof t!="symbol"&&t!==null&&t!==void 0&&e.push(O(""+t)),Re(e,c,i),e.push(Rl("title")),null}function gt(e,t){e.push(_n("script"));var i=null,c=null,o;for(o in t)if(sn.call(t,o)){var f=t[o];if(f!=null)switch(o){case"children":i=f;break;case"dangerouslySetInnerHTML":c=f;break;default:on(e,o,f)}}return e.push(">"),Re(e,c,i),typeof i=="string"&&e.push((""+i).replace(Tl,El)),e.push(Rl("script")),null}function Ti(e,t,i){e.push(_n(i));var c=i=null,o;for(o in t)if(sn.call(t,o)){var f=t[o];if(f!=null)switch(o){case"children":i=f;break;case"dangerouslySetInnerHTML":c=f;break;default:on(e,o,f)}}return e.push(">"),Re(e,c,i),i}function kr(e,t,i){e.push(_n(i));var c=i=null,o;for(o in t)if(sn.call(t,o)){var f=t[o];if(f!=null)switch(o){case"children":i=f;break;case"dangerouslySetInnerHTML":c=f;break;default:on(e,o,f)}}return e.push(">"),Re(e,c,i),typeof i=="string"?(e.push(O(i)),null):i}var _r=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ei=new Map;function _n(e){var t=Ei.get(e);if(t===void 0){if(!_r.test(e))throw Error(w(65,e));t="<"+e,Ei.set(e,t)}return t}function ne(e,t,i,c,o,f,d,R,b){switch(t){case"div":case"span":case"svg":case"path":break;case"a":e.push(_n("a"));var k=null,A=null,P;for(P in i)if(sn.call(i,P)){var M=i[P];if(M!=null)switch(P){case"children":k=M;break;case"dangerouslySetInnerHTML":A=M;break;case"href":M===""?dn(e,"href",""):on(e,P,M);break;default:on(e,P,M)}}if(e.push(">"),Re(e,A,k),typeof k=="string"){e.push(O(k));var W=null}else W=k;return W;case"g":case"p":case"li":break;case"select":e.push(_n("select"));var ln=null,p=null,j;for(j in i)if(sn.call(i,j)){var V=i[j];if(V!=null)switch(j){case"children":ln=V;break;case"dangerouslySetInnerHTML":p=V;break;case"defaultValue":case"value":break;default:on(e,j,V)}}return e.push(">"),Re(e,p,ln),ln;case"option":var $=R.selectedValue;e.push(_n("option"));var Cn=null,Pn=null,cn=null,fn=null,tn;for(tn in i)if(sn.call(i,tn)){var xe=i[tn];if(xe!=null)switch(tn){case"children":Cn=xe;break;case"selected":cn=xe;break;case"dangerouslySetInnerHTML":fn=xe;break;case"value":Pn=xe;default:on(e,tn,xe)}}if($!=null){var un=Pn!==null?""+Pn:yc(Cn);if(ue($)){for(var Fe=0;Fe<$.length;Fe++)if(""+$[Fe]===un){e.push(' selected=""');break}}else""+$===un&&e.push(' selected=""')}else cn&&e.push(' selected=""');return e.push(">"),Re(e,fn,Cn),Cn;case"textarea":e.push(_n("textarea"));var vn=null,Yn=null,Jn=null,Rn;for(Rn in i)if(sn.call(i,Rn)){var ve=i[Rn];if(ve!=null)switch(Rn){case"children":Jn=ve;break;case"value":vn=ve;break;case"defaultValue":Yn=ve;break;case"dangerouslySetInnerHTML":throw Error(w(91));default:on(e,Rn,ve)}}if(vn===null&&Yn!==null&&(vn=Yn),e.push(">"),Jn!=null){if(vn!=null)throw Error(w(92));if(ue(Jn)){if(1<Jn.length)throw Error(w(93));vn=""+Jn[0]}vn=""+Jn}return typeof vn=="string"&&vn[0]===` 2`&&e.push(` 3`),vn!==null&&e.push(O(""+vn)),null;case"input":e.push(_n("input"));var et=null,Pe=null,er=null,Rt=null,se=null,Le=null,Ze=null,Je=null,il=null,Nl;for(Nl in i)if(sn.call(i,Nl)){var pn=i[Nl];if(pn!=null)switch(Nl){case"children":case"dangerouslySetInnerHTML":throw Error(w(399,"input"));case"name":et=pn;break;case"formAction":Pe=pn;break;case"formEncType":er=pn;break;case"formMethod":Rt=pn;break;case"formTarget":se=pn;break;case"defaultChecked":il=pn;break;case"defaultValue":Ze=pn;break;case"checked":Je=pn;break;case"value":Le=pn;break;default:on(e,Nl,pn)}}var lt=ht(e,c,o,Pe,er,Rt,se,et);return Je!==null?J(e,"checked",Je):il!==null&&J(e,"checked",il),Le!==null?on(e,"value",Le):Ze!==null&&on(e,"value",Ze),e.push("/>"),lt?.forEach(Xn,e),null;case"button":e.push(_n("button"));var lr=null,Ji=null,Qi=null,nc=null,Vi=null,tr=null,ec=null,tt;for(tt in i)if(sn.call(i,tt)){var pe=i[tt];if(pe!=null)switch(tt){case"children":lr=pe;break;case"dangerouslySetInnerHTML":Ji=pe;break;case"name":Qi=pe;break;case"formAction":nc=pe;break;case"formEncType":Vi=pe;break;case"formMethod":tr=pe;break;case"formTarget":ec=pe;break;default:on(e,tt,pe)}}var rt=ht(e,c,o,nc,Vi,tr,ec,Qi);if(e.push(">"),rt?.forEach(Xn,e),Re(e,Ji,lr),typeof lr=="string"){e.push(O(lr));var ei=null}else ei=lr;return ei;case"form":e.push(_n("form"));var Ml=null,Ki=null,De=null,rr=null,kt=null,_t=null,ir;for(ir in i)if(sn.call(i,ir)){var al=i[ir];if(al!=null)switch(ir){case"children":Ml=al;break;case"dangerouslySetInnerHTML":Ki=al;break;case"action":De=al;break;case"encType":rr=al;break;case"method":kt=al;break;case"target":_t=al;break;default:on(e,ir,al)}}var pi=null,Qn=null;if(typeof De=="function"){var Ol=an(c,De);Ol!==null?(De=Ol.action||"",rr=Ol.encType,kt=Ol.method,_t=Ol.target,pi=Ol.data,Qn=Ol.name):(e.push(" ","action",'="',qn,'"'),_t=kt=rr=De=null,yi(c,o))}if(De!=null&&on(e,"action",De),rr!=null&&on(e,"encType",rr),kt!=null&&on(e,"method",kt),_t!=null&&on(e,"target",_t),e.push(">"),Qn!==null&&(e.push('<input type="hidden"'),dn(e,"name",Qn),e.push("/>"),pi?.forEach(Xn,e)),Re(e,Ki,Ml),typeof Ml=="string"){e.push(O(Ml));var St=null}else St=Ml;return St;case"menuitem":e.push(_n("menuitem"));for(var zl in i)if(sn.call(i,zl)){var li=i[zl];if(li!=null)switch(zl){case"children":case"dangerouslySetInnerHTML":throw Error(w(400));default:on(e,zl,li)}}return e.push(">"),null;case"object":e.push(_n("object"));var Be=null,Ll=null,it;for(it in i)if(sn.call(i,it)){var He=i[it];if(He!=null)switch(it){case"children":Be=He;break;case"dangerouslySetInnerHTML":Ll=He;break;case"data":var te=E(""+He);if(te==="")break;e.push(" ","data",'="',O(te),'"');break;default:on(e,it,He)}}if(e.push(">"),Re(e,Ll,Be),typeof Be=="string"){e.push(O(Be));var Ft=null}else Ft=Be;return Ft;case"title":var fe=R.tagScope&1,ji=R.tagScope&4;if(R.insertionMode===4||fe||i.itemProp!=null)var ar=Rr(e,i);else ji?ar=null:(Rr(o.hoistableChunks,i),ar=void 0);return ar;case"link":var cr=R.tagScope&1,lc=R.tagScope&4,tc=i.rel,cl=i.href,at=i.precedence;if(R.insertionMode===4||cr||i.itemProp!=null||typeof tc!="string"||typeof cl!="string"||cl===""){$n(e,i);var Dl=null}else if(i.rel==="stylesheet")if(typeof at!="string"||i.disabled!=null||i.onLoad||i.onError)Dl=$n(e,i);else{var re=o.styles.get(at),Pt=c.styleResources.hasOwnProperty(cl)?c.styleResources[cl]:void 0;if(Pt!==null){c.styleResources[cl]=null,re||(re={precedence:O(at),rules:[],hrefs:[],sheets:new Map},o.styles.set(at,re));var At={state:0,props:Ln({},i,{"data-precedence":i.precedence,precedence:null})};if(Pt){Pt.length===2&&Yt(At.props,Pt);var ti=o.preloads.stylesheets.get(cl);ti&&0<ti.length?ti.length=0:At.state=1}re.sheets.set(cl,At),d&&d.stylesheets.add(At)}else if(re){var ri=re.sheets.get(cl);ri&&d&&d.stylesheets.add(ri)}b&&e.push("<!-- -->"),Dl=null}else i.onLoad||i.onError?Dl=$n(e,i):(b&&e.push("<!-- -->"),Dl=lc?null:$n(o.hoistableChunks,i));return Dl;case"script":var qi=R.tagScope&1,ii=i.async;if(typeof i.src!="string"||!i.src||!ii||typeof ii=="function"||typeof ii=="symbol"||i.onLoad||i.onError||R.insertionMode===4||qi||i.itemProp!=null)var $i=gt(e,i);else{var Bn=i.src;if(i.type==="module")var ai=c.moduleScriptResources,mt=o.preloads.moduleScripts;else ai=c.scriptResources,mt=o.preloads.scripts;var It=ai.hasOwnProperty(Bn)?ai[Bn]:void 0;if(It!==null){ai[Bn]=null;var ur=i;if(It){It.length===2&&(ur=Ln({},i),Yt(ur,It));var ci=mt.get(Bn);ci&&(ci.length=0)}var or=[];o.scripts.add(or),gt(or,ur)}b&&e.push("<!-- -->"),$i=null}return $i;case"style":var sr=R.tagScope&1,ul=i.precedence,Ae=i.href,na=i.nonce;if(R.insertionMode===4||sr||i.itemProp!=null||typeof ul!="string"||typeof Ae!="string"||Ae===""){e.push(_n("style"));var Bl=null,ea=null,ol;for(ol in i)if(sn.call(i,ol)){var ct=i[ol];if(ct!=null)switch(ol){case"children":Bl=ct;break;case"dangerouslySetInnerHTML":ea=ct;break;default:on(e,ol,ct)}}e.push(">");var sl=Array.isArray(Bl)?2>Bl.length?Bl[0]:null:Bl;typeof sl!="function"&&typeof sl!="symbol"&&sl!==null&&sl!==void 0&&e.push((""+sl).replace(xi,wi)),Re(e,ea,Bl),e.push(Rl("style"));var Nt=null}else{var fl=o.styles.get(ul);if((c.styleResources.hasOwnProperty(Ae)?c.styleResources[Ae]:void 0)!==null){c.styleResources[Ae]=null,fl||(fl={precedence:O(ul),rules:[],hrefs:[],sheets:new Map},o.styles.set(ul,fl));var la=o.nonce.style;if(!la||la===na){fl.hrefs.push(O(Ae));var ta=fl.rules,hl=null,fr=null,ut;for(ut in i)if(sn.call(i,ut)){var dl=i[ut];if(dl!=null)switch(ut){case"children":hl=dl;break;case"dangerouslySetInnerHTML":fr=dl}}var Hl=Array.isArray(hl)?2>hl.length?hl[0]:null:hl;typeof Hl!="function"&&typeof Hl!="symbol"&&Hl!==null&&Hl!==void 0&&ta.push((""+Hl).replace(xi,wi)),Re(ta,fr,hl)}}fl&&d&&d.styles.add(fl),b&&e.push("<!-- -->"),Nt=void 0}return Nt;case"meta":var Ue=R.tagScope&1,ui=R.tagScope&4;if(R.insertionMode===4||Ue||i.itemProp!=null)var ra=dt(e,i,"meta");else b&&e.push("<!-- -->"),ra=ui?null:typeof i.charSet=="string"?dt(o.charsetChunks,i,"meta"):i.name==="viewport"?dt(o.viewportChunks,i,"meta"):dt(o.hoistableChunks,i,"meta");return ra;case"listing":case"pre":e.push(_n(t));var Mt=null,n=null,l;for(l in i)if(sn.call(i,l)){var r=i[l];if(r!=null)switch(l){case"children":Mt=r;break;case"dangerouslySetInnerHTML":n=r;break;default:on(e,l,r)}}if(e.push(">"),n!=null){if(Mt!=null)throw Error(w(60));if(typeof n!="object"||!("__html"in n))throw Error(w(61));var a=n.__html;a!=null&&(typeof a=="string"&&0<a.length&&a[0]===` 4`?e.push(` 5`,a):e.push(""+a))}return typeof Mt=="string"&&Mt[0]===` 6`&&e.push(` 7`),Mt;case"img":var u=R.tagScope&3,s=i.src,h=i.srcSet;if(!(i.loading==="lazy"||!s&&!h||typeof s!="string"&&s!=null||typeof h!="string"&&h!=null||i.fetchPriority==="low"||u)&&(typeof s!="string"||s[4]!==":"||s[0]!=="d"&&s[0]!=="D"||s[1]!=="a"&&s[1]!=="A"||s[2]!=="t"&&s[2]!=="T"||s[3]!=="a"&&s[3]!=="A")&&(typeof h!="string"||h[4]!==":"||h[0]!=="d"&&h[0]!=="D"||h[1]!=="a"&&h[1]!=="A"||h[2]!=="t"&&h[2]!=="T"||h[3]!=="a"&&h[3]!=="A")){d!==null&&R.tagScope&64&&(d.suspenseyImages=!0);var y=typeof i.sizes=="string"?i.sizes:void 0,v=h?h+` 8`+(y||""):s,x=o.preloads.images,C=x.get(v);if(C)(i.fetchPriority==="high"||10>o.highImagePreloads.size)&&(x.delete(v),o.highImagePreloads.add(C));else if(!c.imageResources.hasOwnProperty(v)){c.imageResources[v]=jn;var S=i.crossOrigin,N=typeof S=="string"?S==="use-credentials"?S:"":void 0,z=o.headers,rn;z&&0<z.remainingCapacity&&typeof i.srcSet!="string"&&(i.fetchPriority==="high"||500>z.highImagePreloads.length)&&(rn=Zn(s,"image",{imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:N,integrity:i.integrity,nonce:i.nonce,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.refererPolicy}),0<=(z.remainingCapacity-=rn.length+2))?(o.resets.image[v]=jn,z.highImagePreloads&&(z.highImagePreloads+=", "),z.highImagePreloads+=rn):(C=[],$n(C,{rel:"preload",as:"image",href:h?void 0:s,imageSrcSet:h,imageSizes:y,crossOrigin:N,integrity:i.integrity,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.referrerPolicy}),i.fetchPriority==="high"||10>o.highImagePreloads.size?o.highImagePreloads.add(C):(o.bulkPreloads.add(C),x.set(v,C)))}}return dt(e,i,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return dt(e,i,t);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":if(2>R.insertionMode){var nn=f||o.preamble;if(nn.headChunks)throw Error(w(545,"`<head>`"));f!==null&&e.push("<!--head-->"),nn.headChunks=[];var en=Ti(nn.headChunks,i,"head")}else en=kr(e,i,"head");return en;case"body":if(2>R.insertionMode){var En=f||o.preamble;if(En.bodyChunks)throw Error(w(545,"`<body>`"));f!==null&&e.push("<!--body-->"),En.bodyChunks=[];var bn=Ti(En.bodyChunks,i,"body")}else bn=kr(e,i,"body");return bn;case"html":if(R.insertionMode===0){var ie=f||o.preamble;if(ie.htmlChunks)throw Error(w(545,"`<html>`"));f!==null&&e.push("<!--html-->"),ie.htmlChunks=[""];var we=Ti(ie.htmlChunks,i,"html")}else we=kr(e,i,"html");return we;default:if(t.indexOf("-")!==-1){e.push(_n(t));var We=null,Q=null,he;for(he in i)if(sn.call(i,he)){var On=i[he];if(On!=null){var be=he;switch(he){case"children":We=On;break;case"dangerouslySetInnerHTML":Q=On;break;case"style":L(e,On);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":be="class";default:if(el(he)&&typeof On!="function"&&typeof On!="symbol"&&On!==!1){if(On===!0)On="";else if(typeof On=="object")continue;e.push(" ",be,'="',O(On),'"')}}}}return e.push(">"),Re(e,Q,We),We}}return kr(e,i,t)}var Ci=new Map;function Rl(e){var t=Ci.get(e);return t===void 0&&(t="</"+e+">",Ci.set(e,t)),t}function Ri(e,t){e=e.preamble,e.htmlChunks===null&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),e.headChunks===null&&t.headChunks&&(e.headChunks=t.headChunks),e.bodyChunks===null&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function Sr(e,t){t=t.bootstrapChunks;for(var i=0;i<t.length-1;i++)e.push(t[i]);return i<t.length?(i=t[i],t.length=0,e.push(i)):!0}function Dt(e,t,i){if(e.push('<!--$?--><template id="'),i===null)throw Error(w(395));return e.push(t.boundaryPrefix),t=i.toString(16),e.push(t),e.push('"></template>')}function Xe(e,t,i,c){switch(i.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=c.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=c.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=c.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=c.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=c.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=c.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=c.toString(16),e.push(t),e.push('">');default:throw Error(w(397))}}function Aa(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(w(397))}}var ma=/[<\u2028\u2029]/g;function xc(e){return JSON.stringify(e).replace(ma,function(t){switch(t){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 Ia=/[&><\u2028\u2029]/g;function Bt(e){return JSON.stringify(e).replace(Ia,function(t){switch(t){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 Ht=!1,ee=!0;function Oe(e){var t=e.rules,i=e.hrefs,c=0;if(i.length){for(this.push(Me.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');c<i.length-1;c++)this.push(i[c]),this.push(" ");for(this.push(i[c]),this.push('">'),c=0;c<t.length;c++)this.push(t[c]);ee=this.push("</style>"),Ht=!0,t.length=0,i.length=0}}function Sn(e){return e.state!==2?Ht=!0:!1}function Fr(e,t,i){return Ht=!1,ee=!0,Me=i,t.styles.forEach(Oe,e),Me=null,t.stylesheets.forEach(Sn),Ht&&(i.stylesToHoist=!0),ee}function ke(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Fn=[];function Na(e){$n(Fn,e.props);for(var t=0;t<Fn.length;t++)this.push(Fn[t]);Fn.length=0,e.state=2}function Ma(e){var t=0<e.sheets.size;e.sheets.forEach(Na,this),e.sheets.clear();var i=e.rules,c=e.hrefs;if(!t||c.length){if(this.push(Me.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,c.length){for(this.push('" data-href="');e<c.length-1;e++)this.push(c[e]),this.push(" ");this.push(c[e])}for(this.push('">'),e=0;e<i.length;e++)this.push(i[e]);this.push("</style>"),i.length=0,c.length=0}}function ki(e){if(e.state===0){e.state=1;var t=e.props;for($n(Fn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Fn.length;e++)this.push(Fn[e]);Fn.length=0}}function Oa(e){e.sheets.forEach(ki,this),e.sheets.clear()}function Ut(e,t){(t.instructions&32)===0&&(t.instructions|=32,e.push(' id="',O("_"+t.idPrefix+"R_"),'"'))}function za(e,t){e.push("[");var i="[";t.stylesheets.forEach(function(c){if(c.state!==2)if(c.state===3)e.push(i),c=Bt(""+c.props.href),e.push(c),e.push("]"),i=",[";else{e.push(i);var o=c.props["data-precedence"],f=c.props,d=E(""+c.props.href);d=Bt(d),e.push(d),o=""+o,e.push(","),o=Bt(o),e.push(o);for(var R in f)if(sn.call(f,R)&&(o=f[R],o!=null))switch(R){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(w(399,"link"));default:gn(e,R,o)}e.push("]"),i=",[",c.state=3}}),e.push("]")}function gn(e,t,i){var c=t.toLowerCase();switch(typeof i){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":c="class",t=""+i;break;case"hidden":if(i===!1)return;t="";break;case"src":case"href":i=E(i),t=""+i;break;default:if(2<t.length&&(t[0]==="o"||t[0]==="O")&&(t[1]==="n"||t[1]==="N")||!el(t))return;t=""+i}e.push(","),c=Bt(c),e.push(c),e.push(","),c=Bt(t),e.push(c)}function Tn(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Wt(e){var t=le||null;if(t){var i=t.resumableState,c=t.renderState;if(typeof e=="string"&&e){if(!i.dnsResources.hasOwnProperty(e)){i.dnsResources[e]=null,i=c.headers;var o,f;(f=i&&0<i.remainingCapacity)&&(f=(o="<"+(""+e).replace(Pr,Ar)+">; rel=dns-prefetch",0<=(i.remainingCapacity-=o.length+2))),f?(c.resets.dns[e]=null,i.preconnects&&(i.preconnects+=", "),i.preconnects+=o):(o=[],$n(o,{href:e,rel:"dns-prefetch"}),c.preconnects.add(o))}nt(t)}}else q.D(e)}function _e(e,t){var i=le||null;if(i){var c=i.resumableState,o=i.renderState;if(typeof e=="string"&&e){var f=t==="use-credentials"?"credentials":typeof t=="string"?"anonymous":"default";if(!c.connectResources[f].hasOwnProperty(e)){c.connectResources[f][e]=null,c=o.headers;var d,R;if(R=c&&0<c.remainingCapacity){if(R="<"+(""+e).replace(Pr,Ar)+">; rel=preconnect",typeof t=="string"){var b=(""+t).replace(kl,mr);R+='; crossorigin="'+b+'"'}R=(d=R,0<=(c.remainingCapacity-=d.length+2))}R?(o.resets.connect[f][e]=null,c.preconnects&&(c.preconnects+=", "),c.preconnects+=d):(f=[],$n(f,{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(f))}nt(i)}}else q.C(e,t)}function wc(e,t,i){var c=le||null;if(c){var o=c.resumableState,f=c.renderState;if(t&&e){switch(t){case"image":if(i)var d=i.imageSrcSet,R=i.imageSizes,b=i.fetchPriority;var k=d?d+` 9`+(R||""):e;if(o.imageResources.hasOwnProperty(k))return;o.imageResources[k]=jn,o=f.headers;var A;o&&0<o.remainingCapacity&&typeof d!="string"&&b==="high"&&(A=Zn(e,t,i),0<=(o.remainingCapacity-=A.length+2))?(f.resets.image[k]=jn,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=A):(o=[],$n(o,Ln({rel:"preload",href:d?void 0:e,as:t},i)),b==="high"?f.highImagePreloads.add(o):(f.bulkPreloads.add(o),f.preloads.images.set(k,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;d=[],$n(d,Ln({rel:"preload",href:e,as:t},i)),o.styleResources[e]=!i||typeof i.crossOrigin!="string"&&typeof i.integrity!="string"?jn:[i.crossOrigin,i.integrity],f.preloads.stylesheets.set(e,d),f.bulkPreloads.add(d);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;d=[],f.preloads.scripts.set(e,d),f.bulkPreloads.add(d),$n(d,Ln({rel:"preload",href:e,as:t},i)),o.scriptResources[e]=!i||typeof i.crossOrigin!="string"&&typeof i.integrity!="string"?jn:[i.crossOrigin,i.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if(d=o.unknownResources[t],d.hasOwnProperty(e))return}else d={},o.unknownResources[t]=d;d[e]=jn,(o=f.headers)&&0<o.remainingCapacity&&t==="font"&&(k=Zn(e,t,i),0<=(o.remainingCapacity-=k.length+2))?(f.resets.font[e]=jn,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=k):(o=[],e=Ln({rel:"preload",href:e,as:t},i),$n(o,e),t)==="font"?f.fontPreloads.add(o):f.bulkPreloads.add(o)}nt(c)}}else q.L(e,t,i)}function _i(e,t){var i=le||null;if(i){var c=i.resumableState,o=i.renderState;if(e){var f=t&&typeof t.as=="string"?t.as:"script";switch(f){case"script":if(c.moduleScriptResources.hasOwnProperty(e))return;f=[],c.moduleScriptResources[e]=!t||typeof t.crossOrigin!="string"&&typeof t.integrity!="str
9ing"?jn:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,f);break;default:if(c.moduleUnknownResources.hasOwnProperty(f)){var d=c.unknownResources[f];if(d.hasOwnProperty(e))return}else d={},c.moduleUnknownResources[f]=d;f=[],d[e]=jn}$n(f,Ln({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(f),nt(i)}}else q.m(e,t)}function La(e,t,i){var c=le||null;if(c){var o=c.resumableState,f=c.renderState;if(e){t=t||"default";var d=f.styles.get(t),R=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;R!==null&&(o.styleResources[e]=null,d||(d={precedence:O(t),rules:[],hrefs:[],sheets:new Map},f.styles.set(t,d)),t={state:0,props:Ln({rel:"stylesheet",href:e,"data-precedence":t},i)},R&&(R.length===2&&Yt(t.props,R),(f=f.preloads.stylesheets.get(e))&&0<f.length?f.length=0:t.state=1),d.sheets.set(e,t),nt(c))}}else q.S(e,t,i)}function Da(e,t){var i=le||null;if(i){var c=i.resumableState,o=i.renderState;if(e){var f=c.scriptResources.hasOwnProperty(e)?c.scriptResources[e]:void 0;f!==null&&(c.scriptResources[e]=null,t=Ln({src:e,async:!0},t),f&&(f.length===2&&Yt(t,f),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),gt(e,t),nt(i))}}else q.X(e,t)}function Tc(e,t){var i=le||null;if(i){var c=i.resumableState,o=i.renderState;if(e){var f=c.moduleScriptResources.hasOwnProperty(e)?c.moduleScriptResources[e]:void 0;f!==null&&(c.moduleScriptResources[e]=null,t=Ln({src:e,type:"module",async:!0},t),f&&(f.length===2&&Yt(t,f),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),gt(e,t),nt(i))}}else q.M(e,t)}function Yt(e,t){e.crossOrigin==null&&(e.crossOrigin=t[0]),e.integrity==null&&(e.integrity=t[1])}function Zn(e,t,i){e=(""+e).replace(Pr,Ar),t=(""+t).replace(kl,mr),t="<"+e+'>; rel=preload; as="'+t+'"';for(var c in i)sn.call(i,c)&&(e=i[c],typeof e=="string"&&(t+="; "+c.toLowerCase()+'="'+(""+e).replace(kl,mr)+'"'));return t}var Pr=/[<>\r\n]/g;function Ar(e){switch(e){case"<":return"%3C";case">":return"%3E";case` 10`:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer 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 kl=/["';,\r\n]/g;function mr(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case` 11`:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer 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 Ec(e){this.styles.add(e)}function Cc(e){this.stylesheets.add(e)}function vt(e,t){t.styles.forEach(Ec,e),t.stylesheets.forEach(Cc,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function Ir(e,t){var i=e.idPrefix,c=[],o=e.bootstrapScriptContent,f=e.bootstrapScripts,d=e.bootstrapModules;o!==void 0&&(c.push("<script"),Ut(c,e),c.push(">",(""+o).replace(Tl,El),"<\/script>")),o=i+"P:";var R=i+"S:";i+="B:";var b=new Set,k=new Set,A=new Set,P=new Map,M=new Set,W=new Set,ln=new Set,p={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(f!==void 0)for(var j=0;j<f.length;j++){var V=f[j],$,Cn=void 0,Pn=void 0,cn={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof V=="string"?cn.href=$=V:(cn.href=$=V.src,cn.integrity=Pn=typeof V.integrity=="string"?V.integrity:void 0,cn.crossOrigin=Cn=typeof V=="string"||V.crossOrigin==null?void 0:V.crossOrigin==="use-credentials"?"use-credentials":""),V=e;var fn=$;V.scriptResources[fn]=null,V.moduleScriptResources[fn]=null,V=[],$n(V,cn),M.add(V),c.push('<script src="',O($),'"'),typeof Pn=="string"&&c.push(' integrity="',O(Pn),'"'),typeof Cn=="string"&&c.push(' crossorigin="',O(Cn),'"'),Ut(c,e),c.push(' async=""><\/script>')}if(d!==void 0)for(f=0;f<d.length;f++)cn=d[f],Cn=$=void 0,Pn={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof cn=="string"?Pn.href=j=cn:(Pn.href=j=cn.src,Pn.integrity=Cn=typeof cn.integrity=="string"?cn.integrity:void 0,Pn.crossOrigin=$=typeof cn=="string"||cn.crossOrigin==null?void 0:cn.crossOrigin==="use-credentials"?"use-credentials":""),cn=e,V=j,cn.scriptResources[V]=null,cn.moduleScriptResources[V]=null,cn=[],$n(cn,Pn),M.add(cn),c.push('<script type="module" src="',O(j),'"'),typeof Cn=="str
11ing"&&c.push(' integrity="',O(Cn),'"'),typeof $=="string"&&c.push(' crossorigin="',O($),'"'),Ut(c,e),c.push(' async=""><\/script>');return{placeholderPrefix:o,segmentPrefix:R,boundaryPrefix:i,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:c,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:b,fontPreloads:k,highImagePreloads:A,styles:P,bootstrapScripts:M,scripts:W,bulkPreloads:ln,preloads:p,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}function Nr(e,t,i,c){return i.generateStaticMarkup?(e.push(O(t)),!1):(t===""?e=c:(c&&e.push("<!-- -->"),e.push(O(t)),e=!0),e)}function _l(e,t,i,c){t.generateStaticMarkup||i&&c&&e.push("<!-- -->")}var Si=Function.prototype.bind,Rc=Symbol.for("react.client.reference");function Gt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Rc?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case K:return"Fragment";case _:return"Profiler";case hn:return"StrictMode";case kn:return"Suspense";case ce:return"SuspenseList";case Hn:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Y:return"Portal";case An:return e.displayName||"Context";case G:return(e._context.displayName||"Context")+".Consumer";case Gn:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mn:return t=e.displayName||null,t!==null?t:Gt(e.type)||"Memo";case U:t=e._payload,e=e._init;try{return Gt(e(t))}catch{}}return null}var Wn={},Zl=null;function Mr(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var i=t.parent;if(e===null){if(i!==null)throw Error(w(401))}else{if(i===null)throw Error(w(401));Mr(e,i)}t.context._currentValue2=t.value}}function Fi(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&Fi(e)}function Sl(e){var t=e.parent;t!==null&&Sl(t),e.context._currentValue2=e.value}function Pi(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(w(402));e.depth===t.depth?Mr(e,t):Pi(e,t)}function Ai(e,t){var i=t.parent;if(i===null)throw Error(w(402));e.depth===i.depth?Mr(e,i):Ai(e,i),t.context._currentValue2=t.value}function Fl(e){var t=Zl;t!==e&&(t===null?Sl(e):e===null?Fi(t):t.depth===e.depth?Mr(t,e):t.depth>e.depth?Pi(t,e):Ai(t,e),Zl=e)}var Ba={enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},kc={id:1,overflow:""};function Jl(e,t,i){var c=e.id;e=e.overflow;var o=32-Or(c)-1;c&=~(1<<o),i+=1;var f=32-Or(t)+o;if(30<f){var d=o-o%5;return f=(c&(1<<d)-1).toString(32),c>>=d,o-=d,{id:1<<32-Or(t)+o|i<<o|c,overflow:f+e}}return{id:1<<f|i<<o|c,overflow:e}}var Or=Math.clz32?Math.clz32:Fc,_c=Math.log,Sc=Math.LN2;function Fc(e){return e>>>=0,e===0?32:31-(_c(e)/Sc|0)|0}function ge(){}var Se=Error(w(460));function Pc(e,t,i){switch(i=e[i],i===void 0?e.push(t):i!==t&&(t.then(ge,ge),t=i),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ge,ge):(e=t,e.status="pending",e.then(function(c){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=c}},function(c){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=c}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw zr=t,Se}}var zr=null;function Lr(){if(zr===null)throw Error(w(459));var e=zr;return zr=null,e}function Ac(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ha=typeof Object.is=="function"?Object.is:Ac,tl=null,mi=null,Ii=null,Ni=null,Dr=null,yn=null,Xt=!1,Br=!1,Zt=0,Jt=0,Qt=-1,Hr=0,bt=null,Pl=null,Ur=0;function rl(){if(tl===null)throw Error(w(321));return tl}function Ua(){if(0<Ur)throw Error(w(312));return{memoizedState:null,queue:null,next:null}}function Mi(){return yn===null?Dr===null?(Xt=!1,Dr=yn=Ua()):(Xt=!0,yn=Dr):yn.next===null?(Xt=!1,yn=yn.next=Ua()):(Xt=!0,yn=yn.next),yn}function yt(){var e=bt;return bt=null,e}function Vt(){Ni=Ii=mi=tl=null,Br=!1,Dr=null,Ur=0,yn=Pl=null}function Wa(e,t){return typeof t=="function"?t(e):t}function Ya(e,t,i){if(tl=rl(),yn=Mi(),Xt){var c=yn.queue;if(t=c.dispatch,Pl!==null&&(i=Pl.get(c),i!==void 0)){Pl.delete(c),c=yn.memoizedState;do c=e(c,i.action),i=i.next;while(i!==null);return yn.memoizedState=c,[c,t]}return[yn.memoizedState,t]}return e=e===Wa?typeof t=="function"?t():t:i!==void 0?i(t):t,yn.memoizedState=e,e=yn.queue={last:null,dispatch:null},e=e.dispatch=mc.bind(null,tl,e),[yn.memoizedState,e]}function Ga(e,t){if(tl=rl(),yn=Mi(),t=t===void 0?null:t,yn!==null){var i=yn.memoizedState;if(i!==null&&t!==null){var c=i[1];n:if(c===null)c=!1;else{for(var o=0;o<c.length&&o<t.length;o++)if(!Ha(t[o],c[o])){c=!1;break n}c=!0}if(c)return i[0]}}return e=e(),yn.memoizedState=[e,t],e}function mc(e,t,i){if(25<=Ur)throw Error(w(301));if(e===tl)if(Br=!0,e={action:i,next:null},Pl===null&&(Pl=new Map),i=Pl.get(t),i===void 0)Pl.set(t,e);else{for(t=i;t.next!==null;)t=t.next;t.next=e}}function Ic(){throw Error(w(440))}function Nc(){throw Error(w(394))}function Mc(){throw Error(w(479))}function Oi(e,t,i){rl();var c=Jt++,o=Ii;if(typeof e.$$FORM_ACTION=="function"){var f=null,d=Ni;o=o.formState;var R=e.$$IS_SIGNATURE_EQUAL;if(o!==null&&typeof R=="function"){var b=o[1];R.call(e,o[2],o[3])&&(f=i!==void 0?"p"+i:"k"+xl(JSON.stringify([d,null,c]),0),b===f&&(Qt=c,t=o[0]))}var k=e.bind(null,t);return e=function(P){k(P)},typeof k.$$FORM_ACTION=="function"&&(e.$$FORM_ACTION=function(P){P=k.$$FORM_ACTION(P),i!==void 0&&(i+="",P.action=i);var M=P.data;return M&&(f===null&&(f=i!==void 0?"p"+i:"k"+xl(JSON.stringify([d,null,c]),0)),M.append("$ACTION_KEY",f)),P}),[t,e,!1]}var A=e.bind(null,t);return[t,function(P){A(P)},!1]}function Xa(e){var t=Hr;return Hr+=1,bt===null&&(bt=[]),Pc(bt,e,t)}function Oc(){throw Error(w(393))}var Za={readContext:function(e){return e._currentValue2},use:function(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xa(e);if(e.$$typeof===An)return e._currentValue2}throw Error(w(438,String(e)))},useContext:function(e){return rl(),e._currentValue2},useMemo:Ga,useReducer:Ya,useRef:function(e){tl=rl(),yn=Mi();var t=yn.memoizedState;return t===null?(e={current:e},yn.memoizedState=e):t},useState:function(e){return Ya(Wa,e)},useInsertionEffect:ge,useLayoutEffect:ge,useCallback:function(e,t){return Ga(function(){return e},t)},useImperativeHandle:ge,useEffect:ge,useDebugValue:ge,useDeferredValue:function(e,t){return rl(),t!==void 0?t:e},useTransition:function(){return rl(),[!1,Nc]},useId:function(){var e=mi.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-Or(e)-1)).toString(32)+t;var i=Wr;if(i===null)throw Error(w(404));return t=Zt++,e="_"+i.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,i){if(i===void 0)throw Error(w(407));return i()},useOptimistic:function(e){return rl(),[e,Mc]},useActionState:Oi,useFormState:Oi,useHostTransitionStatus:function(){return rl(),In},useMemoCache:function(e){for(var t=Array(e),i=0;i<e;i++)t[i]=me;return t},useCacheRefresh:function(){return Oc},useEffectEvent:function(){return Ic}},Wr=null,zc={getCacheForType:function(){throw Error(w(248))}
vendor: 36,264 bytes, lines 11-27
11,cacheSignal:function(){throw Error(w(248))}},zi,Ja;function xt(e){if(zi===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);zi=t&&t[1]||"",Ja=-1<i.stack.indexOf(` 12 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 13`+zi+e+Ja}var Li=!1;function Yr(e,t){if(!e||Li)return"";Li=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(t){var P=function(){throw Error()};if(Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(W){var M=W}Reflect.construct(e,[],P)}else{try{P.call()}catch(W){M=W}e.call(P.prototype)}}else{try{throw Error()}catch(W){M=W}(P=e())&&typeof P.catch=="function"&&P.catch(function(){})}}catch(W){if(W&&M&&typeof W.stack=="string")return[W.stack,M.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=c.DetermineComponentFrameRoot(),d=f[0],R=f[1];if(d&&R){var b=d.split(` 14`),k=R.split(` 15`);for(o=c=0;c<b.length&&!b[c].includes("DetermineComponentFrameRoot");)c++;for(;o<k.length&&!k[o].includes("DetermineComponentFrameRoot");)o++;if(c===b.length||o===k.length)for(c=b.length-1,o=k.length-1;1<=c&&0<=o&&b[c]!==k[o];)o--;for(;1<=c&&0<=o;c--,o--)if(b[c]!==k[o]){if(c!==1||o!==1)do if(c--,o--,0>o||b[c]!==k[o]){var A=` 16`+b[c].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}while(1<=c&&0<=o);break}}}finally{Li=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?xt(i):""}function Qa(e){if(typeof e=="string")return xt(e);if(typeof e=="function")return e.prototype&&e.prototype.isReactComponent?Yr(e,!0):Yr(e,!1);if(typeof e=="object"&&e!==null){switch(e.$$typeof){case Gn:return Yr(e.render,!1);case mn:return Yr(e.type,!1);case U:var t=e,i=t._payload;t=t._init;try{e=t(i)}catch{return xt("Lazy")}return Qa(e)}if(typeof e.name=="string"){n:{i=e.name,t=e.env;var c=e.debugLocation;if(c!=null&&(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,c=c.stack,Error.prepareStackTrace=e,c.startsWith(`Error: react-stack-top-frame 17`)&&(c=c.slice(29)),e=c.indexOf(` 18`),e!==-1&&(c=c.slice(e+1)),e=c.indexOf("react_stack_bottom_frame"),e!==-1&&(e=c.lastIndexOf(` 19`,e)),e=e!==-1?c=c.slice(0,e):"",c=e.lastIndexOf(` 20`),e=c===-1?e:e.slice(c+1),e.indexOf(i)!==-1)){i=` 21`+e;break n}i=xt(i+(t?" ["+t+"]":""))}return i}}switch(e){case ce:return xt("SuspenseList");case kn:return xt("Suspense")}return""}function wt(e,t){return(500<t.byteSize||!1)&&t.contentPreamble===null}function Lc(e){if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var t=e.environmentName;e=[e].slice(0),typeof e[0]=="string"?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),t=Si.apply(console.error,e),t()}else console.error(e);return null}function Dc(e,t,i,c,o,f,d,R,b,k,A){var P=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=i,this.progressiveChunkSize=c===void 0?12800:c,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=P,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=o===void 0?Lc:o,this.onPostpone=k===void 0?ge:k,this.onAllReady=f===void 0?ge:f,this.onShellReady=d===void 0?ge:d,this.onShellError=R===void 0?ge:R,this.onFatalError=b===void 0?ge:b,this.formState=A===void 0?null:A}function Bc(e,t,i,c,o,f,d,R,b,k,A,P){return t=new Dc(t,i,c,o,f,d,R,b,k,A,P),i=Ql(t,0,null,c,!1,!1),i.parentFlushed=!0,e=Gr(t,null,e,-1,null,i,null,null,t.abortableTasks,null,c,null,kc,null,null),Al(e),t.pingedTasks.push(e),t}var le=null;function Tt(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,ja(e))}function Di(e,t,i,c,o){return i={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:i,errorDigest:null,contentState:Tn(),fallbackState:Tn(),contentPreamble:c,fallbackPreamble:o,trackedContentKeyPath:null,trackedFallbackNode:null},t!==null&&(t.pendingTasks++,c=t.boundaries,c!==null&&(e.allPendingTasks++,i.pendingTasks++,c.push(i)),e=t.inheritedHoistables,e!==null&&vt(i.contentState,e)),i}function Gr(e,t,i,c,o,f,d,R,b,k,A,P,M,W,ln){e.allPendingTasks++,o===null?e.pendingRootTasks++:o.pendingTasks++,W!==null&&W.pendingTasks++;var p={replay:null,node:i,childIndex:c,ping:function(){return Tt(e,p)},blockedBoundary:o,blockedSegment:f,blockedPreamble:d,hoistableState:R,abortSet:b,keyPath:k,formatContext:A,context:P,treeContext:M,row:W,componentStack:ln,thenableState:t};return b.add(p),p}function Va(e,t,i,c,o,f,d,R,b,k,A,P,M,W){e.allPendingTasks++,f===null?e.pendingRootTasks++:f.pendingTasks++,M!==null&&M.pendingTasks++,i.pendingTasks++;var ln={replay:i,node:c,childIndex:o,ping:function(){return Tt(e,ln)},blockedBoundary:f,blockedSegment:null,blockedPreamble:null,hoistableState:d,abortSet:R,keyPath:b,formatContext:k,context:A,treeContext:P,row:M,componentStack:W,thenableState:t};return R.add(ln),ln}function Ql(e,t,i,c,o,f){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:c,boundary:i,lastPushedText:o,textEmbedded:f}}function Al(e){var t=e.node;typeof t=="object"&&t!==null&&t.$$typeof===B&&(e.componentStack={parent:e.componentStack,type:t.type})}function Kt(e){return e===null?null:{parent:e.parent,type:"Suspense Fallback"}}function ml(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var i="",c=e;do i+=Qa(c.type),c=c.parent;while(c);var o=i}catch(f){o=` 22Error generating stack: `+f.message+` 23`+f.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function oe(e,t,i){if(e=e.onError,t=e(t,i),t==null||typeof t=="string")return t}function Et(e,t){var i=e.onShellError,c=e.onFatalError;i(t),c(t),e.destination!==null?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function xn(e,t){Ve(e,t.next,t.hoistables)}function Ve(e,t,i){for(;t!==null;){i!==null&&(vt(t.hoistables,i),t.inheritedHoistables=i);var c=t.boundaries;if(c!==null){t.boundaries=null;for(var o=0;o<c.length;o++){var f=c[o];i!==null&&vt(f.contentState,i),Il(e,f,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;i=t.hoistables,t=t.next}}function Bi(e,t){var i=t.boundaries;if(i!==null&&t.pendingTasks===i.length){for(var c=!0,o=0;o<i.length;o++){var f=i[o];if(f.pendingTasks!==1||f.parentFlushed||wt(e,f)){c=!1;break}}c&&Ve(e,t,t.hoistables)}}function pt(e){var t={pendingTasks:1,boundaries:null,hoistables:Tn(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function Ka(e,t,i,c,o){var f=t.keyPath,d=t.treeContext,R=t.row;t.keyPath=i,i=c.length;var b=null;if(t.replay!==null){var k=t.replay.slots;if(k!==null&&typeof k=="object")for(var A=0;A<i;A++){var P=o!=="backwards"&&o!=="unstable_legacy-backwards"?A:i-1-A,M=c[P];t.row=b=pt(b),t.treeContext=Jl(d,i,P);var W=k[P];typeof W=="number"?(Zr(e,t,W,M,P),delete k[P]):Kn(e,t,M,P),--b.pendingTasks===0&&xn(e,b)}else for(k=0;k<i;k++)A=o!=="backwards"&&o!=="unstable_legacy-backwards"?k:i-1-k,P=c[A],t.row=b=pt(b),t.treeContext=Jl(d,i,A),Kn(e,t,P,A),--b.pendingTasks===0&&xn(e,b)}else if(o!=="backwards"&&o!=="unstable_legacy-backwards")for(o=0;o<i;o++)k=c[o],t.row=b=pt(b),t.treeContext=Jl(d,i,o),Kn(e,t,k,o),--b.pendingTasks===0&&xn(e,b);else{for(o=t.blockedSegment,k=o.children.length,A=o.chunks.length,P=i-1;0<=P;P--){M=c[P],t.row=b=pt(b),t.treeContext=Jl(d,i,P),W=Ql(e,A,null,t.formatContext,P===0?o.lastPushedText:!0,!0),o.children.splice(k,0,W),t.blockedSegment=W;try{Kn(e,t,M,P),_l(W.chunks,e.renderState,W.lastPushedText,W.textEmbedded),W.status=1,--b.pendingTasks===0&&xn(e,b)}catch(ln){throw W.status=e.status===12?3:4,ln}}t.blockedSegment=o,o.lastPushedText=!1}R!==null&&b!==null&&0<b.pendingTasks&&(R.pendingTasks++,b.next=R),t.treeContext=d,t.row=R,t.keyPath=f}function Hi(e,t,i,c,o,f){var d=t.thenableState;for(t.thenableState=null,tl={},mi=t,Ii=e,Ni=i,Jt=Zt=0,Qt=-1,Hr=0,bt=d,e=c(o,f);Br;)Br=!1,Jt=Zt=0,Qt=-1,Hr=0,Ur+=1,yn=null,e=c(o,f);return Vt(),e}function pa(e,t,i,c,o,f,d){var R=!1;if(f!==0&&e.formState!==null){var b=t.blockedSegment;if(b!==null){R=!0,b=b.chunks;for(var k=0;k<f;k++)k===d?b.push("<!--F!-->"):b.push("<!--F-->")}}f=t.keyPath,t.keyPath=i,o?(i=t.treeContext,t.treeContext=Jl(i,1,0),Kn(e,t,c,-1),t.treeContext=i):R?Kn(e,t,c,-1):ze(e,t,c,-1),t.keyPath=f}function Xr(e,t,i,c,o,f){if(typeof c=="function")if(c.prototype&&c.prototype.isReactComponent){var d=o;if("ref"in o){d={};for(var R in o)R!=="ref"&&(d[R]=o[R])}var b=c.defaultProps;if(b){d===o&&(d=Ln({},d,o));for(var k in b)d[k]===void 0&&(d[k]=b[k])}o=d,d=Wn,b=c.contextType,typeof b=="object"&&b!==null&&(d=b._currentValue2),d=new c(o,d);var A=d.state!==void 0?d.state:null;if(d.updater=Ba,d.props=o,d.state=A,b={queue:[],replace:!1},d._reactInternals=b,f=c.contextType,d.context=typeof f=="object"&&f!==null?f._currentValue2:Wn,f=c.getDerivedStateFromProps,typeof f=="function"&&(f=f(o,A),A=f==null?A:Ln({},A,f),d.state=A),typeof c.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function"))if(c=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),c!==d.state&&Ba.enqueueReplaceState(d,d.state,null),b.queue!==null&&0<b.queue.length)if(c=b.queue,f=b.replace,b.queue=null,b.replace=!1,f&&c.length===1)d.state=c[0];else{for(b=f?c[0]:d.state,A=!0,f=f?1:0;f<c.length;f++)k=c[f],k=typeof k=="function"?k.call(d,b,o,void 0):k,k!=null&&(A?(A=!1,b=Ln({},b,k)):Ln(b,k));d.state=b}else b.queue=null;if(c=d.render(),e.status===12)throw null;o=t.keyPath,t.keyPath=i,ze(e,t,c,-1),t.keyPath=o}else{if(c=Hi(e,t,i,c,o,void 0),e.status===12)throw null;pa(e,t,i,c,Zt!==0,Jt,Qt)}else if(typeof c=="string")if(d=t.blockedSegment,d===null)d=o.children,b=t.formatContext,A=t.keyPath,t.formatContext=Qe(b,c,o),t.keyPath=i,Kn(e,t,d,-1),t.formatContext=b,t.keyPath=A;else{if(A=ne(d.chunks,c,o,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,d.lastPushedText),d.lastPushedText=!1,b=t.formatContext,f=t.keyPath,t.keyPath=i,(t.formatContext=Qe(b,c,o)).insertionMode===3){i=Ql(e,0,null,t.formatContext,!1,!1),d.preambleChildren.push(i),t.blockedSegment=i;try{i.status=6,Kn(e,t,A,-1),_l(i.chunks,e.renderState,i.lastPushedText,i.textEmbedded),i.status=1}finally{t.blockedSegment=d}}else Kn(e,t,A,-1);t.formatContext=b,t.keyPath=f;n:{switch(t=d.chunks,e=e.resumableState,c){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 n;case"body":if(1>=b.insertionMode){e.hasBody=!0;break n}break;case"html":if(b.insertionMode===0){e.hasHtml=!0;break n}break;case"head":if(1>=b.insertionMode)break n}t.push(Rl(c))}d.lastPushedText=!1}else{switch(c){case Ge:case hn:case _:case K:c=t.keyPath,t.keyPath=i,ze(e,t,o.children,-1),t.keyPath=c;return;case Hn:c=t.blockedSegment,c===null?o.mode!=="hidden"&&(c=t.keyPath,t.keyPath=i,Kn(e,t,o.children,-1),t.keyPath=c):o.mode!=="hidden"&&(e.renderState.generateStaticMarkup||c.chunks.push("<!--&-->"),c.lastPushedText=!1,d=t.keyPath,t.keyPath=i,Kn(e,t,o.children,-1),t.keyPath=d,e.renderState.generateStaticMarkup||c.chunks.push("<!--/&-->"),c.lastPushedText=!1);return;case ce:n:{if(c=o.children,o=o.revealOrder,o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards"){if(ue(c)){Ka(e,t,i,c,o);break n}if((d=qe(c))&&(d=d.call(c))){if(b=d.next(),!b.done){do b=d.next();while(!b.done);Ka(e,t,i,c,o)}break n}}o==="together"?(o=t.keyPath,d=t.row,b=t.row=pt(null),b.boundaries=[],b.together=!0,t.keyPath=i,ze(e,t,c,-1),--b.pendingTasks===0&&xn(e,b),t.keyPath=o,t.row=d,d!==null&&0<b.pendingTasks&&(d.pendingTasks++,b.next=d)):(o=t.keyPath,t.keyPath=i,ze(e,t,c,-1),t.keyPath=o)}return;case H:case Vn:throw Error(w(343));case kn:n:if(t.replay!==null){c=t.keyPath,d=t.formatContext,b=t.row,t.keyPath=i,t.formatContext=ll(e.resumableState,d),t.row=null,i=o.children;try{Kn(e,t,i,-1)}finally{t.keyPath=c,t.formatContext=d,t.row=b}}else{c=t.keyPath,f=t.formatContext;var P=t.row,M=t.blockedBoundary;k=t.blockedPreamble;var W=t.hoistableState;R=t.blockedSegment;var ln=o.fallback;o=o.children;var p=new Set,j=Di(e,t.row,p,null,null);e.trackedPostpones!==null&&(j.trackedContentKeyPath=i);var V=Ql(e,R.chunks.length,j,t.formatContext,!1,!1);R.children.push(V),R.lastPushedText=!1;var $=Ql(e,0,null,t.formatContext,!1,!1);if($.parentFlushed=!0,e.trackedPostpones!==null){d=t.componentStack,b=[i[0],"Suspense Fallback",i[2]],A=[b[1],b[2],[],null],e.trackedPostpones.workingMap.set(b,A),j.trackedFallbackNode=A,t.blockedSegment=V,t.blockedPreamble=j.fallbackPreamble,t.keyPath=b,t.formatContext=Cl(e.resumableState,f),t.componentStack=Kt(d),V.status=6;try{Kn(e,t,ln,-1),_l(V.chunks,e.renderState,V.lastPushedText,V.textEmbedded),V.status=1}catch(Cn){throw V.status=e.status===12?3:4,Cn}finally{t.blockedSegment=R,t.blockedPreamble=k,t.keyPath=c,t.formatContext=f}t=Gr(e,null,o,-1,j,$,j.contentPreamble,j.contentState,t.abortSet,i,ll(e.resumableState,t.formatContext),t.context,t.treeContext,null,d),Al(t),e.pingedTasks.push(t)}else{t.blockedBoundary=j,t.blockedPreamble=j.contentPreamble,t.hoistableState=j.contentState,t.blockedSegment=$,t.keyPath=i,t.formatContext=ll(e.resumableState,f),t.row=null,$.status=6;try{if(Kn(e,t,o,-1),_l($.chunks,e.renderState,$.lastPushedText,$.textEmbedded),$.status=1,qt(j,$),j.pendingTasks===0&&j.status===0){if(j.status=1,!wt(e,j)){P!==null&&--P.pendingTasks===0&&xn(e,P),e.pendingRootTasks===0&&t.blockedPreamble&&pl(e);break n}}else P!==null&&P.together&&Bi(e,P)}catch(Cn){j.status=4,e.status===12?($.status=3,d=e.fatalError):($.status=4,d=Cn),b=ml(t.componentStack),A=oe(e,d,b),j.errorDigest=A,Vr(e,j)}finally{t.blockedBoundary=M,t.blockedPreamble=k,t.hoistableState=W,t.blockedSegment=R,t.keyPath=c,t.formatContext=f,t.row=P}t=Gr(e,null,ln,-1,M,V,j.fallbackPreamble,j.fallbackState,p,[i[0],"Suspense Fallback",i[2]],Cl(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Kt(t.componentStack)),Al(t),e.pingedTasks.push(t)}}return}if(typeof c=="object"&&c!==null)switch(c.$$typeof){case Gn:if("ref"in o)for(ln in d={},o)ln!=="ref"&&(d[ln]=o[ln]);else d=o;c=Hi(e,t,i,c.render,d,f),pa(e,t,i,c,Zt!==0,Jt,Qt);return;case mn:Xr(e,t,i,c.type,o,f);return;case An:if(b=o.children,d=t.keyPath,o=o.value,A=c._currentValue2,c._currentValue2=o,f=Zl,Zl=c={parent:f,depth:f===null?0:f.depth+1,context:c,parentValue:A,value:o},t.context=c,t.keyPath=i,ze(e,t,b,-1),e=Zl,e===null)throw Error(w(403));e.context._currentValue2=e.parentValue,e=Zl=e.parent,t.context=e,t.keyPath=d;return;case G:o=o.children,c=o(c._context._currentValue2),o=t.keyPath,t.keyPath=i,ze(e,t,c,-1),t.keyPath=o;return;case U:if(d=c._init,c=d(c._payload),e.status===12)throw null;Xr(e,t,i,c,o,f);return}throw Error(w(130,c==null?c:typeof c,""))}}function Zr(e,t,i,c,o){var f=t.replay,d=t.blockedBoundary,R=Ql(e,0,null,t.formatContext,!1,!1);R.id=i,R.parentFlushed=!0;try{t.replay=null,t.blockedSegment=R,Kn(e,t,c,o),R.status=1,d===null?e.completedRootSegment=R:(qt(d,R),d.parentFlushed&&e.partialBoundaries.push(d))}finally{t.replay=f,t.blockedSegment=null}}function ze(e,t,i,c){t.replay!==null&&typeof t.replay.slots=="number"?Zr(e,t,t.replay.slots,i,c):(t.node=i,t.childIndex=c,i=t.componentStack,Al(t),Ui(e,t),t.componentStack=i)}function Ui(e,t){var i=t.node,c=t.childIndex;if(i!==null){if(typeof i=="object"){switch(i.$$typeof){case B:var o=i.type,f=i.key,d=i.props;i=d.ref;var R=i!==void 0?i:null,b=Gt(o),k=f??(c===-1?0:c);if(f=[t.keyPath,b,k],t.replay!==null)n:{var A=t.replay;for(c=A.nodes,i=0;i<c.length;i++){var P=c[i];if(k===P[1]){if(P.length===4){if(b!==null&&b!==P[0])throw Error(w(490,P[0],b));var M=P[2];b=P[3],k=t.node,t.replay={nodes:M,slots:b,pendingTasks:1};try{if(Xr(e,t,f,o,d,R),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(w(488));t.replay.pendingTasks--}catch(fn){if(typeof fn=="object"&&fn!==null&&(fn===Se||typeof fn.then=="function"))throw t.node===k?t.replay=A:c.splice(i,1),fn;t.replay.pendingTasks--,d=ml(t.componentStack),f=e,e=t.blockedBoundary,o=fn,d=oe(f,o,d),Vl(f,e,M,b,o,d)}t.replay=A}else{if(o!==kn)throw Error(w(490,"Suspense",Gt(o)||"Unknown"));e:{A=void 0,o=P[5],R=P[2],b=P[3],k=P[4]===null?[]:P[4][2],P=P[4]===null?null:P[4][3];var W=t.keyPath,ln=t.formatContext,p=t.row,j=t.replay,V=t.blockedBoundary,$=t.hoistableState,Cn=d.children,Pn=d.fallback,cn=new Set;d=Di(e,t.row,cn,null,null),d.parentFlushed=!0,d.rootSegmentID=o,t.blockedBoundary=d,t.hoistableState=d.contentState,t.keyPath=f,t.formatContext=ll(e.resumableState,ln),t.row=null,t.replay={nodes:R,slots:b,pendingTasks:1};try{if(Kn(e,t,Cn,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(w(488));if(t.replay.pendingTasks--,d.pendingTasks===0&&d.status===0){d.status=1,e.completedBoundaries.push(d);break e}}catch(fn){d.status=4,M=ml(t.componentStack),A=oe(e,fn,M),d.errorDigest=A,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(d)}finally{t.blockedBoundary=V,t.hoistableState=$,t.replay=j,t.keyPath=W,t.formatContext=ln,t.row=p}M=Va(e,null,{nodes:k,slots:P,pendingTasks:0},Pn,-1,V,d.fallbackState,cn,[f[0],"Suspense Fallback",f[2]],Cl(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Kt(t.componentStack)),Al(M),e.pingedTasks.push(M)}}c.splice(i,1);break n}}}else Xr(e,t,f,o,d,R);return;case Y:throw Error(w(257));case U:if(M=i._init,i=M(i._payload),e.status===12)throw null;ze(e,t,i,c);return}if(ue(i)){Jr(e,t,i,c);return}if((M=qe(i))&&(M=M.call(i))){if(i=M.next(),!i.done){d=[];do d.push(i.value),i=M.next();while(!i.done);Jr(e,t,d,c)}return}if(typeof i.then=="function")return t.thenableState=null,ze(e,t,Xa(i),c);if(i.$$typeof===An)return ze(e,t,i._currentValue2,c);throw c=Object.prototype.toString.call(i),Error(w(31,c==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":c))}typeof i=="string"?(c=t.blockedSegment,c!==null&&(c.lastPushedText=Nr(c.chunks,i,e.renderState,c.lastPushedText))):(typeof i=="number"||typeof i=="bigint")&&(c=t.blockedSegment,c!==null&&(c.lastPushedText=Nr(c.chunks,""+i,e.renderState,c.lastPushedText)))}}function Jr(e,t,i,c){var o=t.keyPath;if(c!==-1&&(t.keyPath=[t.keyPath,"Fragment",c],t.replay!==null)){for(var f=t.replay,d=f.nodes,R=0;R<d.length;R++){var b=d[R];if(b[1]===c){c=b[2],b=b[3],t.replay={nodes:c,slots:b,pendingTasks:1};try{if(Jr(e,t,i,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(w(488));t.replay.pendingTasks--}catch(P){if(typeof P=="object"&&P!==null&&(P===Se||typeof P.then=="function"))throw P;t.replay.pendingTasks--,i=ml(t.componentStack);var k=t.blockedBoundary,A=P;i=oe(e,A,i),Vl(e,k,c,b,A,i)}t.replay=f,d.splice(R,1);break}}t.keyPath=o;return}if(f=t.treeContext,d=i.length,t.replay!==null&&(R=t.replay.slots,R!==null&&typeof R=="object")){for(c=0;c<d;c++)b=i[c],t.treeContext=Jl(f,d,c),k=R[c],typeof k=="number"?(Zr(e,t,k,b,c),delete R[c]):Kn(e,t,b,c);t.treeContext=f,t.keyPath=o;return}for(R=0;R<d;R++)c=i[R],t.treeContext=Jl(f,d,R),Kn(e,t,c,R);t.treeContext=f,t.keyPath=o}function jt(e,t,i){if(i.status=5,i.rootSegmentID=e.nextSegmentId++,e=i.trackedContentKeyPath,e===null)throw Error(w(486));var c=i.trackedFallbackNode,o=[],f=t.workingMap.get(e);return f===void 0?(i=[e[1],e[2],o,null,c,i.rootSegmentID],t.workingMap.set(e,i),Ke(i,e[0],t),i):(f[4]=c,f[5]=i.rootSegmentID,f)}function Qr(e,t,i,c){c.status=5;var o=i.keyPath,f=i.blockedBoundary;if(f===null)c.id=e.nextSegmentId++,t.rootSlots=c.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(f!==null&&f.status===0){var d=jt(e,t,f);if(f.trackedContentKeyPath===o&&i.childIndex===-1){c.id===-1&&(c.id=c.parentFlushed?f.rootSegmentID:e.nextSegmentId++),d[3]=c.id;return}}if(c.id===-1&&(c.id=c.parentFlushed&&f!==null?f.rootSegmentID:e.nextSegmentId++),i.childIndex===-1)o===null?t.rootSlots=c.id:(i=t.workingMap.get(o),i===void 0?(i=[o[1],o[2],[],c.id],Ke(i,o[0],t)):i[3]=c.id);else{if(o===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e=="number")throw Error(w(491))}else if(f=t.workingMap,d=f.get(o),d===void 0)e={},d=[o[1],o[2],[],e],f.set(o,d),Ke(d,o[0],t);else if(e=d[3],e===null)e=d[3]={};else if(typeof e=="number")throw Error(w(491));e[i.childIndex]=c.id}}}function Vr(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function Kr(e,t,i){return Va(e,i,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function pr(e,t,i){var c=t.blockedSegment,o=Ql(e,c.chunks.length,null,t.formatContext,c.lastPushedText,!0);return c.children.push(o),c.lastPushedText=!1,Gr(e,i,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Kn(e,t,i,c){var o=t.formatContext,f=t.context,d=t.keyPath,R=t.treeContext,b=t.componentStack,k=t.blockedSegment;if(k===null){k=t.replay;try{return ze(e,t,i,c)}catch(M){if(Vt(),i=M===Se?Lr():M,e.status!==12&&typeof i=="object"&&i!==null){if(typeof i.then=="function"){c=M===Se?yt():null,e=Kr(e,t,c).ping,i.then(e,e),t.formatContext=o,t.context=f,t.keyPath=d,t.treeContext=R,t.componentStack=b,t.replay=k,Fl(f);return}if(i.message==="Maximum call stack size exceeded"){i=M===Se?yt():null,i=Kr(e,t,i),e.pingedTasks.push(i),t.formatContext=o,t.context=f,t.keyPath=d,t.treeContext=R,t.componentStack=b,t.replay=k,Fl(f);return}}}}else{var A=k.children.length,P=k.chunks.length;try{return ze(e,t,i,c)}catch(M){if(Vt(),k.children.length=A,k.chunks.length=P,i=M===Se?Lr():M,e.status!==12&&typeof i=="object"&&i!==null){if(typeof i.then=="function"){k=i,i=M===Se?yt():null,e=pr(e,t,i).ping,k.then(e,e),t.formatContext=o,t.context=f,t.keyPath=d,t.treeContext=R,t.componentStack=b,Fl(f);return}if(i.message==="Maximum call stack size exceeded"){k=M===Se?yt():null,k=pr(e,t,k),e.pingedTasks.push(k),t.formatContext=o,t.context=f,t.keyPath=d,t.treeContext=R,t.componentStack=b,Fl(f);return}}}}throw t.formatContext=o,t.context=f,t.keyPath=d,t.treeContext=R,Fl(f),i}function Hc(e){var t=e.blockedBoundary,i=e.blockedSegment;i!==null&&(i.status=3,Il(this,t,e.row,i))}function Vl(e,t,i,c,o,f){for(var d=0;d<i.length;d++){var R=i[d];if(R.length===4)Vl(e,t,R[2],R[3],o,f);else{R=R[5];var b=e,k=f,A=Di(b,null,new Set,null,null);A.parentFlushed=!0,A.rootSegmentID=R,A.status=4,A.errorDigest=k,A.parentFlushed&&b.clientRenderedBoundaries.push(A)}}if(i.length=0,c!==null){if(t===null)throw Error(w(487));if(t.status!==4&&(t.status=4,t.errorDigest=f,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof c=="object")for(var P in c)delete c[P]}}function Wi(e,t,i){var c=e.blockedBoundary,o=e.blockedSegment;if(o!==null){if(o.status===6)return;o.status=3}var f=ml(e.componentStack);if(c===null){if(t.status!==13&&t.status!==14){if(c=e.replay,c===null){t.trackedPostpones!==null&&o!==null?(c=t.trackedPostpones,oe(t,i,f),Qr(t,c,e,o),Il(t,null,e.row,o)):(oe(t,i,f),Et(t,i));return}c.pendingTasks--,c.pendingTasks===0&&0<c.nodes.length&&(o=oe(t,i,f),Vl(t,null,c.nodes,c.slots,i,o)),t.pendingRootTasks--,t.pendingRootTasks===0&&Gi(t)}}else{var d=t.trackedPostpones;if(c.status!==4){if(d!==null&&o!==null)return oe(t,i,f),Qr(t,d,e,o),c.fallbackAbortableTasks.forEach(function(R){return Wi(R,t,i)}),c.fallbackAbortableTasks.clear(),Il(t,c,e.row,o);c.status=4,o=oe(t,i,f),c.status=4,c.errorDigest=o,Vr(t,c),c.parentFlushed&&t.clientRenderedBoundaries.push(c)}c.pendingTasks--,o=c.row,o!==null&&--o.pendingTasks===0&&xn(t,o),c.fallbackAbortableTasks.forEach(function(R){return Wi(R,t,i)}),c.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&xn(t,e),t.allPendingTasks--,t.allPendingTasks===0&&jr(t)}function Yi(e,t){try{var i=e.renderState,c=i.onHeaders;if(c){var o=i.headers;if(o){i.headers=null;var f=o.preconnects;if(o.fontPreloads&&(f&&(f+=", "),f+=o.fontPreloads),o.highImagePreloads&&(f&&(f+=", "),f+=o.highImagePreloads),!t){var d=i.styles.values(),R=d.next();n:for(;0<o.remainingCapacity&&!R.done;R=d.next())for(var b=R.value.sheets.values(),k=b.next();0<o.remainingCapacity&&!k.done;k=b.next()){var A=k.value,P=A.props,M=P.href,W=A.props,ln=Zn(W.href,"style",{crossOrigin:W.crossOrigin,integrity:W.integrity,nonce:W.nonce,type:W.type,fetchPriority:W.fetchPriority,referrerPolicy:W.referrerPolicy,media:W.media});if(0<=(o.remainingCapacity-=ln.length+2))i.resets.style[M]=jn,f&&(f+=", "),f+=ln,i.resets.style[M]=typeof P.crossOrigin=="string"||typeof P.integrity=="string"?[P.crossOrigin,P.integrity]:jn;else break n}}c(f?{Link:f}:{})}}}catch(p){oe(e,p,{})}}function Gi(e){e.trackedPostpones===null&&Yi(e,!0),e.trackedPostpones===null&&pl(e),e.onShellError=ge,e=e.onShellReady,e()}function jr(e){Yi(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),pl(e),e=e.onAllReady,e()}function qt(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var i=t.children[0];i.id=t.id,i.parentFlushed=!0,i.status!==1&&i.status!==3&&i.status!==4||qt(e,i)}else e.completedSegments.push(t)}function Il(e,t,i,c){if(i!==null&&(--i.pendingTasks===0?xn(e,i):i.together&&Bi(e,i)),e.allPendingTasks--,t===null){if(c!==null&&c.parentFlushed){if(e.completedRootSegment!==null)throw Error(w(389));e.completedRootSegment=c}e.pendingRootTasks--,e.pendingRootTasks===0&&Gi(e)}else if(t.pendingTasks--,t.status!==4)if(t.pendingTasks===0){if(t.status===0&&(t.status=1),c!==null&&c.parentFlushed&&(c.status===1||c.status===3)&&qt(t,c),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)i=t.row,i!==null&&vt(i.hoistables,t.contentState),wt(e,t)||(t.fallbackAbortableTasks.forEach(Hc,e),t.fallbackAbortableTasks.clear(),i!==null&&--i.pendingTasks===0&&xn(e,i)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&pl(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){i=e.trackedPostpones;var o=t.next;if(o!==null&&(c=o.boundaries,c!==null))for(o.boundaries=null,o=0;o<c.length;o++){var f=c[o];jt(e,i,f),Il(e,f,null,null)}}--t.pendingTasks===0&&xn(e,t)}}else c===null||!c.parentFlushed||c.status!==1&&c.status!==3||(qt(t,c),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Bi(e,t);e.allPendingTasks===0&&jr(e)}function ja(e){if(e.status!==14&&e.status!==13){var t=Zl,i=Ce.H;Ce.H=Za;var c=Ce.A;Ce.A=zc;var o=le;le=e;var f=Wr;Wr=e.resumableState;try{var d=e.pingedTasks,R;for(R=0;R<d.length;R++){var b=d[R],k=e,A=b.blockedSegment;if(A===null){var P=k;if(b.replay.pendingTasks!==0){Fl(b.context);try{if(typeof b.replay.slots=="number"?Zr(P,b,b.replay.slots,b.node,b.childIndex):Ui(P,b),b.replay.pendingTasks===1&&0<b.replay.nodes.length)throw Error(w(488));b.replay.pendingTasks--,b.abortSet.delete(b),Il(P,b.blockedBoundary,b.row,null)}catch(Rn){Vt();var M=Rn===Se?Lr():Rn;if(typeof M=="object"&&M!==null&&typeof M.then=="function"){var W=b.ping;M.then(W,W),b.thenableState=Rn===Se?yt():null}else{b.replay.pendingTasks--,b.abortSet.delete(b);var ln=ml(b.componentStack);k=void 0;var p=P,j=b.blockedBoundary,V=P.status===12?P.fatalError:M,$=b.replay.nodes,Cn=b.replay.slots;k=oe(p,V,ln),Vl(p,j,$,Cn,V,k),P.pendingRootTasks--,P.pendingRootTasks===0&&Gi(P),P.allPendingTasks--,P.allPendingTasks===0&&jr(P)}}}}else if(P=void 0,p=A,p.status===0){p.status=6,Fl(b.context);var Pn=p.children.length,cn=p.chunks.length;try{Ui(k,b),_l(p.chunks,k.renderState,p.lastPushedText,p.textEmbedded),b.abortSet.delete(b),p.status=1,Il(k,b.blockedBoundary,b.row,p)}catch(Rn){Vt(),p.children.length=Pn,p.chunks.length=cn;var fn=Rn===Se?Lr():k.status===12?k.fatalError:Rn;if(k.status===12&&k.trackedPostpones!==null){var tn=k.trackedPostpones,xe=ml(b.componentStack);b.abortSet.delete(b),oe(k,fn,xe),Qr(k,tn,b,p),Il(k,b.blockedBoundary,b.row,p)}else if(typeof fn=="object"&&fn!==null&&typeof fn.then=="function"){p.status=0,b.thenableState=Rn===Se?yt():null;var un=b.ping;fn.then(un,un)}else{var Fe=ml(b.componentStack);b.abortSet.delete(b),p.status=4;var vn=b.blockedBoundary,Yn=b.row;if(Yn!==null&&--Yn.pendingTasks===0&&xn(k,Yn),k.allPendingTasks--,P=oe(k,fn,Fe),vn===null)Et(k,fn);else if(vn.pendingTasks--,vn.status!==4){vn.status=4,vn.errorDigest=P,Vr(k,vn);var Jn=vn.row;Jn!==null&&--Jn.pendingTasks===0&&xn(k,Jn),vn.parentFlushed&&k.clientRenderedBoundaries.push(vn),k.pendingRootTasks===0&&k.trackedPostpones===null&&vn.contentPreamble!==null&&pl(k)}k.allPendingTasks===0&&jr(k)}}}}d.splice(0,R),e.destination!==null&&qr(e,e.destination)}catch(Rn){oe(e,Rn,{}),Et(e,Rn)}finally{Wr=f,Ce.H=i,Ce.A=c,i===Za&&Fl(t),le=o}}}function Kl(e,t,i){t.preambleChildren.length&&i.push(t.preambleChildren);for(var c=!1,o=0;o<t.children.length;o++)c=$t(e,t.children[o],i)||c;return c}function $t(e,t,i){var c=t.boundary;if(c===null)return Kl(e,t,i);var o=c.contentPreamble,f=c.fallbackPreamble;if(o===null||f===null)return!1;switch(c.status){case 1:if(Ri(e.renderState,o),e.byteSize+=c.byteSize,t=c.completedSegments[0],!t)throw Error(w(391));return Kl(e,t,i);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return Ri(e.renderState,f),Kl(e,t,i);default:return!0}}function pl(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],i=e.byteSize,c=$t(e,e.completedRootSegment,t),o=e.renderState.preamble;c===!1||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=i}}function Ct(e,t,i,c){switch(i.parentFlushed=!0,i.status){case 0:i.id=e.nextSegmentId++;case 5:return c=i.id,i.lastPushedText=!1,i.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=c.toString(16),t.push(e),t.push('"></template>');case 1:i.status=2;var o=!0,f=i.chunks,d=0;i=i.children;for(var R=0;R<i.length;R++){for(o=i[R];d<o.index;d++)t.push(f[d]);o=ql(e,t,o,c)}for(;d<f.length-1;d++)t.push(f[d]);return d<f.length&&(o=t.push(f[d])),o;case 3:return!0;default:throw Error(w(390))}}var jl=0;function ql(e,t,i,c){var o=i.boundary;if(o===null)return Ct(e,t,i,c);if(o.parentFlushed=!0,o.status===4){var f=o.row;return f!==null&&--f.pendingTasks===0&&xn(e,f),e.renderState.generateStaticMarkup||(o=o.errorDigest,t.push("<!--$!-->"),t.push("<template"),o&&(t.push(' data-dgst="'),o=O(o),t.push(o),t.push('"')),t.push("></template>")),Ct(e,t,i,c),e=e.renderState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}if(o.status!==1)return o.status===0&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),Dt(t,e.renderState,o.rootSegmentID),c&&vt(c,o.fallbackState),Ct(e,t,i,c),t.push("<!--/$-->");if(!nr&&wt(e,o)&&jl+o.byteSize>e.progressiveChunkSize)return o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),Dt(t,e.renderState,o.rootSegmentID),Ct(e,t,i,c),t.push("<!--/$-->");if(jl+=o.byteSize,c&&vt(c,o.contentState),i=o.row,i!==null&&wt(e,o)&&--i.pendingTasks===0&&xn(e,i),e.renderState.generateStaticMarkup||t.push("<!--$-->"),i=o.completedSegments,i.length!==1)throw Error(w(391));return ql(e,t,i[0],c),e=e.renderState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function Xi(e,t,i,c){return Xe(t,e.renderState,i.parentFormatContext,i.id),ql(e,t,i,c),Aa(t,i.parentFormatContext)}function qa(e,t,i){jl=i.byteSize;for(var c=i.completedSegments,o=0;o<c.length;o++)$l(e,t,i,c[o]);c.length=0,c=i.row,c!==null&&wt(e,i)&&--c.pendingTasks===0&&xn(e,c),Fr(t,i.contentState,e.renderState),c=e.resumableState,e=e.renderState,o=i.rootSegmentID,i=i.contentState;var f=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),f?((c.instructions&4)===0&&(c.instructions|=4,t.push('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),(c.instructions&2)===0&&(c.instructions|=2,t.push(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0}; 24$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`)),(c.instructions&8)===0?(c.instructions|=8,t.push(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel= 25"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data= 26"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`)):t.push('$RR("')):((c.instructions&2)===0&&(c.instructions|=2,t.push(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0}; 27$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`)),t.push('$RC("')),c=o.toString(16),t.push(e.boundaryPrefix),t.push(c),t.push('","'),t.push(e.segmentPrefix),t.push(c),f?(t.push('",'),za(t,i)):t.push('"'),i=t.push(")<\/script>"),Sr(t,e)&&i}function $l(e,t,i,c){if(c.status===2)return!0;var o=i.contentState,f=c.id;if(f===-1){if((c.id=i.rootSegmentID)===-1)throw Error(w(392));return Xi(e,t,c,o)}return f===i.rootSegmentID?Xi(e,t,c,o):(Xi(e,t,c,o),i=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),(i.instructions&1)===0?(i.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};
27$RS("')):t.push('$RS("'),t.push(e.segmentPrefix),f=f.toString(16),t.push(f),t.push('","'),t.push(e.placeholderPrefix),t.push(f),t=t.push('")<\/script>'),t)}var nr=!1;function qr(e,t){try{if(!(0<e.pendingRootTasks)){var i,c=e.completedRootSegment;if(c!==null){if(c.status===5)return;var o=e.completedPreambleSegments;if(o===null)return;jl=e.byteSize;var f=e.resumableState,d=e.renderState,R=d.preamble,b=R.htmlChunks,k=R.headChunks,A;if(b){for(A=0;A<b.length;A++)t.push(b[A]);if(k)for(A=0;A<k.length;A++)t.push(k[A]);else{var P=_n("head");t.push(P),t.push(">")}}else if(k)for(A=0;A<k.length;A++)t.push(k[A]);var M=d.charsetChunks;for(A=0;A<M.length;A++)t.push(M[A]);M.length=0,d.preconnects.forEach(ke,t),d.preconnects.clear();var W=d.viewportChunks;for(A=0;A<W.length;A++)t.push(W[A]);W.length=0,d.fontPreloads.forEach(ke,t),d.fontPreloads.clear(),d.highImagePreloads.forEach(ke,t),d.highImagePreloads.clear(),Me=d,d.styles.forEach(Ma,t),Me=null;var ln=d.importMapChunks;for(A=0;A<ln.length;A++)t.push(ln[A]);ln.length=0,d.bootstrapScripts.forEach(ke,t),d.scripts.forEach(ke,t),d.scripts.clear(),d.bulkPreloads.forEach(ke,t),d.bulkPreloads.clear(),f.instructions|=32;var p=d.hoistableChunks;for(A=0;A<p.length;A++)t.push(p[A]);for(f=p.length=0;f<o.length;f++){var j=o[f];for(d=0;d<j.length;d++)ql(e,t,j[d],null)}var V=e.renderState.preamble,$=V.headChunks;if(V.htmlChunks||$){var Cn=Rl("head");t.push(Cn)}var Pn=V.bodyChunks;if(Pn)for(o=0;o<Pn.length;o++)t.push(Pn[o]);ql(e,t,c,null),e.completedRootSegment=null;var cn=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var fn=e.resumableState;if((fn.instructions&64)===0){if(fn.instructions|=64,t.push(cn.startInlineScript),(fn.instructions&32)===0){fn.instructions|=32;var tn="_"+fn.idPrefix+"R_";t.push(' id="');var xe=O(tn);t.push(xe),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("<\/script>")}}Sr(t,cn)}var un=e.renderState;c=0;var Fe=un.viewportChunks;for(c=0;c<Fe.length;c++)t.push(Fe[c]);Fe.length=0,un.preconnects.forEach(ke,t),un.preconnects.clear(),un.fontPreloads.forEach(ke,t),un.fontPreloads.clear(),un.highImagePreloads.forEach(ke,t),un.highImagePreloads.clear(),un.styles.forEach(Oa,t),un.scripts.forEach(ke,t),un.scripts.clear(),un.bulkPreloads.forEach(ke,t),un.bulkPreloads.clear();var vn=un.hoistableChunks;for(c=0;c<vn.length;c++)t.push(vn[c]);vn.length=0;var Yn=e.clientRenderedBoundaries;for(i=0;i<Yn.length;i++){var Jn=Yn[i];un=t;var Rn=e.resumableState,ve=e.renderState,et=Jn.rootSegmentID,Pe=Jn.errorDigest;un.push(ve.startInlineScript),un.push(">"),(Rn.instructions&4)===0?(Rn.instructions|=4,un.push('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')):un.push('$RX("'),un.push(ve.boundaryPrefix);var er=et.toString(16);if(un.push(er),un.push('"'),Pe){un.push(",");var Rt=xc(Pe||"");un.push(Rt)}var se=un.push(")<\/script>");if(!se){e.destination=null,i++,Yn.splice(0,i);return}}Yn.splice(0,i);var Le=e.completedBoundaries;for(i=0;i<Le.length;i++)if(!qa(e,t,Le[i])){e.destination=null,i++,Le.splice(0,i);return}Le.splice(0,i),nr=!0;var Ze=e.partialBoundaries;for(i=0;i<Ze.length;i++){var Je=Ze[i];n:{Yn=e,Jn=t,jl=Je.byteSize;var il=Je.completedSegments;for(se=0;se<il.length;se++)if(!$l(Yn,Jn,Je,il[se])){se++,il.splice(0,se);var Nl=!1;break n}il.splice(0,se);var pn=Je.row;pn!==null&&pn.together&&Je.pendingTasks===1&&(pn.pendingTasks===1?Ve(Yn,pn,pn.hoistables):pn.pendingTasks--),Nl=Fr(Jn,Je.contentState,Yn.renderState)}if(!Nl){e.destination=null,i++,Ze.splice(0,i);return}}Ze.splice(0,i),nr=!1;var lt=e.completedBoundaries;for(i=0;i<lt.length;i++)if(!qa(e,t,lt[i])){e.destination=null,i++,lt.splice(0,i);return}lt.splice(0,i)}}finally{nr=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,i=e.resumableState,i.hasBody&&(Ze=Rl("body"),t.push(Ze)),i.hasHtml&&(i=Rl("html"),t.pu
vendor: 5,224 bytes, line 27
27sh(i)),e.status=14,t.push(null),e.destination=null)}}function nt(e){if(e.flushScheduled===!1&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?qr(e,t):e.flushScheduled=!1}}function $r(e,t){if(e.status===13)e.status=14,t.destroy(e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{qr(e,t)}catch(i){oe(e,i,{}),Et(e,i)}}}function $a(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var i=e.abortableTasks;if(0<i.size){var c=t===void 0?Error(w(432)):typeof t=="object"&&t!==null&&typeof t.then=="function"?Error(w(530)):t;e.fatalError=c,i.forEach(function(o){return Wi(o,e,c)}),i.clear()}e.destination!==null&&qr(e,e.destination)}catch(o){oe(e,o,{}),Et(e,o)}}function Ke(e,t,i){if(t===null)i.rootNodes.push(e);else{var c=i.workingMap,o=c.get(t);o===void 0&&(o=[t[1],t[2],[],null],c.set(t,o),Ke(o,t[0],i)),o[2].push(e)}}function ni(){}function Zi(e,t,i,c){var o=!1,f=null,d="",R=!1;if(t=Xl(t?t.identifierPrefix:void 0),e=Bc(e,t,Ir(t,i),Nn(0,null,0,null),1/0,ni,void 0,function(){R=!0},void 0,void 0,void 0),e.flushScheduled=e.destination!==null,ja(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&Yi(e,e.pendingRootTasks===0),$a(e,c),$r(e,{push:function(b){return b!==null&&(d+=b),!0},destroy:function(b){o=!0,f=b}}),o&&f!==c)throw f;if(!R)throw Error(w(426));return d}return ka.renderToStaticMarkup=function(e,t){return Zi(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ka.renderToString=function(e,t){return Zi(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ka.version="19.2.5",ka}var Cr={};var Gu;function Yo(){if(Gu)return Cr;Gu=1;var D=Qu(),m=Vu();function w(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)l+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var B=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),hn=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),An=Symbol.for("react.context"),Gn=Symbol.for("react.forward_ref"),kn=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),mn=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),Vn=Symbol.for("react.scope"),Hn=Symbol.for("react.activity"),Ge=Symbol.for("react.legacy_hidden"),me=Symbol.for("react.memo_cache_sentinel"),H=Symbol.for("react.view_transition"),Ie=Symbol.iterator;function qe(n){return n===null||typeof n!="object"?null:(n=Ie&&n[Ie]||n["@@iterator"],typeof n=="function"?n:null)}var ue=Array.isArray;function xl(n,l){var r=n.length&3,a=n.length-r,u=l;for(l=0;l<a;){var s=n.charCodeAt(l)&255|(n.charCodeAt(++l)&255)<<8|(n.charCodeAt(++l)&255)<<16|(n.charCodeAt(++l)&255)<<24;++l,s=3432918353*(s&65535)+((3432918353*(s>>>16)&65535)<<16)&4294967295,s=s<<15|s>>>17,s=461845907*(s&65535)+((461845907*(s>>>16)&65535)<<16)&4294967295,u^=s,u=u<<13|u>>>19,u=5*(u&65535)+((5*(u>>>16)&65535)<<16)&4294967295,u=(u&65535)+27492+(((u>>>16)+58964&65535)<<16)}switch(s=0,r){case 3:s^=(n.charCodeAt(l+2)&255)<<16;case 2:s^=(n.charCodeAt(l+1)&255)<<8;case 1:s^=n.charCodeAt(l)&255,s=3432918353*(s&65535)+((3432918353*(s>>>16)&65535)<<16)&4294967295,s=s<<15|s>>>17,u^=461845907*(s&65535)+((461845907*(s>>>16)&65535)<<16)&4294967295}return u^=n.length,u^=u>>>16,u=2246822507*(u&65535)+((2246822507*(u>>>16)&65535)<<16)&4294967295,u^=u>>>13,u=3266489909*(u&65535)+((3266489909*(u>>>16)&65535)<<16)&4294967295,(u^u>>>16)>>>0}var Ln=new MessageChannel,sn=[];Ln.port1.onmessage=function(){var n=sn.shift();n&&n()};function Ne(n){sn.push(n),Ln.port2.postMessage(null)}function $e(n){setTimeout(function(){throw n})}var nl=Promise,el=typeof queueMicrotask=="function"?queueMicrotask:function(n){nl.resolve(null).then(n).catch($e)},Dn=null,Un=0;function F(n,l){if(l.byteLength!==0)if(2048<l.byteLength)0<Un&&(n.enqueue(new Uint8Array(Dn.buffer,0,Un)),Dn=new Uint8Array(2048),Un=0),n.enqueue(l);else{var r=Dn.length-Un;r<l.byteLength&&(r===0?n.enqueue(Dn):(Dn.set(l.subarray(0,r),Un),n.enqueue(Dn),l=l.subarray(r)),Dn=new Uint8Array(2048),Un=0),Dn.set(l,Un),Un+=l.byteLength}}function O(n,l){return F(n,l),!0}function wl(n){Dn&&0<Un&&(n.enqueue(new Uint8Array(Dn.buffer,0,Un)),Dn=null,Un=0)}var Yl=new TextEncoder;function I(n){return Yl.encode(n)}function E(n){return Yl.encode(n)}function Ce(n){return n.byteLength}function Gl(n,l){typeof n.error=="function"?n.error(l):n.close()}var In=Object.assign,q=Object.prototype.hasOwnProperty,jn=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
27037D\\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]*$"),Me={},Tl={};function El(n){return q.call(Tl,n)?!0:q.call(Me,n)?!1:jn.test(n)?Tl[n]=!0:(Me[n]=!0,!1)}var Xl=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(" ")),Nn=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"]]),Qe=/["'&<>]/;function Z(n){if(typeof n=="boolean"||typeof n=="number"||typeof n=="bigint")return""+n;n=""+n;var l=Qe.exec(n);if(l){var r="",a,u=0;for(a=l.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:l=""";break;case 38:l="&";break;case 39:l="'";break;case 60:l="<";break;case 62:l=">";break;default:continue}u!==a&&(r+=n.slice(u,a)),u=a+1,r+=l}n=u!==a?r+n.slice(u,a):r}return n}var Cl=/([A-Z])/g,ll=/^ms-/,T=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function L(n){return T.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var J=D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,dn=m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,qn={pending:!1,data:null,method:null,action:null},Xn=dn.d;dn.d={f:Xn.f,r:Xn.r,D:Wi,C:Yi,L:Gi,m:jr,X:Il,S:qt,M:ja};var Mn=[],an=null;E('"></template>');var ht=E("<script"),on=E("<\/script>"),Re=E('<script src="'),yc=E('<script type="module" src="'),yi=E(' nonce="'),$n=E(' integrity="'),xi=E(' crossorigin="'),wi=E(' async=""><\/script>'),dt=E("<style"),Rr=/(<\/|<)(s)(cript)/gi;function gt(n,l,r,a){return""+l+(r==="s"?"\\u0073":"\\u0053")+a}var Ti=E('<script type="importmap">'),kr=E("<\/script>");function _r(n,l,r,a,u,s){r=typeof l=="string"?l:l&&l.script;var h=r===void 0?ht:E('<script nonce="'+Z(r)+'"'),y=typeof l=="string"?void 0:l&&l.style,v=y===void 0?dt:E('<style nonce="'+Z(y)+'"'),x=n.idPrefix,C=[],S=n.bootstrapScriptContent,N=n.bootstrapScripts,z=n.bootstrapModules;if(S!==void 0&&(C.push(h),jt(C,n),C.push(Tn,I((""+S).replace(Rr,gt)),on)),S=[],a!==void 0&&(S.push(Ti),S.push(I((""+JSON.stringify(a)).replace(Rr,gt))),S.push(kr)),a=u?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+(typeof s=="number"?s:2e3)}:null,u={placeholderPrefix:E(x+"P:"),segmentPrefix:E(x+"S:"),boundaryPrefix:E(x+"B:"),startInlineScript:h,startInlineStyle:v,preamble:_n(),externalRuntimeScript:null,bootstrapChunks:C,importMapChunks:S,on
vendor: 27,901 bytes, lines 27-36
27Headers:u,headers:a,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:r,style:y},hoistableState:null,stylesToHoist:!1},N!==void 0)for(a=0;a<N.length;a++)x=N[a],y=h=void 0,v={rel:"preload",as:"script",fetchPriority:"low",nonce:l},typeof x=="string"?v.href=s=x:(v.href=s=x.src,v.integrity=y=typeof x.integrity=="string"?x.integrity:void 0,v.crossOrigin=h=typeof x=="string"||x.crossOrigin==null?void 0:x.crossOrigin==="use-credentials"?"use-credentials":""),x=n,S=s,x.scriptResources[S]=null,x.moduleScriptResources[S]=null,x=[],Zn(x,v),u.bootstrapScripts.add(x),C.push(Re,I(Z(s)),Sn),r&&C.push(yi,I(Z(r)),Sn),typeof y=="string"&&C.push($n,I(Z(y)),Sn),typeof h=="string"&&C.push(xi,I(Z(h)),Sn),jt(C,n),C.push(wi);if(z!==void 0)for(l=0;l<z.length;l++)y=z[l],s=a=void 0,h={rel:"modulepreload",fetchPriority:"low",nonce:r},typeof y=="string"?h.href=N=y:(h.href=N=y.src,h.integrity=s=typeof y.integrity=="string"?y.integrity:void 0,h.crossOrigin=a=typeof y=="string"||y.crossOrigin==null?void 0:y.crossOrigin==="use-credentials"?"use-credentials":""),y=n,v=N,y.scriptResources[v]=null,y.moduleScriptResources[v]=null,y=[],Zn(y,h),u.bootstrapScripts.add(y),C.push(yc,I(Z(N)),Sn),r&&C.push(yi,I(Z(r)),Sn),typeof s=="string"&&C.push($n,I(Z(s)),Sn),typeof a=="string"&&C.push(xi,I(Z(a)),Sn),jt(C,n),C.push(wi);return u}function Ei(n,l,r,a,u){return{idPrefix:n===void 0?"":n,nextFormID:0,streamingFormat:0,bootstrapScriptContent:r,bootstrapScripts:a,bootstrapModules:u,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function _n(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function ne(n,l,r,a){return{insertionMode:n,selectedValue:l,tagScope:r,viewTransition:a}}function Ci(n){return ne(n==="http://www.w3.org/2000/svg"?4:n==="http://www.w3.org/1998/Math/MathML"?5:0,null,0,null)}function Rl(n,l,r){var a=n.tagScope&-25;switch(l){case"noscript":return ne(2,null,a|1,null);case"select":return ne(2,r.value!=null?r.value:r.defaultValue,a,null);case"svg":return ne(4,null,a,null);case"picture":return ne(2,null,a|2,null);case"math":return ne(5,null,a,null);case"foreignObject":return ne(2,null,a,null);case"table":return ne(6,null,a,null);case"thead":case"tbody":case"tfoot":return ne(7,null,a,null);case"colgroup":return ne(9,null,a,null);case"tr":return ne(8,null,a,null);case"head":if(2>n.insertionMode)return ne(3,null,a,null);break;case"html":if(n.insertionMode===0)return ne(1,null,a,null)}return 6<=n.insertionMode||2>n.insertionMode?ne(2,null,a,null):n.tagScope!==a?ne(n.insertionMode,n.selectedValue,a,null):n}function Ri(n){return n===null?null:{update:n.update,enter:"none",exit:"none",share:n.update,name:n.autoName,autoName:n.autoName,nameIdx:0}}function Sr(n,l){return l.tagScope&32&&(n.instructions|=128),ne(l.insertionMode,l.selectedValue,l.tagScope|12,Ri(l.viewTransition))}function Dt(n,l){n=Ri(l.viewTransition);var r=l.tagScope|16;return n!==null&&n.share!=="none"&&(r|=64),ne(l.insertionMode,l.selectedValue,r,n)}var Xe=E("<!-- -->");function Aa(n,l,r,a){return l===""?a:(a&&n.push(Xe),n.push(I(Z(l))),!0)}var ma=new Map,xc=E(' style="'),Ia=E(":"),Bt=E(";");function Ht(n,l){if(typeof l!="object")throw Error(w(62));var r=!0,a;for(a in l)if(q.call(l,a)){var u=l[a];if(u!=null&&typeof u!="boolean"&&u!==""){if(a.indexOf("--")===0){var s=I(Z(a));u=I(Z((""+u).trim()))}else s=ma.get(a),s===void 0&&(s=E(Z(a.replace(Cl,"-$1").toLowerCase().replace(ll,"-ms-"))),ma.set(a,s)),u=typeof u=="number"?u===0||Xl.has(a)?I(""+u):I(u+"px"):I(Z((""+u).trim()));r?(r=!1,n.push(xc,s,Ia,u)):n.push(Bt,s,Ia,u)}}r||n.push(Sn)}var ee=E(" "),Oe=E('="'),Sn=E('"'),Fr=E('=""');function ke(n,l,r){r&&typeof r!="function"&&typeof r!="symbol"&&n.push(ee,I(l),Fr)}function Fn(n,l,r){typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&n.push(ee,I(l),Oe,I(Z(r)),Sn)}var Na=E(Z("javascript:throw new Error('React form unexpectedly submitted.')")),Ma=E('<input type="hidden"');function ki(n,l){this.push(Ma),Oa(n),Fn(this,"name",l),Fn(this,"value",n),this.push(Wt)}function Oa(n){if(typeof n!="string")throw Error(w(480))}function Ut(n,l){if(typeof l.$$FORM_ACTION=="function"){var r=n.nextFormID++;n=n.idPrefix+r;try{var a=l.$$FORM_ACTION(n);if(a){var u=a.data;u?.forEach(Oa)}return a}catch(s){if(typeof s=="object"&&s!==null&&typeof s.then=="function")throw s}}return null}function za(n,l,r,a,u,s,h,y){var v=null;if(typeof a=="function"){var x=Ut(l,a);x!==null?(y=x.name,a=x.action||"",u=x.encType,s=x.method,h=x.target,v=x.data):(n.push(ee,I("formAction"),Oe,Na,Sn),h=s=u=a=y=null,Da(l,r))}return y!=null&&gn(n,"name",y),a!=null&&gn(n,"formAction",a),u!=null&&gn(n,"formEncType",u),s!=null&&gn(n,"formMethod",s),h!=null&&gn(n,"formTarget",h),v}function gn(n,l,r){switch(l){case"className":Fn(n,"class",r);break;case"tabIndex":Fn(n,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Fn(n,l,r);break;case"style":Ht(n,r);break;case"src":case"href":if(r==="")break;case"action":case"formAction":if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean")break;r=L(""+r),n.push(ee,I(l),Oe,I(Z(r)),Sn);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":ke(n,l.toLowerCase(),r);break;case"xlinkHref":if(typeof r=="function"||typeof r=="symbol"||typeof r=="boolean")break;r=L(""+r),n.push(ee,I("xlink:href"),Oe,I(Z(r)),Sn);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof r!="function"&&typeof r!="symbol"&&n.push(ee,I(l),Oe,I(Z(r)),Sn);break;case"inert":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":r&&typeof r!="function"&&typeof r!="symbol"&&n.push(ee,I(l),Fr);break;case"capture":case"download":r===!0?n.push(ee,I(l),Fr):r!==!1&&typeof r!="function"&&typeof r!="symbol"&&n.push(ee,I(l),Oe,I(Z(r)),Sn);break;case"cols":case"rows":case"size":case"span":typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r&&n.push(ee,I(l),Oe,I(Z(r)),Sn);break;case"rowSpan":case"start":typeof r=="function"||typeof r=="symbol"||isNaN(r)||n.push(ee,I(l),Oe,I(Z(r)),Sn);break;case"xlinkActuate":Fn(n,"xlink:actuate",r);break;case"xlinkArcrole":Fn(n,"xlink:arcrole",r);break;case"xlinkRole":Fn(n,"xlink:role",r);break;case"xlinkShow":Fn(n,"xlink:show",r);break;case"xlinkTitle":Fn(n,"xlink:title",r);break;case"xlinkType":Fn(n,"xlink:type",r);break;case"xmlBase":Fn(n,"xml:base",r);break;case"xmlLang":Fn(n,"xml:lang",r);break;case"xmlSpace":Fn(n,"xml:space",r);break;default:if((!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Nn.get(l)||l,El(l))){switch(typeof r){case"function":case"symbol":return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-")return}n.push(ee,I(l),Oe,I(Z(r)),Sn)}}}var Tn=E(">"),Wt=E("/>");function _e(n,l,r){if(l!=null){if(r!=null)throw Error(w(60));if(typeof l!="object"||!("__html"in l))throw Error(w(61));l=l.__html,l!=null&&n.push(I(""+l))}}function wc(n){var l="";return D.Children.forEach(n,function(r){r!=null&&(l+=r)}),l}var _i=E(' selected=""'),La=E(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`);function Da(n,l){if((n.instructions&16)===0){n.instructions|=16;var r=l.preamble,a=l.bootstrapChunks;(r.htmlChunks||r.headChunks)&&a.length===0?(a.push(l.startInlineScript),jt(a,n),a.push(Tn,La,on)):a.unshift(l.startInlineScript,Tn,La,on)}}var Tc=E("<!--F!-->"),Yt=E("<!--F-->");function Zn(n,l){n.push(Wn("link"));for(var r in l)if(q.call(l,r)){var a=l[r];if(a!=null)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(w(399,"link"));default:gn(n,r,a)}}return n.push(Wt),null}var Pr=/(<\/|<)(s)(tyle)/gi;function Ar(n,l,r,a){return""+l+(r==="s"?"\\73 ":"\\53 ")+a}function kl(n,l,r){n.push(Wn(r));for(var a in l)if(q.call(l,a)){var u=l[a];if(u!=null)switch(a){case"children":case"dangerouslySetInnerHTML":throw Error(w(399,r));default:gn(n,a,u)}}return n.push(Wt),null}function mr(n,l){n.push(Wn("title"));var r=null,a=null,u;for(u in l)if(q.call(l,u)){var s=l[u];if(s!=null)switch(u){case"children":r=s;break;case"dangerouslySetInnerHTML":a=s;break;default:gn(n,u,s)}}return n.push(Tn),l=Array.isArray(r)?2>r.length?r[0]:null:r,typeof l!="function"&&typeof l!="symbol"&&l!==null&&l!==void 0&&n.push(I(Z(""+l))),_e(n,a,r),n.push(Sl("title")),null}var Ec=E("<!--head-->"),Cc=E("<!--body-->"),vt=E("<!--html-->");function Ir(n,l){n.push(Wn("script"));var r=null,a=null,u;for(u in l)if(q.call(l,u)){var s=l[u];if(s!=null)switch(u){case"children":r=s;break;case"dangerouslySetInnerHTML":a=s;break;default:gn(n,u,s)}}return n.push(Tn),_e(n,a,r),typeof r=="string"&&n.push(I((""+r).replace(Rr,gt))),n.push(Sl("script")),null}function Nr(n,l,r){n.push(Wn(r));var a=r=null,u;for(u in l)if(q.call(l,u)){var s=l[u];if(s!=null)switch(u){case"children":r=s;break;case"dangerouslySetInnerHTML":a=s;break;default:gn(n,u,s)}}return n.push(Tn),_e(n,a,r),r}function _l(n,l,r){n.push(Wn(r));var a=r=null,u;for(u in l)if(q.call(l,u)){var s=l[u];if(s!=null)switch(u){case"children":r=s;break;case"dangerouslySetInnerHTML":a=s;break;default:gn(n,u,s)}}return n.push(Tn),_e(n,a,r),typeof r=="string"?(n.push(I(Z(r))),null):r}var Si=E(` 28`),Rc=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Gt=new Map;function Wn(n){var l=Gt.get(n);if(l===void 0){if(!Rc.test(n))throw Error(w(65,n));l=E("<"+n),Gt.set(n,l)}return l}var Zl=E("<!DOCTYPE html>");function Mr(n,l,r,a,u,s,h,y,v){switch(l){case"div":case"span":case"svg":case"path":break;case"a":n.push(Wn("a"));var x=null,C=null,S;for(S in r)if(q.call(r,S)){var N=r[S];if(N!=null)switch(S){case"children":x=N;break;case"dangerouslySetInnerHTML":C=N;break;case"href":N===""?Fn(n,"href",""):gn(n,S,N);break;default:gn(n,S,N)}}if(n.push(Tn),_e(n,C,x),typeof x=="string"){n.push(I(Z(x)));var z=null}else z=x;return z;case"g":case"p":case"li":break;case"select":n.push(Wn("select"));var rn=null,nn=null,en;for(en in r)if(q.call(r,en)){var En=r[en];if(En!=null)switch(en){case"children":rn=En;break;case"dangerouslySetInnerHTML":nn=En;break;case"defaultValue":case"value":break;default:gn(n,en,En)}}return n.push(Tn),_e(n,nn,rn),rn;case"option":var bn=y.selectedValue;n.push(Wn("option"));var ie=null,we=null,We=null,Q=null,he;for(he in r)if(q.call(r,he)){var On=r[he];if(On!=null)switch(he){case"children":ie=On;break;case"selected":We=On;break;case"dangerouslySetInnerHTML":Q=On;break;case"value":we=On;default:gn(n,he,On)}}if(bn!=null){var be=we!==null?""+we:wc(ie);if(ue(bn)){for(var gl=0;gl<bn.length;gl++)if(""+bn[gl]===be){n.push(_i);break}}else""+bn===be&&n.push(_i)}else We&&n.push(_i);return n.push(Tn),_e(n,Q,ie),ie;case"textarea":n.push(Wn("textarea"));var zn=null,Ul=null,je=null,ae;for(ae in r)if(q.call(r,ae)){var Ye=r[ae];if(Ye!=null)switch(ae){case"children":je=Ye;break;case"value":zn=Ye;break;case"defaultValue":Ul=Ye;break;case"dangerouslySetInnerHTML":throw Error(w(91));default:gn(n,ae,Ye)}}if(zn===null&&Ul!==null&&(zn=Ul),n.push(Tn),je!=null){if(zn!=null)throw Error(w(92));if(ue(je)){if(1<je.length)throw Error(w(93));zn=""+je[0]}zn=""+je}return typeof zn=="string"&&zn[0]===` 29`&&n.push(Si),zn!==null&&n.push(I(Z(""+zn))),null;case"input":n.push(Wn("input"));var hr=null,dr=null,ot=null,gr=null,ia=null,Wl=null,Ot=null,Uc=null,Wc=null,aa;for(aa in r)if(q.call(r,aa)){var vl=r[aa];if(vl!=null)switch(aa){case"children":case"dangerouslySetInnerHTML":throw Error(w(399,"input"));case"name":hr=vl;break;case"formAction":dr=vl;break;case"formEncType":ot=vl;break;case"formMethod":gr=vl;break;case"formTarget":ia=vl;break;case"defaultChecked":Wc=vl;break;case"defaultValue":Ot=vl;break;case"checked":Uc=vl;break;case"value":Wl=vl;break;default:gn(n,aa,vl)}}var cu=za(n,a,u,dr,ot,gr,ia,hr);return Uc!==null?ke(n,"checked",Uc):Wc!==null&&ke(n,"checked",Wc),Wl!==null?gn(n,"value",Wl):Ot!==null&&gn(n,"value",Ot),n.push(Wt),cu?.forEach(ki,n),null;case"button":n.push(Wn("button"));var ca=null,uu=null,ou=null,su=null,fu=null,hu=null,du=null,ua;for(ua in r)if(q.call(r,ua)){var st=r[ua];if(st!=null)switch(ua){case"children":ca=st;break;case"dangerouslySetInnerHTML":uu=st;break;case"name":ou=st;break;case"formAction":su=st;break;case"formEncType":fu=st;break;case"formMethod":hu=st;break;case"formTarget":du=st;break;default:gn(n,ua,st)}}var gu=za(n,a,u,su,fu,hu,du,ou);if(n.push(Tn),gu?.forEach(ki,n),_e(n,uu,ca),typeof ca=="string"){n.push(I(Z(ca)));var vu=null}else vu=ca;return vu;case"form":n.push(Wn("form"));var oa=null,bu=null,vr=null,sa=null,fa=null,ha=null,da;for(da in r)if(q.call(r,da)){var zt=r[da];if(zt!=null)switch(da){case"children":oa=zt;break;case"dangerouslySetInnerHTML":bu=zt;break;case"action":vr=zt;break;case"encType":sa=zt;break;case"method":fa=zt;break;case"target":ha=zt;break;default:gn(n,da,zt)}}var Yc=null,Gc=null;if(typeof vr=="function"){var br=Ut(a,vr);br!==null?(vr=br.action||"",sa=br.encType,fa=br.method,ha=br.target,Yc=br.data,Gc=br.name):(n.push(ee,I("action"),Oe,Na,Sn),ha=fa=sa=vr=null,Da(a,u))}if(vr!=null&&gn(n,"action",vr),sa!=null&&gn(n,"encType",sa),fa!=null&&gn(n,"method",fa),ha!=null&&gn(n,"target",ha),n.push(Tn),Gc!==null&&(n.push(Ma),Fn(n,"name",Gc),n.push(Wt),Yc?.forEach(ki,n)),_e(n,bu,oa),typeof oa=="string"){n.push(I(Z(oa)));var yu=null}else yu=oa;return yu;case"menuitem":n.push(Wn("menuitem"));for(var rc in r)if(q.call(r,rc)){var xu=r[rc];if(xu!=null)switch(rc){case"children":case"dangerouslySetInnerHTML":throw Error(w(400));default:gn(n,rc,xu)}}return n.push(Tn),null;case"object":n.push(Wn("object"));var ga=null,wu=null,va;for(va in r)if(q.call(r,va)){var ba=r[va];if(ba!=null)switch(va){case"children":ga=ba;break;case"dangerouslySetInnerHTML":wu=ba;break;case"data":var Tu=L(""+ba);if(Tu==="")break;n.push(ee,I("data"),Oe,I(Z(Tu)),Sn);break;default:gn(n,va,ba)}}if(n.push(Tn),_e(n,wu,ga),typeof ga=="string"){n.push(I(Z(ga)));var Eu=null}else Eu=ga;return Eu;case"title":var ju=y.tagScope&1,qu=y.tagScope&4;if(y.insertionMode===4||ju||r.itemProp!=null)var Xc=mr(n,r);else qu?Xc=null:(mr(u.hoistableChunks,r),Xc=void 0);return Xc;case"link":var $u=y.tagScope&1,no=y.tagScope&4,eo=r.rel,Lt=r.href,ic=r.precedence;if(y.insertionMode===4||$u||r.itemProp!=null||typeof eo!="string"||typeof Lt!="string"||Lt===""){Zn(n,r);var ya=null}else if(r.rel==="stylesheet")if(typeof ic!="string"||r.disabled!=null||r.onLoad||r.onError)ya=Zn(n,r);else{var oi=u.styles.get(ic),ac=a.styleResources.hasOwnProperty(Lt)?a.styleResources[Lt]:void 0;if(ac!==null){a.styleResources[Lt]=null,oi||(oi={precedence:I(Z(ic)),rules:[],hrefs:[],sheets:new Map},u.styles.set(ic,oi));var cc={state:0,props:In({},r,{"data-precedence":r.precedence,precedence:null})};if(ac){ac.length===2&&Kl(cc.props,ac);var Zc=u.preloads.stylesheets.get(Lt);Zc&&0<Zc.length?Zc.length=0:cc.state=1}oi.sheets.set(Lt,cc),h&&h.stylesheets.add(cc)}else if(oi){var Cu=oi.sheets.get(Lt);Cu&&h&&h.stylesheets.add(Cu)}v&&n.push(Xe),ya=null}else r.onLoad||r.onError?ya=Zn(n,r):(v&&n.push(Xe),ya=no?null:Zn(u.hoistableChunks,r));return ya;case"script":var lo=y.tagScope&1,Jc=r.async;if(typeof r.src!="string"||!r.src||!Jc||typeof Jc=="function"||typeof Jc=="symbol"||r.onLoad||r.onError||y.insertionMode===4||lo||r.itemProp!=null)var Ru=Ir(n,r);else{var uc=r.src;if(r.type==="module")var oc=a.moduleScriptResources,ku=u.preloads.moduleScripts;else oc=a.scriptResources,ku=u.preloads.scripts;var sc=oc.hasOwnProperty(uc)?oc[uc]:void 0;if(sc!==null){oc[uc]=null;var Qc=r;if(sc){sc.length===2&&(Qc=In({},r),Kl(Qc,sc));var _u=ku.get(uc);_u&&(_u.length=0)}var Su=[];u.scripts.add(Su),Ir(Su,Qc)}v&&n.push(Xe),Ru=null}return Ru;case"style":var to=y.tagScope&1,fc=r.precedence,si=r.href,ro=r.nonce;if(y.insertionMode===4||to||r.itemProp!=null||typeof fc!="string"||typeof si!="string"||si===""){n.push(Wn("style"));var fi=null,Fu=null,xa;for(xa in r)if(q.call(r,xa)){var hc=r[xa];if(hc!=null)switch(xa){case"children":fi=hc;break;case"dangerouslySetInnerHTML":Fu=hc;break;default:gn(n,xa,hc)}}n.push(Tn);var wa=Array.isArray(fi)?2>fi.length?fi[0]:null:fi;typeof wa!="function"&&typeof wa!="symbol"&&wa!==null&&wa!==void 0&&n.push(I((""+wa).replace(Pr,Ar))),_e(n,Fu,fi),n.push(Sl("style"));var Pu=null}else{var yr=u.styles.get(fc);if((a.styleResources.hasOwnProperty(si)?a.styleResources[si]:void 0)!==null){a.styleResources[si]=null,yr||(yr={precedence:I(Z(fc)),rules:[],hrefs:[],sheets:new Map},u.styles.set(fc,yr));var Au=u.nonce.style;if(!Au||Au===ro){yr.hrefs.push(I(Z(si)));var mu=yr.rules,hi=null,Iu=null,dc;for(dc in r)if(q.call(r,dc)){var Vc=r[dc];if(Vc!=null)switch(dc){case"children":hi=Vc;break;case"dangerouslySetInnerHTML":Iu=Vc}}var Ta=Array.isArray(hi)?2>hi.length?hi[0]:null:hi;typeof Ta!="function"&&typeof Ta!="symbol"&&Ta!==null&&Ta!==void 0&&mu.push(I((""+Ta).replace(Pr,Ar))),_e(mu,Iu,hi)}}yr&&h&&h.styles.add(yr),v&&n.push(Xe),Pu=void 0}return Pu;case"meta":var io=y.tagScope&1,ao=y.tagScope&4;if(y.insertionMode===4||io||r.itemProp!=null)var Nu=kl(n,r,"meta");else v&&n.push(Xe),Nu=ao?null:typeof r.charSet=="string"?kl(u.charsetChunks,r,"meta"):r.name==="viewport"?kl(u.viewportChunks,r,"meta"):kl(u.hoistableChunks,r,"meta");return Nu;case"listing":case"pre":n.push(Wn(l));var Ea=null,Ca=null,Ra;for(Ra in r)if(q.call(r,Ra)){var gc=r[Ra];if(gc!=null)switch(Ra){case"children":Ea=gc;break;case"dangerouslySetInnerHTML":Ca=gc;break;default:gn(n,Ra,gc)}}if(n.push(Tn),Ca!=null){if(Ea!=null)throw Error(w(60));if(typeof Ca!="object"||!("__html"in Ca))throw Error(w(61));var xr=Ca.__html;xr!=null&&(typeof xr=="string"&&0<xr.length&&xr[0]===` 30`?n.push(Si,I(xr)):n.push(I(""+xr)))}return typeof Ea=="string"&&Ea[0]===` 31`&&n.push(Si),Ea;case"img":var co=y.tagScope&3,Te=r.src,ye=r.srcSet;if(!(r.loading==="lazy"||!Te&&!ye||typeof Te!="string"&&Te!=null||typeof ye!="string"&&ye!=null||r.fetchPriority==="low"||co)&&(typeof Te!="string"||Te[4]!==":"||Te[0]!=="d"&&Te[0]!=="D"||Te[1]!=="a"&&Te[1]!=="A"||Te[2]!=="t"&&Te[2]!=="T"||Te[3]!=="a"&&Te[3]!=="A")&&(typeof ye!="string"||ye[4]!==":"||ye[0]!=="d"&&ye[0]!=="D"||ye[1]!=="a"&&ye[1]!=="A"||ye[2]!=="t"&&ye[2]!=="T"||ye[3]!=="a"&&ye[3]!=="A")){h!==null&&y.tagScope&64&&(h.suspenseyImages=!0);var Mu=typeof r.sizes=="string"?r.sizes:void 0,di=ye?ye+` 32`+(Mu||""):Te,Kc=u.preloads.images,wr=Kc.get(di);if(wr)(r.fetchPriority==="high"||10>u.highImagePreloads.size)&&(Kc.delete(di),u.highImagePreloads.add(wr));else if(!a.imageResources.hasOwnProperty(di)){a.imageResources[di]=Mn;var pc=r.crossOrigin,Ou=typeof pc=="string"?pc==="use-credentials"?pc:"":void 0,Tr=u.headers,jc;Tr&&0<Tr.remainingCapacity&&typeof r.srcSet!="string"&&(r.fetchPriority==="high"||500>Tr.highImagePreloads.length)&&(jc=$t(Te,"image",{imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:Ou,integrity:r.integrity,nonce:r.nonce,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.refererPolicy}),0<=(Tr.remainingCapacity-=jc.length+2))?(u.resets.image[di]=Mn,Tr.highImagePreloads&&(Tr.highImagePreloads+=", "),Tr.highImagePreloads+=jc):(wr=[],Zn(wr,{rel:"preload",as:"image",href:ye?void 0:Te,imageSrcSet:ye,imageSizes:Mu,crossOrigin:Ou,integrity:r.integrity,type:r.type,fetchPriority:r.fetchPriority,referrerPolicy:r.referrerPolicy}),r.fetchPriority==="high"||10>u.highImagePreloads.size?u.highImagePreloads.add(wr):(u.bulkPreloads.add(wr),Kc.set(di,wr)))}}return kl(n,r,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return kl(n,r,l);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":if(2>y.insertionMode){var qc=s||u.preamble;if(qc.headChunks)throw Error(w(545,"`<head>`"));s!==null&&n.push(Ec),qc.headChunks=[];var zu=Nr(qc.headChunks,r,"head")}else zu=_l(n,r,"head");return zu;case"body":if(2>y.insertionMode){var $c=s||u.preamble;if($c.bodyChunks)throw Error(w(545,"`<body>`"));s!==null&&n.push(Cc),$c.bodyChunks=[];var Lu=Nr($c.bodyChunks,r,"body")}else Lu=_l(n,r,"body");return Lu;case"html":if(y.insertionMode===0){var nu=s||u.preamble;if(nu.htmlChunks)throw Error(w(545,"`<html>`"));s!==null&&n.push(vt),nu.htmlChunks=[Zl];var Du=Nr(nu.htmlChunks,r,"html")}else Du=_l(n,r,"html");return Du;default:if(l.indexOf("-")!==-1){n.push(Wn(l));var eu=null,Bu=null,gi;for(gi in r)if(q.call(r,gi)){var bl=r[gi];if(bl!=null){var Hu=gi;switch(gi){case"children":eu=bl;break;case"dangerouslySetInnerHTML":Bu=bl;break;case"style":Ht(n,bl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":Hu="class";default:if(El(gi)&&typeof bl!="function"&&typeof bl!="symbol"&&bl!==!1){if(bl===!0)bl="";else if(typeof bl=="object")continue;n.push(ee,I(Hu),Oe,I(Z(bl)),Sn)}}}}return n.push(Tn),_e(n,Bu,eu),eu}}return _l(n,r,l)}var Fi=new Map;function Sl(n){var l=Fi.get(n);return l===void 0&&(l=E("</"+n+">"),Fi.set(n,l)),l}function Pi(n,l){n=n.preamble,n.htmlChunks===null&&l.htmlChunks&&(n.htmlChunks=l.htmlChunks),n.headChunks===null&&l.headChunks&&(n.headChunks=l.headChunks),n.bodyChunks===null&&l.bodyChunks&&(n.bodyChunks=l.bodyChunks)}function Ai(n,l){l=l.bootstrapChunks;for(var r=0;r<l.length-1;r++)F(n,l[r]);return r<l.length?(r=l[r],l.length=0,O(n,r)):!0}var Fl=E("requestAnimationFrame(function(){$RT=performance.now()});"),Ba=E('<template id="'),kc=E('"></template>'),Jl=E("<!--&-->"),Or=E("<!--/&-->"),_c=E("<!--$-->"),Sc=E('<!--$?--><template id="'),Fc=E('"></template>'),ge=E("<!--$!-->"),Se=E("<!--/$-->"),Pc=E("<template"),zr=E('"'),Lr=E(' data-dgst="');E(' data-msg="'),E(' data-stck="'),E(' data-cstck="');var Ac=E("></template>");function Ha(n,l,r){if(F(n,Sc),r===null)throw Error(w(395));return F(n,l.boundaryPrefix),F(n,I(r.toString(16))),O(n,Fc)}var tl=E('<div hidden id="'),mi=E('">'),Ii=E("</div>"),Ni=E('<svg aria-hidden="true" style="display:none" id="'),Dr=E('">'),yn=E("</svg>"),Xt=E('<math aria-hidden="true" style="display:none" id="'),Br=E('">'),Zt=E("</math>"),Jt=E('<table hidden id="'),Qt=E('">'),Hr=E("</table>"),bt=E('<table hidden><tbody id="'),Pl=E('">'),Ur=E("</tbody></table>"),rl=E('<table hidden><tr id="'),Ua=E('">'),Mi=E("</tr></table>"),yt=E('<table hidden><colgroup id="'),Vt=E('">'),Wa=E("</colgroup></table>");function Ya(n,l,r,a){switch(r.insertionMode){case 0:case 1:case 3:case 2:return F(n,tl),F(n,l.segmentPrefix),F(n,I(a.toString(16))),O(n,mi);case 4:return F(n,Ni),F(n,l.segmentPrefix),F(n,I(a.toString(16))),O(n,Dr);case 5:return F(n,Xt),F(n,l.segmentPrefix),F(n,I(a.toString(16))),O(n,Br);case 6:return F(n,Jt),F(n,l.segmentPrefix),F(n,I(a.toString(16))),O(n,Qt);case 7:return F(n,bt),F(n,l.segmentPrefix),F(n,I(a.toString(16))),O(n,Pl);case 8:return F(n,rl),F(n,l.segmentPrefix),F(n,I(a.toString(16))),O(n,Ua);case 9:return F(n,yt),F(n,l.segmentPrefix),F(n,I(a.toString(16))),O(n,Vt);default:throw Error(w(397))}}function Ga(n,l){switch(l.insertionMode){case 0:case 1:case 3:case 2:return O(n,Ii);case 4:return O(n,yn);case 5:return O(n,Zt);case 6:return O(n,Hr);case 7:return O(n,Ur);case 8:return O(n,Mi);case 9:return O(n,Wa);default:throw Error(w(397))}}var mc=E('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ic=E('$RS("'),Nc=E('","'),Mc=E('")<\/script>');E('<template data-rsi="" data-sid="'),E('" data-pid="');var Oi=E(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0}; 33$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`);I(`$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"), 34H=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll('img[src]:not([loading="lazy"])'))}}}if(B){var z= 35document.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q= 36performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}
36.bind(null,$RV);`);var Xa=E('$RC("'),Oc=E(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel= 37"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data= 38"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),Za=E('$RR("'),Wr=E('","'),zc=E('",'),zi=E('"'),Ja=E(")<\/script>");E('<template data-rci="" data-bid="'),E('<template data-rri="" data-bid="'),E('" data-sid="'),E('" data-sty="');var xt=E('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),Li=E('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),Yr=E('$RX("'),Qa=E('"'),wt=E(","),Lc=E(")<\/script>");E('<template data-rxi="" data-bid="'),E('" data-dgst="'),E('" data-msg="'),E('" data-stck="'),E('" data-cstck="');var Dc=/[<\u2028\u2029]/g;function Bc(n){return JSON.stringify(n).replace(Dc,function(l){switch(l){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 le=/[&><\u2028\u2029]/g;function Tt(n){return JSON.stringify(n).replace(le,function(l){switch(l){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 Di=E(' media="not all" data-precedence="'),Gr=E('" data-href="'),Va=E('">'),Ql=E("</style>"),Al=!1,Kt=!0;function ml(n){var l=n.rules,r=n.hrefs,a=0;if(r.length){for(F(this,an.startInlineStyle),F(this,Di),F(this,n.precedence),F(this,Gr);a<r.length-1;a++)F(this,r[a]),F(this,Hi);for(F(this,r[a]),F(this,Va),a=0;a<l.length;a++)F(this,l[a]);Kt=O(this,Ql),Al=!0,l.length=0,r.length=0}}function oe(n){return n.state!==2?Al=!0:!1}function Et(n,l,r){return Al=!1,Kt=!0,an=r,l.styles.forEach(ml,n),an=null,l.stylesheets.forEach(oe),Al&&(r.stylesToHoist=!0),Kt}function xn(n){for(var l=0;l<n.length;l++)F(this,n[l]);n.length=0}var Ve=[];function Bi(n){Zn(Ve,n.props);for(var l=0;l<Ve.length;l++)F(this,Ve[l]);Ve.length=0,n.state=2}var pt=E(' data-precedence="'),Ka=E('" data-href="'),Hi=E(" "),pa=E('">'),Xr=E("</style>");function Zr(n){var l=0<n.sheets.size;n.sheets.forEach(Bi,this),n.sheets.clear();var r=n.rules,a=n.hrefs;if(!l||a.length){if(F(this,an.startInlineStyle),F(this,pt),F(this,n.precedence),n=0,a.length){for(F(this,Ka);n<a.length-1;n++)F(this,a[n]),F(this,Hi);F(this,a[n])}for(F(this,pa),n=0;n<r.length;n++)F(this,r[n]);F(this,Xr),r.length=0,a.length=0}}function ze(n){if(n.state===0){n.state=1;var l=n.props;for(Zn(Ve,{rel:"preload",as:"style",href:n.props.href,crossOrigin:l.crossOrigin,fetchPriority:l.fetchPriority,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy}),n=0;n<Ve.length;n++)F(this,Ve[n]);Ve.length=0}}
vendor: 57,744 bytes, lines 38-53
38function Ui(n){n.sheets.forEach(ze,this),n.sheets.clear()}E('<link rel="expect" href="#'),E('" blocking="render"/>');var Jr=E(' id="');function jt(n,l){(l.instructions&32)===0&&(l.instructions|=32,n.push(Jr,I(Z("_"+l.idPrefix+"R_")),Sn))}var Qr=E("["),Vr=E(",["),Kr=E(","),pr=E("]");function Kn(n,l){F(n,Qr);var r=Qr;l.stylesheets.forEach(function(a){if(a.state!==2)if(a.state===3)F(n,r),F(n,I(Tt(""+a.props.href))),F(n,pr),r=Vr;else{F(n,r);var u=a.props["data-precedence"],s=a.props,h=L(""+a.props.href);F(n,I(Tt(h))),u=""+u,F(n,Kr),F(n,I(Tt(u)));for(var y in s)if(q.call(s,y)&&(u=s[y],u!=null))switch(y){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(w(399,"link"));default:Hc(n,y,u)}F(n,pr),r=Vr,a.state=3}}),F(n,pr)}function Hc(n,l,r){var a=l.toLowerCase();switch(typeof r){case"function":case"symbol":return}switch(l){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":a="class",l=""+r;break;case"hidden":if(r===!1)return;l="";break;case"src":case"href":r=L(r),l=""+r;break;default:if(2<l.length&&(l[0]==="o"||l[0]==="O")&&(l[1]==="n"||l[1]==="N")||!El(l))return;l=""+r}F(n,Kr),F(n,I(Tt(a))),F(n,Kr),F(n,I(Tt(l)))}function Vl(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Wi(n){var l=Qn||null;if(l){var r=l.resumableState,a=l.renderState;if(typeof n=="string"&&n){if(!r.dnsResources.hasOwnProperty(n)){r.dnsResources[n]=null,r=a.headers;var u,s;(s=r&&0<r.remainingCapacity)&&(s=(u="<"+(""+n).replace(pl,Ct)+">; rel=dns-prefetch",0<=(r.remainingCapacity-=u.length+2))),s?(a.resets.dns[n]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=u):(u=[],Zn(u,{href:n,rel:"dns-prefetch"}),a.preconnects.add(u))}dl(l)}}else Xn.D(n)}function Yi(n,l){var r=Qn||null;if(r){var a=r.resumableState,u=r.renderState;if(typeof n=="string"&&n){var s=l==="use-credentials"?"credentials":typeof l=="string"?"anonymous":"default";if(!a.connectResources[s].hasOwnProperty(n)){a.connectResources[s][n]=null,a=u.headers;var h,y;if(y=a&&0<a.remainingCapacity){if(y="<"+(""+n).replace(pl,Ct)+">; rel=preconnect",typeof l=="string"){var v=(""+l).replace(jl,ql);y+='; crossorigin="'+v+'"'}y=(h=y,0<=(a.remainingCapacity-=h.length+2))}y?(u.resets.connect[s][n]=null,a.preconnects&&(a.preconnects+=", "),a.preconnects+=h):(s=[],Zn(s,{rel:"preconnect",href:n,crossOrigin:l}),u.preconnects.add(s))}dl(r)}}else Xn.C(n,l)}function Gi(n,l,r){var a=Qn||null;if(a){var u=a.resumableState,s=a.renderState;if(l&&n){switch(l){case"image":if(r)var h=r.imageSrcSet,y=r.imageSizes,v=r.fetchPriority;var x=h?h+` 39`+(y||""):n;if(u.imageResources.hasOwnProperty(x))return;u.imageResources[x]=Mn,u=s.headers;var C;u&&0<u.remainingCapacity&&typeof h!="string"&&v==="high"&&(C=$t(n,l,r),0<=(u.remainingCapacity-=C.length+2))?(s.resets.image[x]=Mn,u.highImagePreloads&&(u.highImagePreloads+=", "),u.highImagePreloads+=C):(u=[],Zn(u,In({rel:"preload",href:h?void 0:n,as:l},r)),v==="high"?s.highImagePreloads.add(u):(s.bulkPreloads.add(u),s.preloads.images.set(x,u)));break;case"style":if(u.styleResources.hasOwnProperty(n))return;h=[],Zn(h,In({rel:"preload",href:n,as:l},r)),u.styleResources[n]=!r||typeof r.crossOrigin!="string"&&typeof r.integrity!="string"?Mn:[r.crossOrigin,r.integrity],s.preloads.stylesheets.set(n,h),s.bulkPreloads.add(h);break;case"script":if(u.scriptResources.hasOwnProperty(n))return;h=[],s.preloads.scripts.set(n,h),s.bulkPreloads.add(h),Zn(h,In({rel:"preload",href:n,as:l},r)),u.scriptResources[n]=!r||typeof r.crossOrigin!="string"&&typeof r.integrity!="string"?Mn:[r.crossOrigin,r.integrity];break;default:if(u.unknownResources.hasOwnProperty(l)){if(h=u.unknownResources[l],h.hasOwnProperty(n))return}else h={},u.unknownResources[l]=h;h[n]=Mn,(u=s.headers)&&0<u.remainingCapacity&&l==="font"&&(x=$t(n,l,r),0<=(u.remainingCapacity-=x.length+2))?(s.resets.font[n]=Mn,u.fontPreloads&&(u.fontPreloads+=", "),u.fontPreloads+=x):(u=[],n=In({rel:"preload",href:n,as:l},r),Zn(u,n),l)==="font"?s.fontPreloads.add(u):s.bulkPreloads.add(u)}dl(a)}}else Xn.L(n,l,r)}function jr(n,l){var r=Qn||null;if(r){var a=r.resumableState,u=r.renderState;if(n){var s=l&&typeof l.as=="string"?l.as:"script";switch(s){case"script":if(a.moduleScriptResources.hasOwnProperty(n))return;s=[],a.moduleScriptResources[n]=!l||typeof l.crossOrigin!="string"&&typeof l.integrity!="string"?Mn:[l.crossOrigin,l.integrity],u.preloads.moduleScripts.set(n,s);break;default:if(a.moduleUnknownResources.hasOwnProperty(s)){var h=a.unknownResources[s];if(h.hasOwnProperty(n))return}else h={},a.moduleUnknownResources[s]=h;s=[],h[n]=Mn}Zn(s,In({rel:"modulepreload",href:n},l)),u.bulkPreloads.add(s),dl(r)}}else Xn.m(n,l)}function qt(n,l,r){var a=Qn||null;if(a){var u=a.resumableState,s=a.renderState;if(n){l=l||"default";var h=s.styles.get(l),y=u.styleResources.hasOwnProperty(n)?u.styleResources[n]:void 0;y!==null&&(u.styleResources[n]=null,h||(h={precedence:I(Z(l)),rules:[],hrefs:[],sheets:new Map},s.styles.set(l,h)),l={state:0,props:In({rel:"stylesheet",href:n,"data-precedence":l},r)},y&&(y.length===2&&Kl(l.props,y),(s=s.preloads.stylesheets.get(n))&&0<s.length?s.length=0:l.state=1),h.sheets.set(n,l),dl(a))}}else Xn.S(n,l,r)}function Il(n,l){var r=Qn||null;if(r){var a=r.resumableState,u=r.renderState;if(n){var s=a.scriptResources.hasOwnProperty(n)?a.scriptResources[n]:void 0;s!==null&&(a.scriptResources[n]=null,l=In({src:n,async:!0},l),s&&(s.length===2&&Kl(l,s),n=u.preloads.scripts.get(n))&&(n.length=0),n=[],u.scripts.add(n),Ir(n,l),dl(r))}}else Xn.X(n,l)}function ja(n,l){var r=Qn||null;if(r){var a=r.resumableState,u=r.renderState;if(n){var s=a.moduleScriptResources.hasOwnProperty(n)?a.moduleScriptResources[n]:void 0;s!==null&&(a.moduleScriptResources[n]=null,l=In({src:n,type:"module",async:!0},l),s&&(s.length===2&&Kl(l,s),n=u.preloads.moduleScripts.get(n))&&(n.length=0),n=[],u.scripts.add(n),Ir(n,l),dl(r))}}else Xn.M(n,l)}function Kl(n,l){n.crossOrigin==null&&(n.crossOrigin=l[0]),n.integrity==null&&(n.integrity=l[1])}function $t(n,l,r){n=(""+n).replace(pl,Ct),l=(""+l).replace(jl,ql),l="<"+n+'>; rel=preload; as="'+l+'"';for(var a in r)q.call(r,a)&&(n=r[a],typeof n=="string"&&(l+="; "+a.toLowerCase()+'="'+(""+n).replace(jl,ql)+'"'));return l}var pl=/[<>\r\n]/g;function Ct(n){switch(n){case"<":return"%3C";case">":return"%3E";case` 40`:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer 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 jl=/["';,\r\n]/g;function ql(n){switch(n){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case` 41`:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer 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 Xi(n){this.styles.add(n)}function qa(n){this.stylesheets.add(n)}function $l(n,l){l.styles.forEach(Xi,n),l.stylesheets.forEach(qa,n),l.suspenseyImages&&(n.suspenseyImages=!0)}function nr(n){return 0<n.stylesheets.size||n.suspenseyImages}var qr=Function.prototype.bind,nt=Symbol.for("react.client.reference");function $r(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===nt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case K:return"Fragment";case _:return"Profiler";case hn:return"StrictMode";case kn:return"Suspense";case ce:return"SuspenseList";case Hn:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case Y:return"Portal";case An:return n.displayName||"Context";case G:return(n._context.displayName||"Context")+".Consumer";case Gn:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case mn:return l=n.displayName||null,l!==null?l:$r(n.type)||"Memo";case U:l=n._payload,n=n._init;try{return $r(n(l))}catch{}}return null}var $a={},Ke=null;function ni(n,l){if(n!==l){n.context._currentValue=n.parentValue,n=n.parent;var r=l.parent;if(n===null){if(r!==null)throw Error(w(401))}else{if(r===null)throw Error(w(401));ni(n,r)}l.context._currentValue=l.value}}function Zi(n){n.context._currentValue=n.parentValue,n=n.parent,n!==null&&Zi(n)}function e(n){var l=n.parent;l!==null&&e(l),n.context._currentValue=n.value}function t(n,l){if(n.context._currentValue=n.parentValue,n=n.parent,n===null)throw Error(w(402));n.depth===l.depth?ni(n,l):t(n,l)}function i(n,l){var r=l.parent;if(r===null)throw Error(w(402));n.depth===r.depth?ni(n,r):i(n,r),l.context._currentValue=l.value}function c(n){var l=Ke;l!==n&&(l===null?e(n):n===null?Zi(l):l.depth===n.depth?ni(l,n):l.depth>n.depth?t(l,n):i(l,n),Ke=n)}var o={enqueueSetState:function(n,l){n=n._reactInternals,n.queue!==null&&n.queue.push(l)},enqueueReplaceState:function(n,l){n=n._reactInternals,n.replace=!0,n.queue=[l]},enqueueForceUpdate:function(){}},f={id:1,overflow:""};function d(n,l,r){var a=n.id;n=n.overflow;var u=32-R(a)-1;a&=~(1<<u),r+=1;var s=32-R(l)+u;if(30<s){var h=u-u%5;return s=(a&(1<<h)-1).toString(32),a>>=h,u-=h,{id:1<<32-R(l)+u|r<<u|a,overflow:s+n}}return{id:1<<s|r<<u|a,overflow:n}}var R=Math.clz32?Math.clz32:A,b=Math.log,k=Math.LN2;function A(n){return n>>>=0,n===0?32:31-(b(n)/k|0)|0}function P(){}var M=Error(w(460));function W(n,l,r){switch(r=n[r],r===void 0?n.push(l):r!==l&&(l.then(P,P),l=r),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:switch(typeof l.status=="string"?l.then(P,P):(n=l,n.status="pending",n.then(function(a){if(l.status==="pending"){var u=l;u.status="fulfilled",u.value=a}},function(a){if(l.status==="pending"){var u=l;u.status="rejected",u.reason=a}})),l.status){case"fulfilled":return l.value;case"rejected":throw l.reason}throw ln=l,M}}var ln=null;function p(){if(ln===null)throw Error(w(459));var n=ln;return ln=null,n}function j(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var V=typeof Object.is=="function"?Object.is:j,$=null,Cn=null,Pn=null,cn=null,fn=null,tn=null,xe=!1,un=!1,Fe=0,vn=0,Yn=-1,Jn=0,Rn=null,ve=null,et=0;function Pe(){if($===null)throw Error(w(321));return $}function er(){if(0<et)throw Error(w(312));return{memoizedState:null,queue:null,next:null}}function Rt(){return tn===null?fn===null?(xe=!1,fn=tn=er()):(xe=!0,tn=fn):tn.next===null?(xe=!1,tn=tn.next=er()):(xe=!0,tn=tn.next),tn}function se(){var n=Rn;return Rn=null,n}function Le(){cn=Pn=Cn=$=null,un=!1,fn=null,et=0,tn=ve=null}function Ze(n,l){return typeof l=="function"?l(n):l}function Je(n,l,r){if($=Pe(),tn=Rt(),xe){var a=tn.queue;if(l=a.dispatch,ve!==null&&(r=ve.get(a),r!==void 0)){ve.delete(a),a=tn.memoizedState;do a=n(a,r.action),r=r.next;while(r!==null);return tn.memoizedState=a,[a,l]}return[tn.memoizedState,l]}return n=n===Ze?typeof l=="function"?l():l:r!==void 0?r(l):l,tn.memoizedState=n,n=tn.queue={last:null,dispatch:null},n=n.dispatch=Nl.bind(null,$,n),[tn.memoizedState,n]}function il(n,l){if($=Pe(),tn=Rt(),l=l===void 0?null:l,tn!==null){var r=tn.memoizedState;if(r!==null&&l!==null){var a=r[1];n:if(a===null)a=!1;else{for(var u=0;u<a.length&&u<l.length;u++)if(!V(l[u],a[u])){a=!1;break n}a=!0}if(a)return r[0]}}return n=n(),tn.memoizedState=[n,l],n}function Nl(n,l,r){if(25<=et)throw Error(w(301));if(n===$)if(un=!0,n={action:r,next:null},ve===null&&(ve=new Map),r=ve.get(l),r===void 0)ve.set(l,n);else{for(l=r;l.next!==null;)l=l.next;l.next=n}}function pn(){throw Error(w(440))}function lt(){throw Error(w(394))}function lr(){throw Error(w(479))}function Ji(n,l,r){Pe();var a=vn++,u=Pn;if(typeof n.$$FORM_ACTION=="function"){var s=null,h=cn;u=u.formState;var y=n.$$IS_SIGNATURE_EQUAL;if(u!==null&&typeof y=="function"){var v=u[1];y.call(n,u[2],u[3])&&(s=r!==void 0?"p"+r:"k"+xl(JSON.stringify([h,null,a]),0),v===s&&(Yn=a,l=u[0]))}var x=n.bind(null,l);return n=function(S){x(S)},typeof x.$$FORM_ACTION=="function"&&(n.$$FORM_ACTION=function(S){S=x.$$FORM_ACTION(S),r!==void 0&&(r+="",S.action=r);var N=S.data;return N&&(s===null&&(s=r!==void 0?"p"+r:"k"+xl(JSON.stringify([h,null,a]),0)),N.append("$ACTION_KEY",s)),S}),[l,n,!1]}var C=n.bind(null,l);return[l,function(S){C(S)},!1]}function Qi(n){var l=Jn;return Jn+=1,Rn===null&&(Rn=[]),W(Rn,n,l)}function nc(){throw Error(w(393))}var Vi={readContext:function(n){return n._currentValue},use:function(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Qi(n);if(n.$$typeof===An)return n._currentValue}throw Error(w(438,String(n)))},useContext:function(n){return Pe(),n._currentValue},useMemo:il,useReducer:Je,useRef:function(n){$=Pe(),tn=Rt();var l=tn.memoizedState;return l===null?(n={current:n},tn.memoizedState=n):l},useState:function(n){return Je(Ze,n)},useInsertionEffect:P,useLayoutEffect:P,useCallback:function(n,l){return il(function(){return n},l)},useImperativeHandle:P,useEffect:P,useDebugValue:P,useDeferredValue:function(n,l){return Pe(),l!==void 0?l:n},useTransition:function(){return Pe(),[!1,lt]},useId:function(){var n=Cn.treeContext,l=n.overflow;n=n.id,n=(n&~(1<<32-R(n)-1)).toString(32)+l;var r=tr;if(r===null)throw Error(w(404));return l=Fe++,n="_"+r.idPrefix+"R_"+n,0<l&&(n+="H"+l.toString(32)),n+"_"},useSyncExternalStore:function(n,l,r){if(r===void 0)throw Error(w(407));return r()},useOptimistic:function(n){return Pe(),[n,lr]},useActionState:Ji,useFormState:Ji,useHostTransitionStatus:function(){return Pe(),qn},useMemoCache:function(n){for(var l=Array(n),r=0;r<n;r++)l[r]=me;return l},useCacheRefresh:function(){return nc},useEffectEvent:function(){return pn}},tr=null,ec={getCacheForType:function(){throw Error(w(248))},cacheSignal:function(){throw Error(w(248))}},tt,pe;function rt(n){if(tt===void 0)try{throw Error()}catch(r){var l=r.stack.trim().match(/\n( *(at )?)/);tt=l&&l[1]||"",pe=-1<r.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+tt+n+pe}var ei=!1;function Ml(n,l){if(!n||ei)return"";ei=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(z){var N=z}Reflect.construct(n,[],S)}else{try{S.call()}catch(z){N=z}n.call(S.prototype)}}else{try{throw Error()}catch(z){N=z}(S=n())&&typeof S.catch=="function"&&S.catch(function(){})}}catch(z){if(z&&N&&typeof z.stack=="string")return[z.stack,N.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),h=s[0],y=s[1];if(h&&y){var v=h.split(` 44`),x=y.split(` 45`);for(u=a=0;a<v.length&&!v[a].includes("DetermineComponentFrameRoot");)a++;for(;u<x.length&&!x[u].includes("DetermineComponentFrameRoot");)u++;if(a===v.length||u===x.length)for(a=v.length-1,u=x.length-1;1<=a&&0<=u&&v[a]!==x[u];)u--;for(;1<=a&&0<=u;a--,u--)if(v[a]!==x[u]){if(a!==1||u!==1)do if(a--,u--,0>u||v[a]!==x[u]){var C=` 46`+v[a].replace(" at new "," at ");return n.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",n.displayName)),C}while(1<=a&&0<=u);break}}}finally{ei=!1,Error.prepareStackTrace=r}return(r=n?n.displayName||n.name:"")?rt(r):""}function Ki(n){if(typeof n=="string")return rt(n);if(typeof n=="function")return n.prototype&&n.prototype.isReactComponent?Ml(n,!0):Ml(n,!1);if(typeof n=="object"&&n!==null){switch(n.$$typeof){case Gn:return Ml(n.render,!1);case mn:return Ml(n.type,!1);case U:var l=n,r=l._payload;l=l._init;try{n=l(r)}catch{return rt("Lazy")}return Ki(n)}if(typeof n.name=="string"){n:{r=n.name,l=n.env;var a=n.debugLocation;if(a!=null&&(n=Error.prepareStackTrace,Error.prepareStackTrace=void 0,a=a.stack,Error.prepareStackTrace=n,a.startsWith(`Error: react-stack-top-frame 47`)&&(a=a.slice(29)),n=a.indexOf(` 48`),n!==-1&&(a=a.slice(n+1)),n=a.indexOf("react_stack_bottom_frame"),n!==-1&&(n=a.lastIndexOf(` 49`,n)),n=n!==-1?a=a.slice(0,n):"",a=n.lastIndexOf(` 50`),n=a===-1?n:n.slice(a+1),n.indexOf(r)!==-1)){r=` 51`+n;break n}r=rt(r+(l?" ["+l+"]":""))}return r}}switch(n){case ce:return rt("SuspenseList");case kn:return rt("Suspense")}return""}function De(n,l){return(500<l.byteSize||nr(l.contentState))&&l.contentPreamble===null}function rr(n){if(typeof n=="object"&&n!==null&&typeof n.environmentName=="string"){var l=n.environmentName;n=[n].slice(0),typeof n[0]=="string"?n.splice(0,1,"%c%s%c "+n[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+l+" ",""):n.splice(0,0,"%c%s%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+l+" ",""),n.unshift(console),l=qr.apply(console.error,n),l()}else console.error(n);return null}function kt(n,l,r,a,u,s,h,y,v,x,C){var S=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=n,this.renderState=l,this.rootFormatContext=r,this.progressiveChunkSize=a===void 0?12800:a,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=S,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=u===void 0?rr:u,this.onPostpone=x===void 0?P:x,this.onAllReady=s===void 0?P:s,this.onShellReady=h===void 0?P:h,this.onShellError=y===void 0?P:y,this.onFatalError=v===void 0?P:v,this.formState=C===void 0?null:C}function _t(n,l,r,a,u,s,h,y,v,x,C,S){return l=new kt(l,r,a,u,s,h,y,v,x,C,S),r=Be(l,0,null,a,!1,!1),r.parentFlushed=!0,n=zl(l,null,n,-1,null,r,null,null,l.abortableTasks,null,a,null,f,null,null),Ll(n),l.pingedTasks.push(n),l}function ir(n,l,r,a,u,s,h,y,v,x,C){return n=_t(n,l,r,a,u,s,h,y,v,x,C,void 0),n.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},n}function al(n,l,r,a,u,s,h,y,v){return r=new kt(l.resumableState,r,l.rootFormatContext,l.progressiveChunkSize,a,u,s,h,y,v,null),r.nextSegmentId=l.nextSegmentId,typeof l.replaySlots=="number"?(a=Be(r,0,null,l.rootFormatContext,!1,!1),a.parentFlushed=!0,n=zl(r,null,n,-1,null,a,null,null,r.abortableTasks,null,l.rootFormatContext,null,f,null,null),Ll(n),r.pingedTasks.push(n),r):(n=li(r,null,{nodes:l.replayNodes,slots:l.replaySlots,pendingTasks:0},n,-1,null,null,r.abortableTasks,null,l.rootFormatContext,null,f,null,null),Ll(n),r.pingedTasks.push(n),r)}function pi(n,l,r,a,u,s,h,y,v){return n=al(n,l,r,a,u,s,h,y,v),n.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},n}var Qn=null;function Ol(n,l){n.pingedTasks.push(l),n.pingedTasks.length===1&&(n.flushScheduled=n.destination!==null,n.trackedPostpones!==null||n.status===10?el(function(){return na(n)}):Ne(function(){return na(n)}))}function St(n,l,r,a,u){return r={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:l,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null,contentState:Vl(),fallbackState:Vl(),contentPreamble:a,fallbackPreamble:u,trackedContentKeyPath:null,trackedFallbackNode:null},l!==null&&(l.pendingTasks++,a=l.boundaries,a!==null&&(n.allPendingTasks++,r.pendingTasks++,a.push(r)),n=l.inheritedHoistables,n!==null&&$l(r.contentState,n)),r}function zl(n,l,r,a,u,s,h,y,v,x,C,S,N,z,rn){n.allPendingTasks++,u===null?n.pendingRootTasks++:u.pendingTasks++,z!==null&&z.pendingTasks++;var nn={replay:null,node:r,childIndex:a,ping:function(){return Ol(n,nn)},blockedBoundary:u,blockedSegment:s,blockedPreamble:h,hoistableState:y,abortSet:v,keyPath:x,formatContext:C,context:S,treeContext:N,row:z,componentStack:rn,thenableState:l};return v.add(nn),nn}function li(n,l,r,a,u,s,h,y,v,x,C,S,N,z){n.allPendingTasks++,s===null?n.pendingRootTasks++:s.pendingTasks++,N!==null&&N.pendingTasks++,r.pendingTasks++;var rn={replay:r,node:a,childIndex:u,ping:function(){return Ol(n,rn)},blockedBoundary:s,blockedSegment:null,blockedPreamble:null,hoistableState:h,abortSet:y,keyPath:v,formatContext:x,context:C,treeContext:S,row:N,componentStack:z,thenableState:l};return y.add(rn),rn}function Be(n,l,r,a,u,s){return{status:0,parentFlushed:!1,id:-1,index:l,chunks:[],children:[],preambleChildren:[],parentFormatContext:a,boundary:r,lastPushedText:u,textEmbedded:s}}function Ll(n){var l=n.node;typeof l=="object"&&l!==null&&l.$$typeof===B&&(n.componentStack={parent:n.componentStack,type:l.type})}function it(n){return n===null?null:{parent:n.parent,type:"Suspense Fallback"}}function He(n){var l={};return n&&Object.defineProperty(l,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var r="",a=n;do r+=Ki(a.type),a=a.parent;while(a);var u=r}catch(s){u=` 52Error generating stack: `+s.message+` 53`+s.stack}return Object.defineProperty(l,"componentStack",{value:u}),u}}),l}function te(n,l,r){if(n=n.onError,l=n(l,r),l==null||typeof l=="string")return l}function Ft(n,l){var r=n.onShellError,a=n.onFatalError;r(l),a(l),n.destination!==null?(n.status=14,Gl(n.destination,l)):(n.status=13,n.fatalError=l)}function fe(n,l){ji(n,l.next,l.hoistables)}function ji(n,l,r){for(;l!==null;){r!==null&&($l(l.hoistables,r),l.inheritedHoistables=r);var a=l.boundaries;if(a!==null){l.boundaries=null;for(var u=0;u<a.length;u++){var s=a[u];r!==null&&$l(s.contentState,r),Ae(n,s,null,null)}}if(l.pendingTasks--,0<l.pendingTasks)break;r=l.hoistables,l=l.next}}function ar(n,l){var r=l.boundaries;if(r!==null&&l.pendingTasks===r.length){for(var a=!0,u=0;u<r.length;u++){var s=r[u];if(s.pendingTasks!==1||s.parentFlushed||De(n,s)){a=!1;break}}a&&ji(n,l,l.hoistables)}}function cr(n){var l={pendingTasks:1,boundaries:null,hoistables:Vl(),inheritedHoistables:null,together:!1,next:null};return n!==null&&0<n.pendingTasks&&(l.pendingTasks++,l.boundaries=[],n.next=l),l}function lc(n,l,r,a,u){var s=l.keyPath,h=l.treeContext,y=l.row;l.keyPath=r,r=a.length;var v=null;if(l.replay!==null){var x=l.replay.slots;if(x!==null&&typeof x=="object")for(var C=0;C<r;C++){var S=u!=="backwards"&&u!=="unstable_legacy-backwards"?C:r-1-C,N=a[S];l.row=v=cr(v),l.treeContext=d(h,r,S);var z=x[S];typeof z=="number"?(Dl(n,l,z,N,S),delete x[S]):Bn(n,l,N,S),--v.pendingTasks===0&&fe(n,v)}else for(x=0;x<r;x++)C=u!=="backwards"&&u!=="unstable_legacy-backwards"?x:r-1-x,S=a[C],l.row=v=cr(v),l.treeContext=d(h,r,C),Bn(n,l,S,C),--v.pendingTasks===0&&fe(n,v)}else if(u!=="backwards"&&u!=="unstable_legacy-backwards")for(u=0;u<r;u++)x=a[u],l.row=v=cr(v),l.treeContext=d(h,r,u),Bn(n,l,x,u),--v.pendingTasks===0&&fe(n,v);else{for(u=l.blockedSegment,x=u.children.length,C=u.chunks.length,S=r-1;0<=S;S--){N=a[S],l.row=v=cr(v),l.treeContext=d(h,r,S),z=Be(n,C,null,l.formatContext,S===0?u.lastPushedText:!0,!0),u.children.splice(x,0,z),l.blockedSegment=z;try{Bn(n,l,N,S),z.lastPushedText&&z.textEmbedded&&z.chunks.push(Xe),z.status=1,ul(n,l.blockedBoundary,z),--v.pendingTasks===0&&fe(n,v)}catch(rn){throw z.status=n.status===12?3:4,rn}}l.blockedSegment=u,u.lastPushedText=!1}y!==null&&v!==null&&0<v.pendingTasks&&(y.pendingTasks++,v.next=y),l.treeContext=h,l.row=y,l.keyPath=s}function tc(n,l,r,a,u,s){var h=l.thenableState;for(l.thenableState=null,$={},Cn=l,Pn=n,cn=r,vn=Fe=0,Yn=-1,Jn=0,Rn=h,n=a(u,s);un;)un=!1,vn=Fe=0,Yn=-1,Jn=0,et+=1,tn=null,n=a(u,s);return Le(),n}function cl(n,l,r,a,u,s,h){var y=!1;if(s!==0&&n.formState!==null){var v=l.blockedSegment;if(v!==null){y=!0,v=v.chunks;for(var x=0;x<s;x++)x===h?v.push(Tc):v.push(Yt)}}s=l.keyPath,l.keyPath=r,u?(r=l.treeContext,l.treeContext=d(r,1,0),Bn(n,l,a,-1),l.treeContext=r):y?Bn(n,l,a,-1):re(n,l,a,-1),l.keyPath=s}function at(n,l,r,a,u,s){if(typeof a=="function")if(a.prototype&&a.prototype.isReactComponent){var h=u;if("ref"in u){h={};for(var y in u)y!=="ref"&&(h[y]=u[y])}var v=a.defaultProps;if(v){h===u&&(h=In({},h,u));for(var x in v)h[x]===void 0&&(h[x]=v[x])}u=h,h=$a,v=a.contextType,typeof v=="object"&&v!==null&&(h=v._currentValue),h=new a(u,h);var C=h.state!==void 0?h.state:null;if(h.updater=o,h.props=u,h.state=C,v={queue:[],replace:!1},h._reactInternals=v,s=a.contextType,h.context=typeof s=="object"&&s!==null?s._currentValue:$a,s=a.getDerivedStateFromProps,typeof s=="function"&&(s=s(u,C),C=s==null?C:In({},C,s),h.state=C),typeof a.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(a=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),a!==h.state&&o.enqueueReplaceState(h,h.state,null),v.queue!==null&&0<v.queue.length)if(a=v.queue,s=v.replace,v.queue=null,v.replace=!1,s&&a.length===1)h.state=a[0];else{for(v=s?a[0]:h.state,C=!0,s=s?1:0;s<a.length;s++)x=a[s],x=typeof x=="function"?x.call(h,v,u,void 0):x,x!=null&&(C?(C=!1,v=In({},v,x)):In(v,x));h.state=v}else v.queue=null;if(a=h.render(),n.status===12)throw null;u=l.keyPath,l.keyPath=r,re(n,l,a,-1),l.keyPath=u}else{if(a=tc(n,l,r,a,u,void 0),n.status===12)throw null;cl(n,l,r,a,Fe!==0,vn,Yn)}else if(typeof a=="string")if(h=l.blockedSegment,h===null)h=u.children,v=l.formatContext,C=l.keyPath,l.formatContext=Rl(v,a,u),l.keyPath=r,Bn(n,l,h,-1),l.formatContext=v,l.keyPath=C;else{if(C=Mr(h.chunks,a,u,n.resumableState,n.renderState,l.blockedPreamble,l.hoistableState,l.formatContext,h.lastPushedText),h.lastPushedText=!1,v=l.formatContext,s=l.keyPath,l.keyPath=r,(l.formatContext=Rl(v,a,u)).insertionMode===3){r=Be(n,0,null,l.formatContext,!1,!1),h.preambleChildren.push(r),l.blockedSegment=r;try{r.status=6,Bn(n,l,C,-1),r.lastPushedText&&r.textEmbedded&&r.chunks.push(Xe),r.status=1,ul(n,l.blockedBoundary,r)}finally{l.blockedSegment=h}}else Bn(n,l,C,-1);l.formatContext=v,l.keyPath=s;n:{switch(l=h.chunks,n=n.resumableState,a){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 n;case"body":if(1>=v.insertionMode){n.hasBody=!0;break n}break;case"html":if(v.insertionMode===0){n.hasHtml=!0;break n}break;case"head":if(1>=v.insertionMode)break n}l.push(Sl(a))}h.lastPushedText=!1}else{switch(a){case Ge:case hn:case _:case K:a=l.keyPath,l.keyPath=r,re(n,l,u.children,-1),l.keyPath=a;return;case Hn:a=l.blockedSegment,a===null?u.mode!=="hidden"&&(a=l.keyPath,l.keyPath=r,Bn(n,l,u.children,-1),l.keyPath=a):u.mode!=="hidden"&&(a.chunks.push(Jl),a.lastPushedText=!1,h=l.keyPath,l.keyPath=r,Bn(n,l,u.children,-1),l.keyPath=h,a.chunks.push(Or),a.lastPushedText=!1);return;case ce:n:{if(a=u.children,u=u.revealOrder,u==="forwards"||u==="backwards"||u==="unstable_legacy-backwards"){if(ue(a)){lc(n,l,r,a,u);break n}if((h=qe(a))&&(h=h.call(a))){if(v=h.next(),!v.done){do v=h.next();while(!v.done);lc(n,l,r,a,u)}break n}}u==="together"?(u=l.keyPath,h=l.row,v=l.row=cr(null),v.boundaries=[],v.together=!0,l.keyPath=r,re(n,l,a,-1),--v.pendingTasks===0&&fe(n,v),l.keyPath=u,l.row=h,h!==null&&0<v.pendingTasks&&(h.pendingTasks++,v.next=h)):(u=l.keyPath,l.keyPath=r,re(n,l,a,-1),l.keyPath=u)}return;case H:case Vn:throw Error(w(343));case kn:n:if(l.replay!==null){a=l.keyPath,h=l.formatContext,v=l.row,l.keyPath=r,l.formatContext=Dt(n.resumableState,h),l.row=null,r=u.children;try{Bn(n,l,r,-1)}finally{l.keyPath=a,l.formatContext=h,l.row=v}}else{a=l.keyPath,s=l.formatContext;var S=l.row;x=l.blockedBoundary,y=l.blockedPreamble;var N=l.hoistableState,z=l.blockedSegment,rn=u.fallback;u=u.children;var nn=new Set,en=2>l.formatContext.insertionMode?St(n,l.row,nn,_n(),_n()):St(n,l.row,nn,null,null);n.trackedPostpones!==null&&(en.trackedContentKeyPath=r);var En=Be(n,z.chunks.length,en,l.formatContext,!1,!1);z.children.push(En),z.lastPushedText=!1;var bn=Be(n,0,null,l.formatContext,!1,!1);if(bn.parentFlushed=!0,n.trackedPostpones!==null){h=l.componentStack,v=[r[0],"Suspense Fallback",r[2]],C=[v[1],v[2],[],null],n.trackedPostpones.workingMap.set(v,C),en.trackedFallbackNode=C,l.blockedSegment=En,l.blockedPreamble=en.fallbackPreamble,l.keyPath=v,l.formatContext=Sr(n.resumableState,s),l.componentStack=it(h),En.status=6;try{Bn(n,l,rn,-1),En.lastPushedText&&En.textEmbedded&&En.chunks.push(Xe),En.status=1,ul(n,x,En)}catch(ie){throw En.status=n.status===12?3:4,ie}finally{l.blockedSegment=z,l.blockedPreamble=y,l.keyPath=a,l.formatContext=s}l=zl(n,null,u,-1,en,bn,en.contentPreamble,en.contentState,l.abortSet,r,Dt(n.resumableState,l.formatContext),l.context,l.treeContext,null,h),Ll(l),n.pingedTasks.push(l)}else{l.blockedBoundary=en,l.blockedPreamble=en.contentPreamble,l.hoistableState=en.contentState,l.blockedSegment=bn,l.keyPath=r,l.formatContext=Dt(n.resumableState,s),l.row=null,bn.status=6;try{if(Bn(n,l,u,-1),bn.lastPushedText&&bn.textEmbedded&&bn.chunks.push(Xe),bn.status=1,ul(n,en,bn),sr(en,bn),en.pendingTasks===0&&en.status===0){if(en.status=1,!De(n,en)){S!==null&&--S.pendingTasks===0&&fe(n,S),n.pendingRootTasks===0&&l.blockedPreamble&&ol(n);break n}}else S!==null&&S.together&&ar(n,S)}catch(ie){en.status=4,n.status===12?(bn.status=3,h=n.fatalError):(bn.status=4,h=ie),v=He(l.componentStack),C=te(n,h,v),en.errorDigest=C,qi(n,en)}finally{l.blockedBoundary=x,l.blockedPreamble=y,l.hoistableState=N,l.blockedSegment=z,l.keyPath=a,l.formatContext=s,l.row=S}l=zl(n,null,rn,-1,x,En,en.fallbackPreamble,en.fallbackState,nn,[r[0],"Suspense Fallback",r[2]],Sr(n.resumableState,l.formatContext),l.context,l.treeContext,l.row,it(l.componentStack)),Ll(l),n.pingedTasks.push(l)}}return}if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Gn:if("ref"in u)for(z in h={},u)z!=="ref"&&(h[z]=u[z]);else h=u;a=tc(n,l,r,a.render,h,s),cl(n,l,r,a,Fe!==0,vn,Yn);return;case mn:at(n,l,r,a.type,u,s);return;case An:if(v=u.children,h=l.keyPath,u=u.value,C=a._currentValue,a._currentValue=u,s=Ke,Ke=a={parent:s,depth:s===null?0:s.depth+1,context:a,parentValue:C,value:u},l.context=a,l.keyPath=r,re(n,l,v,-1),n=Ke,n===null)throw Error(w(403));n.context._currentValue=n.parentValue,n=Ke=n.parent,l.context=n,l.keyPath=h;return;case G:u=u.children,a=u(a._context._currentValue),u=l.keyPath,l.keyPath=r,re(n,l,a,-1),l.keyPath=u;return;case U:if(h=a._init,a=h(a._payload),n.status===12)throw null;at(n,l,r,a,u,s);return}throw Error(w(130,a==null?a:typeof a,""))}}function Dl(n,l,r,a,u){var s=l.replay,h=l.blockedBoundary,y=Be(n,0,null,l.formatContext,!1,!1);y.id=r,y.parentFlushed=!0;try{l.replay=null,l.blockedSegment=y,Bn(n,l,a,u),y.status=1,ul(n,h,y),h===null?n.completedRootSegment=y:(sr(h,y),h.parentFlushed&&n.partialBoundaries.push(h))}finally{l.replay=s,l.blockedSegment=null}}function re(n,l,r,a){l.replay!==null&&typeof l.replay.slots=="number"?Dl(n,l,l.replay.slots,r,a):(l.node=r,l.childIndex=a,r=l.componentStack,Ll(l),Pt(n,l),l.componentStack=r)}function Pt(n,l){var r=l.node,a=l.childIndex;if(r!==null){if(typeof r=="object"){switch(r.$$typeof){case B:var u=r.type,s=r.key,h=r.props;r=h.ref;var y=r!==void 0?r:null,v=$r(u),x=s??(a===-1?0:a);if(s=[l.keyPath,v,x],l.replay!==null)n:{var C=l.replay;for(a=C.nodes,r=0;r<a.length;r++){var S=a[r];if(x===S[1]){if(S.length===4){if(v!==null&&v!==S[0])throw Error(w(490,S[0],v));var N=S[2];v=S[3],x=l.node,l.replay={nodes:N,slots:v,pendingTasks:1};try{if(at(n,l,s,u,h,y),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(w(488));l.replay.pendingTasks--}catch(Q){if(typeof Q=="object"&&Q!==null&&(Q===M||typeof Q.then=="function"))throw l.node===x?l.replay=C:a.splice(r,1),Q;l.replay.pendingTasks--,h=He(l.componentStack),s=n,n=l.blockedBoundary,u=Q,h=te(s,u,h),mt(s,n,N,v,u,h)}l.replay=C}else{if(u!==kn)throw Error(w(490,"Suspense",$r(u)||"Unknown"));e:{C=void 0,u=S[5],y=S[2],v=S[3],x=S[4]===null?[]:S[4][2],S=S[4]===null?null:S[4][3];var z=l.keyPath,rn=l.formatContext,nn=l.row,en=l.replay,En=l.blockedBoundary,bn=l.hoistableState,ie=h.children,we=h.fallback,We=new Set;h=2>l.formatContext.insertionMode?St(n,l.row,We,_n(),_n()):St(n,l.row,We,null,null),h.parentFlushed=!0,h.rootSegmentID=u,l.blockedBoundary=h,l.hoistableState=h.contentState,l.keyPath=s,l.formatContext=Dt(n.resumableState,rn),l.row=null,l.replay={nodes:y,slots:v,pendingTasks:1};try{if(Bn(n,l,ie,-1),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(w(488));if(l.replay.pendingTasks--,h.pendingTasks===0&&h.status===0){h.status=1,n.completedBoundaries.push(h);break e}}catch(Q){h.status=4,N=He(l.componentStack),C=te(n,Q,N),h.errorDigest=C,l.replay.pendingTasks--,n.clientRenderedBoundaries.push(h)}finally{l.blockedBoundary=En,l.hoistableState=bn,l.replay=en,l.keyPath=z,l.formatContext=rn,l.row=nn}N=li(n,null,{nodes:x,slots:S,pendingTasks:0},we,-1,En,h.fallbackState,We,[s[0],"Suspense Fallback",s[2]],Sr(n.resumableState,l.formatContext),l.context,l.treeContext,l.row,it(l.componentStack)),Ll(N),n.pingedTasks.push(N)}}a.splice(r,1);break n}}}else at(n,l,s,u,h,y);return;case Y:throw Error(w(257));case U:if(N=r._init,r=N(r._payload),n.status===12)throw null;re(n,l,r,a);return}if(ue(r)){At(n,l,r,a);return}if((N=qe(r))&&(N=N.call(r))){if(r=N.next(),!r.done){h=[];do h.push(r.value),r=N.next();while(!r.done);At(n,l,h,a)}return}if(typeof r.then=="function")return l.thenableState=null,re(n,l,Qi(r),a);if(r.$$typeof===An)return re(n,l,r._currentValue,a);throw a=Object.prototype.toString.call(r),Error(w(31,a==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":a))}typeof r=="string"?(a=l.blockedSegment,a!==null&&(a.lastPushedText=Aa(a.chunks,r,n.renderState,a.lastPushedText))):(typeof r=="number"||typeof r=="bigint")&&(a=l.blockedSegment,a!==null&&(a.lastPushedText=Aa(a.chunks,""+r,n.renderState,a.lastPushedText)))}}function At(n,l,r,a){var u=l.keyPath;if(a!==-1&&(l.keyPath=[l.keyPath,"Fragment",a],l.replay!==null)){for(var s=l.replay,h=s.nodes,y=0;y<h.length;y++){var v=h[y];if(v[1]===a){a=v[2],v=v[3],l.replay={nodes:a,slots:v,pendingTasks:1};try{if(At(n,l,r,-1),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(w(488));l.replay.pendingTasks--}catch(S){if(typeof S=="object"&&S!==null&&(S===M||typeof S.then=="function"))throw S;l.replay.pendingTasks--,r=He(l.componentStack);var x=l.blockedBoundary,C=S;r=te(n,C,r),mt(n,x,a,v,C,r)}l.replay=s,h.splice(y,1);break}}l.keyPath=u;return}if(s=l.treeContext,h=r.length,l.replay!==null&&(y=l.replay.slots,y!==null&&typeof y=="object")){for(a=0;a<h;a++)v=r[a],l.treeContext=d(s,h,a),x=y[a],typeof x=="number"?(Dl(n,l,x,v,a),delete y[a]):Bn(n,l,v,a);l.treeContext=s,l.keyPath=u;return}for(y=0;y<h;y++)a=r[y],l.treeContext=d(s,h,y),Bn(n,l,a,y);l.treeContext=s,l.keyPath=u}function ti(n,l,r){if(r.status=5,r.rootSegmentID=n.nextSegmentId++,n=r.trackedContentKeyPath,n===null)throw Error(w(486));var a=r.trackedFallbackNode,u=[],s=l.workingMap.get(n);return s===void 0?(r=[n[1],n[2],u,null,a,r.rootSegmentID],l.workingMap.set(n,r),ui(r,n[0],l),r):(s[4]=a,s[5]=r.rootSegmentID,s)}function ri(n,l,r,a){a.status=5;var u=r.keyPath,s=r.blockedBoundary;if(s===null)a.id=n.nextSegmentId++,l.rootSlots=a.id,n.completedRootSegment!==null&&(n.completedRootSegment.status=5);else{if(s!==null&&s.status===0){var h=ti(n,l,s);if(s.trackedContentKeyPath===u&&r.childIndex===-1){a.id===-1&&(a.id=a.parentFlushed?s.rootSegmentID:n.nextSegmentId++),h[3]=a.id;return}}if(a.id===-1&&(a.id=a.parentFlushed&&s!==null?s.rootSegmentID:n.nextSegmentId++),r.childIndex===-1)u===null?l.rootSlots=a.id:(r=l.workingMap.get(u),r===void 0?(r=[u[1],u[2],[],a.id],ui(r,u[0],l)):r[3]=a.id);else{if(u===null){if(n=l.rootSlots,n===null)n=l.rootSlots={};else if(typeof n=="number")throw Error(w(491))}else if(s=l.workingMap,h=s.get(u),h===void 0)n={},h=[u[1],u[2],[],n],s.set(u,h),ui(h,u[0],l);else if(n=h[3],n===null)n=h[3]={};else if(typeof n=="number")throw Error(w(491));n[r.childIndex]=a.id}}}function qi(n,l){n=n.trackedPostpones,n!==null&&(l=l.trackedContentKeyPath,l!==null&&(l=n.workingMap.get(l),l!==void 0&&(l.length=4,l[2]=[],l[3]=null)))}function ii(n,l,r){return li(n,r,l.replay,l.node,l.childIndex,l.blockedBoundary,l.hoistableState,l.abortSet,l.keyPath,l.formatContext,l.context,l.treeContext,l.row,l.componentStack)}function $i(n,l,r){var a=l.blockedSegment,u=Be(n,a.chunks.length,null,l.formatContext,a.lastPushedText,!0);return a.children.push(u),a.lastPushedText=!1,zl(n,r,l.node,l.childIndex,l.blockedBoundary,u,l.blockedPreamble,l.hoistableState,l.abortSet,l.keyPath,l.formatContext,l.context,l.treeContext,l.row,l.componentStack)}function Bn(n,l,r,a){var u=l.formatContext,s=l.context,h=l.keyPath,y=l.treeContext,v=l.componentStack,x=l.blockedSegment;if(x===null){x=l.replay;try{return re(n,l,r,a)}catch(N){if(Le(),r=N===M?p():N,n.status!==12&&typeof r=="object"&&r!==null){if(typeof r.then=="function"){a=N===M?se():null,n=ii(n,l,a).ping,r.then(n,n),l.formatContext=u,l.context=s,l.keyPath=h,l.treeContext=y,l.componentStack=v,l.replay=x,c(s);return}if(r.message==="Maximum call stack size exceeded"){r=N===M?se():null,r=ii(n,l,r),n.pingedTasks.push(r),l.formatContext=u,l.context=s,l.keyPath=h,l.treeContext=y,l.componentStack=v,l.replay=x,c(s);return}}}}else{var C=x.children.length,S=x.chunks.length;try{return re(n,l,r,a)}catch(N){if(Le(),x.children.length=C,x.chunks.length=S,r=N===M?p():N,n.status!==12&&typeof r=="object"&&r!==null){if(typeof r.then=="function"){x=r,r=N===M?se():null,n=$i(n,l,r).ping,x.then(n,n),l.formatContext=u,l.context=s,l.keyPath=h,l.treeContext=y,l.componentStack=v,c(s);return}if(r.message==="Maximum call stack size exceeded"){x=N===M?se():null,x=$i(n,l,x),n.pingedTasks.push(x),l.formatContext=u,l.context=s,l.keyPath=h,l.treeContext=y,l.componentStack=v,c(s);return}}}}throw l.formatContext=u,l.context=s,l.keyPath=h,l.treeContext=y,c(s),r}function ai(n){var l=n.blockedBoundary,r=n.blockedSegment;r!==null&&(r.status=3,Ae(this,l,n.row,r))}function mt(n,l,r,a,u,s){for(var h=0;h<r.length;h++){var y=r[h];if(y.length===4)mt(n,l,y[2],y[3],u,s);else{y=y[5];var v=n,x=s,C=St(v,null,new Set,null,null);C.parentFlushed=!0,C.rootSegmentID=y,C.status=4,C.errorDigest=x,C.parentFlushed&&v.clientRenderedBoundaries.push(C)}}if(r.length=0,a!==null){if(l===null)throw Error(w(487));if(l.status!==4&&(l.status=4,l.errorDigest=s,l.parentFlushed&&n.clientRenderedBoundaries.push(l)),typeof a=="object")for(var S in a)delete a[S]}}function It(n,l,r){var a=n.blockedBoundary,u=n.blockedSegment;if(u!==null){if(u.status===6)return;u.status=3}var s=He(n.componentStack);if(a===null){if(l.status!==13&&l.status!==14){if(a=n.replay,a===null){l.trackedPostpones!==null&&u!==null?(a=l.trackedPostpones,te(l,r,s),ri(l,a,n,u),Ae(l,null,n.row,u)):(te(l,r,s),Ft(l,r));return}a.pendingTasks--,a.pendingTasks===0&&0<a.nodes.length&&(u=te(l,r,s),mt(l,null,a.nodes,a.slots,r,u)),l.pendingRootTasks--,l.pendingRootTasks===0&&ci(l)}}else{var h=l.trackedPostpones;if(a.status!==4){if(h!==null&&u!==null)return te(l,r,s),ri(l,h,n,u),a.fallbackAbortableTasks.forEach(function(y){return It(y,l,r)}),a.fallbackAbortableTasks.clear(),Ae(l,a,n.row,u);a.status=4,u=te(l,r,s),a.status=4,a.errorDigest=u,qi(l,a),a.parentFlushed&&l.clientRenderedBoundaries.push(a)}a.pendingTasks--,u=a.row,u!==null&&--u.pendingTasks===0&&fe(l,u),a.fallbackAbortableTasks.forEach(function(y){return It(y,l,r)}),a.fallbackAbortableTasks.clear()}n=n.row,n!==null&&--n.pendingTasks===0&&fe(l,n),l.allPendingTasks--,l.allPendingTasks===0&&or(l)}function ur(n,l){try{var r=n.renderState,a=r.onHeaders;if(a){var u=r.headers;if(u){r.headers=null;var s=u.preconnects;if(u.fontPreloads&&(s&&(s+=", "),s+=u.fontPreloads),u.highImagePreloads&&(s&&(s+=", "),s+=u.highImagePreloads),!l){var h=r.styles.values(),y=h.next();n:for(;0<u.remainingCapacity&&!y.done;y=h.next())for(var v=y.value.sheets.values(),x=v.next();0<u.remainingCapacity&&!x.done;x=v.next()){var C=x.value,S=C.props,N=S.href,z=C.props,rn=$t(z.href,"style",{crossOrigin:z.crossOrigin,integrity:z.integrity,nonce:z.nonce,type:z.type,fetchPriority:z.fetchPriority,referrerPolicy:z.referrerPolicy,media:z.media});if(0<=(u.remainingCapacity-=rn.length+2))r.resets.style[N]=Mn,s&&(s+=", "),s+=rn,r.resets.style[N]=typeof S.crossOrigin=="string"||typeof S.integrity=="string"?[S.crossOrigin,S.integrity]:Mn;else break n}}a(s?{Link:s}:{})}}}catch(nn){te(n,nn,{})}}function ci(n){n.trackedPostpones===null&&ur(n,!0),n.trackedPostpones===null&&ol(n),n.onShellError=P,n=n.onShellReady,n()}function or(n){ur(n,n.trackedPostpones===null?!0:n.completedRootSegment===null||n.completedRootSegment.status!==5),ol(n),n=n.onAllReady,n()}function sr(n,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null&&l.children[0].id===-1){var r=l.children[0];r.id=l.id,r.parentFlushed=!0,r.status!==1&&r.status!==3&&r.status!==4||sr(n,r)}else n.completedSegments.push(l)}function ul(n,l,r){if(Ce!==null){r=r.chunks;for(var a=0,u=0;u<r.length;u++)a+=r[u].byteLength;l===null?n.byteSize+=a:l.byteSize+=a}}function Ae(n,l,r,a){if(r!==null&&(--r.pendingTasks===0?fe(n,r):r.together&&ar(n,r)),n.allPendingTasks--,l===null){if(a!==null&&a.parentFlushed){if(n.completedRootSegment!==null)throw Error(w(389));n.completedRootSegment=a}n.pendingRootTasks--,n.pendingRootTasks===0&&ci(n)}else if(l.pendingTasks--,l.status!==4)if(l.pendingTasks===0){if(l.status===0&&(l.status=1),a!==null&&a.parentFlushed&&(a.status===1||a.status===3)&&sr(l,a),l.parentFlushed&&n.completedBoundaries.push(l),l.status===1)r=l.row,r!==null&&$l(r.hoistables,l.contentState),De(n,l)||(l.fallbackAbortableTasks.forEach(ai,n),l.fallbackAbortableTasks.clear(),r!==null&&--r.pendingTasks===0&&fe(n,r)),n.pendingRootTasks===0&&n.trackedPostpones===null&&l.contentPreamble!==null&&ol(n);else if(l.status===5&&(l=l.row,l!==null)){if(n.trackedPostpones!==null){r=n.trackedPostpones;var u=l.next;if(u!==null&&(a=u.boundaries,a!==null))for(u.boundaries=null,u=0;u<a.length;u++){var s=a[u];ti(n,r,s),Ae(n,s,null,null)}}--l.pendingTasks===0&&fe(n,l)}}else a===null||!a.parentFlushed||a.status!==1&&a.status!==3||(sr(l,a),l.completedSegments.length===1&&l.parentFlushed&&n.partialBoundaries.push(l)),l=l.row,l!==null&&l.together&&ar(n,l);n.allPendingTasks===0&&or(n)}function na(n){if(n.status!==14&&n.status!==13){var l=Ke,r=J.H;J.H=Vi;var a=J.A;J.A=ec;var u=Qn;Qn=n;var s=tr;tr=n.resumableState;try{var h=n.pingedTasks,y;for(y=0;y<h.length;y++){var v=h[y],x=n,C=v.blockedSegment;if(C===null){var S=x;if(v.replay.pendingTasks!==0){c(v.context);try{if(typeof v.replay.slots=="number"?Dl(S,v,v.replay.slots,v.node,v.childIndex):Pt(S,v),v.replay.pendingTasks===1&&0<v.replay.nodes.length)throw Error(w(488));v.replay.pendingTasks--,v.abortSet.delete(v),Ae(S,v.blockedBoundary,v.row,null)}catch(ae){Le();var N=ae===M?p():ae;if(typeof N=="object"&&N!==null&&typeof N.then=="function"){var z=v.ping;N.then(z,z),v.thenableState=ae===M?se():null}else{v.replay.pendingTasks--,v.abortSet.delete(v);var rn=He(v.componentStack);x=void 0;var nn=S,en=v.blockedBoundary,En=S.status===12?S.fatalError:N,bn=v.replay.nodes,ie=v.replay.slots;x=te(nn,En,rn),mt(nn,en,bn,ie,En,x),S.pendingRootTasks--,S.pendingRootTasks===0&&ci(S),S.allPendingTasks--,S.allPendingTasks===0&&or(S)}}}}else if(S=void 0,nn=C,nn.status===0){nn.status=6,c(v.context);var we=nn.children.length,We=nn.chunks.length;try{Pt(x,v),nn.lastPushedText&&nn.textEmbedded&&nn.chunks.push(Xe),v.abortSet.delete(v),nn.status=1,ul(x,v.blockedBoundary,nn),Ae(x,v.blockedBoundary,v.row,nn)}catch(ae){Le(),nn.children.length=we,nn.chunks.length=We;var Q=ae===M?p():x.status===12?x.fatalError:ae;if(x.status===12&&x.trackedPostpones!==null){var he=x.trackedPostpones,On=He(v.componentStack);v.abortSet.delete(v),te(x,Q,On),ri(x,he,v,nn),Ae(x,v.blockedBoundary,v.row,nn)}else if(typeof Q=="object"&&Q!==null&&typeof Q.then=="function"){nn.status=0,v.thenableState=ae===M?se():null;var be=v.ping;Q.then(be,be)}else{var gl=He(v.componentStack);v.abortSet.delete(v),nn.status=4;var zn=v.blockedBoundary,Ul=v.row;if(Ul!==null&&--Ul.pendingTasks===0&&fe(x,Ul),x.allPendingTasks--,S=te(x,Q,gl),zn===null)Ft(x,Q);else if(zn.pendingTasks--,zn.status!==4){zn.status=4,zn.errorDigest=S,qi(x,zn);var je=zn.row;je!==null&&--je.pendingTasks===0&&fe(x,je),zn.parentFlushed&&x.clientRenderedBoundaries.push(zn),x.pendingRootTasks===0&&x.trackedPostpones===null&&zn.contentPreamble!==null&&ol(x)}x.allPendingTasks===0&&or(x)}}}}h.splice(0,y),n.destination!==null&&fr(n,n.destination)}catch(ae){te(n,ae,{}),Ft(n,ae)}finally{tr=s,J.H=r,J.A=a,r===Vi&&c(l),Qn=u}}}function Bl(n,l,r){l.preambleChildren.length&&r.push(l.preambleChildren);for(var a=!1,u=0;u<l.children.length;u++)a=ea(n,l.children[u],r)||a;return a}function ea(n,l,r){var a=l.boundary;if(a===null)return Bl(n,l,r);var u=a.contentPreamble,s=a.fallbackPreamble;if(u===null||s===null)return!1;switch(a.status){case 1:if(Pi(n.renderState,u),n.byteSize+=a.byteSize,l=a.completedSegments[0],!l)throw Error(w(391));return Bl(n,l,r);case 5:if(n.trackedPostpones!==null)return!0;case 4:if(l.status===1)return Pi(n.renderState,s),Bl(n,l,r);default:return!0}}function ol(n){if(n.completedRootSegment&&n.completedPreambleSegments===null){var l=[],r=n.byteSize,a=ea(n,n.completedRootSegment,l),u=n.renderState.preamble;a===!1||u.headChunks&&u.bodyChunks?n.completedPreambleSegments=l:n.byteSize=r}}function ct(n,l,r,a){switch(r.parentFlushed=!0,r.status){case 0:r.id=n.nextSegmentId++;case 5:return a=r.id,r.lastPushedText=!1,r.textEmbedded=!1,n=n.renderState,F(l,Ba),F(l,n.placeholderPrefix),n=I(a.toString(16)),F(l,n),O(l,kc);case 1:r.status=2;var u=!0,s=r.chunks,h=0;r=r.children;for(var y=0;y<r.length;y++){for(u=r[y];h<u.index;h++)F(l,s[h]);u=Nt(n,l,u,a)}for(;h<s.length-1;h++)F(l,s[h]);return h<s.length&&(u=O(l,s[h])),u;case 3:return!0;default:throw Error(w(390))}}var sl=0;function Nt(n,l,r,a){var u=r.boundary;if(u===null)return ct(n,l,r,a);if(u.parentFlushed=!0,u.status===4){var s=u.row;s!==null&&--s.pendingTasks===0&&fe(n,s),u=u.errorDigest,O(l,ge),F(l,Pc),u&&(F(l,Lr),F(l,I(Z(u))),F(l,zr)),O(l,Ac),ct(n,l,r,a)}else if(u.status!==1)u.status===0&&(u.rootSegmentID=n.nextSegmentId++),0<u.completedSegments.length&&n.partialBoundaries.push(u),Ha(l,n.renderState,u.rootSegmentID),a&&$l(a,u.fallbackState),ct(n,l,r,a);else if(!hl&&De(n,u)&&(sl+u.byteSize>n.progressiveChunkSize||nr(u.contentState)))u.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(u),Ha(l,n.renderState,u.rootSegmentID),ct(n,l,r,a);else{if(sl+=u.byteSize,a&&$l(a,u.contentState),r=u.row,r!==null&&De(n,u)&&--r.pendingTasks===0&&fe(n,r),O(l,_c),r=u.completedSegments,r.length!==1)throw Error(w(391));Nt(n,l,r[0],a)}return O(l,Se)}function fl(n,l,r,a){return Ya(l,n.renderState,r.parentFormatContext,r.id),Nt(n,l,r,a),Ga(l,r.parentFormatContext)}function la(n,l,r){sl=r.byteSize;for(var a=r.completedSegments,u=0;u<a.length;u++)ta(n,l,r,a[u]);a.length=0,a=r.row,a!==null&&De(n,r)&&--a.pendingTasks===0&&fe(n,a),Et(l,r.contentState,n.renderState),a=n.resumableState,n=n.renderState,u=r.rootSegmentID,r=r.contentState;var s=n.stylesToHoist;return n.stylesToHoist=!1,F(l,n.startInlineScript),F(l,Tn),s?((a.instructions&4)===0&&(a.instructions|=4,F(l,xt)),(a.instructions&2)===0&&(a.instructions|=2,F(l,Oi)),(a.instructions&8)===0?(a.instructions|=8,F(l,Oc)):F(l,Za)):((a.instructions&2)===0&&(a.instructions|=2,F(l,Oi)),F(l,Xa)),a=I(u.toString(16)),F(l,n.boundaryPrefix),F(l,a),F(l,Wr),F(l,n.segmentPrefix),F(l,a),s?(F(l,zc),Kn(l,r)):F(l,zi),r=O(l,Ja),Ai(l,n)&&r}function ta(n,l,r,a){if(a.status===2)return!0;var u=r.contentState,s=a.id;if(s===-1){if((a.id=r.rootSegmentID)===-1)throw Error(w(392));return fl(n,l,a,u)}return s===r.rootSegmentID?fl(n,l,a,u):(fl(n,l,a,u),r=n.resumableState,n=n.renderState,F(l,n.startInlineScript),F(l,Tn),(r.instructions&1)===0?(r.instructions|=1,F(l,mc)):F(l,Ic),F(l,n.segmentPrefix),s=I(s.toString(16)),F(l,s),F(l,Nc),F(l,n.placeholderPrefix),F(l,s),l=O(l,Mc),l)}var hl=!1;function fr(n,l){Dn=new Uint8Array(2048),Un=0;try{if(!(0<n.pendingRootTasks)){var r,a=n.completedRootSegment;if(a!==null){if(a.status===5)return;var u=n.completedPreambleSegments;if(u===null)return;sl=n.byteSize;var s=n.resumableState,h=n.renderState,y=h.preamble,v=y.htmlChunks,x=y.headChunks,C;if(v){for(C=0;C<v.length;C++)F(l,v[C]);if(x)for(C=0;C<x.length;C++)F(l,x[C]);else F(l,Wn("head")),F(l,Tn)}else if(x)for(C=0;C<x.length;C++)F(l,x[C]);var S=h.charsetChunks;for(C=0;C<S.length;C++)F(l,S[C]);S.length=0,h.preconnects.forEach(xn,l),h.preconnects.clear();var N=h.viewportChunks;for(C=0;C<N.length;C++)F(l,N[C]);N.length=0,h.fontPreloads.forEach(xn,l),h.fontPreloads.clear(),h.highImagePreloads.forEach(xn,l),h.highImagePreloads.clear(),an=h,h.styles.forEach(Zr,l),an=null;var z=h.importMapChunks;for(C=0;C<z.length;C++)F(l,z[C]);z.length=0,h.bootstrapScripts.forEach(xn,l),h.scripts.forEach(xn,l),h.scripts.clear(),h.bulkPreloads.forEach(xn,l),h.bulkPreloads.clear(),v||x||(s.instructions|=32);var rn=h.hoistableChunks;for(C=0;C<rn.length;C++)F(l,rn[C]);for(s=rn.length=0;s<u.length;s++){var nn=u[s];for(h=0;h<nn.length;h++)Nt(n,l,nn[h],null)}var en=n.renderState.preamble,En=en.headChunks;(en.htmlChunks||En)&&F(l,Sl("head"));var bn=en.bodyChunks;if(bn)for(u=0;u<bn.length;u++)F(l,bn[u]);Nt(n,l,a,null),n.completedRootSegment=null;var ie=n.renderState;if(n.allPendingTasks!==0||n.clientRenderedBoundaries.length!==0||n.completedBoundaries.length!==0||n.trackedPostpones!==null&&(n.trackedPostpones.rootNodes.length!==0||n.trackedPostpones.rootSlots!==null)){var we=n.resumableState;if((we.instructions&64)===0){if(we.instructions|=64,F(l,ie.startInlineScript),(we.instructions&32)===0){we.instructions|=32;var We="_"+we.idPrefix+"R_";F(l,Jr),F(l,I(Z(We))),F(l,Sn)}F(l,Tn),F(l,Fl),O(l,on)}}Ai(l,ie)}var Q=n.renderState;a=0;var he=Q.viewportChunks;for(a=0;a<he.length;a++)F(l,he[a]);he.length=0,Q.preconnects.forEach(xn,l),Q.preconnects.clear(),Q.fontPreloads.forEach(xn,l),Q.fontPreloads.clear(),Q.highImagePreloads.forEach(xn,l),Q.highImagePreloads.clear(),Q.styles.forEach(Ui,l),Q.scripts.forEach(xn,l),Q.scripts.clear(),Q.bulkPreloads.forEach(xn,l),Q.bulkPreloads.clear();var On=Q.hoistableChunks;for(a=0;a<On.length;a++)F(l,On[a]);On.length=0;var be=n.clientRenderedBoundaries;for(r=0;r<be.length;r++){var gl=be[r];Q=l;var zn=n.resumableState,Ul=n.renderState,je=gl.rootSegmentID,ae=gl.errorDigest;F(Q,Ul.startInlineScript),F(Q,Tn),(zn.instructions&4)===0?(zn.instructions|=4,F(Q,Li)):F(Q,Yr),F(Q,Ul.boundaryPrefix),F(Q,I(je.toString(16))),F(Q,Qa),ae&&(F(Q,wt),F(Q,I(Bc(ae||""))));var Ye=O(Q,Lc);if(!Ye){n.destination=null,r++,be.splice(0,r);return}}be.splice(0,r);var hr=n.completedBoundaries;for(r=0;r<hr.length;r++)if(!la(n,l,hr[r])){n.destination=null,r++,hr.splice(0,r);return}hr.splice(0,r),wl(l),Dn=new Uint8Array(2048),Un=0,hl=!0;var dr=n.partialBoundaries;for(r=0;r<dr.length;r++){var ot=dr[r];n:{be=n,gl=l,sl=ot.byteSize;var gr=ot.completedSegments;for(Ye=0;Ye<gr.length;Ye++)if(!ta(be,gl,ot,gr[Ye])){Ye++,gr.splice(0,Ye);var ia=!1;break n}gr.splice(0,Ye);var Wl=ot.row;Wl!==null&&Wl.together&&ot.pendingTasks===1&&(Wl.pendingTasks===1?ji(be,Wl,Wl.hoistables):Wl.pendingTasks--),ia=Et(gl,ot.contentState,be.renderState)}if(!ia){n.destination=null,r++,dr.splice(0,r);return}}dr.splice(0,r),hl=!1;var Ot=n.completedBoundaries;for(r=0;r<Ot.length;r++)if(!la(n,l,Ot[r])){n.destination=null,r++,Ot.splice(0,r);return}Ot.splice(0,r)}}finally{hl=!1,n.allPendingTasks===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0?(n.flushScheduled=!1,r=n.resumableState,r.hasBody&&F(l,Sl("body")),r.hasHtml&&F(l,Sl("html")),wl(l),n.status=14,l.close(),n.destination=null):wl(l)}}function ut(n){n.flushScheduled=n.destination!==null,el(function(){return na(n)}),Ne(function(){n.status===10&&(n.status=11),n.trackedPostpones===null&&ur(n,n.pendingRootTasks===0)})}function dl(n){n.flushScheduled===!1&&n.pingedTasks.length===0&&n.destination!==null&&(n.flushScheduled=!0,Ne(function(){var l=n.destination;l?fr(n,l):n.flushScheduled=!1}))}function Hl(n,l){if(n.status===13)n.status=14,Gl(l,n.fatalError);else if(n.status!==14&&n.destination===null){n.destination=l;try{fr(n,l)}catch(r){te(n,r,{}),Ft(n,r)}}}function Ue(n,l){(n.status===11||n.status===10)&&(n.status=12);try{var r=n.abortableTasks;if(0<r.size){var a=l===void 0?Error(w(432)):typeof l=="object"&&l!==null&&typeof l.then=="function"?Error(w(530)):l;n.fatalError=a,r.forEach(function(u){return It(u,n,a)}),r.clear()}n.destination!==null&&fr(n,n.destination)}catch(u){te(n,u,{}),Ft(n,u)}}function ui(n,l,r){if(l===null)r.rootNodes.push(n);else{var a=r.workingMap,u=a.get(l);u===void 0&&(u=[l[1],l[2],[],null],a.set(l,u),ui(u,l[0],r)),u[2].push(n)}}function ra(n){var l=n.trackedPostpones;if(l===null||l.rootNodes.length===0&&l.rootSlots===null)return n.trackedPostpones=null;if(n.completedRootSegment===null||n.completedRootSegment.status!==5&&n.completedPreambleSegments!==null){var r=n.nextSegmentId,a=l.rootSlots,u=n.resumableState;u.bootstrapScriptContent=void 0,u.bootstrapScripts=void 0,u.bootstrapModules=void 0}else{r=0,a=-1,u=n.resumableState;var s=n.renderState;u.nextFormID=0,u.hasBody=!1,u.hasHtml=!1,u.unknownResources={font:s.resets.font},u.dnsResources=s.resets.dns,u.connectResources=s.resets.connect,u.imageResources=s.resets.image,u.styleResources=s.resets.style,u.scriptResources={},u.moduleUnknownResources={},u.moduleScriptResources={},u.instructions=0}return{nextSegmentId:r,rootFormatContext:n.rootFormatContext,progressiveChunkSize:n.progressiveChunkSize,resumableState:n.resumableState,replayNodes:l.rootNodes,replaySlots:a}}function Mt(){var n=D.version;if(n!=="19.2.5")throw Error(w(527,n,"19.2.5"))}return Mt(),Mt(),Cr.prerender=function(n,l){return new Promise(function(r,a){var u=l?l.onHeaders:void 0,s;u&&(s=function(C){u(new Headers(C))});var h=Ei(l?l.identifierPrefix:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),y=ir(n,h,_r(h,void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,s,l?l.maxHeadersLength:void 0),Ci(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,function(){var C=new ReadableStream({type:"bytes",pull:function(S){Hl(y,S)},cancel:function(S){y.destination=null,Ue(y,S)}},{highWaterMark:0});C={postponed:ra(y),prelude:C},r(C)},void 0,void 0,a,l?l.onPostpone:void 0);if(l&&l.signal){var v=l.signal;if(v.aborted)Ue(y,v.reason);else{var x=function(){Ue(y,v.reason),v.removeEventListener("abort",x)};v.addEventListener("abort",x)}}ut(y)})},Cr.renderToReadableStream=function(n,l){return new Promise(function(r,a){var u,s,h=new Promise(function(z,rn){s=z,u=rn}),y=l?l.onHeaders:void 0,v;y&&(v=function(z){y(new Headers(z))});var x=Ei(l?l.identifierPrefix:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),C=_t(n,x,_r(x,l?l.nonce:void 0,l?l.unstable_externalRuntimeSrc:void 0,l?l.importMap:void 0,v,l?l.maxHeadersLength:void 0),Ci(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,s,function(){var z=new ReadableStream({type:"bytes",pull:function(rn){Hl(C,rn)},cancel:function(rn){C.destination=null,Ue(C,rn)}},{highWaterMark:0});z.allReady=h,r(z)},function(z){h.catch(function(){}),a(z)},u,l?l.onPostpone:void 0,l?l.formState:void 0);if(l&&l.signal){var S=l.signal;if(S.aborted)Ue(C,S.reason);else{var N=function(){Ue(C,S.reason),S.removeEventListener("abort",N)};S.addEventListener("abort",N)}}ut(C)})},Cr.resume=function(n,l,r){return new Promise(function(a,u){var s,h,y=new Promise(function(S,N){h=S,s=N}),v=al(n,l,_r(l.resumableState,r?r.nonce:void 0,void 0,void 0,void 0,void 0),r?r.onError:void 0,h,function(){var S=new ReadableStream({type:"bytes",pull:function(N){Hl(v,N)},cancel:function(N){v.destination=null,Ue(v,N)}},{highWaterMark:0});S.allReady=y,a(S)},function(S){y.catch(function(){}),u(S)},s,r?r.onPostpone:void 0);if(r&&r.signal){var x=r.signal;if(x.aborted)Ue(v,x.reason);else{var C=function(){Ue(v,x.reason),x.removeEventListener("abort",C)};x.addEventListener("abort",C)}}ut(v)})},Cr.resumeAndPrerender=function(n,l,r){return new Promise(function(a,u){var s=pi(n,l,_r(l.resumableState,void 0,void 0,void 0,void 0,void 0),r?r.onError:void 0,function(){var v=new ReadableStream({type:"bytes",pull:function(x){Hl(s,x)},cancel:function(x){s.destination=null,Ue(s,x)}},{highWaterMark:0});v={postponed:ra(s),prelude:v},a(v)},void 0,void 0,u,r?r.onPostpone:void 0);if(r&&r.signal){var h=r.signal;if(h.aborted)Ue(s,h.reason);else{var y=function(){Ue(s,h.reason),h.removeEventListener("abort",y)};h.addEventListener("abort",y)}}ut(s)})},Cr.version="19.2.5",Cr}var Xu;function Go(){if(Xu)return Er;Xu=1;var D,m;return D=Wo(),m=Yo(),Er.version=D.version,Er.renderToString=D.renderToString,Er.renderToStaticMarkup=D.renderToStaticMarkup,Er.renderToReadableStream=m.renderToReadableStream,Er.resume=m.resume,Er}var Xo=Go();const Zo=Po.url,Jo=[{key:"fb",label:"Facebook / LinkedIn / X",hint:"1200Ã630",width:1200,height:630},{key:"ig-square",label:"Instagram pÅÃspÄvek",hint:"1080Ã1080",width:1080,height:1080},{key:"ig-story",label:"Instagram / FB Story",hint:"1080Ã1920",width:1080,height:1920}],tu="#1f53d8",Ku="i-VysoÄina.CZ";function ru(D){return new Promise((m,w)=>{const B=new Image;B.crossOrigin="anonymous",B.onload=()=>m(B),B.onerror=Y=>w(Y),B.src=D})}const Qo=new Set(["a","i","k","o","s","u","v","z","aby","ale","ani","anebo","avÅ¡ak","bez","buÄ","Äi","do","jak","jako","jelikož","ke","když","ku","na","nad","nebo","než","od","pak","po","pod","pokud","pro","protože","pÅed","pÅes","pÅi","
53se","takže","tedy","ve","vÅ¡ak","za","ze","že"]);function Vo(D){const m=D.toLocaleLowerCase("cs-CZ").replace(/^[ââââ\("']+|[.,;:!?â¦ââââ\)"']+$/g,"");return Qo.has(m)||/^\d+(?:[.,]\d+)?(?:\.|[.)])?$/.test(m)}function Ko(D){const m=D.trim().split(/\s+/).filter(Boolean),w=[];for(let B=0;B<m.length;B+=1){const Y=[m[B]];for(;Vo(Y[Y.length-1])&&B+1<m.length;)B+=1,Y.push(m[B]);w.push(Y.join(" "))}return w}function po(D,m,w){const B=Ko(m),Y=[];let K="";for(const hn of B){const _=K?`${K} ${hn}`:hn;D.measureText(_).width>w&&K?(Y.push(K),K=hn):K=_}return K&&Y.push(K),Y}function jo(D,m,w,B,Y,K){const hn=m.width/m.height,_=w/B;let G=m.width,An=m.height,Gn=0,kn=0;hn>_?(G=m.height*_,Gn=(m.width-G)*Y):(An=m.width/_,kn=(m.height-An)*K),D.drawImage(m,Gn,kn,G,An,0,0,w,B)}function qo(D,m,w){const B=so(D),Y=wn.createElement(B,{color:m,size:w,strokeWidth:2.2,xmlns:"http://www.w3.org/2000/svg"}),K=Xo.renderToStaticMarkup(Y),hn=K.includes("xmlns=")?K:K.replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"');return"data:image/svg+xml;utf8,"+encodeURIComponent(hn)}function $o(D,m,w,B,Y,K,hn){const _=Math.min(K,Y/2,B/2);D.beginPath(),D.moveTo(m+_,w),D.arcTo(m+B,w,m+B,w+Y,_),D.arcTo(m+B,w+Y,m,w+Y,_),D.arcTo(m,w+Y,m,w,_),D.arcTo(m,w,m+B,w,_),D.closePath(),D.lineWidth=hn,D.stroke()}const bi=2;async function ns(D){const{coverUrl:m,logoUrl:w,title:B,category:Y,categoryColor:K,categoryIconName:hn,width:_,height:G,focalX:An,focalY:Gn}=D,kn=Math.round(G*(G>_?.055:.085)*bi),ce=Math.round(G*.028*bi);try{await document.fonts?.load(`900 ${Math.max(110,kn)}px Raleway`),await document.fonts?.load(`800 ${Math.max(70,ce)}px Raleway`)}catch{}const mn=Math.round(G*.045),U=qo(hn,K,mn),[Vn,Hn,Ge]=await Promise.all([ru(m),ru(w),ru(U)]),me=document.createElement("canvas");me.width=_*bi,me.height=G*bi;const H=me.getContext("2d");H.imageSmoothingEnabled=!0,H.imageSmoothingQuality="high",H.scale(bi,bi),jo(H,Vn,_,G,An,Gn);const Ie=H.createLinearGradient(0,G*.25,0,G);Ie.addColorStop(0,"rgba(9,9,11,0)"),Ie.addColorStop(.55,"rgba(9,9,11,0.55)"),Ie.addColorStop(1,"rgba(9,9,11,0.95)"),H.fillStyle=Ie,H.fillRect(0,0,_,G);const qe=H.createLinearGradient(0,0,_*.6,0);qe.addColorStop(0,"rgba(9,9,11,0.55)"),qe.addColorStop(1,"rgba(9,9,11,0)"),H.fillStyle=qe,H.fillRect(0,0,_,G);const ue=Math.round(_*.05),xl=Math.round(G*.05),Ln=(Y||Ku).toUpperCase(),sn=Math.round(G*.028);H.font=`800 ${sn}px Raleway, system-ui, sans-serif`,H.textBaseline="middle";const Ne=H.measureText(Ln).width,$e=Math.round(mn*.5),nl=Math.round(mn*.7),el=Math.round(mn*.45),Dn=mn+el*2,Un=nl*2+mn+$e+Ne,F=ue,O=xl;H.fillStyle="rgba(9,9,11,0.55)",Zu(H,F,O,Un,Dn,Dn/2),H.strokeStyle=K,$o(H,F,O,Un,Dn,Dn/2,Math.max(2,Math.round(G*.004))),H.drawImage(Ge,F+nl,O+el,mn,mn),H.fillStyle=K,H.font=`800 ${sn}px Raleway, system-ui, sans-serif`,H.textBaseline="middle",H.fillText(Ln,F+nl+mn+$e,O+Dn/2),H.textBaseline="top";const wl=G>_,Yl=Math.round(G*(wl?.055:.085)),I=Math.round(Yl*1.05);H.font=`900 ${Yl}px Raleway, system-ui, sans-serif`,H.fillStyle="#ffffff";const E=_-ue*2,Ce=po(H,B,E).slice(0,5),Gl=Ce.length*I,In=G-xl-Gl,q=Math.round(G*.047),jn=Math.round(Hn.width/Hn.height*q),Me=Math.round(q*.45),Tl=Math.round(q*.28),El=jn+Me*2,Xl=q+Tl*2,Nn=ue,Qe=In-Math.round(G*.025)-Xl-Math.round(G*.012),Z=Math.round(Xl*.22);H.save(),H.shadowColor="rgba(0,0,0,0.35)",H.shadowBlur=Math.round(G*.014),H.shadowOffsetY=Math.round(G*.003),H.fillStyle="#ffffff",Zu(H,Nn,Qe,El,Xl,Z),H.restore(),H.drawImage(Hn,Nn+Me,Qe+Tl,jn,q);const Cl=Math.round(_*.08),ll=Math.round(G*.008);H.fillStyle=K,H.fillRect(ue,In-Math.round(G*.025),Cl,ll),H.fillStyle="#ffffff",H.textBaseline="top",H.shadowColor="rgba(0,0,0,0.55)",H.shadowBlur=18,Ce.forEach((J,dn)=>{H.fillText(J,ue,In+dn*I)}),H.shadowBlur=0;const T=document.createElement("canvas");T.width=_,T.height=G;const L=T.getContext("2d");return L.imageSmoothingEnabled=!0,L.imageSmoothingQuality="high",L.drawImage(me,0,0,_,G),await new Promise((J,dn)=>{T.toBlob(qn=>qn?J(qn):dn(new Error("toBlob failed")),"image/png",.95)})}function Zu(D,m,w,B,Y,K){const hn=Math.min(K,Y/2,B/2);D.beginPath(),D.moveTo(m+hn,w),D.arcTo(m+B,w,m+B,w+Y,hn),D.arcTo(m+B,w+Y,m,
53w+Y,hn),D.arcTo(m,w+Y,m,w,hn),D.arcTo(m,w,m+B,w,hn),D.closePath(),D.fill()}function es(D,m){if(!m)return{color:tu,icon:null,name:Ku};const w=m.toLowerCase().trim(),B=D.find(Y=>Y.slug.toLowerCase()===w||Y.name.toLowerCase()===w);return B?{color:B.color||tu,icon:B.icon,name:B.name}:{color:tu,icon:null,name:m}}function ls(D){const{coverUrl:m,title:w,category:B,focalX:Y=.5,focalY:K=.5,slug:hn}=D,{categories:_}=uo(),[G,An]=wn.useState(null),[Gn,kn]=wn.useState({}),ce=wn.useRef([]);wn.useEffect(()=>()=>{ce.current.forEach(U=>URL.revokeObjectURL(U))},[]);const mn=async(U,Vn)=>{if(!m){X.error("Chybà cover obrázek Älánku");return}if(!w?.trim()){X.error("Chybà titulek Älánku");return}const Hn=es(_,B);An(U.key);try{const Ge=await ns({coverUrl:m,logoUrl:Zo,title:w.trim(),category:Hn.name,categoryColor:Hn.color,categoryIconName:Hn.icon,width:U.width,height:U.height,focalX:Y,focalY:K}),me=URL.createObjectURL(Ge);if(ce.current.push(me),kn(H=>({...H,[U.key]:me})),Vn){const H=document.createElement("a");H.href=me,H.download=`${hn||"social"}-${U.key}.png`,document.body.appendChild(H),H.click(),H.remove()}}catch(Ge){console.error(Ge),X.error("NepodaÅilo se vygenerovat obrázek (CORS na cover?)")}finally{An(null)}};return g.jsxs("div",{className:"space-y-3",children:[g.jsx("p",{className:"text-xs text-muted-foreground",children:"Vygeneruje obrázek z cover fotky Älánku s titulkem a barevným Å¡tÃtkem kategorie (ikona + název) v barvÄ dané kategorie."}),g.jsx("div",{className:"grid gap-3 md:grid-cols-3",children:Jo.map(U=>g.jsxs("div",{className:"rounded-md border border-border bg-background p-3 space-y-2",children:[g.jsx("div",{className:"flex items-center justify-between",children:g.jsxs("div",{children:[g.jsx("p",{className:"text-sm font-semibold",children:U.label}),g.jsx("p",{className:"text-[10px] text-muted-foreground",children:U.hint})]})}),g.jsx("div",{className:"relative overflow-hidden rounded bg-muted",style:{aspectRatio:`${U.width} / ${U.height}`},children:Gn[U.key]?g.jsx("img",{src:Gn[U.key],alt:U.label,className:"absolute inset-0 h-full w-full object-contain"}):g.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-muted-foreground",children:g.jsx(au,{className:"h-6 w-6"})})}),g.jsxs("div",{className:"flex gap-2",children:[g.jsx(de,{type:"button",size:"sm",variant:"outline",className:"flex-1",onClick:()=>mn(U,!1),disabled:G===U.key,children:G===U.key?g.jsx(oo,{className:"h-3.5 w-3.5 animate-spin"}):"Náhled"}),g.jsxs(de,{type:"button",size:"sm",className:"flex-1",onClick:()=>mn(U,!0),disabled:G===U.key,children:[g.jsx(Ao,{className:"mr-1 h-3.5 w-3.5"})," PNG"]})]})]},U.key))})]})}function ts({onSelect:D,label:m="Vybrat z médiÃ",accept:w="image",trigger:B}){const[Y,K]=wn.useState(!1),[hn,_]=wn.useState([]),[G,An]=wn.useState(""),[Gn,kn]=wn.useState(!1);wn.useEffect(()=>{Y&&(kn(!0),(async()=>{let U=ft.from("media").select("id,url,title,alt,mime_type,created_at").order("created_at",{ascending:!1}).limit(200);w==="image"?U=U.like("mime_type","image/%"):w==="video"&&(U=U.like("mime_type","video/%"));const{data:Vn}=await U;_(Vn??[]),kn(!1)})())},[Y,w]);const ce=hn.filter(U=>!G||(U.title??"").toLowerCase().includes(G.toLowerCase())||(U.alt??"").toLowerCase().includes(G.toLowerCase())),mn=U=>{D(U),K(!1)};return g.jsxs(fo,{open:Y,onOpenChange:K,children:[g.jsx(ho,{asChild:!0,children:B??g.jsxs(de,{type:"button",variant:"outline",size:"sm",className:"w-full",children:[g.jsx(au,{className:"mr-1.5 h-4 w-4"})," ",m]})}),g.jsxs(go,{className:"max-w-4xl",children:[g.jsx(vo,{children:g.jsx(bo,{children:"Knihovna médiÃ"})}),g.jsx(yl,{placeholder:"Hledat podle názvuâ¦",value:G,onChange:U=>An(U.target.value)}),g.jsx("div",{className:"max-h-[70vh] overflow-y-auto",children:Gn?g.jsx("p",{className:"py-8 text-center text-sm text-muted-foreground",children:"NaÄÃtámâ¦"}):ce.length===0?g.jsx("p",{className:"py-8 text-center text-sm text-muted-foreground",children:"Žádné soubory."}):g.jsx("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-3 md:grid-cols-4",children:ce.map(U=>{const Vn=U.mime_type?.startsWith("image/");return g.jsxs("button",{type:"button",onClick:()=>mn(U.url),className:"group overflow-hidden rounded-lg border border-border bg-surface/40 text-left transition hover:border-primary hover:ring-2 hover:ring-primary/30",children:[g.jsx("div",{className:"flex aspect-video items-center justify-center bg-muted",children:Vn?g.jsx("img",{src:U.url,alt:U.alt??"",className:"h-full w-full object-cover",loading:"lazy"}):g.jsx(au,{className:"h-8 w-8 text-muted-foreground"})}),g.jsx("div",{className:"truncate px-2 py-1 text-[11px] text-muted-foreground",children:U.title??"â"})]},U.id)})})})]})]})}const Ju=/https?:\/\/(?:www\.|m\.)?(?:youtube(?:-nocookie)?\.com|youtu\.be)\/[^\s"'<>]+/gi,iu=/https?:\/\/(?:www\.|player\.)?vimeo\.com\/(?:video\/)?(\d{6,12})(?:[/?#][^\s"'<>]*)?/gi;function pu(D){if(!D)return null;Ju.lastIndex=0,iu.lastIndex=0;const m=Ju.exec(D);iu.lastIndex=0;const w=iu.exec(D),B=m?m.index:1/0,Y=w?w.index:1/0;
53if(B===1/0&&Y===1/0)return null;if(B<=Y&&m){const K=yo(m[0]);if(K)return{kind:"youtube",id:K,url:m[0].replace(/&/g,"&"),embedSrc:`https://www.youtube-nocookie.com/embed/${K}?rel=0&modestbranding=1`}}return w?{kind:"vimeo",id:w[1],url:w[0].replace(/&/g,"&"),embedSrc:`https://player.vimeo.com/video/${w[1]}?byline=0&portrait=0&title=0`}:null}function rs(D){const m=pu(D.trim());return m?{kind:m.kind,embedSrc:m.embedSrc}:null}const is=Sa({method:"POST"}).middleware([Fa]).handler(Pa("318247308f7ca9b4e30f947f8f78477dc45e5b238f418c5e3533866484252bef")),as=Sa({method:"POST"}).middleware([Fa]).handler(Pa("89acc303148b09eafe8141d1e6da616975665c17fbbadf9974e21c546eb3b955")),cs=Sa({method:"POST"}).middleware([Fa]).handler(Pa("5c563637ea3e003402087e27015246ed587f4b54cf4b9c2d2a29def184474ec9")),us={title:"",slug:"",excerpt:"",body:"",category:"tech",image_url:"",cover_image_url:"",cover_focal_x:.5,cover_focal_y:.5,status:"draft",trending:!1,breaking:!1,featured:!1,recommended:!1,read_time:"5 min",seo_title:"",meta_description:"",canonical_url:"",tags:[],scheduled_at:"",unpublish_at:""};function _a(D){return D.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim()}function Ps(){const{id:D}=xo.useParams(),m=D==="new",{user:w}=wo(),B=To(),Y=vc(is),K=vc(mo),hn=vc(cs),[_,G]=wn.useState(us),[An,Gn]=wn.useState(!m),[kn,ce]=wn.useState(!1),[mn,U]=wn.useState(!1),[Vn,Hn]=wn.useState(null),[Ge,me]=wn.useState([]),[H,Ie]=wn.useState(""),qe=vc(as),[ue,xl]=wn.useState(""),[Ln,sn]=wn.useState(!1),[Ne,$e]=wn.useState(""),[nl,el]=wn.useState([]),Dn=nl.length>0?nl:Eo.map(T=>({slug:T.slug,name:T.name})),[Un,F]=wn.useState(null),[O,wl]=wn.useState(null),[Yl,I]=wn.useState(null);wn.useEffect(()=>{(async()=>{const{data:T}=await ft.from("categories").select("slug,name").eq("active",!0).order("sort_order");T&&T.length>0&&el(T)})(),(async()=>{const{data:T}=await ft.from("tags").select("slug,name").order("name").limit(1e3);me(T??[])})()},[]),wn.useEffect(()=>{m||(async()=>{const{data:T,error:L}=await ft.from("articles").select("*").eq("id",D).maybeSingle();if(L&&X.error(L.message),T){G({title:T.title,slug:T.slug,excerpt:T.excerpt??"",body:T.body??"",category:T.category,image_url:T.image_url??"",cover_image_url:T.cover_image_url??T.image_url??"",cover_focal_x:Number(T.cover_focal_x??.5),cover_focal_y:Number(T.cover_focal_y??.5),status:T.status,trending:T.trending,breaking:T.breaking??!1,featured:T.featured??!1,recommended:T.recommended??!1,read_time:T.read_time??"5 min",seo_title:T.seo_title??"",meta_description:T.meta_description??"",canonical_url:T.canonical_url??"",tags:Array.isArray(T.tags)?T.tags:[],scheduled_at:T.scheduled_at?new Date(T.scheduled_at).toISOString().slice(0,16):"",unpublish_at:T.unpublish_at?new Date(T.unpublish_at).toISOString().slice(0,16):""}),I(T.published_at??null);const J=pu(T.body??"");J&&$e(J.url),T.ai_analysis&&typeof T.ai_analysis=="object"&&wl(T.ai_analysis)}Gn(!1)})()},[D,m]);const E=T=>G(L=>({...L,...T})),Ce=wn.useMemo(()=>_.body.replace(/<[^>]+>/g," ").trim().split(/\s+/).filter(Boolean).length,[_.body]),Gl=async(T,L)=>{U(!0);try{const J=await ko(T,"articles");E({[L]:J}),X.success("Obrázek nahrán")}catch(J){X.error(J instanceof Error?J.message:"Nahránà selhalo")}finally{U(!1)}},In=async(T=_.status==="published"?"publish":"draft")=>{if(!_.title||!_.category)return X.error("VyplÅte titulek a kategorii");if(T==="schedule"&&!_.scheduled_at)return X.error("Vyberte datum publikace");ce(!0);const L=_.slug||vi(_.title);let J=_.body||"";const dn=Ne.trim();if(dn){const an=/https?:\/\/(?:www\.|m\.|player\.)?(?:youtube(?:-nocookie)?\.com|youtu\.be|vimeo\.com)\/[^\s"'<>]+/gi;J=J.replace(an,"").replace(/<p>\s*<\/p>/gi,""),J=`<p>${dn}</p>`+J}const qn={title:_.title,slug:L,excerpt:_.excerpt,body:J,category:_.category,image_url:_.image_url||_.cover_image_url||null,cover_image_url:_.cover_image_url||null,cover_focal_x:_.cover_focal_x,cover_focal_y:_.cover_focal_y,trending:_.trending,breaking:_.breaking,featured:_.featured,recommended:_.recommended,read_time:_.read_time,seo_title:_.seo_title||null,meta_description:_.meta_description||null,canonical_url:_.canonical_url||null,tags:_.tags,author_id:w?.id??null,ai_analysis:O??null,unpublish_at:_.unpublish_at?new Date(_.unpublish_at).toISOString():null};T==="publish"?(qn.status="published",qn.published_at=Yl??new Date().toISOString(),qn.scheduled_at=null):T==="schedule"?(qn.status="draft",qn.published_at=null,qn.scheduled_at=new Date(_.scheduled_at).toISOString()):(qn.status="draft",qn.published_at=null);const Xn=m?await ft.from("articles").insert(qn).select("id").single():await ft.from("articles").update(qn).eq("id",D).select("id").single();if(ce(!1),Xn.error)return X.error(Xn.error.message);X.success(T==="publish"?"Publikováno":T==="schedule"?"Naplánováno":"Uloženo jako koncept");const Mn=m&&Xn.data?Xn.data.id:D;Mn&&Mn!=="new"&&dn&&hn({data:{articleId:Mn,videoUrl:dn}}).then(an=>{an?.ok?X.success("Video propojeno do TV epizod"):an&&"skipped"in an&&an.skipped}).catch(an=>X.error("Propojenà videa selhalo: "+(an?.message??String(an)))),T==="publish"&&Mn&&Mn!=="new"&&K({}).then(an=>an.valid?Y({data:{articleId:Mn}}):(X.message("ORCA push pÅeskoÄen",{description:an.issues[0]??"ORCA webhook nenà validnÃ",action:{label:"Validace",onClick:()=>B({to:"/admin_phm/orca/webhook"})}}),null)).then(an=>
53{an&&(an.ok?X.success("Odesláno do ORCA"):"skipped"in an&&an.skipped?X.message("ORCA push pÅeskoÄen",{description:an.error}):X.error("ORCA push selhal: "+(an.error??"neznámá chyba")))}).catch(an=>X.error("ORCA push selhal: "+(an?.message??String(an)))),m&&Xn.data&&B({to:"/admin_phm/clanky/$id",params:{id:Xn.data.id}})},q=async()=>{if(m||!D||D==="new")return X.error("Nejprve Älánek uložte");const T=X.loading("OvÄÅuji ORCA webhookâ¦");try{const L=await K({});if(!L.valid){X.dismiss(T),X.error("ORCA webhook nenà validnÃ",{description:(L.issues[0]??"Neznámá chyba")+" â otevÅi /admin_phm/orca/webhook",action:{label:"Validace",onClick:()=>B({to:"/admin_phm/orca/webhook"})}});return}X.loading(`PosÃlám do ORCA (${L.hostname})â¦`,{id:T});const J=await Y({data:{articleId:D}});X.dismiss(T),J?.ok?X.success(`Odesláno do ORCA (HTTP ${J.http_status}, ${J.duration_ms} ms)`):J&&"skipped"in J&&J.skipped?X.error(J.error??"ORCA push pÅeskoÄen"):X.error("ORCA push selhal: "+(J?.error??"neznámá chyba"))}catch(L){X.dismiss(T),X.error(L instanceof Error?L.message:"ORCA push selhal")}},jn=async()=>{const T=_a(_.body);if(!_.title||T.length<20)return X.error("DoplÅ titulek a obsah");Hn("seo");const L=await Ho({data:{title:_.title,body:T}});if(Hn(null),"error"in L)return X.error(L.error);if("data"in L){const J=L.data;E({seo_title:J.seo_title||_.seo_title,meta_description:J.meta_description||_.meta_description,tags:Array.from(new Set([..._.tags??[],...J.tags??[]])).slice(0,12)}),X.success("SEO meta vygenerována")}},Me=async()=>{const T=_a(_.body);if(!_.title||T.length<20)return X.error("DoplÅ titulek a obsah");Hn("social");const L=await Uo({data:{title:_.title,body:T,url:_.canonical_url||void 0}});if(Hn(null),"error"in L)return X.error(L.error);"data"in L&&(F(L.data),X.success("PÅÃspÄvky vygenerovány"))},Tl=async()=>{const T=_a(_.body);if(T.length<50)return X.error("Obsah je pÅÃliÅ¡ krátký");Hn("analyze");const L=await So({data:{text:T}});if(Hn(null),"error"in L)return X.error(L.error);if("analysis"in L||"data"in L){const J="analysis"in L?L.analysis:L.data;if(wl(J),!m&&J){const{error:dn}=await ft.from("articles").update({ai_analysis:J}).eq("id",D);dn?X.error("Analýza se neuložila: "+dn.message):X.success("Analýza uložena")}}},El=async()=>{const T=ue.trim()||_.title.trim();if(T.length<5)return X.error("Zadej titulek nebo popis obrázku (min. 5 znaků)");sn(!0);try{const L=await Fo({data:{prompt:T.slice(0,500),title:_.title.trim()||void 0}});if("error"in L)return X.error(L.error);"url"in L&&L.url&&(E({cover_image_url:L.url,image_url:_.image_url||L.url}),X.success("Cover vygenerován"))}catch(L){X.error(L instanceof Error?L.message:"Generovánà selhalo")}finally{sn(!1)}},Xl=T=>{navigator.clipboard.writeText(T),X.success("ZkopÃrováno")},Nn=async()=>{if(m)return X.error("Nejprve Älánek ulož.");const{data:T,error:L}=await ft.from("articles").select("*").eq("id",D).single();if(L||!T)return X.error(L?.message??"Nelze naÄÃst");const{id:J,created_at:dn,updated_at:qn,published_at:Xn,...Mn}=T,an=`${T.slug}-kopie`,ht=await ft.from("articles").insert({...Mn,title:`${T.title} (kopie)`,slug:vi(an)||`${an}-${Date.now()}`,status:"draft",published_at:null,scheduled_at:null}).select("id").single();if(ht.error)return X.error(ht.error.message);X.success("Duplikováno"),B({to:"/admin_phm/clanky/$id",params:{id:ht.data.id}})};if(An)return g.jsx("div",{className:"text-muted-foreground",children:"NaÄÃtámâ¦"});const Qe=_.cover_image_url||_.image_url,Z=_.seo_title.length,Cl=_.meta_description.length,ll=_.slug||vi(_.title);return g.jsxs("div",{children:[g.jsxs(Co,{to:"/admin_phm/clanky",className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground",children:[g.jsx(Io,{className:"h-4 w-4"})," ZpÄt na seznam"]}),g.jsxs("div",{className:"mt-2 flex flex-wrap items-center justify-between gap-3",children:[g.jsx("h1",{className:"font-display text-3xl font-bold",children:m?"Nový Älánek":"Upravit Älánek"}),!m&&g.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[ll&&g.jsx(de,{asChild:!0,size:"sm",variant:"outline",children:g.jsxs("a",{href:`/${ll}`,target:"_blank",rel:"noreferrer",children:[_.status==="published"?g.jsx(Ro,{className:"mr-1 h-4 w-4"}):g.jsx(No,{className:"mr-1 h-4 w-4"}),_.status==="published"?"OtevÅÃt na webu":"Náhled"]})}),g.jsxs(de,{size:"sm",variant:"outline",onClick:Nn,children:[g.jsx(Mo,{className:"mr-1 h-4 w-4"})," Duplikovat"]}),g.jsxs(de,{size:"sm",onClick:()=>B({to:"/admin_phm/clanky"}),className:"bg-slate-700 text-white hover:bg-slate-800 dark:bg-slate-800 dark:hover:bg-slate-700",children:[g.jsx(Uu,{className:"mr-1 h-4 w-4"})," ZavÅÃt"]})]})]}),g.jsxs("div",{className:"mt-6 grid gap-6 lg:grid-cols-[1fr_340px]",children:[g.jsxs("div",{className:"space-y-4",children:[g.jsxs("div",{children:[g.jsx(Ee,{children:"Titulek"}),g.jsx(yl,{value:_.title,onChange:T=>E({title:T.target.value})})]}),g.jsxs("div",{children:[g.jsx(Ee,{children:"Slug (URL)"}),g.jsx(yl,{value:_.slug,onChange:T=>E({slug:T.target.value}),placeholder:vi(_.title)})]}),g.jsxs("div",{children:[g.jsx(Ee,{children:"Perex"}),g.jsx(lu,{rows:2,value:_.excerpt,onChange:T=>E({excerpt:T.target.value})})]}),g.jsxs("div",{children:[g.jsx("div",{className:"flex items-center justify-between",children:g.jsx(Ee,{children:"TÄlo Älánku"})}),g.jsxs("details",{className:"mt-2 mb-3 rounded-lg border border-border bg-surface/40 text-sm",children:[g.jsx("summary",{className:"cursor-pointer select-none px-4 py-2.5 font-medium text-foreground hover:bg-surface/60",children:"Pokyny pro editory â jak psát Älánek"}),g.jsxs("div",{className:"space-y-4 border-t border-border px-4 py-3 text-muted-foreground",children:[g.jsxs("section",{children:[g.jsx("h4",{className:"mb-1 font-semibold text-foreground",children:"Titulek a perex"}),g.jsxs("ul",{className:"ml-4 list-disc space-y-1",children:[g.jsx("li",{children:"Titulek max 70 znaků, konkrétnà a vÄcný â žádné clickbaity ani velká pÃsmena na celé slovo."}),g.jsx("li",{children:"Perex 1â2 vÄty (do 220 znaků), shrnuje to nejdůležitÄjšà â kdo, co, kde, kdy."}),g.jsx("li",{children:"Slug je URL adresa â držet krátký, bez diakritiky, slova oddÄlená pomlÄkou."})]})]}),g.jsxs("section",{children:[g.jsx("h4",{className:"mb-1 font-semibold text-foreground",children:"TÄlo Älánku"}),g.jsxs("ul",{className:"ml-4 list-disc space-y-1",children:[g.jsx("li",{children:"Prvnà odstavec rozvÃjà perex, nikdy ho doslova neopakuje."}),g.jsxs("li",{children:["Älenit po 2â4 vÄtách, dlouhé pasáže rozdÄlit mezititulky ",g.jsx("strong",{children:"H2"})," / ",g.jsx("strong",{children:"H3"}),"."]}),g.jsx("li",{children:'Citace v uvozovkách âtakto", zdroj uvádÄt vždy (jméno, funkce, instituce).'}),g.jsx("li",{children:"ÄÃsla a jednotky psát s nedÄlitelnou mezerou (10 kW, 25 %, 1 500 KÄ)."}),g.jsx("li",{children:"Odkazy smÄÅovat na primárnà zdroj, otevÅÃt v novém oknÄ jen u externÃch."})]})]}),g.jsxs("section",{children:[g.jsx("h4",{className:"mb-1 font-semibold text-foreground",children:"Obrázky a video"}),g.jsxs("ul",{className:"ml-4 list-disc space-y-1",children:[g.jsx("li",{children:"Titulnà obrázek povinný, doporuÄený pomÄr 16:9, min. Å¡ÃÅka 1600 px."}),g.jsx("li",{children:"Vždy doplnit popisek / alt text â pomáhá SEO i ÄteÄkám."}),g.jsx("li",{children:"Video (YouTube / Vimeo) vkládat polem nÞe, ne pÅÃmo do tÄla â propÃÅ¡e se na zaÄátek Älánku automaticky."}),g.jsx("li",{children:"Respektovat autorská práva, u pÅevzatých fotek uvést zdroj."})]})]}),g.jsxs("section",{children:[g.jsx("h4",{className:"mb-1 font-semibold text-foreground",children:"SEO a Å¡tÃtky"}),g.jsxs("ul",{className:"ml-4 list-disc space-y-1",children:[g.jsx("li",{children:"Vyplnit SEO titulek (do 60 znaků) a meta popis (do 160 znaků) â jinak se použije titulek a perex."}),g.jsx("li",{children:"PÅidat 3â6 výstižných Å¡tÃtků, použÃvat existujÃcÃ, nevytváÅet duplicity."}),g.jsx("li",{children:"Vybrat správnou rubriku â ovlivÅuje Åazenà na webu i v TV grafice."})]})]}),g.jsxs("section",{children:[g.jsx("h4",{className:"mb-1 font-semibold text-foreground",children:"Workflow"}),g.jsxs("ul",{className:"ml-4 list-disc space-y-1",children:[g.jsxs("li",{children:[g.jsx("strong",{children:"Uložit koncept"})," â průbÄžné ukládánÃ, Älánek se nezveÅejnÃ."]}),g.jsxs("li",{children:[g.jsx("strong",{children:"Naplánovat"}
53)," â nastavit datum a Äas, Älánek vyjde automaticky."]}),g.jsxs("li",{children:[g.jsx("strong",{children:"Publikovat"})," â okamžité zveÅejnÄnÃ, zkontrolovat pÅeklepy a obrázek."]}),g.jsxs("li",{children:["PÅed publikacà použÃt ",g.jsx("em",{children:"Analyzovat Älánek"})," a opravit slabiny."]})]})]})]})]}),g.jsx(_o,{value:_.body,onChange:T=>E({body:T})})]}),(()=>{const T=Ne.trim()?rs(Ne.trim()):null;return g.jsxs("div",{className:"rounded-xl border border-border bg-surface/40 p-4 space-y-3",children:[g.jsx(Ee,{children:"Video v Älánku (YouTube nebo Vimeo)"}),g.jsx(yl,{value:Ne,onChange:L=>$e(L.target.value),placeholder:"https://www.youtube.com/watch?v=⦠nebo https://vimeo.com/â¦"}),g.jsx("p",{className:"text-xs text-muted-foreground",children:"Po uloženà se URL automaticky propÃÅ¡e na zaÄátek tÄla Älánku. YouTube se na webu zobrazà jako velký EnergyTV pÅehrávaÄ a jako náhled v boxech. Vimeo se zobrazà jako Vimeo iframe nad Älánkem."}),Ne.trim()&&!T&&g.jsx("p",{className:"text-xs text-destructive",children:"Neplatná YouTube ani Vimeo URL."}),T&&g.jsx("div",{className:"relative w-full overflow-hidden rounded-lg bg-black",style:{aspectRatio:"16 / 9"},children:g.jsx("iframe",{src:T.embedSrc,title:"Náhled videa",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"},T.embedSrc)}),Ne.trim()&&g.jsx(de,{type:"button",size:"sm",variant:"outline",onClick:()=>$e(""),children:"Odebrat video"})]})})(),g.jsxs("div",{className:"rounded-xl border border-border bg-surface/40 p-4 space-y-3",children:[g.jsxs("div",{className:"flex items-center justify-between",children:[g.jsx("h2",{className:"font-semibold",children:"SEO panel"}),g.jsxs(de,{type:"button",size:"sm",variant:"outline",onClick:jn,disabled:Vn==="seo",children:[g.jsx(bc,{className:"mr-1 h-4 w-4"})," ",Vn==="seo"?"Generujiâ¦":"AI návrh"]})]}),g.jsxs("div",{children:[g.jsxs(Ee,{children:["SEO titulek ",g.jsxs("span",{className:Z>60?"text-destructive":"text-muted-foreground",children:["(",Z,"/60)"]})]}),g.jsx(yl,{value:_.seo_title,onChange:T=>E({seo_title:T.target.value}),placeholder:_.title})]}),g.jsxs("div",{children:[g.jsxs(Ee,{children:["Meta description ",g.jsxs("span",{className:Cl>160?"text-destructive":"text-muted-foreground",children:["(",Cl,"/160)"]})]}),g.jsx(lu,{rows:2,value:_.meta_description,onChange:T=>E({meta_description:T.target.value})})]}),g.jsxs("div",{children:[g.jsx(Ee,{children:"Canonical URL"}),g.jsx(yl,{value:_.canonical_url,onChange:T=>E({canonical_url:T.target.value}),placeholder:"https://â¦"})]}),g.jsxs("div",{children:[g.jsxs("div",{className:"flex items-center justify-between",children:[g.jsx(Ee,{children:"Å tÃtky"}),g.jsxs(de,{type:"button",size:"sm",variant:"outline",onClick:async()=>{if(!_.title.trim()||_a(_.body).length<20){X.error("DoplÅ titulek a obsah Älánku.");return}Hn("tags");try{const T=await qe({data:{title:_.title,body:_a(_.body),existing:_.tags}});if("error"in T)X.error(T.error);else{const L=Array.from(new Set([..._.tags,...T.data.tags.map(J=>J.trim()).filter(Boolean)])).slice(0,12);E({tags:L}),X.success(`PÅidáno ${L.length-_.tags.length} AI Å¡tÃtků`)}}finally{Hn(null)}},disabled:Vn==="tags",children:[g.jsx(bc,{className:"mr-1 h-4 w-4"}),Vn==="tags"?"AI vybÃráâ¦":"AI výbÄr"]})]}),_.tags.length>0&&g.jsx("div",{className:"mt-2 flex flex-wrap gap-1",children:_.tags.map(T=>g.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-primary/15 px-2 py-0.5 text-xs text-primary",children:[T,g.jsx("button",{type:"button",onClick:()=>E({tags:_.tags.filter(L=>L!==T)}),className:"hover:text-destructive","aria-label":`Odebrat ${T}`,children:g.jsx(Uu,{className:"h-3 w-3"})})]},T))}),g.jsxs("div",{className:"mt-2 flex gap-2",children:[g.jsx(yl,{list:"article-tags-list",value:H,onChange:T=>Ie(T.target.value),onKeyDown:T=>{if(T.key==="Enter"||T.key===","){T.preventDefault();const L=H.trim().replace(/,$/,"");L&&!_.tags.includes(L)&&E({tags:[..._.tags,L]}),Ie("")}},placeholder:"PÅidat Å¡tÃtek (Enter)â¦",className:"h-8 text-sm"}),g.jsx(de,{type:"button",size:"sm",variant:"outline",onClick:()=>{const T=H.trim();T&&!_.tags.includes(T)&&E({tags:[..._.tags,T]}),Ie("")},children:"PÅidat"}),g.jsx("datalist",{id:"article-tags-list",children:Ge.filter(T=>!_.tags.includes(T.name)).slice(0,200).map(T=>g.jsx("option",{value:T.name},T.slug))})]}),Ge.length>0&&g.jsxs("p",{className:"mt-1 text-[11px] text-muted-foreground",children:["NapovÃdá z ",Ge.length," existujÃcÃch Å¡tÃtků. AI preferuje výbÄr z nich."]})]}),g.jsxs("div",{className:"rounded-md border border-border bg-background p-3",children:[g.jsx("p",{className:"text-xs text-muted-foreground",children:"Náhled v Google:"}),g.jsx("p",{className:"mt-1 truncate text-sm text-blue-600",children:_.seo_title||_.title||"Titulek Älánku"}),g.jsx("p",{className:"truncate text-xs text-emerald-700",children:_.canonical_url||`https://example.com/${_.slug||vi(_.title)}`}),g.jsx("p",{className:"mt-1 line-clamp-2 text-xs text-muted-foreground",children:_.meta_description||_.excerpt||"Meta descriptionâ¦"})]})]}),g.jsxs("div",{className:"rounded-xl border border-border bg-surface/40 p-4 space-y-3",children:[g.jsxs("div",{className:"flex items-center justify-between",children:[g.jsx("h2",{className:"font-semibold",children:"PÅÃspÄvky pro sociálnà sÃtÄ"}),g.jsxs(de,{type:"button",size:"sm",variant:"outline",onClick:Me,disabled:Vn==="social",children:[g.jsx(Wu,{className:"mr-1 h-4 w-4"})," ",Vn==="social"?"Generujiâ¦":"Vygenerovat AI"]})]}),Un?g.jsx("div",{className:"grid gap-3 md:grid-cols-2",children:["facebook","linkedin","twitter","instagram"].map(T=>g.jsxs("div",{className:"rounded-md border border-border bg-background p-3",children:[g.jsxs("div",{className:"mb-1 flex items-center justify-between",children:[g.jsx("span",{className:"text-xs font-semibold uppercase text-muted-foreground",children:T}),g.jsx("button",{type:"button",onClick:()=>Xl(Un[T]),className:"text-muted-foreground hover:text-foreground",children:g.jsx(zo,{className:"h-3.5 w-3.5"})})]}),g.jsx("p",{className:"whitespace-pre-wrap text-sm",children:Un[T]})]},T))}):g.jsx("p",{className:"text-sm text-muted-foreground",children:'ZatÃm nic. Klikni na "Vygenerovat AI".'})]}),g.jsxs("div",{className:"rounded-xl border border-border bg-surface/40 p-4 space-y-3",children:[g.jsx("div",{className:"flex items-center justify-between",children:g.jsx("h2",{className:"font-semibold",children:"Obrázky pro sociálnà sÃtÄ"})}
53),g.jsx(ls,{coverUrl:_.cover_image_url||_.image_url,title:_.title,category:_.category,focalX:_.cover_focal_x,focalY:_.cover_focal_y,slug:_.slug||vi(_.title)})]}),g.jsxs("div",{className:"rounded-xl border border-border bg-surface/40 p-4 space-y-3",children:[g.jsxs("div",{className:"flex items-center justify-between",children:[g.jsx("h2",{className:"font-semibold",children:"AI analýza Älánku"}),g.jsxs(de,{type:"button",size:"sm",variant:"outline",onClick:Tl,disabled:Vn==="analyze",children:[g.jsx(Lo,{className:"mr-1 h-4 w-4"})," ",Vn==="analyze"?"Analyzujiâ¦":"Analyzovat"]})]}),O&&g.jsxs("div",{className:"space-y-2 text-sm",children:[g.jsxs("div",{className:"flex flex-wrap gap-2",children:[g.jsxs("span",{className:"rounded-md bg-primary/10 px-2 py-1 text-xs",children:["Skóre: ",g.jsxs("b",{children:[O.quality_score,"/10"]})]}),g.jsxs("span",{className:"rounded-md bg-surface px-2 py-1 text-xs",children:["Tón: ",O.tone]}),g.jsxs("span",{className:"rounded-md bg-surface px-2 py-1 text-xs",children:["Bias: ",O.bias]}),g.jsxs("span",{className:"rounded-md bg-surface px-2 py-1 text-xs",children:["Ätivost: ",O.readability]})]}),O.suggestions?.length>0&&g.jsxs("div",{children:[g.jsx("p",{className:"text-xs font-semibold text-muted-foreground",children:"Návrhy:"}),g.jsx("ul",{className:"ml-4 list-disc text-xs",children:O.suggestions.map((T,L)=>g.jsx("li",{children:T},L))})]})]})]})]}),g.jsxs("aside",{className:"space-y-4 rounded-xl border border-border bg-surface/40 p-4 h-fit lg:sticky lg:top-4",children:[g.jsxs("div",{children:[g.jsx(Ee,{children:"Status"}),g.jsxs("select",{className:"mt-1 h-9 w-full rounded-md border border-input bg-transparent px-3 text-sm",value:_.status,onChange:T=>E({status:T.target.value}),children:[g.jsx("option",{value:"draft",children:"Koncept"}),g.jsx("option",{value:"published",children:"Publikováno"})]})]}),g.jsxs("div",{children:[g.jsx(Ee,{children:"Naplánovat na"}),g.jsx(yl,{type:"datetime-local",value:_.scheduled_at,onChange:T=>E({scheduled_at:T.target.value})})]}),g.jsxs("div",{children:[g.jsx(Ee,{children:"ZveÅejnit do"}),g.jsx(yl,{type:"datetime-local",value:_.unpublish_at,onChange:T=>E({unpublish_at:T.target.value})}),g.jsxs("p",{className:"mt-1 text-xs text-muted-foreground",children:["Po tomto termÃnu se Älánek automaticky pÅestane zobrazovat na webu. Ponechte prázdné pro trvalé zveÅejnÄnÃ.",_.unpublish_at&&g.jsx("button",{type:"button",className:"ml-2 underline",onClick:()=>E({unpublish_at:""}),children:"ZruÅ¡it termÃn"})]})]}),g.jsxs("div",{children:[g.jsx(Ee,{children:"Kategorie"}),g.jsx("select",{className:"mt-1 h-9 w-full rounded-md border border-input bg-transparent px-3 text-sm",value:_.category,onChange:T=>E({category:T.target.value}),children:Dn.map(T=>g.jsx("option",{value:T.slug,children:T.name},T.slug))})]}),g.jsxs("div",{children:[g.jsxs("div",{className:"flex items-center justify-between",children:[g.jsx(Ee,{children:"Äas ÄtenÃ"}),g.jsxs("span",{className:"text-xs text-muted-foreground",children:[Ce," slov · ~",Math.max(1,Math.round(Ce/200))," min"]})]}),g.jsxs("div",{className:"mt-1 flex gap-2",children:[g.jsx(yl,{value:_.read_time,onChange:T=>E({read_time:T.target.value})}),g.jsxs(de,{type:"button",size:"sm",variant:"outline",onClick:()=>E({read_time:`${Math.max(1,Math.round(Ce/200))} min`}),title:"PÅepoÄÃtat podle délky textu",children:[g.jsx(Oo,{className:"mr-1 h-4 w-4"})," PÅepoÄÃtat"]})]})]}),g.jsxs("div",{className:"space-y-2 text-sm",children:[g.jsxs("div",{className:"rounded-md border border-primary/30 bg-primary/5 p-2 space-y-1.5",children:[g.jsxs("label",{className:"flex items-center gap-2 font-semibold",children:[g.jsx("input",{type:"checkbox",checked:_.featured,onChange:T=>E({featured:T.target.checked})}),"â TOP STORY"]}),g.jsxs("p",{className:"text-[11px] text-muted-foreground leading-tight pl-6",children:["Zobrazà se na ",g.jsx("strong",{children:"1. pozici homepage"}),' jako velký plakát (TOP STORY). V âNejnovÄjšà z newsroomu" se na home neukáže, ale v pÅehledu ',g.jsx("code",{children:"/zpravy"})," ano."]}),g.jsxs("label",{className:"flex items-center gap-2 font-semibold pt-1 border-t border-primary/20",children:[g.jsx("input",{type:"checkbox",checked:_.recommended,onChange:T=>E({recommended:T.target.checked})}),"ð DOPORUÄUJEME"]}),g.jsxs("p",{className:"text-[11px] text-muted-foreground leading-tight pl-6",children:["RuÄnÄ vybraný Älánek redakcÃ. Zobrazà se v pravém sloupci homepage ",g.jsx("strong",{children:'âDnes doporuÄujeme"'})," (až 4 položky s náhledem).",g.jsx("br",{}),"Blok ",g.jsx("strong",{children:'âDoporuÄujeme z regionu"'})," (3 velké karty uprostÅed stránky) se plnà ",g.jsx("em",{children:"automaticky"})," dalÅ¡Ãmi nepoužitými Älánky ze seznamu â pÅÃznak na nÄj nemá vliv.",g.jsx("br",{}),'Pokud nenà oznaÄen žádný Älánek, sidebar âDnes doporuÄujeme" se ',g.jsx("strong",{children:"schová"}),". DoporuÄujeme mÃt vždy alespoÅ 3â4 oznaÄené."]})]}),g.jsx("div",{className:"grid grid-cols-2 gap-2 pt-1",children:["breaking","trending"].map(T=>g.jsxs("label",{className:"flex items-center gap-2",children:[g.jsx("input",{type:"checkbox",checked:_[T],onChange:L=>E({[T]:L.target.checked})}),T==="breaking"?"Breaking":"Trending"]},T))})]}),g.jsxs("div",{children:[g.jsx(Ee,{children:"Cover obrázek"}),Qe?g.jsx(Bo,{src:Qe,x:_.cover_focal_x,y:_.cover_focal_y,onChange:(T,L)=>E({cover_focal_x:T,cover_focal_y:L})}):g.jsx("p",{className:"text-xs text-muted-foreground",children:"Nahrajte cover obrázek pro nastavenà focal pointu."}),g.jsx(yl,{className:"mt-2",placeholder:"URL cover obrázku",value:_.cover_image_url,onChange:T=>E({cover_image_url:T.target.value})}),g.jsxs("label",{className:"mt-2 flex cursor-pointer items-center justify-center gap-2 rounded-md border border-dashed border-border px-3 py-2 text-xs text-muted-foreground hover:bg-surface",children:[g.jsx(Do,{
53className:"h-4 w-4"}),mn?"Nahrávámâ¦":"Nahrát cover",g.jsx("input",{type:"file",accept:"image/*",className:"hidden",onChange:T=>T.target.files?.[0]&&Gl(T.target.files[0],"cover_image_url")})]}),g.jsx("div",{className:"mt-2",children:g.jsx(ts,{label:"Vybrat z knihovny médiÃ",accept:"image",onSelect:T=>E({cover_image_url:T,image_url:_.image_url||T})})}),g.jsxs("div",{className:"mt-3 space-y-2 rounded-md border border-border bg-background p-2",children:[g.jsxs(Ee,{className:"text-xs flex items-center gap-1",children:[g.jsx(bc,{className:"h-3 w-3"})," Generovat cover pÅes AI"]}),g.jsx(lu,{rows:2,placeholder:Qe?"Pokyny pro pÅegenerovánà (napÅ. âvÃce modré, fotorealistické, veÄernà svÄtloâ)â¦":"Popis obrázku (nebo nech prázdné â použije se titulek)",value:ue,onChange:T=>xl(T.target.value)}),g.jsxs(de,{type:"button",size:"sm",variant:"outline",className:"w-full",onClick:El,disabled:Ln,children:[g.jsx(bc,{className:"mr-1 h-4 w-4"}),Ln?"Generujiâ¦":Qe?"PÅegenerovat":"Vygenerovat"]})]})]}),g.jsxs("div",{className:"flex flex-col gap-2 pt-2 border-t border-border",children:[g.jsx(de,{onClick:()=>In("draft"),disabled:kn,variant:"outline",children:kn?"Ukládámâ¦":"Uložit jako koncept"}),g.jsx(de,{onClick:()=>In("schedule"),disabled:kn||!_.scheduled_at,variant:"outline",children:"Naplánovat"}),g.jsx(de,{onClick:()=>In("publish"),disabled:kn,children:"Publikovat nynÃ"}),g.jsxs(de,{onClick:q,disabled:kn||m,variant:"ghost",size:"sm",className:"gap-2",children:[g.jsx(Wu,{className:"w-4 h-4"})," Poslat do ORCA znovu"]})]})]})]})]})}export{Ps as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.