import{t as ko,v as Co,w as Do,x as Oo,r as V,_ as Io,q as bo,j as _,O as Ro,S as _o,M as Po,L as $o}from"./components-xz3w7t4N.js";import{p as No,g as Be,u as cn,l as Fo,C as Mo,t as fn,s as Lo}from"./client-only-01RtDe9O.js";/**
 * @remix-run/react v2.16.8
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */let nr="positions";function Ao({getKey:e,...t}){let{isSpaMode:r}=ko(),n=Co(),o=Do();Oo({getKey:e,storageKey:nr});let s=V.useMemo(()=>{if(!e)return null;let u=e(n,o);return u!==n.key?u:null},[]);if(r)return null;let i=((u,l)=>{if(!window.history.state||!window.history.state.key){let a=Math.random().toString(32).slice(2);window.history.replaceState({key:a},"")}try{let c=JSON.parse(sessionStorage.getItem(u)||"{}")[l||window.history.state.key];typeof c=="number"&&window.scrollTo(0,c)}catch(a){console.error(a),sessionStorage.removeItem(u)}}).toString();return V.createElement("script",Io({},t,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${i})(${JSON.stringify(nr)}, ${JSON.stringify(s)})`}}))}const jo="/assets/tailwind-compat-Bwh-BmjE.css";var fe={};/**
 * @license React
 * react-dom-server-legacy.browser.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var dn=V;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 F=Object.prototype.hasOwnProperty,Bo=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,or={},sr={};function pn(e){return F.call(sr,e)?!0:F.call(or,e)?!1:Bo.test(e)?sr[e]=!0:(or[e]=!0,!1)}function $(e,t,r,n,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){b[e]=new $(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];b[t]=new $(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){b[e]=new $(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){b[e]=new $(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){b[e]=new $(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){b[e]=new $(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){b[e]=new $(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){b[e]=new $(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){b[e]=new $(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pt=/[\-:]([a-z])/g;function $t(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Pt,$t);b[t]=new $(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Pt,$t);b[t]=new $(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Pt,$t);b[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){b[e]=new $(e,1,!1,e.toLowerCase(),null,!1,!1)});b.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){b[e]=new $(e,1,!1,e.toLowerCase(),null,!0,!0)});var be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ho=["Webkit","ms","Moz","O"];Object.keys(be).forEach(function(e){Ho.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]})});var zo=/["'&<>]/;function P(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=zo.exec(e);if(t){var r="",n,o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var Vo=/([A-Z])/g,Uo=/^ms-/,St=Array.isArray;function Z(e,t){return{insertionMode:e,selectedValue:t}}function Wo(e,t,r){switch(t){case"select":return Z(1,r.value!=null?r.value:r.defaultValue);case"svg":return Z(2,null);case"math":return Z(3,null);case"foreignObject":return Z(1,null);case"table":return Z(4,null);case"thead":case"tbody":case"tfoot":return Z(5,null);case"colgroup":return Z(7,null);case"tr":return Z(6,null)}return 4<=e.insertionMode||e.insertionMode===0?Z(1,null):e}var ir=new Map;function hn(e,t,r){if(typeof r!="object")throw Error(m(62));t=!0;for(var n in r)if(F.call(r,n)){var o=r[n];if(o!=null&&typeof o!="boolean"&&o!==""){if(n.indexOf("--")===0){var s=P(n);o=P((""+o).trim())}else{s=n;var i=ir.get(s);i!==void 0||(i=P(s.replace(Vo,"-$1").toLowerCase().replace(Uo,"-ms-")),ir.set(s,i)),s=i,o=typeof o=="number"?o===0||F.call(be,n)?""+o:o+"px":P((""+o).trim())}t?(t=!1,e.push(' style="',s,":",o)):e.push(";",s,":",o)}}t||e.push('"')}function L(e,t,r,n){switch(r){case"style":hn(e,t,n);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"){if(t=b.hasOwnProperty(r)?b[r]:null,t!==null){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=t.attributeName,t.type){case 3:n&&e.push(" ",r,'=""');break;case 4:n===!0?e.push(" ",r,'=""'):n!==!1&&e.push(" ",r,'="',P(n),'"');break;case 5:isNaN(n)||e.push(" ",r,'="',P(n),'"');break;case 6:!isNaN(n)&&1<=n&&e.push(" ",r,'="',P(n),'"');break;default:t.sanitizeURL&&(n=""+n),e.push(" ",r,'="',P(n),'"')}}else if(pn(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(t=r.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(" ",r,'="',P(n),'"')}}}function Re(e,t,r){if(t!=null){if(r!=null)throw Error(m(60));if(typeof t!="object"||!("__html"in t))throw Error(m(61));t=t.__html,t!=null&&e.push(""+t)}}function qo(e){var t="";return dn.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function lt(e,t,r,n){e.push(G(r));var o=r=null,s;for(s in t)if(F.call(t,s)){var i=t[s];if(i!=null)switch(s){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:L(e,n,s,i)}}return e.push(">"),Re(e,o,r),typeof r=="string"?(e.push(P(r)),null):r}var Go=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ur=new Map;function G(e){var t=ur.get(e);if(t===void 0){if(!Go.test(e))throw Error(m(65,e));t="<"+e,ur.set(e,t)}return t}function Xo(e,t,r,n,o){switch(t){case"select":e.push(G("select"));var s=null,i=null;for(c in r)if(F.call(r,c)){var u=r[c];if(u!=null)switch(c){case"children":s=u;break;case"dangerouslySetInnerHTML":i=u;break;case"defaultValue":case"value":break;default:L(e,n,c,u)}}return e.push(">"),Re(e,i,s),s;case"option":i=o.selectedValue,e.push(G("option"));var l=u=null,a=null,c=null;for(s in r)if(F.call(r,s)){var d=r[s];if(d!=null)switch(s){case"children":u=d;break;case"selected":a=d;break;case"dangerouslySetInnerHTML":c=d;break;case"value":l=d;default:L(e,n,s,d)}}if(i!=null)if(r=l!==null?""+l:qo(u),St(i)){for(n=0;n<i.length;n++)if(""+i[n]===r){e.push(' selected=""');break}}else""+i===r&&e.push(' selected=""');else a&&e.push(' selected=""');return e.push(">"),Re(e,c,u),u;case"textarea":e.push(G("textarea")),c=i=s=null;for(u in r)if(F.call(r,u)&&(l=r[u],l!=null))switch(u){case"children":c=l;break;case"value":s=l;break;case"defaultValue":i=l;break;case"dangerouslySetInnerHTML":throw Error(m(91));default:L(e,n,u,l)}if(s===null&&i!==null&&(s=i),e.push(">"),c!=null){if(s!=null)throw Error(m(92));if(St(c)&&1<c.length)throw Error(m(93));s=""+c}return typeof s=="string"&&s[0]===`
`&&e.push(`
`),s!==null&&e.push(P(""+s)),null;case"input":e.push(G("input")),l=c=u=s=null;for(i in r)if(F.call(r,i)&&(a=r[i],a!=null))switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(m(399,"input"));case"defaultChecked":l=a;break;case"defaultValue":u=a;break;case"checked":c=a;break;case"value":s=a;break;default:L(e,n,i,a)}return c!==null?L(e,n,"checked",c):l!==null&&L(e,n,"checked",l),s!==null?L(e,n,"value",s):u!==null&&L(e,n,"value",u),e.push("/>"),null;case"menuitem":e.push(G("menuitem"));for(var g in r)if(F.call(r,g)&&(s=r[g],s!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(m(400));default:L(e,n,g,s)}return e.push(">"),null;case"title":e.push(G("title")),s=null;for(d in r)if(F.call(r,d)&&(i=r[d],i!=null))switch(d){case"children":s=i;break;case"dangerouslySetInnerHTML":throw Error(m(434));default:L(e,n,d,i)}return e.push(">"),s;case"listing":case"pre":e.push(G(t)),i=s=null;for(l in r)if(F.call(r,l)&&(u=r[l],u!=null))switch(l){case"children":s=u;break;case"dangerouslySetInnerHTML":i=u;break;default:L(e,n,l,u)}if(e.push(">"),i!=null){if(s!=null)throw Error(m(60));if(typeof i!="object"||!("__html"in i))throw Error(m(61));r=i.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===`
`?e.push(`
`,r):e.push(""+r))}return typeof s=="string"&&s[0]===`
`&&e.push(`
`),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(G(t));for(var h in r)if(F.call(r,h)&&(s=r[h],s!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(m(399,t));default:L(e,n,h,s)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return lt(e,r,t,n);case"html":return o.insertionMode===0&&e.push("<!DOCTYPE html>"),lt(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return lt(e,r,t,n);e.push(G(t)),i=s=null;for(a in r)if(F.call(r,a)&&(u=r[a],u!=null))switch(a){case"children":s=u;break;case"dangerouslySetInnerHTML":i=u;break;case"style":hn(e,n,u);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:pn(a)&&typeof u!="function"&&typeof u!="symbol"&&e.push(" ",a,'="',P(u),'"')}return e.push(">"),Re(e,i,s),s}}function lr(e,t,r){if(e.push('<!--$?--><template id="'),r===null)throw Error(m(395));return e.push(r),e.push('"></template>')}function Yo(e,t,r,n){switch(r.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');default:throw Error(m(397))}}function Zo(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(m(397))}}var Jo=/[<\u2028\u2029]/g;function at(e){return JSON.stringify(e).replace(Jo,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")}})}function Qo(e,t){return t=t===void 0?"":t,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:t+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}function ar(e,t,r,n){return r.generateStaticMarkup?(e.push(P(t)),!1):(t===""?e=n:(n&&e.push("<!-- -->"),e.push(P(t)),e=!0),e)}var ve=Object.assign,Ko=Symbol.for("react.element"),gn=Symbol.for("react.portal"),mn=Symbol.for("react.fragment"),vn=Symbol.for("react.strict_mode"),yn=Symbol.for("react.profiler"),Sn=Symbol.for("react.provider"),xn=Symbol.for("react.context"),wn=Symbol.for("react.forward_ref"),En=Symbol.for("react.suspense"),Tn=Symbol.for("react.suspense_list"),kn=Symbol.for("react.memo"),Nt=Symbol.for("react.lazy"),es=Symbol.for("react.scope"),ts=Symbol.for("react.debug_trace_mode"),rs=Symbol.for("react.legacy_hidden"),ns=Symbol.for("react.default_value"),cr=Symbol.iterator;function xt(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case mn:return"Fragment";case gn:return"Portal";case yn:return"Profiler";case vn:return"StrictMode";case En:return"Suspense";case Tn:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xn:return(e.displayName||"Context")+".Consumer";case Sn:return(e._context.displayName||"Context")+".Provider";case wn:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case kn:return t=e.displayName||null,t!==null?t:xt(e.type)||"Memo";case Nt:t=e._payload,e=e._init;try{return xt(e(t))}catch{}}return null}var Cn={};function fr(e,t){if(e=e.contextTypes,!e)return Cn;var r={},n;for(n in e)r[n]=t[n];return r}var ue=null;function Je(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(m(401))}else{if(r===null)throw Error(m(401));Je(e,r)}t.context._currentValue2=t.value}}function Dn(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&Dn(e)}function On(e){var t=e.parent;t!==null&&On(t),e.context._currentValue2=e.value}function In(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(m(402));e.depth===t.depth?Je(e,t):In(e,t)}function bn(e,t){var r=t.parent;if(r===null)throw Error(m(402));e.depth===r.depth?Je(e,r):bn(e,r),t.context._currentValue2=t.value}function He(e){var t=ue;t!==e&&(t===null?On(e):e===null?Dn(t):t.depth===e.depth?Je(t,e):t.depth>e.depth?In(t,e):bn(t,e),ue=e)}var dr={isMounted:function(){return!1},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(){}};function pr(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=dr,e.props=r,e.state=o;var s={queue:[],replace:!1};e._reactInternals=s;var i=t.contextType;if(e.context=typeof i=="object"&&i!==null?i._currentValue2:n,i=t.getDerivedStateFromProps,typeof i=="function"&&(i=i(r,o),o=i==null?o:ve({},o,i),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&dr.enqueueReplaceState(e,e.state,null),s.queue!==null&&0<s.queue.length)if(t=s.queue,i=s.replace,s.queue=null,s.replace=!1,i&&t.length===1)e.state=t[0];else{for(s=i?t[0]:e.state,o=!0,i=i?1:0;i<t.length;i++){var u=t[i];u=typeof u=="function"?u.call(e,s,r,n):u,u!=null&&(o?(o=!1,s=ve({},s,u)):ve(s,u))}e.state=s}else s.queue=null}var os={id:1,overflow:""};function wt(e,t,r){var n=e.id;e=e.overflow;var o=32-_e(n)-1;n&=~(1<<o),r+=1;var s=32-_e(t)+o;if(30<s){var i=o-o%5;return s=(n&(1<<i)-1).toString(32),n>>=i,o-=i,{id:1<<32-_e(t)+o|r<<o|n,overflow:s+e}}return{id:1<<s|r<<o|n,overflow:e}}var _e=Math.clz32?Math.clz32:us,ss=Math.log,is=Math.LN2;function us(e){return e>>>=0,e===0?32:31-(ss(e)/is|0)|0}function ls(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var as=typeof Object.is=="function"?Object.is:ls,J=null,Ft=null,Pe=null,E=null,pe=!1,ze=!1,xe=0,re=null,Qe=0;function oe(){if(J===null)throw Error(m(321));return J}function hr(){if(0<Qe)throw Error(m(312));return{memoizedState:null,queue:null,next:null}}function Mt(){return E===null?Pe===null?(pe=!1,Pe=E=hr()):(pe=!0,E=Pe):E.next===null?(pe=!1,E=E.next=hr()):(pe=!0,E=E.next),E}function Lt(){Ft=J=null,ze=!1,Pe=null,Qe=0,E=re=null}function Rn(e,t){return typeof t=="function"?t(e):t}function gr(e,t,r){if(J=oe(),E=Mt(),pe){var n=E.queue;if(t=n.dispatch,re!==null&&(r=re.get(n),r!==void 0)){re.delete(n),n=E.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return E.memoizedState=n,[n,t]}return[E.memoizedState,t]}return e=e===Rn?typeof t=="function"?t():t:r!==void 0?r(t):t,E.memoizedState=e,e=E.queue={last:null,dispatch:null},e=e.dispatch=cs.bind(null,J,e),[E.memoizedState,e]}function mr(e,t){if(J=oe(),E=Mt(),t=t===void 0?null:t,E!==null){var r=E.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!as(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),E.memoizedState=[e,t],e}function cs(e,t,r){if(25<=Qe)throw Error(m(301));if(e===J)if(ze=!0,e={action:r,next:null},re===null&&(re=new Map),r=re.get(t),r===void 0)re.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function fs(){throw Error(m(394))}function ke(){}var vr={readContext:function(e){return e._currentValue2},useContext:function(e){return oe(),e._currentValue2},useMemo:mr,useReducer:gr,useRef:function(e){J=oe(),E=Mt();var t=E.memoizedState;return t===null?(e={current:e},E.memoizedState=e):t},useState:function(e){return gr(Rn,e)},useInsertionEffect:ke,useLayoutEffect:function(){},useCallback:function(e,t){return mr(function(){return e},t)},useImperativeHandle:ke,useEffect:ke,useDebugValue:ke,useDeferredValue:function(e){return oe(),e},useTransition:function(){return oe(),[!1,fs]},useId:function(){var e=Ft.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-_e(e)-1)).toString(32)+t;var r=$e;if(r===null)throw Error(m(404));return t=xe++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return oe(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(m(407));return r()}},$e=null,ct=dn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function ds(e){return console.error(e),null}function he(){}function ps(e,t,r,n,o,s,i,u,l){var a=[],c=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:a,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?ds:o,onAllReady:he,onShellReady:i===void 0?he:i,onShellError:he,onFatalError:he},r=Ve(t,0,null,r,!1,!1),r.parentFlushed=!0,e=At(t,e,null,r,c,Cn,null,os),a.push(e),t}function At(e,t,r,n,o,s,i,u){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var a=e.pingedTasks;a.push(l),a.length===1&&$n(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:s,context:i,treeContext:u};return o.add(l),l}function Ve(e,t,r,n,o,s){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:s}}function we(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Ue(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function yr(e,t,r,n,o){for(J={},Ft=t,xe=0,e=r(n,o);ze;)ze=!1,xe=0,Qe+=1,E=null,e=r(n,o);return Lt(),e}function Sr(e,t,r,n){var o=r.render(),s=n.childContextTypes;if(s!=null){var i=t.legacyContext;if(typeof r.getChildContext!="function")n=i;else{r=r.getChildContext();for(var u in r)if(!(u in s))throw Error(m(108,xt(n)||"Unknown",u));n=ve({},i,r)}t.legacyContext=n,j(e,t,o),t.legacyContext=i}else j(e,t,o)}function xr(e,t){if(e&&e.defaultProps){t=ve({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Et(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=fr(r,t.legacyContext);var s=r.contextType;s=new r(n,typeof s=="object"&&s!==null?s._currentValue2:o),pr(s,r,n,o),Sr(e,t,s,r)}else{s=fr(r,t.legacyContext),o=yr(e,t,r,n,s);var i=xe!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)pr(o,r,n,s),Sr(e,t,o,r);else if(i){n=t.treeContext,t.treeContext=wt(n,1,0);try{j(e,t,o)}finally{t.treeContext=n}}else j(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,s=Xo(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,i=o.formatContext,o.formatContext=Wo(i,r,n),Tt(e,t,s),o.formatContext=i,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push("</",r,">")}o.lastPushedText=!1}else{switch(r){case rs:case ts:case vn:case yn:case mn:j(e,t,n.children);return;case Tn:j(e,t,n.children);return;case es:throw Error(m(343));case En:e:{r=t.blockedBoundary,o=t.blockedSegment,s=n.fallback,n=n.children,i=new Set;var u={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:i,errorDigest:null},l=Ve(e,o.chunks.length,u,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var a=Ve(e,0,null,o.formatContext,!1,!1);a.parentFlushed=!0,t.blockedBoundary=u,t.blockedSegment=a;try{if(Tt(e,t,n),e.responseState.generateStaticMarkup||a.lastPushedText&&a.textEmbedded&&a.chunks.push("<!-- -->"),a.status=1,We(u,a),u.pendingTasks===0)break e}catch(c){a.status=4,u.forceClientRender=!0,u.errorDigest=we(e,c)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=At(e,s,r,l,i,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case wn:if(n=yr(e,t,r.render,n,o),xe!==0){r=t.treeContext,t.treeContext=wt(r,1,0);try{j(e,t,n)}finally{t.treeContext=r}}else j(e,t,n);return;case kn:r=r.type,n=xr(r,n),Et(e,t,r,n,o);return;case Sn:if(o=n.children,r=r._context,n=n.value,s=r._currentValue2,r._currentValue2=n,i=ue,ue=n={parent:i,depth:i===null?0:i.depth+1,context:r,parentValue:s,value:n},t.context=n,j(e,t,o),e=ue,e===null)throw Error(m(403));n=e.parentValue,e.context._currentValue2=n===ns?e.context._defaultValue:n,e=ue=e.parent,t.context=e;return;case xn:n=n.children,n=n(r._currentValue2),j(e,t,n);return;case Nt:o=r._init,r=o(r._payload),n=xr(r,n),Et(e,t,r,n,void 0);return}throw Error(m(130,r==null?r:typeof r,""))}}function j(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case Ko:Et(e,t,r.type,r.props,r.ref);return;case gn:throw Error(m(257));case Nt:var n=r._init;r=n(r._payload),j(e,t,r);return}if(St(r)){wr(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=cr&&r[cr]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);wr(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(m(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=ar(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=ar(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function wr(e,t,r){for(var n=r.length,o=0;o<n;o++){var s=t.treeContext;t.treeContext=wt(s,n,o);try{Tt(e,t,r[o])}finally{t.treeContext=s}}}function Tt(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,s=t.context;try{return j(e,t,r)}catch(l){if(Lt(),typeof l=="object"&&l!==null&&typeof l.then=="function"){r=l;var i=t.blockedSegment,u=Ve(e,i.chunks.length,null,i.formatContext,i.lastPushedText,!0);i.children.push(u),i.lastPushedText=!1,e=At(e,t.node,t.blockedBoundary,u,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=s,He(s)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=s,He(s),l}}function hs(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,Pn(this,t,e)}function _n(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.push(null))):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(m(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return _n(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function We(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&We(e,r)}else e.completedSegments.push(t)}function Pn(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(m(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=he,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&We(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(hs,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(We(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function $n(e){if(e.status!==2){var t=ue,r=ct.current;ct.current=vr;var n=$e;$e=e.responseState;try{var o=e.pingedTasks,s;for(s=0;s<o.length;s++){var i=o[s],u=e,l=i.blockedSegment;if(l.status===0){He(i.context);try{j(u,i,i.node),u.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("<!-- -->"),i.abortSet.delete(i),l.status=1,Pn(u,i.blockedBoundary,l)}catch(y){if(Lt(),typeof y=="object"&&y!==null&&typeof y.then=="function"){var a=i.ping;y.then(a,a)}else{i.abortSet.delete(i),l.status=4;var c=i.blockedBoundary,d=y,g=we(u,d);if(c===null?Ue(u,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=g,c.parentFlushed&&u.clientRenderedBoundaries.push(c))),u.allPendingTasks--,u.allPendingTasks===0){var h=u.onAllReady;h()}}}finally{}}}o.splice(0,s),e.destination!==null&&jt(e,e.destination)}catch(y){we(e,y),Ue(e,y)}finally{$e=n,ct.current=r,r===vr&&He(t)}}}function Ce(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=n.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var o=!0;n=r.chunks;var s=0;r=r.children;for(var i=0;i<r.length;i++){for(o=r[i];s<o.index;s++)t.push(n[s]);o=Ke(e,t,o)}for(;s<n.length-1;s++)t.push(n[s]);return s<n.length&&(o=t.push(n[s])),o;default:throw Error(m(390))}}function Ke(e,t,r){var n=r.boundary;if(n===null)return Ce(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)return e.responseState.generateStaticMarkup||(n=n.errorDigest,t.push("<!--$!-->"),t.push("<template"),n&&(t.push(' data-dgst="'),n=P(n),t.push(n),t.push('"')),t.push("></template>")),Ce(e,t,r),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e;if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,s=o.nextSuspenseID++;return o=o.boundaryPrefix+s.toString(16),n=n.id=o,lr(t,e.responseState,n),Ce(e,t,r),t.push("<!--/$-->")}if(n.byteSize>e.progressiveChunkSize)return n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),lr(t,e.responseState,n.id),Ce(e,t,r),t.push("<!--/$-->");if(e.responseState.generateStaticMarkup||t.push("<!--$-->"),r=n.completedSegments,r.length!==1)throw Error(m(391));return Ke(e,t,r[0]),e=e.responseState.generateStaticMarkup?!0:t.push("<!--/$-->"),e}function Er(e,t,r){return Yo(t,e.responseState,r.formatContext,r.id),Ke(e,t,r),Zo(t,r.formatContext)}function Tr(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)Nn(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),n===null)throw Error(m(395));return r=r.toString(16),t.push(n),t.push('","'),t.push(e.segmentPrefix),t.push(r),t.push('")<\/script>')}function Nn(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(m(392));return Er(e,t,n)}return Er(e,t,n),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),o=o.toString(16),t.push(o),t.push('","'),t.push(e.placeholderPrefix),t.push(o),t.push('")<\/script>')}function jt(e,t){try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){Ke(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)t.push(n[r]);r<n.length&&t.push(n[r])}var o=e.clientRenderedBoundaries,s;for(s=0;s<o.length;s++){var i=o[s];n=t;var u=e.responseState,l=i.id,a=i.errorDigest,c=i.errorMessage,d=i.errorComponentStack;if(n.push(u.startInlineScript),u.sentClientRenderFunction?n.push('$RX("'):(u.sentClientRenderFunction=!0,n.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),l===null)throw Error(m(395));if(n.push(l),n.push('"'),a||c||d){n.push(",");var g=at(a||"");n.push(g)}if(c||d){n.push(",");var h=at(c||"");n.push(h)}if(d){n.push(",");var y=at(d);n.push(y)}if(!n.push(")<\/script>")){e.destination=null,s++,o.splice(0,s);return}}o.splice(0,s);var x=e.completedBoundaries;for(s=0;s<x.length;s++)if(!Tr(e,t,x[s])){e.destination=null,s++,x.splice(0,s);return}x.splice(0,s);var k=e.partialBoundaries;for(s=0;s<k.length;s++){var D=k[s];e:{o=e,i=t;var O=D.completedSegments;for(u=0;u<O.length;u++)if(!Nn(o,i,D,O[u])){u++,O.splice(0,u);var q=!1;break e}O.splice(0,u),q=!0}if(!q){e.destination=null,s++,k.splice(0,s);return}}k.splice(0,s);var K=e.completedBoundaries;for(s=0;s<K.length;s++)if(!Tr(e,t,K[s])){e.destination=null,s++,K.splice(0,s);return}K.splice(0,s)}finally{e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.push(null)}}function gs(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return _n(n,e,t)}),r.clear(),e.destination!==null&&jt(e,e.destination)}catch(n){we(e,n),Ue(e,n)}}function ms(){}function Fn(e,t,r,n){var o=!1,s=null,i="",u={push:function(a){return a!==null&&(i+=a),!0},destroy:function(a){o=!0,s=a}},l=!1;if(e=ps(e,Qo(r,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ms,void 0,function(){l=!0}),$n(e),gs(e,n),e.status===1)e.status=2,u.destroy(e.fatalError);else if(e.status!==2&&e.destination===null){e.destination=u;try{jt(e,u)}catch(a){we(e,a),Ue(e,a)}}if(o)throw s;if(!l)throw Error(m(426));return i}fe.renderToNodeStream=function(){throw Error(m(207))};fe.renderToStaticMarkup=function(e,t){return Fn(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')};fe.renderToStaticNodeStream=function(){throw Error(m(208))};fe.renderToString=function(e,t){return Fn(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')};fe.version="18.3.1";var Bt={};/**
 * @license React
 * react-dom-server.browser.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Mn=V;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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=null,H=0;function p(e,t){if(t.length!==0)if(512<t.length)0<H&&(e.enqueue(new Uint8Array(B.buffer,0,H)),B=new Uint8Array(512),H=0),e.enqueue(t);else{var r=B.length-H;r<t.length&&(r===0?e.enqueue(B):(B.set(t.subarray(0,r),H),e.enqueue(B),t=t.subarray(r)),B=new Uint8Array(512),H=0),B.set(t,H),H+=t.length}}function C(e,t){return p(e,t),!0}function kr(e){B&&0<H&&(e.enqueue(new Uint8Array(B.buffer,0,H)),B=null,H=0)}var Ln=new TextEncoder;function S(e){return Ln.encode(e)}function f(e){return Ln.encode(e)}function An(e,t){typeof e.error=="function"?e.error(t):e.close()}var M=Object.prototype.hasOwnProperty,vs=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Cr={},Dr={};function jn(e){return M.call(Dr,e)?!0:M.call(Cr,e)?!1:vs.test(e)?Dr[e]=!0:(Cr[e]=!0,!1)}function N(e,t,r,n,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){R[e]=new N(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];R[t]=new N(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){R[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){R[e]=new N(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){R[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){R[e]=new N(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){R[e]=new N(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){R[e]=new N(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){R[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ht=/[\-:]([a-z])/g;function zt(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ht,zt);R[t]=new N(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ht,zt);R[t]=new N(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ht,zt);R[t]=new N(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){R[e]=new N(e,1,!1,e.toLowerCase(),null,!1,!1)});R.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){R[e]=new N(e,1,!1,e.toLowerCase(),null,!0,!0)});var Ne={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ys=["Webkit","ms","Moz","O"];Object.keys(Ne).forEach(function(e){ys.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ne[t]=Ne[e]})});var Ss=/["'&<>]/;function I(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=Ss.exec(e);if(t){var r="",n,o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var xs=/([A-Z])/g,ws=/^ms-/,kt=Array.isArray,Es=f("<script>"),Ts=f("<\/script>"),ks=f('<script src="'),Cs=f('<script type="module" src="'),Or=f('" async=""><\/script>'),Ds=/(<\/|<)(s)(cript)/gi;function Os(e,t,r,n){return""+t+(r==="s"?"\\u0073":"\\u0053")+n}function Is(e,t,r,n,o){e=e===void 0?"":e,t=t===void 0?Es:f('<script nonce="'+I(t)+'">');var s=[];if(r!==void 0&&s.push(t,S((""+r).replace(Ds,Os)),Ts),n!==void 0)for(r=0;r<n.length;r++)s.push(ks,S(I(n[r])),Or);if(o!==void 0)for(n=0;n<o.length;n++)s.push(Cs,S(I(o[n])),Or);return{bootstrapChunks:s,startInlineScript:t,placeholderPrefix:f(e+"P:"),segmentPrefix:f(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function X(e,t){return{insertionMode:e,selectedValue:t}}function bs(e){return X(e==="http://www.w3.org/2000/svg"?2:e==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Rs(e,t,r){switch(t){case"select":return X(1,r.value!=null?r.value:r.defaultValue);case"svg":return X(2,null);case"math":return X(3,null);case"foreignObject":return X(1,null);case"table":return X(4,null);case"thead":case"tbody":case"tfoot":return X(5,null);case"colgroup":return X(7,null);case"tr":return X(6,null)}return 4<=e.insertionMode||e.insertionMode===0?X(1,null):e}var Vt=f("<!-- -->");function Ir(e,t,r,n){return t===""?n:(n&&e.push(Vt),e.push(S(I(t))),!0)}var br=new Map,_s=f(' style="'),Rr=f(":"),Ps=f(";");function Bn(e,t,r){if(typeof r!="object")throw Error(v(62));t=!0;for(var n in r)if(M.call(r,n)){var o=r[n];if(o!=null&&typeof o!="boolean"&&o!==""){if(n.indexOf("--")===0){var s=S(I(n));o=S(I((""+o).trim()))}else{s=n;var i=br.get(s);i!==void 0||(i=f(I(s.replace(xs,"-$1").toLowerCase().replace(ws,"-ms-"))),br.set(s,i)),s=i,o=typeof o=="number"?o===0||M.call(Ne,n)?S(""+o):S(o+"px"):S(I((""+o).trim()))}t?(t=!1,e.push(_s,s,Rr,o)):e.push(Ps,s,Rr,o)}}t||e.push(se)}var ee=f(" "),ce=f('="'),se=f('"'),_r=f('=""');function A(e,t,r,n){switch(r){case"style":Bn(e,t,n);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"){if(t=R.hasOwnProperty(r)?R[r]:null,t!==null){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=S(t.attributeName),t.type){case 3:n&&e.push(ee,r,_r);break;case 4:n===!0?e.push(ee,r,_r):n!==!1&&e.push(ee,r,ce,S(I(n)),se);break;case 5:isNaN(n)||e.push(ee,r,ce,S(I(n)),se);break;case 6:!isNaN(n)&&1<=n&&e.push(ee,r,ce,S(I(n)),se);break;default:t.sanitizeURL&&(n=""+n),e.push(ee,r,ce,S(I(n)),se)}}else if(jn(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(t=r.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-")return}e.push(ee,S(r),ce,S(I(n)),se)}}}var te=f(">"),Pr=f("/>");function Fe(e,t,r){if(t!=null){if(r!=null)throw Error(v(60));if(typeof t!="object"||!("__html"in t))throw Error(v(61));t=t.__html,t!=null&&e.push(S(""+t))}}function $s(e){var t="";return Mn.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}var ft=f(' selected=""');function dt(e,t,r,n){e.push(Y(r));var o=r=null,s;for(s in t)if(M.call(t,s)){var i=t[s];if(i!=null)switch(s){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:A(e,n,s,i)}}return e.push(te),Fe(e,o,r),typeof r=="string"?(e.push(S(I(r))),null):r}var pt=f(`
`),Ns=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,$r=new Map;function Y(e){var t=$r.get(e);if(t===void 0){if(!Ns.test(e))throw Error(v(65,e));t=f("<"+e),$r.set(e,t)}return t}var Fs=f("<!DOCTYPE html>");function Ms(e,t,r,n,o){switch(t){case"select":e.push(Y("select"));var s=null,i=null;for(c in r)if(M.call(r,c)){var u=r[c];if(u!=null)switch(c){case"children":s=u;break;case"dangerouslySetInnerHTML":i=u;break;case"defaultValue":case"value":break;default:A(e,n,c,u)}}return e.push(te),Fe(e,i,s),s;case"option":i=o.selectedValue,e.push(Y("option"));var l=u=null,a=null,c=null;for(s in r)if(M.call(r,s)){var d=r[s];if(d!=null)switch(s){case"children":u=d;break;case"selected":a=d;break;case"dangerouslySetInnerHTML":c=d;break;case"value":l=d;default:A(e,n,s,d)}}if(i!=null)if(r=l!==null?""+l:$s(u),kt(i)){for(n=0;n<i.length;n++)if(""+i[n]===r){e.push(ft);break}}else""+i===r&&e.push(ft);else a&&e.push(ft);return e.push(te),Fe(e,c,u),u;case"textarea":e.push(Y("textarea")),c=i=s=null;for(u in r)if(M.call(r,u)&&(l=r[u],l!=null))switch(u){case"children":c=l;break;case"value":s=l;break;case"defaultValue":i=l;break;case"dangerouslySetInnerHTML":throw Error(v(91));default:A(e,n,u,l)}if(s===null&&i!==null&&(s=i),e.push(te),c!=null){if(s!=null)throw Error(v(92));if(kt(c)&&1<c.length)throw Error(v(93));s=""+c}return typeof s=="string"&&s[0]===`
`&&e.push(pt),s!==null&&e.push(S(I(""+s))),null;case"input":e.push(Y("input")),l=c=u=s=null;for(i in r)if(M.call(r,i)&&(a=r[i],a!=null))switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(v(399,"input"));case"defaultChecked":l=a;break;case"defaultValue":u=a;break;case"checked":c=a;break;case"value":s=a;break;default:A(e,n,i,a)}return c!==null?A(e,n,"checked",c):l!==null&&A(e,n,"checked",l),s!==null?A(e,n,"value",s):u!==null&&A(e,n,"value",u),e.push(Pr),null;case"menuitem":e.push(Y("menuitem"));for(var g in r)if(M.call(r,g)&&(s=r[g],s!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(v(400));default:A(e,n,g,s)}return e.push(te),null;case"title":e.push(Y("title")),s=null;for(d in r)if(M.call(r,d)&&(i=r[d],i!=null))switch(d){case"children":s=i;break;case"dangerouslySetInnerHTML":throw Error(v(434));default:A(e,n,d,i)}return e.push(te),s;case"listing":case"pre":e.push(Y(t)),i=s=null;for(l in r)if(M.call(r,l)&&(u=r[l],u!=null))switch(l){case"children":s=u;break;case"dangerouslySetInnerHTML":i=u;break;default:A(e,n,l,u)}if(e.push(te),i!=null){if(s!=null)throw Error(v(60));if(typeof i!="object"||!("__html"in i))throw Error(v(61));r=i.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===`
`?e.push(pt,S(r)):e.push(S(""+r)))}return typeof s=="string"&&s[0]===`
`&&e.push(pt),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(Y(t));for(var h in r)if(M.call(r,h)&&(s=r[h],s!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(v(399,t));default:A(e,n,h,s)}return e.push(Pr),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return dt(e,r,t,n);case"html":return o.insertionMode===0&&e.push(Fs),dt(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return dt(e,r,t,n);e.push(Y(t)),i=s=null;for(a in r)if(M.call(r,a)&&(u=r[a],u!=null))switch(a){case"children":s=u;break;case"dangerouslySetInnerHTML":i=u;break;case"style":Bn(e,n,u);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:jn(a)&&typeof u!="function"&&typeof u!="symbol"&&e.push(ee,S(a),ce,S(I(u)),se)}return e.push(te),Fe(e,i,s),s}}var Ls=f("</"),As=f(">"),js=f('<template id="'),Bs=f('"></template>'),Hs=f("<!--$-->"),zs=f('<!--$?--><template id="'),Vs=f('"></template>'),Us=f("<!--$!-->"),Ws=f("<!--/$-->"),qs=f("<template"),Gs=f('"'),Xs=f(' data-dgst="');f(' data-msg="');f(' data-stck="');var Ys=f("></template>");function Nr(e,t,r){if(p(e,zs),r===null)throw Error(v(395));return p(e,r),C(e,Vs)}var Zs=f('<div hidden id="'),Js=f('">'),Qs=f("</div>"),Ks=f('<svg aria-hidden="true" style="display:none" id="'),ei=f('">'),ti=f("</svg>"),ri=f('<math aria-hidden="true" style="display:none" id="'),ni=f('">'),oi=f("</math>"),si=f('<table hidden id="'),ii=f('">'),ui=f("</table>"),li=f('<table hidden><tbody id="'),ai=f('">'),ci=f("</tbody></table>"),fi=f('<table hidden><tr id="'),di=f('">'),pi=f("</tr></table>"),hi=f('<table hidden><colgroup id="'),gi=f('">'),mi=f("</colgroup></table>");function vi(e,t,r,n){switch(r.insertionMode){case 0:case 1:return p(e,Zs),p(e,t.segmentPrefix),p(e,S(n.toString(16))),C(e,Js);case 2:return p(e,Ks),p(e,t.segmentPrefix),p(e,S(n.toString(16))),C(e,ei);case 3:return p(e,ri),p(e,t.segmentPrefix),p(e,S(n.toString(16))),C(e,ni);case 4:return p(e,si),p(e,t.segmentPrefix),p(e,S(n.toString(16))),C(e,ii);case 5:return p(e,li),p(e,t.segmentPrefix),p(e,S(n.toString(16))),C(e,ai);case 6:return p(e,fi),p(e,t.segmentPrefix),p(e,S(n.toString(16))),C(e,di);case 7:return p(e,hi),p(e,t.segmentPrefix),p(e,S(n.toString(16))),C(e,gi);default:throw Error(v(397))}}function yi(e,t){switch(t.insertionMode){case 0:case 1:return C(e,Qs);case 2:return C(e,ti);case 3:return C(e,oi);case 4:return C(e,ui);case 5:return C(e,ci);case 6:return C(e,pi);case 7:return C(e,mi);default:throw Error(v(397))}}var Si=f('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),xi=f('$RS("'),wi=f('","'),Ei=f('")<\/script>'),Ti=f('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),ki=f('$RC("'),Ci=f('","'),Di=f('")<\/script>'),Oi=f('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Ii=f('$RX("'),bi=f('"'),Ri=f(")<\/script>"),ht=f(","),_i=/[<\u2028\u2029]/g;function gt(e){return JSON.stringify(e).replace(_i,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 ye=Object.assign,Pi=Symbol.for("react.element"),Hn=Symbol.for("react.portal"),zn=Symbol.for("react.fragment"),Vn=Symbol.for("react.strict_mode"),Un=Symbol.for("react.profiler"),Wn=Symbol.for("react.provider"),qn=Symbol.for("react.context"),Gn=Symbol.for("react.forward_ref"),Xn=Symbol.for("react.suspense"),Yn=Symbol.for("react.suspense_list"),Zn=Symbol.for("react.memo"),Ut=Symbol.for("react.lazy"),$i=Symbol.for("react.scope"),Ni=Symbol.for("react.debug_trace_mode"),Fi=Symbol.for("react.legacy_hidden"),Mi=Symbol.for("react.default_value"),Fr=Symbol.iterator;function Ct(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case zn:return"Fragment";case Hn:return"Portal";case Un:return"Profiler";case Vn:return"StrictMode";case Xn:return"Suspense";case Yn:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qn:return(e.displayName||"Context")+".Consumer";case Wn:return(e._context.displayName||"Context")+".Provider";case Gn:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zn:return t=e.displayName||null,t!==null?t:Ct(e.type)||"Memo";case Ut:t=e._payload,e=e._init;try{return Ct(e(t))}catch{}}return null}var Jn={};function Mr(e,t){if(e=e.contextTypes,!e)return Jn;var r={},n;for(n in e)r[n]=t[n];return r}var le=null;function et(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(v(401))}else{if(r===null)throw Error(v(401));et(e,r)}t.context._currentValue=t.value}}function Qn(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&Qn(e)}function Kn(e){var t=e.parent;t!==null&&Kn(t),e.context._currentValue=e.value}function eo(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(v(402));e.depth===t.depth?et(e,t):eo(e,t)}function to(e,t){var r=t.parent;if(r===null)throw Error(v(402));e.depth===r.depth?et(e,r):to(e,r),t.context._currentValue=t.value}function qe(e){var t=le;t!==e&&(t===null?Kn(e):e===null?Qn(t):t.depth===e.depth?et(t,e):t.depth>e.depth?eo(t,e):to(t,e),le=e)}var Lr={isMounted:function(){return!1},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(){}};function Ar(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=Lr,e.props=r,e.state=o;var s={queue:[],replace:!1};e._reactInternals=s;var i=t.contextType;if(e.context=typeof i=="object"&&i!==null?i._currentValue:n,i=t.getDerivedStateFromProps,typeof i=="function"&&(i=i(r,o),o=i==null?o:ye({},o,i),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&Lr.enqueueReplaceState(e,e.state,null),s.queue!==null&&0<s.queue.length)if(t=s.queue,i=s.replace,s.queue=null,s.replace=!1,i&&t.length===1)e.state=t[0];else{for(s=i?t[0]:e.state,o=!0,i=i?1:0;i<t.length;i++){var u=t[i];u=typeof u=="function"?u.call(e,s,r,n):u,u!=null&&(o?(o=!1,s=ye({},s,u)):ye(s,u))}e.state=s}else s.queue=null}var Li={id:1,overflow:""};function Dt(e,t,r){var n=e.id;e=e.overflow;var o=32-Me(n)-1;n&=~(1<<o),r+=1;var s=32-Me(t)+o;if(30<s){var i=o-o%5;return s=(n&(1<<i)-1).toString(32),n>>=i,o-=i,{id:1<<32-Me(t)+o|r<<o|n,overflow:s+e}}return{id:1<<s|r<<o|n,overflow:e}}var Me=Math.clz32?Math.clz32:Bi,Ai=Math.log,ji=Math.LN2;function Bi(e){return e>>>=0,e===0?32:31-(Ai(e)/ji|0)|0}function Hi(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zi=typeof Object.is=="function"?Object.is:Hi,Q=null,Wt=null,Le=null,T=null,ge=!1,Ge=!1,Ee=0,ne=null,tt=0;function ie(){if(Q===null)throw Error(v(321));return Q}function jr(){if(0<tt)throw Error(v(312));return{memoizedState:null,queue:null,next:null}}function qt(){return T===null?Le===null?(ge=!1,Le=T=jr()):(ge=!0,T=Le):T.next===null?(ge=!1,T=T.next=jr()):(ge=!0,T=T.next),T}function Gt(){Wt=Q=null,Ge=!1,Le=null,tt=0,T=ne=null}function ro(e,t){return typeof t=="function"?t(e):t}function Br(e,t,r){if(Q=ie(),T=qt(),ge){var n=T.queue;if(t=n.dispatch,ne!==null&&(r=ne.get(n),r!==void 0)){ne.delete(n),n=T.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return T.memoizedState=n,[n,t]}return[T.memoizedState,t]}return e=e===ro?typeof t=="function"?t():t:r!==void 0?r(t):t,T.memoizedState=e,e=T.queue={last:null,dispatch:null},e=e.dispatch=Vi.bind(null,Q,e),[T.memoizedState,e]}function Hr(e,t){if(Q=ie(),T=qt(),t=t===void 0?null:t,T!==null){var r=T.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!zi(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),T.memoizedState=[e,t],e}function Vi(e,t,r){if(25<=tt)throw Error(v(301));if(e===Q)if(Ge=!0,e={action:r,next:null},ne===null&&(ne=new Map),r=ne.get(t),r===void 0)ne.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function Ui(){throw Error(v(394))}function De(){}var zr={readContext:function(e){return e._currentValue},useContext:function(e){return ie(),e._currentValue},useMemo:Hr,useReducer:Br,useRef:function(e){Q=ie(),T=qt();var t=T.memoizedState;return t===null?(e={current:e},T.memoizedState=e):t},useState:function(e){return Br(ro,e)},useInsertionEffect:De,useLayoutEffect:function(){},useCallback:function(e,t){return Hr(function(){return e},t)},useImperativeHandle:De,useEffect:De,useDebugValue:De,useDeferredValue:function(e){return ie(),e},useTransition:function(){return ie(),[!1,Ui]},useId:function(){var e=Wt.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-Me(e)-1)).toString(32)+t;var r=Ae;if(r===null)throw Error(v(404));return t=Ee++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return ie(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(v(407));return r()}},Ae=null,mt=Mn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Wi(e){return console.error(e),null}function me(){}function qi(e,t,r,n,o,s,i,u,l){var a=[],c=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:a,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?Wi:o,onAllReady:s===void 0?me:s,onShellReady:i===void 0?me:i,onShellError:u===void 0?me:u,onFatalError:l===void 0?me:l},r=Xe(t,0,null,r,!1,!1),r.parentFlushed=!0,e=Xt(t,e,null,r,c,Jn,null,Li),a.push(e),t}function Xt(e,t,r,n,o,s,i,u){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var a=e.pingedTasks;a.push(l),a.length===1&&so(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:s,context:i,treeContext:u};return o.add(l),l}function Xe(e,t,r,n,o,s){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:s}}function Te(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Ye(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,An(e.destination,t)):(e.status=1,e.fatalError=t)}function Vr(e,t,r,n,o){for(Q={},Wt=t,Ee=0,e=r(n,o);Ge;)Ge=!1,Ee=0,tt+=1,T=null,e=r(n,o);return Gt(),e}function Ur(e,t,r,n){var o=r.render(),s=n.childContextTypes;if(s!=null){var i=t.legacyContext;if(typeof r.getChildContext!="function")n=i;else{r=r.getChildContext();for(var u in r)if(!(u in s))throw Error(v(108,Ct(n)||"Unknown",u));n=ye({},i,r)}t.legacyContext=n,z(e,t,o),t.legacyContext=i}else z(e,t,o)}function Wr(e,t){if(e&&e.defaultProps){t=ye({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Ot(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=Mr(r,t.legacyContext);var s=r.contextType;s=new r(n,typeof s=="object"&&s!==null?s._currentValue:o),Ar(s,r,n,o),Ur(e,t,s,r)}else{s=Mr(r,t.legacyContext),o=Vr(e,t,r,n,s);var i=Ee!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)Ar(o,r,n,s),Ur(e,t,o,r);else if(i){n=t.treeContext,t.treeContext=Dt(n,1,0);try{z(e,t,o)}finally{t.treeContext=n}}else z(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,s=Ms(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,i=o.formatContext,o.formatContext=Rs(i,r,n),It(e,t,s),o.formatContext=i,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push(Ls,S(r),As)}o.lastPushedText=!1}else{switch(r){case Fi:case Ni:case Vn:case Un:case zn:z(e,t,n.children);return;case Yn:z(e,t,n.children);return;case $i:throw Error(v(343));case Xn:e:{r=t.blockedBoundary,o=t.blockedSegment,s=n.fallback,n=n.children,i=new Set;var u={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:i,errorDigest:null},l=Xe(e,o.chunks.length,u,o.formatContext,!1,!1);o.children.push(l),o.lastPushedText=!1;var a=Xe(e,0,null,o.formatContext,!1,!1);a.parentFlushed=!0,t.blockedBoundary=u,t.blockedSegment=a;try{if(It(e,t,n),a.lastPushedText&&a.textEmbedded&&a.chunks.push(Vt),a.status=1,Ze(u,a),u.pendingTasks===0)break e}catch(c){a.status=4,u.forceClientRender=!0,u.errorDigest=Te(e,c)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=Xt(e,s,r,l,i,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Gn:if(n=Vr(e,t,r.render,n,o),Ee!==0){r=t.treeContext,t.treeContext=Dt(r,1,0);try{z(e,t,n)}finally{t.treeContext=r}}else z(e,t,n);return;case Zn:r=r.type,n=Wr(r,n),Ot(e,t,r,n,o);return;case Wn:if(o=n.children,r=r._context,n=n.value,s=r._currentValue,r._currentValue=n,i=le,le=n={parent:i,depth:i===null?0:i.depth+1,context:r,parentValue:s,value:n},t.context=n,z(e,t,o),e=le,e===null)throw Error(v(403));n=e.parentValue,e.context._currentValue=n===Mi?e.context._defaultValue:n,e=le=e.parent,t.context=e;return;case qn:n=n.children,n=n(r._currentValue),z(e,t,n);return;case Ut:o=r._init,r=o(r._payload),n=Wr(r,n),Ot(e,t,r,n,void 0);return}throw Error(v(130,r==null?r:typeof r,""))}}function z(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case Pi:Ot(e,t,r.type,r.props,r.ref);return;case Hn:throw Error(v(257));case Ut:var n=r._init;r=n(r._payload),z(e,t,r);return}if(kt(r)){qr(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=Fr&&r[Fr]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);qr(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(v(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=Ir(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=Ir(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function qr(e,t,r){for(var n=r.length,o=0;o<n;o++){var s=t.treeContext;t.treeContext=Dt(s,n,o);try{It(e,t,r[o])}finally{t.treeContext=s}}}function It(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,s=t.context;try{return z(e,t,r)}catch(l){if(Gt(),typeof l=="object"&&l!==null&&typeof l.then=="function"){r=l;var i=t.blockedSegment,u=Xe(e,i.chunks.length,null,i.formatContext,i.lastPushedText,!0);i.children.push(u),i.lastPushedText=!1,e=Xt(e,t.node,t.blockedBoundary,u,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=s,qe(s)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=s,qe(s),l}}function Gi(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,oo(this,t,e)}function no(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(v(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return no(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function Ze(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&Ze(e,r)}else e.completedSegments.push(t)}function oo(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(v(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=me,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&Ze(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Gi,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(Ze(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function so(e){if(e.status!==2){var t=le,r=mt.current;mt.current=zr;var n=Ae;Ae=e.responseState;try{var o=e.pingedTasks,s;for(s=0;s<o.length;s++){var i=o[s],u=e,l=i.blockedSegment;if(l.status===0){qe(i.context);try{z(u,i,i.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(Vt),i.abortSet.delete(i),l.status=1,oo(u,i.blockedBoundary,l)}catch(y){if(Gt(),typeof y=="object"&&y!==null&&typeof y.then=="function"){var a=i.ping;y.then(a,a)}else{i.abortSet.delete(i),l.status=4;var c=i.blockedBoundary,d=y,g=Te(u,d);if(c===null?Ye(u,d):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=g,c.parentFlushed&&u.clientRenderedBoundaries.push(c))),u.allPendingTasks--,u.allPendingTasks===0){var h=u.onAllReady;h()}}}finally{}}}o.splice(0,s),e.destination!==null&&Yt(e,e.destination)}catch(y){Te(e,y),Ye(e,y)}finally{Ae=n,mt.current=r,r===zr&&qe(t)}}}function Oe(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,p(t,js),p(t,e.placeholderPrefix),e=S(n.toString(16)),p(t,e),C(t,Bs);case 1:r.status=2;var o=!0;n=r.chunks;var s=0;r=r.children;for(var i=0;i<r.length;i++){for(o=r[i];s<o.index;s++)p(t,n[s]);o=rt(e,t,o)}for(;s<n.length-1;s++)p(t,n[s]);return s<n.length&&(o=C(t,n[s])),o;default:throw Error(v(390))}}function rt(e,t,r){var n=r.boundary;if(n===null)return Oe(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,C(t,Us),p(t,qs),n&&(p(t,Xs),p(t,S(I(n))),p(t,Gs)),C(t,Ys),Oe(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,s=o.nextSuspenseID++;o=f(o.boundaryPrefix+s.toString(16)),n=n.id=o,Nr(t,e.responseState,n),Oe(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),Nr(t,e.responseState,n.id),Oe(e,t,r);else{if(C(t,Hs),r=n.completedSegments,r.length!==1)throw Error(v(391));rt(e,t,r[0])}return C(t,Ws)}function Gr(e,t,r){return vi(t,e.responseState,r.formatContext,r.id),rt(e,t,r),yi(t,r.formatContext)}function Xr(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)io(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,p(t,e.startInlineScript),e.sentCompleteBoundaryFunction?p(t,ki):(e.sentCompleteBoundaryFunction=!0,p(t,Ti)),n===null)throw Error(v(395));return r=S(r.toString(16)),p(t,n),p(t,Ci),p(t,e.segmentPrefix),p(t,r),C(t,Di)}function io(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(v(392));return Gr(e,t,n)}return Gr(e,t,n),e=e.responseState,p(t,e.startInlineScript),e.sentCompleteSegmentFunction?p(t,xi):(e.sentCompleteSegmentFunction=!0,p(t,Si)),p(t,e.segmentPrefix),o=S(o.toString(16)),p(t,o),p(t,wi),p(t,e.placeholderPrefix),p(t,o),C(t,Ei)}function Yt(e,t){B=new Uint8Array(512),H=0;try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){rt(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)p(t,n[r]);r<n.length&&C(t,n[r])}var o=e.clientRenderedBoundaries,s;for(s=0;s<o.length;s++){var i=o[s];n=t;var u=e.responseState,l=i.id,a=i.errorDigest,c=i.errorMessage,d=i.errorComponentStack;if(p(n,u.startInlineScript),u.sentClientRenderFunction?p(n,Ii):(u.sentClientRenderFunction=!0,p(n,Oi)),l===null)throw Error(v(395));p(n,l),p(n,bi),(a||c||d)&&(p(n,ht),p(n,S(gt(a||"")))),(c||d)&&(p(n,ht),p(n,S(gt(c||"")))),d&&(p(n,ht),p(n,S(gt(d)))),C(n,Ri)}o.splice(0,s);var g=e.completedBoundaries;for(s=0;s<g.length;s++)Xr(e,t,g[s]);g.splice(0,s),kr(t),B=new Uint8Array(512),H=0;var h=e.partialBoundaries;for(s=0;s<h.length;s++){var y=h[s];e:{o=e,i=t;var x=y.completedSegments;for(u=0;u<x.length;u++)if(!io(o,i,y,x[u])){u++,x.splice(0,u);var k=!1;break e}x.splice(0,u),k=!0}if(!k){e.destination=null,s++,h.splice(0,s);return}}h.splice(0,s);var D=e.completedBoundaries;for(s=0;s<D.length;s++)Xr(e,t,D[s]);D.splice(0,s)}finally{kr(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function Yr(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return no(n,e,t)}),r.clear(),e.destination!==null&&Yt(e,e.destination)}catch(n){Te(e,n),Ye(e,n)}}Bt.renderToReadableStream=function(e,t){return new Promise(function(r,n){var o,s,i=new Promise(function(c,d){s=c,o=d}),u=qi(e,Is(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),bs(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,s,function(){var c=new ReadableStream({type:"bytes",pull:function(d){if(u.status===1)u.status=2,An(d,u.fatalError);else if(u.status!==2&&u.destination===null){u.destination=d;try{Yt(u,d)}catch(g){Te(u,g),Ye(u,g)}}},cancel:function(){Yr(u)}},{highWaterMark:0});c.allReady=i,r(c)},function(c){i.catch(function(){}),n(c)},o);if(t&&t.signal){var l=t.signal,a=function(){Yr(u,l.reason),l.removeEventListener("abort",a)};l.addEventListener("abort",a)}so(u)})};Bt.version="18.3.1";var de,uo;de=fe,uo=Bt;de.version;de.renderToString;de.renderToStaticMarkup;de.renderToNodeStream;de.renderToStaticNodeStream;uo.renderToReadableStream;let Zr=!1;function Xi(e,{id:t="remix-island",cleanup:r=!0}={}){const n=o=>{const[s,i]=V.useState(Zr);return V.useEffect(()=>{r&&Yi(n),Zr=!0,i(!0)},[]),!s&&o.__remix_island_render_server?V.createElement(e):s?bo.createPortal(V.createElement(e),document.head):null};return n.displayName="RemixIslandHead",n.__remix_island_id=t,n}function Yi(e,t=document.head){let r=!1;const n=[],o=e.__remix_island_id;for(const s of t.childNodes)if(!(!r&&s.nodeName!=="#comment")){if(r&&s.nodeName==="#comment"&&s.nodeValue===`${o}-end`){n.push(s);break}(r||s.nodeName==="#comment"&&s.nodeValue===`${o}-start`)&&(r=!0,n.push(s))}for(const s of n)s.remove()}const Zi=V.createContext({dragDropManager:void 0});function U(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Jr=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Qr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Kr={INIT:"@@redux/INIT"+Qr(),REPLACE:"@@redux/REPLACE"+Qr()};function Ji(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function lo(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(U(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(U(1));return r(lo)(e,t)}if(typeof e!="function")throw new Error(U(2));var o=e,s=t,i=[],u=i,l=!1;function a(){u===i&&(u=i.slice())}function c(){if(l)throw new Error(U(3));return s}function d(x){if(typeof x!="function")throw new Error(U(4));if(l)throw new Error(U(5));var k=!0;return a(),u.push(x),function(){if(k){if(l)throw new Error(U(6));k=!1,a();var O=u.indexOf(x);u.splice(O,1),i=null}}}function g(x){if(!Ji(x))throw new Error(U(7));if(typeof x.type>"u")throw new Error(U(8));if(l)throw new Error(U(9));try{l=!0,s=o(s,x)}finally{l=!1}for(var k=i=u,D=0;D<k.length;D++){var O=k[D];O()}return x}function h(x){if(typeof x!="function")throw new Error(U(10));o=x,g({type:Kr.REPLACE})}function y(){var x,k=d;return x={subscribe:function(O){if(typeof O!="object"||O===null)throw new Error(U(11));function q(){O.next&&O.next(c())}q();var K=k(q);return{unsubscribe:K}}},x[Jr]=function(){return this},x}return g({type:Kr.INIT}),n={dispatch:g,subscribe:d,getState:c,replaceReducer:h},n[Jr]=y,n}function w(e,t,...r){if(Qi()&&t===void 0)throw new Error("invariant requires an error message argument");if(!e){let n;if(t===void 0)n=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let o=0;n=new Error(t.replace(/%s/g,function(){return r[o++]})),n.name="Invariant Violation"}throw n.framesToPop=1,n}}function Qi(){return typeof No<"u"&&!0}function Ki(e,t,r){return t.split(".").reduce((n,o)=>n&&n[o]?n[o]:r||null,e)}function eu(e,t){return e.filter(r=>r!==t)}function ao(e){return typeof e=="object"}function tu(e,t){const r=new Map,n=s=>{r.set(s,r.has(s)?r.get(s)+1:1)};e.forEach(n),t.forEach(n);const o=[];return r.forEach((s,i)=>{s===1&&o.push(i)}),o}function ru(e,t){return e.filter(r=>t.indexOf(r)>-1)}const Zt="dnd-core/INIT_COORDS",nt="dnd-core/BEGIN_DRAG",Jt="dnd-core/PUBLISH_DRAG_SOURCE",ot="dnd-core/HOVER",st="dnd-core/DROP",it="dnd-core/END_DRAG";function en(e,t){return{type:Zt,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const nu={type:Zt,payload:{clientOffset:null,sourceClientOffset:null}};function ou(e){return function(r=[],n={publishSource:!0}){const{publishSource:o=!0,clientOffset:s,getSourceClientOffset:i}=n,u=e.getMonitor(),l=e.getRegistry();e.dispatch(en(s)),su(r,u,l);const a=lu(r,u);if(a==null){e.dispatch(nu);return}let c=null;if(s){if(!i)throw new Error("getSourceClientOffset must be defined");iu(i),c=i(a)}e.dispatch(en(s,c));const g=l.getSource(a).beginDrag(u,a);if(g==null)return;uu(g),l.pinSource(a);const h=l.getSourceType(a);return{type:nt,payload:{itemType:h,item:g,sourceId:a,clientOffset:s||null,sourceClientOffset:c||null,isSourcePublic:!!o}}}}function su(e,t,r){w(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){w(r.getSource(n),"Expected sourceIds to be registered.")})}function iu(e){w(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function uu(e){w(ao(e),"Item must be an object.")}function lu(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}function au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){au(e,o,r[o])})}return e}function fu(e){return function(r={}){const n=e.getMonitor(),o=e.getRegistry();du(n),gu(n).forEach((i,u)=>{const l=pu(i,u,o,n),a={type:st,payload:{dropResult:cu({},r,l)}};e.dispatch(a)})}}function du(e){w(e.isDragging(),"Cannot call drop while not dragging."),w(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function pu(e,t,r,n){const o=r.getTarget(e);let s=o?o.drop(n,e):void 0;return hu(s),typeof s>"u"&&(s=t===0?{}:n.getDropResult()),s}function hu(e){w(typeof e>"u"||ao(e),"Drop result must either be an object or undefined.")}function gu(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function mu(e){return function(){const r=e.getMonitor(),n=e.getRegistry();vu(r);const o=r.getSourceId();return o!=null&&(n.getSource(o,!0).endDrag(r,o),n.unpinSource()),{type:it}}}function vu(e){w(e.isDragging(),"Cannot call endDrag while not dragging.")}function bt(e,t){return t===null?e===null:Array.isArray(e)?e.some(r=>r===t):e===t}function yu(e){return function(r,{clientOffset:n}={}){Su(r);const o=r.slice(0),s=e.getMonitor(),i=e.getRegistry(),u=s.getItemType();return wu(o,i,u),xu(o,s,i),Eu(o,s,i),{type:ot,payload:{targetIds:o,clientOffset:n||null}}}}function Su(e){w(Array.isArray(e),"Expected targetIds to be an array.")}function xu(e,t,r){w(t.isDragging(),"Cannot call hover while not dragging."),w(!t.didDrop(),"Cannot call hover after drop.");for(let n=0;n<e.length;n++){const o=e[n];w(e.lastIndexOf(o)===n,"Expected targetIds to be unique in the passed array.");const s=r.getTarget(o);w(s,"Expected targetIds to be registered.")}}function wu(e,t,r){for(let n=e.length-1;n>=0;n--){const o=e[n],s=t.getTargetType(o);bt(s,r)||e.splice(n,1)}}function Eu(e,t,r){e.forEach(function(n){r.getTarget(n).hover(t,n)})}function Tu(e){return function(){if(e.getMonitor().isDragging())return{type:Jt}}}function ku(e){return{beginDrag:ou(e),publishDragSource:Tu(e),hover:yu(e),drop:fu(e),endDrag:mu(e)}}class Cu{receiveBackend(t){this.backend=t}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const t=this,{dispatch:r}=this.store;function n(s){return(...i)=>{const u=s.apply(t,i);typeof u<"u"&&r(u)}}const o=ku(this);return Object.keys(o).reduce((s,i)=>{const u=o[i];return s[i]=n(u),s},{})}dispatch(t){this.store.dispatch(t)}constructor(t,r){this.isSetUp=!1,this.handleRefCountChange=()=>{const n=this.store.getState().refCount>0;this.backend&&(n&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!n&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=r,t.subscribe(this.handleRefCountChange)}}function Du(e,t){return{x:e.x+t.x,y:e.y+t.y}}function co(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ou(e){const{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return!t||!r||!n?null:co(Du(t,n),r)}function Iu(e){const{clientOffset:t,initialClientOffset:r}=e;return!t||!r?null:co(t,r)}const Se=[],Qt=[];Se.__IS_NONE__=!0;Qt.__IS_ALL__=!0;function bu(e,t){return e===Se?!1:e===Qt||typeof t>"u"?!0:ru(t,e).length>0}class Ru{subscribeToStateChange(t,r={}){const{handlerIds:n}=r;w(typeof t=="function","listener must be a function."),w(typeof n>"u"||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let o=this.store.getState().stateId;const s=()=>{const i=this.store.getState(),u=i.stateId;try{u===o||u===o+1&&!bu(i.dirtyHandlerIds,n)||t()}finally{o=u}};return this.store.subscribe(s)}subscribeToOffsetChange(t){w(typeof t=="function","listener must be a function.");let r=this.store.getState().dragOffset;const n=()=>{const o=this.store.getState().dragOffset;o!==r&&(r=o,t())};return this.store.subscribe(n)}canDragSource(t){if(!t)return!1;const r=this.registry.getSource(t);return w(r,`Expected to find a valid source. sourceId=${t}`),this.isDragging()?!1:r.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const r=this.registry.getTarget(t);if(w(r,`Expected to find a valid target. targetId=${t}`),!this.isDragging()||this.didDrop())return!1;const n=this.registry.getTargetType(t),o=this.getItemType();return bt(n,o)&&r.canDrop(this,t)}isDragging(){return!!this.getItemType()}isDraggingSource(t){if(!t)return!1;const r=this.registry.getSource(t,!0);if(w(r,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()||!this.isSourcePublic())return!1;const n=this.registry.getSourceType(t),o=this.getItemType();return n!==o?!1:r.isDragging(this,t)}isOverTarget(t,r={shallow:!1}){if(!t)return!1;const{shallow:n}=r;if(!this.isDragging())return!1;const o=this.registry.getTargetType(t),s=this.getItemType();if(s&&!bt(o,s))return!1;const i=this.getTargetIds();if(!i.length)return!1;const u=i.indexOf(t);return n?u===i.length-1:u>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return Ou(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return Iu(this.store.getState().dragOffset)}constructor(t,r){this.store=t,this.registry=r}}const tn=typeof Be<"u"?Be:self,fo=tn.MutationObserver||tn.WebKitMutationObserver;function po(e){return function(){const r=setTimeout(o,0),n=setInterval(o,50);function o(){clearTimeout(r),clearInterval(n),e()}}}function _u(e){let t=1;const r=new fo(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}const Pu=typeof fo=="function"?_u:po;class $u{enqueueTask(t){const{queue:r,requestFlush:n}=this;r.length||(n(),this.flushing=!0),r[r.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.index<t.length;){const r=this.index;if(this.index++,t[r].call(),this.index>this.capacity){for(let n=0,o=t.length-this.index;n<o;n++)t[n]=t[n+this.index];t.length-=this.index,this.index=0}}t.length=0,this.index=0,this.flushing=!1},this.registerPendingError=t=>{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=Pu(this.flush),this.requestErrorThrow=po(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class Nu{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,r){this.onError=t,this.release=r,this.task=null}}class Fu{create(t){const r=this.freeTasks,n=r.length?r.pop():new Nu(this.onError,o=>r[r.length]=o);return n.task=t,n}constructor(t){this.onError=t,this.freeTasks=[]}}const ho=new $u,Mu=new Fu(ho.registerPendingError);function Lu(e){ho.enqueueTask(Mu.create(e))}const Kt="dnd-core/ADD_SOURCE",er="dnd-core/ADD_TARGET",tr="dnd-core/REMOVE_SOURCE",ut="dnd-core/REMOVE_TARGET";function Au(e){return{type:Kt,payload:{sourceId:e}}}function ju(e){return{type:er,payload:{targetId:e}}}function Bu(e){return{type:tr,payload:{sourceId:e}}}function Hu(e){return{type:ut,payload:{targetId:e}}}function zu(e){w(typeof e.canDrag=="function","Expected canDrag to be a function."),w(typeof e.beginDrag=="function","Expected beginDrag to be a function."),w(typeof e.endDrag=="function","Expected endDrag to be a function.")}function Vu(e){w(typeof e.canDrop=="function","Expected canDrop to be a function."),w(typeof e.hover=="function","Expected hover to be a function."),w(typeof e.drop=="function","Expected beginDrag to be a function.")}function Rt(e,t){if(t&&Array.isArray(e)){e.forEach(r=>Rt(r,!1));return}w(typeof e=="string"||typeof e=="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var W;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(W||(W={}));let Uu=0;function Wu(){return Uu++}function qu(e){const t=Wu().toString();switch(e){case W.SOURCE:return`S${t}`;case W.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}function rn(e){switch(e[0]){case"S":return W.SOURCE;case"T":return W.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function nn(e,t){const r=e.entries();let n=!1;do{const{done:o,value:[,s]}=r.next();if(s===t)return!0;n=!!o}while(!n);return!1}class Gu{addSource(t,r){Rt(t),zu(r);const n=this.addHandler(W.SOURCE,t,r);return this.store.dispatch(Au(n)),n}addTarget(t,r){Rt(t,!0),Vu(r);const n=this.addHandler(W.TARGET,t,r);return this.store.dispatch(ju(n)),n}containsHandler(t){return nn(this.dragSources,t)||nn(this.dropTargets,t)}getSource(t,r=!1){return w(this.isSourceId(t),"Expected a valid source ID."),r&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return w(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return w(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return w(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return rn(t)===W.SOURCE}isTargetId(t){return rn(t)===W.TARGET}removeSource(t){w(this.getSource(t),"Expected an existing source."),this.store.dispatch(Bu(t)),Lu(()=>{this.dragSources.delete(t),this.types.delete(t)})}removeTarget(t){w(this.getTarget(t),"Expected an existing target."),this.store.dispatch(Hu(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const r=this.getSource(t);w(r,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=r}unpinSource(){w(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,r,n){const o=qu(t);return this.types.set(o,r),t===W.SOURCE?this.dragSources.set(o,n):t===W.TARGET&&this.dropTargets.set(o,n),o}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const Xu=(e,t)=>e===t;function Yu(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function Zu(e,t,r=Xu){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}function Ju(e=Se,t){switch(t.type){case ot:break;case Kt:case er:case ut:case tr:return Se;case nt:case Jt:case it:case st:default:return Qt}const{targetIds:r=[],prevTargetIds:n=[]}=t.payload,o=tu(r,n);if(!(o.length>0||!Zu(r,n)))return Se;const i=n[n.length-1],u=r[r.length-1];return i!==u&&(i&&o.push(i),u&&o.push(u)),o}function Qu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Qu(e,o,r[o])})}return e}const on={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function el(e=on,t){const{payload:r}=t;switch(t.type){case Zt:case nt:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case ot:return Yu(e.clientOffset,r.clientOffset)?e:Ku({},e,{clientOffset:r.clientOffset});case it:case st:return on;default:return e}}function tl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){tl(e,o,r[o])})}return e}const rl={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function nl(e=rl,t){const{payload:r}=t;switch(t.type){case nt:return ae({},e,{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case Jt:return ae({},e,{isSourcePublic:!0});case ot:return ae({},e,{targetIds:r.targetIds});case ut:return e.targetIds.indexOf(r.targetId)===-1?e:ae({},e,{targetIds:eu(e.targetIds,r.targetId)});case st:return ae({},e,{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case it:return ae({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function ol(e=0,t){switch(t.type){case Kt:case er:return e+1;case tr:case ut:return e-1;default:return e}}function sl(e=0){return e+1}function il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){il(e,o,r[o])})}return e}function ll(e={},t){return{dirtyHandlerIds:Ju(e.dirtyHandlerIds,{type:t.type,payload:ul({},t.payload,{prevTargetIds:Ki(e,"dragOperation.targetIds",[])})}),dragOffset:el(e.dragOffset,t),refCount:ol(e.refCount,t),dragOperation:nl(e.dragOperation,t),stateId:sl(e.stateId)}}function al(e,t=void 0,r={},n=!1){const o=cl(n),s=new Ru(o,new Gu(o)),i=new Cu(o,s),u=e(i,t,r);return i.receiveBackend(u),i}function cl(e){const t=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return lo(ll,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}function fl(e,t){if(e==null)return{};var r=dl(e,t),n,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)n=s[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function dl(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,s;for(s=0;s<n.length;s++)o=n[s],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}let sn=0;const je=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var pl=V.memo(function(t){var{children:r}=t,n=fl(t,["children"]);const[o,s]=hl(n);return V.useEffect(()=>{if(s){const i=go();return++sn,()=>{--sn===0&&(i[je]=null)}}},[]),_.jsx(Zi.Provider,{value:o,children:r})});function hl(e){if("manager"in e)return[{dragDropManager:e.manager},!1];const t=gl(e.backend,e.context,e.options,e.debugMode),r=!e.context;return[t,r]}function gl(e,t=go(),r,n){const o=t;return o[je]||(o[je]={dragDropManager:al(e,t,r,n)}),o[je]}function go(){return typeof Be<"u"?Be:window}function mo(e){let t=null;return()=>(t==null&&(t=e()),t)}function ml(e,t){return e.filter(r=>r!==t)}function vl(e,t){const r=new Set,n=s=>r.add(s);e.forEach(n),t.forEach(n);const o=[];return r.forEach(s=>o.push(s)),o}class yl{enter(t){const r=this.entered.length,n=o=>this.isNodeInDocument(o)&&(!o.contains||o.contains(t));return this.entered=vl(this.entered.filter(n),[t]),r===0&&this.entered.length>0}leave(t){const r=this.entered.length;return this.entered=ml(this.entered.filter(this.isNodeInDocument),t),r>0&&this.entered.length===0}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class Sl{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${t}" until the drop event.`),null}})})}loadDataTransfer(t){if(t){const r={};Object.keys(this.config.exposeProperties).forEach(n=>{const o=this.config.exposeProperties[n];o!=null&&(r[n]={value:o(t,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,r)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,r){return r===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const vo="__NATIVE_FILE__",yo="__NATIVE_URL__",So="__NATIVE_TEXT__",xo="__NATIVE_HTML__",un=Object.freeze(Object.defineProperty({__proto__:null,FILE:vo,HTML:xo,TEXT:So,URL:yo},Symbol.toStringTag,{value:"Module"}));function vt(e,t,r){const n=t.reduce((o,s)=>o||e.getData(s),"");return n??r}const _t={[vo]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[xo]:{exposeProperties:{html:(e,t)=>vt(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[yo]:{exposeProperties:{urls:(e,t)=>vt(e,t,"").split(`
`),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[So]:{exposeProperties:{text:(e,t)=>vt(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function xl(e,t){const r=_t[e];if(!r)throw new Error(`native type ${e} has no configuration`);const n=new Sl(r);return n.loadDataTransfer(t),n}function yt(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(_t).filter(r=>{const n=_t[r];return n?.matchesTypes?n.matchesTypes.some(o=>t.indexOf(o)>-1):!1})[0]||null}const wl=mo(()=>/firefox/i.test(navigator.userAgent)),wo=mo(()=>!!window.safari);class ln{interpolate(t){const{xs:r,ys:n,c1s:o,c2s:s,c3s:i}=this;let u=r.length-1;if(t===r[u])return n[u];let l=0,a=i.length-1,c;for(;l<=a;){c=Math.floor(.5*(l+a));const h=r[c];if(h<t)l=c+1;else if(h>t)a=c-1;else return n[c]}u=Math.max(0,a);const d=t-r[u],g=d*d;return n[u]+o[u]*d+s[u]*g+i[u]*d*g}constructor(t,r){const{length:n}=t,o=[];for(let h=0;h<n;h++)o.push(h);o.sort((h,y)=>t[h]<t[y]?-1:1);const s=[],i=[];let u,l;for(let h=0;h<n-1;h++)u=t[h+1]-t[h],l=r[h+1]-r[h],s.push(u),i.push(l/u);const a=[i[0]];for(let h=0;h<s.length-1;h++){const y=i[h],x=i[h+1];if(y*x<=0)a.push(0);else{u=s[h];const k=s[h+1],D=u+k;a.push(3*D/((D+k)/y+(D+u)/x))}}a.push(i[i.length-1]);const c=[],d=[];let g;for(let h=0;h<a.length-1;h++){g=i[h];const y=a[h],x=1/s[h],k=y+a[h+1]-g-g;c.push((g-y-k)*x),d.push(k*x*x)}this.xs=t,this.ys=r,this.c1s=a,this.c2s=c,this.c3s=d}}const El=1;function Eo(e){const t=e.nodeType===El?e:e.parentElement;if(!t)return null;const{top:r,left:n}=t.getBoundingClientRect();return{x:n,y:r}}function Ie(e){return{x:e.clientX,y:e.clientY}}function Tl(e){var t;return e.nodeName==="IMG"&&(wl()||!(!((t=document.documentElement)===null||t===void 0)&&t.contains(e)))}function kl(e,t,r,n){let o=e?t.width:r,s=e?t.height:n;return wo()&&e&&(s/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:s}}function Cl(e,t,r,n,o){const s=Tl(t),u=Eo(s?e:t),l={x:r.x-u.x,y:r.y-u.y},{offsetWidth:a,offsetHeight:c}=e,{anchorX:d,anchorY:g}=n,{dragPreviewWidth:h,dragPreviewHeight:y}=kl(s,t,a,c),x=()=>{let rr=new ln([0,.5,1],[l.y,l.y/c*y,l.y+y-c]).interpolate(g);return wo()&&s&&(rr+=(window.devicePixelRatio-1)*y),rr},k=()=>new ln([0,.5,1],[l.x,l.x/a*h,l.x+h-a]).interpolate(d),{offsetX:D,offsetY:O}=o,q=D===0||D,K=O===0||O;return{x:q?D:k(),y:K?O:x()}}class Dl{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var t;return!((t=this.globalContext)===null||t===void 0)&&t.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var t;return((t=this.optionsArgs)===null||t===void 0?void 0:t.rootElement)||this.window}constructor(t,r){this.ownerDocument=null,this.globalContext=t,this.optionsArgs=r}}function Ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function an(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ol(e,o,r[o])})}return e}class Il{profile(){var t,r;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((t=this.dragStartSourceIds)===null||t===void 0?void 0:t.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((r=this.dragOverTargetIds)===null||r===void 0?void 0:r.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const t=this.rootElement;if(t!==void 0){if(t.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");t.__isReactDndBackendSetUp=!0,this.addEventListeners(t)}}teardown(){const t=this.rootElement;if(t!==void 0&&(t.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var r;(r=this.window)===null||r===void 0||r.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(t,r,n){return this.sourcePreviewNodeOptions.set(t,n),this.sourcePreviewNodes.set(t,r),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,r,n){this.sourceNodes.set(t,r),this.sourceNodeOptions.set(t,n);const o=i=>this.handleDragStart(i,t),s=i=>this.handleSelectStart(i);return r.setAttribute("draggable","true"),r.addEventListener("dragstart",o),r.addEventListener("selectstart",s),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),r.removeEventListener("dragstart",o),r.removeEventListener("selectstart",s),r.setAttribute("draggable","false")}}connectDropTarget(t,r){const n=i=>this.handleDragEnter(i,t),o=i=>this.handleDragOver(i,t),s=i=>this.handleDrop(i,t);return r.addEventListener("dragenter",n),r.addEventListener("dragover",o),r.addEventListener("drop",s),()=>{r.removeEventListener("dragenter",n),r.removeEventListener("dragover",o),r.removeEventListener("drop",s)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),r=this.sourceNodeOptions.get(t);return an({dropEffect:this.altKeyPressed?"copy":"move"},r||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId(),r=this.sourcePreviewNodeOptions.get(t);return an({anchorX:.5,anchorY:.5,captureDraggingState:!1},r||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(un).some(r=>un[r]===t)}beginDragNativeItem(t,r){this.clearCurrentDragSourceNode(),this.currentNativeSource=xl(t,r),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t;const r=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var n;return(n=this.rootElement)===null||n===void 0?void 0:n.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},r)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var t;(t=this.window)===null||t===void 0||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,r){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(r))}handleDragEnter(t,r){this.dragEnterTargetIds.unshift(r)}handleDragOver(t,r){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(r)}handleDrop(t,r){this.dropTargetIds.unshift(r)}constructor(t,r,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=o=>{const s=this.sourceNodes.get(o);return s&&Eo(s)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=o=>!!(o&&this.document&&this.document.body&&this.document.body.contains(o)),this.endDragIfSourceWasRemovedFromDOM=()=>{const o=this.currentDragSourceNode;o==null||this.isNodeInDocument(o)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=o=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(o||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=o=>{if(o.defaultPrevented)return;const{dragStartSourceIds:s}=this;this.dragStartSourceIds=null;const i=Ie(o);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(s||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:i});const{dataTransfer:u}=o,l=yt(u);if(this.monitor.isDragging()){if(u&&typeof u.setDragImage=="function"){const c=this.monitor.getSourceId(),d=this.sourceNodes.get(c),g=this.sourcePreviewNodes.get(c)||d;if(g){const{anchorX:h,anchorY:y,offsetX:x,offsetY:k}=this.getCurrentSourcePreviewNodeOptions(),q=Cl(d,g,i,{anchorX:h,anchorY:y},{offsetX:x,offsetY:k});u.setDragImage(g,q.x,q.y)}}try{u?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(o.target);const{captureDraggingState:a}=this.getCurrentSourcePreviewNodeOptions();a?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(l)this.beginDragNativeItem(l);else{if(u&&!u.types&&(o.target&&!o.target.hasAttribute||!o.target.hasAttribute("draggable")))return;o.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=o=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var s;(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(o.dataTransfer)}if(!this.enterLeaveCounter.enter(o.target)||this.monitor.isDragging())return;const{dataTransfer:u}=o,l=yt(u);l&&this.beginDragNativeItem(l,u)},this.handleTopDragEnter=o=>{const{dragEnterTargetIds:s}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=o.altKey,s.length>0&&this.actions.hover(s,{clientOffset:Ie(o)}),s.some(u=>this.monitor.canDropOnTarget(u))&&(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=o=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var s;(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(o.dataTransfer)}},this.handleTopDragOver=o=>{const{dragOverTargetIds:s}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect="none");return}this.altKeyPressed=o.altKey,this.lastClientOffset=Ie(o),this.scheduleHover(s),(s||[]).some(u=>this.monitor.canDropOnTarget(u))?(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?o.preventDefault():(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=o=>{this.isDraggingNativeItem()&&o.preventDefault(),this.enterLeaveCounter.leave(o.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=o=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var s;o.preventDefault(),(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(o.dataTransfer)}else yt(o.dataTransfer)&&o.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=o=>{const{dropTargetIds:s}=this;this.dropTargetIds=[],this.actions.hover(s,{clientOffset:Ie(o)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=o=>{const s=o.target;typeof s.dragDrop=="function"&&(s.tagName==="INPUT"||s.tagName==="SELECT"||s.tagName==="TEXTAREA"||s.isContentEditable||(o.preventDefault(),s.dragDrop()))},this.options=new Dl(r,n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new yl(this.isNodeInDocument)}}const bl=function(t,r,n){return new Il(t,r,n)},Rl="/assets/ReactToastify-Bh76j7cs.css",_l="/assets/index-BPmG4YGu.css",Pl="/assets/xterm-LZoznX6r.css",Ll=()=>[{rel:"icon",href:"/favicon.svg",type:"image/svg+xml"},{rel:"stylesheet",href:Rl},{rel:"stylesheet",href:jo},{rel:"stylesheet",href:_l},{rel:"stylesheet",href:Pl},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"}],$l=Lo`
  setTutorialKitTheme();

  function setTutorialKitTheme() {
    let theme = localStorage.getItem('bolt_theme');

    if (!theme) {
      theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
    }

    document.querySelector('html')?.setAttribute('data-theme', theme);
  }
`;Xi(()=>_.jsxs(_.Fragment,{children:[_.jsx("meta",{charSet:"utf-8"}),_.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),_.jsx(Po,{}),_.jsx($o,{}),_.jsx("script",{dangerouslySetInnerHTML:{__html:$l}})]}));function Nl({children:e}){const t=cn(fn);return V.useEffect(()=>{document.querySelector("html")?.setAttribute("data-theme",t)},[t]),_.jsxs(_.Fragment,{children:[_.jsx(Mo,{children:()=>_.jsx(pl,{backend:bl,children:e})}),_.jsx(Ao,{}),_.jsx(_o,{})]})}function Al(){const e=cn(fn);return V.useEffect(()=>{Fo.logSystem("Application initialized",{theme:e,platform:navigator.platform,userAgent:navigator.userAgent,timestamp:new Date().toISOString()})},[]),_.jsx(Nl,{children:_.jsx(Ro,{})})}export{Nl as Layout,Al as default,Ll as links};
