diff --git a/assets/index-ExGvMYdT.js b/assets/index-C7ZTDt4e.js similarity index 74% rename from assets/index-ExGvMYdT.js rename to assets/index-C7ZTDt4e.js index 160cadc..b321427 100644 --- a/assets/index-ExGvMYdT.js +++ b/assets/index-C7ZTDt4e.js @@ -22,7 +22,7 @@ var Cf=Object.defineProperty;var xf=(e,t,n)=>t in e?Cf(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(E,O){var R=E.length;E.push(O);e:for(;0>>1,$=E[X];if(0>>1;Xl(Jl,R))Pt<$&&0>l(Ar,Jl)?(E[X]=Ar,E[Pt]=R,X=Pt):(E[X]=Jl,E[xt]=R,X=xt);else if(Pt<$&&0>l(Ar,R))E[X]=Ar,E[Pt]=R,X=Pt;else break e}}return O}function l(E,O){var R=E.sortIndex-O.sortIndex;return R!==0?R:E.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],c=[],m=1,p=null,h=3,A=!1,y=!1,S=!1,x=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(E){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=E)r(c),O.sortIndex=O.expirationTime,t(s,O);else break;O=n(c)}}function g(E){if(S=!1,f(E),!y)if(n(s)!==null)y=!0,Gl(C);else{var O=n(c);O!==null&&Xl(g,O.startTime-E)}}function C(E,O){y=!1,S&&(S=!1,d(j),j=-1),A=!0;var R=h;try{for(f(O),p=n(s);p!==null&&(!(p.expirationTime>O)||E&&!Ie());){var X=p.callback;if(typeof X=="function"){p.callback=null,h=p.priorityLevel;var $=X(p.expirationTime<=O);O=e.unstable_now(),typeof $=="function"?p.callback=$:p===n(s)&&r(s),f(O)}else r(s);p=n(s)}if(p!==null)var yr=!0;else{var xt=n(c);xt!==null&&Xl(g,xt.startTime-O),yr=!1}return yr}finally{p=null,h=R,A=!1}}var T=!1,N=null,j=-1,G=5,I=-1;function Ie(){return!(e.unstable_now()-IE||125X?(E.sortIndex=R,t(c,E),n(s)===null&&E===n(c)&&(S?(d(j),j=-1):S=!0,Xl(g,R-X))):(E.sortIndex=$,t(s,E),y||A||(y=!0,Gl(C))),E},e.unstable_shouldYield=Ie,e.unstable_wrapCallback=function(E){var O=h;return function(){var R=h;h=O;try{return E.apply(this,arguments)}finally{h=R}}}})(Zs);Ks.exports=Zs;var Zf=Ks.exports;/** + */(function(e){function t(E,O){var R=E.length;E.push(O);e:for(;0>>1,$=E[X];if(0>>1;Xl(Jl,R))Pt<$&&0>l(Ar,Jl)?(E[X]=Ar,E[Pt]=R,X=Pt):(E[X]=Jl,E[xt]=R,X=xt);else if(Pt<$&&0>l(Ar,R))E[X]=Ar,E[Pt]=R,X=Pt;else break e}}return O}function l(E,O){var R=E.sortIndex-O.sortIndex;return R!==0?R:E.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],c=[],m=1,p=null,h=3,A=!1,w=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(E){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=E)r(c),O.sortIndex=O.expirationTime,t(s,O);else break;O=n(c)}}function g(E){if(y=!1,f(E),!w)if(n(s)!==null)w=!0,Gl(C);else{var O=n(c);O!==null&&Xl(g,O.startTime-E)}}function C(E,O){w=!1,y&&(y=!1,d(j),j=-1),A=!0;var R=h;try{for(f(O),p=n(s);p!==null&&(!(p.expirationTime>O)||E&&!Ie());){var X=p.callback;if(typeof X=="function"){p.callback=null,h=p.priorityLevel;var $=X(p.expirationTime<=O);O=e.unstable_now(),typeof $=="function"?p.callback=$:p===n(s)&&r(s),f(O)}else r(s);p=n(s)}if(p!==null)var yr=!0;else{var xt=n(c);xt!==null&&Xl(g,xt.startTime-O),yr=!1}return yr}finally{p=null,h=R,A=!1}}var T=!1,N=null,j=-1,G=5,I=-1;function Ie(){return!(e.unstable_now()-IE||125X?(E.sortIndex=R,t(c,E),n(s)===null&&E===n(c)&&(y?(d(j),j=-1):y=!0,Xl(g,R-X))):(E.sortIndex=$,t(s,E),w||A||(w=!0,Gl(C))),E},e.unstable_shouldYield=Ie,e.unstable_wrapCallback=function(E){var O=h;return function(){var R=h;h=O;try{return E.apply(this,arguments)}finally{h=R}}}})(Zs);Ks.exports=Zs;var Zf=Ks.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ var Cf=Object.defineProperty;var xf=(e,t,n)=>t in e?Cf(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var _f=k,Ce=Zf;function w(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ko=Object.prototype.hasOwnProperty,qf=/^[: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]*$/,Au={},wu={};function $f(e){return ko.call(wu,e)?!0:ko.call(Au,e)?!1:qf.test(e)?wu[e]=!0:(Au[e]=!0,!1)}function bf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ed(e,t,n,r){if(t===null||typeof t>"u"||bf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function me(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){le[e]=new me(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];le[t]=new me(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){le[e]=new me(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){le[e]=new me(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){le[e]=new me(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){le[e]=new me(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){le[e]=new me(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){le[e]=new me(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){le[e]=new me(e,5,!1,e.toLowerCase(),null,!1,!1)});var Si=/[\-:]([a-z])/g;function ki(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(Si,ki);le[t]=new me(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(Si,ki);le[t]=new me(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(Si,ki);le[t]=new me(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){le[e]=new me(e,1,!1,e.toLowerCase(),null,!1,!1)});le.xlinkHref=new me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){le[e]=new me(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ci(e,t,n,r){var l=le.hasOwnProperty(t)?le[t]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ko=Object.prototype.hasOwnProperty,qf=/^[: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]*$/,Au={},wu={};function $f(e){return ko.call(wu,e)?!0:ko.call(Au,e)?!1:qf.test(e)?wu[e]=!0:(Au[e]=!0,!1)}function bf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ed(e,t,n,r){if(t===null||typeof t>"u"||bf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function me(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){le[e]=new me(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];le[t]=new me(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){le[e]=new me(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){le[e]=new me(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){le[e]=new me(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){le[e]=new me(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){le[e]=new me(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){le[e]=new me(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){le[e]=new me(e,5,!1,e.toLowerCase(),null,!1,!1)});var Si=/[\-:]([a-z])/g;function ki(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(Si,ki);le[t]=new me(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(Si,ki);le[t]=new me(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(Si,ki);le[t]=new me(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){le[e]=new me(e,1,!1,e.toLowerCase(),null,!1,!1)});le.xlinkHref=new me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){le[e]=new me(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ci(e,t,n,r){var l=le.hasOwnProperty(t)?le[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` -`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Zl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?In(e):""}function td(e){switch(e.tag){case 5:return In(e.type);case 16:return In("Lazy");case 13:return In("Suspense");case 19:return In("SuspenseList");case 0:case 2:case 15:return e=_l(e.type,!1),e;case 11:return e=_l(e.type.render,!1),e;case 1:return e=_l(e.type,!0),e;default:return""}}function Eo(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 Yt:return"Fragment";case Jt:return"Portal";case Co:return"Profiler";case xi:return"StrictMode";case xo:return"Suspense";case Po:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $s:return(e.displayName||"Context")+".Consumer";case qs:return(e._context.displayName||"Context")+".Provider";case Pi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ei:return t=e.displayName||null,t!==null?t:Eo(e.type)||"Memo";case lt:t=e._payload,e=e._init;try{return Eo(e(t))}catch{}}return null}function nd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Eo(t);case 8:return t===xi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function At(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ea(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rd(e){var t=ea(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kr(e){e._valueTracker||(e._valueTracker=rd(e))}function ta(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ea(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _r(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function To(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ku(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=At(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function na(e,t){t=t.checked,t!=null&&Ci(e,"checked",t,!1)}function No(e,t){na(e,t);var n=At(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jo(e,t.type,n):t.hasOwnProperty("defaultValue")&&jo(e,t.type,At(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jo(e,t,n){(t!=="number"||_r(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bn=Array.isArray;function ln(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Cr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fn={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},ld=["Webkit","ms","Moz","O"];Object.keys(Fn).forEach(function(e){ld.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fn[t]=Fn[e]})});function ia(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Fn.hasOwnProperty(e)&&Fn[e]?(""+t).trim():t+"px"}function ua(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ia(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var od=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Do(e,t){if(t){if(od[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function Io(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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!1;default:return!0}}var Bo=null;function Ti(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zo=null,on=null,un=null;function Eu(e){if(e=hr(e)){if(typeof zo!="function")throw Error(w(280));var t=e.stateNode;t&&(t=Tl(t),zo(e.stateNode,e.type,t))}}function sa(e){on?un?un.push(e):un=[e]:on=e}function aa(){if(on){var e=on,t=un;if(un=on=null,Eu(e),t)for(e=0;e>>=0,e===0?32:31-(vd(e)/gd|0)|0}var xr=64,Pr=4194304;function zn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=zn(u):(o&=i,o!==0&&(r=zn(o)))}else i=n&~l,i!==0?r=zn(i):o!==0&&(r=zn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function pr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Le(t),e[t]=n}function Sd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Un),zu=" ",Mu=!1;function ja(e,t){switch(e){case"keyup":return Zd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Oa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kt=!1;function qd(e,t){switch(e){case"compositionend":return Oa(t);case"keypress":return t.which!==32?null:(Mu=!0,zu);case"textInput":return e=t.data,e===zu&&Mu?null:e;default:return null}}function $d(e,t){if(Kt)return e==="compositionend"||!zi&&ja(e,t)?(e=Ta(),Hr=Di=st=null,Kt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qu(n)}}function Ba(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ba(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function za(){for(var e=window,t=_r();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_r(e.document)}return t}function Mi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function up(e){var t=za(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ba(n.ownerDocument.documentElement,n)){if(r!==null&&Mi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Hu(n,o);var i=Hu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zt=null,Ho=null,Hn=null,Vo=!1;function Vu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vo||Zt==null||Zt!==_r(r)||(r=Zt,"selectionStart"in r&&Mi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hn&&er(Hn,r)||(Hn=r,r=rl(Ho,"onSelect"),0$t||(e.current=Ko[$t],Ko[$t]=null,$t--)}function M(e,t){$t++,Ko[$t]=e.current,e.current=t}var wt={},ae=kt(wt),ge=kt(!1),zt=wt;function dn(e,t){var n=e.type.contextTypes;if(!n)return wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ye(e){return e=e.childContextTypes,e!=null}function ol(){L(ge),L(ae)}function Zu(e,t,n){if(ae.current!==wt)throw Error(w(168));M(ae,t),M(ge,n)}function Ga(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(w(108,nd(e)||"Unknown",l));return V({},n,r)}function il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wt,zt=ae.current,M(ae,e),M(ge,ge.current),!0}function _u(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=Ga(e,t,zt),r.__reactInternalMemoizedMergedChildContext=e,L(ge),L(ae),M(ae,e)):L(ge),M(ge,n)}var Ke=null,Nl=!1,co=!1;function Xa(e){Ke===null?Ke=[e]:Ke.push(e)}function Ap(e){Nl=!0,Xa(e)}function Ct(){if(!co&&Ke!==null){co=!0;var e=0,t=z;try{var n=Ke;for(z=1;e>=i,l-=i,Ze=1<<32-Le(t)+l|n<j?(G=N,N=null):G=N.sibling;var I=h(d,N,f[j],g);if(I===null){N===null&&(N=G);break}e&&N&&I.alternate===null&&t(d,N),a=o(I,a,j),T===null?C=I:T.sibling=I,T=I,N=G}if(j===f.length)return n(d,N),U&&Et(d,j),C;if(N===null){for(;jj?(G=N,N=null):G=N.sibling;var Ie=h(d,N,I.value,g);if(Ie===null){N===null&&(N=G);break}e&&N&&Ie.alternate===null&&t(d,N),a=o(Ie,a,j),T===null?C=Ie:T.sibling=Ie,T=Ie,N=G}if(I.done)return n(d,N),U&&Et(d,j),C;if(N===null){for(;!I.done;j++,I=f.next())I=p(d,I.value,g),I!==null&&(a=o(I,a,j),T===null?C=I:T.sibling=I,T=I);return U&&Et(d,j),C}for(N=r(d,N);!I.done;j++,I=f.next())I=A(N,d,j,I.value,g),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?j:I.key),a=o(I,a,j),T===null?C=I:T.sibling=I,T=I);return e&&N.forEach(function(Cn){return t(d,Cn)}),U&&Et(d,j),C}function x(d,a,f,g){if(typeof f=="object"&&f!==null&&f.type===Yt&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Sr:e:{for(var C=f.key,T=a;T!==null;){if(T.key===C){if(C=f.type,C===Yt){if(T.tag===7){n(d,T.sibling),a=l(T,f.props.children),a.return=d,d=a;break e}}else if(T.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===lt&&bu(C)===T.type){n(d,T.sibling),a=l(T,f.props),a.ref=On(d,T,f),a.return=d,d=a;break e}n(d,T);break}else t(d,T);T=T.sibling}f.type===Yt?(a=It(f.props.children,d.mode,g,f.key),a.return=d,d=a):(g=Zr(f.type,f.key,f.props,null,d.mode,g),g.ref=On(d,a,f),g.return=d,d=g)}return i(d);case Jt:e:{for(T=f.key;a!==null;){if(a.key===T)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){n(d,a.sibling),a=l(a,f.children||[]),a.return=d,d=a;break e}else{n(d,a);break}else t(d,a);a=a.sibling}a=Ao(f,d.mode,g),a.return=d,d=a}return i(d);case lt:return T=f._init,x(d,a,T(f._payload),g)}if(Bn(f))return y(d,a,f,g);if(Pn(f))return S(d,a,f,g);Dr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(n(d,a.sibling),a=l(a,f),a.return=d,d=a):(n(d,a),a=yo(f,d.mode,g),a.return=d,d=a),i(d)):n(d,a)}return x}var mn=Za(!0),_a=Za(!1),al=kt(null),cl=null,tn=null,Qi=null;function Hi(){Qi=tn=cl=null}function Vi(e){var t=al.current;L(al),e._currentValue=t}function qo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function an(e,t){cl=e,Qi=tn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ve=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(Qi!==e)if(e={context:e,memoizedValue:t,next:null},tn===null){if(cl===null)throw Error(w(308));tn=e,cl.dependencies={lanes:0,firstContext:e}}else tn=tn.next=e;return t}var Ot=null;function Wi(e){Ot===null?Ot=[e]:Ot.push(e)}function qa(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Wi(t)):(n.next=l.next,l.next=n),t.interleaved=n,et(e,r)}function et(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ot=!1;function Gi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $a(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ht(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,B&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,et(e,n)}return l=r.interleaved,l===null?(t.next=t,Wi(r)):(t.next=l.next,l.next=t),r.interleaved=t,et(e,n)}function Wr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ji(e,n)}}function es(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fl(e,t,n,r){var l=e.updateQueue;ot=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,i===null?o=c:i.next=c,i=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==i&&(u===null?m.firstBaseUpdate=c:u.next=c,m.lastBaseUpdate=s))}if(o!==null){var p=l.baseState;i=0,m=c=s=null,u=o;do{var h=u.lane,A=u.eventTime;if((r&h)===h){m!==null&&(m=m.next={eventTime:A,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var y=e,S=u;switch(h=t,A=n,S.tag){case 1:if(y=S.payload,typeof y=="function"){p=y.call(A,p,h);break e}p=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=S.payload,h=typeof y=="function"?y.call(A,p,h):y,h==null)break e;p=V({},p,h);break e;case 2:ot=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[u]:h.push(u))}else A={eventTime:A,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(c=m=A,s=p):m=m.next=A,i|=h;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;h=u,u=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(m===null&&(s=p),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Lt|=i,e.lanes=i,e.memoizedState=p}}function ts(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=po.transition;po.transition={};try{e(!1),t()}finally{z=n,po.transition=r}}function hc(){return De().memoizedState}function Cp(e,t,n){var r=gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vc(e))gc(t,n);else if(n=qa(e,t,n,r),n!==null){var l=de();Ue(n,e,r,l),yc(n,t,r)}}function xp(e,t,n){var r=gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vc(e))gc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Qe(u,i)){var s=t.interleaved;s===null?(l.next=l,Wi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=qa(e,t,l,r),n!==null&&(l=de(),Ue(n,e,r,l),yc(n,t,r))}}function vc(e){var t=e.alternate;return e===H||t!==null&&t===H}function gc(e,t){Vn=pl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ji(e,n)}}var ml={readContext:Re,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},Pp={readContext:Re,useCallback:function(e,t){return We().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:rs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Xr(4194308,4,cc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Xr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Xr(4,2,e,t)},useMemo:function(e,t){var n=We();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=We();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Cp.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=We();return e={current:e},t.memoizedState=e},useState:ns,useDebugValue:$i,useDeferredValue:function(e){return We().memoizedState=e},useTransition:function(){var e=ns(!1),t=e[0];return e=kp.bind(null,e[1]),We().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=We();if(U){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),te===null)throw Error(w(349));Ft&30||nc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,rs(lc.bind(null,r,o,e),[e]),r.flags|=2048,sr(9,rc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=We(),t=te.identifierPrefix;if(U){var n=_e,r=Ze;n=(r&~(1<<32-Le(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ir++,0")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Zl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?In(e):""}function td(e){switch(e.tag){case 5:return In(e.type);case 16:return In("Lazy");case 13:return In("Suspense");case 19:return In("SuspenseList");case 0:case 2:case 15:return e=_l(e.type,!1),e;case 11:return e=_l(e.type.render,!1),e;case 1:return e=_l(e.type,!0),e;default:return""}}function Eo(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 Yt:return"Fragment";case Jt:return"Portal";case Co:return"Profiler";case xi:return"StrictMode";case xo:return"Suspense";case Po:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $s:return(e.displayName||"Context")+".Consumer";case qs:return(e._context.displayName||"Context")+".Provider";case Pi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ei:return t=e.displayName||null,t!==null?t:Eo(e.type)||"Memo";case lt:t=e._payload,e=e._init;try{return Eo(e(t))}catch{}}return null}function nd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Eo(t);case 8:return t===xi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function At(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ea(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rd(e){var t=ea(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kr(e){e._valueTracker||(e._valueTracker=rd(e))}function ta(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ea(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _r(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function To(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ku(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=At(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function na(e,t){t=t.checked,t!=null&&Ci(e,"checked",t,!1)}function No(e,t){na(e,t);var n=At(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jo(e,t.type,n):t.hasOwnProperty("defaultValue")&&jo(e,t.type,At(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jo(e,t,n){(t!=="number"||_r(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bn=Array.isArray;function ln(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Cr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fn={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},ld=["Webkit","ms","Moz","O"];Object.keys(Fn).forEach(function(e){ld.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fn[t]=Fn[e]})});function ia(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Fn.hasOwnProperty(e)&&Fn[e]?(""+t).trim():t+"px"}function ua(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ia(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var od=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Do(e,t){if(t){if(od[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function Io(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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!1;default:return!0}}var Bo=null;function Ti(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zo=null,on=null,un=null;function Eu(e){if(e=hr(e)){if(typeof zo!="function")throw Error(S(280));var t=e.stateNode;t&&(t=Tl(t),zo(e.stateNode,e.type,t))}}function sa(e){on?un?un.push(e):un=[e]:on=e}function aa(){if(on){var e=on,t=un;if(un=on=null,Eu(e),t)for(e=0;e>>=0,e===0?32:31-(vd(e)/gd|0)|0}var xr=64,Pr=4194304;function zn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=zn(u):(o&=i,o!==0&&(r=zn(o)))}else i=n&~l,i!==0?r=zn(i):o!==0&&(r=zn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function pr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Le(t),e[t]=n}function Sd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Un),zu=" ",Mu=!1;function ja(e,t){switch(e){case"keyup":return Zd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Oa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kt=!1;function qd(e,t){switch(e){case"compositionend":return Oa(t);case"keypress":return t.which!==32?null:(Mu=!0,zu);case"textInput":return e=t.data,e===zu&&Mu?null:e;default:return null}}function $d(e,t){if(Kt)return e==="compositionend"||!zi&&ja(e,t)?(e=Ta(),Hr=Di=st=null,Kt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qu(n)}}function Ba(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ba(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function za(){for(var e=window,t=_r();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_r(e.document)}return t}function Mi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function up(e){var t=za(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ba(n.ownerDocument.documentElement,n)){if(r!==null&&Mi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Hu(n,o);var i=Hu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Zt=null,Ho=null,Hn=null,Vo=!1;function Vu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vo||Zt==null||Zt!==_r(r)||(r=Zt,"selectionStart"in r&&Mi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hn&&er(Hn,r)||(Hn=r,r=rl(Ho,"onSelect"),0$t||(e.current=Ko[$t],Ko[$t]=null,$t--)}function M(e,t){$t++,Ko[$t]=e.current,e.current=t}var wt={},ae=kt(wt),ge=kt(!1),zt=wt;function dn(e,t){var n=e.type.contextTypes;if(!n)return wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ye(e){return e=e.childContextTypes,e!=null}function ol(){L(ge),L(ae)}function Zu(e,t,n){if(ae.current!==wt)throw Error(S(168));M(ae,t),M(ge,n)}function Ga(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,nd(e)||"Unknown",l));return V({},n,r)}function il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wt,zt=ae.current,M(ae,e),M(ge,ge.current),!0}function _u(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Ga(e,t,zt),r.__reactInternalMemoizedMergedChildContext=e,L(ge),L(ae),M(ae,e)):L(ge),M(ge,n)}var Ke=null,Nl=!1,co=!1;function Xa(e){Ke===null?Ke=[e]:Ke.push(e)}function Ap(e){Nl=!0,Xa(e)}function Ct(){if(!co&&Ke!==null){co=!0;var e=0,t=z;try{var n=Ke;for(z=1;e>=i,l-=i,Ze=1<<32-Le(t)+l|n<j?(G=N,N=null):G=N.sibling;var I=h(d,N,f[j],g);if(I===null){N===null&&(N=G);break}e&&N&&I.alternate===null&&t(d,N),a=o(I,a,j),T===null?C=I:T.sibling=I,T=I,N=G}if(j===f.length)return n(d,N),U&&Et(d,j),C;if(N===null){for(;jj?(G=N,N=null):G=N.sibling;var Ie=h(d,N,I.value,g);if(Ie===null){N===null&&(N=G);break}e&&N&&Ie.alternate===null&&t(d,N),a=o(Ie,a,j),T===null?C=Ie:T.sibling=Ie,T=Ie,N=G}if(I.done)return n(d,N),U&&Et(d,j),C;if(N===null){for(;!I.done;j++,I=f.next())I=p(d,I.value,g),I!==null&&(a=o(I,a,j),T===null?C=I:T.sibling=I,T=I);return U&&Et(d,j),C}for(N=r(d,N);!I.done;j++,I=f.next())I=A(N,d,j,I.value,g),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?j:I.key),a=o(I,a,j),T===null?C=I:T.sibling=I,T=I);return e&&N.forEach(function(Cn){return t(d,Cn)}),U&&Et(d,j),C}function x(d,a,f,g){if(typeof f=="object"&&f!==null&&f.type===Yt&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Sr:e:{for(var C=f.key,T=a;T!==null;){if(T.key===C){if(C=f.type,C===Yt){if(T.tag===7){n(d,T.sibling),a=l(T,f.props.children),a.return=d,d=a;break e}}else if(T.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===lt&&bu(C)===T.type){n(d,T.sibling),a=l(T,f.props),a.ref=On(d,T,f),a.return=d,d=a;break e}n(d,T);break}else t(d,T);T=T.sibling}f.type===Yt?(a=It(f.props.children,d.mode,g,f.key),a.return=d,d=a):(g=Zr(f.type,f.key,f.props,null,d.mode,g),g.ref=On(d,a,f),g.return=d,d=g)}return i(d);case Jt:e:{for(T=f.key;a!==null;){if(a.key===T)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){n(d,a.sibling),a=l(a,f.children||[]),a.return=d,d=a;break e}else{n(d,a);break}else t(d,a);a=a.sibling}a=Ao(f,d.mode,g),a.return=d,d=a}return i(d);case lt:return T=f._init,x(d,a,T(f._payload),g)}if(Bn(f))return w(d,a,f,g);if(Pn(f))return y(d,a,f,g);Dr(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(n(d,a.sibling),a=l(a,f),a.return=d,d=a):(n(d,a),a=yo(f,d.mode,g),a.return=d,d=a),i(d)):n(d,a)}return x}var mn=Za(!0),_a=Za(!1),al=kt(null),cl=null,tn=null,Qi=null;function Hi(){Qi=tn=cl=null}function Vi(e){var t=al.current;L(al),e._currentValue=t}function qo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function an(e,t){cl=e,Qi=tn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ve=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(Qi!==e)if(e={context:e,memoizedValue:t,next:null},tn===null){if(cl===null)throw Error(S(308));tn=e,cl.dependencies={lanes:0,firstContext:e}}else tn=tn.next=e;return t}var Ot=null;function Wi(e){Ot===null?Ot=[e]:Ot.push(e)}function qa(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Wi(t)):(n.next=l.next,l.next=n),t.interleaved=n,et(e,r)}function et(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ot=!1;function Gi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $a(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ht(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,B&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,et(e,n)}return l=r.interleaved,l===null?(t.next=t,Wi(r)):(t.next=l.next,l.next=t),r.interleaved=t,et(e,n)}function Wr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ji(e,n)}}function es(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fl(e,t,n,r){var l=e.updateQueue;ot=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,i===null?o=c:i.next=c,i=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==i&&(u===null?m.firstBaseUpdate=c:u.next=c,m.lastBaseUpdate=s))}if(o!==null){var p=l.baseState;i=0,m=c=s=null,u=o;do{var h=u.lane,A=u.eventTime;if((r&h)===h){m!==null&&(m=m.next={eventTime:A,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,y=u;switch(h=t,A=n,y.tag){case 1:if(w=y.payload,typeof w=="function"){p=w.call(A,p,h);break e}p=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=y.payload,h=typeof w=="function"?w.call(A,p,h):w,h==null)break e;p=V({},p,h);break e;case 2:ot=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[u]:h.push(u))}else A={eventTime:A,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(c=m=A,s=p):m=m.next=A,i|=h;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;h=u,u=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(m===null&&(s=p),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Lt|=i,e.lanes=i,e.memoizedState=p}}function ts(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=po.transition;po.transition={};try{e(!1),t()}finally{z=n,po.transition=r}}function hc(){return De().memoizedState}function Cp(e,t,n){var r=gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vc(e))gc(t,n);else if(n=qa(e,t,n,r),n!==null){var l=de();Ue(n,e,r,l),yc(n,t,r)}}function xp(e,t,n){var r=gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vc(e))gc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Qe(u,i)){var s=t.interleaved;s===null?(l.next=l,Wi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=qa(e,t,l,r),n!==null&&(l=de(),Ue(n,e,r,l),yc(n,t,r))}}function vc(e){var t=e.alternate;return e===H||t!==null&&t===H}function gc(e,t){Vn=pl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ji(e,n)}}var ml={readContext:Re,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},Pp={readContext:Re,useCallback:function(e,t){return We().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:rs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Xr(4194308,4,cc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Xr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Xr(4,2,e,t)},useMemo:function(e,t){var n=We();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=We();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Cp.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=We();return e={current:e},t.memoizedState=e},useState:ns,useDebugValue:$i,useDeferredValue:function(e){return We().memoizedState=e},useTransition:function(){var e=ns(!1),t=e[0];return e=kp.bind(null,e[1]),We().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=We();if(U){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),te===null)throw Error(S(349));Ft&30||nc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,rs(lc.bind(null,r,o,e),[e]),r.flags|=2048,sr(9,rc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=We(),t=te.identifierPrefix;if(U){var n=_e,r=Ze;n=(r&~(1<<32-Le(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ir++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ge]=t,e[rr]=r,Nc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Io(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lgn&&(t.flags|=128,r=!0,Rn(o,!1),t.lanes=4194304)}else{if(!r)if(e=dl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!U)return ie(t),null}else 2*J()-o.renderingStartTime>gn&&n!==1073741824&&(t.flags|=128,r=!0,Rn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=J(),t.sibling=null,n=Q.current,M(Q,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return lu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function Ip(e,t){switch(Li(t),t.tag){case 1:return ye(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hn(),L(ge),L(ae),Yi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ji(t),null;case 13:if(L(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));pn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(Q),null;case 4:return hn(),null;case 10:return Vi(t.type._context),null;case 22:case 23:return lu(),null;case 24:return null;default:return null}}var Br=!1,se=!1,Bp=typeof WeakSet=="function"?WeakSet:Set,P=null;function nn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function ii(e,t,n){try{n()}catch(r){W(e,t,r)}}var ms=!1;function zp(e,t){if(Wo=tl,e=za(),Mi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,c=0,m=0,p=e,h=null;t:for(;;){for(var A;p!==n||l!==0&&p.nodeType!==3||(u=i+l),p!==o||r!==0&&p.nodeType!==3||(s=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(A=p.firstChild)!==null;)h=p,p=A;for(;;){if(p===e)break t;if(h===n&&++c===l&&(u=i),h===o&&++m===r&&(s=i),(A=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=A}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Go={focusedElem:e,selectionRange:n},tl=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var S=y.memoizedProps,x=y.memoizedState,d=t.stateNode,a=d.getSnapshotBeforeUpdate(t.elementType===t.type?S:ze(t.type,S),x);d.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(g){W(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return y=ms,ms=!1,y}function Wn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&ii(t,n,o)}l=l.next}while(l!==r)}}function Rl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ui(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Rc(e){var t=e.alternate;t!==null&&(e.alternate=null,Rc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ge],delete t[rr],delete t[Yo],delete t[gp],delete t[yp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Dc(e){return e.tag===5||e.tag===3||e.tag===4}function hs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Dc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function si(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ll));else if(r!==4&&(e=e.child,e!==null))for(si(e,t,n),e=e.sibling;e!==null;)si(e,t,n),e=e.sibling}function ai(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ai(e,t,n),e=e.sibling;e!==null;)ai(e,t,n),e=e.sibling}var ne=null,Me=!1;function rt(e,t,n){for(n=n.child;n!==null;)Ic(e,t,n),n=n.sibling}function Ic(e,t,n){if(Xe&&typeof Xe.onCommitFiberUnmount=="function")try{Xe.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:se||nn(n,t);case 6:var r=ne,l=Me;ne=null,rt(e,t,n),ne=r,Me=l,ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?ao(e.parentNode,n):e.nodeType===1&&ao(e,n),$n(e)):ao(ne,n.stateNode));break;case 4:r=ne,l=Me,ne=n.stateNode.containerInfo,Me=!0,rt(e,t,n),ne=r,Me=l;break;case 0:case 11:case 14:case 15:if(!se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&ii(n,t,i),l=l.next}while(l!==r)}rt(e,t,n);break;case 1:if(!se&&(nn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}rt(e,t,n);break;case 21:rt(e,t,n);break;case 22:n.mode&1?(se=(r=se)||n.memoizedState!==null,rt(e,t,n),se=r):rt(e,t,n);break;default:rt(e,t,n)}}function vs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Bp),t.forEach(function(r){var l=Gp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Be(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fp(r/1960))-r,10e?16:e,at===null)var r=!1;else{if(e=at,at=null,gl=0,B&6)throw Error(w(331));var l=B;for(B|=4,P=e.current;P!==null;){var o=P,i=o.child;if(P.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sJ()-nu?Dt(e,0):tu|=n),Ae(e,t)}function Hc(e,t){t===0&&(e.mode&1?(t=Pr,Pr<<=1,!(Pr&130023424)&&(Pr=4194304)):t=1);var n=de();e=et(e,t),e!==null&&(pr(e,t,n),Ae(e,n))}function Wp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hc(e,n)}function Gp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),Hc(e,n)}var Vc;Vc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ge.current)ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ve=!1,Rp(e,t,n);ve=!!(e.flags&131072)}else ve=!1,U&&t.flags&1048576&&Ja(t,sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Jr(e,t),e=t.pendingProps;var l=dn(t,ae.current);an(t,n),l=Zi(null,t,r,e,l,n);var o=_i();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(o=!0,il(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(t),l.updater=Ol,t.stateNode=l,l._reactInternals=t,bo(t,r,e,n),t=ni(null,t,r,!0,o,n)):(t.tag=0,U&&o&&Fi(t),fe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Jr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Jp(r),e=ze(r,e),l){case 0:t=ti(null,t,r,e,n);break e;case 1:t=fs(null,t,r,e,n);break e;case 11:t=as(null,t,r,e,n);break e;case 14:t=cs(null,t,r,ze(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),ti(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),fs(e,t,r,l,n);case 3:e:{if(Pc(t),e===null)throw Error(w(387));r=t.pendingProps,o=t.memoizedState,l=o.element,$a(e,t),fl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=vn(Error(w(423)),t),t=ds(e,t,r,n,l);break e}else if(r!==l){l=vn(Error(w(424)),t),t=ds(e,t,r,n,l);break e}else for(Se=mt(t.stateNode.containerInfo.firstChild),ke=t,U=!0,Fe=null,n=_a(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(pn(),r===l){t=tt(e,t,n);break e}fe(e,t,r,n)}t=t.child}return t;case 5:return ba(t),e===null&&_o(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Xo(r,l)?i=null:o!==null&&Xo(r,o)&&(t.flags|=32),xc(e,t),fe(e,t,i,n),t.child;case 6:return e===null&&_o(t),null;case 13:return Ec(e,t,n);case 4:return Xi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mn(t,null,r,n):fe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),as(e,t,r,l,n);case 7:return fe(e,t,t.pendingProps,n),t.child;case 8:return fe(e,t,t.pendingProps.children,n),t.child;case 12:return fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,M(al,r._currentValue),r._currentValue=i,o!==null)if(Qe(o.value,i)){if(o.children===l.children&&!ge.current){t=tt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=qe(-1,n&-n),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),qo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(w(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),qo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}fe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,an(t,n),l=Re(l),r=r(l),t.flags|=1,fe(e,t,r,n),t.child;case 14:return r=t.type,l=ze(r,t.pendingProps),l=ze(r.type,l),cs(e,t,r,l,n);case 15:return kc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Jr(e,t),t.tag=1,ye(r)?(e=!0,il(t)):e=!1,an(t,n),Ac(t,r,l),bo(t,r,l,n),ni(null,t,r,!0,e,n);case 19:return Tc(e,t,n);case 22:return Cc(e,t,n)}throw Error(w(156,t.tag))};function Wc(e,t){return va(e,t)}function Xp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,t,n,r){return new Xp(e,t,n,r)}function iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jp(e){if(typeof e=="function")return iu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pi)return 11;if(e===Ei)return 14}return 2}function yt(e,t){var n=e.alternate;return n===null?(n=je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")iu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yt:return It(n.children,l,o,t);case xi:i=8,l|=8;break;case Co:return e=je(12,n,t,l|2),e.elementType=Co,e.lanes=o,e;case xo:return e=je(13,n,t,l),e.elementType=xo,e.lanes=o,e;case Po:return e=je(19,n,t,l),e.elementType=Po,e.lanes=o,e;case bs:return Il(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qs:i=10;break e;case $s:i=9;break e;case Pi:i=11;break e;case Ei:i=14;break e;case lt:i=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=je(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function It(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function Il(e,t,n,r){return e=je(22,e,r,t),e.elementType=bs,e.lanes=n,e.stateNode={isHidden:!1},e}function yo(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function Ao(e,t,n){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function uu(e,t,n,r,l,o,i,u,s){return e=new Yp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(o),e}function Kp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yc)}catch(e){console.error(e)}}Yc(),Ys.exports=xe;var bp=Ys.exports,xs=bp;So.createRoot=xs.createRoot,So.hydrateRoot=xs.hydrateRoot;function em(){const e="cookie-accepted",[t,n]=k.useState(localStorage.getItem(e)!=="true");return v.jsx(v.Fragment,{children:t&&v.jsxs("div",{className:"cookie-message",children:[v.jsx("h2",{children:"This website uses cookies to ensure you get the best experience on our website."}),v.jsx("button",{className:"btn",onClick:()=>{n(!1),localStorage.setItem(e,"true")},children:"Okay"})]})})}class K{static setBackGroundColor(t="white"){document.documentElement.style.setProperty("--bg-color",t)}static setFontColor(t="black"){document.documentElement.style.setProperty("--font-color",t)}static setPrimaryColor(t="#436fe9"){document.documentElement.style.setProperty("--primary-color",t)}static setSecondaryColor(t="#E9BD43"){document.documentElement.style.setProperty("--secondary-color",t)}static setFontFamily(t="Ubuntu"){document.documentElement.style.setProperty("--font-family",t)}static setDefaultValues(t=!1){t?(K.setBackGroundColor("#1D2B53"),K.setFontColor("#fff"),K.setPrimaryColor("#FF004D"),K.setSecondaryColor("#FAEF5D")):(K.setBackGroundColor(),K.setFontColor(),K.setPrimaryColor(),K.setSecondaryColor()),K.setFontFamily()}}const fu=An.createContext({isDarkModeEnabled:()=>!1,toggleTheme:()=>{}});function du(){const e=An.useContext(fu);if(!e)throw new Error("useIsDarkModeEnabled must be used within a ThemeProvider");return e.isDarkModeEnabled}function tm(){const e=An.useContext(fu);if(!e)throw new Error("useToggleTheme must be used within a ThemeProvider");return e.toggleTheme}function nm({children:e}){const t="bsh-is-dark-mode",n=()=>{const u=localStorage.getItem(t);return u?u==="true":rm()},[r,l]=An.useState(n());k.useEffect(()=>{K.setDefaultValues(r)},[]);const o=()=>r,i=()=>{const u=!r;K.setDefaultValues(u),l(u),localStorage.setItem(t,u.toString())};return v.jsx(fu.Provider,{value:{isDarkModeEnabled:o,toggleTheme:i},children:e})}function rm(){return window.matchMedia("(prefers-color-scheme: dark)").matches}/** +`+o.stack}return{value:e,source:t,stack:l,digest:null}}function vo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ei(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Np=typeof WeakMap=="function"?WeakMap:Map;function wc(e,t,n){n=qe(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){vl||(vl=!0,ci=r),ei(e,t)},n}function Sc(e,t,n){n=qe(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){ei(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){ei(e,t),typeof r!="function"&&(vt===null?vt=new Set([this]):vt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function is(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Np;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Vp.bind(null,e,t,n),t.then(e,e))}function us(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ss(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qe(-1,1),t.tag=2,ht(n,t,1))),n.lanes|=1),e)}var jp=nt.ReactCurrentOwner,ve=!1;function fe(e,t,n,r){t.child=e===null?_a(t,null,n,r):mn(t,e.child,n,r)}function as(e,t,n,r,l){n=n.render;var o=t.ref;return an(t,l),r=Zi(e,t,n,r,o,l),n=_i(),e!==null&&!ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,tt(e,t,l)):(U&&n&&Fi(t),t.flags|=1,fe(e,t,r,l),t.child)}function cs(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!iu(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,kc(e,t,o,r,l)):(e=Zr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:er,n(i,r)&&e.ref===t.ref)return tt(e,t,l)}return t.flags|=1,e=yt(o,r),e.ref=t.ref,e.return=t,t.child=e}function kc(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(er(o,r)&&e.ref===t.ref)if(ve=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(ve=!0);else return t.lanes=e.lanes,tt(e,t,l)}return ti(e,t,n,r,l)}function Cc(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},M(rn,we),we|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,M(rn,we),we|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,M(rn,we),we|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,M(rn,we),we|=r;return fe(e,t,l,n),t.child}function xc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ti(e,t,n,r,l){var o=ye(n)?zt:ae.current;return o=dn(t,o),an(t,l),n=Zi(e,t,n,r,o,l),r=_i(),e!==null&&!ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,tt(e,t,l)):(U&&r&&Fi(t),t.flags|=1,fe(e,t,n,l),t.child)}function fs(e,t,n,r,l){if(ye(n)){var o=!0;il(t)}else o=!1;if(an(t,l),t.stateNode===null)Jr(e,t),Ac(t,n,r),bo(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var s=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=Re(c):(c=ye(n)?zt:ae.current,c=dn(t,c));var m=n.getDerivedStateFromProps,p=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||s!==c)&&os(t,i,r,c),ot=!1;var h=t.memoizedState;i.state=h,fl(t,r,i,l),s=t.memoizedState,u!==r||h!==s||ge.current||ot?(typeof m=="function"&&($o(t,n,m,r),s=t.memoizedState),(u=ot||ls(t,n,u,r,h,s,c))?(p||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,$a(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:ze(t.type,u),i.props=c,p=t.pendingProps,h=i.context,s=n.contextType,typeof s=="object"&&s!==null?s=Re(s):(s=ye(n)?zt:ae.current,s=dn(t,s));var A=n.getDerivedStateFromProps;(m=typeof A=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==p||h!==s)&&os(t,i,r,s),ot=!1,h=t.memoizedState,i.state=h,fl(t,r,i,l);var w=t.memoizedState;u!==p||h!==w||ge.current||ot?(typeof A=="function"&&($o(t,n,A,r),w=t.memoizedState),(c=ot||ls(t,n,c,r,h,w,s)||!1)?(m||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,w,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,w,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),i.props=r,i.state=w,i.context=s,r=c):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return ni(e,t,n,r,o,l)}function ni(e,t,n,r,l,o){xc(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&_u(t,n,!1),tt(e,t,o);r=t.stateNode,jp.current=t;var u=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=mn(t,e.child,null,o),t.child=mn(t,null,u,o)):fe(e,t,u,o),t.memoizedState=r.state,l&&_u(t,n,!0),t.child}function Pc(e){var t=e.stateNode;t.pendingContext?Zu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zu(e,t.context,!1),Xi(e,t.containerInfo)}function ds(e,t,n,r,l){return pn(),Ui(l),t.flags|=256,fe(e,t,n,r),t.child}var ri={dehydrated:null,treeContext:null,retryLane:0};function li(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ec(e,t,n){var r=t.pendingProps,l=Q.current,o=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),M(Q,l&1),e===null)return _o(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Il(i,r,0,null),e=It(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=li(n),t.memoizedState=ri,e):bi(t,i));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return Op(e,t,i,r,u,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=yt(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?o=yt(u,o):(o=It(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?li(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=ri,r}return o=e.child,e=o.sibling,r=yt(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function bi(e,t){return t=Il({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ir(e,t,n,r){return r!==null&&Ui(r),mn(t,e.child,null,n),e=bi(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Op(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=vo(Error(S(422))),Ir(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=Il({mode:"visible",children:r.children},l,0,null),o=It(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&mn(t,e.child,null,i),t.child.memoizedState=li(i),t.memoizedState=ri,o);if(!(t.mode&1))return Ir(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,o=Error(S(419)),r=vo(o,r,void 0),Ir(e,t,i,r)}if(u=(i&e.childLanes)!==0,ve||u){if(r=te,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,et(e,l),Ue(r,e,l,-1))}return ou(),r=vo(Error(S(421))),Ir(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Wp.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,Se=mt(l.nextSibling),ke=t,U=!0,Fe=null,e!==null&&(Te[Ne++]=Ze,Te[Ne++]=_e,Te[Ne++]=Mt,Ze=e.id,_e=e.overflow,Mt=t),t=bi(t,r.children),t.flags|=4096,t)}function ps(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qo(e.return,t,n)}function go(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function Tc(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(fe(e,t,r.children,n),r=Q.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ps(e,n,t);else if(e.tag===19)ps(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(M(Q,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&dl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),go(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&dl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}go(t,!0,n,null,o);break;case"together":go(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Jr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function tt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Lt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,n=yt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=yt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Rp(e,t,n){switch(t.tag){case 3:Pc(t),pn();break;case 5:ba(t);break;case 1:ye(t.type)&&il(t);break;case 4:Xi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;M(al,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(M(Q,Q.current&1),t.flags|=128,null):n&t.child.childLanes?Ec(e,t,n):(M(Q,Q.current&1),e=tt(e,t,n),e!==null?e.sibling:null);M(Q,Q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Tc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),M(Q,Q.current),r)break;return null;case 22:case 23:return t.lanes=0,Cc(e,t,n)}return tt(e,t,n)}var Nc,oi,jc,Oc;Nc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};oi=function(){};jc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Rt(Je.current);var o=null;switch(n){case"input":l=To(e,l),r=To(e,r),o=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),o=[];break;case"textarea":l=Oo(e,l),r=Oo(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ll)}Do(n,r);var i;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var u=l[c];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Yn.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var s=r[c];if(u=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(s!=null||u!=null))if(c==="style")if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(o||(o=[]),o.push(c,n)),n=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(o=o||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Yn.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&F("scroll",e),o||u===s||(o=[])):(o=o||[]).push(c,s))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};Oc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Rn(e,t){if(!U)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Dp(e,t,n){var r=t.pendingProps;switch(Li(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(t),null;case 1:return ye(t.type)&&ol(),ie(t),null;case 3:return r=t.stateNode,hn(),L(ge),L(ae),Yi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Rr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Fe!==null&&(pi(Fe),Fe=null))),oi(e,t),ie(t),null;case 5:Ji(t);var l=Rt(or.current);if(n=t.type,e!==null&&t.stateNode!=null)jc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(S(166));return ie(t),null}if(e=Rt(Je.current),Rr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ge]=t,r[rr]=o,e=(t.mode&1)!==0,n){case"dialog":F("cancel",r),F("close",r);break;case"iframe":case"object":case"embed":F("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ge]=t,e[rr]=r,Nc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Io(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lgn&&(t.flags|=128,r=!0,Rn(o,!1),t.lanes=4194304)}else{if(!r)if(e=dl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!U)return ie(t),null}else 2*J()-o.renderingStartTime>gn&&n!==1073741824&&(t.flags|=128,r=!0,Rn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=J(),t.sibling=null,n=Q.current,M(Q,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return lu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Ip(e,t){switch(Li(t),t.tag){case 1:return ye(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hn(),L(ge),L(ae),Yi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ji(t),null;case 13:if(L(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));pn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(Q),null;case 4:return hn(),null;case 10:return Vi(t.type._context),null;case 22:case 23:return lu(),null;case 24:return null;default:return null}}var Br=!1,se=!1,Bp=typeof WeakSet=="function"?WeakSet:Set,P=null;function nn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function ii(e,t,n){try{n()}catch(r){W(e,t,r)}}var ms=!1;function zp(e,t){if(Wo=tl,e=za(),Mi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,c=0,m=0,p=e,h=null;t:for(;;){for(var A;p!==n||l!==0&&p.nodeType!==3||(u=i+l),p!==o||r!==0&&p.nodeType!==3||(s=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(A=p.firstChild)!==null;)h=p,p=A;for(;;){if(p===e)break t;if(h===n&&++c===l&&(u=i),h===o&&++m===r&&(s=i),(A=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=A}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Go={focusedElem:e,selectionRange:n},tl=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,x=w.memoizedState,d=t.stateNode,a=d.getSnapshotBeforeUpdate(t.elementType===t.type?y:ze(t.type,y),x);d.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(g){W(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return w=ms,ms=!1,w}function Wn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&ii(t,n,o)}l=l.next}while(l!==r)}}function Rl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ui(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Rc(e){var t=e.alternate;t!==null&&(e.alternate=null,Rc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ge],delete t[rr],delete t[Yo],delete t[gp],delete t[yp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Dc(e){return e.tag===5||e.tag===3||e.tag===4}function hs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Dc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function si(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ll));else if(r!==4&&(e=e.child,e!==null))for(si(e,t,n),e=e.sibling;e!==null;)si(e,t,n),e=e.sibling}function ai(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ai(e,t,n),e=e.sibling;e!==null;)ai(e,t,n),e=e.sibling}var ne=null,Me=!1;function rt(e,t,n){for(n=n.child;n!==null;)Ic(e,t,n),n=n.sibling}function Ic(e,t,n){if(Xe&&typeof Xe.onCommitFiberUnmount=="function")try{Xe.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:se||nn(n,t);case 6:var r=ne,l=Me;ne=null,rt(e,t,n),ne=r,Me=l,ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?ao(e.parentNode,n):e.nodeType===1&&ao(e,n),$n(e)):ao(ne,n.stateNode));break;case 4:r=ne,l=Me,ne=n.stateNode.containerInfo,Me=!0,rt(e,t,n),ne=r,Me=l;break;case 0:case 11:case 14:case 15:if(!se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&ii(n,t,i),l=l.next}while(l!==r)}rt(e,t,n);break;case 1:if(!se&&(nn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}rt(e,t,n);break;case 21:rt(e,t,n);break;case 22:n.mode&1?(se=(r=se)||n.memoizedState!==null,rt(e,t,n),se=r):rt(e,t,n);break;default:rt(e,t,n)}}function vs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Bp),t.forEach(function(r){var l=Gp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Be(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fp(r/1960))-r,10e?16:e,at===null)var r=!1;else{if(e=at,at=null,gl=0,B&6)throw Error(S(331));var l=B;for(B|=4,P=e.current;P!==null;){var o=P,i=o.child;if(P.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sJ()-nu?Dt(e,0):tu|=n),Ae(e,t)}function Hc(e,t){t===0&&(e.mode&1?(t=Pr,Pr<<=1,!(Pr&130023424)&&(Pr=4194304)):t=1);var n=de();e=et(e,t),e!==null&&(pr(e,t,n),Ae(e,n))}function Wp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hc(e,n)}function Gp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Hc(e,n)}var Vc;Vc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ge.current)ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ve=!1,Rp(e,t,n);ve=!!(e.flags&131072)}else ve=!1,U&&t.flags&1048576&&Ja(t,sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Jr(e,t),e=t.pendingProps;var l=dn(t,ae.current);an(t,n),l=Zi(null,t,r,e,l,n);var o=_i();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(o=!0,il(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(t),l.updater=Ol,t.stateNode=l,l._reactInternals=t,bo(t,r,e,n),t=ni(null,t,r,!0,o,n)):(t.tag=0,U&&o&&Fi(t),fe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Jr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Jp(r),e=ze(r,e),l){case 0:t=ti(null,t,r,e,n);break e;case 1:t=fs(null,t,r,e,n);break e;case 11:t=as(null,t,r,e,n);break e;case 14:t=cs(null,t,r,ze(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),ti(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),fs(e,t,r,l,n);case 3:e:{if(Pc(t),e===null)throw Error(S(387));r=t.pendingProps,o=t.memoizedState,l=o.element,$a(e,t),fl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=vn(Error(S(423)),t),t=ds(e,t,r,n,l);break e}else if(r!==l){l=vn(Error(S(424)),t),t=ds(e,t,r,n,l);break e}else for(Se=mt(t.stateNode.containerInfo.firstChild),ke=t,U=!0,Fe=null,n=_a(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(pn(),r===l){t=tt(e,t,n);break e}fe(e,t,r,n)}t=t.child}return t;case 5:return ba(t),e===null&&_o(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Xo(r,l)?i=null:o!==null&&Xo(r,o)&&(t.flags|=32),xc(e,t),fe(e,t,i,n),t.child;case 6:return e===null&&_o(t),null;case 13:return Ec(e,t,n);case 4:return Xi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mn(t,null,r,n):fe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),as(e,t,r,l,n);case 7:return fe(e,t,t.pendingProps,n),t.child;case 8:return fe(e,t,t.pendingProps.children,n),t.child;case 12:return fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,M(al,r._currentValue),r._currentValue=i,o!==null)if(Qe(o.value,i)){if(o.children===l.children&&!ge.current){t=tt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=qe(-1,n&-n),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),qo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(S(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),qo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}fe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,an(t,n),l=Re(l),r=r(l),t.flags|=1,fe(e,t,r,n),t.child;case 14:return r=t.type,l=ze(r,t.pendingProps),l=ze(r.type,l),cs(e,t,r,l,n);case 15:return kc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Jr(e,t),t.tag=1,ye(r)?(e=!0,il(t)):e=!1,an(t,n),Ac(t,r,l),bo(t,r,l,n),ni(null,t,r,!0,e,n);case 19:return Tc(e,t,n);case 22:return Cc(e,t,n)}throw Error(S(156,t.tag))};function Wc(e,t){return va(e,t)}function Xp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,t,n,r){return new Xp(e,t,n,r)}function iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jp(e){if(typeof e=="function")return iu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pi)return 11;if(e===Ei)return 14}return 2}function yt(e,t){var n=e.alternate;return n===null?(n=je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")iu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Yt:return It(n.children,l,o,t);case xi:i=8,l|=8;break;case Co:return e=je(12,n,t,l|2),e.elementType=Co,e.lanes=o,e;case xo:return e=je(13,n,t,l),e.elementType=xo,e.lanes=o,e;case Po:return e=je(19,n,t,l),e.elementType=Po,e.lanes=o,e;case bs:return Il(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qs:i=10;break e;case $s:i=9;break e;case Pi:i=11;break e;case Ei:i=14;break e;case lt:i=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=je(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function It(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function Il(e,t,n,r){return e=je(22,e,r,t),e.elementType=bs,e.lanes=n,e.stateNode={isHidden:!1},e}function yo(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function Ao(e,t,n){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function uu(e,t,n,r,l,o,i,u,s){return e=new Yp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(o),e}function Kp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yc)}catch(e){console.error(e)}}Yc(),Ys.exports=xe;var bp=Ys.exports,xs=bp;So.createRoot=xs.createRoot,So.hydrateRoot=xs.hydrateRoot;function em(){const e="cookie-accepted",[t,n]=k.useState(localStorage.getItem(e)!=="true");return v.jsx(v.Fragment,{children:t&&v.jsxs("div",{className:"cookie-message",children:[v.jsx("h2",{children:"This website uses cookies to ensure you get the best experience on our website."}),v.jsx("button",{className:"btn",onClick:()=>{n(!1),localStorage.setItem(e,"true")},children:"Okay"})]})})}class K{static setBackGroundColor(t="white"){document.documentElement.style.setProperty("--bg-color",t)}static setFontColor(t="black"){document.documentElement.style.setProperty("--font-color",t)}static setPrimaryColor(t="#436fe9"){document.documentElement.style.setProperty("--primary-color",t)}static setSecondaryColor(t="#E9BD43"){document.documentElement.style.setProperty("--secondary-color",t)}static setFontFamily(t="Ubuntu"){document.documentElement.style.setProperty("--font-family",t)}static setDefaultValues(t=!1){t?(K.setBackGroundColor("#1D2B53"),K.setFontColor("#fff"),K.setPrimaryColor("#FF004D"),K.setSecondaryColor("#FAEF5D")):(K.setBackGroundColor(),K.setFontColor(),K.setPrimaryColor(),K.setSecondaryColor()),K.setFontFamily()}}const fu=An.createContext({isDarkModeEnabled:()=>!1,toggleTheme:()=>{}});function du(){const e=An.useContext(fu);if(!e)throw new Error("useIsDarkModeEnabled must be used within a ThemeProvider");return e.isDarkModeEnabled}function tm(){const e=An.useContext(fu);if(!e)throw new Error("useToggleTheme must be used within a ThemeProvider");return e.toggleTheme}function nm({children:e}){const t="bsh-is-dark-mode",n=()=>{const u=localStorage.getItem(t);return u?u==="true":rm()},[r,l]=An.useState(n());k.useEffect(()=>{K.setDefaultValues(r)},[]);const o=()=>r,i=()=>{const u=!r;K.setDefaultValues(u),l(u),localStorage.setItem(t,u.toString())};return v.jsx(fu.Provider,{value:{isDarkModeEnabled:o,toggleTheme:i},children:e})}function rm(){return window.matchMedia("(prefers-color-scheme: dark)").matches}/** * @remix-run/router v1.19.1 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function pu(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function om(){return Math.random().toString(36).substr(2,8)}function Es(e,t){return{usr:e.state,key:e.key,idx:t}}function mi(e,t,n,r){return n===void 0&&(n=null),cr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Vt(t):t,{state:n,key:t&&t.key||r||om()})}function Kc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Vt(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function im(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=ct.Pop,s=null,c=m();c==null&&(c=0,i.replaceState(cr({},i.state,{idx:c}),""));function m(){return(i.state||{idx:null}).idx}function p(){u=ct.Pop;let x=m(),d=x==null?null:x-c;c=x,s&&s({action:u,location:S.location,delta:d})}function h(x,d){u=ct.Push;let a=mi(S.location,x,d);n&&n(a,x),c=m()+1;let f=Es(a,c),g=S.createHref(a);try{i.pushState(f,"",g)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(g)}o&&s&&s({action:u,location:S.location,delta:1})}function A(x,d){u=ct.Replace;let a=mi(S.location,x,d);n&&n(a,x),c=m();let f=Es(a,c),g=S.createHref(a);i.replaceState(f,"",g),o&&s&&s({action:u,location:S.location,delta:0})}function y(x){let d=l.location.origin!=="null"?l.location.origin:l.location.href,a=typeof x=="string"?x:Kc(x);return a=a.replace(/ $/,"%20"),q(d,"No window.location.(origin|href) available to create URL for href: "+a),new URL(a,d)}let S={get action(){return u},get location(){return e(l,i)},listen(x){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(Ps,p),s=x,()=>{l.removeEventListener(Ps,p),s=null}},createHref(x){return t(l,x)},createURL:y,encodeLocation(x){let d=y(x);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:h,replace:A,go(x){return i.go(x)}};return S}var Ts;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ts||(Ts={}));function um(e,t,n){return n===void 0&&(n="/"),sm(e,t,n,!1)}function sm(e,t,n,r){let l=typeof t=="string"?Vt(t):t,o=qc(l.pathname||"/",n);if(o==null)return null;let i=Zc(e);am(i);let u=null;for(let s=0;u==null&&s{let s={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(q(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let c=Bt([r,s.relativePath]),m=n.concat(s);o.children&&o.children.length>0&&(q(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Zc(o.children,t,m,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:vm(c,o.index),routesMeta:m})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let s of _c(o.path))l(o,i,s)}),t}function _c(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=_c(r.join("/")),u=[];return u.push(...i.map(s=>s===""?o:[o,s].join("/"))),l&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function am(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:gm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const cm=/^:[\w-]+$/,fm=3,dm=2,pm=1,mm=10,hm=-2,Ns=e=>e==="*";function vm(e,t){let n=e.split("/"),r=n.length;return n.some(Ns)&&(r+=hm),t&&(r+=dm),n.filter(l=>!Ns(l)).reduce((l,o)=>l+(cm.test(o)?fm:o===""?pm:mm),r)}function gm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function ym(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let u=0;u{let{paramName:h,isOptional:A}=m;if(h==="*"){let S=u[p]||"";i=o.slice(0,o.length-S.length).replace(/(.)\/+$/,"$1")}const y=u[p];return A&&!y?c[h]=void 0:c[h]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:i,pattern:e}}function Am(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),pu(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function wm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return pu(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function qc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Sm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Vt(e):e;return{pathname:n?n.startsWith("/")?n:km(n,t):t,search:Tm(r),hash:Nm(l)}}function km(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function wo(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Cm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function xm(e,t){let n=Cm(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Pm(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Vt(e):(l=cr({},e),q(!l.pathname||!l.pathname.includes("?"),wo("?","pathname","search",l)),q(!l.pathname||!l.pathname.includes("#"),wo("#","pathname","hash",l)),q(!l.search||!l.search.includes("#"),wo("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(i==null)u=n;else{let p=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),p-=1;l.pathname=h.join("/")}u=p>=0?t[p]:"/"}let s=Sm(l,u),c=i&&i!=="/"&&i.endsWith("/"),m=(o||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(c||m)&&(s.pathname+="/"),s}const Bt=e=>e.join("/").replace(/\/\/+/g,"/"),Em=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Tm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Nm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function jm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const $c=["post","put","patch","delete"];new Set($c);const Om=["get",...$c];new Set(Om);/** + */function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function pu(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function om(){return Math.random().toString(36).substr(2,8)}function Es(e,t){return{usr:e.state,key:e.key,idx:t}}function mi(e,t,n,r){return n===void 0&&(n=null),cr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Vt(t):t,{state:n,key:t&&t.key||r||om()})}function Kc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Vt(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function im(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=ct.Pop,s=null,c=m();c==null&&(c=0,i.replaceState(cr({},i.state,{idx:c}),""));function m(){return(i.state||{idx:null}).idx}function p(){u=ct.Pop;let x=m(),d=x==null?null:x-c;c=x,s&&s({action:u,location:y.location,delta:d})}function h(x,d){u=ct.Push;let a=mi(y.location,x,d);n&&n(a,x),c=m()+1;let f=Es(a,c),g=y.createHref(a);try{i.pushState(f,"",g)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(g)}o&&s&&s({action:u,location:y.location,delta:1})}function A(x,d){u=ct.Replace;let a=mi(y.location,x,d);n&&n(a,x),c=m();let f=Es(a,c),g=y.createHref(a);i.replaceState(f,"",g),o&&s&&s({action:u,location:y.location,delta:0})}function w(x){let d=l.location.origin!=="null"?l.location.origin:l.location.href,a=typeof x=="string"?x:Kc(x);return a=a.replace(/ $/,"%20"),q(d,"No window.location.(origin|href) available to create URL for href: "+a),new URL(a,d)}let y={get action(){return u},get location(){return e(l,i)},listen(x){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(Ps,p),s=x,()=>{l.removeEventListener(Ps,p),s=null}},createHref(x){return t(l,x)},createURL:w,encodeLocation(x){let d=w(x);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:h,replace:A,go(x){return i.go(x)}};return y}var Ts;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ts||(Ts={}));function um(e,t,n){return n===void 0&&(n="/"),sm(e,t,n,!1)}function sm(e,t,n,r){let l=typeof t=="string"?Vt(t):t,o=qc(l.pathname||"/",n);if(o==null)return null;let i=Zc(e);am(i);let u=null;for(let s=0;u==null&&s{let s={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(q(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let c=Bt([r,s.relativePath]),m=n.concat(s);o.children&&o.children.length>0&&(q(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Zc(o.children,t,m,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:vm(c,o.index),routesMeta:m})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let s of _c(o.path))l(o,i,s)}),t}function _c(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=_c(r.join("/")),u=[];return u.push(...i.map(s=>s===""?o:[o,s].join("/"))),l&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function am(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:gm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const cm=/^:[\w-]+$/,fm=3,dm=2,pm=1,mm=10,hm=-2,Ns=e=>e==="*";function vm(e,t){let n=e.split("/"),r=n.length;return n.some(Ns)&&(r+=hm),t&&(r+=dm),n.filter(l=>!Ns(l)).reduce((l,o)=>l+(cm.test(o)?fm:o===""?pm:mm),r)}function gm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function ym(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let u=0;u{let{paramName:h,isOptional:A}=m;if(h==="*"){let y=u[p]||"";i=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const w=u[p];return A&&!w?c[h]=void 0:c[h]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:i,pattern:e}}function Am(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),pu(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function wm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return pu(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function qc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Sm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Vt(e):e;return{pathname:n?n.startsWith("/")?n:km(n,t):t,search:Tm(r),hash:Nm(l)}}function km(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function wo(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Cm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function xm(e,t){let n=Cm(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Pm(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Vt(e):(l=cr({},e),q(!l.pathname||!l.pathname.includes("?"),wo("?","pathname","search",l)),q(!l.pathname||!l.pathname.includes("#"),wo("#","pathname","hash",l)),q(!l.search||!l.search.includes("#"),wo("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(i==null)u=n;else{let p=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),p-=1;l.pathname=h.join("/")}u=p>=0?t[p]:"/"}let s=Sm(l,u),c=i&&i!=="/"&&i.endsWith("/"),m=(o||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(c||m)&&(s.pathname+="/"),s}const Bt=e=>e.join("/").replace(/\/\/+/g,"/"),Em=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Tm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Nm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function jm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const $c=["post","put","patch","delete"];new Set($c);const Om=["get",...$c];new Set(Om);/** * React Router v6.26.1 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),k.useCallback(function(c,m){if(m===void 0&&(m={}),!u.current)return;if(typeof c=="number"){r.go(c);return}let p=Pm(c,JSON.parse(i),o,m.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Bt([t,p.pathname])),(m.replace?r.replace:r.push)(p,m.state,m)},[t,r,i,o,e])}function Im(e,t){return Bm(e,t)}function Bm(e,t,n,r){Ql()||q(!1);let{navigator:l}=k.useContext(Ll),{matches:o}=k.useContext(kn),i=o[o.length-1],u=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let c=ef(),m;if(t){var p;let x=typeof t=="string"?Vt(t):t;s==="/"||(p=x.pathname)!=null&&p.startsWith(s)||q(!1),m=x}else m=c;let h=m.pathname||"/",A=h;if(s!=="/"){let x=s.replace(/^\//,"").split("/");A="/"+h.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=um(e,{pathname:A}),S=Um(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},u,x.params),pathname:Bt([s,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?s:Bt([s,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&S?k.createElement(Ul.Provider,{value:{location:fr({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:ct.Pop}},S):S}function zm(){let e=Wm(),t=jm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,null)}const Mm=k.createElement(zm,null);class Fm extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?k.createElement(kn.Provider,{value:this.props.routeContext},k.createElement(bc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Lm(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(mu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(kn.Provider,{value:t},r)}function Um(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let m=i.findIndex(p=>p.route.id&&(u==null?void 0:u[p.route.id])!==void 0);m>=0||q(!1),i=i.slice(0,Math.min(i.length,m+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((m,p,h)=>{let A,y=!1,S=null,x=null;n&&(A=u&&p.route.id?u[p.route.id]:void 0,S=p.route.errorElement||Mm,s&&(c<0&&h===0?(y=!0,x=null):c===h&&(y=!0,x=p.route.hydrateFallbackElement||null)));let d=t.concat(i.slice(0,h+1)),a=()=>{let f;return A?f=S:y?f=x:p.route.Component?f=k.createElement(p.route.Component,null):p.route.element?f=p.route.element:f=m,k.createElement(Lm,{match:p,routeContext:{outlet:m,matches:d,isDataRoute:n!=null},children:f})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?k.createElement(Fm,{location:n.location,revalidation:n.revalidation,component:S,error:A,children:a(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):a()},null)}var nf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nf||{}),wl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(wl||{});function Qm(e){let t=k.useContext(mu);return t||q(!1),t}function Hm(e){let t=k.useContext(Rm);return t||q(!1),t}function Vm(e){let t=k.useContext(kn);return t||q(!1),t}function rf(e){let t=Vm(),n=t.matches[t.matches.length-1];return n.route.id||q(!1),n.route.id}function Wm(){var e;let t=k.useContext(bc),n=Hm(wl.UseRouteError),r=rf(wl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Gm(){let{router:e}=Qm(nf.UseNavigateStable),t=rf(wl.UseNavigateStable),n=k.useRef(!1);return tf(()=>{n.current=!0}),k.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,fr({fromRouteId:t},o)))},[e,t])}function Nt(e){q(!1)}function Xm(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ct.Pop,navigator:o,static:i=!1,future:u}=e;Ql()&&q(!1);let s=t.replace(/^\/*/,"/"),c=k.useMemo(()=>({basename:s,navigator:o,static:i,future:fr({v7_relativeSplatPath:!1},u)}),[s,u,o,i]);typeof r=="string"&&(r=Vt(r));let{pathname:m="/",search:p="",hash:h="",state:A=null,key:y="default"}=r,S=k.useMemo(()=>{let x=qc(m,s);return x==null?null:{location:{pathname:x,search:p,hash:h,state:A,key:y},navigationType:l}},[s,m,p,h,A,y,l]);return S==null?null:k.createElement(Ll.Provider,{value:c},k.createElement(Ul.Provider,{children:n,value:S}))}function Jm(e){let{children:t,location:n}=e;return Im(hi(t),n)}new Promise(()=>{});function hi(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let o=[...t,l];if(r.type===k.Fragment){n.push.apply(n,hi(r.props.children,o));return}r.type!==Nt&&q(!1),!r.props.index||!r.props.children||q(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=hi(r.props.children,o)),n.push(i)}),n}/** + */function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),k.useCallback(function(c,m){if(m===void 0&&(m={}),!u.current)return;if(typeof c=="number"){r.go(c);return}let p=Pm(c,JSON.parse(i),o,m.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Bt([t,p.pathname])),(m.replace?r.replace:r.push)(p,m.state,m)},[t,r,i,o,e])}function Im(e,t){return Bm(e,t)}function Bm(e,t,n,r){Ql()||q(!1);let{navigator:l}=k.useContext(Ll),{matches:o}=k.useContext(kn),i=o[o.length-1],u=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let c=ef(),m;if(t){var p;let x=typeof t=="string"?Vt(t):t;s==="/"||(p=x.pathname)!=null&&p.startsWith(s)||q(!1),m=x}else m=c;let h=m.pathname||"/",A=h;if(s!=="/"){let x=s.replace(/^\//,"").split("/");A="/"+h.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=um(e,{pathname:A}),y=Um(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},u,x.params),pathname:Bt([s,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?s:Bt([s,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&y?k.createElement(Ul.Provider,{value:{location:fr({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:ct.Pop}},y):y}function zm(){let e=Wm(),t=jm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,null)}const Mm=k.createElement(zm,null);class Fm extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?k.createElement(kn.Provider,{value:this.props.routeContext},k.createElement(bc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Lm(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(mu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(kn.Provider,{value:t},r)}function Um(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let m=i.findIndex(p=>p.route.id&&(u==null?void 0:u[p.route.id])!==void 0);m>=0||q(!1),i=i.slice(0,Math.min(i.length,m+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((m,p,h)=>{let A,w=!1,y=null,x=null;n&&(A=u&&p.route.id?u[p.route.id]:void 0,y=p.route.errorElement||Mm,s&&(c<0&&h===0?(w=!0,x=null):c===h&&(w=!0,x=p.route.hydrateFallbackElement||null)));let d=t.concat(i.slice(0,h+1)),a=()=>{let f;return A?f=y:w?f=x:p.route.Component?f=k.createElement(p.route.Component,null):p.route.element?f=p.route.element:f=m,k.createElement(Lm,{match:p,routeContext:{outlet:m,matches:d,isDataRoute:n!=null},children:f})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?k.createElement(Fm,{location:n.location,revalidation:n.revalidation,component:y,error:A,children:a(),routeContext:{outlet:null,matches:d,isDataRoute:!0}}):a()},null)}var nf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nf||{}),wl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(wl||{});function Qm(e){let t=k.useContext(mu);return t||q(!1),t}function Hm(e){let t=k.useContext(Rm);return t||q(!1),t}function Vm(e){let t=k.useContext(kn);return t||q(!1),t}function rf(e){let t=Vm(),n=t.matches[t.matches.length-1];return n.route.id||q(!1),n.route.id}function Wm(){var e;let t=k.useContext(bc),n=Hm(wl.UseRouteError),r=rf(wl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Gm(){let{router:e}=Qm(nf.UseNavigateStable),t=rf(wl.UseNavigateStable),n=k.useRef(!1);return tf(()=>{n.current=!0}),k.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,fr({fromRouteId:t},o)))},[e,t])}function Nt(e){q(!1)}function Xm(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ct.Pop,navigator:o,static:i=!1,future:u}=e;Ql()&&q(!1);let s=t.replace(/^\/*/,"/"),c=k.useMemo(()=>({basename:s,navigator:o,static:i,future:fr({v7_relativeSplatPath:!1},u)}),[s,u,o,i]);typeof r=="string"&&(r=Vt(r));let{pathname:m="/",search:p="",hash:h="",state:A=null,key:w="default"}=r,y=k.useMemo(()=>{let x=qc(m,s);return x==null?null:{location:{pathname:x,search:p,hash:h,state:A,key:w},navigationType:l}},[s,m,p,h,A,w,l]);return y==null?null:k.createElement(Ll.Provider,{value:c},k.createElement(Ul.Provider,{children:n,value:y}))}function Jm(e){let{children:t,location:n}=e;return Im(hi(t),n)}new Promise(()=>{});function hi(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let o=[...t,l];if(r.type===k.Fragment){n.push.apply(n,hi(r.props.children,o));return}r.type!==Nt&&q(!1),!r.props.index||!r.props.children||q(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=hi(r.props.children,o)),n.push(i)}),n}/** * React Router DOM v6.26.1 * * Copyright (c) Remix Software Inc. @@ -64,4 +64,4 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */const Ym="6";try{window.__reactRouterVersion=Ym}catch{}const Km="startTransition",Os=Vf[Km];function Zm(e){let{basename:t,children:n,future:r,window:l}=e,o=k.useRef();o.current==null&&(o.current=lm({window:l,v5Compat:!0}));let i=o.current,[u,s]=k.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},m=k.useCallback(p=>{c&&Os?Os(()=>s(p)):s(p)},[s,c]);return k.useLayoutEffect(()=>i.listen(m),[i,m]),k.createElement(Xm,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}var Rs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Rs||(Rs={}));var Ds;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ds||(Ds={}));function Hl(){return v.jsxs("div",{style:{marginTop:"50px",marginBottom:"50px",fontSize:"16px",display:"flex",justifyContent:"center",flexDirection:"column"},children:[v.jsxs("div",{className:"mb",children:["by"," ",v.jsx("a",{href:"https://philipp-bonin.com/",target:"_blank",children:"Philipp B."})]}),v.jsx("div",{className:"print-hide",children:v.jsxs("a",{href:"https://github.com/cophilot/board-score-hub",target:"_blank",style:{cursor:"pointer"},children:["Contribute on"," ",v.jsx("i",{className:"bi bi-github",style:{fontSize:"26px"}})]})})]})}var ce=(e=>(e.MOST="most",e.LEAST="least",e.NONE="none",e))(ce||{});function _m(e){switch(e){case"most":return Math.max;case"least":return Math.min;case"none":return()=>{}}}const qm="/assets/goal-tile-top-CJTvaweW.png",$m="/assets/goal-tile-right-Bd87vjzg.png",bm="/assets/goal-tile-left-D4ynd_1h.png",eh="/assets/cat-tokens-DcnAnrqD.png",th="/assets/button-tokens-CunxKXsf.png";class ue{}He(ue,"HANDWRITING","Pacifico, cursive"),He(ue,"HANDWRITING_SIMPLE","Edu AU VIC WA NT Hand, cursive"),He(ue,"ELEGANT","Great Vibes, cursive"),He(ue,"PLAYFUL","Cardenio Modern, sans-serif"),He(ue,"MODERN","AvantGarde Bk BT, sans-serif"),He(ue,"FUTURISTIC","Realpolitik, sans-serif"),He(ue,"ANCIENT","Julius Sans One, sans-serif"),He(ue,"CLASSIC","Noto Serif Toto, sans-serif");function lf(){return{title:"Calico",bgColor:"#fbf8f0",fontColor:"#000",primaryColor:"#142688",secondaryColor:"#c12966",fontFamily:ue.CLASSIC,playerSizes:[1,2,3,4],winMode:ce.MOST,rows:[{name:"Top Goal Tile",icon:qm,bgColor:"#6c993b"},{name:"Left Goal Tile",icon:bm,bgColor:"#792a94"},{name:"Right Goal Tile",icon:$m,bgColor:"#ffac33"},{name:"Cat Tokens",icon:eh,bgColor:"#582895"},{name:"Button Tokens",icon:th,bgColor:"#68cfda"}]}}function nh({playerSizes:e,initPlayerSize:t,onPlayerSizeChange:n}){const r=e&&Math.min(...e),[l,o]=k.useState(t||r);return!e||e.length<=1?null:v.jsxs(v.Fragment,{children:[v.jsx("h2",{className:"print-hide",children:"Players"}),v.jsx("div",{className:"player-switch print-hide",children:e.map(i=>v.jsx("button",{className:"btn "+(i===l?"selected":""),onClick:()=>{o(i),n(i)},children:i},i))})]})}class ee{static getStorageKeyFromTitle(t,n=""){let r=t.toLowerCase()+"-storage";return n!==""&&(r+="-"+n.toLowerCase()),r}static deleteStorage(t){Object.keys(localStorage).filter(l=>l.includes(t.toLowerCase())).forEach(l=>localStorage.removeItem(l))}static getPlayerNames(t,n=[]){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"player-names"));return r===null?n:JSON.parse(r)}static setPlayerNames(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"player-names"),JSON.stringify(n))}static getPlayerSize(t,n=2){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"player-size"));return r===null?n:parseInt(r)}static setPlayerSize(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"player-size"),n.toString())}static getGameMatrix(t,n=[]){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"matrix"));return r===null?n:JSON.parse(r)}static setGameMatrix(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"matrix"),JSON.stringify(n))}static setGameSettings(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"settings"),JSON.stringify(n))}static getGameSettings(t,n={}){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"settings"));return r===null?n:JSON.parse(r)}}function rh({definition:e,playerSize:t,gameSettings:n,onCellChange:r}){const l=Array.from(Array(t).keys()),o=e.rows||[],i=sh(e),[u,s]=k.useState(ee.getGameMatrix(e.title,uh(o.length,t))),[c,m]=k.useState(Array.from(Array(t).keys()).map(()=>0)),[p,h]=k.useState(ee.getPlayerNames(e.title,[])),[A,y]=k.useState(-1);k.useEffect(()=>{e.roundMapper&&y(e.roundMapper[t])},[e.roundMapper,t]),k.useEffect(()=>{const a=Array.from(Array(t).keys()).map(f=>oh(u,f,A));m(a)},[t,u]);const S=(a,f)=>u[a]&&u[a][f]||0,x=(a,f,g)=>{let C=!1;const T=u.map((N,j)=>(j===a&&(N[f]=Number(g),C=!0),N));C||(T.push(Array.from(Array(t).keys()).map(()=>0)),T[T.length-1][f]=Number(g)),s(T),ee.setGameMatrix(e.title,T),r&&r(a,f,g)},d=()=>{const a=e.winMode||ce.MOST,g=_m(a)(...c);return c.every(C=>C===g)?null:g};return v.jsxs("table",{className:"board-score-table",style:i,children:[v.jsx("thead",{children:v.jsxs("tr",{children:[v.jsx("th",{},"-1"),l.map(a=>v.jsx("th",{children:v.jsx("input",{type:"text",placeholder:"P"+(a+1),value:p[a]||"",onChange:f=>{const g=p.slice();g[a]=f.target.value.toUpperCase(),h(g),ee.setPlayerNames(e.title,g)}})},a))]},"header")}),v.jsxs("tbody",{children:[o.map((a,f)=>(A===-1||fv.jsx(lh,{row:a,rowIndex:f,playerIndex:g,getValueFunction:S,setValueFunction:x},g))]},f)]})),v.jsxs("tr",{className:"total-row",children:[v.jsx(Is,{row:{name:"Total"}}),c.map((a,f)=>v.jsx("td",{className:"total-cell "+(d()==a?"win":""),children:isNaN(a)?0:a},f))]},"total")]})]})}function lh({row:e,rowIndex:t,playerIndex:n,getValueFunction:r,setValueFunction:l}){let o=r(t,n);o===0&&(o="");const i=u=>{if(isNaN(u))return;let s=Number(u);e.negative&&s>0&&(s*=-1),l(t,n,s)};return v.jsx("td",{children:v.jsx("input",{type:"number",inputMode:"numeric",onChange:u=>i(u.target.value),value:o})})}function Is({row:e}){let t=e.name;return e.icon&&(t=v.jsx("img",{src:e.icon,alt:e.name,className:"row-icon"})),v.jsx("td",{style:{fontWeight:"bold"},children:t})}const oh=(e,t,n=-1)=>e.reduce((r,l,o)=>n!==-1&&o>=n||isNaN(l[t])?r:r+l[t],0);function ih(e,t,n){const r={};return e.bgColor?r.backgroundColor=e.bgColor:t.stripColor&&n%2===1&&(r.backgroundColor=t.stripColor),e.fontColor&&(r.color=e.fontColor),r}function uh(e,t){return Array.from(Array(e).keys()).map(()=>Array.from(Array(t).keys()).map(()=>0))}function sh(e){const t={};return t.borderSpacing=Bs(e,"tableSpacing",0),t.border=Bs(e,"tableBorder","2px solid var(--primary-color)"),t}function Bs(e,t,n){return e[t]||n}class Fr{static hideElementsWithClass(t){const n=document.getElementsByClassName(t),r=[];for(let l=0;l{u(y),ee.setPlayerSize(e.title,y)},p=y=>{c(y),ee.setGameSettings(e.title,y)};k.useEffect(()=>{setTimeout(()=>{ch(e,l)},10)},[e,l]);const h=new Date().toLocaleDateString(),A=e.rows.some(y=>y.icon);return v.jsxs("div",{className:"board-score-page",children:[r,e.title&&v.jsx("h1",{children:e.title}),v.jsx("h2",{className:"print-show",children:v.jsx("i",{children:h})}),v.jsx(nh,{playerSizes:e.playerSizes,initPlayerSize:i,onPlayerSizeChange:m}),v.jsx(rh,{onCellChange:n,definition:e,gameSettings:s,playerSize:i}),A&&v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{const y={...s,showHelp:!s.showHelp};p(y)},children:s.showHelp?"Hide Help":"Help"}),v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:ah,children:"Export"}),v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{ee.deleteStorage(e.title),window.location.reload()},children:"Clear"}),v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{o("/")},children:"Home"}),v.jsx("h2",{className:"print-show",children:v.jsx("i",{children:"board-score-hub.philipp-bonin.com"})}),t]})}function ah(){const e=Fr.hideElementsWithClass("print-hide");Fr.showElementsWithClass("print-show"),setTimeout(()=>{const t=document.documentElement.outerHTML,n=window.open("","printwindow");if(!n){alert("Please allow popups for this website");return}n.document.write(t),setTimeout(()=>{n.print(),n.close(),setTimeout(()=>{Fr.showElementsWithClass("print-hide",e),Fr.hideElementsWithClass("print-show")},500)},500)},500)}function ch(e,t){K.setDefaultValues(t),Gt(e.title,n=>{document.title=n+" - BoardScoreHub"}),Gt(e.bgColor,K.setBackGroundColor),Gt(e.fontColor,K.setFontColor),Gt(e.primaryColor,K.setPrimaryColor),Gt(e.secondaryColor,K.setSecondaryColor),Gt(e.fontFamily,K.setFontFamily)}function Gt(e,t){if(e!=null){t(e);return}}const fh="/assets/logo-BkGRsgQ-.png",dh="/assets/logo-white-D5pf4RvS.png";class ph{static hexToRgb(t){t=t.replace(/^#/,"");const n=parseInt(t,16),r=n>>16&255,l=n>>8&255,o=n&255;return[r,l,o]}static luminance(t){const[n,r,l]=t.map(o=>(o/=255,o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)));return .2126*n+.7152*r+.0722*l}static isDarkColor(t){const n=this.hexToRgb(t);return this.luminance(n)<.05}}function Vl({size:e=200,bgColor:t="#fff",detectDarkMode:n=!1}){const r=du();n&&(t=r()?"#000":"#fff");let l=fh;ph.isDarkColor(t)&&(l=dh);const o={width:e,height:e,marginTop:20};return v.jsx("div",{className:"logo",children:v.jsx("img",{src:l,alt:"BoardGameHub",style:o})})}function Ee({definition:e}){const t=v.jsx(Vl,{size:100,bgColor:e.bgColor||"#fff"});return v.jsx(of,{definition:e,logo:t,children:v.jsx(Hl,{})})}function mh(){return v.jsx(Ee,{definition:lf()})}const hh={view:mh,definition:lf()},vh="/assets/tree-6XAsnF0O.png",gh="/assets/field-DbFukuCU.png",yh="/assets/house-CDamRoKu.png",Ah="/assets/rail-MrSAd69Q.png",wh="/assets/river-DspDSLJu.png",Sh="/assets/border-CHSImG3J.png",kh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAHdElNRQfoBxYLByZgiBvHAAAIfklEQVR42u2bWWxU1xnHf9+9Mx57MLYJmNVODCQqUAqYhIQloRBUUkIpCdR2CFFVBH2Iqqp9rNSnqmofKuWlD20qlaStmsYLOCipIG1Qs9GmjowX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uDobok1FWkPKQoCuMbq51gH4VJDyyQDZWV+lBKkg84xUkPKpy1z8VJAS9G3pLL7MUq0tTqchFaQUIQiakhFGt9R6amHa7S1FIkCDrKswYa0FSWtI+aQ+5HwkbbJKMr5i1H5ueipICXzu11zqsuti2mSVIgkqbgDeVQ83ktaQEiiZo70OuKwedSQVpBQq/BRY2stacMzqx8CKpDWkWpgTwEuzvUxaQ6bhwKc6IRNkDG8tdrcmxwDPAwdnazOtIdNh4yh6B7AZadolCBIR1qx3Zk0FKU0oaMJYTLmDQAhEHvP/lZMKMg1CGF7BfB5YytSregR+2fJQrX/OIiUlJSUlJSUlJSUlJSUlpZ78GWSwMrW1vCX0AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTA3LTIyVDExOjAyOjAyKzAwOjAwmmwy+gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wNy0yMlQxMTowMTozOSswMDowMIyOYlwAAAAASUVORK5CYII=",Eh="/assets/longest-rail-BgqrCeHk.png",Th="/assets/longest-river-C3Mrt03k.png";function uf(){return{title:"Dorfromatik: Duel",primaryColor:"#7ba1d4",secondaryColor:"#ee776c",playerSizes:[2],winMode:ce.MOST,rows:[{name:"Tree",icon:vh},{name:"Field",icon:gh},{name:"House",icon:yh},{name:"Railway",icon:Ah},{name:"River",icon:wh},{name:"Border",icon:Sh},{name:"Six",icon:kh},{name:"Flag green",icon:Ch},{name:"Flag yellow",icon:xh},{name:"Flag red",icon:Ph},{name:"Longest Railway",icon:Eh},{name:"Longest River",icon:Th}]}}function Nh(){return v.jsx(Ee,{definition:uf()})}const jh={view:Nh,definition:uf()},Oh="/assets/basic-events-CZ0_ktSt.png",Rh="/assets/journey-2KDONO1e.png",Dh="/assets/point-token-njinAhBY.png",Ih="/assets/special-events-BJisyehW.png",Bh="/assets/village-AZ2dhzPO.png",zh="/assets/prosperity-DHLGkuQE.png";function sf(){return{title:"Everdell",bgColor:"#5c652e",fontColor:"#342a28",primaryColor:"#714839",secondaryColor:"#50446a",fontFamily:ue.HANDWRITING,playerSizes:[1,2,3,4],winMode:ce.MOST,stripColor:"#4b5729",rows:[{name:"Cards in Village",icon:Bh},{name:"Prosperity",icon:zh},{name:"Point Tokens",icon:Dh},{name:"Basic Events",icon:Oh},{name:"Special Events",icon:Ih},{name:"Journey",icon:Rh}]}}function Mh(){return v.jsx(Ee,{definition:sf()})}const Fh={view:Mh,definition:sf()},Lh="/assets/leaf-Jv3DCFCo.png",Uh="/assets/stone-Ckqn0VnU.png",Qh="/assets/flower-DYAPFgxs.png",Hh="/assets/house-DcI_Z8es.png",Vh="/assets/water-ovxDwENf.png",Xt="/assets/card-BUvh7z74.png";function af(){return{title:"Harmonies",bgColor:"#deceac",fontColor:"black",primaryColor:"#0094b8",secondaryColor:"#f7ac1f",stripColor:"#ccbd9f",fontFamily:ue.PLAYFUL,playerSizes:[1,2,3,4],winMode:ce.MOST,rows:[{name:"Leaf",icon:Lh},{name:"Stone",icon:Uh},{name:"Flower",icon:Qh},{name:"House",icon:Hh},{name:"Water",icon:Vh},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt}]}}function Wh(){return v.jsx(Ee,{definition:af()})}const Gh={view:Wh,definition:af()},Xh="/assets/mood-MKMNPc2Y.png",Jh="/assets/experience-BODftvL7.png",Yh="/assets/research-tokens-BUOm3xEE.png",Kh="/assets/trains-BlAE4BMp.png";function cf(){return{title:"Let's Go! To Japan",bgColor:"#f6f8f9",fontColor:"#000",primaryColor:"#59c4db",secondaryColor:"#eca0bc",playerSizes:[1,2,3,4,5],winMode:ce.MOST,rows:[{name:"Monday"},{name:"Tuesday"},{name:"Wednesday"},{name:"Thursday"},{name:"Friday"},{name:"Saturday"},{name:"Stress / Happiness Trackers",icon:Xh},{name:"Experience",icon:Jh},{name:"Trains",icon:Kh},{name:"Research Tokens",icon:Yh}]}}function Zh(){return v.jsx(Ee,{definition:cf()})}const _h={view:Zh,definition:cf()};function ff(){return{title:"Scout",bgColor:"#FBD800",fontColor:"#4B0082",primaryColor:"#F08600",secondaryColor:"#3E0099",fontFamily:ue.CLASSIC,playerSizes:[2,3,4,5],winMode:ce.MOST,roundMapper:{2:2,3:3,4:4,5:5},rows:[{name:"Round 1"},{name:"Round 2"},{name:"Round 3"},{name:"Round 4"},{name:"Round 5"}]}}function qh(){return v.jsx(Ee,{definition:ff()})}const $h={view:qh,definition:ff()},bh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAC01BMVEUAAAD////b7vHc7vPq9Pff8vPw+Pr5/fvV8PLr9Pfq9vjk8vb///3p9Pft9vf6+/31+vrj8vb3+/v3+vrk8/b2+vrk8/f2+/v3+vvi8vb1+fvg8fXm8vf0+fvb7vb///rr9frc7/Ts9fjx9/j4/Pzu9vje8fTh8vbq9fba7/Tf8PTj8/Xx+fr9/f7////9/v71+/vl8/bb7vHX7PHn8/by+Pv2+/zx+Pnn8vXv9vrR7u7o9Pbz+fr8/f35+/zz+frr9fnn9Pb0+vv7/P3y+fqT2d3p9Pf0+vr3+/zq9vjw9/ny+PrW6vHj8fTz+fr7/f33+vzw+Pj5/Pz7/f3l8/bz+fn6/Pzl8/by+Pjl9Pfz+Pjj8vbw9vn4+/z6/f3i8vba7PTt9vn4+/zu9fnn9Pf1+fva7vTw9/n2+vvr9fjr9ff1+vrm8/bt9vj4+/v1+vrm8/bV7vLh8vbs9ffv9/ny+fr0+frz+fvo9vfn9PXZ7/Tg8vbr9vjt9vns9fjs9vjt9fjt9fnk8/Xe8PT6/P3+/v7///////78/f33+/v9/v7u8/bb5+3T4unR4ejR4enX5evn8PP8/Pz//v74+vu50dxhmbQveZwgbpUfbpUfb5Ufb5QndJhOjKufwNDt8vX6/PynxtQlc5cAWoUA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IyVDEzOjQ2OjE3KzAwOjAw3ZB7cAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wNy0yMlQxMzo0NTo0NSswMDowMJiFZ4IAAAAASUVORK5CYII=",rv="/assets/world-wonder-DqwnqRp4.png",lv="/assets/green-chip-B7JIPrXB.png",ov="/assets/coins-BQSYgv-V.png",iv="/assets/military-BQjip8gM.png";function df(){return{title:"Seven Wonders: Duel",bgColor:"#fbdbb3",primaryColor:"#c59551",secondaryColor:"#2a7c6d",playerSizes:[2],winMode:ce.MOST,fontFamily:ue.ANCIENT,rows:[{name:"Blue cards",icon:bh,bgColor:"#c7f0fc"},{name:"Green cards",icon:ev,bgColor:"#d8edd6"},{name:"Yellow cards",icon:tv,bgColor:"#fffad9"},{name:"Purple cards",icon:nv,bgColor:"#d2cce0"},{name:"World wonders",icon:rv,bgColor:"#ececed"},{name:"Progress tokens",icon:lv,bgColor:"#d8edd6"},{name:"Coins",icon:ov,bgColor:"#fffad9"},{name:"Military",icon:iv,bgColor:"#fad2c5"}]}}function uv(){return v.jsx(Ee,{definition:df()})}const sv={view:uv,definition:df()},av="/assets/awards-CuyN8CXH.png",cv="/assets/milestones-DjliPvjX.png",fv="/assets/tree-CJEbCV1Z.png",dv="/assets/city-Cc-hAaUh.png",pv="/assets/terraforming-rating-BZStYANL.png",mv="/assets/victory-points-pnhHYkKH.png";function pf(){return{title:"Terraforming Mars",bgColor:"#a36743",primaryColor:"#612720",secondaryColor:"#ffe048",fontFamily:ue.FUTURISTIC,playerSizes:[1,2,3,4,5],winMode:ce.MOST,rows:[{name:"Terraforming Rating",icon:pv},{name:"Milestones",icon:cv},{name:"Awards",icon:av},{name:"Greenery",icon:fv},{name:"City",icon:dv},{name:"Victory Points",icon:mv}]}}function hv(){return v.jsx(Ee,{definition:pf()})}const vv={view:hv,definition:pf()};function mf(){return{title:"Wizard",bgColor:"#1F1F1F",fontColor:"#29A972",primaryColor:"#8C2225",secondaryColor:"#111D24",playerSizes:[3,4,5,6],winMode:ce.MOST,roundMapper:{3:20,4:15,5:12,6:10},rows:[{name:"Round 1"},{name:"Round 2"},{name:"Round 3"},{name:"Round 4"},{name:"Round 5"},{name:"Round 6"},{name:"Round 7"},{name:"Round 8"},{name:"Round 9"},{name:"Round 10"},{name:"Round 11"},{name:"Round 12"},{name:"Round 13"},{name:"Round 14"},{name:"Round 15"},{name:"Round 16"},{name:"Round 17"},{name:"Round 18"},{name:"Round 19"},{name:"Round 20"}]}}function gv(){return v.jsx(Ee,{definition:mf()})}const yv={view:gv,definition:mf()},Av="/assets/eggs-Ca-K5puw.png",wv="/assets/resources-D7hrPUQJ.png",Sv="/assets/round-goals-Bpl41qsf.png",kv="/assets/bonus-B45iq8SI.png",Cv="/assets/tucked-card-CXaC5tlH.png",xv="/assets/bird-DeYYxOs4.png";function hf(){return{title:"Wingspan",bgColor:"#f4f5f0",fontColor:"#73645b",primaryColor:"#9fcccf",secondaryColor:"#73645b",playerSizes:[1,2,3,4,5],fontFamily:ue.PLAYFUL,winMode:ce.MOST,rows:[{name:"Birds",icon:xv},{name:"Bonus cards",icon:kv},{name:"End-of-round goals",icon:Sv},{name:"Eggs on cards",icon:Av},{name:"Food on cards",icon:wv},{name:"Tucked cards",icon:Cv}]}}function Pv(){return v.jsx(Ee,{definition:hf()})}const Ev={view:Pv,definition:hf()},Tv="/assets/card-LYJXq0f8.png",Nv="/assets/top-DgmqI5_0.png",jv="/assets/down-11uZh1aM.png",Ov="/assets/left-CfT0wP6h.png",Rv="/assets/right-D06k6koH.png",Dv="/assets/cave-C4QJfsAM.png";function vf(){return{title:"Forest Shuffle",bgColor:"#dce2c9",fontColor:"#315a39",primaryColor:"#bbad86",secondaryColor:"#b11917",playerSizes:[2,3,4,5],winMode:ce.MOST,rows:[{name:"Tree",icon:Tv},{name:"Cards top",icon:Nv},{name:"Cards right",icon:Rv},{name:"Cards below",icon:jv},{name:"Cards left",icon:Ov},{name:"Cave",icon:Dv}]}}function Iv(){return v.jsx(Ee,{definition:vf()})}const Bv={view:Iv,definition:vf()},zv="/assets/blocked-building-DMIdqGzd.png",Mv="/assets/loan-BGtSuehl.png",Fv="/assets/resources-CIlot1cL.png",Lv="/assets/stone-Da35k483.png",Uv="/assets/vp-CVVPpd9O.png",Qv="/assets/wonders-DqsCSomD.png";function gf(){return{title:"World Wonders",bgColor:"#e8e0dd",fontColor:"#6c5f56",primaryColor:"#b39d90",secondaryColor:"#ffec33",fontFamily:ue.ANCIENT,stripColor:"#cfbeb0",playerSizes:[1,2,3,4,5],winMode:ce.MOST,rows:[{name:"Population",icon:Uv},{name:"Least Produced Resource",icon:Fv},{name:"Monuments",icon:Qv},{name:"Natural Resources",icon:Lv},{name:"City Districts",icon:zv},{name:"Loans",icon:Mv,negative:!0,description:"Players lose 2 VP if they have an unpaid loan"}]}}function Hv(){return v.jsx(Ee,{definition:gf()})}const Vv={view:Hv,definition:gf()},Wv="/assets/captain-BS7ZvbeQ.png",Gv="/assets/color-bonus-CfxrhqHL.png",Xv="/assets/duo-cards-COlpH4-b.png",Jv="/assets/lighthouse-DaA6bZIJ.png",Yv="/assets/mermaid-D7i9NBS-.png",Kv="/assets/octopus-0xH1J3UF.png",Zv="/assets/pinguin-colony-BLYSLdRn.png",_v="/assets/pinguin-BHmW5qWT.png",qv="/assets/sailor-B0b276dF.png",$v="/assets/school-of-fish-BhDVULMx.png",bv="/assets/shell-D9VVI1qU.png";function yf(){return{title:"Sea Salt & Paper",bgColor:"#124876",fontColor:"#fff",primaryColor:"#fff",secondaryColor:"#71c4d0",playerSizes:[2,3,4],winMode:ce.MOST,rows:[{name:"Duo Cards",icon:Xv,description:"1 Point / Duo"},{name:"Shell",icon:bv},{name:"Octopus",icon:Kv},{name:"Pinguin",icon:_v},{name:"Sailor",icon:qv},{name:"Lighthouse",icon:Jv,description:"1 Point / Boat"},{name:"School of Fish",icon:$v,description:"1 Point / Fish"},{name:"Pinguin Colony",icon:Zv,description:"2 Points / Pinguin"},{name:"Captain",icon:Wv,description:"3 Points / Sailor"},{name:"Mermaid",icon:Yv},{name:"Color Bonus",icon:Gv,description:"The highest number of cards of the same color."}]}}function eg(){return v.jsx(Ee,{definition:yf()})}const tg={view:eg,definition:yf()};function Af(){return[Fh,hh,jh,Gh,_h,$h,sv,vv,yv,Ev,Vv,Bv,tg]}function ng(){const e=Af();return e.sort((t,n)=>t.definition.title.localeCompare(n.definition.title)),e}function wf(){return ng().map(t=>t.definition.title)}function rg(){return v.jsxs("div",{className:"msg",children:["Please note that this is a"," ",v.jsx("span",{className:"imp",children:"development version"})," of the website. Some features may not work as expected. If you encounter any issues, please report by opening an"," ",v.jsx("a",{href:"https://github.com/cophilot/board-score-hub/issues",target:"_blank",rel:"noreferrer",children:"issue"})," ","on GitHub. Also feel free to contribute to the project by creating a pull request :)"]})}class Wl{static removeAllSpecialCharacters(t){return t.replace(/[^a-zA-Z0-9 ]/g,"")}static gameNameToPath(t){return Wl.removeAllSpecialCharacters(t.toLowerCase()).replace(/ /g,"-")}}function vi({game:e,asLink:t=!1,link:n=""}){const r=gr();return t?v.jsx("div",{className:"btn selected",style:{width:"250px"},children:v.jsxs("a",{className:"",href:n,target:"_blank",style:{color:"var(--bg-color)"},children:[e," ",v.jsx("i",{className:"bi bi-arrow-up-right-square"})]})}):v.jsxs("button",{className:"btn selected wide",onClick:()=>{r(`/game/${Wl.gameNameToPath(e)}`)},children:[e," "]})}const Jn=class Jn{static getFavoriteGames(){const t=localStorage.getItem(Jn.FAVORITE_GAMES_KEY);return t===null?[]:JSON.parse(t)}static setFavoriteGames(t){localStorage.setItem(Jn.FAVORITE_GAMES_KEY,JSON.stringify(t))}};He(Jn,"FAVORITE_GAMES_KEY","bsh-favorite-games");let Sl=Jn;function lg(){const[e,t]=k.useState(!1),[n,r]=k.useState(Sl.getFavoriteGames()),l=wf(),o=s=>{r(s),Sl.setFavoriteGames(s)},i={border:"2px dashed var(--font-color)"},u=s=>{e&&(n.includes(s)?o(n.filter(c=>c!==s)):o([...n,s]))};return v.jsxs("div",{className:"ver",children:[e?l.map(s=>v.jsx("button",{className:"btn wide "+(n.includes(s)?"selected":""),style:n.includes(s)?{}:i,onClick:()=>u(s),children:s},s)):n.map(s=>v.jsx(vi,{game:s},s)),v.jsx("i",{className:"bi icon "+og(e,n),onClick:()=>t(!e)})]})}function og(e,t){return e?"bi-check-lg":t.length===0?"bi-plus-circle":"bi-pencil-square"}function Sf({to:e,children:t,small:n=!1}){const r=gr(),l="btn selected "+(n?"":"wide");return v.jsx("button",{className:l,onClick:()=>{r(e)},children:t})}function zs(){const e=gr(),t=tm(),n=du();k.useEffect(()=>{document.title="BoardScoreHub",K.setDefaultValues(n())},[]);const r=wf();return v.jsxs("div",{children:[v.jsx(Vl,{detectDarkMode:!0}),v.jsx(rg,{}),v.jsx("i",{className:"bi icon "+(n()?"bi-brightness-high-fill":"bi-moon-fill"),onClick:t}),v.jsx("h2",{children:"General"}),v.jsx("div",{className:"ver",children:v.jsx("button",{className:"btn selected wide",onClick:()=>{e("/general-table/expandable")},children:"Expandable Table"})}),v.jsx("h2",{children:"Favorites"}),v.jsx(lg,{}),v.jsx("h2",{children:"Games"}),v.jsx("div",{className:"ver",children:r.map(l=>v.jsx(vi,{game:l},l))}),v.jsx("p",{children:v.jsx("i",{children:"Missing a game? "})}),v.jsx("p",{children:v.jsx("b",{children:v.jsx("a",{href:"mailto:info@philipp-bonin.com?subject=BoardScoreHub%20Game%20Request&body=Please%20add%20the%20game%20%22GameName%22%20to%20BoardScoreHub.",children:"Contact me"})})}),v.jsx("h2",{children:"External"}),v.jsx("div",{className:"ver",children:v.jsx(vi,{game:"Cascadia",asLink:!0,link:"https://cascoria.philipp-bonin.com/#/"})}),v.jsx("h2",{children:"Custom"}),v.jsx("div",{className:"msg",children:v.jsx("i",{children:"Coming soon..."})}),v.jsx("h2",{children:"Other"}),v.jsx(Sf,{to:"privacy",children:"Privacy"}),v.jsx(Hl,{})]})}function ig(){const e="expandable-table-rows",t=du(),[n,r]=k.useState([{name:"Row 1"}]);k.useEffect(()=>{const u=localStorage.getItem(e);u&&r(JSON.parse(u))},[]);const l=k.useMemo(()=>({title:"Expandable Table",playerSizes:[1,2,3,4,5,6],winMode:ce.NONE,rows:n,stripColor:t()?"#15203f":"#d8d8d8"}),[t,n]),o=u=>{if(u{document.title="BoardScoreHub"},[]),v.jsx("div",{className:"content",children:v.jsxs("div",{className:"create-custom",children:[v.jsx("h1",{children:"Create Custom Table"}),v.jsxs("div",{className:"row",children:[v.jsx("label",{htmlFor:"name",children:"Title*:"}),v.jsx("input",{type:"text",id:"title",placeholder:"My First Table"})]}),v.jsxs("div",{className:"row",children:[v.jsx("label",{htmlFor:"name",children:"Background Color:"}),v.jsx("input",{type:"text",id:"title",placeholder:"#FFFFFF"})]}),v.jsx("button",{className:"btn selected mt",onClick:()=>e("/"),children:"Home"}),v.jsx(Hl,{})]})})}function sg(){return v.jsx(Sf,{to:"/",small:!0,children:"Home"})}function ag(){return k.useEffect(()=>{document.title="BoardScoreHub"},[]),v.jsxs("div",{className:"content",children:[v.jsx(Vl,{detectDarkMode:!0}),v.jsx("h1",{children:"BoardScoreHub Privacy"}),v.jsxs("p",{children:["Only data is ",v.jsx("b",{children:"only"})," kept in your browser. No data will be sent to any server. This garantuees your privacy, but also means that you cannot access your data from another device. This also does not garantuee the persistence of your data. If you clear your browser data, your data will be lost without any way to recover it."]}),v.jsx(sg,{})]})}function cg(){const e=Af();return v.jsx(v.Fragment,{children:v.jsx(Zm,{children:v.jsxs(Jm,{children:[v.jsx(Nt,{path:"/general-table/expandable",Component:ig}),e.map(t=>v.jsx(Nt,{path:`/game/${Wl.gameNameToPath(t.definition.title)}`,Component:t.view},t.definition.title)),v.jsx(Nt,{path:"/custom/create",Component:ug}),v.jsx(Nt,{path:"/privacy",Component:ag}),v.jsx(Nt,{path:"/",Component:zs}),v.jsx(Nt,{path:"*",Component:zs})]})})})}function fg(){return v.jsxs(nm,{children:[v.jsx(em,{}),v.jsx(cg,{})]})}So.createRoot(document.getElementById("root")).render(v.jsx(An.StrictMode,{children:v.jsx(fg,{})})); + */const Ym="6";try{window.__reactRouterVersion=Ym}catch{}const Km="startTransition",Os=Vf[Km];function Zm(e){let{basename:t,children:n,future:r,window:l}=e,o=k.useRef();o.current==null&&(o.current=lm({window:l,v5Compat:!0}));let i=o.current,[u,s]=k.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},m=k.useCallback(p=>{c&&Os?Os(()=>s(p)):s(p)},[s,c]);return k.useLayoutEffect(()=>i.listen(m),[i,m]),k.createElement(Xm,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}var Rs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Rs||(Rs={}));var Ds;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ds||(Ds={}));function Hl(){return v.jsxs("div",{style:{marginTop:"50px",marginBottom:"50px",fontSize:"16px",display:"flex",justifyContent:"center",flexDirection:"column"},children:[v.jsxs("div",{className:"mb",children:["by"," ",v.jsx("a",{href:"https://philipp-bonin.com/",target:"_blank",children:"Philipp B."})]}),v.jsx("div",{className:"print-hide",children:v.jsxs("a",{href:"https://github.com/cophilot/board-score-hub",target:"_blank",style:{cursor:"pointer"},children:["Contribute on"," ",v.jsx("i",{className:"bi bi-github",style:{fontSize:"26px"}})]})})]})}var ce=(e=>(e.MOST="most",e.LEAST="least",e.NONE="none",e))(ce||{});function _m(e){switch(e){case"most":return Math.max;case"least":return Math.min;case"none":return()=>{}}}const qm="/assets/goal-tile-top-CJTvaweW.png",$m="/assets/goal-tile-right-Bd87vjzg.png",bm="/assets/goal-tile-left-D4ynd_1h.png",eh="/assets/cat-tokens-DcnAnrqD.png",th="/assets/button-tokens-CunxKXsf.png";class ue{}He(ue,"HANDWRITING","Pacifico, cursive"),He(ue,"HANDWRITING_SIMPLE","Edu AU VIC WA NT Hand, cursive"),He(ue,"ELEGANT","Great Vibes, cursive"),He(ue,"PLAYFUL","Cardenio Modern, sans-serif"),He(ue,"MODERN","AvantGarde Bk BT, sans-serif"),He(ue,"FUTURISTIC","Realpolitik, sans-serif"),He(ue,"ANCIENT","Julius Sans One, sans-serif"),He(ue,"CLASSIC","Noto Serif Toto, sans-serif");function lf(){return{title:"Calico",bgColor:"#fbf8f0",fontColor:"#000",primaryColor:"#142688",secondaryColor:"#c12966",fontFamily:ue.CLASSIC,playerSizes:[1,2,3,4],winMode:ce.MOST,rows:[{name:"Top Goal Tile",icon:qm,bgColor:"#6c993b"},{name:"Left Goal Tile",icon:bm,bgColor:"#792a94"},{name:"Right Goal Tile",icon:$m,bgColor:"#ffac33"},{name:"Cat Tokens",icon:eh,bgColor:"#582895"},{name:"Button Tokens",icon:th,bgColor:"#68cfda"}]}}function nh({playerSizes:e,initPlayerSize:t,onPlayerSizeChange:n}){const r=e&&Math.min(...e),[l,o]=k.useState(t||r);return!e||e.length<=1?null:v.jsxs(v.Fragment,{children:[v.jsx("h2",{className:"print-hide",children:"Players"}),v.jsx("div",{className:"player-switch print-hide",children:e.map(i=>v.jsx("button",{className:"btn "+(i===l?"selected":""),onClick:()=>{o(i),n(i)},children:i},i))})]})}class ee{static getStorageKeyFromTitle(t,n=""){let r=t.toLowerCase()+"-storage";return n!==""&&(r+="-"+n.toLowerCase()),r}static deleteStorage(t){Object.keys(localStorage).filter(l=>l.includes(t.toLowerCase())).forEach(l=>localStorage.removeItem(l))}static getPlayerNames(t,n=[]){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"player-names"));return r===null?n:JSON.parse(r)}static setPlayerNames(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"player-names"),JSON.stringify(n))}static getPlayerSize(t,n=2){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"player-size"));return r===null?n:parseInt(r)}static setPlayerSize(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"player-size"),n.toString())}static getGameMatrix(t,n=[]){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"matrix"));return r===null?n:JSON.parse(r)}static setGameMatrix(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"matrix"),JSON.stringify(n))}static setGameSettings(t,n){localStorage.setItem(ee.getStorageKeyFromTitle(t,"settings"),JSON.stringify(n))}static getGameSettings(t,n={}){const r=localStorage.getItem(ee.getStorageKeyFromTitle(t,"settings"));return r===null?n:JSON.parse(r)}}function rh({definition:e,playerSize:t,gameSettings:n,onCellChange:r}){const l=Array.from(Array(t).keys()),o=e.rows||[],i=sh(e),[u,s]=k.useState(ee.getGameMatrix(e.title,uh(o.length,t))),[c,m]=k.useState(Array.from(Array(t).keys()).map(()=>0)),[p,h]=k.useState(ee.getPlayerNames(e.title,[])),[A,w]=k.useState(-1);k.useEffect(()=>{e.roundMapper&&w(e.roundMapper[t])},[e.roundMapper,t]),k.useEffect(()=>{const a=Array.from(Array(t).keys()).map(f=>oh(u,f,A));m(a)},[t,u]);const y=(a,f)=>u[a]&&u[a][f]||0,x=(a,f,g)=>{let C=!1;const T=u.map((N,j)=>(j===a&&(N[f]=Number(g),C=!0),N));C||(T.push(Array.from(Array(t).keys()).map(()=>0)),T[T.length-1][f]=Number(g)),s(T),ee.setGameMatrix(e.title,T),r&&r(a,f,g)},d=()=>{const a=e.winMode||ce.MOST,g=_m(a)(...c);return c.every(C=>C===g)?null:g};return v.jsxs("table",{className:"board-score-table",style:i,children:[v.jsx("thead",{children:v.jsxs("tr",{children:[v.jsx("th",{},"-1"),l.map(a=>v.jsx("th",{children:v.jsx("input",{type:"text",placeholder:"P"+(a+1),value:p[a]||"",onChange:f=>{const g=p.slice();g[a]=f.target.value.toUpperCase(),h(g),ee.setPlayerNames(e.title,g)}})},a))]},"header")}),v.jsxs("tbody",{children:[o.map((a,f)=>(A===-1||fv.jsx(lh,{row:a,rowIndex:f,playerIndex:g,getValueFunction:y,setValueFunction:x},g))]},f)]})),v.jsxs("tr",{className:"total-row",children:[v.jsx(Is,{row:{name:"Total"}}),c.map((a,f)=>v.jsx("td",{className:"total-cell "+(d()==a?"win":""),children:isNaN(a)?0:a},f))]},"total")]})]})}function lh({row:e,rowIndex:t,playerIndex:n,getValueFunction:r,setValueFunction:l}){let o=r(t,n);o===0&&(o="");const i=u=>{if(isNaN(u))return;let s=Number(u);e.negative&&s>0&&(s*=-1),l(t,n,s)};return v.jsx("td",{children:v.jsx("input",{type:"number",inputMode:"numeric",onChange:u=>i(u.target.value),value:o})})}function Is({row:e}){let t=e.name;return e.icon&&(t=v.jsx("img",{src:e.icon,alt:e.name,className:"row-icon"})),v.jsx("td",{style:{fontWeight:"bold"},children:t})}const oh=(e,t,n=-1)=>e.reduce((r,l,o)=>n!==-1&&o>=n||isNaN(l[t])?r:r+l[t],0);function ih(e,t,n){const r={};return e.bgColor?r.backgroundColor=e.bgColor:t.stripColor&&n%2===1&&(r.backgroundColor=t.stripColor),e.fontColor&&(r.color=e.fontColor),r}function uh(e,t){return Array.from(Array(e).keys()).map(()=>Array.from(Array(t).keys()).map(()=>0))}function sh(e){const t={};return t.borderSpacing=Bs(e,"tableSpacing",0),t.border=Bs(e,"tableBorder","2px solid var(--primary-color)"),t}function Bs(e,t,n){return e[t]||n}class Fr{static hideElementsWithClass(t){const n=document.getElementsByClassName(t),r=[];for(let l=0;l{s(y),ee.setPlayerSize(e.title,y)},h=y=>{m(y),ee.setGameSettings(e.title,y)};k.useEffect(()=>{setTimeout(()=>{ch(e,o)},10)},[e,o]);const A=new Date().toLocaleDateString(),w=e.rows.some(y=>y.icon);return v.jsxs("div",{className:"board-score-page",children:[r,e.title&&v.jsx("h1",{children:e.title}),v.jsx("h2",{className:"print-show",children:v.jsx("i",{children:A})}),v.jsx(nh,{playerSizes:e.playerSizes,initPlayerSize:u,onPlayerSizeChange:p}),v.jsx(rh,{onCellChange:n,definition:e,gameSettings:c,playerSize:u}),l,w&&v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{const y={...c,showHelp:!c.showHelp};h(y)},children:c.showHelp?"Hide Help":"Help"}),v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:ah,children:"Export"}),v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{ee.deleteStorage(e.title),window.location.reload()},children:"Clear"}),v.jsx("button",{className:"btn selected nav-btn print-hide",onClick:()=>{i("/")},children:"Home"}),v.jsx("h2",{className:"print-show",children:v.jsx("i",{children:"board-score-hub.philipp-bonin.com"})}),t]})}function ah(){const e=Fr.hideElementsWithClass("print-hide");Fr.showElementsWithClass("print-show"),setTimeout(()=>{const t=document.documentElement.outerHTML,n=window.open("","printwindow");if(!n){alert("Please allow popups for this website");return}n.document.write(t),setTimeout(()=>{n.print(),n.close(),setTimeout(()=>{Fr.showElementsWithClass("print-hide",e),Fr.hideElementsWithClass("print-show")},500)},500)},500)}function ch(e,t){K.setDefaultValues(t),Gt(e.title,n=>{document.title=n+" - BoardScoreHub"}),Gt(e.bgColor,K.setBackGroundColor),Gt(e.fontColor,K.setFontColor),Gt(e.primaryColor,K.setPrimaryColor),Gt(e.secondaryColor,K.setSecondaryColor),Gt(e.fontFamily,K.setFontFamily)}function Gt(e,t){if(e!=null){t(e);return}}const fh="/assets/logo-BkGRsgQ-.png",dh="/assets/logo-white-D5pf4RvS.png";class ph{static hexToRgb(t){t=t.replace(/^#/,"");const n=parseInt(t,16),r=n>>16&255,l=n>>8&255,o=n&255;return[r,l,o]}static luminance(t){const[n,r,l]=t.map(o=>(o/=255,o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)));return .2126*n+.7152*r+.0722*l}static isDarkColor(t){const n=this.hexToRgb(t);return this.luminance(n)<.05}}function Vl({size:e=200,bgColor:t="#fff",detectDarkMode:n=!1}){const r=du();n&&(t=r()?"#000":"#fff");let l=fh;ph.isDarkColor(t)&&(l=dh);const o={width:e,height:e,marginTop:20};return v.jsx("div",{className:"logo",children:v.jsx("img",{src:l,alt:"BoardGameHub",style:o})})}function Ee({definition:e,afterTabelElement:t}){const n=v.jsx(Vl,{size:100,bgColor:e.bgColor||"#fff"});return v.jsx(of,{definition:e,logo:n,afterTableElement:t,children:v.jsx(Hl,{})})}function mh(){return v.jsx(Ee,{definition:lf()})}const hh={view:mh,definition:lf()},vh="/assets/tree-6XAsnF0O.png",gh="/assets/field-DbFukuCU.png",yh="/assets/house-CDamRoKu.png",Ah="/assets/rail-MrSAd69Q.png",wh="/assets/river-DspDSLJu.png",Sh="/assets/border-CHSImG3J.png",kh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAHdElNRQfoBxYLByZgiBvHAAAIfklEQVR42u2bWWxU1xnHf9+9Mx57MLYJmNVODCQqUAqYhIQloRBUUkIpCdR2CFFVBH2Iqqp9rNSnqmofKuWlD20qlaStmsYLOCipIG1Qs9GmjowXwuLUUBvSAsXxwuIZjz33fn3wNvd67NieO+Ox5P/bPTPnnO931u98516Y0YxmNKMZTYEkdVW9iiWZgooenN4glahfvoopdX3tpl3mcem+1IEIksELPM5p36+NphO9tu7zsHQzdSBlmLZa+nW2yWMsslqDd/ZrxXQE+TE31GinSNZTwDoW9KFtz4ZfwBuYFIK8TAlW1MiVLWRrpqzULZJvdmpHabRyeoFAKaZFlPWyTMAneWxgs96ltay3VBOFSSlIFSVgsYz14gfAYAHruR9bbx7u20tVAmUbqQQBiHTSQNfws9wvR3hJfnFntc88LdWTLjelPQIHAONzNvJQzAZm6jyKWa0ZPR16d6+WcSz9QSooweoxgrJJg8MoghhSxCYe1Fzf1e7QIconXPK4d/Yq1PBNYiCqWLPwSSCmJqWAn+t2GVG3Krc4Kn+UOyqD5tmq3dzrsGbptxMDqcQUK19mY7KSAkAnSOJjhWbL4pi+V0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xMTowMTozOSswMDowMIyOYlwAAAAASUVORK5CYII=",Eh="/assets/longest-rail-BgqrCeHk.png",Th="/assets/longest-river-C3Mrt03k.png";function uf(){return{title:"Dorfromatik: Duel",primaryColor:"#7ba1d4",secondaryColor:"#ee776c",playerSizes:[2],winMode:ce.MOST,rows:[{name:"Tree",icon:vh},{name:"Field",icon:gh},{name:"House",icon:yh},{name:"Railway",icon:Ah},{name:"River",icon:wh},{name:"Border",icon:Sh},{name:"Six",icon:kh},{name:"Flag green",icon:Ch},{name:"Flag yellow",icon:xh},{name:"Flag red",icon:Ph},{name:"Longest Railway",icon:Eh},{name:"Longest River",icon:Th}]}}function Nh(){return v.jsx(Ee,{definition:uf()})}const jh={view:Nh,definition:uf()},Oh="/assets/basic-events-CZ0_ktSt.png",Rh="/assets/journey-2KDONO1e.png",Dh="/assets/point-token-njinAhBY.png",Ih="/assets/special-events-BJisyehW.png",Bh="/assets/village-AZ2dhzPO.png",zh="/assets/prosperity-DHLGkuQE.png";function sf(){return{title:"Everdell",bgColor:"#5c652e",fontColor:"#342a28",primaryColor:"#714839",secondaryColor:"#50446a",fontFamily:ue.HANDWRITING,playerSizes:[1,2,3,4],winMode:ce.MOST,stripColor:"#4b5729",rows:[{name:"Cards in Village",icon:Bh},{name:"Prosperity",icon:zh},{name:"Point Tokens",icon:Dh},{name:"Basic Events",icon:Oh},{name:"Special Events",icon:Ih},{name:"Journey",icon:Rh}]}}function Mh(){return v.jsx(Ee,{definition:sf()})}const Fh={view:Mh,definition:sf()},Lh="/assets/leaf-Jv3DCFCo.png",Uh="/assets/stone-Ckqn0VnU.png",Qh="/assets/flower-DYAPFgxs.png",Hh="/assets/house-DcI_Z8es.png",Vh="/assets/water-ovxDwENf.png",Xt="/assets/card-BUvh7z74.png";function af(){return{title:"Harmonies",bgColor:"#deceac",fontColor:"black",primaryColor:"#0094b8",secondaryColor:"#f7ac1f",stripColor:"#ccbd9f",fontFamily:ue.PLAYFUL,playerSizes:[1,2,3,4],winMode:ce.MOST,rows:[{name:"Leaf",icon:Lh},{name:"Stone",icon:Uh},{name:"Flower",icon:Qh},{name:"House",icon:Hh},{name:"Water",icon:Vh},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt},{name:"Animal",icon:Xt}]}}function Wh(){return v.jsx(Ee,{definition:af()})}const Gh={view:Wh,definition:af()},Xh="/assets/mood-MKMNPc2Y.png",Jh="/assets/experience-BODftvL7.png",Yh="/assets/research-tokens-BUOm3xEE.png",Kh="/assets/trains-BlAE4BMp.png";function cf(){return{title:"Let's Go! To Japan",bgColor:"#f6f8f9",fontColor:"#000",primaryColor:"#59c4db",secondaryColor:"#eca0bc",playerSizes:[1,2,3,4,5],winMode:ce.MOST,rows:[{name:"Monday"},{name:"Tuesday"},{name:"Wednesday"},{name:"Thursday"},{name:"Friday"},{name:"Saturday"},{name:"Stress / Happiness Trackers",icon:Xh},{name:"Experience",icon:Jh},{name:"Trains",icon:Kh},{name:"Research Tokens",icon:Yh}]}}function Zh(){return v.jsx(Ee,{definition:cf()})}const _h={view:Zh,definition:cf()};function ff(){return{title:"Scout",bgColor:"#FBD800",fontColor:"#4B0082",primaryColor:"#F08600",secondaryColor:"#3E0099",fontFamily:ue.CLASSIC,playerSizes:[2,3,4,5],winMode:ce.MOST,roundMapper:{2:2,3:3,4:4,5:5},rows:[{name:"Round 1"},{name:"Round 2"},{name:"Round 3"},{name:"Round 4"},{name:"Round 5"}]}}function qh(){return v.jsx(Ee,{definition:ff()})}const $h={view:qh,definition:ff()},bh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAC01BMVEUAAAD////b7vHc7vPq9Pff8vPw+Pr5/fvV8PLr9Pfq9vjk8vb///3p9Pft9vf6+/31+vrj8vb3+/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NnJ36kwJ3bFz1273nmC53Xv37T8Q44IuXfOIGnkt3TwEDh6K9Roo7vCRGDvt3iOfIJK/Zy9Kjh5jTJYVbkw9fgKgd58CgkjBvv2AnDzFFDnOABKfcNpD+g8oJIgUHhjqSzzjT1DO8g0977nzxDmoiCBSdPAQciHpIlOYIURNvkQ8Q4uJImGhJCXJz4wZinpZR4aFCCLF/yDGDEQQQQQRRBBBBBFEEEEEEUQQQQQRRBBBBJF/FLFdMbRN1Z/IavJVE0iJsOHXrt/wa5pmYA453nvzFnGOKCmIlBo5CsjtOzrCWaNnzioz7a6TjB5TWhApM3YcJffua4y7RtcVpqY+ABg/QfRMU9YyMY3Aw0exj7mHDdX7JPVplI9OmlxOEJFCpkylAfrs+YuXr14HLT39zdt37wlMm15e1JCkCjNmfgBI/Pjp85evQcrI+PY9BQBmzZ5TURypNHfe/AX6bx/vbBYIuGDhosVLKosbklRl6bLlK36kcfv5K2LlqtVrqpoxMrOsXWe1hlvDOa3fYP6YiWEY9l/3G0Tmqaf2I0TxAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTA3LTIyVDEzOjQ2OjE3KzAwOjAw3ZB7cAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wNy0yMlQxMzo0NTo0NSswMDowMJiFZ4IAAAAASUVORK5CYII=",rv="/assets/world-wonder-DqwnqRp4.png",lv="/assets/green-chip-B7JIPrXB.png",ov="/assets/coins-BQSYgv-V.png",iv="/assets/military-BQjip8gM.png";function df(){return{title:"Seven Wonders: Duel",bgColor:"#fbdbb3",primaryColor:"#c59551",secondaryColor:"#2a7c6d",playerSizes:[2],winMode:ce.MOST,fontFamily:ue.ANCIENT,rows:[{name:"Blue cards",icon:bh,bgColor:"#c7f0fc"},{name:"Green cards",icon:ev,bgColor:"#d8edd6"},{name:"Yellow cards",icon:tv,bgColor:"#fffad9"},{name:"Purple cards",icon:nv,bgColor:"#d2cce0"},{name:"World wonders",icon:rv,bgColor:"#ececed"},{name:"Progress tokens",icon:lv,bgColor:"#d8edd6"},{name:"Coins",icon:ov,bgColor:"#fffad9"},{name:"Military",icon:iv,bgColor:"#fad2c5"}]}}function uv(){return v.jsx(Ee,{definition:df()})}const sv={view:uv,definition:df()},av="/assets/awards-CuyN8CXH.png",cv="/assets/milestones-DjliPvjX.png",fv="/assets/tree-CJEbCV1Z.png",dv="/assets/city-Cc-hAaUh.png",pv="/assets/terraforming-rating-BZStYANL.png",mv="/assets/victory-points-pnhHYkKH.png";function pf(){return{title:"Terraforming Mars",bgColor:"#a36743",primaryColor:"#612720",secondaryColor:"#ffe048",fontFamily:ue.FUTURISTIC,playerSizes:[1,2,3,4,5],winMode:ce.MOST,rows:[{name:"Terraforming Rating",icon:pv},{name:"Milestones",icon:cv},{name:"Awards",icon:av},{name:"Greenery",icon:fv},{name:"City",icon:dv},{name:"Victory Points",icon:mv}]}}function hv(){return v.jsx(Ee,{definition:pf()})}const vv={view:hv,definition:pf()};function mf(){return{title:"Wizard",bgColor:"#1F1F1F",fontColor:"#29A972",primaryColor:"#8C2225",secondaryColor:"#111D24",playerSizes:[3,4,5,6],winMode:ce.MOST,roundMapper:{3:20,4:15,5:12,6:10},rows:[{name:"Round 1"},{name:"Round 2"},{name:"Round 3"},{name:"Round 4"},{name:"Round 5"},{name:"Round 6"},{name:"Round 7"},{name:"Round 8"},{name:"Round 9"},{name:"Round 10"},{name:"Round 11"},{name:"Round 12"},{name:"Round 13"},{name:"Round 14"},{name:"Round 15"},{name:"Round 16"},{name:"Round 17"},{name:"Round 18"},{name:"Round 19"},{name:"Round 20"}]}}function gv(){return v.jsx(Ee,{definition:mf()})}const yv={view:gv,definition:mf()},Av="/assets/eggs-Ca-K5puw.png",wv="/assets/resources-D7hrPUQJ.png",Sv="/assets/round-goals-Bpl41qsf.png",kv="/assets/bonus-B45iq8SI.png",Cv="/assets/tucked-card-CXaC5tlH.png",xv="/assets/bird-DeYYxOs4.png";function hf(){return{title:"Wingspan",bgColor:"#f4f5f0",fontColor:"#73645b",primaryColor:"#9fcccf",secondaryColor:"#73645b",playerSizes:[1,2,3,4,5],fontFamily:ue.PLAYFUL,winMode:ce.MOST,rows:[{name:"Birds",icon:xv},{name:"Bonus cards",icon:kv},{name:"End-of-round goals",icon:Sv},{name:"Eggs on cards",icon:Av},{name:"Food on cards",icon:wv},{name:"Tucked cards",icon:Cv}]}}function Pv(){return v.jsx(Ee,{definition:hf()})}const Ev={view:Pv,definition:hf()},Tv="/assets/card-LYJXq0f8.png",Nv="/assets/top-DgmqI5_0.png",jv="/assets/down-11uZh1aM.png",Ov="/assets/left-CfT0wP6h.png",Rv="/assets/right-D06k6koH.png",Dv="/assets/cave-C4QJfsAM.png";function vf(){return{title:"Forest Shuffle",bgColor:"#dce2c9",fontColor:"#315a39",primaryColor:"#bbad86",secondaryColor:"#b11917",playerSizes:[2,3,4,5],winMode:ce.MOST,rows:[{name:"Tree",icon:Tv},{name:"Cards top",icon:Nv},{name:"Cards right",icon:Rv},{name:"Cards below",icon:jv},{name:"Cards left",icon:Ov},{name:"Cave",icon:Dv}]}}function Iv(){return v.jsx(Ee,{definition:vf()})}const Bv={view:Iv,definition:vf()},zv="/assets/blocked-building-DMIdqGzd.png",Mv="/assets/loan-BGtSuehl.png",Fv="/assets/resources-CIlot1cL.png",Lv="/assets/stone-Da35k483.png",Uv="/assets/vp-CVVPpd9O.png",Qv="/assets/wonders-DqsCSomD.png";function gf(){return{title:"World Wonders",bgColor:"#e8e0dd",fontColor:"#6c5f56",primaryColor:"#b39d90",secondaryColor:"#ffec33",fontFamily:ue.ANCIENT,stripColor:"#cfbeb0",playerSizes:[1,2,3,4,5],winMode:ce.MOST,rows:[{name:"Population",icon:Uv},{name:"Least Produced Resource",icon:Fv},{name:"Monuments",icon:Qv},{name:"Natural Resources",icon:Lv},{name:"City Districts",icon:zv},{name:"Loans",icon:Mv,negative:!0,description:"Players lose 2 VP if they have an unpaid loan"}]}}function Hv(){return v.jsx(Ee,{definition:gf()})}const Vv={view:Hv,definition:gf()},Wv="/assets/captain-BS7ZvbeQ.png",Gv="/assets/color-bonus-CfxrhqHL.png",Xv="/assets/duo-cards-COlpH4-b.png",Jv="/assets/lighthouse-DaA6bZIJ.png",Yv="/assets/mermaid-D7i9NBS-.png",Kv="/assets/octopus-0xH1J3UF.png",Zv="/assets/pinguin-colony-BLYSLdRn.png",_v="/assets/pinguin-BHmW5qWT.png",qv="/assets/sailor-B0b276dF.png",$v="/assets/school-of-fish-BhDVULMx.png",bv="/assets/shell-D9VVI1qU.png";function yf(){return{title:"Sea Salt & Paper",bgColor:"#124876",fontColor:"#fff",primaryColor:"#fff",secondaryColor:"#71c4d0",playerSizes:[2,3,4],winMode:ce.MOST,rows:[{name:"Duo Cards",icon:Xv,description:"1 Point / Duo"},{name:"Shell",icon:bv},{name:"Octopus",icon:Kv},{name:"Pinguin",icon:_v},{name:"Sailor",icon:qv},{name:"Lighthouse",icon:Jv,description:"1 Point / Boat"},{name:"School of Fish",icon:$v,description:"1 Point / Fish"},{name:"Pinguin Colony",icon:Zv,description:"2 Points / Pinguin"},{name:"Captain",icon:Wv,description:"3 Points / Sailor"},{name:"Mermaid",icon:Yv},{name:"Color Bonus",icon:Gv,description:"The highest number of cards of the same color."}]}}function eg(){const e=v.jsx("button",{className:"btn selected nav-btn print-hide",children:"Save Round"});return v.jsx(Ee,{definition:yf(),afterTabelElement:e})}const tg={view:eg,definition:yf()};function Af(){return[Fh,hh,jh,Gh,_h,$h,sv,vv,yv,Ev,Vv,Bv,tg]}function ng(){const e=Af();return e.sort((t,n)=>t.definition.title.localeCompare(n.definition.title)),e}function wf(){return ng().map(t=>t.definition.title)}function rg(){return v.jsxs("div",{className:"msg",children:["Please note that this is a"," ",v.jsx("span",{className:"imp",children:"development version"})," of the website. Some features may not work as expected. If you encounter any issues, please report by opening an"," ",v.jsx("a",{href:"https://github.com/cophilot/board-score-hub/issues",target:"_blank",rel:"noreferrer",children:"issue"})," ","on GitHub. Also feel free to contribute to the project by creating a pull request :)"]})}class Wl{static removeAllSpecialCharacters(t){return t.replace(/[^a-zA-Z0-9 ]/g,"")}static gameNameToPath(t){return Wl.removeAllSpecialCharacters(t.toLowerCase()).replace(/ /g,"-")}}function vi({game:e,asLink:t=!1,link:n=""}){const r=gr();return t?v.jsx("div",{className:"btn selected",style:{width:"250px"},children:v.jsxs("a",{className:"",href:n,target:"_blank",style:{color:"var(--bg-color)"},children:[e," ",v.jsx("i",{className:"bi bi-arrow-up-right-square"})]})}):v.jsxs("button",{className:"btn selected wide",onClick:()=>{r(`/game/${Wl.gameNameToPath(e)}`)},children:[e," "]})}const Jn=class Jn{static getFavoriteGames(){const t=localStorage.getItem(Jn.FAVORITE_GAMES_KEY);return t===null?[]:JSON.parse(t)}static setFavoriteGames(t){localStorage.setItem(Jn.FAVORITE_GAMES_KEY,JSON.stringify(t))}};He(Jn,"FAVORITE_GAMES_KEY","bsh-favorite-games");let Sl=Jn;function lg(){const[e,t]=k.useState(!1),[n,r]=k.useState(Sl.getFavoriteGames()),l=wf(),o=s=>{r(s),Sl.setFavoriteGames(s)},i={border:"2px dashed var(--font-color)"},u=s=>{e&&(n.includes(s)?o(n.filter(c=>c!==s)):o([...n,s]))};return v.jsxs("div",{className:"ver",children:[e?l.map(s=>v.jsx("button",{className:"btn wide "+(n.includes(s)?"selected":""),style:n.includes(s)?{}:i,onClick:()=>u(s),children:s},s)):n.map(s=>v.jsx(vi,{game:s},s)),v.jsx("i",{className:"bi icon "+og(e,n),onClick:()=>t(!e)})]})}function og(e,t){return e?"bi-check-lg":t.length===0?"bi-plus-circle":"bi-pencil-square"}function Sf({to:e,children:t,small:n=!1}){const r=gr(),l="btn selected "+(n?"":"wide");return v.jsx("button",{className:l,onClick:()=>{r(e)},children:t})}function zs(){const e=gr(),t=tm(),n=du();k.useEffect(()=>{document.title="BoardScoreHub",K.setDefaultValues(n())},[]);const r=wf();return v.jsxs("div",{children:[v.jsx(Vl,{detectDarkMode:!0}),v.jsx(rg,{}),v.jsx("i",{className:"bi icon "+(n()?"bi-brightness-high-fill":"bi-moon-fill"),onClick:t}),v.jsx("h2",{children:"General"}),v.jsx("div",{className:"ver",children:v.jsx("button",{className:"btn selected wide",onClick:()=>{e("/general-table/expandable")},children:"Expandable Table"})}),v.jsx("h2",{children:"Favorites"}),v.jsx(lg,{}),v.jsx("h2",{children:"Games"}),v.jsx("div",{className:"ver",children:r.map(l=>v.jsx(vi,{game:l},l))}),v.jsx("p",{children:v.jsx("i",{children:"Missing a game? "})}),v.jsx("p",{children:v.jsx("b",{children:v.jsx("a",{href:"mailto:info@philipp-bonin.com?subject=BoardScoreHub%20Game%20Request&body=Please%20add%20the%20game%20%22GameName%22%20to%20BoardScoreHub.",children:"Contact me"})})}),v.jsx("h2",{children:"External"}),v.jsx("div",{className:"ver",children:v.jsx(vi,{game:"Cascadia",asLink:!0,link:"https://cascoria.philipp-bonin.com/#/"})}),v.jsx("h2",{children:"Custom"}),v.jsx("div",{className:"msg",children:v.jsx("i",{children:"Coming soon..."})}),v.jsx("h2",{children:"Other"}),v.jsx(Sf,{to:"privacy",children:"Privacy"}),v.jsx(Hl,{})]})}function ig(){const e="expandable-table-rows",t=du(),[n,r]=k.useState([{name:"Row 1"}]);k.useEffect(()=>{const u=localStorage.getItem(e);u&&r(JSON.parse(u))},[]);const l=k.useMemo(()=>({title:"Expandable Table",playerSizes:[1,2,3,4,5,6],winMode:ce.NONE,rows:n,stripColor:t()?"#15203f":"#d8d8d8"}),[t,n]),o=u=>{if(u{document.title="BoardScoreHub"},[]),v.jsx("div",{className:"content",children:v.jsxs("div",{className:"create-custom",children:[v.jsx("h1",{children:"Create Custom Table"}),v.jsxs("div",{className:"row",children:[v.jsx("label",{htmlFor:"name",children:"Title*:"}),v.jsx("input",{type:"text",id:"title",placeholder:"My First Table"})]}),v.jsxs("div",{className:"row",children:[v.jsx("label",{htmlFor:"name",children:"Background Color:"}),v.jsx("input",{type:"text",id:"title",placeholder:"#FFFFFF"})]}),v.jsx("button",{className:"btn selected mt",onClick:()=>e("/"),children:"Home"}),v.jsx(Hl,{})]})})}function sg(){return v.jsx(Sf,{to:"/",small:!0,children:"Home"})}function ag(){return k.useEffect(()=>{document.title="BoardScoreHub"},[]),v.jsxs("div",{className:"content",children:[v.jsx(Vl,{detectDarkMode:!0}),v.jsx("h1",{children:"BoardScoreHub Privacy"}),v.jsxs("p",{children:["Only data is ",v.jsx("b",{children:"only"})," kept in your browser. No data will be sent to any server. This garantuees your privacy, but also means that you cannot access your data from another device. This also does not garantuee the persistence of your data. If you clear your browser data, your data will be lost without any way to recover it."]}),v.jsx(sg,{})]})}function cg(){const e=Af();return v.jsx(v.Fragment,{children:v.jsx(Zm,{children:v.jsxs(Jm,{children:[v.jsx(Nt,{path:"/general-table/expandable",Component:ig}),e.map(t=>v.jsx(Nt,{path:`/game/${Wl.gameNameToPath(t.definition.title)}`,Component:t.view},t.definition.title)),v.jsx(Nt,{path:"/custom/create",Component:ug}),v.jsx(Nt,{path:"/privacy",Component:ag}),v.jsx(Nt,{path:"/",Component:zs}),v.jsx(Nt,{path:"*",Component:zs})]})})})}function fg(){return v.jsxs(nm,{children:[v.jsx(em,{}),v.jsx(cg,{})]})}So.createRoot(document.getElementById("root")).render(v.jsx(An.StrictMode,{children:v.jsx(fg,{})})); diff --git a/index.html b/index.html index bc8979e..6068dbb 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@ name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> BoardScoreHub - +