diff --git a/assets/index-d076eea3.js b/assets/index-d076eea3.js new file mode 100644 index 0000000..21067c7 --- /dev/null +++ b/assets/index-d076eea3.js @@ -0,0 +1,166 @@ +var k0=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Jb=k0((tT,cc)=>{function b0(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function T0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oh={exports:{}},Xa={},kh={exports:{}},K={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lo=Symbol.for("react.element"),C0=Symbol.for("react.portal"),x0=Symbol.for("react.fragment"),D0=Symbol.for("react.strict_mode"),N0=Symbol.for("react.profiler"),I0=Symbol.for("react.provider"),L0=Symbol.for("react.context"),R0=Symbol.for("react.forward_ref"),P0=Symbol.for("react.suspense"),A0=Symbol.for("react.memo"),M0=Symbol.for("react.lazy"),$f=Symbol.iterator;function F0(e){return e===null||typeof e!="object"?null:(e=$f&&e[$f]||e["@@iterator"],typeof e=="function"?e:null)}var bh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Th=Object.assign,Ch={};function Yr(e,t,n){this.props=e,this.context=t,this.refs=Ch,this.updater=n||bh}Yr.prototype.isReactComponent={};Yr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xh(){}xh.prototype=Yr.prototype;function fc(e,t,n){this.props=e,this.context=t,this.refs=Ch,this.updater=n||bh}var dc=fc.prototype=new xh;dc.constructor=fc;Th(dc,Yr.prototype);dc.isPureReactComponent=!0;var Qf=Array.isArray,Dh=Object.prototype.hasOwnProperty,pc={current:null},Nh={key:!0,ref:!0,__self:!0,__source:!0};function Ih(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Dh.call(t,r)&&!Nh.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,B=N[Q];if(0>>1;Qi(Le,M))Gei(bo,Le)?(N[Q]=bo,N[Ge]=M,Q=Ge):(N[Q]=Le,N[Z]=M,Q=Z);else if(Gei(bo,M))N[Q]=bo,N[Ge]=M,Q=Ge;else break e}}return I}function i(N,I){var M=N.sortIndex-I.sortIndex;return M!==0?M:N.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var u=[],l=[],c=1,f=null,d=3,v=!1,g=!1,m=!1,S=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(N){for(var I=n(l);I!==null;){if(I.callback===null)r(l);else if(I.startTime<=N)r(l),I.sortIndex=I.expirationTime,t(u,I);else break;I=n(l)}}function E(N){if(m=!1,y(N),!g)if(n(u)!==null)g=!0,j(b);else{var I=n(l);I!==null&&re(E,I.startTime-N)}}function b(N,I){g=!1,m&&(m=!1,p(T),T=-1),v=!0;var M=d;try{for(y(I),f=n(u);f!==null&&(!(f.expirationTime>I)||N&&!G());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,d=f.priorityLevel;var B=Q(f.expirationTime<=I);I=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(u)&&r(u),y(I)}else r(u);f=n(u)}if(f!==null)var H=!0;else{var Z=n(l);Z!==null&&re(E,Z.startTime-I),H=!1}return H}finally{f=null,d=M,v=!1}}var _=!1,O=null,T=-1,U=5,F=-1;function G(){return!(e.unstable_now()-FN||125Q?(N.sortIndex=M,t(l,N),n(u)===null&&N===n(l)&&(m?(p(T),T=-1):m=!0,re(E,M-Q))):(N.sortIndex=B,t(u,N),g||v||(g=!0,j(b))),N},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(N){var I=d;return function(){var M=d;d=I;try{return N.apply(this,arguments)}finally{d=M}}}})(Mh);Ah.exports=Mh;var W0=Ah.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Fh=A,st=W0;function x(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"),ju=Object.prototype.hasOwnProperty,G0=/^[: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]*$/,Kf={},Hf={};function Y0(e){return ju.call(Hf,e)?!0:ju.call(Kf,e)?!1:G0.test(e)?Hf[e]=!0:(Kf[e]=!0,!1)}function X0(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 J0(e,t,n,r){if(t===null||typeof t>"u"||X0(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,a){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=a}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[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];Fe[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[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){Fe[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var vc=/[\-:]([a-z])/g;function yc(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(vc,yc);Fe[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(vc,yc);Fe[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(vc,yc);Fe[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function mc(e,t,n,r){var i=Fe.hasOwnProperty(t)?Fe[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var u=` +`+i[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=a&&0<=s);break}}}finally{Gs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?mi(e):""}function Z0(e){switch(e.tag){case 5:return mi(e.type);case 16:return mi("Lazy");case 13:return mi("Suspense");case 19:return mi("SuspenseList");case 0:case 2:case 15:return e=Ys(e.type,!1),e;case 11:return e=Ys(e.type.render,!1),e;case 1:return e=Ys(e.type,!0),e;default:return""}}function $u(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 lr:return"Portal";case Bu:return"Profiler";case gc:return"StrictMode";case zu:return"Suspense";case Uu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zh:return(e.displayName||"Context")+".Consumer";case Bh:return(e._context.displayName||"Context")+".Provider";case Ec:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sc:return t=e.displayName||null,t!==null?t:$u(e.type)||"Memo";case rn:t=e._payload,e=e._init;try{return $u(e(t))}catch{}}return null}function eg(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 $u(t);case 8:return t===gc?"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 On(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $h(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tg(e){var t=$h(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(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xo(e){e._valueTracker||(e._valueTracker=tg(e))}function Qh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$h(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ga(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 Qu(e,t){var n=t.checked;return ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Wf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=On(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 Vh(e,t){t=t.checked,t!=null&&mc(e,"checked",t,!1)}function Vu(e,t){Vh(e,t);var n=On(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")?Ku(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ku(e,t.type,On(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Gf(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 Ku(e,t,n){(t!=="number"||ga(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gi=Array.isArray;function kr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Do.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var _i={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},ng=["Webkit","ms","Moz","O"];Object.keys(_i).forEach(function(e){ng.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_i[t]=_i[e]})});function Wh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||_i.hasOwnProperty(e)&&_i[e]?(""+t).trim():t+"px"}function Gh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Wh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var rg=ve({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 Wu(e,t){if(t){if(rg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function Gu(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 Yu=null;function wc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xu=null,br=null,Tr=null;function Jf(e){if(e=po(e)){if(typeof Xu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=ns(t),Xu(e.stateNode,e.type,t))}}function Yh(e){br?Tr?Tr.push(e):Tr=[e]:br=e}function Xh(){if(br){var e=br,t=Tr;if(Tr=br=null,Jf(e),t)for(e=0;e>>=0,e===0?32:31-(hg(e)/vg|0)|0}var No=64,Io=4194304;function Ei(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 _a(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Ei(s):(o&=a,o!==0&&(r=Ei(o)))}else a=n&~i,a!==0?r=Ei(a):o!==0&&(r=Ei(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function co(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-bt(t),e[t]=n}function Eg(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=ki),sd=String.fromCharCode(32),ud=!1;function mv(e,t){switch(e){case"keyup":return qg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fr=!1;function Gg(e,t){switch(e){case"compositionend":return gv(t);case"keypress":return t.which!==32?null:(ud=!0,sd);case"textInput":return e=t.data,e===sd&&ud?null:e;default:return null}}function Yg(e,t){if(fr)return e==="compositionend"||!Dc&&mv(e,t)?(e=vv(),Jo=Tc=fn=null,fr=!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=dd(n)}}function _v(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_v(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ov(){for(var e=window,t=ga();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ga(e.document)}return t}function Nc(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 oE(e){var t=Ov(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_v(n.ownerDocument.documentElement,n)){if(r!==null&&Nc(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=pd(n,o);var a=pd(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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,dr=null,rl=null,Ti=null,il=!1;function hd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;il||dr==null||dr!==ga(r)||(r=dr,"selectionStart"in r&&Nc(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}),Ti&&$i(Ti,r)||(Ti=r,r=ba(rl,"onSelect"),0vr||(e.current=cl[vr],cl[vr]=null,vr--)}function oe(e,t){vr++,cl[vr]=e.current,e.current=t}var kn={},Qe=In(kn),Je=In(!1),Vn=kn;function Fr(e,t){var n=e.type.contextTypes;if(!n)return kn;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 Ze(e){return e=e.childContextTypes,e!=null}function Ca(){ue(Je),ue(Qe)}function wd(e,t,n){if(Qe.current!==kn)throw Error(x(168));oe(Qe,t),oe(Je,n)}function Lv(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(x(108,eg(e)||"Unknown",i));return ve({},n,r)}function xa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kn,Vn=Qe.current,oe(Qe,e),oe(Je,Je.current),!0}function _d(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=Lv(e,t,Vn),r.__reactInternalMemoizedMergedChildContext=e,ue(Je),ue(Qe),oe(Qe,e)):ue(Je),oe(Je,n)}var Ut=null,rs=!1,cu=!1;function Rv(e){Ut===null?Ut=[e]:Ut.push(e)}function mE(e){rs=!0,Rv(e)}function Ln(){if(!cu&&Ut!==null){cu=!0;var e=0,t=ee;try{var n=Ut;for(ee=1;e>=a,i-=a,$t=1<<32-bt(t)+i|n<T?(U=O,O=null):U=O.sibling;var F=d(p,O,y[T],E);if(F===null){O===null&&(O=U);break}e&&O&&F.alternate===null&&t(p,O),h=o(F,h,T),_===null?b=F:_.sibling=F,_=F,O=U}if(T===y.length)return n(p,O),ce&&Pn(p,T),b;if(O===null){for(;TT?(U=O,O=null):U=O.sibling;var G=d(p,O,F.value,E);if(G===null){O===null&&(O=U);break}e&&O&&G.alternate===null&&t(p,O),h=o(G,h,T),_===null?b=G:_.sibling=G,_=G,O=U}if(F.done)return n(p,O),ce&&Pn(p,T),b;if(O===null){for(;!F.done;T++,F=y.next())F=f(p,F.value,E),F!==null&&(h=o(F,h,T),_===null?b=F:_.sibling=F,_=F);return ce&&Pn(p,T),b}for(O=r(p,O);!F.done;T++,F=y.next())F=v(O,p,T,F.value,E),F!==null&&(e&&F.alternate!==null&&O.delete(F.key===null?T:F.key),h=o(F,h,T),_===null?b=F:_.sibling=F,_=F);return e&&O.forEach(function(ke){return t(p,ke)}),ce&&Pn(p,T),b}function S(p,h,y,E){if(typeof y=="object"&&y!==null&&y.type===cr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Co:e:{for(var b=y.key,_=h;_!==null;){if(_.key===b){if(b=y.type,b===cr){if(_.tag===7){n(p,_.sibling),h=i(_,y.props.children),h.return=p,p=h;break e}}else if(_.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===rn&&Dd(b)===_.type){n(p,_.sibling),h=i(_,y.props),h.ref=si(p,_,y),h.return=p,p=h;break e}n(p,_);break}else t(p,_);_=_.sibling}y.type===cr?(h=$n(y.props.children,p.mode,E,y.key),h.return=p,p=h):(E=aa(y.type,y.key,y.props,null,p.mode,E),E.ref=si(p,h,y),E.return=p,p=E)}return a(p);case lr:e:{for(_=y.key;h!==null;){if(h.key===_)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){n(p,h.sibling),h=i(h,y.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=gu(y,p.mode,E),h.return=p,p=h}return a(p);case rn:return _=y._init,S(p,h,_(y._payload),E)}if(gi(y))return g(p,h,y,E);if(ni(y))return m(p,h,y,E);jo(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,h!==null&&h.tag===6?(n(p,h.sibling),h=i(h,y),h.return=p,p=h):(n(p,h),h=mu(y,p.mode,E),h.return=p,p=h),a(p)):n(p,h)}return S}var Br=Uv(!0),$v=Uv(!1),ho={},Mt=In(ho),Hi=In(ho),qi=In(ho);function Bn(e){if(e===ho)throw Error(x(174));return e}function Bc(e,t){switch(oe(qi,t),oe(Hi,e),oe(Mt,ho),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qu(t,e)}ue(Mt),oe(Mt,t)}function zr(){ue(Mt),ue(Hi),ue(qi)}function Qv(e){Bn(qi.current);var t=Bn(Mt.current),n=qu(t,e.type);t!==n&&(oe(Hi,e),oe(Mt,n))}function zc(e){Hi.current===e&&(ue(Mt),ue(Hi))}var de=In(0);function Pa(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)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 fu=[];function Uc(){for(var e=0;en?n:4,e(!0);var r=du.transition;du.transition={};try{e(!1),t()}finally{ee=n,du.transition=r}}function oy(){return yt().memoizedState}function wE(e,t,n){var r=En(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ay(e))sy(t,n);else if(n=Fv(e,t,n,r),n!==null){var i=Ke();Tt(n,e,r,i),uy(n,t,r)}}function _E(e,t,n){var r=En(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ay(e))sy(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,xt(s,a)){var u=t.interleaved;u===null?(i.next=i,Fc(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Fv(e,t,i,r),n!==null&&(i=Ke(),Tt(n,e,r,i),uy(n,t,r))}}function ay(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function sy(e,t){Ci=Aa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uy(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Oc(e,n)}}var Ma={readContext:vt,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},OE={readContext:vt,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:vt,useEffect:Id,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,na(4194308,4,ey.bind(null,t,e),n)},useLayoutEffect:function(e,t){return na(4194308,4,e,t)},useInsertionEffect:function(e,t){return na(4,2,e,t)},useMemo:function(e,t){var n=Nt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Nt();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=wE.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:Nd,useDebugValue:Hc,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=Nd(!1),t=e[0];return e=SE.bind(null,e[1]),Nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,i=Nt();if(ce){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),Ne===null)throw Error(x(349));Hn&30||Hv(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Id(Wv.bind(null,r,o,e),[e]),r.flags|=2048,Yi(9,qv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Nt(),t=Ne.identifierPrefix;if(ce){var n=Qt,r=$t;n=(r&~(1<<32-bt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Rt]=t,e[Ki]=r,my(e,t,!1,!1),t.stateNode=e;e:{switch(a=Gu(n,r),n){case"dialog":ae("cancel",e),ae("close",e),i=r;break;case"iframe":case"object":case"embed":ae("load",e),i=r;break;case"video":case"audio":for(i=0;i$r&&(t.flags|=128,r=!0,ui(o,!1),t.lanes=4194304)}else{if(!r)if(e=Pa(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ui(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!ce)return Be(t),null}else 2*Se()-o.renderingStartTime>$r&&n!==1073741824&&(t.flags|=128,r=!0,ui(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Se(),t.sibling=null,n=de.current,oe(de,r?n&1|2:n&1),t):(Be(t),null);case 22:case 23:return Jc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?nt&1073741824&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function IE(e,t){switch(Lc(t),t.tag){case 1:return Ze(t.type)&&Ca(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return zr(),ue(Je),ue(Qe),Uc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zc(t),null;case 13:if(ue(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));jr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(de),null;case 4:return zr(),null;case 10:return Mc(t.type._context),null;case 22:case 23:return Jc(),null;case 24:return null;default:return null}}var zo=!1,$e=!1,LE=typeof WeakSet=="function"?WeakSet:Set,L=null;function Er(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function _l(e,t,n){try{n()}catch(r){ge(e,t,r)}}var zd=!1;function RE(e,t){if(ol=Oa,e=Ov(),Nc(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 a=0,s=-1,u=-1,l=0,c=0,f=e,d=null;t:for(;;){for(var v;f!==n||i!==0&&f.nodeType!==3||(s=a+i),f!==o||r!==0&&f.nodeType!==3||(u=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(v=f.firstChild)!==null;)d=f,f=v;for(;;){if(f===e)break t;if(d===n&&++l===i&&(s=a),d===o&&++c===r&&(u=a),(v=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=v}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(al={focusedElem:e,selectionRange:n},Oa=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var m=g.memoizedProps,S=g.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?m:wt(t.type,m),S);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(E){ge(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return g=zd,zd=!1,g}function xi(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&&_l(t,n,o)}i=i.next}while(i!==r)}}function as(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 Ol(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 Sy(e){var t=e.alternate;t!==null&&(e.alternate=null,Sy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rt],delete t[Ki],delete t[ll],delete t[vE],delete t[yE])),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 wy(e){return e.tag===5||e.tag===3||e.tag===4}function Ud(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wy(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 kl(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=Ta));else if(r!==4&&(e=e.child,e!==null))for(kl(e,t,n),e=e.sibling;e!==null;)kl(e,t,n),e=e.sibling}function bl(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(bl(e,t,n),e=e.sibling;e!==null;)bl(e,t,n),e=e.sibling}var Pe=null,_t=!1;function tn(e,t,n){for(n=n.child;n!==null;)_y(e,t,n),n=n.sibling}function _y(e,t,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Ja,n)}catch{}switch(n.tag){case 5:$e||Er(n,t);case 6:var r=Pe,i=_t;Pe=null,tn(e,t,n),Pe=r,_t=i,Pe!==null&&(_t?(e=Pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pe.removeChild(n.stateNode));break;case 18:Pe!==null&&(_t?(e=Pe,n=n.stateNode,e.nodeType===8?lu(e.parentNode,n):e.nodeType===1&&lu(e,n),zi(e)):lu(Pe,n.stateNode));break;case 4:r=Pe,i=_t,Pe=n.stateNode.containerInfo,_t=!0,tn(e,t,n),Pe=r,_t=i;break;case 0:case 11:case 14:case 15:if(!$e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&_l(n,t,a),i=i.next}while(i!==r)}tn(e,t,n);break;case 1:if(!$e&&(Er(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ge(n,t,s)}tn(e,t,n);break;case 21:tn(e,t,n);break;case 22:n.mode&1?($e=(r=$e)||n.memoizedState!==null,tn(e,t,n),$e=r):tn(e,t,n);break;default:tn(e,t,n)}}function $d(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new LE),t.forEach(function(r){var i=$E.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Et(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*AE(r/1960))-r,10e?16:e,dn===null)var r=!1;else{if(e=dn,dn=null,Ba=0,W&6)throw Error(x(331));var i=W;for(W|=4,L=e.current;L!==null;){var o=L,a=o.child;if(L.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uSe()-Yc?Un(e,0):Gc|=n),et(e,t)}function Ny(e,t){t===0&&(e.mode&1?(t=Io,Io<<=1,!(Io&130023424)&&(Io=4194304)):t=1);var n=Ke();e=Gt(e,t),e!==null&&(co(e,t,n),et(e,n))}function UE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ny(e,n)}function $E(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(x(314))}r!==null&&r.delete(t),Ny(e,n)}var Iy;Iy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Xe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xe=!1,DE(e,t,n);Xe=!!(e.flags&131072)}else Xe=!1,ce&&t.flags&1048576&&Pv(t,Na,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ra(e,t),e=t.pendingProps;var i=Fr(t,Qe.current);xr(t,n),i=Qc(null,t,r,e,i,n);var o=Vc();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,Ze(r)?(o=!0,xa(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,jc(t),i.updater=is,t.stateNode=i,i._reactInternals=t,vl(t,r,e,n),t=gl(null,t,r,!0,o,n)):(t.tag=0,ce&&o&&Ic(t),Ve(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ra(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=VE(r),e=wt(r,e),i){case 0:t=ml(null,t,r,e,n);break e;case 1:t=Fd(null,t,r,e,n);break e;case 11:t=Ad(null,t,r,e,n);break e;case 14:t=Md(null,t,r,wt(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),ml(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),Fd(e,t,r,i,n);case 3:e:{if(hy(t),e===null)throw Error(x(387));r=t.pendingProps,o=t.memoizedState,i=o.element,jv(e,t),Ra(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ur(Error(x(423)),t),t=jd(e,t,r,n,i);break e}else if(r!==i){i=Ur(Error(x(424)),t),t=jd(e,t,r,n,i);break e}else for(it=yn(t.stateNode.containerInfo.firstChild),ot=t,ce=!0,Ot=null,n=$v(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(jr(),r===i){t=Yt(e,t,n);break e}Ve(e,t,r,n)}t=t.child}return t;case 5:return Qv(t),e===null&&dl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,sl(r,i)?a=null:o!==null&&sl(r,o)&&(t.flags|=32),py(e,t),Ve(e,t,a,n),t.child;case 6:return e===null&&dl(t),null;case 13:return vy(e,t,n);case 4:return Bc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Br(t,null,r,n):Ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),Ad(e,t,r,i,n);case 7:return Ve(e,t,t.pendingProps,n),t.child;case 8:return Ve(e,t,t.pendingProps.children,n),t.child;case 12:return Ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,oe(Ia,r._currentValue),r._currentValue=a,o!==null)if(xt(o.value,a)){if(o.children===i.children&&!Je.current){t=Yt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Vt(-1,n&-n),u.tag=2;var l=o.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?u.next=u:(u.next=c.next,c.next=u),l.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),pl(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(x(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),pl(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,xr(t,n),i=vt(i),r=r(i),t.flags|=1,Ve(e,t,r,n),t.child;case 14:return r=t.type,i=wt(r,t.pendingProps),i=wt(r.type,i),Md(e,t,r,i,n);case 15:return fy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),ra(e,t),t.tag=1,Ze(r)?(e=!0,xa(t)):e=!1,xr(t,n),zv(t,r,i),vl(t,r,i,n),gl(null,t,r,!0,e,n);case 19:return yy(e,t,n);case 22:return dy(e,t,n)}throw Error(x(156,t.tag))};function Ly(e,t){return iv(e,t)}function QE(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 QE(e,t,n,r)}function ef(e){return e=e.prototype,!(!e||!e.isReactComponent)}function VE(e){if(typeof e=="function")return ef(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ec)return 11;if(e===Sc)return 14}return 2}function Sn(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 aa(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")ef(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case cr:return $n(n.children,i,o,t);case gc:a=8,i|=8;break;case Bu:return e=pt(12,n,t,i|2),e.elementType=Bu,e.lanes=o,e;case zu:return e=pt(13,n,t,i),e.elementType=zu,e.lanes=o,e;case Uu:return e=pt(19,n,t,i),e.elementType=Uu,e.lanes=o,e;case Uh:return us(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Bh:a=10;break e;case zh:a=9;break e;case Ec:a=11;break e;case Sc:a=14;break e;case rn:a=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=pt(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function $n(e,t,n,r){return e=pt(7,e,r,t),e.lanes=n,e}function us(e,t,n,r){return e=pt(22,e,r,t),e.elementType=Uh,e.lanes=n,e.stateNode={isHidden:!1},e}function mu(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function gu(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 KE(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=Js(0),this.expirationTimes=Js(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Js(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function tf(e,t,n,r,i,o,a,s,u){return e=new KE(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},jc(o),e}function HE(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(My)}catch(e){console.error(e)}}My(),Ph.exports=ut;var XE=Ph.exports,Yd=XE;Fu.createRoot=Yd.createRoot,Fu.hydrateRoot=Yd.hydrateRoot;const JE="_poster_lpfg2_1",ZE="_content_lpfg2_6",Eu={poster:JE,content:ZE};var Fy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(D){return D&&typeof D=="object"&&"default"in D?D.default:D}var n=A,r=t(n);/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */var i=function(){return i=Object.assign||function(k){for(var j,re=1,N=arguments.length;re{if(e==null)return $.jsxs("div",{className:Eu.content,children:[$.jsxs("div",{style:{backgroundColor:"#ffe6b8",padding:"1rem"},children:["Naše webové stránky jsou v rekonstrukci, děkujeme za trpělivost. V případě dotazů prosím kontaktuje hlavního vedoucího ",$.jsx("b",{children:"Karla Košnara"})," ","na emailové adrese ",$.jsx("b",{children:"karel.kosnar (zavináč) gmail.com"})," nebo na telefonu ",$.jsx("b",{children:"608 906 987"}),"."]}),$.jsx("h1",{children:"Stránka nenalezena"})]});console.log("here");const t=new Map;for(const n of e.links.assets.block)t.set(n.sys.id,n);return $.jsx($.Fragment,{children:$.jsx("div",{children:$.jsxs("div",{className:Eu.content,children:[$.jsxs("div",{style:{backgroundColor:"#ffe6b8",padding:"1rem"},children:["Naše webové stránky jsou v rekonstrukci, děkujeme za trpělivost. V případě dotazů prosím kontaktuje hlavního vedoucího ",$.jsx("b",{children:"Karla Košnara"})," ","na emailové adrese ",$.jsx("b",{children:"karel.kosnar (zavináč) gmail.com"})," nebo na telefonu ",$.jsx("b",{children:"608 906 987"}),"."]}),Fy.documentToReactComponents(e.json,{renderText:n=>n.split(` +`).reduce((r,i,o)=>[...r,o>0&&$.jsx("br",{},o),i],new Array),renderNode:{[jy.BLOCKS.EMBEDDED_ASSET]:n=>{const r=t.get(n.data.target.sys.id);return $.jsx("img",{src:`${r.url}`,alt:r.title,className:Eu.poster})}}})]})})})},s1="_link_bh2lp_1",u1={link:s1};/** + * @remix-run/router v1.6.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ji(){return Ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function c1(){return Math.random().toString(36).substr(2,8)}function Zd(e,t){return{usr:e.state,key:e.key,idx:t}}function Il(e,t,n,r){return n===void 0&&(n=null),Ji({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vs(t):t,{state:n,key:t&&t.key||r||c1()})}function $a(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function vs(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function f1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=zn.Pop,u=null,l=c();l==null&&(l=0,a.replaceState(Ji({},a.state,{idx:l}),""));function c(){return(a.state||{idx:null}).idx}function f(){s=zn.Pop;let S=c(),p=S==null?null:S-l;l=S,u&&u({action:s,location:m.location,delta:p})}function d(S,p){s=zn.Push;let h=Il(m.location,S,p);n&&n(h,S),l=c()+1;let y=Zd(h,l),E=m.createHref(h);try{a.pushState(y,"",E)}catch(b){if(b instanceof DOMException&&b.name==="DataCloneError")throw b;i.location.assign(E)}o&&u&&u({action:s,location:m.location,delta:1})}function v(S,p){s=zn.Replace;let h=Il(m.location,S,p);n&&n(h,S),l=c();let y=Zd(h,l),E=m.createHref(h);a.replaceState(y,"",E),o&&u&&u({action:s,location:m.location,delta:0})}function g(S){let p=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof S=="string"?S:$a(S);return Ct(p,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,p)}let m={get action(){return s},get location(){return e(i,a)},listen(S){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Jd,f),u=S,()=>{i.removeEventListener(Jd,f),u=null}},createHref(S){return t(i,S)},createURL:g,encodeLocation(S){let p=g(S);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:v,go(S){return a.go(S)}};return m}var ep;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ep||(ep={}));function Qy(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 d1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?vs(e):e;return{pathname:n?n.startsWith("/")?n:p1(n,t):t,search:h1(r),hash:v1(i)}}function p1(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 Su(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Vy(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ky(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=vs(e):(i=Ji({},e),Ct(!i.pathname||!i.pathname.includes("?"),Su("?","pathname","search",i)),Ct(!i.pathname||!i.pathname.includes("#"),Su("#","pathname","hash",i)),Ct(!i.search||!i.search.includes("#"),Su("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(r||a==null)s=n;else{let f=t.length-1;if(a.startsWith("..")){let d=a.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let u=d1(i,s),l=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}const Hy=e=>e.join("/").replace(/\/\/+/g,"/"),h1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,v1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,qy=["post","put","patch","delete"];new Set(qy);const y1=["get",...qy];new Set(y1);/** + * React Router v6.12.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),a=A.useRef(!1);return Gy(()=>{a.current=!0}),A.useCallback(function(u,l){if(l===void 0&&(l={}),!a.current)return;if(typeof u=="number"){n.go(u);return}let c=Ky(u,JSON.parse(o),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Hy([t,c.pathname])),(l.replace?n.replace:n.push)(c,l.state,l)},[t,n,o,i,e])}function Yy(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=A.useContext(ys),{pathname:i}=gs(),o=JSON.stringify(Vy(r).map(a=>a.pathnameBase));return A.useMemo(()=>Ky(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}var Rl;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(Rl||(Rl={}));var Pl;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(Pl||(Pl={}));function S1(e){let t=A.useContext(Wy);return t||Ct(!1),t}function w1(e){let t=A.useContext(ys);return t||Ct(!1),t}function _1(e){let t=w1(),n=t.matches[t.matches.length-1];return n.route.id||Ct(!1),n.route.id}function O1(){let{router:e}=S1(Rl.UseNavigateStable),t=_1(Pl.UseNavigateStable),n=A.useRef(!1);return Gy(()=>{n.current=!0}),A.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ll({fromRouteId:t},o)))},[e,t])}function k1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=zn.Pop,navigator:o,static:a=!1}=e;ms()&&Ct(!1);let s=t.replace(/^\/*/,"/"),u=A.useMemo(()=>({basename:s,navigator:o,static:a}),[s,o,a]);typeof r=="string"&&(r=vs(r));let{pathname:l="/",search:c="",hash:f="",state:d=null,key:v="default"}=r,g=A.useMemo(()=>{let m=Qy(l,s);return m==null?null:{location:{pathname:m,search:c,hash:f,state:d,key:v},navigationType:i}},[s,l,c,f,d,v,i]);return g==null?null:A.createElement(yo.Provider,{value:u},A.createElement(sf.Provider,{children:n,value:g}))}var tp;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(tp||(tp={}));new Promise(()=>{});/** + * React Router DOM v6.12.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function T1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function C1(e,t){return e.button===0&&(!t||t==="_self")&&!T1(e)}const x1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],np="startTransition";function D1(e){let{basename:t,children:n,window:r}=e,i=A.useRef();i.current==null&&(i.current=l1({window:r,v5Compat:!0}));let o=i.current,[a,s]=A.useState({action:o.action,location:o.location}),u=A.useCallback(l=>{np in Ar?Ar[np](()=>s(l)):s(l)},[s]);return A.useLayoutEffect(()=>o.listen(u),[o,u]),A.createElement(k1,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o})}const N1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",I1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Xy=A.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:u,to:l,preventScrollReset:c}=t,f=b1(t,x1),{basename:d}=A.useContext(yo),v,g=!1;if(typeof l=="string"&&I1.test(l)&&(v=l,N1))try{let h=new URL(window.location.href),y=l.startsWith("//")?new URL(h.protocol+l):new URL(l),E=Qy(y.pathname,d);y.origin===h.origin&&E!=null?l=E+y.search+y.hash:g=!0}catch{}let m=m1(l,{relative:i}),S=L1(l,{replace:a,state:s,target:u,preventScrollReset:c,relative:i});function p(h){r&&r(h),h.defaultPrevented||S(h)}return A.createElement("a",Al({},f,{href:v||m,onClick:g||o?r:p,ref:n,target:u}))});var rp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(rp||(rp={}));var ip;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ip||(ip={}));function L1(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a}=t===void 0?{}:t,s=g1(),u=gs(),l=Yy(e,{relative:a});return A.useCallback(c=>{if(C1(c,n)){c.preventDefault();let f=r!==void 0?r:$a(u)===$a(l);s(e,{replace:f,state:i,preventScrollReset:o,relative:a})}},[u,s,l,r,i,n,e,o,a])}const op=({text:e,link:t,type:n})=>$.jsx("div",{className:u1.link,children:$.jsx(Xy,{className:n,to:t,children:e})}),R1="_title_kneqc_1",P1="_buttonsWrapper_kneqc_6",A1="_headerImage_kneqc_16",Qo={title:R1,buttonsWrapper:P1,headerImage:A1},M1=()=>$.jsxs("div",{className:Qo.MainNav,children:[$.jsx("div",{className:Qo.title,children:$.jsxs(Xy,{to:"/",children:["Dětský stanový tábor",$.jsx("br",{}),"ve Střílkách"]})}),$.jsx("img",{className:Qo.headerImage,src:"/tabor.jpg"}),$.jsxs("nav",{className:Qo.buttonsWrapper,children:[$.jsx(op,{text:"Přihláška",link:"/prihlaska"}),$.jsx(op,{text:"Tábor 2023",link:"/tajemny-pripad-v-egypte"})]})]});var Ml=function(e,t){return Ml=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Ml(e,t)};function en(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ml(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var w=function(){return w=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]=B1){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=Vo("debug"),e.log=Vo("log"),e.warn=Vo("warn"),e.error=Vo("error")})(Mn||(Mn={}));var uf="3.8.4";function kt(e){try{return e()}catch{}}const sp=kt(function(){return globalThis})||kt(function(){return window})||kt(function(){return self})||kt(function(){return global})||kt(function(){return kt.constructor("return this")()});var up=new Map;function jl(e){var t=up.get(e)||1;return up.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function em(e,t){t===void 0&&(t=0);var n=jl("stringifyForDisplay");return JSON.stringify(e,function(r,i){return i===void 0?n:i},t).split(JSON.stringify(n)).join("")}function Ko(e){return function(t){for(var n=[],r=1;r=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Q1(e){return tm(e.source,Bl(e.source,e.start))}function tm(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=t.line===1?n:0,u=t.column+s,l=`${e.name}:${a}:${u} +`,c=r.split(/\r\n|[\n\r]/g),f=c[i];if(f.length>120){const d=Math.floor(u/80),v=u%80,g=[];for(let m=0;m["|",m]),["|","^".padStart(v)],["|",g[d+1]]])}return l+cp([[`${a-1} |`,c[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,c[i+1]]])}function cp(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function V1(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class cf extends Error{constructor(t,...n){var r,i,o;const{nodes:a,source:s,positions:u,path:l,originalError:c,extensions:f}=V1(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=c??void 0,this.nodes=fp(Array.isArray(a)?a:a?[a]:void 0);const d=fp((r=this.nodes)===null||r===void 0?void 0:r.map(g=>g.loc).filter(g=>g!=null));this.source=s??(d==null||(i=d[0])===null||i===void 0?void 0:i.source),this.positions=u??(d==null?void 0:d.map(g=>g.start)),this.locations=u&&s?u.map(g=>Bl(s,g)):d==null?void 0:d.map(g=>Bl(g.source,g.start));const v=z1(c==null?void 0:c.extensions)?c==null?void 0:c.extensions:void 0;this.extensions=(o=f??v)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,cf):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` + +`+Q1(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` + +`+tm(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function fp(e){return e===void 0||e.length===0?void 0:e}function De(e,t,n){return new cf(`Syntax Error: ${n}`,{source:e,positions:[t]})}class K1{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class nm{constructor(t,n,r,i,o,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const rm={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},H1=new Set(Object.keys(rm));function dp(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&H1.has(t)}var wr;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(wr||(wr={}));var zl;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(zl||(zl={}));var R;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(R||(R={}));function Ul(e){return e===9||e===32}function Zi(e){return e>=48&&e<=57}function im(e){return e>=97&&e<=122||e>=65&&e<=90}function om(e){return im(e)||e===95}function q1(e){return im(e)||Zi(e)||e===95}function W1(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;as===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function G1(e){let t=0;for(;t1&&r.slice(1).every(v=>v.length===0||Ul(v.charCodeAt(0))),a=n.endsWith('\\"""'),s=e.endsWith('"')&&!a,u=e.endsWith("\\"),l=s||u,c=!(t!=null&&t.minimize)&&(!i||e.length>70||l||o||a);let f="";const d=i&&Ul(e.charCodeAt(0));return(c&&!d||o)&&(f+=` +`),f+=n,(c||l)&&(f+=` +`),'"""'+f+'"""'}var C;(function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(C||(C={}));class X1{constructor(t){const n=new nm(C.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==C.EOF)do if(t.next)t=t.next;else{const n=Z1(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===C.COMMENT);return t}}function J1(e){return e===C.BANG||e===C.DOLLAR||e===C.AMP||e===C.PAREN_L||e===C.PAREN_R||e===C.SPREAD||e===C.COLON||e===C.EQUALS||e===C.AT||e===C.BRACKET_L||e===C.BRACKET_R||e===C.BRACE_L||e===C.PIPE||e===C.BRACE_R}function Zr(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function Es(e,t){return am(e.charCodeAt(t))&&sm(e.charCodeAt(t+1))}function am(e){return e>=55296&&e<=56319}function sm(e){return e>=56320&&e<=57343}function Gn(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return C.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function we(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new nm(t,n,r,o,a,i)}function Z1(e,t){const n=e.source.body,r=n.length;let i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function oS(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw De(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function aS(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,s="";const u=[];for(;oum?"["+pS(e)+"]":"{ "+n.map(([i,o])=>i+": "+Ss(o,t)).join(", ")+" }"}function dS(e,t){if(e.length===0)return"[]";if(t.length>um)return"[Array]";const n=Math.min(uS,e.length),r=e.length-n,i=[];for(let o=0;o1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function pS(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const hS=globalThis.process?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;const i=n.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===o){const a=ff(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1};class lm{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||sa(!1,`Body must be a string. Received: ${ff(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||sa(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||sa(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function vS(e){return hS(e,lm)}function yS(e,t){return new mS(e,t).parseDocument()}class mS{constructor(t,n={}){const r=vS(t)?t:new lm(t);this._lexer=new X1(r),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(C.NAME);return this.node(t,{kind:R.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:R.DOCUMENT,definitions:this.many(C.SOF,this.parseDefinition,C.EOF)})}parseDefinition(){if(this.peek(C.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===C.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw De(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(C.BRACE_L))return this.node(t,{kind:R.OPERATION_DEFINITION,operation:wr.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let r;return this.peek(C.NAME)&&(r=this.parseName()),this.node(t,{kind:R.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(C.NAME);switch(t.value){case"query":return wr.QUERY;case"mutation":return wr.MUTATION;case"subscription":return wr.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(C.PAREN_L,this.parseVariableDefinition,C.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:R.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(C.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(C.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(C.DOLLAR),this.node(t,{kind:R.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:R.SELECTION_SET,selections:this.many(C.BRACE_L,this.parseSelection,C.BRACE_R)})}parseSelection(){return this.peek(C.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,i;return this.expectOptionalToken(C.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:R.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(C.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(C.PAREN_L,n,C.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(C.COLON),this.node(n,{kind:R.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(C.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(C.NAME)?this.node(t,{kind:R.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:R.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:R.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:R.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case C.BRACKET_L:return this.parseList(t);case C.BRACE_L:return this.parseObject(t);case C.INT:return this.advanceLexer(),this.node(n,{kind:R.INT,value:n.value});case C.FLOAT:return this.advanceLexer(),this.node(n,{kind:R.FLOAT,value:n.value});case C.STRING:case C.BLOCK_STRING:return this.parseStringLiteral();case C.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:R.BOOLEAN,value:!0});case"false":return this.node(n,{kind:R.BOOLEAN,value:!1});case"null":return this.node(n,{kind:R.NULL});default:return this.node(n,{kind:R.ENUM,value:n.value})}case C.DOLLAR:if(t)if(this.expectToken(C.DOLLAR),this._lexer.token.kind===C.NAME){const r=this._lexer.token.value;throw De(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:R.STRING,value:t.value,block:t.kind===C.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:R.LIST,values:this.any(C.BRACKET_L,n,C.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:R.OBJECT,fields:this.any(C.BRACE_L,n,C.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(C.COLON),this.node(n,{kind:R.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(C.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(C.AT),this.node(n,{kind:R.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(C.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(C.BRACKET_R),n=this.node(t,{kind:R.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(C.BANG)?this.node(t,{kind:R.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:R.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(C.STRING)||this.peek(C.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),i=this.many(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);return this.node(t,{kind:R.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(C.COLON);const r=this.parseNamedType();return this.node(t,{kind:R.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:R.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:R.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(C.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseFieldDefinition,C.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(C.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:R.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(C.PAREN_L,this.parseInputValueDef,C.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(C.COLON);const i=this.parseTypeReference();let o;this.expectOptionalToken(C.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:R.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:R.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:R.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(C.EQUALS)?this.delimitedMany(C.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:R.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o})}parseEnumValuesDefinition(){return this.optionalMany(C.BRACE_L,this.parseEnumValueDefinition,C.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:R.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw De(this._lexer.source,this._lexer.token.start,`${Ho(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:R.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseInputValueDef,C.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===C.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:R.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:R.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:R.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:R.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:R.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:R.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:R.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(C.AT);const r=this.parseName(),i=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:R.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(C.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(zl,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new K1(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw De(this._lexer.source,n.start,`Expected ${cm(t)}, found ${Ho(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===C.NAME&&n.value===t)this.advanceLexer();else throw De(this._lexer.source,n.start,`Expected "${t}", found ${Ho(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===C.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return De(this._lexer.source,n.start,`Unexpected ${Ho(n)}.`)}any(t,n,r){this.expectToken(t);const i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==C.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw De(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function Ho(e){const t=e.value;return cm(e.kind)+(t!=null?` "${t}"`:"")}function cm(e){return J1(e)?`"${e}"`:e}function gS(e){return`"${e.replace(ES,SS)}"`}const ES=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function SS(e){return wS[e.charCodeAt(0)]}const wS=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],df=Object.freeze({});function Xt(e,t,n=rm){const r=new Map;for(const p of Object.values(R))r.set(p,_S(t,p));let i,o=Array.isArray(e),a=[e],s=-1,u=[],l=e,c,f;const d=[],v=[];do{s++;const p=s===a.length,h=p&&u.length!==0;if(p){if(c=v.length===0?void 0:d[d.length-1],l=f,f=v.pop(),h)if(o){l=l.slice();let E=0;for(const[b,_]of u){const O=b-E;_===null?(l.splice(O,1),E++):l[O]=_}}else{l=Object.defineProperties({},Object.getOwnPropertyDescriptors(l));for(const[E,b]of u)l[E]=b}s=i.index,a=i.keys,u=i.edits,o=i.inArray,i=i.prev}else if(f){if(c=o?s:a[s],l=f[c],l==null)continue;d.push(c)}let y;if(!Array.isArray(l)){var g,m;dp(l)||sa(!1,`Invalid AST Node: ${ff(l)}.`);const E=p?(g=r.get(l.kind))===null||g===void 0?void 0:g.leave:(m=r.get(l.kind))===null||m===void 0?void 0:m.enter;if(y=E==null?void 0:E.call(t,l,c,f,d,v),y===df)break;if(y===!1){if(!p){d.pop();continue}}else if(y!==void 0&&(u.push([c,y]),!p))if(dp(y))l=y;else{d.pop();continue}}if(y===void 0&&h&&u.push([c,l]),p)d.pop();else{var S;i={inArray:o,index:s,keys:a,edits:u,prev:i},o=Array.isArray(l),a=o?l:(S=n[l.kind])!==null&&S!==void 0?S:[],s=-1,u=[],f&&v.push(f),f=l}}while(i!==void 0);return u.length!==0?u[u.length-1][1]:e}function _S(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function OS(e){return Xt(e,bS)}const kS=80,bS={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>P(e.definitions,` + +`)},OperationDefinition:{leave(e){const t=V("(",P(e.variableDefinitions,", "),")"),n=P([e.operation,P([e.name,t]),P(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+V(" = ",n)+V(" ",P(r," "))},SelectionSet:{leave:({selections:e})=>St(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=V("",e,": ")+t;let a=o+V("(",P(n,", "),")");return a.length>kS&&(a=o+V(`( +`,ua(P(n,` +`)),` +)`)),P([a,P(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+V(" ",P(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>P(["...",V("on ",e),P(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${V("(",P(n,", "),")")} on ${t} ${V("",P(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?Y1(e):gS(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+P(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+P(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+V("(",P(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>V("",e,` +`)+P(["schema",P(t," "),St(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>V("",e,` +`)+P(["scalar",t,P(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>V("",e,` +`)+P(["type",t,V("implements ",P(n," & ")),P(r," "),St(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>V("",e,` +`)+t+(hp(n)?V(`( +`,ua(P(n,` +`)),` +)`):V("(",P(n,", "),")"))+": "+r+V(" ",P(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>V("",e,` +`)+P([t+": "+n,V("= ",r),P(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>V("",e,` +`)+P(["interface",t,V("implements ",P(n," & ")),P(r," "),St(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>V("",e,` +`)+P(["union",t,P(n," "),V("= ",P(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>V("",e,` +`)+P(["enum",t,P(n," "),St(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>V("",e,` +`)+P([t,P(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>V("",e,` +`)+P(["input",t,P(n," "),St(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>V("",e,` +`)+"directive @"+t+(hp(n)?V(`( +`,ua(P(n,` +`)),` +)`):V("(",P(n,", "),")"))+(r?" repeatable":"")+" on "+P(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>P(["extend schema",P(e," "),St(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>P(["extend scalar",e,P(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>P(["extend type",e,V("implements ",P(t," & ")),P(n," "),St(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>P(["extend interface",e,V("implements ",P(t," & ")),P(n," "),St(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>P(["extend union",e,P(t," "),V("= ",P(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>P(["extend enum",e,P(t," "),St(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>P(["extend input",e,P(t," "),St(n)]," ")}};function P(e,t=""){var n;return(n=e==null?void 0:e.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function St(e){return V(`{ +`,ua(P(e,` +`)),` +}`)}function V(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function ua(e){return V(" ",e.replace(/\n/g,` + `))}function hp(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(` +`)))!==null&&t!==void 0?t:!1}function vp(e){return e.kind===R.FIELD||e.kind===R.FRAGMENT_SPREAD||e.kind===R.INLINE_FRAGMENT}function mo(e,t){var n=e.directives;return!n||!n.length?!0:xS(n).every(function(r){var i=r.directive,o=r.ifArgument,a=!1;return o.value.kind==="Variable"?(a=t&&t[o.value.name.value],z(a!==void 0,64,i.name.value)):a=o.value.value,i.name.value==="skip"?!a:a})}function eo(e,t,n){var r=new Set(e),i=r.size;return Xt(t,{Directive:function(o){if(r.delete(o.name.value)&&(!n||!r.size))return df}}),n?!r.size:r.sizeObject.create(null),{forEach:NS,slice:IS}=Array.prototype,{hasOwnProperty:LS}=Object.prototype;class Rn{constructor(t=!0,n=DS){this.weakness=t,this.makeData=n}lookup(...t){return this.lookupArray(t)}lookupArray(t){let n=this;return NS.call(t,r=>n=n.getChildTrie(r)),LS.call(n,"data")?n.data:n.data=this.makeData(IS.call(t))}peek(...t){return this.peekArray(t)}peekArray(t){let n=this;for(let r=0,i=t.length;n&&r=0})||!1,AS=RS&&!PS;function fe(e){return e!==null&&typeof e=="object"}function MS(e,t){var n=t,r=[];e.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw He(68,o.operation,o.name?" named '".concat(o.name.value,"'"):"");o.kind==="FragmentDefinition"&&r.push(o)}),typeof n>"u"&&(z(r.length===1,69,r.length),n=r[0].name.value);var i=w(w({},e),{definitions:_n([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)});return i}function _s(e){e===void 0&&(e=[]);var t={};return e.forEach(function(n){t[n.name.value]=n}),t}function Os(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{var n=e.name.value;if(typeof t=="function")return t(n);var r=t&&t[n];return z(r,70,n),r||null}default:return null}}function Nr(e){return{__ref:String(e)}}function ne(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}function FS(e){return fe(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function jS(e){return e.kind==="StringValue"}function BS(e){return e.kind==="BooleanValue"}function zS(e){return e.kind==="IntValue"}function US(e){return e.kind==="FloatValue"}function $S(e){return e.kind==="Variable"}function QS(e){return e.kind==="ObjectValue"}function VS(e){return e.kind==="ListValue"}function KS(e){return e.kind==="EnumValue"}function HS(e){return e.kind==="NullValue"}function Qr(e,t,n,r){if(zS(n)||US(n))e[t.value]=Number(n.value);else if(BS(n)||jS(n))e[t.value]=n.value;else if(QS(n)){var i={};n.fields.map(function(a){return Qr(i,a.name,a.value,r)}),e[t.value]=i}else if($S(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(VS(n))e[t.value]=n.values.map(function(a){var s={};return Qr(s,t,a,r),s[t.value]});else if(KS(n))e[t.value]=n.value;else if(HS(n))e[t.value]=null;else throw He(79,t.value,n.kind)}function qS(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(i){n[i.name.value]={},i.arguments&&i.arguments.forEach(function(o){var a=o.name,s=o.value;return Qr(n[i.name.value],a,s,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(i){var o=i.name,a=i.value;return Qr(r,o,a,t)})),hf(e.name.value,r,n)}var WS=["connection","include","skip","client","rest","export","nonreactive"],hf=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(s){i[s]=t[s]}),"".concat(n.connection.key,"(").concat(ci(i),")")}else return n.connection.key;var o=e;if(t){var a=ci(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(s){WS.indexOf(s)===-1&&(n[s]&&Object.keys(n[s]).length?o+="@".concat(s,"(").concat(ci(n[s]),")"):o+="@".concat(s))}),o},{setStringify:function(e){var t=ci;return ci=e,t}}),ci=function(t){return JSON.stringify(t,GS)};function GS(e,t){return fe(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(n,r){return n[r]=t[r],n},{})),t}function ks(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(r){var i=r.name,o=r.value;return Qr(n,i,o,t)}),n}return null}function bn(e){return e.alias?e.alias.value:e.name.value}function $l(e,t,n){for(var r,i=0,o=t.selections;i0}var mp={kind:R.FIELD,name:{kind:R.NAME,value:"__typename"}};function vm(e,t){return!e||e.selectionSet.selections.every(function(n){return n.kind===R.FRAGMENT_SPREAD&&vm(t[n.name.value],t)})}function ZS(e){return vm(Eo(e)||XS(e),_s(bs(e)))?null:e}function ew(e){var t=new Map,n=new Map;return e.forEach(function(r){r&&(r.name?t.set(r.name,r):r.test&&n.set(r.test,r))}),function(r){var i=t.get(r.name.value);return!i&&n.size&&n.forEach(function(o,a){a(r)&&(i=o)}),i}}function gp(e){var t=new Map;return function(r){r===void 0&&(r=e);var i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function ym(e,t){go(t);for(var n=gp(""),r=gp(""),i=function(p){for(var h=0,y=void 0;h=0;--a)t.definitions[a].kind===R.OPERATION_DEFINITION&&++o;var s=ew(e),u=function(p){return mt(p)&&p.map(s).some(function(h){return h&&h.remove})},l=new Map,c=!1,f={enter:function(p){if(u(p.directives))return c=!0,null}},d=Xt(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(p,h,y,E,b){var _=i(b);_&&_.variables.add(p.name.value)}},FragmentSpread:{enter:function(p,h,y,E,b){if(u(p.directives))return c=!0,null;var _=i(b);_&&_.fragmentSpreads.add(p.name.value)}},FragmentDefinition:{enter:function(p,h,y,E){l.set(JSON.stringify(E),p)},leave:function(p,h,y,E){var b=l.get(JSON.stringify(E));if(p===b)return p;if(o>0&&p.selectionSet.selections.every(function(_){return _.kind===R.FIELD&&_.name.value==="__typename"}))return r(p.name.value).removed=!0,c=!0,null}},Directive:{leave:function(p){if(s(p))return c=!0,null}}});if(!c)return t;var v=function(p){return p.transitiveVars||(p.transitiveVars=new Set(p.variables),p.removed||p.fragmentSpreads.forEach(function(h){v(r(h)).transitiveVars.forEach(function(y){p.transitiveVars.add(y)})})),p},g=new Set;d.definitions.forEach(function(p){p.kind===R.OPERATION_DEFINITION?v(n(p.name&&p.name.value)).fragmentSpreads.forEach(function(h){g.add(h)}):p.kind===R.FRAGMENT_DEFINITION&&o===0&&!r(p.name.value).removed&&g.add(p.name.value)}),g.forEach(function(p){v(r(p)).fragmentSpreads.forEach(function(h){g.add(h)})});var m=function(p){return!!(!g.has(p)||r(p).removed)},S={enter:function(p){if(m(p.name.value))return null}};return ZS(Xt(d,{FragmentSpread:S,FragmentDefinition:S,OperationDefinition:{leave:function(p){if(p.variableDefinitions){var h=v(n(p.name&&p.name.value)).transitiveVars;if(h.size1)for(var r=new Cn,i=1;i=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ow(e,t){if(e){if(typeof e=="string")return Sp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sp(e,t)}}function Sp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1,s=!1,u=arguments[1],l=u;return new o(function(c){return i.subscribe({next:function(f){var d=!s;if(s=!0,!d||a)try{l=r(l,f)}catch(v){return c.error(v)}else l=f},error:function(f){c.error(f)},complete:function(){if(!s&&!a)return c.error(new TypeError("Cannot reduce an empty sequence"));c.next(l),c.complete()}})})},t.concat=function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a=0&&s.splice(d,1),l()}});s.push(f)},error:function(c){a.error(c)},complete:function(){l()}});function l(){u.closed&&s.length===0&&a.complete()}return function(){s.forEach(function(c){return c.unsubscribe()}),u.unsubscribe()}})},t[Vl]=function(){return this},e.from=function(r){var i=typeof this=="function"?this:e;if(r==null)throw new TypeError(r+" is not an object");var o=Qa(r,Vl);if(o){var a=o.call(r);if(Object(a)!==a)throw new TypeError(a+" is not an object");return sw(a)&&a.constructor===i?a:new i(function(s){return a.subscribe(s)})}if(Sf("iterator")&&(o=Qa(r,aw),o))return new i(function(s){la(function(){if(!s.closed){for(var u=iw(o.call(r)),l;!(l=u()).done;){var c=l.value;if(s.next(c),s.closed)return}s.complete()}})});if(Array.isArray(r))return new i(function(s){la(function(){if(!s.closed){for(var u=0;u=0;--s){var u=a[s],l=!isNaN(+u),c=l?[]:{};c[u]=o,o=c}n=r.merge(n,o)}),n}function ca(e){var t=ql(e);return mt(t)}function ql(e){var t=mt(e.errors)?e.errors.slice(0):[];return Ir(e)&&mt(e.incremental)&&e.incremental.forEach(function(n){n.errors&&t.push.apply(t,n.errors)}),t}function Yn(){for(var e=[],t=0;t-1;){if(p=void 0,T=[u.slice(0,S),u.slice(S+s.length)],p=T[0],u=T[1],h=p.indexOf(`\r +\r +`),y=Mw(p.slice(0,h)),E=y["content-type"],E&&E.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(b=p.slice(h),b){if(_=km(e,b),Object.keys(_).length>1||"data"in _||"incremental"in _||"errors"in _||"payload"in _)mw(_)?(O={},"payload"in _&&(O=w({},_.payload)),"errors"in _&&(O=w(w({},O),{extensions:w(w({},"extensions"in O?O.extensions:null),(U={},U[_f]=_.errors,U))})),t(O)):t(_);else if(Object.keys(_).length===1&&"hasNext"in _&&!_.hasNext)return[2]}S=u.indexOf(s)}return[3,1];case 3:return[2]}})})}function Mw(e){var t={};return e.split(` +`).forEach(function(n){var r=n.indexOf(":");if(r>-1){var i=n.slice(0,r).trim().toLowerCase(),o=n.slice(r+1).trim();t[i]=o}}),t}function km(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};Wl(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function Fw(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function jw(e){return function(t){return t.text().then(function(n){return km(t,n)}).then(function(n){return t.status>=300&&Wl(t,n,"Response not successful: Received status code ".concat(t.status)),!Array.isArray(n)&&!Cp.call(n,"data")&&!Cp.call(n,"errors")&&Wl(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(r){return r.operationName}):e.operationName,"'.")),n})}}var Yl=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=He(37,t,i.message);throw r.parseError=i,r}return n},Bw={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},zw={accept:"*/*","content-type":"application/json"},Uw={method:"POST"},$w={http:Bw,headers:zw,options:Uw},Qw=function(e,t){return t(e)};function Vw(e,t){for(var n=[],r=2;r"u")throw He(35)},qw=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function Ww(e,t){var n=[],r=function(f,d){n.push("".concat(f,"=").concat(encodeURIComponent(d)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=Yl(t.variables,"Variables map")}catch(f){return{parseError:f}}r("variables",i)}if(t.extensions){var o=void 0;try{o=Yl(t.extensions,"Extensions map")}catch(f){return{parseError:f}}r("extensions",o)}var a="",s=e,u=e.indexOf("#");u!==-1&&(a=e.substr(u),s=e.substr(0,u));var l=s.indexOf("?")===-1?"?":"&",c=s+l+n.join("&")+a;return{newURI:c}}var xp=kt(function(){return fetch}),Gw=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,o=i===void 0?Qw:i,a=e.includeExtensions,s=e.preserveHeaderCase,u=e.useGETForQueries,l=e.includeUnusedVariables,c=l===void 0?!1:l,f=jt(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&Hw(r||xp);var d={http:{includeExtensions:a,preserveHeaderCase:s},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new wo(function(v){var g=qw(v,n),m=v.getContext(),S={};if(m.clientAwareness){var p=m.clientAwareness,h=p.name,y=p.version;h&&(S["apollographql-client-name"]=h),y&&(S["apollographql-client-version"]=y)}var E=w(w({},S),m.headers),b={http:m.http,options:m.fetchOptions,credentials:m.credentials,headers:E};if(eo(["client"],v.query)){var _=mm(v.query);if(!_)return bu(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));v.query=_}var O=Vw(v,o,$w,d,b),T=O.options,U=O.body;U.variables&&!c&&(U.variables=ww(U.variables,v.query));var F;!T.signal&&typeof AbortController<"u"&&(F=new AbortController,T.signal=F.signal);var G=function(I){return I.kind==="OperationDefinition"&&I.operation==="mutation"},ke=function(I){return I.kind==="OperationDefinition"&&I.operation==="subscription"},gt=ke(So(v.query)),D=eo(["defer"],v.query);if(u&&!v.query.definitions.some(G)&&(T.method="GET"),D||gt){T.headers=T.headers||{};var k="multipart/mixed;";gt&&D&&globalThis.__DEV__!==!1&&z.warn(36),gt?k+="boundary=graphql;subscriptionSpec=1.0,application/json":D&&(k+="deferSpec=20220824,application/json"),T.headers.accept=k}if(T.method==="GET"){var j=Ww(g,U),re=j.newURI,N=j.parseError;if(N)return bu(N);g=re}else try{T.body=Yl(U,"Payload")}catch(I){return bu(I)}return new se(function(I){var M=r||kt(function(){return fetch})||xp,Q=I.next.bind(I);return M(g,T).then(function(B){var H;v.setContext({response:B});var Z=(H=B.headers)===null||H===void 0?void 0:H.get("content-type");return Z!==null&&/^multipart\/mixed/i.test(Z)?Aw(B,Q):jw(v)(B).then(Q)}).then(function(){F=void 0,I.complete()}).catch(function(B){F=void 0,Fw(B,I)}),function(){F&&F.abort()}})})},Yw=function(e){en(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,Gw(n).request)||this;return r.options=n,r}return t}(wo);const{toString:Dp,hasOwnProperty:Xw}=Object.prototype,Np=Function.prototype.toString,Xl=new Map;function ie(e,t){try{return Jl(e,t)}finally{Xl.clear()}}function Jl(e,t){if(e===t)return!0;const n=Dp.call(e),r=Dp.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Lp(e,t))return!0;const i=Ip(e),o=Ip(t),a=i.length;if(a!==o.length)return!1;for(let s=0;s=0&&e.indexOf(t,n)===n}function Lp(e,t){let n=Xl.get(e);if(n){if(n.has(t))return!0}else Xl.set(e,n=new Set);return n.add(t),!1}function t_(){}class n_{constructor(t=1/0,n=t_){this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:r,newer:i}=n;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n}set(t,n){let r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1}}let Re=null;const Rp={};let r_=1;const i_=()=>class{constructor(){this.id=["slot",r_++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=Re;t;t=t.parent)if(this.id in t.slots){const n=t.slots[this.id];if(n===Rp)break;return t!==Re&&(Re.slots[this.id]=n),!0}return Re&&(Re.slots[this.id]=Rp),!1}getValue(){if(this.hasValue())return Re.slots[this.id]}withValue(t,n,r,i){const o={__proto__:null,[this.id]:t},a=Re;Re={parent:a,slots:o};try{return n.apply(i,r)}finally{Re=a}}static bind(t){const n=Re;return function(){const r=Re;try{return Re=n,t.apply(this,arguments)}finally{Re=r}}}static noContext(t,n,r){if(Re){const i=Re;try{return Re=null,t.apply(r,n)}finally{Re=i}}else return t.apply(r,n)}};function Pp(e){try{return e()}catch{}}const Tu="@wry/context:Slot",o_=Pp(()=>globalThis)||Pp(()=>global)||Object.create(null),Ap=o_,bm=Ap[Tu]||Array[Tu]||function(e){try{Object.defineProperty(Ap,Tu,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(i_()),Ts=new bm,{hasOwnProperty:a_}=Object.prototype,Of=Array.from||function(e){const t=[];return e.forEach(n=>t.push(n)),t};function Va(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const no=[],s_=100;function Kr(e,t){if(!e)throw new Error(t||"assertion failure")}function u_(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function Tm(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function l_(e){return e.slice(0)}class Cs{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Cs.count}peek(){if(this.value.length===1&&!xn(this))return Mp(this),this.value[0]}recompute(t){return Kr(!this.recomputing,"already recomputing"),Mp(this),xn(this)?c_(this,t):Tm(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,Cm(this),Va(this))}dispose(){this.setDirty(),Lm(this),kf(this,(t,n)=>{t.setDirty(),Rm(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=no.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(Of(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),no.push(this.deps),this.deps=null)}}Cs.count=0;function Mp(e){const t=Ts.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),xn(e)?Dm(t,e):Nm(t,e),t}function c_(e,t){return Lm(e),Ts.withValue(e,f_,[e,t]),p_(e,t)&&d_(e),Tm(e.value)}function f_(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function xn(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function d_(e){e.dirty=!1,!xn(e)&&xm(e)}function Cm(e){kf(e,Dm)}function xm(e){kf(e,Nm)}function kf(e,t){const n=e.parents.size;if(n){const r=Of(e.parents);for(let i=0;i0&&e.childValues.forEach((t,n)=>{Rm(e,n)}),e.forgetDeps(),Kr(e.dirtyChildren===null)}function Rm(e,t){t.parents.delete(e),e.childValues.delete(t),Im(e,t)}function p_(e,t){if(typeof e.subscribe=="function")try{Va(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const h_={setDirty:!0,dispose:!0,forget:!0};function Pm(e){const t=new Map,n=e&&e.subscribe;function r(i){const o=Ts.getValue();if(o){let a=t.get(i);a||t.set(i,a=new Set),o.dependOn(a),typeof n=="function"&&(Va(a),a.unsubscribe=n(i))}}return r.dirty=function(o,a){const s=t.get(o);if(s){const u=a&&a_.call(h_,a)?a:"setDirty";Of(s).forEach(l=>l[u]()),t.delete(o),Va(s)}},r}let Fp;function v_(...e){return(Fp||(Fp=new Rn(typeof WeakMap=="function"))).lookupArray(e)}const Cu=new Set;function Ka(e,{max:t=Math.pow(2,16),makeCacheKey:n=v_,keyArgs:r,subscribe:i}=Object.create(null)){const o=new n_(t,c=>c.dispose()),a=function(){const c=n.apply(null,r?r.apply(null,arguments):arguments);if(c===void 0)return e.apply(null,arguments);let f=o.get(c);f||(o.set(c,f=new Cs(e)),f.subscribe=i,f.forget=()=>o.delete(c));const d=f.recompute(Array.prototype.slice.call(arguments));return o.set(c,f),Cu.add(o),Ts.hasValue()||(Cu.forEach(v=>v.clean()),Cu.clear()),d};Object.defineProperty(a,"size",{get(){return o.map.size},configurable:!1,enumerable:!1}),Object.freeze(a.options={max:t,makeCacheKey:n,keyArgs:r,subscribe:i});function s(c){const f=o.get(c);f&&f.setDirty()}a.dirtyKey=s,a.dirty=function(){s(n.apply(null,arguments))};function u(c){const f=o.get(c);if(f)return f.peek()}a.peekKey=u,a.peek=function(){return u(n.apply(null,arguments))};function l(c){return o.delete(c)}return a.forgetKey=l,a.forget=function(){return l(n.apply(null,arguments))},a.makeCacheKey=n,a.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(a)}var y_=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Ka(MS)}return e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(w(w({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(w(w({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=jt(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,o=t.fragmentName,a=jt(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return this.batch({update:function(r){var i=r.readQuery(t),o=n(i);return o==null?i:(r.writeQuery(w(w({},t),{data:o})),o)}})},e.prototype.updateFragment=function(t,n){return this.batch({update:function(r){var i=r.readFragment(t),o=n(i);return o==null?i:(r.writeFragment(w(w({},t),{data:o})),o)}})},e}(),Am=function(e){en(t,e);function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=(a={},a[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return t}(Error),Ce=Object.prototype.hasOwnProperty;function pi(e){return e==null}function Mm(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=pi(r)?pi(i)?void 0:{_id:i}:{id:r}),pi(r)&&!pi(i)&&(r=i),!pi(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var Fm={dataIdFromObject:Mm,addTypename:!0,resultCaching:!0,canonizeResults:!1};function m_(e){return Yn(Fm,e)}function jm(e){var t=e.canonizeResults;return t===void 0?Fm.canonizeResults:t}function g_(e,t){return ne(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var Bm=/^[_a-z][_0-9a-z]*/i;function Dn(e){var t=e.match(Bm);return t?t[0]:e}function Zl(e,t,n){return fe(t)?Ee(t)?t.every(function(r){return Zl(e,r,n)}):e.selections.every(function(r){if(Tn(r)&&mo(r,n)){var i=bn(r);return Ce.call(t,i)&&(!r.selectionSet||Zl(r.selectionSet,t[i],n))}return!0}):!1}function _r(e){return fe(e)&&!ne(e)&&!Ee(e)}function E_(){return new Cn}function zm(e,t){var n=_s(bs(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var da=Object.create(null),xu=function(){return da},jp=Object.create(null),ro=function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,o){return to(ne(i)?r.get(i.__ref,o):i&&i[o])},this.canRead=function(i){return ne(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,o){if(typeof i=="string")return Nr(i);if(ne(i))return i;var a=r.policies.identify(i)[0];if(a){var s=Nr(a);return o&&r.merge(a,i),s}}}return e.prototype.toObject=function(){return w({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),Ce.call(this.data,t)){var r=this.data[t];if(r&&Ce.call(r,n))return r[n]}if(n==="__typename"&&Ce.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof nn)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),Ce.call(this.data,t))return this.data[t];if(this instanceof nn)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;ne(t)&&(t=t.__ref),ne(n)&&(n=n.__ref);var o=typeof t=="string"?this.lookup(i=t):t,a=typeof n=="string"?this.lookup(i=n):n;if(a){z(typeof i=="string",1);var s=new Cn(w_).merge(o,a);if(this.data[i]=s,s!==o&&(delete this.refs[i],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach(function(l){if(!o||o[l]!==s[l]){u[l]=1;var c=Dn(l);c!==l&&!r.policies.hasKeyArgs(s.__typename,c)&&(u[c]=1),s[l]===void 0&&!(r instanceof nn)&&delete s[l]}}),u.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[i]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(l){return r.group.dirty(i,l)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var o=Object.create(null),a=!1,s=!0,u={DELETE:da,INVALIDATE:jp,isReference:ne,toReference:this.toReference,canRead:this.canRead,readField:function(l,c){return r.policies.readField(typeof l=="string"?{fieldName:l,from:c||Nr(t)}:l,{store:r})}};if(Object.keys(i).forEach(function(l){var c=Dn(l),f=i[l];if(f!==void 0){var d=typeof n=="function"?n:n[l]||n[c];if(d){var v=d===xu?da:d(to(f),w(w({},u),{fieldName:c,storeFieldName:l,storage:r.getStorage(t,l)}));v===jp?r.group.dirty(t,l):(v===da&&(v=void 0),v!==f&&(o[l]=v,a=!0,f=v))}f!==void 0&&(s=!1)}}),a)return this.merge(t,o),s&&(this instanceof nn?this.data[t]=void 0:delete this.data[t],this.group.dirty(t,"__exists")),!0}return!1},e.prototype.delete=function(t,n,r){var i,o=this.lookup(t);if(o){var a=this.getFieldValue(o,"__typename"),s=n&&r?this.policies.getStoreFieldName({typename:a,fieldName:n,args:r}):n;return this.modify(t,s?(i={},i[s]=xu,i):xu)}return!1},e.prototype.evict=function(t,n){var r=!1;return t.id&&(Ce.call(this.data,t.id)&&(r=this.delete(t.id,t.fieldName,t.args)),this instanceof nn&&this!==n&&(r=this.parent.evict(t,n)||r),(t.fieldName||r)&&this.group.dirty(t.id,t.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var t=this,n=this.toObject(),r=[];return this.getRootIdSet().forEach(function(i){Ce.call(t.policies.rootTypenamesById,i)||r.push(i)}),r.length&&(n.__META={extraRootIds:r.sort()}),n},e.prototype.replace=function(t){var n=this;if(Object.keys(this.data).forEach(function(o){t&&Ce.call(t,o)||n.delete(o)}),t){var r=t.__META,i=jt(t,["__META"]);Object.keys(i).forEach(function(o){n.merge(o,i[o])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(t){return this.rootIds[t]=(this.rootIds[t]||0)+1},e.prototype.release=function(t){if(this.rootIds[t]>0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof nn?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(a){Ce.call(r,a)&&(Object.keys(t.findChildRefIds(a)).forEach(n.add,n),delete r[a])});var i=Object.keys(r);if(i.length){for(var o=this;o instanceof nn;)o=o.parent;i.forEach(function(a){return o.delete(a)})}return i},e.prototype.findChildRefIds=function(t){if(!Ce.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(o){ne(o)&&(n[o.__ref]=!0),fe(o)&&Object.keys(o).forEach(function(a){var s=o[a];fe(s)&&i.add(s)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Um=function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?Pm():null,this.keyMaker=new Rn(Bt)},e.prototype.depend=function(t,n){if(this.d){this.d(Du(t,n));var r=Dn(n);r!==n&&this.d(Du(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(Du(t,n),n==="__exists"?"forget":"setDirty")},e}();function Du(e,t){return t+"#"+e}function Bp(e,t){Li(e)&&e.group.depend(t,"__exists")}(function(e){var t=function(n){en(r,n);function r(i){var o=i.policies,a=i.resultCaching,s=a===void 0?!0:a,u=i.seed,l=n.call(this,o,new Um(s))||this;return l.stump=new S_(l),l.storageTrie=new Rn(Bt),u&&l.replace(u),l}return r.prototype.addLayer=function(i,o){return this.stump.addLayer(i,o)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r}(e);e.Root=t})(ro||(ro={}));var nn=function(e){en(t,e);function t(n,r,i,o){var a=e.call(this,r.policies,o)||this;return a.id=n,a.parent=r,a.replay=i,a.group=o,i(a),a}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=r.data[o],s=i.lookup(o);s?a?a!==s&&Object.keys(a).forEach(function(u){ie(a[u],s[u])||r.group.dirty(o,u)}):(r.group.dirty(o,"__exists"),Object.keys(s).forEach(function(u){r.group.dirty(o,u)})):r.delete(o)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return w(w({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return Ce.call(this.data,n)?w(w({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t}(ro),S_=function(e){en(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new Um(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(nn);function w_(e,t,n){var r=e[n],i=t[n];return ie(r,i)?r:i}function Li(e){return!!(e instanceof ro&&e.group.caching)}function __(e){return fe(e)?Ee(e)?e.slice(0):w({__proto__:Object.getPrototypeOf(e)},e):e}var ec=function(){function e(){this.known=new(fm?WeakSet:Set),this.pool=new Rn(Bt),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return fe(t)&&this.known.has(t)},e.prototype.pass=function(t){if(fe(t)){var n=__(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(fe(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var o=t.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(t))return t;var s=Object.getPrototypeOf(t),u=[s],l=this.sortedKeys(t);u.push(l.json);var c=u.length;l.sorted.forEach(function(v){u.push(n.admit(t[v]))});var a=this.pool.lookupArray(u);if(!a.object){var f=a.object=Object.create(s);this.known.add(f),l.sorted.forEach(function(v,g){f[v]=u[c+g]}),globalThis.__DEV__!==!1&&Object.freeze(f)}return a.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}(),Qn=Object.assign(function(e){if(fe(e)){tc===void 0&&zp();var t=tc.admit(e),n=nc.get(t);return n===void 0&&nc.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:zp}),tc,nc;function zp(){tc=new ec,nc=new(Bt?WeakMap:Map)}function Up(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var O_=function(){function e(t){var n=this;this.knownResults=new(Bt?WeakMap:Map),this.config=Yn(t,{addTypename:t.addTypename!==!1,canonizeResults:jm(t)}),this.canon=t.canon||new ec,this.executeSelectionSet=Ka(function(r){var i,o=r.context.canonizeResults,a=Up(r);a[3]=!o;var s=(i=n.executeSelectionSet).peek.apply(i,a);return s?o?w(w({},s),{result:n.canon.admit(s.result)}):s:(Bp(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize,keyArgs:Up,makeCacheKey:function(r,i,o,a){if(Li(o.store))return o.store.makeCacheKey(r,ne(i)?i.__ref:i,o.varString,a)}}),this.executeSubSelectedArray=Ka(function(r){return Bp(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(r){var i=r.field,o=r.array,a=r.context;if(Li(a.store))return a.store.makeCacheKey(i,o,a.varString)}})}return e.prototype.resetCanon=function(){this.canon=new ec},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,o=i===void 0?"ROOT_QUERY":i,a=t.variables,s=t.returnPartialData,u=s===void 0?!0:s,l=t.canonizeResults,c=l===void 0?this.config.canonizeResults:l,f=this.config.cache.policies;a=w(w({},vf(dm(r))),a);var d=Nr(o),v=this.executeSelectionSet({selectionSet:So(r).selectionSet,objectOrReference:d,enclosingRef:d,context:w({store:n,query:r,policies:f,variables:a,varString:Qn(a),canonizeResults:c},zm(r,this.config.fragments))}),g;if(v.missing&&(g=[new Am(k_(v.missing),v.missing,r,a)],!u))throw g[0];return{result:v.result,complete:!g,missing:g}},e.prototype.isFresh=function(t,n,r,i){if(Li(i.store)&&this.knownResults.get(t)===r){var o=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(o&&t===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,o=t.enclosingRef,a=t.context;if(ne(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,u=a.policies,l=a.store,c=l.getFieldValue(i,"__typename"),f=[],d,v=new Cn;this.config.addTypename&&typeof c=="string"&&!u.rootIdsByTypename[c]&&f.push({__typename:c});function g(y,E){var b;return y.missing&&(d=v.merge(d,(b={},b[E]=y.missing,b))),y.result}var m=new Set(r.selections);m.forEach(function(y){var E,b;if(mo(y,s))if(Tn(y)){var _=u.readField({fieldName:y.name.value,field:y,variables:a.variables,from:i},a),O=bn(y);_===void 0?yf.added(y)||(d=v.merge(d,(E={},E[O]="Can't find field '".concat(y.name.value,"' on ").concat(ne(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),E))):Ee(_)?_=g(n.executeSubSelectedArray({field:y,array:_,enclosingRef:o,context:a}),O):y.selectionSet?_!=null&&(_=g(n.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:_,enclosingRef:ne(_)?_:o,context:a}),O)):a.canonizeResults&&(_=n.canon.pass(_)),_!==void 0&&f.push((b={},b[O]=_,b))}else{var T=Os(y,a.lookupFragment);if(!T&&y.kind===R.FRAGMENT_SPREAD)throw He(7,y.name.value);T&&u.fragmentMatches(T,c)&&T.selectionSet.selections.forEach(m.add,m)}});var S=mf(f),p={result:S,missing:d},h=a.canonizeResults?this.canon.admit(p):to(p);return h.result&&this.knownResults.set(h.result,r),h},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,o=t.enclosingRef,a=t.context,s,u=new Cn;function l(c,f){var d;return c.missing&&(s=u.merge(s,(d={},d[f]=c.missing,d))),c.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(c,f){return c===null?null:Ee(c)?l(n.executeSubSelectedArray({field:r,array:c,enclosingRef:o,context:a}),f):r.selectionSet?l(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:c,enclosingRef:ne(c)?c:o,context:a}),f):(globalThis.__DEV__!==!1&&b_(a.store,r,c),c)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:s}},e}();function k_(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function b_(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){fe(i)&&(z(!ne(i),8,g_(e,i),t.name.value),Object.values(i).forEach(r.add,r))})}}var bf=new bm,$p=new WeakMap;function Ri(e){var t=$p.get(e);return t||$p.set(e,t={vars:new Set,dep:Pm()}),t}function Qp(e){Ri(e).vars.forEach(function(t){return t.forgetCache(e)})}function T_(e){Ri(e).vars.forEach(function(t){return t.attachCache(e)})}function C_(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(u){Ri(u).dep.dirty(r),x_(u)});var a=Array.from(n);n.clear(),a.forEach(function(u){return u(e)})}}else{var s=bf.getValue();s&&(i(s),Ri(s).dep(r))}return e};r.onNextChange=function(o){return n.add(o),function(){n.delete(o)}};var i=r.attachCache=function(o){return t.add(o),Ri(o).vars.add(r),r};return r.forgetCache=function(o){return t.delete(o)},r}function x_(e){e.broadcastWatches&&e.broadcastWatches()}var Vp=Object.create(null);function Tf(e){var t=JSON.stringify(e);return Vp[t]||(Vp[t]=Object.create(null))}function Kp(e){var t=Tf(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(a,s){return r.readField(s,a)},o=r.keyObject=Cf(e,function(a){var s=Lr(r.storeObject,a,i);return s===void 0&&n!==r.storeObject&&Ce.call(n,a[0])&&(s=Lr(n,a,Qm)),z(s!==void 0,2,a.join("."),n),s});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function Hp(e){var t=Tf(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,o=r.variables,a=r.fieldName,s=Cf(e,function(l){var c=l[0],f=c.charAt(0);if(f==="@"){if(i&&mt(i.directives)){var d=c.slice(1),v=i.directives.find(function(p){return p.name.value===d}),g=v&&ks(v,o);return g&&Lr(g,l.slice(1))}return}if(f==="$"){var m=c.slice(1);if(o&&Ce.call(o,m)){var S=l.slice(0);return S[0]=m,Lr(o,S)}return}if(n)return Lr(n,l)}),u=JSON.stringify(s);return(n||u!=="{}")&&(a+=":"+u),a})}function Cf(e,t){var n=new Cn;return $m(e).reduce(function(r,i){var o,a=t(i);if(a!==void 0){for(var s=i.length-1;s>=0;--s)a=(o={},o[i[s]]=a,o);r=n.merge(r,a)}return r},Object.create(null))}function $m(e){var t=Tf(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,o){Ee(i)?($m(i).forEach(function(a){return n.push(r.concat(a))}),r.length=0):(r.push(i),Ee(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function Qm(e,t){return e[t]}function Lr(e,t,n){return n=n||Qm,Vm(t.reduce(function r(i,o){return Ee(i)?i.map(function(a){return r(a,o)}):i&&n(i,o)},e))}function Vm(e){return fe(e)?Ee(e)?e.map(Vm):Cf(Object.keys(e).sort(),function(t){return Lr(e,t)}):e}hf.setStringify(Qn);function rc(e){return e.args!==void 0?e.args:e.field?ks(e.field,e.variables):null}var D_=function(){},qp=function(e,t){return t.fieldName},Wp=function(e,t,n){var r=n.mergeObjects;return r(e,t)},Gp=function(e,t){return t},N_=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=w({dataIdFromObject:Mm},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,o=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=n&&n.storeObject||t,s=w(w({},n),{typename:o,storeObject:a,readField:n&&n.readField||function(){var d=xf(arguments,a);return i.readField(d,{store:i.cache.data,variables:d.variables})}}),u,l=o&&this.getTypePolicy(o),c=l&&l.keyFn||this.config.dataIdFromObject;c;){var f=c(w(w({},t),a),s);if(Ee(f))c=Kp(f);else{u=f;break}}return u=u?String(u):void 0,s.keyObject?[u,s.keyObject]:[u]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=jt(i,["queryType","mutationType","subscriptionType"]);o&&n.setRootTypename("Query",r),a&&n.setRootTypename("Mutation",r),s&&n.setRootTypename("Subscription",r),Ce.call(n.toBeAdded,r)?n.toBeAdded[r].push(u):n.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(t,n){var r=this,i=this.getTypePolicy(t),o=n.keyFields,a=n.fields;function s(u,l){u.merge=typeof l=="function"?l:l===!0?Wp:l===!1?Gp:u.merge}s(i,n.merge),i.keyFn=o===!1?D_:Ee(o)?Kp(o):typeof o=="function"?o:i.keyFn,a&&Object.keys(a).forEach(function(u){var l=r.getFieldPolicy(t,u,!0),c=a[u];if(typeof c=="function")l.read=c;else{var f=c.keyArgs,d=c.read,v=c.merge;l.keyFn=f===!1?qp:Ee(f)?Hp(f):typeof f=="function"?f:l.keyFn,typeof d=="function"&&(l.read=d),s(l,v)}l.read&&l.merge&&(l.keyFn=l.keyFn||qp)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(z(!i||i===t,3,t),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var o=i.match(Bm);(!o||o[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!Ce.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach(function(a,s){if(a.test(t)){var u=n.supertypeMap.get(s);u&&u.forEach(function(l){return i.add(l)})}})),i&&i.size&&i.forEach(function(a){var s=n.getTypePolicy(a),u=s.fields,l=jt(s,["fields"]);Object.assign(r,l),Object.assign(r.fields,u)})}var o=this.toBeAdded[t];return o&&o.length&&o.splice(0).forEach(function(a){n.updateTypePolicy(t,a)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n,r){if(t){var i=this.getTypePolicy(t).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var o=this;if(!t.typeCondition)return!0;if(!n)return!1;var a=t.typeCondition.name.value;if(n===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(n,!0),u=[s],l=function(g){var m=o.getSupertypeSet(g,!1);m&&m.size&&u.indexOf(m)<0&&u.push(m)},c=!!(r&&this.fuzzySubtypes.size),f=!1,d=0;d1?i:t}:(a=w({},r),Ce.call(a,"from")||(a.from=t)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&z.warn(5,em(Array.from(e))),a.variables===void 0&&(a.variables=n),a}function Km(e){return function(n,r){if(Ee(n)||Ee(r))throw He(6);if(fe(n)&&fe(r)){var i=e.getFieldValue(n,"__typename"),o=e.getFieldValue(r,"__typename"),a=i&&o&&i!==o;if(a)return r;if(ne(n)&&_r(r))return e.merge(n.__ref,r),n;if(_r(n)&&ne(r))return e.merge(n,r.__ref),r;if(_r(n)&&_r(r))return w(w({},n),r)}return r}}function Nu(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:w(w({},e),{clientOnly:t,deferred:n})),i}var I_=function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,o=n.result,a=n.dataId,s=n.variables,u=n.overwrite,l=Eo(i),c=E_();s=w(w({},vf(l)),s);var f=w(w({store:t,written:Object.create(null),merge:function(v,g){return c.merge(v,g)},variables:s,varString:Qn(s)},zm(i,this.fragments)),{overwrite:!!u,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:f});if(!ne(d))throw He(9,o);return f.incomingById.forEach(function(v,g){var m=v.storeObject,S=v.mergeTree,p=v.fieldNodeSet,h=Nr(g);if(S&&S.map.size){var y=r.applyMerges(S,h,m,f);if(ne(y))return;m=y}if(globalThis.__DEV__!==!1&&!f.overwrite){var E=Object.create(null);p.forEach(function(O){O.selectionSet&&(E[O.name.value]=!0)});var b=function(O){return E[Dn(O)]===!0},_=function(O){var T=S&&S.map.get(O);return!!(T&&T.info&&T.info.merge)};Object.keys(m).forEach(function(O){b(O)&&!_(O)&&L_(h,m,O,f.store)})}t.merge(g,m)}),t.retain(d.__ref),d},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,o=t.selectionSet,a=t.context,s=t.mergeTree,u=this.cache.policies,l=Object.create(null),c=r&&u.rootTypenamesById[r]||$l(i,o,a.fragmentMap)||r&&a.store.get(r,"__typename");typeof c=="string"&&(l.__typename=c);var f=function(){var y=xf(arguments,l,a.variables);if(ne(y.from)){var E=a.incomingById.get(y.from.__ref);if(E){var b=u.readField(w(w({},y),{from:E.storeObject}),a);if(b!==void 0)return b}}return u.readField(y,a)},d=new Set;this.flattenFields(o,i,a,c).forEach(function(y,E){var b,_=bn(E),O=i[_];if(d.add(E),O!==void 0){var T=u.getStoreFieldName({typename:c,fieldName:E.name.value,field:E,variables:y.variables}),U=Xp(s,T),F=n.processFieldValue(O,E,E.selectionSet?Nu(y,!1,!1):y,U),G=void 0;E.selectionSet&&(ne(F)||_r(F))&&(G=f("__typename",F));var ke=u.getMergeFunction(c,E.name.value,G);ke?U.info={field:E,typename:c,merge:ke}:Jp(s,T),l=y.merge(l,(b={},b[T]=F,b))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!yf.added(E)&&!u.getReadFunction(c,E.name.value)&&globalThis.__DEV__!==!1&&z.error(10,bn(E),i)});try{var v=u.identify(i,{typename:c,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:l,readField:f}),g=v[0],m=v[1];r=r||g,m&&(l=a.merge(l,m))}catch(y){if(!r)throw y}if(typeof r=="string"){var S=Nr(r),p=a.written[r]||(a.written[r]=[]);if(p.indexOf(o)>=0||(p.push(o),this.reader&&this.reader.isFresh(i,S,o,a)))return S;var h=a.incomingById.get(r);return h?(h.storeObject=a.merge(h.storeObject,l),h.mergeTree=ic(h.mergeTree,s),d.forEach(function(y){return h.fieldNodeSet.add(y)})):a.incomingById.set(r,{storeObject:l,mergeTree:Ha(s)?void 0:s,fieldNodeSet:d}),S}return l},e.prototype.processFieldValue=function(t,n,r,i){var o=this;return!n.selectionSet||t===null?globalThis.__DEV__!==!1?wm(t):t:Ee(t)?t.map(function(a,s){var u=o.processFieldValue(a,n,r,Xp(i,s));return Jp(i,s),u}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=$l(n,t,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new Rn(!1);return function u(l,c){var f=s.lookup(l,c.clientOnly,c.deferred);f.visited||(f.visited=!0,l.selections.forEach(function(d){if(mo(d,r.variables)){var v=c.clientOnly,g=c.deferred;if(!(v&&g)&&mt(d.directives)&&d.directives.forEach(function(p){var h=p.name.value;if(h==="client"&&(v=!0),h==="defer"){var y=ks(p,r.variables);(!y||y.if!==!1)&&(g=!0)}}),Tn(d)){var m=o.get(d);m&&(v=v&&m.clientOnly,g=g&&m.deferred),o.set(d,Nu(r,v,g))}else{var S=Os(d,r.lookupFragment);if(!S&&d.kind===R.FRAGMENT_SPREAD)throw He(11,d.name.value);S&&a.fragmentMatches(S,i,n,r.variables)&&u(S.selectionSet,Nu(r,v,g))}}}))}(t,r),o},e.prototype.applyMerges=function(t,n,r,i,o){var a,s=this;if(t.map.size&&!ne(r)){var u=!Ee(r)&&(ne(n)||_r(n))?n:void 0,l=r;u&&!o&&(o=[ne(u)?u.__ref:u]);var c,f=function(d,v){return Ee(d)?typeof v=="number"?d[v]:void 0:i.store.getFieldValue(d,String(v))};t.map.forEach(function(d,v){var g=f(u,v),m=f(l,v);if(m!==void 0){o&&o.push(v);var S=s.applyMerges(d,g,m,i,o);S!==m&&(c=c||new Map,c.set(v,S)),o&&z(o.pop()===v)}}),c&&(r=Ee(l)?l.slice(0):w({},l),c.forEach(function(d,v){r[v]=d}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,o&&(a=i.store).getStorage.apply(a,o)):r},e}(),Hm=[];function Xp(e,t){var n=e.map;return n.has(t)||n.set(t,Hm.pop()||{map:new Map}),n.get(t)}function ic(e,t){if(e===t||!t||Ha(t))return e;if(!e||Ha(e))return t;var n=e.info&&t.info?w(w({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,o={info:n,map:i};if(r){var a=new Set(t.map.keys());e.map.forEach(function(s,u){o.map.set(u,ic(s,t.map.get(u))),a.delete(u)}),a.forEach(function(s){o.map.set(s,ic(t.map.get(s),e.map.get(s)))})}return o}function Ha(e){return!e||!(e.info||e.map.size)}function Jp(e,t){var n=e.map,r=n.get(t);r&&Ha(r)&&(Hm.push(r),n.delete(t))}var Zp=new Set;function L_(e,t,n,r){var i=function(f){var d=r.getFieldValue(f,n);return typeof d=="object"&&d},o=i(e);if(o){var a=i(t);if(a&&!ne(o)&&!ie(o,a)&&!Object.keys(o).every(function(f){return r.getFieldValue(a,f)!==void 0})){var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),u=Dn(n),l="".concat(s,".").concat(u);if(!Zp.has(l)){Zp.add(l);var c=[];!Ee(o)&&!Ee(a)&&[o,a].forEach(function(f){var d=r.getFieldValue(f,"__typename");typeof d=="string"&&!c.includes(d)&&c.push(d)}),globalThis.__DEV__!==!1&&z.warn(12,u,s,c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"",l,o,a)}}}}var R_=function(e){en(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new pm(yf),r.assumeImmutableResults=!0,r.makeVar=C_,r.txCount=0,r.config=m_(n),r.addTypename=!!r.config.addTypename,r.policies=new N_({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return t.prototype.init=function(){var n=this.data=new ro.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()},t.prototype.resetResultCache=function(n){var r=this,i=this.storeReader,o=this.config.fragments;this.storeWriter=new I_(this,this.storeReader=new O_({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:jm(this.config),canon:n?void 0:i&&i.canon,fragments:o}),o),this.maybeBroadcastWatch=Ka(function(a,s){return r.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(a){var s=a.optimistic?r.optimisticData:r.data;if(Li(s)){var u=a.optimistic,l=a.id,c=a.variables;return s.makeCacheKey(a.query,a.callback,Qn({optimistic:u,id:l,variables:c}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},t.prototype.restore=function(n){return this.init(),n&&this.data.replace(n),this},t.prototype.extract=function(n){return n===void 0&&(n=!1),(n?this.optimisticData:this.data).extract()},t.prototype.read=function(n){var r=n.returnPartialData,i=r===void 0?!1:r;try{return this.storeReader.diffQueryAgainstStore(w(w({},n),{store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(o){if(o instanceof Am)return null;throw o}},t.prototype.write=function(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.modify=function(n){if(Ce.call(n,"id")&&!n.id)return!1;var r=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,r.modify(n.id||"ROOT_QUERY",n.fields)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.diff=function(n){return this.storeReader.diffQueryAgainstStore(w(w({},n),{store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(n){var r=this;return this.watches.size||T_(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),function(){r.watches.delete(n)&&!r.watches.size&&Qp(r),r.maybeBroadcastWatch.forget(n)}},t.prototype.gc=function(n){Qn.reset();var r=this.optimisticData.gc();return n&&!this.txCount&&(n.resetResultCache?this.resetResultCache(n.resetResultIdentities):n.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(n,r){return(r?this.optimisticData:this.data).retain(n)},t.prototype.release=function(n,r){return(r?this.optimisticData:this.data).release(n)},t.prototype.identify=function(n){if(ne(n))return n.__ref;try{return this.policies.identify(n)[0]}catch(r){globalThis.__DEV__!==!1&&z.warn(r)}},t.prototype.evict=function(n){if(!n.id){if(Ce.call(n,"id"))return!1;n=w(w({},n),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.reset=function(n){var r=this;return this.init(),Qn.reset(),n&&n.discardWatches?(this.watches.forEach(function(i){return r.maybeBroadcastWatch.forget(i)}),this.watches.clear(),Qp(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(n){var r=this.optimisticData.removeLayer(n);r!==this.optimisticData&&(this.optimisticData=r,this.broadcastWatches())},t.prototype.batch=function(n){var r=this,i=n.update,o=n.optimistic,a=o===void 0?!0:o,s=n.removeOptimistic,u=n.onWatchUpdated,l,c=function(d){var v=r,g=v.data,m=v.optimisticData;++r.txCount,d&&(r.data=r.optimisticData=d);try{return l=i(r)}finally{--r.txCount,r.data=g,r.optimisticData=m}},f=new Set;return u&&!this.txCount&&this.broadcastWatches(w(w({},n),{onWatchUpdated:function(d){return f.add(d),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,c):a===!1?c(this.data):c(),typeof s=="string"&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&f.size?(this.broadcastWatches(w(w({},n),{onWatchUpdated:function(d,v){var g=u.call(this,d,v);return g!==!1&&f.delete(d),g}})),f.size&&f.forEach(function(d){return r.maybeBroadcastWatch.dirty(d)})):this.broadcastWatches(n),l},t.prototype.performTransaction=function(n,r){return this.batch({update:n,optimistic:r||r!==null})},t.prototype.transformDocument=function(n){return this.addTypenameToDocument(this.addFragmentsToDocument(n))},t.prototype.broadcastWatches=function(n){var r=this;this.txCount||this.watches.forEach(function(i){return r.maybeBroadcastWatch(i,n)})},t.prototype.addFragmentsToDocument=function(n){var r=this.config.fragments;return r?r.transform(n):n},t.prototype.addTypenameToDocument=function(n){return this.addTypename?this.addTypenameTransform.transformDocument(n):n},t.prototype.broadcastWatch=function(n,r){var i=n.lastDiff,o=this.diff(n);r&&(n.optimistic&&typeof r.optimistic=="string"&&(o.fromOptimisticTransaction=!0),r.onWatchUpdated&&r.onWatchUpdated.call(this,n,o,i)===!1)||(!i||!ie(i.result,o.result))&&n.callback(n.lastDiff=o,i)},t}(y_),q;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"})(q||(q={}));function io(e){return e?e<7:!1}function P_(e,t,n,r){var i=t.data,o=jt(t,["data"]),a=n.data,s=jt(n,["data"]);return ie(o,s)&&pa(So(e).selectionSet,i,a,{fragmentMap:_s(bs(e)),variables:r})}function pa(e,t,n,r){if(t===n)return!0;var i=new Set;return e.selections.every(function(o){if(i.has(o)||(i.add(o),!mo(o,r.variables))||eh(o))return!0;if(Tn(o)){var a=bn(o),s=t&&t[a],u=n&&n[a],l=o.selectionSet;if(!l)return ie(s,u);var c=Array.isArray(s),f=Array.isArray(u);if(c!==f)return!1;if(c&&f){var d=s.length;if(u.length!==d)return!1;for(var v=0;v0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(n){return n.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(n){return this.queryManager.transform(n)},t}(se);_m(oc);function qm(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return n==="cache-and-network"||n==="network-only"?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,typeof r=="function"?r.apply(this,arguments):n}}):e.reobserve()}function F_(e){globalThis.__DEV__!==!1&&z.error(21,e.message,e.stack)}function Wm(e){globalThis.__DEV__!==!1&&e&&globalThis.__DEV__!==!1&&z.debug(22,e)}function Iu(e){return e==="network-only"||e==="no-cache"||e==="standby"}var Gm=function(){function e(t){var n=t.cache,r=t.client,i=t.resolvers,o=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=n,r&&(this.client=r),i&&this.addResolvers(i),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(t){var n=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(r){n.resolvers=Ep(n.resolvers,r)}):this.resolvers=Ep(this.resolvers,t)},e.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(t){var n=t.document,r=t.remoteResult,i=t.context,o=t.variables,a=t.onlyRunForcedResolvers,s=a===void 0?!1:a;return an(this,void 0,void 0,function(){return sn(this,function(u){return n?[2,this.resolveDocument(n,r.data,i,o,this.fragmentMatcher,s).then(function(l){return w(w({},r),{data:l.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(t){return eo(["client"],t)&&this.resolvers?t:null},e.prototype.serverQuery=function(t){return mm(t)},e.prototype.prepareContext=function(t){var n=this.cache;return w(w({},t),{cache:n,getCacheKey:function(r){return n.identify(r)}})},e.prototype.addExportedVariables=function(t,n,r){return n===void 0&&(n={}),r===void 0&&(r={}),an(this,void 0,void 0,function(){return sn(this,function(i){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,n)||{},this.prepareContext(r),n).then(function(o){return w(w({},n),o.exportedVariables)})]:[2,w({},n)]})})},e.prototype.shouldForceResolvers=function(t){var n=!1;return Xt(t,{Directive:{enter:function(r){if(r.name.value==="client"&&r.arguments&&(n=r.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),n))return df}}}),n},e.prototype.buildRootValueFromCache=function(t,n){return this.cache.diff({query:tw(t),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(t,n,r,i,o,a){return r===void 0&&(r={}),i===void 0&&(i={}),o===void 0&&(o=function(){return!0}),a===void 0&&(a=!1),an(this,void 0,void 0,function(){var s,u,l,c,f,d,v,g,m,S,p;return sn(this,function(h){return s=So(t),u=bs(t),l=_s(u),c=this.collectSelectionsToResolve(s,l),f=s.operation,d=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",v=this,g=v.cache,m=v.client,S={fragmentMap:l,context:w(w({},r),{cache:g,client:m}),variables:i,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:a},p=!1,[2,this.resolveSelectionSet(s.selectionSet,p,n,S).then(function(y){return{result:y,exportedVariables:S.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(t,n,r,i){return an(this,void 0,void 0,function(){var o,a,s,u,l,c=this;return sn(this,function(f){return o=i.fragmentMap,a=i.context,s=i.variables,u=[r],l=function(d){return an(c,void 0,void 0,function(){var v,g;return sn(this,function(m){return!n&&!i.selectionsToResolve.has(d)?[2]:mo(d,s)?Tn(d)?[2,this.resolveField(d,n,r,i).then(function(S){var p;typeof S<"u"&&u.push((p={},p[bn(d)]=S,p))})]:(YS(d)?v=d:(v=o[d.name.value],z(v,16,d.name.value)),v&&v.typeCondition&&(g=v.typeCondition.name.value,i.fragmentMatcher(r,g,a))?[2,this.resolveSelectionSet(v.selectionSet,n,r,i).then(function(S){u.push(S)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(l)).then(function(){return mf(u)})]})})},e.prototype.resolveField=function(t,n,r,i){return an(this,void 0,void 0,function(){var o,a,s,u,l,c,f,d,v,g=this;return sn(this,function(m){return r?(o=i.variables,a=t.name.value,s=bn(t),u=a!==s,l=r[s]||r[a],c=Promise.resolve(l),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(f=r.__typename||i.defaultOperationType,d=this.resolvers&&this.resolvers[f],d&&(v=d[u?a:s],v&&(c=Promise.resolve(bf.withValue(this.cache,v,[r,ks(t,o),i.context,{field:t,fragmentMap:i.fragmentMap}]))))),[2,c.then(function(S){var p,h;if(S===void 0&&(S=l),t.directives&&t.directives.forEach(function(E){E.name.value==="export"&&E.arguments&&E.arguments.forEach(function(b){b.name.value==="as"&&b.value.kind==="StringValue"&&(i.exportedVariables[b.value.value]=S)})}),!t.selectionSet||S==null)return S;var y=(h=(p=t.directives)===null||p===void 0?void 0:p.some(function(E){return E.name.value==="client"}))!==null&&h!==void 0?h:!1;if(Array.isArray(S))return g.resolveSubSelectedArray(t,n||y,S,i);if(t.selectionSet)return g.resolveSelectionSet(t.selectionSet,n||y,S,i)})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(t,n,r,i){var o=this;return Promise.all(r.map(function(a){if(a===null)return null;if(Array.isArray(a))return o.resolveSubSelectedArray(t,n,a,i);if(t.selectionSet)return o.resolveSelectionSet(t.selectionSet,n,a,i)}))},e.prototype.collectSelectionsToResolve=function(t,n){var r=function(a){return!Array.isArray(a)},i=this.selectionsToResolveCache;function o(a){if(!i.has(a)){var s=new Set;i.set(a,s),Xt(a,{Directive:function(u,l,c,f,d){u.name.value==="client"&&d.forEach(function(v){r(v)&&vp(v)&&s.add(v)})},FragmentSpread:function(u,l,c,f,d){var v=n[u.name.value];z(v,17,u.name.value);var g=o(v);g.size>0&&(d.forEach(function(m){r(m)&&vp(m)&&s.add(m)}),s.add(u),g.forEach(function(m){s.add(m)}))}})}return i.get(a)}return o(t)},e}(),Or=new(Bt?WeakMap:Map);function Lu(e,t){var n=e[t];typeof n=="function"&&(e[t]=function(){return Or.set(e,(Or.get(e)+1)%1e15),n.apply(this,arguments)})}function nh(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Ru=function(){function e(t,n){n===void 0&&(n=t.generateQueryId()),this.queryId=n,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=t.cache;Or.has(r)||(Or.set(r,0),Lu(r,"evict"),Lu(r,"modify"),Lu(r,"reset"))}return e.prototype.init=function(t){var n=t.networkStatus||q.loading;return this.variables&&this.networkStatus!==q.loading&&!ie(this.variables,t.variables)&&(n=q.setVariables),ie(t.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},e.prototype.reset=function(){nh(this),this.dirty=!1},e.prototype.getDiff=function(){var t=this.getDiffOptions();if(this.lastDiff&&ie(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&n.options.fetchPolicy==="no-cache")return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(t,n){this.lastDiff=t?{diff:t,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(t){var n;return t===void 0&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:(n=this.observableQuery)===null||n===void 0?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(t){var n=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(t),!this.dirty&&!ie(r&&r.result,t&&t.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0)))},e.prototype.setObservableQuery=function(t){var n=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){var r=n.getDiff();r.fromOptimisticTransaction?t.observe():qm(t)})):delete this.oqListener)},e.prototype.notify=function(){var t=this;nh(this),this.shouldNotify()&&this.listeners.forEach(function(n){return n(t)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(io(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if(t!=="cache-only"&&t!=="cache-and-network")return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach(function(n){return n.unsubscribe()});var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(t){var n=this;t===void 0&&(t=this.variables);var r=this.observableQuery;if(!(r&&r.options.fetchPolicy==="no-cache")){var i=w(w({},this.getDiffOptions(t)),{watcher:this,callback:function(o){return n.setDiff(o)}});(!this.lastWatch||!ie(i,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(t,n){var r=this.lastWrite;return!(r&&r.dmCount===Or.get(this.cache)&&ie(n,r.variables)&&ie(t.data,r.result.data))},e.prototype.markResult=function(t,n,r,i){var o=this,a=new Cn,s=mt(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&mt(t.incremental)){var u=Om(this.getDiff().result,t);t.data=u}else if("hasNext"in t&&t.hasNext){var l=this.getDiff();t.data=a.merge(l.result,t.data)}this.graphQLErrors=s,r.fetchPolicy==="no-cache"?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(r.variables)):i!==0&&(ac(t,r.errorPolicy)?this.cache.performTransaction(function(c){if(o.shouldWrite(t,r.variables))c.writeQuery({query:n,data:t.data,variables:r.variables,overwrite:i===1}),o.lastWrite={result:t,variables:r.variables,dmCount:Or.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){t.data=o.lastDiff.diff.result;return}var f=o.getDiffOptions(r.variables),d=c.diff(f);!o.stopped&&ie(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(d,f),d.complete&&(t.data=d.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=q.ready},e.prototype.markError=function(t){return this.networkStatus=q.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function ac(e,t){t===void 0&&(t="none");var n=t==="ignore"||t==="all",r=!ca(e);return!r&&n&&e.data&&(r=!0),r}var j_=Object.prototype.hasOwnProperty,B_=function(){function e(t){var n=this,r=t.cache,i=t.link,o=t.defaultOptions,a=t.documentTransform,s=t.queryDeduplication,u=s===void 0?!1:s,l=t.onBroadcast,c=t.ssrMode,f=c===void 0?!1:c,d=t.clientAwareness,v=d===void 0?{}:d,g=t.localState,m=t.assumeImmutableResults,S=m===void 0?!!r.assumeImmutableResults:m;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(Bt?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var p=new pm(function(h){return n.cache.transformDocument(h)},{cache:!1});this.cache=r,this.link=i,this.defaultOptions=o||Object.create(null),this.queryDeduplication=u,this.clientAwareness=v,this.localState=g||new Gm({cache:r}),this.ssrMode=f,this.assumeImmutableResults=S,this.documentTransform=a?p.concat(a).concat(p):p,(this.onBroadcast=l)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var t=this;this.queries.forEach(function(n,r){t.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(He(23))},e.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(n){return n(t)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(t){var n,r,i=t.mutation,o=t.variables,a=t.optimisticResponse,s=t.updateQueries,u=t.refetchQueries,l=u===void 0?[]:u,c=t.awaitRefetchQueries,f=c===void 0?!1:c,d=t.update,v=t.onQueryUpdated,g=t.fetchPolicy,m=g===void 0?((n=this.defaultOptions.mutate)===null||n===void 0?void 0:n.fetchPolicy)||"network-only":g,S=t.errorPolicy,p=S===void 0?((r=this.defaultOptions.mutate)===null||r===void 0?void 0:r.errorPolicy)||"none":S,h=t.keepRootFields,y=t.context;return an(this,void 0,void 0,function(){var E,b,_,O;return sn(this,function(T){switch(T.label){case 0:return z(i,24),z(m==="network-only"||m==="no-cache",25),E=this.generateMutationId(),i=this.cache.transformForLink(this.transform(i)),b=this.getDocumentInfo(i).hasClientExports,o=this.getVariables(i,o),b?[4,this.localState.addExportedVariables(i,o,y)]:[3,2];case 1:o=T.sent(),T.label=2;case 2:return _=this.mutationStore&&(this.mutationStore[E]={mutation:i,variables:o,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:E,document:i,variables:o,fetchPolicy:m,errorPolicy:p,context:y,updateQueries:s,update:d,keepRootFields:h}),this.broadcastQueries(),O=this,[2,new Promise(function(U,F){return ku(O.getObservableFromLink(i,w(w({},y),{optimisticResponse:a}),o,!1),function(G){if(ca(G)&&p==="none")throw new un({graphQLErrors:ql(G)});_&&(_.loading=!1,_.error=null);var ke=w({},G);return typeof l=="function"&&(l=l(ke)),p==="ignore"&&ca(ke)&&delete ke.errors,O.markMutationResult({mutationId:E,result:ke,document:i,variables:o,fetchPolicy:m,errorPolicy:p,context:y,update:d,updateQueries:s,awaitRefetchQueries:f,refetchQueries:l,removeOptimistic:a?E:void 0,onQueryUpdated:v,keepRootFields:h})}).subscribe({next:function(G){O.broadcastQueries(),(!("hasNext"in G)||G.hasNext===!1)&&U(G)},error:function(G){_&&(_.loading=!1,_.error=G),a&&O.cache.removeOptimistic(E),O.broadcastQueries(),F(G instanceof un?G:new un({networkError:G}))}})})]}})})},e.prototype.markMutationResult=function(t,n){var r=this;n===void 0&&(n=this.cache);var i=t.result,o=[],a=t.fetchPolicy==="no-cache";if(!a&&ac(i,t.errorPolicy)){if(Ir(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),Ir(i)&&mt(i.incremental)){var s=n.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}),u=void 0;s.result&&(u=Om(s.result,i)),typeof u<"u"&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var l=t.updateQueries;l&&this.queries.forEach(function(f,d){var v=f.observableQuery,g=v&&v.queryName;if(!(!g||!j_.call(l,g))){var m=l[g],S=r.queries.get(d),p=S.document,h=S.variables,y=n.diff({query:p,variables:h,returnPartialData:!0,optimistic:!1}),E=y.result,b=y.complete;if(b&&E){var _=m(E,{mutationResult:i,queryName:p&&Ql(p)||void 0,queryVariables:h});_&&o.push({result:_,dataId:"ROOT_QUERY",query:p,variables:h})}}})}if(o.length>0||t.refetchQueries||t.update||t.onQueryUpdated||t.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(f){a||o.forEach(function(m){return f.write(m)});var d=t.update,v=!yw(i)||Ir(i)&&!i.hasNext;if(d){if(!a){var g=f.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});g.complete&&(i=w(w({},i),{data:g.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}v&&d(f,i,{context:t.context,variables:t.variables})}!a&&!t.keepRootFields&&v&&f.modify({id:"ROOT_MUTATION",fields:function(m,S){var p=S.fieldName,h=S.DELETE;return p==="__typename"?m:h}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(f){return c.push(f)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(c).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(t,n){var r=this,i=typeof t=="function"?t(n.variables):t;return this.cache.recordOptimisticTransaction(function(o){try{r.markMutationResult(w(w({},n),{result:{data:i}}),o)}catch(a){globalThis.__DEV__!==!1&&z.error(a)}},n.mutationId)},e.prototype.fetchQuery=function(t,n,r){return this.fetchConcastWithInfo(t,n,r).concast.promise},e.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(n,r){t[r]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}}),t},e.prototype.resetErrors=function(t){var n=this.queries.get(t);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(t){return this.documentTransform.transformDocument(t)},e.prototype.getDocumentInfo=function(t){var n=this.transformCache;if(!n.has(t)){var r={hasClientExports:TS(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:eo(["nonreactive"],t),clientQuery:this.localState.clientQuery(t),serverQuery:ym([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],t),defaultVars:vf(Eo(t)),asQuery:w(w({},t),{definitions:t.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?w(w({},i),{operation:"query"}):i})})};n.set(t,r)}return n.get(t)},e.prototype.getVariables=function(t,n){return w(w({},this.getDocumentInfo(t).defaultVars),n)},e.prototype.watchQuery=function(t){var n=this.transform(t.query);t=w(w({},t),{variables:this.getVariables(n,t.variables)}),typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var r=new Ru(this),i=new oc({queryManager:this,queryInfo:r,options:t});return i.lastQuery=n,this.queries.set(i.queryId,r),r.init({document:n,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(t,n){var r=this;return n===void 0&&(n=this.generateQueryId()),z(t.query,26),z(t.query.kind==="Document",27),z(!t.returnPartialData,28),z(!t.pollInterval,29),this.fetchQuery(n,w(w({},t),{query:this.transform(t.query)})).finally(function(){return r.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(t){var n=this.queries.get(t);n&&n.stop()},e.prototype.clearStore=function(t){return t===void 0&&(t={discardWatches:!0}),this.cancelPendingFetches(He(30)),this.queries.forEach(function(n){n.observableQuery?n.networkStatus=q.loading:n.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},e.prototype.getObservableQueries=function(t){var n=this;t===void 0&&(t="active");var r=new Map,i=new Map,o=new Set;return Array.isArray(t)&&t.forEach(function(a){typeof a=="string"?i.set(a,!1):FS(a)?i.set(n.transform(a),!1):fe(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var u=a.observableQuery,l=a.document;if(u){if(t==="all"){r.set(s,u);return}var c=u.queryName,f=u.options.fetchPolicy;if(f==="standby"||t==="active"&&!u.hasObservers())return;(t==="active"||c&&i.has(c)||l&&i.has(l))&&(r.set(s,u),c&&i.set(c,!0),l&&i.set(l,!0))}}),o.size&&o.forEach(function(a){var s=jl("legacyOneTimeQuery"),u=n.getQuery(s).init({document:a.query,variables:a.variables}),l=new oc({queryManager:n,queryInfo:u,options:w(w({},a),{fetchPolicy:"network-only"})});z(l.queryId===s),u.setObservableQuery(l),r.set(s,l)}),globalThis.__DEV__!==!1&&i.size&&i.forEach(function(a,s){a||globalThis.__DEV__!==!1&&z.warn(typeof s=="string"?31:32,s)}),r},e.prototype.reFetchObservableQueries=function(t){var n=this;t===void 0&&(t=!1);var r=[];return this.getObservableQueries(t?"all":"active").forEach(function(i,o){var a=i.options.fetchPolicy;i.resetLastResults(),(t||a!=="standby"&&a!=="cache-only")&&r.push(i.refetch()),n.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(t){this.getQuery(t.queryId).setObservableQuery(t)},e.prototype.startGraphQLSubscription=function(t){var n=this,r=t.query,i=t.fetchPolicy,o=t.errorPolicy,a=o===void 0?"none":o,s=t.variables,u=t.context,l=u===void 0?{}:u;r=this.transform(r),s=this.getVariables(r,s);var c=function(d){return n.getObservableFromLink(r,l,d).map(function(v){i!=="no-cache"&&(ac(v,a)&&n.cache.write({query:r,result:v.data,dataId:"ROOT_SUBSCRIPTION",variables:d}),n.broadcastQueries());var g=ca(v),m=Lw(v);if(g||m){var S={};if(g&&(S.graphQLErrors=v.errors),m&&(S.protocolErrors=v.extensions[_f]),a==="none"||m)throw new un(S)}return a==="ignore"&&delete v.errors,v})};if(this.getDocumentInfo(r).hasClientExports){var f=this.localState.addExportedVariables(r,s,l).then(c);return new se(function(d){var v=null;return f.then(function(g){return v=g.subscribe(d)},d.error),function(){return v&&v.unsubscribe()}})}return c(s)},e.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},e.prototype.removeQuery=function(t){this.fetchCancelFns.delete(t),this.queries.has(t)&&(this.getQuery(t).stop(),this.queries.delete(t))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){return t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(t,n,r,i){var o=this,a;i===void 0&&(i=(a=n==null?void 0:n.queryDeduplication)!==null&&a!==void 0?a:this.queryDeduplication);var s,u=this.getDocumentInfo(t),l=u.serverQuery,c=u.clientQuery;if(l){var f=this,d=f.inFlightLinkObservables,v=f.link,g={query:l,variables:r,operationName:Ql(l)||void 0,context:this.prepareContext(w(w({},n),{forceFetch:!i}))};if(n=g.context,i){var m=hm(l),S=d.get(m)||new Map;d.set(m,S);var p=Qn(r);if(s=S.get(p),!s){var h=new sr([Gl(v,g)]);S.set(p,s=h),h.beforeNext(function(){S.delete(p)&&S.size<1&&d.delete(m)})}}else s=new sr([Gl(v,g)])}else s=new sr([se.of({data:{}})]),n=this.prepareContext(n);return c&&(s=ku(s,function(y){return o.localState.runResolvers({document:c,remoteResult:y,context:n,variables:r})})),s},e.prototype.getResultsFromLink=function(t,n,r){var i=t.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(r.query);return ku(this.getObservableFromLink(o,r.context,r.variables),function(a){var s=ql(a),u=s.length>0;if(i>=t.lastRequestId){if(u&&r.errorPolicy==="none")throw t.markError(new un({graphQLErrors:s}));t.markResult(a,o,r,n),t.markReady()}var l={data:a.data,loading:!1,networkStatus:q.ready};return u&&r.errorPolicy!=="ignore"&&(l.errors=s,l.networkStatus=q.error),l},function(a){var s=Rw(a)?a:new un({networkError:a});throw i>=t.lastRequestId&&t.markError(s),s})},e.prototype.fetchConcastWithInfo=function(t,n,r){var i=this;r===void 0&&(r=q.loading);var o=n.query,a=this.getVariables(o,n.variables),s=this.getQuery(t),u=this.defaultOptions.watchQuery,l=n.fetchPolicy,c=l===void 0?u&&u.fetchPolicy||"cache-first":l,f=n.errorPolicy,d=f===void 0?u&&u.errorPolicy||"none":f,v=n.returnPartialData,g=v===void 0?!1:v,m=n.notifyOnNetworkStatusChange,S=m===void 0?!1:m,p=n.context,h=p===void 0?{}:p,y=Object.assign({},n,{query:o,variables:a,fetchPolicy:c,errorPolicy:d,returnPartialData:g,notifyOnNetworkStatusChange:S,context:h}),E=function(U){y.variables=U;var F=i.fetchQueryByPolicy(s,y,r);return y.fetchPolicy!=="standby"&&F.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",n),F},b=function(){return i.fetchCancelFns.delete(t)};this.fetchCancelFns.set(t,function(U){b(),setTimeout(function(){return _.cancel(U)})});var _,O;if(this.getDocumentInfo(y.query).hasClientExports)_=new sr(this.localState.addExportedVariables(y.query,y.variables,y.context).then(E).then(function(U){return U.sources})),O=!0;else{var T=E(y.variables);O=T.fromLink,_=new sr(T.sources)}return _.promise.then(b,b),{concast:_,fromLink:O}},e.prototype.refetchQueries=function(t){var n=this,r=t.updateCache,i=t.include,o=t.optimistic,a=o===void 0?!1:o,s=t.removeOptimistic,u=s===void 0?a?jl("refetchQueries"):void 0:s,l=t.onQueryUpdated,c=new Map;i&&this.getObservableQueries(i).forEach(function(d,v){c.set(v,{oq:d,lastDiff:n.getQuery(v).getDiff()})});var f=new Map;return r&&this.cache.batch({update:r,optimistic:a&&u||!1,removeOptimistic:u,onWatchUpdated:function(d,v,g){var m=d.watcher instanceof Ru&&d.watcher.observableQuery;if(m){if(l){c.delete(m.queryId);var S=l(m,v,g);return S===!0&&(S=m.refetch()),S!==!1&&f.set(m,S),S}l!==null&&c.set(m.queryId,{oq:m,lastDiff:g,diff:v})}}}),c.size&&c.forEach(function(d,v){var g=d.oq,m=d.lastDiff,S=d.diff,p;if(l){if(!S){var h=g.queryInfo;h.reset(),S=h.getDiff()}p=l(g,S,m)}(!l||p===!0)&&(p=g.refetch()),p!==!1&&f.set(g,p),v.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(v)}),u&&this.cache.removeOptimistic(u),f},e.prototype.fetchQueryByPolicy=function(t,n,r){var i=this,o=n.query,a=n.variables,s=n.fetchPolicy,u=n.refetchWritePolicy,l=n.errorPolicy,c=n.returnPartialData,f=n.context,d=n.notifyOnNetworkStatusChange,v=t.networkStatus;t.init({document:o,variables:a,networkStatus:r});var g=function(){return t.getDiff()},m=function(E,b){b===void 0&&(b=t.networkStatus||q.loading);var _=E.result;globalThis.__DEV__!==!1&&!c&&!ie(_,{})&&Wm(E.missing);var O=function(T){return se.of(w({data:T,loading:io(b),networkStatus:b},E.complete?null:{partial:!0}))};return _&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:_},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(T){return O(T.data||void 0)}):l==="none"&&b===q.refetch&&Array.isArray(E.missing)?O(void 0):O(_)},S=s==="no-cache"?0:r===q.refetch&&u!=="merge"?1:2,p=function(){return i.getResultsFromLink(t,S,{query:o,variables:a,context:f,fetchPolicy:s,errorPolicy:l})},h=d&&typeof v=="number"&&v!==r&&io(r);switch(s){default:case"cache-first":{var y=g();return y.complete?{fromLink:!1,sources:[m(y,t.markReady())]}:c||h?{fromLink:!0,sources:[m(y),p()]}:{fromLink:!0,sources:[p()]}}case"cache-and-network":{var y=g();return y.complete||c||h?{fromLink:!0,sources:[m(y),p()]}:{fromLink:!0,sources:[p()]}}case"cache-only":return{fromLink:!1,sources:[m(g(),t.markReady())]};case"network-only":return h?{fromLink:!0,sources:[m(g()),p()]}:{fromLink:!0,sources:[p()]};case"no-cache":return h?{fromLink:!0,sources:[m(t.getDiff()),p()]}:{fromLink:!0,sources:[p()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new Ru(this,t)),this.queries.get(t)},e.prototype.prepareContext=function(t){t===void 0&&(t={});var n=this.localState.prepareContext(t);return w(w({},n),{clientAwareness:this.clientAwareness})},e}(),rh=!1,z_=function(){function e(t){var n=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!t.cache)throw He(13);var r=t.uri,i=t.credentials,o=t.headers,a=t.cache,s=t.documentTransform,u=t.ssrMode,l=u===void 0?!1:u,c=t.ssrForceFetchDelay,f=c===void 0?0:c,d=t.connectToDevTools,v=d===void 0?typeof window=="object"&&!window.__APOLLO_CLIENT__&&globalThis.__DEV__!==!1:d,g=t.queryDeduplication,m=g===void 0?!0:g,S=t.defaultOptions,p=t.assumeImmutableResults,h=p===void 0?a.assumeImmutableResults:p,y=t.resolvers,E=t.typeDefs,b=t.fragmentMatcher,_=t.name,O=t.version,T=t.link;T||(T=r?new Yw({uri:r,credentials:i,headers:o}):wo.empty()),this.link=T,this.cache=a,this.disableNetworkFetches=l||f>0,this.queryDeduplication=m,this.defaultOptions=S||Object.create(null),this.typeDefs=E,f&&setTimeout(function(){return n.disableNetworkFetches=!1},f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=uf,this.localState=new Gm({cache:a,client:this,resolvers:y,fragmentMatcher:b}),this.queryManager=new B_({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:s,queryDeduplication:m,ssrMode:l,clientAwareness:{name:_,version:O},localState:this.localState,assumeImmutableResults:h,onBroadcast:v?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0}),v&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if(typeof window=="object"){var t=window,n=Symbol.for("apollo.devtools");(t[n]=t[n]||[]).push(this),t.__APOLLO_CLIENT__=this}!rh&&globalThis.__DEV__!==!1&&(rh=!0,setTimeout(function(){if(typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var r=window.navigator,i=r&&r.userAgent,o=void 0;typeof i=="string"&&(i.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":i.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&z.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=fa(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=w(w({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=fa(this.defaultOptions.query,t)),z(t.fetchPolicy!=="cache-and-network",14),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=w(w({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=fa(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},e.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!1),this.cache.readQuery(t,n)},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!1),this.cache.readFragment(t,n)},e.prototype.writeQuery=function(t){var n=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.writeFragment=function(t){var n=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},e.prototype.__requestRaw=function(t){return Gl(this.link,t)},e.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(n){return n()}))}).then(function(){return t.reFetchObservableQueries()})},e.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(n){return n()}))})},e.prototype.onResetStore=function(t){var n=this;return this.resetStoreCallbacks.push(t),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.onClearStore=function(t){var n=this;return this.clearStoreCallbacks.push(t),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},e.prototype.refetchQueries=function(t){var n=this.queryManager.refetchQueries(t),r=[],i=[];n.forEach(function(a,s){r.push(s),i.push(a)});var o=Promise.all(i);return o.queries=r,o.results=i,o.catch(function(a){globalThis.__DEV__!==!1&&z.debug(15,a)}),o},e.prototype.getObservableQueries=function(t){return t===void 0&&(t="active"),this.queryManager.getObservableQueries(t)},e.prototype.extract=function(t){return this.cache.extract(t)},e.prototype.restore=function(t){return this.cache.restore(t)},e.prototype.addResolvers=function(t){this.localState.addResolvers(t)},e.prototype.setResolvers=function(t){this.localState.setResolvers(t)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},e.prototype.setLink=function(t){this.link=this.queryManager.link=t},e}(),qa=function(){return qa=Object.assign||function(t){for(var n,r=1,i=arguments.length;r{t[n]=Jm(e[n])}),t}function Ht(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return ur(e)&&ur(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(ur(t[i])&&i in e&&ur(e[i])?r[i]=Ht(e[i],t[i],n):n.clone?r[i]=ur(t[i])?Jm(t[i]):t[i]:r[i]=t[i])}),r}function qr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{if(r.toString().match(/^(components|slots)$/))n[r]={...e[r],...n[r]};else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]={...o},Object.keys(i).forEach(a=>{n[r][a]=e0(i[a],o[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function sO(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}function uO(e){if(e.sheet)return e.sheet;for(var t=0;t0?Ae(ei,--tt):0,Wr--,_e===10&&(Wr=1,Ds--),_e}function at(){return _e=tt2||ao(_e)>3?"":" "}function wO(e,t){for(;--t&&at()&&!(_e<48||_e>102||_e>57&&_e<65||_e>70&&_e<97););return _o(e,va()+(t<6&&Ft()==32&&at()==32))}function lc(e){for(;at();)switch(_e){case e:return tt;case 34:case 39:e!==34&&e!==39&&lc(_e);break;case 40:e===41&&lc(e);break;case 92:at();break}return tt}function _O(e,t){for(;at()&&e+_e!==47+10;)if(e+_e===42+42&&Ft()===47)break;return"/*"+_o(t,tt-1)+"*"+xs(e===47?e:at())}function OO(e){for(;!ao(Ft());)at();return _o(e,tt)}function kO(e){return a0(ma("",null,null,null,[""],e=o0(e),0,[0],e))}function ma(e,t,n,r,i,o,a,s,u){for(var l=0,c=0,f=a,d=0,v=0,g=0,m=1,S=1,p=1,h=0,y="",E=i,b=o,_=r,O=y;S;)switch(g=h,h=at()){case 40:if(g!=108&&Ae(O,f-1)==58){uc(O+=X(ya(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:O+=ya(h);break;case 9:case 10:case 13:case 32:O+=SO(g);break;case 92:O+=wO(va()-1,7);continue;case 47:switch(Ft()){case 42:case 47:Wo(bO(_O(at(),va()),t,n),u);break;default:O+="/"}break;case 123*m:s[l++]=It(O)*p;case 125*m:case 59:case 0:switch(h){case 0:case 125:S=0;case 59+c:p==-1&&(O=X(O,/\f/g,"")),v>0&&It(O)-f&&Wo(v>32?lh(O+";",r,n,f-1):lh(X(O," ","")+";",r,n,f-2),u);break;case 59:O+=";";default:if(Wo(_=uh(O,t,n,l,c,i,s,y,E=[],b=[],f),o),h===123)if(c===0)ma(O,t,_,_,E,o,f,s,b);else switch(d===99&&Ae(O,3)===110?100:d){case 100:case 108:case 109:case 115:ma(e,_,_,r&&Wo(uh(e,_,_,0,0,i,s,y,i,E=[],f),b),i,b,f,s,r?E:b);break;default:ma(O,_,_,_,[""],b,0,s,b)}}l=c=v=0,m=p=1,y=O="",f=a;break;case 58:f=1+It(O),v=g;default:if(m<1){if(h==123)--m;else if(h==125&&m++==0&&EO()==125)continue}switch(O+=xs(h),h*m){case 38:p=c>0?1:(O+="\f",-1);break;case 44:s[l++]=(It(O)-1)*p,p=1;break;case 64:Ft()===45&&(O+=ya(at())),d=Ft(),c=f=It(y=O+=OO(va())),h++;break;case 45:g===45&&It(O)==2&&(m=0)}}return o}function uh(e,t,n,r,i,o,a,s,u,l,c){for(var f=i-1,d=i===0?o:[""],v=Lf(d),g=0,m=0,S=0;g0?d[p]+" "+h:X(h,/&\f/g,d[p])))&&(u[S++]=y);return Ns(e,t,n,i===0?Nf:s,u,l,c)}function bO(e,t,n){return Ns(e,t,n,t0,xs(gO()),oo(e,2,-2),0)}function lh(e,t,n,r){return Ns(e,t,n,If,oo(e,0,r),oo(e,r+1,-1),r)}function Rr(e,t){for(var n="",r=Lf(e),i=0;i6)switch(Ae(e,t+1)){case 109:if(Ae(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+Ga+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~uc(e,"stretch")?s0(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ae(e,t+1)!==115)break;case 6444:switch(Ae(e,It(e)-3-(~uc(e,"!important")&&10))){case 107:return X(e,":",":"+Y)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(Ae(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+ze+"$2box$3")+e}break;case 5936:switch(Ae(e,t+11)){case 114:return Y+e+ze+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+ze+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+ze+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+ze+e+e}return e}var PO=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case If:t.return=s0(t.value,t.length);break;case n0:return Rr([vi(t,{value:X(t.value,"@","@"+Y)})],i);case Nf:if(t.length)return mO(t.props,function(o){switch(yO(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Rr([vi(t,{props:[X(o,/:(read-\w+)/,":"+Ga+"$1")]})],i);case"::placeholder":return Rr([vi(t,{props:[X(o,/:(plac\w+)/,":"+Y+"input-$1")]}),vi(t,{props:[X(o,/:(plac\w+)/,":"+Ga+"$1")]}),vi(t,{props:[X(o,/:(plac\w+)/,ze+"input-$1")]})],i)}return""})}},AO=[PO],MO=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var S=m.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||AO,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var S=m.getAttribute("data-emotion").split(" "),p=1;p=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var GO={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},YO=/[A-Z]|^ms/g,XO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,d0=function(t){return t.charCodeAt(1)===45},fh=function(t){return t!=null&&typeof t!="boolean"},Au=sO(function(e){return d0(e)?e:e.replace(YO,"-$&").toLowerCase()}),dh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(XO,function(r,i,o){return Lt={name:i,styles:o,next:Lt},i})}return GO[t]!==1&&!d0(t)&&typeof n=="number"&&n!==0?n+"px":n};function so(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Lt={name:n.name,styles:n.styles,next:Lt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Lt={name:r.name,styles:r.styles,next:Lt},r=r.next;var i=n.styles+";";return i}return JO(e,t,n)}case"function":{if(e!==void 0){var o=Lt,a=n(e);return Lt=o,so(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function JO(e,t,n){var r="";if(Array.isArray(n))for(var i=0;it(rk(i)?n:i):t;return $.jsx(nk,{styles:r})}function ti(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 ok=["values","unit","step"],ak=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>he({},n,{[r.key]:r.val}),{})};function sk(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=ti(e,ok),o=ak(t),a=Object.keys(o);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function u(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function l(d,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-r/100}${n})`}function c(d){return a.indexOf(d)+1`@media (min-width:${Mf[e]}px)`};function Jt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||vh;return t.reduce((a,s,u)=>(a[o.up(o.keys[u])]=n(t[u]),a),{})}if(typeof t=="object"){const o=r.breakpoints||vh;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||Mf).indexOf(s)!==-1){const u=o.up(s);a[u]=n(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return n(t)}function ck(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function fk(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Us(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Ya(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Us(e,n)||r,t&&(i=t(i,r,e)),i}function J(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,l=Us(u,r)||{};return Jt(a,s,f=>{let d=Ya(l,i,f);return f===d&&typeof f=="string"&&(d=Ya(l,i,`${t}${f==="default"?"":Zm(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[t],o}function dk(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const pk={m:"margin",p:"padding"},hk={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},yh={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vk=dk(e=>{if(e.length>2)if(yh[e])e=yh[e];else return[e];const[t,n]=e.split(""),r=pk[t],i=hk[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Ff=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ff,...jf];function Oo(e,t,n,r){var i;const o=(i=Us(e,t,!1))!=null?i:n;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function v0(e){return Oo(e,"spacing",8)}function ko(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function yk(e,t){return n=>e.reduce((r,i)=>(r[i]=ko(t,n),r),{})}function mk(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=vk(n),o=yk(i,r),a=e[n];return Jt(e,a,o)}function y0(e,t){const n=v0(e.theme);return Object.keys(e).map(r=>mk(e,t,r,n)).reduce(Pi,{})}function ye(e){return y0(e,Ff)}ye.propTypes={};ye.filterProps=Ff;function me(e){return y0(e,jf)}me.propTypes={};me.filterProps=jf;function gk(e=8){if(e.mui)return e;const t=v0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function $s(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?Pi(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Pt(e){return typeof e!="number"?e:`${e}px solid`}const Ek=J({prop:"border",themeKey:"borders",transform:Pt}),Sk=J({prop:"borderTop",themeKey:"borders",transform:Pt}),wk=J({prop:"borderRight",themeKey:"borders",transform:Pt}),_k=J({prop:"borderBottom",themeKey:"borders",transform:Pt}),Ok=J({prop:"borderLeft",themeKey:"borders",transform:Pt}),kk=J({prop:"borderColor",themeKey:"palette"}),bk=J({prop:"borderTopColor",themeKey:"palette"}),Tk=J({prop:"borderRightColor",themeKey:"palette"}),Ck=J({prop:"borderBottomColor",themeKey:"palette"}),xk=J({prop:"borderLeftColor",themeKey:"palette"}),Qs=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Oo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ko(t,r)});return Jt(e,e.borderRadius,n)}return null};Qs.propTypes={};Qs.filterProps=["borderRadius"];$s(Ek,Sk,wk,_k,Ok,kk,bk,Tk,Ck,xk,Qs);const Vs=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Oo(e.theme,"spacing",8),n=r=>({gap:ko(t,r)});return Jt(e,e.gap,n)}return null};Vs.propTypes={};Vs.filterProps=["gap"];const Ks=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Oo(e.theme,"spacing",8),n=r=>({columnGap:ko(t,r)});return Jt(e,e.columnGap,n)}return null};Ks.propTypes={};Ks.filterProps=["columnGap"];const Hs=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Oo(e.theme,"spacing",8),n=r=>({rowGap:ko(t,r)});return Jt(e,e.rowGap,n)}return null};Hs.propTypes={};Hs.filterProps=["rowGap"];const Dk=J({prop:"gridColumn"}),Nk=J({prop:"gridRow"}),Ik=J({prop:"gridAutoFlow"}),Lk=J({prop:"gridAutoColumns"}),Rk=J({prop:"gridAutoRows"}),Pk=J({prop:"gridTemplateColumns"}),Ak=J({prop:"gridTemplateRows"}),Mk=J({prop:"gridTemplateAreas"}),Fk=J({prop:"gridArea"});$s(Vs,Ks,Hs,Dk,Nk,Ik,Lk,Rk,Pk,Ak,Mk,Fk);function Pr(e,t){return t==="grey"?t:e}const jk=J({prop:"color",themeKey:"palette",transform:Pr}),Bk=J({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Pr}),zk=J({prop:"backgroundColor",themeKey:"palette",transform:Pr});$s(jk,Bk,zk);function rt(e){return e<=1&&e!==0?`${e*100}%`:e}const Uk=J({prop:"width",transform:rt}),Bf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,o;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(o=i.values)==null?void 0:o[n])||Mf[n]||rt(n)}};return Jt(e,e.maxWidth,t)}return null};Bf.filterProps=["maxWidth"];const $k=J({prop:"minWidth",transform:rt}),Qk=J({prop:"height",transform:rt}),Vk=J({prop:"maxHeight",transform:rt}),Kk=J({prop:"minHeight",transform:rt});J({prop:"size",cssProperty:"width",transform:rt});J({prop:"size",cssProperty:"height",transform:rt});const Hk=J({prop:"boxSizing"});$s(Uk,Bf,$k,Qk,Vk,Kk,Hk);const qk={border:{themeKey:"borders",transform:Pt},borderTop:{themeKey:"borders",transform:Pt},borderRight:{themeKey:"borders",transform:Pt},borderBottom:{themeKey:"borders",transform:Pt},borderLeft:{themeKey:"borders",transform:Pt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Qs},color:{themeKey:"palette",transform:Pr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Pr},backgroundColor:{themeKey:"palette",transform:Pr},p:{style:me},pt:{style:me},pr:{style:me},pb:{style:me},pl:{style:me},px:{style:me},py:{style:me},padding:{style:me},paddingTop:{style:me},paddingRight:{style:me},paddingBottom:{style:me},paddingLeft:{style:me},paddingX:{style:me},paddingY:{style:me},paddingInline:{style:me},paddingInlineStart:{style:me},paddingInlineEnd:{style:me},paddingBlock:{style:me},paddingBlockStart:{style:me},paddingBlockEnd:{style:me},m:{style:ye},mt:{style:ye},mr:{style:ye},mb:{style:ye},ml:{style:ye},mx:{style:ye},my:{style:ye},margin:{style:ye},marginTop:{style:ye},marginRight:{style:ye},marginBottom:{style:ye},marginLeft:{style:ye},marginX:{style:ye},marginY:{style:ye},marginInline:{style:ye},marginInlineStart:{style:ye},marginInlineEnd:{style:ye},marginBlock:{style:ye},marginBlockStart:{style:ye},marginBlockEnd:{style:ye},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Vs},rowGap:{style:Hs},columnGap:{style:Ks},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:rt},maxWidth:{style:Bf},minWidth:{transform:rt},height:{transform:rt},maxHeight:{transform:rt},minHeight:{transform:rt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},zf=qk;function Wk(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Gk(e,t){return typeof e=="function"?e(t):e}function Yk(){function e(n,r,i,o){const a={[n]:r,theme:i},s=o[n];if(!s)return{[n]:r};const{cssProperty:u=n,themeKey:l,transform:c,style:f}=s;if(r==null)return null;if(l==="typography"&&r==="inherit")return{[n]:r};const d=Us(i,l)||{};return f?f(a):Jt(a,r,g=>{let m=Ya(d,c,g);return g===m&&typeof g=="string"&&(m=Ya(d,c,`${n}${g==="default"?"":Zm(g)}`,g)),u===!1?m:{[u]:m}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const a=(r=o.unstable_sxConfig)!=null?r:zf;function s(u){let l=u;if(typeof u=="function")l=u(o);else if(typeof u!="object")return u;if(!l)return null;const c=ck(o.breakpoints),f=Object.keys(c);let d=c;return Object.keys(l).forEach(v=>{const g=Gk(l[v],o);if(g!=null)if(typeof g=="object")if(a[v])d=Pi(d,e(v,g,o,a));else{const m=Jt({theme:o},g,S=>({[v]:S}));Wk(m,g)?d[v]=t({sx:g,theme:o}):d=Pi(d,m)}else d=Pi(d,e(v,g,o,a))}),fk(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const m0=Yk();m0.filterProps=["sx"];const g0=m0,Xk=["breakpoints","palette","spacing","shape"];function E0(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,a=ti(e,Xk),s=sk(n),u=gk(i);let l=Ht({breakpoints:s,direction:"ltr",components:{},palette:he({mode:"light"},r),spacing:u,shape:he({},lk,o)},a);return l=t.reduce((c,f)=>Ht(c,f),l),l.unstable_sxConfig=he({},zf,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return g0({sx:f,theme:this})},l}function Jk(e){return Object.keys(e).length===0}function Zk(e=null){const t=A.useContext(h0);return!t||Jk(t)?e:t}const eb=E0();function S0(e=eb){return Zk(e)}function tb({styles:e,themeId:t,defaultTheme:n={}}){const r=S0(n),i=typeof e=="function"?e(t&&r[t]||r):e;return $.jsx(ik,{styles:i})}function nb(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:e0(t.components[n].defaultProps,r)}function rb({props:e,name:t,defaultTheme:n,themeId:r}){let i=S0(n);return r&&(i=i[r]||i),nb({theme:i,name:t,props:e})}function w0(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function ib(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Gr(e){if(e.type)return e;if(e.charAt(0)==="#")return Gr(ib(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(qr(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(qr(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Uf(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function ob(e){e=Gr(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=(l,c=(l+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Uf({type:s,values:u})}function mh(e){e=Gr(e);let t=e.type==="hsl"||e.type==="hsla"?Gr(ob(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ab(e,t){const n=mh(e),r=mh(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function sb(e,t){if(e=Gr(e),t=w0(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Uf(e)}function ub(e,t){if(e=Gr(e),t=w0(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Uf(e)}function lb(e,t){return he({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const cb={black:"#000",white:"#fff"},uo=cb,fb={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},db=fb,pb={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},tr=pb,hb={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},nr=hb,vb={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},yi=vb,yb={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},rr=yb,mb={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ir=mb,gb={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},or=gb,Eb=["mode","contrastThreshold","tonalOffset"],gh={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:uo.white,default:uo.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Mu={text:{primary:uo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:uo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Eh(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ub(e.main,i):t==="dark"&&(e.dark=sb(e.main,o)))}function Sb(e="light"){return e==="dark"?{main:rr[200],light:rr[50],dark:rr[400]}:{main:rr[700],light:rr[400],dark:rr[800]}}function wb(e="light"){return e==="dark"?{main:tr[200],light:tr[50],dark:tr[400]}:{main:tr[500],light:tr[300],dark:tr[700]}}function _b(e="light"){return e==="dark"?{main:nr[500],light:nr[300],dark:nr[700]}:{main:nr[700],light:nr[400],dark:nr[800]}}function Ob(e="light"){return e==="dark"?{main:ir[400],light:ir[300],dark:ir[700]}:{main:ir[700],light:ir[500],dark:ir[900]}}function kb(e="light"){return e==="dark"?{main:or[400],light:or[300],dark:or[700]}:{main:or[800],light:or[500],dark:or[900]}}function bb(e="light"){return e==="dark"?{main:yi[400],light:yi[300],dark:yi[700]}:{main:"#ed6c02",light:yi[500],dark:yi[900]}}function Tb(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=ti(e,Eb),o=e.primary||Sb(t),a=e.secondary||wb(t),s=e.error||_b(t),u=e.info||Ob(t),l=e.success||kb(t),c=e.warning||bb(t);function f(m){return ab(m,Mu.text.primary)>=n?Mu.text.primary:gh.text.primary}const d=({color:m,name:S,mainShade:p=500,lightShade:h=300,darkShade:y=700})=>{if(m=he({},m),!m.main&&m[p]&&(m.main=m[p]),!m.hasOwnProperty("main"))throw new Error(qr(11,S?` (${S})`:"",p));if(typeof m.main!="string")throw new Error(qr(12,S?` (${S})`:"",JSON.stringify(m.main)));return Eh(m,"light",h,r),Eh(m,"dark",y,r),m.contrastText||(m.contrastText=f(m.main)),m},v={dark:Mu,light:gh};return Ht(he({common:he({},uo),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:u,name:"info"}),success:d({color:l,name:"success"}),grey:db,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},v[t]),i)}const Cb=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function xb(e){return Math.round(e*1e5)/1e5}const Sh={textTransform:"uppercase"},wh='"Roboto", "Helvetica", "Arial", sans-serif';function Db(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=wh,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:l=16,allVariants:c,pxToRem:f}=n,d=ti(n,Cb),v=i/14,g=f||(p=>`${p/l*v}rem`),m=(p,h,y,E,b)=>he({fontFamily:r,fontWeight:p,fontSize:g(h),lineHeight:y},r===wh?{letterSpacing:`${xb(E/h)}em`}:{},b,c),S={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Sh),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Sh),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ht(he({htmlFontSize:l,pxToRem:g,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:u},S),d,{clone:!1})}const Nb=.2,Ib=.14,Lb=.12;function le(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Nb})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ib})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Lb})`].join(",")}const Rb=["none",le(0,2,1,-1,0,1,1,0,0,1,3,0),le(0,3,1,-2,0,2,2,0,0,1,5,0),le(0,3,3,-2,0,3,4,0,0,1,8,0),le(0,2,4,-1,0,4,5,0,0,1,10,0),le(0,3,5,-1,0,5,8,0,0,1,14,0),le(0,3,5,-1,0,6,10,0,0,1,18,0),le(0,4,5,-2,0,7,10,1,0,2,16,1),le(0,5,5,-3,0,8,10,1,0,3,14,2),le(0,5,6,-3,0,9,12,1,0,3,16,2),le(0,6,6,-3,0,10,14,1,0,4,18,3),le(0,6,7,-4,0,11,15,1,0,4,20,3),le(0,7,8,-4,0,12,17,2,0,5,22,4),le(0,7,8,-4,0,13,19,2,0,5,24,4),le(0,7,9,-4,0,14,21,2,0,5,26,4),le(0,8,9,-5,0,15,22,2,0,6,28,5),le(0,8,10,-5,0,16,24,2,0,6,30,5),le(0,8,11,-5,0,17,26,2,0,6,32,5),le(0,9,11,-5,0,18,28,2,0,7,34,6),le(0,9,12,-6,0,19,29,2,0,7,36,6),le(0,10,13,-6,0,20,31,3,0,8,38,7),le(0,10,13,-6,0,21,33,3,0,8,40,7),le(0,10,14,-6,0,22,35,3,0,8,42,7),le(0,11,14,-7,0,23,36,3,0,9,44,8),le(0,11,15,-7,0,24,38,3,0,9,46,8)],Pb=Rb,Ab=["duration","easing","delay"],Mb={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Fb={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _h(e){return`${Math.round(e)}ms`}function jb(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Bb(e){const t=he({},Mb,e.easing),n=he({},Fb,e.duration);return he({getAutoHeightDuration:jb,create:(i=["all"],o={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:u=0}=o;return ti(o,Ab),(Array.isArray(i)?i:[i]).map(l=>`${l} ${typeof a=="string"?a:_h(a)} ${s} ${typeof u=="string"?u:_h(u)}`).join(",")}},e,{easing:t,duration:n})}const zb={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ub=zb,$b=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Qb(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,a=ti(e,$b);if(e.vars)throw new Error(qr(18));const s=Tb(r),u=E0(e);let l=Ht(u,{mixins:lb(u.breakpoints,n),palette:s,shadows:Pb.slice(),typography:Db(s,o),transitions:Bb(i),zIndex:he({},Ub)});return l=Ht(l,a),l=t.reduce((c,f)=>Ht(c,f),l),l.unstable_sxConfig=he({},zf,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return g0({sx:f,theme:this})},l}const Vb=Qb(),_0=Vb,O0="$$material";function Kb({props:e,name:t}){return rb({props:e,name:t,defaultTheme:_0,themeId:O0})}function Hb(e){return $.jsx(tb,he({},e,{defaultTheme:_0,themeId:O0}))}const qb=(e,t)=>he({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Wb=e=>he({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Gb=(e,t=!1)=>{var n,r;const i={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,u])=>{var l;i[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(l=u.palette)==null?void 0:l.mode}});let o=he({html:qb(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:he({margin:0},Wb(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},i);const a=(n=e.components)==null||(r=n.MuiCssBaseline)==null?void 0:r.styleOverrides;return a&&(o=[o,a]),o};function Yb(e){const t=Kb({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return $.jsxs(A.Fragment,{children:[$.jsx(Hb,{styles:i=>Gb(i,r)}),n]})}const Xb=new z_({uri:"https://graphql.contentful.com/content/v1/spaces/ddn5evy552ly/",cache:new R_,headers:{Authorization:"Bearer VhiyzEkxrxNUIj2Th75Fm98eA6tFmtaqzIthKfiY6Ck"}});Fu.createRoot(document.getElementById("root")).render($.jsxs(Lh.StrictMode,{children:[$.jsx(Yb,{}),$.jsx(G_,{client:Xb,children:$.jsx(D1,{children:$.jsx(aO,{})})})]}))});export default Jb(); diff --git a/index.html b/index.html index bf8f69a..8e854b6 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Dětský stanový tábor ve Střílkách - +