pages/assets/index-c77d16cb.js
2024-01-22 13:38:13 +01:00

214 lines
390 KiB
JavaScript

var x0=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var lT=x0((dT,dc)=>{function N0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[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 D0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Th={exports:{}},Za={},Ch={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 fo=Symbol.for("react.element"),I0=Symbol.for("react.portal"),L0=Symbol.for("react.fragment"),R0=Symbol.for("react.strict_mode"),P0=Symbol.for("react.profiler"),A0=Symbol.for("react.provider"),M0=Symbol.for("react.context"),F0=Symbol.for("react.forward_ref"),j0=Symbol.for("react.suspense"),B0=Symbol.for("react.memo"),z0=Symbol.for("react.lazy"),Vf=Symbol.iterator;function U0(e){return e===null||typeof e!="object"?null:(e=Vf&&e[Vf]||e["@@iterator"],typeof e=="function"?e:null)}var xh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Nh=Object.assign,Dh={};function Jr(e,t,n){this.props=e,this.context=t,this.refs=Dh,this.updater=n||xh}Jr.prototype.isReactComponent={};Jr.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")};Jr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ih(){}Ih.prototype=Jr.prototype;function pc(e,t,n){this.props=e,this.context=t,this.refs=Dh,this.updater=n||xh}var hc=pc.prototype=new Ih;hc.constructor=pc;Nh(hc,Jr.prototype);hc.isPureReactComponent=!0;var Kf=Array.isArray,Lh=Object.prototype.hasOwnProperty,vc={current:null},Rh={key:!0,ref:!0,__self:!0,__source:!0};function Ph(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)Lh.call(t,r)&&!Rh.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var u=Array(s),l=0;l<s;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:fo,type:e,key:o,ref:a,props:i,_owner:vc.current}}function $0(e,t){return{$$typeof:fo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function yc(e){return typeof e=="object"&&e!==null&&e.$$typeof===fo}function Q0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Hf=/\/+/g;function Gs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Q0(""+e.key):t.toString(36)}function Xo(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case fo:case I0:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+Gs(a,0):r,Kf(i)?(n="",e!=null&&(n=e.replace(Hf,"$&/")+"/"),Xo(i,t,n,"",function(l){return l})):i!=null&&(yc(i)&&(i=$0(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Hf,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",Kf(e))for(var s=0;s<e.length;s++){o=e[s];var u=r+Gs(o,s);a+=Xo(o,t,n,u,i)}else if(u=U0(e),typeof u=="function")for(e=u.call(e),s=0;!(o=e.next()).done;)o=o.value,u=r+Gs(o,s++),a+=Xo(o,t,n,u,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function xo(e,t,n){if(e==null)return e;var r=[],i=0;return Xo(e,r,"","",function(o){return t.call(n,o,i++)}),r}function V0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var We={current:null},Jo={transition:null},K0={ReactCurrentDispatcher:We,ReactCurrentBatchConfig:Jo,ReactCurrentOwner:vc};K.Children={map:xo,forEach:function(e,t,n){xo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xo(e,function(){t++}),t},toArray:function(e){return xo(e,function(t){return t})||[]},only:function(e){if(!yc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};K.Component=Jr;K.Fragment=L0;K.Profiler=P0;K.PureComponent=pc;K.StrictMode=R0;K.Suspense=j0;K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K0;K.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Nh({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=vc.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)Lh.call(t,u)&&!Rh.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&s!==void 0?s[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){s=Array(u);for(var l=0;l<u;l++)s[l]=arguments[l+2];r.children=s}return{$$typeof:fo,type:e.type,key:i,ref:o,props:r,_owner:a}};K.createContext=function(e){return e={$$typeof:M0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:A0,_context:e},e.Consumer=e};K.createElement=Ph;K.createFactory=function(e){var t=Ph.bind(null,e);return t.type=e,t};K.createRef=function(){return{current:null}};K.forwardRef=function(e){return{$$typeof:F0,render:e}};K.isValidElement=yc;K.lazy=function(e){return{$$typeof:z0,_payload:{_status:-1,_result:e},_init:V0}};K.memo=function(e,t){return{$$typeof:B0,type:e,compare:t===void 0?null:t}};K.startTransition=function(e){var t=Jo.transition;Jo.transition={};try{e()}finally{Jo.transition=t}};K.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};K.useCallback=function(e,t){return We.current.useCallback(e,t)};K.useContext=function(e){return We.current.useContext(e)};K.useDebugValue=function(){};K.useDeferredValue=function(e){return We.current.useDeferredValue(e)};K.useEffect=function(e,t){return We.current.useEffect(e,t)};K.useId=function(){return We.current.useId()};K.useImperativeHandle=function(e,t,n){return We.current.useImperativeHandle(e,t,n)};K.useInsertionEffect=function(e,t){return We.current.useInsertionEffect(e,t)};K.useLayoutEffect=function(e,t){return We.current.useLayoutEffect(e,t)};K.useMemo=function(e,t){return We.current.useMemo(e,t)};K.useReducer=function(e,t,n){return We.current.useReducer(e,t,n)};K.useRef=function(e){return We.current.useRef(e)};K.useState=function(e){return We.current.useState(e)};K.useSyncExternalStore=function(e,t,n){return We.current.useSyncExternalStore(e,t,n)};K.useTransition=function(){return We.current.useTransition()};K.version="18.2.0";Ch.exports=K;var M=Ch.exports;const Ah=D0(M),jr=N0({__proto__:null,default:Ah},[M]);/**
* @license React
* react-jsx-runtime.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 H0=M,W0=Symbol.for("react.element"),q0=Symbol.for("react.fragment"),G0=Object.prototype.hasOwnProperty,Y0=H0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,X0={key:!0,ref:!0,__self:!0,__source:!0};function Mh(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)G0.call(t,r)&&!X0.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:W0,type:e,key:o,ref:a,props:i,_owner:Y0.current}}Za.Fragment=q0;Za.jsx=Mh;Za.jsxs=Mh;Th.exports=Za;var R=Th.exports,ju={},Fh={exports:{}},ut={},jh={exports:{}},Bh={};/**
* @license React
* scheduler.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.
*/(function(e){function t(D,I){var F=D.length;D.push(I);e:for(;0<F;){var Q=F-1>>>1,z=D[Q];if(0<i(z,I))D[Q]=I,D[F]=z,F=Q;else break e}}function n(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var I=D[0],F=D.pop();if(F!==I){D[0]=F;e:for(var Q=0,z=D.length,H=z>>>1;Q<H;){var Z=2*(Q+1)-1,Le=D[Z],Ge=Z+1,Co=D[Ge];if(0>i(Le,F))Ge<z&&0>i(Co,Le)?(D[Q]=Co,D[Ge]=F,Q=Ge):(D[Q]=Le,D[Z]=F,Q=Z);else if(Ge<z&&0>i(Co,F))D[Q]=Co,D[Ge]=F,Q=Ge;else break e}}return I}function i(D,I){var F=D.sortIndex-I.sortIndex;return F!==0?F:D.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(D){for(var I=n(l);I!==null;){if(I.callback===null)r(l);else if(I.startTime<=D)r(l),I.sortIndex=I.expirationTime,t(u,I);else break;I=n(l)}}function E(D){if(m=!1,y(D),!g)if(n(u)!==null)g=!0,B(b);else{var I=n(l);I!==null&&re(E,I.startTime-D)}}function b(D,I){g=!1,m&&(m=!1,p(T),T=-1),v=!0;var F=d;try{for(y(I),f=n(u);f!==null&&(!(f.expirationTime>I)||D&&!G());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,d=f.priorityLevel;var z=Q(f.expirationTime<=I);I=e.unstable_now(),typeof z=="function"?f.callback=z: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=F,v=!1}}var _=!1,O=null,T=-1,$=5,j=-1;function G(){return!(e.unstable_now()-j<$)}function ke(){if(O!==null){var D=e.unstable_now();j=D;var I=!0;try{I=O(!0,D)}finally{I?gt():(_=!1,O=null)}}else _=!1}var gt;if(typeof h=="function")gt=function(){h(ke)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,k=N.port2;N.port1.onmessage=ke,gt=function(){k.postMessage(null)}}else gt=function(){S(ke,0)};function B(D){O=D,_||(_=!0,gt())}function re(D,I){T=S(function(){D(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(D){D.callback=null},e.unstable_continueExecution=function(){g||v||(g=!0,B(b))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(D){switch(d){case 1:case 2:case 3:var I=3;break;default:I=d}var F=d;d=I;try{return D()}finally{d=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,I){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var F=d;d=D;try{return I()}finally{d=F}},e.unstable_scheduleCallback=function(D,I,F){var Q=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?Q+F:Q):F=Q,D){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=F+z,D={id:c++,callback:I,priorityLevel:D,startTime:F,expirationTime:z,sortIndex:-1},F>Q?(D.sortIndex=F,t(l,D),n(u)===null&&D===n(l)&&(m?(p(T),T=-1):m=!0,re(E,F-Q))):(D.sortIndex=z,t(u,D),g||v||(g=!0,B(b))),D},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(D){var I=d;return function(){var F=d;d=I;try{return D.apply(this,arguments)}finally{d=F}}}})(Bh);jh.exports=Bh;var J0=jh.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 zh=M,st=J0;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Uh=new Set,Fi={};function er(e,t){Br(e,t),Br(e+"Capture",t)}function Br(e,t){for(Fi[e]=t,e=0;e<t.length;e++)Uh.add(t[e])}var Wt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bu=Object.prototype.hasOwnProperty,Z0=/^[: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]*$/,Wf={},qf={};function eg(e){return Bu.call(qf,e)?!0:Bu.call(Wf,e)?!1:Z0.test(e)?qf[e]=!0:(Wf[e]=!0,!1)}function tg(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 ng(e,t,n,r){if(t===null||typeof t>"u"||tg(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 qe(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 qe(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 qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new qe(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 qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var mc=/[\-:]([a-z])/g;function gc(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(mc,gc);Fe[t]=new qe(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(mc,gc);Fe[t]=new qe(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(mc,gc);Fe[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ec(e,t,n,r){var i=Fe.hasOwnProperty(t)?Fe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ng(t,n,i,r)&&(n=null),r||i===null?eg(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Zt=zh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,No=Symbol.for("react.element"),dr=Symbol.for("react.portal"),pr=Symbol.for("react.fragment"),Sc=Symbol.for("react.strict_mode"),zu=Symbol.for("react.profiler"),$h=Symbol.for("react.provider"),Qh=Symbol.for("react.context"),wc=Symbol.for("react.forward_ref"),Uu=Symbol.for("react.suspense"),$u=Symbol.for("react.suspense_list"),_c=Symbol.for("react.memo"),on=Symbol.for("react.lazy"),Vh=Symbol.for("react.offscreen"),Gf=Symbol.iterator;function ii(e){return e===null||typeof e!="object"?null:(e=Gf&&e[Gf]||e["@@iterator"],typeof e=="function"?e:null)}var ve=Object.assign,Ys;function Ei(e){if(Ys===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ys=t&&t[1]||""}return`
`+Ys+e}var Xs=!1;function Js(e,t){if(!e||Xs)return"";Xs=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var i=l.stack.split(`
`),o=r.stack.split(`
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var u=`
`+i[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=a&&0<=s);break}}}finally{Xs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ei(e):""}function rg(e){switch(e.tag){case 5:return Ei(e.type);case 16:return Ei("Lazy");case 13:return Ei("Suspense");case 19:return Ei("SuspenseList");case 0:case 2:case 15:return e=Js(e.type,!1),e;case 11:return e=Js(e.type.render,!1),e;case 1:return e=Js(e.type,!0),e;default:return""}}function Qu(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 pr:return"Fragment";case dr:return"Portal";case zu:return"Profiler";case Sc:return"StrictMode";case Uu:return"Suspense";case $u:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qh:return(e.displayName||"Context")+".Consumer";case $h:return(e._context.displayName||"Context")+".Provider";case wc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _c:return t=e.displayName||null,t!==null?t:Qu(e.type)||"Memo";case on:t=e._payload,e=e._init;try{return Qu(e(t))}catch{}}return null}function ig(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 Qu(t);case 8:return t===Sc?"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 kn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Kh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function og(e){var t=Kh(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 Do(e){e._valueTracker||(e._valueTracker=og(e))}function Hh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Kh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Sa(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 Vu(e,t){var n=t.checked;return ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Yf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=kn(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 Wh(e,t){t=t.checked,t!=null&&Ec(e,"checked",t,!1)}function Ku(e,t){Wh(e,t);var n=kn(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")?Hu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Hu(e,t.type,kn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xf(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 Hu(e,t,n){(t!=="number"||Sa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Si=Array.isArray;function Cr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+kn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Wu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(x(91));return ve({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Jf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(x(92));if(Si(n)){if(1<n.length)throw Error(x(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:kn(n)}}function qh(e,t){var n=kn(t.value),r=kn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Zf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Gh(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function qu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Gh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Io,Yh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Io=Io||document.createElement("div"),Io.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Io.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ji(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ki={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},ag=["Webkit","ms","Moz","O"];Object.keys(ki).forEach(function(e){ag.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ki[t]=ki[e]})});function Xh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ki.hasOwnProperty(e)&&ki[e]?(""+t).trim():t+"px"}function Jh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Xh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var sg=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 Gu(e,t){if(t){if(sg[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 Yu(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 Xu=null;function Oc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ju=null,xr=null,Nr=null;function ed(e){if(e=vo(e)){if(typeof Ju!="function")throw Error(x(280));var t=e.stateNode;t&&(t=is(t),Ju(e.stateNode,e.type,t))}}function Zh(e){xr?Nr?Nr.push(e):Nr=[e]:xr=e}function ev(){if(xr){var e=xr,t=Nr;if(Nr=xr=null,ed(e),t)for(e=0;e<t.length;e++)ed(t[e])}}function tv(e,t){return e(t)}function nv(){}var Zs=!1;function rv(e,t,n){if(Zs)return e(t,n);Zs=!0;try{return tv(e,t,n)}finally{Zs=!1,(xr!==null||Nr!==null)&&(nv(),ev())}}function Bi(e,t){var n=e.stateNode;if(n===null)return null;var r=is(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(x(231,t,typeof n));return n}var Zu=!1;if(Wt)try{var oi={};Object.defineProperty(oi,"passive",{get:function(){Zu=!0}}),window.addEventListener("test",oi,oi),window.removeEventListener("test",oi,oi)}catch{Zu=!1}function ug(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var bi=!1,wa=null,_a=!1,el=null,lg={onError:function(e){bi=!0,wa=e}};function cg(e,t,n,r,i,o,a,s,u){bi=!1,wa=null,ug.apply(lg,arguments)}function fg(e,t,n,r,i,o,a,s,u){if(cg.apply(this,arguments),bi){if(bi){var l=wa;bi=!1,wa=null}else throw Error(x(198));_a||(_a=!0,el=l)}}function tr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function iv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function td(e){if(tr(e)!==e)throw Error(x(188))}function dg(e){var t=e.alternate;if(!t){if(t=tr(e),t===null)throw Error(x(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return td(i),e;if(o===r)return td(i),t;o=o.sibling}throw Error(x(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(x(189))}}if(n.alternate!==r)throw Error(x(190))}if(n.tag!==3)throw Error(x(188));return n.stateNode.current===n?e:t}function ov(e){return e=dg(e),e!==null?av(e):null}function av(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=av(e);if(t!==null)return t;e=e.sibling}return null}var sv=st.unstable_scheduleCallback,nd=st.unstable_cancelCallback,pg=st.unstable_shouldYield,hg=st.unstable_requestPaint,Se=st.unstable_now,vg=st.unstable_getCurrentPriorityLevel,kc=st.unstable_ImmediatePriority,uv=st.unstable_UserBlockingPriority,Oa=st.unstable_NormalPriority,yg=st.unstable_LowPriority,lv=st.unstable_IdlePriority,es=null,At=null;function mg(e){if(At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(es,e,void 0,(e.current.flags&128)===128)}catch{}}var bt=Math.clz32?Math.clz32:Sg,gg=Math.log,Eg=Math.LN2;function Sg(e){return e>>>=0,e===0?32:31-(gg(e)/Eg|0)|0}var Lo=64,Ro=4194304;function wi(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 ka(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=wi(s):(o&=a,o!==0&&(r=wi(o)))}else a=n&~i,a!==0?r=wi(a):o!==0&&(r=wi(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;0<t;)n=31-bt(t),i=1<<n,r|=e[n],t&=~i;return r}function wg(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _g(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-bt(o),s=1<<a,u=i[a];u===-1?(!(s&n)||s&r)&&(i[a]=wg(s,t)):u<=t&&(e.expiredLanes|=s),o&=~s}}function tl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function cv(){var e=Lo;return Lo<<=1,!(Lo&4194240)&&(Lo=64),e}function eu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function po(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 Og(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<n;){var i=31-bt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function bc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-bt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ee=0;function fv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var dv,Tc,pv,hv,vv,nl=!1,Po=[],hn=null,vn=null,yn=null,zi=new Map,Ui=new Map,cn=[],kg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rd(e,t){switch(e){case"focusin":case"focusout":hn=null;break;case"dragenter":case"dragleave":vn=null;break;case"mouseover":case"mouseout":yn=null;break;case"pointerover":case"pointerout":zi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ui.delete(t.pointerId)}}function ai(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=vo(t),t!==null&&Tc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function bg(e,t,n,r,i){switch(t){case"focusin":return hn=ai(hn,e,t,n,r,i),!0;case"dragenter":return vn=ai(vn,e,t,n,r,i),!0;case"mouseover":return yn=ai(yn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return zi.set(o,ai(zi.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Ui.set(o,ai(Ui.get(o)||null,e,t,n,r,i)),!0}return!1}function yv(e){var t=Bn(e.target);if(t!==null){var n=tr(t);if(n!==null){if(t=n.tag,t===13){if(t=iv(n),t!==null){e.blockedOn=t,vv(e.priority,function(){pv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=rl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Xu=r,n.target.dispatchEvent(r),Xu=null}else return t=vo(n),t!==null&&Tc(t),e.blockedOn=n,!1;t.shift()}return!0}function id(e,t,n){Zo(e)&&n.delete(t)}function Tg(){nl=!1,hn!==null&&Zo(hn)&&(hn=null),vn!==null&&Zo(vn)&&(vn=null),yn!==null&&Zo(yn)&&(yn=null),zi.forEach(id),Ui.forEach(id)}function si(e,t){e.blockedOn===t&&(e.blockedOn=null,nl||(nl=!0,st.unstable_scheduleCallback(st.unstable_NormalPriority,Tg)))}function $i(e){function t(i){return si(i,e)}if(0<Po.length){si(Po[0],e);for(var n=1;n<Po.length;n++){var r=Po[n];r.blockedOn===e&&(r.blockedOn=null)}}for(hn!==null&&si(hn,e),vn!==null&&si(vn,e),yn!==null&&si(yn,e),zi.forEach(t),Ui.forEach(t),n=0;n<cn.length;n++)r=cn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<cn.length&&(n=cn[0],n.blockedOn===null);)yv(n),n.blockedOn===null&&cn.shift()}var Dr=Zt.ReactCurrentBatchConfig,ba=!0;function Cg(e,t,n,r){var i=ee,o=Dr.transition;Dr.transition=null;try{ee=1,Cc(e,t,n,r)}finally{ee=i,Dr.transition=o}}function xg(e,t,n,r){var i=ee,o=Dr.transition;Dr.transition=null;try{ee=4,Cc(e,t,n,r)}finally{ee=i,Dr.transition=o}}function Cc(e,t,n,r){if(ba){var i=rl(e,t,n,r);if(i===null)cu(e,t,r,Ta,n),rd(e,r);else if(bg(i,e,t,n,r))r.stopPropagation();else if(rd(e,r),t&4&&-1<kg.indexOf(e)){for(;i!==null;){var o=vo(i);if(o!==null&&dv(o),o=rl(e,t,n,r),o===null&&cu(e,t,r,Ta,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else cu(e,t,r,null,n)}}var Ta=null;function rl(e,t,n,r){if(Ta=null,e=Oc(r),e=Bn(e),e!==null)if(t=tr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=iv(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ta=e,null}function mv(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(vg()){case kc:return 1;case uv:return 4;case Oa:case yg:return 16;case lv:return 536870912;default:return 16}default:return 16}}var dn=null,xc=null,ea=null;function gv(){if(ea)return ea;var e,t=xc,n=t.length,r,i="value"in dn?dn.value:dn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return ea=i.slice(e,1<r?1-r:void 0)}function ta(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ao(){return!0}function od(){return!1}function lt(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ao:od,this.isPropagationStopped=od,this}return ve(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ao)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ao)},persist:function(){},isPersistent:Ao}),t}var Zr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nc=lt(Zr),ho=ve({},Zr,{view:0,detail:0}),Ng=lt(ho),tu,nu,ui,ts=ve({},ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ui&&(ui&&e.type==="mousemove"?(tu=e.screenX-ui.screenX,nu=e.screenY-ui.screenY):nu=tu=0,ui=e),tu)},movementY:function(e){return"movementY"in e?e.movementY:nu}}),ad=lt(ts),Dg=ve({},ts,{dataTransfer:0}),Ig=lt(Dg),Lg=ve({},ho,{relatedTarget:0}),ru=lt(Lg),Rg=ve({},Zr,{animationName:0,elapsedTime:0,pseudoElement:0}),Pg=lt(Rg),Ag=ve({},Zr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mg=lt(Ag),Fg=ve({},Zr,{data:0}),sd=lt(Fg),jg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bg={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},zg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ug(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zg[e])?!!t[e]:!1}function Dc(){return Ug}var $g=ve({},ho,{key:function(e){if(e.key){var t=jg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ta(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Bg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dc,charCode:function(e){return e.type==="keypress"?ta(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ta(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Qg=lt($g),Vg=ve({},ts,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ud=lt(Vg),Kg=ve({},ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dc}),Hg=lt(Kg),Wg=ve({},Zr,{propertyName:0,elapsedTime:0,pseudoElement:0}),qg=lt(Wg),Gg=ve({},ts,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Yg=lt(Gg),Xg=[9,13,27,32],Ic=Wt&&"CompositionEvent"in window,Ti=null;Wt&&"documentMode"in document&&(Ti=document.documentMode);var Jg=Wt&&"TextEvent"in window&&!Ti,Ev=Wt&&(!Ic||Ti&&8<Ti&&11>=Ti),ld=String.fromCharCode(32),cd=!1;function Sv(e,t){switch(e){case"keyup":return Xg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var hr=!1;function Zg(e,t){switch(e){case"compositionend":return wv(t);case"keypress":return t.which!==32?null:(cd=!0,ld);case"textInput":return e=t.data,e===ld&&cd?null:e;default:return null}}function eE(e,t){if(hr)return e==="compositionend"||!Ic&&Sv(e,t)?(e=gv(),ea=xc=dn=null,hr=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ev&&t.locale!=="ko"?null:t.data;default:return null}}var tE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function fd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!tE[e.type]:t==="textarea"}function _v(e,t,n,r){Zh(r),t=Ca(t,"onChange"),0<t.length&&(n=new Nc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ci=null,Qi=null;function nE(e){Rv(e,0)}function ns(e){var t=mr(e);if(Hh(t))return e}function rE(e,t){if(e==="change")return t}var Ov=!1;if(Wt){var iu;if(Wt){var ou="oninput"in document;if(!ou){var dd=document.createElement("div");dd.setAttribute("oninput","return;"),ou=typeof dd.oninput=="function"}iu=ou}else iu=!1;Ov=iu&&(!document.documentMode||9<document.documentMode)}function pd(){Ci&&(Ci.detachEvent("onpropertychange",kv),Qi=Ci=null)}function kv(e){if(e.propertyName==="value"&&ns(Qi)){var t=[];_v(t,Qi,e,Oc(e)),rv(nE,t)}}function iE(e,t,n){e==="focusin"?(pd(),Ci=t,Qi=n,Ci.attachEvent("onpropertychange",kv)):e==="focusout"&&pd()}function oE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ns(Qi)}function aE(e,t){if(e==="click")return ns(t)}function sE(e,t){if(e==="input"||e==="change")return ns(t)}function uE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xt=typeof Object.is=="function"?Object.is:uE;function Vi(e,t){if(xt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Bu.call(t,i)||!xt(e[i],t[i]))return!1}return!0}function hd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vd(e,t){var n=hd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=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=hd(n)}}function bv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tv(){for(var e=window,t=Sa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sa(e.document)}return t}function Lc(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 lE(e){var t=Tv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&bv(n.ownerDocument.documentElement,n)){if(r!==null&&Lc(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=vd(n,o);var a=vd(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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var cE=Wt&&"documentMode"in document&&11>=document.documentMode,vr=null,il=null,xi=null,ol=!1;function yd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ol||vr==null||vr!==Sa(r)||(r=vr,"selectionStart"in r&&Lc(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}),xi&&Vi(xi,r)||(xi=r,r=Ca(il,"onSelect"),0<r.length&&(t=new Nc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function Mo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var yr={animationend:Mo("Animation","AnimationEnd"),animationiteration:Mo("Animation","AnimationIteration"),animationstart:Mo("Animation","AnimationStart"),transitionend:Mo("Transition","TransitionEnd")},au={},Cv={};Wt&&(Cv=document.createElement("div").style,"AnimationEvent"in window||(delete yr.animationend.animation,delete yr.animationiteration.animation,delete yr.animationstart.animation),"TransitionEvent"in window||delete yr.transitionend.transition);function rs(e){if(au[e])return au[e];if(!yr[e])return e;var t=yr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Cv)return au[e]=t[n];return e}var xv=rs("animationend"),Nv=rs("animationiteration"),Dv=rs("animationstart"),Iv=rs("transitionend"),Lv=new Map,md="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function In(e,t){Lv.set(e,t),er(t,[e])}for(var su=0;su<md.length;su++){var uu=md[su],fE=uu.toLowerCase(),dE=uu[0].toUpperCase()+uu.slice(1);In(fE,"on"+dE)}In(xv,"onAnimationEnd");In(Nv,"onAnimationIteration");In(Dv,"onAnimationStart");In("dblclick","onDoubleClick");In("focusin","onFocus");In("focusout","onBlur");In(Iv,"onTransitionEnd");Br("onMouseEnter",["mouseout","mouseover"]);Br("onMouseLeave",["mouseout","mouseover"]);Br("onPointerEnter",["pointerout","pointerover"]);Br("onPointerLeave",["pointerout","pointerover"]);er("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));er("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));er("onBeforeInput",["compositionend","keypress","textInput","paste"]);er("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));er("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));er("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _i="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pE=new Set("cancel close invalid load scroll toggle".split(" ").concat(_i));function gd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,fg(r,t,void 0,e),e.currentTarget=null}function Rv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],u=s.instance,l=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break e;gd(i,s,l),o=u}else for(a=0;a<r.length;a++){if(s=r[a],u=s.instance,l=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break e;gd(i,s,l),o=u}}}if(_a)throw e=el,_a=!1,el=null,e}function ae(e,t){var n=t[cl];n===void 0&&(n=t[cl]=new Set);var r=e+"__bubble";n.has(r)||(Pv(t,e,2,!1),n.add(r))}function lu(e,t,n){var r=0;t&&(r|=4),Pv(n,e,r,t)}var Fo="_reactListening"+Math.random().toString(36).slice(2);function Ki(e){if(!e[Fo]){e[Fo]=!0,Uh.forEach(function(n){n!=="selectionchange"&&(pE.has(n)||lu(n,!1,e),lu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Fo]||(t[Fo]=!0,lu("selectionchange",!1,t))}}function Pv(e,t,n,r){switch(mv(t)){case 1:var i=Cg;break;case 4:i=xg;break;default:i=Cc}n=i.bind(null,t,n,e),i=void 0,!Zu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function cu(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var u=a.tag;if((u===3||u===4)&&(u=a.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;a=a.return}for(;s!==null;){if(a=Bn(s),a===null)return;if(u=a.tag,u===5||u===6){r=o=a;continue e}s=s.parentNode}}r=r.return}rv(function(){var l=o,c=Oc(n),f=[];e:{var d=Lv.get(e);if(d!==void 0){var v=Nc,g=e;switch(e){case"keypress":if(ta(n)===0)break e;case"keydown":case"keyup":v=Qg;break;case"focusin":g="focus",v=ru;break;case"focusout":g="blur",v=ru;break;case"beforeblur":case"afterblur":v=ru;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=ad;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Ig;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=Hg;break;case xv:case Nv:case Dv:v=Pg;break;case Iv:v=qg;break;case"scroll":v=Ng;break;case"wheel":v=Yg;break;case"copy":case"cut":case"paste":v=Mg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=ud}var m=(t&4)!==0,S=!m&&e==="scroll",p=m?d!==null?d+"Capture":null:d;m=[];for(var h=l,y;h!==null;){y=h;var E=y.stateNode;if(y.tag===5&&E!==null&&(y=E,p!==null&&(E=Bi(h,p),E!=null&&m.push(Hi(h,E,y)))),S)break;h=h.return}0<m.length&&(d=new v(d,g,null,n,c),f.push({event:d,listeners:m}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",d&&n!==Xu&&(g=n.relatedTarget||n.fromElement)&&(Bn(g)||g[qt]))break e;if((v||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,v?(g=n.relatedTarget||n.toElement,v=l,g=g?Bn(g):null,g!==null&&(S=tr(g),g!==S||g.tag!==5&&g.tag!==6)&&(g=null)):(v=null,g=l),v!==g)){if(m=ad,E="onMouseLeave",p="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(m=ud,E="onPointerLeave",p="onPointerEnter",h="pointer"),S=v==null?d:mr(v),y=g==null?d:mr(g),d=new m(E,h+"leave",v,n,c),d.target=S,d.relatedTarget=y,E=null,Bn(c)===l&&(m=new m(p,h+"enter",g,n,c),m.target=y,m.relatedTarget=S,E=m),S=E,v&&g)t:{for(m=v,p=g,h=0,y=m;y;y=nr(y))h++;for(y=0,E=p;E;E=nr(E))y++;for(;0<h-y;)m=nr(m),h--;for(;0<y-h;)p=nr(p),y--;for(;h--;){if(m===p||p!==null&&m===p.alternate)break t;m=nr(m),p=nr(p)}m=null}else m=null;v!==null&&Ed(f,d,v,m,!1),g!==null&&S!==null&&Ed(f,S,g,m,!0)}}e:{if(d=l?mr(l):window,v=d.nodeName&&d.nodeName.toLowerCase(),v==="select"||v==="input"&&d.type==="file")var b=rE;else if(fd(d))if(Ov)b=sE;else{b=oE;var _=iE}else(v=d.nodeName)&&v.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(b=aE);if(b&&(b=b(e,l))){_v(f,b,n,c);break e}_&&_(e,d,l),e==="focusout"&&(_=d._wrapperState)&&_.controlled&&d.type==="number"&&Hu(d,"number",d.value)}switch(_=l?mr(l):window,e){case"focusin":(fd(_)||_.contentEditable==="true")&&(vr=_,il=l,xi=null);break;case"focusout":xi=il=vr=null;break;case"mousedown":ol=!0;break;case"contextmenu":case"mouseup":case"dragend":ol=!1,yd(f,n,c);break;case"selectionchange":if(cE)break;case"keydown":case"keyup":yd(f,n,c)}var O;if(Ic)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else hr?Sv(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Ev&&n.locale!=="ko"&&(hr||T!=="onCompositionStart"?T==="onCompositionEnd"&&hr&&(O=gv()):(dn=c,xc="value"in dn?dn.value:dn.textContent,hr=!0)),_=Ca(l,T),0<_.length&&(T=new sd(T,e,null,n,c),f.push({event:T,listeners:_}),O?T.data=O:(O=wv(n),O!==null&&(T.data=O)))),(O=Jg?Zg(e,n):eE(e,n))&&(l=Ca(l,"onBeforeInput"),0<l.length&&(c=new sd("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:l}),c.data=O))}Rv(f,t)})}function Hi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ca(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Bi(e,n),o!=null&&r.unshift(Hi(e,o,i)),o=Bi(e,t),o!=null&&r.push(Hi(e,o,i))),e=e.return}return r}function nr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ed(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var s=n,u=s.alternate,l=s.stateNode;if(u!==null&&u===r)break;s.tag===5&&l!==null&&(s=l,i?(u=Bi(n,o),u!=null&&a.unshift(Hi(n,u,s))):i||(u=Bi(n,o),u!=null&&a.push(Hi(n,u,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var hE=/\r\n?/g,vE=/\u0000|\uFFFD/g;function Sd(e){return(typeof e=="string"?e:""+e).replace(hE,`
`).replace(vE,"")}function jo(e,t,n){if(t=Sd(t),Sd(e)!==t&&n)throw Error(x(425))}function xa(){}var al=null,sl=null;function ul(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ll=typeof setTimeout=="function"?setTimeout:void 0,yE=typeof clearTimeout=="function"?clearTimeout:void 0,wd=typeof Promise=="function"?Promise:void 0,mE=typeof queueMicrotask=="function"?queueMicrotask:typeof wd<"u"?function(e){return wd.resolve(null).then(e).catch(gE)}:ll;function gE(e){setTimeout(function(){throw e})}function fu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),$i(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);$i(t)}function mn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function _d(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ei=Math.random().toString(36).slice(2),Rt="__reactFiber$"+ei,Wi="__reactProps$"+ei,qt="__reactContainer$"+ei,cl="__reactEvents$"+ei,EE="__reactListeners$"+ei,SE="__reactHandles$"+ei;function Bn(e){var t=e[Rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[qt]||n[Rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_d(e);e!==null;){if(n=e[Rt])return n;e=_d(e)}return t}e=n,n=e.parentNode}return null}function vo(e){return e=e[Rt]||e[qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(x(33))}function is(e){return e[Wi]||null}var fl=[],gr=-1;function Ln(e){return{current:e}}function ue(e){0>gr||(e.current=fl[gr],fl[gr]=null,gr--)}function oe(e,t){gr++,fl[gr]=e.current,e.current=t}var bn={},Qe=Ln(bn),Je=Ln(!1),Hn=bn;function zr(e,t){var n=e.type.contextTypes;if(!n)return bn;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 Na(){ue(Je),ue(Qe)}function Od(e,t,n){if(Qe.current!==bn)throw Error(x(168));oe(Qe,t),oe(Je,n)}function Av(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,ig(e)||"Unknown",i));return ve({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bn,Hn=Qe.current,oe(Qe,e),oe(Je,Je.current),!0}function kd(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=Av(e,t,Hn),r.__reactInternalMemoizedMergedChildContext=e,ue(Je),ue(Qe),oe(Qe,e)):ue(Je),oe(Je,n)}var Ut=null,os=!1,du=!1;function Mv(e){Ut===null?Ut=[e]:Ut.push(e)}function wE(e){os=!0,Mv(e)}function Rn(){if(!du&&Ut!==null){du=!0;var e=0,t=ee;try{var n=Ut;for(ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ut=null,os=!1}catch(i){throw Ut!==null&&(Ut=Ut.slice(e+1)),sv(kc,Rn),i}finally{ee=t,du=!1}}return null}var Er=[],Sr=0,Ia=null,La=0,ft=[],dt=0,Wn=null,$t=1,Qt="";function An(e,t){Er[Sr++]=La,Er[Sr++]=Ia,Ia=e,La=t}function Fv(e,t,n){ft[dt++]=$t,ft[dt++]=Qt,ft[dt++]=Wn,Wn=e;var r=$t;e=Qt;var i=32-bt(r)-1;r&=~(1<<i),n+=1;var o=32-bt(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,$t=1<<32-bt(t)+i|n<<i|r,Qt=o+e}else $t=1<<o|n<<i|r,Qt=e}function Rc(e){e.return!==null&&(An(e,1),Fv(e,1,0))}function Pc(e){for(;e===Ia;)Ia=Er[--Sr],Er[Sr]=null,La=Er[--Sr],Er[Sr]=null;for(;e===Wn;)Wn=ft[--dt],ft[dt]=null,Qt=ft[--dt],ft[dt]=null,$t=ft[--dt],ft[dt]=null}var ot=null,it=null,ce=!1,Ot=null;function jv(e,t){var n=pt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function bd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,it=mn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,it=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Wn!==null?{id:$t,overflow:Qt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=pt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,it=null,!0):!1;default:return!1}}function dl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function pl(e){if(ce){var t=it;if(t){var n=t;if(!bd(e,t)){if(dl(e))throw Error(x(418));t=mn(n.nextSibling);var r=ot;t&&bd(e,t)?jv(r,n):(e.flags=e.flags&-4097|2,ce=!1,ot=e)}}else{if(dl(e))throw Error(x(418));e.flags=e.flags&-4097|2,ce=!1,ot=e}}}function Td(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function Bo(e){if(e!==ot)return!1;if(!ce)return Td(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ul(e.type,e.memoizedProps)),t&&(t=it)){if(dl(e))throw Bv(),Error(x(418));for(;t;)jv(e,t),t=mn(t.nextSibling)}if(Td(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(x(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){it=mn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}it=null}}else it=ot?mn(e.stateNode.nextSibling):null;return!0}function Bv(){for(var e=it;e;)e=mn(e.nextSibling)}function Ur(){it=ot=null,ce=!1}function Ac(e){Ot===null?Ot=[e]:Ot.push(e)}var _E=Zt.ReactCurrentBatchConfig;function wt(e,t){if(e&&e.defaultProps){t=ve({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Ra=Ln(null),Pa=null,wr=null,Mc=null;function Fc(){Mc=wr=Pa=null}function jc(e){var t=Ra.current;ue(Ra),e._currentValue=t}function hl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ir(e,t){Pa=e,Mc=wr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Xe=!0),e.firstContext=null)}function vt(e){var t=e._currentValue;if(Mc!==e)if(e={context:e,memoizedValue:t,next:null},wr===null){if(Pa===null)throw Error(x(308));wr=e,Pa.dependencies={lanes:0,firstContext:e}}else wr=wr.next=e;return t}var zn=null;function Bc(e){zn===null?zn=[e]:zn.push(e)}function zv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Bc(t)):(n.next=i.next,i.next=n),t.interleaved=n,Gt(e,r)}function Gt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var an=!1;function zc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Uv(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Gt(e,n)}return i=r.interleaved,i===null?(t.next=t,Bc(r)):(t.next=i.next,i.next=t),r.interleaved=t,Gt(e,n)}function na(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bc(e,n)}}function Cd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Aa(e,t,n,r){var i=e.updateQueue;an=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var u=s,l=u.next;u.next=null,a===null?o=l:a.next=l,a=u;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=l:s.next=l,c.lastBaseUpdate=u))}if(o!==null){var f=i.baseState;a=0,c=l=u=null,s=o;do{var d=s.lane,v=s.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,m=s;switch(d=t,v=n,m.tag){case 1:if(g=m.payload,typeof g=="function"){f=g.call(v,f,d);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=m.payload,d=typeof g=="function"?g.call(v,f,d):g,d==null)break e;f=ve({},f,d);break e;case 2:an=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[s]:d.push(s))}else v={eventTime:v,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(l=c=v,u=f):c=c.next=v,a|=d;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;d=s,s=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(c===null&&(u=f),i.baseState=u,i.firstBaseUpdate=l,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Gn|=a,e.lanes=a,e.memoizedState=f}}function xd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(x(191,i));i.call(r)}}}var $v=new zh.Component().refs;function vl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ve({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var as={isMounted:function(e){return(e=e._reactInternals)?tr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=Sn(e),o=Vt(r,i);o.payload=t,n!=null&&(o.callback=n),t=gn(e,o,i),t!==null&&(Tt(t,e,i,r),na(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=Sn(e),o=Vt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=gn(e,o,i),t!==null&&(Tt(t,e,i,r),na(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ke(),r=Sn(e),i=Vt(n,r);i.tag=2,t!=null&&(i.callback=t),t=gn(e,i,r),t!==null&&(Tt(t,e,r,n),na(t,e,r))}};function Nd(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!Vi(n,r)||!Vi(i,o):!0}function Qv(e,t,n){var r=!1,i=bn,o=t.contextType;return typeof o=="object"&&o!==null?o=vt(o):(i=Ze(t)?Hn:Qe.current,r=t.contextTypes,o=(r=r!=null)?zr(e,i):bn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Dd(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&as.enqueueReplaceState(t,t.state,null)}function yl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=$v,zc(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=vt(o):(o=Ze(t)?Hn:Qe.current,i.context=zr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(vl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&as.enqueueReplaceState(i,i.state,null),Aa(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function li(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(x(309));var r=n.stateNode}if(!r)throw Error(x(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var s=i.refs;s===$v&&(s=i.refs={}),a===null?delete s[o]:s[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(x(284));if(!n._owner)throw Error(x(290,e))}return e}function zo(e,t){throw e=Object.prototype.toString.call(t),Error(x(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Id(e){var t=e._init;return t(e._payload)}function Vv(e){function t(p,h){if(e){var y=p.deletions;y===null?(p.deletions=[h],p.flags|=16):y.push(h)}}function n(p,h){if(!e)return null;for(;h!==null;)t(p,h),h=h.sibling;return null}function r(p,h){for(p=new Map;h!==null;)h.key!==null?p.set(h.key,h):p.set(h.index,h),h=h.sibling;return p}function i(p,h){return p=wn(p,h),p.index=0,p.sibling=null,p}function o(p,h,y){return p.index=y,e?(y=p.alternate,y!==null?(y=y.index,y<h?(p.flags|=2,h):y):(p.flags|=2,h)):(p.flags|=1048576,h)}function a(p){return e&&p.alternate===null&&(p.flags|=2),p}function s(p,h,y,E){return h===null||h.tag!==6?(h=Eu(y,p.mode,E),h.return=p,h):(h=i(h,y),h.return=p,h)}function u(p,h,y,E){var b=y.type;return b===pr?c(p,h,y.props.children,E,y.key):h!==null&&(h.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===on&&Id(b)===h.type)?(E=i(h,y.props),E.ref=li(p,h,y),E.return=p,E):(E=ua(y.type,y.key,y.props,null,p.mode,E),E.ref=li(p,h,y),E.return=p,E)}function l(p,h,y,E){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=Su(y,p.mode,E),h.return=p,h):(h=i(h,y.children||[]),h.return=p,h)}function c(p,h,y,E,b){return h===null||h.tag!==7?(h=Vn(y,p.mode,E,b),h.return=p,h):(h=i(h,y),h.return=p,h)}function f(p,h,y){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Eu(""+h,p.mode,y),h.return=p,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case No:return y=ua(h.type,h.key,h.props,null,p.mode,y),y.ref=li(p,null,h),y.return=p,y;case dr:return h=Su(h,p.mode,y),h.return=p,h;case on:var E=h._init;return f(p,E(h._payload),y)}if(Si(h)||ii(h))return h=Vn(h,p.mode,y,null),h.return=p,h;zo(p,h)}return null}function d(p,h,y,E){var b=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return b!==null?null:s(p,h,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case No:return y.key===b?u(p,h,y,E):null;case dr:return y.key===b?l(p,h,y,E):null;case on:return b=y._init,d(p,h,b(y._payload),E)}if(Si(y)||ii(y))return b!==null?null:c(p,h,y,E,null);zo(p,y)}return null}function v(p,h,y,E,b){if(typeof E=="string"&&E!==""||typeof E=="number")return p=p.get(y)||null,s(h,p,""+E,b);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case No:return p=p.get(E.key===null?y:E.key)||null,u(h,p,E,b);case dr:return p=p.get(E.key===null?y:E.key)||null,l(h,p,E,b);case on:var _=E._init;return v(p,h,y,_(E._payload),b)}if(Si(E)||ii(E))return p=p.get(y)||null,c(h,p,E,b,null);zo(h,E)}return null}function g(p,h,y,E){for(var b=null,_=null,O=h,T=h=0,$=null;O!==null&&T<y.length;T++){O.index>T?($=O,O=null):$=O.sibling;var j=d(p,O,y[T],E);if(j===null){O===null&&(O=$);break}e&&O&&j.alternate===null&&t(p,O),h=o(j,h,T),_===null?b=j:_.sibling=j,_=j,O=$}if(T===y.length)return n(p,O),ce&&An(p,T),b;if(O===null){for(;T<y.length;T++)O=f(p,y[T],E),O!==null&&(h=o(O,h,T),_===null?b=O:_.sibling=O,_=O);return ce&&An(p,T),b}for(O=r(p,O);T<y.length;T++)$=v(O,p,T,y[T],E),$!==null&&(e&&$.alternate!==null&&O.delete($.key===null?T:$.key),h=o($,h,T),_===null?b=$:_.sibling=$,_=$);return e&&O.forEach(function(G){return t(p,G)}),ce&&An(p,T),b}function m(p,h,y,E){var b=ii(y);if(typeof b!="function")throw Error(x(150));if(y=b.call(y),y==null)throw Error(x(151));for(var _=b=null,O=h,T=h=0,$=null,j=y.next();O!==null&&!j.done;T++,j=y.next()){O.index>T?($=O,O=null):$=O.sibling;var G=d(p,O,j.value,E);if(G===null){O===null&&(O=$);break}e&&O&&G.alternate===null&&t(p,O),h=o(G,h,T),_===null?b=G:_.sibling=G,_=G,O=$}if(j.done)return n(p,O),ce&&An(p,T),b;if(O===null){for(;!j.done;T++,j=y.next())j=f(p,j.value,E),j!==null&&(h=o(j,h,T),_===null?b=j:_.sibling=j,_=j);return ce&&An(p,T),b}for(O=r(p,O);!j.done;T++,j=y.next())j=v(O,p,T,j.value,E),j!==null&&(e&&j.alternate!==null&&O.delete(j.key===null?T:j.key),h=o(j,h,T),_===null?b=j:_.sibling=j,_=j);return e&&O.forEach(function(ke){return t(p,ke)}),ce&&An(p,T),b}function S(p,h,y,E){if(typeof y=="object"&&y!==null&&y.type===pr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case No:e:{for(var b=y.key,_=h;_!==null;){if(_.key===b){if(b=y.type,b===pr){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===on&&Id(b)===_.type){n(p,_.sibling),h=i(_,y.props),h.ref=li(p,_,y),h.return=p,p=h;break e}n(p,_);break}else t(p,_);_=_.sibling}y.type===pr?(h=Vn(y.props.children,p.mode,E,y.key),h.return=p,p=h):(E=ua(y.type,y.key,y.props,null,p.mode,E),E.ref=li(p,h,y),E.return=p,p=E)}return a(p);case dr: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=Su(y,p.mode,E),h.return=p,p=h}return a(p);case on:return _=y._init,S(p,h,_(y._payload),E)}if(Si(y))return g(p,h,y,E);if(ii(y))return m(p,h,y,E);zo(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=Eu(y,p.mode,E),h.return=p,p=h),a(p)):n(p,h)}return S}var $r=Vv(!0),Kv=Vv(!1),yo={},Mt=Ln(yo),qi=Ln(yo),Gi=Ln(yo);function Un(e){if(e===yo)throw Error(x(174));return e}function Uc(e,t){switch(oe(Gi,t),oe(qi,e),oe(Mt,yo),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 Qr(){ue(Mt),ue(qi),ue(Gi)}function Hv(e){Un(Gi.current);var t=Un(Mt.current),n=qu(t,e.type);t!==n&&(oe(qi,e),oe(Mt,n))}function $c(e){qi.current===e&&(ue(Mt),ue(qi))}var de=Ln(0);function Ma(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 pu=[];function Qc(){for(var e=0;e<pu.length;e++)pu[e]._workInProgressVersionPrimary=null;pu.length=0}var ra=Zt.ReactCurrentDispatcher,hu=Zt.ReactCurrentBatchConfig,qn=0,pe=null,be=null,xe=null,Fa=!1,Ni=!1,Yi=0,OE=0;function je(){throw Error(x(321))}function Vc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xt(e[n],t[n]))return!1;return!0}function Kc(e,t,n,r,i,o){if(qn=o,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ra.current=e===null||e.memoizedState===null?CE:xE,e=n(r,i),Ni){o=0;do{if(Ni=!1,Yi=0,25<=o)throw Error(x(301));o+=1,xe=be=null,t.updateQueue=null,ra.current=NE,e=n(r,i)}while(Ni)}if(ra.current=ja,t=be!==null&&be.next!==null,qn=0,xe=be=pe=null,Fa=!1,t)throw Error(x(300));return e}function Hc(){var e=Yi!==0;return Yi=0,e}function Dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xe===null?pe.memoizedState=xe=e:xe=xe.next=e,xe}function yt(){if(be===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=be.next;var t=xe===null?pe.memoizedState:xe.next;if(t!==null)xe=t,be=e;else{if(e===null)throw Error(x(310));be=e,e={memoizedState:be.memoizedState,baseState:be.baseState,baseQueue:be.baseQueue,queue:be.queue,next:null},xe===null?pe.memoizedState=xe=e:xe=xe.next=e}return xe}function Xi(e,t){return typeof t=="function"?t(e):t}function vu(e){var t=yt(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=be,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=a=null,u=null,l=o;do{var c=l.lane;if((qn&c)===c)u!==null&&(u=u.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:e(r,l.action);else{var f={lane:c,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};u===null?(s=u=f,a=r):u=u.next=f,pe.lanes|=c,Gn|=c}l=l.next}while(l!==null&&l!==o);u===null?a=r:u.next=s,xt(r,t.memoizedState)||(Xe=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,pe.lanes|=o,Gn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function yu(e){var t=yt(),n=t.queue;if(n===null)throw Error(x(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);xt(o,t.memoizedState)||(Xe=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Wv(){}function qv(e,t){var n=pe,r=yt(),i=t(),o=!xt(r.memoizedState,i);if(o&&(r.memoizedState=i,Xe=!0),r=r.queue,Wc(Xv.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||xe!==null&&xe.memoizedState.tag&1){if(n.flags|=2048,Ji(9,Yv.bind(null,n,r,i,t),void 0,null),De===null)throw Error(x(349));qn&30||Gv(n,t,i)}return i}function Gv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yv(e,t,n,r){t.value=n,t.getSnapshot=r,Jv(t)&&Zv(e)}function Xv(e,t,n){return n(function(){Jv(t)&&Zv(e)})}function Jv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xt(e,n)}catch{return!0}}function Zv(e){var t=Gt(e,1);t!==null&&Tt(t,e,1,-1)}function Ld(e){var t=Dt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xi,lastRenderedState:e},t.queue=e,e=e.dispatch=TE.bind(null,pe,e),[t.memoizedState,e]}function Ji(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ey(){return yt().memoizedState}function ia(e,t,n,r){var i=Dt();pe.flags|=e,i.memoizedState=Ji(1|t,n,void 0,r===void 0?null:r)}function ss(e,t,n,r){var i=yt();r=r===void 0?null:r;var o=void 0;if(be!==null){var a=be.memoizedState;if(o=a.destroy,r!==null&&Vc(r,a.deps)){i.memoizedState=Ji(t,n,o,r);return}}pe.flags|=e,i.memoizedState=Ji(1|t,n,o,r)}function Rd(e,t){return ia(8390656,8,e,t)}function Wc(e,t){return ss(2048,8,e,t)}function ty(e,t){return ss(4,2,e,t)}function ny(e,t){return ss(4,4,e,t)}function ry(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function iy(e,t,n){return n=n!=null?n.concat([e]):null,ss(4,4,ry.bind(null,t,e),n)}function qc(){}function oy(e,t){var n=yt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Vc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ay(e,t){var n=yt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Vc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function sy(e,t,n){return qn&21?(xt(n,t)||(n=cv(),pe.lanes|=n,Gn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Xe=!0),e.memoizedState=n)}function kE(e,t){var n=ee;ee=n!==0&&4>n?n:4,e(!0);var r=hu.transition;hu.transition={};try{e(!1),t()}finally{ee=n,hu.transition=r}}function uy(){return yt().memoizedState}function bE(e,t,n){var r=Sn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ly(e))cy(t,n);else if(n=zv(e,t,n,r),n!==null){var i=Ke();Tt(n,e,r,i),fy(n,t,r)}}function TE(e,t,n){var r=Sn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ly(e))cy(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,Bc(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=zv(e,t,i,r),n!==null&&(i=Ke(),Tt(n,e,r,i),fy(n,t,r))}}function ly(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function cy(e,t){Ni=Fa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fy(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bc(e,n)}}var ja={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},CE={readContext:vt,useCallback:function(e,t){return Dt().memoizedState=[e,t===void 0?null:t],e},useContext:vt,useEffect:Rd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ia(4194308,4,ry.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ia(4194308,4,e,t)},useInsertionEffect:function(e,t){return ia(4,2,e,t)},useMemo:function(e,t){var n=Dt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dt();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=bE.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Dt();return e={current:e},t.memoizedState=e},useState:Ld,useDebugValue:qc,useDeferredValue:function(e){return Dt().memoizedState=e},useTransition:function(){var e=Ld(!1),t=e[0];return e=kE.bind(null,e[1]),Dt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,i=Dt();if(ce){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),De===null)throw Error(x(349));qn&30||Gv(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Rd(Xv.bind(null,r,o,e),[e]),r.flags|=2048,Ji(9,Yv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Dt(),t=De.identifierPrefix;if(ce){var n=Qt,r=$t;n=(r&~(1<<32-bt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=OE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},xE={readContext:vt,useCallback:oy,useContext:vt,useEffect:Wc,useImperativeHandle:iy,useInsertionEffect:ty,useLayoutEffect:ny,useMemo:ay,useReducer:vu,useRef:ey,useState:function(){return vu(Xi)},useDebugValue:qc,useDeferredValue:function(e){var t=yt();return sy(t,be.memoizedState,e)},useTransition:function(){var e=vu(Xi)[0],t=yt().memoizedState;return[e,t]},useMutableSource:Wv,useSyncExternalStore:qv,useId:uy,unstable_isNewReconciler:!1},NE={readContext:vt,useCallback:oy,useContext:vt,useEffect:Wc,useImperativeHandle:iy,useInsertionEffect:ty,useLayoutEffect:ny,useMemo:ay,useReducer:yu,useRef:ey,useState:function(){return yu(Xi)},useDebugValue:qc,useDeferredValue:function(e){var t=yt();return be===null?t.memoizedState=e:sy(t,be.memoizedState,e)},useTransition:function(){var e=yu(Xi)[0],t=yt().memoizedState;return[e,t]},useMutableSource:Wv,useSyncExternalStore:qv,useId:uy,unstable_isNewReconciler:!1};function Vr(e,t){try{var n="",r=t;do n+=rg(r),r=r.return;while(r);var i=n}catch(o){i=`
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function mu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ml(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var DE=typeof WeakMap=="function"?WeakMap:Map;function dy(e,t,n){n=Vt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){za||(za=!0,Cl=r),ml(e,t)},n}function py(e,t,n){n=Vt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ml(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){ml(e,t),typeof r!="function"&&(En===null?En=new Set([this]):En.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Pd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new DE;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=VE.bind(null,e,t,n),t.then(e,e))}function Ad(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Md(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Vt(-1,1),t.tag=2,gn(n,t,1))),n.lanes|=1),e)}var IE=Zt.ReactCurrentOwner,Xe=!1;function Ve(e,t,n,r){t.child=e===null?Kv(t,null,n,r):$r(t,e.child,n,r)}function Fd(e,t,n,r,i){n=n.render;var o=t.ref;return Ir(t,i),r=Kc(e,t,n,r,o,i),n=Hc(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Yt(e,t,i)):(ce&&n&&Rc(t),t.flags|=1,Ve(e,t,r,i),t.child)}function jd(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!nf(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,hy(e,t,o,r,i)):(e=ua(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Vi,n(a,r)&&e.ref===t.ref)return Yt(e,t,i)}return t.flags|=1,e=wn(o,r),e.ref=t.ref,e.return=t,t.child=e}function hy(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Vi(o,r)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Xe=!0);else return t.lanes=e.lanes,Yt(e,t,i)}return gl(e,t,n,r,i)}function vy(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(Or,nt),nt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(Or,nt),nt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,oe(Or,nt),nt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,oe(Or,nt),nt|=r;return Ve(e,t,i,n),t.child}function yy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function gl(e,t,n,r,i){var o=Ze(n)?Hn:Qe.current;return o=zr(t,o),Ir(t,i),n=Kc(e,t,n,r,o,i),r=Hc(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Yt(e,t,i)):(ce&&r&&Rc(t),t.flags|=1,Ve(e,t,n,i),t.child)}function Bd(e,t,n,r,i){if(Ze(n)){var o=!0;Da(t)}else o=!1;if(Ir(t,i),t.stateNode===null)oa(e,t),Qv(t,n,r),yl(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;typeof l=="object"&&l!==null?l=vt(l):(l=Ze(n)?Hn:Qe.current,l=zr(t,l));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||u!==l)&&Dd(t,a,r,l),an=!1;var d=t.memoizedState;a.state=d,Aa(t,r,a,i),u=t.memoizedState,s!==r||d!==u||Je.current||an?(typeof c=="function"&&(vl(t,n,c,r),u=t.memoizedState),(s=an||Nd(t,n,s,r,d,u,l))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Uv(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:wt(t.type,s),a.props=l,f=t.pendingProps,d=a.context,u=n.contextType,typeof u=="object"&&u!==null?u=vt(u):(u=Ze(n)?Hn:Qe.current,u=zr(t,u));var v=n.getDerivedStateFromProps;(c=typeof v=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==f||d!==u)&&Dd(t,a,r,u),an=!1,d=t.memoizedState,a.state=d,Aa(t,r,a,i);var g=t.memoizedState;s!==f||d!==g||Je.current||an?(typeof v=="function"&&(vl(t,n,v,r),g=t.memoizedState),(l=an||Nd(t,n,l,r,d,g,u)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,g,u),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,g,u)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),a.props=r,a.state=g,a.context=u,r=l):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return El(e,t,n,r,o,i)}function El(e,t,n,r,i,o){yy(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&kd(t,n,!1),Yt(e,t,o);r=t.stateNode,IE.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=$r(t,e.child,null,o),t.child=$r(t,null,s,o)):Ve(e,t,s,o),t.memoizedState=r.state,i&&kd(t,n,!0),t.child}function my(e){var t=e.stateNode;t.pendingContext?Od(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Od(e,t.context,!1),Uc(e,t.containerInfo)}function zd(e,t,n,r,i){return Ur(),Ac(i),t.flags|=256,Ve(e,t,n,r),t.child}var Sl={dehydrated:null,treeContext:null,retryLane:0};function wl(e){return{baseLanes:e,cachePool:null,transitions:null}}function gy(e,t,n){var r=t.pendingProps,i=de.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),oe(de,i&1),e===null)return pl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=cs(a,r,0,null),e=Vn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=wl(n),t.memoizedState=Sl,e):Gc(t,a));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return LE(e,t,a,r,s,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,s=i.sibling;var u={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=wn(i,u),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=wn(s,o):(o=Vn(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?wl(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=Sl,r}return o=e.child,e=o.sibling,r=wn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Gc(e,t){return t=cs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Uo(e,t,n,r){return r!==null&&Ac(r),$r(t,e.child,null,n),e=Gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function LE(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=mu(Error(x(422))),Uo(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=cs({mode:"visible",children:r.children},i,0,null),o=Vn(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&$r(t,e.child,null,a),t.child.memoizedState=wl(a),t.memoizedState=Sl,o);if(!(t.mode&1))return Uo(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(x(419)),r=mu(o,r,void 0),Uo(e,t,a,r)}if(s=(a&e.childLanes)!==0,Xe||s){if(r=De,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Gt(e,i),Tt(r,e,i,-1))}return tf(),r=mu(Error(x(421))),Uo(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=KE.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,it=mn(i.nextSibling),ot=t,ce=!0,Ot=null,e!==null&&(ft[dt++]=$t,ft[dt++]=Qt,ft[dt++]=Wn,$t=e.id,Qt=e.overflow,Wn=t),t=Gc(t,r.children),t.flags|=4096,t)}function Ud(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),hl(e.return,t,n)}function gu(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Ey(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ve(e,t,r.children,n),r=de.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ud(e,n,t);else if(e.tag===19)Ud(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(oe(de,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ma(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),gu(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ma(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}gu(t,!0,n,null,o);break;case"together":gu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function oa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Yt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(x(153));if(t.child!==null){for(e=t.child,n=wn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=wn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function RE(e,t,n){switch(t.tag){case 3:my(t),Ur();break;case 5:Hv(t);break;case 1:Ze(t.type)&&Da(t);break;case 4:Uc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;oe(Ra,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(de,de.current&1),t.flags|=128,null):n&t.child.childLanes?gy(e,t,n):(oe(de,de.current&1),e=Yt(e,t,n),e!==null?e.sibling:null);oe(de,de.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Ey(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),oe(de,de.current),r)break;return null;case 22:case 23:return t.lanes=0,vy(e,t,n)}return Yt(e,t,n)}var Sy,_l,wy,_y;Sy=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};_l=function(){};wy=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Un(Mt.current);var o=null;switch(n){case"input":i=Vu(e,i),r=Vu(e,r),o=[];break;case"select":i=ve({},i,{value:void 0}),r=ve({},r,{value:void 0}),o=[];break;case"textarea":i=Wu(e,i),r=Wu(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=xa)}Gu(n,r);var a;n=null;for(l in i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&i[l]!=null)if(l==="style"){var s=i[l];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Fi.hasOwnProperty(l)?o||(o=[]):(o=o||[]).push(l,null));for(l in r){var u=r[l];if(s=i!=null?i[l]:void 0,r.hasOwnProperty(l)&&u!==s&&(u!=null||s!=null))if(l==="style")if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(o||(o=[]),o.push(l,n)),n=u;else l==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(o=o||[]).push(l,u)):l==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(l,""+u):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(Fi.hasOwnProperty(l)?(u!=null&&l==="onScroll"&&ae("scroll",e),o||s===u||(o=[])):(o=o||[]).push(l,u))}n&&(o=o||[]).push("style",n);var l=o;(t.updateQueue=l)&&(t.flags|=4)}};_y=function(e,t,n,r){n!==r&&(t.flags|=4)};function ci(e,t){if(!ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Be(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function PE(e,t,n){var r=t.pendingProps;switch(Pc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Be(t),null;case 1:return Ze(t.type)&&Na(),Be(t),null;case 3:return r=t.stateNode,Qr(),ue(Je),ue(Qe),Qc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Bo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ot!==null&&(Dl(Ot),Ot=null))),_l(e,t),Be(t),null;case 5:$c(t);var i=Un(Gi.current);if(n=t.type,e!==null&&t.stateNode!=null)wy(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(x(166));return Be(t),null}if(e=Un(Mt.current),Bo(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Rt]=t,r[Wi]=o,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(i=0;i<_i.length;i++)ae(_i[i],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":Yf(r,o),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},ae("invalid",r);break;case"textarea":Jf(r,o),ae("invalid",r)}Gu(n,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];a==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&jo(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&jo(r.textContent,s,e),i=["children",""+s]):Fi.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&ae("scroll",r)}switch(n){case"input":Do(r),Xf(r,o,!0);break;case"textarea":Do(r),Zf(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=xa)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Gh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/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[Wi]=r,Sy(e,t,!1,!1),t.stateNode=e;e:{switch(a=Yu(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<_i.length;i++)ae(_i[i],e);i=r;break;case"source":ae("error",e),i=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),i=r;break;case"details":ae("toggle",e),i=r;break;case"input":Yf(e,r),i=Vu(e,r),ae("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ve({},r,{value:void 0}),ae("invalid",e);break;case"textarea":Jf(e,r),i=Wu(e,r),ae("invalid",e);break;default:i=r}Gu(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var u=s[o];o==="style"?Jh(e,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Yh(e,u)):o==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&ji(e,u):typeof u=="number"&&ji(e,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Fi.hasOwnProperty(o)?u!=null&&o==="onScroll"&&ae("scroll",e):u!=null&&Ec(e,o,u,a))}switch(n){case"input":Do(e),Xf(e,r,!1);break;case"textarea":Do(e),Zf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+kn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Cr(e,!!r.multiple,o,!1):r.defaultValue!=null&&Cr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=xa)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Be(t),null;case 6:if(e&&t.stateNode!=null)_y(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(x(166));if(n=Un(Gi.current),Un(Mt.current),Bo(t)){if(r=t.stateNode,n=t.memoizedProps,r[Rt]=t,(o=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:jo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&jo(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Rt]=t,t.stateNode=r}return Be(t),null;case 13:if(ue(de),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&it!==null&&t.mode&1&&!(t.flags&128))Bv(),Ur(),t.flags|=98560,o=!1;else if(o=Bo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(x(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(x(317));o[Rt]=t}else Ur(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Be(t),o=!1}else Ot!==null&&(Dl(Ot),Ot=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||de.current&1?Te===0&&(Te=3):tf())),t.updateQueue!==null&&(t.flags|=4),Be(t),null);case 4:return Qr(),_l(e,t),e===null&&Ki(t.stateNode.containerInfo),Be(t),null;case 10:return jc(t.type._context),Be(t),null;case 17:return Ze(t.type)&&Na(),Be(t),null;case 19:if(ue(de),o=t.memoizedState,o===null)return Be(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)ci(o,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Ma(e),a!==null){for(t.flags|=128,ci(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(de,de.current&1|2),t.child}e=e.sibling}o.tail!==null&&Se()>Kr&&(t.flags|=128,r=!0,ci(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ma(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ci(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!ce)return Be(t),null}else 2*Se()-o.renderingStartTime>Kr&&n!==1073741824&&(t.flags|=128,r=!0,ci(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 ef(),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 AE(e,t){switch(Pc(t),t.tag){case 1:return Ze(t.type)&&Na(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qr(),ue(Je),ue(Qe),Qc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $c(t),null;case 13:if(ue(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Ur()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(de),null;case 4:return Qr(),null;case 10:return jc(t.type._context),null;case 22:case 23:return ef(),null;case 24:return null;default:return null}}var $o=!1,$e=!1,ME=typeof WeakSet=="function"?WeakSet:Set,L=null;function _r(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 Ol(e,t,n){try{n()}catch(r){ge(e,t,r)}}var $d=!1;function FE(e,t){if(al=ba,e=Tv(),Lc(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(sl={focusedElem:e,selectionRange:n},ba=!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=$d,$d=!1,g}function Di(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&&Ol(t,n,o)}i=i.next}while(i!==r)}}function us(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 kl(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 Oy(e){var t=e.alternate;t!==null&&(e.alternate=null,Oy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rt],delete t[Wi],delete t[cl],delete t[EE],delete t[SE])),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 ky(e){return e.tag===5||e.tag===3||e.tag===4}function Qd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ky(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 bl(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=xa));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}function Tl(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(Tl(e,t,n),e=e.sibling;e!==null;)Tl(e,t,n),e=e.sibling}var Pe=null,_t=!1;function tn(e,t,n){for(n=n.child;n!==null;)by(e,t,n),n=n.sibling}function by(e,t,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(es,n)}catch{}switch(n.tag){case 5:$e||_r(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?fu(e.parentNode,n):e.nodeType===1&&fu(e,n),$i(e)):fu(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)&&Ol(n,t,a),i=i.next}while(i!==r)}tn(e,t,n);break;case 1:if(!$e&&(_r(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 Vd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ME),t.forEach(function(r){var i=HE.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;r<n.length;r++){var i=n[r];try{var o=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:Pe=s.stateNode,_t=!1;break e;case 3:Pe=s.stateNode.containerInfo,_t=!0;break e;case 4:Pe=s.stateNode.containerInfo,_t=!0;break e}s=s.return}if(Pe===null)throw Error(x(160));by(o,a,i),Pe=null,_t=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(l){ge(i,t,l)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ty(t,e),t=t.sibling}function Ty(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Et(t,e),Nt(e),r&4){try{Di(3,e,e.return),us(3,e)}catch(m){ge(e,e.return,m)}try{Di(5,e,e.return)}catch(m){ge(e,e.return,m)}}break;case 1:Et(t,e),Nt(e),r&512&&n!==null&&_r(n,n.return);break;case 5:if(Et(t,e),Nt(e),r&512&&n!==null&&_r(n,n.return),e.flags&32){var i=e.stateNode;try{ji(i,"")}catch(m){ge(e,e.return,m)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,s=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&Wh(i,o),Yu(s,a);var l=Yu(s,o);for(a=0;a<u.length;a+=2){var c=u[a],f=u[a+1];c==="style"?Jh(i,f):c==="dangerouslySetInnerHTML"?Yh(i,f):c==="children"?ji(i,f):Ec(i,c,f,l)}switch(s){case"input":Ku(i,o);break;case"textarea":qh(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var v=o.value;v!=null?Cr(i,!!o.multiple,v,!1):d!==!!o.multiple&&(o.defaultValue!=null?Cr(i,!!o.multiple,o.defaultValue,!0):Cr(i,!!o.multiple,o.multiple?[]:"",!1))}i[Wi]=o}catch(m){ge(e,e.return,m)}}break;case 6:if(Et(t,e),Nt(e),r&4){if(e.stateNode===null)throw Error(x(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(m){ge(e,e.return,m)}}break;case 3:if(Et(t,e),Nt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{$i(t.containerInfo)}catch(m){ge(e,e.return,m)}break;case 4:Et(t,e),Nt(e);break;case 13:Et(t,e),Nt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Jc=Se())),r&4&&Vd(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?($e=(l=$e)||c,Et(t,e),$e=l):Et(t,e),Nt(e),r&8192){if(l=e.memoizedState!==null,(e.stateNode.isHidden=l)&&!c&&e.mode&1)for(L=e,c=e.child;c!==null;){for(f=L=c;L!==null;){switch(d=L,v=d.child,d.tag){case 0:case 11:case 14:case 15:Di(4,d,d.return);break;case 1:_r(d,d.return);var g=d.stateNode;if(typeof g.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){ge(r,n,m)}}break;case 5:_r(d,d.return);break;case 22:if(d.memoizedState!==null){Hd(f);continue}}v!==null?(v.return=d,L=v):Hd(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,l?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=f.stateNode,u=f.memoizedProps.style,a=u!=null&&u.hasOwnProperty("display")?u.display:null,s.style.display=Xh("display",a))}catch(m){ge(e,e.return,m)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=l?"":f.memoizedProps}catch(m){ge(e,e.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Et(t,e),Nt(e),r&4&&Vd(e);break;case 21:break;default:Et(t,e),Nt(e)}}function Nt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(ky(n)){var r=n;break e}n=n.return}throw Error(x(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(ji(i,""),r.flags&=-33);var o=Qd(e);Tl(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,s=Qd(e);bl(e,s,a);break;default:throw Error(x(161))}}catch(u){ge(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function jE(e,t,n){L=e,Cy(e)}function Cy(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var i=L,o=i.child;if(i.tag===22&&r){var a=i.memoizedState!==null||$o;if(!a){var s=i.alternate,u=s!==null&&s.memoizedState!==null||$e;s=$o;var l=$e;if($o=a,($e=u)&&!l)for(L=i;L!==null;)a=L,u=a.child,a.tag===22&&a.memoizedState!==null?Wd(i):u!==null?(u.return=a,L=u):Wd(i);for(;o!==null;)L=o,Cy(o),o=o.sibling;L=i,$o=s,$e=l}Kd(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,L=o):Kd(e)}}function Kd(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:$e||us(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!$e)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:wt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&xd(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}xd(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var l=t.alternate;if(l!==null){var c=l.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&$i(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(x(163))}$e||t.flags&512&&kl(t)}catch(d){ge(t,t.return,d)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Hd(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Wd(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{us(4,t)}catch(u){ge(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(u){ge(t,i,u)}}var o=t.return;try{kl(t)}catch(u){ge(t,o,u)}break;case 5:var a=t.return;try{kl(t)}catch(u){ge(t,a,u)}}}catch(u){ge(t,t.return,u)}if(t===e){L=null;break}var s=t.sibling;if(s!==null){s.return=t.return,L=s;break}L=t.return}}var BE=Math.ceil,Ba=Zt.ReactCurrentDispatcher,Yc=Zt.ReactCurrentOwner,ht=Zt.ReactCurrentBatchConfig,q=0,De=null,Oe=null,Me=0,nt=0,Or=Ln(0),Te=0,Zi=null,Gn=0,ls=0,Xc=0,Ii=null,Ye=null,Jc=0,Kr=1/0,zt=null,za=!1,Cl=null,En=null,Qo=!1,pn=null,Ua=0,Li=0,xl=null,aa=-1,sa=0;function Ke(){return q&6?Se():aa!==-1?aa:aa=Se()}function Sn(e){return e.mode&1?q&2&&Me!==0?Me&-Me:_E.transition!==null?(sa===0&&(sa=cv()),sa):(e=ee,e!==0||(e=window.event,e=e===void 0?16:mv(e.type)),e):1}function Tt(e,t,n,r){if(50<Li)throw Li=0,xl=null,Error(x(185));po(e,n,r),(!(q&2)||e!==De)&&(e===De&&(!(q&2)&&(ls|=n),Te===4&&fn(e,Me)),et(e,r),n===1&&q===0&&!(t.mode&1)&&(Kr=Se()+500,os&&Rn()))}function et(e,t){var n=e.callbackNode;_g(e,t);var r=ka(e,e===De?Me:0);if(r===0)n!==null&&nd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&nd(n),t===1)e.tag===0?wE(qd.bind(null,e)):Mv(qd.bind(null,e)),mE(function(){!(q&6)&&Rn()}),n=null;else{switch(fv(r)){case 1:n=kc;break;case 4:n=uv;break;case 16:n=Oa;break;case 536870912:n=lv;break;default:n=Oa}n=Ay(n,xy.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function xy(e,t){if(aa=-1,sa=0,q&6)throw Error(x(327));var n=e.callbackNode;if(Lr()&&e.callbackNode!==n)return null;var r=ka(e,e===De?Me:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=$a(e,r);else{t=r;var i=q;q|=2;var o=Dy();(De!==e||Me!==t)&&(zt=null,Kr=Se()+500,Qn(e,t));do try{$E();break}catch(s){Ny(e,s)}while(1);Fc(),Ba.current=o,q=i,Oe!==null?t=0:(De=null,Me=0,t=Te)}if(t!==0){if(t===2&&(i=tl(e),i!==0&&(r=i,t=Nl(e,i))),t===1)throw n=Zi,Qn(e,0),fn(e,r),et(e,Se()),n;if(t===6)fn(e,r);else{if(i=e.current.alternate,!(r&30)&&!zE(i)&&(t=$a(e,r),t===2&&(o=tl(e),o!==0&&(r=o,t=Nl(e,o))),t===1))throw n=Zi,Qn(e,0),fn(e,r),et(e,Se()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(x(345));case 2:Mn(e,Ye,zt);break;case 3:if(fn(e,r),(r&130023424)===r&&(t=Jc+500-Se(),10<t)){if(ka(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ke(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ll(Mn.bind(null,e,Ye,zt),t);break}Mn(e,Ye,zt);break;case 4:if(fn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-bt(r);o=1<<a,a=t[a],a>i&&(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*BE(r/1960))-r,10<r){e.timeoutHandle=ll(Mn.bind(null,e,Ye,zt),r);break}Mn(e,Ye,zt);break;case 5:Mn(e,Ye,zt);break;default:throw Error(x(329))}}}return et(e,Se()),e.callbackNode===n?xy.bind(null,e):null}function Nl(e,t){var n=Ii;return e.current.memoizedState.isDehydrated&&(Qn(e,t).flags|=256),e=$a(e,t),e!==2&&(t=Ye,Ye=n,t!==null&&Dl(t)),e}function Dl(e){Ye===null?Ye=e:Ye.push.apply(Ye,e)}function zE(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!xt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function fn(e,t){for(t&=~Xc,t&=~ls,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-bt(t),r=1<<n;e[n]=-1,t&=~r}}function qd(e){if(q&6)throw Error(x(327));Lr();var t=ka(e,0);if(!(t&1))return et(e,Se()),null;var n=$a(e,t);if(e.tag!==0&&n===2){var r=tl(e);r!==0&&(t=r,n=Nl(e,r))}if(n===1)throw n=Zi,Qn(e,0),fn(e,t),et(e,Se()),n;if(n===6)throw Error(x(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Mn(e,Ye,zt),et(e,Se()),null}function Zc(e,t){var n=q;q|=1;try{return e(t)}finally{q=n,q===0&&(Kr=Se()+500,os&&Rn())}}function Yn(e){pn!==null&&pn.tag===0&&!(q&6)&&Lr();var t=q;q|=1;var n=ht.transition,r=ee;try{if(ht.transition=null,ee=1,e)return e()}finally{ee=r,ht.transition=n,q=t,!(q&6)&&Rn()}}function ef(){nt=Or.current,ue(Or)}function Qn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,yE(n)),Oe!==null)for(n=Oe.return;n!==null;){var r=n;switch(Pc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Na();break;case 3:Qr(),ue(Je),ue(Qe),Qc();break;case 5:$c(r);break;case 4:Qr();break;case 13:ue(de);break;case 19:ue(de);break;case 10:jc(r.type._context);break;case 22:case 23:ef()}n=n.return}if(De=e,Oe=e=wn(e.current,null),Me=nt=t,Te=0,Zi=null,Xc=ls=Gn=0,Ye=Ii=null,zn!==null){for(t=0;t<zn.length;t++)if(n=zn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=i,r.next=a}n.pending=r}zn=null}return e}function Ny(e,t){do{var n=Oe;try{if(Fc(),ra.current=ja,Fa){for(var r=pe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Fa=!1}if(qn=0,xe=be=pe=null,Ni=!1,Yi=0,Yc.current=null,n===null||n.return===null){Te=1,Zi=t,Oe=null;break}e:{var o=e,a=n.return,s=n,u=t;if(t=Me,s.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var l=u,c=s,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var v=Ad(a);if(v!==null){v.flags&=-257,Md(v,a,s,o,t),v.mode&1&&Pd(o,l,t),t=v,u=l;var g=t.updateQueue;if(g===null){var m=new Set;m.add(u),t.updateQueue=m}else g.add(u);break e}else{if(!(t&1)){Pd(o,l,t),tf();break e}u=Error(x(426))}}else if(ce&&s.mode&1){var S=Ad(a);if(S!==null){!(S.flags&65536)&&(S.flags|=256),Md(S,a,s,o,t),Ac(Vr(u,s));break e}}o=u=Vr(u,s),Te!==4&&(Te=2),Ii===null?Ii=[o]:Ii.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var p=dy(o,u,t);Cd(o,p);break e;case 1:s=u;var h=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof h.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(En===null||!En.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=py(o,s,t);Cd(o,E);break e}}o=o.return}while(o!==null)}Ly(n)}catch(b){t=b,Oe===n&&n!==null&&(Oe=n=n.return);continue}break}while(1)}function Dy(){var e=Ba.current;return Ba.current=ja,e===null?ja:e}function tf(){(Te===0||Te===3||Te===2)&&(Te=4),De===null||!(Gn&268435455)&&!(ls&268435455)||fn(De,Me)}function $a(e,t){var n=q;q|=2;var r=Dy();(De!==e||Me!==t)&&(zt=null,Qn(e,t));do try{UE();break}catch(i){Ny(e,i)}while(1);if(Fc(),q=n,Ba.current=r,Oe!==null)throw Error(x(261));return De=null,Me=0,Te}function UE(){for(;Oe!==null;)Iy(Oe)}function $E(){for(;Oe!==null&&!pg();)Iy(Oe)}function Iy(e){var t=Py(e.alternate,e,nt);e.memoizedProps=e.pendingProps,t===null?Ly(e):Oe=t,Yc.current=null}function Ly(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=AE(n,t),n!==null){n.flags&=32767,Oe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,Oe=null;return}}else if(n=PE(n,t,nt),n!==null){Oe=n;return}if(t=t.sibling,t!==null){Oe=t;return}Oe=t=e}while(t!==null);Te===0&&(Te=5)}function Mn(e,t,n){var r=ee,i=ht.transition;try{ht.transition=null,ee=1,QE(e,t,n,r)}finally{ht.transition=i,ee=r}return null}function QE(e,t,n,r){do Lr();while(pn!==null);if(q&6)throw Error(x(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(x(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Og(e,o),e===De&&(Oe=De=null,Me=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Qo||(Qo=!0,Ay(Oa,function(){return Lr(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=ht.transition,ht.transition=null;var a=ee;ee=1;var s=q;q|=4,Yc.current=null,FE(e,n),Ty(n,e),lE(sl),ba=!!al,sl=al=null,e.current=n,jE(n),hg(),q=s,ee=a,ht.transition=o}else e.current=n;if(Qo&&(Qo=!1,pn=e,Ua=i),o=e.pendingLanes,o===0&&(En=null),mg(n.stateNode),et(e,Se()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(za)throw za=!1,e=Cl,Cl=null,e;return Ua&1&&e.tag!==0&&Lr(),o=e.pendingLanes,o&1?e===xl?Li++:(Li=0,xl=e):Li=0,Rn(),null}function Lr(){if(pn!==null){var e=fv(Ua),t=ht.transition,n=ee;try{if(ht.transition=null,ee=16>e?16:e,pn===null)var r=!1;else{if(e=pn,pn=null,Ua=0,q&6)throw Error(x(331));var i=q;for(q|=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;u<s.length;u++){var l=s[u];for(L=l;L!==null;){var c=L;switch(c.tag){case 0:case 11:case 15:Di(8,c,o)}var f=c.child;if(f!==null)f.return=c,L=f;else for(;L!==null;){c=L;var d=c.sibling,v=c.return;if(Oy(c),c===l){L=null;break}if(d!==null){d.return=v,L=d;break}L=v}}}var g=o.alternate;if(g!==null){var m=g.child;if(m!==null){g.child=null;do{var S=m.sibling;m.sibling=null,m=S}while(m!==null)}}L=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,L=a;else e:for(;L!==null;){if(o=L,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Di(9,o,o.return)}var p=o.sibling;if(p!==null){p.return=o.return,L=p;break e}L=o.return}}var h=e.current;for(L=h;L!==null;){a=L;var y=a.child;if(a.subtreeFlags&2064&&y!==null)y.return=a,L=y;else e:for(a=h;L!==null;){if(s=L,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:us(9,s)}}catch(b){ge(s,s.return,b)}if(s===a){L=null;break e}var E=s.sibling;if(E!==null){E.return=s.return,L=E;break e}L=s.return}}if(q=i,Rn(),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(es,e)}catch{}r=!0}return r}finally{ee=n,ht.transition=t}}return!1}function Gd(e,t,n){t=Vr(n,t),t=dy(e,t,1),e=gn(e,t,1),t=Ke(),e!==null&&(po(e,1,t),et(e,t))}function ge(e,t,n){if(e.tag===3)Gd(e,e,n);else for(;t!==null;){if(t.tag===3){Gd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(En===null||!En.has(r))){e=Vr(n,e),e=py(t,e,1),t=gn(t,e,1),e=Ke(),t!==null&&(po(t,1,e),et(t,e));break}}t=t.return}}function VE(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ke(),e.pingedLanes|=e.suspendedLanes&n,De===e&&(Me&n)===n&&(Te===4||Te===3&&(Me&130023424)===Me&&500>Se()-Jc?Qn(e,0):Xc|=n),et(e,t)}function Ry(e,t){t===0&&(e.mode&1?(t=Ro,Ro<<=1,!(Ro&130023424)&&(Ro=4194304)):t=1);var n=Ke();e=Gt(e,t),e!==null&&(po(e,t,n),et(e,n))}function KE(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ry(e,n)}function HE(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),Ry(e,n)}var Py;Py=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,RE(e,t,n);Xe=!!(e.flags&131072)}else Xe=!1,ce&&t.flags&1048576&&Fv(t,La,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;oa(e,t),e=t.pendingProps;var i=zr(t,Qe.current);Ir(t,n),i=Kc(null,t,r,e,i,n);var o=Hc();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,Da(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,zc(t),i.updater=as,t.stateNode=i,i._reactInternals=t,yl(t,r,e,n),t=El(null,t,r,!0,o,n)):(t.tag=0,ce&&o&&Rc(t),Ve(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(oa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=qE(r),e=wt(r,e),i){case 0:t=gl(null,t,r,e,n);break e;case 1:t=Bd(null,t,r,e,n);break e;case 11:t=Fd(null,t,r,e,n);break e;case 14:t=jd(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),gl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),Bd(e,t,r,i,n);case 3:e:{if(my(t),e===null)throw Error(x(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Uv(e,t),Aa(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=Vr(Error(x(423)),t),t=zd(e,t,r,n,i);break e}else if(r!==i){i=Vr(Error(x(424)),t),t=zd(e,t,r,n,i);break e}else for(it=mn(t.stateNode.containerInfo.firstChild),ot=t,ce=!0,Ot=null,n=Kv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ur(),r===i){t=Yt(e,t,n);break e}Ve(e,t,r,n)}t=t.child}return t;case 5:return Hv(t),e===null&&pl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,ul(r,i)?a=null:o!==null&&ul(r,o)&&(t.flags|=32),yy(e,t),Ve(e,t,a,n),t.child;case 6:return e===null&&pl(t),null;case 13:return gy(e,t,n);case 4:return Uc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$r(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),Fd(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(Ra,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),hl(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),hl(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,Ir(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),jd(e,t,r,i,n);case 15:return hy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),oa(e,t),t.tag=1,Ze(r)?(e=!0,Da(t)):e=!1,Ir(t,n),Qv(t,r,i),yl(t,r,i,n),El(null,t,r,!0,e,n);case 19:return Ey(e,t,n);case 22:return vy(e,t,n)}throw Error(x(156,t.tag))};function Ay(e,t){return sv(e,t)}function WE(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 WE(e,t,n,r)}function nf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qE(e){if(typeof e=="function")return nf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wc)return 11;if(e===_c)return 14}return 2}function wn(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 ua(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")nf(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case pr:return Vn(n.children,i,o,t);case Sc:a=8,i|=8;break;case zu:return e=pt(12,n,t,i|2),e.elementType=zu,e.lanes=o,e;case Uu:return e=pt(13,n,t,i),e.elementType=Uu,e.lanes=o,e;case $u:return e=pt(19,n,t,i),e.elementType=$u,e.lanes=o,e;case Vh:return cs(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $h:a=10;break e;case Qh:a=9;break e;case wc:a=11;break e;case _c:a=14;break e;case on: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 Vn(e,t,n,r){return e=pt(7,e,r,t),e.lanes=n,e}function cs(e,t,n,r){return e=pt(22,e,r,t),e.elementType=Vh,e.lanes=n,e.stateNode={isHidden:!1},e}function Eu(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function Su(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 GE(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=eu(0),this.expirationTimes=eu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function rf(e,t,n,r,i,o,a,s,u){return e=new GE(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},zc(o),e}function YE(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:dr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function My(e){if(!e)return bn;e=e._reactInternals;e:{if(tr(e)!==e||e.tag!==1)throw Error(x(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(x(171))}if(e.tag===1){var n=e.type;if(Ze(n))return Av(e,n,t)}return t}function Fy(e,t,n,r,i,o,a,s,u){return e=rf(n,r,!0,e,i,o,a,s,u),e.context=My(null),n=e.current,r=Ke(),i=Sn(n),o=Vt(r,i),o.callback=t??null,gn(n,o,i),e.current.lanes=i,po(e,i,r),et(e,r),e}function fs(e,t,n,r){var i=t.current,o=Ke(),a=Sn(i);return n=My(n),t.context===null?t.context=n:t.pendingContext=n,t=Vt(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gn(i,t,a),e!==null&&(Tt(e,i,a,o),na(e,i,a)),a}function Qa(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Yd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function of(e,t){Yd(e,t),(e=e.alternate)&&Yd(e,t)}function XE(){return null}var jy=typeof reportError=="function"?reportError:function(e){console.error(e)};function af(e){this._internalRoot=e}ds.prototype.render=af.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(x(409));fs(e,t,null,null)};ds.prototype.unmount=af.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yn(function(){fs(null,e,null,null)}),t[qt]=null}};function ds(e){this._internalRoot=e}ds.prototype.unstable_scheduleHydration=function(e){if(e){var t=hv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<cn.length&&t!==0&&t<cn[n].priority;n++);cn.splice(n,0,e),n===0&&yv(e)}};function sf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ps(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Xd(){}function JE(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var l=Qa(a);o.call(l)}}var a=Fy(t,r,e,0,null,!1,!1,"",Xd);return e._reactRootContainer=a,e[qt]=a.current,Ki(e.nodeType===8?e.parentNode:e),Yn(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var l=Qa(u);s.call(l)}}var u=rf(e,0,!1,null,null,!1,!1,"",Xd);return e._reactRootContainer=u,e[qt]=u.current,Ki(e.nodeType===8?e.parentNode:e),Yn(function(){fs(t,u,n,r)}),u}function hs(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var s=i;i=function(){var u=Qa(a);s.call(u)}}fs(t,a,e,i)}else a=JE(n,t,e,i,r);return Qa(a)}dv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=wi(t.pendingLanes);n!==0&&(bc(t,n|1),et(t,Se()),!(q&6)&&(Kr=Se()+500,Rn()))}break;case 13:Yn(function(){var r=Gt(e,1);if(r!==null){var i=Ke();Tt(r,e,1,i)}}),of(e,1)}};Tc=function(e){if(e.tag===13){var t=Gt(e,134217728);if(t!==null){var n=Ke();Tt(t,e,134217728,n)}of(e,134217728)}};pv=function(e){if(e.tag===13){var t=Sn(e),n=Gt(e,t);if(n!==null){var r=Ke();Tt(n,e,t,r)}of(e,t)}};hv=function(){return ee};vv=function(e,t){var n=ee;try{return ee=e,t()}finally{ee=n}};Ju=function(e,t,n){switch(t){case"input":if(Ku(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=is(r);if(!i)throw Error(x(90));Hh(r),Ku(r,i)}}}break;case"textarea":qh(e,n);break;case"select":t=n.value,t!=null&&Cr(e,!!n.multiple,t,!1)}};tv=Zc;nv=Yn;var ZE={usingClientEntryPoint:!1,Events:[vo,mr,is,Zh,ev,Zc]},fi={findFiberByHostInstance:Bn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},e1={bundleType:fi.bundleType,version:fi.version,rendererPackageName:fi.rendererPackageName,rendererConfig:fi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Zt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ov(e),e===null?null:e.stateNode},findFiberByHostInstance:fi.findFiberByHostInstance||XE,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vo.isDisabled&&Vo.supportsFiber)try{es=Vo.inject(e1),At=Vo}catch{}}ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ZE;ut.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!sf(t))throw Error(x(200));return YE(e,t,null,n)};ut.createRoot=function(e,t){if(!sf(e))throw Error(x(299));var n=!1,r="",i=jy;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=rf(e,1,!1,null,null,n,!1,r,i),e[qt]=t.current,Ki(e.nodeType===8?e.parentNode:e),new af(t)};ut.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(x(188)):(e=Object.keys(e).join(","),Error(x(268,e)));return e=ov(t),e=e===null?null:e.stateNode,e};ut.flushSync=function(e){return Yn(e)};ut.hydrate=function(e,t,n){if(!ps(t))throw Error(x(200));return hs(null,e,t,!0,n)};ut.hydrateRoot=function(e,t,n){if(!sf(e))throw Error(x(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",a=jy;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Fy(t,null,e,1,n??null,i,!1,o,a),e[qt]=t.current,Ki(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new ds(t)};ut.render=function(e,t,n){if(!ps(t))throw Error(x(200));return hs(null,e,t,!1,n)};ut.unmountComponentAtNode=function(e){if(!ps(e))throw Error(x(40));return e._reactRootContainer?(Yn(function(){hs(null,null,e,!1,function(){e._reactRootContainer=null,e[qt]=null})}),!0):!1};ut.unstable_batchedUpdates=Zc;ut.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ps(n))throw Error(x(200));if(e==null||e._reactInternals===void 0)throw Error(x(38));return hs(e,t,n,!1,r)};ut.version="18.2.0-next-9e3b772b8-20220608";function By(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(By)}catch(e){console.error(e)}}By(),Fh.exports=ut;var t1=Fh.exports,Jd=t1;ju.createRoot=Jd.createRoot,ju.hydrateRoot=Jd.hydrateRoot;const n1="_poster_lpfg2_1",r1="_content_lpfg2_6",Zd={poster:n1,content:r1};var Il=function(e,t){return Il=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])},Il(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");Il(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;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},w.apply(this,arguments)};function jt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function sn(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(c){try{l(r.next(c))}catch(f){a(f)}}function u(c){try{l(r.throw(c))}catch(f){a(f)}}function l(c){c.done?o(c.value):i(c.value).then(s,u)}l((r=r.apply(e,t||[])).next())})}function un(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){n.label=l[1];break}if(l[0]===6&&n.label<o[1]){n.label=o[1],o=l;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(l);break}o[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(c){l=[6,c],i=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function _n(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var Ll=function(e,t){return Ll=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])},Ll(e,t)};function i1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ll(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var wu="Invariant Violation",ep=Object.setPrototypeOf,o1=ep===void 0?function(e,t){return e.__proto__=t,e}:ep,zy=function(e){i1(t,e);function t(n){n===void 0&&(n=wu);var r=e.call(this,typeof n=="number"?wu+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=wu,o1(r,t.prototype),r}return t}(Error);function jn(e,t){if(!e)throw new zy(t)}var Uy=["debug","log","warn","error","silent"],a1=Uy.indexOf("log");function Ko(e){return function(){if(Uy.indexOf(e)>=a1){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=Ko("debug"),e.log=Ko("log"),e.warn=Ko("warn"),e.error=Ko("error")})(jn||(jn={}));var uf="3.8.4";function kt(e){try{return e()}catch{}}const tp=kt(function(){return globalThis})||kt(function(){return window})||kt(function(){return self})||kt(function(){return global})||kt(function(){return kt.constructor("return this")()});var np=new Map;function Rl(e){var t=np.get(e)||1;return np.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function $y(e,t){t===void 0&&(t=0);var n=Rl("stringifyForDisplay");return JSON.stringify(e,function(r,i){return i===void 0?n:i},t).split(JSON.stringify(n)).join("<undefined>")}function Ho(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];typeof t=="number"?e(lf(t,n)):e.apply(void 0,_n([t],n,!1))}}var U=Object.assign(function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];t||jn(t,lf(n,r))},{debug:Ho(jn.debug),log:Ho(jn.log),warn:Ho(jn.warn),error:Ho(jn.error)});function He(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new zy(lf(e,t))}var rp=Symbol.for("ApolloErrorMessageHandler_"+uf);function lf(e,t){if(t===void 0&&(t=[]),!!e){var n=t.map(function(r){return typeof r=="string"?r:$y(r,2).slice(0,1e3)});return tp[rp]&&tp[rp](e,n)||"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:uf,message:e,args:n})))}}function la(e,t){if(!!!e)throw new Error(t)}function s1(e){return typeof e=="object"&&e!==null}function u1(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}const l1=/\r\n|[\n\r]/g;function Pl(e,t){let n=0,r=1;for(const i of e.body.matchAll(l1)){if(typeof i.index=="number"||u1(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function c1(e){return Qy(e.source,Pl(e.source,e.start))}function Qy(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<f.length;m+=80)g.push(f.slice(m,m+80));return l+ip([[`${a} |`,g[0]],...g.slice(1,d+1).map(m=>["|",m]),["|","^".padStart(v)],["|",g[d+1]]])}return l+ip([[`${a-1} |`,c[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,c[i+1]]])}function ip(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 f1(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}=f1(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=c??void 0,this.nodes=op(Array.isArray(a)?a:a?[a]:void 0);const d=op((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=>Pl(s,g)):d==null?void 0:d.map(g=>Pl(g.source,g.start));const v=s1(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+=`
`+c1(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=`
`+Qy(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 op(e){return e===void 0||e.length===0?void 0:e}function Ne(e,t,n){return new cf(`Syntax Error: ${n}`,{source:e,positions:[t]})}class d1{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 Vy{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 Ky={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"]},p1=new Set(Object.keys(Ky));function ap(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&p1.has(t)}var kr;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(kr||(kr={}));var Al;(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"})(Al||(Al={}));var P;(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"})(P||(P={}));function Ml(e){return e===9||e===32}function eo(e){return e>=48&&e<=57}function Hy(e){return e>=97&&e<=122||e>=65&&e<=90}function Wy(e){return Hy(e)||e===95}function h1(e){return Hy(e)||eo(e)||e===95}function v1(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;a<e.length;++a){var o;const s=e[a],u=y1(s);u!==s.length&&(r=(o=r)!==null&&o!==void 0?o:a,i=a,a!==0&&u<n&&(n=u))}return e.map((a,s)=>s===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function y1(e){let t=0;for(;t<e.length&&Ml(e.charCodeAt(t));)++t;return t}function m1(e,t){const n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=r.length===1,o=r.length>1&&r.slice(1).every(v=>v.length===0||Ml(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&&Ml(e.charCodeAt(0));return(c&&!d||o)&&(f+=`
`),f+=n,(c||l)&&(f+=`
`),'"""'+f+'"""'}var C;(function(e){e.SOF="<SOF>",e.EOF="<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 g1{constructor(t){const n=new Vy(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=S1(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===C.COMMENT);return t}}function E1(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 ti(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function vs(e,t){return qy(e.charCodeAt(t))&&Gy(e.charCodeAt(t+1))}function qy(e){return e>=55296&&e<=56319}function Gy(e){return e>=56320&&e<=57343}function Xn(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 Vy(t,n,r,o,a,i)}function S1(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const o=n.charCodeAt(i);switch(o){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return w1(e,i);case 33:return we(e,C.BANG,i,i+1);case 36:return we(e,C.DOLLAR,i,i+1);case 38:return we(e,C.AMP,i,i+1);case 40:return we(e,C.PAREN_L,i,i+1);case 41:return we(e,C.PAREN_R,i,i+1);case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return we(e,C.SPREAD,i,i+3);break;case 58:return we(e,C.COLON,i,i+1);case 61:return we(e,C.EQUALS,i,i+1);case 64:return we(e,C.AT,i,i+1);case 91:return we(e,C.BRACKET_L,i,i+1);case 93:return we(e,C.BRACKET_R,i,i+1);case 123:return we(e,C.BRACE_L,i,i+1);case 124:return we(e,C.PIPE,i,i+1);case 125:return we(e,C.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?C1(e,i):O1(e,i)}if(eo(o)||o===45)return _1(e,i,o);if(Wy(o))return x1(e,i);throw Ne(e.source,i,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:ti(o)||vs(n,i)?`Unexpected character: ${Xn(e,i)}.`:`Invalid character: ${Xn(e,i)}.`)}return we(e,C.EOF,r,r)}function w1(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const o=n.charCodeAt(i);if(o===10||o===13)break;if(ti(o))++i;else if(vs(n,i))i+=2;else break}return we(e,C.COMMENT,t,i,n.slice(t+1,i))}function _1(e,t,n){const r=e.source.body;let i=t,o=n,a=!1;if(o===45&&(o=r.charCodeAt(++i)),o===48){if(o=r.charCodeAt(++i),eo(o))throw Ne(e.source,i,`Invalid number, unexpected digit after 0: ${Xn(e,i)}.`)}else i=_u(e,i,o),o=r.charCodeAt(i);if(o===46&&(a=!0,o=r.charCodeAt(++i),i=_u(e,i,o),o=r.charCodeAt(i)),(o===69||o===101)&&(a=!0,o=r.charCodeAt(++i),(o===43||o===45)&&(o=r.charCodeAt(++i)),i=_u(e,i,o),o=r.charCodeAt(i)),o===46||Wy(o))throw Ne(e.source,i,`Invalid number, expected digit but got: ${Xn(e,i)}.`);return we(e,a?C.FLOAT:C.INT,t,i,r.slice(t,i))}function _u(e,t,n){if(!eo(n))throw Ne(e.source,t,`Invalid number, expected digit but got: ${Xn(e,t)}.`);const r=e.source.body;let i=t+1;for(;eo(r.charCodeAt(i));)++i;return i}function O1(e,t){const n=e.source.body,r=n.length;let i=t+1,o=i,a="";for(;i<r;){const s=n.charCodeAt(i);if(s===34)return a+=n.slice(o,i),we(e,C.STRING,t,i+1,a);if(s===92){a+=n.slice(o,i);const u=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?k1(e,i):b1(e,i):T1(e,i);a+=u.value,i+=u.size,o=i;continue}if(s===10||s===13)break;if(ti(s))++i;else if(vs(n,i))i+=2;else throw Ne(e.source,i,`Invalid character within String: ${Xn(e,i)}.`)}throw Ne(e.source,i,"Unterminated string.")}function k1(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const o=n.charCodeAt(t+i++);if(o===125){if(i<5||!ti(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|Oi(o),r<0)break}throw Ne(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function b1(e,t){const n=e.source.body,r=sp(n,t+2);if(ti(r))return{value:String.fromCodePoint(r),size:6};if(qy(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){const i=sp(n,t+8);if(Gy(i))return{value:String.fromCodePoint(r,i),size:12}}throw Ne(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function sp(e,t){return Oi(e.charCodeAt(t))<<12|Oi(e.charCodeAt(t+1))<<8|Oi(e.charCodeAt(t+2))<<4|Oi(e.charCodeAt(t+3))}function Oi(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function T1(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 Ne(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function C1(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,s="";const u=[];for(;o<r;){const l=n.charCodeAt(o);if(l===34&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34){s+=n.slice(a,o),u.push(s);const c=we(e,C.BLOCK_STRING,t,o+3,v1(u).join(`
`));return e.line+=u.length-1,e.lineStart=i,c}if(l===92&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34&&n.charCodeAt(o+3)===34){s+=n.slice(a,o),a=o+1,o+=4;continue}if(l===10||l===13){s+=n.slice(a,o),u.push(s),l===13&&n.charCodeAt(o+1)===10?o+=2:++o,s="",a=o,i=o;continue}if(ti(l))++o;else if(vs(n,o))o+=2;else throw Ne(e.source,o,`Invalid character within String: ${Xn(e,o)}.`)}throw Ne(e.source,o,"Unterminated string.")}function x1(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const o=n.charCodeAt(i);if(h1(o))++i;else break}return we(e,C.NAME,t,i,n.slice(t,i))}const N1=10,Yy=2;function ff(e){return ys(e,[])}function ys(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return D1(e,t);default:return String(e)}}function D1(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(I1(e)){const r=e.toJSON();if(r!==e)return typeof r=="string"?r:ys(r,n)}else if(Array.isArray(e))return R1(e,n);return L1(e,n)}function I1(e){return typeof e.toJSON=="function"}function L1(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>Yy?"["+P1(e)+"]":"{ "+n.map(([i,o])=>i+": "+ys(o,t)).join(", ")+" }"}function R1(e,t){if(e.length===0)return"[]";if(t.length>Yy)return"[Array]";const n=Math.min(N1,e.length),r=e.length-n,i=[];for(let o=0;o<n;++o)i.push(ys(e[o],t));return r===1?i.push("... 1 more item"):r>1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function P1(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 A1=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 Xy{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||la(!1,`Body must be a string. Received: ${ff(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||la(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||la(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function M1(e){return A1(e,Xy)}function F1(e,t){return new j1(e,t).parseDocument()}class j1{constructor(t,n={}){const r=M1(t)?t:new Xy(t);this._lexer=new g1(r),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(C.NAME);return this.node(t,{kind:P.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:P.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 Ne(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:P.OPERATION_DEFINITION,operation:kr.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:P.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 kr.QUERY;case"mutation":return kr.MUTATION;case"subscription":return kr.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:P.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:P.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:P.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:P.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:P.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:P.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:P.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:P.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:P.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:P.INT,value:n.value});case C.FLOAT:return this.advanceLexer(),this.node(n,{kind:P.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:P.BOOLEAN,value:!0});case"false":return this.node(n,{kind:P.BOOLEAN,value:!1});case"null":return this.node(n,{kind:P.NULL});default:return this.node(n,{kind:P.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 Ne(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:P.STRING,value:t.value,block:t.kind===C.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:P.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:P.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:P.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:P.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:P.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(C.BANG)?this.node(t,{kind:P.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:P.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:P.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:P.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:P.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:P.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:P.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:P.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:P.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:P.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:P.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:P.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 Ne(this._lexer.source,this._lexer.token.start,`${Wo(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:P.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:P.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:P.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:P.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:P.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:P.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:P.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:P.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:P.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(Al,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new d1(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 Ne(this._lexer.source,n.start,`Expected ${Jy(t)}, found ${Wo(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 Ne(this._lexer.source,n.start,`Expected "${t}", found ${Wo(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 Ne(this._lexer.source,n.start,`Unexpected ${Wo(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 Ne(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function Wo(e){const t=e.value;return Jy(e.kind)+(t!=null?` "${t}"`:"")}function Jy(e){return E1(e)?`"${e}"`:e}function B1(e){return`"${e.replace(z1,U1)}"`}const z1=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function U1(e){return $1[e.charCodeAt(0)]}const $1=["\\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=Ky){const r=new Map;for(const p of Object.values(P))r.set(p,Q1(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;ap(l)||la(!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(ap(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 Q1(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 V1(e){return Xt(e,H1)}const K1=80,H1={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>A(e.definitions,`
`)},OperationDefinition:{leave(e){const t=V("(",A(e.variableDefinitions,", "),")"),n=A([e.operation,A([e.name,t]),A(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+V(" = ",n)+V(" ",A(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("(",A(n,", "),")");return a.length>K1&&(a=o+V(`(
`,ca(A(n,`
`)),`
)`)),A([a,A(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+V(" ",A(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>A(["...",V("on ",e),A(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${V("(",A(n,", "),")")} on ${t} ${V("",A(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?m1(e):B1(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+A(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+A(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+V("(",A(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,`
`)+A(["schema",A(t," "),St(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>V("",e,`
`)+A(["scalar",t,A(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>V("",e,`
`)+A(["type",t,V("implements ",A(n," & ")),A(r," "),St(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>V("",e,`
`)+t+(up(n)?V(`(
`,ca(A(n,`
`)),`
)`):V("(",A(n,", "),")"))+": "+r+V(" ",A(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>V("",e,`
`)+A([t+": "+n,V("= ",r),A(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>V("",e,`
`)+A(["interface",t,V("implements ",A(n," & ")),A(r," "),St(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>V("",e,`
`)+A(["union",t,A(n," "),V("= ",A(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>V("",e,`
`)+A(["enum",t,A(n," "),St(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>V("",e,`
`)+A([t,A(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>V("",e,`
`)+A(["input",t,A(n," "),St(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>V("",e,`
`)+"directive @"+t+(up(n)?V(`(
`,ca(A(n,`
`)),`
)`):V("(",A(n,", "),")"))+(r?" repeatable":"")+" on "+A(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>A(["extend schema",A(e," "),St(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>A(["extend scalar",e,A(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>A(["extend type",e,V("implements ",A(t," & ")),A(n," "),St(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>A(["extend interface",e,V("implements ",A(t," & ")),A(n," "),St(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>A(["extend union",e,A(t," "),V("= ",A(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>A(["extend enum",e,A(t," "),St(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>A(["extend input",e,A(t," "),St(n)]," ")}};function A(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(`{
`,ca(A(e,`
`)),`
}`)}function V(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function ca(e){return V(" ",e.replace(/\n/g,`
`))}function up(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(`
`)))!==null&&t!==void 0?t:!1}function lp(e){return e.kind===P.FIELD||e.kind===P.FRAGMENT_SPREAD||e.kind===P.INLINE_FRAGMENT}function mo(e,t){var n=e.directives;return!n||!n.length?!0:G1(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],U(a!==void 0,64,i.name.value)):a=o.value.value,i.name.value==="skip"?!a:a})}function to(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.size<i}function W1(e){return e&&to(["client","export"],e,!0)}function q1(e){var t=e.name.value;return t==="skip"||t==="include"}function G1(e){var t=[];return e&&e.length&&e.forEach(function(n){if(q1(n)){var r=n.arguments,i=n.name.value;U(r&&r.length===1,65,i);var o=r[0];U(o.name&&o.name.value==="if",66,i);var a=o.value;U(a&&(a.kind==="Variable"||a.kind==="BooleanValue"),67,i),t.push({directive:n,ifArgument:o})}}),t}const Y1=()=>Object.create(null),{forEach:X1,slice:J1}=Array.prototype,{hasOwnProperty:Z1}=Object.prototype;class Pn{constructor(t=!0,n=Y1){this.weakness=t,this.makeData=n}lookup(...t){return this.lookupArray(t)}lookupArray(t){let n=this;return X1.call(t,r=>n=n.getChildTrie(r)),Z1.call(n,"data")?n.data:n.data=this.makeData(J1.call(t))}peek(...t){return this.peekArray(t)}peekArray(t){let n=this;for(let r=0,i=t.length;n&&r<i;++r){const o=this.weakness&&cp(t[r])?n.weak:n.strong;n=o&&o.get(t[r])}return n&&n.data}getChildTrie(t){const n=this.weakness&&cp(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let r=n.get(t);return r||n.set(t,r=new Pn(this.weakness,this.makeData)),r}}function cp(e){switch(typeof e){case"object":if(e===null)break;case"function":return!0}return!1}var Bt=typeof WeakMap=="function"&&kt(function(){return navigator.product})!=="ReactNative",Zy=typeof WeakSet=="function",pf=typeof Symbol=="function"&&typeof Symbol.for=="function",ms=pf&&Symbol.asyncIterator,eS=typeof kt(function(){return window.document.createElement})=="function",tS=kt(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,nS=eS&&!tS;function fe(e){return e!==null&&typeof e=="object"}function rS(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"&&(U(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 gs(e){e===void 0&&(e=[]);var t={};return e.forEach(function(n){t[n.name.value]=n}),t}function Es(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 U(r,70,n),r||null}default:return null}}function Rr(e){return{__ref:String(e)}}function ne(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}function iS(e){return fe(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function oS(e){return e.kind==="StringValue"}function aS(e){return e.kind==="BooleanValue"}function sS(e){return e.kind==="IntValue"}function uS(e){return e.kind==="FloatValue"}function lS(e){return e.kind==="Variable"}function cS(e){return e.kind==="ObjectValue"}function fS(e){return e.kind==="ListValue"}function dS(e){return e.kind==="EnumValue"}function pS(e){return e.kind==="NullValue"}function Hr(e,t,n,r){if(sS(n)||uS(n))e[t.value]=Number(n.value);else if(aS(n)||oS(n))e[t.value]=n.value;else if(cS(n)){var i={};n.fields.map(function(a){return Hr(i,a.name,a.value,r)}),e[t.value]=i}else if(lS(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(fS(n))e[t.value]=n.values.map(function(a){var s={};return Hr(s,t,a,r),s[t.value]});else if(dS(n))e[t.value]=n.value;else if(pS(n))e[t.value]=null;else throw He(79,t.value,n.kind)}function hS(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 Hr(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 Hr(r,o,a,t)})),hf(e.name.value,r,n)}var vS=["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(di(i),")")}else return n.connection.key;var o=e;if(t){var a=di(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(s){vS.indexOf(s)===-1&&(n[s]&&Object.keys(n[s]).length?o+="@".concat(s,"(").concat(di(n[s]),")"):o+="@".concat(s))}),o},{setStringify:function(e){var t=di;return di=e,t}}),di=function(t){return JSON.stringify(t,yS)};function yS(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 Ss(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(r){var i=r.name,o=r.value;return Hr(n,i,o,t)}),n}return null}function Tn(e){return e.alias?e.alias.value:e.name.value}function Fl(e,t,n){for(var r,i=0,o=t.selections;i<o.length;i++){var a=o[i];if(Cn(a)){if(a.name.value==="__typename")return e[Tn(a)]}else r?r.push(a):r=[a]}if(typeof e.__typename=="string")return e.__typename;if(r)for(var s=0,u=r;s<u.length;s++){var a=u[s],l=Fl(e,Es(a,n).selectionSet,n);if(typeof l=="string")return l}}function Cn(e){return e.kind==="Field"}function mS(e){return e.kind==="InlineFragment"}function go(e){U(e&&e.kind==="Document",71);var t=e.definitions.filter(function(n){return n.kind!=="FragmentDefinition"}).map(function(n){if(n.kind!=="OperationDefinition")throw He(72,n.kind);return n});return U(t.length<=1,73,t.length),e}function Eo(e){return go(e),e.definitions.filter(function(t){return t.kind==="OperationDefinition"})[0]}function jl(e){return e.definitions.filter(function(t){return t.kind==="OperationDefinition"&&!!t.name}).map(function(t){return t.name.value})[0]||null}function ws(e){return e.definitions.filter(function(t){return t.kind==="FragmentDefinition"})}function em(e){var t=Eo(e);return U(t&&t.operation==="query",74),t}function gS(e){U(e.kind==="Document",75),U(e.definitions.length<=1,76);var t=e.definitions[0];return U(t.kind==="FragmentDefinition",77),t}function So(e){go(e);for(var t,n=0,r=e.definitions;n<r.length;n++){var i=r[n];if(i.kind==="OperationDefinition"){var o=i.operation;if(o==="query"||o==="mutation"||o==="subscription")return i}i.kind==="FragmentDefinition"&&!t&&(t=i)}if(t)return t;throw He(78)}function vf(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(r){r.defaultValue&&Hr(t,r.variable.name,r.defaultValue)}),t}function ES(e){return e}var tm=function(){function e(t,n){n===void 0&&(n=Object.create(null)),this.resultCache=Zy?new WeakSet:new Set,this.transform=t,n.getCacheKey&&(this.getCacheKey=n.getCacheKey),n.cache!==!1&&(this.stableCacheKeys=new Pn(Bt,function(r){return{key:r}}))}return e.prototype.getCacheKey=function(t){return[t]},e.identity=function(){return new e(ES,{cache:!1})},e.split=function(t,n,r){return r===void 0&&(r=e.identity()),new e(function(i){var o=t(i)?n:r;return o.transformDocument(i)},{cache:!1})},e.prototype.transformDocument=function(t){if(this.resultCache.has(t))return t;var n=this.getStableCacheEntry(t);if(n&&n.value)return n.value;go(t);var r=this.transform(t);return this.resultCache.add(r),n&&(n.value=r),r},e.prototype.concat=function(t){var n=this;return new e(function(r){return t.transformDocument(n.transformDocument(r))},{cache:!1})},e.prototype.getStableCacheEntry=function(t){if(this.stableCacheKeys){var n=this.getCacheKey(t);if(n)return U(Array.isArray(n),63),this.stableCacheKeys.lookupArray(n)}},e}(),rr=Bt?new WeakMap:void 0,nm=function(e){var t;return t=rr==null?void 0:rr.get(e),t||(t=V1(e),rr==null||rr.set(e,t)),t},Ee=Array.isArray;function mt(e){return Array.isArray(e)&&e.length>0}var fp={kind:P.FIELD,name:{kind:P.NAME,value:"__typename"}};function rm(e,t){return!e||e.selectionSet.selections.every(function(n){return n.kind===P.FRAGMENT_SPREAD&&rm(t[n.name.value],t)})}function SS(e){return rm(Eo(e)||gS(e),gs(ws(e)))?null:e}function wS(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 dp(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 im(e,t){go(t);for(var n=dp(""),r=dp(""),i=function(p){for(var h=0,y=void 0;h<p.length&&(y=p[h]);++h)if(!Ee(y)){if(y.kind===P.OPERATION_DEFINITION)return n(y.name&&y.name.value);if(y.kind===P.FRAGMENT_DEFINITION)return r(y.name.value)}return globalThis.__DEV__!==!1&&U.error(80),null},o=0,a=t.definitions.length-1;a>=0;--a)t.definitions[a].kind===P.OPERATION_DEFINITION&&++o;var s=wS(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===P.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===P.OPERATION_DEFINITION?v(n(p.name&&p.name.value)).fragmentSpreads.forEach(function(h){g.add(h)}):p.kind===P.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 SS(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.size<p.variableDefinitions.length)return w(w({},p),{variableDefinitions:p.variableDefinitions.filter(function(y){return h.has(y.variable.name.value)})})}}}}))}var yf=Object.assign(function(e){return Xt(e,{SelectionSet:{enter:function(t,n,r){if(!(r&&r.kind===P.OPERATION_DEFINITION)){var i=t.selections;if(i){var o=i.some(function(s){return Cn(s)&&(s.name.value==="__typename"||s.name.value.lastIndexOf("__",0)===0)});if(!o){var a=r;if(!(Cn(a)&&a.directives&&a.directives.some(function(s){return s.name.value==="export"})))return w(w({},t),{selections:_n(_n([],i,!0),[fp],!1)})}}}}}})},{added:function(e){return e===fp}});function _S(e){var t=So(e),n=t.operation;if(n==="query")return e;var r=Xt(e,{OperationDefinition:{enter:function(i){return w(w({},i),{operation:"query"})}}});return r}function om(e){go(e);var t=im([{test:function(n){return n.name.value==="client"},remove:!0}],e);return t}var OS=Object.prototype.hasOwnProperty;function pp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mf(e)}function mf(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new xn,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var kS=function(e,t,n){return this.merge(e[n],t[n])},xn=function(){function e(t){t===void 0&&(t=kS),this.reconciler=t,this.isObject=fe,this.pastCopies=new Set}return e.prototype.merge=function(t,n){for(var r=this,i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return fe(n)&&fe(t)?(Object.keys(n).forEach(function(a){if(OS.call(t,a)){var s=t[a];if(n[a]!==s){var u=r.reconciler.apply(r,_n([t,n,a],i,!1));u!==s&&(t=r.shallowCopyForMerge(t),t[a]=u)}}else t=r.shallowCopyForMerge(t),t[a]=n[a]}),t):n},e.prototype.shallowCopyForMerge=function(t){return fe(t)&&(this.pastCopies.has(t)||(Array.isArray(t)?t=t.slice(0):t=w({__proto__:Object.getPrototypeOf(t)},t),this.pastCopies.add(t))),t},e}();function bS(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=TS(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=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 TS(e,t){if(e){if(typeof e=="string")return hp(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 hp(e,t)}}function hp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gf(e,t,n){return t&&vp(e.prototype,t),n&&vp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ef=function(){return typeof Symbol=="function"},Sf=function(e){return Ef()&&!!Symbol[e]},wf=function(e){return Sf(e)?Symbol[e]:"@@"+e};Ef()&&!Sf("observable")&&(Symbol.observable=Symbol("observable"));var CS=wf("iterator"),Bl=wf("observable"),am=wf("species");function Va(e,t){var n=e[t];if(n!=null){if(typeof n!="function")throw new TypeError(n+" is not a function");return n}}function pi(e){var t=e.constructor;return t!==void 0&&(t=t[am],t===null&&(t=void 0)),t!==void 0?t:se}function xS(e){return e instanceof se}function Wr(e){Wr.log?Wr.log(e):setTimeout(function(){throw e})}function fa(e){Promise.resolve().then(function(){try{e()}catch(t){Wr(t)}})}function sm(e){var t=e._cleanup;if(t!==void 0&&(e._cleanup=void 0,!!t))try{if(typeof t=="function")t();else{var n=Va(t,"unsubscribe");n&&n.call(t)}}catch(r){Wr(r)}}function zl(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function NS(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(um(e,t[n].type,t[n].value),e._state!=="closed");++n);}}function um(e,t,n){e._state="running";var r=e._observer;try{var i=Va(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(zl(e),i)i.call(r,n);else throw n;break;case"complete":zl(e),i&&i.call(r);break}}catch(o){Wr(o)}e._state==="closed"?sm(e):e._state==="running"&&(e._state="ready")}function Ou(e,t,n){if(e._state!=="closed"){if(e._state==="buffering"){e._queue.push({type:t,value:n});return}if(e._state!=="ready"){e._state="buffering",e._queue=[{type:t,value:n}],fa(function(){return NS(e)});return}um(e,t,n)}}var DS=function(){function e(n,r){this._cleanup=void 0,this._observer=n,this._queue=void 0,this._state="initializing";var i=new IS(this);try{this._cleanup=r.call(void 0,i)}catch(o){i.error(o)}this._state==="initializing"&&(this._state="ready")}var t=e.prototype;return t.unsubscribe=function(){this._state!=="closed"&&(zl(this),sm(this))},gf(e,[{key:"closed",get:function(){return this._state==="closed"}}]),e}(),IS=function(){function e(n){this._subscription=n}var t=e.prototype;return t.next=function(r){Ou(this._subscription,"next",r)},t.error=function(r){Ou(this._subscription,"error",r)},t.complete=function(){Ou(this._subscription,"complete")},gf(e,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),e}(),se=function(){function e(n){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if(typeof n!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=n}var t=e.prototype;return t.subscribe=function(r){return(typeof r!="object"||r===null)&&(r={next:r,error:arguments[1],complete:arguments[2]}),new DS(r,this._subscriber)},t.forEach=function(r){var i=this;return new Promise(function(o,a){if(typeof r!="function"){a(new TypeError(r+" is not a function"));return}function s(){u.unsubscribe(),o()}var u=i.subscribe({next:function(l){try{r(l,s)}catch(c){a(c),u.unsubscribe()}},error:a,complete:o})})},t.map=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var o=pi(this);return new o(function(a){return i.subscribe({next:function(s){try{s=r(s)}catch(u){return a.error(u)}a.next(s)},error:function(s){a.error(s)},complete:function(){a.complete()}})})},t.filter=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var o=pi(this);return new o(function(a){return i.subscribe({next:function(s){try{if(!r(s))return}catch(u){return a.error(u)}a.next(s)},error:function(s){a.error(s)},complete:function(){a.complete()}})})},t.reduce=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var o=pi(this),a=arguments.length>1,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<i;a++)o[a]=arguments[a];var s=pi(this);return new s(function(u){var l,c=0;function f(d){l=d.subscribe({next:function(v){u.next(v)},error:function(v){u.error(v)},complete:function(){c===o.length?(l=void 0,u.complete()):f(s.from(o[c++]))}})}return f(r),function(){l&&(l.unsubscribe(),l=void 0)}})},t.flatMap=function(r){var i=this;if(typeof r!="function")throw new TypeError(r+" is not a function");var o=pi(this);return new o(function(a){var s=[],u=i.subscribe({next:function(c){if(r)try{c=r(c)}catch(d){return a.error(d)}var f=o.from(c).subscribe({next:function(d){a.next(d)},error:function(d){a.error(d)},complete:function(){var d=s.indexOf(f);d>=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[Bl]=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=Va(r,Bl);if(o){var a=o.call(r);if(Object(a)!==a)throw new TypeError(a+" is not an object");return xS(a)&&a.constructor===i?a:new i(function(s){return a.subscribe(s)})}if(Sf("iterator")&&(o=Va(r,CS),o))return new i(function(s){fa(function(){if(!s.closed){for(var u=bS(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){fa(function(){if(!s.closed){for(var u=0;u<r.length;++u)if(s.next(r[u]),s.closed)return;s.complete()}})});throw new TypeError(r+" is not observable")},e.of=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=typeof this=="function"?this:e;return new a(function(s){fa(function(){if(!s.closed){for(var u=0;u<i.length;++u)if(s.next(i[u]),s.closed)return;s.complete()}})})},gf(e,null,[{key:am,get:function(){return this}}]),e}();Ef()&&Object.defineProperty(se,Symbol("extensions"),{value:{symbol:Bl,hostReportError:Wr},configurable:!0});function LS(e){var t,n=e.Symbol;if(typeof n=="function")if(n.observable)t=n.observable;else{typeof n.for=="function"?t=n.for("https://github.com/benlesh/symbol-observable"):t=n("https://github.com/benlesh/symbol-observable");try{n.observable=t}catch{}}else t="@@observable";return t}var lr;typeof self<"u"?lr=self:typeof window<"u"?lr=window:typeof global<"u"?lr=global:typeof dc<"u"?lr=dc:lr=Function("return this")();LS(lr);var yp=se.prototype,mp="@@observable";yp[mp]||(yp[mp]=function(){return this});var RS=Object.prototype.toString;function lm(e){return Ul(e)}function Ul(e,t){switch(RS.call(e)){case"[object Array]":{if(t=t||new Map,t.has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(i,o){n[o]=Ul(i,t)}),n}case"[object Object]":{if(t=t||new Map,t.has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach(function(i){r[i]=Ul(e[i],t)}),r}default:return e}}function PS(e){var t=new Set([e]);return t.forEach(function(n){fe(n)&&AS(n)===n&&Object.getOwnPropertyNames(n).forEach(function(r){fe(n[r])&&t.add(n[r])})}),e}function AS(e){if(globalThis.__DEV__!==!1&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}function no(e){return globalThis.__DEV__!==!1&&PS(e),e}function Ri(e,t,n){var r=[];e.forEach(function(i){return i[t]&&r.push(i)}),r.forEach(function(i){return i[t](n)})}function ku(e,t,n){return new se(function(r){var i=r.next,o=r.error,a=r.complete,s=0,u=!1,l={then:function(v){return new Promise(function(g){return g(v())})}};function c(v,g){return v?function(m){++s;var S=function(){return v(m)};l=l.then(S,S).then(function(p){--s,i&&i.call(r,p),u&&f.complete()},function(p){throw--s,p}).catch(function(p){o&&o.call(r,p)})}:function(m){return g&&g.call(r,m)}}var f={next:c(t,i),error:c(n,o),complete:function(){u=!0,s||a&&a.call(r)}},d=e.subscribe(f);return function(){return d.unsubscribe()}})}function cm(e){function t(n){Object.defineProperty(e,n,{value:se})}return pf&&Symbol.species&&t(Symbol.species),t("@@species"),e}function gp(e){return e&&typeof e.then=="function"}var cr=function(e){en(t,e);function t(n){var r=e.call(this,function(i){return r.addObserver(i),function(){return r.removeObserver(i)}})||this;return r.observers=new Set,r.promise=new Promise(function(i,o){r.resolve=i,r.reject=o}),r.handlers={next:function(i){r.sub!==null&&(r.latest=["next",i],r.notify("next",i),Ri(r.observers,"next",i))},error:function(i){var o=r.sub;o!==null&&(o&&setTimeout(function(){return o.unsubscribe()}),r.sub=null,r.latest=["error",i],r.reject(i),r.notify("error",i),Ri(r.observers,"error",i))},complete:function(){var i=r,o=i.sub,a=i.sources,s=a===void 0?[]:a;if(o!==null){var u=s.shift();u?gp(u)?u.then(function(l){return r.sub=l.subscribe(r.handlers)}):r.sub=u.subscribe(r.handlers):(o&&setTimeout(function(){return o.unsubscribe()}),r.sub=null,r.latest&&r.latest[0]==="next"?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),Ri(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(i){r.reject(i),r.sources=[],r.handlers.complete()},r.promise.catch(function(i){}),typeof n=="function"&&(n=[new se(n)]),gp(n)?n.then(function(i){return r.start(i)},r.handlers.error):r.start(n),r}return t.prototype.start=function(n){this.sub===void 0&&(this.sources=Array.from(n),this.handlers.complete())},t.prototype.deliverLastMessage=function(n){if(this.latest){var r=this.latest[0],i=n[r];i&&i.call(n,this.latest[1]),this.sub===null&&r==="next"&&n.complete&&n.complete()}},t.prototype.addObserver=function(n){this.observers.has(n)||(this.deliverLastMessage(n),this.observers.add(n))},t.prototype.removeObserver=function(n){this.observers.delete(n)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(n,r){var i=this.nextResultListeners;i.size&&(this.nextResultListeners=new Set,i.forEach(function(o){return o(n,r)}))},t.prototype.beforeNext=function(n){var r=!1;this.nextResultListeners.add(function(i,o){r||(r=!0,n(i,o))})},t}(se);cm(cr);function Pr(e){return"incremental"in e}function MS(e){return"hasNext"in e&&"data"in e}function FS(e){return Pr(e)||MS(e)}function jS(e){return fe(e)&&"payload"in e}function fm(e,t){var n=e,r=new xn;return Pr(t)&&mt(t.incremental)&&t.incremental.forEach(function(i){for(var o=i.data,a=i.path,s=a.length-1;s>=0;--s){var u=a[s],l=!isNaN(+u),c=l?[]:{};c[u]=o,o=c}n=r.merge(n,o)}),n}function da(e){var t=$l(e);return mt(t)}function $l(e){var t=mt(e.errors)?e.errors.slice(0):[];return Pr(e)&&mt(e.incremental)&&e.incremental.forEach(function(n){n.errors&&t.push.apply(t,n.errors)}),t}function Jn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(r){r&&Object.keys(r).forEach(function(i){var o=r[i];o!==void 0&&(n[i]=o)})}),n}function pa(e,t){return Jn(e,t,t.variables&&{variables:Jn(w(w({},e&&e.variables),t.variables))})}function bu(e){return new se(function(t){t.error(e)})}var Ql=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r};function BS(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t.indexOf(i)<0)throw He(41,i)}return e}function zS(e,t){var n=w({},e),r=function(o){typeof o=="function"?n=w(w({},n),o(n)):n=w(w({},n),o)},i=function(){return w({},n)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:r}),Object.defineProperty(t,"getContext",{enumerable:!1,value:i}),t}function US(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName=typeof t.query!="string"?jl(t.query)||void 0:""),t}function $S(e,t){var n=w({},e),r=new Set(Object.keys(e));return Xt(t,{Variable:function(i,o,a){a&&a.kind!=="VariableDefinition"&&r.delete(i.name.value)}}),r.forEach(function(i){delete n[i]}),n}function Ep(e,t){return t?t(e):se.of()}function hi(e){return typeof e=="function"?new wo(e):e}function qo(e){return e.request.length<=1}var wo=function(){function e(t){t&&(this.request=t)}return e.empty=function(){return new e(function(){return se.of()})},e.from=function(t){return t.length===0?e.empty():t.map(hi).reduce(function(n,r){return n.concat(r)})},e.split=function(t,n,r){var i=hi(n),o=hi(r||new e(Ep));return qo(i)&&qo(o)?new e(function(a){return t(a)?i.request(a)||se.of():o.request(a)||se.of()}):new e(function(a,s){return t(a)?i.request(a,s)||se.of():o.request(a,s)||se.of()})},e.execute=function(t,n){return t.request(zS(n.context,US(BS(n))))||se.of()},e.concat=function(t,n){var r=hi(t);if(qo(r))return globalThis.__DEV__!==!1&&U.warn(33,r),r;var i=hi(n);return qo(i)?new e(function(o){return r.request(o,function(a){return i.request(a)||se.of()})||se.of()}):new e(function(o,a){return r.request(o,function(s){return i.request(s,a)||se.of()})||se.of()})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(Ep)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(t,n){throw He(34)},e.prototype.onError=function(t,n){if(n&&n.error)return n.error(t),!1;throw t},e.prototype.setOnError=function(t){return this.onError=t,this},e}(),Vl=wo.execute;function QS(e){var t,n=e[Symbol.asyncIterator]();return t={next:function(){return n.next()}},t[Symbol.asyncIterator]=function(){return this},t}function VS(e){var t=null,n=null,r=!1,i=[],o=[];function a(f){if(!n){if(o.length){var d=o.shift();if(Array.isArray(d)&&d[0])return d[0]({value:f,done:!1})}i.push(f)}}function s(f){n=f;var d=o.slice();d.forEach(function(v){v[1](f)}),!t||t()}function u(){r=!0;var f=o.slice();f.forEach(function(d){d[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);function l(){return new Promise(function(f,d){if(n)return d(n);if(i.length)return f({value:i.shift(),done:!1});if(r)return f({value:void 0,done:!0});o.push([f,d])})}var c={next:function(){return l()}};return ms&&(c[Symbol.asyncIterator]=function(){return this}),c}function KS(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(r,i){e.then(function(o){r({value:o,done:!1})}).catch(i)}))}};return ms&&(n[Symbol.asyncIterator]=function(){return this}),n}function Sp(e){var t={next:function(){return e.read()}};return ms&&(t[Symbol.asyncIterator]=function(){return this}),t}function HS(e){return!!e.body}function WS(e){return!!e.getReader}function qS(e){return!!(ms&&e[Symbol.asyncIterator])}function GS(e){return!!e.stream}function YS(e){return!!e.arrayBuffer}function XS(e){return!!e.pipe}function JS(e){var t=e;if(HS(e)&&(t=e.body),qS(t))return QS(t);if(WS(t))return Sp(t.getReader());if(GS(t))return Sp(t.stream().getReader());if(YS(t))return KS(t.arrayBuffer());if(XS(t))return VS(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var _f=Symbol();function ZS(e){return e.extensions?Array.isArray(e.extensions[_f]):!1}function ew(e){return e.hasOwnProperty("graphQLErrors")}var tw=function(e){var t=_n(_n(_n([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(n){return fe(n)&&n.message||"Error message not found."}).join(`
`)},ln=function(e){en(t,e);function t(n){var r=n.graphQLErrors,i=n.protocolErrors,o=n.clientErrors,a=n.networkError,s=n.errorMessage,u=n.extraInfo,l=e.call(this,s)||this;return l.name="ApolloError",l.graphQLErrors=r||[],l.protocolErrors=i||[],l.clientErrors=o||[],l.networkError=a||null,l.message=s||tw(l),l.extraInfo=u,l.__proto__=t.prototype,l}return t}(Error),wp=Object.prototype.hasOwnProperty;function nw(e,t){var n;return sn(this,void 0,void 0,function(){var r,i,o,a,s,u,l,c,f,d,v,g,m,S,p,h,y,E,b,_,O,T,$;return un(this,function(j){switch(j.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=(n=e.headers)===null||n===void 0?void 0:n.get("content-type"),o="boundary=",a=i!=null&&i.includes(o)?i==null?void 0:i.substring((i==null?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s=`\r
--`.concat(a),u="",l=JS(e),c=!0,j.label=1;case 1:return c?[4,l.next()]:[3,3];case 2:for(f=j.sent(),d=f.value,v=f.done,g=typeof d=="string"?d:r.decode(d),m=u.length-s.length+1,c=!v,u+=g,S=u.indexOf(s,m);S>-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=rw(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(_=dm(e,b),Object.keys(_).length>1||"data"in _||"incremental"in _||"errors"in _||"payload"in _)jS(_)?(O={},"payload"in _&&(O=w({},_.payload)),"errors"in _&&(O=w(w({},O),{extensions:w(w({},"extensions"in O?O.extensions:null),($={},$[_f]=_.errors,$))})),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 rw(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 dm(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};Ql(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 iw(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function ow(e){return function(t){return t.text().then(function(n){return dm(t,n)}).then(function(n){return t.status>=300&&Ql(t,n,"Response not successful: Received status code ".concat(t.status)),!Array.isArray(n)&&!wp.call(n,"data")&&!wp.call(n,"errors")&&Ql(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(r){return r.operationName}):e.operationName,"'.")),n})}}var Kl=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},aw={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},sw={accept:"*/*","content-type":"application/json"},uw={method:"POST"},lw={http:aw,headers:sw,options:uw},cw=function(e,t){return t(e)};function fw(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},o={};n.forEach(function(f){i=w(w(w({},i),f.options),{headers:w(w({},i.headers),f.headers)}),f.credentials&&(i.credentials=f.credentials),o=w(w({},o),f.http)}),i.headers&&(i.headers=dw(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,l=e.query,c={operationName:a,variables:u};return o.includeExtensions&&(c.extensions=s),o.includeQuery&&(c.query=t(l,nm)),{options:i,body:c}}function dw(e,t){if(!t){var n=Object.create(null);return Object.keys(Object(e)).forEach(function(o){n[o.toLowerCase()]=e[o]}),n}var r=Object.create(null);Object.keys(Object(e)).forEach(function(o){r[o.toLowerCase()]={originalName:o,value:e[o]}});var i=Object.create(null);return Object.keys(r).forEach(function(o){i[r[o].originalName]=r[o].value}),i}var pw=function(e){if(!e&&typeof fetch>"u")throw He(35)},hw=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function vw(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=Kl(t.variables,"Variables map")}catch(f){return{parseError:f}}r("variables",i)}if(t.extensions){var o=void 0;try{o=Kl(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 _p=kt(function(){return fetch}),yw=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?cw: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&&pw(r||_p);var d={http:{includeExtensions:a,preserveHeaderCase:s},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new wo(function(v){var g=hw(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(to(["client"],v.query)){var _=om(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=fw(v,o,lw,d,b),T=O.options,$=O.body;$.variables&&!c&&($.variables=$S($.variables,v.query));var j;!T.signal&&typeof AbortController<"u"&&(j=new AbortController,T.signal=j.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)),N=to(["defer"],v.query);if(u&&!v.query.definitions.some(G)&&(T.method="GET"),N||gt){T.headers=T.headers||{};var k="multipart/mixed;";gt&&N&&globalThis.__DEV__!==!1&&U.warn(36),gt?k+="boundary=graphql;subscriptionSpec=1.0,application/json":N&&(k+="deferSpec=20220824,application/json"),T.headers.accept=k}if(T.method==="GET"){var B=vw(g,$),re=B.newURI,D=B.parseError;if(D)return bu(D);g=re}else try{T.body=Kl($,"Payload")}catch(I){return bu(I)}return new se(function(I){var F=r||kt(function(){return fetch})||_p,Q=I.next.bind(I);return F(g,T).then(function(z){var H;v.setContext({response:z});var Z=(H=z.headers)===null||H===void 0?void 0:H.get("content-type");return Z!==null&&/^multipart\/mixed/i.test(Z)?nw(z,Q):ow(v)(z).then(Q)}).then(function(){j=void 0,I.complete()}).catch(function(z){j=void 0,iw(z,I)}),function(){j&&j.abort()}})})},mw=function(e){en(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,yw(n).request)||this;return r.options=n,r}return t}(wo);const{toString:Op,hasOwnProperty:gw}=Object.prototype,kp=Function.prototype.toString,Hl=new Map;function ie(e,t){try{return Wl(e,t)}finally{Hl.clear()}}function Wl(e,t){if(e===t)return!0;const n=Op.call(e),r=Op.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Tp(e,t))return!0;const i=bp(e),o=bp(t),a=i.length;if(a!==o.length)return!1;for(let s=0;s<a;++s)if(!gw.call(t,i[s]))return!1;for(let s=0;s<a;++s){const u=i[s];if(!Wl(e[u],t[u]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(Tp(e,t))return!0;const i=e.entries(),o=n==="[object Map]";for(;;){const a=i.next();if(a.done)break;const[s,u]=a.value;if(!t.has(s)||o&&!Wl(u,t.get(s)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let i=e.byteLength;if(i===t.byteLength)for(;i--&&e[i]===t[i];);return i===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const i=kp.call(e);return i!==kp.call(t)?!1:!ww(i,Sw)}}return!1}function bp(e){return Object.keys(e).filter(Ew,e)}function Ew(e){return this[e]!==void 0}const Sw="{ [native code] }";function ww(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function Tp(e,t){let n=Hl.get(e);if(n){if(n.has(t))return!0}else Hl.set(e,n=new Set);return n.add(t),!1}function _w(){}class Ow{constructor(t=1/0,n=_w){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 Cp={};let kw=1;const bw=()=>class{constructor(){this.id=["slot",kw++,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===Cp)break;return t!==Re&&(Re.slots[this.id]=n),!0}return Re&&(Re.slots[this.id]=Cp),!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 xp(e){try{return e()}catch{}}const Tu="@wry/context:Slot",Tw=xp(()=>globalThis)||xp(()=>global)||Object.create(null),Np=Tw,pm=Np[Tu]||Array[Tu]||function(e){try{Object.defineProperty(Np,Tu,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(bw()),_s=new pm,{hasOwnProperty:Cw}=Object.prototype,Of=Array.from||function(e){const t=[];return e.forEach(n=>t.push(n)),t};function Ka(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const ro=[],xw=100;function qr(e,t){if(!e)throw new Error(t||"assertion failure")}function Nw(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function hm(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function Dw(e){return e.slice(0)}class Os{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,++Os.count}peek(){if(this.value.length===1&&!Nn(this))return Dp(this),this.value[0]}recompute(t){return qr(!this.recomputing,"already recomputing"),Dp(this),Nn(this)?Iw(this,t):hm(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,vm(this),Ka(this))}dispose(){this.setDirty(),Sm(this),kf(this,(t,n)=>{t.setDirty(),wm(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=ro.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(Of(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),ro.push(this.deps),this.deps=null)}}Os.count=0;function Dp(e){const t=_s.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Nn(e)?mm(t,e):gm(t,e),t}function Iw(e,t){return Sm(e),_s.withValue(e,Lw,[e,t]),Pw(e,t)&&Rw(e),hm(e.value)}function Lw(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 Nn(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function Rw(e){e.dirty=!1,!Nn(e)&&ym(e)}function vm(e){kf(e,mm)}function ym(e){kf(e,gm)}function kf(e,t){const n=e.parents.size;if(n){const r=Of(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function mm(e,t){qr(e.childValues.has(t)),qr(Nn(t));const n=!Nn(e);if(!e.dirtyChildren)e.dirtyChildren=ro.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&vm(e)}function gm(e,t){qr(e.childValues.has(t)),qr(!Nn(t));const n=e.childValues.get(t);n.length===0?e.childValues.set(t,Dw(t.value)):Nw(n,t.value)||e.setDirty(),Em(e,t),!Nn(e)&&ym(e)}function Em(e,t){const n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(ro.length<xw&&ro.push(n),e.dirtyChildren=null))}function Sm(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{wm(e,n)}),e.forgetDeps(),qr(e.dirtyChildren===null)}function wm(e,t){t.parents.delete(e),e.childValues.delete(t),Em(e,t)}function Pw(e,t){if(typeof e.subscribe=="function")try{Ka(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const Aw={setDirty:!0,dispose:!0,forget:!0};function _m(e){const t=new Map,n=e&&e.subscribe;function r(i){const o=_s.getValue();if(o){let a=t.get(i);a||t.set(i,a=new Set),o.dependOn(a),typeof n=="function"&&(Ka(a),a.unsubscribe=n(i))}}return r.dirty=function(o,a){const s=t.get(o);if(s){const u=a&&Cw.call(Aw,a)?a:"setDirty";Of(s).forEach(l=>l[u]()),t.delete(o),Ka(s)}},r}let Ip;function Mw(...e){return(Ip||(Ip=new Pn(typeof WeakMap=="function"))).lookupArray(e)}const Cu=new Set;function Ha(e,{max:t=Math.pow(2,16),makeCacheKey:n=Mw,keyArgs:r,subscribe:i}=Object.create(null)){const o=new Ow(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 Os(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),_s.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 Fw=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Ha(rS)}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}(),Om=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 vi(e){return e==null}function km(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=vi(r)?vi(i)?void 0:{_id:i}:{id:r}),vi(r)&&!vi(i)&&(r=i),!vi(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var bm={dataIdFromObject:km,addTypename:!0,resultCaching:!0,canonizeResults:!1};function jw(e){return Jn(bm,e)}function Tm(e){var t=e.canonizeResults;return t===void 0?bm.canonizeResults:t}function Bw(e,t){return ne(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var Cm=/^[_a-z][_0-9a-z]*/i;function Dn(e){var t=e.match(Cm);return t?t[0]:e}function ql(e,t,n){return fe(t)?Ee(t)?t.every(function(r){return ql(e,r,n)}):e.selections.every(function(r){if(Cn(r)&&mo(r,n)){var i=Tn(r);return Ce.call(t,i)&&(!r.selectionSet||ql(r.selectionSet,t[i],n))}return!0}):!1}function br(e){return fe(e)&&!ne(e)&&!Ee(e)}function zw(){return new xn}function xm(e,t){var n=gs(ws(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var ha=Object.create(null),xu=function(){return ha},Lp=Object.create(null),io=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 no(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 Rr(i);if(ne(i))return i;var a=r.policies.identify(i)[0];if(a){var s=Rr(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){U(typeof i=="string",1);var s=new xn($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:ha,INVALIDATE:Lp,isReference:ne,toReference:this.toReference,canRead:this.canRead,readField:function(l,c){return r.policies.readField(typeof l=="string"?{fieldName:l,from:c||Rr(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?ha:d(no(f),w(w({},u),{fieldName:c,storeFieldName:l,storage:r.getStorage(t,l)}));v===Lp?r.group.dirty(t,l):(v===ha&&(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}(),Nm=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?_m():null,this.keyMaker=new Pn(Bt)},e.prototype.depend=function(t,n){if(this.d){this.d(Nu(t,n));var r=Dn(n);r!==n&&this.d(Nu(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(Nu(t,n),n==="__exists"?"forget":"setDirty")},e}();function Nu(e,t){return t+"#"+e}function Rp(e,t){Pi(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 Nm(s))||this;return l.stump=new Uw(l),l.storageTrie=new Pn(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})(io||(io={}));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}(io),Uw=function(e){en(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new Nm(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 Pi(e){return!!(e instanceof io&&e.group.caching)}function Qw(e){return fe(e)?Ee(e)?e.slice(0):w({__proto__:Object.getPrototypeOf(e)},e):e}var Gl=function(){function e(){this.known=new(Zy?WeakSet:Set),this.pool=new Pn(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=Qw(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}(),Kn=Object.assign(function(e){if(fe(e)){Yl===void 0&&Pp();var t=Yl.admit(e),n=Xl.get(t);return n===void 0&&Xl.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:Pp}),Yl,Xl;function Pp(){Yl=new Gl,Xl=new(Bt?WeakMap:Map)}function Ap(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Vw=function(){function e(t){var n=this;this.knownResults=new(Bt?WeakMap:Map),this.config=Jn(t,{addTypename:t.addTypename!==!1,canonizeResults:Tm(t)}),this.canon=t.canon||new Gl,this.executeSelectionSet=Ha(function(r){var i,o=r.context.canonizeResults,a=Ap(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:(Rp(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize,keyArgs:Ap,makeCacheKey:function(r,i,o,a){if(Pi(o.store))return o.store.makeCacheKey(r,ne(i)?i.__ref:i,o.varString,a)}}),this.executeSubSelectedArray=Ha(function(r){return Rp(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(Pi(a.store))return a.store.makeCacheKey(i,o,a.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Gl},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(em(r))),a);var d=Rr(o),v=this.executeSelectionSet({selectionSet:So(r).selectionSet,objectOrReference:d,enclosingRef:d,context:w({store:n,query:r,policies:f,variables:a,varString:Kn(a),canonizeResults:c},xm(r,this.config.fragments))}),g;if(v.missing&&(g=[new Om(Kw(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(Pi(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 xn;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(Cn(y)){var _=u.readField({fieldName:y.name.value,field:y,variables:a.variables,from:i},a),O=Tn(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=Es(y,a.lookupFragment);if(!T&&y.kind===P.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):no(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 xn;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&&Hw(a.store,r,c),c)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:s}},e}();function Kw(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function Hw(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){fe(i)&&(U(!ne(i),8,Bw(e,i),t.name.value),Object.values(i).forEach(r.add,r))})}}var bf=new pm,Mp=new WeakMap;function Ai(e){var t=Mp.get(e);return t||Mp.set(e,t={vars:new Set,dep:_m()}),t}function Fp(e){Ai(e).vars.forEach(function(t){return t.forgetCache(e)})}function Ww(e){Ai(e).vars.forEach(function(t){return t.attachCache(e)})}function qw(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(u){Ai(u).dep.dirty(r),Gw(u)});var a=Array.from(n);n.clear(),a.forEach(function(u){return u(e)})}}else{var s=bf.getValue();s&&(i(s),Ai(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),Ai(o).vars.add(r),r};return r.forgetCache=function(o){return t.delete(o)},r}function Gw(e){e.broadcastWatches&&e.broadcastWatches()}var jp=Object.create(null);function Tf(e){var t=JSON.stringify(e);return jp[t]||(jp[t]=Object.create(null))}function Bp(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=Ar(r.storeObject,a,i);return s===void 0&&n!==r.storeObject&&Ce.call(n,a[0])&&(s=Ar(n,a,Im)),U(s!==void 0,2,a.join("."),n),s});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function zp(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&&Ss(v,o);return g&&Ar(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,Ar(o,S)}return}if(n)return Ar(n,l)}),u=JSON.stringify(s);return(n||u!=="{}")&&(a+=":"+u),a})}function Cf(e,t){var n=new xn;return Dm(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 Dm(e){var t=Tf(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,o){Ee(i)?(Dm(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 Im(e,t){return e[t]}function Ar(e,t,n){return n=n||Im,Lm(t.reduce(function r(i,o){return Ee(i)?i.map(function(a){return r(a,o)}):i&&n(i,o)},e))}function Lm(e){return fe(e)?Ee(e)?e.map(Lm):Cf(Object.keys(e).sort(),function(t){return Ar(e,t)}):e}hf.setStringify(Kn);function Jl(e){return e.args!==void 0?e.args:e.field?Ss(e.field,e.variables):null}var Yw=function(){},Up=function(e,t){return t.fieldName},$p=function(e,t,n){var r=n.mergeObjects;return r(e,t)},Qp=function(e,t){return t},Xw=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:km},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=Bp(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?$p:l===!1?Qp:u.merge}s(i,n.merge),i.keyFn=o===!1?Yw:Ee(o)?Bp(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?Up:Ee(f)?zp(f):typeof f=="function"?f:l.keyFn,typeof d=="function"&&(l.read=d),s(l,v)}l.read&&l.merge&&(l.keyFn=l.keyFn||Up)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(U(!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(Cm);(!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;d<u.length;++d){var v=u[d];if(v.has(a))return s.has(a)||(f&&globalThis.__DEV__!==!1&&U.warn(4,n,a),s.add(a)),!0;v.forEach(l),c&&d===u.length-1&&ql(t.selectionSet,r,i)&&(c=!1,f=!0,this.fuzzySubtypes.forEach(function(g,m){var S=n.match(g);S&&S[0]===n&&l(m)}))}return!1},e.prototype.hasKeyArgs=function(t,n){var r=this.getFieldPolicy(t,n,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(t){var n=t.typename,r=t.fieldName,i=this.getFieldPolicy(n,r,!1),o,a=i&&i.keyFn;if(a&&n)for(var s={typename:n,fieldName:r,field:t.field||null,variables:t.variables},u=Jl(t);a;){var l=a(u,s);if(Ee(l))a=zp(l);else{o=l||r;break}}return o===void 0&&(o=t.field?hS(t.field,t.variables):hf(r,Jl(t))),o===!1?r:r===Dn(o)?o:r+":"+o},e.prototype.readField=function(t,n){var r=t.from;if(r){var i=t.field||t.fieldName;if(i){if(t.typename===void 0){var o=n.store.getFieldValue(r,"__typename");o&&(t.typename=o)}var a=this.getStoreFieldName(t),s=Dn(a),u=n.store.getFieldValue(r,a),l=this.getFieldPolicy(t.typename,s,!1),c=l&&l.read;if(c){var f=Vp(this,r,t,n,n.store.getStorage(ne(r)?r.__ref:r,a));return bf.withValue(this.cache,c,[u,f])}return u}}},e.prototype.getReadFunction=function(t,n){var r=this.getFieldPolicy(t,n,!1);return r&&r.read},e.prototype.getMergeFunction=function(t,n,r){var i=this.getFieldPolicy(t,n,!1),o=i&&i.merge;return!o&&r&&(i=this.getTypePolicy(r),o=i&&i.merge),o},e.prototype.runMergeFunction=function(t,n,r,i,o){var a=r.field,s=r.typename,u=r.merge;return u===$p?Rm(i.store)(t,n):u===Qp?n:(i.overwrite&&(t=void 0),u(t,n,Vp(this,void 0,{typename:s,fieldName:a.name.value,field:a,variables:i.variables},i,o||Object.create(null))))},e}();function Vp(e,t,n,r,i){var o=e.getStoreFieldName(n),a=Dn(o),s=n.variables||r.variables,u=r.store,l=u.toReference,c=u.canRead;return{args:Jl(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:ne,toReference:l,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(xf(arguments,t,s),r)},mergeObjects:Rm(r.store)}}function xf(e,t,n){var r=e[0],i=e[1],o=e.length,a;return typeof r=="string"?a={fieldName:r,from:o>1?i:t}:(a=w({},r),Ce.call(a,"from")||(a.from=t)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&U.warn(5,$y(Array.from(e))),a.variables===void 0&&(a.variables=n),a}function Rm(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)&&br(r))return e.merge(n.__ref,r),n;if(br(n)&&ne(r))return e.merge(n,r.__ref),r;if(br(n)&&br(r))return w(w({},n),r)}return r}}function Du(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 Jw=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=zw();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:Kn(s)},xm(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=Rr(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)&&Zw(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]||Fl(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,_=Tn(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}),$=Kp(s,T),j=n.processFieldValue(O,E,E.selectionSet?Du(y,!1,!1):y,$),G=void 0;E.selectionSet&&(ne(j)||br(j))&&(G=f("__typename",j));var ke=u.getMergeFunction(c,E.name.value,G);ke?$.info={field:E,typename:c,merge:ke}:Hp(s,T),l=y.merge(l,(b={},b[T]=j,b))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!yf.added(E)&&!u.getReadFunction(c,E.name.value)&&globalThis.__DEV__!==!1&&U.error(10,Tn(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=Rr(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=Zl(h.mergeTree,s),d.forEach(function(y){return h.fieldNodeSet.add(y)})):a.incomingById.set(r,{storeObject:l,mergeTree:Wa(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?lm(t):t:Ee(t)?t.map(function(a,s){var u=o.processFieldValue(a,n,r,Kp(i,s));return Hp(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=Fl(n,t,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new Pn(!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=Ss(p,r.variables);(!y||y.if!==!1)&&(g=!0)}}),Cn(d)){var m=o.get(d);m&&(v=v&&m.clientOnly,g=g&&m.deferred),o.set(d,Du(r,v,g))}else{var S=Es(d,r.lookupFragment);if(!S&&d.kind===P.FRAGMENT_SPREAD)throw He(11,d.name.value);S&&a.fragmentMatches(S,i,n,r.variables)&&u(S.selectionSet,Du(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)||br(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&&U(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}(),Pm=[];function Kp(e,t){var n=e.map;return n.has(t)||n.set(t,Pm.pop()||{map:new Map}),n.get(t)}function Zl(e,t){if(e===t||!t||Wa(t))return e;if(!e||Wa(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,Zl(s,t.map.get(u))),a.delete(u)}),a.forEach(function(s){o.map.set(s,Zl(t.map.get(s),e.map.get(s)))})}return o}function Wa(e){return!e||!(e.info||e.map.size)}function Hp(e,t){var n=e.map,r=n.get(t);r&&Wa(r)&&(Pm.push(r),n.delete(t))}var Wp=new Set;function Zw(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(!Wp.has(l)){Wp.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&&U.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 e_=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 tm(yf),r.assumeImmutableResults=!0,r.makeVar=qw,r.txCount=0,r.config=jw(n),r.addTypename=!!r.config.addTypename,r.policies=new Xw({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 io.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 Jw(this,this.storeReader=new Vw({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Tm(this.config),canon:n?void 0:i&&i.canon,fragments:o}),o),this.maybeBroadcastWatch=Ha(function(a,s){return r.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(a){var s=a.optimistic?r.optimisticData:r.data;if(Pi(s)){var u=a.optimistic,l=a.id,c=a.variables;return s.makeCacheKey(a.query,a.callback,Kn({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 Om)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||Ww(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),function(){r.watches.delete(n)&&!r.watches.size&&Fp(r),r.maybeBroadcastWatch.forget(n)}},t.prototype.gc=function(n){Kn.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&&U.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(),Kn.reset(),n&&n.discardWatches?(this.watches.forEach(function(i){return r.maybeBroadcastWatch.forget(i)}),this.watches.clear(),Fp(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}(Fw),W;(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"})(W||(W={}));function oo(e){return e?e<7:!1}function t_(e,t,n,r){var i=t.data,o=jt(t,["data"]),a=n.data,s=jt(n,["data"]);return ie(o,s)&&va(So(e).selectionSet,i,a,{fragmentMap:gs(ws(e)),variables:r})}function va(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))||qp(o))return!0;if(Cn(o)){var a=Tn(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;v<d;++v)if(!va(l,s[v],u[v],r))return!1;return!0}return va(l,s,u,r)}else{var g=Es(o,r.fragmentMap);if(g)return qp(g)?!0:va(g.selectionSet,t,n,r)}})}function qp(e){return!!e.directives&&e.directives.some(n_)}function n_(e){return e.name.value==="nonreactive"}var Gp=Object.assign,r_=Object.hasOwnProperty,ec=function(e){en(t,e);function t(n){var r=n.queryManager,i=n.queryInfo,o=n.options,a=e.call(this,function(S){try{var p=S._subscription._observer;p&&!p.error&&(p.error=i_)}catch{}var h=!a.observers.size;a.observers.add(S);var y=a.last;return y&&y.error?S.error&&S.error(y.error):y&&y.result&&S.next&&S.next(y.result),h&&a.reobserve().catch(function(){}),function(){a.observers.delete(S)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.waitForOwnResult=Iu(o.fetchPolicy),a.isTornDown=!1;var s=r.defaultOptions.watchQuery,u=s===void 0?{}:s,l=u.fetchPolicy,c=l===void 0?"cache-first":l,f=o.fetchPolicy,d=f===void 0?c:f,v=o.initialFetchPolicy,g=v===void 0?d==="standby"?c:d:v;a.options=w(w({},o),{initialFetchPolicy:g,fetchPolicy:d}),a.queryId=i.queryId||r.generateQueryId();var m=Eo(a.query);return a.queryName=m&&m.name&&m.name.value,a}return Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var n=this;return new Promise(function(r,i){var o={next:function(s){r(s),n.observers.delete(o),n.observers.size||n.queryManager.removeQuery(n.queryId),setTimeout(function(){a.unsubscribe()},0)},error:i},a=n.subscribe(o)})},t.prototype.getCurrentResult=function(n){n===void 0&&(n=!0);var r=this.getLastResult(!0),i=this.queryInfo.networkStatus||r&&r.networkStatus||W.ready,o=w(w({},r),{loading:oo(i),networkStatus:i}),a=this.options.fetchPolicy,s=a===void 0?"cache-first":a;if(!(Iu(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(o.data=u.result),ie(o.data,{})&&(o.data=void 0),u.complete?(delete o.partial,u.complete&&o.networkStatus===W.loading&&(s==="cache-first"||s==="cache-only")&&(o.networkStatus=W.ready,o.loading=!1)):o.partial=!0,globalThis.__DEV__!==!1&&!u.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&Mm(u.missing)}return n&&this.updateLastResult(o),o},t.prototype.isDifferentFromLastResult=function(n,r){if(!this.last)return!0;var i=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!t_(this.query,this.last.result,n,this.variables):!ie(this.last.result,n);return i||r&&!ie(this.last.variables,r)},t.prototype.getLast=function(n,r){var i=this.last;if(i&&i[n]&&(!r||ie(i.variables,this.variables)))return i[n]},t.prototype.getLastResult=function(n){return this.getLast("result",n)},t.prototype.getLastError=function(n){return this.getLast("error",n)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(n){var r,i={pollInterval:0},o=this.options.fetchPolicy;if(o==="cache-and-network"?i.fetchPolicy=o:o==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",globalThis.__DEV__!==!1&&n&&r_.call(n,"variables")){var a=em(this.query),s=a.variableDefinitions;(!s||!s.some(function(u){return u.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&U.warn(18,n,((r=a.name)===null||r===void 0?void 0:r.value)||a)}return n&&!ie(this.options.variables,n)&&(i.variables=this.options.variables=w(w({},this.options.variables),n)),this.queryInfo.resetLastWrite(),this.reobserve(i,W.refetch)},t.prototype.fetchMore=function(n){var r=this,i=w(w({},n.query?n:w(w(w(w({},this.options),{query:this.options.query}),n),{variables:w(w({},this.options.variables),n.variables)})),{fetchPolicy:"no-cache"});i.query=this.transformDocument(i.query);var o=this.queryManager.generateQueryId();this.lastQuery=n.query?this.transformDocument(this.options.query):i.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=W.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var u=new Set;return this.queryManager.fetchQuery(o,i,W.fetchMore).then(function(l){return r.queryManager.removeQuery(o),a.networkStatus===W.fetchMore&&(a.networkStatus=s),r.queryManager.cache.batch({update:function(c){var f=n.updateQuery;f?c.updateQuery({query:r.query,variables:r.variables,returnPartialData:!0,optimistic:!1},function(d){return f(d,{fetchMoreResult:l.data,variables:i.variables})}):c.writeQuery({query:i.query,variables:i.variables,data:l.data})},onWatchUpdated:function(c){u.add(c.query)}}),l}).finally(function(){u.has(r.query)||Am(r)})},t.prototype.subscribeToMore=function(n){var r=this,i=this.queryManager.startGraphQLSubscription({query:n.document,variables:n.variables,context:n.context}).subscribe({next:function(o){var a=n.updateQuery;a&&r.updateQuery(function(s,u){var l=u.variables;return a(s,{subscriptionData:o,variables:l})})},error:function(o){if(n.onError){n.onError(o);return}globalThis.__DEV__!==!1&&U.error(19,o)}});return this.subscriptions.add(i),function(){r.subscriptions.delete(i)&&i.unsubscribe()}},t.prototype.setOptions=function(n){return this.reobserve(n)},t.prototype.silentSetOptions=function(n){var r=Jn(this.options,n||{});Gp(this.options,r)},t.prototype.setVariables=function(n){return ie(this.variables,n)?this.observers.size?this.result():Promise.resolve():(this.options.variables=n,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:n},W.setVariables):Promise.resolve())},t.prototype.updateQuery=function(n){var r=this.queryManager,i=r.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,o=n(i,{variables:this.variables});o&&(r.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),r.broadcastQueries())},t.prototype.startPolling=function(n){this.options.pollInterval=n,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(n,r){if(r.nextFetchPolicy){var i=r.fetchPolicy,o=i===void 0?"cache-first":i,a=r.initialFetchPolicy,s=a===void 0?o:a;o==="standby"||(typeof r.nextFetchPolicy=="function"?r.fetchPolicy=r.nextFetchPolicy(o,{reason:n,options:r,observable:this,initialFetchPolicy:s}):n==="variables-changed"?r.fetchPolicy=s:r.fetchPolicy=r.nextFetchPolicy)}return r.fetchPolicy},t.prototype.fetch=function(n,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,n,r)},t.prototype.updatePolling=function(){var n=this;if(!this.queryManager.ssrMode){var r=this,i=r.pollingInfo,o=r.options.pollInterval;if(!o){i&&(clearTimeout(i.timeout),delete this.pollingInfo);return}if(!(i&&i.interval===o)){U(o,20);var a=i||(this.pollingInfo={});a.interval=o;var s=function(){n.pollingInfo&&(oo(n.queryInfo.networkStatus)?u():n.reobserve({fetchPolicy:n.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},W.poll).then(u,u))},u=function(){var l=n.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(s,l.interval))};u()}}},t.prototype.updateLastResult=function(n,r){r===void 0&&(r=this.variables);var i=this.getLastError();return i&&this.last&&!ie(r,this.last.variables)&&(i=void 0),this.last=w({result:this.queryManager.assumeImmutableResults?n:lm(n),variables:r},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(n,r){var i=this;this.isTornDown=!1;var o=r===W.refetch||r===W.fetchMore||r===W.poll,a=this.options.variables,s=this.options.fetchPolicy,u=Jn(this.options,n||{}),l=o?u:Gp(this.options,u),c=this.transformDocument(l.query);this.lastQuery=c,o||(this.updatePolling(),n&&n.variables&&!ie(n.variables,a)&&l.fetchPolicy!=="standby"&&l.fetchPolicy===s&&(this.applyNextFetchPolicy("variables-changed",l),r===void 0&&(r=W.setVariables)));var f=c===l.query?l:w(w({},l),{query:c});this.waitForOwnResult&&(this.waitForOwnResult=Iu(f.fetchPolicy));var d=function(){i.concast===m&&(i.waitForOwnResult=!1)},v=f.variables&&w({},f.variables),g=this.fetch(f,r),m=g.concast,S=g.fromLink,p={next:function(h){d(),i.reportResult(h,v)},error:function(h){d(),i.reportError(h,v)}};return!o&&(S||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=m,this.observer=p),m.addObserver(p),m},t.prototype.reobserve=function(n,r){return this.reobserveAsConcast(n,r).promise},t.prototype.resubscribeAfterError=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=this.last;this.resetLastResults();var o=this.subscribe.apply(this,n);return this.last=i,o},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(n,r){var i=this.getLastError(),o=this.isDifferentFromLastResult(n,r);(i||!n.partial||this.options.returnPartialData)&&this.updateLastResult(n,r),(i||o)&&Ri(this.observers,"next",n)},t.prototype.reportError=function(n,r){var i=w(w({},this.getLastResult()),{error:n,errors:n.graphQLErrors,networkStatus:W.error,loading:!1});this.updateLastResult(i,r),Ri(this.observers,"error",this.last.error=n)},t.prototype.hasObservers=function(){return this.observers.size>0},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);cm(ec);function Am(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 i_(e){globalThis.__DEV__!==!1&&U.error(21,e.message,e.stack)}function Mm(e){globalThis.__DEV__!==!1&&e&&globalThis.__DEV__!==!1&&U.debug(22,e)}function Iu(e){return e==="network-only"||e==="no-cache"||e==="standby"}var Fm=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=pp(n.resolvers,r)}):this.resolvers=pp(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 sn(this,void 0,void 0,function(){return un(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 to(["client"],t)&&this.resolvers?t:null},e.prototype.serverQuery=function(t){return om(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={}),sn(this,void 0,void 0,function(){return un(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:_S(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),sn(this,void 0,void 0,function(){var s,u,l,c,f,d,v,g,m,S,p;return un(this,function(h){return s=So(t),u=ws(t),l=gs(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 sn(this,void 0,void 0,function(){var o,a,s,u,l,c=this;return un(this,function(f){return o=i.fragmentMap,a=i.context,s=i.variables,u=[r],l=function(d){return sn(c,void 0,void 0,function(){var v,g;return un(this,function(m){return!n&&!i.selectionsToResolve.has(d)?[2]:mo(d,s)?Cn(d)?[2,this.resolveField(d,n,r,i).then(function(S){var p;typeof S<"u"&&u.push((p={},p[Tn(d)]=S,p))})]:(mS(d)?v=d:(v=o[d.name.value],U(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 sn(this,void 0,void 0,function(){var o,a,s,u,l,c,f,d,v,g=this;return un(this,function(m){return r?(o=i.variables,a=t.name.value,s=Tn(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,Ss(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)&&lp(v)&&s.add(v)})},FragmentSpread:function(u,l,c,f,d){var v=n[u.name.value];U(v,17,u.name.value);var g=o(v);g.size>0&&(d.forEach(function(m){r(m)&&lp(m)&&s.add(m)}),s.add(u),g.forEach(function(m){s.add(m)}))}})}return i.get(a)}return o(t)},e}(),Tr=new(Bt?WeakMap:Map);function Lu(e,t){var n=e[t];typeof n=="function"&&(e[t]=function(){return Tr.set(e,(Tr.get(e)+1)%1e15),n.apply(this,arguments)})}function Yp(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;Tr.has(r)||(Tr.set(r,0),Lu(r,"evict"),Lu(r,"modify"),Lu(r,"reset"))}return e.prototype.init=function(t){var n=t.networkStatus||W.loading;return this.variables&&this.networkStatus!==W.loading&&!ie(this.variables,t.variables)&&(n=W.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(){Yp(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():Am(t)})):delete this.oqListener)},e.prototype.notify=function(){var t=this;Yp(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(oo(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===Tr.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 xn,s=mt(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&mt(t.incremental)){var u=fm(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&&(tc(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:Tr.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=W.ready},e.prototype.markError=function(t){return this.networkStatus=W.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function tc(e,t){t===void 0&&(t="none");var n=t==="ignore"||t==="all",r=!da(e);return!r&&n&&e.data&&(r=!0),r}var o_=Object.prototype.hasOwnProperty,a_=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 tm(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 Fm({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 sn(this,void 0,void 0,function(){var E,b,_,O;return un(this,function(T){switch(T.label){case 0:return U(i,24),U(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($,j){return ku(O.getObservableFromLink(i,w(w({},y),{optimisticResponse:a}),o,!1),function(G){if(da(G)&&p==="none")throw new ln({graphQLErrors:$l(G)});_&&(_.loading=!1,_.error=null);var ke=w({},G);return typeof l=="function"&&(l=l(ke)),p==="ignore"&&da(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)&&$(G)},error:function(G){_&&(_.loading=!1,_.error=G),a&&O.cache.removeOptimistic(E),O.broadcastQueries(),j(G instanceof ln?G:new ln({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&&tc(i,t.errorPolicy)){if(Pr(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),Pr(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=fm(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||!o_.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&&jl(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=!FS(i)||Pr(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&&U.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:W1(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:to(["nonreactive"],t),clientQuery:this.localState.clientQuery(t),serverQuery:im([{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 ec({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()),U(t.query,26),U(t.query.kind==="Document",27),U(!t.returnPartialData,28),U(!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=W.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):iS(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=Rl("legacyOneTimeQuery"),u=n.getQuery(s).init({document:a.query,variables:a.variables}),l=new ec({queryManager:n,queryInfo:u,options:w(w({},a),{fetchPolicy:"network-only"})});U(l.queryId===s),u.setObservableQuery(l),r.set(s,l)}),globalThis.__DEV__!==!1&&i.size&&i.forEach(function(a,s){a||globalThis.__DEV__!==!1&&U.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"&&(tc(v,a)&&n.cache.write({query:r,result:v.data,dataId:"ROOT_SUBSCRIPTION",variables:d}),n.broadcastQueries());var g=da(v),m=ZS(v);if(g||m){var S={};if(g&&(S.graphQLErrors=v.errors),m&&(S.protocolErrors=v.extensions[_f]),a==="none"||m)throw new ln(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:jl(l)||void 0,context:this.prepareContext(w(w({},n),{forceFetch:!i}))};if(n=g.context,i){var m=nm(l),S=d.get(m)||new Map;d.set(m,S);var p=Kn(r);if(s=S.get(p),!s){var h=new cr([Vl(v,g)]);S.set(p,s=h),h.beforeNext(function(){S.delete(p)&&S.size<1&&d.delete(m)})}}else s=new cr([Vl(v,g)])}else s=new cr([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=$l(a),u=s.length>0;if(i>=t.lastRequestId){if(u&&r.errorPolicy==="none")throw t.markError(new ln({graphQLErrors:s}));t.markResult(a,o,r,n),t.markReady()}var l={data:a.data,loading:!1,networkStatus:W.ready};return u&&r.errorPolicy!=="ignore"&&(l.errors=s,l.networkStatus=W.error),l},function(a){var s=ew(a)?a:new ln({networkError:a});throw i>=t.lastRequestId&&t.markError(s),s})},e.prototype.fetchConcastWithInfo=function(t,n,r){var i=this;r===void 0&&(r=W.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($){y.variables=$;var j=i.fetchQueryByPolicy(s,y,r);return y.fetchPolicy!=="standby"&&j.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",n),j},b=function(){return i.fetchCancelFns.delete(t)};this.fetchCancelFns.set(t,function($){b(),setTimeout(function(){return _.cancel($)})});var _,O;if(this.getDocumentInfo(y.query).hasClientExports)_=new cr(this.localState.addExportedVariables(y.query,y.variables,y.context).then(E).then(function($){return $.sources})),O=!0;else{var T=E(y.variables);O=T.fromLink,_=new cr(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?Rl("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||W.loading);var _=E.result;globalThis.__DEV__!==!1&&!c&&!ie(_,{})&&Mm(E.missing);var O=function(T){return se.of(w({data:T,loading:oo(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===W.refetch&&Array.isArray(E.missing)?O(void 0):O(_)},S=s==="no-cache"?0:r===W.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&&oo(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}(),Xp=!1,s_=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 mw({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 Fm({cache:a,client:this,resolvers:y,fragmentMatcher:b}),this.queryManager=new a_({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}!Xp&&globalThis.__DEV__!==!1&&(Xp=!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&&U.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=pa(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=pa(this.defaultOptions.query,t)),U(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=pa(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 Vl(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&&U.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<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},qa.apply(this,arguments)},ya=new Map,nc=new Map,jm=!0,Ga=!1;function Bm(e){return e.replace(/[\s,]+/g," ").trim()}function u_(e){return Bm(e.source.body.substring(e.start,e.end))}function l_(e){var t=new Set,n=[];return e.definitions.forEach(function(r){if(r.kind==="FragmentDefinition"){var i=r.name.value,o=u_(r.loc),a=nc.get(i);a&&!a.has(o)?jm&&console.warn("Warning: fragment with name "+i+` already exists.
graphql-tag enforces all fragment names across your application to be unique; read more about
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||nc.set(i,a=new Set),a.add(o),t.has(o)||(t.add(o),n.push(r))}else n.push(r)}),qa(qa({},e),{definitions:n})}function c_(e){var t=new Set(e.definitions);t.forEach(function(r){r.loc&&delete r.loc,Object.keys(r).forEach(function(i){var o=r[i];o&&typeof o=="object"&&t.add(o)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function f_(e){var t=Bm(e);if(!ya.has(t)){var n=F1(e,{experimentalFragmentVariables:Ga,allowLegacyFragmentVariables:Ga});if(!n||n.kind!=="Document")throw new Error("Not a valid GraphQL document.");ya.set(t,c_(l_(n)))}return ya.get(t)}function Zn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];typeof e=="string"&&(e=[e]);var r=e[0];return t.forEach(function(i,o){i&&i.kind==="Document"?r+=i.loc.source.body:r+=i,r+=e[o+1]}),f_(r)}function d_(){ya.clear(),nc.clear()}function p_(){jm=!1}function h_(){Ga=!0}function v_(){Ga=!1}var yi={gql:Zn,resetCaches:d_,disableFragmentWarnings:p_,enableExperimentalFragmentVariables:h_,disableExperimentalFragmentVariables:v_};(function(e){e.gql=yi.gql,e.resetCaches=yi.resetCaches,e.disableFragmentWarnings=yi.disableFragmentWarnings,e.enableExperimentalFragmentVariables=yi.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=yi.disableExperimentalFragmentVariables})(Zn||(Zn={}));Zn.default=Zn;var Jp=pf?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function Nf(){U("createContext"in jr,43);var e=M.createContext[Jp];return e||(Object.defineProperty(M.createContext,Jp,{value:e=M.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var y_=function(e){var t=e.client,n=e.children,r=Nf(),i=M.useContext(r),o=M.useMemo(function(){return w(w({},i),{client:t||i.client})},[i,t]);return U(o.client,44),M.createElement(r.Provider,{value:o},n)};function m_(e){var t=M.useContext(Nf()),n=e||t.client;return U(!!n,47),n}var Zp=!1,g_="useSyncExternalStore",E_=jr[g_],S_=E_||function(e,t,n){var r=t();globalThis.__DEV__!==!1&&!Zp&&r!==t()&&(Zp=!0,globalThis.__DEV__!==!1&&U.error(56));var i=M.useState({inst:{value:r,getSnapshot:t}}),o=i[0].inst,a=i[1];return nS?M.useLayoutEffect(function(){Object.assign(o,{value:r,getSnapshot:t}),Pu(o)&&a({inst:o})},[e,r,t]):Object.assign(o,{value:r,getSnapshot:t}),M.useEffect(function(){return Pu(o)&&a({inst:o}),e(function(){Pu(o)&&a({inst:o})})},[e]),r};function Pu(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch{return!0}}var Kt;(function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"})(Kt||(Kt={}));var eh=new Map;function th(e){var t;switch(e){case Kt.Query:t="Query";break;case Kt.Mutation:t="Mutation";break;case Kt.Subscription:t="Subscription";break}return t}function w_(e){var t=eh.get(e);if(t)return t;var n,r,i;U(!!e&&!!e.kind,57,e);for(var o=[],a=[],s=[],u=[],l=0,c=e.definitions;l<c.length;l++){var f=c[l];if(f.kind==="FragmentDefinition"){o.push(f);continue}if(f.kind==="OperationDefinition")switch(f.operation){case"query":a.push(f);break;case"mutation":s.push(f);break;case"subscription":u.push(f);break}}U(!o.length||a.length||s.length||u.length,58),U(a.length+s.length+u.length<=1,59,e,a.length,u.length,s.length),r=a.length?Kt.Query:Kt.Mutation,!a.length&&!s.length&&(r=Kt.Subscription);var d=a.length?a:s.length?s:u;U(d.length===1,60,e,d.length);var v=d[0];n=v.variableDefinitions||[],v.name&&v.name.kind==="Name"?i=v.name.value:i="data";var g={name:i,type:r,variables:n};return eh.set(e,g),g}function __(e,t){var n=w_(e),r=th(t),i=th(n.type);U(n.type===t,61,r,r,i)}var O_=Object.prototype.hasOwnProperty;function zm(e,t){return t===void 0&&(t=Object.create(null)),k_(m_(t.client),e).useQuery(t)}function k_(e,t){var n=M.useRef();(!n.current||e!==n.current.client||t!==n.current.query)&&(n.current=new b_(e,t,n.current));var r=n.current;return r.forceUpdateState=M.useReducer(function(i){return i+1},0)[1],r}var b_=function(){function e(t,n,r){var i=this;this.client=t,this.query=n,this.forceUpdate=function(){return i.forceUpdateState()},this.ssrDisabledResult=no({loading:!0,data:void 0,error:void 0,networkStatus:W.loading}),this.skipStandbyResult=no({loading:!1,data:void 0,error:void 0,networkStatus:W.ready}),this.toQueryResultCache=new(Bt?WeakMap:Map),__(n,Kt.Query);var o=r&&r.result,a=o&&o.data;a&&(this.previousData=a)}return e.prototype.forceUpdateState=function(){globalThis.__DEV__!==!1&&U.warn(48)},e.prototype.executeQuery=function(t){var n=this,r;t.query&&Object.assign(this,{query:t.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=t);var i=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=((r=this.result)===null||r===void 0?void 0:r.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise(function(o){var a;i.subscribe({next:function(s){a=s},error:function(){o(n.toQueryResult(n.observable.getCurrentResult()))},complete:function(){o(n.toQueryResult(a))}})})},e.prototype.useQuery=function(t){var n=this;this.renderPromises=M.useContext(Nf()).renderPromises,this.useOptions(t);var r=this.useObservableQuery(),i=S_(M.useCallback(function(o){if(n.renderPromises)return function(){};n.forceUpdate=o;var a=function(){var l=n.result,c=r.getCurrentResult();l&&l.loading===c.loading&&l.networkStatus===c.networkStatus&&ie(l.data,c.data)||n.setResult(c)},s=function(l){if(u.unsubscribe(),u=r.resubscribeAfterError(a,s),!O_.call(l,"graphQLErrors"))throw l;var c=n.result;(!c||c&&c.loading||!ie(l,c.error))&&n.setResult({data:c&&c.data,error:l,loading:!1,networkStatus:W.error})},u=r.subscribe(a,s);return function(){setTimeout(function(){return u.unsubscribe()}),n.forceUpdate=function(){return n.forceUpdateState()}}},[r,this.renderPromises,this.client.disableNetworkFetches]),function(){return n.getCurrentResult()},function(){return n.getCurrentResult()});return this.unsafeHandlePartialRefetch(i),this.toQueryResult(i)},e.prototype.useOptions=function(t){var n,r=this.createWatchQueryOptions(this.queryHookOptions=t),i=this.watchQueryOptions;ie(r,i)||(this.watchQueryOptions=r,i&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=((n=this.result)===null||n===void 0?void 0:n.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&this.queryHookOptions.ssr===!1&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||this.watchQueryOptions.fetchPolicy==="standby"?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},e.prototype.getObsQueryOptions=function(){var t=[],n=this.client.defaultOptions.watchQuery;return n&&t.push(n),this.queryHookOptions.defaultOptions&&t.push(this.queryHookOptions.defaultOptions),t.push(Jn(this.observable&&this.observable.options,this.watchQueryOptions)),t.reduce(pa)},e.prototype.createWatchQueryOptions=function(t){var n;t===void 0&&(t={});var r=t.skip;t.ssr,t.onCompleted,t.onError,t.defaultOptions;var i=jt(t,["skip","ssr","onCompleted","onError","defaultOptions"]),o=Object.assign(i,{query:this.query});if(this.renderPromises&&(o.fetchPolicy==="network-only"||o.fetchPolicy==="cache-and-network")&&(o.fetchPolicy="cache-first"),o.variables||(o.variables={}),r){var a=o.fetchPolicy,s=a===void 0?this.getDefaultFetchPolicy():a,u=o.initialFetchPolicy,l=u===void 0?s:u;Object.assign(o,{initialFetchPolicy:l,fetchPolicy:"standby"})}else o.fetchPolicy||(o.fetchPolicy=((n=this.observable)===null||n===void 0?void 0:n.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return o},e.prototype.getDefaultFetchPolicy=function(){var t,n;return((t=this.queryHookOptions.defaultOptions)===null||t===void 0?void 0:t.fetchPolicy)||((n=this.client.defaultOptions.watchQuery)===null||n===void 0?void 0:n.fetchPolicy)||"cache-first"},e.prototype.onCompleted=function(t){},e.prototype.onError=function(t){},e.prototype.useObservableQuery=function(){var t=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=M.useMemo(function(){return{refetch:t.refetch.bind(t),reobserve:t.reobserve.bind(t),fetchMore:t.fetchMore.bind(t),updateQuery:t.updateQuery.bind(t),startPolling:t.startPolling.bind(t),stopPolling:t.stopPolling.bind(t),subscribeToMore:t.subscribeToMore.bind(t)}},[t]);var n=!(this.queryHookOptions.ssr===!1||this.queryHookOptions.skip);return this.renderPromises&&n&&(this.renderPromises.registerSSRObservable(t),t.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(t)),t},e.prototype.setResult=function(t){var n=this.result;n&&n.data&&(this.previousData=n.data),this.result=t,this.forceUpdate(),this.handleErrorOrCompleted(t,n)},e.prototype.handleErrorOrCompleted=function(t,n){var r=this;if(!t.loading){var i=this.toApolloError(t);Promise.resolve().then(function(){i?r.onError(i):t.data&&(n==null?void 0:n.networkStatus)!==t.networkStatus&&t.networkStatus===W.ready&&r.onCompleted(t.data)}).catch(function(o){globalThis.__DEV__!==!1&&U.warn(o)})}},e.prototype.toApolloError=function(t){return mt(t.errors)?new ln({graphQLErrors:t.errors}):t.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(t){var n=this.toQueryResultCache.get(t);if(n)return n;var r=t.data;t.partial;var i=jt(t,["data","partial"]);return this.toQueryResultCache.set(t,n=w(w(w({data:r},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!n.error&&mt(t.errors)&&(n.error=new ln({graphQLErrors:t.errors})),n},e.prototype.unsafeHandlePartialRefetch=function(t){t.partial&&this.queryHookOptions.partialRefetch&&!t.loading&&(!t.data||Object.keys(t.data).length===0)&&this.observable.options.fetchPolicy!=="cache-only"&&(Object.assign(t,{loading:!0,networkStatus:W.refetch}),this.observable.refetch())},e}(),Um={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(N){return N&&typeof N=="object"&&"default"in N?N.default:N}var n=M,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 B,re=1,D=arguments.length;re<D;re++){B=arguments[re];for(var I in B)Object.prototype.hasOwnProperty.call(B,I)&&(k[I]=B[I])}return k},i.apply(this,arguments)},o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ue<"u"?Ue:typeof self<"u"?self:{};function a(N){return N&&N.__esModule&&Object.prototype.hasOwnProperty.call(N,"default")?N.default:N}function s(N,k){return k={exports:{}},N(k,k.exports),k.exports}var u=s(function(N,k){Object.defineProperty(k,"__esModule",{value:!0}),k.BLOCKS=void 0,function(B){B.DOCUMENT="document",B.PARAGRAPH="paragraph",B.HEADING_1="heading-1",B.HEADING_2="heading-2",B.HEADING_3="heading-3",B.HEADING_4="heading-4",B.HEADING_5="heading-5",B.HEADING_6="heading-6",B.OL_LIST="ordered-list",B.UL_LIST="unordered-list",B.LIST_ITEM="list-item",B.HR="hr",B.QUOTE="blockquote",B.EMBEDDED_ENTRY="embedded-entry-block",B.EMBEDDED_ASSET="embedded-asset-block",B.EMBEDDED_RESOURCE="embedded-resource-block",B.TABLE="table",B.TABLE_ROW="table-row",B.TABLE_CELL="table-cell",B.TABLE_HEADER_CELL="table-header-cell"}(k.BLOCKS||(k.BLOCKS={}))});a(u),u.BLOCKS;var l=s(function(N,k){Object.defineProperty(k,"__esModule",{value:!0}),k.INLINES=void 0,function(B){B.HYPERLINK="hyperlink",B.ENTRY_HYPERLINK="entry-hyperlink",B.ASSET_HYPERLINK="asset-hyperlink",B.EMBEDDED_ENTRY="embedded-entry-inline"}(k.INLINES||(k.INLINES={}))});a(l),l.INLINES;var c=s(function(N,k){Object.defineProperty(k,"__esModule",{value:!0});var B;(function(re){re.BOLD="bold",re.ITALIC="italic",re.UNDERLINE="underline",re.CODE="code",re.SUPERSCRIPT="superscript",re.SUBSCRIPT="subscript"})(B||(B={})),k.default=B});a(c);var f=s(function(N,k){var B=o&&o.__spreadArray||function(F,Q,z){if(z||arguments.length===2)for(var H=0,Z=Q.length,Le;H<Z;H++)(Le||!(H in Q))&&(Le||(Le=Array.prototype.slice.call(Q,0,H)),Le[H]=Q[H]);return F.concat(Le||Array.prototype.slice.call(Q))},re=o&&o.__importDefault||function(F){return F&&F.__esModule?F:{default:F}},D;Object.defineProperty(k,"__esModule",{value:!0}),k.V1_MARKS=k.V1_NODE_TYPES=k.TEXT_CONTAINERS=k.HEADINGS=k.CONTAINERS=k.VOID_BLOCKS=k.TABLE_BLOCKS=k.LIST_ITEM_BLOCKS=k.TOP_LEVEL_BLOCKS=void 0;var I=re(c);k.TOP_LEVEL_BLOCKS=[u.BLOCKS.PARAGRAPH,u.BLOCKS.HEADING_1,u.BLOCKS.HEADING_2,u.BLOCKS.HEADING_3,u.BLOCKS.HEADING_4,u.BLOCKS.HEADING_5,u.BLOCKS.HEADING_6,u.BLOCKS.OL_LIST,u.BLOCKS.UL_LIST,u.BLOCKS.HR,u.BLOCKS.QUOTE,u.BLOCKS.EMBEDDED_ENTRY,u.BLOCKS.EMBEDDED_ASSET,u.BLOCKS.EMBEDDED_RESOURCE,u.BLOCKS.TABLE],k.LIST_ITEM_BLOCKS=[u.BLOCKS.PARAGRAPH,u.BLOCKS.HEADING_1,u.BLOCKS.HEADING_2,u.BLOCKS.HEADING_3,u.BLOCKS.HEADING_4,u.BLOCKS.HEADING_5,u.BLOCKS.HEADING_6,u.BLOCKS.OL_LIST,u.BLOCKS.UL_LIST,u.BLOCKS.HR,u.BLOCKS.QUOTE,u.BLOCKS.EMBEDDED_ENTRY,u.BLOCKS.EMBEDDED_ASSET,u.BLOCKS.EMBEDDED_RESOURCE],k.TABLE_BLOCKS=[u.BLOCKS.TABLE,u.BLOCKS.TABLE_ROW,u.BLOCKS.TABLE_CELL,u.BLOCKS.TABLE_HEADER_CELL],k.VOID_BLOCKS=[u.BLOCKS.HR,u.BLOCKS.EMBEDDED_ENTRY,u.BLOCKS.EMBEDDED_ASSET,u.BLOCKS.EMBEDDED_RESOURCE],k.CONTAINERS=(D={},D[u.BLOCKS.OL_LIST]=[u.BLOCKS.LIST_ITEM],D[u.BLOCKS.UL_LIST]=[u.BLOCKS.LIST_ITEM],D[u.BLOCKS.LIST_ITEM]=k.LIST_ITEM_BLOCKS,D[u.BLOCKS.QUOTE]=[u.BLOCKS.PARAGRAPH],D[u.BLOCKS.TABLE]=[u.BLOCKS.TABLE_ROW],D[u.BLOCKS.TABLE_ROW]=[u.BLOCKS.TABLE_CELL,u.BLOCKS.TABLE_HEADER_CELL],D[u.BLOCKS.TABLE_CELL]=[u.BLOCKS.PARAGRAPH],D[u.BLOCKS.TABLE_HEADER_CELL]=[u.BLOCKS.PARAGRAPH],D),k.HEADINGS=[u.BLOCKS.HEADING_1,u.BLOCKS.HEADING_2,u.BLOCKS.HEADING_3,u.BLOCKS.HEADING_4,u.BLOCKS.HEADING_5,u.BLOCKS.HEADING_6],k.TEXT_CONTAINERS=B([u.BLOCKS.PARAGRAPH],k.HEADINGS,!0),k.V1_NODE_TYPES=[u.BLOCKS.DOCUMENT,u.BLOCKS.PARAGRAPH,u.BLOCKS.HEADING_1,u.BLOCKS.HEADING_2,u.BLOCKS.HEADING_3,u.BLOCKS.HEADING_4,u.BLOCKS.HEADING_5,u.BLOCKS.HEADING_6,u.BLOCKS.OL_LIST,u.BLOCKS.UL_LIST,u.BLOCKS.LIST_ITEM,u.BLOCKS.HR,u.BLOCKS.QUOTE,u.BLOCKS.EMBEDDED_ENTRY,u.BLOCKS.EMBEDDED_ASSET,l.INLINES.HYPERLINK,l.INLINES.ENTRY_HYPERLINK,l.INLINES.ASSET_HYPERLINK,l.INLINES.EMBEDDED_ENTRY,"text"],k.V1_MARKS=[I.default.BOLD,I.default.CODE,I.default.ITALIC,I.default.UNDERLINE]});a(f),f.V1_MARKS,f.V1_NODE_TYPES,f.TEXT_CONTAINERS,f.HEADINGS,f.CONTAINERS,f.VOID_BLOCKS,f.TABLE_BLOCKS,f.LIST_ITEM_BLOCKS,f.TOP_LEVEL_BLOCKS;var d=s(function(N,k){Object.defineProperty(k,"__esModule",{value:!0})});a(d);var v=s(function(N,k){Object.defineProperty(k,"__esModule",{value:!0})});a(v);var g=s(function(N,k){Object.defineProperty(k,"__esModule",{value:!0});var B={nodeType:u.BLOCKS.DOCUMENT,data:{},content:[{nodeType:u.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};k.default=B});a(g);var m=s(function(N,k){Object.defineProperty(k,"__esModule",{value:!0}),k.isText=k.isBlock=k.isInline=void 0;function B(F,Q){for(var z=0,H=Object.keys(F);z<H.length;z++){var Z=H[z];if(Q===F[Z])return!0}return!1}function re(F){return B(l.INLINES,F.nodeType)}k.isInline=re;function D(F){return B(u.BLOCKS,F.nodeType)}k.isBlock=D;function I(F){return F.nodeType==="text"}k.isText=I});a(m),m.isText,m.isBlock,m.isInline;var S=s(function(N,k){var B=o&&o.__createBinding||(Object.create?function(z,H,Z,Le){Le===void 0&&(Le=Z);var Ge=Object.getOwnPropertyDescriptor(H,Z);(!Ge||("get"in Ge?!H.__esModule:Ge.writable||Ge.configurable))&&(Ge={enumerable:!0,get:function(){return H[Z]}}),Object.defineProperty(z,Le,Ge)}:function(z,H,Z,Le){Le===void 0&&(Le=Z),z[Le]=H[Z]}),re=o&&o.__setModuleDefault||(Object.create?function(z,H){Object.defineProperty(z,"default",{enumerable:!0,value:H})}:function(z,H){z.default=H}),D=o&&o.__exportStar||function(z,H){for(var Z in z)Z!=="default"&&!Object.prototype.hasOwnProperty.call(H,Z)&&B(H,z,Z)},I=o&&o.__importStar||function(z){if(z&&z.__esModule)return z;var H={};if(z!=null)for(var Z in z)Z!=="default"&&Object.prototype.hasOwnProperty.call(z,Z)&&B(H,z,Z);return re(H,z),H},F=o&&o.__importDefault||function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(k,"__esModule",{value:!0}),k.helpers=k.EMPTY_DOCUMENT=k.MARKS=k.INLINES=k.BLOCKS=void 0,Object.defineProperty(k,"BLOCKS",{enumerable:!0,get:function(){return u.BLOCKS}}),Object.defineProperty(k,"INLINES",{enumerable:!0,get:function(){return l.INLINES}}),Object.defineProperty(k,"MARKS",{enumerable:!0,get:function(){return F(c).default}}),D(f,k),D(d,k),D(v,k),Object.defineProperty(k,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return F(g).default}});var Q=I(m);k.helpers=Q});a(S);var p=S.helpers;S.EMPTY_DOCUMENT;var h=S.MARKS,y=S.INLINES,E=S.BLOCKS;function b(N,k){return n.isValidElement(N)&&N.key===null?n.cloneElement(N,{key:k}):N}function _(N,k){return N.map(function(B,re){return b(O(B,k),re)})}function O(N,k){var B=k.renderNode,re=k.renderMark,D=k.renderText;if(p.isText(N))return N.marks.reduce(function(F,Q){return re[Q.type]?re[Q.type](F):F},D?D(N.value):N.value);var I=_(N.content,k);return!N.nodeType||!B[N.nodeType]?r.createElement(r.Fragment,null,I):B[N.nodeType](N,I)}var T,$,j=(T={},T[E.DOCUMENT]=function(N,k){return k},T[E.PARAGRAPH]=function(N,k){return r.createElement("p",null,k)},T[E.HEADING_1]=function(N,k){return r.createElement("h1",null,k)},T[E.HEADING_2]=function(N,k){return r.createElement("h2",null,k)},T[E.HEADING_3]=function(N,k){return r.createElement("h3",null,k)},T[E.HEADING_4]=function(N,k){return r.createElement("h4",null,k)},T[E.HEADING_5]=function(N,k){return r.createElement("h5",null,k)},T[E.HEADING_6]=function(N,k){return r.createElement("h6",null,k)},T[E.EMBEDDED_ENTRY]=function(N,k){return r.createElement("div",null,k)},T[E.EMBEDDED_RESOURCE]=function(N,k){return r.createElement("div",null,k)},T[E.UL_LIST]=function(N,k){return r.createElement("ul",null,k)},T[E.OL_LIST]=function(N,k){return r.createElement("ol",null,k)},T[E.LIST_ITEM]=function(N,k){return r.createElement("li",null,k)},T[E.QUOTE]=function(N,k){return r.createElement("blockquote",null,k)},T[E.HR]=function(){return r.createElement("hr",null)},T[E.TABLE]=function(N,k){return r.createElement("table",null,r.createElement("tbody",null,k))},T[E.TABLE_ROW]=function(N,k){return r.createElement("tr",null,k)},T[E.TABLE_HEADER_CELL]=function(N,k){return r.createElement("th",null,k)},T[E.TABLE_CELL]=function(N,k){return r.createElement("td",null,k)},T[y.ASSET_HYPERLINK]=function(N){return ke(y.ASSET_HYPERLINK,N)},T[y.ENTRY_HYPERLINK]=function(N){return ke(y.ENTRY_HYPERLINK,N)},T[y.EMBEDDED_ENTRY]=function(N){return ke(y.EMBEDDED_ENTRY,N)},T[y.HYPERLINK]=function(N,k){return r.createElement("a",{href:N.data.uri},k)},T),G=($={},$[h.BOLD]=function(N){return r.createElement("b",null,N)},$[h.ITALIC]=function(N){return r.createElement("i",null,N)},$[h.UNDERLINE]=function(N){return r.createElement("u",null,N)},$[h.CODE]=function(N){return r.createElement("code",null,N)},$[h.SUPERSCRIPT]=function(N){return r.createElement("sup",null,N)},$[h.SUBSCRIPT]=function(N){return r.createElement("sub",null,N)},$);function ke(N,k){return r.createElement("span",{key:k.data.target.sys.id},"type: ",k.nodeType," id: ",k.data.target.sys.id)}function gt(N,k){return k===void 0&&(k={}),N?O(N,{renderNode:i(i({},j),k.renderNode),renderMark:i(i({},G),k.renderMark),renderText:k.renderText}):null}e.documentToReactComponents=gt})(Um);var rc={},_o={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BLOCKS=void 0,function(t){t.DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell"}(e.BLOCKS||(e.BLOCKS={}))})(_o);var ks={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.INLINES=void 0,function(t){t.HYPERLINK="hyperlink",t.ENTRY_HYPERLINK="entry-hyperlink",t.ASSET_HYPERLINK="asset-hyperlink",t.EMBEDDED_ENTRY="embedded-entry-inline"}(e.INLINES||(e.INLINES={}))})(ks);var bs={};Object.defineProperty(bs,"__esModule",{value:!0});var ic;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(ic||(ic={}));bs.default=ic;var $m={};(function(e){var t=Ue&&Ue.__spreadArray||function(s,u,l){if(l||arguments.length===2)for(var c=0,f=u.length,d;c<f;c++)(d||!(c in u))&&(d||(d=Array.prototype.slice.call(u,0,c)),d[c]=u[c]);return s.concat(d||Array.prototype.slice.call(u))},n=Ue&&Ue.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},r;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var i=_o,o=ks,a=n(bs);e.TOP_LEVEL_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE,i.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[i.BLOCKS.TABLE,i.BLOCKS.TABLE_ROW,i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[i.BLOCKS.HR,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(r={},r[i.BLOCKS.OL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.UL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,r[i.BLOCKS.QUOTE]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE]=[i.BLOCKS.TABLE_ROW],r[i.BLOCKS.TABLE_ROW]=[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],r[i.BLOCKS.TABLE_CELL]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE_HEADER_CELL]=[i.BLOCKS.PARAGRAPH],r),e.HEADINGS=[i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([i.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[i.BLOCKS.DOCUMENT,i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.LIST_ITEM,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,o.INLINES.HYPERLINK,o.INLINES.ENTRY_HYPERLINK,o.INLINES.ASSET_HYPERLINK,o.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[a.default.BOLD,a.default.CODE,a.default.ITALIC,a.default.UNDERLINE]})($m);var Qm={};Object.defineProperty(Qm,"__esModule",{value:!0});var Vm={};Object.defineProperty(Vm,"__esModule",{value:!0});var Df={};Object.defineProperty(Df,"__esModule",{value:!0});var nh=_o,T_={nodeType:nh.BLOCKS.DOCUMENT,data:{},content:[{nodeType:nh.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Df.default=T_;var On={};Object.defineProperty(On,"__esModule",{value:!0});On.isText=On.isBlock=On.isInline=void 0;var C_=_o,x_=ks;function Km(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t===e[i])return!0}return!1}function N_(e){return Km(x_.INLINES,e.nodeType)}On.isInline=N_;function D_(e){return Km(C_.BLOCKS,e.nodeType)}On.isBlock=D_;function I_(e){return e.nodeType==="text"}On.isText=I_;(function(e){var t=Ue&&Ue.__createBinding||(Object.create?function(f,d,v,g){g===void 0&&(g=v);var m=Object.getOwnPropertyDescriptor(d,v);(!m||("get"in m?!d.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return d[v]}}),Object.defineProperty(f,g,m)}:function(f,d,v,g){g===void 0&&(g=v),f[g]=d[v]}),n=Ue&&Ue.__setModuleDefault||(Object.create?function(f,d){Object.defineProperty(f,"default",{enumerable:!0,value:d})}:function(f,d){f.default=d}),r=Ue&&Ue.__exportStar||function(f,d){for(var v in f)v!=="default"&&!Object.prototype.hasOwnProperty.call(d,v)&&t(d,f,v)},i=Ue&&Ue.__importStar||function(f){if(f&&f.__esModule)return f;var d={};if(f!=null)for(var v in f)v!=="default"&&Object.prototype.hasOwnProperty.call(f,v)&&t(d,f,v);return n(d,f),d},o=Ue&&Ue.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var a=_o;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return a.BLOCKS}});var s=ks;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return s.INLINES}});var u=bs;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return o(u).default}}),r($m,e),r(Qm,e),r(Vm,e);var l=Df;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return o(l).default}});var c=i(On);e.helpers=c})(rc);const L_="_link_bh2lp_1",R_={link:L_};/**
* @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 ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ao.apply(this,arguments)}var $n;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})($n||($n={}));const rh="popstate";function P_(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return oc("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Ya(i)}return M_(t,n,null,e)}function Ct(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function A_(){return Math.random().toString(36).substr(2,8)}function ih(e,t){return{usr:e.state,key:e.key,idx:t}}function oc(e,t,n,r){return n===void 0&&(n=null),ao({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ts(t):t,{state:n,key:t&&t.key||r||A_()})}function Ya(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 Ts(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 M_(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=$n.Pop,u=null,l=c();l==null&&(l=0,a.replaceState(ao({},a.state,{idx:l}),""));function c(){return(a.state||{idx:null}).idx}function f(){s=$n.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=$n.Push;let h=oc(m.location,S,p);n&&n(h,S),l=c()+1;let y=ih(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=$n.Replace;let h=oc(m.location,S,p);n&&n(h,S),l=c();let y=ih(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:Ya(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(rh,f),u=S,()=>{i.removeEventListener(rh,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 oh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(oh||(oh={}));function Hm(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 F_(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ts(e):e;return{pathname:n?n.startsWith("/")?n:j_(n,t):t,search:B_(r),hash:z_(i)}}function j_(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 Au(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 <Link to="..."> and the router will parse it for you.'}function Wm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function qm(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Ts(e):(i=ao({},e),Ct(!i.pathname||!i.pathname.includes("?"),Au("?","pathname","search",i)),Ct(!i.pathname||!i.pathname.includes("#"),Au("#","pathname","hash",i)),Ct(!i.search||!i.search.includes("#"),Au("#","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=F_(i,s),l=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(l||c)&&(u.pathname+="/"),u}const Gm=e=>e.join("/").replace(/\/\/+/g,"/"),B_=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,z_=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Ym=["post","put","patch","delete"];new Set(Ym);const U_=["get",...Ym];new Set(U_);/**
* 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 ac(){return ac=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ac.apply(this,arguments)}const Xm=M.createContext(null),Oo=M.createContext(null),If=M.createContext(null),Cs=M.createContext({outlet:null,matches:[],isDataRoute:!1});function $_(e,t){let{relative:n}=t===void 0?{}:t;xs()||Ct(!1);let{basename:r,navigator:i}=M.useContext(Oo),{hash:o,pathname:a,search:s}=Zm(e,{relative:n}),u=a;return r!=="/"&&(u=a==="/"?r:Gm([r,a])),i.createHref({pathname:u,search:s,hash:o})}function xs(){return M.useContext(If)!=null}function Ns(){return xs()||Ct(!1),M.useContext(If).location}function Jm(e){M.useContext(Oo).static||M.useLayoutEffect(e)}function Q_(){let{isDataRoute:e}=M.useContext(Cs);return e?q_():V_()}function V_(){xs()||Ct(!1);let e=M.useContext(Xm),{basename:t,navigator:n}=M.useContext(Oo),{matches:r}=M.useContext(Cs),{pathname:i}=Ns(),o=JSON.stringify(Wm(r).map(u=>u.pathnameBase)),a=M.useRef(!1);return Jm(()=>{a.current=!0}),M.useCallback(function(u,l){if(l===void 0&&(l={}),!a.current)return;if(typeof u=="number"){n.go(u);return}let c=qm(u,JSON.parse(o),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Gm([t,c.pathname])),(l.replace?n.replace:n.push)(c,l.state,l)},[t,n,o,i,e])}function Zm(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=M.useContext(Cs),{pathname:i}=Ns(),o=JSON.stringify(Wm(r).map(a=>a.pathnameBase));return M.useMemo(()=>qm(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}var sc;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(sc||(sc={}));var uc;(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"})(uc||(uc={}));function K_(e){let t=M.useContext(Xm);return t||Ct(!1),t}function H_(e){let t=M.useContext(Cs);return t||Ct(!1),t}function W_(e){let t=H_(),n=t.matches[t.matches.length-1];return n.route.id||Ct(!1),n.route.id}function q_(){let{router:e}=K_(sc.UseNavigateStable),t=W_(uc.UseNavigateStable),n=M.useRef(!1);return Jm(()=>{n.current=!0}),M.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ac({fromRouteId:t},o)))},[e,t])}function G_(e){let{basename:t="/",children:n=null,location:r,navigationType:i=$n.Pop,navigator:o,static:a=!1}=e;xs()&&Ct(!1);let s=t.replace(/^\/*/,"/"),u=M.useMemo(()=>({basename:s,navigator:o,static:a}),[s,o,a]);typeof r=="string"&&(r=Ts(r));let{pathname:l="/",search:c="",hash:f="",state:d=null,key:v="default"}=r,g=M.useMemo(()=>{let m=Hm(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:M.createElement(Oo.Provider,{value:u},M.createElement(If.Provider,{children:n,value:g}))}var ah;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(ah||(ah={}));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 lc(){return lc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lc.apply(this,arguments)}function Y_(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function X_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function J_(e,t){return e.button===0&&(!t||t==="_self")&&!X_(e)}const Z_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],sh="startTransition";function eO(e){let{basename:t,children:n,window:r}=e,i=M.useRef();i.current==null&&(i.current=P_({window:r,v5Compat:!0}));let o=i.current,[a,s]=M.useState({action:o.action,location:o.location}),u=M.useCallback(l=>{sh in jr?jr[sh](()=>s(l)):s(l)},[s]);return M.useLayoutEffect(()=>o.listen(u),[o,u]),M.createElement(G_,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o})}const tO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,e0=M.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:u,to:l,preventScrollReset:c}=t,f=Y_(t,Z_),{basename:d}=M.useContext(Oo),v,g=!1;if(typeof l=="string"&&nO.test(l)&&(v=l,tO))try{let h=new URL(window.location.href),y=l.startsWith("//")?new URL(h.protocol+l):new URL(l),E=Hm(y.pathname,d);y.origin===h.origin&&E!=null?l=E+y.search+y.hash:g=!0}catch{}let m=$_(l,{relative:i}),S=rO(l,{replace:a,state:s,target:u,preventScrollReset:c,relative:i});function p(h){r&&r(h),h.defaultPrevented||S(h)}return M.createElement("a",lc({},f,{href:v||m,onClick:g||o?r:p,ref:n,target:u}))});var uh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(uh||(uh={}));var lh;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(lh||(lh={}));function rO(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a}=t===void 0?{}:t,s=Q_(),u=Ns(),l=Zm(e,{relative:a});return M.useCallback(c=>{if(J_(c,n)){c.preventDefault();let f=r!==void 0?r:Ya(u)===Ya(l);s(e,{replace:f,state:i,preventScrollReset:o,relative:a})}},[u,s,l,r,i,n,e,o,a])}const rn=({text:e,link:t,style:n})=>R.jsx("div",{className:R_.link,children:R.jsx(e0,{style:n,to:t,children:e})}),t0=({json:e,url:t,images:n,entries:r})=>{const i=new Map;if(n!==void 0)for(const u of n)i.set(u.sys.id,u);const o=new Map;if(r!==void 0)for(const u of r)o.set(u.sys.id,u);const a=t.startsWith("tym/"),s=t=="tym";return Um.documentToReactComponents(e,{renderText:u=>u.split(`
`).reduce((l,c,f)=>[...l,f>0&&R.jsx("br",{},f),c],new Array),renderNode:{[rc.BLOCKS.EMBEDDED_ASSET]:u=>{const l=i.get(u.data.target.sys.id);return R.jsx("img",{src:`${l.url}`,alt:l.title,style:{maxWidth:"min(100% - 2rem, 30rem)",margin:"0 auto",width:a?"17.5rem":""}})},[rc.BLOCKS.EMBEDDED_ENTRY]:u=>{const l=o.get(u.data.target.sys.id);return R.jsxs("div",{style:{width:s?"17.5rem":"",display:s?"inline-block":""},children:[l.nhledovObrzek&&R.jsx("a",{href:l.url,children:R.jsx("img",{style:{maxWidth:"100%",maxHeight:"20rem",display:"block"},src:l.nhledovObrzek.url})}),R.jsx(rn,{style:{marginTop:"1rem",marginBottom:"1rem",display:"block",textAlign:"center"},text:l.title,link:l.url})]})}}})},iO=({url:e})=>{var o,a;const{data:t}=zm(Zn`{
landingPageCollection(limit: 1, where: {url: "${e}"}) {
items {
title
content {
json
links {
entries {
block {
sys {
id
}
... on LandingPage {
title
url
nhledovObrzek {
url
}
}
}
}
assets {
block {
sys {
id
}
url
title
width
height
description
}
}
}
}
}
}
}`);if(!t)return R.jsx(R.Fragment,{});const n=(o=t.landingPageCollection.items[0])==null?void 0:o.content,r=(a=t.landingPageCollection.items[0])==null?void 0:a.title,i=R.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 ",R.jsx("b",{children:"Karla Košnara"})," ","na emailové adrese ",R.jsx("b",{children:"karel.kosnar (zavináč) gmail.com"})," nebo na telefonu ",R.jsx("b",{children:"608 906 987"}),"."]});return n==null||r===void 0?R.jsxs("div",{className:Zd.content,children:[i,R.jsx("h1",{children:"Stránka nenalezena"})]}):R.jsx(R.Fragment,{children:R.jsxs("div",{className:Zd.content,children:[i,R.jsx("h1",{children:r}),R.jsx(t0,{json:n.json,images:n.links.assets.block,entries:n.links.entries.block,url:e})]})})},oO="_title_1arxy_1",aO="_buttonsWrapper_1arxy_6",sO="_headerImage_1arxy_25",Go={title:oO,buttonsWrapper:aO,headerImage:sO},ch=()=>R.jsxs(R.Fragment,{children:[R.jsxs("div",{className:Go.MainNav,children:[R.jsxs("div",{className:Go.title,children:[R.jsx(e0,{to:"/",children:"Dětský jógový stanový tábor ve Střílkách"}),R.jsx("p",{style:{fontSize:"1rem",padding:0,margin:0},children:"Tradice od roku 2003"})]}),R.jsx("img",{className:Go.headerImage,src:"/tabor.jpg"})]}),R.jsxs("nav",{className:Go.buttonsWrapper,children:[R.jsx(rn,{text:"Přihláška",link:"/prihlaska"}),R.jsx(rn,{text:"Tábor 2023",link:"/tajemny-pripad-v-egypte"}),R.jsx(rn,{text:"Filozofie",link:"/filozofie"}),R.jsx(rn,{text:"Tým",link:"/tym"}),R.jsx(rn,{text:"Minulé tábory",link:"/minule-tabory"}),R.jsx(rn,{text:"Zpěvník",link:"/zpevnik"}),R.jsx(rn,{text:"Kontakt",link:"/kontakt"})]})]}),uO="_innerWrapper_wp17l_1",lO="_row_wp17l_14",cO="_img_wp17l_18",fO="_imgWrapper_wp17l_23",dO="_textWrapper_wp17l_27",pO="_block_wp17l_31",hO="_textButton_wp17l_35",Fn={innerWrapper:uO,row:lO,img:cO,imgWrapper:fO,textWrapper:dO,block:pO,textButton:hO},vO=({src:e,text:t,title:n,buttonText:r,url:i})=>R.jsx("div",{className:Fn.row,children:R.jsxs("div",{className:Fn.innerWrapper,children:[R.jsx("div",{className:Fn.imgWrapper,children:R.jsx("img",{src:e,className:Fn.img})}),R.jsxs("div",{className:Fn.textWrapper,children:[R.jsx("h2",{children:n}),R.jsx(t0,{json:t,url:i}),r&&R.jsx("a",{className:Fn.textButton,href:i,children:r})]})]})}),yO=()=>{const{data:e}=zm(Zn`{
landingPageCollection(limit: 4, where: {zobrazitNaHlavniStrance: true}) {
items {
title
shrnutiNaHlavniStrance {
json
}
nhledovObrzek {
url
}
poradiNaHlavniStrance
textTlacitkaSOdkazem
zobrazitTlacitkoSOdkazem
url
content {
json
links {
assets {
block {
sys {
id
}
url
title
width
height
description
}
}
}
}
}
}
}`);return e?R.jsx("div",{className:Fn.outerWrapper,children:e.landingPageCollection.items.map(t=>t).sort((t,n)=>t.poradiNaHlavniStrance-n.poradiNaHlavniStrance).map(t=>R.jsx(vO,{buttonText:t.zobrazitTlacitkoSOdkazem?t.textTlacitkaSOdkazem:void 0,url:t.url,title:t.title,src:t.nhledovObrzek.url,text:t.shrnutiNaHlavniStrance.json}))}):R.jsx(R.Fragment,{})};function mO(){const t=Ns().pathname.slice(1);return t===""?R.jsxs(R.Fragment,{children:[R.jsx(ch,{}),R.jsx(yO,{})]}):R.jsxs(R.Fragment,{children:[R.jsx(ch,{}),R.jsx(iO,{url:t})]})}function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},he.apply(this,arguments)}function fr(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function n0(e){if(!fr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=n0(e[n])}),t}function Ht(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return fr(e)&&fr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(fr(t[i])&&i in e&&fr(e[i])?r[i]=Ht(e[i],t[i],n):n.clone?r[i]=fr(t[i])?n0(t[i]):t[i]:r[i]=t[i])}),r}function Gr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function r0(e){if(typeof e!="string")throw new Error(Gr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function i0(e,t){const n={...t};return Object.keys(e).forEach(r=>{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]=i0(i[a],o[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function gO(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}function EO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function SO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var wO=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(SO(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=EO(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ze="-ms-",Xa="-moz-",Y="-webkit-",o0="comm",Lf="rule",Rf="decl",_O="@import",a0="@keyframes",OO="@layer",kO=Math.abs,Ds=String.fromCharCode,bO=Object.assign;function TO(e,t){return Ae(e,0)^45?(((t<<2^Ae(e,0))<<2^Ae(e,1))<<2^Ae(e,2))<<2^Ae(e,3):0}function s0(e){return e.trim()}function CO(e,t){return(e=t.exec(e))?e[0]:e}function X(e,t,n){return e.replace(t,n)}function cc(e,t){return e.indexOf(t)}function Ae(e,t){return e.charCodeAt(t)|0}function so(e,t,n){return e.slice(t,n)}function It(e){return e.length}function Pf(e){return e.length}function Yo(e,t){return t.push(e),e}function xO(e,t){return e.map(t).join("")}var Is=1,Yr=1,u0=0,tt=0,_e=0,ni="";function Ls(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Is,column:Yr,length:a,return:""}}function mi(e,t){return bO(Ls("",null,null,"",null,null,0),e,{length:-e.length},t)}function NO(){return _e}function DO(){return _e=tt>0?Ae(ni,--tt):0,Yr--,_e===10&&(Yr=1,Is--),_e}function at(){return _e=tt<u0?Ae(ni,tt++):0,Yr++,_e===10&&(Yr=1,Is++),_e}function Ft(){return Ae(ni,tt)}function ma(){return tt}function ko(e,t){return so(ni,e,t)}function uo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function l0(e){return Is=Yr=1,u0=It(ni=e),tt=0,[]}function c0(e){return ni="",e}function ga(e){return s0(ko(tt-1,fc(e===91?e+2:e===40?e+1:e)))}function IO(e){for(;(_e=Ft())&&_e<33;)at();return uo(e)>2||uo(_e)>3?"":" "}function LO(e,t){for(;--t&&at()&&!(_e<48||_e>102||_e>57&&_e<65||_e>70&&_e<97););return ko(e,ma()+(t<6&&Ft()==32&&at()==32))}function fc(e){for(;at();)switch(_e){case e:return tt;case 34:case 39:e!==34&&e!==39&&fc(_e);break;case 40:e===41&&fc(e);break;case 92:at();break}return tt}function RO(e,t){for(;at()&&e+_e!==47+10;)if(e+_e===42+42&&Ft()===47)break;return"/*"+ko(t,tt-1)+"*"+Ds(e===47?e:at())}function PO(e){for(;!uo(Ft());)at();return ko(e,tt)}function AO(e){return c0(Ea("",null,null,null,[""],e=l0(e),0,[0],e))}function Ea(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){cc(O+=X(ga(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:O+=ga(h);break;case 9:case 10:case 13:case 32:O+=IO(g);break;case 92:O+=LO(ma()-1,7);continue;case 47:switch(Ft()){case 42:case 47:Yo(MO(RO(at(),ma()),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&&Yo(v>32?dh(O+";",r,n,f-1):dh(X(O," ","")+";",r,n,f-2),u);break;case 59:O+=";";default:if(Yo(_=fh(O,t,n,l,c,i,s,y,E=[],b=[],f),o),h===123)if(c===0)Ea(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:Ea(e,_,_,r&&Yo(fh(e,_,_,0,0,i,s,y,i,E=[],f),b),i,b,f,s,r?E:b);break;default:Ea(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&&DO()==125)continue}switch(O+=Ds(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+=ga(at())),d=Ft(),c=f=It(y=O+=PO(ma())),h++;break;case 45:g===45&&It(O)==2&&(m=0)}}return o}function fh(e,t,n,r,i,o,a,s,u,l,c){for(var f=i-1,d=i===0?o:[""],v=Pf(d),g=0,m=0,S=0;g<r;++g)for(var p=0,h=so(e,f+1,f=kO(m=a[g])),y=e;p<v;++p)(y=s0(m>0?d[p]+" "+h:X(h,/&\f/g,d[p])))&&(u[S++]=y);return Ls(e,t,n,i===0?Lf:s,u,l,c)}function MO(e,t,n){return Ls(e,t,n,o0,Ds(NO()),so(e,2,-2),0)}function dh(e,t,n,r){return Ls(e,t,n,Rf,so(e,0,r),so(e,r+1,-1),r)}function Mr(e,t){for(var n="",r=Pf(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function FO(e,t,n,r){switch(e.type){case OO:if(e.children.length)break;case _O:case Rf:return e.return=e.return||e.value;case o0:return"";case a0:return e.return=e.value+"{"+Mr(e.children,r)+"}";case Lf:e.value=e.props.join(",")}return It(n=Mr(e.children,r))?e.return=e.value+"{"+n+"}":""}function jO(e){var t=Pf(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function BO(e){return function(t){t.root||(t=t.return)&&e(t)}}var zO=function(t,n,r){for(var i=0,o=0;i=o,o=Ft(),i===38&&o===12&&(n[r]=1),!uo(o);)at();return ko(t,tt)},UO=function(t,n){var r=-1,i=44;do switch(uo(i)){case 0:i===38&&Ft()===12&&(n[r]=1),t[r]+=zO(tt-1,n,r);break;case 2:t[r]+=ga(i);break;case 4:if(i===44){t[++r]=Ft()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ds(i)}while(i=at());return t},$O=function(t,n){return c0(UO(l0(t),n))},ph=new WeakMap,QO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ph.get(r))&&!i){ph.set(t,!0);for(var o=[],a=$O(n,o),s=r.props,u=0,l=0;u<a.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=o[u]?a[u].replace(/&\f/g,s[c]):s[c]+" "+a[u]}}},VO=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function f0(e,t){switch(TO(e,t)){case 5103:return Y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+Xa+e+ze+e+e;case 6828:case 4268:return Y+e+ze+e+e;case 6165:return Y+e+ze+"flex-"+e+e;case 5187:return Y+e+X(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+ze+"flex-$1$2")+e;case 5443:return Y+e+ze+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return Y+e+ze+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+ze+X(e,"shrink","negative")+e;case 5292:return Y+e+ze+X(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+X(e,"-grow","")+Y+e+ze+X(e,"grow","positive")+e;case 4554:return Y+X(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+ze+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,Y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(It(e)-1-t>6)switch(Ae(e,t+1)){case 109:if(Ae(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+Xa+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~cc(e,"stretch")?f0(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-(~cc(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 KO=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Rf:t.return=f0(t.value,t.length);break;case a0:return Mr([mi(t,{value:X(t.value,"@","@"+Y)})],i);case Lf:if(t.length)return xO(t.props,function(o){switch(CO(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Mr([mi(t,{props:[X(o,/:(read-\w+)/,":"+Xa+"$1")]})],i);case"::placeholder":return Mr([mi(t,{props:[X(o,/:(plac\w+)/,":"+Y+"input-$1")]}),mi(t,{props:[X(o,/:(plac\w+)/,":"+Xa+"$1")]}),mi(t,{props:[X(o,/:(plac\w+)/,ze+"input-$1")]})],i)}return""})}},HO=[KO],WO=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||HO,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<S.length;p++)o[S[p]]=!0;s.push(m)});var u,l=[QO,VO];{var c,f=[FO,BO(function(m){c.insert(m)})],d=jO(l.concat(i,f)),v=function(S){return Mr(AO(S),d)};u=function(S,p,h,y){c=h,v(S?S+"{"+p.styles+"}":p.styles),y&&(g.inserted[p.name]=!0)}}var g={key:n,sheet:new wO({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return g.sheet.hydrate(s),g},d0={exports:{}},te={};/** @license React v16.13.1
* react-is.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 Ie=typeof Symbol=="function"&&Symbol.for,Af=Ie?Symbol.for("react.element"):60103,Mf=Ie?Symbol.for("react.portal"):60106,Rs=Ie?Symbol.for("react.fragment"):60107,Ps=Ie?Symbol.for("react.strict_mode"):60108,As=Ie?Symbol.for("react.profiler"):60114,Ms=Ie?Symbol.for("react.provider"):60109,Fs=Ie?Symbol.for("react.context"):60110,Ff=Ie?Symbol.for("react.async_mode"):60111,js=Ie?Symbol.for("react.concurrent_mode"):60111,Bs=Ie?Symbol.for("react.forward_ref"):60112,zs=Ie?Symbol.for("react.suspense"):60113,qO=Ie?Symbol.for("react.suspense_list"):60120,Us=Ie?Symbol.for("react.memo"):60115,$s=Ie?Symbol.for("react.lazy"):60116,GO=Ie?Symbol.for("react.block"):60121,YO=Ie?Symbol.for("react.fundamental"):60117,XO=Ie?Symbol.for("react.responder"):60118,JO=Ie?Symbol.for("react.scope"):60119;function ct(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Af:switch(e=e.type,e){case Ff:case js:case Rs:case As:case Ps:case zs:return e;default:switch(e=e&&e.$$typeof,e){case Fs:case Bs:case $s:case Us:case Ms:return e;default:return t}}case Mf:return t}}}function p0(e){return ct(e)===js}te.AsyncMode=Ff;te.ConcurrentMode=js;te.ContextConsumer=Fs;te.ContextProvider=Ms;te.Element=Af;te.ForwardRef=Bs;te.Fragment=Rs;te.Lazy=$s;te.Memo=Us;te.Portal=Mf;te.Profiler=As;te.StrictMode=Ps;te.Suspense=zs;te.isAsyncMode=function(e){return p0(e)||ct(e)===Ff};te.isConcurrentMode=p0;te.isContextConsumer=function(e){return ct(e)===Fs};te.isContextProvider=function(e){return ct(e)===Ms};te.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Af};te.isForwardRef=function(e){return ct(e)===Bs};te.isFragment=function(e){return ct(e)===Rs};te.isLazy=function(e){return ct(e)===$s};te.isMemo=function(e){return ct(e)===Us};te.isPortal=function(e){return ct(e)===Mf};te.isProfiler=function(e){return ct(e)===As};te.isStrictMode=function(e){return ct(e)===Ps};te.isSuspense=function(e){return ct(e)===zs};te.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Rs||e===js||e===As||e===Ps||e===zs||e===qO||typeof e=="object"&&e!==null&&(e.$$typeof===$s||e.$$typeof===Us||e.$$typeof===Ms||e.$$typeof===Fs||e.$$typeof===Bs||e.$$typeof===YO||e.$$typeof===XO||e.$$typeof===JO||e.$$typeof===GO)};te.typeOf=ct;d0.exports=te;var ZO=d0.exports,h0=ZO,ek={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tk={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},v0={};v0[h0.ForwardRef]=ek;v0[h0.Memo]=tk;var nk=!0,rk=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||nk===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},ik=function(t,n,r){rk(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function ok(e){for(var t=0,n,r=0,i=e.length;i>=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 ak={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},sk=/[A-Z]|^ms/g,uk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,y0=function(t){return t.charCodeAt(1)===45},hh=function(t){return t!=null&&typeof t!="boolean"},Mu=gO(function(e){return y0(e)?e:e.replace(sk,"-$&").toLowerCase()}),vh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(uk,function(r,i,o){return Lt={name:i,styles:o,next:Lt},i})}return ak[t]!==1&&!y0(t)&&typeof n=="number"&&n!==0?n+"px":n};function lo(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 lk(e,t,n)}case"function":{if(e!==void 0){var o=Lt,a=n(e);return Lt=o,lo(e,t,a)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function lk(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=lo(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object")t!=null&&t[a]!==void 0?r+=o+"{"+t[a]+"}":hh(a)&&(r+=Mu(o)+":"+vh(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)hh(a[s])&&(r+=Mu(o)+":"+vh(o,a[s])+";");else{var u=lo(e,t,a);switch(o){case"animation":case"animationName":{r+=Mu(o)+":"+u+";";break}default:r+=o+"{"+u+"}"}}}return r}var yh=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Lt,ck=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Lt=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=lo(r,n,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=lo(r,n,t[s]),i&&(o+=a[s]);yh.lastIndex=0;for(var u="",l;(l=yh.exec(o))!==null;)u+="-"+l[1];var c=ok(o)+u;return{name:c,styles:o,next:Lt}},fk=jr["useInsertionEffect"]?jr["useInsertionEffect"]:!1,mh=fk||M.useLayoutEffect,m0=M.createContext(typeof HTMLElement<"u"?WO({key:"css"}):null);m0.Provider;var dk=function(t){return M.forwardRef(function(n,r){var i=M.useContext(m0);return t(n,i,r)})},g0=M.createContext({}),pk=dk(function(e,t){var n=e.styles,r=ck([n],void 0,M.useContext(g0)),i=M.useRef();return mh(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),a.hydrate([u])),i.current=[a,s],function(){a.flush()}},[t]),mh(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&ik(t,r.next,!0),a.tags.length){var u=a.tags[a.tags.length-1].nextElementSibling;a.before=u,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function hk(e){return e==null||Object.keys(e).length===0}function vk(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?i=>t(hk(i)?n:i):t;return R.jsx(pk,{styles:r})}function ri(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const yk=["values","unit","step"],mk=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 gk(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=ri(e,yk),o=mk(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<a.length?l(d,a[a.indexOf(d)+1]):s(d)}function f(d){const v=a.indexOf(d);return v===0?s(a[1]):v===a.length-1?u(a[v]):l(d,a[a.indexOf(d)+1]).replace("@media","@media not all and")}return he({keys:a,values:o,up:s,down:u,between:l,only:c,not:f,unit:n},i)}const Ek={borderRadius:4},Sk=Ek;function Mi(e,t){return t?Ht(e,t,{clone:!1}):e}const jf={xs:0,sm:600,md:900,lg:1200,xl:1536},gh={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jf[e]}px)`};function Jt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||gh;return t.reduce((a,s,u)=>(a[o.up(o.keys[u])]=n(t[u]),a),{})}if(typeof t=="object"){const o=r.breakpoints||gh;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||jf).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 wk(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function _k(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Qs(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 Ja(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Qs(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=Qs(u,r)||{};return Jt(a,s,f=>{let d=Ja(l,i,f);return f===d&&typeof f=="string"&&(d=Ja(l,i,`${t}${f==="default"?"":r0(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[t],o}function Ok(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const kk={m:"margin",p:"padding"},bk={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Eh={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Tk=Ok(e=>{if(e.length>2)if(Eh[e])e=Eh[e];else return[e];const[t,n]=e.split(""),r=kk[t],i=bk[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Bf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Bf,...zf];function bo(e,t,n,r){var i;const o=(i=Qs(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 E0(e){return bo(e,"spacing",8)}function To(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 Ck(e,t){return n=>e.reduce((r,i)=>(r[i]=To(t,n),r),{})}function xk(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=Tk(n),o=Ck(i,r),a=e[n];return Jt(e,a,o)}function S0(e,t){const n=E0(e.theme);return Object.keys(e).map(r=>xk(e,t,r,n)).reduce(Mi,{})}function ye(e){return S0(e,Bf)}ye.propTypes={};ye.filterProps=Bf;function me(e){return S0(e,zf)}me.propTypes={};me.filterProps=zf;function Nk(e=8){if(e.mui)return e;const t=E0({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 Vs(...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]?Mi(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 Dk=J({prop:"border",themeKey:"borders",transform:Pt}),Ik=J({prop:"borderTop",themeKey:"borders",transform:Pt}),Lk=J({prop:"borderRight",themeKey:"borders",transform:Pt}),Rk=J({prop:"borderBottom",themeKey:"borders",transform:Pt}),Pk=J({prop:"borderLeft",themeKey:"borders",transform:Pt}),Ak=J({prop:"borderColor",themeKey:"palette"}),Mk=J({prop:"borderTopColor",themeKey:"palette"}),Fk=J({prop:"borderRightColor",themeKey:"palette"}),jk=J({prop:"borderBottomColor",themeKey:"palette"}),Bk=J({prop:"borderLeftColor",themeKey:"palette"}),Ks=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=bo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:To(t,r)});return Jt(e,e.borderRadius,n)}return null};Ks.propTypes={};Ks.filterProps=["borderRadius"];Vs(Dk,Ik,Lk,Rk,Pk,Ak,Mk,Fk,jk,Bk,Ks);const Hs=e=>{if(e.gap!==void 0&&e.gap!==null){const t=bo(e.theme,"spacing",8),n=r=>({gap:To(t,r)});return Jt(e,e.gap,n)}return null};Hs.propTypes={};Hs.filterProps=["gap"];const Ws=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=bo(e.theme,"spacing",8),n=r=>({columnGap:To(t,r)});return Jt(e,e.columnGap,n)}return null};Ws.propTypes={};Ws.filterProps=["columnGap"];const qs=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=bo(e.theme,"spacing",8),n=r=>({rowGap:To(t,r)});return Jt(e,e.rowGap,n)}return null};qs.propTypes={};qs.filterProps=["rowGap"];const zk=J({prop:"gridColumn"}),Uk=J({prop:"gridRow"}),$k=J({prop:"gridAutoFlow"}),Qk=J({prop:"gridAutoColumns"}),Vk=J({prop:"gridAutoRows"}),Kk=J({prop:"gridTemplateColumns"}),Hk=J({prop:"gridTemplateRows"}),Wk=J({prop:"gridTemplateAreas"}),qk=J({prop:"gridArea"});Vs(Hs,Ws,qs,zk,Uk,$k,Qk,Vk,Kk,Hk,Wk,qk);function Fr(e,t){return t==="grey"?t:e}const Gk=J({prop:"color",themeKey:"palette",transform:Fr}),Yk=J({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Fr}),Xk=J({prop:"backgroundColor",themeKey:"palette",transform:Fr});Vs(Gk,Yk,Xk);function rt(e){return e<=1&&e!==0?`${e*100}%`:e}const Jk=J({prop:"width",transform:rt}),Uf=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])||jf[n]||rt(n)}};return Jt(e,e.maxWidth,t)}return null};Uf.filterProps=["maxWidth"];const Zk=J({prop:"minWidth",transform:rt}),eb=J({prop:"height",transform:rt}),tb=J({prop:"maxHeight",transform:rt}),nb=J({prop:"minHeight",transform:rt});J({prop:"size",cssProperty:"width",transform:rt});J({prop:"size",cssProperty:"height",transform:rt});const rb=J({prop:"boxSizing"});Vs(Jk,Uf,Zk,eb,tb,nb,rb);const ib={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:Ks},color:{themeKey:"palette",transform:Fr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Fr},backgroundColor:{themeKey:"palette",transform:Fr},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:Hs},rowGap:{style:qs},columnGap:{style:Ws},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:Uf},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"}},$f=ib;function ob(...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 ab(e,t){return typeof e=="function"?e(t):e}function sb(){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=Qs(i,l)||{};return f?f(a):Jt(a,r,g=>{let m=Ja(d,c,g);return g===m&&typeof g=="string"&&(m=Ja(d,c,`${n}${g==="default"?"":r0(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:$f;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=wk(o.breakpoints),f=Object.keys(c);let d=c;return Object.keys(l).forEach(v=>{const g=ab(l[v],o);if(g!=null)if(typeof g=="object")if(a[v])d=Mi(d,e(v,g,o,a));else{const m=Jt({theme:o},g,S=>({[v]:S}));ob(m,g)?d[v]=t({sx:g,theme:o}):d=Mi(d,m)}else d=Mi(d,e(v,g,o,a))}),_k(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const w0=sb();w0.filterProps=["sx"];const _0=w0,ub=["breakpoints","palette","spacing","shape"];function O0(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,a=ri(e,ub),s=gk(n),u=Nk(i);let l=Ht({breakpoints:s,direction:"ltr",components:{},palette:he({mode:"light"},r),spacing:u,shape:he({},Sk,o)},a);return l=t.reduce((c,f)=>Ht(c,f),l),l.unstable_sxConfig=he({},$f,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return _0({sx:f,theme:this})},l}function lb(e){return Object.keys(e).length===0}function cb(e=null){const t=M.useContext(g0);return!t||lb(t)?e:t}const fb=O0();function k0(e=fb){return cb(e)}function db({styles:e,themeId:t,defaultTheme:n={}}){const r=k0(n),i=typeof e=="function"?e(t&&r[t]||r):e;return R.jsx(vk,{styles:i})}function pb(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:i0(t.components[n].defaultProps,r)}function hb({props:e,name:t,defaultTheme:n,themeId:r}){let i=k0(n);return r&&(i=i[r]||i),pb({theme:i,name:t,props:e})}function b0(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function vb(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 Xr(e){if(e.type)return e;if(e.charAt(0)==="#")return Xr(vb(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Gr(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(Gr(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Qf(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 yb(e){e=Xr(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])),Qf({type:s,values:u})}function Sh(e){e=Xr(e);let t=e.type==="hsl"||e.type==="hsla"?Xr(yb(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 mb(e,t){const n=Sh(e),r=Sh(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function gb(e,t){if(e=Xr(e),t=b0(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 Qf(e)}function Eb(e,t){if(e=Xr(e),t=b0(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 Qf(e)}function Sb(e,t){return he({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const wb={black:"#000",white:"#fff"},co=wb,_b={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"},Ob=_b,kb={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"},ir=kb,bb={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"},or=bb,Tb={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"},gi=Tb,Cb={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"},ar=Cb,xb={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"},sr=xb,Nb={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"},ur=Nb,Db=["mode","contrastThreshold","tonalOffset"],wh={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:co.white,default:co.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}},Fu={text:{primary:co.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:co.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 _h(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=Eb(e.main,i):t==="dark"&&(e.dark=gb(e.main,o)))}function Ib(e="light"){return e==="dark"?{main:ar[200],light:ar[50],dark:ar[400]}:{main:ar[700],light:ar[400],dark:ar[800]}}function Lb(e="light"){return e==="dark"?{main:ir[200],light:ir[50],dark:ir[400]}:{main:ir[500],light:ir[300],dark:ir[700]}}function Rb(e="light"){return e==="dark"?{main:or[500],light:or[300],dark:or[700]}:{main:or[700],light:or[400],dark:or[800]}}function Pb(e="light"){return e==="dark"?{main:sr[400],light:sr[300],dark:sr[700]}:{main:sr[700],light:sr[500],dark:sr[900]}}function Ab(e="light"){return e==="dark"?{main:ur[400],light:ur[300],dark:ur[700]}:{main:ur[800],light:ur[500],dark:ur[900]}}function Mb(e="light"){return e==="dark"?{main:gi[400],light:gi[300],dark:gi[700]}:{main:"#ed6c02",light:gi[500],dark:gi[900]}}function Fb(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=ri(e,Db),o=e.primary||Ib(t),a=e.secondary||Lb(t),s=e.error||Rb(t),u=e.info||Pb(t),l=e.success||Ab(t),c=e.warning||Mb(t);function f(m){return mb(m,Fu.text.primary)>=n?Fu.text.primary:wh.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(Gr(11,S?` (${S})`:"",p));if(typeof m.main!="string")throw new Error(Gr(12,S?` (${S})`:"",JSON.stringify(m.main)));return _h(m,"light",h,r),_h(m,"dark",y,r),m.contrastText||(m.contrastText=f(m.main)),m},v={dark:Fu,light:wh};return Ht(he({common:he({},co),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:Ob,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},v[t]),i)}const jb=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Bb(e){return Math.round(e*1e5)/1e5}const Oh={textTransform:"uppercase"},kh='"Roboto", "Helvetica", "Arial", sans-serif';function zb(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=kh,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:l=16,allVariants:c,pxToRem:f}=n,d=ri(n,jb),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===kh?{letterSpacing:`${Bb(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,Oh),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Oh),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 Ub=.2,$b=.14,Qb=.12;function le(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ub})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${$b})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Qb})`].join(",")}const Vb=["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)],Kb=Vb,Hb=["duration","easing","delay"],Wb={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)"},qb={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function bh(e){return`${Math.round(e)}ms`}function Gb(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Yb(e){const t=he({},Wb,e.easing),n=he({},qb,e.duration);return he({getAutoHeightDuration:Gb,create:(i=["all"],o={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:u=0}=o;return ri(o,Hb),(Array.isArray(i)?i:[i]).map(l=>`${l} ${typeof a=="string"?a:bh(a)} ${s} ${typeof u=="string"?u:bh(u)}`).join(",")}},e,{easing:t,duration:n})}const Xb={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Jb=Xb,Zb=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function eT(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,a=ri(e,Zb);if(e.vars)throw new Error(Gr(18));const s=Fb(r),u=O0(e);let l=Ht(u,{mixins:Sb(u.breakpoints,n),palette:s,shadows:Kb.slice(),typography:zb(s,o),transitions:Yb(i),zIndex:he({},Jb)});return l=Ht(l,a),l=t.reduce((c,f)=>Ht(c,f),l),l.unstable_sxConfig=he({},$f,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return _0({sx:f,theme:this})},l}const tT=eT(),T0=tT,C0="$$material";function nT({props:e,name:t}){return hb({props:e,name:t,defaultTheme:T0,themeId:C0})}function rT(e){return R.jsx(db,he({},e,{defaultTheme:T0,themeId:C0}))}const iT=(e,t)=>he({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),oT=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}}),aT=(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:iT(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:he({margin:0},oT(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 sT(e){const t=nT({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return R.jsxs(M.Fragment,{children:[R.jsx(rT,{styles:i=>aT(i,r)}),n]})}const uT=new s_({uri:"https://graphql.contentful.com/content/v1/spaces/ddn5evy552ly/",cache:new e_,headers:{Authorization:"Bearer VhiyzEkxrxNUIj2Th75Fm98eA6tFmtaqzIthKfiY6Ck"}});ju.createRoot(document.getElementById("root")).render(R.jsxs(Ah.StrictMode,{children:[R.jsx(sT,{}),R.jsx(y_,{client:uT,children:R.jsx(eO,{children:R.jsx(mO,{})})})]}))});export default lT();