P||125F?(P.sortIndex=z,t(c,P),n(u)===null&&P===n(c)&&(w?(g(k),k=-1):w=!0,Ve(E,z-F))):(P.sortIndex=Z,t(u,P),_||y||(_=!0,Ke(T))),P},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(P){var L=p;return function(){var z=p;p=L;try{return P.apply(this,arguments)}finally{p=z}}}})(Mf);(function(e){e.exports=Mf})(If);/**
+ */(function(e){function t(P,L){var z=P.length;P.push(L);e:for(;0>>1,Z=P[F];if(0>>1;Fi(de,z))Aei(At,de)?(P[F]=At,P[Ae]=z,F=Ae):(P[F]=de,P[ge]=z,F=ge);else if(Aei(At,z))P[F]=At,P[Ae]=z,F=Ae;else break e}}return L}function i(P,L){var z=P.sortIndex-L.sortIndex;return z!==0?z:P.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,y=!1,_=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(P){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=P)r(c),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(c)}}function E(P){if(w=!1,h(P),!_)if(n(u)!==null)_=!0,Ke(T);else{var L=n(c);L!==null&&Ve(E,L.startTime-P)}}function T(P,L){_=!1,w&&(w=!1,g(k),k=-1),y=!0;var z=p;try{for(h(L),f=n(u);f!==null&&(!(f.expirationTime>L)||P&&!q());){var F=f.callback;if(typeof F=="function"){f.callback=null,p=f.priorityLevel;var Z=F(f.expirationTime<=L);L=e.unstable_now(),typeof Z=="function"?f.callback=Z:f===n(u)&&r(u),h(L)}else r(u);f=n(u)}if(f!==null)var V=!0;else{var ge=n(c);ge!==null&&Ve(E,ge.startTime-L),V=!1}return V}finally{f=null,p=z,y=!1}}var S=!1,C=null,k=-1,j=5,b=-1;function q(){return!(e.unstable_now()-bP||125F?(P.sortIndex=z,t(c,P),n(u)===null&&P===n(c)&&(w?(g(k),k=-1):w=!0,Ve(E,z-F))):(P.sortIndex=Z,t(u,P),_||y||(_=!0,Ke(T))),P},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(P){var L=p;return function(){var z=p;p=L;try{return P.apply(this,arguments)}finally{p=z}}}})($f);(function(e){e.exports=$f})(If);/**
* @license React
* react-dom.production.min.js
*
@@ -22,14 +22,14 @@ var pg=Object.defineProperty;var hg=(e,t,n)=>t in e?pg(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=v.exports,lt=If.exports;function R(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"),js=Object.prototype.hasOwnProperty,Og=/^[: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]*$/,Dc={},Lc={};function bg(e){return js.call(Lc,e)?!0:js.call(Dc,e)?!1:Og.test(e)?Lc[e]=!0:(Dc[e]=!0,!1)}function Dg(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 Lg(e,t,n,r){if(t===null||typeof t>"u"||Dg(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 We(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new We(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){Te[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var tu=/[\-:]([a-z])/g;function nu(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(tu,nu);Te[t]=new We(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(tu,nu);Te[t]=new We(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(tu,nu);Te[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function ru(e,t,n,r){var i=Te.hasOwnProperty(t)?Te[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),js=Object.prototype.hasOwnProperty,Og=/^[: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]*$/,Dc={},Lc={};function bg(e){return js.call(Lc,e)?!0:js.call(Dc,e)?!1:Og.test(e)?Lc[e]=!0:(Dc[e]=!0,!1)}function Dg(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 Lg(e,t,n,r){if(t===null||typeof t>"u"||Dg(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 We(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new We(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){Te[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var tu=/[\-:]([a-z])/g;function nu(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(tu,nu);Te[t]=new We(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(tu,nu);Te[t]=new We(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(tu,nu);Te[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function ru(e,t,n,r){var i=Te.hasOwnProperty(t)?Te[t]:null;(i!==null?i.type!==0:r||!(2s||i[l]!==o[s]){var u=`
-`+i[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=s);break}}}finally{Vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oi(e):""}function Ig(e){switch(e.tag){case 5:return oi(e.type);case 16:return oi("Lazy");case 13:return oi("Suspense");case 19:return oi("SuspenseList");case 0:case 2:case 15:return e=Gl(e.type,!1),e;case 11:return e=Gl(e.type.render,!1),e;case 1:return e=Gl(e.type,!0),e;default:return""}}function Hs(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 cr:return"Fragment";case ur:return"Portal";case zs:return"Profiler";case iu:return"StrictMode";case Us:return"Suspense";case Bs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zf:return(e.displayName||"Context")+".Consumer";case jf:return(e._context.displayName||"Context")+".Provider";case ou:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lu:return t=e.displayName||null,t!==null?t:Hs(e.type)||"Memo";case rn:t=e._payload,e=e._init;try{return Hs(e(t))}catch{}}return null}function Mg(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 Hs(t);case 8:return t===iu?"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 En(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $g(e){var t=Bf(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yi(e){e._valueTracker||(e._valueTracker=$g(e))}function Hf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Bf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mo(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 Ws(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Mc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=En(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 Wf(e,t){t=t.checked,t!=null&&ru(e,"checked",t,!1)}function Qs(e,t){Wf(e,t);var n=En(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")?Ks(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ks(e,t.type,En(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $c(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 Ks(e,t,n){(t!=="number"||Mo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function Er(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ci={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},Fg=["Webkit","ms","Moz","O"];Object.keys(ci).forEach(function(e){Fg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ci[t]=ci[e]})});function Gf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ci.hasOwnProperty(e)&&ci[e]?(""+t).trim():t+"px"}function qf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Gf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var jg=ue({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 qs(e,t){if(t){if(jg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Ys(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 Xs=null;function su(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zs=null,Sr=null,Cr=null;function zc(e){if(e=Bi(e)){if(typeof Zs!="function")throw Error(R(280));var t=e.stateNode;t&&(t=xl(t),Zs(e.stateNode,e.type,t))}}function Yf(e){Sr?Cr?Cr.push(e):Cr=[e]:Sr=e}function Xf(){if(Sr){var e=Sr,t=Cr;if(Cr=Sr=null,zc(e),t)for(e=0;e>>=0,e===0?32:31-(Yg(e)/Xg|0)|0}var Zi=64,Ji=4194304;function si(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 zo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=si(s):(o&=l,o!==0&&(r=si(o)))}else l=n&~i,l!==0?r=si(l):o!==0&&(r=si(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function zi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-kt(t),e[t]=n}function tv(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=fi),qc=String.fromCharCode(32),Yc=!1;function vp(e,t){switch(e){case"keyup":return Av.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var dr=!1;function Ov(e,t){switch(e){case"compositionend":return yp(t);case"keypress":return t.which!==32?null:(Yc=!0,qc);case"textInput":return e=t.data,e===qc&&Yc?null:e;default:return null}}function bv(e,t){if(dr)return e==="compositionend"||!mu&&vp(e,t)?(e=mp(),Eo=fu=cn=null,dr=!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=ed(n)}}function Ep(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ep(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sp(){for(var e=window,t=Mo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mo(e.document)}return t}function gu(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 Uv(e){var t=Sp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ep(n.ownerDocument.documentElement,n)){if(r!==null&&gu(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=td(n,o);var l=td(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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,fr=null,ia=null,hi=null,oa=!1;function nd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;oa||fr==null||fr!==Mo(r)||(r=fr,"selectionStart"in r&&gu(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}),hi&&Ni(hi,r)||(hi=r,r=Ho(ia,"onSelect"),0mr||(e.current=da[mr],da[mr]=null,mr--)}function te(e,t){mr++,da[mr]=e.current,e.current=t}var Sn={},$e=kn(Sn),Ze=kn(!1),Bn=Sn;function Ar(e,t){var n=e.type.contextTypes;if(!n)return Sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Je(e){return e=e.childContextTypes,e!=null}function Qo(){re(Ze),re($e)}function ud(e,t,n){if($e.current!==Sn)throw Error(R(168));te($e,t),te(Ze,n)}function bp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(R(108,Mg(e)||"Unknown",i));return ue({},n,r)}function Ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sn,Bn=$e.current,te($e,e),te(Ze,Ze.current),!0}function cd(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=bp(e,t,Bn),r.__reactInternalMemoizedMergedChildContext=e,re(Ze),re($e),te($e,e)):re(Ze),te(Ze,n)}var Bt=null,wl=!1,as=!1;function Dp(e){Bt===null?Bt=[e]:Bt.push(e)}function Jv(e){wl=!0,Dp(e)}function Nn(){if(!as&&Bt!==null){as=!0;var e=0,t=X;try{var n=Bt;for(X=1;e>=l,i-=l,Wt=1<<32-kt(t)+i|n<k?(j=C,C=null):j=C.sibling;var b=p(g,C,h[k],E);if(b===null){C===null&&(C=j);break}e&&C&&b.alternate===null&&t(g,C),m=o(b,m,k),S===null?T=b:S.sibling=b,S=b,C=j}if(k===h.length)return n(g,C),ie&&bn(g,k),T;if(C===null){for(;kk?(j=C,C=null):j=C.sibling;var q=p(g,C,b.value,E);if(q===null){C===null&&(C=j);break}e&&C&&q.alternate===null&&t(g,C),m=o(q,m,k),S===null?T=q:S.sibling=q,S=q,C=j}if(b.done)return n(g,C),ie&&bn(g,k),T;if(C===null){for(;!b.done;k++,b=h.next())b=f(g,b.value,E),b!==null&&(m=o(b,m,k),S===null?T=b:S.sibling=b,S=b);return ie&&bn(g,k),T}for(C=r(g,C);!b.done;k++,b=h.next())b=y(C,g,k,b.value,E),b!==null&&(e&&b.alternate!==null&&C.delete(b.key===null?k:b.key),m=o(b,m,k),S===null?T=b:S.sibling=b,S=b);return e&&C.forEach(function(Qe){return t(g,Qe)}),ie&&bn(g,k),T}function N(g,m,h,E){if(typeof h=="object"&&h!==null&&h.type===cr&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case qi:e:{for(var T=h.key,S=m;S!==null;){if(S.key===T){if(T=h.type,T===cr){if(S.tag===7){n(g,S.sibling),m=i(S,h.props.children),m.return=g,g=m;break e}}else if(S.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===rn&&vd(T)===S.type){n(g,S.sibling),m=i(S,h.props),m.ref=Yr(g,S,h),m.return=g,g=m;break e}n(g,S);break}else t(g,S);S=S.sibling}h.type===cr?(m=Un(h.props.children,g.mode,E,h.key),m.return=g,g=m):(E=Po(h.type,h.key,h.props,null,g.mode,E),E.ref=Yr(g,m,h),E.return=g,g=E)}return l(g);case ur:e:{for(S=h.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(g,m.sibling),m=i(m,h.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=gs(h,g.mode,E),m.return=g,g=m}return l(g);case rn:return S=h._init,N(g,m,S(h._payload),E)}if(li(h))return _(g,m,h,E);if(Qr(h))return w(g,m,h,E);lo(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,h),m.return=g,g=m):(n(g,m),m=ms(h,g.mode,E),m.return=g,g=m),l(g)):n(g,m)}return N}var Or=Up(!0),Bp=Up(!1),Hi={},It=kn(Hi),Pi=kn(Hi),Oi=kn(Hi);function Fn(e){if(e===Hi)throw Error(R(174));return e}function ku(e,t){switch(te(Oi,t),te(Pi,e),te(It,Hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gs(t,e)}re(It),te(It,t)}function br(){re(It),re(Pi),re(Oi)}function Hp(e){Fn(Oi.current);var t=Fn(It.current),n=Gs(t,e.type);t!==n&&(te(Pi,e),te(It,n))}function Nu(e){Pi.current===e&&(re(It),re(Pi))}var se=kn(0);function Zo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var us=[];function Tu(){for(var e=0;en?n:4,e(!0);var r=cs.transition;cs.transition={};try{e(!1),t()}finally{X=n,cs.transition=r}}function oh(){return gt().memoizedState}function ry(e,t,n){var r=_n(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lh(e))sh(t,n);else if(n=$p(e,t,n,r),n!==null){var i=ze();Nt(n,e,r,i),ah(n,t,r)}}function iy(e,t,n){var r=_n(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lh(e))sh(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,Tt(s,l)){var u=t.interleaved;u===null?(i.next=i,Su(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=$p(e,t,i,r),n!==null&&(i=ze(),Nt(n,e,r,i),ah(n,t,r))}}function lh(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function sh(e,t){mi=Jo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ah(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uu(e,n)}}var el={readContext:mt,useCallback:be,useContext:be,useEffect:be,useImperativeHandle:be,useInsertionEffect:be,useLayoutEffect:be,useMemo:be,useReducer:be,useRef:be,useState:be,useDebugValue:be,useDeferredValue:be,useTransition:be,useMutableSource:be,useSyncExternalStore:be,useId:be,unstable_isNewReconciler:!1},oy={readContext:mt,useCallback:function(e,t){return bt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:_d,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,No(4194308,4,eh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var n=bt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bt();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=ry.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=bt();return e={current:e},t.memoizedState=e},useState:yd,useDebugValue:bu,useDeferredValue:function(e){return bt().memoizedState=e},useTransition:function(){var e=yd(!1),t=e[0];return e=ny.bind(null,e[1]),bt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,i=bt();if(ie){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Ee===null)throw Error(R(349));(Wn&30)!==0||Kp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,_d(Gp.bind(null,r,o,e),[e]),r.flags|=2048,Li(9,Vp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=bt(),t=Ee.identifierPrefix;if(ie){var n=Qt,r=Wt;n=(r&~(1<<32-kt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bi++,0")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=s);break}}}finally{Vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oi(e):""}function Ig(e){switch(e.tag){case 5:return oi(e.type);case 16:return oi("Lazy");case 13:return oi("Suspense");case 19:return oi("SuspenseList");case 0:case 2:case 15:return e=Gl(e.type,!1),e;case 11:return e=Gl(e.type.render,!1),e;case 1:return e=Gl(e.type,!0),e;default:return""}}function Hs(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 cr:return"Fragment";case ur:return"Portal";case zs:return"Profiler";case iu:return"StrictMode";case Us:return"Suspense";case Bs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zf:return(e.displayName||"Context")+".Consumer";case jf:return(e._context.displayName||"Context")+".Provider";case ou:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lu:return t=e.displayName||null,t!==null?t:Hs(e.type)||"Memo";case rn:t=e._payload,e=e._init;try{return Hs(e(t))}catch{}}return null}function $g(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 Hs(t);case 8:return t===iu?"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 En(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mg(e){var t=Bf(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Yi(e){e._valueTracker||(e._valueTracker=Mg(e))}function Hf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Bf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $o(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 Ws(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function $c(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=En(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 Wf(e,t){t=t.checked,t!=null&&ru(e,"checked",t,!1)}function Qs(e,t){Wf(e,t);var n=En(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")?Ks(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ks(e,t.type,En(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mc(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 Ks(e,t,n){(t!=="number"||$o(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=Array.isArray;function Er(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ci={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},Fg=["Webkit","ms","Moz","O"];Object.keys(ci).forEach(function(e){Fg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ci[t]=ci[e]})});function Gf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ci.hasOwnProperty(e)&&ci[e]?(""+t).trim():t+"px"}function qf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Gf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var jg=ue({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 qs(e,t){if(t){if(jg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Ys(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 Xs=null;function su(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zs=null,Sr=null,Cr=null;function zc(e){if(e=Bi(e)){if(typeof Zs!="function")throw Error(R(280));var t=e.stateNode;t&&(t=xl(t),Zs(e.stateNode,e.type,t))}}function Yf(e){Sr?Cr?Cr.push(e):Cr=[e]:Sr=e}function Xf(){if(Sr){var e=Sr,t=Cr;if(Cr=Sr=null,zc(e),t)for(e=0;e>>=0,e===0?32:31-(Yg(e)/Xg|0)|0}var Zi=64,Ji=4194304;function si(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 zo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=si(s):(o&=l,o!==0&&(r=si(o)))}else l=n&~i,l!==0?r=si(l):o!==0&&(r=si(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function zi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-kt(t),e[t]=n}function tv(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=fi),qc=String.fromCharCode(32),Yc=!1;function vp(e,t){switch(e){case"keyup":return Av.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var dr=!1;function Ov(e,t){switch(e){case"compositionend":return yp(t);case"keypress":return t.which!==32?null:(Yc=!0,qc);case"textInput":return e=t.data,e===qc&&Yc?null:e;default:return null}}function bv(e,t){if(dr)return e==="compositionend"||!mu&&vp(e,t)?(e=mp(),Eo=fu=cn=null,dr=!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=ed(n)}}function Ep(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ep(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sp(){for(var e=window,t=$o();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$o(e.document)}return t}function gu(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 Uv(e){var t=Sp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ep(n.ownerDocument.documentElement,n)){if(r!==null&&gu(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=td(n,o);var l=td(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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,fr=null,ia=null,hi=null,oa=!1;function nd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;oa||fr==null||fr!==$o(r)||(r=fr,"selectionStart"in r&&gu(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}),hi&&Ni(hi,r)||(hi=r,r=Ho(ia,"onSelect"),0mr||(e.current=da[mr],da[mr]=null,mr--)}function te(e,t){mr++,da[mr]=e.current,e.current=t}var Sn={},Me=kn(Sn),Ze=kn(!1),Bn=Sn;function Ar(e,t){var n=e.type.contextTypes;if(!n)return Sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Je(e){return e=e.childContextTypes,e!=null}function Qo(){re(Ze),re(Me)}function ud(e,t,n){if(Me.current!==Sn)throw Error(R(168));te(Me,t),te(Ze,n)}function bp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(R(108,$g(e)||"Unknown",i));return ue({},n,r)}function Ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sn,Bn=Me.current,te(Me,e),te(Ze,Ze.current),!0}function cd(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=bp(e,t,Bn),r.__reactInternalMemoizedMergedChildContext=e,re(Ze),re(Me),te(Me,e)):re(Ze),te(Ze,n)}var Bt=null,wl=!1,as=!1;function Dp(e){Bt===null?Bt=[e]:Bt.push(e)}function Jv(e){wl=!0,Dp(e)}function Nn(){if(!as&&Bt!==null){as=!0;var e=0,t=X;try{var n=Bt;for(X=1;e>=l,i-=l,Wt=1<<32-kt(t)+i|n<k?(j=C,C=null):j=C.sibling;var b=p(g,C,h[k],E);if(b===null){C===null&&(C=j);break}e&&C&&b.alternate===null&&t(g,C),m=o(b,m,k),S===null?T=b:S.sibling=b,S=b,C=j}if(k===h.length)return n(g,C),ie&&bn(g,k),T;if(C===null){for(;kk?(j=C,C=null):j=C.sibling;var q=p(g,C,b.value,E);if(q===null){C===null&&(C=j);break}e&&C&&q.alternate===null&&t(g,C),m=o(q,m,k),S===null?T=q:S.sibling=q,S=q,C=j}if(b.done)return n(g,C),ie&&bn(g,k),T;if(C===null){for(;!b.done;k++,b=h.next())b=f(g,b.value,E),b!==null&&(m=o(b,m,k),S===null?T=b:S.sibling=b,S=b);return ie&&bn(g,k),T}for(C=r(g,C);!b.done;k++,b=h.next())b=y(C,g,k,b.value,E),b!==null&&(e&&b.alternate!==null&&C.delete(b.key===null?k:b.key),m=o(b,m,k),S===null?T=b:S.sibling=b,S=b);return e&&C.forEach(function(Qe){return t(g,Qe)}),ie&&bn(g,k),T}function N(g,m,h,E){if(typeof h=="object"&&h!==null&&h.type===cr&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case qi:e:{for(var T=h.key,S=m;S!==null;){if(S.key===T){if(T=h.type,T===cr){if(S.tag===7){n(g,S.sibling),m=i(S,h.props.children),m.return=g,g=m;break e}}else if(S.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===rn&&vd(T)===S.type){n(g,S.sibling),m=i(S,h.props),m.ref=Yr(g,S,h),m.return=g,g=m;break e}n(g,S);break}else t(g,S);S=S.sibling}h.type===cr?(m=Un(h.props.children,g.mode,E,h.key),m.return=g,g=m):(E=Po(h.type,h.key,h.props,null,g.mode,E),E.ref=Yr(g,m,h),E.return=g,g=E)}return l(g);case ur:e:{for(S=h.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===h.containerInfo&&m.stateNode.implementation===h.implementation){n(g,m.sibling),m=i(m,h.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=gs(h,g.mode,E),m.return=g,g=m}return l(g);case rn:return S=h._init,N(g,m,S(h._payload),E)}if(li(h))return _(g,m,h,E);if(Qr(h))return w(g,m,h,E);lo(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,h),m.return=g,g=m):(n(g,m),m=ms(h,g.mode,E),m.return=g,g=m),l(g)):n(g,m)}return N}var Or=Up(!0),Bp=Up(!1),Hi={},It=kn(Hi),Pi=kn(Hi),Oi=kn(Hi);function Fn(e){if(e===Hi)throw Error(R(174));return e}function ku(e,t){switch(te(Oi,t),te(Pi,e),te(It,Hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gs(t,e)}re(It),te(It,t)}function br(){re(It),re(Pi),re(Oi)}function Hp(e){Fn(Oi.current);var t=Fn(It.current),n=Gs(t,e.type);t!==n&&(te(Pi,e),te(It,n))}function Nu(e){Pi.current===e&&(re(It),re(Pi))}var se=kn(0);function Zo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var us=[];function Tu(){for(var e=0;en?n:4,e(!0);var r=cs.transition;cs.transition={};try{e(!1),t()}finally{X=n,cs.transition=r}}function oh(){return gt().memoizedState}function ry(e,t,n){var r=_n(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lh(e))sh(t,n);else if(n=Mp(e,t,n,r),n!==null){var i=ze();Nt(n,e,r,i),ah(n,t,r)}}function iy(e,t,n){var r=_n(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lh(e))sh(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,Tt(s,l)){var u=t.interleaved;u===null?(i.next=i,Su(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Mp(e,t,i,r),n!==null&&(i=ze(),Nt(n,e,r,i),ah(n,t,r))}}function lh(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function sh(e,t){mi=Jo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ah(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uu(e,n)}}var el={readContext:mt,useCallback:be,useContext:be,useEffect:be,useImperativeHandle:be,useInsertionEffect:be,useLayoutEffect:be,useMemo:be,useReducer:be,useRef:be,useState:be,useDebugValue:be,useDeferredValue:be,useTransition:be,useMutableSource:be,useSyncExternalStore:be,useId:be,unstable_isNewReconciler:!1},oy={readContext:mt,useCallback:function(e,t){return bt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:_d,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,No(4194308,4,eh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var n=bt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bt();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=ry.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=bt();return e={current:e},t.memoizedState=e},useState:yd,useDebugValue:bu,useDeferredValue:function(e){return bt().memoizedState=e},useTransition:function(){var e=yd(!1),t=e[0];return e=ny.bind(null,e[1]),bt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,i=bt();if(ie){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Ee===null)throw Error(R(349));(Wn&30)!==0||Kp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,_d(Gp.bind(null,r,o,e),[e]),r.flags|=2048,Li(9,Vp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=bt(),t=Ee.identifierPrefix;if(ie){var n=Qt,r=Wt;n=(r&~(1<<32-kt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Dt]=t,e[Ai]=r,vh(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ys(n,r),n){case"dialog":ne("cancel",e),ne("close",e),i=r;break;case"iframe":case"object":case"embed":ne("load",e),i=r;break;case"video":case"audio":for(i=0;iLr&&(t.flags|=128,r=!0,Xr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Xr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ie)return De(t),null}else 2*pe()-o.renderingStartTime>Lr&&n!==1073741824&&(t.flags|=128,r=!0,Xr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=pe(),t.sibling=null,n=se.current,te(se,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Fu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(rt&1073741824)!==0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function py(e,t){switch(yu(t),t.tag){case 1:return Je(t.type)&&Qo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return br(),re(Ze),re($e),Tu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Nu(t),null;case 13:if(re(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(se),null;case 4:return br(),null;case 10:return Eu(t.type._context),null;case 22:case 23:return Fu(),null;case 24:return null;default:return null}}var ao=!1,Le=!1,hy=typeof WeakSet=="function"?WeakSet:Set,D=null;function _r(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function Sa(e,t,n){try{n()}catch(r){fe(e,t,r)}}var Rd=!1;function my(e,t){if(la=Uo,e=Sp(),gu(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var y;f!==n||i!==0&&f.nodeType!==3||(s=l+i),f!==o||r!==0&&f.nodeType!==3||(u=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(y=f.firstChild)!==null;)p=f,f=y;for(;;){if(f===e)break t;if(p===n&&++c===i&&(s=l),p===o&&++d===r&&(u=l),(y=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=y}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(sa={focusedElem:e,selectionRange:n},Uo=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var _=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var w=_.memoizedProps,N=_.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:xt(t.type,w),N);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(E){fe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return _=Rd,Rd=!1,_}function gi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Sa(t,n,o)}i=i.next}while(i!==r)}}function Cl(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 Ca(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 xh(e){var t=e.alternate;t!==null&&(e.alternate=null,xh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dt],delete t[Ai],delete t[ca],delete t[Xv],delete t[Zv])),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 wh(e){return e.tag===5||e.tag===3||e.tag===4}function Ad(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wh(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 ka(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=Wo));else if(r!==4&&(e=e.child,e!==null))for(ka(e,t,n),e=e.sibling;e!==null;)ka(e,t,n),e=e.sibling}function Na(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(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}var ke=null,wt=!1;function nn(e,t,n){for(n=n.child;n!==null;)Eh(e,t,n),n=n.sibling}function Eh(e,t,n){if(Lt&&typeof Lt.onCommitFiberUnmount=="function")try{Lt.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:Le||_r(n,t);case 6:var r=ke,i=wt;ke=null,nn(e,t,n),ke=r,wt=i,ke!==null&&(wt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(wt?(e=ke,n=n.stateNode,e.nodeType===8?ss(e.parentNode,n):e.nodeType===1&&ss(e,n),Ci(e)):ss(ke,n.stateNode));break;case 4:r=ke,i=wt,ke=n.stateNode.containerInfo,wt=!0,nn(e,t,n),ke=r,wt=i;break;case 0:case 11:case 14:case 15:if(!Le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&((o&2)!==0||(o&4)!==0)&&Sa(n,t,l),i=i.next}while(i!==r)}nn(e,t,n);break;case 1:if(!Le&&(_r(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){fe(n,t,s)}nn(e,t,n);break;case 21:nn(e,t,n);break;case 22:n.mode&1?(Le=(r=Le)||n.memoizedState!==null,nn(e,t,n),Le=r):nn(e,t,n);break;default:nn(e,t,n)}}function Pd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hy),t.forEach(function(r){var i=Cy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _t(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vy(r/1960))-r,10e?16:e,dn===null)var r=!1;else{if(e=dn,dn=null,rl=0,(G&6)!==0)throw Error(R(331));var i=G;for(G|=4,D=e.current;D!==null;){var o=D,l=o.child;if((D.flags&16)!==0){var s=o.deletions;if(s!==null){for(var u=0;upe()-Mu?zn(e,0):Iu|=n),et(e,t)}function Ph(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ji,Ji<<=1,(Ji&130023424)===0&&(Ji=4194304)));var n=ze();e=Yt(e,t),e!==null&&(zi(e,t,n),et(e,n))}function Sy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ph(e,n)}function Cy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),Ph(e,n)}var Oh;Oh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ze.current)Xe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Xe=!1,dy(e,t,n);Xe=(e.flags&131072)!==0}else Xe=!1,ie&&(t.flags&1048576)!==0&&Lp(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;To(e,t),e=t.pendingProps;var i=Ar(t,$e.current);Nr(t,n),i=Au(null,t,r,e,i,n);var o=Pu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Je(r)?(o=!0,Ko(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Cu(t),i.updater=El,t.stateNode=i,i._reactInternals=t,ga(t,r,e,n),t=_a(null,t,r,!0,o,n)):(t.tag=0,ie&&o&&vu(t),je(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(To(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Ny(r),e=xt(r,e),i){case 0:t=ya(null,t,r,e,n);break e;case 1:t=kd(null,t,r,e,n);break e;case 11:t=Sd(null,t,r,e,n);break e;case 14:t=Cd(null,t,r,xt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),ya(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),kd(e,t,r,i,n);case 3:e:{if(hh(t),e===null)throw Error(R(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Fp(e,t),Xo(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Dr(Error(R(423)),t),t=Nd(e,t,r,n,i);break e}else if(r!==i){i=Dr(Error(R(424)),t),t=Nd(e,t,r,n,i);break e}else for(it=gn(t.stateNode.containerInfo.firstChild),ot=t,ie=!0,St=null,n=Bp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pr(),r===i){t=Xt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return Hp(t),e===null&&pa(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,aa(r,i)?l=null:o!==null&&aa(r,o)&&(t.flags|=32),ph(e,t),je(e,t,l,n),t.child;case 6:return e===null&&pa(t),null;case 13:return mh(e,t,n);case 4:return ku(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Or(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),Sd(e,t,r,i,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,te(qo,r._currentValue),r._currentValue=l,o!==null)if(Tt(o.value,l)){if(o.children===i.children&&!Ze.current){t=Xt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Kt(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),ha(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(R(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),ha(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}je(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Nr(t,n),i=mt(i),r=r(i),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,i=xt(r,t.pendingProps),i=xt(r.type,i),Cd(e,t,r,i,n);case 15:return dh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),To(e,t),t.tag=1,Je(r)?(e=!0,Ko(t)):e=!1,Nr(t,n),zp(t,r,i),ga(t,r,i,n),_a(null,t,r,!0,e,n);case 19:return gh(e,t,n);case 22:return fh(e,t,n)}throw Error(R(156,t.tag))};function bh(e,t){return ip(e,t)}function ky(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 pt(e,t,n,r){return new ky(e,t,n,r)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ny(e){if(typeof e=="function")return zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ou)return 11;if(e===lu)return 14}return 2}function xn(e,t){var n=e.alternate;return n===null?(n=pt(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 Po(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")zu(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cr:return Un(n.children,i,o,t);case iu:l=8,i|=8;break;case zs:return e=pt(12,n,t,i|2),e.elementType=zs,e.lanes=o,e;case Us:return e=pt(13,n,t,i),e.elementType=Us,e.lanes=o,e;case Bs:return e=pt(19,n,t,i),e.elementType=Bs,e.lanes=o,e;case Uf:return Nl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jf:l=10;break e;case zf:l=9;break e;case ou:l=11;break e;case lu:l=14;break e;case rn:l=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=pt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Un(e,t,n,r){return e=pt(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=pt(22,e,r,t),e.elementType=Uf,e.lanes=n,e.stateNode={isHidden:!1},e}function ms(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function gs(e,t,n){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ty(e,t,n,r,i){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=Yl(0),this.expirationTimes=Yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,i,o,l,s,u){return e=new Ty(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=pt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cu(o),e}function Ry(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=st})(Ya);const wr=Tf(Ya.exports);var Mh,Fd=Ya.exports;Mh=Fd.createRoot,Fd.hydrateRoot;/**
+`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ps(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function va(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ay=typeof WeakMap=="function"?WeakMap:Map;function uh(e,t,n){n=Kt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nl||(nl=!0,Ta=r),va(e,t)},n}function ch(e,t,n){n=Kt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){va(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){va(e,t),typeof r!="function"&&(yn===null?yn=new Set([this]):yn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function xd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ay;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Ey.bind(null,e,t,n),t.then(e,e))}function wd(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 Ed(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Kt(-1,1),t.tag=2,vn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var uy=Jt.ReactCurrentOwner,Xe=!1;function je(e,t,n,r){t.child=e===null?Bp(t,null,n,r):Or(t,e.child,n,r)}function Sd(e,t,n,r,i){n=n.render;var o=t.ref;return Nr(t,i),r=Au(e,t,n,r,o,i),n=Pu(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Xt(e,t,i)):(ie&&n&&vu(t),t.flags|=1,je(e,t,r,i),t.child)}function Cd(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!zu(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,dh(e,t,o,r,i)):(e=Po(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ni,n(l,r)&&e.ref===t.ref)return Xt(e,t,i)}return t.flags|=1,e=xn(o,r),e.ref=t.ref,e.return=t,t.child=e}function dh(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Ni(o,r)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(Xe=!0);else return t.lanes=e.lanes,Xt(e,t,i)}return ya(e,t,n,r,i)}function fh(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(xr,rt),rt|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,te(xr,rt),rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,te(xr,rt),rt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,te(xr,rt),rt|=r;return je(e,t,i,n),t.child}function ph(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ya(e,t,n,r,i){var o=Je(n)?Bn:Me.current;return o=Ar(t,o),Nr(t,i),n=Au(e,t,n,r,o,i),r=Pu(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Xt(e,t,i)):(ie&&r&&vu(t),t.flags|=1,je(e,t,n,i),t.child)}function kd(e,t,n,r,i){if(Je(n)){var o=!0;Ko(t)}else o=!1;if(Nr(t,i),t.stateNode===null)To(e,t),zp(t,n,r),ga(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var u=l.context,c=n.contextType;typeof c=="object"&&c!==null?c=mt(c):(c=Je(n)?Bn:Me.current,c=Ar(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||u!==c)&&gd(t,l,r,c),on=!1;var p=t.memoizedState;l.state=p,Xo(t,r,l,i),u=t.memoizedState,s!==r||p!==u||Ze.current||on?(typeof d=="function"&&(ma(t,n,d,r),u=t.memoizedState),(s=on||md(t,n,s,r,p,u,c))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=c,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Fp(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:xt(t.type,s),l.props=c,f=t.pendingProps,p=l.context,u=n.contextType,typeof u=="object"&&u!==null?u=mt(u):(u=Je(n)?Bn:Me.current,u=Ar(t,u));var y=n.getDerivedStateFromProps;(d=typeof y=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==f||p!==u)&&gd(t,l,r,u),on=!1,p=t.memoizedState,l.state=p,Xo(t,r,l,i);var _=t.memoizedState;s!==f||p!==_||Ze.current||on?(typeof y=="function"&&(ma(t,n,y,r),_=t.memoizedState),(c=on||md(t,n,c,r,p,_,u)||!1)?(d||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,_,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,_,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=_),l.props=r,l.state=_,l.context=u,r=c):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return _a(e,t,n,r,o,i)}function _a(e,t,n,r,i,o){ph(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&cd(t,n,!1),Xt(e,t,o);r=t.stateNode,uy.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Or(t,e.child,null,o),t.child=Or(t,null,s,o)):je(e,t,s,o),t.memoizedState=r.state,i&&cd(t,n,!0),t.child}function hh(e){var t=e.stateNode;t.pendingContext?ud(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ud(e,t.context,!1),ku(e,t.containerInfo)}function Nd(e,t,n,r,i){return Pr(),_u(i),t.flags|=256,je(e,t,n,r),t.child}var xa={dehydrated:null,treeContext:null,retryLane:0};function wa(e){return{baseLanes:e,cachePool:null,transitions:null}}function mh(e,t,n){var r=t.pendingProps,i=se.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),te(se,i&1),e===null)return pa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Nl(l,r,0,null),e=Un(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=wa(n),t.memoizedState=xa,e):Du(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return cy(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var u={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=xn(i,u),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=xn(s,o):(o=Un(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?wa(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=xa,r}return o=e.child,e=o.sibling,r=xn(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(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 Du(e,t){return t=Nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function so(e,t,n,r){return r!==null&&_u(r),Or(t,e.child,null,n),e=Du(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function cy(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=ps(Error(R(422))),so(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Nl({mode:"visible",children:r.children},i,0,null),o=Un(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Or(t,e.child,null,l),t.child.memoizedState=wa(l),t.memoizedState=xa,o);if((t.mode&1)===0)return so(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(R(419)),r=ps(o,r,void 0),so(e,t,l,r)}if(s=(l&e.childLanes)!==0,Xe||s){if(r=Ee,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|l))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Yt(e,i),Nt(r,e,i,-1))}return ju(),r=ps(Error(R(421))),so(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Sy.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,it=gn(i.nextSibling),ot=t,ie=!0,St=null,e!==null&&(ct[dt++]=Wt,ct[dt++]=Qt,ct[dt++]=Hn,Wt=e.id,Qt=e.overflow,Hn=t),t=Du(t,r.children),t.flags|=4096,t)}function Td(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ha(e.return,t,n)}function hs(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function gh(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(je(e,t,r.children,n),r=se.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Td(e,n,t);else if(e.tag===19)Td(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(te(se,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Zo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),hs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Zo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}hs(t,!0,n,null,o);break;case"together":hs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function To(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Xt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Qn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=xn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dy(e,t,n){switch(t.tag){case 3:hh(t),Pr();break;case 5:Hp(t);break;case 1:Je(t.type)&&Ko(t);break;case 4:ku(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;te(qo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(te(se,se.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?mh(e,t,n):(te(se,se.current&1),e=Xt(e,t,n),e!==null?e.sibling:null);te(se,se.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return gh(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),te(se,se.current),r)break;return null;case 22:case 23:return t.lanes=0,fh(e,t,n)}return Xt(e,t,n)}var vh,Ea,yh,_h;vh=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}};Ea=function(){};yh=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Fn(It.current);var o=null;switch(n){case"input":i=Ws(e,i),r=Ws(e,r),o=[];break;case"select":i=ue({},i,{value:void 0}),r=ue({},r,{value:void 0}),o=[];break;case"textarea":i=Vs(e,i),r=Vs(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Wo)}qs(n,r);var l;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(_i.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var u=r[c];if(s=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(u!=null||s!=null))if(c==="style")if(s){for(l in s)!s.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&s[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(o||(o=[]),o.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(o=o||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(_i.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&ne("scroll",e),o||s===u||(o=[])):(o=o||[]).push(c,u))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};_h=function(e,t,n,r){n!==r&&(t.flags|=4)};function Xr(e,t){if(!ie)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 De(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fy(e,t,n){var r=t.pendingProps;switch(yu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return Je(t.type)&&Qo(),De(t),null;case 3:return r=t.stateNode,br(),re(Ze),re(Me),Tu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(oo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,St!==null&&(Pa(St),St=null))),Ea(e,t),De(t),null;case 5:Nu(t);var i=Fn(Oi.current);if(n=t.type,e!==null&&t.stateNode!=null)yh(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return De(t),null}if(e=Fn(It.current),oo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Dt]=t,r[Ai]=o,e=(t.mode&1)!==0,n){case"dialog":ne("cancel",r),ne("close",r);break;case"iframe":case"object":case"embed":ne("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Dt]=t,e[Ai]=r,vh(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ys(n,r),n){case"dialog":ne("cancel",e),ne("close",e),i=r;break;case"iframe":case"object":case"embed":ne("load",e),i=r;break;case"video":case"audio":for(i=0;iLr&&(t.flags|=128,r=!0,Xr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Xr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ie)return De(t),null}else 2*pe()-o.renderingStartTime>Lr&&n!==1073741824&&(t.flags|=128,r=!0,Xr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=pe(),t.sibling=null,n=se.current,te(se,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Fu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(rt&1073741824)!==0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function py(e,t){switch(yu(t),t.tag){case 1:return Je(t.type)&&Qo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return br(),re(Ze),re(Me),Tu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Nu(t),null;case 13:if(re(se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(se),null;case 4:return br(),null;case 10:return Eu(t.type._context),null;case 22:case 23:return Fu(),null;case 24:return null;default:return null}}var ao=!1,Le=!1,hy=typeof WeakSet=="function"?WeakSet:Set,D=null;function _r(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function Sa(e,t,n){try{n()}catch(r){fe(e,t,r)}}var Rd=!1;function my(e,t){if(la=Uo,e=Sp(),gu(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var y;f!==n||i!==0&&f.nodeType!==3||(s=l+i),f!==o||r!==0&&f.nodeType!==3||(u=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(y=f.firstChild)!==null;)p=f,f=y;for(;;){if(f===e)break t;if(p===n&&++c===i&&(s=l),p===o&&++d===r&&(u=l),(y=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=y}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(sa={focusedElem:e,selectionRange:n},Uo=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var _=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var w=_.memoizedProps,N=_.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:xt(t.type,w),N);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(E){fe(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return _=Rd,Rd=!1,_}function gi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Sa(t,n,o)}i=i.next}while(i!==r)}}function Cl(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 Ca(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 xh(e){var t=e.alternate;t!==null&&(e.alternate=null,xh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dt],delete t[Ai],delete t[ca],delete t[Xv],delete t[Zv])),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 wh(e){return e.tag===5||e.tag===3||e.tag===4}function Ad(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wh(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 ka(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=Wo));else if(r!==4&&(e=e.child,e!==null))for(ka(e,t,n),e=e.sibling;e!==null;)ka(e,t,n),e=e.sibling}function Na(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(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}var ke=null,wt=!1;function nn(e,t,n){for(n=n.child;n!==null;)Eh(e,t,n),n=n.sibling}function Eh(e,t,n){if(Lt&&typeof Lt.onCommitFiberUnmount=="function")try{Lt.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:Le||_r(n,t);case 6:var r=ke,i=wt;ke=null,nn(e,t,n),ke=r,wt=i,ke!==null&&(wt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(wt?(e=ke,n=n.stateNode,e.nodeType===8?ss(e.parentNode,n):e.nodeType===1&&ss(e,n),Ci(e)):ss(ke,n.stateNode));break;case 4:r=ke,i=wt,ke=n.stateNode.containerInfo,wt=!0,nn(e,t,n),ke=r,wt=i;break;case 0:case 11:case 14:case 15:if(!Le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&((o&2)!==0||(o&4)!==0)&&Sa(n,t,l),i=i.next}while(i!==r)}nn(e,t,n);break;case 1:if(!Le&&(_r(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){fe(n,t,s)}nn(e,t,n);break;case 21:nn(e,t,n);break;case 22:n.mode&1?(Le=(r=Le)||n.memoizedState!==null,nn(e,t,n),Le=r):nn(e,t,n);break;default:nn(e,t,n)}}function Pd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hy),t.forEach(function(r){var i=Cy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _t(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vy(r/1960))-r,10e?16:e,dn===null)var r=!1;else{if(e=dn,dn=null,rl=0,(G&6)!==0)throw Error(R(331));var i=G;for(G|=4,D=e.current;D!==null;){var o=D,l=o.child;if((D.flags&16)!==0){var s=o.deletions;if(s!==null){for(var u=0;upe()-$u?zn(e,0):Iu|=n),et(e,t)}function Ph(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ji,Ji<<=1,(Ji&130023424)===0&&(Ji=4194304)));var n=ze();e=Yt(e,t),e!==null&&(zi(e,t,n),et(e,n))}function Sy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ph(e,n)}function Cy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),Ph(e,n)}var Oh;Oh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ze.current)Xe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Xe=!1,dy(e,t,n);Xe=(e.flags&131072)!==0}else Xe=!1,ie&&(t.flags&1048576)!==0&&Lp(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;To(e,t),e=t.pendingProps;var i=Ar(t,Me.current);Nr(t,n),i=Au(null,t,r,e,i,n);var o=Pu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Je(r)?(o=!0,Ko(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Cu(t),i.updater=El,t.stateNode=i,i._reactInternals=t,ga(t,r,e,n),t=_a(null,t,r,!0,o,n)):(t.tag=0,ie&&o&&vu(t),je(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(To(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Ny(r),e=xt(r,e),i){case 0:t=ya(null,t,r,e,n);break e;case 1:t=kd(null,t,r,e,n);break e;case 11:t=Sd(null,t,r,e,n);break e;case 14:t=Cd(null,t,r,xt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),ya(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),kd(e,t,r,i,n);case 3:e:{if(hh(t),e===null)throw Error(R(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Fp(e,t),Xo(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Dr(Error(R(423)),t),t=Nd(e,t,r,n,i);break e}else if(r!==i){i=Dr(Error(R(424)),t),t=Nd(e,t,r,n,i);break e}else for(it=gn(t.stateNode.containerInfo.firstChild),ot=t,ie=!0,St=null,n=Bp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pr(),r===i){t=Xt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return Hp(t),e===null&&pa(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,aa(r,i)?l=null:o!==null&&aa(r,o)&&(t.flags|=32),ph(e,t),je(e,t,l,n),t.child;case 6:return e===null&&pa(t),null;case 13:return mh(e,t,n);case 4:return ku(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Or(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),Sd(e,t,r,i,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,te(qo,r._currentValue),r._currentValue=l,o!==null)if(Tt(o.value,l)){if(o.children===i.children&&!Ze.current){t=Xt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Kt(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),ha(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(R(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),ha(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}je(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Nr(t,n),i=mt(i),r=r(i),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,i=xt(r,t.pendingProps),i=xt(r.type,i),Cd(e,t,r,i,n);case 15:return dh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:xt(r,i),To(e,t),t.tag=1,Je(r)?(e=!0,Ko(t)):e=!1,Nr(t,n),zp(t,r,i),ga(t,r,i,n),_a(null,t,r,!0,e,n);case 19:return gh(e,t,n);case 22:return fh(e,t,n)}throw Error(R(156,t.tag))};function bh(e,t){return ip(e,t)}function ky(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 pt(e,t,n,r){return new ky(e,t,n,r)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ny(e){if(typeof e=="function")return zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ou)return 11;if(e===lu)return 14}return 2}function xn(e,t){var n=e.alternate;return n===null?(n=pt(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 Po(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")zu(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cr:return Un(n.children,i,o,t);case iu:l=8,i|=8;break;case zs:return e=pt(12,n,t,i|2),e.elementType=zs,e.lanes=o,e;case Us:return e=pt(13,n,t,i),e.elementType=Us,e.lanes=o,e;case Bs:return e=pt(19,n,t,i),e.elementType=Bs,e.lanes=o,e;case Uf:return Nl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jf:l=10;break e;case zf:l=9;break e;case ou:l=11;break e;case lu:l=14;break e;case rn:l=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=pt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Un(e,t,n,r){return e=pt(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=pt(22,e,r,t),e.elementType=Uf,e.lanes=n,e.stateNode={isHidden:!1},e}function ms(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function gs(e,t,n){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ty(e,t,n,r,i){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=Yl(0),this.expirationTimes=Yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,i,o,l,s,u){return e=new Ty(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=pt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cu(o),e}function Ry(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=st})(Ya);const wr=Tf(Ya.exports);var $h,Fd=Ya.exports;$h=Fd.createRoot,Fd.hydrateRoot;/**
* @remix-run/router v1.0.1
*
* Copyright (c) Remix Software Inc.
@@ -38,7 +38,7 @@ Error generating stack: `+o.message+`
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=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 My(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,s=fn.Pop,u=null;function c(){s=fn.Pop,u&&u({action:s,location:p.location})}function d(y,_){s=fn.Push;let w=Oa(p.location,y,_);n&&n(w,y);let N=zd(w),g=p.createHref(w);try{l.pushState(N,"",g)}catch{i.location.assign(g)}o&&u&&u({action:s,location:w})}function f(y,_){s=fn.Replace;let w=Oa(p.location,y,_);n&&n(w,y);let N=zd(w),g=p.createHref(w);l.replaceState(N,"",g),o&&u&&u({action:s,location:w})}let p={get action(){return s},get location(){return e(i,l)},listen(y){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(jd,c),u=y,()=>{i.removeEventListener(jd,c),u=null}},createHref(y){return t(i,y)},push:d,replace:f,go(y){return l.go(y)}};return p}var Ud;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ud||(Ud={}));function $y(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Yn(t):t,i=Fh(r.pathname||"/",n);if(i==null)return null;let o=$h(e);Fy(o);let l=null;for(let s=0;l==null&&s{let l={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Ue(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let s=wn([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(Ue(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),$h(i.children,t,u,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:Qy(s,i.index),routesMeta:u})}),t}function Fy(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Ky(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const jy=/^:\w+$/,zy=3,Uy=2,By=1,Hy=10,Wy=-2,Bd=e=>e==="*";function Qy(e,t){let n=e.split("/"),r=n.length;return n.some(Bd)&&(r+=Wy),t&&(r+=Uy),n.filter(i=>!Bd(i)).reduce((i,o)=>i+(jy.test(o)?zy:o===""?By:Hy),r)}function Ky(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Vy(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let l=0;l{if(d==="*"){let p=s[f]||"";l=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}return c[d]=qy(s[f]||"",d),c},{}),pathname:o,pathnameBase:l,pattern:e}}function Gy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),jh(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(l,s)=>(r.push(s),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),r]}function qy(e,t){try{return decodeURIComponent(e)}catch(n){return jh(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Fh(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 Ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function jh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Yy(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Yn(e):e;return{pathname:n?n.startsWith("/")?n:Xy(n,t):t,search:Jy(r),hash:e_(i)}}function Xy(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function zh(e,t,n,r){r===void 0&&(r=!1);let i=typeof e=="string"?Yn(e):ll({},e),o=e===""||i.pathname==="",l=o?"/":i.pathname,s;if(r||l==null)s=n;else{let f=t.length-1;if(l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}s=f>=0?t[f]:"/"}let u=Yy(i,s),c=l&&l!=="/"&&l.endsWith("/"),d=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const wn=e=>e.join("/").replace(/\/\/+/g,"/"),Zy=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Jy=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,e_=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class t_{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function n_(e){return e instanceof t_}var Ol={exports:{}},bl={};/**
+ */function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=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 $y(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,s=fn.Pop,u=null;function c(){s=fn.Pop,u&&u({action:s,location:p.location})}function d(y,_){s=fn.Push;let w=Oa(p.location,y,_);n&&n(w,y);let N=zd(w),g=p.createHref(w);try{l.pushState(N,"",g)}catch{i.location.assign(g)}o&&u&&u({action:s,location:w})}function f(y,_){s=fn.Replace;let w=Oa(p.location,y,_);n&&n(w,y);let N=zd(w),g=p.createHref(w);l.replaceState(N,"",g),o&&u&&u({action:s,location:w})}let p={get action(){return s},get location(){return e(i,l)},listen(y){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(jd,c),u=y,()=>{i.removeEventListener(jd,c),u=null}},createHref(y){return t(i,y)},push:d,replace:f,go(y){return l.go(y)}};return p}var Ud;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ud||(Ud={}));function My(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Yn(t):t,i=Fh(r.pathname||"/",n);if(i==null)return null;let o=Mh(e);Fy(o);let l=null;for(let s=0;l==null&&s{let l={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Ue(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let s=wn([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(Ue(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Mh(i.children,t,u,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:Qy(s,i.index),routesMeta:u})}),t}function Fy(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Ky(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const jy=/^:\w+$/,zy=3,Uy=2,By=1,Hy=10,Wy=-2,Bd=e=>e==="*";function Qy(e,t){let n=e.split("/"),r=n.length;return n.some(Bd)&&(r+=Wy),t&&(r+=Uy),n.filter(i=>!Bd(i)).reduce((i,o)=>i+(jy.test(o)?zy:o===""?By:Hy),r)}function Ky(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Vy(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let l=0;l{if(d==="*"){let p=s[f]||"";l=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}return c[d]=qy(s[f]||"",d),c},{}),pathname:o,pathnameBase:l,pattern:e}}function Gy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),jh(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(l,s)=>(r.push(s),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),r]}function qy(e,t){try{return decodeURIComponent(e)}catch(n){return jh(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Fh(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 Ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function jh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Yy(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Yn(e):e;return{pathname:n?n.startsWith("/")?n:Xy(n,t):t,search:Jy(r),hash:e_(i)}}function Xy(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function zh(e,t,n,r){r===void 0&&(r=!1);let i=typeof e=="string"?Yn(e):ll({},e),o=e===""||i.pathname==="",l=o?"/":i.pathname,s;if(r||l==null)s=n;else{let f=t.length-1;if(l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}s=f>=0?t[f]:"/"}let u=Yy(i,s),c=l&&l!=="/"&&l.endsWith("/"),d=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const wn=e=>e.join("/").replace(/\/\/+/g,"/"),Zy=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Jy=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,e_=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class t_{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function n_(e){return e instanceof t_}var Ol={exports:{}},bl={};/**
* @license React
* react-jsx-runtime.production.min.js
*
@@ -55,7 +55,7 @@ Error generating stack: `+o.message+`
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */function Da(){return Da=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,vs(i)&&o({inst:i})},[e,r,t]),f_(()=>(vs(i)&&o({inst:i}),e(()=>{vs(i)&&o({inst:i})})),[e]),h_(r),r}function vs(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!c_(n,r)}catch{return!0}}function g_(e,t,n){return t()}const v_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y_=!v_,__=y_?g_:m_;"useSyncExternalStore"in Fs&&(e=>e.useSyncExternalStore)(Fs);const x_=v.exports.createContext(null),w_=v.exports.createContext(null),Ku=v.exports.createContext(null),Vu=v.exports.createContext(null),Dl=v.exports.createContext(null),jr=v.exports.createContext({outlet:null,matches:[]}),Bh=v.exports.createContext(null);function E_(e,t){let{relative:n}=t===void 0?{}:t;zr()||Ue(!1);let{basename:r,navigator:i}=v.exports.useContext(Vu),{hash:o,pathname:l,search:s}=al(e,{relative:n}),u=l;return r!=="/"&&(u=l==="/"?r:wn([r,l])),i.createHref({pathname:u,search:s,hash:o})}function zr(){return v.exports.useContext(Dl)!=null}function Mt(){return zr()||Ue(!1),v.exports.useContext(Dl).location}function S_(e){zr()||Ue(!1);let{pathname:t}=Mt();return v.exports.useMemo(()=>Qu(e,t),[t,e])}function Hh(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function _e(){zr()||Ue(!1);let{basename:e,navigator:t}=v.exports.useContext(Vu),{matches:n}=v.exports.useContext(jr),{pathname:r}=Mt(),i=JSON.stringify(Hh(n).map(s=>s.pathnameBase)),o=v.exports.useRef(!1);return v.exports.useEffect(()=>{o.current=!0}),v.exports.useCallback(function(s,u){if(u===void 0&&(u={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let c=zh(s,JSON.parse(i),r,u.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:wn([e,c.pathname])),(u.replace?t.replace:t.push)(c,u.state,u)},[e,t,i,r])}function Wh(){let{matches:e}=v.exports.useContext(jr),t=e[e.length-1];return t?t.params:{}}function al(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=v.exports.useContext(jr),{pathname:i}=Mt(),o=JSON.stringify(Hh(r).map(l=>l.pathnameBase));return v.exports.useMemo(()=>zh(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function C_(e,t){zr()||Ue(!1);let n=v.exports.useContext(Ku),{matches:r}=v.exports.useContext(jr),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let s=Mt(),u;if(t){var c;let _=typeof t=="string"?Yn(t):t;l==="/"||((c=_.pathname)==null?void 0:c.startsWith(l))||Ue(!1),u=_}else u=s;let d=u.pathname||"/",f=l==="/"?d:d.slice(l.length)||"/",p=$y(e,{pathname:f}),y=R_(p&&p.map(_=>Object.assign({},_,{params:Object.assign({},o,_.params),pathname:wn([l,_.pathname]),pathnameBase:_.pathnameBase==="/"?l:wn([l,_.pathnameBase])})),r,n||void 0);return t?a(Dl.Provider,{value:{location:Da({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:fn.Pop},children:y}):y}function k_(){let e=P_(),t=n_(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return A(sl,{children:[a("h2",{children:"Unhandled Thrown Error!"}),a("h3",{style:{fontStyle:"italic"},children:t}),n?a("pre",{style:i,children:n}):null,a("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),A("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",a("code",{style:o,children:"errorElement"})," props on\xA0",a("code",{style:o,children:""})]})]})}class N_ extends v.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?a(Bh.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function T_(e){let{routeContext:t,match:n,children:r}=e,i=v.exports.useContext(x_);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),a(jr.Provider,{value:t,children:r})}function R_(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let o=r.findIndex(l=>l.route.id&&(i==null?void 0:i[l.route.id]));o>=0||Ue(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((o,l,s)=>{let u=l.route.id?i==null?void 0:i[l.route.id]:null,c=n?l.route.errorElement||a(k_,{}):null,d=()=>a(T_,{match:l,routeContext:{outlet:o,matches:t.concat(r.slice(0,s+1))},children:u?c:l.route.element!==void 0?l.route.element:o});return n&&(l.route.errorElement||s===0)?a(N_,{location:n.location,component:c,error:u,children:d()}):d()},null)}var La;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(La||(La={}));function A_(e){let t=v.exports.useContext(Ku);return t||Ue(!1),t}function P_(){var e;let t=v.exports.useContext(Bh),n=A_(La.UseRouteError),r=v.exports.useContext(jr),i=r.matches[r.matches.length-1];return t||(r||Ue(!1),i.route.id||Ue(!1),(e=n.errors)==null?void 0:e[i.route.id])}function nt(e){Ue(!1)}function O_(e){let{basename:t="/",children:n=null,location:r,navigationType:i=fn.Pop,navigator:o,static:l=!1}=e;zr()&&Ue(!1);let s=t.replace(/^\/*/,"/"),u=v.exports.useMemo(()=>({basename:s,navigator:o,static:l}),[s,o,l]);typeof r=="string"&&(r=Yn(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:y="default"}=r,_=v.exports.useMemo(()=>{let w=Fh(c,s);return w==null?null:{pathname:w,search:d,hash:f,state:p,key:y}},[s,c,d,f,p,y]);return _==null?null:a(Vu.Provider,{value:u,children:a(Dl.Provider,{children:n,value:{location:_,navigationType:i}})})}function b_(e){let{children:t,location:n}=e,r=v.exports.useContext(w_),i=r&&!t?r.router.routes:Ia(t);return C_(i,n)}var Hd;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Hd||(Hd={}));new Promise(()=>{});function Ia(e,t){t===void 0&&(t=[]);let n=[];return v.exports.Children.forEach(e,(r,i)=>{if(!v.exports.isValidElement(r))return;if(r.type===v.exports.Fragment){n.push.apply(n,Ia(r.props.children,t));return}r.type!==nt&&Ue(!1);let o=[...t,i],l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(l.children=Ia(r.props.children,o)),n.push(l)}),n}/**
+ */function Da(){return Da=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,vs(i)&&o({inst:i})},[e,r,t]),f_(()=>(vs(i)&&o({inst:i}),e(()=>{vs(i)&&o({inst:i})})),[e]),h_(r),r}function vs(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!c_(n,r)}catch{return!0}}function g_(e,t,n){return t()}const v_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y_=!v_,__=y_?g_:m_;"useSyncExternalStore"in Fs&&(e=>e.useSyncExternalStore)(Fs);const x_=v.exports.createContext(null),w_=v.exports.createContext(null),Ku=v.exports.createContext(null),Vu=v.exports.createContext(null),Dl=v.exports.createContext(null),jr=v.exports.createContext({outlet:null,matches:[]}),Bh=v.exports.createContext(null);function E_(e,t){let{relative:n}=t===void 0?{}:t;zr()||Ue(!1);let{basename:r,navigator:i}=v.exports.useContext(Vu),{hash:o,pathname:l,search:s}=al(e,{relative:n}),u=l;return r!=="/"&&(u=l==="/"?r:wn([r,l])),i.createHref({pathname:u,search:s,hash:o})}function zr(){return v.exports.useContext(Dl)!=null}function $t(){return zr()||Ue(!1),v.exports.useContext(Dl).location}function S_(e){zr()||Ue(!1);let{pathname:t}=$t();return v.exports.useMemo(()=>Qu(e,t),[t,e])}function Hh(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function _e(){zr()||Ue(!1);let{basename:e,navigator:t}=v.exports.useContext(Vu),{matches:n}=v.exports.useContext(jr),{pathname:r}=$t(),i=JSON.stringify(Hh(n).map(s=>s.pathnameBase)),o=v.exports.useRef(!1);return v.exports.useEffect(()=>{o.current=!0}),v.exports.useCallback(function(s,u){if(u===void 0&&(u={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let c=zh(s,JSON.parse(i),r,u.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:wn([e,c.pathname])),(u.replace?t.replace:t.push)(c,u.state,u)},[e,t,i,r])}function Wh(){let{matches:e}=v.exports.useContext(jr),t=e[e.length-1];return t?t.params:{}}function al(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=v.exports.useContext(jr),{pathname:i}=$t(),o=JSON.stringify(Hh(r).map(l=>l.pathnameBase));return v.exports.useMemo(()=>zh(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function C_(e,t){zr()||Ue(!1);let n=v.exports.useContext(Ku),{matches:r}=v.exports.useContext(jr),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let s=$t(),u;if(t){var c;let _=typeof t=="string"?Yn(t):t;l==="/"||((c=_.pathname)==null?void 0:c.startsWith(l))||Ue(!1),u=_}else u=s;let d=u.pathname||"/",f=l==="/"?d:d.slice(l.length)||"/",p=My(e,{pathname:f}),y=R_(p&&p.map(_=>Object.assign({},_,{params:Object.assign({},o,_.params),pathname:wn([l,_.pathname]),pathnameBase:_.pathnameBase==="/"?l:wn([l,_.pathnameBase])})),r,n||void 0);return t?a(Dl.Provider,{value:{location:Da({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:fn.Pop},children:y}):y}function k_(){let e=P_(),t=n_(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return A(sl,{children:[a("h2",{children:"Unhandled Thrown Error!"}),a("h3",{style:{fontStyle:"italic"},children:t}),n?a("pre",{style:i,children:n}):null,a("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),A("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",a("code",{style:o,children:"errorElement"})," props on\xA0",a("code",{style:o,children:""})]})]})}class N_ extends v.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?a(Bh.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function T_(e){let{routeContext:t,match:n,children:r}=e,i=v.exports.useContext(x_);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),a(jr.Provider,{value:t,children:r})}function R_(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let o=r.findIndex(l=>l.route.id&&(i==null?void 0:i[l.route.id]));o>=0||Ue(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((o,l,s)=>{let u=l.route.id?i==null?void 0:i[l.route.id]:null,c=n?l.route.errorElement||a(k_,{}):null,d=()=>a(T_,{match:l,routeContext:{outlet:o,matches:t.concat(r.slice(0,s+1))},children:u?c:l.route.element!==void 0?l.route.element:o});return n&&(l.route.errorElement||s===0)?a(N_,{location:n.location,component:c,error:u,children:d()}):d()},null)}var La;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(La||(La={}));function A_(e){let t=v.exports.useContext(Ku);return t||Ue(!1),t}function P_(){var e;let t=v.exports.useContext(Bh),n=A_(La.UseRouteError),r=v.exports.useContext(jr),i=r.matches[r.matches.length-1];return t||(r||Ue(!1),i.route.id||Ue(!1),(e=n.errors)==null?void 0:e[i.route.id])}function nt(e){Ue(!1)}function O_(e){let{basename:t="/",children:n=null,location:r,navigationType:i=fn.Pop,navigator:o,static:l=!1}=e;zr()&&Ue(!1);let s=t.replace(/^\/*/,"/"),u=v.exports.useMemo(()=>({basename:s,navigator:o,static:l}),[s,o,l]);typeof r=="string"&&(r=Yn(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:y="default"}=r,_=v.exports.useMemo(()=>{let w=Fh(c,s);return w==null?null:{pathname:w,search:d,hash:f,state:p,key:y}},[s,c,d,f,p,y]);return _==null?null:a(Vu.Provider,{value:u,children:a(Dl.Provider,{children:n,value:{location:_,navigationType:i}})})}function b_(e){let{children:t,location:n}=e,r=v.exports.useContext(w_),i=r&&!t?r.router.routes:Ia(t);return C_(i,n)}var Hd;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Hd||(Hd={}));new Promise(()=>{});function Ia(e,t){t===void 0&&(t=[]);let n=[];return v.exports.Children.forEach(e,(r,i)=>{if(!v.exports.isValidElement(r))return;if(r.type===v.exports.Fragment){n.push.apply(n,Ia(r.props.children,t));return}r.type!==nt&&Ue(!1);let o=[...t,i],l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(l.children=Ia(r.props.children,o)),n.push(l)}),n}/**
* React Router DOM v6.4.1
*
* Copyright (c) Remix Software Inc.
@@ -64,7 +64,7 @@ Error generating stack: `+o.message+`
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */function Qh(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function D_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function L_(e,t){return e.button===0&&(!t||t==="_self")&&!D_(e)}function ul(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function I_(e,t){let n=ul(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const M_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],$_=["aria-current","caseSensitive","className","end","style","to","children"];function F_(e){let{basename:t,children:n,window:r}=e,i=v.exports.useRef();i.current==null&&(i.current=Dy({window:r,v5Compat:!0}));let o=i.current,[l,s]=v.exports.useState({action:o.action,location:o.location});return v.exports.useLayoutEffect(()=>o.listen(s),[o]),a(O_,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o})}const Me=v.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:s,target:u,to:c,preventScrollReset:d}=t,f=Qh(t,M_),p=E_(c,{relative:i}),y=j_(c,{replace:l,state:s,target:u,preventScrollReset:d,relative:i});function _(w){r&&r(w),w.defaultPrevented||y(w)}return a("a",{...f,href:p,onClick:o?r:_,ref:n,target:u})}),Jr=v.exports.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:l=!1,style:s,to:u,children:c}=t,d=Qh(t,$_),f=al(u),p=S_({path:f.pathname,end:l,caseSensitive:i}),y=v.exports.useContext(Ku),_=y==null?void 0:y.navigation.location,w=al(_||""),g=v.exports.useMemo(()=>_?Qu({path:f.pathname,end:l,caseSensitive:i},w.pathname):null,[_,f.pathname,i,l,w.pathname])!=null,m=p!=null,h=m?r:void 0,E;typeof o=="function"?E=o({isActive:m,isPending:g}):E=[o,m?"active":null,g?"pending":null].filter(Boolean).join(" ");let T=typeof s=="function"?s({isActive:m,isPending:g}):s;return a(Me,{...d,"aria-current":h,className:E,ref:n,style:T,to:u,children:typeof c=="function"?c({isActive:m,isPending:g}):c})});function j_(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l}=t===void 0?{}:t,s=_e(),u=Mt(),c=al(e,{relative:l});return v.exports.useCallback(d=>{if(L_(d,n)){d.preventDefault();let f=r!==void 0?r:ba(u)===ba(c);s(e,{replace:f,state:i,preventScrollReset:o,relative:l})}},[u,s,c,r,i,n,e,o,l])}function Gu(e){let t=v.exports.useRef(ul(e)),n=Mt(),r=v.exports.useMemo(()=>I_(n.search,t.current),[n.search]),i=_e(),o=v.exports.useCallback((l,s)=>{const u=ul(typeof l=="function"?l(r):l);i("?"+u,s)},[i,r]);return[r,o]}class Wi{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Mi=typeof window>"u";function ut(){}function z_(e,t){return typeof e=="function"?e(t):e}function Ma(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Oo(e,t,n){return Ll(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function ln(e,t,n){return Ll(e)?[{...t,queryKey:e},n]:[e||{},t]}function Wd(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(Ll(l)){if(r){if(t.queryHash!==qu(l,t.options))return!1}else if(!cl(t.queryKey,l))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof i<"u"&&i!==t.state.fetchStatus||o&&!o(t))}function Qd(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(Ll(o)){if(!t.options.mutationKey)return!1;if(n){if(jn(t.options.mutationKey)!==jn(o))return!1}else if(!cl(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function qu(e,t){return((t==null?void 0:t.queryKeyHashFn)||jn)(e)}function jn(e){return JSON.stringify(e,(t,n)=>$a(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function cl(e,t){return Vh(e,t)}function Vh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Vh(e[n],t[n])):!1}function Gh(e,t){if(e===t)return e;const n=Vd(e)&&Vd(t);if(n||$a(e)&&$a(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{};let s=0;for(let u=0;u"u")return!0;const n=t.prototype;return!(!Gd(n)||!n.hasOwnProperty("isPrototypeOf"))}function Gd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ll(e){return Array.isArray(e)}function qh(e){return new Promise(t=>{setTimeout(t,e)})}function qd(e){qh(0).then(e)}function U_(){if(typeof AbortController=="function")return new AbortController}function Fa(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gh(e,t):t}class B_ extends Wi{constructor(){super(),this.setup=t=>{if(!Mi&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const dl=new B_;class H_ extends Wi{constructor(){super(),this.setup=t=>{if(!Mi&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const fl=new H_;function W_(e){return Math.min(1e3*2**e,3e4)}function Il(e){return(e!=null?e:"online")==="online"?fl.isOnline():!0}class Yh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function bo(e){return e instanceof Yh}function Xh(e){let t=!1,n=0,r=!1,i,o,l;const s=new Promise((N,g)=>{o=N,l=g}),u=N=>{r||(y(new Yh(N)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},f=()=>!dl.isFocused()||e.networkMode!=="always"&&!fl.isOnline(),p=N=>{r||(r=!0,e.onSuccess==null||e.onSuccess(N),i==null||i(),o(N))},y=N=>{r||(r=!0,e.onError==null||e.onError(N),i==null||i(),l(N))},_=()=>new Promise(N=>{i=g=>{if(r||!f())return N(g)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),w=()=>{if(r)return;let N;try{N=e.fn()}catch(g){N=Promise.reject(g)}Promise.resolve(N).then(p).catch(g=>{var m,h;if(r)return;const E=(m=e.retry)!=null?m:3,T=(h=e.retryDelay)!=null?h:W_,S=typeof T=="function"?T(n,g):T,C=E===!0||typeof E=="number"&&n{if(f())return _()}).then(()=>{t?y(g):w()})})};return Il(e.networkMode)?w():_().then(w),{promise:s,cancel:u,continue:()=>{i==null||i()},cancelRetry:c,continueRetry:d}}const Yu=console;function Q_(){let e=[],t=0,n=d=>{d()},r=d=>{d()};const i=d=>{let f;t++;try{f=d()}finally{t--,t||s()}return f},o=d=>{t?e.push(d):qd(()=>{n(d)})},l=d=>(...f)=>{o(()=>{d(...f)})},s=()=>{const d=e;e=[],d.length&&qd(()=>{r(()=>{d.forEach(f=>{n(f)})})})};return{batch:i,batchCalls:l,schedule:o,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{r=d}}}const he=Q_();class Zh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ma(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Mi?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class K_ extends Zh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Yu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||V_(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=Fa(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(ut).catch(ut):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Kh(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(_=>_.options.queryFn);y&&this.setOptions(y.options)}Array.isArray(this.options.queryKey);const l=U_(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},u=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};u(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),d={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c,meta:this.meta};if(u(d),(r=this.options.behavior)==null||r.onFetch(d),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=d.fetchOptions)==null?void 0:i.meta)){var f;this.dispatch({type:"fetch",meta:(f=d.fetchOptions)==null?void 0:f.meta})}const p=y=>{if(bo(y)&&y.silent||this.dispatch({type:"error",error:y}),!bo(y)){var _,w;(_=(w=this.cache.config).onError)==null||_.call(w,y,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Xh({fn:d.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:y=>{var _,w;if(typeof y>"u"){p(new Error("undefined"));return}this.setData(y),(_=(w=this.cache.config).onSuccess)==null||_.call(w,y,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var i,o;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:Il(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const l=t.error;return bo(l)&&l.revert&&this.revertState?{...this.revertState}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),he.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function V_(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData<"u"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,i=typeof t<"u";return{data:t,dataUpdateCount:0,dataUpdatedAt:i?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}class G_ extends Wi{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,l=(i=n.queryHash)!=null?i:qu(o,n);let s=this.get(l);return s||(s=new K_({cache:this,logger:t.getLogger(),queryKey:o,queryHash:l,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o),meta:n.meta}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){he.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=ln(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Wd(r,i))}findAll(t,n){const[r]=ln(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Wd(r,i)):this.queries}notify(t){he.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){he.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){he.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class q_ extends Zh{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Yu,this.observers=[],this.state=t.state||Y_(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var h;return this.retryer=Xh({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(h=this.options.retry)!=null?h:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,l,s,u;if(!n){var c,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),(c=(d=this.mutationCache.config).onMutate)==null||c.call(d,this.state.variables,this);const E=await((f=(p=this.options).onMutate)==null?void 0:f.call(p,this.state.variables));E!==this.state.context&&this.dispatch({type:"loading",context:E,variables:this.state.variables})}const h=await t();return(r=(i=this.mutationCache.config).onSuccess)==null||r.call(i,h,this.state.variables,this.state.context,this),await((o=(l=this.options).onSuccess)==null?void 0:o.call(l,h,this.state.variables,this.state.context)),await((s=(u=this.options).onSettled)==null?void 0:s.call(u,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(h){try{var y,_,w,N,g,m;throw(y=(_=this.mutationCache.config).onError)==null||y.call(_,h,this.state.variables,this.state.context,this),await((w=(N=this.options).onError)==null?void 0:w.call(N,h,this.state.variables,this.state.context)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,void 0,h,this.state.variables,this.state.context)),h}finally{this.dispatch({type:"error",error:h})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!Il(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),he.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function Y_(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class X_ extends Wi{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new q_({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){he.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>Qd(t,n))}findAll(t){return this.mutations.filter(n=>Qd(t,n))}notify(t){he.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return he.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(ut)),Promise.resolve()))}}function Z_(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,l;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,u=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,c=u==null?void 0:u.pageParam,d=(u==null?void 0:u.direction)==="forward",f=(u==null?void 0:u.direction)==="backward",p=((o=e.state.data)==null?void 0:o.pages)||[],y=((l=e.state.data)==null?void 0:l.pageParams)||[];let _=y,w=!1;const N=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>{var C;if((C=e.signal)!=null&&C.aborted)w=!0;else{var k;(k=e.signal)==null||k.addEventListener("abort",()=>{w=!0})}return e.signal}})},g=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),m=(S,C,k,j)=>(_=j?[C,..._]:[..._,C],j?[k,...S]:[...S,k]),h=(S,C,k,j)=>{if(w)return Promise.reject("Cancelled");if(typeof k>"u"&&!C&&S.length)return Promise.resolve(S);const b={queryKey:e.queryKey,pageParam:k,meta:e.meta};N(b);const q=g(b);return Promise.resolve(q).then(Ce=>m(S,k,Ce,j))};let E;if(!p.length)E=h([]);else if(d){const S=typeof c<"u",C=S?c:Yd(e.options,p);E=h(p,S,C)}else if(f){const S=typeof c<"u",C=S?c:J_(e.options,p);E=h(p,S,C,!0)}else{_=[];const S=typeof e.options.getNextPageParam>"u";E=(s&&p[0]?s(p[0],0,p):!0)?h([],S,y[0]):Promise.resolve(m([],y[0],p[0]));for(let k=1;k{if(s&&p[k]?s(p[k],k,p):!0){const q=S?y[k]:Yd(e.options,j);return h(j,S,q)}return Promise.resolve(m(j,y[k],p[k]))})}return E.then(S=>({pages:S,pageParams:_}))}}}}function Yd(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function J_(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class e0{constructor(t={}){this.queryCache=t.queryCache||new G_,this.mutationCache=t.mutationCache||new X_,this.logger=t.logger||Yu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=dl.subscribe(()=>{dl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=fl.subscribe(()=>{fl.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[r]=ln(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,l=z_(n,o);if(typeof l>"u")return;const s=Oo(t),u=this.defaultQueryOptions(s);return this.queryCache.build(this,u).setData(l,{...r,manual:!0})}setQueriesData(t,n,r){return he.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=ln(t,n),i=this.queryCache;he.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=ln(t,n,r),l=this.queryCache,s={type:"active",...i};return he.batch(()=>(l.findAll(i).forEach(u=>{u.reset()}),this.refetchQueries(s,o)))}cancelQueries(t,n,r){const[i,o={}]=ln(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const l=he.batch(()=>this.queryCache.findAll(i).map(s=>s.cancel(o)));return Promise.all(l).then(ut).catch(ut)}invalidateQueries(t,n,r){const[i,o]=ln(t,n,r);return he.batch(()=>{var l,s;if(this.queryCache.findAll(i).forEach(c=>{c.invalidate()}),i.refetchType==="none")return Promise.resolve();const u={...i,type:(l=(s=i.refetchType)!=null?s:i.type)!=null?l:"active"};return this.refetchQueries(u,o)})}refetchQueries(t,n,r){const[i,o]=ln(t,n,r),l=he.batch(()=>this.queryCache.findAll(i).filter(u=>!u.isDisabled()).map(u=>{var c;return u.fetch(void 0,{...o,cancelRefetch:(c=o==null?void 0:o.cancelRefetch)!=null?c:!0,meta:{refetchPage:i.refetchPage}})}));let s=Promise.all(l).then(ut);return o!=null&&o.throwOnError||(s=s.catch(ut)),s}fetchQuery(t,n,r){const i=Oo(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry>"u"&&(o.retry=!1);const l=this.queryCache.build(this,o);return l.isStaleByTime(o.staleTime)?l.fetch(o):Promise.resolve(l.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(ut).catch(ut)}fetchInfiniteQuery(t,n,r){const i=Oo(t,n,r);return i.behavior=Z_(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(ut).catch(ut)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(i=>jn(t)===jn(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>cl(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>jn(t)===jn(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>cl(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=qu(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class t0 extends Wi{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Xd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return ja(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ja(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),Kd(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Zd(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const l=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(ut)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),Mi||this.currentResult.isStale||!Ma(this.options.staleTime))return;const n=Kh(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Mi||this.options.enabled===!1||!Ma(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||dl.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,l=this.currentResultState,s=this.currentResultOptions,u=t!==r,c=u?t.state:this.currentQueryInitialState,d=u?this.currentResult:this.previousQueryResult,{state:f}=t;let{dataUpdatedAt:p,error:y,errorUpdatedAt:_,fetchStatus:w,status:N}=f,g=!1,m=!1,h;if(n._optimisticResults){const k=this.hasListeners(),j=!k&&Xd(t,n),b=k&&Zd(t,r,n,i);(j||b)&&(w=Il(t.options.networkMode)?"fetching":"paused",p||(N="loading")),n._optimisticResults==="isRestoring"&&(w="idle")}if(n.keepPreviousData&&!f.dataUpdateCount&&d!=null&&d.isSuccess&&N!=="error")h=d.data,p=d.dataUpdatedAt,N=d.status,g=!0;else if(n.select&&typeof f.data<"u")if(o&&f.data===(l==null?void 0:l.data)&&n.select===this.selectFn)h=this.selectResult;else try{this.selectFn=n.select,h=n.select(f.data),h=Fa(o==null?void 0:o.data,h,n),this.selectResult=h,this.selectError=null}catch(k){this.selectError=k}else h=f.data;if(typeof n.placeholderData<"u"&&typeof h>"u"&&N==="loading"){let k;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData))k=o.data;else if(k=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof k<"u")try{k=n.select(k),k=Fa(o==null?void 0:o.data,k,n),this.selectError=null}catch(j){this.selectError=j}typeof k<"u"&&(N="success",h=k,m=!0)}this.selectError&&(y=this.selectError,h=this.selectResult,_=Date.now(),N="error");const E=w==="fetching",T=N==="loading",S=N==="error";return{status:N,fetchStatus:w,isLoading:T,isSuccess:N==="success",isError:S,isInitialLoading:T&&E,data:h,dataUpdatedAt:p,error:y,errorUpdatedAt:_,failureCount:f.fetchFailureCount,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:E,isRefetching:E&&!T,isLoadingError:S&&f.dataUpdatedAt===0,isPaused:w==="paused",isPlaceholderData:m,isPreviousData:g,isRefetchError:S&&f.dataUpdatedAt!==0,isStale:Xu(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Kd(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options;if(l==="all"||!l&&!this.trackedProps.size)return!0;const s=new Set(l!=null?l:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(u=>{const c=u;return this.currentResult[c]!==n[c]&&s.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!bo(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){he.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var l,s,u,c;(l=(s=this.options).onError)==null||l.call(s,this.currentResult.error),(u=(c=this.options).onSettled)==null||u.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(d=>{d(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function n0(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Xd(e,t){return n0(e,t)||e.state.dataUpdatedAt>0&&ja(e,t,t.refetchOnMount)}function ja(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Xu(e,t)}return!1}function Zd(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Xu(e,n)}function Xu(e,t){return e.isStaleByTime(t.staleTime)}var Jh={exports:{}},em={};/**
+ */function Qh(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function D_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function L_(e,t){return e.button===0&&(!t||t==="_self")&&!D_(e)}function ul(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function I_(e,t){let n=ul(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const $_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],M_=["aria-current","caseSensitive","className","end","style","to","children"];function F_(e){let{basename:t,children:n,window:r}=e,i=v.exports.useRef();i.current==null&&(i.current=Dy({window:r,v5Compat:!0}));let o=i.current,[l,s]=v.exports.useState({action:o.action,location:o.location});return v.exports.useLayoutEffect(()=>o.listen(s),[o]),a(O_,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o})}const $e=v.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:s,target:u,to:c,preventScrollReset:d}=t,f=Qh(t,$_),p=E_(c,{relative:i}),y=j_(c,{replace:l,state:s,target:u,preventScrollReset:d,relative:i});function _(w){r&&r(w),w.defaultPrevented||y(w)}return a("a",{...f,href:p,onClick:o?r:_,ref:n,target:u})}),Jr=v.exports.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:l=!1,style:s,to:u,children:c}=t,d=Qh(t,M_),f=al(u),p=S_({path:f.pathname,end:l,caseSensitive:i}),y=v.exports.useContext(Ku),_=y==null?void 0:y.navigation.location,w=al(_||""),g=v.exports.useMemo(()=>_?Qu({path:f.pathname,end:l,caseSensitive:i},w.pathname):null,[_,f.pathname,i,l,w.pathname])!=null,m=p!=null,h=m?r:void 0,E;typeof o=="function"?E=o({isActive:m,isPending:g}):E=[o,m?"active":null,g?"pending":null].filter(Boolean).join(" ");let T=typeof s=="function"?s({isActive:m,isPending:g}):s;return a($e,{...d,"aria-current":h,className:E,ref:n,style:T,to:u,children:typeof c=="function"?c({isActive:m,isPending:g}):c})});function j_(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l}=t===void 0?{}:t,s=_e(),u=$t(),c=al(e,{relative:l});return v.exports.useCallback(d=>{if(L_(d,n)){d.preventDefault();let f=r!==void 0?r:ba(u)===ba(c);s(e,{replace:f,state:i,preventScrollReset:o,relative:l})}},[u,s,c,r,i,n,e,o,l])}function Gu(e){let t=v.exports.useRef(ul(e)),n=$t(),r=v.exports.useMemo(()=>I_(n.search,t.current),[n.search]),i=_e(),o=v.exports.useCallback((l,s)=>{const u=ul(typeof l=="function"?l(r):l);i("?"+u,s)},[i,r]);return[r,o]}class Wi{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const $i=typeof window>"u";function ut(){}function z_(e,t){return typeof e=="function"?e(t):e}function $a(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Oo(e,t,n){return Ll(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function ln(e,t,n){return Ll(e)?[{...t,queryKey:e},n]:[e||{},t]}function Wd(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(Ll(l)){if(r){if(t.queryHash!==qu(l,t.options))return!1}else if(!cl(t.queryKey,l))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof i<"u"&&i!==t.state.fetchStatus||o&&!o(t))}function Qd(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(Ll(o)){if(!t.options.mutationKey)return!1;if(n){if(jn(t.options.mutationKey)!==jn(o))return!1}else if(!cl(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function qu(e,t){return((t==null?void 0:t.queryKeyHashFn)||jn)(e)}function jn(e){return JSON.stringify(e,(t,n)=>Ma(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function cl(e,t){return Vh(e,t)}function Vh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Vh(e[n],t[n])):!1}function Gh(e,t){if(e===t)return e;const n=Vd(e)&&Vd(t);if(n||Ma(e)&&Ma(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{};let s=0;for(let u=0;u"u")return!0;const n=t.prototype;return!(!Gd(n)||!n.hasOwnProperty("isPrototypeOf"))}function Gd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ll(e){return Array.isArray(e)}function qh(e){return new Promise(t=>{setTimeout(t,e)})}function qd(e){qh(0).then(e)}function U_(){if(typeof AbortController=="function")return new AbortController}function Fa(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gh(e,t):t}class B_ extends Wi{constructor(){super(),this.setup=t=>{if(!$i&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const dl=new B_;class H_ extends Wi{constructor(){super(),this.setup=t=>{if(!$i&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const fl=new H_;function W_(e){return Math.min(1e3*2**e,3e4)}function Il(e){return(e!=null?e:"online")==="online"?fl.isOnline():!0}class Yh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function bo(e){return e instanceof Yh}function Xh(e){let t=!1,n=0,r=!1,i,o,l;const s=new Promise((N,g)=>{o=N,l=g}),u=N=>{r||(y(new Yh(N)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},f=()=>!dl.isFocused()||e.networkMode!=="always"&&!fl.isOnline(),p=N=>{r||(r=!0,e.onSuccess==null||e.onSuccess(N),i==null||i(),o(N))},y=N=>{r||(r=!0,e.onError==null||e.onError(N),i==null||i(),l(N))},_=()=>new Promise(N=>{i=g=>{if(r||!f())return N(g)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),w=()=>{if(r)return;let N;try{N=e.fn()}catch(g){N=Promise.reject(g)}Promise.resolve(N).then(p).catch(g=>{var m,h;if(r)return;const E=(m=e.retry)!=null?m:3,T=(h=e.retryDelay)!=null?h:W_,S=typeof T=="function"?T(n,g):T,C=E===!0||typeof E=="number"&&n{if(f())return _()}).then(()=>{t?y(g):w()})})};return Il(e.networkMode)?w():_().then(w),{promise:s,cancel:u,continue:()=>{i==null||i()},cancelRetry:c,continueRetry:d}}const Yu=console;function Q_(){let e=[],t=0,n=d=>{d()},r=d=>{d()};const i=d=>{let f;t++;try{f=d()}finally{t--,t||s()}return f},o=d=>{t?e.push(d):qd(()=>{n(d)})},l=d=>(...f)=>{o(()=>{d(...f)})},s=()=>{const d=e;e=[],d.length&&qd(()=>{r(()=>{d.forEach(f=>{n(f)})})})};return{batch:i,batchCalls:l,schedule:o,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{r=d}}}const he=Q_();class Zh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$a(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:$i?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class K_ extends Zh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Yu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||V_(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=Fa(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(ut).catch(ut):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Kh(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(_=>_.options.queryFn);y&&this.setOptions(y.options)}Array.isArray(this.options.queryKey);const l=U_(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},u=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};u(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),d={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c,meta:this.meta};if(u(d),(r=this.options.behavior)==null||r.onFetch(d),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=d.fetchOptions)==null?void 0:i.meta)){var f;this.dispatch({type:"fetch",meta:(f=d.fetchOptions)==null?void 0:f.meta})}const p=y=>{if(bo(y)&&y.silent||this.dispatch({type:"error",error:y}),!bo(y)){var _,w;(_=(w=this.cache.config).onError)==null||_.call(w,y,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Xh({fn:d.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:y=>{var _,w;if(typeof y>"u"){p(new Error("undefined"));return}this.setData(y),(_=(w=this.cache.config).onSuccess)==null||_.call(w,y,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var i,o;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:Il(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const l=t.error;return bo(l)&&l.revert&&this.revertState?{...this.revertState}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),he.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function V_(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData<"u"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,i=typeof t<"u";return{data:t,dataUpdateCount:0,dataUpdatedAt:i?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}class G_ extends Wi{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,l=(i=n.queryHash)!=null?i:qu(o,n);let s=this.get(l);return s||(s=new K_({cache:this,logger:t.getLogger(),queryKey:o,queryHash:l,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o),meta:n.meta}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){he.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=ln(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Wd(r,i))}findAll(t,n){const[r]=ln(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Wd(r,i)):this.queries}notify(t){he.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){he.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){he.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class q_ extends Zh{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Yu,this.observers=[],this.state=t.state||Y_(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var h;return this.retryer=Xh({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(h=this.options.retry)!=null?h:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,l,s,u;if(!n){var c,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),(c=(d=this.mutationCache.config).onMutate)==null||c.call(d,this.state.variables,this);const E=await((f=(p=this.options).onMutate)==null?void 0:f.call(p,this.state.variables));E!==this.state.context&&this.dispatch({type:"loading",context:E,variables:this.state.variables})}const h=await t();return(r=(i=this.mutationCache.config).onSuccess)==null||r.call(i,h,this.state.variables,this.state.context,this),await((o=(l=this.options).onSuccess)==null?void 0:o.call(l,h,this.state.variables,this.state.context)),await((s=(u=this.options).onSettled)==null?void 0:s.call(u,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(h){try{var y,_,w,N,g,m;throw(y=(_=this.mutationCache.config).onError)==null||y.call(_,h,this.state.variables,this.state.context,this),await((w=(N=this.options).onError)==null?void 0:w.call(N,h,this.state.variables,this.state.context)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,void 0,h,this.state.variables,this.state.context)),h}finally{this.dispatch({type:"error",error:h})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!Il(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),he.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function Y_(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class X_ extends Wi{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new q_({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){he.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>Qd(t,n))}findAll(t){return this.mutations.filter(n=>Qd(t,n))}notify(t){he.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return he.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(ut)),Promise.resolve()))}}function Z_(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,l;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,u=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,c=u==null?void 0:u.pageParam,d=(u==null?void 0:u.direction)==="forward",f=(u==null?void 0:u.direction)==="backward",p=((o=e.state.data)==null?void 0:o.pages)||[],y=((l=e.state.data)==null?void 0:l.pageParams)||[];let _=y,w=!1;const N=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>{var C;if((C=e.signal)!=null&&C.aborted)w=!0;else{var k;(k=e.signal)==null||k.addEventListener("abort",()=>{w=!0})}return e.signal}})},g=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),m=(S,C,k,j)=>(_=j?[C,..._]:[..._,C],j?[k,...S]:[...S,k]),h=(S,C,k,j)=>{if(w)return Promise.reject("Cancelled");if(typeof k>"u"&&!C&&S.length)return Promise.resolve(S);const b={queryKey:e.queryKey,pageParam:k,meta:e.meta};N(b);const q=g(b);return Promise.resolve(q).then(Ce=>m(S,k,Ce,j))};let E;if(!p.length)E=h([]);else if(d){const S=typeof c<"u",C=S?c:Yd(e.options,p);E=h(p,S,C)}else if(f){const S=typeof c<"u",C=S?c:J_(e.options,p);E=h(p,S,C,!0)}else{_=[];const S=typeof e.options.getNextPageParam>"u";E=(s&&p[0]?s(p[0],0,p):!0)?h([],S,y[0]):Promise.resolve(m([],y[0],p[0]));for(let k=1;k{if(s&&p[k]?s(p[k],k,p):!0){const q=S?y[k]:Yd(e.options,j);return h(j,S,q)}return Promise.resolve(m(j,y[k],p[k]))})}return E.then(S=>({pages:S,pageParams:_}))}}}}function Yd(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function J_(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class e0{constructor(t={}){this.queryCache=t.queryCache||new G_,this.mutationCache=t.mutationCache||new X_,this.logger=t.logger||Yu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=dl.subscribe(()=>{dl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=fl.subscribe(()=>{fl.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[r]=ln(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,l=z_(n,o);if(typeof l>"u")return;const s=Oo(t),u=this.defaultQueryOptions(s);return this.queryCache.build(this,u).setData(l,{...r,manual:!0})}setQueriesData(t,n,r){return he.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=ln(t,n),i=this.queryCache;he.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=ln(t,n,r),l=this.queryCache,s={type:"active",...i};return he.batch(()=>(l.findAll(i).forEach(u=>{u.reset()}),this.refetchQueries(s,o)))}cancelQueries(t,n,r){const[i,o={}]=ln(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const l=he.batch(()=>this.queryCache.findAll(i).map(s=>s.cancel(o)));return Promise.all(l).then(ut).catch(ut)}invalidateQueries(t,n,r){const[i,o]=ln(t,n,r);return he.batch(()=>{var l,s;if(this.queryCache.findAll(i).forEach(c=>{c.invalidate()}),i.refetchType==="none")return Promise.resolve();const u={...i,type:(l=(s=i.refetchType)!=null?s:i.type)!=null?l:"active"};return this.refetchQueries(u,o)})}refetchQueries(t,n,r){const[i,o]=ln(t,n,r),l=he.batch(()=>this.queryCache.findAll(i).filter(u=>!u.isDisabled()).map(u=>{var c;return u.fetch(void 0,{...o,cancelRefetch:(c=o==null?void 0:o.cancelRefetch)!=null?c:!0,meta:{refetchPage:i.refetchPage}})}));let s=Promise.all(l).then(ut);return o!=null&&o.throwOnError||(s=s.catch(ut)),s}fetchQuery(t,n,r){const i=Oo(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry>"u"&&(o.retry=!1);const l=this.queryCache.build(this,o);return l.isStaleByTime(o.staleTime)?l.fetch(o):Promise.resolve(l.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(ut).catch(ut)}fetchInfiniteQuery(t,n,r){const i=Oo(t,n,r);return i.behavior=Z_(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(ut).catch(ut)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(i=>jn(t)===jn(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>cl(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>jn(t)===jn(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>cl(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=qu(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class t0 extends Wi{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Xd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return ja(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ja(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),Kd(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Zd(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const l=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(ut)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),$i||this.currentResult.isStale||!$a(this.options.staleTime))return;const n=Kh(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!($i||this.options.enabled===!1||!$a(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||dl.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,l=this.currentResultState,s=this.currentResultOptions,u=t!==r,c=u?t.state:this.currentQueryInitialState,d=u?this.currentResult:this.previousQueryResult,{state:f}=t;let{dataUpdatedAt:p,error:y,errorUpdatedAt:_,fetchStatus:w,status:N}=f,g=!1,m=!1,h;if(n._optimisticResults){const k=this.hasListeners(),j=!k&&Xd(t,n),b=k&&Zd(t,r,n,i);(j||b)&&(w=Il(t.options.networkMode)?"fetching":"paused",p||(N="loading")),n._optimisticResults==="isRestoring"&&(w="idle")}if(n.keepPreviousData&&!f.dataUpdateCount&&d!=null&&d.isSuccess&&N!=="error")h=d.data,p=d.dataUpdatedAt,N=d.status,g=!0;else if(n.select&&typeof f.data<"u")if(o&&f.data===(l==null?void 0:l.data)&&n.select===this.selectFn)h=this.selectResult;else try{this.selectFn=n.select,h=n.select(f.data),h=Fa(o==null?void 0:o.data,h,n),this.selectResult=h,this.selectError=null}catch(k){this.selectError=k}else h=f.data;if(typeof n.placeholderData<"u"&&typeof h>"u"&&N==="loading"){let k;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData))k=o.data;else if(k=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof k<"u")try{k=n.select(k),k=Fa(o==null?void 0:o.data,k,n),this.selectError=null}catch(j){this.selectError=j}typeof k<"u"&&(N="success",h=k,m=!0)}this.selectError&&(y=this.selectError,h=this.selectResult,_=Date.now(),N="error");const E=w==="fetching",T=N==="loading",S=N==="error";return{status:N,fetchStatus:w,isLoading:T,isSuccess:N==="success",isError:S,isInitialLoading:T&&E,data:h,dataUpdatedAt:p,error:y,errorUpdatedAt:_,failureCount:f.fetchFailureCount,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:E,isRefetching:E&&!T,isLoadingError:S&&f.dataUpdatedAt===0,isPaused:w==="paused",isPlaceholderData:m,isPreviousData:g,isRefetchError:S&&f.dataUpdatedAt!==0,isStale:Xu(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Kd(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options;if(l==="all"||!l&&!this.trackedProps.size)return!0;const s=new Set(l!=null?l:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(u=>{const c=u;return this.currentResult[c]!==n[c]&&s.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!bo(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){he.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var l,s,u,c;(l=(s=this.options).onError)==null||l.call(s,this.currentResult.error),(u=(c=this.options).onSettled)==null||u.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(d=>{d(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function n0(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Xd(e,t){return n0(e,t)||e.state.dataUpdatedAt>0&&ja(e,t,t.refetchOnMount)}function ja(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Xu(e,t)}return!1}function Zd(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&Xu(e,n)}function Xu(e,t){return e.isStaleByTime(t.staleTime)}var Jh={exports:{}},em={};/**
* @license React
* use-sync-external-store-shim.production.min.js
*
@@ -72,18 +72,18 @@ Error generating stack: `+o.message+`
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var Ir=v.exports;function r0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var i0=typeof Object.is=="function"?Object.is:r0,o0=Ir.useState,l0=Ir.useEffect,s0=Ir.useLayoutEffect,a0=Ir.useDebugValue;function u0(e,t){var n=t(),r=o0({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return s0(function(){i.value=n,i.getSnapshot=t,ys(i)&&o({inst:i})},[e,n,t]),l0(function(){return ys(i)&&o({inst:i}),e(function(){ys(i)&&o({inst:i})})},[e]),a0(n),n}function ys(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i0(e,n)}catch{return!0}}function c0(e,t){return t()}var d0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c0:u0;em.useSyncExternalStore=Ir.useSyncExternalStore!==void 0?Ir.useSyncExternalStore:d0;(function(e){e.exports=em})(Jh);const f0=Jh.exports.useSyncExternalStore,Jd=v.exports.createContext(void 0),tm=v.exports.createContext(!1);function nm(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Jd),window.ReactQueryClientContext):Jd)}const p0=({context:e}={})=>{const t=v.exports.useContext(nm(e,v.exports.useContext(tm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},h0=({client:e,children:t,context:n,contextSharing:r=!1})=>{v.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=nm(n,r);return a(tm.Provider,{value:!n&&r,children:a(i.Provider,{value:e,children:t})})},rm=v.exports.createContext(!1),m0=()=>v.exports.useContext(rm);rm.Provider;function g0(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const v0=v.exports.createContext(g0()),y0=()=>v.exports.useContext(v0);function _0(e,t){return typeof e=="function"?e(...t):!!e}const x0=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},w0=e=>{v.exports.useEffect(()=>{e.clearReset()},[e])},E0=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&_0(n,[e.error,r]);function S0(e,t){const n=p0({context:e.context}),r=m0(),i=y0(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=he.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=he.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=he.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),x0(o,i),w0(i);const[l]=v.exports.useState(()=>new t(n,o)),s=l.getOptimisticResult(o);if(f0(v.exports.useCallback(u=>r?()=>{}:l.subscribe(he.batchCalls(u)),[l,r]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),v.exports.useEffect(()=>{l.setOptions(o,{listeners:!1})},[o,l]),o.suspense&&s.isLoading&&s.isFetching&&!r)throw l.fetchOptimistic(o).then(({data:u})=>{o.onSuccess==null||o.onSuccess(u),o.onSettled==null||o.onSettled(u,null)}).catch(u=>{i.clearReset(),o.onError==null||o.onError(u),o.onSettled==null||o.onSettled(void 0,u)});if(E0({result:s,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:l.getCurrentQuery()}))throw s.error;return o.notifyOnChangeProps?s:l.trackResult(s)}function oe(e,t,n){const r=Oo(e,t,n);return S0(r,t0)}/*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */const{entries:im,setPrototypeOf:ef,isFrozen:C0,getPrototypeOf:k0,getOwnPropertyDescriptor:Zu}=Object;let{freeze:Be,seal:Rt,create:om}=Object,{apply:za,construct:Ua}=typeof Reflect<"u"&&Reflect;Be||(Be=function(t){return t});Rt||(Rt=function(t){return t});za||(za=function(t,n,r){return t.apply(n,r)});Ua||(Ua=function(t,n){return new t(...n)});const fo=vt(Array.prototype.forEach),tf=vt(Array.prototype.pop),ei=vt(Array.prototype.push),Do=vt(String.prototype.toLowerCase),_s=vt(String.prototype.toString),N0=vt(String.prototype.match),ti=vt(String.prototype.replace),T0=vt(String.prototype.indexOf),R0=vt(String.prototype.trim),tt=vt(RegExp.prototype.test),ni=A0(TypeError);function vt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:Do;ef&&ef(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(C0(t)||(t[r]=o),i=o)}e[i]=!0}return e}function P0(e){for(let t=0;t/gm),I0=Rt(/\${[\w\W]*}/gm),M0=Rt(/^data-[\-\w.\u00B7-\uFFFF]/),$0=Rt(/^aria-[\-\w]+$/),lm=Rt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F0=Rt(/^(?:\w+script|data):/i),j0=Rt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),sm=Rt(/^html$/i);var sf=Object.freeze({__proto__:null,MUSTACHE_EXPR:D0,ERB_EXPR:L0,TMPLIT_EXPR:I0,DATA_ATTR:M0,ARIA_ATTR:$0,IS_ALLOWED_URI:lm,IS_SCRIPT_OR_DATA:F0,ATTR_WHITESPACE:j0,DOCTYPE_NAME:sm});const z0=function(){return typeof window>"u"?null:window},U0=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function am(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z0();const t=$=>am($);if(t.version="3.0.8",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:s,Element:u,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:y}=e,_=u.prototype,w=po(_,"cloneNode"),N=po(_,"nextSibling"),g=po(_,"childNodes"),m=po(_,"parentNode");if(typeof l=="function"){const $=n.createElement("template");$.content&&$.content.ownerDocument&&(n=$.content.ownerDocument)}let h,E="";const{implementation:T,createNodeIterator:S,createDocumentFragment:C,getElementsByTagName:k}=n,{importNode:j}=r;let b={};t.isSupported=typeof im=="function"&&typeof m=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:q,ERB_EXPR:Qe,TMPLIT_EXPR:Ce,DATA_ATTR:$t,ARIA_ATTR:tn,IS_SCRIPT_OR_DATA:Ke,ATTR_WHITESPACE:Ve}=sf;let{IS_ALLOWED_URI:P}=sf,L=null;const z=H({},[...nf,...xs,...ws,...Es,...rf]);let F=null;const Z=H({},[...of,...Ss,...lf,...ho]);let V=Object.seal(om(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ge=null,de=null,Ae=!0,At=!0,Qi=!1,Zn=!0,Pt=!1,Ft=!1,Jn=!1,Tn=!1,yt=!1,J=!1,Rn=!1,er=!0,cc=!1;const ig="user-content-";let jl=!0,Br=!1,tr={},nr=null;const dc=H({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let fc=null;const pc=H({},["audio","video","img","source","image","track"]);let zl=null;const hc=H({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ki="http://www.w3.org/1998/Math/MathML",Vi="http://www.w3.org/2000/svg",jt="http://www.w3.org/1999/xhtml";let rr=jt,Ul=!1,Bl=null;const og=H({},[Ki,Vi,jt],_s);let Hr=null;const lg=["application/xhtml+xml","text/html"],sg="text/html";let xe=null,ir=null;const ag=n.createElement("form"),mc=function(x){return x instanceof RegExp||x instanceof Function},Hl=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ir&&ir===x)){if((!x||typeof x!="object")&&(x={}),x=Ln(x),Hr=lg.indexOf(x.PARSER_MEDIA_TYPE)===-1?sg:x.PARSER_MEDIA_TYPE,xe=Hr==="application/xhtml+xml"?_s:Do,L="ALLOWED_TAGS"in x?H({},x.ALLOWED_TAGS,xe):z,F="ALLOWED_ATTR"in x?H({},x.ALLOWED_ATTR,xe):Z,Bl="ALLOWED_NAMESPACES"in x?H({},x.ALLOWED_NAMESPACES,_s):og,zl="ADD_URI_SAFE_ATTR"in x?H(Ln(hc),x.ADD_URI_SAFE_ATTR,xe):hc,fc="ADD_DATA_URI_TAGS"in x?H(Ln(pc),x.ADD_DATA_URI_TAGS,xe):pc,nr="FORBID_CONTENTS"in x?H({},x.FORBID_CONTENTS,xe):dc,ge="FORBID_TAGS"in x?H({},x.FORBID_TAGS,xe):{},de="FORBID_ATTR"in x?H({},x.FORBID_ATTR,xe):{},tr="USE_PROFILES"in x?x.USE_PROFILES:!1,Ae=x.ALLOW_ARIA_ATTR!==!1,At=x.ALLOW_DATA_ATTR!==!1,Qi=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Zn=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Pt=x.SAFE_FOR_TEMPLATES||!1,Ft=x.WHOLE_DOCUMENT||!1,yt=x.RETURN_DOM||!1,J=x.RETURN_DOM_FRAGMENT||!1,Rn=x.RETURN_TRUSTED_TYPE||!1,Tn=x.FORCE_BODY||!1,er=x.SANITIZE_DOM!==!1,cc=x.SANITIZE_NAMED_PROPS||!1,jl=x.KEEP_CONTENT!==!1,Br=x.IN_PLACE||!1,P=x.ALLOWED_URI_REGEXP||lm,rr=x.NAMESPACE||jt,V=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&mc(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&mc(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(V.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(At=!1),J&&(yt=!0),tr&&(L=H({},rf),F=[],tr.html===!0&&(H(L,nf),H(F,of)),tr.svg===!0&&(H(L,xs),H(F,Ss),H(F,ho)),tr.svgFilters===!0&&(H(L,ws),H(F,Ss),H(F,ho)),tr.mathMl===!0&&(H(L,Es),H(F,lf),H(F,ho))),x.ADD_TAGS&&(L===z&&(L=Ln(L)),H(L,x.ADD_TAGS,xe)),x.ADD_ATTR&&(F===Z&&(F=Ln(F)),H(F,x.ADD_ATTR,xe)),x.ADD_URI_SAFE_ATTR&&H(zl,x.ADD_URI_SAFE_ATTR,xe),x.FORBID_CONTENTS&&(nr===dc&&(nr=Ln(nr)),H(nr,x.FORBID_CONTENTS,xe)),jl&&(L["#text"]=!0),Ft&&H(L,["html","head","body"]),L.table&&(H(L,["tbody"]),delete ge.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw ni('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ni('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=x.TRUSTED_TYPES_POLICY,E=h.createHTML("")}else h===void 0&&(h=U0(y,i)),h!==null&&typeof E=="string"&&(E=h.createHTML(""));Be&&Be(x),ir=x}},gc=H({},["mi","mo","mn","ms","mtext"]),vc=H({},["foreignobject","desc","title","annotation-xml"]),ug=H({},["title","style","font","a","script"]),yc=H({},[...xs,...ws,...O0]),_c=H({},[...Es,...b0]),cg=function(x){let O=m(x);(!O||!O.tagName)&&(O={namespaceURI:rr,tagName:"template"});const I=Do(x.tagName),ee=Do(O.tagName);return Bl[x.namespaceURI]?x.namespaceURI===Vi?O.namespaceURI===jt?I==="svg":O.namespaceURI===Ki?I==="svg"&&(ee==="annotation-xml"||gc[ee]):Boolean(yc[I]):x.namespaceURI===Ki?O.namespaceURI===jt?I==="math":O.namespaceURI===Vi?I==="math"&&vc[ee]:Boolean(_c[I]):x.namespaceURI===jt?O.namespaceURI===Vi&&!vc[ee]||O.namespaceURI===Ki&&!gc[ee]?!1:!_c[I]&&(ug[I]||!yc[I]):!!(Hr==="application/xhtml+xml"&&Bl[x.namespaceURI]):!1},An=function(x){ei(t.removed,{element:x});try{x.parentNode.removeChild(x)}catch{x.remove()}},Wl=function(x,O){try{ei(t.removed,{attribute:O.getAttributeNode(x),from:O})}catch{ei(t.removed,{attribute:null,from:O})}if(O.removeAttribute(x),x==="is"&&!F[x])if(yt||J)try{An(O)}catch{}else try{O.setAttribute(x,"")}catch{}},xc=function(x){let O=null,I=null;if(Tn)x=""+x;else{const Oe=N0(x,/^[\r\n\t ]+/);I=Oe&&Oe[0]}Hr==="application/xhtml+xml"&&rr===jt&&(x=''+x+"");const ee=h?h.createHTML(x):x;if(rr===jt)try{O=new p().parseFromString(ee,Hr)}catch{}if(!O||!O.documentElement){O=T.createDocument(rr,"template",null);try{O.documentElement.innerHTML=Ul?E:ee}catch{}}const Pe=O.body||O.documentElement;return x&&I&&Pe.insertBefore(n.createTextNode(I),Pe.childNodes[0]||null),rr===jt?k.call(O,Ft?"html":"body")[0]:Ft?O.documentElement:Pe},wc=function(x){return S.call(x.ownerDocument||x,x,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},dg=function(x){return x instanceof f&&(typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||!(x.attributes instanceof d)||typeof x.removeAttribute!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function")},Ec=function(x){return typeof s=="function"&&x instanceof s},zt=function(x,O,I){!b[x]||fo(b[x],ee=>{ee.call(t,O,I,ir)})},Sc=function(x){let O=null;if(zt("beforeSanitizeElements",x,null),dg(x))return An(x),!0;const I=xe(x.nodeName);if(zt("uponSanitizeElement",x,{tagName:I,allowedTags:L}),x.hasChildNodes()&&!Ec(x.firstElementChild)&&tt(/<[/\w]/g,x.innerHTML)&&tt(/<[/\w]/g,x.textContent))return An(x),!0;if(!L[I]||ge[I]){if(!ge[I]&&kc(I)&&(V.tagNameCheck instanceof RegExp&&tt(V.tagNameCheck,I)||V.tagNameCheck instanceof Function&&V.tagNameCheck(I)))return!1;if(jl&&!nr[I]){const ee=m(x)||x.parentNode,Pe=g(x)||x.childNodes;if(Pe&&ee){const Oe=Pe.length;for(let Ge=Oe-1;Ge>=0;--Ge)ee.insertBefore(w(Pe[Ge],!0),N(x))}}return An(x),!0}return x instanceof u&&!cg(x)||(I==="noscript"||I==="noembed"||I==="noframes")&&tt(/<\/no(script|embed|frames)/i,x.innerHTML)?(An(x),!0):(Pt&&x.nodeType===3&&(O=x.textContent,fo([q,Qe,Ce],ee=>{O=ti(O,ee," ")}),x.textContent!==O&&(ei(t.removed,{element:x.cloneNode()}),x.textContent=O)),zt("afterSanitizeElements",x,null),!1)},Cc=function(x,O,I){if(er&&(O==="id"||O==="name")&&(I in n||I in ag))return!1;if(!(At&&!de[O]&&tt($t,O))){if(!(Ae&&tt(tn,O))){if(!F[O]||de[O]){if(!(kc(x)&&(V.tagNameCheck instanceof RegExp&&tt(V.tagNameCheck,x)||V.tagNameCheck instanceof Function&&V.tagNameCheck(x))&&(V.attributeNameCheck instanceof RegExp&&tt(V.attributeNameCheck,O)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(O))||O==="is"&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&tt(V.tagNameCheck,I)||V.tagNameCheck instanceof Function&&V.tagNameCheck(I))))return!1}else if(!zl[O]){if(!tt(P,ti(I,Ve,""))){if(!((O==="src"||O==="xlink:href"||O==="href")&&x!=="script"&&T0(I,"data:")===0&&fc[x])){if(!(Qi&&!tt(Ke,ti(I,Ve,"")))){if(I)return!1}}}}}}return!0},kc=function(x){return x.indexOf("-")>0},Nc=function(x){zt("beforeSanitizeAttributes",x,null);const{attributes:O}=x;if(!O)return;const I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F};let ee=O.length;for(;ee--;){const Pe=O[ee],{name:Oe,namespaceURI:Ge,value:Pn}=Pe,Wr=xe(Oe);let qe=Oe==="value"?Pn:R0(Pn);if(I.attrName=Wr,I.attrValue=qe,I.keepAttr=!0,I.forceKeepAttr=void 0,zt("uponSanitizeAttribute",x,I),qe=I.attrValue,I.forceKeepAttr||(Wl(Oe,x),!I.keepAttr))continue;if(!Zn&&tt(/\/>/i,qe)){Wl(Oe,x);continue}Pt&&fo([q,Qe,Ce],Rc=>{qe=ti(qe,Rc," ")});const Tc=xe(x.nodeName);if(!!Cc(Tc,Wr,qe)){if(cc&&(Wr==="id"||Wr==="name")&&(Wl(Oe,x),qe=ig+qe),h&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!Ge)switch(y.getAttributeType(Tc,Wr)){case"TrustedHTML":{qe=h.createHTML(qe);break}case"TrustedScriptURL":{qe=h.createScriptURL(qe);break}}try{Ge?x.setAttributeNS(Ge,Oe,qe):x.setAttribute(Oe,qe),tf(t.removed)}catch{}}}zt("afterSanitizeAttributes",x,null)},fg=function $(x){let O=null;const I=wc(x);for(zt("beforeSanitizeShadowDOM",x,null);O=I.nextNode();)zt("uponSanitizeShadowNode",O,null),!Sc(O)&&(O.content instanceof o&&$(O.content),Nc(O));zt("afterSanitizeShadowDOM",x,null)};return t.sanitize=function($){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=null,I=null,ee=null,Pe=null;if(Ul=!$,Ul&&($=""),typeof $!="string"&&!Ec($))if(typeof $.toString=="function"){if($=$.toString(),typeof $!="string")throw ni("dirty is not a string, aborting")}else throw ni("toString is not a function");if(!t.isSupported)return $;if(Jn||Hl(x),t.removed=[],typeof $=="string"&&(Br=!1),Br){if($.nodeName){const Pn=xe($.nodeName);if(!L[Pn]||ge[Pn])throw ni("root node is forbidden and cannot be sanitized in-place")}}else if($ instanceof s)O=xc(""),I=O.ownerDocument.importNode($,!0),I.nodeType===1&&I.nodeName==="BODY"||I.nodeName==="HTML"?O=I:O.appendChild(I);else{if(!yt&&!Pt&&!Ft&&$.indexOf("<")===-1)return h&&Rn?h.createHTML($):$;if(O=xc($),!O)return yt?null:Rn?E:""}O&&Tn&&An(O.firstChild);const Oe=wc(Br?$:O);for(;ee=Oe.nextNode();)Sc(ee)||(ee.content instanceof o&&fg(ee.content),Nc(ee));if(Br)return $;if(yt){if(J)for(Pe=C.call(O.ownerDocument);O.firstChild;)Pe.appendChild(O.firstChild);else Pe=O;return(F.shadowroot||F.shadowrootmode)&&(Pe=j.call(r,Pe,!0)),Pe}let Ge=Ft?O.outerHTML:O.innerHTML;return Ft&&L["!doctype"]&&O.ownerDocument&&O.ownerDocument.doctype&&O.ownerDocument.doctype.name&&tt(sm,O.ownerDocument.doctype.name)&&(Ge="
-`+Ge),Pt&&fo([q,Qe,Ce],Pn=>{Ge=ti(Ge,Pn," ")}),h&&Rn?h.createHTML(Ge):Ge},t.setConfig=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hl($),Jn=!0},t.clearConfig=function(){ir=null,Jn=!1},t.isValidAttribute=function($,x,O){ir||Hl({});const I=xe($),ee=xe(x);return Cc(I,ee,O)},t.addHook=function($,x){typeof x=="function"&&(b[$]=b[$]||[],ei(b[$],x))},t.removeHook=function($){if(b[$])return tf(b[$])},t.removeHooks=function($){b[$]&&(b[$]=[])},t.removeAllHooks=function(){b={}},t}var Zt=am(),um={exports:{}};/*!
+ */var Ir=v.exports;function r0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var i0=typeof Object.is=="function"?Object.is:r0,o0=Ir.useState,l0=Ir.useEffect,s0=Ir.useLayoutEffect,a0=Ir.useDebugValue;function u0(e,t){var n=t(),r=o0({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return s0(function(){i.value=n,i.getSnapshot=t,ys(i)&&o({inst:i})},[e,n,t]),l0(function(){return ys(i)&&o({inst:i}),e(function(){ys(i)&&o({inst:i})})},[e]),a0(n),n}function ys(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i0(e,n)}catch{return!0}}function c0(e,t){return t()}var d0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c0:u0;em.useSyncExternalStore=Ir.useSyncExternalStore!==void 0?Ir.useSyncExternalStore:d0;(function(e){e.exports=em})(Jh);const f0=Jh.exports.useSyncExternalStore,Jd=v.exports.createContext(void 0),tm=v.exports.createContext(!1);function nm(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Jd),window.ReactQueryClientContext):Jd)}const p0=({context:e}={})=>{const t=v.exports.useContext(nm(e,v.exports.useContext(tm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},h0=({client:e,children:t,context:n,contextSharing:r=!1})=>{v.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=nm(n,r);return a(tm.Provider,{value:!n&&r,children:a(i.Provider,{value:e,children:t})})},rm=v.exports.createContext(!1),m0=()=>v.exports.useContext(rm);rm.Provider;function g0(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const v0=v.exports.createContext(g0()),y0=()=>v.exports.useContext(v0);function _0(e,t){return typeof e=="function"?e(...t):!!e}const x0=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},w0=e=>{v.exports.useEffect(()=>{e.clearReset()},[e])},E0=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&_0(n,[e.error,r]);function S0(e,t){const n=p0({context:e.context}),r=m0(),i=y0(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=he.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=he.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=he.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),x0(o,i),w0(i);const[l]=v.exports.useState(()=>new t(n,o)),s=l.getOptimisticResult(o);if(f0(v.exports.useCallback(u=>r?()=>{}:l.subscribe(he.batchCalls(u)),[l,r]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),v.exports.useEffect(()=>{l.setOptions(o,{listeners:!1})},[o,l]),o.suspense&&s.isLoading&&s.isFetching&&!r)throw l.fetchOptimistic(o).then(({data:u})=>{o.onSuccess==null||o.onSuccess(u),o.onSettled==null||o.onSettled(u,null)}).catch(u=>{i.clearReset(),o.onError==null||o.onError(u),o.onSettled==null||o.onSettled(void 0,u)});if(E0({result:s,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:l.getCurrentQuery()}))throw s.error;return o.notifyOnChangeProps?s:l.trackResult(s)}function oe(e,t,n){const r=Oo(e,t,n);return S0(r,t0)}/*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */const{entries:im,setPrototypeOf:ef,isFrozen:C0,getPrototypeOf:k0,getOwnPropertyDescriptor:Zu}=Object;let{freeze:Be,seal:Rt,create:om}=Object,{apply:za,construct:Ua}=typeof Reflect<"u"&&Reflect;Be||(Be=function(t){return t});Rt||(Rt=function(t){return t});za||(za=function(t,n,r){return t.apply(n,r)});Ua||(Ua=function(t,n){return new t(...n)});const fo=vt(Array.prototype.forEach),tf=vt(Array.prototype.pop),ei=vt(Array.prototype.push),Do=vt(String.prototype.toLowerCase),_s=vt(String.prototype.toString),N0=vt(String.prototype.match),ti=vt(String.prototype.replace),T0=vt(String.prototype.indexOf),R0=vt(String.prototype.trim),tt=vt(RegExp.prototype.test),ni=A0(TypeError);function vt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:Do;ef&&ef(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&(C0(t)||(t[r]=o),i=o)}e[i]=!0}return e}function P0(e){for(let t=0;t/gm),I0=Rt(/\${[\w\W]*}/gm),$0=Rt(/^data-[\-\w.\u00B7-\uFFFF]/),M0=Rt(/^aria-[\-\w]+$/),lm=Rt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F0=Rt(/^(?:\w+script|data):/i),j0=Rt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),sm=Rt(/^html$/i);var sf=Object.freeze({__proto__:null,MUSTACHE_EXPR:D0,ERB_EXPR:L0,TMPLIT_EXPR:I0,DATA_ATTR:$0,ARIA_ATTR:M0,IS_ALLOWED_URI:lm,IS_SCRIPT_OR_DATA:F0,ATTR_WHITESPACE:j0,DOCTYPE_NAME:sm});const z0=function(){return typeof window>"u"?null:window},U0=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function am(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z0();const t=M=>am(M);if(t.version="3.0.8",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:s,Element:u,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:y}=e,_=u.prototype,w=po(_,"cloneNode"),N=po(_,"nextSibling"),g=po(_,"childNodes"),m=po(_,"parentNode");if(typeof l=="function"){const M=n.createElement("template");M.content&&M.content.ownerDocument&&(n=M.content.ownerDocument)}let h,E="";const{implementation:T,createNodeIterator:S,createDocumentFragment:C,getElementsByTagName:k}=n,{importNode:j}=r;let b={};t.isSupported=typeof im=="function"&&typeof m=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:q,ERB_EXPR:Qe,TMPLIT_EXPR:Ce,DATA_ATTR:Mt,ARIA_ATTR:tn,IS_SCRIPT_OR_DATA:Ke,ATTR_WHITESPACE:Ve}=sf;let{IS_ALLOWED_URI:P}=sf,L=null;const z=B({},[...nf,...xs,...ws,...Es,...rf]);let F=null;const Z=B({},[...of,...Ss,...lf,...ho]);let V=Object.seal(om(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ge=null,de=null,Ae=!0,At=!0,Qi=!1,Zn=!0,Pt=!1,Ft=!1,Jn=!1,Tn=!1,yt=!1,J=!1,Rn=!1,er=!0,cc=!1;const ig="user-content-";let jl=!0,Br=!1,tr={},nr=null;const dc=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let fc=null;const pc=B({},["audio","video","img","source","image","track"]);let zl=null;const hc=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ki="http://www.w3.org/1998/Math/MathML",Vi="http://www.w3.org/2000/svg",jt="http://www.w3.org/1999/xhtml";let rr=jt,Ul=!1,Bl=null;const og=B({},[Ki,Vi,jt],_s);let Hr=null;const lg=["application/xhtml+xml","text/html"],sg="text/html";let xe=null,ir=null;const ag=n.createElement("form"),mc=function(x){return x instanceof RegExp||x instanceof Function},Hl=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ir&&ir===x)){if((!x||typeof x!="object")&&(x={}),x=Ln(x),Hr=lg.indexOf(x.PARSER_MEDIA_TYPE)===-1?sg:x.PARSER_MEDIA_TYPE,xe=Hr==="application/xhtml+xml"?_s:Do,L="ALLOWED_TAGS"in x?B({},x.ALLOWED_TAGS,xe):z,F="ALLOWED_ATTR"in x?B({},x.ALLOWED_ATTR,xe):Z,Bl="ALLOWED_NAMESPACES"in x?B({},x.ALLOWED_NAMESPACES,_s):og,zl="ADD_URI_SAFE_ATTR"in x?B(Ln(hc),x.ADD_URI_SAFE_ATTR,xe):hc,fc="ADD_DATA_URI_TAGS"in x?B(Ln(pc),x.ADD_DATA_URI_TAGS,xe):pc,nr="FORBID_CONTENTS"in x?B({},x.FORBID_CONTENTS,xe):dc,ge="FORBID_TAGS"in x?B({},x.FORBID_TAGS,xe):{},de="FORBID_ATTR"in x?B({},x.FORBID_ATTR,xe):{},tr="USE_PROFILES"in x?x.USE_PROFILES:!1,Ae=x.ALLOW_ARIA_ATTR!==!1,At=x.ALLOW_DATA_ATTR!==!1,Qi=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Zn=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Pt=x.SAFE_FOR_TEMPLATES||!1,Ft=x.WHOLE_DOCUMENT||!1,yt=x.RETURN_DOM||!1,J=x.RETURN_DOM_FRAGMENT||!1,Rn=x.RETURN_TRUSTED_TYPE||!1,Tn=x.FORCE_BODY||!1,er=x.SANITIZE_DOM!==!1,cc=x.SANITIZE_NAMED_PROPS||!1,jl=x.KEEP_CONTENT!==!1,Br=x.IN_PLACE||!1,P=x.ALLOWED_URI_REGEXP||lm,rr=x.NAMESPACE||jt,V=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&mc(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&mc(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(V.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pt&&(At=!1),J&&(yt=!0),tr&&(L=B({},rf),F=[],tr.html===!0&&(B(L,nf),B(F,of)),tr.svg===!0&&(B(L,xs),B(F,Ss),B(F,ho)),tr.svgFilters===!0&&(B(L,ws),B(F,Ss),B(F,ho)),tr.mathMl===!0&&(B(L,Es),B(F,lf),B(F,ho))),x.ADD_TAGS&&(L===z&&(L=Ln(L)),B(L,x.ADD_TAGS,xe)),x.ADD_ATTR&&(F===Z&&(F=Ln(F)),B(F,x.ADD_ATTR,xe)),x.ADD_URI_SAFE_ATTR&&B(zl,x.ADD_URI_SAFE_ATTR,xe),x.FORBID_CONTENTS&&(nr===dc&&(nr=Ln(nr)),B(nr,x.FORBID_CONTENTS,xe)),jl&&(L["#text"]=!0),Ft&&B(L,["html","head","body"]),L.table&&(B(L,["tbody"]),delete ge.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw ni('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ni('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=x.TRUSTED_TYPES_POLICY,E=h.createHTML("")}else h===void 0&&(h=U0(y,i)),h!==null&&typeof E=="string"&&(E=h.createHTML(""));Be&&Be(x),ir=x}},gc=B({},["mi","mo","mn","ms","mtext"]),vc=B({},["foreignobject","desc","title","annotation-xml"]),ug=B({},["title","style","font","a","script"]),yc=B({},[...xs,...ws,...O0]),_c=B({},[...Es,...b0]),cg=function(x){let O=m(x);(!O||!O.tagName)&&(O={namespaceURI:rr,tagName:"template"});const I=Do(x.tagName),ee=Do(O.tagName);return Bl[x.namespaceURI]?x.namespaceURI===Vi?O.namespaceURI===jt?I==="svg":O.namespaceURI===Ki?I==="svg"&&(ee==="annotation-xml"||gc[ee]):Boolean(yc[I]):x.namespaceURI===Ki?O.namespaceURI===jt?I==="math":O.namespaceURI===Vi?I==="math"&&vc[ee]:Boolean(_c[I]):x.namespaceURI===jt?O.namespaceURI===Vi&&!vc[ee]||O.namespaceURI===Ki&&!gc[ee]?!1:!_c[I]&&(ug[I]||!yc[I]):!!(Hr==="application/xhtml+xml"&&Bl[x.namespaceURI]):!1},An=function(x){ei(t.removed,{element:x});try{x.parentNode.removeChild(x)}catch{x.remove()}},Wl=function(x,O){try{ei(t.removed,{attribute:O.getAttributeNode(x),from:O})}catch{ei(t.removed,{attribute:null,from:O})}if(O.removeAttribute(x),x==="is"&&!F[x])if(yt||J)try{An(O)}catch{}else try{O.setAttribute(x,"")}catch{}},xc=function(x){let O=null,I=null;if(Tn)x=""+x;else{const Oe=N0(x,/^[\r\n\t ]+/);I=Oe&&Oe[0]}Hr==="application/xhtml+xml"&&rr===jt&&(x=''+x+"");const ee=h?h.createHTML(x):x;if(rr===jt)try{O=new p().parseFromString(ee,Hr)}catch{}if(!O||!O.documentElement){O=T.createDocument(rr,"template",null);try{O.documentElement.innerHTML=Ul?E:ee}catch{}}const Pe=O.body||O.documentElement;return x&&I&&Pe.insertBefore(n.createTextNode(I),Pe.childNodes[0]||null),rr===jt?k.call(O,Ft?"html":"body")[0]:Ft?O.documentElement:Pe},wc=function(x){return S.call(x.ownerDocument||x,x,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},dg=function(x){return x instanceof f&&(typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||!(x.attributes instanceof d)||typeof x.removeAttribute!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function")},Ec=function(x){return typeof s=="function"&&x instanceof s},zt=function(x,O,I){!b[x]||fo(b[x],ee=>{ee.call(t,O,I,ir)})},Sc=function(x){let O=null;if(zt("beforeSanitizeElements",x,null),dg(x))return An(x),!0;const I=xe(x.nodeName);if(zt("uponSanitizeElement",x,{tagName:I,allowedTags:L}),x.hasChildNodes()&&!Ec(x.firstElementChild)&&tt(/<[/\w]/g,x.innerHTML)&&tt(/<[/\w]/g,x.textContent))return An(x),!0;if(!L[I]||ge[I]){if(!ge[I]&&kc(I)&&(V.tagNameCheck instanceof RegExp&&tt(V.tagNameCheck,I)||V.tagNameCheck instanceof Function&&V.tagNameCheck(I)))return!1;if(jl&&!nr[I]){const ee=m(x)||x.parentNode,Pe=g(x)||x.childNodes;if(Pe&&ee){const Oe=Pe.length;for(let Ge=Oe-1;Ge>=0;--Ge)ee.insertBefore(w(Pe[Ge],!0),N(x))}}return An(x),!0}return x instanceof u&&!cg(x)||(I==="noscript"||I==="noembed"||I==="noframes")&&tt(/<\/no(script|embed|frames)/i,x.innerHTML)?(An(x),!0):(Pt&&x.nodeType===3&&(O=x.textContent,fo([q,Qe,Ce],ee=>{O=ti(O,ee," ")}),x.textContent!==O&&(ei(t.removed,{element:x.cloneNode()}),x.textContent=O)),zt("afterSanitizeElements",x,null),!1)},Cc=function(x,O,I){if(er&&(O==="id"||O==="name")&&(I in n||I in ag))return!1;if(!(At&&!de[O]&&tt(Mt,O))){if(!(Ae&&tt(tn,O))){if(!F[O]||de[O]){if(!(kc(x)&&(V.tagNameCheck instanceof RegExp&&tt(V.tagNameCheck,x)||V.tagNameCheck instanceof Function&&V.tagNameCheck(x))&&(V.attributeNameCheck instanceof RegExp&&tt(V.attributeNameCheck,O)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(O))||O==="is"&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&tt(V.tagNameCheck,I)||V.tagNameCheck instanceof Function&&V.tagNameCheck(I))))return!1}else if(!zl[O]){if(!tt(P,ti(I,Ve,""))){if(!((O==="src"||O==="xlink:href"||O==="href")&&x!=="script"&&T0(I,"data:")===0&&fc[x])){if(!(Qi&&!tt(Ke,ti(I,Ve,"")))){if(I)return!1}}}}}}return!0},kc=function(x){return x.indexOf("-")>0},Nc=function(x){zt("beforeSanitizeAttributes",x,null);const{attributes:O}=x;if(!O)return;const I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F};let ee=O.length;for(;ee--;){const Pe=O[ee],{name:Oe,namespaceURI:Ge,value:Pn}=Pe,Wr=xe(Oe);let qe=Oe==="value"?Pn:R0(Pn);if(I.attrName=Wr,I.attrValue=qe,I.keepAttr=!0,I.forceKeepAttr=void 0,zt("uponSanitizeAttribute",x,I),qe=I.attrValue,I.forceKeepAttr||(Wl(Oe,x),!I.keepAttr))continue;if(!Zn&&tt(/\/>/i,qe)){Wl(Oe,x);continue}Pt&&fo([q,Qe,Ce],Rc=>{qe=ti(qe,Rc," ")});const Tc=xe(x.nodeName);if(!!Cc(Tc,Wr,qe)){if(cc&&(Wr==="id"||Wr==="name")&&(Wl(Oe,x),qe=ig+qe),h&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!Ge)switch(y.getAttributeType(Tc,Wr)){case"TrustedHTML":{qe=h.createHTML(qe);break}case"TrustedScriptURL":{qe=h.createScriptURL(qe);break}}try{Ge?x.setAttributeNS(Ge,Oe,qe):x.setAttribute(Oe,qe),tf(t.removed)}catch{}}}zt("afterSanitizeAttributes",x,null)},fg=function M(x){let O=null;const I=wc(x);for(zt("beforeSanitizeShadowDOM",x,null);O=I.nextNode();)zt("uponSanitizeShadowNode",O,null),!Sc(O)&&(O.content instanceof o&&M(O.content),Nc(O));zt("afterSanitizeShadowDOM",x,null)};return t.sanitize=function(M){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=null,I=null,ee=null,Pe=null;if(Ul=!M,Ul&&(M=""),typeof M!="string"&&!Ec(M))if(typeof M.toString=="function"){if(M=M.toString(),typeof M!="string")throw ni("dirty is not a string, aborting")}else throw ni("toString is not a function");if(!t.isSupported)return M;if(Jn||Hl(x),t.removed=[],typeof M=="string"&&(Br=!1),Br){if(M.nodeName){const Pn=xe(M.nodeName);if(!L[Pn]||ge[Pn])throw ni("root node is forbidden and cannot be sanitized in-place")}}else if(M instanceof s)O=xc(""),I=O.ownerDocument.importNode(M,!0),I.nodeType===1&&I.nodeName==="BODY"||I.nodeName==="HTML"?O=I:O.appendChild(I);else{if(!yt&&!Pt&&!Ft&&M.indexOf("<")===-1)return h&&Rn?h.createHTML(M):M;if(O=xc(M),!O)return yt?null:Rn?E:""}O&&Tn&&An(O.firstChild);const Oe=wc(Br?M:O);for(;ee=Oe.nextNode();)Sc(ee)||(ee.content instanceof o&&fg(ee.content),Nc(ee));if(Br)return M;if(yt){if(J)for(Pe=C.call(O.ownerDocument);O.firstChild;)Pe.appendChild(O.firstChild);else Pe=O;return(F.shadowroot||F.shadowrootmode)&&(Pe=j.call(r,Pe,!0)),Pe}let Ge=Ft?O.outerHTML:O.innerHTML;return Ft&&L["!doctype"]&&O.ownerDocument&&O.ownerDocument.doctype&&O.ownerDocument.doctype.name&&tt(sm,O.ownerDocument.doctype.name)&&(Ge="
+`+Ge),Pt&&fo([q,Qe,Ce],Pn=>{Ge=ti(Ge,Pn," ")}),h&&Rn?h.createHTML(Ge):Ge},t.setConfig=function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hl(M),Jn=!0},t.clearConfig=function(){ir=null,Jn=!1},t.isValidAttribute=function(M,x,O){ir||Hl({});const I=xe(M),ee=xe(x);return Cc(I,ee,O)},t.addHook=function(M,x){typeof x=="function"&&(b[M]=b[M]||[],ei(b[M],x))},t.removeHook=function(M){if(b[M])return tf(b[M])},t.removeHooks=function(M){b[M]&&(b[M]=[])},t.removeAllHooks=function(){b={}},t}var Zt=am(),um={exports:{}};/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
-*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l{const l=Se(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return a(n,{ref:o,...i,className:ce(r,t?`${l}${s}`:l)})});U.displayName="Container";const W0="_spinner_container_1gla4_1",Q0="_html_spinner_1gla4_13",K0="_rotate_1gla4_1",af={spinner_container:W0,html_spinner:Q0,rotate:K0},Re=()=>a(U,{className:`${af.spinner_container}`,children:a("div",{className:`${af.html_spinner}`})}),le=async({queryKey:e})=>{const t=e[1],n=e[2],r=100;let i=[],o=1,l,s;const u="https://wp-vatter.wadaky.li/wp-json/wp/v2";if(n==""&&t=="projekte"){l=await fetch(`${u}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);const c=await l.headers.get("X-WP-Total");for(;Math.floor(c-r*o)>0;)o++,l=await fetch(`${u}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);if(!l.ok)throw new Error(`Data of ${t} fetch not ok`);return i}else if(n!=""){if(t=="media"?l=await fetch(`${u}/${t}/${n}`):l=await fetch(`${u}/${t}?per_page=${r}&${n}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}else{if(l=await fetch(`${u}/${t}?per_page=${r}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}},V0="_news_title_1ntn6_1",G0="_news_date_1ntn6_15",q0="_news_content_1ntn6_27",Cs={news_title:V0,news_date:G0,news_content:q0};function Y0(e,t){return e.filter(r=>r.name==t)}function uf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function cf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function fm(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function X0(e){const t=e.split("-"),n=t[2],r=t[1],i=t[0];return[n,r,i].join("/")}function Z0(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let u=null,c=null;o&&i?(u=uf(e.data,o),c=cf(t.data,i),s=s.filter(d=>d.topic.includes(u)==!0&&d.service.includes(c)==!0)):o?(u=uf(e.data,o),s=s.filter(d=>d.topic.includes(u)==!0)):i&&(c=cf(t.data,i),s=s.filter(d=>d.service.includes(c)==!0))}return s}function J0(e,t){let n=e,r=fm(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function pl(e){const t=/[^a-z0-9éèäöüß]+/g;return e=e.toLowerCase(),e=e.replace(t,"-"),e=e.replace(/éè/g,"e"),e=e.replace(/ä/g,"ae"),e=e.replace(/ö/g,"oe"),e=e.replace(/ü/g,"ue"),e=e.replace(/ß/g,"ss"),e}const e1=()=>{const e=_e(),t=oe(["news","aktuelles",""],le);return t.isLoading?a(Re,{}):(t.isError&&e("/NotMatch404"),a("div",{id:"landing_news",children:t.data.map(n=>A("div",{children:[a("div",{className:`${Cs.news_title}`,children:n.title.rendered}),a("div",{className:`${Cs.news_date}`,children:X0(n.date.slice(0,10))}),a("div",{className:`${Cs.news_content}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(n.content.rendered)}}),a("hr",{})]},n.id))}))},Y=v.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=Se(e,"row"),l=cm(),s=dm(),u=`${o}-cols`,c=[];return l.forEach(d=>{const f=r[d];delete r[d];let p;f!=null&&typeof f=="object"?{cols:p}=f:p=f;const y=d!==s?`-${d}`:"";p!=null&&c.push(`${u}${y}-${p}`)}),a(n,{ref:i,...r,className:ce(t,o,...c)})});Y.displayName="Row";function t1({as:e,bsPrefix:t,className:n,...r}){t=Se(t,"col");const i=cm(),o=dm(),l=[],s=[];return i.forEach(u=>{const c=r[u];delete r[u];let d,f,p;typeof c=="object"&&c!=null?{span:d,offset:f,order:p}=c:d=c;const y=u!==o?`-${u}`:"";d&&l.push(d===!0?`${t}${y}`:`${t}${y}-${d}`),p!=null&&s.push(`order${y}-${p}`),f!=null&&s.push(`offset${y}-${f}`)}),[{...r,className:ce(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const B=v.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=t1(e);return a(i,{...r,ref:t,className:ce(n,!l.length&&o)})});B.displayName="Col";const n1="_pic_container_3mpjs_1",r1="_service_pic_3mpjs_9",i1="_service_pic_caption_3mpjs_53",ks={pic_container:n1,service_pic:r1,service_pic_caption:i1},o1="/bv2024_frontend/assets/forschung.d34ddc45.png",l1=({imgid:e,picName:t})=>{var i;const n=_e(),r=oe(["service_pic","media",e],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),a("div",{className:`${ks.pic_container}`,children:A("div",{className:`${ks.service_pic}`,children:[a("img",{src:(i=r.data.source_url)!=null?i:o1,alt:t,width:"100%"}),a("div",{className:`${ks.service_pic_caption}`,children:a("div",{children:t})})]})}))},s1="_home_service_content_5fwz3_1",a1="_home_service_box_5fwz3_9",u1="_home_service_row_5fwz3_21",Ns={home_service_content:s1,home_service_box:a1,home_service_row:u1},c1=({props:e})=>a(U,{className:`${Ns.home_service_content}`,children:a(Y,{className:`${Ns.home_service_row}`,children:e.data.map(t=>a(B,{xl:4,lg:4,md:6,className:`${Ns.home_service_box}`,children:a(Me,{to:"/Dienstleistungen",state:t.title.rendered,children:a(l1,{imgid:t.acf.imgid,picName:t.title.rendered})})},t.id))})}),ec="/bv2024_frontend/assets/arrow-right.876ca64e.svg",d1="_intro_1fo5h_1",f1="_laufend_project_btn_1fo5h_17",p1="_laufend_project_btn_text_1fo5h_35",Ts={intro:d1,laufend_project_btn:f1,laufend_project_btn_text:p1},h1=()=>{const e=_e(),t=oe(["services","dienstleistungen",""],le),n=oe(["landingIntro","pages/28911",""],le);return t.isLoading||n.isLoading?a(Re,{}):((t.isError||n.isError)&&e("/NotMatch404"),A("div",{children:[a(U,{className:`${Ts.intro}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(n.data.content.rendered)}}),a(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),a(U,{children:a(c1,{props:t})}),a(U,{className:"categoryTitle",children:"AKTUELLES"}),a(U,{children:a(e1,{})}),a(U,{className:"text-end",children:a(Me,{to:"/Projekte/laufend",children:A("button",{className:`${Ts.laufend_project_btn}`,children:[a("span",{className:`${Ts.laufend_project_btn_text}`,children:"Laufende Projekte"}),a("img",{src:ec,alt:"Laufende Projekte",height:"28px"})]})})})]}))};var Et={exports:{}},m1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g1=m1,v1=g1;function pm(){}function hm(){}hm.resetWarningCache=pm;var y1=function(){function e(r,i,o,l,s,u){if(u!==v1){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hm,resetWarningCache:pm};return n.PropTypes=n,n};Et.exports=y1();function _1(e,t,n){const r=v.exports.useRef(e!==void 0),[i,o]=v.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,v.exports.useCallback((...u)=>{const[c,...d]=u;let f=n==null?void 0:n(c,...d);return o(c),f},[n])]}const hl={prefix:String(Math.round(Math.random()*1e10)),current:0},mm=Ie.createContext(hl),x1=Ie.createContext(!1);let w1=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Rs=new WeakMap;function E1(e=!1){let t=v.exports.useContext(mm),n=v.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(o){let l=Rs.get(o);l==null?Rs.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==l.state&&(t.current=l.id,Rs.delete(o))}n.current=++t.current}return n.current}function S1(e){let t=v.exports.useContext(mm);t===hl&&!w1&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=E1(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function C1(e){let t=Ie.useId(),[n]=v.exports.useState(A1()),r=n?"react-aria":`react-aria${hl.prefix}`;return e||`${r}-${t}`}const k1=typeof Ie.useId=="function"?C1:S1;function N1(){return!1}function T1(){return!0}function R1(e){return()=>{}}function A1(){return typeof Ie.useSyncExternalStore=="function"?Ie.useSyncExternalStore(R1,N1,T1):v.exports.useContext(x1)}const Ur=v.exports.createContext(null),Vn=v.exports.createContext(null),$i=(e,t=null)=>e!=null?String(e):t||null;function P1(e){const t=v.exports.useRef(e);return v.exports.useEffect(()=>{t.current=e},[e]),t}function ft(e){const t=P1(e);return v.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const df=e=>!e||typeof e=="function"?e:t=>{e.current=t};function O1(e,t){const n=df(e),r=df(t);return i=>{n&&n(i),r&&r(i)}}function Ml(e,t){return v.exports.useMemo(()=>O1(e,t),[e,t])}function tc({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=v.exports.useRef(null),l=v.exports.useRef(t),s=ft(n);v.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const u=Ml(o,e.ref),c=v.exports.cloneElement(e,{ref:u});return t?c:i||!l.current&&r?null:c}const b1=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],D1=["activeKey","getControlledId","getControllerId"],L1=["as"];function Ba(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function gm(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:u,onEntered:c,onExit:d,onExiting:f,onExited:p}=e,y=Ba(e,b1);const _=v.exports.useContext(Ur);if(!_)return[Object.assign({},y,{role:l}),{eventKey:n,isActive:t,mountOnEnter:r,transition:i,unmountOnExit:o,onEnter:s,onEntering:u,onEntered:c,onExit:d,onExiting:f,onExited:p}];const{activeKey:w,getControlledId:N,getControllerId:g}=_,m=Ba(_,D1),h=$i(n);return[Object.assign({},y,{role:l,id:N(n),"aria-labelledby":g(n)}),{eventKey:n,isActive:t==null&&h!=null?$i(w)===h:t,transition:i||m.transition,mountOnEnter:r!=null?r:m.mountOnEnter,unmountOnExit:o!=null?o:m.unmountOnExit,onEnter:s,onEntering:u,onEntered:c,onExit:d,onExiting:f,onExited:p}]}const vm=v.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=Ba(e,L1);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:u,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,transition:_=tc}]=gm(r);return a(Ur.Provider,{value:null,children:a(Vn.Provider,{value:null,children:a(_,{in:o,onEnter:l,onEntering:s,onEntered:u,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,children:a(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});vm.displayName="TabPanel";const ym=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:u,children:c}=e,[d,f]=_1(i,o,r),p=k1(t),y=v.exports.useMemo(()=>n||((w,N)=>p?`${p}-${N}-${w}`:null),[p,n]),_=v.exports.useMemo(()=>({onSelect:f,activeKey:d,transition:l,mountOnEnter:s||!1,unmountOnExit:u||!1,getControlledId:w=>y(w,"tabpane"),getControllerId:w=>y(w,"tab")}),[f,d,l,s,u,y]);return a(Ur.Provider,{value:_,children:a(Vn.Provider,{value:f||null,children:c})})};ym.Panel=vm;function _m(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Ha(e,t){return Ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ha(e,t)}function I1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ha(e,t)}const ff={disabled:!1},xm=Ie.createContext(null);var M1=function(t){return t.scrollTop},ui="unmounted",sn="exited",Ct="entering",Ht="entered",Fi="exiting",en=function(e){I1(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var l=i,s=l&&!l.isMounting?r.enter:r.appear,u;return o.appearStatus=null,r.in?s?(u=sn,o.appearStatus=Ct):u=Ht:r.unmountOnExit||r.mountOnEnter?u=ui:u=sn,o.state={status:u},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ui?{status:sn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==Ct&&l!==Ht&&(o=Ct):(l===Ct||l===Ht)&&(o=Fi)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,l,s;return o=l=s=i,i!=null&&typeof i!="number"&&(o=i.exit,l=i.enter,s=i.appear!==void 0?i.appear:l),{exit:o,enter:l,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Ct){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this);l&&M1(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===sn&&this.setState({status:ui})},n.performEnter=function(i){var o=this,l=this.props.enter,s=this.context?this.context.isMounting:i,u=this.props.nodeRef?[s]:[wr.findDOMNode(this),s],c=u[0],d=u[1],f=this.getTimeouts(),p=s?f.appear:f.enter;if(!i&&!l||ff.disabled){this.safeSetState({status:Ht},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Ct},function(){o.props.onEntering(c,d),o.onTransitionEnd(p,function(){o.safeSetState({status:Ht},function(){o.props.onEntered(c,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:wr.findDOMNode(this);if(!o||ff.disabled){this.safeSetState({status:sn},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Fi},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:sn},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,l=!0;return this.nextCallback=function(s){l&&(l=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!l||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],c=u[0],d=u[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===ui)return null;var o=this.props,l=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=_m(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a(xm.Provider,{value:null,children:typeof l=="function"?l(i,s):Ie.cloneElement(Ie.Children.only(l),s)})},t}(Ie.Component);en.contextType=xm;en.propTypes={};function lr(){}en.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:lr,onEntering:lr,onEntered:lr,onExit:lr,onExiting:lr,onExited:lr};en.UNMOUNTED=ui;en.EXITED=sn;en.ENTERING=Ct;en.ENTERED=Ht;en.EXITING=Fi;function nc(e){return e&&e.ownerDocument||document}function $1(e){var t=nc(e);return t&&t.defaultView||window}function F1(e,t){return $1(e).getComputedStyle(e,t)}var j1=/([A-Z])/g;function z1(e){return e.replace(j1,"-$1").toLowerCase()}var U1=/^ms-/;function mo(e){return z1(e).replace(U1,"-ms-")}var B1=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function H1(e){return!!(e&&B1.test(e))}function Vt(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(mo(t))||F1(e).getPropertyValue(mo(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(mo(i)):H1(i)?r+=i+"("+o+") ":n+=mo(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const $l=!!(typeof window<"u"&&window.document&&window.document.createElement);var Wa=!1,Qa=!1;try{var As={get passive(){return Wa=!0},get once(){return Qa=Wa=!0}};$l&&(window.addEventListener("test",As,As),window.removeEventListener("test",As,!0))}catch{}function W1(e,t,n,r){if(r&&typeof r!="boolean"&&!Qa){var i=r.once,o=r.capture,l=n;!Qa&&i&&(l=n.__once||function s(u){this.removeEventListener(t,s,o),n.call(this,u)},n.__once=l),e.addEventListener(t,l,Wa?r:o)}e.addEventListener(t,n,r)}function Q1(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}function ml(e,t,n,r){return W1(e,t,n,r),function(){Q1(e,t,n,r)}}function K1(e,t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function V1(e){var t=Vt(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function G1(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||K1(e,"transitionend",!0)},t+n),o=ml(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function q1(e,t,n,r){n==null&&(n=V1(e)||0);var i=G1(e,n,r),o=ml(e,"transitionend",t);return function(){i(),o()}}function pf(e,t){const n=Vt(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function rc(e,t){const n=pf(e,"transitionDuration"),r=pf(e,"transitionDelay"),i=q1(e,o=>{o.target===e&&(i(),t(o))},n+r)}function wm(e){e.offsetHeight}function Y1(e){return e&&"setState"in e?wr.findDOMNode(e):e!=null?e:null}const X1=Ie.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:u,...c},d)=>{const f=v.exports.useRef(null),p=Ml(f,u),y=S=>{p(Y1(S))},_=S=>C=>{S&&f.current&&S(f.current,C)},w=v.exports.useCallback(_(e),[e]),N=v.exports.useCallback(_(t),[t]),g=v.exports.useCallback(_(n),[n]),m=v.exports.useCallback(_(r),[r]),h=v.exports.useCallback(_(i),[i]),E=v.exports.useCallback(_(o),[o]),T=v.exports.useCallback(_(l),[l]);return a(en,{ref:d,...c,onEnter:w,onEntered:g,onEntering:N,onExit:m,onExited:E,onExiting:h,addEndListener:T,nodeRef:f,children:typeof s=="function"?(S,C)=>s(S,{...C,ref:y}):Ie.cloneElement(s,{ref:y})})}),ic=X1,Z1={[Ct]:"show",[Ht]:"show"},Em=v.exports.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=v.exports.useCallback((u,c)=>{wm(u),r==null||r(u,c)},[r]);return a(ic,{ref:o,addEndListener:rc,...l,onEnter:s,childRef:t.ref,children:(u,c)=>v.exports.cloneElement(t,{...c,className:ce("fade",e,t.props.className,Z1[u],n[u])})})});Em.displayName="Fade";const oc=Em;function Sm(e){return typeof e=="boolean"?e?oc:tc:e}const Cm=({transition:e,...t})=>a(ym,{...t,transition:Sm(e)});Cm.displayName="TabContainer";const km=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Se(t,"tab-content"),a(n,{ref:i,className:ce(e,t),...r})));km.displayName="TabContent";const Nm=v.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:u,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:_,unmountOnExit:w,transition:N=oc}]=gm({...n,transition:Sm(t)}),g=Se(e,"tab-pane");return a(Ur.Provider,{value:null,children:a(Vn.Provider,{value:null,children:a(N,{in:s,onEnter:u,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:_,unmountOnExit:w,children:a(o,{...l,ref:r,className:ce(i,g,s&&"active")})})})})});Nm.displayName="TabPane";const J1={eventKey:Et.exports.oneOfType([Et.exports.string,Et.exports.number]),title:Et.exports.node.isRequired,disabled:Et.exports.bool,tabClassName:Et.exports.string,tabAttrs:Et.exports.object},Tm=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};Tm.propTypes=J1;const ri=Object.assign(Tm,{Container:Cm,Content:km,Pane:Nm});var hf={exports:{}},Ka={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,u,c,d,f){var p=c||"<>",y=f||u;if(s[u]==null)return l?new Error("Required "+d+" `"+y+"` was not specified "+("in `"+p+"`.")):null;for(var _=arguments.length,w=Array(_>6?_-6:0),N=6;N<_;N++)w[N-6]=arguments[N];return r.apply(void 0,[s,u,p,d,y].concat(w))}var o=i.bind(null,!1);return o.isRequired=i.bind(null,!0),o}e.exports=t.default})(Ka,Ka.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=Ka.exports,r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(){for(var l=arguments.length,s=Array(l),u=0;u1?d-1:0),p=1;p!t,!1);return e}const lc=v.exports.createContext(null);lc.displayName="NavContext";const ox="data-rr-ui-",lx="rrUi";function Fl(e){return`${ox}${e}`}function sx(e){return`${lx}${e}`}const ax=["as","disabled"];function ux(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function cx(e){return!e||e.trim()==="#"}function Am({tagName:e,disabled:t,href:n,target:r,rel:i,role:o,onClick:l,tabIndex:s=0,type:u}){e||(n!=null||r!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:u||"button",disabled:t},c];const d=p=>{if((t||e==="a"&&cx(n))&&p.preventDefault(),t){p.stopPropagation();return}l==null||l(p)},f=p=>{p.key===" "&&(p.preventDefault(),d(p))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:o!=null?o:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:e==="a"?r:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:f},c]}const Pm=v.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=ux(e,ax);const[o,{tagName:l}]=Am(Object.assign({tagName:n,disabled:r},i));return a(l,Object.assign({},i,o,{ref:t}))});Pm.displayName="Button";const dx=["as","active","eventKey"];function fx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Om({key:e,onClick:t,active:n,id:r,role:i,disabled:o}){const l=v.exports.useContext(Vn),s=v.exports.useContext(lc),u=v.exports.useContext(Ur);let c=n;const d={role:i};if(s){!i&&s.role==="tablist"&&(d.role="tab");const f=s.getControllerId(e!=null?e:null),p=s.getControlledId(e!=null?e:null);d[Fl("event-key")]=e,d.id=f||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(u!=null&&u.unmountOnExit)&&!(u!=null&&u.mountOnEnter))&&(d["aria-controls"]=p)}return d.role==="tab"&&(d["aria-selected"]=c,c||(d.tabIndex=-1),o&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=ft(f=>{o||(t==null||t(f),e!=null&&l&&!f.isPropagationStopped()&&l(e,f))}),[d,{isActive:c}]}const bm=v.exports.forwardRef((e,t)=>{let{as:n=Pm,active:r,eventKey:i}=e,o=fx(e,dx);const[l,s]=Om(Object.assign({key:$i(i,o.href),active:r},o));return l[Fl("active")]=s.isActive,a(n,Object.assign({},o,l,{ref:t}))});bm.displayName="NavItem";const px=["as","onSelect","activeKey","role","onKeyDown"];function hx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}const gf=()=>{},vf=Fl("event-key"),Dm=v.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=hx(e,px);const u=ix(),c=v.exports.useRef(!1),d=v.exports.useContext(Vn),f=v.exports.useContext(Ur);let p,y;f&&(o=o||"tablist",i=f.activeKey,p=f.getControlledId,y=f.getControllerId);const _=v.exports.useRef(null),w=h=>{const E=_.current;if(!E)return null;const T=In(E,`[${vf}]:not([aria-disabled=true])`),S=E.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const C=T.indexOf(S);if(C===-1)return null;let k=C+h;return k>=T.length&&(k=0),k<0&&(k=T.length-1),T[k]},N=(h,E)=>{h!=null&&(r==null||r(h,E),d==null||d(h,E))},g=h=>{if(l==null||l(h),!f)return;let E;switch(h.key){case"ArrowLeft":case"ArrowUp":E=w(-1);break;case"ArrowRight":case"ArrowDown":E=w(1);break;default:return}!E||(h.preventDefault(),N(E.dataset[sx("EventKey")]||null,h),c.current=!0,u())};v.exports.useEffect(()=>{if(_.current&&c.current){const h=_.current.querySelector(`[${vf}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=Ml(t,_);return a(Vn.Provider,{value:N,children:a(lc.Provider,{value:{role:o,activeKey:$i(i),getControlledId:p||gf,getControllerId:y||gf},children:a(n,Object.assign({},s,{onKeyDown:g,ref:m,role:o}))})})});Dm.displayName="Nav";const mx=Object.assign(Dm,{Item:bm}),Xn=v.exports.createContext(null);Xn.displayName="NavbarContext";const Lm=v.exports.createContext(null);Lm.displayName="CardHeaderContext";const Im=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Se(t,"nav-item"),a(n,{ref:i,className:ce(e,t),...r})));Im.displayName="NavItem";function gx(){const e=v.exports.useRef(!0),t=v.exports.useRef(()=>e.current);return v.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function vx(e){const t=v.exports.useRef(null);return v.exports.useEffect(()=>{t.current=e}),t.current}const yx=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",_x=typeof document<"u",Ga=_x||yx?v.exports.useLayoutEffect:v.exports.useEffect,xx=["onKeyDown"];function wx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Ex(e){return!e||e.trim()==="#"}const Mm=v.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=wx(e,xx);const[i]=Am(Object.assign({tagName:"a"},r)),o=ft(l=>{i.onKeyDown(l),n==null||n(l)});return Ex(r.href)||r.role==="button"?a("a",Object.assign({ref:t},r,i,{onKeyDown:o})):a("a",Object.assign({ref:t},r,{onKeyDown:n}))});Mm.displayName="Anchor";const $m=v.exports.forwardRef(({bsPrefix:e,className:t,as:n=Mm,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=Se(e,"nav-link");const[u,c]=Om({key:$i(i,l.href),active:r,disabled:o,...l});return a(n,{...l,...u,ref:s,disabled:o,className:ce(t,e,o&&"disabled",c.isActive&&"active")})});$m.displayName="NavLink";const Fm=v.exports.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:i,fill:o=!1,justify:l=!1,navbar:s,navbarScroll:u,className:c,activeKey:d,...f}=Rm(e,{activeKey:"onSelect"}),p=Se(r,"nav");let y,_,w=!1;const N=v.exports.useContext(Xn),g=v.exports.useContext(Lm);return N?(y=N.bsPrefix,w=s==null?!0:s):g&&({cardHeaderBsPrefix:_}=g),a(mx,{as:n,ref:t,activeKey:d,className:ce(c,{[p]:!w,[`${y}-nav`]:w,[`${y}-nav-scroll`]:w&&u,[`${_}-${i}`]:!!_,[`${p}-${i}`]:!!i,[`${p}-fill`]:o,[`${p}-justified`]:l}),...f})});Fm.displayName="Nav";const Lo=Object.assign(Fm,{Item:Im,Link:$m}),Sx="_project_list_dnu4g_1",Cx="_text_break_dnu4g_11",kx="_project_row_dnu4g_19",Nx="_list_title_dnu4g_27",Tx="_selected_projects_list_link_dnu4g_43",go={project_list:Sx,text_break:Cx,project_row:kx,list_title:Nx,selected_projects_list_link:Tx},jm=e=>{const t=pl(e.detail.title.rendered);return a("div",{children:a(U,{className:`${go.project_list}`,children:a(Y,{className:`${go.project_row}`,children:a(Me,{className:`${go.selected_projects_list_link}`,state:e.detail,to:`/Projekte/Projekt/${t}`,children:A("div",{className:"d-flex justify-content-between",children:[a("ul",{className:"mb-0",children:A("li",{className:`${go.text_break}`,children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),a("img",{src:ec,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},Rx=({service:e,isshownid:t})=>{const n=_e(),r=oe(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),a("div",{children:r.data.map(i=>a(jm,{detail:i},i.id))}))},Ax="_service_content_iymvh_11",Px="_service_page_iymvh_23",Ox="_service_btn_iymvh_1",bx="_service_projects_list_title_iymvh_53",Dx="_service_part2_iymvh_79",Lx="_service_paragraph_spacing_iymvh_89",ar={service_content:Ax,service_page:Px,service_btn:Ox,service_projects_list_title:bx,service_part2:Dx,service_paragraph_spacing:Lx},Ix=({serviceinfo:e})=>a("div",{children:a("div",{className:`${ar.service_content}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(e)}})}),Mx=()=>{const t=Mt().state,n=_e(),r=oe(["services","dienstleistungen",""],le),i=oe(["showonservicepage","isshownonserviceinfopage",""],le);if(r.isLoading||i.isLoading)return a(Re,{});(r.isError||i.isError)&&n("/NotMatch404");let o=Y0(i.data,"Ja");const l=t!=null?t:r.data[0].title.rendered;return A("div",{children:[a(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),a(U,{className:`${ar.service_page}`,children:A(ri.Container,{defaultActiveKey:l||r.data[0].title.rendered,children:[A(Y,{children:[a(B,{lg:4,children:a(Lo,{variant:"pills",className:"flex-column",children:r.data.map(s=>a(Lo.Item,{children:a(Lo.Link,{eventKey:s.title.rendered,children:s.title.rendered})},s.id))})}),a(B,{lg:8,children:a(ri.Content,{children:r.data.map(s=>a(ri.Pane,{eventKey:s.title.rendered,children:a("div",{children:a(Ix,{serviceinfo:s.content.rendered})})},s.id))})})]}),A(Y,{className:`${ar.service_paragraph_spacing}`,children:[a(B,{lg:4,children:a("div",{className:`${ar.service_projects_list_title} ${ar.service_paragraph_spacing}`,children:"Ausgew\xE4hlte Projekte"})}),a(B,{lg:8,children:a(ri.Content,{children:r.data.map(s=>a(ri.Pane,{eventKey:s.title.rendered,children:a("div",{className:`${ar.service_paragraph_spacing}`,children:a(Rx,{service:s.acf.service_taxonomy,isshownid:o[0].id})})},s.id))})})]})]})})]})},zm="/bv2024_frontend/assets/unknown.1cd7ed72.png",$x="_staff_pic_container_s7jbx_1",Fx="_pic_s7jbx_23",jx="_staff_pic_s7jbx_1",zx="_staff_pic_caption_1_s7jbx_53",Ux="_staff_pic_text_1_s7jbx_89",Bx="_staff_pic_caption_2_s7jbx_105",Hx="_staff_pic_text_2_s7jbx_149",On={staff_pic_container:$x,pic:Fx,staff_pic:jx,staff_pic_caption_1:zx,staff_pic_text_1:Ux,staff_pic_caption_2:Bx,staff_pic_text_2:Hx},yf=({imgid:e,staffName:t,position:n})=>{var o;const r=_e(),i=oe(["staff_pic","media",e],le);return i.isLoading?a(Re,{}):(i.isError&&r("/NotMatch404"),a("div",{className:`${On.staff_pic_container}`,children:A("div",{className:`${On.staff_pic}`,children:[a("img",{className:`${On.pic}`,src:(o=i.data.source_url)!=null?o:zm,alt:t}),a("div",{className:`${On.staff_pic_caption_1}`,children:a("div",{className:`${On.staff_pic_text_1}`,children:t})}),a("div",{className:`${On.staff_pic_caption_2}`,children:a("div",{className:`${On.staff_pic_text_2}`,children:n})})]})}))},Wx="_about_1rqyk_7",Qx="_funder_row_1rqyk_27",Kx="_funder_col_1rqyk_35",Vx="_funder_info_1rqyk_51",Gx="_staff_left_box_1rqyk_63",qx="_staff_name_1rqyk_81",Yx="_staff_detail_pic_1rqyk_101",Xx="_staff_info_1rqyk_113",Zx="_staff_info_position_higher_1rqyk_137",Jx="_info_line_1rqyk_157",ew="_staff_info_position_lower_1rqyk_167",tw="_staff_detail_left_bottom_element_1rqyk_183",nw="_info_link_1rqyk_193",rw="_back_btn_container_1rqyk_201",iw="_back_btn_1rqyk_201",ow="_back_btn_text_1rqyk_223",lw="_staff_detail_title_1rqyk_265",sw="_section_box_1rqyk_275",aw="_pub_list_1rqyk_337",uw="_publication_list_1rqyk_345",cw="_publication_list_link_1rqyk_353",dw="_staff_row_1rqyk_25",Q={about:Wx,funder_row:Qx,funder_col:Kx,funder_info:Vx,staff_left_box:Gx,staff_name:qx,staff_detail_pic:Yx,staff_info:Xx,staff_info_position_higher:Zx,info_line:Jx,staff_info_position_lower:ew,staff_detail_left_bottom_element:tw,info_link:nw,back_btn_container:rw,back_btn:iw,back_btn_text:ow,staff_detail_title:lw,section_box:sw,pub_list:aw,publication_list:uw,publication_list_link:cw,staff_row:dw},fw=()=>{const e=_e(),t=oe(["staffs","mitarbeitende",""],le),n=oe(["landingIntro","pages/28919",""],le);return t.isLoading||n.isLoading?a(Re,{}):((t.isError||n.isError)&&e("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"\xDCBER UNS"}),a(U,{className:`${Q.about}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(n.data.content.rendered)}}),a(U,{className:"categoryTitle",children:"MITARBEITENDE"}),a(U,{children:a(Y,{className:`${Q.staff_row}`,children:t.data.map(r=>r.title.rendered=="Adrian Vatter"?"":a(B,{xl:4,lg:4,md:6,sm:12,className:"pb-5",children:a(Me,{to:`/Mitarbeitende/${pl(r.title.rendered)}/${r.id}`,children:a(yf,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),a(U,{className:"categoryTitle",children:"VERWALTUNGSRAT"}),a(U,{className:"mb-3",children:a(Y,{className:`${Q.funder_row}`,children:t.data.map(r=>r.title.rendered!="Adrian Vatter"?"":A(Y,{className:"px-0 mx-0",children:[a(B,{lg:4,md:6,className:`${Q.funder_col}`,children:a(Me,{to:`/Mitarbeitende/${pl(r.title.rendered)}/${r.id}`,children:a(yf,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})}),a(B,{lg:8,md:6,className:`my-auto ${Q.about} `,children:a("p",{className:`${Q.funder_info}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(r.content.rendered)}})})]},r.id))})}),a("br",{}),a("br",{})]}))},pw="/bv2024_frontend/assets/linkedIn_logo_s.3c0149f2.png",Um="/bv2024_frontend/assets/arrow-left.08b5c7c9.svg",hw=({staff:e})=>{var i;const t=_e(),n=e.acf.otherInfo.split(`\r
-`),r=oe(["staff_pic","media",e.acf.imgid],le);return r.isLoading?a(Re,{}):(r.isError&&t("/NotMatch404"),A("div",{children:[A("div",{className:`${Q.staff_left_box}`,children:[a("img",{className:`${Q.staff_detail_pic}`,src:(i=r.data.source_url)!=null?i:zm,alt:"staff"}),A("div",{children:[a("div",{className:`${Q.staff_name}`,children:e.title.rendered}),a("div",{className:`${Q.staff_info}`,children:e.acf.position}),a("ul",{className:`${Q.staff_info_position_higher}`,children:n.map((o,l)=>a("ul",{className:`${Q.info_line}`,children:o},l))}),A("div",{className:`${Q.staff_detail_left_bottom_element}`,children:[a("div",{className:`text_color ${Q.staff_info_position_lower} ${Q.info_link}`,children:a("a",{href:`mailto:${e.acf.email}`,children:e.acf.email})}),a("div",{className:`text_color ${Q.staff_info_position_lower} ${Q.info_link}`,children:a("a",{href:`tel:${e.acf.telephone}`,children:e.acf.telephone})}),e.acf.linkedin!=""?a("div",{className:`text_color ${Q.staff_info_position_lower}`,children:a("a",{href:e.acf.linkedin,className:`${Q.info_link}`,children:a("img",{src:pw,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),a("div",{className:`${Q.back_btn_container}`,children:a(Me,{to:"/Mitarbeitende",children:A("button",{className:`${Q.back_btn}`,children:[a("img",{src:Um,alt:"Zur\xFCck zur \xDCbersicht",height:"28px"}),a("span",{className:`${Q.back_btn_text}`,children:"Zur\xFCck zur \xDCbersicht"})]})})})]}),a("br",{})]}))},mw=({person:e})=>{const t=_e(),n=oe(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],le);return n.isLoading?a(Re,{}):(n.isError&&t("/NotMatch404"),a("div",{children:n.data.map(r=>a(jm,{detail:r},r.id))}))},Bm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",gw=({prop:e})=>{const t=_e(),n=oe(["downloads_1",`media/${e.acf.select_file}`,""],le);return n.isLoading?a(Re,{}):(n.isError&&t("/NotMatch404"),a("div",{children:a(U,{className:`${Q.pub_list}`,children:a("ul",{className:`${Q.publication_list}`,children:A("li",{children:[a(Y,{children:a("a",{className:`${Q.publication_list_link}`,href:n.data.source_url,children:A("div",{className:"d-flex justify-content-between",children:[a("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Zt.sanitize(e.title.rendered)}}),a("img",{src:Bm,width:"24px",height:"24px",alt:"herunterladen"})]})})}),a(Y,{children:a("div",{className:"subtitle",dangerouslySetInnerHTML:{__html:Zt.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}))},vw=({publications:e})=>a("div",{children:e.map(t=>a(gw,{prop:t},t.id))}),yw=({staff:e})=>{const t=_e(),n=e.acf.hauptthemen.split(`\r
+*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l{const l=Se(e,"container"),s=typeof t=="string"?`-${t}`:"-fluid";return a(n,{ref:o,...i,className:ce(r,t?`${l}${s}`:l)})});U.displayName="Container";const W0="_spinner_container_1gla4_1",Q0="_html_spinner_1gla4_13",K0="_rotate_1gla4_1",af={spinner_container:W0,html_spinner:Q0,rotate:K0},Re=()=>a(U,{className:`${af.spinner_container}`,children:a("div",{className:`${af.html_spinner}`})}),le=async({queryKey:e})=>{const t=e[1],n=e[2],r=100;let i=[],o=1,l,s;const u="https://wp-vatter.wadaky.li/wp-json/wp/v2";if(n==""&&t=="projekte"){l=await fetch(`${u}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);const c=await l.headers.get("X-WP-Total");for(;Math.floor(c-r*o)>0;)o++,l=await fetch(`${u}/${t}?per_page=${r}&page=${o}`),s=await l.json(),i=i.concat(s);if(!l.ok)throw new Error(`Data of ${t} fetch not ok`);return i}else if(n!=""){if(t=="media"?l=await fetch(`${u}/${t}/${n}`):l=await fetch(`${u}/${t}?per_page=${r}&${n}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}else{if(l=await fetch(`${u}/${t}?per_page=${r}`),!l.ok)throw new Error(`Data of ${t} fetch not ok`);return l.json()}},V0="_news_title_1ntn6_1",G0="_news_date_1ntn6_15",q0="_news_content_1ntn6_27",Cs={news_title:V0,news_date:G0,news_content:q0};function Y0(e,t){return e.filter(r=>r.name==t)}function uf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].topic[0]:null}function cf(e,t){let n=e.filter(r=>r.title.rendered==t);return n.length!=0?n[0].service[0]:null}function fm(e,t){let n=e.filter(r=>r.name==t);return n.length!=0?n[0].id:null}function X0(e){const t=e.split("-"),n=t[2],r=t[1],i=t[0];return[n,r,i].join("/")}function Z0(e,t,n,r,i,o,l){let s=r;if(l&&(s=n),i||o){let u=null,c=null;o&&i?(u=uf(e.data,o),c=cf(t.data,i),s=s.filter(d=>d.topic.includes(u)==!0&&d.service.includes(c)==!0)):o?(u=uf(e.data,o),s=s.filter(d=>d.topic.includes(u)==!0)):i&&(c=cf(t.data,i),s=s.filter(d=>d.service.includes(c)==!0))}return s}function J0(e,t){let n=e,r=fm(t.data,"Ja");return n=n.filter(i=>i.istlaufend.includes(r)==!0),n}function pl(e){const t=/[^a-z0-9éèäöüß]+/g;return e=e.toLowerCase(),e=e.replace(t,"-"),e=e.replace(/éè/g,"e"),e=e.replace(/ä/g,"ae"),e=e.replace(/ö/g,"oe"),e=e.replace(/ü/g,"ue"),e=e.replace(/ß/g,"ss"),e}const ex=()=>{const e=_e(),t=oe(["news","aktuelles",""],le);return t.isLoading?a(Re,{}):(t.isError&&e("/NotMatch404"),a("div",{id:"landing_news",children:t.data.map(n=>A("div",{children:[a("div",{className:`${Cs.news_title}`,children:n.title.rendered}),a("div",{className:`${Cs.news_date}`,children:X0(n.date.slice(0,10))}),a("div",{className:`${Cs.news_content}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(n.content.rendered)}}),a("hr",{})]},n.id))}))},Y=v.exports.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},i)=>{const o=Se(e,"row"),l=cm(),s=dm(),u=`${o}-cols`,c=[];return l.forEach(d=>{const f=r[d];delete r[d];let p;f!=null&&typeof f=="object"?{cols:p}=f:p=f;const y=d!==s?`-${d}`:"";p!=null&&c.push(`${u}${y}-${p}`)}),a(n,{ref:i,...r,className:ce(t,o,...c)})});Y.displayName="Row";function tx({as:e,bsPrefix:t,className:n,...r}){t=Se(t,"col");const i=cm(),o=dm(),l=[],s=[];return i.forEach(u=>{const c=r[u];delete r[u];let d,f,p;typeof c=="object"&&c!=null?{span:d,offset:f,order:p}=c:d=c;const y=u!==o?`-${u}`:"";d&&l.push(d===!0?`${t}${y}`:`${t}${y}-${d}`),p!=null&&s.push(`order${y}-${p}`),f!=null&&s.push(`offset${y}-${f}`)}),[{...r,className:ce(n,...l,...s)},{as:e,bsPrefix:t,spans:l}]}const H=v.exports.forwardRef((e,t)=>{const[{className:n,...r},{as:i="div",bsPrefix:o,spans:l}]=tx(e);return a(i,{...r,ref:t,className:ce(n,!l.length&&o)})});H.displayName="Col";const nx="_pic_container_3mpjs_1",rx="_service_pic_3mpjs_9",ix="_service_pic_caption_3mpjs_53",ks={pic_container:nx,service_pic:rx,service_pic_caption:ix},ox="/bv2024_frontend/assets/forschung.d34ddc45.png",lx=({imgid:e,picName:t})=>{var i;const n=_e(),r=oe(["service_pic","media",e],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),a("div",{className:`${ks.pic_container}`,children:A("div",{className:`${ks.service_pic}`,children:[a("img",{src:(i=r.data.source_url)!=null?i:ox,alt:t,width:"100%"}),a("div",{className:`${ks.service_pic_caption}`,children:a("div",{children:t})})]})}))},sx="_home_service_content_5fwz3_1",ax="_home_service_box_5fwz3_9",ux="_home_service_row_5fwz3_21",Ns={home_service_content:sx,home_service_box:ax,home_service_row:ux},cx=({props:e})=>a(U,{className:`${Ns.home_service_content}`,children:a(Y,{className:`${Ns.home_service_row}`,children:e.data.map(t=>a(H,{xl:4,lg:4,md:6,className:`${Ns.home_service_box}`,children:a($e,{to:"/Dienstleistungen",state:t.title.rendered,children:a(lx,{imgid:t.acf.imgid,picName:t.title.rendered})})},t.id))})}),ec="/bv2024_frontend/assets/arrow-right.876ca64e.svg",dx="_intro_1fo5h_1",fx="_laufend_project_btn_1fo5h_17",px="_laufend_project_btn_text_1fo5h_35",Ts={intro:dx,laufend_project_btn:fx,laufend_project_btn_text:px},hx=()=>{const e=_e(),t=oe(["services","dienstleistungen",""],le),n=oe(["landingIntro","pages/28911",""],le);return t.isLoading||n.isLoading?a(Re,{}):((t.isError||n.isError)&&e("/NotMatch404"),A("div",{children:[a(U,{className:`${Ts.intro}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(n.data.content.rendered)}}),a(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),a(U,{children:a(cx,{props:t})}),a(U,{className:"categoryTitle",children:"AKTUELLES"}),a(U,{children:a(ex,{})}),a(U,{className:"text-end",children:a($e,{to:"/Projekte/laufend",children:A("button",{className:`${Ts.laufend_project_btn}`,children:[a("span",{className:`${Ts.laufend_project_btn_text}`,children:"Laufende Projekte"}),a("img",{src:ec,alt:"Laufende Projekte",height:"28px"})]})})})]}))};var Et={exports:{}},mx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",gx=mx,vx=gx;function pm(){}function hm(){}hm.resetWarningCache=pm;var yx=function(){function e(r,i,o,l,s,u){if(u!==vx){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hm,resetWarningCache:pm};return n.PropTypes=n,n};Et.exports=yx();function _x(e,t,n){const r=v.exports.useRef(e!==void 0),[i,o]=v.exports.useState(t),l=e!==void 0,s=r.current;return r.current=l,!l&&s&&i!==t&&o(t),[l?e:i,v.exports.useCallback((...u)=>{const[c,...d]=u;let f=n==null?void 0:n(c,...d);return o(c),f},[n])]}const hl={prefix:String(Math.round(Math.random()*1e10)),current:0},mm=Ie.createContext(hl),xx=Ie.createContext(!1);let wx=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Rs=new WeakMap;function Ex(e=!1){let t=v.exports.useContext(mm),n=v.exports.useRef(null);if(n.current===null&&!e){var r,i;let o=(i=Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(o){let l=Rs.get(o);l==null?Rs.set(o,{id:t.current,state:o.memoizedState}):o.memoizedState!==l.state&&(t.current=l.id,Rs.delete(o))}n.current=++t.current}return n.current}function Sx(e){let t=v.exports.useContext(mm);t===hl&&!wx&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=Ex(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function Cx(e){let t=Ie.useId(),[n]=v.exports.useState(Ax()),r=n?"react-aria":`react-aria${hl.prefix}`;return e||`${r}-${t}`}const kx=typeof Ie.useId=="function"?Cx:Sx;function Nx(){return!1}function Tx(){return!0}function Rx(e){return()=>{}}function Ax(){return typeof Ie.useSyncExternalStore=="function"?Ie.useSyncExternalStore(Rx,Nx,Tx):v.exports.useContext(xx)}const Ur=v.exports.createContext(null),Vn=v.exports.createContext(null),Mi=(e,t=null)=>e!=null?String(e):t||null;function Px(e){const t=v.exports.useRef(e);return v.exports.useEffect(()=>{t.current=e},[e]),t}function ft(e){const t=Px(e);return v.exports.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const df=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Ox(e,t){const n=df(e),r=df(t);return i=>{n&&n(i),r&&r(i)}}function $l(e,t){return v.exports.useMemo(()=>Ox(e,t),[e,t])}function tc({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=v.exports.useRef(null),l=v.exports.useRef(t),s=ft(n);v.exports.useEffect(()=>{t?l.current=!0:s(o.current)},[t,s]);const u=$l(o,e.ref),c=v.exports.cloneElement(e,{ref:u});return t?c:i||!l.current&&r?null:c}const bx=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Dx=["activeKey","getControlledId","getControllerId"],Lx=["as"];function Ba(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function gm(e){let{active:t,eventKey:n,mountOnEnter:r,transition:i,unmountOnExit:o,role:l="tabpanel",onEnter:s,onEntering:u,onEntered:c,onExit:d,onExiting:f,onExited:p}=e,y=Ba(e,bx);const _=v.exports.useContext(Ur);if(!_)return[Object.assign({},y,{role:l}),{eventKey:n,isActive:t,mountOnEnter:r,transition:i,unmountOnExit:o,onEnter:s,onEntering:u,onEntered:c,onExit:d,onExiting:f,onExited:p}];const{activeKey:w,getControlledId:N,getControllerId:g}=_,m=Ba(_,Dx),h=Mi(n);return[Object.assign({},y,{role:l,id:N(n),"aria-labelledby":g(n)}),{eventKey:n,isActive:t==null&&h!=null?Mi(w)===h:t,transition:i||m.transition,mountOnEnter:r!=null?r:m.mountOnEnter,unmountOnExit:o!=null?o:m.unmountOnExit,onEnter:s,onEntering:u,onEntered:c,onExit:d,onExiting:f,onExited:p}]}const vm=v.exports.forwardRef((e,t)=>{let{as:n="div"}=e,r=Ba(e,Lx);const[i,{isActive:o,onEnter:l,onEntering:s,onEntered:u,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,transition:_=tc}]=gm(r);return a(Ur.Provider,{value:null,children:a(Vn.Provider,{value:null,children:a(_,{in:o,onEnter:l,onEntering:s,onEntered:u,onExit:c,onExiting:d,onExited:f,mountOnEnter:p,unmountOnExit:y,children:a(n,Object.assign({},i,{ref:t,hidden:!o,"aria-hidden":!o}))})})})});vm.displayName="TabPanel";const ym=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:i,defaultActiveKey:o,transition:l,mountOnEnter:s,unmountOnExit:u,children:c}=e,[d,f]=_x(i,o,r),p=kx(t),y=v.exports.useMemo(()=>n||((w,N)=>p?`${p}-${N}-${w}`:null),[p,n]),_=v.exports.useMemo(()=>({onSelect:f,activeKey:d,transition:l,mountOnEnter:s||!1,unmountOnExit:u||!1,getControlledId:w=>y(w,"tabpane"),getControllerId:w=>y(w,"tab")}),[f,d,l,s,u,y]);return a(Ur.Provider,{value:_,children:a(Vn.Provider,{value:f||null,children:c})})};ym.Panel=vm;function _m(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Ha(e,t){return Ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ha(e,t)}function Ix(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ha(e,t)}const ff={disabled:!1},xm=Ie.createContext(null);var $x=function(t){return t.scrollTop},ui="unmounted",sn="exited",Ct="entering",Ht="entered",Fi="exiting",en=function(e){Ix(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var l=i,s=l&&!l.isMounting?r.enter:r.appear,u;return o.appearStatus=null,r.in?s?(u=sn,o.appearStatus=Ct):u=Ht:r.unmountOnExit||r.mountOnEnter?u=ui:u=sn,o.state={status:u},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===ui?{status:sn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==Ct&&l!==Ht&&(o=Ct):(l===Ct||l===Ht)&&(o=Fi)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,l,s;return o=l=s=i,i!=null&&typeof i!="number"&&(o=i.exit,l=i.enter,s=i.appear!==void 0?i.appear:l),{exit:o,enter:l,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Ct){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this);l&&$x(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===sn&&this.setState({status:ui})},n.performEnter=function(i){var o=this,l=this.props.enter,s=this.context?this.context.isMounting:i,u=this.props.nodeRef?[s]:[wr.findDOMNode(this),s],c=u[0],d=u[1],f=this.getTimeouts(),p=s?f.appear:f.enter;if(!i&&!l||ff.disabled){this.safeSetState({status:Ht},function(){o.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Ct},function(){o.props.onEntering(c,d),o.onTransitionEnd(p,function(){o.safeSetState({status:Ht},function(){o.props.onEntered(c,d)})})})},n.performExit=function(){var i=this,o=this.props.exit,l=this.getTimeouts(),s=this.props.nodeRef?void 0:wr.findDOMNode(this);if(!o||ff.disabled){this.safeSetState({status:sn},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Fi},function(){i.props.onExiting(s),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:sn},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,l=!0;return this.nextCallback=function(s){l&&(l=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var l=this.props.nodeRef?this.props.nodeRef.current:wr.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!l||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],c=u[0],d=u[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===ui)return null;var o=this.props,l=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=_m(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a(xm.Provider,{value:null,children:typeof l=="function"?l(i,s):Ie.cloneElement(Ie.Children.only(l),s)})},t}(Ie.Component);en.contextType=xm;en.propTypes={};function lr(){}en.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:lr,onEntering:lr,onEntered:lr,onExit:lr,onExiting:lr,onExited:lr};en.UNMOUNTED=ui;en.EXITED=sn;en.ENTERING=Ct;en.ENTERED=Ht;en.EXITING=Fi;function nc(e){return e&&e.ownerDocument||document}function Mx(e){var t=nc(e);return t&&t.defaultView||window}function Fx(e,t){return Mx(e).getComputedStyle(e,t)}var jx=/([A-Z])/g;function zx(e){return e.replace(jx,"-$1").toLowerCase()}var Ux=/^ms-/;function mo(e){return zx(e).replace(Ux,"-ms-")}var Bx=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Hx(e){return!!(e&&Bx.test(e))}function Vt(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(mo(t))||Fx(e).getPropertyValue(mo(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(mo(i)):Hx(i)?r+=i+"("+o+") ":n+=mo(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}const Ml=!!(typeof window<"u"&&window.document&&window.document.createElement);var Wa=!1,Qa=!1;try{var As={get passive(){return Wa=!0},get once(){return Qa=Wa=!0}};Ml&&(window.addEventListener("test",As,As),window.removeEventListener("test",As,!0))}catch{}function Wx(e,t,n,r){if(r&&typeof r!="boolean"&&!Qa){var i=r.once,o=r.capture,l=n;!Qa&&i&&(l=n.__once||function s(u){this.removeEventListener(t,s,o),n.call(this,u)},n.__once=l),e.addEventListener(t,l,Wa?r:o)}e.addEventListener(t,n,r)}function Qx(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}function ml(e,t,n,r){return Wx(e,t,n,r),function(){Qx(e,t,n,r)}}function Kx(e,t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function Vx(e){var t=Vt(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function Gx(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||Kx(e,"transitionend",!0)},t+n),o=ml(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function qx(e,t,n,r){n==null&&(n=Vx(e)||0);var i=Gx(e,n,r),o=ml(e,"transitionend",t);return function(){i(),o()}}function pf(e,t){const n=Vt(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function rc(e,t){const n=pf(e,"transitionDuration"),r=pf(e,"transitionDelay"),i=qx(e,o=>{o.target===e&&(i(),t(o))},n+r)}function wm(e){e.offsetHeight}function Yx(e){return e&&"setState"in e?wr.findDOMNode(e):e!=null?e:null}const Xx=Ie.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:l,children:s,childRef:u,...c},d)=>{const f=v.exports.useRef(null),p=$l(f,u),y=S=>{p(Yx(S))},_=S=>C=>{S&&f.current&&S(f.current,C)},w=v.exports.useCallback(_(e),[e]),N=v.exports.useCallback(_(t),[t]),g=v.exports.useCallback(_(n),[n]),m=v.exports.useCallback(_(r),[r]),h=v.exports.useCallback(_(i),[i]),E=v.exports.useCallback(_(o),[o]),T=v.exports.useCallback(_(l),[l]);return a(en,{ref:d,...c,onEnter:w,onEntered:g,onEntering:N,onExit:m,onExited:E,onExiting:h,addEndListener:T,nodeRef:f,children:typeof s=="function"?(S,C)=>s(S,{...C,ref:y}):Ie.cloneElement(s,{ref:y})})}),ic=Xx,Zx={[Ct]:"show",[Ht]:"show"},Em=v.exports.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},s=v.exports.useCallback((u,c)=>{wm(u),r==null||r(u,c)},[r]);return a(ic,{ref:o,addEndListener:rc,...l,onEnter:s,childRef:t.ref,children:(u,c)=>v.exports.cloneElement(t,{...c,className:ce("fade",e,t.props.className,Zx[u],n[u])})})});Em.displayName="Fade";const oc=Em;function Sm(e){return typeof e=="boolean"?e?oc:tc:e}const Cm=({transition:e,...t})=>a(ym,{...t,transition:Sm(e)});Cm.displayName="TabContainer";const km=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Se(t,"tab-content"),a(n,{ref:i,className:ce(e,t),...r})));km.displayName="TabContent";const Nm=v.exports.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:o="div",...l},{isActive:s,onEnter:u,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:_,unmountOnExit:w,transition:N=oc}]=gm({...n,transition:Sm(t)}),g=Se(e,"tab-pane");return a(Ur.Provider,{value:null,children:a(Vn.Provider,{value:null,children:a(N,{in:s,onEnter:u,onEntering:c,onEntered:d,onExit:f,onExiting:p,onExited:y,mountOnEnter:_,unmountOnExit:w,children:a(o,{...l,ref:r,className:ce(i,g,s&&"active")})})})})});Nm.displayName="TabPane";const Jx={eventKey:Et.exports.oneOfType([Et.exports.string,Et.exports.number]),title:Et.exports.node.isRequired,disabled:Et.exports.bool,tabClassName:Et.exports.string,tabAttrs:Et.exports.object},Tm=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};Tm.propTypes=Jx;const ri=Object.assign(Tm,{Container:Cm,Content:km,Pane:Nm});var hf={exports:{}},Ka={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r){function i(l,s,u,c,d,f){var p=c||"<>",y=f||u;if(s[u]==null)return l?new Error("Required "+d+" `"+y+"` was not specified "+("in `"+p+"`.")):null;for(var _=arguments.length,w=Array(_>6?_-6:0),N=6;N<_;N++)w[N-6]=arguments[N];return r.apply(void 0,[s,u,p,d,y].concat(w))}var o=i.bind(null,!1);return o.isRequired=i.bind(null,!0),o}e.exports=t.default})(Ka,Ka.exports);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=Ka.exports,r=i(n);function i(l){return l&&l.__esModule?l:{default:l}}function o(){for(var l=arguments.length,s=Array(l),u=0;u1?d-1:0),p=1;p!t,!1);return e}const lc=v.exports.createContext(null);lc.displayName="NavContext";const o1="data-rr-ui-",l1="rrUi";function Fl(e){return`${o1}${e}`}function s1(e){return`${l1}${e}`}const a1=["as","disabled"];function u1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function c1(e){return!e||e.trim()==="#"}function Am({tagName:e,disabled:t,href:n,target:r,rel:i,role:o,onClick:l,tabIndex:s=0,type:u}){e||(n!=null||r!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:u||"button",disabled:t},c];const d=p=>{if((t||e==="a"&&c1(n))&&p.preventDefault(),t){p.stopPropagation();return}l==null||l(p)},f=p=>{p.key===" "&&(p.preventDefault(),d(p))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:o!=null?o:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:e==="a"?r:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:f},c]}const Pm=v.exports.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=u1(e,a1);const[o,{tagName:l}]=Am(Object.assign({tagName:n,disabled:r},i));return a(l,Object.assign({},i,o,{ref:t}))});Pm.displayName="Button";const d1=["as","active","eventKey"];function f1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Om({key:e,onClick:t,active:n,id:r,role:i,disabled:o}){const l=v.exports.useContext(Vn),s=v.exports.useContext(lc),u=v.exports.useContext(Ur);let c=n;const d={role:i};if(s){!i&&s.role==="tablist"&&(d.role="tab");const f=s.getControllerId(e!=null?e:null),p=s.getControlledId(e!=null?e:null);d[Fl("event-key")]=e,d.id=f||r,c=n==null&&e!=null?s.activeKey===e:n,(c||!(u!=null&&u.unmountOnExit)&&!(u!=null&&u.mountOnEnter))&&(d["aria-controls"]=p)}return d.role==="tab"&&(d["aria-selected"]=c,c||(d.tabIndex=-1),o&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=ft(f=>{o||(t==null||t(f),e!=null&&l&&!f.isPropagationStopped()&&l(e,f))}),[d,{isActive:c}]}const bm=v.exports.forwardRef((e,t)=>{let{as:n=Pm,active:r,eventKey:i}=e,o=f1(e,d1);const[l,s]=Om(Object.assign({key:Mi(i,o.href),active:r},o));return l[Fl("active")]=s.isActive,a(n,Object.assign({},o,l,{ref:t}))});bm.displayName="NavItem";const p1=["as","onSelect","activeKey","role","onKeyDown"];function h1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}const gf=()=>{},vf=Fl("event-key"),Dm=v.exports.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:i,role:o,onKeyDown:l}=e,s=h1(e,p1);const u=i1(),c=v.exports.useRef(!1),d=v.exports.useContext(Vn),f=v.exports.useContext(Ur);let p,y;f&&(o=o||"tablist",i=f.activeKey,p=f.getControlledId,y=f.getControllerId);const _=v.exports.useRef(null),w=h=>{const E=_.current;if(!E)return null;const T=In(E,`[${vf}]:not([aria-disabled=true])`),S=E.querySelector("[aria-selected=true]");if(!S||S!==document.activeElement)return null;const C=T.indexOf(S);if(C===-1)return null;let k=C+h;return k>=T.length&&(k=0),k<0&&(k=T.length-1),T[k]},N=(h,E)=>{h!=null&&(r==null||r(h,E),d==null||d(h,E))},g=h=>{if(l==null||l(h),!f)return;let E;switch(h.key){case"ArrowLeft":case"ArrowUp":E=w(-1);break;case"ArrowRight":case"ArrowDown":E=w(1);break;default:return}!E||(h.preventDefault(),N(E.dataset[s1("EventKey")]||null,h),c.current=!0,u())};v.exports.useEffect(()=>{if(_.current&&c.current){const h=_.current.querySelector(`[${vf}][aria-selected=true]`);h==null||h.focus()}c.current=!1});const m=$l(t,_);return a(Vn.Provider,{value:N,children:a(lc.Provider,{value:{role:o,activeKey:Mi(i),getControlledId:p||gf,getControllerId:y||gf},children:a(n,Object.assign({},s,{onKeyDown:g,ref:m,role:o}))})})});Dm.displayName="Nav";const m1=Object.assign(Dm,{Item:bm}),Xn=v.exports.createContext(null);Xn.displayName="NavbarContext";const Lm=v.exports.createContext(null);Lm.displayName="CardHeaderContext";const Im=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Se(t,"nav-item"),a(n,{ref:i,className:ce(e,t),...r})));Im.displayName="NavItem";function g1(){const e=v.exports.useRef(!0),t=v.exports.useRef(()=>e.current);return v.exports.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function v1(e){const t=v.exports.useRef(null);return v.exports.useEffect(()=>{t.current=e}),t.current}const y1=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",_1=typeof document<"u",Ga=_1||y1?v.exports.useLayoutEffect:v.exports.useEffect,x1=["onKeyDown"];function w1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function E1(e){return!e||e.trim()==="#"}const $m=v.exports.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=w1(e,x1);const[i]=Am(Object.assign({tagName:"a"},r)),o=ft(l=>{i.onKeyDown(l),n==null||n(l)});return E1(r.href)||r.role==="button"?a("a",Object.assign({ref:t},r,i,{onKeyDown:o})):a("a",Object.assign({ref:t},r,{onKeyDown:n}))});$m.displayName="Anchor";const Mm=v.exports.forwardRef(({bsPrefix:e,className:t,as:n=$m,active:r,eventKey:i,disabled:o=!1,...l},s)=>{e=Se(e,"nav-link");const[u,c]=Om({key:Mi(i,l.href),active:r,disabled:o,...l});return a(n,{...l,...u,ref:s,disabled:o,className:ce(t,e,o&&"disabled",c.isActive&&"active")})});Mm.displayName="NavLink";const Fm=v.exports.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:i,fill:o=!1,justify:l=!1,navbar:s,navbarScroll:u,className:c,activeKey:d,...f}=Rm(e,{activeKey:"onSelect"}),p=Se(r,"nav");let y,_,w=!1;const N=v.exports.useContext(Xn),g=v.exports.useContext(Lm);return N?(y=N.bsPrefix,w=s==null?!0:s):g&&({cardHeaderBsPrefix:_}=g),a(m1,{as:n,ref:t,activeKey:d,className:ce(c,{[p]:!w,[`${y}-nav`]:w,[`${y}-nav-scroll`]:w&&u,[`${_}-${i}`]:!!_,[`${p}-${i}`]:!!i,[`${p}-fill`]:o,[`${p}-justified`]:l}),...f})});Fm.displayName="Nav";const Lo=Object.assign(Fm,{Item:Im,Link:Mm}),S1="_project_list_dnu4g_1",C1="_text_break_dnu4g_11",k1="_project_row_dnu4g_19",N1="_list_title_dnu4g_27",T1="_selected_projects_list_link_dnu4g_43",go={project_list:S1,text_break:C1,project_row:k1,list_title:N1,selected_projects_list_link:T1},jm=e=>{const t=pl(e.detail.title.rendered);return a("div",{children:a(U,{className:`${go.project_list}`,children:a(Y,{className:`${go.project_row}`,children:a($e,{className:`${go.selected_projects_list_link}`,state:e.detail,to:`/Projekte/Projekt/${t}`,children:A("div",{className:"d-flex justify-content-between",children:[a("ul",{className:"mb-0",children:A("li",{className:`${go.text_break}`,children:[e.detail.title.rendered," (",e.detail.acf.Jahr,")"]})}),a("img",{src:ec,width:"24px",height:"24px",alt:"arrowright"})]})})})})})},R1=({service:e,isshownid:t})=>{const n=_e(),r=oe(["projects_show_on_service_page","projekte",`isshownonserviceinfopage=${t}&service=${e}`],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),a("div",{children:r.data.map(i=>a(jm,{detail:i},i.id))}))},A1="_service_content_iymvh_11",P1="_service_page_iymvh_23",O1="_service_btn_iymvh_1",b1="_service_projects_list_title_iymvh_53",D1="_service_part2_iymvh_79",L1="_service_paragraph_spacing_iymvh_89",ar={service_content:A1,service_page:P1,service_btn:O1,service_projects_list_title:b1,service_part2:D1,service_paragraph_spacing:L1},I1=({serviceinfo:e})=>a("div",{children:a("div",{className:`${ar.service_content}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(e)}})}),$1=()=>{const t=$t().state,n=_e(),r=oe(["services","dienstleistungen",""],le),i=oe(["showonservicepage","isshownonserviceinfopage",""],le);if(r.isLoading||i.isLoading)return a(Re,{});(r.isError||i.isError)&&n("/NotMatch404");let o=Y0(i.data,"Ja");const l=t!=null?t:r.data[0].title.rendered;return A("div",{children:[a(U,{className:"categoryTitle",children:"DIENSTLEISTUNGEN"}),a(U,{className:`${ar.service_page}`,children:A(ri.Container,{defaultActiveKey:l||r.data[0].title.rendered,children:[A(Y,{children:[a(H,{lg:4,children:a(Lo,{variant:"pills",className:"flex-column",children:r.data.map(s=>a(Lo.Item,{children:a(Lo.Link,{eventKey:s.title.rendered,children:s.title.rendered})},s.id))})}),a(H,{lg:8,children:a(ri.Content,{children:r.data.map(s=>a(ri.Pane,{eventKey:s.title.rendered,children:a("div",{children:a(I1,{serviceinfo:s.content.rendered})})},s.id))})})]}),A(Y,{className:`${ar.service_paragraph_spacing}`,children:[a(H,{lg:4,children:a("div",{className:`${ar.service_projects_list_title} ${ar.service_paragraph_spacing}`,children:"Ausgew\xE4hlte Projekte"})}),a(H,{lg:8,children:a(ri.Content,{children:r.data.map(s=>a(ri.Pane,{eventKey:s.title.rendered,children:a("div",{className:`${ar.service_paragraph_spacing}`,children:a(R1,{service:s.acf.service_taxonomy,isshownid:o[0].id})})},s.id))})})]})]})})]})},zm="/bv2024_frontend/assets/unknown.1cd7ed72.png",M1="_staff_pic_container_s7jbx_1",F1="_pic_s7jbx_23",j1="_staff_pic_s7jbx_1",z1="_staff_pic_caption_1_s7jbx_53",U1="_staff_pic_text_1_s7jbx_89",B1="_staff_pic_caption_2_s7jbx_105",H1="_staff_pic_text_2_s7jbx_149",On={staff_pic_container:M1,pic:F1,staff_pic:j1,staff_pic_caption_1:z1,staff_pic_text_1:U1,staff_pic_caption_2:B1,staff_pic_text_2:H1},yf=({imgid:e,staffName:t,position:n})=>{var o;const r=_e(),i=oe(["staff_pic","media",e],le);return i.isLoading?a(Re,{}):(i.isError&&r("/NotMatch404"),a("div",{className:`${On.staff_pic_container}`,children:A("div",{className:`${On.staff_pic}`,children:[a("img",{className:`${On.pic}`,src:(o=i.data.source_url)!=null?o:zm,alt:t}),a("div",{className:`${On.staff_pic_caption_1}`,children:a("div",{className:`${On.staff_pic_text_1}`,children:t})}),a("div",{className:`${On.staff_pic_caption_2}`,children:a("div",{className:`${On.staff_pic_text_2}`,children:n})})]})}))},W1="_about_1rqyk_7",Q1="_funder_row_1rqyk_27",K1="_funder_col_1rqyk_35",V1="_funder_info_1rqyk_51",G1="_staff_left_box_1rqyk_63",q1="_staff_name_1rqyk_81",Y1="_staff_detail_pic_1rqyk_101",X1="_staff_info_1rqyk_113",Z1="_staff_info_position_higher_1rqyk_137",J1="_info_line_1rqyk_157",ew="_staff_info_position_lower_1rqyk_167",tw="_staff_detail_left_bottom_element_1rqyk_183",nw="_info_link_1rqyk_193",rw="_back_btn_container_1rqyk_201",iw="_back_btn_1rqyk_201",ow="_back_btn_text_1rqyk_223",lw="_staff_detail_title_1rqyk_265",sw="_section_box_1rqyk_275",aw="_pub_list_1rqyk_337",uw="_publication_list_1rqyk_345",cw="_publication_list_link_1rqyk_353",dw="_staff_row_1rqyk_25",K={about:W1,funder_row:Q1,funder_col:K1,funder_info:V1,staff_left_box:G1,staff_name:q1,staff_detail_pic:Y1,staff_info:X1,staff_info_position_higher:Z1,info_line:J1,staff_info_position_lower:ew,staff_detail_left_bottom_element:tw,info_link:nw,back_btn_container:rw,back_btn:iw,back_btn_text:ow,staff_detail_title:lw,section_box:sw,pub_list:aw,publication_list:uw,publication_list_link:cw,staff_row:dw},fw=()=>{const e=_e(),t=oe(["staffs","mitarbeitende",""],le),n=oe(["landingIntro","pages/28919",""],le);return t.isLoading||n.isLoading?a(Re,{}):((t.isError||n.isError)&&e("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"\xDCBER UNS"}),a(U,{className:`${K.about}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(n.data.content.rendered)}}),a(U,{className:"categoryTitle",children:"MITARBEITENDE"}),a(U,{children:a(Y,{className:`${K.staff_row}`,children:t.data.map(r=>r.title.rendered=="Adrian Vatter"?"":a(H,{xl:4,lg:4,md:6,sm:12,className:"pb-5",children:a($e,{to:`/Mitarbeitende/${pl(r.title.rendered)}/${r.id}`,children:a(yf,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})},r.id))})}),a(U,{className:"categoryTitle",children:"VERWALTUNGSRAT"}),a(U,{className:"mb-3",children:a(Y,{className:`${K.funder_row}`,children:t.data.map(r=>r.title.rendered!="Adrian Vatter"?"":A(Y,{className:"px-0 mx-0",children:[a(H,{lg:4,md:6,className:`${K.funder_col}`,children:a($e,{to:`/Mitarbeitende/${pl(r.title.rendered)}/${r.id}`,children:a(yf,{imgid:r.acf.imgid,staffName:r.title.rendered,position:r.acf.position,id:r.title.rendered})})}),a(H,{lg:8,md:6,className:`my-auto ${K.about} `,children:a("p",{className:`${K.funder_info}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(r.content.rendered)}})})]},r.id))})}),a("br",{}),a("br",{})]}))},pw="/bv2024_frontend/assets/linkedIn_logo_s.3c0149f2.png",Um="/bv2024_frontend/assets/arrow-left.08b5c7c9.svg",hw=({staff:e})=>{var i;const t=_e(),n=e.acf.otherInfo.split(`\r
+`),r=oe(["staff_pic","media",e.acf.imgid],le);return r.isLoading?a(Re,{}):(r.isError&&t("/NotMatch404"),A("div",{children:[A("div",{className:`${K.staff_left_box}`,children:[a("img",{className:`${K.staff_detail_pic}`,src:(i=r.data.source_url)!=null?i:zm,alt:"staff"}),A("div",{children:[a("div",{className:`${K.staff_name}`,children:e.title.rendered}),a("div",{className:`${K.staff_info}`,children:e.acf.position}),a("ul",{className:`${K.staff_info_position_higher}`,children:n.map((o,l)=>a("ul",{className:`${K.info_line}`,children:o},l))}),A("div",{className:`${K.staff_detail_left_bottom_element}`,children:[a("div",{className:`text_color ${K.staff_info_position_lower} ${K.info_link}`,children:a("a",{href:`mailto:${e.acf.email}`,children:e.acf.email})}),a("div",{className:`text_color ${K.staff_info_position_lower} ${K.info_link}`,children:a("a",{href:`tel:${e.acf.telephone}`,children:e.acf.telephone})}),e.acf.linkedin!=""?a("div",{className:`text_color ${K.staff_info_position_lower}`,children:a("a",{href:e.acf.linkedin,className:`${K.info_link}`,children:a("img",{src:pw,width:"31px",height:"25.92px",alt:"LinkedIn",className:"symbols_small"})})}):null]})]}),a("div",{className:`${K.back_btn_container}`,children:a($e,{to:"/Mitarbeitende",children:A("button",{className:`${K.back_btn}`,children:[a("img",{src:Um,alt:"Zur\xFCck zur \xDCbersicht",height:"28px"}),a("span",{className:`${K.back_btn_text}`,children:"Zur\xFCck zur \xDCbersicht"})]})})})]}),a("br",{})]}))},mw=({person:e})=>{const t=_e(),n=oe(["selectedprojects","projekte",`isshownonstaffdetailpage=${e}`],le);return n.isLoading?a(Re,{}):(n.isError&&t("/NotMatch404"),a("div",{children:n.data.map(r=>a(jm,{detail:r},r.id))}))},Bm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACvSURBVHgB7ZThDYMgEIW/Nh2EjtJN3KSruAlsUjaxXoWW2qOC0T/qSy4mcryPgwPYlRw8JCqmcKFOhkqdWVkHYAeAbJvaoSWbPtob+Lk57wrc7yVqTnDvw1ql/+WfjElOgKg+6RYZvo1ahlWZMSSah3wfclWf7BlIyd3r84HEsdRccnLb8xegQUarnDSfBCiQqCLzIoACKTYXFb+mwfBKpTZ4kx10LKi0As9y8mxGT4/sPM4DdGUWAAAAAElFTkSuQmCC",gw=({prop:e})=>{const t=_e(),n=oe(["downloads_1",`media/${e.acf.select_file}`,""],le);return n.isLoading?a(Re,{}):(n.isError&&t("/NotMatch404"),a("div",{children:a(U,{className:`${K.pub_list}`,children:a("ul",{className:`${K.publication_list}`,children:A("li",{children:[a(Y,{children:a("a",{className:`${K.publication_list_link}`,href:n.data.source_url,children:A("div",{className:"d-flex justify-content-between",children:[a("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Zt.sanitize(e.title.rendered)}}),a("img",{src:Bm,width:"24px",height:"24px",alt:"herunterladen"})]})})}),a(Y,{children:a("div",{className:"subtitle",dangerouslySetInnerHTML:{__html:Zt.sanitize(`${e.acf.herausgeber} - ${e.acf.zeitraum}`)}})})]})})})}))},vw=({publications:e})=>a("div",{children:e.map(t=>a(gw,{prop:t},t.id))}),yw=({staff:e})=>{const t=_e(),n=e.acf.hauptthemen.split(`\r
`),r=e.acf.mitgliedschaften.split(`\r
-`),i=oe(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],le);return i.isLoading?a(Re,{}):(i.isError&&t("/NotMatch404"),A("div",{children:[e.acf.ausbildung!=""?A("div",{className:`${Q.section_box}`,children:[a("h2",{className:`${Q.staff_detail_title}`,children:"Ausbildung"}),e.acf.ausbildung,a("hr",{})]}):null,n!=""?A("div",{className:`${Q.section_box}`,children:[a("h2",{className:`${Q.staff_detail_title}`,children:"Hauptthemen"}),a("ul",{children:n.map((o,l)=>a("li",{children:o},l))}),a("hr",{})]}):null,e.acf.selected_projects!=""?A("div",{className:`${Q.section_box}`,children:[a("h2",{className:`${Q.staff_detail_title}`,children:"Ausgew\xE4hlte Projekte"}),a(mw,{person:e.acf.mitarbeitende_taxonomy}),a("hr",{})]}):null,e.acf.publikationen!=""?A("div",{className:`${Q.section_box}`,children:[a("h2",{className:`${Q.staff_detail_title}`,children:"Publikationen"}),a(vw,{publications:i.data}),a("hr",{})]}):null,r!=""?A("div",{className:`${Q.section_box}`,children:[a("h2",{className:`${Q.staff_detail_title}`,children:"Mitgliedschaften"}),a("ul",{children:r.map((o,l)=>a("li",{children:o},l))}),a("hr",{})]}):null,a("br",{})]}))},_w=()=>{const{name:e,id:t}=Wh(),n=_e(),r=oe(["staffdetails",`mitarbeitende/${t}`,""],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"MITARBEITENDE"}),a(U,{children:A(Y,{children:[a(B,{lg:4,md:5,children:a(hw,{staff:r.data})}),a(B,{lg:8,md:7,xs:12,children:a(yw,{staff:r.data})})]})})]}))},xw="_topic_pic_Container_izck8_1",ww="_topic_pic_izck8_1",Ew="_topic_pic_caption_izck8_37",Sw="_topic_pic_text_izck8_73",vo={topic_pic_Container:xw,topic_pic:ww,topic_pic_caption:Ew,topic_pic_text:Sw},Cw="/bv2024_frontend/assets/gesundheit.f3fba710.png",kw=({imgid:e,picName:t})=>{var i;const n=_e(),r=oe(["topic_pic","media",e],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),a("div",{className:`${vo.topic_pic_Container}`,children:A("div",{className:`${vo.topic_pic}`,children:[a("img",{src:(i=r.data.source_url)!=null?i:Cw,alt:t}),a("div",{className:`${vo.topic_pic_caption}`,children:a("div",{className:`${vo.topic_pic_text}`,children:t})})]})}))},Nw="_topic_row_1nhuy_1",Tw="_topics_content_1nhuy_11",Rw="_topic_box_1nhuy_19",Ps={topic_row:Nw,topics_content:Tw,topic_box:Rw},Aw=()=>{const e=_e(),t=oe(["alltopics","themen",""],le);return t.isLoading?a(Re,{}):(t.isError&&e("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"THEMEN"}),a(U,{className:`${Ps.topics_content}`,children:a(Y,{className:`${Ps.topic_row}`,children:t.data.map(n=>a(B,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:`${Ps.topic_box}`,children:a(Me,{to:`/Projekte?${ul({Themen:n.title.rendered})}`,children:a(kw,{imgid:n.acf.imgid,picName:n.title.rendered})})},n.id))})})]}))},Pw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",Ow="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",bw="_container_6aiep_1",Dw="_withbtn_6aiep_23",Lw="_hr_6aiep_33",Iw="_reset_btn_6aiep_43",Mw="_reset_btn_text_6aiep_55",$w="_show_6aiep_81",Fw="_back_to_project_btn_6aiep_89",jw="_back_to_project_btn_text_6aiep_99",zw="_page_num_color_6aiep_125",Uw="_page_number_row_6aiep_133",Bw="_pageBtn_6aiep_143",Hw="_selected_6aiep_161",Ww="_arrowBtn_6aiep_173",Qw="_pageline_6aiep_199",Kw="_curPageNum_6aiep_217",Vw="_arrow_btn_pic_6aiep_231",Gw="_back_btn_projectdetail_6aiep_239",qw="_left_side_6aiep_257",Yw="_search_label_6aiep_269",Xw="_clear_input_container_6aiep_279",Zw="_clear_search_6aiep_293",Jw="_clearSearch_6aiep_1",eE="_filter_label_6aiep_339",tE="_filter_list_6aiep_359",nE="_detail_left_6aiep_371",rE="_detail_right_6aiep_385",iE="_partner_6aiep_399",oE="_method_6aiep_409",lE="_project_detail_title_6aiep_419",sE="_col_6aiep_419",aE="_download_list_6aiep_441",uE="_project_list_6aiep_467",cE="_project_row_6aiep_475",dE="_project_list_btn_6aiep_483",fE="_project_list_arrow_6aiep_495",pE="_list_smallFont_6aiep_503",hE="_list_smallFont_red_6aiep_517",mE="_list_title_6aiep_525",gE="_sep_6aiep_543",vE="_reverse_row_6aiep_553",yE="_no_project_msg_6aiep_563",_E="_page_text_6aiep_579",M={container:bw,withbtn:Dw,hr:Lw,reset_btn:Iw,reset_btn_text:Mw,show:$w,back_to_project_btn:Fw,back_to_project_btn_text:jw,page_num_color:zw,page_number_row:Uw,pageBtn:Bw,selected:Hw,arrowBtn:Ww,pageline:Qw,curPageNum:Kw,arrow_btn_pic:Vw,back_btn_projectdetail:Gw,left_side:qw,search_label:Yw,clear_input_container:Xw,clear_search:Zw,clearSearch:Jw,filter_label:eE,filter_list:tE,detail_left:nE,detail_right:rE,partner:iE,method:oE,project_detail_title:lE,col:sE,download_list:aE,project_list:uE,project_row:cE,project_list_btn:dE,project_list_arrow:fE,list_smallFont:pE,list_smallFont_red:hE,list_title:mE,sep:gE,reverse_row:vE,no_project_msg:yE,page_text:_E},xE=e=>{const t=pl(e.title);return a("div",{children:A(U,{className:`${M.project_list}`,children:[A(Y,{className:`gx-3 ${M.project_row}`,children:[a(B,{xs:"auto d-flex align-items-center",children:e.laufend?a("img",{src:Pw,alt:"laufend"}):a("img",{src:Ow,alt:"finished"})}),a(B,{children:A(Y,{children:[e.laufend?a("div",{className:`${M.list_smallFont_red}`,children:"laufend"}):a("div",{className:`${M.list_smallFont}`,children:e.detail.acf.Jahr}),a("div",{className:`${M.list_smallFont}`,children:e.detail.acf.auftraggeber}),a(Me,{className:`${M.project_list_btn}`,to:`/Projekte/Projekt/${t}`,state:e.detail,children:A("div",{className:"d-flex justify-content-between",children:[a("div",{className:`${M.list_title}`,children:e.title}),a("img",{className:`${M.project_list_arrow}`,src:ec,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),a("hr",{className:`${M.sep}`})]})})},wE="/bv2024_frontend/assets/go-start.013c0555.svg",EE="/bv2024_frontend/assets/go-end.1639100c.svg",SE="/bv2024_frontend/assets/lastpage.6c6b5d71.svg",CE="/bv2024_frontend/assets/nextpage.b47452f8.svg",kE=({pageCount:e,postsPerPage:t,onPageChange:n,currentPage:r})=>{const i=[];for(let o=1;o<=Math.ceil(e/t);o++)i.push(o);return a("div",{children:A(Y,{className:M.page_number_row,children:[a(B,{className:"col-auto p-0",children:a("button",{className:M.arrowBtn,onClick:()=>{n(1),window.scrollTo(0,0)},children:a("img",{src:wE,alt:"firstpage",className:`${M.arrow_btn_pic}`})})}),a(B,{className:"col-auto p-0",children:a("button",{className:M.arrowBtn,onClick:()=>{r!=1&&(n(r-1),window.scrollTo(0,0))},children:a("img",{src:SE,alt:"prepage",className:`${M.arrow_btn_pic}`})})}),A(B,{className:`${M.pageBtn} col-auto`,children:[a("span",{className:`${M.page_text}`,children:"Seite"}),"\xA0 \xA0",a("span",{className:`${M.page_number} ${M.page_num_color}`,children:r}),"\xA0",a("span",{className:`${M.page_number}`,children:"/"}),A("span",{className:`${M.page_number}`,children:["\xA0",i.length]})]}),a(B,{className:"col-auto p-0",children:a("button",{className:M.arrowBtn,onClick:()=>{r!=i.length&&(n(r+1),window.scrollTo(0,0))},children:a("img",{src:CE,alt:"nextpage",className:`${M.arrow_btn_pic}`})})}),a(B,{className:"col-auto p-0",children:a("button",{className:M.arrowBtn,onClick:()=>{n(i.length),window.scrollTo(0,0)},children:a("img",{src:EE,alt:"lastpage",className:`${M.arrow_btn_pic}`})})})]})})},NE=({projects:e,istlaufend:t,projectStatus:n,filterApplied:r})=>{const[i,o]=v.exports.useState(1),l=10,s=e.slice(i*l-l,i*l),u=c=>{o(c)};return v.exports.useEffect(()=>{r&&o(1)},[r]),e.length==0?A("div",{className:M.no_project_msg,children:["Kein ",n=="laufend"?"laufendes":""," Projekt gefunden."]}):A("div",{children:[s.map(c=>a(xE,{title:c.title.rendered,laufzeit:c.acf.Jahr,auftraggeber:c.acf.auftraggeber,laufend:c.istlaufend==t,detail:c},c.id)),a("div",{className:M.pageline,children:a(kE,{pageCount:e.length,postsPerPage:l,onPageChange:u,currentPage:i})})]})};class TE extends v.exports.Component{constructor(){super(...arguments);Ac(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n,r){console.error("ErrorBoundary component caught an error",n,r)}render(){return this.state.hasError?A("h2",{children:["There was an error with this listing. ",a(Me,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const RE="_container_18j74_1",AE="_red_18j74_39",PE="_white_18j74_59",OE="_value_18j74_77",bE="_clearbtn_18j74_85",DE="_show_18j74_111",LE="_arrow_18j74_135",IE="_up_18j74_177",ME="_down_18j74_189",$E="_options_18j74_205",FE="_option_18j74_205",jE="_selected_18j74_291",zE="_highlighted_18j74_301",Fe={container:RE,red:AE,white:PE,value:OE,clearbtn:bE,show:DE,arrow:LE,up:IE,down:ME,options:$E,option:FE,selected:jE,highlighted:zE},_f=({isPreSelected:e,value:t,onChange:n,options:r,type:i,url:o})=>{const[l,s]=v.exports.useState(!1),[u,c]=Gu(""),[d,f]=v.exports.useState(e!=null),[p,y]=v.exports.useState(e==null),[_,w]=v.exports.useState(!e),[N,g]=v.exports.useState(!0),[m,h]=v.exports.useState("");function E(){n(void 0),f(!1),y(!0),w(!0),g(!0)}function T(C){n(C)}function S(C){return C==t}return v.exports.useEffect(()=>{l&&h(0)},[l]),v.exports.useEffect(()=>{const C=o.get(i);C?(T(C),f(!0),y(!1),s(!1),w(!1)):E()},[o]),A("div",{onBlur:()=>{s(!1),g(!0)},onClick:()=>{s(C=>!C),g(C=>!C)},tabIndex:0,className:`${Fe.container} ${p?Fe.red:Fe.white}`,children:[a("span",{className:Fe.value,children:t}),a("button",{onClick:C=>{C.stopPropagation(),E(),c(k=>(k.delete(i),k))},className:`${Fe.clearbtn} ${d?Fe.show:""}`,children:"\xD7"}),a("div",{className:`${Fe.arrow} ${N?Fe.down:Fe.up} ${_?Fe.show:""} }`}),a("ul",{className:`${Fe.options} ${l?Fe.show:""}`,children:r.map((C,k)=>a("ul",{onClick:j=>{j.stopPropagation(),T(C.title.rendered),f(!0),y(!1),s(!1),w(!1),c(b=>(C.title.rendered==null?b.delete(i):(b.delete(i),b.append(i,C.title.rendered)),b))},onMouseEnter:()=>h(k),className:`${Fe.option} ${S(C.title.rendered)?Fe.selected:""} ${k==m?Fe.highlighted:""}`,children:C.title.rendered},C.id))})]})},UE=({onChange:e,url:t})=>{const[n,r]=v.exports.useState(""),[i,o]=v.exports.useState(!0),[l,s]=Gu(""),u=d=>{d.target.value.length<=1&&d.key=="Backspace"&&(s(f=>(f.delete("Titel"),f)),o(!0),r(""),e(""))},c=d=>{e(d.target.value),s(f=>(f.delete("Titel"),f.append("Titel",d.target.value),f))};return v.exports.useEffect(()=>{const d=t.get("Titel");d?(r(d),e(d),o(!1)):(o(!0),r(""),e(""))},[t]),a("div",{className:"p-0",children:a("label",{htmlFor:"titleName",className:`${M.search_label}`,children:A("div",{className:`${M.clear_input_container}`,children:[a("input",{type:"text",id:"titleName",name:"searchtext",value:n,placeholder:"Suchen nach Title . . .",onChange:c,onKeyDown:u}),a("button",{className:`${M.clear_search}`,type:"reset","aria-label":"Clear input",title:"Clear input",hidden:i,onClick:()=>{o(!0),r(""),e(""),s(d=>(d.delete("Titel"),d))},children:"\xD7"})]})})})},BE="/bv2024_frontend/assets/undo.27b49693.svg",HE=()=>{const e=Wh(),t=_e(),[n,r]=Gu(),[i,o]=v.exports.useState(""),[l,s]=v.exports.useState(e.id=="laufend"?void 0:n.get("Dienstleistungen")),[u,c]=v.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[d,f]=v.exports.useState(e.id=="laufend"),[p,y]=v.exports.useState(!1);function _(q){c(q),y(!0)}function w(q){s(q),y(!0)}function N(q){o(q),y(q)}function g(){f(!1),c(void 0),s(void 0),o(""),y(!1),t("/Projekte")}const m=oe(["allprojects","projekte",""],le),h=oe(["alltopics","themen",""],le),E=oe(["services","dienstleistungen",""],le),T=oe(["istlaufend","istlaufend",""],le);if(m.isLoading||h.isLoading||E.isLoading||T.isLoading)return a(Re,{});(m.isError||h.isError||E.isError||T.isError)&&t("/NotMatch404");let S=fm(T.data,"Ja");const C=J0(m.data,T),j=(d?C:m.data).filter(q=>q.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),b=Z0(h,E,j,d?C:m.data,l,u,i);return A("div",{children:[a(U,{className:"categoryTitle",children:"PROJEKTE"}),a(U,{children:A(Y,{children:[a(B,{lg:4,children:A(Y,{className:`${M.left_side}`,children:[a(UE,{onChange:N,url:n}),a("br",{}),A("div",{className:`${M.filter_label}`,children:["Filtern nach Thema:",a("br",{}),a(_f,{isPreSelected:u!=null?u:void 0,value:u!=null?u:"Alle Themen",options:h.data,onChange:_,type:"Themen",url:n})]}),A("div",{className:`${M.filter_label}`,children:["Filtern nach Dienstleistung:",a("br",{}),a(_f,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:E.data,onChange:w,type:"Dienstleistungen",url:n})]})]})}),A(B,{lg:8,children:[A("div",{className:`${M.container}
- ${b.length==m.data.length?"":M.withbtn}
- `,children:[a("span",{className:M.text,children:b.length==m.data.length?"Alle Projekte":`${b.length?`${b.length} ${e.id=="laufend"?`${b.length>1?"laufende Projekte gefunden.":"laufendes Projekt gefunden."}`:`${b.length>1?" Projekte gefunden.":" Projekt gefunden."}`} `:""}`}),A("button",{className:`${M.reset_btn}
- ${b.length==m.data.length?"":M.show}
- `,onClick:g,children:[a("span",{className:`${M.reset_btn_text}`,children:"Filter zur\xFCcksetzen"}),a("img",{src:BE,alt:"refresh page",height:"24px"})]})]}),a("hr",{className:M.hr}),a(NE,{projects:b,istlaufend:S,projectStatus:e.id,filterApplied:p})]})]})})]})};function xf(e){return a(TE,{children:a(HE,{...e})})}const WE="/bv2024_frontend/assets/map.33be5f33.png",QE="_message_amhl2_1",KE="_contact_company_name_amhl2_13",VE="_contact_addr_title_amhl2_27",GE="_contact_addr_detail_amhl2_43",qE="_addr_info_amhl2_55",YE="_map_amhl2_71",XE="_contact_info_amhl2_85",ZE="_tel_info_amhl2_97",JE="_text_underline_amhl2_117",eS="_email_link_amhl2_127",tS="_reverse_row_amhl2_135",nS="_title_data_protection_amhl2_145",rS="_email_data_protection_amhl2_159",K={message:QE,contact_company_name:KE,contact_addr_title:VE,contact_addr_detail:GE,addr_info:qE,map:YE,contact_info:XE,tel_info:ZE,text_underline:JE,email_link:eS,reverse_row:tS,title_data_protection:nS,email_data_protection:rS},iS=()=>{const e=_e(),t=oe(["Wegbeschreibung","pages/29060",""],le),n=oe(["staff_pic","media",29064],le);return n.isLoading||t.isLoading?a(Re,{}):((n.isError||t.isError)&&e("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"KONTAKT"}),a(U,{className:`${K.message}`,children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),A(U,{children:[A(Y,{className:`${K.reverse_row}`,children:[a(B,{xl:5,lg:4,xs:12,children:a("div",{children:A("div",{children:[A("div",{className:`${K.contact_company_name}`,children:["B\xFCro Vatter AG ",a("br",{})," Politikanalyse"]}),A("div",{className:`${K.contact_info}`,children:["Gerberngasse 27",a("br",{}),"CH-3011 Bern"]}),a("br",{}),a("div",{className:`${K.contact_info}`,children:a("a",{href:"tel:+41 31 312 65 75",className:` ${K.tel_info} `,children:"+41 31 312 65 75"})}),a("br",{}),a("div",{className:`${K.contact_info} ${K.text_underline}`,children:a("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"})}),a("br",{}),a("br",{}),A(Y,{children:[a(B,{children:a("a",{href:"https://maps.app.goo.gl/pK5fmbpc5qx59JkW9",className:`${K.addr_info}`,children:"Google Maps"})}),a(B,{children:a("a",{href:n.data.source_url,className:`${K.addr_info}`,children:"Printable Map"})})]})]})})}),a(B,{xl:7,lg:8,xs:12,children:a("img",{className:`${K.map}`,src:WE,alt:"map"})})]}),a("div",{className:`${K.contact_addr_title}`,children:"Wegbeschreibung ab Bahnhof Bern"}),a("p",{className:`${K.contact_addr_detail}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(t.data.content.rendered)}}),a("br",{})]})]}))},oS="/bv2024_frontend/assets/404.05213829.svg",lS=()=>A("div",{children:[a(U,{className:"error_pic_container",children:a("img",{src:oS,alt:"errorpage",className:"error_pic"})}),a(U,{className:"error_pic_container",children:A("div",{className:"error_pic_message",children:["M\xF6chten Sie zur\xA0",a(Me,{to:"/",children:"Startseite"}),"\xA0zur\xFCckkehren?"]})})]}),sS=()=>A("div",{children:[a(U,{className:"categoryTitle",children:"IMPRESSUM"}),A(U,{children:[A("div",{className:`${K.title_data_protection}`,children:["B\xFCro Vatter AG",a("br",{}),"Politikforschung & -beratung"]}),a("div",{className:`${K.contact_info}`,children:"Gerberngasse 27"}),a("div",{className:`${K.contact_info}`,children:"CH-3011 Bern"}),a("br",{}),a("div",{className:`${K.contact_info}`,children:"+41 31 312 65 75"}),a("br",{}),a("div",{className:`${K.contact_info} ${K.text_underline} ${K.email_link}`,children:a("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"})})]})]}),aS=()=>A("div",{children:[a(U,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),a(U,{children:a("div",{children:A("p",{className:`${K.contact_info}`,children:[a("b",{}),a("br",{}),A("div",{className:`${K.title_data_protection}`,children:["B\xFCro Vatter AG",a("br",{}),"Politikforschung & -beratung"]}),"Gerberngasse 27",a("br",{}),"CH-3011 Bern",a("br",{}),"Schweiz",a("br",{}),a("span",{className:`${K.email_data_protection}`,children:"E-Mail"}),":",a("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"}),a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Vertretungsberechtigte Person"}),"Christian R\xFCefli",a("br",{}),a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Name des Unternehmens"}),"B\xFCro Vatter AG",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Datenschutzbeauftragte Person:"}),"Christian R\xFCefli",a("br",{}),"Tel +31 312 65 75",a("br",{}),a("a",{href:"mailto:ruefli@buerovatter.ch",children:"ruefli@buerovatter.ch"}),a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Allgemein"}),"Gest\xFCtzt auf Artikel 13 der Schweizerischen Bundesverfassung und die datenschutzrechtlichen Bestimmungen des Bundes (Datenschutzgesetz, DSG) hat jede Person Anspruch auf Schutz ihrer Privatsph\xE4re sowie auf Schutz vor Missbrauch ihrer pers\xF6nlichen Daten. Die Betreiber dieser Seiten nehmen den Schutz Ihrer pers\xF6nlichen Daten sehr ernst. Wir behandeln Ihre personenbezogenen Daten vertraulich und entsprechend der gesetzlichen Datenschutzvorschriften sowie dieser Datenschutzerkl\xE4rung.",a("br",{})," ",a("br",{}),"In Zusammenarbeit mit unseren Hosting-Providern bem\xFChen wir uns, die Datenbanken so gut wie m\xF6glich vor unberechtigtem Zugriff, Verlust, Missbrauch oder Verf\xE4lschung zu sch\xFCtzen. ",a("br",{})," ",a("br",{}),"Wir weisen darauf hin, dass die Daten\xFCbertragung im Internet (z.B. bei der Kommunikation per E-Mail) Sicherheitsl\xFCcken aufweisen kann. Ein l\xFCckenloser Schutz der Daten vor dem Zugriff durch Dritte ist nicht m\xF6glich.",a("br",{})," ",a("br",{}),"Durch die Nutzung dieser Website erkl\xE4ren Sie sich mit der Erhebung, Verarbeitung und Nutzung von Daten gem\xE4\xDF der nachfolgenden Beschreibung einverstanden. Diese Website kann grunds\xE4tzlich ohne Registrierung besucht werden. Daten wie aufgerufene Seiten oder Namen von aufgerufenen Dateien, Datum und Uhrzeit werden zu statistischen Zwecken auf dem Server gespeichert, ohne dass diese Daten unmittelbar auf Ihre Person bezogen werden. Soweit auf unseren Seiten personenbezogene Daten (beispielsweise Name, Anschrift oder eMail-Adressen) erhoben werden, erfolgt dies, soweit m\xF6glich, stets auf freiwilliger Basis. Diese Daten werden ohne Ihre ausdr\xFCckliche Zustimmung nicht an Dritte weitergegeben.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Mit SSL/TLS-Verschl\xFCsselung"}),'Diese Website verwendet aus Sicherheitsgr\xFCnden und zum Schutz der \xDCbertragung vertraulicher Inhalte, wie z.B. Anfragen, die Sie an uns als Seitenbetreiber senden, eine SSL/TLS-Verschl\xFCsselung. Eine verschl\xFCsselte Verbindung erkennen Sie daran, dass die Adresszeile des Browsers von ""http://"" auf ""https://"" wechselt und an dem Schloss-Symbol in Ihrer Browserzeile.',a("br",{})," ",a("br",{}),"Wenn die SSL- oder TLS-Verschl\xFCsselung aktiviert ist, k\xF6nnen die Daten, die Sie an uns \xFCbermitteln, nicht von Dritten gelesen werden.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Server-Log-Dateien"}),"Der Provider dieser Website erhebt und speichert automatisch Informationen in so genannten Server-Log-Dateien, die Ihr Browser automatisch an uns \xFCbermittelt. Dies sind:",a("br",{}),"Browsertyp und Browserversion",a("br",{}),"Verwendetes Betriebssystem",a("br",{}),"Referrer URL",a("br",{}),"Hostname des zugreifenden Rechners",a("br",{}),"Zeitpunkt der Serveranfrage",a("br",{})," ",a("br",{}),"Diese Daten sind nicht bestimmten Personen zuordenbar. Eine Zusammenf\xFChrung dieser Daten mit anderen Datenquellen wird nicht vorgenommen. Wir behalten uns vor, diese Daten nachtr\xE4glich zu pr\xFCfen, wenn uns konkrete Anhaltspunkte f\xFCr eine rechtswidrige Nutzung bekannt werden.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Haftungsausschluss"}),"Alle Angaben auf unserer Website wurden sorgf\xE4ltig gepr\xFCft. Wir sind bem\xFCht, daf\xFCr Sorge zu tragen, dass die von uns bereitgestellten Informationen aktuell, richtig und vollst\xE4ndig sind. Dennoch ist das Auftreten von Fehlern nicht v\xF6llig auszuschlie\xDFen, so dass wir f\xFCr die Vollst\xE4ndigkeit, Richtigkeit und Aktualit\xE4t der Informationen, auch journalistisch-redaktioneller Art, keine Gew\xE4hr \xFCbernehmen k\xF6nnen. Haftungsanspr\xFCche, die sich auf Sch\xE4den materieller oder ideeller Art beziehen, welche durch die Nutzung oder Nichtnutzung der dargebotenen Informationen bzw. durch die Nutzung fehlerhafter und unvollst\xE4ndiger Informationen verursacht wurden, sind grunds\xE4tzlich ausgeschlossen. ",a("br",{}),"Der Herausgeber kann Texte nach eigenem Ermessen und ohne vorherige Ank\xFCndigung \xE4ndern oder l\xF6schen und ist nicht dazu verpflichtet, die Inhalte dieser Website zu aktualisieren. Die Nutzung dieser Website bzw. der Zugang zu ihr erfolgt auf eigenes Risiko des Besuchers. Der Herausgeber, seine Kunden oder Partner sind nicht verantwortlich f\xFCr Sch\xE4den, wie z.B. direkte, indirekte, zuf\xE4llige oder Folgesch\xE4den, die angeblich durch den Besuch dieser Website verursacht wurden und \xFCbernehmen folglich keine Haftung f\xFCr solche Sch\xE4den.",a("br",{}),"Der Herausgeber \xFCbernimmt auch keine Verantwortung oder Haftung f\xFCr den Inhalt und die Verf\xFCgbarkeit von Websites Dritter, die \xFCber externe Links von dieser Website aus erreicht werden k\xF6nnen. F\xFCr den Inhalt der verlinkten Seiten sind ausschlie\xDFlich deren Betreiber verantwortlich. Der Herausgeber distanziert sich daher ausdr\xFCcklich von allen fremden Inhalten, die m\xF6glicherweise straf- oder haftungsrechtlich relevant sind oder gegen die guten Sitten versto\xDFen.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Google Maps"}),"Diese Website nutzt das Angebot von Google Maps. Dies erm\xF6glicht es uns, interaktive Karten direkt auf der Website darzustellen und Ihnen die komfortable Nutzung der Kartenfunktion zu erm\xF6glichen. Durch den Besuch der Website erh\xE4lt Google die Information, dass Sie die entsprechende Unterseite unserer Website aufgerufen haben. Dies geschieht unabh\xE4ngig davon, ob Google ein Nutzerkonto bereitstellt, \xFCber das Sie eingeloggt sind, oder ob kein Nutzerkonto vorhanden ist. Wenn Sie bei Google eingeloggt sind, werden Ihre Daten direkt Ihrem Konto zugeordnet. Wenn Sie die Zuordnung zu Ihrem Profil bei Google nicht w\xFCnschen, m\xFCssen Sie sich vor Aktivierung der Schaltfl\xE4che ausloggen. Google speichert Ihre Daten als Nutzungsprofile und nutzt sie f\xFCr Zwecke der Werbung, Marktforschung und/oder bedarfsgerechten Gestaltung seiner Website. Eine solche Auswertung erfolgt insbesondere (auch f\xFCr nicht eingeloggte Nutzer) zur Erbringung bedarfsgerechter Werbung und um andere Nutzer des sozialen Netzwerks \xFCber Ihre Aktivit\xE4ten auf unserer Website zu informieren. Sie haben das Recht, der Erstellung dieser Nutzerprofile zu widersprechen, wobei Sie sich zur Aus\xFCbung dieses Rechts an Google wenden m\xFCssen. N\xE4here Informationen zu Zweck und Umfang der Datenerhebung und -verarbeitung durch Google sowie weitere Informationen zu Ihren diesbez\xFCglichen Rechten und Einstellungsm\xF6glichkeiten zum Schutz Ihrer Privatsph\xE4re finden Sie unter: www.google.de/intl/de/policies/privacy.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Daten\xFCbermittlung in die USA"}),"Auf unserer Website sind u.a. Tools von Unternehmen mit Sitz in den USA eingebunden. Wenn diese Tools aktiv sind, k\xF6nnen Ihre personenbezogenen Daten an die US-Server der jeweiligen Unternehmen \xFCbertragen werden. Wir weisen darauf hin, dass die USA kein sicherer Drittstaat im Sinne des EU-Datenschutzrechts sind. US-Unternehmen sind verpflichtet, personenbezogene Daten an Sicherheitsbeh\xF6rden herauszugeben, ohne dass Sie als Betroffener dagegen rechtlich vorgehen k\xF6nnen. Es kann daher nicht ausgeschlossen werden, dass US-Beh\xF6rden (z.B. Geheimdienste) Ihre auf US-Servern befindlichen Daten zu \xDCberwachungszwecken verarbeiten, auswerten und dauerhaft speichern. Auf diese Verarbeitungsvorg\xE4nge haben wir keinen Einfluss.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"\xC4nderungen"}),"Wir k\xF6nnen diese Datenschutzrichtlinie jederzeit ohne vorherige Ank\xFCndigung \xE4ndern. Es gilt die jeweils aktuelle, auf unserer Website ver\xF6ffentlichte Fassung. Soweit die Datenschutzerkl\xE4rung Teil einer Vereinbarung mit Ihnen ist, werden wir Sie im Falle einer Aktualisierung per E-Mail oder auf andere geeignete Weise \xFCber die \xC4nderung informieren.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Haftungsausschluss"}),"Der Autor \xFCbernimmt keine Gew\xE4hr f\xFCr die Richtigkeit, Genauigkeit, Aktualit\xE4t, Zuverl\xE4ssigkeit und Vollst\xE4ndigkeit der Informationen.",a("br",{}),"Haftungsanspr\xFCche gegen den Autor wegen Sch\xE4den materieller oder immaterieller Art, die aus dem Zugriff oder der Nutzung bzw. Nichtnutzung der ver\xF6ffentlichten Informationen, durch Missbrauch der Verbindung oder durch technische St\xF6rungen entstanden sind, werden ausgeschlossen.",a("br",{})," ",a("br",{}),"Alle Angebote sind freibleibend. Der Autor beh\xE4lt es sich ausdr\xFCcklich vor, Teile der Seiten oder das gesamte Angebot ohne gesonderte Ank\xFCndigung zu ver\xE4ndern, zu erg\xE4nzen, zu l\xF6schen oder die Ver\xF6ffentlichung zeitweise oder endg\xFCltig einzustellen.",a("br",{})," ",a("br",{}),a("div",{className:`${K.title_data_protection}`,children:"Quelle"}),a("a",{href:"https://brainbox.swiss/",children:"BrainBox Solutions"})]})})})]}),Os="/bv2024_frontend/assets/Home.d233cde0.png",uS="/bv2024_frontend/assets/Dienstleistungen.ee2854c9.png",cS="/bv2024_frontend/assets/Kontakt.e3e8d695.png",dS="/bv2024_frontend/assets/Mitarbeitende.a58219c1.png",fS="/bv2024_frontend/assets/Home.d233cde0.png",pS="/bv2024_frontend/assets/Projekte.b5edb7d6.png",hS="/bv2024_frontend/assets/Projekte.b5edb7d6.png",mS="/bv2024_frontend/assets/Themen.e1598e5b.png",gS="_titleImg_1ft0v_1",vS="_caption_1ft0v_17",wf={titleImg:gS,caption:vS},yS=({page:e})=>{let t=e.split("/",1)[0],n=Os,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Os;break;case"Projekte":n=pS;break;case"Projekt":n=hS;break;case"Dienstleistungen":n=uS;break;case"Mitarbeitende":n=dS;break;case"Kontakt":n=cS;break;case"Themen":n=mS;break;case"NotMatch404":n=fS;break;default:r="",n=Os;break}return a("div",{className:`${wf.titleImg}`,style:{backgroundImage:`url(${n})`},children:a("div",{className:`${wf.caption}`,children:a("div",{className:" fluid container p-0 ",children:r})})})},_S="/bv2024_frontend/assets/bv_logo.21578d65.svg",xS="/bv2024_frontend/assets/side_logo.4326d67f.svg";function ii(...e){return e.filter(t=>t!=null).reduce((t,n)=>{if(typeof n!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return t===null?n:function(...i){t.apply(this,i),n.apply(this,i)}},null)}const wS={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function ES(e,t){const n=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[n],i=wS[e];return r+parseInt(Vt(t,i[0]),10)+parseInt(Vt(t,i[1]),10)}const SS={[sn]:"collapse",[Fi]:"collapsing",[Ct]:"collapsing",[Ht]:"collapse show"},CS=Ie.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,className:o,children:l,dimension:s="height",in:u=!1,timeout:c=300,mountOnEnter:d=!1,unmountOnExit:f=!1,appear:p=!1,getDimensionValue:y=ES,..._},w)=>{const N=typeof s=="function"?s():s,g=v.exports.useMemo(()=>ii(S=>{S.style[N]="0"},e),[N,e]),m=v.exports.useMemo(()=>ii(S=>{const C=`scroll${N[0].toUpperCase()}${N.slice(1)}`;S.style[N]=`${S[C]}px`},t),[N,t]),h=v.exports.useMemo(()=>ii(S=>{S.style[N]=null},n),[N,n]),E=v.exports.useMemo(()=>ii(S=>{S.style[N]=`${y(N,S)}px`,wm(S)},r),[r,y,N]),T=v.exports.useMemo(()=>ii(S=>{S.style[N]=null},i),[N,i]);return a(ic,{ref:w,addEndListener:rc,..._,"aria-expanded":_.role?u:null,onEnter:g,onEntering:m,onEntered:h,onExit:E,onExiting:T,childRef:l.ref,in:u,timeout:c,mountOnEnter:d,unmountOnExit:f,appear:p,children:(S,C)=>Ie.cloneElement(l,{...C,className:ce(o,l.props.className,SS[S],N==="width"&&"collapse-horizontal")})})}),kS=CS,NS=e=>v.exports.forwardRef((t,n)=>a("div",{...t,ref:n,className:ce(t.className,e)})),TS={"aria-label":Et.exports.string,onClick:Et.exports.func,variant:Et.exports.oneOf(["white"])},sc=v.exports.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>a("button",{ref:i,type:"button",className:ce("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));sc.displayName="CloseButton";sc.propTypes=TS;const RS=sc;function AS(e){const t=v.exports.useRef(e);return t.current=e,t}function PS(e){const t=AS(e);v.exports.useEffect(()=>()=>t.current(),[])}function Ef(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const Hm=v.exports.createContext($l?window:void 0);Hm.Provider;function ac(){return v.exports.useContext(Hm)}function bs(e){e===void 0&&(e=nc());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function OS(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const Sf=Fl("modal-open");class uc{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return OS(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[r]:i.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(Vt(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(Sf,""),Vt(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(Sf),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Ds=(e,t)=>$l?e==null?(t||nc()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function bS(e,t){const n=ac(),[r,i]=v.exports.useState(()=>Ds(e,n==null?void 0:n.document));if(!r){const o=Ds(e);o&&i(o)}return v.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),v.exports.useEffect(()=>{const o=Ds(e);o!==r&&i(o)},[e,r]),r}function DS({in:e,onTransition:t}){const n=v.exports.useRef(null),r=v.exports.useRef(!0),i=ft(t);return Ga(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Ga(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function LS({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=v.exports.useState(!t);t&&o&&l(!1);const s=DS({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?r==null||r(c.element,c.initial):(l(!0),n==null||n(c.element)))};Promise.resolve(i(c)).then(d,f=>{throw c.in||l(!0),f})}}),u=Ml(s,e.ref);return o&&!t?null:v.exports.cloneElement(e,{ref:u})}function Cf(e,t,n){return e?a(e,Object.assign({},n)):t?a(LS,Object.assign({},n,{transition:t})):a(tc,Object.assign({},n))}function IS(e){return e.code==="Escape"||e.keyCode===27}const MS=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function $S(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}let Ls;function FS(e){return Ls||(Ls=new uc({ownerDocument:e==null?void 0:e.document})),Ls}function jS(e){const t=ac(),n=e||FS(t),r=v.exports.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:v.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:v.exports.useCallback(i=>{r.current.backdrop=i},[])})}const Wm=v.exports.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:l,backdrop:s=!0,keyboard:u=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:f,runTransition:p,backdropTransition:y,runBackdropTransition:_,autoFocus:w=!0,enforceFocus:N=!0,restoreFocus:g=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:E=J=>a("div",Object.assign({},J)),manager:T,container:S,onShow:C,onHide:k=()=>{},onExit:j,onExited:b,onExiting:q,onEnter:Qe,onEntering:Ce,onEntered:$t}=e,tn=$S(e,MS);const Ke=ac(),Ve=bS(S),P=jS(T),L=gx(),z=vx(n),[F,Z]=v.exports.useState(!n),V=v.exports.useRef(null);v.exports.useImperativeHandle(t,()=>P,[P]),$l&&!z&&n&&(V.current=bs(Ke==null?void 0:Ke.document)),n&&F&&Z(!1);const ge=ft(()=>{if(P.add(),Pt.current=ml(document,"keydown",Qi),Zn.current=ml(document,"focus",()=>setTimeout(Ae),!0),C&&C(),w){var J,Rn;const er=bs((J=(Rn=P.dialog)==null?void 0:Rn.ownerDocument)!=null?J:Ke==null?void 0:Ke.document);P.dialog&&er&&!Ef(P.dialog,er)&&(V.current=er,P.dialog.focus())}}),de=ft(()=>{if(P.remove(),Pt.current==null||Pt.current(),Zn.current==null||Zn.current(),g){var J;(J=V.current)==null||J.focus==null||J.focus(m),V.current=null}});v.exports.useEffect(()=>{!n||!Ve||ge()},[n,Ve,ge]),v.exports.useEffect(()=>{!F||de()},[F,de]),PS(()=>{de()});const Ae=ft(()=>{if(!N||!L()||!P.isTopModal())return;const J=bs(Ke==null?void 0:Ke.document);P.dialog&&J&&!Ef(P.dialog,J)&&P.dialog.focus()}),At=ft(J=>{J.target===J.currentTarget&&(c==null||c(J),s===!0&&k())}),Qi=ft(J=>{u&&IS(J)&&P.isTopModal()&&(d==null||d(J),J.defaultPrevented||k())}),Zn=v.exports.useRef(),Pt=v.exports.useRef(),Ft=(...J)=>{Z(!0),b==null||b(...J)};if(!Ve)return null;const Jn=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},tn,{style:o,className:i,tabIndex:-1});let Tn=h?h(Jn):a("div",Object.assign({},Jn,{children:v.exports.cloneElement(l,{role:"document"})}));Tn=Cf(f,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:j,onExiting:q,onExited:Ft,onEnter:Qe,onEntering:Ce,onEntered:$t,children:Tn});let yt=null;return s&&(yt=E({ref:P.setBackdropRef,onClick:At}),yt=Cf(y,_,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:yt})),a(sl,{children:wr.createPortal(A(sl,{children:[yt,Tn]}),Ve)})});Wm.displayName="Modal";const zS=Object.assign(Wm,{Manager:uc});function US(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function BS(e,t){e.classList?e.classList.add(t):US(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function kf(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function HS(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=kf(e.className,t):e.setAttribute("class",kf(e.className&&e.className.baseVal||"",t))}const sr={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Qm extends uc{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Vt(n,{[t]:`${parseFloat(Vt(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Vt(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(BS(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";In(n,sr.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),In(n,sr.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),In(n,sr.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();HS(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";In(n,sr.FIXED_CONTENT).forEach(o=>this.restore(r,o)),In(n,sr.STICKY_CONTENT).forEach(o=>this.restore(i,o)),In(n,sr.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Is;function WS(e){return Is||(Is=new Qm(e)),Is}const QS=Qm,KS=v.exports.createContext({onHide(){}}),Km=KS,VS=v.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=v.exports.useContext(Km),u=ft(()=>{s==null||s.onHide(),r==null||r()});return A("div",{ref:l,...o,children:[i,n&&a(RS,{"aria-label":e,variant:t,onClick:u})]})}),GS=VS,Vm=v.exports.forwardRef(({bsPrefix:e,className:t,as:n,...r},i)=>{e=Se(e,"navbar-brand");const o=n||(r.href?"a":"span");return a(o,{...r,ref:i,className:ce(t,e)})});Vm.displayName="NavbarBrand";const qS=Vm,Gm=v.exports.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=Se(t,"navbar-collapse");const i=v.exports.useContext(Xn);return a(kS,{in:!!(i&&i.expanded),...n,children:a("div",{ref:r,className:t,children:e})})});Gm.displayName="NavbarCollapse";const YS=Gm,qm=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:i="button",onClick:o,...l},s)=>{e=Se(e,"navbar-toggler");const{onToggle:u,expanded:c}=v.exports.useContext(Xn)||{},d=ft(f=>{o&&o(f),u&&u()});return i==="button"&&(l.type="button"),a(i,{...l,ref:s,onClick:d,"aria-label":r,className:ce(t,e,!c&&"collapsed"),children:n||a("span",{className:`${e}-icon`})})});qm.displayName="NavbarToggle";const XS=qm,qa=new WeakMap,Nf=(e,t)=>{if(!e||!t)return;const n=qa.get(t)||new Map;qa.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function ZS(e,t=typeof window>"u"?void 0:window){const n=Nf(e,t),[r,i]=v.exports.useState(()=>n?n.matches:!1);return Ga(()=>{let o=Nf(e,t);if(!o)return i(!1);let l=qa.get(t);const s=()=>{i(o.matches)};return o.refCount++,o.addListener(s),s(),()=>{o.removeListener(s),o.refCount--,o.refCount<=0&&(l==null||l.delete(o.media)),o=void 0}},[e]),r}function JS(e){const t=Object.keys(e);function n(s,u){return s===u?u:s?`${s} and ${u}`:u}function r(s){return t[Math.min(t.indexOf(s)+1,t.length-1)]}function i(s){const u=r(s);let c=e[u];return typeof c=="number"?c=`${c-.2}px`:c=`calc(${c} - 0.2px)`,`(max-width: ${c})`}function o(s){let u=e[s];return typeof u=="number"&&(u=`${u}px`),`(min-width: ${u})`}function l(s,u,c){let d;typeof s=="object"?(d=s,c=u,u=!0):(u=u||!0,d={[s]:u});let f=v.exports.useMemo(()=>Object.entries(d).reduce((p,[y,_])=>((_==="up"||_===!0)&&(p=n(p,o(y))),(_==="down"||_===!0)&&(p=n(p,i(y))),p),""),[JSON.stringify(d)]);return ZS(f,c)}return l}const eC=JS({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),Ym=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Se(t,"offcanvas-body"),a(n,{ref:i,className:ce(e,t),...r})));Ym.displayName="OffcanvasBody";const tC=Ym,nC={[Ct]:"show",[Ht]:"show"},Xm=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:i=!1,unmountOnExit:o=!1,appear:l=!1,...s},u)=>(e=Se(e,"offcanvas"),a(ic,{ref:u,addEndListener:rc,in:r,mountOnEnter:i,unmountOnExit:o,appear:l,...s,childRef:n.ref,children:(c,d)=>v.exports.cloneElement(n,{...d,className:ce(t,n.props.className,(c===Ct||c===Fi)&&`${e}-toggling`,nC[c])})})));Xm.displayName="OffcanvasToggling";const rC=Xm,Zm=v.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=Se(e,"offcanvas-header"),a(GS,{ref:o,...i,className:ce(t,e),closeLabel:n,closeButton:r})));Zm.displayName="OffcanvasHeader";const iC=Zm,oC=NS("h5"),Jm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n=oC,...r},i)=>(t=Se(t,"offcanvas-title"),a(n,{ref:i,className:ce(e,t),...r})));Jm.displayName="OffcanvasTitle";const lC=Jm;function sC(e){return a(rC,{...e})}function aC(e){return a(oc,{...e})}const eg=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,"aria-labelledby":r,placement:i="start",responsive:o,show:l=!1,backdrop:s=!0,keyboard:u=!0,scroll:c=!1,onEscapeKeyDown:d,onShow:f,onHide:p,container:y,autoFocus:_=!0,enforceFocus:w=!0,restoreFocus:N=!0,restoreFocusOptions:g,onEntered:m,onExit:h,onExiting:E,onEnter:T,onEntering:S,onExited:C,backdropClassName:k,manager:j,renderStaticNode:b=!1,...q},Qe)=>{const Ce=v.exports.useRef();e=Se(e,"offcanvas");const{onToggle:$t}=v.exports.useContext(Xn)||{},[tn,Ke]=v.exports.useState(!1),Ve=eC(o||"xs","up");v.exports.useEffect(()=>{Ke(o?l&&!Ve:l)},[l,o,Ve]);const P=ft(()=>{$t==null||$t(),p==null||p()}),L=v.exports.useMemo(()=>({onHide:P}),[P]);function z(){return j||(c?(Ce.current||(Ce.current=new QS({handleContainerOverflow:!1})),Ce.current):WS())}const F=(de,...Ae)=>{de&&(de.style.visibility="visible"),T==null||T(de,...Ae)},Z=(de,...Ae)=>{de&&(de.style.visibility=""),C==null||C(...Ae)},V=v.exports.useCallback(de=>a("div",{...de,className:ce(`${e}-backdrop`,k)}),[k,e]),ge=de=>a("div",{...de,...q,className:ce(t,o?`${e}-${o}`:e,`${e}-${i}`),"aria-labelledby":r,children:n});return A(sl,{children:[!tn&&(o||b)&&ge({}),a(Km.Provider,{value:L,children:a(zS,{show:tn,ref:Qe,backdrop:s,container:y,keyboard:u,autoFocus:_,enforceFocus:w&&!c,restoreFocus:N,restoreFocusOptions:g,onEscapeKeyDown:d,onShow:f,onHide:P,onEnter:F,onEntering:S,onEntered:m,onExit:h,onExiting:E,onExited:Z,manager:z(),transition:sC,backdropTransition:aC,renderBackdrop:V,renderDialog:ge})})]})});eg.displayName="Offcanvas";const Io=Object.assign(eg,{Body:tC,Header:iC,Title:lC}),tg=v.exports.forwardRef((e,t)=>{const n=v.exports.useContext(Xn);return a(Io,{ref:t,show:!!(n!=null&&n.expanded),...e,renderStaticNode:!0})});tg.displayName="NavbarOffcanvas";const uC=tg,ng=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=Se(t,"navbar-text"),a(n,{ref:i,className:ce(e,t),...r})));ng.displayName="NavbarText";const cC=ng,rg=v.exports.forwardRef((e,t)=>{const{bsPrefix:n,expand:r=!0,variant:i="light",bg:o,fixed:l,sticky:s,className:u,as:c="nav",expanded:d,onToggle:f,onSelect:p,collapseOnSelect:y=!1,..._}=Rm(e,{expanded:"onToggle"}),w=Se(n,"navbar"),N=v.exports.useCallback((...h)=>{p==null||p(...h),y&&d&&(f==null||f(!1))},[p,y,d,f]);_.role===void 0&&c!=="nav"&&(_.role="navigation");let g=`${w}-expand`;typeof r=="string"&&(g=`${g}-${r}`);const m=v.exports.useMemo(()=>({onToggle:()=>f==null?void 0:f(!d),bsPrefix:w,expanded:!!d,expand:r}),[w,d,r,f]);return a(Xn.Provider,{value:m,children:a(Vn.Provider,{value:N,children:a(c,{ref:t,..._,className:ce(u,w,r&&g,i&&`${w}-${i}`,o&&`bg-${o}`,s&&`sticky-${s}`,l&&`fixed-${l}`)})})})});rg.displayName="Navbar";const yo=Object.assign(rg,{Brand:qS,Collapse:YS,Offcanvas:uC,Text:cC,Toggle:XS}),dC=()=>{let t=Mt().pathname.substring(1);const n=v.exports.useRef();function r(){n.current.backdrop&&n.current.backdrop.click()}return A(U,{fluid:!0,className:"header_container",children:[a(yo,{collapseOnSelect:!0,expand:"lg",className:"fixed-top bg-white navbar-light flex-nowrap",children:A(U,{className:"align-items-end header_nav_content",children:[a(yo.Brand,{id:"logo_nav_container",children:A(Me,{to:"/",className:"navbar-brand",children:[a("img",{src:_S,alt:"logo",height:"100px",className:"main_logo"}),a("img",{src:xS,height:"98px",alt:"side_logo",className:"side_logo align-bottom"})]})}),a(yo.Toggle,{"aria-controls":"offcanvasNavbar-expand-lg",className:"mb-2"}),A(yo.Offcanvas,{id:"offcanvasNavbar-expand-lg","aria-labelledby":"offcanvasNavbar-expand-lg",placement:"end",className:"w-50",ref:n,children:[a(Io.Header,{closeButton:!0,children:a(Io.Title,{id:"offcanvasNavbar-expand-lg"})}),a(Io.Body,{className:"justify-content-end mb-2",children:A(Lo,{className:"navbar_column nav-item",children:[a(Jr,{reloaddocument:"true",className:"nav-link","aria-current":"page",to:"/Dienstleistungen",onClick:r,children:"Dienstleistungen"}),a(Jr,{reloaddocument:"true",to:"/Mitarbeitende",className:"nav-link",onClick:r,children:"\xDCber uns"}),a(Jr,{reloaddocument:"true",to:"/Themen",className:"nav-link",onClick:r,children:"Themen"}),a(Jr,{reloaddocument:"true",to:"/Projekte",className:"nav-link",onClick:r,children:"Projekte"}),a(Jr,{reloaddocument:"true",to:"/Kontakt",className:"nav-link",onClick:r,children:"Kontakt"})]})})]})]})}),a(U,{fluid:!0,className:"title_pic_content",children:a(yS,{page:t})})]})},fC="/bv2024_frontend/assets/linkedin_logo_l.ef097f7b.png",pC="_footer_139iy_3",hC="_footer_text_139iy_15",mC="_copyright_139iy_29",Ms={footer:pC,footer_text:hC,copyright:mC},gC=()=>a(U,{fluid:!0,className:`border-top ${Ms.footer}`,children:a(U,{className:"text-center",children:A("div",{className:"row flex-row-reverse",children:[a("section",{className:`col-xxl-6 text-xxl-end ${Ms.footer_text}`,children:A("span",{children:[a(Me,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",a(Me,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",a(Me,{to:"/DataProtection",children:"Datenschutzerkl\xE4rung"})]})}),a("section",{id:"LinkedIn",className:"col-xxl-3 mb-md-2",children:a("a",{href:"https://www.linkedin.com/company/buerovatter-politikanalyse/",children:a("img",{src:fC,alt:"linkedin",width:"90px",height:"22px"})})}),a("section",{className:`col-xxl-3 text-xxl-start text-nowrap ${Ms.copyright}`,children:"\xA9 2024 B\xFCro Vatter"})]})})}),$s=e=>{const t=_e(),n=oe(["downloads_1",`media/${e.prop}`,""],le);return n.isLoading?a(Re,{}):(n.isError&&t("/NotMatch404"),a("div",{children:a(Y,{children:a("a",{className:`${M.download_list}`,href:n.data.source_url,children:A("div",{className:"d-flex justify-content-between",children:[a("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Zt.sanitize(n.data.title.rendered)}}),a("img",{src:Bm,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},vC=()=>{const t=Mt().state,n=t.acf,r=n.kooperationspartner.split(`\r
+`),i=oe(["publikations","publikationen",`isshownonstaffdetailpage=${e.acf.mitarbeitende_taxonomy}`],le);return i.isLoading?a(Re,{}):(i.isError&&t("/NotMatch404"),A("div",{children:[e.acf.ausbildung!=""?A("div",{className:`${K.section_box}`,children:[a("h2",{className:`${K.staff_detail_title}`,children:"Ausbildung"}),e.acf.ausbildung,a("hr",{})]}):null,n!=""?A("div",{className:`${K.section_box}`,children:[a("h2",{className:`${K.staff_detail_title}`,children:"Hauptthemen"}),a("ul",{children:n.map((o,l)=>a("li",{children:o},l))}),a("hr",{})]}):null,e.acf.selected_projects!=""?A("div",{className:`${K.section_box}`,children:[a("h2",{className:`${K.staff_detail_title}`,children:"Ausgew\xE4hlte Projekte"}),a(mw,{person:e.acf.mitarbeitende_taxonomy}),a("hr",{})]}):null,e.acf.publikationen!=""?A("div",{className:`${K.section_box}`,children:[a("h2",{className:`${K.staff_detail_title}`,children:"Publikationen"}),a(vw,{publications:i.data}),a("hr",{})]}):null,r!=""?A("div",{className:`${K.section_box}`,children:[a("h2",{className:`${K.staff_detail_title}`,children:"Mitgliedschaften"}),a("ul",{children:r.map((o,l)=>a("li",{children:o},l))}),a("hr",{})]}):null,a("br",{})]}))},_w=()=>{const{name:e,id:t}=Wh(),n=_e(),r=oe(["staffdetails",`mitarbeitende/${t}`,""],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"MITARBEITENDE"}),a(U,{children:A(Y,{children:[a(H,{lg:4,md:5,children:a(hw,{staff:r.data})}),a(H,{lg:8,md:7,xs:12,children:a(yw,{staff:r.data})})]})})]}))},xw="_topic_pic_Container_izck8_1",ww="_topic_pic_izck8_1",Ew="_topic_pic_caption_izck8_37",Sw="_topic_pic_text_izck8_73",vo={topic_pic_Container:xw,topic_pic:ww,topic_pic_caption:Ew,topic_pic_text:Sw},Cw="/bv2024_frontend/assets/gesundheit.f3fba710.png",kw=({imgid:e,picName:t})=>{var i;const n=_e(),r=oe(["topic_pic","media",e],le);return r.isLoading?a(Re,{}):(r.isError&&n("/NotMatch404"),a("div",{className:`${vo.topic_pic_Container}`,children:A("div",{className:`${vo.topic_pic}`,children:[a("img",{src:(i=r.data.source_url)!=null?i:Cw,alt:t}),a("div",{className:`${vo.topic_pic_caption}`,children:a("div",{className:`${vo.topic_pic_text}`,children:t})})]})}))},Nw="_topic_row_1nhuy_1",Tw="_topics_content_1nhuy_11",Rw="_topic_box_1nhuy_19",Ps={topic_row:Nw,topics_content:Tw,topic_box:Rw},Aw=()=>{const e=_e(),t=oe(["alltopics","themen",""],le);return t.isLoading?a(Re,{}):(t.isError&&e("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"THEMEN"}),a(U,{className:`${Ps.topics_content}`,children:a(Y,{className:`${Ps.topic_row}`,children:t.data.map(n=>a(H,{xxl:"auto",xl:3,lg:4,md:6,sm:6,className:`${Ps.topic_box}`,children:a($e,{to:`/Projekte?${ul({Themen:n.title.rendered})}`,children:a(kw,{imgid:n.acf.imgid,picName:n.title.rendered})})},n.id))})})]}))},Pw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF4SURBVHgBpVSLUcMwDJVzDFAmIExANqDZIBsAExAmaJigZYJmhG6QsEGZgG7QbBDei+XWl3N+RXc+OZH09LEkIxNUiazAMpyGJxWpx/TvBkDWYDGMS/DciGycrLasbEU+IT/1bU0A7BU/97zDKNXIcrGRxpA9ecbFM4BljACY18ACLwbkMU5JHT37QaBvkXeZSdBPapEzQWG3lWvU1isuv2LTvE9tmnNA16Zjtjx8sEhlmf78mgtGIkCrNTSanfG8ZVA4yEJiWwHkjGsD8MdIf/IVj3IDaUa07bogYmTwsPV7bSkhsh+9JpEi/5ccRsNJOcBDLDfUzxGye3CAl586bouJLVdrk/PbPQrHrRqajgkqlJcXQNEhX/ownBbYvPDu+rED1AZ9w/lQxcmH6k1JcPM4xW45+PPZk68g29Rat0pTdRTch+o1hzJs5eiVIuFprzoc1dy3MwNRxGJHcVfZBetHyxGjo11oewcBAw64PFhXjthpbIH8ATdKevcxoZXpAAAAAElFTkSuQmCC",Ow="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBrVQLccMwDH3ZDUAgGEIguAwCYRDGYBmChkHNoGWQMOgYbEOQMsieOmV2U9vJ2r67d5ezpKdPZBfIoyQNWZEnZY8bYMk9OZBjhDtNtgrbWfAH6ciDfk/n9RTQsQOy7SJJdkFAk6jCkC+hWM9OyLELkgjeVGjQlhcxE2vmWafKqnvFBA5+2HeLIajOPELMqthxFmgYdOyCEWTE6l8zymf4P/kdSVQVdKTnRg4KDWL29821oPjXT0gsKAOcBIpdhDJiCDTkJp1bumo5aLPpae8zM9PYUas8q09XrEyIvgoTYgZ+f/9w0MMt/g+HyMpZ+NWxWI8KmZVr4Utfc1ss/KialJPD5RNlIj4y5/BFclhAg8vnS/7gXvk5s7VYCaOZYw/soDYbCyywDAu/Tl/KU8r5B+eolCIHPZ46AAAAAElFTkSuQmCC",bw="_container_6aiep_1",Dw="_withbtn_6aiep_23",Lw="_hr_6aiep_33",Iw="_reset_btn_6aiep_43",$w="_reset_btn_text_6aiep_55",Mw="_show_6aiep_81",Fw="_back_to_project_btn_6aiep_89",jw="_back_to_project_btn_text_6aiep_99",zw="_page_num_color_6aiep_125",Uw="_page_number_row_6aiep_133",Bw="_pageBtn_6aiep_143",Hw="_selected_6aiep_161",Ww="_arrowBtn_6aiep_173",Qw="_pageline_6aiep_199",Kw="_curPageNum_6aiep_217",Vw="_arrow_btn_pic_6aiep_231",Gw="_back_btn_projectdetail_6aiep_239",qw="_left_side_6aiep_257",Yw="_search_label_6aiep_269",Xw="_clear_input_container_6aiep_279",Zw="_clear_search_6aiep_293",Jw="_clearSearch_6aiep_1",eE="_filter_label_6aiep_339",tE="_filter_list_6aiep_359",nE="_detail_left_6aiep_371",rE="_detail_right_6aiep_385",iE="_partner_6aiep_399",oE="_method_6aiep_409",lE="_project_detail_title_6aiep_419",sE="_col_6aiep_419",aE="_download_list_6aiep_441",uE="_project_list_6aiep_467",cE="_project_row_6aiep_475",dE="_project_list_btn_6aiep_483",fE="_project_list_arrow_6aiep_495",pE="_list_smallFont_6aiep_503",hE="_list_smallFont_red_6aiep_517",mE="_list_title_6aiep_525",gE="_sep_6aiep_543",vE="_reverse_row_6aiep_553",yE="_no_project_msg_6aiep_563",_E="_page_text_6aiep_579",$={container:bw,withbtn:Dw,hr:Lw,reset_btn:Iw,reset_btn_text:$w,show:Mw,back_to_project_btn:Fw,back_to_project_btn_text:jw,page_num_color:zw,page_number_row:Uw,pageBtn:Bw,selected:Hw,arrowBtn:Ww,pageline:Qw,curPageNum:Kw,arrow_btn_pic:Vw,back_btn_projectdetail:Gw,left_side:qw,search_label:Yw,clear_input_container:Xw,clear_search:Zw,clearSearch:Jw,filter_label:eE,filter_list:tE,detail_left:nE,detail_right:rE,partner:iE,method:oE,project_detail_title:lE,col:sE,download_list:aE,project_list:uE,project_row:cE,project_list_btn:dE,project_list_arrow:fE,list_smallFont:pE,list_smallFont_red:hE,list_title:mE,sep:gE,reverse_row:vE,no_project_msg:yE,page_text:_E},xE=e=>{const t=pl(e.title);return a("div",{children:A(U,{className:`${$.project_list}`,children:[A(Y,{className:`gx-3 ${$.project_row}`,children:[a(H,{xs:"auto d-flex align-items-center",children:e.laufend?a("img",{src:Pw,alt:"laufend"}):a("img",{src:Ow,alt:"finished"})}),a(H,{children:A(Y,{children:[e.laufend?a("div",{className:`${$.list_smallFont_red}`,children:"laufend"}):a("div",{className:`${$.list_smallFont}`,children:e.detail.acf.Jahr}),a("div",{className:`${$.list_smallFont}`,children:e.detail.acf.auftraggeber}),a($e,{className:`${$.project_list_btn}`,to:`/Projekte/Projekt/${t}`,state:e.detail,children:A("div",{className:"d-flex justify-content-between",children:[a("div",{className:`${$.list_title}`,children:e.title}),a("img",{className:`${$.project_list_arrow}`,src:ec,width:"24px",height:"24px",alt:"arrowright"})]})})]})})]}),a("hr",{className:`${$.sep}`})]})})},wE="/bv2024_frontend/assets/go-start.013c0555.svg",EE="/bv2024_frontend/assets/go-end.1639100c.svg",SE="/bv2024_frontend/assets/lastpage.6c6b5d71.svg",CE="/bv2024_frontend/assets/nextpage.b47452f8.svg",kE=({pageCount:e,postsPerPage:t,onPageChange:n,currentPage:r})=>{const i=[];for(let o=1;o<=Math.ceil(e/t);o++)i.push(o);return a("div",{children:A(Y,{className:$.page_number_row,children:[a(H,{className:"col-auto p-0",children:a("button",{className:$.arrowBtn,onClick:()=>{n(1),window.scrollTo(0,0)},children:a("img",{src:wE,alt:"firstpage",className:`${$.arrow_btn_pic}`})})}),a(H,{className:"col-auto p-0",children:a("button",{className:$.arrowBtn,onClick:()=>{r!=1&&(n(r-1),window.scrollTo(0,0))},children:a("img",{src:SE,alt:"prepage",className:`${$.arrow_btn_pic}`})})}),A(H,{className:`${$.pageBtn} col-auto`,children:[a("span",{className:`${$.page_text}`,children:"Seite"}),"\xA0 \xA0",a("span",{className:`${$.page_number} ${$.page_num_color}`,children:r}),"\xA0",a("span",{className:`${$.page_number}`,children:"/"}),A("span",{className:`${$.page_number}`,children:["\xA0",i.length]})]}),a(H,{className:"col-auto p-0",children:a("button",{className:$.arrowBtn,onClick:()=>{r!=i.length&&(n(r+1),window.scrollTo(0,0))},children:a("img",{src:CE,alt:"nextpage",className:`${$.arrow_btn_pic}`})})}),a(H,{className:"col-auto p-0",children:a("button",{className:$.arrowBtn,onClick:()=>{n(i.length),window.scrollTo(0,0)},children:a("img",{src:EE,alt:"lastpage",className:`${$.arrow_btn_pic}`})})})]})})},NE=({projects:e,istlaufend:t,projectStatus:n,filterApplied:r})=>{const[i,o]=v.exports.useState(1),l=10,s=e.slice(i*l-l,i*l),u=c=>{o(c)};return v.exports.useEffect(()=>{r&&o(1)},[r]),e.length==0?A("div",{className:$.no_project_msg,children:["Kein ",n=="laufend"?"laufendes":""," Projekt gefunden."]}):A("div",{children:[s.map(c=>a(xE,{title:c.title.rendered,laufzeit:c.acf.Jahr,auftraggeber:c.acf.auftraggeber,laufend:c.istlaufend==t,detail:c},c.id)),a("div",{className:$.pageline,children:a(kE,{pageCount:e.length,postsPerPage:l,onPageChange:u,currentPage:i})})]})};class TE extends v.exports.Component{constructor(){super(...arguments);Ac(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n,r){console.error("ErrorBoundary component caught an error",n,r)}render(){return this.state.hasError?A("h2",{children:["There was an error with this listing. ",a($e,{to:"/",children:"Click Here"})," to back to the home page."]}):this.props.children}}const RE="_container_18j74_1",AE="_red_18j74_39",PE="_white_18j74_59",OE="_value_18j74_77",bE="_clearbtn_18j74_85",DE="_show_18j74_111",LE="_arrow_18j74_135",IE="_up_18j74_177",$E="_down_18j74_189",ME="_options_18j74_205",FE="_option_18j74_205",jE="_selected_18j74_291",zE="_highlighted_18j74_301",Fe={container:RE,red:AE,white:PE,value:OE,clearbtn:bE,show:DE,arrow:LE,up:IE,down:$E,options:ME,option:FE,selected:jE,highlighted:zE},_f=({isPreSelected:e,value:t,onChange:n,options:r,type:i,url:o})=>{const[l,s]=v.exports.useState(!1),[u,c]=Gu(""),[d,f]=v.exports.useState(e!=null),[p,y]=v.exports.useState(e==null),[_,w]=v.exports.useState(!e),[N,g]=v.exports.useState(!0),[m,h]=v.exports.useState("");function E(){n(void 0),f(!1),y(!0),w(!0),g(!0)}function T(C){n(C)}function S(C){return C==t}return v.exports.useEffect(()=>{l&&h(0)},[l]),v.exports.useEffect(()=>{const C=o.get(i);C?(T(C),f(!0),y(!1),s(!1),w(!1)):E()},[o]),A("div",{onBlur:()=>{s(!1),g(!0)},onClick:()=>{s(C=>!C),g(C=>!C)},tabIndex:0,className:`${Fe.container} ${p?Fe.red:Fe.white}`,children:[a("span",{className:Fe.value,children:t}),a("button",{onClick:C=>{C.stopPropagation(),E(),c(k=>(k.delete(i),k))},className:`${Fe.clearbtn} ${d?Fe.show:""}`,children:"\xD7"}),a("div",{className:`${Fe.arrow} ${N?Fe.down:Fe.up} ${_?Fe.show:""} }`}),a("ul",{className:`${Fe.options} ${l?Fe.show:""}`,children:r.map((C,k)=>a("ul",{onClick:j=>{j.stopPropagation(),T(C.title.rendered),f(!0),y(!1),s(!1),w(!1),c(b=>(C.title.rendered==null?b.delete(i):(b.delete(i),b.append(i,C.title.rendered)),b))},onMouseEnter:()=>h(k),className:`${Fe.option} ${S(C.title.rendered)?Fe.selected:""} ${k==m?Fe.highlighted:""}`,children:C.title.rendered},C.id))})]})},UE=({onChange:e,url:t})=>{const[n,r]=v.exports.useState(""),[i,o]=v.exports.useState(!0),[l,s]=Gu(""),u=d=>{d.target.value.length<=1&&d.key=="Backspace"&&(s(f=>(f.delete("Titel"),f)),o(!0),r(""),e(""))},c=d=>{e(d.target.value),s(f=>(f.delete("Titel"),f.append("Titel",d.target.value),f))};return v.exports.useEffect(()=>{const d=t.get("Titel");d?(r(d),e(d),o(!1)):(o(!0),r(""),e(""))},[t]),a("div",{className:"p-0",children:a("label",{htmlFor:"titleName",className:`${$.search_label}`,children:A("div",{className:`${$.clear_input_container}`,children:[a("input",{type:"text",id:"titleName",name:"searchtext",value:n,placeholder:"Suchen nach Title . . .",onChange:c,onKeyDown:u}),a("button",{className:`${$.clear_search}`,type:"reset","aria-label":"Clear input",title:"Clear input",hidden:i,onClick:()=>{o(!0),r(""),e(""),s(d=>(d.delete("Titel"),d))},children:"\xD7"})]})})})},BE="/bv2024_frontend/assets/undo.27b49693.svg",HE=()=>{const e=Wh(),t=_e(),[n,r]=Gu(),[i,o]=v.exports.useState(""),[l,s]=v.exports.useState(e.id=="laufend"?void 0:n.get("Dienstleistungen")),[u,c]=v.exports.useState(e.id=="laufend"?void 0:n.get("Themen")),[d,f]=v.exports.useState(e.id=="laufend"),[p,y]=v.exports.useState(!1);function _(q){c(q),y(!0)}function w(q){s(q),y(!0)}function N(q){o(q),y(q)}function g(){f(!1),c(void 0),s(void 0),o(""),y(!1),t("/Projekte")}const m=oe(["allprojects","projekte",""],le),h=oe(["alltopics","themen",""],le),E=oe(["services","dienstleistungen",""],le),T=oe(["istlaufend","istlaufend",""],le);if(m.isLoading||h.isLoading||E.isLoading||T.isLoading)return a(Re,{});(m.isError||h.isError||E.isError||T.isError)&&t("/NotMatch404");let S=fm(T.data,"Ja");const C=J0(m.data,T),j=(d?C:m.data).filter(q=>q.title.rendered.toLowerCase().indexOf(i.toLowerCase())!==-1),b=Z0(h,E,j,d?C:m.data,l,u,i);return A("div",{children:[a(U,{className:"categoryTitle",children:"PROJEKTE"}),a(U,{children:A(Y,{children:[a(H,{lg:4,children:A(Y,{className:`${$.left_side}`,children:[a(UE,{onChange:N,url:n}),a("br",{}),A("div",{className:`${$.filter_label}`,children:["Filtern nach Thema:",a("br",{}),a(_f,{isPreSelected:u!=null?u:void 0,value:u!=null?u:"Alle Themen",options:h.data,onChange:_,type:"Themen",url:n})]}),A("div",{className:`${$.filter_label}`,children:["Filtern nach Dienstleistung:",a("br",{}),a(_f,{isPreSelected:l!=null?l:void 0,value:l!=null?l:"Alle Dienstleistungen",options:E.data,onChange:w,type:"Dienstleistungen",url:n})]})]})}),A(H,{lg:8,children:[A("div",{className:`${$.container}
+ ${b.length==m.data.length?"":$.withbtn}
+ `,children:[a("span",{className:$.text,children:b.length==m.data.length?"Alle Projekte":`${b.length?`${b.length} ${e.id=="laufend"?`${b.length>1?"laufende Projekte gefunden.":"laufendes Projekt gefunden."}`:`${b.length>1?" Projekte gefunden.":" Projekt gefunden."}`} `:""}`}),A("button",{className:`${$.reset_btn}
+ ${b.length==m.data.length?"":$.show}
+ `,onClick:g,children:[a("span",{className:`${$.reset_btn_text}`,children:"Filter zur\xFCcksetzen"}),a("img",{src:BE,alt:"refresh page",height:"24px"})]})]}),a("hr",{className:$.hr}),a(NE,{projects:b,istlaufend:S,projectStatus:e.id,filterApplied:p})]})]})})]})};function xf(e){return a(TE,{children:a(HE,{...e})})}const WE="/bv2024_frontend/assets/map.33be5f33.png",QE="_message_4ix5c_1",KE="_contact_company_name_4ix5c_13",VE="_contact_addr_title_4ix5c_27",GE="_map_text_container_4ix5c_43",qE="_contact_addr_detail_4ix5c_53",YE="_addr_info_4ix5c_65",XE="_map_4ix5c_43",ZE="_contact_info_4ix5c_95",JE="_tel_info_4ix5c_107",eS="_text_underline_4ix5c_127",tS="_email_link_4ix5c_137",nS="_reverse_row_4ix5c_145",rS="_title_data_protection_4ix5c_155",iS="_email_data_protection_4ix5c_169",W={message:QE,contact_company_name:KE,contact_addr_title:VE,map_text_container:GE,contact_addr_detail:qE,addr_info:YE,map:XE,contact_info:ZE,tel_info:JE,text_underline:eS,email_link:tS,reverse_row:nS,title_data_protection:rS,email_data_protection:iS},oS=()=>{const e=_e(),t=oe(["Wegbeschreibung","pages/29060",""],le),n=oe(["staff_pic","media",29064],le);return n.isLoading||t.isLoading?a(Re,{}):((n.isError||t.isError)&&e("/NotMatch404"),A("div",{children:[a(U,{className:"categoryTitle",children:"KONTAKT"}),a(U,{className:`${W.message}`,children:"Wir freuen uns \xFCber Ihre Kontaktaufnahme!"}),A(U,{children:[A(Y,{className:`${W.reverse_row}`,children:[a(H,{xl:5,lg:4,xs:12,children:a("div",{children:A("div",{children:[A("div",{className:`${W.contact_company_name}`,children:["B\xFCro Vatter AG ",a("br",{})," Politikanalyse"]}),A("div",{className:`${W.contact_info}`,children:["Gerberngasse 27",a("br",{}),"CH-3011 Bern"]}),a("br",{}),a("div",{className:`${W.contact_info}`,children:a("a",{href:"tel:+41 31 312 65 75",className:` ${W.tel_info} `,children:"+41 31 312 65 75"})}),a("br",{}),a("div",{className:`${W.contact_info} ${W.text_underline}`,children:a("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"})}),a("br",{}),a("br",{}),A("div",{className:`${W.map_text_container}`,children:[a("span",{children:a("a",{href:"https://maps.app.goo.gl/pK5fmbpc5qx59JkW9",className:`${W.addr_info}`,children:"Google Maps"})}),a("span",{children:a("a",{href:n.data.source_url,className:`${W.addr_info}`,children:"Printable Map"})})]})]})})}),a(H,{xl:7,lg:8,xs:12,children:a("img",{className:`${W.map}`,src:WE,alt:"map"})})]}),a("div",{className:`${W.contact_addr_title}`,children:"Wegbeschreibung ab Bahnhof Bern"}),a("p",{className:`${W.contact_addr_detail}`,dangerouslySetInnerHTML:{__html:Zt.sanitize(t.data.content.rendered)}}),a("br",{})]})]}))},lS="/bv2024_frontend/assets/404.05213829.svg",sS=()=>A("div",{children:[a(U,{className:"error_pic_container",children:a("img",{src:lS,alt:"errorpage",className:"error_pic"})}),a(U,{className:"error_pic_container",children:A("div",{className:"error_pic_message",children:["M\xF6chten Sie zur\xA0",a($e,{to:"/",children:"Startseite"}),"\xA0zur\xFCckkehren?"]})})]}),aS=()=>A("div",{children:[a(U,{className:"categoryTitle",children:"IMPRESSUM"}),A(U,{children:[A("div",{className:`${W.title_data_protection}`,children:["B\xFCro Vatter AG",a("br",{}),"Politikforschung & -beratung"]}),a("div",{className:`${W.contact_info}`,children:"Gerberngasse 27"}),a("div",{className:`${W.contact_info}`,children:"CH-3011 Bern"}),a("br",{}),a("div",{className:`${W.contact_info}`,children:"+41 31 312 65 75"}),a("br",{}),a("div",{className:`${W.contact_info} ${W.text_underline} ${W.email_link}`,children:a("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"})})]})]}),uS=()=>A("div",{children:[a(U,{className:"categoryTitle",children:"Datenschutzerkl\xE4rung"}),a(U,{children:a("div",{children:A("p",{className:`${W.contact_info}`,children:[a("b",{}),a("br",{}),A("div",{className:`${W.title_data_protection}`,children:["B\xFCro Vatter AG",a("br",{}),"Politikforschung & -beratung"]}),"Gerberngasse 27",a("br",{}),"CH-3011 Bern",a("br",{}),"Schweiz",a("br",{}),a("span",{className:`${W.email_data_protection}`,children:"E-Mail"}),":",a("a",{href:"mailto:info@buerovatter.ch",children:"info@buerovatter.ch"}),a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Vertretungsberechtigte Person"}),"Christian R\xFCefli",a("br",{}),a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Name des Unternehmens"}),"B\xFCro Vatter AG",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Datenschutzbeauftragte Person:"}),"Christian R\xFCefli",a("br",{}),"Tel +31 312 65 75",a("br",{}),a("a",{href:"mailto:ruefli@buerovatter.ch",children:"ruefli@buerovatter.ch"}),a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Allgemein"}),"Gest\xFCtzt auf Artikel 13 der Schweizerischen Bundesverfassung und die datenschutzrechtlichen Bestimmungen des Bundes (Datenschutzgesetz, DSG) hat jede Person Anspruch auf Schutz ihrer Privatsph\xE4re sowie auf Schutz vor Missbrauch ihrer pers\xF6nlichen Daten. Die Betreiber dieser Seiten nehmen den Schutz Ihrer pers\xF6nlichen Daten sehr ernst. Wir behandeln Ihre personenbezogenen Daten vertraulich und entsprechend der gesetzlichen Datenschutzvorschriften sowie dieser Datenschutzerkl\xE4rung.",a("br",{})," ",a("br",{}),"In Zusammenarbeit mit unseren Hosting-Providern bem\xFChen wir uns, die Datenbanken so gut wie m\xF6glich vor unberechtigtem Zugriff, Verlust, Missbrauch oder Verf\xE4lschung zu sch\xFCtzen. ",a("br",{})," ",a("br",{}),"Wir weisen darauf hin, dass die Daten\xFCbertragung im Internet (z.B. bei der Kommunikation per E-Mail) Sicherheitsl\xFCcken aufweisen kann. Ein l\xFCckenloser Schutz der Daten vor dem Zugriff durch Dritte ist nicht m\xF6glich.",a("br",{})," ",a("br",{}),"Durch die Nutzung dieser Website erkl\xE4ren Sie sich mit der Erhebung, Verarbeitung und Nutzung von Daten gem\xE4\xDF der nachfolgenden Beschreibung einverstanden. Diese Website kann grunds\xE4tzlich ohne Registrierung besucht werden. Daten wie aufgerufene Seiten oder Namen von aufgerufenen Dateien, Datum und Uhrzeit werden zu statistischen Zwecken auf dem Server gespeichert, ohne dass diese Daten unmittelbar auf Ihre Person bezogen werden. Soweit auf unseren Seiten personenbezogene Daten (beispielsweise Name, Anschrift oder eMail-Adressen) erhoben werden, erfolgt dies, soweit m\xF6glich, stets auf freiwilliger Basis. Diese Daten werden ohne Ihre ausdr\xFCckliche Zustimmung nicht an Dritte weitergegeben.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Mit SSL/TLS-Verschl\xFCsselung"}),'Diese Website verwendet aus Sicherheitsgr\xFCnden und zum Schutz der \xDCbertragung vertraulicher Inhalte, wie z.B. Anfragen, die Sie an uns als Seitenbetreiber senden, eine SSL/TLS-Verschl\xFCsselung. Eine verschl\xFCsselte Verbindung erkennen Sie daran, dass die Adresszeile des Browsers von ""http://"" auf ""https://"" wechselt und an dem Schloss-Symbol in Ihrer Browserzeile.',a("br",{})," ",a("br",{}),"Wenn die SSL- oder TLS-Verschl\xFCsselung aktiviert ist, k\xF6nnen die Daten, die Sie an uns \xFCbermitteln, nicht von Dritten gelesen werden.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Server-Log-Dateien"}),"Der Provider dieser Website erhebt und speichert automatisch Informationen in so genannten Server-Log-Dateien, die Ihr Browser automatisch an uns \xFCbermittelt. Dies sind:",a("br",{}),"Browsertyp und Browserversion",a("br",{}),"Verwendetes Betriebssystem",a("br",{}),"Referrer URL",a("br",{}),"Hostname des zugreifenden Rechners",a("br",{}),"Zeitpunkt der Serveranfrage",a("br",{})," ",a("br",{}),"Diese Daten sind nicht bestimmten Personen zuordenbar. Eine Zusammenf\xFChrung dieser Daten mit anderen Datenquellen wird nicht vorgenommen. Wir behalten uns vor, diese Daten nachtr\xE4glich zu pr\xFCfen, wenn uns konkrete Anhaltspunkte f\xFCr eine rechtswidrige Nutzung bekannt werden.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Haftungsausschluss"}),"Alle Angaben auf unserer Website wurden sorgf\xE4ltig gepr\xFCft. Wir sind bem\xFCht, daf\xFCr Sorge zu tragen, dass die von uns bereitgestellten Informationen aktuell, richtig und vollst\xE4ndig sind. Dennoch ist das Auftreten von Fehlern nicht v\xF6llig auszuschlie\xDFen, so dass wir f\xFCr die Vollst\xE4ndigkeit, Richtigkeit und Aktualit\xE4t der Informationen, auch journalistisch-redaktioneller Art, keine Gew\xE4hr \xFCbernehmen k\xF6nnen. Haftungsanspr\xFCche, die sich auf Sch\xE4den materieller oder ideeller Art beziehen, welche durch die Nutzung oder Nichtnutzung der dargebotenen Informationen bzw. durch die Nutzung fehlerhafter und unvollst\xE4ndiger Informationen verursacht wurden, sind grunds\xE4tzlich ausgeschlossen. ",a("br",{}),"Der Herausgeber kann Texte nach eigenem Ermessen und ohne vorherige Ank\xFCndigung \xE4ndern oder l\xF6schen und ist nicht dazu verpflichtet, die Inhalte dieser Website zu aktualisieren. Die Nutzung dieser Website bzw. der Zugang zu ihr erfolgt auf eigenes Risiko des Besuchers. Der Herausgeber, seine Kunden oder Partner sind nicht verantwortlich f\xFCr Sch\xE4den, wie z.B. direkte, indirekte, zuf\xE4llige oder Folgesch\xE4den, die angeblich durch den Besuch dieser Website verursacht wurden und \xFCbernehmen folglich keine Haftung f\xFCr solche Sch\xE4den.",a("br",{}),"Der Herausgeber \xFCbernimmt auch keine Verantwortung oder Haftung f\xFCr den Inhalt und die Verf\xFCgbarkeit von Websites Dritter, die \xFCber externe Links von dieser Website aus erreicht werden k\xF6nnen. F\xFCr den Inhalt der verlinkten Seiten sind ausschlie\xDFlich deren Betreiber verantwortlich. Der Herausgeber distanziert sich daher ausdr\xFCcklich von allen fremden Inhalten, die m\xF6glicherweise straf- oder haftungsrechtlich relevant sind oder gegen die guten Sitten versto\xDFen.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Google Maps"}),"Diese Website nutzt das Angebot von Google Maps. Dies erm\xF6glicht es uns, interaktive Karten direkt auf der Website darzustellen und Ihnen die komfortable Nutzung der Kartenfunktion zu erm\xF6glichen. Durch den Besuch der Website erh\xE4lt Google die Information, dass Sie die entsprechende Unterseite unserer Website aufgerufen haben. Dies geschieht unabh\xE4ngig davon, ob Google ein Nutzerkonto bereitstellt, \xFCber das Sie eingeloggt sind, oder ob kein Nutzerkonto vorhanden ist. Wenn Sie bei Google eingeloggt sind, werden Ihre Daten direkt Ihrem Konto zugeordnet. Wenn Sie die Zuordnung zu Ihrem Profil bei Google nicht w\xFCnschen, m\xFCssen Sie sich vor Aktivierung der Schaltfl\xE4che ausloggen. Google speichert Ihre Daten als Nutzungsprofile und nutzt sie f\xFCr Zwecke der Werbung, Marktforschung und/oder bedarfsgerechten Gestaltung seiner Website. Eine solche Auswertung erfolgt insbesondere (auch f\xFCr nicht eingeloggte Nutzer) zur Erbringung bedarfsgerechter Werbung und um andere Nutzer des sozialen Netzwerks \xFCber Ihre Aktivit\xE4ten auf unserer Website zu informieren. Sie haben das Recht, der Erstellung dieser Nutzerprofile zu widersprechen, wobei Sie sich zur Aus\xFCbung dieses Rechts an Google wenden m\xFCssen. N\xE4here Informationen zu Zweck und Umfang der Datenerhebung und -verarbeitung durch Google sowie weitere Informationen zu Ihren diesbez\xFCglichen Rechten und Einstellungsm\xF6glichkeiten zum Schutz Ihrer Privatsph\xE4re finden Sie unter: www.google.de/intl/de/policies/privacy.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Daten\xFCbermittlung in die USA"}),"Auf unserer Website sind u.a. Tools von Unternehmen mit Sitz in den USA eingebunden. Wenn diese Tools aktiv sind, k\xF6nnen Ihre personenbezogenen Daten an die US-Server der jeweiligen Unternehmen \xFCbertragen werden. Wir weisen darauf hin, dass die USA kein sicherer Drittstaat im Sinne des EU-Datenschutzrechts sind. US-Unternehmen sind verpflichtet, personenbezogene Daten an Sicherheitsbeh\xF6rden herauszugeben, ohne dass Sie als Betroffener dagegen rechtlich vorgehen k\xF6nnen. Es kann daher nicht ausgeschlossen werden, dass US-Beh\xF6rden (z.B. Geheimdienste) Ihre auf US-Servern befindlichen Daten zu \xDCberwachungszwecken verarbeiten, auswerten und dauerhaft speichern. Auf diese Verarbeitungsvorg\xE4nge haben wir keinen Einfluss.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"\xC4nderungen"}),"Wir k\xF6nnen diese Datenschutzrichtlinie jederzeit ohne vorherige Ank\xFCndigung \xE4ndern. Es gilt die jeweils aktuelle, auf unserer Website ver\xF6ffentlichte Fassung. Soweit die Datenschutzerkl\xE4rung Teil einer Vereinbarung mit Ihnen ist, werden wir Sie im Falle einer Aktualisierung per E-Mail oder auf andere geeignete Weise \xFCber die \xC4nderung informieren.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Haftungsausschluss"}),"Der Autor \xFCbernimmt keine Gew\xE4hr f\xFCr die Richtigkeit, Genauigkeit, Aktualit\xE4t, Zuverl\xE4ssigkeit und Vollst\xE4ndigkeit der Informationen.",a("br",{}),"Haftungsanspr\xFCche gegen den Autor wegen Sch\xE4den materieller oder immaterieller Art, die aus dem Zugriff oder der Nutzung bzw. Nichtnutzung der ver\xF6ffentlichten Informationen, durch Missbrauch der Verbindung oder durch technische St\xF6rungen entstanden sind, werden ausgeschlossen.",a("br",{})," ",a("br",{}),"Alle Angebote sind freibleibend. Der Autor beh\xE4lt es sich ausdr\xFCcklich vor, Teile der Seiten oder das gesamte Angebot ohne gesonderte Ank\xFCndigung zu ver\xE4ndern, zu erg\xE4nzen, zu l\xF6schen oder die Ver\xF6ffentlichung zeitweise oder endg\xFCltig einzustellen.",a("br",{})," ",a("br",{}),a("div",{className:`${W.title_data_protection}`,children:"Quelle"}),a("a",{href:"https://brainbox.swiss/",children:"BrainBox Solutions"})]})})})]}),Os="/bv2024_frontend/assets/Home.d233cde0.png",cS="/bv2024_frontend/assets/Dienstleistungen.ee2854c9.png",dS="/bv2024_frontend/assets/Kontakt.e3e8d695.png",fS="/bv2024_frontend/assets/Mitarbeitende.a58219c1.png",pS="/bv2024_frontend/assets/Home.d233cde0.png",hS="/bv2024_frontend/assets/Projekte.b5edb7d6.png",mS="/bv2024_frontend/assets/Projekte.b5edb7d6.png",gS="/bv2024_frontend/assets/Themen.e1598e5b.png",vS="_titleImg_1ft0v_1",yS="_caption_1ft0v_17",wf={titleImg:vS,caption:yS},_S=({page:e})=>{let t=e.split("/",1)[0],n=Os,r="";switch(t){case"":r="Willkommen beim B\xFCro Vatter",n=Os;break;case"Projekte":n=hS;break;case"Projekt":n=mS;break;case"Dienstleistungen":n=cS;break;case"Mitarbeitende":n=fS;break;case"Kontakt":n=dS;break;case"Themen":n=gS;break;case"NotMatch404":n=pS;break;default:r="",n=Os;break}return a("div",{className:`${wf.titleImg}`,style:{backgroundImage:`url(${n})`},children:a("div",{className:`${wf.caption}`,children:a("div",{className:" fluid container p-0 ",children:r})})})},xS="/bv2024_frontend/assets/bv_logo.21578d65.svg",wS="/bv2024_frontend/assets/side_logo.4326d67f.svg";function ii(...e){return e.filter(t=>t!=null).reduce((t,n)=>{if(typeof n!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return t===null?n:function(...i){t.apply(this,i),n.apply(this,i)}},null)}const ES={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function SS(e,t){const n=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[n],i=ES[e];return r+parseInt(Vt(t,i[0]),10)+parseInt(Vt(t,i[1]),10)}const CS={[sn]:"collapse",[Fi]:"collapsing",[Ct]:"collapsing",[Ht]:"collapse show"},kS=Ie.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,className:o,children:l,dimension:s="height",in:u=!1,timeout:c=300,mountOnEnter:d=!1,unmountOnExit:f=!1,appear:p=!1,getDimensionValue:y=SS,..._},w)=>{const N=typeof s=="function"?s():s,g=v.exports.useMemo(()=>ii(S=>{S.style[N]="0"},e),[N,e]),m=v.exports.useMemo(()=>ii(S=>{const C=`scroll${N[0].toUpperCase()}${N.slice(1)}`;S.style[N]=`${S[C]}px`},t),[N,t]),h=v.exports.useMemo(()=>ii(S=>{S.style[N]=null},n),[N,n]),E=v.exports.useMemo(()=>ii(S=>{S.style[N]=`${y(N,S)}px`,wm(S)},r),[r,y,N]),T=v.exports.useMemo(()=>ii(S=>{S.style[N]=null},i),[N,i]);return a(ic,{ref:w,addEndListener:rc,..._,"aria-expanded":_.role?u:null,onEnter:g,onEntering:m,onEntered:h,onExit:E,onExiting:T,childRef:l.ref,in:u,timeout:c,mountOnEnter:d,unmountOnExit:f,appear:p,children:(S,C)=>Ie.cloneElement(l,{...C,className:ce(o,l.props.className,CS[S],N==="width"&&"collapse-horizontal")})})}),NS=kS,TS=e=>v.exports.forwardRef((t,n)=>a("div",{...t,ref:n,className:ce(t.className,e)})),RS={"aria-label":Et.exports.string,onClick:Et.exports.func,variant:Et.exports.oneOf(["white"])},sc=v.exports.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>a("button",{ref:i,type:"button",className:ce("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));sc.displayName="CloseButton";sc.propTypes=RS;const AS=sc;function PS(e){const t=v.exports.useRef(e);return t.current=e,t}function OS(e){const t=PS(e);v.exports.useEffect(()=>()=>t.current(),[])}function Ef(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const Hm=v.exports.createContext(Ml?window:void 0);Hm.Provider;function ac(){return v.exports.useContext(Hm)}function bs(e){e===void 0&&(e=nc());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function bS(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const Sf=Fl("modal-open");class uc{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return bS(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[r]:i.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(Vt(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(Sf,""),Vt(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(Sf),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Ds=(e,t)=>Ml?e==null?(t||nc()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function DS(e,t){const n=ac(),[r,i]=v.exports.useState(()=>Ds(e,n==null?void 0:n.document));if(!r){const o=Ds(e);o&&i(o)}return v.exports.useEffect(()=>{t&&r&&t(r)},[t,r]),v.exports.useEffect(()=>{const o=Ds(e);o!==r&&i(o)},[e,r]),r}function LS({in:e,onTransition:t}){const n=v.exports.useRef(null),r=v.exports.useRef(!0),i=ft(t);return Ga(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),Ga(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function IS({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,l]=v.exports.useState(!t);t&&o&&l(!1);const s=LS({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?r==null||r(c.element,c.initial):(l(!0),n==null||n(c.element)))};Promise.resolve(i(c)).then(d,f=>{throw c.in||l(!0),f})}}),u=$l(s,e.ref);return o&&!t?null:v.exports.cloneElement(e,{ref:u})}function Cf(e,t,n){return e?a(e,Object.assign({},n)):t?a(IS,Object.assign({},n,{transition:t})):a(tc,Object.assign({},n))}function $S(e){return e.code==="Escape"||e.keyCode===27}const MS=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function FS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}let Ls;function jS(e){return Ls||(Ls=new uc({ownerDocument:e==null?void 0:e.document})),Ls}function zS(e){const t=ac(),n=e||jS(t),r=v.exports.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:v.exports.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:v.exports.useCallback(i=>{r.current.backdrop=i},[])})}const Wm=v.exports.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:l,backdrop:s=!0,keyboard:u=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:f,runTransition:p,backdropTransition:y,runBackdropTransition:_,autoFocus:w=!0,enforceFocus:N=!0,restoreFocus:g=!0,restoreFocusOptions:m,renderDialog:h,renderBackdrop:E=J=>a("div",Object.assign({},J)),manager:T,container:S,onShow:C,onHide:k=()=>{},onExit:j,onExited:b,onExiting:q,onEnter:Qe,onEntering:Ce,onEntered:Mt}=e,tn=FS(e,MS);const Ke=ac(),Ve=DS(S),P=zS(T),L=g1(),z=v1(n),[F,Z]=v.exports.useState(!n),V=v.exports.useRef(null);v.exports.useImperativeHandle(t,()=>P,[P]),Ml&&!z&&n&&(V.current=bs(Ke==null?void 0:Ke.document)),n&&F&&Z(!1);const ge=ft(()=>{if(P.add(),Pt.current=ml(document,"keydown",Qi),Zn.current=ml(document,"focus",()=>setTimeout(Ae),!0),C&&C(),w){var J,Rn;const er=bs((J=(Rn=P.dialog)==null?void 0:Rn.ownerDocument)!=null?J:Ke==null?void 0:Ke.document);P.dialog&&er&&!Ef(P.dialog,er)&&(V.current=er,P.dialog.focus())}}),de=ft(()=>{if(P.remove(),Pt.current==null||Pt.current(),Zn.current==null||Zn.current(),g){var J;(J=V.current)==null||J.focus==null||J.focus(m),V.current=null}});v.exports.useEffect(()=>{!n||!Ve||ge()},[n,Ve,ge]),v.exports.useEffect(()=>{!F||de()},[F,de]),OS(()=>{de()});const Ae=ft(()=>{if(!N||!L()||!P.isTopModal())return;const J=bs(Ke==null?void 0:Ke.document);P.dialog&&J&&!Ef(P.dialog,J)&&P.dialog.focus()}),At=ft(J=>{J.target===J.currentTarget&&(c==null||c(J),s===!0&&k())}),Qi=ft(J=>{u&&$S(J)&&P.isTopModal()&&(d==null||d(J),J.defaultPrevented||k())}),Zn=v.exports.useRef(),Pt=v.exports.useRef(),Ft=(...J)=>{Z(!0),b==null||b(...J)};if(!Ve)return null;const Jn=Object.assign({role:r,ref:P.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},tn,{style:o,className:i,tabIndex:-1});let Tn=h?h(Jn):a("div",Object.assign({},Jn,{children:v.exports.cloneElement(l,{role:"document"})}));Tn=Cf(f,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:j,onExiting:q,onExited:Ft,onEnter:Qe,onEntering:Ce,onEntered:Mt,children:Tn});let yt=null;return s&&(yt=E({ref:P.setBackdropRef,onClick:At}),yt=Cf(y,_,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:yt})),a(sl,{children:wr.createPortal(A(sl,{children:[yt,Tn]}),Ve)})});Wm.displayName="Modal";const US=Object.assign(Wm,{Manager:uc});function BS(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function HS(e,t){e.classList?e.classList.add(t):BS(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function kf(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function WS(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=kf(e.className,t):e.setAttribute("class",kf(e.className&&e.className.baseVal||"",t))}const sr={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Qm extends uc{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,Vt(n,{[t]:`${parseFloat(Vt(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Vt(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(HS(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";In(n,sr.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),In(n,sr.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),In(n,sr.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();WS(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";In(n,sr.FIXED_CONTENT).forEach(o=>this.restore(r,o)),In(n,sr.STICKY_CONTENT).forEach(o=>this.restore(i,o)),In(n,sr.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Is;function QS(e){return Is||(Is=new Qm(e)),Is}const KS=Qm,VS=v.exports.createContext({onHide(){}}),Km=VS,GS=v.exports.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},l)=>{const s=v.exports.useContext(Km),u=ft(()=>{s==null||s.onHide(),r==null||r()});return A("div",{ref:l,...o,children:[i,n&&a(AS,{"aria-label":e,variant:t,onClick:u})]})}),qS=GS,Vm=v.exports.forwardRef(({bsPrefix:e,className:t,as:n,...r},i)=>{e=Se(e,"navbar-brand");const o=n||(r.href?"a":"span");return a(o,{...r,ref:i,className:ce(t,e)})});Vm.displayName="NavbarBrand";const YS=Vm,Gm=v.exports.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=Se(t,"navbar-collapse");const i=v.exports.useContext(Xn);return a(NS,{in:!!(i&&i.expanded),...n,children:a("div",{ref:r,className:t,children:e})})});Gm.displayName="NavbarCollapse";const XS=Gm,qm=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:i="button",onClick:o,...l},s)=>{e=Se(e,"navbar-toggler");const{onToggle:u,expanded:c}=v.exports.useContext(Xn)||{},d=ft(f=>{o&&o(f),u&&u()});return i==="button"&&(l.type="button"),a(i,{...l,ref:s,onClick:d,"aria-label":r,className:ce(t,e,!c&&"collapsed"),children:n||a("span",{className:`${e}-icon`})})});qm.displayName="NavbarToggle";const ZS=qm,qa=new WeakMap,Nf=(e,t)=>{if(!e||!t)return;const n=qa.get(t)||new Map;qa.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function JS(e,t=typeof window>"u"?void 0:window){const n=Nf(e,t),[r,i]=v.exports.useState(()=>n?n.matches:!1);return Ga(()=>{let o=Nf(e,t);if(!o)return i(!1);let l=qa.get(t);const s=()=>{i(o.matches)};return o.refCount++,o.addListener(s),s(),()=>{o.removeListener(s),o.refCount--,o.refCount<=0&&(l==null||l.delete(o.media)),o=void 0}},[e]),r}function eC(e){const t=Object.keys(e);function n(s,u){return s===u?u:s?`${s} and ${u}`:u}function r(s){return t[Math.min(t.indexOf(s)+1,t.length-1)]}function i(s){const u=r(s);let c=e[u];return typeof c=="number"?c=`${c-.2}px`:c=`calc(${c} - 0.2px)`,`(max-width: ${c})`}function o(s){let u=e[s];return typeof u=="number"&&(u=`${u}px`),`(min-width: ${u})`}function l(s,u,c){let d;typeof s=="object"?(d=s,c=u,u=!0):(u=u||!0,d={[s]:u});let f=v.exports.useMemo(()=>Object.entries(d).reduce((p,[y,_])=>((_==="up"||_===!0)&&(p=n(p,o(y))),(_==="down"||_===!0)&&(p=n(p,i(y))),p),""),[JSON.stringify(d)]);return JS(f,c)}return l}const tC=eC({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),Ym=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=Se(t,"offcanvas-body"),a(n,{ref:i,className:ce(e,t),...r})));Ym.displayName="OffcanvasBody";const nC=Ym,rC={[Ct]:"show",[Ht]:"show"},Xm=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:i=!1,unmountOnExit:o=!1,appear:l=!1,...s},u)=>(e=Se(e,"offcanvas"),a(ic,{ref:u,addEndListener:rc,in:r,mountOnEnter:i,unmountOnExit:o,appear:l,...s,childRef:n.ref,children:(c,d)=>v.exports.cloneElement(n,{...d,className:ce(t,n.props.className,(c===Ct||c===Fi)&&`${e}-toggling`,rC[c])})})));Xm.displayName="OffcanvasToggling";const iC=Xm,Zm=v.exports.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=Se(e,"offcanvas-header"),a(qS,{ref:o,...i,className:ce(t,e),closeLabel:n,closeButton:r})));Zm.displayName="OffcanvasHeader";const oC=Zm,lC=TS("h5"),Jm=v.exports.forwardRef(({className:e,bsPrefix:t,as:n=lC,...r},i)=>(t=Se(t,"offcanvas-title"),a(n,{ref:i,className:ce(e,t),...r})));Jm.displayName="OffcanvasTitle";const sC=Jm;function aC(e){return a(iC,{...e})}function uC(e){return a(oc,{...e})}const eg=v.exports.forwardRef(({bsPrefix:e,className:t,children:n,"aria-labelledby":r,placement:i="start",responsive:o,show:l=!1,backdrop:s=!0,keyboard:u=!0,scroll:c=!1,onEscapeKeyDown:d,onShow:f,onHide:p,container:y,autoFocus:_=!0,enforceFocus:w=!0,restoreFocus:N=!0,restoreFocusOptions:g,onEntered:m,onExit:h,onExiting:E,onEnter:T,onEntering:S,onExited:C,backdropClassName:k,manager:j,renderStaticNode:b=!1,...q},Qe)=>{const Ce=v.exports.useRef();e=Se(e,"offcanvas");const{onToggle:Mt}=v.exports.useContext(Xn)||{},[tn,Ke]=v.exports.useState(!1),Ve=tC(o||"xs","up");v.exports.useEffect(()=>{Ke(o?l&&!Ve:l)},[l,o,Ve]);const P=ft(()=>{Mt==null||Mt(),p==null||p()}),L=v.exports.useMemo(()=>({onHide:P}),[P]);function z(){return j||(c?(Ce.current||(Ce.current=new KS({handleContainerOverflow:!1})),Ce.current):QS())}const F=(de,...Ae)=>{de&&(de.style.visibility="visible"),T==null||T(de,...Ae)},Z=(de,...Ae)=>{de&&(de.style.visibility=""),C==null||C(...Ae)},V=v.exports.useCallback(de=>a("div",{...de,className:ce(`${e}-backdrop`,k)}),[k,e]),ge=de=>a("div",{...de,...q,className:ce(t,o?`${e}-${o}`:e,`${e}-${i}`),"aria-labelledby":r,children:n});return A(sl,{children:[!tn&&(o||b)&&ge({}),a(Km.Provider,{value:L,children:a(US,{show:tn,ref:Qe,backdrop:s,container:y,keyboard:u,autoFocus:_,enforceFocus:w&&!c,restoreFocus:N,restoreFocusOptions:g,onEscapeKeyDown:d,onShow:f,onHide:P,onEnter:F,onEntering:S,onEntered:m,onExit:h,onExiting:E,onExited:Z,manager:z(),transition:aC,backdropTransition:uC,renderBackdrop:V,renderDialog:ge})})]})});eg.displayName="Offcanvas";const Io=Object.assign(eg,{Body:nC,Header:oC,Title:sC}),tg=v.exports.forwardRef((e,t)=>{const n=v.exports.useContext(Xn);return a(Io,{ref:t,show:!!(n!=null&&n.expanded),...e,renderStaticNode:!0})});tg.displayName="NavbarOffcanvas";const cC=tg,ng=v.exports.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=Se(t,"navbar-text"),a(n,{ref:i,className:ce(e,t),...r})));ng.displayName="NavbarText";const dC=ng,rg=v.exports.forwardRef((e,t)=>{const{bsPrefix:n,expand:r=!0,variant:i="light",bg:o,fixed:l,sticky:s,className:u,as:c="nav",expanded:d,onToggle:f,onSelect:p,collapseOnSelect:y=!1,..._}=Rm(e,{expanded:"onToggle"}),w=Se(n,"navbar"),N=v.exports.useCallback((...h)=>{p==null||p(...h),y&&d&&(f==null||f(!1))},[p,y,d,f]);_.role===void 0&&c!=="nav"&&(_.role="navigation");let g=`${w}-expand`;typeof r=="string"&&(g=`${g}-${r}`);const m=v.exports.useMemo(()=>({onToggle:()=>f==null?void 0:f(!d),bsPrefix:w,expanded:!!d,expand:r}),[w,d,r,f]);return a(Xn.Provider,{value:m,children:a(Vn.Provider,{value:N,children:a(c,{ref:t,..._,className:ce(u,w,r&&g,i&&`${w}-${i}`,o&&`bg-${o}`,s&&`sticky-${s}`,l&&`fixed-${l}`)})})})});rg.displayName="Navbar";const yo=Object.assign(rg,{Brand:YS,Collapse:XS,Offcanvas:cC,Text:dC,Toggle:ZS}),fC=()=>{let t=$t().pathname.substring(1);const n=v.exports.useRef();function r(){n.current.backdrop&&n.current.backdrop.click()}return A(U,{fluid:!0,className:"header_container",children:[a(yo,{collapseOnSelect:!0,expand:"lg",className:"fixed-top bg-white navbar-light flex-nowrap",children:A(U,{className:"align-items-end header_nav_content",children:[a(yo.Brand,{id:"logo_nav_container",children:A($e,{to:"/",className:"navbar-brand",children:[a("img",{src:xS,alt:"logo",height:"100px",className:"main_logo"}),a("img",{src:wS,height:"98px",alt:"side_logo",className:"side_logo align-bottom"})]})}),a(yo.Toggle,{"aria-controls":"offcanvasNavbar-expand-lg",className:"mb-2"}),A(yo.Offcanvas,{id:"offcanvasNavbar-expand-lg","aria-labelledby":"offcanvasNavbar-expand-lg",placement:"end",className:"w-50",ref:n,children:[a(Io.Header,{closeButton:!0,children:a(Io.Title,{id:"offcanvasNavbar-expand-lg"})}),a(Io.Body,{className:"justify-content-end mb-2",children:A(Lo,{className:"navbar_column nav-item",children:[a(Jr,{reloaddocument:"true",className:"nav-link","aria-current":"page",to:"/Dienstleistungen",onClick:r,children:"Dienstleistungen"}),a(Jr,{reloaddocument:"true",to:"/Mitarbeitende",className:"nav-link",onClick:r,children:"\xDCber uns"}),a(Jr,{reloaddocument:"true",to:"/Themen",className:"nav-link",onClick:r,children:"Themen"}),a(Jr,{reloaddocument:"true",to:"/Projekte",className:"nav-link",onClick:r,children:"Projekte"}),a(Jr,{reloaddocument:"true",to:"/Kontakt",className:"nav-link",onClick:r,children:"Kontakt"})]})})]})]})}),a(U,{fluid:!0,className:"title_pic_content",children:a(_S,{page:t})})]})},pC="/bv2024_frontend/assets/linkedin_logo_l.ef097f7b.png",hC="_footer_139iy_3",mC="_footer_text_139iy_15",gC="_copyright_139iy_29",$s={footer:hC,footer_text:mC,copyright:gC},vC=()=>a(U,{fluid:!0,className:`border-top ${$s.footer}`,children:a(U,{className:"text-center",children:A("div",{className:"row flex-row-reverse",children:[a("section",{className:`col-xxl-6 text-xxl-end ${$s.footer_text}`,children:A("span",{children:[a($e,{to:"/Kontakt",children:"Kontakt"}),"\xA0 | \xA0",a($e,{to:"/Imprint",children:"Impressum"}),"\xA0 | \xA0",a($e,{to:"/DataProtection",children:"Datenschutzerkl\xE4rung"})]})}),a("section",{id:"LinkedIn",className:"col-xxl-3 mb-md-2",children:a("a",{href:"https://www.linkedin.com/company/buerovatter-politikanalyse/",children:a("img",{src:pC,alt:"linkedin",width:"90px",height:"22px"})})}),a("section",{className:`col-xxl-3 text-xxl-start text-nowrap ${$s.copyright}`,children:"\xA9 2024 B\xFCro Vatter"})]})})}),Ms=e=>{const t=_e(),n=oe(["downloads_1",`media/${e.prop}`,""],le);return n.isLoading?a(Re,{}):(n.isError&&t("/NotMatch404"),a("div",{children:a(Y,{children:a("a",{className:`${$.download_list}`,href:n.data.source_url,children:A("div",{className:"d-flex justify-content-between",children:[a("span",{className:"symbol",dangerouslySetInnerHTML:{__html:Zt.sanitize(n.data.title.rendered)}}),a("img",{src:Bm,width:"24px",height:"24px",alt:"herunterladen"})]})})})}))},yC=()=>{const t=$t().state,n=t.acf,r=n.kooperationspartner.split(`\r
`),i=n.vorgehenmethoden.split(`\r
-`);return A("div",{children:[a(U,{className:"categoryTitle",children:"PROJEKTE"}),a(U,{children:A(Y,{className:`${M.reverse_row}`,children:[A(B,{xl:8,children:[a(Y,{children:a(B,{className:`${M.project_detail_title}`,children:t.title.rendered})}),n.kooperationspartner?A(Y,{children:[a(B,{className:`${M.detail_left}`,xl:3,children:"Kooperationspartner"}),a(B,{className:`${M.detail_right}`,xl:9,children:r.map((o,l)=>a("ul",{className:`${M.partner}`,children:o},l))}),a("hr",{})]}):null,n.auftraggeber?A(Y,{children:[a(B,{className:`${M.detail_left}`,xl:3,children:"Auftraggeber"}),a(B,{className:`${M.detail_right}`,xl:9,children:n.auftraggeber}),a("hr",{})]}):null,n.Jahr?A(Y,{children:[a(B,{className:`${M.detail_left}`,xl:3,children:"Laufzeit"}),a(B,{className:`${M.detail_right}`,xl:9,children:n.Jahr}),a("hr",{})]}):null,n.inhalte?A(Y,{children:[a(B,{className:`${M.detail_left}`,xl:3,children:"Inhalte"}),a(B,{className:`${M.detail_right}`,xl:9,children:n.inhalte}),a("hr",{})]}):null,n.vorgehenmethoden?A(Y,{children:[a(B,{className:`${M.detail_left}`,xl:3,children:"Vorgehen/Methoden"}),a(B,{className:`${M.detail_right}`,xl:9,children:i.map((o,l)=>A("ul",{className:`${M.method}`,children:["-",o]},l))}),a("hr",{})]}):null,n.downloads_1||n.downloads_2||n.downloads_3?a(Y,{children:A(B,{children:[a(Y,{className:`${M.detail_left}`,xl:3,children:"Downloads"}),n.downloads_1?a(Y,{className:`${M.detail_right}`,xl:9,children:a($s,{prop:n.downloads_1})}):null,n.downloads_2?a(Y,{className:`${M.detail_right}`,xl:9,children:a($s,{prop:n.downloads_2})}):null,n.downloads_3?a(Y,{className:`${M.detail_right}`,xl:9,children:a($s,{prop:n.downloads_3})}):null,a("hr",{})]})}):null]}),a(B,{xl:4,children:a(Me,{to:"/Projekte",children:A("button",{className:`${M.back_to_project_btn}`,children:[a("img",{src:Um,alt:"refresh page",height:"24px"}),a("span",{className:`${M.back_to_project_btn_text}`,children:"Alle Projekte anzeigen"})]})})})]})})]})},yC=()=>{const{pathname:e}=Mt();return v.exports.useEffect(()=>{window.scrollTo(0,0)},[e]),null},_C=new e0({defautlOptions:{queries:{staleTime:1/0,cacheTime:1/0}}}),xC=()=>a("div",{className:"App",children:A(F_,{onUpdate:()=>window.scrollTo(0,0),children:[A(h0,{client:_C,children:[a(dC,{}),a("div",{className:"main",children:A(b_,{forceRefresh:!0,children:[a(nt,{path:"/",element:a(h1,{})}),a(nt,{path:"/Dienstleistungen",element:a(Mx,{})}),a(nt,{path:"/Mitarbeitende",element:a(fw,{})}),a(nt,{path:"/Mitarbeitende/:name/:id",element:a(_w,{})}),a(nt,{path:"/Themen",element:a(Aw,{})}),a(nt,{path:"/Projekte",element:a(xf,{})}),a(nt,{path:"/Projekte/:id",element:a(xf,{})}),a(nt,{path:"/Projekte/Projekt/:title",element:a(vC,{})}),a(nt,{path:"/Kontakt",element:a(iS,{})}),a(nt,{path:"/Imprint",element:a(sS,{})}),a(nt,{path:"/DataProtection",element:a(aS,{})}),a(nt,{path:"*",element:a(lS,{})})]})}),a(gC,{})]}),a(yC,{})]})}),wC=document.getElementById("root"),EC=Mh(wC);EC.render(a(xC,{}));
+`);return A("div",{children:[a(U,{className:"categoryTitle",children:"PROJEKTE"}),a(U,{children:A(Y,{className:`${$.reverse_row}`,children:[A(H,{xl:8,children:[a(Y,{children:a(H,{className:`${$.project_detail_title}`,children:t.title.rendered})}),n.kooperationspartner?A(Y,{children:[a(H,{className:`${$.detail_left}`,xl:3,children:"Kooperationspartner"}),a(H,{className:`${$.detail_right}`,xl:9,children:r.map((o,l)=>a("ul",{className:`${$.partner}`,children:o},l))}),a("hr",{})]}):null,n.auftraggeber?A(Y,{children:[a(H,{className:`${$.detail_left}`,xl:3,children:"Auftraggeber"}),a(H,{className:`${$.detail_right}`,xl:9,children:n.auftraggeber}),a("hr",{})]}):null,n.Jahr?A(Y,{children:[a(H,{className:`${$.detail_left}`,xl:3,children:"Laufzeit"}),a(H,{className:`${$.detail_right}`,xl:9,children:n.Jahr}),a("hr",{})]}):null,n.inhalte?A(Y,{children:[a(H,{className:`${$.detail_left}`,xl:3,children:"Inhalte"}),a(H,{className:`${$.detail_right}`,xl:9,children:n.inhalte}),a("hr",{})]}):null,n.vorgehenmethoden?A(Y,{children:[a(H,{className:`${$.detail_left}`,xl:3,children:"Vorgehen/Methoden"}),a(H,{className:`${$.detail_right}`,xl:9,children:i.map((o,l)=>A("ul",{className:`${$.method}`,children:["-",o]},l))}),a("hr",{})]}):null,n.downloads_1||n.downloads_2||n.downloads_3?a(Y,{children:A(H,{children:[a(Y,{className:`${$.detail_left}`,xl:3,children:"Downloads"}),n.downloads_1?a(Y,{className:`${$.detail_right}`,xl:9,children:a(Ms,{prop:n.downloads_1})}):null,n.downloads_2?a(Y,{className:`${$.detail_right}`,xl:9,children:a(Ms,{prop:n.downloads_2})}):null,n.downloads_3?a(Y,{className:`${$.detail_right}`,xl:9,children:a(Ms,{prop:n.downloads_3})}):null,a("hr",{})]})}):null]}),a(H,{xl:4,children:a($e,{to:"/Projekte",children:A("button",{className:`${$.back_to_project_btn}`,children:[a("img",{src:Um,alt:"refresh page",height:"24px"}),a("span",{className:`${$.back_to_project_btn_text}`,children:"Alle Projekte anzeigen"})]})})})]})})]})},_C=()=>{const{pathname:e}=$t();return v.exports.useEffect(()=>{window.scrollTo(0,0)},[e]),null},xC=new e0({defautlOptions:{queries:{staleTime:1/0,cacheTime:1/0}}}),wC=()=>a("div",{className:"App",children:A(F_,{onUpdate:()=>window.scrollTo(0,0),children:[A(h0,{client:xC,children:[a(fC,{}),a("div",{className:"main",children:A(b_,{forceRefresh:!0,children:[a(nt,{path:"/",element:a(hx,{})}),a(nt,{path:"/Dienstleistungen",element:a($1,{})}),a(nt,{path:"/Mitarbeitende",element:a(fw,{})}),a(nt,{path:"/Mitarbeitende/:name/:id",element:a(_w,{})}),a(nt,{path:"/Themen",element:a(Aw,{})}),a(nt,{path:"/Projekte",element:a(xf,{})}),a(nt,{path:"/Projekte/:id",element:a(xf,{})}),a(nt,{path:"/Projekte/Projekt/:title",element:a(yC,{})}),a(nt,{path:"/Kontakt",element:a(oS,{})}),a(nt,{path:"/Imprint",element:a(aS,{})}),a(nt,{path:"/DataProtection",element:a(uS,{})}),a(nt,{path:"*",element:a(sS,{})})]})}),a(vC,{})]}),a(_C,{})]})}),EC=document.getElementById("root"),SC=$h(EC);SC.render(a(wC,{}));
diff --git a/dist/index.html b/dist/index.html
index 888992b..d417669 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -6,8 +6,8 @@
Buero Vatter
-
-
+
+
diff --git a/src/components/SelectedProjectList.jsx b/src/components/SelectedProjectList.jsx
index f1f3669..f64bb2c 100644
--- a/src/components/SelectedProjectList.jsx
+++ b/src/components/SelectedProjectList.jsx
@@ -4,9 +4,10 @@ import { Link } from "react-router-dom";
import { deUmlaut } from "../utils/helpers";
import symbol_arrowright from "../assets/imgs/symbols/arrow-right.svg";
import styles from "./selectedprojectlist.module.css";
+import DOMPurify from "dompurify";
+
const SelectedProjectList = (prop) => {
const title = deUmlaut(prop.detail.title.rendered);
-
return (
@@ -14,13 +15,18 @@ const SelectedProjectList = (prop) => {
- -
- {prop.detail.title.rendered} ({prop.detail.acf.Jahr})
-
+
{
- {/*
-
-
- Laufende Projekte
-
-
-
- */}
-