vendor: 19,901 bytes, line 1
1(function(){"use strict";function Xb(n,a){for(var r=0;r<a.length;r++){const l=a[r];if(typeof l!="string"&&!Array.isArray(l)){for(const o in l)if(o!=="default"&&!(o in n)){const s=Object.getOwnPropertyDescriptor(l,o);s&&Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>l[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function ns(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var as={exports:{}},xi={};var pd;function Zb(){if(pd)return xi;pd=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(l,o,s){var h=null;if(s!==void 0&&(h=""+s),o.key!==void 0&&(h=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:n,type:l,key:h,ref:o!==void 0?o:null,props:s}}return xi.Fragment=a,xi.jsx=r,xi.jsxs=r,xi}var vd;function Jb(){return vd||(vd=1,as.exports=Zb()),as.exports}var P=Jb(),rs={exports:{}},ye={};var yd;function Kb(){if(yd)return ye;yd=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),S=Symbol.iterator;function E(D){return D===null||typeof D!="object"?null:(D=S&&D[S]||D["@@iterator"],typeof D=="function"?D:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,R={};function T(D,U,J){this.props=D,this.context=U,this.refs=R,this.updater=J||_}T.prototype.isReactComponent={},T.prototype.setState=function(D,U){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,U,"setState")},T.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function z(){}z.prototype=T.prototype;function w(D,U,J){this.props=D,this.context=U,this.refs=R,this.updater=J||_}var Q=w.prototype=new z;Q.constructor=w,A(Q,T.prototype),Q.isPureReactComponent=!0;var B=Array.isArray;function I(){}var V={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function se(D,U,J){var ee=J.ref;return{$$typeof:n,type:D,key:U,ref:ee!==void 0?ee:null,props:J}}function _e(D,U){return se(D.type,U,D.props)}function Ee(D){return typeof D=="object"&&D!==null&&D.$$typeof===n}function de(D){var U={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(J){return U[J]})}var ve=/\/+/g;function te(D,U){return typeof D=="object"&&D!==null&&D.key!=null?de(""+D.key):U.toString(36)}function fe(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(I,I):(D.status="pending",D.then(function(U){D.status==="pending"&&(D.status="fulfilled",D.value=U)},function(U){D.status==="pending"&&(D.status="rejected",D.reason=U)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function M(D,U,J,ee,le){var ue=typeof D;(ue==="undefined"||ue==="boolean")&&(D=null);var Ae=!1;if(D===null)Ae=!0;else switch(ue){case"bigint":case"string":case"number":Ae=!0;break;case"object":switch(D.$$typeof){case n:case a:Ae=!0;break;case m:return Ae=D._init,M(Ae(D._payload),U,J,ee,le)}}if(Ae)return le=le(D),Ae=ee===""?"."+te(D,0):ee,B(le)?(J="",Ae!=null&&(J=Ae.replace(ve,"$&/")+"/"),M(le,U,J,"",function(Nn){return Nn})):le!=null&&(Ee(le)&&(le=_e(le,J+(le.key==null||D&&D.key===le.key?"":(""+le.key).replace(ve,"$&/")+"/")+Ae)),U.push(le)),1;Ae=0;var We=ee===""?".":ee+":";if(B(D))for(var qe=0;qe<D.length;qe++)ee=D[qe],ue=We+te(ee,qe),Ae+=M(ee,U,J,ue,le);else if(qe=E(D),typeof qe=="function")for(D=qe.call(D),qe=0;!(ee=D.next()).done;)ee=ee.value,ue=We+te(ee,qe++),Ae+=M(ee,U,J,ue,le);else if(ue==="object"){if(typeof D.then=="function")return M(fe(D),U,J,ee,le);throw U=String(D),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Ae}function Y(D,U,J){if(D==null)return D;var ee=[],le=0;return M(D,ee,"","",function(ue){return U.call(J,ue,le++)}),ee}function W(D){if(D._status===-1){var U=D._result;U=U(),U.then(function(J){(D._status===0||D._status===-1)&&(D._status=1,D._result=J)},function(J){(D._status===0||D._status===-1)&&(D._status=2,D._result=J)}),D._status===-1&&(D._status=0,D._result=U)}if(D._status===1)return D._result.default;throw D._result}var ne=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},re={map:Y,forEach:function(D,U,J){Y(D,function(){U.apply(this,arguments)},J)},count:function(D){var U=0;return Y(D,function(){U++}),U},toArray:function(D){return Y(D,function(U){return U})||[]},only:function(D){if(!Ee(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return ye.Activity=g,ye.Children=re,ye.Component=T,ye.Fragment=r,ye.Profiler=o,ye.PureComponent=w,ye.StrictMode=l,ye.Suspense=v,ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,ye.__COMPILER_RUNTIME={__proto__:null,c:function(D){return V.H.useMemoCache(D)}},ye.cache=function(D){return function(){return D.apply(null,arguments)}},ye.cacheSignal=function(){return null},ye.cloneElement=function(D,U,J){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var ee=A({},D.props),le=D.key;if(U!=null)for(ue in U.key!==void 0&&(le=""+U.key),U)!K.call(U,ue)||ue==="key"||ue==="__self"||ue==="__source"||ue==="ref"&&U.ref===void 0||(ee[ue]=U[ue]);var ue=arguments.length-2;if(ue===1)ee.children=J;else if(1<ue){for(var Ae=Array(ue),We=0;We<ue;We++)Ae[We]=arguments[We+2];ee.children=Ae}return se(D.type,le,ee)},ye.createContext=function(D){return D={$$typeof:h,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:s,_context:D},D},ye.createElement=function(D,U,J){var ee,le={},ue=null;if(U!=null)for(ee in U.key!==void 0&&(ue=""+U.key),U)K.call(U,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(le[ee]=U[ee]);var Ae=arguments.length-2;if(Ae===1)le.children=J;else if(1<Ae){for(var We=Array(Ae),qe=0;qe<Ae;qe++)We[qe]=arguments[qe+2];le.children=We}if(D&&D.defaultProps)for(ee in Ae=D.defaultProps,Ae)le[ee]===void 0&&(le[ee]=Ae[ee]);return se(D,ue,le)},ye.createRef=function(){return{current:null}},ye.forwardRef=function(D){return{$$typeof:d,render:D}},ye.isValidElement=Ee,ye.lazy=function(D){return{$$typeof:m,_payload:{_status:-1,_result:D},_init:W}},ye.memo=function(D,U){return{$$typeof:p,type:D,compare:U===void 0?null:U}},ye.startTransition=function(D){var U=V.T,J={};V.T=J;try{var ee=D(),le=V.S;le!==null&&le(J,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(I,ne)}catch(ue){ne(ue)}finally{U!==null&&J.types!==null&&(U.types=J.types),V.T=U}},ye.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},ye.use=function(D){return V.H.use(D)},ye.useActionState=function(D,U,J){return V.H.useActionState(D,U,J)},ye.useCallback=function(D,U){return V.H.useCallback(D,U)},ye.useContext=function(D){return V.H.useContext(D)},ye.useDebugValue=function(){},ye.useDeferredValue=function(D,U){return V.H.useDeferredValue(D,U)},ye.useEffect=function(D,U){return V.H.useEffect(D,U)},ye.useEffectEvent=function(D){return V.H.useEffectEvent(D)},ye.useId=function(){return V.H.useId()},ye.useImperativeHandle=function(D,U,J){return V.H.useImperativeHandle(D,U,J)},ye.useInsertionEffect=function(D,U){return V.H.useInsertionEffect(D,U)},ye.useLayoutEffect=function(D,U){return V.H.useLayoutEffect(D,U)},ye.useMemo=function(D,U){return V.H.useMemo(D,U)},ye.useOptimistic=function(D,U){return V.H.useOptimistic(D,U)},ye.useReducer=function(D,U,J){return V.H.useReducer(D,U,J)},ye.useRef=function(D){return V.H.useRef(D)},ye.useState=function(D){return V.H.useState(D)},ye.useSyncExternalStore=function(D,U,J){return V.H.useSyncExternalStore(D,U,J)},ye.useTransition=function(){return V.H.useTransition()},ye.version="19.2.0",ye}var md;function Gl(){return md||(md=1,rs.exports=Kb()),rs.exports}var De=Gl();const ka=ns(De);var is={exports:{}},Ci={},ls={exports:{}},us={};var gd;function Pb(){return gd||(gd=1,(function(n){function a(M,Y){var W=M.length;M.push(Y);e:for(;0<W;){var ne=W-1>>>1,re=M[ne];if(0<o(re,Y))M[ne]=Y,M[W]=re,W=ne;else break e}}function r(M){return M.length===0?null:M[0]}function l(M){if(M.length===0)return null;var Y=M[0],W=M.pop();if(W!==Y){M[0]=W;e:for(var ne=0,re=M.length,D=re>>>1;ne<D;){var U=2*(ne+1)-1,J=M[U],ee=U+1,le=M[ee];if(0>o(J,W))ee<re&&0>o(le,J)?(M[ne]=le,M[ee]=W,ne=ee):(M[ne]=J,M[U]=W,ne=U);else if(ee<re&&0>o(le,W))M[ne]=le,M[ee]=W,ne=ee;else break e}}return Y}function o(M,Y){var W=M.sortIndex-Y.sortIndex;return W!==0?W:M.id-Y.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var h=Date,d=h.now();n.unstable_now=function(){return h.now()-d}}var v=[],p=[],m=1,g=null,S=3,E=!1,_=!1,A=!1,R=!1,T=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function Q(M){for(var Y=r(p);Y!==null;){if(Y.callback===null)l(p);else if(Y.startTime<=M)l(p),Y.sortIndex=Y.expirationTime,a(v,Y);else break;Y=r(p)}}function B(M){if(A=!1,Q(M),!_)if(r(v)!==null)_=!0,I||(I=!0,de());else{var Y=r(p);Y!==null&&fe(B,Y.startTime-M)}}var I=!1,V=-1,K=5,se=-1;function _e(){return R?!0:!(n.unstable_now()-se<K)}function Ee(){if(R=!1,I){var M=n.unstable_now();se=M;var Y=!0;try{e:{_=!1,A&&(A=!1,z(V),V=-1),E=!0;var W=S;try{t:{for(Q(M),g=r(v);g!==null&&!(g.expirationTime>M&&_e());){var ne=g.callback;if(typeof ne=="function"){g.callback=null,S=g.priorityLevel;var re=ne(g.expirationTime<=M);if(M=n.unstable_now(),typeof re=="function"){g.callback=re,Q(M),Y=!0;break t}g===r(v)&&l(v),Q(M)}else l(v);g=r(v)}if(g!==null)Y=!0;else{var D=r(p);D!==null&&fe(B,D.startTime-M),Y=!1}}break e}finally{g=null,S=W,E=!1}Y=void 0}}finally{Y?de():I=!1}}}var de;if(typeof w=="function")de=function(){w(Ee)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,te=ve.port2;ve.port1.onmessage=Ee,de=function(){te.postMessage(null)}}else de=function(){T(Ee,0)};function fe(M,Y){V=T(function(){M(n.unstable_now())},Y)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(M){M.callback=null},n.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<M?Math.floor(1e3/M):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_next=function(M){switch(S){case 1:case 2:case 3:var Y=3;break;default:Y=S}var W=S;S=Y;try{return M()}finally{S=W}},n.unstable_requestPaint=function(){R=!0},n.unstable_runWithPriority=function(M,Y){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var W=S;S=M;try{return Y()}finally{S=W}},n.unstable_scheduleCallback=function(M,Y,W){var ne=n.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ne+W:ne):W=ne,M){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=W+re,M={id:m++,callback:Y,priorityLevel:M,startTime:W,expirationTime:re,sortIndex:-1},W>ne?(M.sortIndex=W,a(p,M),r(v)===null&&M===r(p)&&(A?(z(V),V=-1):A=!0,fe(B,W-ne))):(M.sortIndex=re,a(v,M),_||E||(_=!0,I||(I=!0,de()))),M},n.unstable_shouldYield=_e,n.unstable_wrapCallback=function(M){var Y=S;return function(){var W=S;S=Y;try{return M.apply(this,arguments)}finally{S=W}}}})(us)),us}var bd;function Wb(){return bd||(bd=1,ls.exports=Pb()),ls.exports}var os={exports:{}},Ot={};var Sd;function $b(){if(Sd)return Ot;Sd=1;var n=Gl();function a(v){var p="https://react.dev/errors/"+v;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+v+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var l={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function s(v,p,m){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:g==null?null:""+g,children:v,containerInfo:p,implementation:m}}var h=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(v,p){if(v==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ot.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,Ot.createPortal=function(v,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return s(v,p,null,m)},Ot.flushSync=function(v){var p=h.T,m=l.p;try{if(h.T=null,l.p=2,v)return v()}finally{h.T=p,l.p=m,l.d.f()}},Ot.preconnect=function(v,p){typeof v=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,l.d.C(v,p))},Ot.prefetchDNS=function(v){typeof v=="string"&&l.d.D(v)},Ot.preinit=function(v,p){if(typeof v=="string"&&p&&typeof p.as=="string"){var m=p.as,g=d(m,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,E=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?l.d.S(v,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:g,integrity:S,fetchPriority:E}):m==="script"&&l.d.X(v,{crossOrigin:g,integrity:S,fetchPriority:E,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ot.preinitModule=function(v,p){if(typeof v=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=d(p.as,p.crossOrigin);l.d.M(v,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&l.d.M(v)},Ot.preload=function(v,p){if(typeof v=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,g=d(m,p.crossOrigin);l.d.L(v,m,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ot.preloadModule=function(v,p){if(typeof v=="string")if(p){var m=d(p.as,p.crossOrigin);l.d.m(v,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else l.d.m(v)},Ot.requestFormReset=function(v){l.d.r(v)},Ot.unstable_batchedUpdates=function(v,p){return v(p)},Ot.useFormState=function(v,p,m){return h.H.useFormState(v,p,m)},Ot.useFormStatus=function(){return h.H.useHostTransitionStatus()},Ot.version="19.2.0",Ot}var Ed;function eS(){if(Ed)return os.exports;Ed=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),os.exports=$b(),os.exports}var _d;function tS(){if(_d)return Ci;_d=1;var n=Wb(),a=Gl(),r=eS();function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i])}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."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function h(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 d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(s(e)!==e)throw Error(l(188))}function p(e){var t=e.alternate;if(!t){if(t=s(e),t===null)throw Error(l(188));return t!==e?null:e}for(var i=e,u=t;;){var c=i.return;if(c===null)break;var f=c.alternate;if(f===null){if(u=c.return,u!==null){i=u;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===i)return v(c),e;if(f===u)return v(c),t;f=f.sibling}throw Error(l(188))}if(i.return!==u.return)i=c,u=f;else{for(var y=!1,b=c.child;b;){if(b===i){y=!0,i=c,u=f;break}if(b===u){y=!0,u=c,i=f;break}b=b.sibling}if(!y){for(b=f.child;b;){if(b===i){y=!0,i=f,u=c;break}if(b===u){y=!0,u=f,i=c;break}b=b.sibling}if(!y)throw Error(l(189))}}if(i.alternate!==u)throw Error(l(190))}if(i.tag!==3)throw Error(l(188));return i.stateNode.current===i?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,S=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),w=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),_e=Symbol.for("react.memo_cache_sentinel"),Ee=Symbol.iterator;function de(e){return e===null||typeof e!="object"?null:(e=Ee&&e[Ee]||e["@@iterator"],typeof e=="function"?e:null)}var ve=Symbol.for("react.client.reference");function te(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ve?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case T:return"Profiler";case R:return"StrictMode";case B:return"Suspense";case I:return"SuspenseList";case se:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case _:return"Portal";case w:return e.displayName||"Context";case z:return(e._context.displayName||"Context")+".Consumer";case Q:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return t=e.displayName||null,t!==null?t:te(e.type)||"Memo";case K:t=e._payload,e=e._init;try{return te(e(t))}catch{}}return null}var fe=Array.isArray,M=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},ne=[],re=-1;function D(e){return{current:e}}function U(e){0>re||(e.current=ne[re],ne[re]=null,re--)}function J(e,t){re++,ne[re]=e.current,e.current=t}var ee=D(null),le=D(null),ue=D(null),Ae=D(null);function We(e,t){switch(J(ue,t),J(le,e),J(ee,null),t.nodeType){case 9:case 11:e=(e
vendor: 12,042 bytes, lines 1-8
1=t.documentElement)&&(e=e.namespaceURI)?yb(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=yb(t),e=mb(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}U(ee),J(ee,e)}function qe(){U(ee),U(le),U(ue)}function Nn(e){e.memoizedState!==null&&J(Ae,e);var t=ee.current,i=mb(t,e.type);t!==i&&(J(le,e),J(ee,i))}function Mn(e){le.current===e&&(U(ee),U(le)),Ae.current===e&&(U(Ae),Vl._currentValue=W)}var $t,Yy;function Ka(e){if($t===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);$t=t&&t[1]||"",Yy=-1<i.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+$t+e+Yy}var Kc=!1;function Pc(e,t){if(!e||Kc)return"";Kc=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(q){var j=q}Reflect.construct(e,[],X)}else{try{X.call()}catch(q){j=q}e.call(X.prototype)}}else{try{throw Error()}catch(q){j=q}(X=e())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(q){if(q&&j&&typeof q.stack=="string")return[q.stack,j.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=u.DetermineComponentFrameRoot(),y=f[0],b=f[1];if(y&&b){var O=y.split(` 4`),L=b.split(` 5`);for(c=u=0;u<O.length&&!O[u].includes("DetermineComponentFrameRoot");)u++;for(;c<L.length&&!L[c].includes("DetermineComponentFrameRoot");)c++;if(u===O.length||c===L.length)for(u=O.length-1,c=L.length-1;1<=u&&0<=c&&O[u]!==L[c];)c--;for(;1<=u&&0<=c;u--,c--)if(O[u]!==L[c]){if(u!==1||c!==1)do if(u--,c--,0>c||O[u]!==L[c]){var F=` 6`+O[u].replace(" at new "," at ");return e.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",e.displayName)),F}while(1<=u&&0<=c);break}}}finally{Kc=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?Ka(i):""}function wD(e,t){switch(e.tag){case 26:case 27:case 5:return Ka(e.type);case 16:return Ka("Lazy");case 13:return e.child!==t&&t!==null?Ka("Suspense Fallback"):Ka("Suspense");case 19:return Ka("SuspenseList");case 0:case 15:return Pc(e.type,!1);case 11:return Pc(e.type.render,!1);case 1:return Pc(e.type,!0);case 31:return Ka("Activity");default:return""}}function Xy(e){try{var t="",i=null;do t+=wD(e,i),i=e,e=e.return;while(e);return t}catch(u){return` 7Error generating stack: `+u.message+` 8`+u.stack}}var Wc=Object.prototype.hasOwnProperty,$c=n.unstable_scheduleCallback,ef=n.unstable_cancelCallback,RD=n.unstable_shouldYield,ND=n.unstable_requestPaint,Ut=n.unstable_now,MD=n.unstable_getCurrentPriorityLevel,Zy=n.unstable_ImmediatePriority,Jy=n.unstable_UserBlockingPriority,Qu=n.unstable_NormalPriority,zD=n.unstable_LowPriority,Ky=n.unstable_IdlePriority,kD=n.log,LD=n.unstable_setDisableYieldValue,$i=null,Bt=null;function sa(e){if(typeof kD=="function"&&LD(e),Bt&&typeof Bt.setStrictMode=="function")try{Bt.setStrictMode($i,e)}catch{}}var Vt=Math.clz32?Math.clz32:QD,jD=Math.log,qD=Math.LN2;function QD(e){return e>>>=0,e===0?32:31-(jD(e)/qD|0)|0}var Uu=256,Bu=262144,Vu=4194304;function Pa(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Iu(e,t,i){var u=e.pendingLanes;if(u===0)return 0;var c=0,f=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var b=u&134217727;return b!==0?(u=b&~f,u!==0?c=Pa(u):(y&=b,y!==0?c=Pa(y):i||(i=b&~e,i!==0&&(c=Pa(i))))):(b=u&~f,b!==0?c=Pa(b):y!==0?c=Pa(y):i||(i=u&~e,i!==0&&(c=Pa(i)))),c===0?0:t!==0&&t!==c&&(t&f)===0&&(f=c&-c,i=t&-t,f>=i||f===32&&(i&4194048)!==0)?t:c}function el(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function UD(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Py(){var e=Vu;return Vu<<=1,(Vu&62914560)===0&&(Vu=4194304),e}function tf(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function tl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function BD(e,t,i,u,c,f){var y=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var b=e.entanglements,O=e.expirationTimes,L=e.hiddenUpdates;for(i=y&~i;0<i;){var F=31-Vt(i),X=1<<F;b[F]=0,O[F]=-1;var j=L[F];if(j!==null)for(L[F]=null,F=0;F<j.length;F++){var q=j[F];q!==null&&(q.lane&=-536870913)}i&=~X}u!==0&&Wy(e,u,0),f!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=f&~(y&~t))}function Wy(e,t,i){e.pendingLanes|=t,e.suspendedLanes&=~t;var u=31-Vt(t);e.entangledLanes|=t,e.entanglements[u]=e.entanglements[u]|1073741824|i&261930}function $y(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var u=31-Vt(i),c=1<<u;c&t|e[u]&t&&(e[u]|=t),i&=~c}}function em(e,t){var i=t&-t;return i=(i&42)!==0?1:nf(i),(i&(e.suspendedLanes|t))!==0?0:i}function nf(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function af(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function tm(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:Bb(e.type))}function nm(e,t){var i=Y.p;try{return Y.p=e,t()}finally{Y.p=i}}var ca=Math.random().toString(36).slice(2),bt="__reactFiber$"+ca,Rt="__reactProps$"+ca,Fr="__reactContainer$"+ca,rf="__reactEvents$"+ca,VD="__reactListeners$"+ca,ID="__reactHandles$"+ca,am="__reactResources$"+ca,nl="__reactMarker$"+ca;function lf(e){delete e[bt],delete e[Rt],delete e[rf],delete e[VD],delete e[ID]}function Hr(e){var t=e[bt];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Fr]||i[bt]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Ob(e);e!==null;){if(i=e[bt])return i;e=Ob(e)}return t}e=i,i=e.parentNode}return null}function Gr(e){if(e=e[bt]||e[Fr]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function al(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(l(33))}function Yr(e){var t=e[am];return t||(t=e[am]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function vt(e){e[nl]=!0}var rm=new Set,im={};function Wa(e,t){Xr(e,t),Xr(e+"Capture",t)}function Xr(e,t){for(im[e]=t,e=0;e<t.length;e++)rm.add(t[e])}var FD=RegExp("^[: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]*$"),lm={},um={};function HD(e){return Wc.call(um,e)?!0:Wc.call(lm,e)?!1:FD.test(e)?um[e]=!0:(lm[e]=!0,!1)}function Fu(e,t,i){if(HD(t))if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var u=t.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+i)}}function Hu(e,t,i){if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+i)}}function zn(e,t,i,u){if(u===null)e.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(t,i,""+u)}}function en(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function om(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function GD(e,t,i){var u=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var c=u.get,f=u.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(y){i=""+y,f.call(this,y)}}),Object.defineProperty(e,t,{enumerable:u.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function uf(e){if(!e._valueTracker){var t=om(e)?"checked":"value";e._valueTracker=GD(e,t,""+e[t])}}function sm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),u="";return e&&(u=om(e)?e.checked?"true":"false":e.value),e=u,e!==i?(t.setValue(e),!0):!1}function Gu(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}}var YD=/[\n"\\]/g;function tn(e){return e.replace(YD,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function of(e,t,i,u,c,f,y,b){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+en(t)):e.value!==""+en(t)&&(e.value=""+en(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?sf(e,y,en(t)):i!=null?sf(e,y,en(i)):u!=null&&e.removeAttribute("value"),c==null&&f!=null&&(e.defaultChecked=!!f),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+en(b):e.removeAttribute("name")}function cm(e,t,i,u,c,f,y,b){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),t!=null||i!=null){if(!(f!=="submit"&&f!=="reset"||t!=null)){uf(e);return}i=i!=null?""+en(i):"",t=t!=null?""+en(t):i,b||t===e.value||(e.value=t),e.defaultValue=t}u=u??c,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=b?e.checked:!!u,e.defaultChecked=!!u,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),uf(e)}function sf(e,t,i){t==="number"&&Gu(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function Zr(e,t,i,u){if(e=e.options,t){t={};for(var c=0;c<i.length;c++)t["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=t.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&u&&(e[i].defaultSelected=!0)}else{for(i=""+en(i),t=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,u&&(e[c].defaultSelected=!0);return}t!==null||e[c].disabled||(t=e[c])}t!==null&&(t.selected=!0)}}function fm(e,t,i){if(t!=null&&(t=""+en(t),t!==e.value&&(e.value=t),i==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=i!=null?""+en(i):""}function hm(e,t,i,u){if(t==null){if(u!=null){if(i!=null)throw Error(l(92));if(fe(u)){if(1<u.length)throw Error(l(93));u=u[0]}i=u}i==null&&(i=""),t=i}i=en(t),e.defaultValue=i,u=e.textContent,u===i&&u!==""&&u!==null&&(e.value=u),uf(e)}function Jr(e,t){if(t){var i=e.firstChild;
vendor: 4,140 bytes, line 8
8if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var XD=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function dm(e,t,i){var u=t.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,i):typeof i!="number"||i===0||XD.has(t)?t==="float"?e.cssFloat=i:e[t]=(""+i).trim():e[t]=i+"px"}function pm(e,t,i){if(t!=null&&typeof t!="object")throw Error(l(62));if(e=e.style,i!=null){for(var u in i)!i.hasOwnProperty(u)||t!=null&&t.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var c in t)u=t[c],t.hasOwnProperty(c)&&i[c]!==u&&dm(e,c,u)}else for(var f in t)t.hasOwnProperty(f)&&dm(e,f,t[f])}function cf(e){if(e.indexOf("-")===-1)return!1;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 ZD=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
8-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),JD=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Yu(e){return JD.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function kn(){}var ff=null;function hf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Kr=null,Pr=null;function vm(e){var t=Gr(e);if(t&&(e=t.stateNode)){var i=e[Rt]||null;e:switch(e=t.stateNode,t.type){case"input":if(of(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+tn(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var u=i[t];if(u!==e&&u.form===e.form){var c=u[Rt]||null;if(!c)throw Error(l(90));of(u,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(t=0;t<i.length;t++)u=i[t],u.form===e.form&&sm(u)}break e;case"textarea":fm(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&Zr(e,!!i.multiple,t,!1)}}}var df=!1;function ym(e,t,i){if(df)return e(t,i);df=!0;try{var u=e(t);return u}finally{if(df=!1,(Kr!==null||Pr!==null)&&(ko(),Kr&&(t=Kr,e=Pr,Pr=Kr=null,vm(t),e)))for(t=0;t<e.length;t++)vm(e[t])}}function rl(e,t){var i=e.stateNode;if(i===null)return null;var u=i[Rt]||null;if(u===null)return null;i=u[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":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(l(231,t,typeof i));return i}var Ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pf=!1;if(Ln)try{var il={};Object.defineProperty(il,"passive",{get:function(){pf=!0}}),window.addEventListener("test",il,il),window.removeEventListener("test",il,il)}catch{pf=!1}var fa=null,vf=null,Xu=null;function mm(){if(Xu)return Xu;var e,t=vf,i=t.length,u,c="value"in fa?fa.value:fa.textContent,f=c.length;for(e=0;e<i&&t[e]===c[e];e++);var y=i-e;for(u=1;u<=y&&t[i-u]===c[f-u];u++);return Xu=c.slice(e,1<u?1-u:void 0)}function Zu(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 Ju(){return!0}function gm(){return!1}function Nt(e){function t(i,u,c,f,y){this._reactName=i,this._targetInst=c,this.type=u,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(i=e[b],this[b]=i?i(f):f[b]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Ju:gm,this.isPropagationStopped=gm,this}return g(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Ju)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ju)},persist:function(){},isPersistent:Ju}),t}var $a={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ku=Nt($a),ll=g({},$a,{view:0,detail:0}),KD=Nt(ll),yf,mf,ul,Pu=g({},ll,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bf,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!==ul&&(ul&&e.type==="mousemove"?(yf=e.screenX-ul.screenX,mf=e.screenY-ul.screenY):mf=yf=0,ul=e),yf)},movementY:function(e){return"movementY"in e?e.movementY:mf}}),bm=Nt(Pu),PD=g({},Pu,{dataTransfer:0}),WD=Nt(PD),$D=g({},ll,{relatedTarget:0}),gf=Nt($D),eA=g({},$a,{animationName:0,elapsedTime:0,pseudoElement:0}),tA=Nt(eA),nA=g({},$a,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),aA=Nt(nA),rA=g({},$a,{data:0}),Sm=Nt(rA),iA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lA={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"},uA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oA(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=uA[e])?!!t[e]:!1}function bf(){return oA}var sA=g({},ll,{key:function(e){if(e.key){var t=iA[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,186 bytes, line 8
8return e.type==="keypress"?(e=Zu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?lA[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bf,charCode:function(e){return e.type==="keypress"?Zu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),cA=Nt(sA),fA=g({},Pu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Em=Nt(fA),hA=g({},ll,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bf}),dA=Nt(hA),pA=g({},$a,{propertyName:0,elapsedTime:0,pseudoElement:0}),vA=Nt(pA),yA=g({},Pu,{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}),mA=Nt(yA),gA=g({},$a,{newState:0,oldState:0}),bA=Nt(gA),SA=[9,13,27,32],Sf=Ln&&"CompositionEvent"in window,ol=null;Ln&&"documentMode"in document&&(ol=document.documentMode);var EA=Ln&&"TextEvent"in window&&!ol,_m=Ln&&(!Sf||ol&&8<ol&&11>=ol),Tm=" ",Om=!1;function Dm(e,t){switch(e){case"keyup":return SA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Am(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wr=!1;function _A(e,t){switch(e){case"compositionend":return Am(t);case"keypress":return t.which!==32?null:(Om=!0,Tm);case"textInput":return e=t.data,e===Tm&&Om?null:e;default:return null}}function TA(e,t){if(Wr)return e==="compositionend"||!Sf&&Dm(e,t)?(e=mm(),Xu=vf=fa=null,Wr=!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 _m&&t.locale!=="ko"?null:t.data;default:return null}}var OA={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 xm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!OA[e.type]:t==="textarea"}function Cm(e,t,i,u){Kr?Pr?Pr.push(u):Pr=[u]:Kr=u,t=Vo(t,"onChange"),0<t.length&&(i=new Ku("onChange","change",null,i,u),e.push({event:i,listeners:t}))}var sl=null,cl=null;function DA(e){cb(e,0)}function Wu(e){var t=al(e);if(sm(t))return e}function wm(e,t){if(e==="change")return t}var Rm=!1;if(Ln){var Ef;if(Ln){var _f="oninput"in document;if(!_f){var Nm=document.createElement("div");Nm.setAttribute("oninput","return;"),_f=typeof Nm.oninput=="function"}Ef=_f}else Ef=!1;Rm=Ef&&(!document.documentMode||9<document.documentMode)}function Mm(){sl&&(sl.detachEvent("onpropertychange",zm),cl=sl=null)}function zm(e){if(e.propertyName==="value"&&Wu(cl)){var t=[];Cm(t,cl,e,hf(e)),ym(DA,t)}}function AA(e,t,i){e==="focusin"?(Mm(),sl=t,cl=i,sl.attachEvent("onpropertychange",zm)):e==="focusout"&&Mm()}function xA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wu(cl)}function CA(e,t){if(e==="click")return Wu(t)}function wA(e,t){if(e==="input"||e==="change")return Wu(t)}function RA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var It=typeof Object.is=="function"?Object.is:RA;function fl(e,t){if(It(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),u=Object.keys(t);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var c=i[u];if(!Wc.call(t,c)||!It(e[c],t[c]))return!1}return!0}function km(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lm(e,t){var i=km(e);e=0;for(var u;i;){if(i.nodeType===3){if(u=e+i.textContent.length,e<=t&&u>=t)return{node:i,offset:t-e};e=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=km(i)}}function jm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Gu(e.document);t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Gu(e.document)}return t}function Tf(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")}var NA=Ln&&"documentMode"in document&&11>=document.documentMode,$r=null,Of=null,hl=null,Df=!1;function Qm(e,t,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Df||$r==null||$r!==Gu(u)||(u=$r,"selectionStart"in u&&Tf(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focu
vendor: 22,184 bytes, line 8
8sNode:u.focusNode,focusOffset:u.focusOffset}),hl&&fl(hl,u)||(hl=u,u=Vo(Of,"onSelect"),0<u.length&&(t=new Ku("onSelect","select",null,t,i),e.push({event:t,listeners:u}),t.target=$r)))}function er(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var ei={animationend:er("Animation","AnimationEnd"),animationiteration:er("Animation","AnimationIteration"),animationstart:er("Animation","AnimationStart"),transitionrun:er("Transition","TransitionRun"),transitionstart:er("Transition","TransitionStart"),transitioncancel:er("Transition","TransitionCancel"),transitionend:er("Transition","TransitionEnd")},Af={},Um={};Ln&&(Um=document.createElement("div").style,"AnimationEvent"in window||(delete ei.animationend.animation,delete ei.animationiteration.animation,delete ei.animationstart.animation),"TransitionEvent"in window||delete ei.transitionend.transition);function tr(e){if(Af[e])return Af[e];if(!ei[e])return e;var t=ei[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in Um)return Af[e]=t[i];return e}var Bm=tr("animationend"),Vm=tr("animationiteration"),Im=tr("animationstart"),MA=tr("transitionrun"),zA=tr("transitionstart"),kA=tr("transitioncancel"),Fm=tr("transitionend"),Hm=new Map,xf="abort auxClick beforeToggle 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(" ");xf.push("scrollEnd");function gn(e,t){Hm.set(e,t),Wa(t,[e])}var $u=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},nn=[],ti=0,Cf=0;function eo(){for(var e=ti,t=Cf=ti=0;t<e;){var i=nn[t];nn[t++]=null;var u=nn[t];nn[t++]=null;var c=nn[t];nn[t++]=null;var f=nn[t];if(nn[t++]=null,u!==null&&c!==null){var y=u.pending;y===null?c.next=c:(c.next=y.next,y.next=c),u.pending=c}f!==0&&Gm(i,c,f)}}function to(e,t,i,u){nn[ti++]=e,nn[ti++]=t,nn[ti++]=i,nn[ti++]=u,Cf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function wf(e,t,i,u){return to(e,t,i,u),no(e)}function nr(e,t){return to(e,null,null,t),no(e)}function Gm(e,t,i){e.lanes|=i;var u=e.alternate;u!==null&&(u.lanes|=i);for(var c=!1,f=e.return;f!==null;)f.childLanes|=i,u=f.alternate,u!==null&&(u.childLanes|=i),f.tag===22&&(e=f.stateNode,e===null||e._visibility&1||(c=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,c&&t!==null&&(c=31-Vt(i),e=f.hiddenUpdates,u=e[c],u===null?e[c]=[t]:u.push(t),t.lane=i|536870912),f):null}function no(e){if(50<kl)throw kl=0,Qh=null,Error(l(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ni={};function LA(e,t,i,u){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ft(e,t,i,u){return new LA(e,t,i,u)}function Rf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jn(e,t){var i=e.alternate;return i===null?(i=Ft(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function Ym(e,t){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,t=i.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ao(e,t,i,u,c,f){var y=0;if(u=e,typeof e=="function")Rf(e)&&(y=1);else if(typeof e=="string")y=Bx(e,i,ee.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case se:return e=Ft(31,i,t,c),e.elementType=se,e.lanes=f,e;case A:return ar(i.children,c,f,t);case R:y=8,c|=24;break;case T:return e=Ft(12,i,t,c|2),e.elementType=T,e.lanes=f,e;case B:return e=Ft(13,i,t,c),e.elementType=B,e.lanes=f,e;case I:return e=Ft(19,i,t,c),e.elementType=I,e.lanes=f,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case w:y=10;break e;case z:y=9;break e;case Q:y=11;break e;case V:y=14;break e;case K:y=16,u=null;break e}y=29,i=Error(l(130,e===null?"null":typeof e,"")),u=null}return t=Ft(y,i,t,c),t.elementType=e,t.type=u,t.lanes=f,t}function ar(e,t,i,u){return e=Ft(7,e,u,t),e.lanes=i,e}function Nf(e,t,i){return e=Ft(6,e,null,t),e.lanes=i,e}function Xm(e){var t=Ft(18,null,null,0);return t.stateNode=e,t}function Mf(e,t,i){return t=Ft(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Zm=new WeakMap;function an(e,t){if(typeof e=="object"&&e!==null){var i=Zm.get(e);return i!==void 0?i:(t={value:e,source:t,stack:Xy(t)},Zm.set(e,t),t)}return{value:e,source:t,stack:Xy(t)}}var ai=[],ri=0,ro=null,dl=0,rn=[],ln=0,ha=null,On=1,Dn="";function qn(e,t){ai[ri++]=dl,ai[ri++]=ro,ro=e,dl=t}function Jm(e,t,i){rn[ln++]=On,rn[ln++]=Dn,rn[ln++]=ha,ha=e;var u=On;e=Dn;var c=32-Vt(u)-1;u&=~(1<<c),i+=1;var f=32-Vt(t)+c;if(30<f){var y=c-c%5;f=(u&(1<<y)-1).toString(32),u>>=y,c-=y,On=1<<32-Vt(t)+c|i<<c|u,Dn=f+e}else On=1<<f|i<<c|u,Dn=e}function zf(e){e.return!==null&&(qn(e,1),Jm(e,1,0))}function kf(e){for(;e===ro;)ro=ai[--ri],ai[ri]=null,dl=ai[--ri],ai[ri]=null;for(;e===ha;)ha=rn[--ln],rn[ln]=null,Dn=rn[--ln],rn[ln]=null,On=rn[--ln],rn[ln]=null}function Km(e,t){rn[ln++]=On,rn[ln++]=Dn,rn[ln++]=ha,On=t.id,Dn=t.overflow,ha=e}var St=null,Ye=null,Re=!1,da=null,un=!1,Lf=Error(l(519));function pa(e){var t=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw pl(an(t,e)),Lf}function Pm(e){var t=e.stateNode,i=e.type,u=e.memoizedProps;switch(t[bt]=e,t[Rt]=u,i){case"dialog":Oe("cancel",t),Oe("close",t);break;case"iframe":case"object":case"embed":Oe("load",t);break;case"video":case"audio":for(i=0;i<jl.length;i++)Oe(jl[i],t);break;case"source":Oe("error",t);break;case"img":case"image":case"link":Oe("error",t),Oe("load",t);break;case"details":Oe("toggle",t);break;case"input":Oe("invalid",t),cm(t,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Oe("invalid",t);break;case"textarea":Oe("invalid",t),hm(t,u.value,u.defaultValue,u.children)}i=u.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||t.textContent===""+i||u.suppressHydrationWarning===!0||pb(t.textContent,i)?(u.popover!=null&&(Oe("beforetoggle",t),Oe("toggle",t)),u.onScroll!=null&&Oe("scroll",t),u.onScrollEnd!=null&&Oe("scrollend",t),u.onClick!=null&&(t.onclick=kn),t=!0):t=!1,t||pa(e,!0)}function Wm(e){for(St=e.return;St;)switch(St.tag){case 5:case 31:case 13:un=!1;return;case 27:case 3:un=!0;return;default:St=St.return}}function ii(e){if(e!==St)return!1;if(!Re)return Wm(e),Re=!0,!1;var t=e.tag,i;if((i=t!==3&&t!==27)&&((i=t===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||$h(e.type,e.memoizedProps)),i=!i),i&&Ye&&pa(e),Wm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Ye=Tb(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Ye=Tb(e)}else t===27?(t=Ye,Ca(e.type)?(e=rd,rd=null,Ye=e):Ye=t):Ye=St?sn(e.stateNode.nextSibling):null;return!0}function rr(){Ye=St=null,Re=!1}function jf(){var e=da;return e!==null&&(Lt===null?Lt=e:Lt.push.apply(Lt,e),da=null),e}function pl(e){da===null?da=[e]:da.push(e)}var qf=D(null),ir=null,Qn=null;function va(e,t,i){J(qf,t._currentValue),t._currentValue=i}function Un(e){e._currentValue=qf.current,U(qf)}function Qf(e,t,i){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===i)break;e=e.return}}function Uf(e,t,i,u){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var f=c.dependencies;if(f!==null){var y=c.child;f=f.firstContext;e:for(;f!==null;){var b=f;f=c;for(var O=0;O<t.length;O++)if(b.context===t[O]){f.lanes|=i,b=f.alternate,b!==null&&(b.lanes|=i),Qf(f.return,i,e),u||(y=null);break e}f=b.next}}else if(c.tag===18){if(y=c.return,y===null)throw Error(l(341));y.lanes|=i,f=y.alternate,f!==null&&(f.lanes|=i),Qf(y,i,e),y=null}else y=c.child;if(y!==null)y.return=c;else for(y=c;y!==null;){if(y===e){y=null;break}if(c=y.sibling,c!==null){c.return=y.return,y=c;break}y=y.return}c=y}}function li(e,t,i,u){e=null;for(var c=t,f=!1;c!==null;){if(!f){if((c.flags&524288)!==0)f=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var y=c.alternate;if(y===null)throw Error(l(387));if(y=y.memoizedProps,y!==null){var b=c.type;It(c.pendingProps.value,y.value)||(e!==null?e.push(b):e=[b])}}else if(c===Ae.current){if(y=c.alternate,y===null)throw Error(l(387));y.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Vl):e=[Vl])}c=c.return}e!==null&&Uf(t,e,i,u),t.flags|=262144}function io(e){for(e=e.firstContext;e!==null;){if(!It(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function lr(e){ir=e,Qn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Et(e){return $m(ir,e)}function lo(e,t){return ir===null&&lr(e),$m(e,t)}function $m(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},Qn===null){if(e===null)throw Error(l(308));Qn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qn=Qn.next=t;return i}var jA=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},qA=n.unstable_scheduleCallback,QA=n.unstable_NormalPriority,lt={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Bf(){return{controller:new jA,data:new Map,refCount:0}}function vl(e){e.refCount--,e.refCount===0&&qA(QA,function(){e.controller.abort()})}var yl=null,Vf=0,ui=0,oi=null;function UA(e,t){if(yl===null){var i=yl=[];Vf=0,ui=Hh(),oi={status:"pending",value:void 0,then:function(u){i.push(u)}}}return Vf++,t.then(eg,eg),t}function eg(){if(--Vf===0&&yl!==null){oi!==null&&(oi.status="fulfilled");var e=yl;yl=null,ui=0,oi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function BA(e,t){var i=[],u={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var c=0;c<i.length;c++)(0,i[c])(t)},function(c){for(u.status="rejected",u.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),u}var tg=M.S;M.S=function(e,t){Q0=Ut(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&UA(e,t),tg!==null&&tg(e,t)};var ur=D(null);function If(){var e=ur.current;return e!==null?e:He.pooledCache}function uo(e,t){t===null?J(ur,ur.current):J(ur,t.pool)}function ng(){var e=If();return e===null?null:{parent:lt._currentValue,pool:e}}var si=Error(l(460)),Ff=Error(l(474)),oo=Error(l(542)),so={then:function(){}};function ag(e){return e=e.status,e==="fulfilled"||e==="rejected"}function rg(e,t,i){switch(i=e[i],i===void 0?e.push(t):i!==t&&(t.then(kn,kn),t=i),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,lg(e),e;default:if(typeof t.status=="string")t.then(kn,kn);else{if(e=He,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=t,e.status="pending",e.then(function(u){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=u}},function(u){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=u}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,lg(e),e}throw sr=t,si}}function or(e){try{var t=e._init;return t(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(sr=i,si):i}}var sr=null;function ig(){if(sr===null)throw Error(l(459));var e=sr;return sr=null,e}function lg(e){if(e===si||e===oo)throw Error(l(483))}var ci=null,ml=0;function co(e){var t=ml;return ml+=1,ci===null&&(ci=[]),rg(ci,e,t)}function gl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function fo(e,t){throw t.$$typeof===S?Error(l(525)):(e=Object.prototype.toString.call(t),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ug(e){function t(N,C){if(e){var k=N.deletions;k===null?(N.deletions=[C],N.flags|=16):k.push(C)}}function i(N,C){if(!e)return null;for(;C!==null;)t(N,C),C=C.sibling;return null}function u(N){for(var C=new Map;N!==null;)N.key!==null?C.set(N.key,N):C.set(N.index,N),N=N.sibling;return C}function c(N,C){return N=jn(N,C),N.index=0,N.sibling=null,N}function f(N,C,k){return N.index=k,e?(k=N.alternate,k!==null?(k=k.index,k<C?(N.flags|=67108866,C):k):(N.flags|=67108866,C)):(N.flags|=1048576,C)}function y(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function b(N,C,k,G){return C===null||C.tag!==6?(C=Nf(k,N.mode,G),C.return=N,C):(C=c(C,k),C.return=N,C)}function O(N,C,k,G){var ce=k.type;return ce===A?F(N,C,k.props.children,G,k.key):C!==null&&(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===K&&or(ce)===C.type)?(C=c(C,k.props),gl(C,k),C.return=N,C):(C=ao(k.type,k.key,k.props,null,N.mode,G),gl(C,k),C.return=N,C)}function L(N,C,k,G){return C===null||C.tag!==4||C.stateNode.containerInfo!==k.containerInfo||C.stateNode.implementation!==k.implementation?(C=Mf(k,N.mode,G),C.return=N,C):(C=c(C,k.children||[]),C.return=N,C)}function F(N,C,k,G,ce){return C===null||C.tag!==7?(C=ar(k,N.mode,G,ce),C.return=N,C):(C=c(C,k),C.return=N,C)}function X(N,C,k){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Nf(""+C,N.mode,k),C.return=N,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case E:return k=ao(C.type,C.key,C.props,null,N.mode,k),gl(k,C),k.return=N,k;case _:return C=Mf(C,N.mode,k),C.return=N,C;case K:return C=or(C),X(N,C,k)}if(fe(C)||de(C))return C=ar(C,N.mode,k,null),C.return=N,C;if(typeof C.then=="function")return X(N,co(C),k);if(C.$$typeof===w)return X(N,lo(N,C),k);fo(N,C)}return null}function j(N,C,k,G){var ce=C!==null?C.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return ce!==null?null:b(N,C,""+k,G);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case E:return k.key===ce?O(N,C,k,G):null;case _:return k.key===ce?L(N,C,k,G):null;case K:return k=or(k),j(N,C,k,G)}if(fe(k)||de(k))return ce!==null?null:F(N,C,k,G,null);if(typeof k.then=="function")return j(N,C,co(k),G);if(k.$$typeof===w)return j(N,C,lo(N,k),G);fo(N,k)}return null}function q(N,C,k,G,ce){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return N=N.get(k)||null,b(C,N,""+G,ce);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case E:return N=N.get(G.key===null?k:G.key)||null,O(C,N,G,ce);case _:return N=N.get(G.key===null?k:G.key)||null,L(C,N,G,ce);case K:return G=or(G),q(N,C,k,G,ce)}if(fe(G)||de(G))return N=N.get(k)||null,F(C,N,G,ce,null);if(typeof G.then=="function")return q(N,C,k,co(G),ce);if(G.$$typeof===w)return q(N,C,k,lo(C,G),ce);fo(C,G)}return null}function ie(N,C,k,G){for(var ce=null,Me=null,oe=C,be=C=0,Ce=null;oe!==null&&be<k.length;be++){oe.index>be?(Ce=oe,oe=null):Ce=oe.sibling;var ze=j(N,oe,k[be],G);if(ze===null){oe===null&&(oe=Ce);break}e&&oe&&ze.alternate===null&&t(N,oe),C=f(ze,C,be),Me===null?ce=ze:Me.sibling=ze,Me=ze,oe=Ce}if(be===k.length)return i(N,oe),Re&&qn(N,be),ce;if(oe===null){for(;be<k.length;be++)oe=X(N,k[be],G),oe!==null&&(C=f(oe,C,be),Me===null?ce=oe:Me.sibling=oe,Me=oe);return Re&&qn(N,be),ce}for(oe=u(oe);be<k.length;be++)Ce=q(oe,N,be,k[be],G),Ce!==null&&(e&&Ce.alternate!==null&&oe.delete(Ce.key===null?be:Ce.key),C=f(Ce,C,be),Me===null?ce=Ce:Me.sibling=Ce,Me=Ce);return e&&oe.forEach(function(za){return t(N,za)}),Re&&qn(N,be),ce}function pe(N,C,k,G){if(k==null)throw Error(l(151));for(var ce=null,Me=null,oe=C,be=C=0,Ce=null,ze=k.next();oe!==null&&!ze.done;be++,ze=k.next()){oe.index>be?(Ce=oe,oe=null):Ce=oe.sibling;var za=j(N,oe,ze.value,G);if(za===null){oe===null&&(oe=Ce);break}e&&oe&&za.alternate===null&&t(N,oe),C=f(za,C,be),Me===null?ce=za:Me.sibling=za,Me=za,oe=Ce}if(ze.done)return i(N,oe),Re&&qn(N,be),ce;if(oe===null){for(;!ze.done;be++,ze=k.next())ze=X(N,ze.value,G),ze!==null&&(C=f(ze,C,be),Me===null?ce=ze:Me.sibling=ze,Me=ze);return Re&&qn(N,be),ce}for(oe=u(oe);!ze.done;be++,ze=k.next())ze=q(oe,N,be,ze.value,G),ze!==null&&(e&&ze.alternate!==null&&oe.delete(ze.key===null?be:ze.key),C=f(ze,C,be),Me===null?ce=ze:Me.sibling=ze,Me=ze);return e&&oe.forEach(function(Px){return t(N,Px)}),Re&&qn(N,be),ce}function Fe(N,C,k,G){if(typeof k=="object"&&k!==null&&k.type===A&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case E:e:{for(var ce=k.key;C!==null;){if(C.key===ce){if(ce=k.type,ce===A){if(C.tag===7){i(N,C.sibling),G=c(C,k.props.children),G.return=N,N=G;break e}}else if(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===K&&or(ce)===C.type){i(N,C.sibling),G=c(C,k.props),gl(G,k),G.return=N,N=G;break e}i(N,C);break}else t(N,C);C=C.sibling}k.type===A?(G=ar(k.props.children,N.mode,G,k.key),G.return=N,N=G):(G=ao(k.type,k.key,k.props,null,N.mode,G),gl(G,k),G.return=N,N=G)}return y(N);case _:e:{for(ce=k.key;C!==null;){if(C.key===ce)if(C.tag===4&&C.stateNode.containerInfo===k.containerInfo&&C.stateNode.implementation===k.implementation){i(N,C.sibling),G=c(C,k.children||[]),G.return=N,N=G;break e}else{i(N,C);break}else t(N,C);C=C.sibling}G=Mf(k,N.mode,G),G.return=N,N=G}return y(N);case K:return k=or(k),Fe(N,C,k,G)}if(fe(k))return ie(N,C,k,G);if(de(k)){if(ce=de(k),typeof ce!="function")throw Error(l(150));return k=ce.call(k),pe(N,C,k,G)}if(typeof k.then=="function")return Fe(N,C,co(k),G);if(k.$$typeof===w)return Fe(N,C,lo(N,k),G);fo(N,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,C!==null&&C.tag===6?(i(N,C.sibling),G=c(C,k),G.return=N,N=G):(i(N,C),G=Nf(k,N.mode,G),G.return=N,N=G),y(N)):i(N,C)}return function(N,C,k,G){try{ml=0;var ce=Fe(N,C,k,G);return ci=null,ce}catch(oe){if(oe===si||oe===oo)throw oe;var Me=Ft(29,oe,null,N.mode);return Me.lanes=G,Me.return=N,Me}finally{}}}var cr=ug(!0),og=ug(!1),ya=!1;function Hf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ma(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ga(e,t,i){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(ke&2)!==0){var c=u.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),u.pending=t,t=no(e),Gm(e,null,i),t}return to(e,u,t,i),no(e)}function bl(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var u=t.lanes;u&=e.pendingLanes,i|=u,t.lanes=i,$y(e,i)}}function Yf(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var c=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var y={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};f===null?c=f=y:f=f.next=y,i=i.next}while(i!==null);f===null?c=f=t:f=f.next=t}else c=f=t;i={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:u.shared,callbacks:u.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}var Xf=!1;function Sl(){if(Xf){var e=oi;if(e!==null)throw e}}function El(e,t,i,u){Xf=!1;var c=e.updateQueue;ya=!1;var f=c.firstBaseUpdate,y=c.lastBaseUpdate,b=c.shared.pending;if(b!==null){c.shared.pending=null;var O=b,L=O.next;O.next=null,y===null?f=L:y.next=L,y=O;var F=e.alternate;F!==null&&(F=F.updateQueue,b=F.lastBaseUpdate,b!==y&&(b===null?F.firstBaseUpdate=L:b.next=L,F.lastBaseUpdate=O))}if(f!==null){var X=c.baseState;y=0,F=L=O=null,b=f;do{var j=b.lane&-536870913,q=j!==b.lane;if(q?(xe&j)===j:(u&j)===j){j!==0&&j===ui&&(Xf=!0),F!==null&&(F=F.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var ie=e,pe=b;j=t;var Fe=i;switch(pe.tag){case 1:if(ie=pe.payload,typeof ie=="function"){X=ie.call(Fe,X,j);break e}X=ie;break e;case 3:ie.flags=ie.flags&-65537|128;case 0:if(ie=pe.payload,j=typeof ie=="function"?ie.call(Fe,X,j):ie,j==null)break e;X=g({},X,j);break e;case 2:ya=!0}}j=b.callback,j!==null&&(e.flags|=64,q&&(e.flags|=8192),q=c.callbacks,q===null?c.callbacks=[j]:q.push(j))}else q={lane:j,tag:b.tag,payload:b.payload,callback:b.callback,next:null},F===null?(L=F=q,O=X):F=F.next=q,y|=j;if(b=b.next,b===null){if(b=c.shared.pending,b===null)break;q=b,b=q.next,q.next=null,c.lastBaseUpdate=q,c.shared.pending=null}}while(!0);F===null&&(O=X),c.baseState=O,c.firstBaseUpdate=L,c.lastBaseUpdate=F,f===null&&(c.shared.lanes=0),Ta|=y,e.lanes=y,e.memoizedState=X}}function sg(e,t){if(typeof e!="function")throw Error(l(191,e));e.call(t)}function cg(e,t){var i=e.callbacks;
vendor: 5,288 bytes, line 8
8if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)sg(i[e],t)}var fi=D(null),ho=D(0);function fg(e,t){e=Zn,J(ho,e),J(fi,t),Zn=e|t.baseLanes}function Zf(){J(ho,Zn),J(fi,fi.current)}function Jf(){Zn=ho.current,U(fi),U(ho)}var Ht=D(null),on=null;function ba(e){var t=e.alternate;J(nt,nt.current&1),J(Ht,e),on===null&&(t===null||fi.current!==null||t.memoizedState!==null)&&(on=e)}function Kf(e){J(nt,nt.current),J(Ht,e),on===null&&(on=e)}function hg(e){e.tag===22?(J(nt,nt.current),J(Ht,e),on===null&&(on=e)):Sa()}function Sa(){J(nt,nt.current),J(Ht,Ht.current)}function Gt(e){U(Ht),on===e&&(on=null),U(nt)}var nt=D(0);function po(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||nd(i)||ad(i)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bn=0,ge=null,Ve=null,ut=null,vo=!1,hi=!1,fr=!1,yo=0,_l=0,di=null,VA=0;function et(){throw Error(l(321))}function Pf(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!It(e[i],t[i]))return!1;return!0}function Wf(e,t,i,u,c,f){return Bn=f,ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?Jg:dh,fr=!1,f=i(u,c),fr=!1,hi&&(f=pg(t,i,u,c)),dg(e),f}function dg(e){M.H=Dl;var t=Ve!==null&&Ve.next!==null;if(Bn=0,ut=Ve=ge=null,vo=!1,_l=0,di=null,t)throw Error(l(300));e===null||ot||(e=e.dependencies,e!==null&&io(e)&&(ot=!0))}function pg(e,t,i,u){ge=e;var c=0;do{if(hi&&(di=null),_l=0,hi=!1,25<=c)throw Error(l(301));if(c+=1,ut=Ve=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}M.H=Kg,f=t(i,u)}while(hi);return f}function IA(){var e=M.H,t=e.useState()[0];return t=typeof t.then=="function"?Tl(t):t,e=e.useState()[0],(Ve!==null?Ve.memoizedState:null)!==e&&(ge.flags|=1024),t}function $f(){var e=yo!==0;return yo=0,e}function eh(e,t,i){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i}function th(e){if(vo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vo=!1}Bn=0,ut=Ve=ge=null,hi=!1,_l=yo=0,di=null}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ut===null?ge.memoizedState=ut=e:ut=ut.next=e,ut}function at(){if(Ve===null){var e=ge.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=ut===null?ge.memoizedState:ut.next;if(t!==null)ut=t,Ve=e;else{if(e===null)throw ge.alternate===null?Error(l(467)):Error(l(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},ut===null?ge.memoizedState=ut=e:ut=ut.next=e}return ut}function mo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tl(e){var t=_l;return _l+=1,di===null&&(di=[]),e=rg(di,e,t),t=ge,(ut===null?t.memoizedState:ut.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?Jg:dh),e}function go(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Tl(e);if(e.$$typeof===w)return Et(e)}throw Error(l(438,String(e)))}function nh(e){var t=null,i=ge.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var u=ge.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(c){return c.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=mo(),ge.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0)for(i=t.data[t.index]=Array(e),u=0;u<e;u++)i[u]=_e;return t.index++,i}function Vn(e,t){return typeof t=="function"?t(e):t}function bo(e){var t=at();return ah(t,Ve,e)}function ah(e,t,i){var u=e.queue;if(u===null)throw Error(l(311));u.lastRenderedReducer=i;var c=e.baseQueue,f=u.pending;if(f!==null){if(c!==null){var y=c.next;c.next=f.next,f.next=y}t.baseQueue=c=f,u.pending=null}if(f=e.baseState,c===null)e.memoizedState=f;else{t=c.next;var b=y=null,O=null,L=t,F=!1;do{var X=L.lane&-536870913;if(X!==L.lane?(xe&X)===X:(Bn&X)===X){var j=L.revertLane;if(j===0)O!==null&&(O=O.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),X===ui&&(F=!0);else if((Bn&j)===j){L=L.next,j===ui&&(F=!0);continue}else X={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},O===null?(b=O=X,y=f):O=O.next=X,ge.lanes|=j,Ta|=j;X=L.action,fr&&i(f,X),f=L.hasEagerState?L.eagerState:i(f,X)}else j={lane:X,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},O===null?(b=O=j,y=f):O=O.next=j,ge.lanes|=X,Ta|=X;L=L.next}while(L!==null&&L!==t);if(O===null?y=f:O.next=b,!It(f,e.memoizedState)&&(ot=!0,F&&(i=oi,i!==null)))throw i;e.memoizedState=f,e.baseState=y,e.baseQueue=O,u.lastRenderedState=f}return c===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function rh(e){var t=at(),i=t.queue;if(i===null)throw Error(l(311));i.lastRenderedReducer=e;
vendor: 11,802 bytes, line 8
8var u=i.dispatch,c=i.pending,f=t.memoizedState;if(c!==null){i.pending=null;var y=c=c.next;do f=e(f,y.action),y=y.next;while(y!==c);It(f,t.memoizedState)||(ot=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),i.lastRenderedState=f}return[f,u]}function vg(e,t,i){var u=ge,c=at(),f=Re;if(f){if(i===void 0)throw Error(l(407));i=i()}else i=t();var y=!It((Ve||c).memoizedState,i);if(y&&(c.memoizedState=i,ot=!0),c=c.queue,uh(gg.bind(null,u,c,e),[e]),c.getSnapshot!==t||y||ut!==null&&ut.memoizedState.tag&1){if(u.flags|=2048,pi(9,{destroy:void 0},mg.bind(null,u,c,i,t),null),He===null)throw Error(l(349));f||(Bn&127)!==0||yg(u,t,i)}return i}function yg(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=ge.updateQueue,t===null?(t=mo(),ge.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function mg(e,t,i,u){t.value=i,t.getSnapshot=u,bg(t)&&Sg(e)}function gg(e,t,i){return i(function(){bg(t)&&Sg(e)})}function bg(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!It(e,i)}catch{return!0}}function Sg(e){var t=nr(e,2);t!==null&&jt(t,e,2)}function ih(e){var t=At();if(typeof e=="function"){var i=e;if(e=i(),fr){sa(!0);try{i()}finally{sa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:e},t}function Eg(e,t,i,u){return e.baseState=i,ah(e,Ve,typeof u=="function"?u:Vn)}function FA(e,t,i,u,c){if(_o(e))throw Error(l(485));if(e=t.action,e!==null){var f={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){f.listeners.push(y)}};M.T!==null?i(!0):f.isTransition=!1,u(f),i=t.pending,i===null?(f.next=t.pending=f,_g(t,f)):(f.next=i.next,t.pending=i.next=f)}}function _g(e,t){var i=t.action,u=t.payload,c=e.state;if(t.isTransition){var f=M.T,y={};M.T=y;try{var b=i(c,u),O=M.S;O!==null&&O(y,b),Tg(e,t,b)}catch(L){lh(e,t,L)}finally{f!==null&&y.types!==null&&(f.types=y.types),M.T=f}}else try{f=i(c,u),Tg(e,t,f)}catch(L){lh(e,t,L)}}function Tg(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(u){Og(e,t,u)},function(u){return lh(e,t,u)}):Og(e,t,i)}function Og(e,t,i){t.status="fulfilled",t.value=i,Dg(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,_g(e,i)))}function lh(e,t,i){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=i,Dg(t),t=t.next;while(t!==u)}e.action=null}function Dg(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ag(e,t){return t}function xg(e,t){if(Re){var i=He.formState;if(i!==null){e:{var u=ge;if(Re){if(Ye){t:{for(var c=Ye,f=un;c.nodeType!==8;){if(!f){c=null;break t}if(c=sn(c.nextSibling),c===null){c=null;break t}}f=c.data,c=f==="F!"||f==="F"?c:null}if(c){Ye=sn(c.nextSibling),u=c.data==="F!";break e}}pa(u)}u=!1}u&&(t=i[0])}}return i=At(),i.memoizedState=i.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ag,lastRenderedState:t},i.queue=u,i=Yg.bind(null,ge,u),u.dispatch=i,u=ih(!1),f=hh.bind(null,ge,!1,u.queue),u=At(),c={state:t,dispatch:null,action:e,pending:null},u.queue=c,i=FA.bind(null,ge,c,f,i),c.dispatch=i,u.memoizedState=e,[t,i,!1]}function Cg(e){var t=at();return wg(t,Ve,e)}function wg(e,t,i){if(t=ah(e,t,Ag)[0],e=bo(Vn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=Tl(t)}catch(y){throw y===si?oo:y}else u=t;t=at();var c=t.queue,f=c.dispatch;return i!==t.memoizedState&&(ge.flags|=2048,pi(9,{destroy:void 0},HA.bind(null,c,i),null)),[u,f,e]}function HA(e,t){e.action=t}function Rg(e){var t=at(),i=Ve;if(i!==null)return wg(t,i,e);at(),t=t.memoizedState,i=at();var u=i.queue.dispatch;return i.memoizedState=e,[t,u,!1]}function pi(e,t,i,u){return e={tag:e,create:i,deps:u,inst:t,next:null},t=ge.updateQueue,t===null&&(t=mo(),ge.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(u=i.next,i.next=e,e.next=u,t.lastEffect=e),e}function Ng(){return at().memoizedState}function So(e,t,i,u){var c=At();ge.flags|=e,c.memoizedState=pi(1|t,{destroy:void 0},i,u===void 0?null:u)}function Eo(e,t,i,u){var c=at();u=u===void 0?null:u;var f=c.memoizedState.inst;Ve!==null&&u!==null&&Pf(u,Ve.memoizedState.deps)?c.memoizedState=pi(t,f,i,u):(ge.flags|=e,c.memoizedState=pi(1|t,f,i,u))}function Mg(e,t){So(8390656,8,e,t)}function uh(e,t){Eo(2048,8,e,t)}function GA(e){ge.flags|=4;var t=ge.updateQueue;if(t===null)t=mo(),ge.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function zg(e){var t=at().memoizedState;return GA({ref:t,nextImpl:e}),function(){if((ke&2)!==0)throw Error(l(440));return t.impl.apply(void 0,arguments)}}function kg(e,t){return Eo(4,2,e,t)}function Lg(e,t){return Eo(4,4,e,t)}function jg(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qg(e,t,i){i=i!=null?i.concat([e]):null,Eo(4,4,jg.bind(null,t,e),i)}function oh(){}function Qg(e,t){var i=at();t=t===void 0?null:t;var u=i.memoizedState;return t!==null&&Pf(t,u[1])?u[0]:(i.memoizedState=[e,t],e)}function Ug(e,t){var i=at();t=t===void 0?null:t;var u=i.memoizedState;if(t!==null&&Pf(t,u[1]))return u[0];if(u=e(),fr){sa(!0);try{e()}finally{sa(!1)}}return i.memoizedState=[u,t],u}function sh(e,t,i){return i===void 0||(Bn&1073741824)!==0&&(xe&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=B0(),ge.lanes|=e,Ta|=e,i)}function Bg(e,t,i,u){return It(i,t)?i:fi.current!==null?(e=sh(e,i,u),It(e,t)||(ot=!0),e):(Bn&42)===0||(Bn&1073741824)!==0&&(xe&261930)===0?(ot=!0,e.memoizedState=i):(e=B0(),ge.lanes|=e,Ta|=e,t)}function Vg(e,t,i,u,c){var f=Y.p;Y.p=f!==0&&8>f?f:8;var y=M.T,b={};M.T=b,hh(e,!1,t,i);try{var O=c(),L=M.S;if(L!==null&&L(b,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var F=BA(O,u);Ol(e,t,F,Zt(e))}else Ol(e,t,u,Zt(e))}catch(X){Ol(e,t,{then:function(){},status:"rejected",reason:X},Zt())}finally{Y.p=f,y!==null&&b.types!==null&&(y.types=b.types),M.T=y}}function YA(){}function ch(e,t,i,u){if(e.tag!==5)throw Error(l(476));var c=Ig(e).queue;Vg(e,c,t,W,i===null?YA:function(){return Fg(e),i(u)})}function Ig(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:W},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vn,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fg(e){var t=Ig(e);t.next===null&&(t=e.alternate.memoizedState),Ol(e,t.next.queue,{},Zt())}function fh(){return Et(Vl)}function Hg(){return at().memoizedState}function Gg(){return at().memoizedState}function XA(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var i=Zt();e=ma(i);var u=ga(t,e,i);u!==null&&(jt(u,t,i),bl(u,t,i)),t={cache:Bf()},e.payload=t;return}t=t.return}}function ZA(e,t,i){var u=Zt();i={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},_o(e)?Xg(t,i):(i=wf(e,t,i,u),i!==null&&(jt(i,e,u),Zg(i,t,u)))}function Yg(e,t,i){var u=Zt();Ol(e,t,i,u)}function Ol(e,t,i,u){var c={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(_o(e))Xg(t,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var y=t.lastRenderedState,b=f(y,i);if(c.hasEagerState=!0,c.eagerState=b,It(b,y))return to(e,t,c,0),He===null&&eo(),!1}catch{}finally{}if(i=wf(e,t,c,u),i!==null)return jt(i,e,u),Zg(i,t,u),!0}return!1}function hh(e,t,i,u){if(u={lane:2,revertLane:Hh(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},_o(e)){if(t)throw Error(l(479))}else t=wf(e,i,u,2),t!==null&&jt(t,e,2)}function _o(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function Xg(e,t){hi=vo=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function Zg(e,t,i){if((i&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,i|=u,t.lanes=i,$y(e,i)}}var Dl={readContext:Et,use:go,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useLayoutEffect:et,useInsertionEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useSyncExternalStore:et,useId:et,useHostTransitionStatus:et,useFormState:et,useActionState:et,useOptimistic:et,useMemoCache:et,useCacheRefresh:et};Dl.useEffectEvent=et;var Jg={readContext:Et,use:go,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:Mg,useImperativeHandle:function(e,t,i){i=i!=null?i.concat([e]):null,So(4194308,4,jg.bind(null,t,e),i)},useLayoutEffect:function(e,t){return So(4194308,4,e,t)},useInsertionEffect:function(e,t){So(4,2,e,t)},useMemo:function(e,t){var i=At();t=t===void 0?null:t;var u=e();if(fr){sa(!0);try{e()}finally{sa(!1)}}return i.memoizedState=[u,t],u},useReducer:function(e,t,i){var u=At();if(i!==void 0){var c=i(t);if(fr){sa(!0);try{i(t)}finally{sa(!1)}}}else c=t;return u.memoizedState=u.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},u.queue=e,e=e.dispatch=ZA.bind(null,ge,e),[u.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:function(e){e=ih(e);var t=e.queue,i=Yg.bind(null,ge,t);return t.dispatch=i,[e.memoizedState,i]},useDebugValue:oh,useDeferredValue:function(e,t){var i=At();return sh(i,e,t)},useTransition:function(){var e=ih(!1);return e=Vg.bind(null,ge,e.queue,!0,!1),At().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,i){var u=ge,c=At();if(Re){if(i===void 0)throw Error(l(407));i=i()}else{if(i=t(),He===null)throw Error(l(349));(xe&127)!==0||yg(u,t,i)}c.memoizedState=i;var f={value:i,getSnapshot:t};return c.queue=f,Mg(gg.bind(null,u,f,e),[e]),u.flags|=2048,pi(9,{destroy:void 0},mg.bind(null,u,f,i,t),null),i},useId:function(){var e=At(),t=He.identifierPrefix;if(Re){var i=Dn,u=On;i=(u&~(1<<32-Vt(u)-1)).toString(32)+i,t="_"+t+"R_"+i,i=yo++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=VA++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:fh,useFormState:xg,useActionState:xg,useOptimistic:function(e){var t=At();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=hh.bind(null,ge,!0,i),i.dispatch=t,[e,t]},useMemoCache:nh,useCacheRefresh:function(){return At().memoizedState=XA.bind(null,ge)},useEffectEvent:function(e){var t=At(),i={impl:e};return t.memoizedState=i,function(){if((ke&2)!==0)throw Error(l(440));return i.impl.apply(void 0,arguments)}}},dh={readContext:Et,use:go,useCallback:Qg,useContext:Et,useEffect:uh,useImperativeHandle:qg,useInsertionEffect:kg,useLayoutEffect:Lg,useMemo:Ug,useReducer:bo,useRef:Ng,useState:function(){return bo(Vn)},useDebugValue:oh,useDeferredValue:function(e,t){var i=at();return Bg(i,Ve.memoizedState,e,t)},useTransition:function(){var e=bo(Vn)[0],t=at().memoizedState;return[typeof e=="boolean"?e:Tl(e),t]},useSyncExternalStore:vg,useId:Hg,useHostTransitionStatus:fh,useFormState:Cg,useActionState:Cg,useOptimistic:function(e,t){var i=at();return Eg(i,Ve,e,t)},useMemoCache:nh,useCacheRefresh:Gg};dh.useEffectEvent=zg;var Kg={readContext:Et,use:go,useCallback:Qg,useContext:Et,useEffect:uh,useImperativeHandle:qg,useInsertionEffect:kg,useLayoutEffect:Lg,useMemo:Ug,useReducer:rh,useRef:Ng,useState:function(){return rh(Vn)},useDebugValue:oh,useDeferredValue:function(e,t){var i=at();return Ve===null?sh(i,e,t):Bg(i,Ve.memoizedState,e,t)},useTransition:function(){var e=rh(Vn)[0],t=at().memoizedState;return[typeof e=="boolean"?e:Tl(e),t]},useSyncExternalStore:vg,useId:Hg,useHostTransitionStatus:fh,useFormState:Rg,useActionState:Rg,useOptimistic:function(e,t){var i=at();
vendor: 23,484 bytes, line 8
8return Ve!==null?Eg(i,Ve,e,t):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:nh,useCacheRefresh:Gg};Kg.useEffectEvent=zg;function ph(e,t,i,u){t=e.memoizedState,i=i(u,t),i=i==null?t:g({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var vh={enqueueSetState:function(e,t,i){e=e._reactInternals;var u=Zt(),c=ma(u);c.payload=t,i!=null&&(c.callback=i),t=ga(e,c,u),t!==null&&(jt(t,e,u),bl(t,e,u))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var u=Zt(),c=ma(u);c.tag=1,c.payload=t,i!=null&&(c.callback=i),t=ga(e,c,u),t!==null&&(jt(t,e,u),bl(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Zt(),u=ma(i);u.tag=2,t!=null&&(u.callback=t),t=ga(e,u,i),t!==null&&(jt(t,e,i),bl(t,e,i))}};function Pg(e,t,i,u,c,f,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,f,y):t.prototype&&t.prototype.isPureReactComponent?!fl(i,u)||!fl(c,f):!0}function Wg(e,t,i,u){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,u),t.state!==e&&vh.enqueueReplaceState(t,t.state,null)}function hr(e,t){var i=t;if("ref"in t){i={};for(var u in t)u!=="ref"&&(i[u]=t[u])}if(e=e.defaultProps){i===t&&(i=g({},i));for(var c in e)i[c]===void 0&&(i[c]=e[c])}return i}function $g(e){$u(e)}function e0(e){console.error(e)}function t0(e){$u(e)}function To(e,t){try{var i=e.onUncaughtError;i(t.value,{componentStack:t.stack})}catch(u){setTimeout(function(){throw u})}}function n0(e,t,i){try{var u=e.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function yh(e,t,i){return i=ma(i),i.tag=3,i.payload={element:null},i.callback=function(){To(e,t)},i}function a0(e){return e=ma(e),e.tag=3,e}function r0(e,t,i,u){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var f=u.value;e.payload=function(){return c(f)},e.callback=function(){n0(t,i,u)}}var y=i.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){n0(t,i,u),typeof c!="function"&&(Oa===null?Oa=new Set([this]):Oa.add(this));var b=u.stack;this.componentDidCatch(u.value,{componentStack:b!==null?b:""})})}function JA(e,t,i,u,c){if(i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=i.alternate,t!==null&&li(t,i,c,!0),i=Ht.current,i!==null){switch(i.tag){case 31:case 13:return on===null?Lo():i.alternate===null&&tt===0&&(tt=3),i.flags&=-257,i.flags|=65536,i.lanes=c,u===so?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([u]):t.add(u),Vh(e,u,c)),!1;case 22:return i.flags|=65536,u===so?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([u]):i.add(u)),Vh(e,u,c)),!1}throw Error(l(435,i.tag))}return Vh(e,u,c),Lo(),!1}if(Re)return t=Ht.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=c,u!==Lf&&(e=Error(l(422),{cause:u}),pl(an(e,i)))):(u!==Lf&&(t=Error(l(423),{cause:u}),pl(an(t,i))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,u=an(u,i),c=yh(e.stateNode,u,c),Yf(e,c),tt!==4&&(tt=2)),!1;var f=Error(l(520),{cause:u});if(f=an(f,i),zl===null?zl=[f]:zl.push(f),tt!==4&&(tt=2),t===null)return!0;u=an(u,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=c&-c,i.lanes|=e,e=yh(i.stateNode,u,e),Yf(i,e),!1;case 1:if(t=i.type,f=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Oa===null||!Oa.has(f))))return i.flags|=65536,c&=-c,i.lanes|=c,c=a0(c),r0(c,e,i,u),Yf(i,c),!1}i=i.return}while(i!==null);return!1}var mh=Error(l(461)),ot=!1;function _t(e,t,i,u){t.child=e===null?og(t,null,i,u):cr(t,e.child,i,u)}function i0(e,t,i,u,c){i=i.render;var f=t.ref;if("ref"in u){var y={};for(var b in u)b!=="ref"&&(y[b]=u[b])}else y=u;return lr(t),u=Wf(e,t,i,y,f,c),b=$f(),e!==null&&!ot?(eh(e,t,c),In(e,t,c)):(Re&&b&&zf(t),t.flags|=1,_t(e,t,u,c),t.child)}function l0(e,t,i,u,c){if(e===null){var f=i.type;return typeof f=="function"&&!Rf(f)&&f.defaultProps===void 0&&i.compare===null?(t.tag=15,t.type=f,u0(e,t,f,u,c)):(e=ao(i.type,null,u,t,t.mode,c),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!Dh(e,c)){var y=f.memoizedProps;if(i=i.compare,i=i!==null?i:fl,i(y,u)&&e.ref===t.ref)return In(e,t,c)}return t.flags|=1,e=jn(f,u),e.ref=t.ref,e.return=t,t.child=e}function u0(e,t,i,u,c){if(e!==null){var f=e.memoizedProps;if(fl(f,u)&&e.ref===t.ref)if(ot=!1,t.pendingProps=u=f,Dh(e,c))(e.flags&131072)!==0&&(ot=!0);else return t.lanes=e.lanes,In(e,t,c)}return gh(e,t,i,u,c)}function o0(e,t,i,u){var c=u.children,f=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((t.flags&128)!==0){if(f=f!==null?f.baseLanes|i:i,e!==null){for(u=t.child=e.child,c=0;u!==null;)c=c|u.lanes|u.childLanes,u=u.sibling;u=c&~f}else u=0,t.child=null;return s0(e,t,f,i,u)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&uo(t,f!==null?f.cachePool:null),f!==null?fg(t,f):Zf(),hg(t);else return u=t.lanes=536870912,s0(e,t,f!==null?f.baseLanes|i:i,i,u)}else f!==null?(uo(t,f.cachePool),fg(t,f),Sa(),t.memoizedState=null):(e!==null&&uo(t,null),Zf(),Sa());return _t(e,t,c,i),t.child}function Al(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function s0(e,t,i,u,c){var f=If();return f=f===null?null:{parent:lt._currentValue,pool:f},t.memoizedState={baseLanes:i,cachePool:f},e!==null&&uo(t,null),Zf(),hg(t),e!==null&&li(e,t,u,!0),t.childLanes=c,null}function Oo(e,t){return t=Ao({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function c0(e,t,i){return cr(t,e.child,null,i),e=Oo(t,t.pendingProps),e.flags|=2,Gt(t),t.memoizedState=null,e}function KA(e,t,i){var u=t.pendingProps,c=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Re){if(u.mode==="hidden")return e=Oo(t,u),t.lanes=536870912,Al(null,e);if(Kf(t),(e=Ye)?(e=_b(e,un),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ha!==null?{id:On,overflow:Dn}:null,retryLane:536870912,hydrationErrors:null},i=Xm(e),i.return=t,t.child=i,St=t,Ye=null)):e=null,e===null)throw pa(t);return t.lanes=536870912,null}return Oo(t,u)}var f=e.memoizedState;if(f!==null){var y=f.dehydrated;if(Kf(t),c)if(t.flags&256)t.flags&=-257,t=c0(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(l(558));else if(ot||li(e,t,i,!1),c=(i&e.childLanes)!==0,ot||c){if(u=He,u!==null&&(y=em(u,i),y!==0&&y!==f.retryLane))throw f.retryLane=y,nr(e,y),jt(u,e,y),mh;Lo(),t=c0(e,t,i)}else e=f.treeContext,Ye=sn(y.nextSibling),St=t,Re=!0,da=null,un=!1,e!==null&&Km(t,e),t=Oo(t,u),t.flags|=4096;return t}return e=jn(e.child,{mode:u.mode,children:u.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Do(e,t){var i=t.ref;if(i===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(l(284));(e===null||e.ref!==i)&&(t.flags|=4194816)}}function gh(e,t,i,u,c){return lr(t),i=Wf(e,t,i,u,void 0,c),u=$f(),e!==null&&!ot?(eh(e,t,c),In(e,t,c)):(Re&&u&&zf(t),t.flags|=1,_t(e,t,i,c),t.child)}function f0(e,t,i,u,c,f){return lr(t),t.updateQueue=null,i=pg(t,u,i,c),dg(e),u=$f(),e!==null&&!ot?(eh(e,t,f),In(e,t,f)):(Re&&u&&zf(t),t.flags|=1,_t(e,t,i,f),t.child)}function h0(e,t,i,u,c){if(lr(t),t.stateNode===null){var f=ni,y=i.contextType;typeof y=="object"&&y!==null&&(f=Et(y)),f=new i(u,f),t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=vh,t.stateNode=f,f._reactInternals=t,f=t.stateNode,f.props=u,f.state=t.memoizedState,f.refs={},Hf(t),y=i.contextType,f.context=typeof y=="object"&&y!==null?Et(y):ni,f.state=t.memoizedState,y=i.getDerivedStateFromProps,typeof y=="function"&&(ph(t,i,y,u),f.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(y=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),y!==f.state&&vh.enqueueReplaceState(f,f.state,null),El(t,u,f,c),Sl(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),u=!0}else if(e===null){f=t.stateNode;var b=t.memoizedProps,O=hr(i,b);f.props=O;var L=f.context,F=i.contextType;y=ni,typeof F=="object"&&F!==null&&(y=Et(F));var X=i.getDerivedStateFromProps;F=typeof X=="function"||typeof f.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,F||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(b||L!==y)&&Wg(t,f,u,y),ya=!1;var j=t.memoizedState;f.state=j,El(t,u,f,c),Sl(),L=t.memoizedState,b||j!==L||ya?(typeof X=="function"&&(ph(t,i,X,u),L=t.memoizedState),(O=ya||Pg(t,i,O,u,j,L,y))?(F||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=L),f.props=u,f.state=L,f.context=y,u=O):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),u=!1)}else{f=t.stateNode,Gf(e,t),y=t.memoizedProps,F=hr(i,y),f.props=F,X=t.pendingProps,j=f.context,L=i.contextType,O=ni,typeof L=="object"&&L!==null&&(O=Et(L)),b=i.getDerivedStateFromProps,(L=typeof b=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y!==X||j!==O)&&Wg(t,f,u,O),ya=!1,j=t.memoizedState,f.state=j,El(t,u,f,c),Sl();var q=t.memoizedState;y!==X||j!==q||ya||e!==null&&e.dependencies!==null&&io(e.dependencies)?(typeof b=="function"&&(ph(t,i,b,u),q=t.memoizedState),(F=ya||Pg(t,i,F,u,j,q,O)||e!==null&&e.dependencies!==null&&io(e.dependencies))?(L||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(u,q,O),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(u,q,O)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=q),f.props=u,f.state=q,f.context=O,u=F):(typeof f.componentDidUpdate!="function"||y===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),u=!1)}return f=u,Do(e,t),u=(t.flags&128)!==0,f||u?(f=t.stateNode,i=u&&typeof i.getDerivedStateFromError!="function"?null:f.render(),t.flags|=1,e!==null&&u?(t.child=cr(t,e.child,null,c),t.child=cr(t,null,i,c)):_t(e,t,i,c),t.memoizedState=f.state,e=t.child):e=In(e,t,c),e}function d0(e,t,i,u){return rr(),t.flags|=256,_t(e,t,i,u),t.child}var bh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sh(e){return{baseLanes:e,cachePool:ng()}}function Eh(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=Xt),e}function p0(e,t,i){var u=t.pendingProps,c=!1,f=(t.flags&128)!==0,y;if((y=f)||(y=e!==null&&e.memoizedState===null?!1:(nt.current&2)!==0),y&&(c=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(Re){if(c?ba(t):Sa(),(e=Ye)?(e=_b(e,un),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ha!==null?{id:On,overflow:Dn}:null,retryLane:536870912,hydrationErrors:null},i=Xm(e),i.return=t,t.child=i,St=t,Ye=null)):e=null,e===null)throw pa(t);return ad(e)?t.lanes=32:t.lanes=536870912,null}var b=u.children;return u=u.fallback,c?(Sa(),c=t.mode,b=Ao({mode:"hidden",children:b},c),u=ar(u,c,i,null),b.return=t,u.return=t,b.sibling=u,t.child=b,u=t.child,u.memoizedState=Sh(i),u.childLanes=Eh(e,y,i),t.memoizedState=bh,Al(null,u)):(ba(t),_h(t,b))}var O=e.memoizedState;if(O!==null&&(b=O.dehydrated,b!==null)){if(f)t.flags&256?(ba(t),t.flags&=-257,t=Th(e,t,i)):t.memoizedState!==null?(Sa(),t.child=e.child,t.flags|=128,t=null):(Sa(),b=u.fallback,c=t.mode,u=Ao({mode:"visible",children:u.children},c),b=ar(b,c,i,null),b.flags|=2,u.return=t,b.return=t,u.sibling=b,t.child=u,cr(t,e.child,null,i),u=t.child,u.memoizedState=Sh(i),u.childLanes=Eh(e,y,i),t.memoizedState=bh,t=Al(null,u));else if(ba(t),ad(b)){if(y=b.nextSibling&&b.nextSibling.dataset,y)var L=y.dgst;y=L,u=Error(l(419)),u.stack="",u.digest=y,pl({value:u,source:null,stack:null}),t=Th(e,t,i)}else if(ot||li(e,t,i,!1),y=(i&e.childLanes)!==0,ot||y){if(y=He,y!==null&&(u=em(y,i),u!==0&&u!==O.retryLane))throw O.retryLane=u,nr(e,u),jt(y,e,u),mh;nd(b)||Lo(),t=Th(e,t,i)}else nd(b)?(t.flags|=192,t.child=e.child,t=null):(e=O.treeContext,Ye=sn(b.nextSibling),St=t,Re=!0,da=null,un=!1,e!==null&&Km(t,e),t=_h(t,u.children),t.flags|=4096);return t}return c?(Sa(),b=u.fallback,c=t.mode,O=e.child,L=O.sibling,u=jn(O,{mode:"hidden",children:u.children}),u.subtreeFlags=O.subtreeFlags&65011712,L!==null?b=jn(L,b):(b=ar(b,c,i,null),b.flags|=2),b.return=t,u.return=t,u.sibling=b,t.child=u,Al(null,u),u=t.child,b=e.child.memoizedState,b===null?b=Sh(i):(c=b.cachePool,c!==null?(O=lt._currentValue,c=c.parent!==O?{parent:O,pool:O}:c):c=ng(),b={baseLanes:b.baseLanes|i,cachePool:c}),u.memoizedState=b,u.childLanes=Eh(e,y,i),t.memoizedState=bh,Al(e.child,u)):(ba(t),i=e.child,e=i.sibling,i=jn(i,{mode:"visible",children:u.children}),i.return=t,i.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=i,t.memoizedState=null,i)}function _h(e,t){return t=Ao({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ao(e,t){return e=Ft(22,e,null,t),e.lanes=0,e}function Th(e,t,i){return cr(t,e.child,null,i),e=_h(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function v0(e,t,i){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),Qf(e.return,t,i)}function Oh(e,t,i,u,c,f){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:c,treeForkCount:f}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=i,y.tailMode=c,y.treeForkCount=f)}function y0(e,t,i){var u=t.pendingProps,c=u.revealOrder,f=u.tail;u=u.children;var y=nt.current,b=(y&2)!==0;if(b?(y=y&1|2,t.flags|=128):y&=1,J(nt,y),_t(e,t,u,i),u=Re?dl:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&v0(e,i,t);else if(e.tag===19)v0(e,i,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}switch(c){case"forwards":for(i=t.child,c=null;i!==null;)e=i.alternate,e!==null&&po(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=t.child,t.child=null):(c=i.sibling,i.sibling=null),Oh(t,!1,c,i,f,u);break;case"backwards":case"unstable_legacy-backwards":for(i=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&po(e)===null){t.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}Oh(t,!0,i,null,f,u);break;case"together":Oh(t,!1,null,null,void 0,u);break;default:t.memoizedState=null}return t.child}function In(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Ta|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(li(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(l(153));if(t.child!==null){for(e=t.child,i=jn(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=jn(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Dh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&io(e)))}function PA(e,t,i){switch(t.tag){case 3:We(t,t.stateNode.containerInfo),va(t,lt,e.memoizedState.cache),rr();break;case 27:case 5:Nn(t);break;case 4:We(t,t.stateNode.containerInfo);break;case 10:va(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Kf(t),null;break;case 13:var u=t.memoizedState;if(u!==null)return u.dehydrated!==null?(ba(t),t.flags|=128,null):(i&t.child.childLanes)!==0?p0(e,t,i):(ba(t),e=In(e,t,i),e!==null?e.sibling:null);ba(t);break;case 19:var c=(e.flags&128)!==0;if(u=(i&t.childLanes)!==0,u||(li(e,t,i,!1),u=(i&t.childLanes)!==0),c){if(u)return y0(e,t,i);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),J(nt,nt.current),u)break;return null;case 22:return t.lanes=0,o0(e,t,i,t.pendingProps);case 24:va(t,lt,e.memoizedState.cache)}return In(e,t,i)}function m0(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps)ot=!0;else{if(!Dh(e,i)&&(t.flags&128)===0)return ot=!1,PA(e,t,i);ot=(e.flags&131072)!==0}else ot=!1,Re&&(t.flags&1048576)!==0&&Jm(t,dl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var u=t.pendingProps;if(e=or(t.elementType),t.type=e,typeof e=="function")Rf(e)?(u=hr(e,u),t.tag=1,t=h0(null,t,e,u,i)):(t.tag=0,t=gh(null,t,e,u,i));else{if(e!=null){var c=e.$$typeof;if(c===Q){t.tag=11,t=i0(null,t,e,u,i);break e}else if(c===V){t.tag=14,t=l0(null,t,e,u,i);break e}}throw t=te(e)||e,Error(l(306,t,""))}}return t;case 0:return gh(e,t,t.type,t.pendingProps,i);case 1:return u=t.type,c=hr(u,t.pendingProps),h0(e,t,u,c,i);case 3:e:{if(We(t,t.stateNode.containerInfo),e===null)throw Error(l(387));u=t.pendingProps;var f=t.memoizedState;c=f.element,Gf(e,t),El(t,u,null,i);var y=t.memoizedState;if(u=y.cache,va(t,lt,u),u!==f.cache&&Uf(t,[lt],i,!0),Sl(),u=y.element,f.isDehydrated)if(f={element:u,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=d0(e,t,u,i);break e}else if(u!==c){c=an(Error(l(424)),t),pl(c),t=d0(e,t,u,i);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ye=sn(e.firstChild),St=t,Re=!0,da=null,un=!0,i=og(t,null,u,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(rr(),u===c){t=In(e,t,i);break e}_t(e,t,u,i)}t=t.child}return t;case 26:return Do(e,t),e===null?(i=Cb(t.type,null,t.pendingProps,null))?t.memoizedState=i:Re||(i=t.type,e=t.pendingProps,u=Io(ue.current).createElement(i),u[bt]=t,u[Rt]=e,Tt(u,i,e),vt(u),t.stateNode=u):t.memoizedState=Cb(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Nn(t),e===null&&Re&&(u=t.stateNode=Db(t.type,t.pendingProps,ue.current),St=t,un=!0,c=Ye,Ca(t.type)?(rd=c,Ye=sn(u.firstChild)):Ye=c),_t(e,t,t.pendingProps.children,i),Do(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Re&&((c=u=Ye)&&(u=xx(u,t.type,t.pendingProps,un),u!==null?(t.stateNode=u,St=t,Ye=sn(u.firstChild),un=!1,c=!0):c=!1),c||pa(t)),Nn(t),c=t.type,f=t.pendingProps,y=e!==null?e.memoizedProps:null,u=f.children,$h(c,f)?u=null:y!==null&&$h(c,y)&&(t.flags|=32),t.memoizedState!==null&&(c=Wf(e,t,IA,null,null,i),Vl._currentValue=c),Do(e,t),_t(e,t,u,i),t.child;case 6:return e===null&&Re&&((e=i=Ye)&&(i=Cx(i,t.pendingProps,un),i!==null?(t.stateNode=i,St=t,Ye=null,e=!0):e=!1),e||pa(t)),null;case 13:return p0(e,t,i);case 4:return We(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=cr(t,null,u,i):_t(e,t,u,i),t.child;case 11:return i0(e,t,t.type,t.pendingProps,i);case 7:return _t(e,t,t.pendingProps,i),t.child;case 8:return _t(e,t,t.pendingProps.children,i),t.child;case 12:return _t(e,t,t.pendingProps.children,i),t.child;case 10:return u=t.pendingProps,va(t,t.type,u.value),_t(e,t,u.children,i),t.child;case 9:return c=t.type._context,u=t.pendingProps.children,lr(t),c=Et(c),u=u(c),t.flags|=1,_t(e,t,u,i),t.child;case 14:return l0(e,t,t.type,t.pendingProps,i);case 15:return u0(e,t,t.type,t.pendingProps,i);case 19:return y0(e,t,i);case 31:return KA(e,t,i);case 22:return o0(e,t,i,t.pendingProps);case 24:return lr(t),u=Et(lt),e===null?(c=If(),c===null&&(c=He,f=Bf(),c.pooledCache=f,f.refCount++,f!==null&&(c.pooledCacheLanes|=i),c=f),t.memoizedState={parent:u,cache:c},Hf(t),va(t,lt,c)):((e.lanes&i)!==0&&(Gf(e,t),El(t,null,null,i),Sl()),c=e.memoizedState,f=t.memoizedState,c.parent!==u?(c={parent:u,cache:u},t.memoizedState=c,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=c),va(t,lt,u)):(u=f.cache,va(t,lt,u),u!==c.cache&&Uf(t,[lt],i,!0))),_t(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function Fn(e){e.flags|=4}function Ah(e,t,i,u,c){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(H0())e.flags|=8192;else throw sr=so,Ff}else e.flags&=-16777217}function g0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!zb(t))if(H0())e.flags|=8192;else throw sr=so,Ff}function xo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Py():536870912,e.lanes|=t,gi|=t)}function xl(e,t){if(!Re)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,u=0;if(t)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=u,e.childLanes=i,t}function WA(e,t,i){var u=t.pendingProps;switch(kf(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return Xe(t),null;case 3:return i=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Un(lt),qe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(ii(t)?Fn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,jf())),Xe(t),null;case 26:var c=t.type,f=t.memoizedState;return e===null?(Fn(t),f!==null?(Xe(t),g0(t,f)):(Xe(t),Ah(t,c,null,u,i))):f?f!==e.memoizedState?(Fn(t),Xe(t),g0(t,f)):(Xe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==u&&Fn(t),Xe(t),Ah(t,c,e,u,i)),null;case 27:if(Mn(t),i=ue.current,c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Fn(t);else{if(!u){if(t.stateNode===null)throw Error(l(166));return Xe(t),null}e=ee.current,ii(t)?Pm(t):(e=Db(c,u,i),t.stateNode=e,Fn(t))}return Xe(t),null;case 5:if(Mn(t),c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Fn(t);else{if(!u){if(t.stateNode===null)throw Error(l(166));return Xe(t),null}if(f=ee.current,ii(t))Pm(t);else{var y=Io(ue.current);switch(f){case 1:f=y.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:f=y.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":f=y.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":f=y.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":f=y.createElement("div"),f.innerHTML="<script><\/script>
8",f=f.removeChild(f.firstChild);break;case"select":f=typeof u.is=="string"?y.createElement("select",{is:u.is}):y.createElement("select"),u.multiple?f.multiple=!0:u.size&&(f.size=u.size);break;default:f=typeof u.is=="string"?y.createElement(c,{is:u.is}):y.createElement(c)}}f[bt]=t,f[Rt]=u;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)f.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=f;e:switch(Tt(f,c,u),c){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Fn(t)}}return Xe(t),Ah(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&Fn(t);else{if(typeof u!="string"&&t.stateNode===null)throw Error(l(166));if(e=ue.current,ii(t)){if(e=t.stateNode,i=t.memoizedProps,u=null,c=St,c!==null)switch(c.tag){case 27:case 5:u=c.memoizedProps}e[bt]=t,e=!!(e.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||pb(e.nodeValue,i)),e||pa(t,!0)}else e=Io(e).createTextNode(u),e[bt]=t,t.stateNode=e}return Xe(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(u=ii(t),i!==null){if(e===null){if(!u)throw Error(l(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(557));e[bt]=t}else rr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Xe(t),e=!1}else i=jf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(Gt(t),t):(Gt(t),null);if((t.flags&128)!==0)throw Error(l(558))}return Xe(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=ii(t),u!==null&&u.dehydrated!==null){if(e===null){if(!c)throw Error(l(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(l(317));c[bt]=t}else rr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Xe(t),c=!1}else c=jf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Gt(t),t):(Gt(t),null)}return Gt(t),(t.flags&128)!==0?(t.lanes=i,t):(i=u!==null,e=e!==null&&e.memoizedState!==null,i&&(u=t.child,c=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(c=u.alternate.memoizedState.cachePool.pool),f=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(f=u.memoizedState.cachePool.pool),f!==c&&(u.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),xo(t,t.updateQueue),Xe(t),null);case 4:return qe(),e===null&&Zh(t.stateNode.containerInfo),Xe(t),null;case 10:return Un(t.type),Xe(t),null;case 19:if(U(nt),u=t.memoizedState,u===null)return Xe(t),null;if(c=(t.flags&128)!==0,f=u.rendering,f===null)if(c)xl(u,!1);else{if(tt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=po(e),f!==null){for(t.flags|=128,xl(u,!1),e=f.updateQueue,t.updateQueue=e,xo(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)Ym(i,e),i=i.sibling;return J(nt,nt.current&1|2),Re&&qn(t,u.treeForkCount),t.child}e=e.sibling}u.tail!==null&&Ut()>Mo&&(t.flags|=128,c=!0,xl(u,!1),t.lanes=4194304)}else{if(!c)if(e=po(f),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,xo(t,e),xl(u,!0),u.tail===null&&u.tailMode==="hidden"&&!f.alternate&&!Re)return Xe(t),null}else 2*Ut()-u.renderingStartTime>Mo&&i!==536870912&&(t.flags|=128,c=!0,xl(u,!1),t.lanes=4194304);u.isBackwards?(f.sibling=t.child,t.child=f):(e=u.last,e!==null?e.sibling=f:t.child=f,u.last=f)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=Ut(),e.sibling=null,i=nt.current,J(nt,c?i&1|2:i&1),Re&&qn(t,u.treeForkCount),e):(Xe(t),null);case 22:case 23:return Gt(t),Jf(),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(i&536870912)!==0&&(t.flags&128)===0&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),i=t.updateQueue,i!==null&&xo(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==i&&(t.flags|=2048),e!==null&&U(ur),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Un(lt),Xe(t),null;case 25:return null;case 30:return null}throw Error(l(156,t.tag))}function $A(e,t){switch(kf(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Un(lt),qe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Mn(t),null;case 31:if(t.memoizedState!==null){if(Gt(t),t.alternate===null)throw Error(l(340));rr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Gt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(l(340));rr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(nt),null;case 4:return qe(),null;case 10:return Un(t.type),null;case 22:case 23:return Gt(t),Jf(),e!==null&&U(ur),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Un(lt),null;case 25:return null;default:return null}}function b0(e,t){switch(kf(t),t.tag){case 3:Un(lt),qe();break;case 26:case 27:case 5:Mn(t);break;case 4:qe();break;case 31:t.memoizedState!==null&&Gt(t);break;case 13:Gt(t);break;case 19:U(nt);break;case 10:Un(t.type);break;case 22:case 23:Gt(t),Jf(),e!==null&&U(ur);break;case 24:Un(lt)}}function Cl(e,t){try{var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var c=u.next;i=c;do{if((i.tag&e)===e){u=void 0;var f=i.create,y=i.inst;u=f(),y.destroy=u}i=i.next}while(i!==c)}}catch(b){Ue(t,t.return,b)}}function Ea(e,t,i){try{var u=t.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var f=c.next;u=f;do{if((u.tag&e)===e){var y=u.inst,b=y.destroy;if(b!==void 0){y.destroy=void 0,c=t;var O=i,L=b;try{L()}catch(F){Ue(c,O,F)}}}u=u.next}while(u!==f)}}catch(F){Ue(t,t.return,F)}}function S0(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;try{cg(t,i)}catch(u){Ue(e,e.return,u)}}}function E0(e,t,i){i.props=hr(e.type,e.memoizedProps),i.state=e.memoizedState;
vendor: 18,262 bytes, line 8
8try{i.componentWillUnmount()}catch(u){Ue(e,t,u)}}function wl(e,t){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof i=="function"?e.refCleanup=i(u):i.current=u}}catch(c){Ue(e,t,c)}}function An(e,t){var i=e.ref,u=e.refCleanup;if(i!==null)if(typeof u=="function")try{u()}catch(c){Ue(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){Ue(e,t,c)}else i.current=null}function _0(e){var t=e.type,i=e.memoizedProps,u=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&u.focus();break e;case"img":i.src?u.src=i.src:i.srcSet&&(u.srcset=i.srcSet)}}catch(c){Ue(e,e.return,c)}}function xh(e,t,i){try{var u=e.stateNode;Ex(u,e.type,i,t),u[Rt]=t}catch(c){Ue(e,e.return,c)}}function T0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ca(e.type)||e.tag===4}function Ch(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||T0(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.tag===27&&Ca(e.type)||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 wh(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t):(t=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,t.appendChild(e),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=kn));else if(u!==4&&(u===27&&Ca(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(wh(e,t,i),e=e.sibling;e!==null;)wh(e,t,i),e=e.sibling}function Co(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(u!==4&&(u===27&&Ca(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(Co(e,t,i),e=e.sibling;e!==null;)Co(e,t,i),e=e.sibling}function O0(e){var t=e.stateNode,i=e.memoizedProps;try{for(var u=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);Tt(t,u,i),t[bt]=e,t[Rt]=i}catch(f){Ue(e,e.return,f)}}var Hn=!1,st=!1,Rh=!1,D0=typeof WeakSet=="function"?WeakSet:Set,yt=null;function ex(e,t){if(e=e.containerInfo,Ph=Jo,e=qm(e),Tf(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var c=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var y=0,b=-1,O=-1,L=0,F=0,X=e,j=null;t:for(;;){for(var q;X!==i||c!==0&&X.nodeType!==3||(b=y+c),X!==f||u!==0&&X.nodeType!==3||(O=y+u),X.nodeType===3&&(y+=X.nodeValue.length),(q=X.firstChild)!==null;)j=X,X=q;for(;;){if(X===e)break t;if(j===i&&++L===c&&(b=y),j===f&&++F===u&&(O=y),(q=X.nextSibling)!==null)break;X=j,j=X.parentNode}X=q}i=b===-1||O===-1?null:{start:b,end:O}}else i=null}i=i||{start:0,end:0}}else i=null;for(Wh={focusedElem:e,selectionRange:i},Jo=!1,yt=t;yt!==null;)if(t=yt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yt=e;else for(;yt!==null;){switch(t=yt,f=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)c=e[i],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&f!==null){e=void 0,i=t,c=f.memoizedProps,f=f.memoizedState,u=i.stateNode;try{var ie=hr(i.type,c);e=u.getSnapshotBeforeUpdate(ie,f),u.__reactInternalSnapshotBeforeUpdate=e}catch(pe){Ue(i,i.return,pe)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,i=e.nodeType,i===9)td(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":td(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(l(163))}if(e=t.sibling,e!==null){e.return=t.return,yt=e;break}yt=t.return}}function A0(e,t,i){var u=i.flags;switch(i.tag){case 0:case 11:case 15:Yn(e,i),u&4&&Cl(5,i);break;case 1:if(Yn(e,i),u&4)if(e=i.stateNode,t===null)try{e.componentDidMount()}catch(y){Ue(i,i.return,y)}else{var c=hr(i.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(c,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){Ue(i,i.return,y)}}u&64&&S0(i),u&512&&wl(i,i.return);break;case 3:if(Yn(e,i),u&64&&(e=i.updateQueue,e!==null)){if(t=null,i.child!==null)switch(i.child.tag){case 27:case 5:t=i.child.stateNode;break;case 1:t=i.child.stateNode}try{cg(e,t)}catch(y){Ue(i,i.return,y)}}break;case 27:t===null&&u&4&&O0(i);case 26:case 5:Yn(e,i),t===null&&u&4&&_0(i),u&512&&wl(i,i.return);break;case 12:Yn(e,i);break;case 31:Yn(e,i),u&4&&w0(e,i);break;case 13:Yn(e,i),u&4&&R0(e,i),u&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=sx.bind(null,i),wx(e,i))));break;case 22:if(u=i.memoizedState!==null||Hn,!u){t=t!==null&&t.memoizedState!==null||st,c=Hn;var f=st;Hn=u,(st=t)&&!f?Xn(e,i,(i.subtreeFlags&8772)!==0):Yn(e,i),Hn=c,st=f}break;case 30:break;default:Yn(e,i)}}function x0(e){var t=e.alternate;t!==null&&(e.alternate=null,x0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&lf(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Je=null,Mt=!1;function Gn(e,t,i){for(i=i.child;i!==null;)C0(e,t,i),i=i.sibling}function C0(e,t,i){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount($i,i)}catch{}switch(i.tag){case 26:st||An(i,t),Gn(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:st||An(i,t);var u=Je,c=Mt;Ca(i.type)&&(Je=i.stateNode,Mt=!1),Gn(e,t,i),Ql(i.stateNode),Je=u,Mt=c;break;case 5:st||An(i,t);case 6:if(u=Je,c=Mt,Je=null,Gn(e,t,i),Je=u,Mt=c,Je!==null)if(Mt)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(i.stateNode)}catch(f){Ue(i,t,f)}else try{Je.removeChild(i.stateNode)}catch(f){Ue(i,t,f)}break;case 18:Je!==null&&(Mt?(e=Je,Sb(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),Ai(e)):Sb(Je,i.stateNode));break;case 4:u=Je,c=Mt,Je=i.stateNode.containerInfo,Mt=!0,Gn(e,t,i),Je=u,Mt=c;break;case 0:case 11:case 14:case 15:Ea(2,i,t),st||Ea(4,i,t),Gn(e,t,i);break;case 1:st||(An(i,t),u=i.stateNode,typeof u.componentWillUnmount=="function"&&E0(i,t,u)),Gn(e,t,i);break;case 21:Gn(e,t,i);break;case 22:st=(u=st)||i.memoizedState!==null,Gn(e,t,i),st=u;break;default:Gn(e,t,i)}}function w0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ai(e)}catch(i){Ue(t,t.return,i)}}}function R0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ai(e)}catch(i){Ue(t,t.return,i)}}function tx(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new D0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new D0),t;default:throw Error(l(435,e.tag))}}function wo(e,t){var i=tx(e);t.forEach(function(u){if(!i.has(u)){i.add(u);var c=cx.bind(null,e,u);u.then(c,c)}})}function zt(e,t){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var c=i[u],f=e,y=t,b=y;e:for(;b!==null;){switch(b.tag){case 27:if(Ca(b.type)){Je=b.stateNode,Mt=!1;break e}break;case 5:Je=b.stateNode,Mt=!1;break e;case 3:case 4:Je=b.stateNode.containerInfo,Mt=!0;break e}b=b.return}if(Je===null)throw Error(l(160));C0(f,y,c),Je=null,Mt=!1,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)N0(t,e),t=t.sibling}var bn=null;function N0(e,t){var i=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:zt(t,e),kt(e),u&4&&(Ea(3,e,e.return),Cl(3,e),Ea(5,e,e.return));break;case 1:zt(t,e),kt(e),u&512&&(st||i===null||An(i,i.return)),u&64&&Hn&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?u:i.concat(u))));break;case 26:var c=bn;if(zt(t,e),kt(e),u&512&&(st||i===null||An(i,i.return)),u&4){var f=i!==null?i.memoizedState:null;if(u=e.memoizedState,i===null)if(u===null)if(e.stateNode===null){e:{u=e.type,i=e.memoizedProps,c=c.ownerDocument||c;t:switch(u){case"title":f=c.getElementsByTagName("title")[0],(!f||f[nl]||f[bt]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=c.createElement(u),c.head.insertBefore(f,c.querySelector("head > title"))),Tt(f,u,i),f[bt]=e,vt(f),u=f;break e;case"link":var y=Nb("link","href",c).get(u+(i.href||""));if(y){for(var b=0;b<y.length;b++)if(f=y[b],f.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&f.getAttribute("rel")===(i.rel==null?null:i.rel)&&f.getAttribute("title")===(i.title==null?null:i.title)&&f.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){y.splice(b,1);break t}}f=c.createElement(u),Tt(f,u,i),c.head.appendChild(f);break;case"meta":if(y=Nb("meta","content",c).get(u+(i.content||""))){for(b=0;b<y.length;b++)if(f=y[b],f.getAttribute("content")===(i.content==null?null:""+i.content)&&f.getAttribute("name")===(i.name==null?null:i.name)&&f.getAttribute("property")===(i.property==null?null:i.property)&&f.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&f.getAttribute("charset")===(i.charSet==null?null:i.charSet)){y.splice(b,1);break t}}f=c.createElement(u),Tt(f,u,i),c.head.appendChild(f);break;default:throw Error(l(468,u))}f[bt]=e,vt(f),u=f}e.stateNode=u}else Mb(c,e.type,e.stateNode);else e.stateNode=Rb(c,u,e.memoizedProps);else f!==u?(f===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):f.count--,u===null?Mb(c,e.type,e.stateNode):Rb(c,u,e.memoizedProps)):u===null&&e.stateNode!==null&&xh(e,e.memoizedProps,i.memoizedProps)}break;case 27:zt(t,e),kt(e),u&512&&(st||i===null||An(i,i.return)),i!==null&&u&4&&xh(e,e.memoizedProps,i.memoizedProps);break;case 5:if(zt(t,e),kt(e),u&512&&(st||i===null||An(i,i.return)),e.flags&32){c=e.stateNode;try{Jr(c,"")}catch(ie){Ue(e,e.return,ie)}}u&4&&e.stateNode!=null&&(c=e.memoizedProps,xh(e,c,i!==null?i.memoizedProps:c)),u&1024&&(Rh=!0);break;case 6:if(zt(t,e),kt(e),u&4){if(e.stateNode===null)throw Error(l(162));u=e.memoizedProps,i=e.stateNode;try{i.nodeValue=u}catch(ie){Ue(e,e.return,ie)}}break;case 3:if(Go=null,c=bn,bn=Fo(t.containerInfo),zt(t,e),bn=c,kt(e),u&4&&i!==null&&i.memoizedState.isDehydrated)try{Ai(t.containerInfo)}catch(ie){Ue(e,e.return,ie)}Rh&&(Rh=!1,M0(e));break;case 4:u=bn,bn=Fo(e.stateNode.containerInfo),zt(t,e),kt(e),bn=u;break;case 12:zt(t,e),kt(e);break;case 31:zt(t,e),kt(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,wo(e,u)));break;case 13:zt(t,e),kt(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(No=Ut()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,wo(e,u)));break;case 22:c=e.memoizedState!==null;var O=i!==null&&i.memoizedState!==null,L=Hn,F=st;if(Hn=L||c,st=F||O,zt(t,e),st=F,Hn=L,kt(e),u&8192)e:for(t=e.stateNode,t._visibility=c?t._visibility&-2:t._visibility|1,c&&(i===null||O||Hn||st||dr(e)),i=null,t=e;;){if(t.tag===5||t.tag===26){if(i===null){O=i=t;try{if(f=O.stateNode,c)y=f.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{b=O.stateNode;var X=O.memoizedProps.style,j=X!=null&&X.hasOwnProperty("display")?X.display:null;b.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(ie){Ue(O,O.return,ie)}}}else if(t.tag===6){if(i===null){O=t;try{O.stateNode.nodeValue=c?"":O.memoizedProps}catch(ie){Ue(O,O.return,ie)}}}else if(t.tag===18){if(i===null){O=t;try{var q=O.stateNode;c?Eb(q,!0):Eb(O.stateNode,!1)}catch(ie){Ue(O,O.return,ie)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=e.updateQueue,u!==null&&(i=u.retryQueue,i!==null&&(u.retryQueue=null,wo(e,i))));break;case 19:zt(t,e),kt(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,wo(e,u)));break;case 30:break;case 21:break;default:zt(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{for(var i,u=e.return;u!==null;){if(T0(u)){i=u;break}u=u.return}if(i==null)throw Error(l(160));switch(i.tag){case 27:var c=i.stateNode,f=Ch(e);Co(e,f,c);break;case 5:var y=i.stateNode;i.flags&32&&(Jr(y,""),i.flags&=-33);var b=Ch(e);Co(e,b,y);break;case 3:case 4:var O=i.stateNode.containerInfo,L=Ch(e);wh(e,L,O);break;default:throw Error(l(161))}}catch(F){Ue(e,e.return,F)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function M0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;M0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Yn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)A0(e,t.alternate,t),t=t.sibling}function dr(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ea(4,t,t.return),dr(t);break;case 1:An(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&E0(t,t.return,i),dr(t);break;case 27:Ql(t.stateNode);case 26:case 5:An(t,t.return),dr(t);break;case 22:t.memoizedState===null&&dr(t);break;case 30:dr(t);break;default:dr(t)}e=e.sibling}}function Xn(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var u=t.alternate,c=e,f=t,y=f.flags;switch(f.tag){case 0:case 11:case 15:Xn(c,f,i),Cl(4,f);break;case 1:if(Xn(c,f,i),u=f,c=u.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(L){Ue(u,u.return,L)}if(u=f,c=u.updateQueue,c!==null){var b=u.stateNode;try{var O=c.shared.hiddenCallbacks;if(O!==null)for(c.shared.hiddenCallbacks=null,c=0;c<O.length;c++)sg(O[c],b)}catch(L){Ue(u,u.return,L)}}i&&y&64&&S0(f),wl(f,f.return);break;case 27:O0(f);case 26:case 5:Xn(c,f,i),i&&u===null&&y&4&&_0(f),wl(f,f.return);break;case 12:Xn(c,f,i);break;case 31:Xn(c,f,i),i&&y&4&&w0(c,f);break;case 13:Xn(c,f,i),i&&y&4&&R0(c,f);break;case 22:f.memoizedState===null&&Xn(c,f,i),wl(f,f.return);break;case 30:break;default:Xn(c,f,i)}t=t.sibling}}function Nh(e,t){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&vl(i))}function Mh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&vl(e))}function Sn(e,t,i,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)z0(e,t,i,u),t=t.sibling}function z0(e,t,i,u){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Sn(e,t,i,u),c&2048&&Cl(9,t);break;case 1:Sn(e,t,i,u);break;case 3:Sn(e,t,i,u),c&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&vl(e)));break;case 12:if(c&2048){Sn(e,t,i,u),e=t.stateNode;try{var f=t.memoizedProps,y=f.id,b=f.onPostCommit;typeof b=="function"&&b(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(O){Ue(t,t.return,O)}}else Sn(e,t,i,u);break;case 31:Sn(e,t,i,u);break;case 13:Sn(e,t,i,u);break;case 23:break;case 22:f=t.stateNode,y=t.alternate,t.memoizedState!==null?f._visibility&2?Sn(e,t,i,u):Rl(e,t):f._visibility&2?Sn(e,t,i,u):(f._visibility|=2,vi(e,t,i,u,(t.subtreeFlags&10256)!==0||!1)),c&2048&&Nh(y,t);break;case 24:Sn(e,t,i,u),c&2048&&Mh(t.alternate,t);break;default:Sn(e,t,i,u)}}function vi(e,t,i,u,c){for(c=c&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var f=e,y=t,b=i,O=u,L=y.flags;switch(y.tag){case 0:case 11:case 15:vi(f,y,b,O,c),Cl(8,y);break;case 23:break;case 22:var F=y.stateNode;y.memoizedState!==null?F._visibility&2?vi(f,y,b,O,c):Rl(f,y):(F._visibility|=2,vi(f,y,b,O,c)),c&&L&2048&&Nh(y.alternate,y);break;case 24:vi(f,y,b,O,c),c&&L&2048&&Mh(y.alternate,y);break;default:vi(f,y,b,O,c)}t=t.sibling}}function Rl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var i=e,u=t,c=u.flags;switch(u.tag){case 22:Rl(i,u),c&2048&&Nh(u.alternate,u);break;case 24:Rl(i,u),c&2048&&Mh(u.alternate,u);break;default:Rl(i,u)}t=t.sibling}}var Nl=8192;function yi(e,t,i){if(e.subtreeFlags&Nl)for(e=e.child;e!==null;)k0(e,t,i),e=e.sibling}function k0(e,t,i){switch(e.tag){case 26:yi(e,t,i),e.flags&Nl&&e.memoizedState!==null&&Vx(i,bn,e.memoizedState,e.memoizedProps);break;case 5:yi(e,t,i);break;case 3:case 4:var u=bn;bn=Fo(e.stateNode.containerInfo),yi(e,t,i),bn=u;break;case 22:e.memoizedState===null&&(u=e.alternate,u!==null&&u.memoizedState!==null?(u=Nl,Nl=16777216,yi(e,t,i),Nl=u):yi(e,t,i));break;default:yi(e,t,i)}}function L0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ml(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var u=t[i];yt=u,q0(u,e)}L0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)j0(e),e=e.sibling}function j0(e){switch(e.tag){case 0:case 11:case 15:Ml(e),e.flags&2048&&Ea(9,e,e.return);break;case 3:Ml(e);break;case 12:Ml(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ro(e)):Ml(e);break;default:Ml(e)}}function Ro(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var u=t[i];yt=u,q0(u,e)}L0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ea(8,t,t.return),Ro(t);break;case 22:i=t.stateNode,i._visibility&2&&(i._visibility&=-3,Ro(t));break;default:Ro(t)}e=e.sibling}}function q0(e,t){for(;yt!==null;){var i=yt;switch(i.tag){case 0:case 11:case 15:Ea(8,i,t);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var u=i.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:vl(i.memoizedState.cache)}if(u=i.child,u!==null)u.return=i,yt=u;else e:for(i=e;yt!==null;){u=yt;var c=u.sibling,f=u.return;if(x0(u),u===i){yt=null;break e}if(c!==null){c.return=f,yt=c;break e}yt=f}}}var nx={getCacheForType:function(e){var t=Et(lt),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return Et(lt).controller.signal}},ax=typeof WeakMap=="function"?WeakMap:Map,ke=0,He=null,Te=null,xe=0,Qe
vendor: 4,658 bytes, line 8
8=0,Yt=null,_a=!1,mi=!1,zh=!1,Zn=0,tt=0,Ta=0,pr=0,kh=0,Xt=0,gi=0,zl=null,Lt=null,Lh=!1,No=0,Q0=0,Mo=1/0,zo=null,Oa=null,ft=0,Da=null,bi=null,Jn=0,jh=0,qh=null,U0=null,kl=0,Qh=null;function Zt(){return(ke&2)!==0&&xe!==0?xe&-xe:M.T!==null?Hh():tm()}function B0(){if(Xt===0)if((xe&536870912)===0||Re){var e=Bu;Bu<<=1,(Bu&3932160)===0&&(Bu=262144),Xt=e}else Xt=536870912;return e=Ht.current,e!==null&&(e.flags|=32),Xt}function jt(e,t,i){(e===He&&(Qe===2||Qe===9)||e.cancelPendingCommit!==null)&&(Si(e,0),Aa(e,xe,Xt,!1)),tl(e,i),((ke&2)===0||e!==He)&&(e===He&&((ke&2)===0&&(pr|=i),tt===4&&Aa(e,xe,Xt,!1)),xn(e))}function V0(e,t,i){if((ke&6)!==0)throw Error(l(327));var u=!i&&(t&127)===0&&(t&e.expiredLanes)===0||el(e,t),c=u?lx(e,t):Bh(e,t,!0),f=u;do{if(c===0){mi&&!u&&Aa(e,t,0,!1);break}else{if(i=e.current.alternate,f&&!rx(i)){c=Bh(e,t,!1),f=!1;continue}if(c===2){if(f=t,e.errorRecoveryDisabledLanes&f)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var b=e;c=zl;var O=b.current.memoizedState.isDehydrated;if(O&&(Si(b,y).flags|=256),y=Bh(b,y,!1),y!==2){if(zh&&!O){b.errorRecoveryDisabledLanes|=f,pr|=f,c=4;break e}f=Lt,Lt=c,f!==null&&(Lt===null?Lt=f:Lt.push.apply(Lt,f))}c=y}if(f=!1,c!==2)continue}}if(c===1){Si(e,0),Aa(e,t,0,!0);break}e:{switch(u=e,f=c,f){case 0:case 1:throw Error(l(345));case 4:if((t&4194048)!==t)break;case 6:Aa(u,t,Xt,!_a);break e;case 2:Lt=null;break;case 3:case 5:break;default:throw Error(l(329))}if((t&62914560)===t&&(c=No+300-Ut(),10<c)){if(Aa(u,t,Xt,!_a),Iu(u,0,!0)!==0)break e;Jn=t,u.timeoutHandle=gb(I0.bind(null,u,i,Lt,zo,Lh,t,Xt,pr,gi,_a,f,"Throttled",-0,0),c);break e}I0(u,i,Lt,zo,Lh,t,Xt,pr,gi,_a,f,null,-0,0)}}break}while(!0);xn(e)}function I0(e,t,i,u,c,f,y,b,O,L,F,X,j,q){if(e.timeoutHandle=-1,X=t.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:kn},k0(t,f,X);var ie=(f&62914560)===f?No-Ut():(f&4194048)===f?Q0-Ut():0;if(ie=Ix(X,ie),ie!==null){Jn=f,e.cancelPendingCommit=ie(K0.bind(null,e,t,f,i,u,c,y,b,O,F,X,null,j,q)),Aa(e,f,y,!L);return}}K0(e,t,f,i,u,c,y,b,O)}function rx(e){for(var t=e;;){var i=t.tag;if((i===0||i===11||i===15)&&t.flags&16384&&(i=t.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var u=0;u<i.length;u++){var c=i[u],f=c.getSnapshot;c=c.value;try{if(!It(f(),c))return!1}catch{return!1}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;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 Aa(e,t,i,u){t&=~kh,t&=~pr,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var c=t;0<c;){var f=31-Vt(c),y=1<<f;u[f]=-1,c&=~y}i!==0&&Wy(e,i,t)}function ko(){return(ke&6)===0?(Ll(0),!1):!0}function Uh(){if(Te!==null){if(Qe===0)var e=Te.return;else e=Te,Qn=ir=null,th(e),ci=null,ml=0,e=Te;for(;e!==null;)b0(e.alternate,e),e=e.return;Te=null}}function Si(e,t){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,Ox(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Jn=0,Uh(),He=e,Te=i=jn(e.current,null),xe=t,Qe=0,Yt=null,_a=!1,mi=el(e,t),zh=!1,gi=Xt=kh=pr=Ta=tt=0,Lt=zl=null,Lh=!1,(t&8)!==0&&(t|=t&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=t;0<u;){var c=31-Vt(u),f=1<<c;t|=e[c],u&=~f}return Zn=t,eo(),i}function F0(e,t){ge=null,M.H=Dl,t===si||t===oo?(t=ig(),Qe=3):t===Ff?(t=ig(),Qe=4):Qe=t===mh?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Yt=t,Te===null&&(tt=1,To(e,an(t,e.current)))}function H0(){var e=Ht.current;return e===null?!0:(xe&4194048)===xe?on===null:(xe&62914560)===xe||(xe&536870912)!==0?e===on:!1}function G0(){var e=M.H;return M.H=Dl,e===null?Dl:e}function Y0(){var e=M.A;return M.A=nx,e}function Lo(){tt=4,_a||(xe&4194048)!==xe&&Ht.current!==null||(mi=!0),(Ta&134217727)===0&&(pr&134217727)===0||He===null||Aa(He,xe,Xt,!1)}function Bh(e,t,i){var u=ke;ke|=2;var c=G0(),f=Y0();(He!==e||xe!==t)&&(zo=null,Si(e,t)),t=!1;var y=tt;e:do try{if(Qe!==0&&Te!==null){var b=Te,O=Yt;switch(Qe){case 8:Uh(),y=6;break e;case 3:case 2:case 9:case 6:Ht.current===null&&(t=!0);var L=Qe;if(Qe=0,Yt=null,Ei(e,b,O,L),i&&mi){y=0;break e}break;default:L=Qe,Qe=0,Yt=null,Ei(e,b,O,L)}}ix(),y=tt;break}catch(F){F0(e,F)}while(!0);return t&&e.shellSuspendCounter++,Qn=ir=null,ke=u,M.H=c,M.A=f,Te===null&&(He=null,xe=0,eo()),y}function ix(){for(;Te!==null;)X0(Te)}function lx(e,t){var i=ke;ke|=2;var u=G0(),c=Y0();He!==e||xe!==t?(zo=null,Mo=Ut()+500,Si(e,t)):mi=el(e,t);e:do try{if(Qe!==0&&Te!==null){t=Te;var f=Yt;t:switch(Qe){case 1:Qe=0,Yt=null,Ei(e,t,f,1);break;
vendor: 4,125 bytes, line 8
8case 2:case 9:if(ag(f)){Qe=0,Yt=null,Z0(t);break}t=function(){Qe!==2&&Qe!==9||He!==e||(Qe=7),xn(e)},f.then(t,t);break e;case 3:Qe=7;break e;case 4:Qe=5;break e;case 7:ag(f)?(Qe=0,Yt=null,Z0(t)):(Qe=0,Yt=null,Ei(e,t,f,7));break;case 5:var y=null;switch(Te.tag){case 26:y=Te.memoizedState;case 5:case 27:var b=Te;if(y?zb(y):b.stateNode.complete){Qe=0,Yt=null;var O=b.sibling;if(O!==null)Te=O;else{var L=b.return;L!==null?(Te=L,jo(L)):Te=null}break t}}Qe=0,Yt=null,Ei(e,t,f,5);break;case 6:Qe=0,Yt=null,Ei(e,t,f,6);break;case 8:Uh(),tt=6;break e;default:throw Error(l(462))}}ux();break}catch(F){F0(e,F)}while(!0);return Qn=ir=null,M.H=u,M.A=c,ke=i,Te!==null?0:(He=null,xe=0,eo(),tt)}function ux(){for(;Te!==null&&!RD();)X0(Te)}function X0(e){var t=m0(e.alternate,e,Zn);e.memoizedProps=e.pendingProps,t===null?jo(e):Te=t}function Z0(e){var t=e,i=t.alternate;switch(t.tag){case 15:case 0:t=f0(i,t,t.pendingProps,t.type,void 0,xe);break;case 11:t=f0(i,t,t.pendingProps,t.type.render,t.ref,xe);break;case 5:th(t);default:b0(i,t),t=Te=Ym(t,Zn),t=m0(i,t,Zn)}e.memoizedProps=e.pendingProps,t===null?jo(e):Te=t}function Ei(e,t,i,u){Qn=ir=null,th(t),ci=null,ml=0;var c=t.return;try{if(JA(e,c,t,i,xe)){tt=1,To(e,an(i,e.current)),Te=null;return}}catch(f){if(c!==null)throw Te=c,f;tt=1,To(e,an(i,e.current)),Te=null;return}t.flags&32768?(Re||u===1?e=!0:mi||(xe&536870912)!==0?e=!1:(_a=e=!0,(u===2||u===9||u===3||u===6)&&(u=Ht.current,u!==null&&u.tag===13&&(u.flags|=16384))),J0(t,e)):jo(t)}function jo(e){var t=e;do{if((t.flags&32768)!==0){J0(t,_a);return}e=t.return;var i=WA(t.alternate,t,Zn);if(i!==null){Te=i;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);tt===0&&(tt=5)}function J0(e,t){do{var i=$A(e.alternate,e);if(i!==null){i.flags&=32767,Te=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){Te=e;return}Te=e=i}while(e!==null);tt=6,Te=null}function K0(e,t,i,u,c,f,y,b,O){e.cancelPendingCommit=null;do qo();while(ft!==0);if((ke&6)!==0)throw Error(l(327));if(t!==null){if(t===e.current)throw Error(l(177));if(f=t.lanes|t.childLanes,f|=Cf,BD(e,i,f,y,b,O),e===He&&(Te=He=null,xe=0),bi=t,Da=e,Jn=i,jh=f,qh=c,U0=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,fx(Qu,function(){return tb(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=M.T,M.T=null,c=Y.p,Y.p=2,y=ke,ke|=4;try{ex(e,t,i)}finally{ke=y,Y.p=c,M.T=u}}ft=1,P0(),W0(),$0()}}function P0(){if(ft===1){ft=0;var e=Da,t=bi,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=M.T,M.T=null;var u=Y.p;Y.p=2;var c=ke;ke|=4;try{N0(t,e);var f=Wh,y=qm(e.containerInfo),b=f.focusedElem,O=f.selectionRange;if(y!==b&&b&&b.ownerDocument&&jm(b.ownerDocument.documentElement,b)){if(O!==null&&Tf(b)){var L=O.start,F=O.end;if(F===void 0&&(F=L),"selectionStart"in b)b.selectionStart=L,b.selectionEnd=Math.min(F,b.value.length);else{var X=b.ownerDocument||document,j=X&&X.defaultView||window;if(j.getSelection){var q=j.getSelection(),ie=b.textContent.length,pe=Math.min(O.start,ie),Fe=O.end===void 0?pe:Math.min(O.end,ie);!q.extend&&pe>Fe&&(y=Fe,Fe=pe,pe=y);var N=Lm(b,pe),C=Lm(b,Fe);if(N&&C&&(q.rangeCount!==1||q.anchorNode!==N.node||q.anchorOffset!==N.offset||q.focusNode!==C.node||q.focusOffset!==C.offset)){var k=X.createRange();k.setStart(N.node,N.offset),q.removeAllRanges(),pe>Fe?(q.addRange(k),q.extend(C.node,C.offset)):(k.setEnd(C.node,C.offset),q.addRange(k))}}}}for(X=[],q=b;q=q.parentNode;)q.nodeType===1&&X.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<X.length;b++){var G=X[b];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}Jo=!!Ph,Wh=Ph=null}finally{ke=c,Y.p=u,M.T=i}}e.current=t,ft=2}}function W0(){if(ft===2){ft=0;var e=Da,t=bi,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=M.T,M.T=null;var u=Y.p;Y.p=2;var c=ke;ke|=4;try{A0(e,t.alternate,t)}finally{ke=c,Y.p=u,M.T=i}}ft=3}}function $0(){if(ft===4||ft===3){ft=0,ND();var e=Da,t=bi,i=Jn,u=U0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ft=5:(ft=0,bi=Da=null,eb(e,e.pen
vendor: 12,184 bytes, line 8
8dingLanes));var c=e.pendingLanes;if(c===0&&(Oa=null),af(i),t=t.stateNode,Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot($i,t,void 0,(t.current.flags&128)===128)}catch{}if(u!==null){t=M.T,c=Y.p,Y.p=2,M.T=null;try{for(var f=e.onRecoverableError,y=0;y<u.length;y++){var b=u[y];f(b.value,{componentStack:b.stack})}}finally{M.T=t,Y.p=c}}(Jn&3)!==0&&qo(),xn(e),c=e.pendingLanes,(i&261930)!==0&&(c&42)!==0?e===Qh?kl++:(kl=0,Qh=e):kl=0,Ll(0)}}function eb(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,vl(t)))}function qo(){return P0(),W0(),$0(),tb()}function tb(){if(ft!==5)return!1;var e=Da,t=jh;jh=0;var i=af(Jn),u=M.T,c=Y.p;try{Y.p=32>i?32:i,M.T=null,i=qh,qh=null;var f=Da,y=Jn;if(ft=0,bi=Da=null,Jn=0,(ke&6)!==0)throw Error(l(331));var b=ke;if(ke|=4,j0(f.current),z0(f,f.current,y,i),ke=b,Ll(0,!1),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot($i,f)}catch{}return!0}finally{Y.p=c,M.T=u,eb(e,t)}}function nb(e,t,i){t=an(i,t),t=yh(e.stateNode,t,2),e=ga(e,t,2),e!==null&&(tl(e,2),xn(e))}function Ue(e,t,i){if(e.tag===3)nb(e,e,i);else for(;t!==null;){if(t.tag===3){nb(t,e,i);break}else if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Oa===null||!Oa.has(u))){e=an(i,e),i=a0(2),u=ga(t,i,2),u!==null&&(r0(i,u,t,e),tl(u,2),xn(u));break}}t=t.return}}function Vh(e,t,i){var u=e.pingCache;if(u===null){u=e.pingCache=new ax;var c=new Set;u.set(t,c)}else c=u.get(t),c===void 0&&(c=new Set,u.set(t,c));c.has(i)||(zh=!0,c.add(i),e=ox.bind(null,e,t,i),t.then(e,e))}function ox(e,t,i){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,He===e&&(xe&i)===i&&(tt===4||tt===3&&(xe&62914560)===xe&&300>Ut()-No?(ke&2)===0&&Si(e,0):kh|=i,gi===xe&&(gi=0)),xn(e)}function ab(e,t){t===0&&(t=Py()),e=nr(e,t),e!==null&&(tl(e,t),xn(e))}function sx(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),ab(e,i)}function cx(e,t){var i=0;switch(e.tag){case 31:case 13:var u=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(l(314))}u!==null&&u.delete(t),ab(e,i)}function fx(e,t){return $c(e,t)}var Qo=null,_i=null,Ih=!1,Uo=!1,Fh=!1,xa=0;function xn(e){e!==_i&&e.next===null&&(_i===null?Qo=_i=e:_i=_i.next=e),Uo=!0,Ih||(Ih=!0,dx())}function Ll(e,t){if(!Fh&&Uo){Fh=!0;do for(var i=!1,u=Qo;u!==null;){if(e!==0){var c=u.pendingLanes;if(c===0)var f=0;else{var y=u.suspendedLanes,b=u.pingedLanes;f=(1<<31-Vt(42|e)+1)-1,f&=c&~(y&~b),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(i=!0,ub(u,f))}else f=xe,f=Iu(u,u===He?f:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(f&3)===0||el(u,f)||(i=!0,ub(u,f));u=u.next}while(i);Fh=!1}}function hx(){rb()}function rb(){Uo=Ih=!1;var e=0;xa!==0&&Tx()&&(e=xa);for(var t=Ut(),i=null,u=Qo;u!==null;){var c=u.next,f=ib(u,t);f===0?(u.next=null,i===null?Qo=c:i.next=c,c===null&&(_i=i)):(i=u,(e!==0||(f&3)!==0)&&(Uo=!0)),u=c}ft!==0&&ft!==5||Ll(e),xa!==0&&(xa=0)}function ib(e,t){for(var i=e.suspendedLanes,u=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var y=31-Vt(f),b=1<<y,O=c[y];O===-1?((b&i)===0||(b&u)!==0)&&(c[y]=UD(b,t)):O<=t&&(e.expiredLanes|=b),f&=~b}if(t=He,i=xe,i=Iu(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,i===0||e===t&&(Qe===2||Qe===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&ef(u),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||el(e,i)){if(t=i&-i,t===e.callbackPriority)return t;switch(u!==null&&ef(u),af(i)){case 2:case 8:i=Jy;break;case 32:i=Qu;break;case 268435456:i=Ky;break;default:i=Qu}return u=lb.bind(null,e),i=$c(i,u),e.callbackPriority=t,e.callbackNode=i,t}return u!==null&&u!==null&&ef(u),e.callbackPriority=2,e.callbackNode=null,2}function lb(e,t){if(ft!==0&&ft!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(qo()&&e.callbackNode!==i)return null;var u=xe;return u=Iu(e,e===He?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(V0(e,u,t),ib(e,Ut()),e.callbackNode!=null&&e.callbackNode===i?lb.bind(null,e):null)}function ub(e,t){if(qo())return null;V0(e,t,!0)}function dx(){Dx(function(){(ke&6)!==0?$c(Zy,hx):rb()})}function Hh(){if(xa===0){var e=ui;e===0&&(e=Uu,Uu<<=1,(Uu&261888)===0&&(Uu=256)),xa=e}return xa}function ob(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Yu(""+e)}function sb(e,t){var i=t.ownerDocument.createElement("input");return i.name=t.name,i.value=t.value,e.id&&i.setAttribute("form",e.id),t.parentNode.insertBefore(i,t),e=new FormData(e),i.parentNode.removeChild(i),e}function px(e,t,i,u,c){if(t==="submit"&&i&&i.stateNode===c){var f=ob((c[Rt]||null).action),y=u.submitter;y&&(t=(t=y[Rt]||null)?ob(t.formAction):y.getAttribute("formAction"),t!==null&&(f=t,y=null));var b=new Ku("action","action",null,u,c);e.push({event:b,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(xa!==0){var O=y?sb(c,y):new FormData(c);ch(i,{pending:!0,data:O,method:c.method,action:f},null,O)}}else typeof f=="function"&&(b.preventDefault(),O=y?sb(c,y):new FormData(c),ch(i,{pending:!0,data:O,method:c.method,action:f},f,O))},currentTarget:c}]})}}for(var Gh=0;Gh<xf.length;Gh++){var Yh=xf[Gh],vx=Yh.toLowerCase(),yx=Yh[0].toUpperCase()+Yh.slice(1);gn(vx,"on"+yx)}gn(Bm,"onAnimationEnd"),gn(Vm,"onAnimationIteration"),gn(Im,"onAnimationStart"),gn("dblclick","onDoubleClick"),gn("focusin","onFocus"),gn("focusout","onBlur"),gn(MA,"onTransitionRun"),gn(zA,"onTransitionStart"),gn(kA,"onTransitionCancel"),gn(Fm,"onTransitionEnd"),Xr("onMouseEnter",["mouseout","mouseover"]),Xr("onMouseLeave",["mouseout","mouseover"]),Xr("onPointerEnter",["pointerout","pointerover"]),Xr("onPointerLeave",["pointerout","pointerover"]),Wa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jl="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(" "),mx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(jl));function cb(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var u=e[i],c=u.event;u=u.listeners;e:{var f=void 0;if(t)for(var y=u.length-1;0<=y;y--){var b=u[y],O=b.instance,L=b.currentTarget;if(b=b.listener,O!==f&&c.isPropagationStopped())break e;f=b,c.currentTarget=L;try{f(c)}catch(F){$u(F)}c.currentTarget=null,f=O}else for(y=0;y<u.length;y++){if(b=u[y],O=b.instance,L=b.currentTarget,b=b.listener,O!==f&&c.isPropagationStopped())break e;f=b,c.currentTarget=L;try{f(c)}catch(F){$u(F)}c.currentTarget=null,f=O}}}}function Oe(e,t){var i=t[rf];i===void 0&&(i=t[rf]=new Set);var u=e+"__bubble";i.has(u)||(fb(t,e,2,!1),i.add(u))}function Xh(e,t,i){var u=0;t&&(u|=4),fb(i,e,u,t)}var Bo="_reactListening"+Math.random().toString(36).slice(2);function Zh(e){if(!e[Bo]){e[Bo]=!0,rm.forEach(function(i){i!=="selectionchange"&&(mx.has(i)||Xh(i,!1,e),Xh(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Bo]||(t[Bo]=!0,Xh("selectionchange",!1,t))}}function fb(e,t,i,u){switch(Bb(t)){case 2:var c=Gx;break;case 8:c=Yx;break;default:c=sd}i=c.bind(null,t,i,e),c=void 0,!pf||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),u?c!==void 0?e.addEventListener(t,i,{capture:!0,passive:c}):e.addEventListener(t,i,!0):c!==void 0?e.addEventListener(t,i,{passive:c}):e.addEventListener(t,i,!1)}function Jh(e,t,i,u,c){var f=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var y=u.tag;if(y===3||y===4){var b=u.stateNode.containerInfo;if(b===c)break;if(y===4)for(y=u.return;y!==null;){var O=y.tag;if((O===3||O===4)&&y.stateNode.containerInfo===c)return;y=y.return}for(;b!==null;){if(y=Hr(b),y===null)return;if(O=y.tag,O===5||O===6||O===26||O===27){u=f=y;continue e}b=b.parentNode}}u=u.return}ym(function(){var L=f,F=hf(i),X=[];e:{var j=Hm.get(e);if(j!==void 0){var q=Ku,ie=e;switch(e){case"keypress":if(Zu(i)===0)break e;case"keydown":case"keyup":q=cA;break;case"focusin":ie="focus",q=gf;break;case"focusout":ie="blur",q=gf;break;case"beforeblur":case"afterblur":q=gf;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=bm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=WD;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=dA;break;case Bm:case Vm:case Im:q=tA;break;case Fm:q=vA;break;case"scroll":case"scrollend":q=KD;break;case"wheel":q=mA;break;case"copy":case"cut":case"paste":q=aA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=Em;break;case"toggle":case"beforetoggle":q=bA}var pe=(t&4)!==0,Fe=!pe&&(e==="scroll"||e==="scrollend"),N=pe?j!==null?j+"Capture":null:j;pe=[];for(var C=L,k;C!==null;){var G=C;if(k=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||k===null||N===null||(G=rl(C,N),G!=null&&pe.push(ql(C,G,k))),Fe)break;C=C.return}0<pe.length&&(j=new q(j,ie,null,i,F),X.push({event:j,listeners:pe}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",j&&i!==ff&&(ie=i.relatedTarget||i.fromElement)&&(Hr(ie)||ie[Fr]))break e;if((q||j)&&(j=F.window===F?F:(j=F.ownerDocument)?j.defaultView||j.parentWindow:window,q?(ie=i.relatedTarget||i.toElement,q=L,ie=ie?Hr(ie):null,ie!==null&&(Fe=s(ie),pe=ie.tag,ie!==Fe||pe!==5&&pe!==27&&pe!==6)&&(ie=null)):(q=null,ie=L),q!==ie)){if(pe=bm,G="onMouseLeave",N="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(pe=Em,G="onPointerLeave",N="onPointerEnter",C="pointer"),Fe=q==null?j:al(q),k=ie==null?j:al(ie),j=new pe(G,C+"leave",q,i,F),j.target=Fe,j.relatedTarget=k,G=null,Hr(F)===L&&(pe=new pe(N,C+"enter",ie,i,F),pe.target=k,pe.relatedTarget=Fe,G=pe),Fe=G,q&&ie)t:{for(pe=gx,N=q,C=ie,k=0,G=N;G;G=pe(G))k++;G=0;for(var ce=C;ce;ce=pe(ce))G++;for(;0<k-G;)N=pe(N),k--;for(;0<G-k;)C=pe(C),G--;for(;k--;){if(N===C||C!==null&&N===C.alternate){pe=N;break t}N=pe(N),C=pe(C)}pe=null}else pe=null;q!==null&&hb(X,j,q,pe,!1),ie!==null&&Fe!==null&&hb(X,Fe,ie,pe,!0)}}e:{if(j=L?al(L):window,q=j.nodeName&&j.nodeName.toLowerCase(),q==="select"||q==="input"&&j.type==="file")var Me=wm;else if(xm(j))if(Rm)Me=wA;else{Me=xA;var oe=AA}else q=j.nodeName,!q||q.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?L&&cf(L.elementType)&&(Me=wm):Me=CA;if(Me&&(Me=Me(e,L))){Cm(X,Me,i,F);break e}oe&&oe(e,j,L),e==="focusout"&&L&&j.type==="number"&&L.memoizedProps.value!=null&&sf(j,"number",j.value)}switch(oe=L?al(L):window,e){case"focusin":(xm(oe)||oe.contentEditable==="true")&&($r=oe,Of=L,hl=null);break;case"focusout":hl=Of=$r=null;break;case"mousedown":Df=!0;break;case"contextmenu":case"mouseup":case"dragend":Df=!1,Qm(X,i,F);break;case"selectionchange":if(NA)break;case"keydown":case"keyup":Qm(X,i,F)}var be;if(Sf)e:{switch(e){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else Wr?Dm(e,i)&&(Ce="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Ce="onCompositionStart");Ce&&(_m&&i.locale!=="ko"&&(Wr||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&Wr&&(be=mm()):(fa=F,vf="value"in fa?fa.value:fa.textContent,Wr=!0)),oe=Vo(L,Ce),0<oe.length&&(Ce=new Sm(Ce,e,null,i,F),X.push({event:Ce,listeners:oe}),be?Ce.data=be:(be=Am(i),be!==null&&(Ce.data=be)))),(be=EA?_A(e,i):TA(e,i))&&
vendor: 6,395 bytes, lines 8-9
8(Ce=Vo(L,"onBeforeInput"),0<Ce.length&&(oe=new Sm("onBeforeInput","beforeinput",null,i,F),X.push({event:oe,listeners:Ce}),oe.data=be)),px(X,e,L,i,F)}cb(X,t)})}function ql(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Vo(e,t){for(var i=t+"Capture",u=[];e!==null;){var c=e,f=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=rl(e,i),c!=null&&u.unshift(ql(e,c,f)),c=rl(e,t),c!=null&&u.push(ql(e,c,f))),e.tag===3)return u;e=e.return}return[]}function gx(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function hb(e,t,i,u,c){for(var f=t._reactName,y=[];i!==null&&i!==u;){var b=i,O=b.alternate,L=b.stateNode;if(b=b.tag,O!==null&&O===u)break;b!==5&&b!==26&&b!==27||L===null||(O=L,c?(L=rl(i,f),L!=null&&y.unshift(ql(i,L,O))):c||(L=rl(i,f),L!=null&&y.push(ql(i,L,O)))),i=i.return}y.length!==0&&e.push({event:t,listeners:y})}var bx=/\r\n?/g,Sx=/\u0000|\uFFFD/g;function db(e){return(typeof e=="string"?e:""+e).replace(bx,` 9`).replace(Sx,"")}function pb(e,t){return t=db(t),db(e)===t}function Ie(e,t,i,u,c,f){switch(i){case"children":typeof u=="string"?t==="body"||t==="textarea"&&u===""||Jr(e,u):(typeof u=="number"||typeof u=="bigint")&&t!=="body"&&Jr(e,""+u);break;case"className":Hu(e,"class",u);break;case"tabIndex":Hu(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Hu(e,i,u);break;case"style":pm(e,u,f);break;case"data":if(t!=="object"){Hu(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||i!=="href")){e.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=Yu(""+u),e.setAttribute(i,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(i==="formAction"?(t!=="input"&&Ie(e,t,"name",c.name,c,null),Ie(e,t,"formEncType",c.formEncType,c,null),Ie(e,t,"formMethod",c.formMethod,c,null),Ie(e,t,"formTarget",c.formTarget,c,null)):(Ie(e,t,"encType",c.encType,c,null),Ie(e,t,"method",c.method,c,null),Ie(e,t,"target",c.target,c,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=Yu(""+u),e.setAttribute(i,u);break;case"onClick":u!=null&&(e.onclick=kn);break;case"onScroll":u!=null&&Oe("scroll",e);break;case"onScrollEnd":u!=null&&Oe("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(c.children!=null)throw Error(l(60));e.innerHTML=i}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}i=Yu(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""+u):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":u===!0?e.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,u):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(i,u):e.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(i):e.setAttribute(i,u);break;case"popover":Oe("beforetoggle",e),Oe("toggle",e),Fu(e,"popover",u);break;case"xlinkActuate":zn(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":zn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":zn(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":zn(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":zn(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":zn(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":zn(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":zn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":zn(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Fu(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=ZD.get(i)||i,Fu(e,i,u))}}function Kh(e,t,i,u,c,f){switch(i){case"style":pm(e,u,f);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(c.children!=null)throw Error(l(60));e.innerHTML=i}}break;case"children":typeof u=="string"?Jr(e,u):(typeof u=="number"||typeof u=="bigint")&&Jr(e,""+u);break;case"onScroll":u!=null&&Oe("scroll",e);break;case"onScrollEnd":u!=null&&Oe("scrollend",e);break;case"onClick":u!=null&&(e.onclick=kn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!im.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),t=i.slice(2,c?i.length-7:void 0),f=e[Rt]||null,f=f!=null?f[i]:null,typeof f=="function"&&e.removeEventListener(t,f,c),typeof u=="function")){typeof f!="function"&&f!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,u,c);break e}
vendor: 6,006 bytes, line 9
9i in e?e[i]=u:u===!0?e.setAttribute(i,""):Fu(e,i,u)}}}function Tt(e,t,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oe("error",e),Oe("load",e);var u=!1,c=!1,f;for(f in i)if(i.hasOwnProperty(f)){var y=i[f];if(y!=null)switch(f){case"src":u=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:Ie(e,t,f,y,i,null)}}c&&Ie(e,t,"srcSet",i.srcSet,i,null),u&&Ie(e,t,"src",i.src,i,null);return;case"input":Oe("invalid",e);var b=f=y=c=null,O=null,L=null;for(u in i)if(i.hasOwnProperty(u)){var F=i[u];if(F!=null)switch(u){case"name":c=F;break;case"type":y=F;break;case"checked":O=F;break;case"defaultChecked":L=F;break;case"value":f=F;break;case"defaultValue":b=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(l(137,t));break;default:Ie(e,t,u,F,i,null)}}cm(e,f,b,O,L,y,c,!1);return;case"select":Oe("invalid",e),u=y=f=null;for(c in i)if(i.hasOwnProperty(c)&&(b=i[c],b!=null))switch(c){case"value":f=b;break;case"defaultValue":y=b;break;case"multiple":u=b;default:Ie(e,t,c,b,i,null)}t=f,i=y,e.multiple=!!u,t!=null?Zr(e,!!u,t,!1):i!=null&&Zr(e,!!u,i,!0);return;case"textarea":Oe("invalid",e),f=c=u=null;for(y in i)if(i.hasOwnProperty(y)&&(b=i[y],b!=null))switch(y){case"value":u=b;break;case"defaultValue":c=b;break;case"children":f=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(l(91));break;default:Ie(e,t,y,b,i,null)}hm(e,u,c,f);return;case"option":for(O in i)if(i.hasOwnProperty(O)&&(u=i[O],u!=null))switch(O){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Ie(e,t,O,u,i,null)}return;case"dialog":Oe("beforetoggle",e),Oe("toggle",e),Oe("cancel",e),Oe("close",e);break;case"iframe":case"object":Oe("load",e);break;case"video":case"audio":for(u=0;u<jl.length;u++)Oe(jl[u],e);break;case"image":Oe("error",e),Oe("load",e);break;case"details":Oe("toggle",e);break;case"embed":case"source":case"link":Oe("error",e),Oe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in i)if(i.hasOwnProperty(L)&&(u=i[L],u!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:Ie(e,t,L,u,i,null)}return;default:if(cf(t)){for(F in i)i.hasOwnProperty(F)&&(u=i[F],u!==void 0&&Kh(e,t,F,u,i,void 0));return}}for(b in i)i.hasOwnProperty(b)&&(u=i[b],u!=null&&Ie(e,t,b,u,i,null))}function Ex(e,t,i,u){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,y=null,b=null,O=null,L=null,F=null;for(q in i){var X=i[q];if(i.hasOwnProperty(q)&&X!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":O=X;default:u.hasOwnProperty(q)||Ie(e,t,q,null,u,X)}}for(var j in u){var q=u[j];if(X=i[j],u.hasOwnProperty(j)&&(q!=null||X!=null))switch(j){case"type":f=q;break;case"name":c=q;break;case"checked":L=q;break;case"defaultChecked":F=q;break;case"value":y=q;break;case"defaultValue":b=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(l(137,t));break;default:q!==X&&Ie(e,t,j,q,u,X)}}of(e,y,b,O,L,F,f,c);return;case"select":q=y=b=j=null;for(f in i)if(O=i[f],i.hasOwnProperty(f)&&O!=null)switch(f){case"value":break;case"multiple":q=O;default:u.hasOwnProperty(f)||Ie(e,t,f,null,u,O)}for(c in u)if(f=u[c],O=i[c],u.hasOwnProperty(c)&&(f!=null||O!=null))switch(c){case"value":j=f;break;case"defaultValue":b=f;break;case"multiple":y=f;default:f!==O&&Ie(e,t,c,f,u,O)}t=b,i=y,u=q,j!=null?Zr(e,!!i,j,!1):!!u!=!!i&&(t!=null?Zr(e,!!i,t,!0):Zr(e,!!i,i?[]:"",!1));return;case"textarea":q=j=null;for(b in i)if(c=i[b],i.hasOwnProperty(b)&&c!=null&&!u.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ie(e,t,b,null,u,c)}for(y in u)if(c=u[y],f=i[y],u.hasOwnProperty(y)&&(c!=null||f!=null))switch(y){case"value":j=c;break;case"defaultValue":q=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(l(91));break;default:c!==f&&Ie(e,t,y,c,u,f)}fm(e,j,q);return;case"option":for(var ie in i)if(j=i[ie],i.hasOwnProperty(ie)&&j!=null&&!u.hasOwnProperty(ie))switch(ie){case"selected":e.selected=!1;break;default:Ie(e,t,ie,null,u,j)}for(O in u)if(j=u[O],q=i[O],u.hasOwnProperty(O)&&j!==q&&(j!=null||q!=null))switch(O){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:Ie(e,t,O,j,u,q)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var pe in i)j=i[pe],i.hasOwnProperty(pe)&&j!=null&&!u.hasOwnProperty(pe)&&Ie(e,t,pe,null,u,j);for(L in u)if(j=u[L],q=i[L],u.hasOwnProperty(L)&&j!==q&&(j!=null||q!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(l(137,t));break;default:Ie(e,t,L,j,u,q)}return;default:if(cf(t)){for(var Fe in i)j=i[Fe],i.hasOwnProperty(Fe)&&j!==void 0&&!u.hasOwnProperty(Fe)&&Kh(e,t,Fe,void 0,u,j);for(F in u)j=u[F],q=i[F],!u.hasOwnProperty(F)||j===q||j===void 0&&q===void 0||Kh(e,t,F,j,u,q);return}}for(var N in i)j=i[N],i.hasOwnProperty(N)&&j!=null&&!u.hasOwnProperty(N)&&Ie(e,t,N,null,u,j);for(X in u)j=u[X],q=i[X],!u.hasOwnProperty(X)||j===q||j==null&&q==null||Ie(e,t,X,j,u,q)}function vb(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _x(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),u=0;u<i.length;u++){var c=i[u],f=c.transferSize,y=c.initiatorType,b=c.duration;if(f&&b&&vb(y)){for(y=0,b=c.responseEnd,u+=1;u<i.length;u++){var O=i[u],L=O.startTime;if(L>b)break;var F=O.transferSize,X=O.initiatorType;F&&vb(X)&&(O=O.responseEnd,y+=F*(O<b?1:(b-L)/(O-L)))}if(--u,t+=8*(f+y)/(c.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ph=null,Wh=null;
vendor: 14,014 bytes, line 9
9function Io(e){return e.nodeType===9?e:e.ownerDocument}function yb(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function mb(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function $h(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ed=null;function Tx(){var e=window.event;return e&&e.type==="popstate"?e===ed?!1:(ed=e,!0):(ed=null,!1)}var gb=typeof setTimeout=="function"?setTimeout:void 0,Ox=typeof clearTimeout=="function"?clearTimeout:void 0,bb=typeof Promise=="function"?Promise:void 0,Dx=typeof queueMicrotask=="function"?queueMicrotask:typeof bb<"u"?function(e){return bb.resolve(null).then(e).catch(Ax)}:gb;function Ax(e){setTimeout(function(){throw e})}function Ca(e){return e==="head"}function Sb(e,t){var i=t,u=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(u===0){e.removeChild(c),Ai(t);return}u--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")u++;else if(i==="html")Ql(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,Ql(i);for(var f=i.firstChild;f;){var y=f.nextSibling,b=f.nodeName;f[nl]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&f.rel.toLowerCase()==="stylesheet"||i.removeChild(f),f=y}}else i==="body"&&Ql(e.ownerDocument.body);i=c}while(i);Ai(t)}function Eb(e,t){var i=e;e=0;do{var u=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),u&&u.nodeType===8)if(i=u.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=u}while(i)}function td(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":td(i),lf(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function xx(e,t,i,u){for(;e.nodeType===1;){var c=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[nl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=sn(e.nextSibling),e===null)break}return null}function Cx(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=sn(e.nextSibling),e===null))return null;return e}function _b(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=sn(e.nextSibling),e===null))return null;return e}function nd(e){return e.data==="$?"||e.data==="$~"}function ad(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function wx(e,t){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||i.readyState!=="loading")t();else{var u=function(){t(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function sn(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var rd=null;function Tb(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(t===0)return sn(e.nextSibling);t--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||t++}e=e.nextSibling}return null}function Ob(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(t===0)return e;t--}else i!=="/$"&&i!=="/&"||t++}e=e.previousSibling}return null}function Db(e,t,i){switch(t=Io(i),e){case"html":if(e=t.documentElement,!e)throw Error(l(452));return e;case"head":if(e=t.head,!e)throw Error(l(453));return e;case"body":if(e=t.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function Ql(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);lf(e)}var cn=new Map,Ab=new Set;function Fo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Kn=Y.d;Y.d={f:Rx,r:Nx,D:Mx,C:zx,L:kx,m:Lx,X:qx,S:jx,M:Qx};function Rx(){var e=Kn.f(),t=ko();return e||t}function Nx(e){var t=Gr(e);t!==null&&t.tag===5&&t.type==="form"?Fg(t):Kn.r(e)}var Ti=typeof document>"u"?null:document;function xb(e,t,i){var u=Ti;if(u&&typeof t=="string"&&t){var c=tn(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),Ab.has(c)||(Ab.add(c),e={rel:e,crossOrigin:i,href:t},u.querySelector(c)===null&&(t=u.createElement("link"),Tt(t,"link",e),vt(t),u.head.appendChild(t)))}}function Mx(e){Kn.D(e),xb("dns-prefetch",e,null)}function zx(e,t){Kn.C(e,t),xb("preconnect",e,t)}function kx(e,t,i){Kn.L(e,t,i);var u=Ti;if(u&&e&&t){var c='link[rel="preload"][as="'+tn(t)+'"]';t==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+tn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+tn(i.imageSizes)+'"]')):c+='[href="'+tn(e)+'"]';var f=c;switch(t){case"style":f=Oi(e);break;case"script":f=Di(e)}cn.has(f)||(e=g({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),cn.set(f,e),u.querySelector(c)!==null||t==="style"&&u.querySelector(Ul(f))||t==="script"&&u.querySelector(Bl(f))||(t=u.createElement("link"),Tt(t,"link",e),vt(t),u.head.appendChild(t)))}}function Lx(e,t){Kn.m(e,t);var i=Ti;if(i&&e){var u=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+tn(u)+'"][href="'+tn(e)+'"]',f=c;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Di(e)}if(!cn.has(f)&&(e=g({rel:"modulepreload",href:e},t),cn.set(f,e),i.querySelector(c)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Bl(f)))return}u=i.createElement("link"),Tt(u,"link",e),vt(u),i.head.appendChild(u)}}}function jx(e,t,i){Kn.S(e,t,i);var u=Ti;if(u&&e){var c=Yr(u).hoistableStyles,f=Oi(e);t=t||"default";var y=c.get(f);if(!y){var b={loading:0,preload:null};if(y=u.querySelector(Ul(f)))b.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},i),(i=cn.get(f))&&id(e,i);var O=y=u.createElement("link");vt(O),Tt(O,"link",e),O._p=new Promise(function(L,F){O.onload=L,O.onerror=F}),O.addEventListener("load",function(){b.loading|=1}),O.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Ho(y,t,u)}y={type:"stylesheet",instance:y,count:1,state:b},c.set(f,y)}}}function qx(e,t){Kn.X(e,t);var i=Ti;if(i&&e){var u=Yr(i).hoistableScripts,c=Di(e),f=u.get(c);f||(f=i.querySelector(Bl(c)),f||(e=g({src:e,async:!0},t),(t=cn.get(c))&&ld(e,t),f=i.createElement("script"),vt(f),Tt(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},u.set(c,f))}}function Qx(e,t){Kn.M(e,t);var i=Ti;if(i&&e){var u=Yr(i).hoistableScripts,c=Di(e),f=u.get(c);f||(f=i.querySelector(Bl(c)),f||(e=g({src:e,async:!0,type:"module"},t),(t=cn.get(c))&&ld(e,t),f=i.createElement("script"),vt(f),Tt(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},u.set(c,f))}}function Cb(e,t,i,u){var c=(c=ue.current)?Fo(c):null;if(!c)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(t=Oi(i.href),i=Yr(c).hoistableStyles,u=i.get(t),u||(u={type:"style",instance:null,count:0,state:null},i.set(t,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=Oi(i.href);var f=Yr(c).hoistableStyles,y=f.get(e);if(y||(c=c.ownerDocument||c,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,y),(f=c.querySelector(Ul(e)))&&!f._p&&(y.instance=f,y.state.loading=5),cn.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},cn.set(e,i),f||Ux(c,e,i,y.state))),t&&u===null)throw Error(l(528,""));return y}if(t&&u!==null)throw Error(l(529,""));return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Di(i),i=Yr(c).hoistableScripts,u=i.get(t),u||(u={type:"script",instance:null,count:0,state:null},i.set(t,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function Oi(e){return'href="'+tn(e)+'"'}function Ul(e){return'link[rel="stylesheet"]['+e+"]"}function wb(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function Ux(e,t,i,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=1:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=1}),t.addEventListener("error",function(){return u.loading|=2}),Tt(t,"link",i),vt(t),e.head.appendChild(t))}function Di(e){return'[src="'+tn(e)+'"]'}function Bl(e){return"script[async]"+e}function Rb(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+tn(i.href)+'"]');if(u)return t.instance=u,vt(u),u;var c=g({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),vt(u),Tt(u,"style",c),Ho(u,i.precedence,e),t.instance=u;case"stylesheet":c=Oi(i.href);var f=e.querySelector(Ul(c));if(f)return t.state.loading|=4,t.instance=f,vt(f),f;u=wb(i),(c=cn.get(c))&&id(u,c),f=(e.ownerDocument||e).createElement("link"),vt(f);var y=f;return y._p=new Promise(function(b,O){y.onload=b,y.onerror=O}),Tt(f,"link",u),t.state.loading|=4,Ho(f,i.precedence,e),t.instance=f;case"script":return f=Di(i.src),(c=e.querySelector(Bl(f)))?(t.instance=c,vt(c),c):(u=i,(c=cn.get(f))&&(u=g({},i),ld(u,c)),e=e.ownerDocument||e,c=e.createElement("script"),vt(c),Tt(c,"link",u),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error(l(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(u=t.instance,t.state.loading|=4,Ho(u,i.precedence,e));return t.instance}function Ho(e,t,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=u.length?u[u.length-1]:null,f=c,y=0;y<u.length;y++){var b=u[y];if(b.dataset.precedence===t)f=b;else if(f!==c)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function id(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ld(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Go=null;function Nb(e,t,i){if(Go===null){var u=new Map,c=Go=new Map;c.set(i,u)}else c=Go,u=c.get(i),u||(u=new Map,c.set(i,u));if(u.has(e))return u;for(u.set(e,null),i=i.getElementsByTagName(e),c=0;c<i.length;c++){var f=i[c];if(!(f[nl]||f[bt]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var y=f.getAttribute(t)||"";y=e+y;var b=u.get(y);b?b.push(f):u.set(y,[f])}}return u}function Mb(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function Bx(e,t,i){if(i===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function zb(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Vx(e,t,i,u){if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=Oi(u.href),f=t.querySelector(Ul(c));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yo.bind(e),t.then(e,e)),i.state.loading|=4,i.instance=f,vt(f);return}f=t.ownerDocument||t,u=wb(u),(c=cn.get(c))&&id(u,c),f=f.createElement("link"),vt(f);var y=f;y._p=new Promise(function(b,O){y.onload=b,y.onerror=O}),Tt(f,"link",u),i.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=Yo.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}var ud=0;function Ix(e,t){return e.stylesheets&&e.count===0&&Zo(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var u=setTimeout(function(){if(e.stylesheets&&Zo(e,e.stylesheets),e.unsu
vendor: 4,268 bytes, line 9
9spend){var f=e.unsuspend;e.unsuspend=null,f()}},6e4+t);0<e.imgBytes&&ud===0&&(ud=62500*_x());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zo(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>ud?50:800)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(u),clearTimeout(c)}}:null}function Yo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xo=null;function Zo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xo=new Map,t.forEach(Fx,e),Xo=null,Yo.call(e))}function Fx(e,t){if(!(t.state.loading&4)){var i=Xo.get(e);if(i)var u=i.get(null);else{i=new Map,Xo.set(e,i);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var y=c[f];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(i.set(y.dataset.precedence,y),u=y)}u&&i.set(null,u)}c=t.instance,y=c.getAttribute("data-precedence"),f=i.get(y)||u,f===u&&i.set(null,c),i.set(y,c),this.count++,u=Yo.bind(this),c.addEventListener("load",u),c.addEventListener("error",u),f?f.parentNode.insertBefore(c,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),t.state.loading|=4}}var Vl={$$typeof:w,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function Hx(e,t,i,u,c,f,y,b,O){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=tf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tf(0),this.hiddenUpdates=tf(null),this.identifierPrefix=u,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,this.incompleteTransitions=new Map}function kb(e,t,i,u,c,f,y,b,O,L,F,X){return e=new Hx(e,t,i,y,O,L,F,X,b),t=1,f===!0&&(t|=24),f=Ft(3,null,null,t),e.current=f,f.stateNode=e,t=Bf(),t.refCount++,e.pooledCache=t,t.refCount++,f.memoizedState={element:u,isDehydrated:i,cache:t},Hf(f),e}function Lb(e){return e?(e=ni,e):ni}function jb(e,t,i,u,c,f){c=Lb(c),u.context===null?u.context=c:u.pendingContext=c,u=ma(t),u.payload={element:i},f=f===void 0?null:f,f!==null&&(u.callback=f),i=ga(e,u,t),i!==null&&(jt(i,e,t),bl(i,e,t))}function qb(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function od(e,t){qb(e,t),(e=e.alternate)&&qb(e,t)}function Qb(e){if(e.tag===13||e.tag===31){var t=nr(e,67108864);t!==null&&jt(t,e,67108864),od(e,67108864)}}function Ub(e){if(e.tag===13||e.tag===31){var t=Zt();t=nf(t);var i=nr(e,t);i!==null&&jt(i,e,t),od(e,t)}}var Jo=!0;function Gx(e,t,i,u){var c=M.T;M.T=null;var f=Y.p;try{Y.p=2,sd(e,t,i,u)}finally{Y.p=f,M.T=c}}function Yx(e,t,i,u){var c=M.T;M.T=null;var f=Y.p;try{Y.p=8,sd(e,t,i,u)}finally{Y.p=f,M.T=c}}function sd(e,t,i,u){if(Jo){var c=cd(u);if(c===null)Jh(e,t,u,Ko,i),Vb(e,u);else if(Zx(c,e,t,i,u))u.stopPropagation();else if(Vb(e,u),t&4&&-1<Xx.indexOf(e)){for(;c!==null;){var f=Gr(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var y=Pa(f.pendingLanes);if(y!==0){var b=f;for(b.pendingLanes|=2,b.entangledLanes|=2;y;){var O=1<<31-Vt(y);b.entanglements[1]|=O,y&=~O}xn(f),(ke&6)===0&&(Mo=Ut()+500,Ll(0))}}break;case 31:case 13:b=nr(f,2),b!==null&&jt(b,f,2),ko(),od(f,2)}if(f=cd(u),f===null&&Jh(e,t,u,Ko,i),f===c)break;c=f}c!==null&&u.stopPropagation()}else Jh(e,t,u,null,i)}}function cd(e){return e=hf(e),fd(e)}var Ko=null;function fd(e){if(Ko=null,e=Hr(e),e!==null){var t=s(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=h(t),e!==null)return e;e=null}else if(i===31){if(e=d(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ko=e,null}function Bb(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 4,130 bytes, line 9
9: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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(MD()){case Zy:return 2;case Jy:return 8;case Qu:case zD:return 32;case Ky:return 268435456;default:return 32}default:return 32}}var hd=!1,wa=null,Ra=null,Na=null,Il=new Map,Fl=new Map,Ma=[],Xx="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".split(" ");function Vb(e,t){switch(e){case"focusin":case"focusout":wa=null;break;case"dragenter":case"dragleave":Ra=null;break;case"mouseover":case"mouseout":Na=null;break;case"pointerover":case"pointerout":Il.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fl.delete(t.pointerId)}}function Hl(e,t,i,u,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:i,eventSystemFlags:u,nativeEvent:f,targetContainers:[c]},t!==null&&(t=Gr(t),t!==null&&Qb(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function Zx(e,t,i,u,c){switch(t){case"focusin":return wa=Hl(wa,e,t,i,u,c),!0;case"dragenter":return Ra=Hl(Ra,e,t,i,u,c),!0;case"mouseover":return Na=Hl(Na,e,t,i,u,c),!0;case"pointerover":var f=c.pointerId;return Il.set(f,Hl(Il.get(f)||null,e,t,i,u,c)),!0;case"gotpointercapture":return f=c.pointerId,Fl.set(f,Hl(Fl.get(f)||null,e,t,i,u,c)),!0}return!1}function Ib(e){var t=Hr(e.target);if(t!==null){var i=s(t);if(i!==null){if(t=i.tag,t===13){if(t=h(i),t!==null){e.blockedOn=t,nm(e.priority,function(){Ub(i)});return}}else if(t===31){if(t=d(i),t!==null){e.blockedOn=t,nm(e.priority,function(){Ub(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Po(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=cd(e.nativeEvent);if(i===null){i=e.nativeEvent;var u=new i.constructor(i.type,i);ff=u,i.target.dispatchEvent(u),ff=null}else return t=Gr(i),t!==null&&Qb(t),e.blockedOn=i,!1;t.shift()}return!0}function Fb(e,t,i){Po(e)&&i.delete(t)}function Jx(){hd=!1,wa!==null&&Po(wa)&&(wa=null),Ra!==null&&Po(Ra)&&(Ra=null),Na!==null&&Po(Na)&&(Na=null),Il.forEach(Fb),Fl.forEach(Fb)}function Wo(e,t){e.blockedOn===t&&(e.blockedOn=null,hd||(hd=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Jx)))}var $o=null;function Hb(e){$o!==e&&($o=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){$o===e&&($o=null);for(var t=0;t<e.length;t+=3){var i=e[t],u=e[t+1],c=e[t+2];if(typeof u!="function"){if(fd(u||i)===null)continue;break}var f=Gr(i);f!==null&&(e.splice(t,3),t-=3,ch(f,{pending:!0,data:c,method:i.method,action:u},u,c))}}))}function Ai(e){function t(O){return Wo(O,e)}wa!==null&&Wo(wa,e),Ra!==null&&Wo(Ra,e),Na!==null&&Wo(Na,e),Il.forEach(t),Fl.forEach(t);for(var i=0;i<Ma.length;i++){var u=Ma[i];u.blockedOn===e&&(u.blockedOn=null)}for(;0<Ma.length&&(i=Ma[0],i.blockedOn===null);)Ib(i),i.blockedOn===null&&Ma.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(u=0;
vendor: 31,629 bytes, lines 9-10
9u<i.length;u+=3){var c=i[u],f=i[u+1],y=c[Rt]||null;if(typeof f=="function")y||Hb(i);else if(y){var b=null;if(f&&f.hasAttribute("formAction")){if(c=f,y=f[Rt]||null)b=y.formAction;else if(fd(c)!==null)continue}else b=y.action;typeof b=="function"?i[u+1]=b:(i.splice(u,3),u-=3),Hb(i)}}}function Gb(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(y){return c=y})},focusReset:"manual",scroll:"manual"})}function t(){c!==null&&(c(),c=null),u||setTimeout(i,20)}function i(){if(!u&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){u=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),c!==null&&(c(),c=null)}}}function dd(e){this._internalRoot=e}es.prototype.render=dd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(l(409));var i=t.current,u=Zt();jb(i,u,e,t,null,null)},es.prototype.unmount=dd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;jb(e.current,2,null,e,null,null),ko(),t[Fr]=null}};function es(e){this._internalRoot=e}es.prototype.unstable_scheduleHydration=function(e){if(e){var t=tm();e={blockedOn:null,target:e,priority:t};for(var i=0;i<Ma.length&&t!==0&&t<Ma[i].priority;i++);Ma.splice(i,0,e),i===0&&Ib(e)}};var Yb=a.version;if(Yb!=="19.2.0")throw Error(l(527,Yb,"19.2.0"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=p(t),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var Kx={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ts=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ts.isDisabled&&ts.supportsFiber)try{$i=ts.inject(Kx),Bt=ts}catch{}}return Ci.createRoot=function(e,t){if(!o(e))throw Error(l(299));var i=!1,u="",c=$g,f=e0,y=t0;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=kb(e,1,!1,null,null,i,u,null,c,f,y,Gb),e[Fr]=t.current,Zh(e),new dd(t)},Ci.hydrateRoot=function(e,t,i){if(!o(e))throw Error(l(299));var u=!1,c="",f=$g,y=e0,b=t0,O=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(b=i.onRecoverableError),i.formState!==void 0&&(O=i.formState)),t=kb(e,1,!0,t,i??null,u,c,O,f,y,b,Gb),t.context=Lb(null),i=t.current,u=Zt(),u=nf(u),c=ma(u),c.callback=null,ga(i,c,u),i=u,t.current.lanes=i,tl(t,i),xn(t),e[Fr]=t.current,Zh(e),new es(t)},Ci.version="19.2.0",Ci}var Td;function nS(){if(Td)return is.exports;Td=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),is.exports=tS(),is.exports}var aS=nS(),xt=function(){return xt=Object.assign||function(a){for(var r,l=1,o=arguments.length;l<o;l++){r=arguments[l];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(a[s]=r[s])}return a},xt.apply(this,arguments)};function Yl(n,a,r){if(r||arguments.length===2)for(var l=0,o=a.length,s;l<o;l++)(s||!(l in a))&&(s||(s=Array.prototype.slice.call(a,0,l)),s[l]=a[l]);return n.concat(s||Array.prototype.slice.call(a))}typeof SuppressedError=="function"&&SuppressedError;var ss,Od;function rS(){return Od||(Od=1,ss=function(a,r,l,o){var s=l?l.call(o,a,r):void 0;if(s!==void 0)return!!s;if(a===r)return!0;if(typeof a!="object"||!a||typeof r!="object"||!r)return!1;var h=Object.keys(a),d=Object.keys(r);if(h.length!==d.length)return!1;for(var v=Object.prototype.hasOwnProperty.bind(r),p=0;p<h.length;p++){var m=h[p];if(!v(m))return!1;var g=a[m],S=r[m];if(s=l?l.call(o,g,S,m):void 0,s===!1||s===void 0&&g!==S)return!1}return!0}),ss}var iS=rS();const lS=ns(iS);var Ge="-ms-",wi="-moz-",Le="-webkit-",Dd="comm",Xl="rule",cs="decl",uS="@import",Ad="@keyframes",oS="@layer",xd=Math.abs,fs=String.fromCharCode,hs=Object.assign;function sS(n,a){return ht(n,0)^45?(((a<<2^ht(n,0))<<2^ht(n,1))<<2^ht(n,2))<<2^ht(n,3):0}function Cd(n){return n.trim()}function Cn(n,a){return(n=a.exec(n))?n[0]:n}function Se(n,a,r){return n.replace(a,r)}function Zl(n,a,r){return n.indexOf(a,r)}function ht(n,a){return n.charCodeAt(a)|0}function vr(n,a,r){return n.slice(a,r)}function En(n){return n.length}function wd(n){return n.length}function Ri(n,a){return a.push(n),n}function cS(n,a){return n.map(a).join("")}function Rd(n,a){return n.filter(function(r){return!Cn(r,a)})}var Jl=1,yr=1,Nd=0,Jt=0,rt=0,mr="";function Kl(n,a,r,l,o,s,h,d){return{value:n,root:a,parent:r,type:l,props:o,children:s,line:Jl,column:yr,length:h,return:"",siblings:d}}function Pn(n,a){return hs(Kl("",null,null,"",null,null,0,n.siblings),n,{length:-n.length},a)}function gr(n){for(;n.root;)n=Pn(n.root,{children:[n]});Ri(n,n.siblings)}function fS(){return rt}function hS(){return rt=Jt>0?ht(mr,--Jt):0,yr--,rt===10&&(yr=1,Jl--),rt}function fn(){return rt=Jt<Nd?ht(mr,Jt++):0,yr++,rt===10&&(yr=1,Jl++),rt}function La(){return ht(mr,Jt)}function Pl(){return Jt}function Wl(n,a){return vr(mr,n,a)}function ds(n){switch(n){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 dS(n){return Jl=yr=1,Nd=En(mr=n),Jt=0,[]}function pS(n){return mr="",n}function ps(n){return Cd(Wl(Jt-1,vs(n===91?n+2:n===40?n+1:n)))}function vS(n){for(;(rt=La())&&rt<33;)fn();return ds(n)>2||ds(rt)>3?"":" "}function yS(n,a){for(;--a&&fn()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return Wl(n,Pl()+(a<6&&La()==32&&fn()==32))}function vs(n){for(;fn();)switch(rt){case n:return Jt;case 34:case 39:n!==34&&n!==39&&vs(rt);break;case 40:n===41&&vs(n);break;case 92:fn();break}return Jt}function mS(n,a){for(;fn()&&n+rt!==57;)if(n+rt===84&&La()===47)break;return"/*"+Wl(a,Jt-1)+"*"+fs(n===47?n:fn())}function gS(n){for(;!ds(La());)fn();return Wl(n,Jt)}function bS(n){return pS($l("",null,null,null,[""],n=dS(n),0,[0],n))}function $l(n,a,r,l,o,s,h,d,v){for(var p=0,m=0,g=h,S=0,E=0,_=0,A=1,R=1,T=1,z=0,w="",Q=o,B=s,I=l,V=w;R;)switch(_=z,z=fn()){case 40:if(_!=108&&ht(V,g-1)==58){Zl(V+=Se(ps(z),"&","&\f"),"&\f",xd(p?d[p-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:V+=ps(z);break;case 9:case 10:case 13:case 32:V+=vS(_);break;case 92:V+=yS(Pl()-1,7);continue;case 47:switch(La()){case 42:case 47:Ri(SS(mS(fn(),Pl()),a,r,v),v);break;default:V+="/"}break;case 123*A:d[p++]=En(V)*T;case 125*A:case 59:case 0:switch(z){case 0:case 125:R=0;case 59+m:T==-1&&(V=Se(V,/\f/g,"")),E>0&&En(V)-g&&Ri(E>32?zd(V+";",l,r,g-1,v):zd(Se(V," ","")+";",l,r,g-2,v),v);break;case 59:V+=";";default:if(Ri(I=Md(V,a,r,p,m,o,d,w,Q=[],B=[],g,s),s),z===123)if(m===0)$l(V,a,I,I,Q,s,g,d,B);else switch(S===99&&ht(V,3)===110?100:S){case 100:case 108:case 109:case 115:$l(n,I,I,l&&Ri(Md(n,I,I,0,0,o,d,w,o,Q=[],g,B),B),o,B,g,d,l?Q:B);break;default:$l(V,I,I,I,[""],B,0,d,B)}}p=m=E=0,A=T=1,w=V="",g=h;break;case 58:g=1+En(V),E=_;default:if(A<1){if(z==123)--A;else if(z==125&&A++==0&&hS()==125)continue}switch(V+=fs(z),z*A){case 38:T=m>0?1:(V+="\f",-1);break;case 44:d[p++]=(En(V)-1)*T,T=1;break;case 64:La()===45&&(V+=ps(fn())),S=La(),m=g=En(w=V+=gS(Pl())),z++;break;case 45:_===45&&En(V)==2&&(A=0)}}return s}function Md(n,a,r,l,o,s,h,d,v,p,m,g){for(var S=o-1,E=o===0?s:[""],_=wd(E),A=0,R=0,T=0;A<l;++A)for(var z=0,w=vr(n,S+1,S=xd(R=h[A])),Q=n;z<_;++z)(Q=Cd(R>0?E[z]+" "+w:Se(w,/&\f/g,E[z])))&&(v[T++]=Q);return Kl(n,a,r,o===0?Xl:d,v,p,m,g)}function SS(n,a,r,l){return Kl(n,a,r,Dd,fs(fS()),vr(n,2,-2),0,l)}function zd(n,a,r,l,o){return Kl(n,a,r,cs,vr(n,0,l),vr(n,l+1,-1),l,o)}function kd(n,a,r){switch(sS(n,a)){case 5103:return Le+"print-"+n+n;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 Le+n+n;case 4789:return wi+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return Le+n+wi+n+Ge+n+n;case 5936:switch(ht(n,a+11)){case 114:return Le+n+Ge+Se(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return Le+n+Ge+Se(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return Le+n+Ge+Se(n,/[svh]\w+-[tblr]{2}/,"lr")+n}case 6828:case 4268:case 2903:return Le+n+Ge+n+n;case 6165:return Le+n+Ge+"flex-"+n+n;case 5187:return Le+n+Se(n,/(\w+).+(:[^]+)/,Le+"box-$1$2"+Ge+"flex-$1$2")+n;case 5443:return Le+n+Ge+"flex-item-"+Se(n,/flex-|-self/g,"")+(Cn(n,/flex-|baseline/)?"":Ge+"grid-row-"+Se(n,/flex-|-self/g,""))+n;case 4675:return Le+n+Ge+"flex-line-pack"+Se(n,/align-content|flex-|-self/g,"")+n;case 5548:return Le+n+Ge+Se(n,"shrink","negative")+n;case 5292:return Le+n+Ge+Se(n,"basis","preferred-size")+n;case 6060:return Le+"box-"+Se(n,"-grow","")+Le+n+Ge+Se(n,"grow","positive")+n;case 4554:return Le+Se(n,/([^-])(transform)/g,"$1"+Le+"$2")+n;case 6187:return Se(Se(Se(n,/(zoom-|grab)/,Le+"$1"),/(image-set)/,Le+"$1"),n,"")+n;case 5495:case 3959:return Se(n,/(image-set\([^]*)/,Le+"$1$`$1");case 4968:return Se(Se(n,/(.+:)(flex-)?(.*)/,Le+"box-pack:$3"+Ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Le+n+n;case 4200:if(!Cn(n,/flex-|baseline/))return Ge+"grid-column-align"+vr(n,a)+n;break;case 2592:case 3360:return Ge+Se(n,"template-","")+n;case 4384:case 3616:return r&&r.some(function(l,o){return a=o,Cn(l.props,/grid-\w+-end/)})?~Zl(n+(r=r[a].value),"span",0)?n:Ge+Se(n,"-start","")+n+Ge+"grid-row-span:"+(~Zl(r,"span",0)?Cn(r,/\d+/):+Cn(r,/\d+/)-+Cn(n,/\d+/))+";":Ge+Se(n,"-start","")+n;case 4896:case 4128:return r&&r.some(function(l){return Cn(l.props,/grid-\w+-start/)})?n:Ge+Se(Se(n,"-end","-span"),"span ","")+n;case 4095:case 3583:case 4068:case 2532:return Se(n,/(.+)-inline(.+)/,Le+"$1$2")+n;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(En(n)-1-a>6)switch(ht(n,a+1)){case 109:if(ht(n,a+4)!==45)break;case 102:return Se(n,/(.+:)(.+)-([^]+)/,"$1"+Le+"$2-$3$1"+wi+(ht(n,a+3)==108?"$3":"$2-$3"))+n;case 115:return~Zl(n,"stretch",0)?kd(Se(n,"stretch","fill-available"),a,r)+n:n}break;case 5152:case 5920:return Se(n,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(l,o,s,h,d,v,p){return Ge+o+":"+s+p+(h?Ge+o+"-span:"+(d?v:+v-+s)+p:"")+n});case 4949:if(ht(n,a+6)===121)return Se(n,":",":"+Le)+n;break;case 6444:switch(ht(n,ht(n,14)===45?18:11)){case 120:return Se(n,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Le+(ht(n,14)===45?"inline-":"")+"box$3$1"+Le+"$2$3$1"+Ge+"$2box$3")+n;case 100:return Se(n,":",":"+Ge)+n}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Se(n,"scroll-","scroll-snap-")+n}return n}function eu(n,a){for(var r="",l=0;l<n.length;l++)r+=a(n[l],l,n,a)||"";return r}function ES(n,a,r,l){switch(n.type){case oS:if(n.children.length)break;case uS:case cs:return n.return=n.return||n.value;case Dd:return"";case Ad:return n.return=n.value+"{"+eu(n.children,l)+"}";case Xl:if(!En(n.value=n.props.join(",")))return""}return En(r=eu(n.children,l))?n.return=n.value+"{"+r+"}":""}function _S(n){var a=wd(n);return function(r,l,o,s){for(var h="",d=0;d<a;d++)h+=n[d](r,l,o,s)||"";return h}}function TS(n){return function(a){a.root||(a=a.return)&&n(a)}}function OS(n,a,r,l){if(n.length>-1&&!n.return)switch(n.type){case cs:n.return=kd(n.value,n.length,r);return;case Ad:return eu([Pn(n,{value:Se(n.value,"@","@"+Le)})],l);case Xl:if(n.length)return cS(r=n.props,function(o){switch(Cn(o,l=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":gr(Pn(n,{props:[Se(o,/:(read-\w+)/,":"+wi+"$1")]})),gr(Pn(n,{props:[o]})),hs(n,{props:Rd(r,l)});break;case"::placeholder":gr(Pn(n,{props:[Se(o,/:(plac\w+)/,":"+Le+"input-$1")]})),gr(Pn(n,{props:[Se(o,/:(plac\w+)/,":"+wi+"$1")]})),gr(Pn(n,{props:[Se(o,/:(plac\w+)/,Ge+"input-$1")]})),gr(Pn(n,{props:[o]})),hs(n,{props:Rd(r,l)});break}return""})}}var DS={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},qt={},br=typeof process<"u"&&qt!==void 0&&(qt.REACT_APP_SC_ATTR||qt.SC_ATTR)||"data-styled",Ld="active",jd="data-styled-version",tu="6.1.19",ys=`/*!sc*/ 10`,nu=typeof window<"u"&&typeof document<"u",AS=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&qt!==void 0&&qt.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&qt.REACT_APP_SC_DISABLE_SPEEDY!==""?qt.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&qt.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&qt!==void 0&&qt.SC_DISABLE_SPEEDY!==void 0&&qt.SC_DISABLE_SPEEDY!==""&&qt.SC_DISABLE_SPEEDY!=="false"&&qt.SC_DISABLE_SPEEDY),au=Object.freeze([]),Sr=Object.freeze({});function xS(n,a,r){return r===void 0&&(r=Sr),n.theme!==r.theme&&n.theme||a||r.theme}var qd=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),CS=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,wS=/(^-|-$)/g;function Qd(n){return n.replace(CS,"-").replace(wS,"")}var RS=/(a)(d)/gi,ru=52,Ud=function(n){return String.fromCharCode(n+(n>25?39:97))};function ms(n){var a,r="";for(a=Math.abs(n);a>ru;a=a/ru|0)r=Ud(a%ru)+r;return(Ud(a%ru)+r).replace(RS,"$1-$2")}var gs,Bd=5381,Er=function(n,a){for(var r=a.length;r;)n=33*n^a.charCodeAt(--r);return n},Vd=function(n){return Er(Bd,n)};function NS(n){return ms(Vd(n)>>>0)}function MS(n){return n.displayName||n.name||"Component"}function bs(n){return typeof n=="string"&&!0}var Id=typeof Symbol=="function"&&Symbol.for,Fd=Id?Symbol.for("react.memo"):60115,zS=Id?Symbol.for("react.forward_ref"):60112,kS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},LS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Hd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jS=((gs={})[zS]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gs[Fd]=Hd,gs);function Gd(n){return("type"in(a=n)&&a.type.$$typeof)===Fd?Hd:"$$typeof"in n?jS[n.$$typeof]:kS;var a}var qS=Object.defineProperty,QS=Object.getOwnPropertyNames,Yd=Object.getOwnPropertySymbols,US=Object.getOwnPropertyDescriptor,BS=Object.getPrototypeOf,Xd=Object.prototype;function Zd(n,a,r){if(typeof a!="string"){if(Xd){var l=BS(a);l&&l!==Xd&&Zd(n,l,r)}var o=QS(a);Yd&&(o=o.concat(Yd(a)));for(var s=Gd(n),h=Gd(a),d=0;d<o.length;++d){var v=o[d];if(!(v in LS||r&&r[v]||h&&v in h||s&&v in s)){var p=US(a,v);try{qS(n,v,p)}catch{}}}}return n}function _r(n){return typeof n=="function"}function Ss(n){return typeof n=="object"&&"styledComponentId"in n}function ja(n,a){return n&&a?"".concat(n," ").concat(a):n||a||""}function Jd(n,a){if(n.length===0)return"";for(var r=n[0],l=1;l<n.length;l++)r+=n[l];return r}function Ni(n){return n!==null&&typeof n=="object"&&n.constructor.name===Object.name&&!("props"in n&&n.$$typeof)}function Es(n,a,r){if(r===void 0&&(r=!1),!r&&!Ni(n)&&!Array.isArray(n))return a;if(Array.isArray(a))for(var l=0;l<a.length;l++)n[l]=Es(n[l],a[l]);else if(Ni(a))for(var l in a)n[l]=Es(n[l],a[l]);return n}function _s(n,a){Object.defineProperty(n,"toString",{value:a})}function Mi(n){for(var a=[],r=1;r<arguments.length;r++)a[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(n," for more information.").concat(a.length>0?" Args: ".concat(a.join(", ")):""))}var VS=(function(){function n(a){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=a}return n.prototype.indexOfGroup=function(a){for(var r=0,l=0;l<a;l++)r+=this.groupSizes[l];return r},n.prototype.insertRules=function(a,r){if(a>=this.groupSizes.length){for(var l=this.groupSizes,o=l.length,s=o;a>=s;)if((s<<=1)<0)throw Mi(16,"".concat(a));this.groupSizes=new Uint32Array(s),this.groupSizes.set(l),this.length=s;for(var h=o;h<s;h++)this.groupSizes[h]=0}for(var d=this.indexOfGroup(a+1),v=(h=0,r.length);h<v;h++)this.tag.insertRule(d,r[h])&&(this.groupSizes[a]++,d++)},n.prototype.clearGroup=function(a){if(a<this.length){var r=this.groupSizes[a],l=this.indexOfGroup(a),o=l+r;this.groupSizes[a]=0;for(var s=l;s<o;s++)this.tag.deleteRule(l)}},n.prototype.getGroup=function(a){var r="";if(a>=this.length||this.groupSizes[a]===0)return r;for(var l=this.groupSizes[a],o=this.indexOfGroup(a),s=o+l,h=o;h<s;h++)r+="".concat(this.tag.getRule(h)).concat(ys);return r},n})(),iu=new Map,lu=new Map,uu=1,ou=function(n){if(iu.has(n))return iu.get(n);for(;lu.has(uu);)uu++;var a=uu++;return iu.set(n,a),lu.set(a,n),a},IS=function(n,a){uu=a+1,iu.set(n,a),lu.set(a,n)},FS="style[".concat(br,"][").concat(jd,'="').concat(tu,'"]'),HS=new RegExp("^".concat(br,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),GS=function(n,a,r){for(var l,o=r.split(","),s=0,h=o.length;s<h;s++)(l=o[s])&&n.registerName(a,l)},YS=function(n,a){for(var r,l=((r=a.textContent)!==null&&r!==void 0?r:"").split(ys),o=[],s=0,h=l.length;s<h;s++){var d=l[s].trim();if(d){var v=d.match(HS);if(v){var p=0|parseInt(v[1],10),m=v[2];p!==0&&(IS(m,p),GS(n,m,v[3]),n.getTag().insertRules(p,o)),o.length=0}else o.push(d)}}},Kd=function(n){for(var a=document.querySelectorAll(FS),r=0,l=a.length;r<l;r++){var o=a[r];o&&o.getAttribute(br)!==Ld&&(YS(n,o),o.parentNode&&o.parentNode.removeChild(o))}};function XS(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Pd=function(n){var a=document.head,r=n||a,l=document.createElement("style"),o=(function(d){var v=Array.from(d.querySelectorAll("style[".concat(br,"]")));return v[v.length-1]})(r),s=o!==void 0?o.nextSibling:null;l.setAttribute(br,Ld),l.setAttribute(jd,tu);var h=XS();return h&&l.setAttribute("nonce",h),r.insertBefore(l,s),l},ZS=(function(){function n(a){this.element=Pd(a),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){if(r.sheet)return r.sheet;for(var l=document.styleSheets,o=0,s=l.length;o<s;o++){var h=l[o];if(h.ownerNode===r)return h}throw Mi(17)})(this.element),this.length=0}return n.prototype.insertRule=function(a,r){try{return this.sheet.insertRule(r,a),this.length++,!0}catch{return!1}},n.prototype.deleteRule=function(a){this.sheet.deleteRule(a),this.length--},n.prototype.getRule=function(a){var r=this.sheet.cssRules[a];return r&&r.cssText?r.cssText:""},n})(),JS=(function(){function n(a){this.element=Pd(a),this.nodes=this.element.childNodes,this.length=0}return n.prototype.insertRule=function(a,r){if(a<=this.length&&a>=0){var l=document.createTextNode(r);return this.element.insertBefore(l,this.nodes[a]||null),this.length++,!0}return!1},n.prototype.deleteRule=function(a){this.element.removeChild(this.nodes[a]),this.length--},n.prototype.getRule=function(a){return a<this.length?this.nodes[a].textContent:""},n})(),KS=(function(){function n(a){this.rules=[],this.length=0}return n.prototype.insertRule=function(a,r){return a<=this.length&&(this.rules.splice(a,0,r),this.length++,!0)},n.prototype.deleteRule=function(a){this.rules.splice(a,1),this.length--},n.prototype.getRule=function(a){return a<this.length?this.rules[a]:""},n})(),Wd=nu,PS={isServer:!nu,useCSSOMInjection:!AS},$d=(function(){function n(a,r,l){a===void 0&&(a=Sr),r===void 0&&(r={});var o=this;this.options=xt(xt({},PS),a),this.gs=r,this.names=new Map(l),this.server=!!a.isServer,!this.server&&nu&&Wd&&(Wd=!1,Kd(this)),_s(this,function(){return(function(s){for(var h=s.getTag(),d=h.length,v="",p=function(g){var S=(function(T){return lu.get(T)})(g);if(S===void 0)return"continue";var E=s.names.get(S),_=h.getGroup(g);if(E===void 0||!E.size||_.length===0)return"continue";var A="".concat(br,".g").concat(g,'[id="').concat(S,'"]'),R="";E!==void 0&&E.forEach(function(T){T.length>0&&(R+="".concat(T,","))}),v+="".concat(_).concat(A,'{content:"').concat(R,'"}').concat(ys)},m=0;m<d;m++)p(m);return v})(o)})}return n.registerId=function(a){return ou(a)},n.prototype.rehydrate=function(){!this.server&&nu&&Kd(this)},n.prototype.reconstructWithOptions=function(a,r){return r===void 0&&(r=!0),new n(xt(xt({},this.options),a),this.gs,r&&this.names||void 0)},n.prototype.allocateGSInstance=function(a){return this.gs[a]=(this.gs[a]||0)+1},n.prototype.getTag=function(){return this.tag||(this.tag=(a=(function(r){var l=r.useCSSOMInjection,o=r.target;return r.isServer?new KS(o):l?new ZS(o):new JS(o)})(this.options),new VS(a)));var a},n.prototype.hasNameForId=function(a,r){return this.names.has(a)&&this.names.get(a).has(r)},n.prototype.registerName=function(a,r){if(ou(a),this.names.has(a))this.names.get(a).add(r);else{var l=new Set;l.add(r),this.names.set(a,l)}},n.prototype.insertRules=function(a,r,l){this.registerName(a,r),this.getTag().insertRules(ou(a),l)},n.prototype.clearNames=function(a){this.names.has(a)&&this.names.get(a).clear()},n.prototype.clearRules=function(a){this.getTag().clearGroup(ou(a)),this.clearNames(a)},n.prototype.clearTag=function(){this.tag=void 0},n})(),WS=/&/g,$S=/^\s*\/\/.*$/gm;function ep(n,a){return n.map(function(r){return r.type==="rule"&&(r.value="".concat(a," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(a," ")),r.props=r.props.map(function(l){return"".concat(a," ").concat(l)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=ep(r.children,a)),r})}function tp(n){var a,r,l,o=n===void 0?Sr:n,s=o.options,h=s===void 0?Sr:s,d=o.plugins,v=d===void 0?au:d,p=function(S,E,_){return _.startsWith(r)&&_.endsWith(r)&&_.replaceAll(r,"").length>0?".".concat(a):S},m=v.slice();m.push(function(S){S.type===Xl&&S.value.includes("&")&&(S.props[0]=S.props[0].replace(WS,r).replace(l,p))}),h.prefix&&m.push(OS),m.push(ES);var g=function(S,E,_,A){E===void 0&&(E=""),_===void 0&&(_=""),A===void 0&&(A="&"),a=A,r=E,l=new RegExp("\\".concat(r,"\\b"),"g");var R=S.replace($S,""),T=bS(_||E?"".concat(_," ").concat(E," { ").concat(R," }"):R);h.namespace&&(T=ep(T,h.namespace));var z=[];return eu(T,_S(m.concat(TS(function(w){return z.push(w)})))),z};return g.hash=v.length?v.reduce(function(S,E){return E.name||Mi(15),Er(S,E.name)},Bd).toString():"",g}var eE=new $d,Ts=tp(),Os=ka.createContext({shouldForwardProp:void 0,styleSheet:eE,stylis:Ts});Os.Consumer;var tE=ka.createContext(void 0);function Ds(){return De.useContext(Os)}function nE(n){var a=De.useState(n.stylisPlugins),r=a[0],l=a[1],o=Ds().styleSheet,s=De.useMemo(function(){var v=o;return n.sheet?v=n.sheet:n.target&&(v=v.reconstructWithOptions({target:n.target},!1)),n.disableCSSOMInjection&&(v=v.reconstructWithOptions({useCSSOMInjection:!1})),v},[n.disableCSSOMInjection,n.sheet,n.target,o]),h=De.useMemo(function(){return tp({options:{namespace:n.namespace,prefix:n.enableVendorPrefixes},plugins:r})},[n.enableVendorPrefixes,n.namespace,r]);De.useEffect(function(){lS(r,n.stylisPlugins)||l(n.stylisPlugins)},[n.stylisPlugins]);var d=De.useMemo(function(){return{shouldForwardProp:n.shouldForwardProp,styleSheet:s,stylis:h}},[n.shouldForwardProp,s,h]);return ka.createElement(Os.Provider,{value:d},ka.createElement(tE.Provider,{value:h},n.children))}var aE=(function(){function n(a,r){var l=this;this.inject=function(o,s){s===void 0&&(s=Ts);var h=l.name+s.hash;o.hasNameForId(l.id,h)||o.insertRules(l.id,h,s(l.rules,h,"@keyframes"))},this.name=a,this.id="sc-keyframes-".concat(a),this.rules=r,_s(this,function(){throw Mi(12,String(l.name))})}return n.prototype.getName=function(a){return a===void 0&&(a=Ts),this.name+a.hash},n})(),rE=function(n){return n>="A"&&n<="Z"};function np(n){for(var a="",r=0;r<n.length;r++){var l=n[r];if(r===1&&l==="-"&&n[0]==="-")return n;rE(l)?a+="-"+l.toLowerCase():a+=l}return a.startsWith("ms-")?"-"+a:a}var ap=function(n){return n==null||n===!1||n===""},rp=function(n){var a,r,l=[];for(var o in n){var s=n[o];n.hasOwnProperty(o)&&!ap(s)&&(Array.isArray(s)&&s.isCss||_r(s)?l.push("".concat(np(o),":"),s,";"):Ni(s)?l.push.apply(l,Yl(Yl(["".concat(o," {")],rp(s),!1),["}"],!1)):l.push("".concat(np(o),": ").concat((a=o,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||a in DS||a.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return l};function qa(n,a,r,l){if(ap(n))return[];if(Ss(n))return[".".concat(n.styledComponentId)];if(_r(n)){if(!_r(s=n)||s.prototype&&s.prototype.isReactComponent||!a)return[n];var o=n(a);return qa(o,a,r,l)}var s;return n instanceof aE?r?(n.inject(r,l),[n.getName(l)]):[n]:Ni(n)?rp(n):Array.isArray(n)?Array.prototype.concat.apply(au,n.map(function(h){return qa(h,a,r,l)})):[n.toString()]}function iE(n){for(var a=0;a<n.length;a+=1){var r=n[a];if(_r(r)&&!Ss(r))return!1}return!0}var lE=Vd(tu),uE=(function(){function n(a,r,l){this.rules=a,this.staticRulesId="",this.isStatic=(l===void 0||l.isStatic)&&iE(a),this.componentId=r,this.baseHash=Er(lE,r),this.baseStyle=l,$d.registerId(r)}return n.prototype.generateAndInjectStyles=function(a,r,l){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(a,r,l):"";if(this.isStatic&&!l.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ja(o,this.staticRulesId);else{var s=Jd(qa(this.rules,a,r,l)),h=ms(Er(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,h)){var d=l(s,".".concat(h),void 0,this.componentId);r.insertRules(this.componentId,h,d)}o=ja(o,h),this.staticRulesId=h}else{for(var v=Er(this.baseHash,l.hash),p="",m=0;m<this.rules.length;m++){var g=this.rules[m];if(typeof g=="string")p+=g;else if(g){var S=Jd(qa(g,a,r,l));v=Er(v,S+m),p+=S}}if(p){var E=ms(v>>>0);r.hasNameForId(this.componentId,E)||r.insertRules(this.componentId,E,l(p,".".concat(E),void 0,this.componentId)),o=ja(o,E)}}return o},n})(),ip=ka.createContext(void 0);ip.Consumer;var As={};function oE(n,a,r){var l=Ss(n),o=n,s=!bs(n),h=a.attrs,d=h===void 0?au:h,v=a.componentId,p=v===void 0?(function(Q,B){var I=typeof Q!="string"?"sc":Qd(Q);As[I]=(As[I]||0)+1;var V="".concat(I,"-").concat(NS(tu+I+As[I]));return B?"".concat(B,"-").concat(V):V})(a.displayName,a.parentComponentId):v,m=a.displayName,g=m===void 0?(function(Q){return bs(Q)?"styled.".concat(Q):"Styled(".concat(MS(Q),")")})(n):m,S=a.displayName&&a.componentId?"".concat(Qd(a.displayName),"-").concat(a.componentId):a.componentId||p,E=l&&o.attrs?o.attrs.concat(d).filter(Boolean):d,_=a.shouldForwardProp;if(l&&o.shouldForwardProp){var A=o.shouldForwardProp;if(a.shouldForwardProp){var R=a.shouldForwardProp;_=function(Q,B){return A(Q,B)&&R(Q,B)}}else _=A}var T=new uE(r,S,l?o.componentStyle:void 0);function z(Q,B){return(function(I,V,K){var se=I.attrs,_e=I.componentStyle,Ee=I.defaultProps,de=I.foldedComponentIds,ve=I.styledComponentId,te=I.target,fe=ka.useContext(ip),M=Ds(),Y=I.shouldForwardProp||M.shouldForwardProp,W=xS(V,fe,Ee)||Sr,ne=(function(le,ue,Ae){for(var We,qe=xt(xt({},ue),{className:void 0,theme:Ae}),Nn=0;Nn<le.length;Nn+=1){var Mn=_r(We=le[Nn])?We(qe):We;for(var $t in Mn)qe[$t]=$t==="className"?ja(qe[$t],Mn[$t]):$t==="style"?xt(xt({},qe[$t]),Mn[$t]):Mn[$t]}return ue.className&&(qe.className=ja(qe.className,ue.className)),qe})(se,V,W),re=ne.as||te,D={};for(var U in ne)ne[U]===void 0||U[0]==="$"||U==="as"||U==="theme"&&ne.theme===W||(U==="forwardedAs"?D.as=ne.forwardedAs:Y&&!Y(U,re)||(D[U]=ne[U]));var J=(function(le,ue){var Ae=Ds(),We=le.generateAndInjectStyles(ue,Ae.styleSheet,Ae.stylis);return We})(_e,ne),ee=ja(de,ve);return J&&(ee+=" "+J),ne.className&&(ee+=" "+ne.className),D[bs(re)&&!qd.has(re)?"class":"className"]=ee,K&&(D.ref=K),De.createElement(re,D)})(w,Q,B)}z.displayName=g;var w=ka.forwardRef(z);return w.attrs=E,w.componentStyle=T,w.displayName=g,w.shouldForwardProp=_,w.foldedComponentIds=l?ja(o.foldedComponentIds,o.styledComponentId):"",w.styledComponentId=S,w.target=l?o.target:n,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(Q){this._foldedDefaultProps=l?(function(B){for(var I=[],V=1;V<arguments.length;V++)I[V-1]=arguments[V];for(var K=0,se=I;K<se.length;K++)Es(B,se[K],!0);return B})({},o.defaultProps,Q):Q}}),_s(w,function(){return".".concat(w.styledComponentId)}),s&&Zd(w,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function lp(n,a){for(var r=[n[0]],l=0,o=a.length;l<o;l+=1)r.push(a[l],n[l+1]);return r}var up=function(n){return Object.assign(n,{isCss:!0})};function sE(n){for(var a=[],r=1;r<arguments.length;r++)a[r-1]=arguments[r];if(_r(n)||Ni(n))return up(qa(lp(au,Yl([n],a,!0))));var l=n;return a.length===0&&l.length===1&&typeof l[0]=="string"?qa(l):up(qa(lp(l,a)))}function xs(n,a,r){if(r===void 0&&(r=Sr),!a)throw Mi(1,a);var l=function(o){for(var s=[],h=1;h<arguments.length;h++)s[h-1]=arguments[h];return n(a,r,sE.apply(void 0,Yl([o],s,!1)))};return l.attrs=function(o){return xs(n,a,xt(xt({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},l.withConfig=function(o){return xs(n,a,xt(xt({},r),o))},l}var op=function(n){return xs(oE,n)},Ke=op;qd.forEach(function(n){Ke[n]=op(n)});var Cs=function(n,a){return Cs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&(r[o]=l[o])},Cs(n,a)};function hn(n,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");Cs(n,a);function r(){this.constructor=n}n.prototype=a===null?Object.create(a):(r.prototype=a.prototype,new r)}var x=function(){return x=Object.assign||function(a){for(var r,l=1,o=arguments.length;l<o;l++){r=arguments[l];
10for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(a[s]=r[s])}return a},x.apply(this,arguments)};function dn(n,a){var r={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&a.indexOf(l)<0&&(r[l]=n[l]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,l=Object.getOwnPropertySymbols(n);o<l.length;o++)a.indexOf(l[o])<0&&Object.prototype.propertyIsEnumerable.call(n,l[o])&&(r[l[o]]=n[l[o]]);return r}function Wn(n,a,r,l){function o(s){return s instanceof r?s:new r(function(h){h(s)})}return new(r||(r=Promise))(function(s,h){function d(m){try{p(l.next(m))}catch(g){h(g)}}function v(m){try{p(l.throw(m))}catch(g){h(g)}}function p(m){m.done?s(m.value):o(m.value).then(d,v)}p((l=l.apply(n,a||[])).next())})}function $n(n,a){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},l,o,s,h=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return h.next=d(0),h.throw=d(1),h.return=d(2),typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function d(p){return function(m){return v([p,m])}}function v(p){if(l)throw new TypeError("Generator is already executing.");for(;h&&(h=0,p[0]&&(r=0)),r;)try{if(l=1,o&&(s=p[0]&2?o.return:p[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,p[1])).done)return s;switch(o=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,o=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){r.label=p[1];break}if(p[0]===6&&r.label<s[1]){r.label=s[1],s=p;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(p);break}s[2]&&r.ops.pop(),r.trys.pop();continue}p=a.call(n,r)}catch(m){p=[6,m],o=0}finally{l=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}function mt(n,a,r){if(r||arguments.length===2)for(var l=0,o=a.length,s;l<o;l++)(s||!(l in a))&&(s||(s=Array.prototype.slice.call(a,0,l)),s[l]=a[l]);return n.concat(s||Array.prototype.slice.call(a))}typeof SuppressedError=="function"&&SuppressedError;var ws="Invariant Violation",sp=Object.setPrototypeOf,cE=sp===void 0?function(n,a){return n.__proto__=a,n}:sp,cp=(function(n){hn(a,n);function a(r){r===void 0&&(r=ws);var l=n.call(this,typeof r=="number"?ws+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return l.framesToPop=1,l.name=ws,cE(l,a.prototype),l}return a})(Error);function Qa(n,a){if(!n)throw new cp(a)}var fp=["debug","log","warn","error","silent"],fE=fp.indexOf("log");function su(n){return function(){if(fp.indexOf(n)>=fE){var a=console[n]||console.log;return a.apply(console,arguments)}}}(function(n){n.debug=su("debug"),n.log=su("log"),n.warn=su("warn"),n.error=su("error")})(Qa||(Qa={}));var Rs="3.14.0";function pn(n){try{return n()}catch{}}const cu=pn(function(){return globalThis})||pn(function(){return window})||pn(function(){return self})||pn(function(){return global})||pn(function(){return pn.constructor("return this")()});var hp=new Map;function Ns(n){var a=hp.get(n)||1;return hp.set(n,a+1),"".concat(n,":").concat(a,":").concat(Math.random().toString(36).slice(2))}function dp(n,a){a===void 0&&(a=0);var r=Ns("stringifyForDisplay");return JSON.stringify(n,function(l,o){return o===void 0?r:o},a).split(JSON.stringify(r)).join("<undefined>")}function fu(n){return function(a){for(var r=[],l=1;l<arguments.length;l++)r[l-1]=arguments[l];if(typeof a=="number"){var o=a;a=Ms(o),a||(a=zs(o,r),r=[])}n.apply(void 0,[a].concat(r))}}var Z=Object.assign(function(a,r){for(var l=[],o=2;o<arguments.length;o++)l[o-2]=arguments[o];a||Qa(a,Ms(r,l)||zs(r,l))},{debug:fu(Qa.debug),log:fu(Qa.log),warn:fu(Qa.warn),error:fu(Qa.error)});function Dt(n){for(var a=[],r=1;r<arguments.length;r++)a[r-1]=arguments[r];return new cp(Ms(n,a)||zs(n,a))}var pp=Symbol.for("ApolloErrorMessageHandler_"+Rs);function vp(n){if(typeof n=="string")return n;try{return dp(n,2).slice(0,1e3)}catch{return"<non-serializable>"}}function Ms(n,a){if(a===void 0&&(a=[]),!!n)return cu[pp]&&cu[pp](n,a.map(vp))}function zs(n,a){if(a===void 0&&(a=[]),!!n)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:Rs,message:n,args:a.map(vp)})))}var ks={exports:{}},yp;function hE(){return yp||(yp=1,(function(n){n.exports.__SECRET_INT
10ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,n.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,n.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(n.exports,Gl())})(ks)),ks.exports}var he=hE();const mp=Xb({__proto__:null,default:ns(he)},[he]);function hu(n,a){if(!!!n)throw new Error(a)}function dE(n){return typeof n=="object"&&n!==null}function pE(n,a){if(!!!n)throw new Error("Unexpected invariant triggered.")}const vE=/\r\n|[\n\r]/g;function Ls(n,a){let r=0,l=1;for(const o of n.body.matchAll(vE)){if(typeof o.index=="number"||pE(!1),o.index>=a)break;r=o.index+o[0].length,l+=1}return{line:l,column:a+1-r}}function yE(n){return gp(n.source,Ls(n.source,n.start))}function gp(n,a){const r=n.locationOffset.column-1,l="".padStart(r)+n.body,o=a.line-1,s=n.locationOffset.line-1,h=a.line+s,d=a.line===1?r:0,v=a.column+d,p=`${n.name}:${h}:${v} 11`,m=l.split(/\r\n|[\n\r]/g),g=m[o];if(g.length>120){const S=Math.floor(v/80),E=v%80,_=[];for(let A=0;A<g.length;A+=80)_.push(g.slice(A,A+80));return p+bp([[`${h} |`,_[0]],..._.slice(1,S+1).map(A=>["|",A]),["|","^".padStart(E)],["|",_[S+1]]])}return p+bp([[`${h-1} |`,m[o-1]],[`${h} |`,g],["|","^".padStart(v)],[`${h+1} |`,m[o+1]]])}function bp(n){const a=n.filter(([l,o])=>o!==void 0),r=Math.max(...a.map(([l])=>l.length));return a.map(([l,o])=>l.padStart(r)+(o?" "+o:"")).join(` 12`)}function mE(n){const a=n[0];return a==null||"kind"in a||"length"in a?{nodes:a,source:n[1],positions:n[2],path:n[3],originalError:n[4],extensions:n[5]}:a}
vendor: 18,017 bytes, lines 12-31
12class js extends Error{constructor(a,...r){var l,o,s;const{nodes:h,source:d,positions:v,path:p,originalError:m,extensions:g}=mE(r);super(a),this.name="GraphQLError",this.path=p??void 0,this.originalError=m??void 0,this.nodes=Sp(Array.isArray(h)?h:h?[h]:void 0);const S=Sp((l=this.nodes)===null||l===void 0?void 0:l.map(_=>_.loc).filter(_=>_!=null));this.source=d??(S==null||(o=S[0])===null||o===void 0?void 0:o.source),this.positions=v??S?.map(_=>_.start),this.locations=v&&d?v.map(_=>Ls(d,_)):S?.map(_=>Ls(_.source,_.start));const E=dE(m?.extensions)?m?.extensions:void 0;this.extensions=(s=g??E)!==null&&s!==void 0?s: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}}),m!=null&&m.stack?Object.defineProperty(this,"stack",{value:m.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,js):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let a=this.message;if(this.nodes)for(const r of this.nodes)r.loc&&(a+=` 13 14`+yE(r.loc));else if(this.source&&this.locations)for(const r of this.locations)a+=` 15 16`+gp(this.source,r);return a}toJSON(){const a={message:this.message};return this.locations!=null&&(a.locations=this.locations),this.path!=null&&(a.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(a.extensions=this.extensions),a}}function Sp(n){return n===void 0||n.length===0?void 0:n}function ct(n,a,r){return new js(`Syntax Error: ${r}`,{source:n,positions:[a]})}class gE{constructor(a,r,l){this.start=a.start,this.end=r.end,this.startToken=a,this.endToken=r,this.source=l}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Ep{constructor(a,r,l,o,s,h){this.kind=a,this.start=r,this.end=l,this.line=o,this.column=s,this.value=h,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 _p={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","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:["description","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"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},bE=new Set(Object.keys(_p));function Tp(n){const a=n?.kind;return typeof a=="string"&&bE.has(a)}var Tr;(function(n){n.QUERY="query",n.MUTATION="mutation",n.SUBSCRIPTION="subscription"})(Tr||(Tr={}));var qs;(function(n){n.QUERY="QUERY",n.MUTATION="MUTATION",n.SUBSCRIPTION="SUBSCRIPTION",n.FIELD="FIELD",n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",n.INLINE_FRAGMENT="INLINE_FRAGMENT",n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",n.SCHEMA="SCHEMA",n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.FIELD_DEFINITION="FIELD_DEFINITION",n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.ENUM_VALUE="ENUM_VALUE",n.INPUT_OBJECT="INPUT_OBJECT",n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(qs||(qs={}));var $;(function(n){n.NAME="Name",n.DOCUMENT="Document",n.OPERATION_DEFINITION="OperationDefinition",n.VARIABLE_DEFINITION="VariableDefinition",n.SELECTION_SET="SelectionSet",n.FIELD="Field",n.ARGUMENT="Argument",n.FRAGMENT_SPREAD="FragmentSpread",n.INLINE_FRAGMENT="InlineFragment",n.FRAGMENT_DEFINITION="FragmentDefinition",n.VARIABLE="Variable",n.INT="IntValue",n.FLOAT="FloatValue",n.STRING="StringValue",n.BOOLEAN="BooleanValue",n.NULL="NullValue",n.ENUM="EnumValue",n.LIST="ListValue",n.OBJECT="ObjectValue",n.OBJECT_FIELD="ObjectField",n.DIRECTIVE="Directive",n.NAMED_TYPE="NamedType",n.LIST_TYPE="ListType",n.NON_NULL_TYPE="NonNullType",n.SCHEMA_DEFINITION="SchemaDefinition",n.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",n.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",n.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",n.FIELD_DEFINITION="FieldDefinition",n.INPUT_VALUE_DEFINITION="InputValueDefinition",n.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",n.UNION_TYPE_DEFINITION="UnionTypeDefinition",n.ENUM_TYPE_DEFINITION="EnumTypeDefinition",n.ENUM_VALUE_DEFINITION="EnumValueDefinition",n.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",n.DIRECTIVE_DEFINITION="DirectiveDefinition",n.SCHEMA_EXTENSION="SchemaExtension",n.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",n.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",n.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",n.UNION_TYPE_EXTENSION="UnionTypeExtension",n.ENUM_TYPE_EXTENSION="EnumTypeExtension",n.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",n.TYPE_COORDINATE="TypeCoordinate",n.MEMBER_COORDINATE="MemberCoordinate",n.ARGUMENT_COORDINATE="ArgumentCoordinate",n.DIRECTIVE_COORDINATE="DirectiveCoordinate",n.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})($||($={}));function Qs(n){return n===9||n===32}function zi(n){return n>=48&&n<=57}function Op(n){return n>=97&&n<=122||n>=65&&n<=90}function Dp(n){return Op(n)||n===95}function SE(n){return Op(n)||zi(n)||n===95}function EE(n){var a;let r=Number.MAX_SAFE_INTEGER,l=null,o=-1;for(let h=0;h<n.length;++h){var s;const d=n[h],v=_E(d);v!==d.length&&(l=(s=l)!==null&&s!==void 0?s:h,o=h,h!==0&&v<r&&(r=v))}return n.map((h,d)=>d===0?h:h.slice(r)).slice((a=l)!==null&&a!==void 0?a:0,o+1)}function _E(n){let a=0;for(;a<n.length&&Qs(n.charCodeAt(a));)++a;return a}function TE(n,a){const r=n.replace(/"""/g,'\\"""'),l=r.split(/\r\n|[\n\r]/g),o=l.length===1,s=l.length>1&&l.slice(1).every(E=>E.length===0||Qs(E.charCodeAt(0))),h=r.endsWith('\\"""'),d=n.endsWith('"')&&!h,v=n.endsWith("\\"),p=d||v,m=!o||n.length>70||p||s||h;let g="";const S=o&&Qs(n.charCodeAt(0));return(m&&!S||s)&&(g+=` 17`),g+=r,(m||p)&&(g+=` 18`),'"""'+g+'"""'}var H;(function(n){n.SOF="<SOF>",n.EOF="<EOF>",n.BANG="!",n.DOLLAR="$",n.AMP="&",n.PAREN_L="(",n.PAREN_R=")",n.DOT=".",n.SPREAD="...",n.COLON=":",n.EQUALS="=",n.AT="@",n.BRACKET_L="[",n.BRACKET_R="]",n.BRACE_L="{",n.PIPE="|",n.BRACE_R="}",n.NAME="Name",n.INT="Int",n.FLOAT="Float",n.STRING="String",n.BLOCK_STRING="BlockString",n.COMMENT="Comment"})(H||(H={}));class OE{constructor(a){const r=new Ep(H.SOF,0,0,0,0);this.source=a,this.lastToken=r,this.token=r,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let a=this.token;if(a.kind!==H.EOF)do if(a.next)a=a.next;else{const r=AE(this,a.end);a.next=r,r.prev=a,a=r}while(a.kind===H.COMMENT);return a}}function DE(n){return n===H.BANG||n===H.DOLLAR||n===H.AMP||n===H.PAREN_L||n===H.PAREN_R||n===H.DOT||n===H.SPREAD||n===H.COLON||n===H.EQUALS||n===H.AT||n===H.BRACKET_L||n===H.BRACKET_R||n===H.BRACE_L||n===H.PIPE||n===H.BRACE_R}function Or(n){return n>=0&&n<=55295||n>=57344&&n<=1114111}function du(n,a){return Ap(n.charCodeAt(a))&&xp(n.charCodeAt(a+1))}function Ap(n){return n>=55296&&n<=56319}function xp(n){return n>=56320&&n<=57343}function Ua(n,a){const r=n.source.body.codePointAt(a);if(r===void 0)return H.EOF;if(r>=32&&r<=126){const l=String.fromCodePoint(r);return l==='"'?`'"'`:`"${l}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function it(n,a,r,l,o){const s=n.line,h=1+r-n.lineStart;return new Ep(a,r,l,s,h,o)}function AE(n,a){const r=n.source.body,l=r.length;let o=a;for(;o<l;){const s=r.charCodeAt(o);switch(s){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++n.line,n.lineStart=o;continue;case 13:r.charCodeAt(o+1)===10?o+=2:++o,++n.line,n.lineStart=o;continue;case 35:return xE(n,o);case 33:return it(n,H.BANG,o,o+1);case 36:return it(n,H.DOLLAR,o,o+1);case 38:return it(n,H.AMP,o,o+1);case 40:return it(n,H.PAREN_L,o,o+1);case 41:return it(n,H.PAREN_R,o,o+1);case 46:if(r.charCodeAt(o+1)===46&&r.charCodeAt(o+2)===46)return it(n,H.SPREAD,o,o+3);break;case 58:return it(n,H.COLON,o,o+1);case 61:return it(n,H.EQUALS,o,o+1);case 64:return it(n,H.AT,o,o+1);case 91:return it(n,H.BRACKET_L,o,o+1);case 93:return it(n,H.BRACKET_R,o,o+1);case 123:return it(n,H.BRACE_L,o,o+1);case 124:return it(n,H.PIPE,o,o+1);case 125:return it(n,H.BRACE_R,o,o+1);case 34:return r.charCodeAt(o+1)===34&&r.charCodeAt(o+2)===34?zE(n,o):wE(n,o)}if(zi(s)||s===45)return CE(n,o,s);if(Dp(s))return kE(n,o);throw ct(n.source,o,s===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Or(s)||du(r,o)?`Unexpected character: ${Ua(n,o)}.`:`Invalid character: ${Ua(n,o)}.`)}return it(n,H.EOF,l,l)}function xE(n,a){const r=n.source.body,l=r.length;let o=a+1;for(;o<l;){const s=r.charCodeAt(o);if(s===10||s===13)break;if(Or(s))++o;else if(du(r,o))o+=2;else break}return it(n,H.COMMENT,a,o,r.slice(a+1,o))}function CE(n,a,r){const l=n.source.body;let o=a,s=r,h=!1;if(s===45&&(s=l.charCodeAt(++o)),s===48){if(s=l.charCodeAt(++o),zi(s))throw ct(n.source,o,`Invalid number, unexpected digit after 0: ${Ua(n,o)}.`)}else o=Us(n,o,s),s=l.charCodeAt(o);if(s===46&&(h=!0,s=l.charCodeAt(++o),o=Us(n,o,s),s=l.charCodeAt(o)),(s===69||s===101)&&(h=!0,s=l.charCodeAt(++o),(s===43||s===45)&&(s=l.charCodeAt(++o)),o=Us(n,o,s),s=l.charCodeAt(o)),s===46||Dp(s))throw ct(n.source,o,`Invalid number, expected digit but got: ${Ua(n,o)}.`);return it(n,h?H.FLOAT:H.INT,a,o,l.slice(a,o))}function Us(n,a,r){if(!zi(r))throw ct(n.source,a,`Invalid number, expected digit but got: ${Ua(n,a)}.`);const l=n.source.body;let o=a+1;for(;zi(l.charCodeAt(o));)++o;return o}function wE(n,a){const r=n.source.body,l=r.length;let o=a+1,s=o,h="";for(;o<l;){const d=r.charCodeAt(o);if(d===34)return h+=r.slice(s,o),it(n,H.STRING,a,o+1,h);if(d===92){h+=r.slice(s,o);const v=r.charCodeAt(o+1)===117?r.charCodeAt(o+2)===123?RE(n,o):NE(n,o):ME(n,o);h+=v.value,o+=v.size,s=o;continue}if(d===10||d===13)break;if(Or(d))++o;else if(du(r,o))o+=2;else throw ct(n.source,o,`Invalid character within String: ${Ua(n,o)}.`)}throw ct(n.source,o,"Unterminated string.")}function RE(n,a){const r=n.source.body;let l=0,o=3;for(;o<12;){const s=r.charCodeAt(a+o++);if(s===125){if(o<5||!Or(l))break;return{value:String.fromCodePoint(l),size:o}}if(l=l<<4|ki(s),l<0)break}throw ct(n.source,a,`Invalid Unicode escape sequence: "${r.slice(a,a+o)}".`)}function NE(n,a){const r=n.source.body,l=Cp(r,a+2);if(Or(l))return{value:String.fromCodePoint(l),size:6};if(Ap(l)&&r.charCodeAt(a+6)===92&&r.charCodeAt(a+7)===117){const o=Cp(r,a+8);if(xp(o))return{value:String.fromCodePoint(l,o),size:12}}throw ct(n.source,a,`Invalid Unicode escape sequence: "${r.slice(a,a+6)}".`)}function Cp(n,a){return ki(n.charCodeAt(a))<<12|ki(n.charCodeAt(a+1))<<8|ki(n.charCodeAt(a+2))<<4|ki(n.charCodeAt(a+3))}function ki(n){return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:-1}function ME(n,a){const r=n.source.body;switch(r.charCodeAt(a+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:` 19`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ct(n.source,a,`Invalid character escape sequence: "${r.slice(a,a+2)}".`)}function zE(n,a){const r=n.source.body,l=r.length;let o=n.lineStart,s=a+3,h=s,d="";const v=[];for(;s<l;){const p=r.charCodeAt(s);if(p===34&&r.charCodeAt(s+1)===34&&r.charCodeAt(s+2)===34){d+=r.slice(h,s),v.push(d);const m=it(n,H.BLOCK_STRING,a,s+3,EE(v).join(` 20`));return n.line+=v.length-1,n.lineStart=o,m}if(p===92&&r.charCodeAt(s+1)===34&&r.charCodeAt(s+2)===34&&r.charCodeAt(s+3)===34){d+=r.slice(h,s),h=s+1,s+=4;continue}if(p===10||p===13){d+=r.slice(h,s),v.push(d),p===13&&r.charCodeAt(s+1)===10?s+=2:++s,d="",h=s,o=s;continue}if(Or(p))++s;else if(du(r,s))s+=2;else throw ct(n.source,s,`Invalid character within String: ${Ua(n,s)}.`)}throw ct(n.source,s,"Unterminated string.")}function kE(n,a){const r=n.source.body,l=r.length;let o=a+1;for(;o<l;){const s=r.charCodeAt(o);if(SE(s))++o;else break}return it(n,H.NAME,a,o,r.slice(a,o))}const LE=10,wp=2;function Bs(n){return pu(n,[])}function pu(n,a){switch(typeof n){case"string":return JSON.stringify(n);case"function":return n.name?`[function ${n.name}]`:"[function]";case"object":return jE(n,a);default:return String(n)}}function jE(n,a){if(n===null)return"null";if(a.includes(n))return"[Circular]";const r=[...a,n];if(qE(n)){const l=n.toJSON();if(l!==n)return typeof l=="string"?l:pu(l,r)}else if(Array.isArray(n))return UE(n,r);return QE(n,r)}function qE(n){return typeof n.toJSON=="function"}function QE(n,a){const r=Object.entries(n);return r.length===0?"{}":a.length>wp?"["+BE(n)+"]":"{ "+r.map(([o,s])=>o+": "+pu(s,a)).join(", ")+" }"}function UE(n,a){if(n.length===0)return"[]";if(a.length>wp)return"[Array]";const r=Math.min(LE,n.length),l=n.length-r,o=[];for(let s=0;s<r;++s)o.push(pu(n[s],a));return l===1?o.push("... 1 more item"):l>1&&o.push(`... ${l} more items`),"["+o.join(", ")+"]"}function BE(n){const a=Object.prototype.toString.call(n).replace(/^\[object /,"").replace(/]$/,"");if(a==="Object"&&typeof n.constructor=="function"){const r=n.constructor.name;if(typeof r=="string"&&r!=="")return r}return a}const VE=globalThis.process&&!0?function(a,r){return a instanceof r}:function(a,r){if(a instanceof r)return!0;if(typeof a=="object"&&a!==null){var l;const o=r.prototype[Symbol.toStringTag],s=Symbol.toStringTag in a?a[Symbol.toStringTag]:(l=a.constructor)===null||l===void 0?void 0:l.name;if(o===s){const h=Bs(a);throw new Error(`Cannot use ${o} "${h}" from another module or realm. 21 22Ensure that there is only one instance of "graphql" in the node_modules 23directory. If different versions of "graphql" are the dependencies of other 24relied on modules, use "resolutions" to ensure only one version is installed. 25 26https://yarnpkg.com/en/docs/selective-version-resolutions 27 28Duplicate "graphql" modules cannot be used at the same time since different 29versions may have different capabilities and behavior. The data from one 30version used in the function from another could produce confusing and 31spurious results.`)}}return!1};class Rp{constructor(a,r="GraphQL request",l={line:1,column:1}){typeof a=="string"||hu(!1,`Body must be a string. Received: ${Bs(a)}.`),this.body=a,this.name=r,this.locationOffset=l,this.locationOffset.line>0||hu(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||hu(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function IE(n){return VE(n,Rp)}function FE(n,a){const r=new HE(n,a),l=r.parseDocument();return Object.defineProperty(l,"tokenCount",{enumerable:!1,value:r.tokenCount}),l}class HE{constructor(a,r={}){const{lexer:l,...o}=r;if(l)this._lexer=l;else{const s=IE(a)?a:new Rp(a);this._lexer=new OE(s)}this._options=o,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const a=this.expectToken(H.NAME);return this.node(a,{kind:$.NAME,value:a.value})}parseDocument(){return this.node(this._lexer.token,{kind:$.DOCUMENT,definitions:this.many(H.SOF,this.parseDefinition,H.EOF)})}parseDefinition(){if(this.peek(H.BRACE_L))return this.parseOperationDefinition();const a=this.peekDescription(),r=a?this._lexer.lookahead():this._lexer.token;if(a&&r.kind===H.BRACE_L)throw ct(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(r.kind===H.NAME){switch(r.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()}switch(r.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(a)throw ct(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
31ort descriptions.");switch(r.value){case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(r)}parseOperationDefinition(){const a=this._lexer.token;if(this.peek(H.BRACE_L))return this.node(a,{kind:$.OPERATION_DEFINITION,operation:Tr.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const r=this.parseDescription(),l=this.parseOperationType();let o;return this.peek(H.NAME)&&(o=this.parseName()),this.node(a,{kind:$.OPERATION_DEFINITION,operation:l,description:r,name:o,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const a=this.expectToken(H.NAME);switch(a.value){case"query":return Tr.QUERY;case"mutation":return Tr.MUTATION;case"subscription":return Tr.SUBSCRIPTION}throw this.unexpected(a)}parseVariableDefinitions(){return this.optionalMany(H.PAREN_L,this.parseVariableDefinition,H.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:$.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(H.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(H.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const a=this._lexer.token;return this.expectToken(H.DOLLAR),this.node(a,{kind:$.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:$.SELECTION_SET,selections:this.many(H.BRACE_L,this.parseSelection,H.BRACE_R)})}parseSelection(){return this.peek(H.SPREAD)?this.parseFragment():this.parseField()}parseField(){const a=this._lexer.token,r=this.parseName();let l,o;return this.expectOptionalToken(H.COLON)?(l=r,o=this.parseName()):o=r,this.node(a,{kind:$.FIELD,alias:l,name:o,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(H.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(a){const r=a?this.parseConstArgument:this.parseArgument;return this.optionalMany(H.PAREN_L,r,H.PAREN_R)}parseArgument(a=!1){const r=this._lexer.token,l=this.parseName();return this.expectToken(H.COLON),this.node(r,{kind:$.ARGUMENT,name:l,value:this.parseValueLiteral(a)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const a=this._lexer.token;this.expectToken(H.SPREAD);const r=this.expectOptionalKeyword("on");return!r&&this.peek(H.NAME)?this.node(a,{kind:$.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(a,{kind:$.INLINE_FRAGMENT,typeCondition:r?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const a=this._lexer.token,r=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(a,{kind:$.FRAGMENT_DEFINITION,description:r,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(a,{kind:$.FRAGMENT_DEFINITION,description:r,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(a){const r=this._lexer.token;switch(r.kind){case H.BRACKET_L:return this.parseList(a);case H.BRACE_L:return this.parseObject(a);case H.INT:return this.advanceLexer(),this.node(r,{kind:$.INT,value:r.value});case H.FLOAT:return this.advanceLexer(),this.node(r,{kind:$.FLOAT,value:r.value});case H.STRING:case H.BLOCK_STRING:return this.parseStringLiteral();case H.NAME:switch(this.advanceLexer(),r.value){case"true":return this.node(r,{kind:$.BOOLEAN,value:!0});case"false":return this.node(r,{kind:$.BOOLEAN,value:!1});case"null":return this.node(r,{kind:$.NULL});default:return this.node(r,{kind:$.ENUM,value:r.value})}case H.DOLLAR:if(a)if(this.expectToken(H.DOLLAR),this._lexer.token.kind===H.NAME){const l=this._lexer.token.value;throw ct(this._lexer.source,r.start,`Unexpected variable "$${l}" in constant value.`)}else throw this.unexpected(r);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const a=this._lexer.token;return this.advanceLexer(),this.node(a,{kind:$.STRING,value:a.value,block:a.kind===H.BLOCK_STRING})}parseList(a){const r=()=>this.parseValueLiteral(a);return this.node(this._lexer.token,{kind:$.LIST,values:this.any(H.BRACKET_L,r,H.BRACKET_R)})}parseObject(a){const r=()=>this.parseObjectField(a);return this.node(this._lexer.token,{kind:$.OBJECT,fields:this.any(H.BRACE_L,r,H.BRACE_R)})}parseObjectField(a){const r=this._lexer.token,l=this.parseName();return this.expectToken(H.COLON),this.node(r,{kind:$.OBJECT_FIELD,name:l,value:this.parseValueLiteral(a)})}parseDirectives(a){const r=[];for(;this.peek(H.AT);)r.push(this.parseDirective(a));return r}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(a){const r=this._lexer.token;return this.expectToken(H.AT),this.node(r,{kind:$.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(a)})}parseTypeReference(){const a=this._lexer.token;let r;if(this.expectOptionalToken(H.BRACKET_L)){const l=this.parseTypeReference();this.expectToken(H.BRACKET_R),r=this.node(a,{kind:$.LIST_TYPE,type:l})}else r=this.parseNamedType();return this.expectOptionalToken(H.BANG)?this.node(a,{kind:$.NON_NULL_TYPE,type:r}):r}parseNamedType(){return this.node(this._lexer.token,{kind:$.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(H.STRING)||this.peek(H.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("schema");const l=this.parseConstDirectives(),o=this.many(H.BRACE_L,this.parseOperationTypeDefinition,H.BRACE_R);return this.node(a,{kind:$.SCHEMA_DEFINITION,description:r,directives:l,operationTypes:o})}parseOperationTypeDefinition(){const a=this._lexer.token,r=this.parseOperationType();this.expectToken(H.COLON);const l=this.parseNamedType();return this.node(a,{kind:$.OPERATION_TYPE_DEFINITION,operation:r,type:l})}parseScalarTypeDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("scalar");const l=this.parseName(),o=this.parseConstDirectives();return this.node(a,{kind:$.SCALAR_TYPE_DEFINITION,description:r,name:l,directives:o})}parseObjectTypeDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("type");const l=this.parseName(),o=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),h=this.parseFieldsDefinition();return this.node(a,{kind:$.OBJECT_TYPE_DEFINITION,description:r,name:l,interfaces:o,directives:s,fields:h})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(H.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(H.BRACE_L,this.parseFieldDefinition,H.BRACE_R)}parseFieldDefinition(){const a=this._lexer.token,r=this.parseDescription(),l=this.parseName(),o=this.parseArgumentDefs();this.expectToken(H.COLON);const s=this.parseTypeReference(),h=this.parseConstDirectives();return this.node(a,{kind:$.FIELD_DEFINITION,description:r,name:l,arguments:o,type:s,directives:h})}parseArgumentDefs(){return this.optionalMany(H.PAREN_L,this.parseInputValueDef,H.PAREN_R)}parseInputValueDef(){const a=this._lexer.token,r=this.parseDescription(),l=this.parseName();this.expectToken(H.COLON);const o=this.parseTypeReference();let s;this.expectOptionalToken(H.EQUALS)&&(s=this.parseConstValueLiteral());const h=this.parseConstDirectives();return this.node(a,{kind:$.INPUT_VALUE_DEFINITION,description:r,name:l,type:o,defaultValue:s,directives:h})}parseInterfaceTypeDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("interface");const l=this.parseName(),o=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),h=this.parseFieldsDefinition();return this.node(a,{kind:$.INTERFACE_TYPE_DEFINITION,description:r,name:l,interfaces:o,directives:s,fields:h})}parseUnionTypeDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("union");const l=this.parseName(),o=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(a,{kind:$.UNION_TYPE_DEFINITION,description:r,name:l,directives:o,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(H.EQUALS)?this.delimitedMany(H.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("enum");const l=this.parseName(),o=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(a,{kind:$.ENUM_TYPE_DEFINITION,description:r,name:l,directives:o,values:s})}parseEnumValuesDefinition(){return this.optionalMany(H.BRACE_L,this.parseEnumValueDefinition,H.BRACE_R)}parseEnumValueDefinition(){const a=this._lexer.token,r=this.parseDescription(),l=this.parseEnumValueName(),o=this.parseConstDirectives();return this.node(a,{kind:$.ENUM_VALUE_DEFINITION,description:r,name:l,directives:o})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ct(this._lexer.source,this._lexer.token.start,`${vu(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("input");const l=this.parseName(),o=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(a,{kind:$.INPUT_OBJECT_TYPE_DEFINITION,description:r,name:l,directives:o,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(H.BRACE_L,this.parseInputValueDef,H.BRACE_R)}parseTypeSystemExtension(){const a=this._lexer.lookahead();if(a.kind===H.NAME)switch(a.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(a)}parseSchemaExtension(){const a=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const r=this.parseConstDirectives(),l=this.optionalMany(H.BRACE_L,this.parseOperationTypeDefinition,H.BRACE_R);if(r.length===0&&l.length===0)throw this.unexpected();return this.node(a,{kind:$.SCHEMA_EXTENSION,directives:r,operationTypes:l})}parseScalarTypeExtension(){const a=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const r=this.parseName(),l=this.parseConstDirectives();if(l.length===0)throw this.unexpected();return this.node(a,{kind:$.SCALAR_TYPE_EXTENSION,name:r,directives:l})}parseObjectTypeExtension(){const a=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const r=this.parseName(),l=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(l.length===0&&o.length===0&&s.length===0)throw this.unexpected();return this.node(a,{kind:$.OBJECT_TYPE_EXTENSION,name:r,interfaces:l,directives:o,fields:s})}parseInterfaceTypeExtension(){const a=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const r=this.parseName(),l=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(l.length===0&&o.length===0&&s.length===0)throw this.unexpected();return this.node(a,{kind:$.INTERFACE_TYPE_EXTENSION,name:r,interfaces:l,directives:o,fields:s})}parseUnionTypeExtension(){const a=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const r=this.parseName(),l=this.parseConstDirectives(),o=this.parseUnionMemberTypes();if(l.length===0&&o.length===0)throw this.unexpected();return this.node(a,{kind:$.UNION_TYPE_EXTENSION,name:r,directives:l,types:o})}parseEnumTypeExtension(){const a=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const r=this.parseName(),l=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();if(l.length===0&&o.length===0)throw this.unexpected();return this.node(a,{kind:$.ENUM_TYPE_EXTENSION,name:r,directives:l,values:o})}parseInputObjectTypeExtension(){const a=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const r=this.parseName(),l=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();if(l.length===0&&o.length===0)throw this.unexpected();return this.node(a,{kind:$.INPUT_OBJECT_TYPE_EXTENSION,name:r,directives:l,fields:o})}parseDirectiveDefinition(){const a=this._lexer.token,r=this.parseDescription();this.expectKeyword("directive"),this.expectToken(H.AT);const l=this.parseName(),o=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const h=this.parseDirectiveLocations();return this.node(a,{kind:$.DIRECTIVE_DEFINITION,description:r,name:l,arguments:o,repeatable:s,locations:h})}parseDirectiveLocations(){return this.delimitedMany(H.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const a=this._lexer.token,r=this.parseName();if(Object.prototype.hasOwnProperty.call(qs,r.value))return r;throw this.unexpected(a)}parseSchemaCoordinate(){const a=this._lexer.token,r=this.expectOptionalToken(H.AT),l=this.parseName();let o;!r&&this.expectOptionalToken(H.DOT)&&(o=this.parseName());let s;return(r||o)&&this.expectOptionalToken(H.PAREN_L)&&(s=this.parseName(),this.expectToken(H.COLON),this.expectToken(H.PAREN_R)),r?s?this.node(a,{kind:$.DIRECTIVE_ARGUMENT_COORDINATE,name:l,argumentName:s}):this.node(a,{kind:$.DIRECTIVE_COORDINATE,name:l}):o?s?this.node(a,{kind:$.ARGUMENT_COORDINATE,name:l,fieldName:o,argumentName:s}):this.node(a,{kind:$.MEMBER_COORDINATE,name:l,memberName:o}):this.node(a,{kind:$.TYPE_COORDINATE,name:l})}node(a,r){return this._options.noLocation!==!0&&(r.loc=new gE(a,this._lexer.lastToken,this._lexer.source)),r}peek(a){return this._lexer.token.kind===a}expectToken(a){const r=this._lexer.token;if(r.kind===a)return this.advanceLexer(),r;throw ct(this._lexer.source,r.start,`Expected ${Np(a)}, found ${vu(r)}.`)}expectOptionalToken(a){return this._lexer.token.kind===a?(this.advanceLexer(),!0):!1}expectKeyword(a){const r=this._lexer.token;if(r.kind===H.NAME&&r.value===a)this.advanceLexer();else throw ct(this._lexer.source,r.start,`Expected "${a}", found ${vu(r)}.`)}expectOptionalKeyword(a){const r=this._lexer.token;return r.kind===H.NAME&&r.value===a?(this.advanceLexer(),!0):!1}unexpected(a){const r=a??this._lexer.token;return ct(this._lexer.source,r.start,`Unexpected ${vu(r)}.`)}any(a,r,l){this.expectToken(a);const o=[];for(;!this.expectOptionalToken(l);)o.push(r.call(this));return o}optionalMany(a,r,l){if(this.expectOptionalToken(a)){const o=[];do o.push(r.call(this));while(!this.expectOptionalToken(l));return o}return[]}many(a,r,l){this.expectToken(a);const o=[];do o.push(r.call(this));while(!this.expectOptionalToken(l));return o}delimitedMany(a,r){this.expectOptionalToken(a);const l=[];do l.push(r.call(this));while(this.expectOptionalToken(a));return l}advanceLexer(){const{maxTokens:a}=this._options,r=this._lexer.advance();if(r.kind!==H.EOF&&(++this._tokenCounter,a!==void 0&&this._tokenCounter>a))throw ct(this._lexer.source,r.start,`Document contains more that ${a} tokens. Parsing aborted.`)}}function vu(n){const a=n.value;return Np(n.kind)+(a!=null?` "${a}"`:"")}function Np(n){return DE(n)?`"${n}"`:n}function GE(n){return`"${n.replace(YE,XE)}"`}const YE=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
vendor: 2,931 bytes, lines 31-38
31function XE(n){return ZE[n.charCodeAt(0)]}const ZE=["\\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"],yu=Object.freeze({});function vn(n,a,r=_p){const l=new Map;for(const T of Object.values($))l.set(T,JE(a,T));let o,s=Array.isArray(n),h=[n],d=-1,v=[],p=n,m,g;const S=[],E=[];do{d++;const T=d===h.length,z=T&&v.length!==0;if(T){if(m=E.length===0?void 0:S[S.length-1],p=g,g=E.pop(),z)if(s){p=p.slice();let Q=0;for(const[B,I]of v){const V=B-Q;I===null?(p.splice(V,1),Q++):p[V]=I}}else{p={...p};for(const[Q,B]of v)p[Q]=B}d=o.index,h=o.keys,v=o.edits,s=o.inArray,o=o.prev}else if(g){if(m=s?d:h[d],p=g[m],p==null)continue;S.push(m)}let w;if(!Array.isArray(p)){var _,A;Tp(p)||hu(!1,`Invalid AST Node: ${Bs(p)}.`);const Q=T?(_=l.get(p.kind))===null||_===void 0?void 0:_.leave:(A=l.get(p.kind))===null||A===void 0?void 0:A.enter;if(w=Q?.call(a,p,m,g,S,E),w===yu)break;if(w===!1){if(!T){S.pop();continue}}else if(w!==void 0&&(v.push([m,w]),!T))if(Tp(w))p=w;else{S.pop();continue}}if(w===void 0&&z&&v.push([m,p]),T)S.pop();else{var R;o={inArray:s,index:d,keys:h,edits:v,prev:o},s=Array.isArray(p),h=s?p:(R=r[p.kind])!==null&&R!==void 0?R:[],d=-1,v=[],g&&E.push(g),g=p}}while(o!==void 0);return v.length!==0?v[v.length-1][1]:n}function JE(n,a){const r=n[a];return typeof r=="object"?r:typeof r=="function"?{enter:r,leave:void 0}:{enter:n.enter,leave:n.leave}}function KE(n){return vn(n,WE)}const PE=80,WE={Name:{leave:n=>n.value},Variable:{leave:n=>"$"+n.name},Document:{leave:n=>ae(n.definitions,` 32 33`)},OperationDefinition:{leave(n){const a=Vs(n.variableDefinitions)?me(`( 34`,ae(n.variableDefinitions,` 35`),` 36)`):me("(",ae(n.variableDefinitions,", "),")"),r=me("",n.description,` 37`)+ae([n.operation,ae([n.name,a]),ae(n.directives," ")]," ");return(r==="query"?"":r+" ")+n.selectionSet}},VariableDefinition:{leave:({variable:n,type:a,defaultValue:r,directives:l,description:o})=>me("",o,` 38`)+n+": "+a+me(" = ",r)+me(" ",ae(l," "))},SelectionSet:{leave:({selections:n})=>yn(n)},Field:{leave({alias:n,name:a,arguments:r,directives:l,selectionSet:o}){const s=me("",n,": ")+a;
38let h=s+me("(",ae(r,", "),")");return h.length>PE&&(h=s+me(`( 39`,mu(ae(r,` 40`)),` 41)`)),ae([h,ae(l," "),o]," ")}},Argument:{leave:({name:n,value:a})=>n+": "+a},FragmentSpread:{leave:({name:n,directives:a})=>"..."+n+me(" ",ae(a," "))},InlineFragment:{leave:({typeCondition:n,directives:a,selectionSet:r})=>ae(["...",me("on ",n),ae(a," "),r]," ")},FragmentDefinition:{leave:({name:n,typeCondition:a,variableDefinitions:r,directives:l,selectionSet:o,description:s})=>me("",s,` 42`)+`fragment ${n}${me("(",ae(r,", "),")")} on ${a} ${me("",ae(l," ")," ")}`+o},IntValue:{leave:({value:n})=>n},FloatValue:{leave:({value:n})=>n},StringValue:{leave:({value:n,block:a})=>a?TE(n):GE(n)},BooleanValue:{leave:({value:n})=>n?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:n})=>n},ListValue:{leave:({values:n})=>"["+ae(n,", ")+"]"},ObjectValue:{leave:({fields:n})=>"{"+ae(n,", ")+"}"},ObjectField:{leave:({name:n,value:a})=>n+": "+a},Directive:{leave:({name:n,arguments:a})=>"@"+n+me("(",ae(a,", "),")")},NamedType:{leave:({name:n})=>n},ListType:{leave:({type:n})=>"["+n+"]"},NonNullType:{leave:({type:n})=>n+"!"},SchemaDefinition:{leave:({description:n,directives:a,operationTypes:r})=>me("",n,` 43`)+ae(["schema",ae(a," "),yn(r)]," ")},OperationTypeDefinition:{leave:({operation:n,type:a})=>n+": "+a},ScalarTypeDefinition:{leave:({description:n,name:a,directives:r})=>me("",n,` 44`)+ae(["scalar",a,ae(r," ")]," ")},ObjectTypeDefinition:{leave:({description:n,name:a,interfaces:r,directives:l,fields:o})=>me("",n,` 45`)+ae(["type",a,me("implements ",ae(r," & ")),ae(l," "),yn(o)]," ")},FieldDefinition:{leave:({description:n,name:a,arguments:r,type:l,directives:o})=>me("",n,` 46`)+a+(Vs(r)?me(`( 47`,mu(ae(r,` 48`)),` 49)`):me("(",ae(r,", "),")"))+": "+l+me(" ",ae(o," "))},InputValueDefinition:{leave:({description:n,name:a,type:r,defaultValue:l,directives:o})=>me("",n,` 50`)+ae([a+": "+r,me("= ",l),ae(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:n,name:a,interfaces:r,directives:l,fields:o})=>me("",n,` 51`)+ae(["interface",a,me("implements ",ae(r," & ")),ae(l," "),yn(o)]," ")},UnionTypeDefinition:{leave:({description:n,name:a,directives:r,types:l})=>me("",n,` 52`)+ae(["union",a,ae(r," "),me("= ",ae(l," | "))]," ")},EnumTypeDefinition:{leave:({description:n,name:a,directives:r,values:l})=>me("",n,` 53`)+ae(["enum",a,ae(r," "),yn(l)]," ")},EnumValueDefinition:{leave:({description:n,name:a,directives:r})=>me("",n,` 54`)+ae([a,ae(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:n,name:a,directives:r,fields:l})=>me("",n,` 55`)+ae(["input",a,ae(r," "),yn(l)]," ")},DirectiveDefinition:{leave:({description:n,name:a,arguments:r,repeatable:l,locations:o})=>me("",n,` 56`)+"directive @"+a+(Vs(r)?me(`( 57`,mu(ae(r,` 58`)),` 59)`):me("(",ae(r,", "),")"))+(l?" repeatable":"")+" on "+ae(o," | ")},SchemaExtension:{leave:({directives:n,operationTypes:a})=>ae(["extend schema",ae(n," "),yn(a)]," ")},ScalarTypeExtension:{leave:({name:n,directives:a})=>ae(["extend scalar",n,ae(a," ")]," ")},ObjectTypeExtension:{leave:({name:n,interfaces:a,directives:r,fields:l})=>ae(["extend type",n,me("implements ",ae(a," & ")),ae(r," "),yn(l)]," ")},InterfaceTypeExtension:{leave:({name:n,interfaces:a,directives:r,fields:l})=>ae(["extend interface",n,me("implements ",ae(a," & ")),ae(r," "),yn(l)]," ")},UnionTypeExtension:{leave:({name:n,directives:a,types:r})=>ae(["extend union",n,ae(a," "),me("= ",ae(r," | "))]," ")},EnumTypeExtension:{leave:({name:n,directives:a,values:r})=>ae(["extend enum",n,ae(a," "),yn(r)]," ")},InputObjectTypeExtension:{leave:({name:n,directives:a,fields:r})=>ae(["extend input",n,ae(a," "),yn(r)]," ")},TypeCoordinate:{leave:({name:n})=>n},MemberCoordinate:{leave:({name:n,memberName:a})=>ae([n,me(".",a)])},ArgumentCoordinate:{leave:({name:n,fieldName:a,argumentName:r})=>ae([n,me(".",a),me("(",r,":)")])},DirectiveCoordinate:{leave:({name:n})=>ae(["@",n])},DirectiveArgumentCoordinate:{leave:({name:n,argumentName:a})=>ae(["@",n,me("(",a,":)")])}};function ae(n,a=""){var r;return(r=n?.filter(l=>l).join(a))!==null&&r!==void 0?r:""}function yn(n){return me(`{ 60`,mu(ae(n,` 61`)),` 62}`)}function me(n,a,r=""){return a!=null&&a!==""?n+a+r:""}function mu(n){return me(" ",n.replace(/\n/g,` 63 `))}function Vs(n){var a;return(a=n?.some(r=>r.includes(` 64`)))!==null&&a!==void 0?a:!1}function Mp(n){return n.kind===$.FIELD||n.kind===$.FRAGMENT_SPREAD||n.kind===$.INLINE_FRAGMENT}function Li(n,a){var r=n.directives;return!r||!r.length?!0:t1(r).every(function(l){var o=l.directive,s=l.ifArgument,h=!1;return s.value.kind==="Variable"?(h=a&&a[s.value.name.value],Z(h!==void 0,106,o.name.value)):h=s.value.value,o.name.value==="skip"?!h:h})}function ji(n,a,r){var l=new Set(n),o=l.size;return vn(a,{Directive:function(s){if(l.delete(s.name.value)&&(!r||!l.size))return yu}}),r?!l.size:l.size<o}function $E(n){return n&&ji(["client","export"],n,!0)}function e1(n){var a=n.name.value;return a==="skip"||a==="include"}function t1(n){var a=[];
64return n&&n.length&&n.forEach(function(r){if(e1(r)){var l=r.arguments,o=r.name.value;Z(l&&l.length===1,107,o);var s=l[0];Z(s.name&&s.name.value==="if",108,o);var h=s.value;Z(h&&(h.kind==="Variable"||h.kind==="BooleanValue"),109,o),a.push({directive:r,ifArgument:s})}}),a}function n1(n){var a,r,l=(a=n.directives)===null||a===void 0?void 0:a.find(function(s){var h=s.name;return h.value==="unmask"});if(!l)return"mask";var o=(r=l.arguments)===null||r===void 0?void 0:r.find(function(s){var h=s.name;return h.value==="mode"});return globalThis.__DEV__!==!1&&o&&(o.value.kind===$.VARIABLE?globalThis.__DEV__!==!1&&Z.warn(110):o.value.kind!==$.STRING?globalThis.__DEV__!==!1&&Z.warn(111):o.value.value!=="migrate"&&globalThis.__DEV__!==!1&&Z.warn(112,o.value.value)),o&&"value"in o.value&&o.value.value==="migrate"?"migrate":"unmask"}const a1=()=>Object.create(null),{forEach:r1,slice:zp}=Array.prototype,{hasOwnProperty:i1}=Object.prototype;class wn{constructor(a=!0,r=a1){this.weakness=a,this.makeData=r}lookup(){return this.lookupArray(arguments)}lookupArray(a){let r=this;return r1.call(a,l=>r=r.getChildTrie(l)),i1.call(r,"data")?r.data:r.data=this.makeData(zp.call(a))}peek(){return this.peekArray(arguments)}peekArray(a){let r=this;for(let l=0,o=a.length;r&&l<o;++l){const s=r.mapFor(a[l],!1);r=s&&s.get(a[l])}return r&&r.data}remove(){return this.removeArray(arguments)}removeArray(a){let r;if(a.length){const l=a[0],o=this.mapFor(l,!1),s=o&&o.get(l);s&&(r=s.removeArray(zp.call(a,1)),!s.data&&!s.weak&&!(s.strong&&s.strong.size)&&o.delete(l))}else r=this.data,delete this.data;return r}getChildTrie(a){const r=this.mapFor(a,!0);let l=r.get(a);return l||r.set(a,l=new wn(this.weakness,this.makeData)),l}mapFor(a,r){return this.weakness&&l1(a)?this.weak||(r?this.weak=new WeakMap:void 0):this.strong||(r?this.strong=new Map:void 0)}}function l1(n){switch(typeof n){case"object":if(n===null)break;case"function":return!0}return!1}var kp=pn(function(){return navigator.product})=="ReactNative",Ba=typeof WeakMap=="function"&&!(kp&&!global.HermesInternal),Is=typeof WeakSet=="function",Fs=typeof Symbol=="function"&&typeof Symbol.for=="function",gu=Fs&&Symbol.asyncIterator,Lp=typeof pn(function(){return window.document.createElement})=="function",u1=pn(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,o1=(Lp||kp)&&!u1;function Ze(n){return n!==null&&typeof n=="object"}function s1(n,a){var r=a,l=[];n.definitions.forEach(function(s){if(s.kind==="OperationDefinition")throw Dt(113,s.operation,s.name?" named '".concat(s.name.value,"'"):"");s.kind==="FragmentDefinition"&&l.push(s)}),typeof r>"u"&&(Z(l.length===1,114,l.length),r=l[0].name.value);var o=x(x({},n),{definitions:mt([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],n.definitions,!0)});return o}function Dr(n){n===void 0&&(n=[]);var a={};return n.forEach(function(r){a[r.name.value]=r}),a}function bu(n,a){switch(n.kind){case"InlineFragment":return n;case"FragmentSpread":{var r=n.name.value;if(typeof a=="function")return a(r);var l=a&&a[r];return Z(l,115,r),l||null}default:return null}}function c1(n){var a=!0;return vn(n,{FragmentSpread:function(r){if(a=!!r.directives&&r.directives.some(function(l){return l.name.value==="unmask"}),!a)return yu}}),a}function f1(){}class Hs{constructor(a=1/0,r=f1){this.max=a,this.dispose=r,this.map=new Map,this.newest=null,this.oldest=null}has(a){return this.map.has(a)}get(a){const r=this.getNode(a);return r&&r.value}get size(){return this.map.size}getNode(a){const r=this.map.get(a);if(r&&r!==this.newest){const{older:l,newer:o}=r;o&&(o.older=l),l&&(l.newer=o),r.older=this.newest,r.older.newer=r,r.newer=null,this.newest=r,r===this.oldest&&(this.oldest=o)}return r}set(a,r){let l=this.getNode(a);return l?l.value=r:(l={key:a,value:r,newer:null,older:this.newest},this.newest&&(this.newest.newer=l),this.newest=l,this.oldest=this.oldest||l,this.map.set(a,l),l.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(a){const r=this.map.get(a);return r?(r===this.newest&&(this.newest=r.older),r===this.oldest&&(this.oldest=r.newer),r.newer&&(r.newer.older=r.older),r.older&&(r.older.newer=r.newer),this.map.delete(a),this.dispose(r.value,a),!0):!1}}function Gs(){}const h1=Gs,d1=typeof WeakRef<"u"?WeakRef:function(n){return{deref:()=>n}},p1=typeof WeakMap<"u"?WeakMap:Map,v1=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:Gs,unregister:Gs}},y1=10024;class Su{constructor(a=1/0,r=h1){this.max=a,this.dispose=r,this.map=new p1,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const l=this.unfinalizedNodes.values();for(let o=0;o<y1;o++){const s=l.next().value;if(!s)break;this.unfinalizedNodes.delete(s);const h=s.key;delete s.key,s.keyRef=new d1(h),this.registry.register(h,s,s)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new v1(this.deleteNode.bind(this))}has(a){return this.map.has(a)}get(a){const r=this.getNode(a);return r&&r.value}getNode(a){const r=this.map.get(a);if(r&&r!==this.newest){const{older:l,newer:o}=r;
64o&&(o.older=l),l&&(l.newer=o),r.older=this.newest,r.older.newer=r,r.newer=null,this.newest=r,r===this.oldest&&(this.oldest=o)}return r}set(a,r){let l=this.getNode(a);return l?l.value=r:(l={key:a,value:r,newer:null,older:this.newest},this.newest&&(this.newest.newer=l),this.newest=l,this.oldest=this.oldest||l,this.scheduleFinalization(l),this.map.set(a,l),this.size++,l.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(a){a===this.newest&&(this.newest=a.older),a===this.oldest&&(this.oldest=a.newer),a.newer&&(a.newer.older=a.older),a.older&&(a.older.newer=a.newer),this.size--;const r=a.key||a.keyRef&&a.keyRef.deref();this.dispose(a.value,r),a.keyRef?this.registry.unregister(a):this.unfinalizedNodes.delete(a),r&&this.map.delete(r)}delete(a){const r=this.map.get(a);return r?(this.deleteNode(r),!0):!1}scheduleFinalization(a){this.unfinalizedNodes.add(a),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}var Ys=new WeakSet;function jp(n){n.size<=(n.max||-1)||Ys.has(n)||(Ys.add(n),setTimeout(function(){n.clean(),Ys.delete(n)},100))}var Xs=function(n,a){var r=new Su(n,a);return r.set=function(l,o){var s=Su.prototype.set.call(this,l,o);return jp(this),s},r},m1=function(n,a){var r=new Hs(n,a);return r.set=function(l,o){var s=Hs.prototype.set.call(this,l,o);return jp(this),s},r},g1=Symbol.for("apollo.cacheSize"),_n=x({},cu[g1]),Va={};function Zs(n,a){Va[n]=a}var b1=globalThis.__DEV__!==!1?T1:void 0,S1=globalThis.__DEV__!==!1?O1:void 0,E1=globalThis.__DEV__!==!1?qp:void 0;function _1(){var n={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(n).map(function(a){var r=a[0],l=a[1];return[r,_n[r]||l]}))}function T1(){var n,a,r,l,o;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:_1(),sizes:x({print:(n=Va.print)===null||n===void 0?void 0:n.call(Va),parser:(a=Va.parser)===null||a===void 0?void 0:a.call(Va),canonicalStringify:(r=Va.canonicalStringify)===null||r===void 0?void 0:r.call(Va),links:Ks(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:Up(this.queryManager.documentTransform)}},(o=(l=this.cache).getMemoryInternals)===null||o===void 0?void 0:o.call(l))}}function qp(){return{cache:{fragmentQueryDocuments:ea(this.getFragmentDoc)}}}function O1(){var n=this.config.fragments;return x(x({},qp.apply(this)),{addTypenameDocumentTransform:Up(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:ea(this.storeReader.executeSelectionSet),executeSubSelectedArray:ea(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:ea(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:ea(n?.findFragmentSpreads),lookup:ea(n?.lookup),transform:ea(n?.transform)}})}function D1(n){return!!n&&"dirtyKey"in n}function ea(n){return D1(n)?n.size:void 0}function Qp(n){return n!=null}function Up(n){return Js(n).map(function(a){return{cache:a}})}function Js(n){return n?mt(mt([ea(n?.performWork)],Js(n?.left),!0),Js(n?.right),!0).filter(Qp):[]}function Ks(n){var a;return n?mt(mt([(a=n?.getMemoryInternals)===null||a===void 0?void 0:a.call(n)],Ks(n?.left),!0),Ks(n?.right),!0).filter(Qp):[]}var ta=Object.assign(function(a){return JSON.stringify(a,A1)},{reset:function(){Ar=new m1(_n.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Zs("canonicalStringify",function(){return Ar.size});var Ar;ta.reset();function A1(n,a){if(a&&typeof a=="object"){var r=Object.getPrototypeOf(a);if(r===Object.prototype||r===null){var l=Object.keys(a);if(l.every(x1))return a;var o=JSON.stringify(l),s=Ar.get(o);if(!s){l.sort();var h=JSON.stringify(l);s=Ar.get(h)||l,Ar.set(o,s),Ar.set(h,s)}var d=Object.create(r);
64return s.forEach(function(v){d[v]=a[v]}),d}}return a}function x1(n,a,r){return a===0||r[a-1]<=n}function xr(n){return{__ref:String(n)}}function je(n){return!!(n&&typeof n=="object"&&typeof n.__ref=="string")}function C1(n){return Ze(n)&&n.kind==="Document"&&Array.isArray(n.definitions)}function w1(n){return n.kind==="StringValue"}function R1(n){return n.kind==="BooleanValue"}function N1(n){return n.kind==="IntValue"}function M1(n){return n.kind==="FloatValue"}function z1(n){return n.kind==="Variable"}function k1(n){return n.kind==="ObjectValue"}function L1(n){return n.kind==="ListValue"}function j1(n){return n.kind==="EnumValue"}function q1(n){return n.kind==="NullValue"}function Cr(n,a,r,l){if(N1(r)||M1(r))n[a.value]=Number(r.value);else if(R1(r)||w1(r))n[a.value]=r.value;else if(k1(r)){var o={};r.fields.map(function(h){return Cr(o,h.name,h.value,l)}),n[a.value]=o}else if(z1(r)){var s=(l||{})[r.name.value];n[a.value]=s}else if(L1(r))n[a.value]=r.values.map(function(h){var d={};return Cr(d,a,h,l),d[a.value]});else if(j1(r))n[a.value]=r.value;else if(q1(r))n[a.value]=null;else throw Dt(124,a.value,r.kind)}function Q1(n,a){var r=null;n.directives&&(r={},n.directives.forEach(function(o){r[o.name.value]={},o.arguments&&o.arguments.forEach(function(s){var h=s.name,d=s.value;return Cr(r[o.name.value],h,d,a)})}));var l=null;return n.arguments&&n.arguments.length&&(l={},n.arguments.forEach(function(o){var s=o.name,h=o.value;return Cr(l,s,h,a)})),Bp(n.name.value,l,r)}var U1=["connection","include","skip","client","rest","export","nonreactive"],qi=ta,Bp=Object.assign(function(n,a,r){if(a&&r&&r.connection&&r.connection.key)if(r.connection.filter&&r.connection.filter.length>0){var l=r.connection.filter?r.connection.filter:[];l.sort();var o={};return l.forEach(function(d){o[d]=a[d]}),"".concat(r.connection.key,"(").concat(qi(o),")")}else return r.connection.key;var s=n;if(a){var h=qi(a);s+="(".concat(h,")")}return r&&Object.keys(r).forEach(function(d){U1.indexOf(d)===-1&&(r[d]&&Object.keys(r[d]).length?s+="@".concat(d,"(").concat(qi(r[d]),")"):s+="@".concat(d))}),s},{setStringify:function(n){var a=qi;return qi=n,a}});function Eu(n,a){if(n.arguments&&n.arguments.length){var r={};return n.arguments.forEach(function(l){var o=l.name,s=l.value;return Cr(r,o,s,a)}),r}return null}function Rn(n){return n.alias?n.alias.value:n.name.value}function Ps(n,a,r){for(var l,o=0,s=a.selections;o<s.length;o++){var h=s[o];if(na(h)){if(h.name.value==="__typename")return n[Rn(h)]}else l?l.push(h):l=[h]}if(typeof n.__typename=="string")return n.__typename;if(l)for(var d=0,v=l;d<v.length;d++){var h=v[d],p=Ps(n,bu(h,r).selectionSet,r);if(typeof p=="string")return p}}function na(n){return n.kind==="Field"}function B1(n){return n.kind==="InlineFragment"}function wr(n){Z(n&&n.kind==="Document",116);var a=n.definitions.filter(function(r){return r.kind!=="FragmentDefinition"}).map(function(r){if(r.kind!=="OperationDefinition")throw Dt(117,r.kind);return r});return Z(a.length<=1,118,a.length),n}function Ia(n){return wr(n),n.definitions.filter(function(a){return a.kind==="OperationDefinition"})[0]}function Qi(n){return n.definitions.filter(function(a){return a.kind==="OperationDefinition"&&!!a.name}).map(function(a){return a.name.value})[0]||null}function Rr(n){return n.definitions.filter(function(a){return a.kind==="FragmentDefinition"})}function Vp(n){var a=Ia(n);return Z(a&&a.operation==="query",119),a}function Ip(n){Z(n.kind==="Document",120),Z(n.definitions.length<=1,121);var a=n.definitions[0];return Z(a.kind==="FragmentDefinition",122),a}function Nr(n){wr(n);for(var a,r=0,l=n.definitions;r<l.length;r++){var o=l[r];if(o.kind==="OperationDefinition"){var s=o.operation;if(s==="query"||s==="mutation"||s==="subscription")return o}o.kind==="FragmentDefinition"&&!a&&(a=o)}if(a)return a;throw Dt(123)}function Ws(n){var a=Object.create(null),r=n&&n.variableDefinitions;return r&&r.length&&r.forEach(function(l){l.defaultValue&&Cr(a,l.variable.name,l.defaultValue)}),a}let gt=null;const Fp={};let V1=1;const I1=()=>class{constructor(){this.id=["slot",V1++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let a=gt;a;a=a.parent)if(this.id in a.slots){const r=a.slots[this.id];if(r===Fp)break;return a!==gt&&(gt.slots[this.id]=r),!0}return gt&&(gt.slots[this.id]=Fp),!1}getValue(){if(this.hasValue())return gt.slots[this.id]}withValue(a,r,l,o){const s={__proto__:null,[this.id]:a},h=gt;gt={parent:h,slots:s};try{return r.apply(o,l)}finally{gt=h}}static bind(a){const r=gt;return function(){const l=gt;try{return gt=r,a.apply(this,arguments)}finally{gt=l}}}static noContext(a,r,l){if(gt){const o=gt;try{return gt=null,a.apply(l,r)}finally{gt=o}}else return a.apply(l,r)}};function Hp(n){try{return n()}catch{}}const $s="@wry/context:Slot",Gp=Hp(()=>globalThis)||Hp(()=>global)||Object.create(null),Mr=Gp[$s]||Array[$s]||(function(n){try{Object.defineProperty(Gp,$s,{value:n,enumerable:!1,writable:!1,
64configurable:!0})}finally{return n}})(I1()),{bind:tC,noContext:nC}=Mr,_u=new Mr,{hasOwnProperty:F1}=Object.prototype,ec=Array.from||function(n){const a=[];return n.forEach(r=>a.push(r)),a};function tc(n){const{unsubscribe:a}=n;typeof a=="function"&&(n.unsubscribe=void 0,a())}const Ui=[],H1=100;function zr(n,a){if(!n)throw new Error(a||"assertion failure")}function Yp(n,a){const r=n.length;return r>0&&r===a.length&&n[r-1]===a[r-1]}function Xp(n){switch(n.length){case 0:throw new Error("unknown value");case 1:return n[0];case 2:throw n[1]}}function Zp(n){return n.slice(0)}class Tu{constructor(a){this.fn=a,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Tu.count}peek(){if(this.value.length===1&&!aa(this))return Jp(this),this.value[0]}recompute(a){return zr(!this.recomputing,"already recomputing"),Jp(this),aa(this)?G1(this,a):Xp(this.value)}setDirty(){this.dirty||(this.dirty=!0,Kp(this),tc(this))}dispose(){this.setDirty(),tv(this),nc(this,(a,r)=>{a.setDirty(),nv(a,this)})}forget(){this.dispose()}dependOn(a){a.add(this),this.deps||(this.deps=Ui.pop()||new Set),this.deps.add(a)}forgetDeps(){this.deps&&(ec(this.deps).forEach(a=>a.delete(this)),this.deps.clear(),Ui.push(this.deps),this.deps=null)}}Tu.count=0;function Jp(n){const a=_u.getValue();if(a)return n.parents.add(a),a.childValues.has(n)||a.childValues.set(n,[]),aa(n)?Wp(a,n):$p(a,n),a}function G1(n,a){return tv(n),_u.withValue(n,Y1,[n,a]),Z1(n,a)&&X1(n),Xp(n.value)}function Y1(n,a){n.recomputing=!0;const{normalizeResult:r}=n;let l;r&&n.value.length===1&&(l=Zp(n.value)),n.value.length=0;try{if(n.value[0]=n.fn.apply(null,a),r&&l&&!Yp(l,n.value))try{n.value[0]=r(n.value[0],l[0])}catch{}}catch(o){n.value[1]=o}n.recomputing=!1}function aa(n){return n.dirty||!!(n.dirtyChildren&&n.dirtyChildren.size)}function X1(n){n.dirty=!1,!aa(n)&&Pp(n)}function Kp(n){nc(n,Wp)}function Pp(n){nc(n,$p)}function nc(n,a){const r=n.parents.size;if(r){const l=ec(n.parents);for(let o=0;o<r;++o)a(l[o],n)}}function Wp(n,a){zr(n.childValues.has(a)),zr(aa(a));const r=!aa(n);if(!n.dirtyChildren)n.dirtyChildren=Ui.pop()||new Set;else if(n.dirtyChildren.has(a))return;n.dirtyChildren.add(a),r&&Kp(n)}function $p(n,a){zr(n.childValues.has(a)),zr(!aa(a));const r=n.childValues.get(a);r.length===0?n.childValues.set(a,Zp(a.value)):Yp(r,a.value)||n.setDirty(),ev(n,a),!aa(n)&&Pp(n)}function ev(n,a){const r=n.dirtyChildren;r&&(r.delete(a),r.size===0&&(Ui.length<H1&&Ui.push(r),n.dirtyChildren=null))}function tv(n){n.childValues.size>0&&n.childValues.forEach((a,r)=>{nv(n,r)}),n.forgetDeps(),zr(n.dirtyChildren===null)}function nv(n,a){a.parents.delete(n),n.childValues.delete(a),ev(n,a)}function Z1(n,a){if(typeof n.subscribe=="function")try{tc(n),n.unsubscribe=n.subscribe.apply(null,a)}catch{return n.setDirty(),!1}return!0}const J1={setDirty:!0,dispose:!0,forget:!0};function av(n){const a=new Map;function r(l){const o=_u.getValue();if(o){let s=a.get(l);s||a.set(l,s=new Set),o.dependOn(s)}}return r.dirty=function(o,s){const h=a.get(o);if(h){const d=s&&F1.call(J1,s)?s:"setDirty";ec(h).forEach(v=>v[d]()),a.delete(o),tc(h)}},r}let rv;function K1(...n){return(rv||(rv=new wn(typeof WeakMap=="function"))).lookupArray(n)}const ac=new Set;function Bi(n,{max:a=Math.pow(2,16),keyArgs:r,makeCacheKey:l=K1,normalizeResult:o,subscribe:s,cache:h=Hs}=Object.create(null)){const d=typeof h=="function"?new h(a,S=>S.dispose()):h,v=function(){const S=l.apply(null,r?r.apply(null,arguments):arguments);if(S===void 0)return n.apply(null,arguments);let E=d.get(S);E||(d.set(S,E=new Tu(n)),E.normalizeResult=o,E.subscribe=s,E.forget=()=>d.delete(S));const _=E.recompute(Array.prototype.slice.call(arguments));return d.set(S,E),ac.add(d),_u.hasValue()||(ac.forEach(A=>A.clean()),ac.clear()),_};Object.defineProperty(v,"size",{get:()=>d.size,configurable:!1,enumerable:!1}),Object.freeze(v.options={max:a,keyArgs:r,makeCacheKey:l,normalizeResult:o,subscribe:s,cache:d});function p(S){const E=S&&d.get(S);E&&E.setDirty()}v.dirtyKey=p,v.dirty=function(){p(l.apply(null,arguments))};function m(S){const E=S&&d.get(S);if(E)return E.peek()}v.peekKey=m,v.peek=function(){return m(l.apply(null,arguments))};function g(S){return S?d.delete(S):!1}return v.forgetKey=g,v.forget=function(){return g(l.apply(null,arguments))},v.makeCacheKey=l,v.getKey=r?function(){return l.apply(null,r.apply(null,arguments))}:l,Object.freeze(v)}function P1(n){return n}var iv=(function(){function n(a,r){r===void 0&&(r=Object.create(null)),this.resultCache=Is?new WeakSet:new Set,this.transform=a,r.getCacheKey&&(this.getCacheKey=r.getCacheKey),this.cached=r.cache!==!1,this.resetCache()}return n.prototype.getCacheKey=function(a){return[a]},n.identity=function(){return new n(P1,{cache:!1})},n.split=function(a,r,l){return l===void 0&&(l=n.identity()),Object.assign(new n(function(o){var s=a(o)?r:l;return s.transformDocument(o)},{cache:!1}),{left:r,right:l})},n.prototype.resetCache=function(){var a=this;if(this.cached){var r=new wn(Ba);this.performWork=Bi(n.prototype.performWork.bind(this),{makeCacheKey:function(l){var o=a.getCacheKey(l);if(o)return Z(Array.isArray(o),105),r.lookupArray(o)},max:_n["documentTransform.cache"],cache:Su})}},n.prototype.performWork=function(a){return wr(a),this.transform(a)}
64,n.prototype.transformDocument=function(a){if(this.resultCache.has(a))return a;var r=this.performWork(a);return this.resultCache.add(r),r},n.prototype.concat=function(a){var r=this;return Object.assign(new n(function(l){return a.transformDocument(r.transformDocument(l))},{cache:!1}),{left:this,right:a})},n})(),Vi,ra=Object.assign(function(n){var a=Vi.get(n);return a||(a=KE(n),Vi.set(n,a)),a},{reset:function(){Vi=new Xs(_n.print||2e3)}});ra.reset(),globalThis.__DEV__!==!1&&Zs("print",function(){return Vi?Vi.size:0});var $e=Array.isArray;function Kt(n){return Array.isArray(n)&&n.length>0}var lv={kind:$.FIELD,name:{kind:$.NAME,value:"__typename"}};function uv(n,a){return!n||n.selectionSet.selections.every(function(r){return r.kind===$.FRAGMENT_SPREAD&&uv(a[r.name.value],a)})}function W1(n){return uv(Ia(n)||Ip(n),Dr(Rr(n)))?null:n}function $1(n){var a=new Map,r=new Map;return n.forEach(function(l){l&&(l.name?a.set(l.name,l):l.test&&r.set(l.test,l))}),function(l){var o=a.get(l.name.value);return!o&&r.size&&r.forEach(function(s,h){h(l)&&(o=s)}),o}}function ov(n){var a=new Map;return function(l){l===void 0&&(l=n);var o=a.get(l);return o||a.set(l,o={variables:new Set,fragmentSpreads:new Set}),o}}function sv(n,a){wr(a);for(var r=ov(""),l=ov(""),o=function(T){for(var z=0,w=void 0;z<T.length&&(w=T[z]);++z)if(!$e(w)){if(w.kind===$.OPERATION_DEFINITION)return r(w.name&&w.name.value);if(w.kind===$.FRAGMENT_DEFINITION)return l(w.name.value)}return globalThis.__DEV__!==!1&&Z.error(125),null},s=0,h=a.definitions.length-1;h>=0;--h)a.definitions[h].kind===$.OPERATION_DEFINITION&&++s;var d=$1(n),v=function(T){return Kt(T)&&T.map(d).some(function(z){return z&&z.remove})},p=new Map,m=!1,g={enter:function(T){if(v(T.directives))return m=!0,null}},S=vn(a,{Field:g,InlineFragment:g,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(T,z,w,Q,B){var I=o(B);I&&I.variables.add(T.name.value)}},FragmentSpread:{enter:function(T,z,w,Q,B){if(v(T.directives))return m=!0,null;var I=o(B);I&&I.fragmentSpreads.add(T.name.value)}},FragmentDefinition:{enter:function(T,z,w,Q){p.set(JSON.stringify(Q),T)},leave:function(T,z,w,Q){var B=p.get(JSON.stringify(Q));if(T===B)return T;if(s>0&&T.selectionSet.selections.every(function(I){return I.kind===$.FIELD&&I.name.value==="__typename"}))return l(T.name.value).removed=!0,m=!0,null}},Directive:{leave:function(T){if(d(T))return m=!0,null}}});if(!m)return a;var E=function(T){return T.transitiveVars||(T.transitiveVars=new Set(T.variables),T.removed||T.fragmentSpreads.forEach(function(z){E(l(z)).transitiveVars.forEach(function(w){T.transitiveVars.add(w)})})),T},_=new Set;S.definitions.forEach(function(T){T.kind===$.OPERATION_DEFINITION?E(r(T.name&&T.name.value)).fragmentSpreads.forEach(function(z){_.add(z)}):T.kind===$.FRAGMENT_DEFINITION&&s===0&&!l(T.name.value).removed&&_.add(T.name.value)}),_.forEach(function(T){E(l(T)).fragmentSpreads.forEach(function(z){_.add(z)})});var A=function(T){return!!(!_.has(T)||l(T).removed)},R={enter:function(T){if(A(T.name.value))return null}};return W1(vn(S,{FragmentSpread:R,FragmentDefinition:R,OperationDefinition:{leave:function(T){if(T.variableDefinitions){var z=E(r(T.name&&T.name.value)).transitiveVars;if(z.size<T.variableDefinitions.length)return x(x({},T),{variableDefinitions:T.variableDefinitions.filter(function(w){return z.has(w.variable.name.value)})})}}}}))}var rc=Object.assign(function(n){return vn(n,{SelectionSet:{enter:function(a,r,l){if(!(l&&l.kind===$.OPERATION_DEFINITION)){var o=a.selections;if(o){var s=o.some(function(d){return na(d)&&(d.name.value==="__typename"||d.name.value.lastIndexOf("__",0)===0)});if(!s){var h=l;if(!(na(h)&&h.directives&&h.directives.some(function(d){return d.name.value==="export"})))return x(x({},a),{selections:mt(mt([],o,!0),[lv],!1)})}}}}}})},{added:function(n){return n===lv}});function e_(n){var a=Nr(n),r=a.operation;if(r==="query")return n;var l=vn(n,{OperationDefinition:{enter:function(o){return x(x({},o),{operation:"query"})}}});return l}function cv(n){wr(n);var a=sv([{test:function(r){return r.name.value==="client"},remove:!0}],n);return a}function t_(n){return wr(n),vn(n,{FragmentSpread:function(a){var r;if(!(!((r=a.directives)===null||r===void 0)&&r.some(function(l){return l.name.value==="unmask"})))return x(x({},a),{directives:mt(mt([],a.directives||[],!0),[{kind:$.DIRECTIVE,name:{kind:$.NAME,value:"nonreactive"}}
64],!1)})}})}var n_=Object.prototype.hasOwnProperty;function fv(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return Ou(n)}function Ou(n){var a=n[0]||{},r=n.length;if(r>1)for(var l=new ia,o=1;o<r;++o)a=l.merge(a,n[o]);return a}var a_=function(n,a,r){return this.merge(n[r],a[r])},ia=(function(){function n(a){a===void 0&&(a=a_),this.reconciler=a,this.isObject=Ze,this.pastCopies=new Set}return n.prototype.merge=function(a,r){for(var l=this,o=[],s=2;s<arguments.length;s++)o[s-2]=arguments[s];return Ze(r)&&Ze(a)?(Object.keys(r).forEach(function(h){if(n_.call(a,h)){var d=a[h];if(r[h]!==d){var v=l.reconciler.apply(l,mt([a,r,h],o,!1));v!==d&&(a=l.shallowCopyForMerge(a),a[h]=v)}}else a=l.shallowCopyForMerge(a),a[h]=r[h]}),a):r},n.prototype.shallowCopyForMerge=function(a){return Ze(a)&&(this.pastCopies.has(a)||(Array.isArray(a)?a=a.slice(0):a=x({__proto__:Object.getPrototypeOf(a)},a),this.pastCopies.add(a))),a},n})();function r_(n,a){var r=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(r)return(r=r.call(n)).next.bind(r);if(Array.isArray(n)||(r=i_(n))||a){r&&(n=r);var l=0;return function(){return l>=n.length?{done:!0}:{done:!1,value:n[l++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 65In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i_(n,a){if(n){if(typeof n=="string")return hv(n,a);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hv(n,a)}}function hv(n,a){(a==null||a>n.length)&&(a=n.length);for(var r=0,l=new Array(a);r<a;r++)l[r]=n[r];return l}function dv(n,a){for(var r=0;r<a.length;r++){var l=a[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(n,l.key,l)}}function ic(n,a,r){return a&&dv(n.prototype,a),r&&dv(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}var lc=function(){return typeof Symbol=="function"},uc=function(n){return lc()&&!!Symbol[n]},oc=function(n){return uc(n)?Symbol[n]:"@@"+n};lc()&&!uc("observable")&&(Symbol.observable=Symbol("observable"));var l_=oc("iterator"),sc=oc("observable"),pv=oc("species");function Du(n,a){var r=n[a];if(r!=null){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}function Ii(n){var a=n.constructor;return a!==void 0&&(a=a[pv],a===null&&(a=void 0)),a!==void 0?a:Be}function u_(n){return n instanceof Be}function kr(n){kr.log?kr.log(n):setTimeout(function(){throw n})}function Au(n){Promise.resolve().then(function(){try{n()}catch(a){kr(a)}})}function vv(n){var a=n._cleanup;if(a!==void 0&&(n._cleanup=void 0,!!a))try{if(typeof a=="function")a();else{var r=Du(a,"unsubscribe");r&&r.call(a)}}catch(l){kr(l)}}function cc(n){n._observer=void 0,n._queue=void 0,n._state="closed"}function o_(n){var a=n._queue;if(a){n._queue=void 0,n._state="ready";for(var r=0;r<a.length&&(yv(n,a[r].type,a[r].value),n._state!=="closed");++r);}}function yv(n,a,r){n._state="running";var l=n._observer;try{var o=Du(l,a);switch(a){case"next":o&&o.call(l,r);break;case"error":if(cc(n),o)o.call(l,r);else throw r;break;case"complete":cc(n),o&&o.call(l);break}}catch(s){kr(s)}n._state==="closed"?vv(n):n._state==="running"&&(n._state="ready")}function fc(n,a,r){if(n._state!=="closed"){if(n._state==="buffering"){n._queue.push({type:a,value:r});return}if(n._state!=="ready"){n._state="buffering",n._queue=[{type:a,value:r}],Au(function(){return o_(n)});return}yv(n,a,r)}}var s_=(function(){function n(r,l){this._cleanup=void 0,this._observer=r,this._queue=void 0,this._state="initializing";var o=new c_(this);try{this._cleanup=l.call(void 0,o)}catch(s){o.error(s)}this._state==="initializing"&&(this._state="ready")}var a=n.prototype;return a.unsubscribe=function(){this._state!=="closed"&&(cc(this),vv(this))},ic(n,[{key:"closed",get:function(){return this._state==="closed"}}]),n})(),c_=(function(){function n(r){this._subscription=r}var a=n.prototype;return a.next=function(l){fc(this._subscription,"next",l)}
65,a.error=function(l){fc(this._subscription,"error",l)},a.complete=function(){fc(this._subscription,"complete")},ic(n,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),n})(),Be=(function(){function n(r){if(!(this instanceof n))throw new TypeError("Observable cannot be called as a function");if(typeof r!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=r}var a=n.prototype;return a.subscribe=function(l){return(typeof l!="object"||l===null)&&(l={next:l,error:arguments[1],complete:arguments[2]}),new s_(l,this._subscriber)},a.forEach=function(l){var o=this;return new Promise(function(s,h){if(typeof l!="function"){h(new TypeError(l+" is not a function"));return}function d(){v.unsubscribe(),s()}var v=o.subscribe({next:function(p){try{l(p,d)}catch(m){h(m),v.unsubscribe()}},error:h,complete:s})})},a.map=function(l){var o=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var s=Ii(this);return new s(function(h){return o.subscribe({next:function(d){try{d=l(d)}catch(v){return h.error(v)}h.next(d)},error:function(d){h.error(d)},complete:function(){h.complete()}})})},a.filter=function(l){var o=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var s=Ii(this);return new s(function(h){return o.subscribe({next:function(d){try{if(!l(d))return}catch(v){return h.error(v)}h.next(d)},error:function(d){h.error(d)},complete:function(){h.complete()}})})},a.reduce=function(l){var o=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var s=Ii(this),h=arguments.length>1,d=!1,v=arguments[1],p=v;return new s(function(m){return o.subscribe({next:function(g){var S=!d;if(d=!0,!S||h)try{p=l(p,g)}catch(E){return m.error(E)}else p=g},error:function(g){m.error(g)},complete:function(){if(!d&&!h)return m.error(new TypeError("Cannot reduce an empty sequence"));m.next(p),m.complete()}})})},a.concat=function(){for(var l=this,o=arguments.length,s=new Array(o),h=0;h<o;h++)s[h]=arguments[h];var d=Ii(this);return new d(function(v){var p,m=0;function g(S){p=S.subscribe({next:function(E){v.next(E)},error:function(E){v.error(E)},complete:function(){m===s.length?(p=void 0,v.complete()):g(d.from(s[m++]))}})}return g(l),function(){p&&(p.unsubscribe(),p=void 0)}})},a.flatMap=function(l){var o=this;if(typeof l!="function")throw new TypeError(l+" is not a function");var s=Ii(this);return new s(function(h){var d=[],v=o.subscribe({next:function(m){if(l)try{m=l(m)}catch(S){return h.error(S)}var g=s.from(m).subscribe({next:function(S){h.next(S)},error:function(S){h.error(S)},complete:function(){var S=d.indexOf(g);S>=0&&d.splice(S,1),p()}});d.push(g)},error:function(m){h.error(m)},complete:function(){p()}});function p(){v.closed&&d.length===0&&h.complete()}return function(){d.forEach(function(m){return m.unsubscribe()}),v.unsubscribe()}})},a[sc]=function(){return this},n.from=function(l){var o=typeof this=="function"?this:n;if(l==null)throw new TypeError(l+" is not an object");var s=Du(l,sc);if(s){var h=s.call(l);if(Object(h)!==h)throw new TypeError(h+" is not an object");return u_(h)&&h.constructor===o?h:new o(function(d){return h.subscribe(d)})}if(uc("iterator")&&(s=Du(l,l_),s))return new o(function(d){Au(function(){if(!d.closed){for(var v=r_(s.call(l)),p;!(p=v()).done;){var m=p.value;if(d.next(m),d.closed)return}d.complete()}})});if(Array.isArray(l))return new o(function(d){Au(function(){if(!d.closed){for(var v=0;v<l.length;++v)if(d.next(l[v]),d.closed)return;d.complete()}})});throw new TypeError(l+" is not observable")},n.of=function(){for(var l=arguments.length,o=new Array(l),s=0;s<l;s++)o[s]=arguments[s];var h=typeof this=="function"?this:n;return new h(function(d){Au(function(){if(!d.closed){for(var v=0;v<o.length;++v)if(d.next(o[v]),d.closed)return;d.complete()}})})},ic(n,null,[{key:pv,get:function(){return this}}]),n})();lc()&&Object.defineProperty(Be,Symbol("extensions"),{value:{symbol:sc,hostReportError:kr},configurable:!0});function f_(n){var a,r=n.Symbol;if(typeof r=="function")if(r.observable)a=r.observable;else{typeof r.for=="function"?a=r.for("https://github.com/benlesh/symbol-observable"):a=r("https://github.com/benlesh/symbol-observable");try{r.observable=a}catch{}}else a="@@observable";return a}var Lr;typeof self<"u"?Lr=self:typeof window<"u"?Lr=window:typeof global<"u"?Lr=global:typeof module<"u"?Lr=module:Lr=Function("return this")(),f_(Lr);var mv=Be.prototype,gv="@@observable";mv[gv]||(mv[gv]=function(){return this});function h_(n){return n.catch(function(){}),n}var d_=Object.prototype.toString;function bv(n){return hc(n)}function hc(n,a){switch(d_.call(n)){case"[object Array]":{if(a=a||new Map,a.has(n))return a.get(n);var r=n.slice(0);return a.set(n,r),r.forEach(function(o,s){r[s]=hc(o,a)}),r}case"[object Object]":{if(a=a||new Map,a.has(n))return a.get(n);var l=Object.create(Object.getPrototypeOf(n));
65return a.set(n,l),Object.keys(n).forEach(function(o){l[o]=hc(n[o],a)}),l}default:return n}}function p_(n){var a=new Set([n]);return a.forEach(function(r){Ze(r)&&v_(r)===r&&Object.getOwnPropertyNames(r).forEach(function(l){Ze(r[l])&&a.add(r[l])})}),n}function v_(n){if(globalThis.__DEV__!==!1&&!Object.isFrozen(n))try{Object.freeze(n)}catch(a){if(a instanceof TypeError)return null;throw a}return n}function jr(n){return globalThis.__DEV__!==!1&&p_(n),n}function Fi(n,a,r){var l=[];n.forEach(function(o){return o[a]&&l.push(o)}),l.forEach(function(o){return o[a](r)})}function dc(n,a,r){return new Be(function(l){var o={then:function(v){return new Promise(function(p){return p(v())})}};function s(v,p){return function(m){if(v){var g=function(){return l.closed?0:v(m)};o=o.then(g,g).then(function(S){return l.next(S)},function(S){return l.error(S)})}else l[p](m)}}var h={next:s(a,"next"),error:s(r,"error"),complete:function(){o.then(function(){return l.complete()})}},d=n.subscribe(h);return function(){return d.unsubscribe()}})}function Sv(n){function a(r){Object.defineProperty(n,r,{value:Be})}return Fs&&Symbol.species&&a(Symbol.species),a("@@species"),n}function Ev(n){return n&&typeof n.then=="function"}var qr=(function(n){hn(a,n);function a(r){var l=n.call(this,function(o){return l.addObserver(o),function(){return l.removeObserver(o)}})||this;return l.observers=new Set,l.promise=new Promise(function(o,s){l.resolve=o,l.reject=s}),l.handlers={next:function(o){l.sub!==null&&(l.latest=["next",o],l.notify("next",o),Fi(l.observers,"next",o))},error:function(o){var s=l.sub;s!==null&&(s&&setTimeout(function(){return s.unsubscribe()}),l.sub=null,l.latest=["error",o],l.reject(o),l.notify("error",o),Fi(l.observers,"error",o))},complete:function(){var o=l,s=o.sub,h=o.sources,d=h===void 0?[]:h;if(s!==null){var v=d.shift();v?Ev(v)?v.then(function(p){return l.sub=p.subscribe(l.handlers)},l.handlers.error):l.sub=v.subscribe(l.handlers):(s&&setTimeout(function(){return s.unsubscribe()}),l.sub=null,l.latest&&l.latest[0]==="next"?l.resolve(l.latest[1]):l.resolve(),l.notify("complete"),Fi(l.observers,"complete"))}}},l.nextResultListeners=new Set,l.cancel=function(o){l.reject(o),l.sources=[],l.handlers.error(o)},l.promise.catch(function(o){}),typeof r=="function"&&(r=[new Be(r)]),Ev(r)?r.then(function(o){return l.start(o)},l.handlers.error):l.start(r),l}return a.prototype.start=function(r){this.sub===void 0&&(this.sources=Array.from(r),this.handlers.complete())},a.prototype.deliverLastMessage=function(r){if(this.latest){var l=this.latest[0],o=r[l];o&&o.call(r,this.latest[1]),this.sub===null&&l==="next"&&r.complete&&r.complete()}},a.prototype.addObserver=function(r){this.observers.has(r)||(this.deliverLastMessage(r),this.observers.add(r))},a.prototype.removeObserver=function(r){this.observers.delete(r)&&this.observers.size<1&&this.handlers.complete()},a.prototype.notify=function(r,l){var o=this.nextResultListeners;o.size&&(this.nextResultListeners=new Set,o.forEach(function(s){return s(r,l)}))},a.prototype.beforeNext=function(r){var l=!1;this.nextResultListeners.add(function(o,s){l||(l=!0,r(o,s))})},a})(Be);Sv(qr);function Qr(n){return"incremental"in n}function y_(n){return"hasNext"in n&&"data"in n}function m_(n){return Qr(n)||y_(n)}function g_(n){return Ze(n)&&"payload"in n}function _v(n,a){var r=n,l=new ia;return Qr(a)&&Kt(a.incremental)&&a.incremental.forEach(function(o){for(var s=o.data,h=o.path,d=h.length-1;d>=0;--d){var v=h[d],p=!isNaN(+v),m=p?[]:{};m[v]=s,s=m}r=l.merge(r,s)}),r}function xu(n){var a=pc(n);return Kt(a)}function pc(n){var a=Kt(n.errors)?n.errors.slice(0):[];return Qr(n)&&Kt(n.incremental)&&n.incremental.forEach(function(r){r.errors&&a.push.apply(a,r.errors)}),a}function Fa(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var r=Object.create(null);return n.forEach(function(l){l&&Object.keys(l).forEach(function(o){var s=l[o];s!==void 0&&(r[o]=s)})}),r}function Ha(n,a){return Fa(n,a,a.variables&&{variables:Fa(x(x({},n&&n.variables),a.variables))})}var Tv=Fs?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function vc(){Z("createContext"in mp,69);var n=he.createContext[Tv];return n||(Object.defineProperty(he.createContext,Tv,{value:n=he.createContext({}
65),enumerable:!1,writable:!1,configurable:!0}),n.displayName="ApolloContext"),n}var b_=function(n){var a=n.client,r=n.children,l=vc(),o=he.useContext(l),s=he.useMemo(function(){return x(x({},o),{client:a||o.client})},[o,a]);return Z(s.client,71),he.createElement(l.Provider,{value:s},r)};function Cu(n){var a=he.useContext(vc()),r=n||a.client;return Z(!!r,79),r}var Ov=!1,S_="useSyncExternalStore",E_=mp[S_],Dv=E_||(function(n,a,r){var l=a();globalThis.__DEV__!==!1&&!Ov&&l!==a()&&(Ov=!0,globalThis.__DEV__!==!1&&Z.error(92));var o=he.useState({inst:{value:l,getSnapshot:a}}),s=o[0].inst,h=o[1];return o1?he.useLayoutEffect(function(){Object.assign(s,{value:l,getSnapshot:a}),yc(s)&&h({inst:s})},[n,l,a]):Object.assign(s,{value:l,getSnapshot:a}),he.useEffect(function(){return yc(s)&&h({inst:s}),n(function(){yc(s)&&h({inst:s})})},[n]),l});function yc(n){var a=n.value,r=n.getSnapshot;try{return a!==r()}catch{return!0}}const{toString:Av,hasOwnProperty:__}=Object.prototype,xv=Function.prototype.toString,mc=new Map;function Ne(n,a){try{return gc(n,a)}finally{mc.clear()}}function gc(n,a){if(n===a)return!0;const r=Av.call(n),l=Av.call(a);if(r!==l)return!1;switch(r){case"[object Array]":if(n.length!==a.length)return!1;case"[object Object]":{if(wv(n,a))return!0;const o=Cv(n),s=Cv(a),h=o.length;if(h!==s.length)return!1;for(let d=0;d<h;++d)if(!__.call(a,o[d]))return!1;for(let d=0;d<h;++d){const v=o[d];if(!gc(n[v],a[v]))return!1}return!0}case"[object Error]":return n.name===a.name&&n.message===a.message;case"[object Number]":if(n!==n)return a!==a;case"[object Boolean]":case"[object Date]":return+n==+a;case"[object RegExp]":case"[object String]":return n==`${a}`;case"[object Map]":case"[object Set]":{if(n.size!==a.size)return!1;if(wv(n,a))return!0;const o=n.entries(),s=r==="[object Map]";for(;;){const h=o.next();if(h.done)break;const[d,v]=h.value;if(!a.has(d)||s&&!gc(v,a.get(d)))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]":n=new Uint8Array(n),a=new Uint8Array(a);case"[object DataView]":{let o=n.byteLength;if(o===a.byteLength)for(;o--&&n[o]===a[o];);return o===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const o=xv.call(n);return o!==xv.call(a)?!1:!D_(o,O_)}}return!1}function Cv(n){return Object.keys(n).filter(T_,n)}function T_(n){return this[n]!==void 0}const O_="{ [native code] }";function D_(n,a){const r=n.length-a.length;return r>=0&&n.indexOf(a,r)===r}function wv(n,a){let r=mc.get(n);if(r){if(r.has(a))return!0}else mc.set(n,r=new Set);return r.add(a),!1}var bc=Symbol();function A_(n){return n.extensions?Array.isArray(n.extensions[bc]):!1}function Rv(n){return n.hasOwnProperty("graphQLErrors")}var x_=function(n){var a=mt(mt(mt([],n.graphQLErrors,!0),n.clientErrors,!0),n.protocolErrors,!0);return n.networkError&&a.push(n.networkError),a.map(function(r){return Ze(r)&&r.message||"Error message not found."}).join(` 66`)},Qt=(function(n){hn(a,n);function a(r){var l=r.graphQLErrors,o=r.protocolErrors,s=r.clientErrors,h=r.networkError,d=r.errorMessage,v=r.extraInfo,p=n.call(this,d)||this;return p.name="ApolloError",p.graphQLErrors=l||[],p.protocolErrors=o||[],p.clientErrors=s||[],p.networkError=h||null,p.message=d||x_(p),p.extraInfo=v,p.cause=mt(mt(mt([h],l||[],!0),o||[],!0),s||[],!0).find(function(m){return!!m})||null,p.__proto__=a.prototype,p}return a})(Error);function Sc(n){return new Be(function(a){a.error(n)})}var Nv=function(n,a,r){var l=new Error(r);throw l.name="ServerError",l.response=n,l.statusCode=n.status,l.result=a,l};function C_(n){for(var a=["query","operationName","variables","extensions","context"],r=0,l=Object.keys(n);r<l.length;r++){var o=l[r];if(a.indexOf(o)<0)throw Dt(58,o)}return n}function w_(n,a){var r=x({},n),l=function(s){typeof s=="function"?r=x(x({},r),s(r)):r=x(x({},r),s)},o=function(){return x({},r)};return Object.defineProperty(a,"setContext",{enumerable:!1,value:l}),Object.defineProperty(a,"getContext",{enumerable:!1,value:o}),a}function R_(n){var a={variables:n.variables||{},extensions:n.extensions||{},operationName:n.operationName,query:n.query};return a.operationName||(a.operationName=typeof a.query!="string"?Qi(a.query)||void 0:""),a}function N_(n,a){var r=x({},n),l=new Set(Object.keys(n));return vn(a,{Variable:function(o,s,h){h&&h.kind!=="VariableDefinition"&&l.delete(o.name.value)}}),l.forEach(function(o){delete r[o]}),r}var M_=Symbol.for("apollo.deprecations"),z_=cu,Ec=new Mr;function k_(n){return z_[M_]||(Ec.getValue()||[]).includes(n)}function dt(n){for(var a=[],r=1;r<arguments.length;r++)a[r-1]=arguments[r];return Ec.withValue.apply(Ec,mt([Array.isArray(n)?n:[n]],a,!1))}function Pe(n,a,r,l){l===void 0&&(l="Please remove this option."),la(a,function(){a in n&&globalThis.__DEV__!==!1&&Z.warn(104,r,a,l)})}function la(n,a){k_(n)||a()}function Mv(n,a){return a?a(n):Be.of()}function Hi(n){return typeof n=="function"?new Ga(n):n}function wu(n){return n.request.length<=1}var Ga=(function(){function n(a){a&&(this.request=a)}return n.empty=function(){return new n(function(){return Be.of()})},n.from=function(a){return a.length===0?n.empty():a.map(Hi).reduce(function(r,l){return r.concat(l)})},n.split=function(a,r,l){var o=Hi(r),s=Hi(l||new n(Mv)),h;return wu(o)&&wu(s)?h=new n(function(d){return a(d)?o.request(d)||Be.of():s.request(d)||Be.of()}):h=new n(function(d,v){return a(d)?o.request(d,v)||Be.of():s.request(d,v)||Be.of()}),Object.assign(h,{left:o,right:s})},n.execute=function(a,r){return a.request(w_(r.context,R_(C_(r))))||Be.of()},n.concat=function(a,r){var l=Hi(a);if(wu(l))return globalThis.__DEV__!==!1&&Z.warn(47,l),l;var o=Hi(r),s;return wu(o)?s=new n(function(h){return l.request(h,function(d){return o.request(d)||Be.of()})||Be.of()}):s=new n(function(h,d){return l.request(h,function(v){return o.request(v,d)||Be.of()})||Be.of()}),Object.assign(s,{left:l,right:o})},n.prototype.split=function(a,r,l){return this.concat(n.split(a,r,l||new n(Mv)))},n.prototype.concat=function(a){return n.concat(this,a)},n.prototype.request=function(a,r){throw Dt(48)},n.prototype.onError=function(a,r){if(globalThis.__DEV__!==!1&&la("onError",function(){globalThis.__DEV__!==!1&&Z.warn(49)}),r&&r.error)return r.error(a),!1;throw a},n.prototype.setOnError=function(a){return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&Z.warn(50),this.onError=a,this},n})(),_c=Ga.execute;function L_(n){var a,r=n[Symbol.asyncIterator]();return a={next:function(){return r.next()}},a[Symbol.asyncIterator]=function(){return this},a}function j_(n){var a=null,r=null,l=!1,o=[],s=[];function h(g){if(!r){if(s.length){var S=s.shift();if(Array.isArray(S)&&S[0])return S[0]({value:g,done:!1})}o.push(g)}}function d(g){r=g;var S=s.slice();
66S.forEach(function(E){E[1](g)}),!a||a()}function v(){l=!0;var g=s.slice();g.forEach(function(S){S[0]({value:void 0,done:!0})}),!a||a()}a=function(){a=null,n.removeListener("data",h),n.removeListener("error",d),n.removeListener("end",v),n.removeListener("finish",v),n.removeListener("close",v)},n.on("data",h),n.on("error",d),n.on("end",v),n.on("finish",v),n.on("close",v);function p(){return new Promise(function(g,S){if(r)return S(r);if(o.length)return g({value:o.shift(),done:!1});if(l)return g({value:void 0,done:!0});s.push([g,S])})}var m={next:function(){return p()}};return gu&&(m[Symbol.asyncIterator]=function(){return this}),m}function q_(n){var a=!1,r={next:function(){return a?Promise.resolve({value:void 0,done:!0}):(a=!0,new Promise(function(l,o){n.then(function(s){l({value:s,done:!1})}).catch(o)}))}};return gu&&(r[Symbol.asyncIterator]=function(){return this}),r}function zv(n){var a={next:function(){return n.read()}};return gu&&(a[Symbol.asyncIterator]=function(){return this}),a}function Q_(n){return!!n.body}function U_(n){return!!n.getReader}function B_(n){return!!(gu&&n[Symbol.asyncIterator])}function V_(n){return!!n.stream}function I_(n){return!!n.arrayBuffer}function F_(n){return!!n.pipe}function H_(n){var a=n;if(Q_(n)&&(a=n.body),B_(a))return L_(a);if(U_(a))return zv(a.getReader());if(V_(a))return zv(a.stream().getReader());if(I_(a))return q_(a.arrayBuffer());if(F_(a))return j_(a);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var kv=Object.prototype.hasOwnProperty;function G_(n,a){return Wn(this,void 0,void 0,function(){var r,l,o,s,h,d,v,p,m,g,S,E,_,A,R,T,z,w,Q,B,I,V,K,se;return $n(this,function(_e){switch(_e.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"),l=(se=n.headers)===null||se===void 0?void 0:se.get("content-type"),o="boundary=",s=l?.includes(o)?l?.substring(l?.indexOf(o)+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",h=`\r 67--`.concat(s),d="",v=H_(n),p=!0,_e.label=1;case 1:return p?[4,v.next()]:[3,3];case 2:for(m=_e.sent(),g=m.value,S=m.done,E=typeof g=="string"?g:r.decode(g),_=d.length-h.length+1,p=!S,d+=E,A=d.indexOf(h,_);A>-1;){if(R=void 0,V=[d.slice(0,A),d.slice(A+h.length)],R=V[0],d=V[1],T=R.indexOf(`\r 68\r 69`),z=Y_(R.slice(0,T)),w=z["content-type"],w&&w.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(Q=R.slice(T),Q){if(B=Lv(n,Q),Object.keys(B).length>1||"data"in B||"incremental"in B||"errors"in B||"payload"in B)if(g_(B)){if(I={},"payload"in B){if(Object.keys(B).length===1&&B.payload===null)return[2];I=x({},B.payload)}"errors"in B&&(I=x(x({},I),{extensions:x(x({},"extensions"in I?I.extensions:null),(K={},K[bc]=B.errors,K))})),a(I)}else a(B);else if(Object.keys(B).length===1&&"hasNext"in B&&!B.hasNext)return[2]}A=d.indexOf(h)}return[3,1];case 3:return[2]}})})}function Y_(n){var a={};return n.split(` 70`).forEach(function(r){var l=r.indexOf(":");if(l>-1){var o=r.slice(0,l).trim().toLowerCase(),s=r.slice(l+1).trim();a[o]=s}}),a}function Lv(n,a){if(n.status>=300){var r=function(){try{return JSON.parse(a)}catch{return a}};Nv(n,r(),"Response not successful: Received status code ".concat(n.status))}try{return JSON.parse(a)}catch(o){var l=o;throw l.name="ServerParseError",l.response=n,l.statusCode=n.status,l.bodyText=a,l}}function X_(n,a){n.result&&n.result.errors&&n.result.data&&a.next(n.result),a.error(n)}function Z_(n){return function(a){return a.text().then(function(r){return Lv(a,r)}).then(function(r){return!Array.isArray(r)&&!kv.call(r,"data")&&!kv.call(r,"errors")&&Nv(a,r,"Server response was missing for query '".concat(Array.isArray(n)?n.map(function(l){return l.operationName}):n.operationName,"'.")),r})}}var Tc=function(n,a){var r;try{r=JSON.stringify(n)}catch(o){var l=Dt(54,a,o.message);throw l.parseError=o,l}return r},J_={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},K_={accept:"*/*","content-type":"application/json"},P_={method:"POST"},W_={http:J_,headers:K_,options:P_},$_=function(n,a){return a(n)};function eT(n,a){for(var r=[],l=2;l<arguments.length;l++)r[l-2]=arguments[l];var o={},s={};r.forEach(function(g){o=x(x(x({},o),g.options),{headers:x(x({},o.headers),g.headers)}),g.credentials&&(o.credentials=g.credentials),s=x(x({},s),g.http)}),o.headers&&(o.headers=tT(o.headers,s.preserveHeaderCase));var h=n.operationName,d=n.extensions,v=n.variables,p=n.query,m={operationName:h,variables:v};return s.includeExtensions&&(m.extensions=d),s.includeQuery&&(m.query=a(p,ra)),{options:o,body:m}}function tT(n,a){if(!a){var r={};
70return Object.keys(Object(n)).forEach(function(s){r[s.toLowerCase()]=n[s]}),r}var l={};Object.keys(Object(n)).forEach(function(s){l[s.toLowerCase()]={originalName:s,value:n[s]}});var o={};return Object.keys(l).forEach(function(s){o[l[s].originalName]=l[s].value}),o}var nT=function(n){if(!n&&typeof fetch>"u")throw Dt(51)},aT=function(n,a){var r=n.getContext(),l=r.uri;return l||(typeof a=="function"?a(n):a||"/graphql")};function rT(n,a){var r=[],l=function(g,S){r.push("".concat(g,"=").concat(encodeURIComponent(S)))};if("query"in a&&l("query",a.query),a.operationName&&l("operationName",a.operationName),a.variables){var o=void 0;try{o=Tc(a.variables,"Variables map")}catch(g){return{parseError:g}}l("variables",o)}if(a.extensions){var s=void 0;try{s=Tc(a.extensions,"Extensions map")}catch(g){return{parseError:g}}l("extensions",s)}var h="",d=n,v=n.indexOf("#");v!==-1&&(h=n.substr(v),d=n.substr(0,v));var p=d.indexOf("?")===-1?"?":"&",m=d+p+r.join("&")+h;return{newURI:m}}var jv=pn(function(){return fetch}),iT=function(n){n===void 0&&(n={});var a=n.uri,r=a===void 0?"/graphql":a,l=n.fetch,o=n.print,s=o===void 0?$_:o,h=n.includeExtensions,d=n.preserveHeaderCase,v=n.useGETForQueries,p=n.includeUnusedVariables,m=p===void 0?!1:p,g=dn(n,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&nT(l||jv);var S={http:{includeExtensions:h,preserveHeaderCase:d},options:g.fetchOptions,credentials:g.credentials,headers:g.headers};return new Ga(function(E){var _=aT(E,r),A=E.getContext(),R={};if(A.clientAwareness){var T=A.clientAwareness,z=T.name,w=T.version;z&&(R["apollographql-client-name"]=z),w&&(R["apollographql-client-version"]=w)}var Q=x(x({},R),A.headers),B={http:A.http,options:A.fetchOptions,credentials:A.credentials,headers:Q};if(ji(["client"],E.query)){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&Z.warn(52);var I=cv(E.query);if(!I)return Sc(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`."));E.query=I}var V=eT(E,s,W_,S,B),K=V.options,se=V.body;se.variables&&!m&&(se.variables=N_(se.variables,E.query));var _e;!K.signal&&typeof AbortController<"u"&&(_e=new AbortController,K.signal=_e.signal);var Ee=function(ne){return ne.kind==="OperationDefinition"&&ne.operation==="mutation"},de=function(ne){return ne.kind==="OperationDefinition"&&ne.operation==="subscription"},ve=de(Nr(E.query)),te=ji(["defer"],E.query);if(v&&!E.query.definitions.some(Ee)&&(K.method="GET"),te||ve){K.headers=K.headers||{};var fe="multipart/mixed;";ve&&te&&globalThis.__DEV__!==!1&&Z.warn(53),ve?fe+="boundary=graphql;subscriptionSpec=1.0,application/json":te&&(fe+="deferSpec=20220824,application/json"),K.headers.accept=fe}if(K.method==="GET"){var M=rT(_,se),Y=M.newURI,W=M.parseError;if(W)return Sc(W);_=Y}else try{K.body=Tc(se,"Payload")}catch(ne){return Sc(ne)}return new Be(function(ne){var re=l||pn(function(){return fetch})||jv,D=ne.next.bind(ne);return re(_,K).then(function(U){var J;E.setContext({response:U});var ee=(J=U.headers)===null||J===void 0?void 0:J.get("content-type");return ee!==null&&/^multipart\/mixed/i.test(ee)?G_(U,D):Z_(E)(U).then(D)}).then(function(){_e=void 0,ne.complete()}).catch(function(U){_e=void 0,X_(U,ne)}),function(){_e&&_e.abort()}})})},qv=(function(n){hn(a,n);function a(r){r===void 0&&(r={});var l=n.call(this,iT(r).request)||this;return l.options=r,l}return a})(Ga);function Qv(n,a,r,l){var o=a.data,s=dn(a,["data"]),h=r.data,d=dn(r,["data"]);return Ne(s,d)&&Ru(Nr(n).selectionSet,o,h,{fragmentMap:Dr(Rr(n)),variables:l})}function Ru(n,a,r,l){if(a===r)return!0;var o=new Set;return n.selections.every(function(s){if(o.has(s)||(o.add(s),!Li(s,l.variables))||Uv(s))return!0;if(na(s)){var h=Rn(s),d=a&&a[h],v=r&&r[h],p=s.selectionSet;if(!p)return Ne(d,v);var m=Array.isArray(d),g=Array.isArray(v);if(m!==g)return!1;if(m&&g){var S=d.length;if(v.length!==S)return!1;for(var E=0;E<S;++E)if(!Ru(p,d[E],v[E],l))return!1;return!0}return Ru(p,d,v,l)}else{var _=bu(s,l.fragmentMap);if(_)return Uv(_)?!0:Ru(_.selectionSet,a,r,l)}})}function Uv(n){return!!n.directives&&n.directives.some(lT)}function lT(n){return n.name.value==="nonreactive"}var Bv=Ba?WeakMap:Map,Vv=Is?WeakSet:Set,Oc=new Mr,Iv=!1;function Fv(){Iv||(Iv=!0,globalThis.__DEV__!==!1&&Z.warn(64))}function Hv(n,a,r){return Oc.withValue(!0,function(){var l=Gi(n,a,r,!1);return Object.isFrozen(n)&&jr(l),l})}function uT(n,a){if(a.has(n))return a.get(n);var r=Array.isArray(n)?[]:Object.create(null);return a.set(n,r),r}function Gi(n,a,r,l,o){var s,h=r.knownChanged,d=uT(n,r.mutableTargets);if(Array.isArray(n)){for(var v=0,p=Array.from(n.entries());v<p.length;v++){var m=p[v],g=m[0],S=m[1];if(S===null){d[g]=null;continue}var E=Gi(S,a,r,l,globalThis.__DEV__!==!1?"".concat(o||"","[").concat(g,"]"):void 0);h.has(E)&&h.add(d),d[g]=E}return h.has(d)?d:n}for(var _=0,A=a.selections;_<A.length;_++){var R=A[_],T=void 0;if(l&&h.add(d),R.kind===$.FIELD){var z=Rn(R),w=R.selectionSet;if(T=d[z]||n[z],T===void 0)continue;if(w&&T!==null){var E=Gi(n[z],w,r,l,globalThis.__DEV__!==!1?"".concat(o||"",".").concat(z):void 0);h.has(E)&&(T=E)}globalThis.__DEV__===!1&&(d[z]=T),globalThis.__DEV__!==!1&&(l&&z!=="__typename"&&!(!((s=Object.getOwnPropertyDescriptor(d,z))===null||s===void 0)&&s.value)?Object.defineProperty(d,z,oT(z,T,o||"",r.operationName,r.operationType)):(delete d[z],d[z]=T))}if(R.kind===$.INLINE_FRAGMENT&&(!R.typeCondition||r.cache.fragmentMatches(R,n.__typename))&&(T=Gi(n,R.selectionSet,r,l,o)),R.kind===$.FRAGMENT_SPREAD){var Q=R.name.value,B=r.fragmentMap[Q]||(r.fragmentMap[Q]=r.cache.lookupFragment(Q));Z(B,59,Q);var I=n1(R);I!=="mask"&&(T=Gi(n,B.selectionSet,r,I==="migrate",o))}h.has(T)&&h.add(d)}return"__typename"in n&&!("__typename"in d)&&(d.__typename=n.__typename),Object.keys(d).length!==Object.keys(n).length&&h.add(d),h.has(d)?d:n}function oT(n,a,r,l,o){var s=function(){return Oc.getValue()||(globalThis.__DEV__!==!1&&Z.warn(60,l?"".concat(o," '").concat(l,"'"):"anonymous ".concat(o),"".concat(r,".").concat(n).replace(/^\./,"")),s=function(){return a}),a};return{get:function(){return s()},set:function(h){s=function(){return h}},enumerable:!0,configurable:!0}}function Gv(n,a,r,l){if(!r.fragmentMatches)return globalThis.__DEV__!==!1&&Fv(),n;var o=a.definitions.filter(function(h){return h.kind===$.FRAGMENT_DEFINITION});typeof l>"u"&&(Z(o.length===1,61,o.length),l=o[0].name.value);var s=o.find(function(h){return h.name.value===l});return Z(!!s,62,l),n==null||Ne(n,{})?n:Hv(n,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:Dr(Rr(a)),cache:r,mutableTargets:new Bv,knownChanged:new Vv})}function sT(n,a,r){var l;if(!r.fragmentMatches)return globalThis.__DEV__!==!1&&Fv(),n;var o=Ia(a);return Z(o,63),n==null?n:Hv(n,o.selectionSet,{operationType:o.operation,operationName:(l=o.name)===null||l===void 0?void 0:l.value,fragmentMap:Dr(Rr(a)),cache:r,mutableTargets:new Bv,knownChanged:new Vv})}var Yv=(function(){function n(){this.assumeImmutableResults=!1,this.getFragmentDoc=Bi(s1,{max:_n["cache.fragmentQueryDocuments"]||1e3,cache:Su})}return n.prototype.lookupFragment=function(a){return null},n.prototype.batch=function(a){var r=this,l=typeof a.optimistic=="string"?a.optimistic:a.optimistic===!1?null:void 0,o;return this.performTransaction(function(){return o=a.update(r)},l),o},n.prototype.recordOptimisticTransaction=function(a,r){this.performTransaction(a,r)},n.prototype.transformDocument=function(a){return a},n.prototype.transformForLink=function(a){return a},n.prototype.identify=function(a){},n.prototype.gc=function(){return[]},n.prototype.modify=function(a){return!1},n.prototype.readQuery=function(a,r){var l=this;return r===void 0&&(r=!!a.optimistic),globalThis.__DEV__!==!1&&Pe(a,"canonizeResults","cache.readQuery"),dt("canonizeResults",function(){return l.read(x(x({},a),{rootId:a.id||"ROOT_QUERY",optimistic:r}))})},n.prototype.watchFragment=function(a){var r=this,l=a.fragment,o=a.fragmentName,s=a.from,h=a.optimistic,d=h===void 0?!0:h,v=dn(a,["fragment","fragmentName","from","optimistic"]),p=this.getFragmentDoc(l,o),m=typeof s>"u"||typeof s=="string"?s:this.identify(s),g=!!a[Symbol.for("apollo.dataMasking")];if(globalThis.__DEV__!==!1){var S=o||Ip(l).name.value;m||globalThis.__DEV__!==!1&&Z.warn(1,S)}var E=x(x({},v),{returnPartialData:!0,id:m,query:p,optimistic:d}),_;return new Be(function(A){return r.watch(x(x({},E),{immediate:!0,callback:function(R){var T=g?Gv(R.result,l,r,o):R.result;if(!(_&&Qv(p,{data:_.result},{data:T},a.variables))){var z={data:T,complete:!!R.complete};R.missing&&(z.missing=Ou(R.missing.map(function(w){return w.missing}))),_=x(x({},R),{result:T}),A.next(z)}}}))})},n.prototype.readFragment=function(a,r){var l=this;return r===void 0&&(r=!!a.optimistic),globalThis.__DEV__!==!1&&Pe(a,"canonizeResults","cache.readFragment"),dt("canonizeResults",function(){return l.read(x(x({},a),{query:l.getFragmentDoc(a.fragment,a.fragmentName),rootId:a.id,optimistic:r}))})},n.prototype.writeQuery=function(a){var r=a.id,l=a.data,o=dn(a,["id","data"]);return this.write(Object.assign(o,{dataId:r||"ROOT_QUERY",result:l}))},n.prototype.writeFragment=function(a){var r=a.id,l=a.data,o=a.fragment,s=a.fragmentName,h=dn(a,["id","data","fragment","fragmentName"]);return this.write(Object.assign(h,{query:this.getFragmentDoc(o,s),dataId:r,result:l}))},n.prototype.updateQuery=function(a,r){return globalThis.__DEV__!==!1&&Pe(a,"canonizeResults","cache.updateQuery"),this.batch({update:function(l){var o=dt("canonizeResults",function(){return l.readQuery(a)}),s=r(o);return s==null?o:(l.writeQuery(x(x({},a),{data:s})),s)}})},n.prototype.updateFragment=function(a,r){return globalThis.__DEV__!==!1&&Pe(a,"canonizeResults","cache.updateFragment"),this.batch({update:function(l){var o=dt("canonizeResults",function(){return l.readFragment(a)}),s=r(o);return s==null?o:(l.writeFragment(x(x({},a),{data:s})),s)}})},n})();globalThis.__DEV__!==!1&&(Yv.prototype.getMemoryInternals=E1);var Xv=(function(n){hn(a,n);function a(r,l,o,s){var h,d=n.call(this,r)||this;if(d.message=r,d.path=l,d.query=o,d.variables=s,Array.isArray(d.path)){d.missing=d.message;for(var v=d.path.length-1;v>=0;--v)d.missing=(h={},h[d.path[v]]=d.missing,h)}else d.missing=d.path;return d.__proto__=a.prototype,d}return a})(Error),pt=Object.prototype.hasOwnProperty;function Yi(n){return n==null}function Zv(n,a){var r=n.__typename,l=n.id,o=n._id;if(typeof r=="string"&&(a&&(a.keyObject=Yi(l)?Yi(o)?void 0:{_id:o}:{id:l}),Yi(l)&&!Yi(o)&&(l=o),!Yi(l)))return"".concat(r,":").concat(typeof l=="number"||typeof l=="string"?l:JSON.stringify(l))}var Jv={dataIdFromObject:Zv,addTypename:!0,resultCaching:!0,canonizeResults:!1};function cT(n){return Fa(Jv,n)}function Kv(n){var a=n.canonizeResults;return a===void 0?Jv.canonizeResults:a}function fT(n,a){return je(a)?n.get(a.__ref,"__typename"):a&&a.__typename}var Pv=/^[_a-z][_0-9a-z]*/i;function ua(n){var a=n.match(Pv);return a?a[0]:n}function Dc(n,a,r){return Ze(a)?$e(a)?a.every(function(l){return Dc(n,l,r)}
70):n.selections.every(function(l){if(na(l)&&Li(l,r)){var o=Rn(l);return pt.call(a,o)&&(!l.selectionSet||Dc(l.selectionSet,a[o],r))}return!0}):!1}function Ur(n){return Ze(n)&&!je(n)&&!$e(n)}function hT(){return new ia}function Wv(n,a){var r=Dr(Rr(n));return{fragmentMap:r,lookupFragment:function(l){var o=r[l];return!o&&a&&(o=a.lookup(l)),o||null}}}var Nu=Object.create(null),Ac=function(){return Nu},$v=Object.create(null),Xi=(function(){function n(a,r){var l=this;this.policies=a,this.group=r,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(o,s){return jr(je(o)?l.get(o.__ref,s):o&&o[s])},this.canRead=function(o){return je(o)?l.has(o.__ref):typeof o=="object"},this.toReference=function(o,s){if(typeof o=="string")return xr(o);if(je(o))return o;var h=l.policies.identify(o)[0];if(h){var d=xr(h);return s&&l.merge(h,o),d}}}return n.prototype.toObject=function(){return x({},this.data)},n.prototype.has=function(a){return this.lookup(a,!0)!==void 0},n.prototype.get=function(a,r){if(this.group.depend(a,r),pt.call(this.data,a)){var l=this.data[a];if(l&&pt.call(l,r))return l[r]}if(r==="__typename"&&pt.call(this.policies.rootTypenamesById,a))return this.policies.rootTypenamesById[a];if(this instanceof oa)return this.parent.get(a,r)},n.prototype.lookup=function(a,r){if(r&&this.group.depend(a,"__exists"),pt.call(this.data,a))return this.data[a];if(this instanceof oa)return this.parent.lookup(a,r);if(this.policies.rootTypenamesById[a])return Object.create(null)},n.prototype.merge=function(a,r){var l=this,o;je(a)&&(a=a.__ref),je(r)&&(r=r.__ref);var s=typeof a=="string"?this.lookup(o=a):a,h=typeof r=="string"?this.lookup(o=r):r;if(h){Z(typeof o=="string",2);var d=new ia(pT).merge(s,h);if(this.data[o]=d,d!==s&&(delete this.refs[o],this.group.caching)){var v=Object.create(null);s||(v.__exists=1),Object.keys(h).forEach(function(p){if(!s||s[p]!==d[p]){v[p]=1;var m=ua(p);m!==p&&!l.policies.hasKeyArgs(d.__typename,m)&&(v[m]=1),d[p]===void 0&&!(l instanceof oa)&&delete d[p]}}),v.__typename&&!(s&&s.__typename)&&this.policies.rootTypenamesById[o]===d.__typename&&delete v.__typename,Object.keys(v).forEach(function(p){return l.group.dirty(o,p)})}}},n.prototype.modify=function(a,r){var l=this,o=this.lookup(a);if(o){var s=Object.create(null),h=!1,d=!0,v={DELETE:Nu,INVALIDATE:$v,isReference:je,toReference:this.toReference,canRead:this.canRead,readField:function(p,m){return l.policies.readField(typeof p=="string"?{fieldName:p,from:m||xr(a)}:p,{store:l})}};if(Object.keys(o).forEach(function(p){var m=ua(p),g=o[p];if(g!==void 0){var S=typeof r=="function"?r:r[p]||r[m];if(S){var E=S===Ac?Nu:S(jr(g),x(x({},v),{fieldName:m,storeFieldName:p,storage:l.getStorage(a,p)}));if(E===$v)l.group.dirty(a,p);else if(E===Nu&&(E=void 0),E!==g&&(s[p]=E,h=!0,g=E,globalThis.__DEV__!==!1)){var _=function(B){if(l.lookup(B.__ref)===void 0)return globalThis.__DEV__!==!1&&Z.warn(3,B),!0};if(je(E))_(E);else if(Array.isArray(E))for(var A=!1,R=void 0,T=0,z=E;T<z.length;T++){var w=z[T];if(je(w)){if(A=!0,_(w))break}else if(typeof w=="object"&&w){var Q=l.policies.identify(w)[0];Q&&(R=w)}if(A&&R!==void 0){globalThis.__DEV__!==!1&&Z.warn(4,R);break}}}}g!==void 0&&(d=!1)}}),h)return this.merge(a,s),d&&(this instanceof oa?this.data[a]=void 0:delete this.data[a],this.group.dirty(a,"__exists")),!0}return!1},n.prototype.delete=function(a,r,l){var o,s=this.lookup(a);if(s){var h=this.getFieldValue(s,"__typename"),d=r&&l?this.policies.getStoreFieldName({typename:h,fieldName:r,args:l}):r;return this.modify(a,d?(o={},o[d]=Ac,o):Ac)}return!1},n.prototype.evict=function(a,r){var l=!1;return a.id&&(pt.call(this.data,a.id)&&(l=this.delete(a.id,a.fieldName,a.args)),this instanceof oa&&this!==r&&(l=this.parent.evict(a,r)||l),(a.fieldName||l)&&this.group.dirty(a.id,a.fieldName||"__exists")),l},n.prototype.clear=function(){this.replace(null)},n.prototype.extract=function(){var a=this,r=this.toObject(),l=[];return this.getRootIdSet().forEach(function(o){pt.call(a.policies.rootTypenamesById,o)||l.push(o)}),l.length&&(r.__META={extraRootIds:l.sort()}),r},n.prototype.replace=function(a){var r=this;
70if(Object.keys(this.data).forEach(function(s){a&&pt.call(a,s)||r.delete(s)}),a){var l=a.__META,o=dn(a,["__META"]);Object.keys(o).forEach(function(s){r.merge(s,o[s])}),l&&l.extraRootIds.forEach(this.retain,this)}},n.prototype.retain=function(a){return this.rootIds[a]=(this.rootIds[a]||0)+1},n.prototype.release=function(a){if(this.rootIds[a]>0){var r=--this.rootIds[a];return r||delete this.rootIds[a],r}return 0},n.prototype.getRootIdSet=function(a){return a===void 0&&(a=new Set),Object.keys(this.rootIds).forEach(a.add,a),this instanceof oa?this.parent.getRootIdSet(a):Object.keys(this.policies.rootTypenamesById).forEach(a.add,a),a},n.prototype.gc=function(){var a=this,r=this.getRootIdSet(),l=this.toObject();r.forEach(function(h){pt.call(l,h)&&(Object.keys(a.findChildRefIds(h)).forEach(r.add,r),delete l[h])});var o=Object.keys(l);if(o.length){for(var s=this;s instanceof oa;)s=s.parent;o.forEach(function(h){return s.delete(h)})}return o},n.prototype.findChildRefIds=function(a){if(!pt.call(this.refs,a)){var r=this.refs[a]=Object.create(null),l=this.data[a];if(!l)return r;var o=new Set([l]);o.forEach(function(s){je(s)&&(r[s.__ref]=!0),Ze(s)&&Object.keys(s).forEach(function(h){var d=s[h];Ze(d)&&o.add(d)})})}return this.refs[a]},n.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},n})(),ey=(function(){function n(a,r){r===void 0&&(r=null),this.caching=a,this.parent=r,this.d=null,this.resetCaching()}return n.prototype.resetCaching=function(){this.d=this.caching?av():null,this.keyMaker=new wn(Ba)}
70,n.prototype.depend=function(a,r){if(this.d){this.d(xc(a,r));var l=ua(r);l!==r&&this.d(xc(a,l)),this.parent&&this.parent.depend(a,r)}},n.prototype.dirty=function(a,r){this.d&&this.d.dirty(xc(a,r),r==="__exists"?"forget":"setDirty")},n})();function xc(n,a){return a+"#"+n}function ty(n,a){Zi(n)&&n.group.depend(a,"__exists")}(function(n){var a=(function(r){hn(l,r);function l(o){var s=o.policies,h=o.resultCaching,d=h===void 0?!0:h,v=o.seed,p=r.call(this,s,new ey(d))||this;return p.stump=new dT(p),p.storageTrie=new wn(Ba),v&&p.replace(v),p}return l.prototype.addLayer=function(o,s){return this.stump.addLayer(o,s)},l.prototype.removeLayer=function(){return this},l.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},l})(n);n.Root=a})(Xi||(Xi={}));var oa=(function(n){hn(a,n);function a(r,l,o,s){var h=n.call(this,l.policies,s)||this;return h.id=r,h.parent=l,h.replay=o,h.group=s,o(h),h}return a.prototype.addLayer=function(r,l){return new a(r,this,l,this.group)},a.prototype.removeLayer=function(r){var l=this,o=this.parent.removeLayer(r);return r===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(s){var h=l.data[s],d=o.lookup(s);d?h?h!==d&&Object.keys(h).forEach(function(v){Ne(h[v],d[v])||l.group.dirty(s,v)}):(l.group.dirty(s,"__exists"),Object.keys(d).forEach(function(v){l.group.dirty(s,v)})):l.delete(s)}),o):o===this.parent?this:o.addLayer(this.id,this.replay)},a.prototype.toObject=function(){return x(x({},this.parent.toObject()),this.data)},a.prototype.findChildRefIds=function(r){var l=this.parent.findChildRefIds(r);return pt.call(this.data,r)?x(x({},l),n.prototype.findChildRefIds.call(this,r)):l},a.prototype.getStorage=function(){for(var r=this.parent;r.parent;)r=r.parent;return r.getStorage.apply(r,arguments)},a})(Xi),dT=(function(n){hn(a,n);function a(r){return n.call(this,"EntityStore.Stump",r,function(){},new ey(r.group.caching,r.group))||this}return a.prototype.removeLayer=function(){return this},a.prototype.merge=function(r,l){return this.parent.merge(r,l)},a})(oa);function pT(n,a,r){var l=n[r],o=a[r];return Ne(l,o)?l:o}function Zi(n){return!!(n instanceof Xi&&n.group.caching)}function vT(n){return Ze(n)?$e(n)?n.slice(0):x({__proto__:Object.getPrototypeOf(n)},n):n}var ny=(function(){function n(){this.known=new(Is?WeakSet:Set),this.pool=new wn(Ba),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return n.prototype.isKnown=function(a){return Ze(a)&&this.known.has(a)},n.prototype.pass=function(a){if(Ze(a)){var r=vT(a);return this.passes.set(r,a),r}return a},n.prototype.admit=function(a){var r=this;if(Ze(a)){var l=this.passes.get(a);if(l)return l;var o=Object.getPrototypeOf(a);switch(o){case Array.prototype:{if(this.known.has(a))return a;var s=a.map(this.admit,this),h=this.pool.lookupArray(s);return h.array||(this.known.add(h.array=s),globalThis.__DEV__!==!1&&Object.freeze(s)),h.array}case null:case Object.prototype:{if(this.known.has(a))return a;var d=Object.getPrototypeOf(a),v=[d],p=this.sortedKeys(a);v.push(p.json);var m=v.length;p.sorted.forEach(function(E){v.push(r.admit(a[E]))});var h=this.pool.lookupArray(v);if(!h.object){var g=h.object=Object.create(d);this.known.add(g),p.sorted.forEach(function(E,_){g[E]=v[m+_]}),globalThis.__DEV__!==!1&&Object.freeze(g)}return h.object}}}return a},n.prototype.sortedKeys=function(a){var r=Object.keys(a),l=this.pool.lookupArray(r);if(!l.keys){r.sort();var o=JSON.stringify(r);(l.keys=this.keysByJSON.get(o))||this.keysByJSON.set(o,l.keys={sorted:r,json:o})}return l.keys},n})();function ay(n){return[n.selectionSet,n.objectOrReference,n.context,n.context.canonizeResults]}var yT=(function(){function n(a){var r=this;this.knownResults=new(Ba?WeakMap:Map),this.config=Fa(a,{addTypename:a.addTypename!==!1,canonizeResults:Kv(a)}),this.canon=a.canon||new ny,this.executeSelectionSet=Bi(function(l){var o,s=l.context.canonizeResults,h=ay(l);h[3]=!s;var d=(o=r.executeSelectionSet).peek.apply(o,h);return d?s?x(x({},d),{result:r.canon.admit(d.result)}):d:(ty(l.context.store,l.enclosingRef.__ref),r.execSelectionSetImpl(l))},{max:this.config.resultCacheMaxSize||_n["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:ay,makeCacheKey:function(l,o,s,h){if(Zi(s.store))return s.store.makeCacheKey(l,je(o)?o.__ref:o,s.varString,h)}}),this.executeSubSelectedArray=Bi(function(l){return ty(l.context.store,l.enclosingRef.__ref),r.execSubSelectedArrayImpl(l)},{max:this.config.resultCacheMaxSize||_n["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(l){var o=l.field,s=l.array,h=l.context;if(Zi(h.store))return h.store.makeCacheKey(o,s,h.varString)}})}return n.prototype.resetCanon=function(){this.canon=new ny},n.prototype.diffQueryAgainstStore=function(a){var r=a.store,l=a.query,o=a.rootId,s=o===void 0?"ROOT_QUERY":o,h=a.variables,d=a.returnPartialData,v=d===void 0?!0:d,p=a.canonizeResults,m=p===void 0?this.config.canonizeResults:p,g=this.config.cache.policies;h=x(x({},Ws(Vp(l))),h);var S=xr(s),E=this.executeSelectionSet({selectionSet:Nr(l).selectionSet,objectOrReference:S,enclosingRef:S,context:x({store:r,query:l,policies:g,variables:h,varString:ta(h),canonizeResults:m},Wv(l,this.config.fragments))}),_;if(E.missing&&(_=[new Xv(mT(E.missing),E.missing,l,h)],!v))throw _[0];return{result:E.result,complete:!_,missing:_}},n.prototype.isFresh=function(a,r,l,o){if(Zi(o.store)&&this.knownResults.get(a)===l){var s=this.executeSelectionSet.peek(l,r,o,this.canon.isKnown(a));if(s&&a===s.result)return!0}return!1},n.prototype.execSelectionSetImpl=function(a){var r=this,l=a.selectionSet,o=a.objectOrReference,s=a.enclosingRef,h=a.context;if(je(o)&&!h.policies.rootTypenamesById[o.__ref]&&!h.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var d=h.variables,v=h.policies,p=h.store,m=p.getFieldValue(o,"__typename"),g=[],S,E=new ia;this.config.addTypename&&typeof m=="string"&&!v.rootIdsByTypename[m]&&g.push({__typename:m});function _(w,Q){var B;
70return w.missing&&(S=E.merge(S,(B={},B[Q]=w.missing,B))),w.result}var A=new Set(l.selections);A.forEach(function(w){var Q,B;if(Li(w,d))if(na(w)){var I=v.readField({fieldName:w.name.value,field:w,variables:h.variables,from:o},h),V=Rn(w);I===void 0?rc.added(w)||(S=E.merge(S,(Q={},Q[V]="Can't find field '".concat(w.name.value,"' on ").concat(je(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),Q))):$e(I)?I.length>0&&(I=_(r.executeSubSelectedArray({field:w,array:I,enclosingRef:s,context:h}),V)):w.selectionSet?I!=null&&(I=_(r.executeSelectionSet({selectionSet:w.selectionSet,objectOrReference:I,enclosingRef:je(I)?I:s,context:h}),V)):h.canonizeResults&&(I=r.canon.pass(I)),I!==void 0&&g.push((B={},B[V]=I,B))}else{var K=bu(w,h.lookupFragment);if(!K&&w.kind===$.FRAGMENT_SPREAD)throw Dt(10,w.name.value);K&&v.fragmentMatches(K,m)&&K.selectionSet.selections.forEach(A.add,A)}});var R=Ou(g),T={result:R,missing:S},z=h.canonizeResults?this.canon.admit(T):jr(T);return z.result&&this.knownResults.set(z.result,l),z},n.prototype.execSubSelectedArrayImpl=function(a){var r=this,l=a.field,o=a.array,s=a.enclosingRef,h=a.context,d,v=new ia;function p(m,g){var S;return m.missing&&(d=v.merge(d,(S={},S[g]=m.missing,S))),m.result}return l.selectionSet&&(o=o.filter(h.store.canRead)),o=o.map(function(m,g){return m===null?null:$e(m)?p(r.executeSubSelectedArray({field:l,array:m,enclosingRef:s,context:h}),g):l.selectionSet?p(r.executeSelectionSet({selectionSet:l.selectionSet,objectOrReference:m,enclosingRef:je(m)?m:s,context:h}),g):(globalThis.__DEV__!==!1&&gT(h.store,l,m),m)}),{result:h.canonizeResults?this.canon.admit(o):o,missing:d}},n})();function mT(n){try{JSON.stringify(n,function(a,r){if(typeof r=="string")throw r;return r})}catch(a){return a}}function gT(n,a,r){if(!a.selectionSet){var l=new Set([r]);l.forEach(function(o){Ze(o)&&(Z(!je(o),11,fT(n,o),a.name.value),Object.values(o).forEach(l.add,l))})}}var Cc=new Mr,ry=new WeakMap;function Ji(n){var a=ry.get(n);return a||ry.set(n,a={vars:new Set,dep:av()}),a}function iy(n){Ji(n).vars.forEach(function(a){return a.forgetCache(n)})}function bT(n){Ji(n).vars.forEach(function(a){return a.attachCache(n)})}function ST(n){var a=new Set,r=new Set,l=function(s){if(arguments.length>0){if(n!==s){n=s,a.forEach(function(v){Ji(v).dep.dirty(l),ET(v)});var h=Array.from(r);r.clear(),h.forEach(function(v){return v(n)})}}else{var d=Cc.getValue();d&&(o(d),Ji(d).dep(l))}return n};l.onNextChange=function(s){return r.add(s),function(){r.delete(s)}};var o=l.attachCache=function(s){return a.add(s),Ji(s).vars.add(l),l};return l.forgetCache=function(s){return a.delete(s)},l}function ET(n){n.broadcastWatches&&n.broadcastWatches()}var ly=Object.create(null);function wc(n){var a=JSON.stringify(n);return ly[a]||(ly[a]=Object.create(null))}function uy(n){var a=wc(n);return a.keyFieldsFn||(a.keyFieldsFn=function(r,l){var o=function(h,d){return l.readField(d,h)},s=l.keyObject=Rc(n,function(h){var d=Br(l.storeObject,h,o);return d===void 0&&r!==l.storeObject&&pt.call(r,h[0])&&(d=Br(r,h,cy)),Z(d!==void 0,5,h.join("."),r),d});return"".concat(l.typename,":").concat(JSON.stringify(s))})}function oy(n){var a=wc(n);return a.keyArgsFn||(a.keyArgsFn=function(r,l){var o=l.field,s=l.variables,h=l.fieldName,d=Rc(n,function(p){var m=p[0],g=m.charAt(0);if(g==="@"){if(o&&Kt(o.directives)){var S=m.slice(1),E=o.directives.find(function(T){return T.name.value===S}),_=E&&Eu(E,s);return _&&Br(_,p.slice(1))}return}if(g==="$"){var A=m.slice(1);if(s&&pt.call(s,A)){var R=p.slice(0);return R[0]=A,Br(s,R)}return}if(r)return Br(r,p)}),v=JSON.stringify(d);return(r||v!=="{}")&&(h+=":"+v),h})}function Rc(n,a){var r=new ia;return sy(n).reduce(function(l,o){var s,h=a(o);if(h!==void 0){for(var d=o.length-1;d>=0;--d)h=(s={},s[o[d]]=h,s);l=r.merge(l,h)}return l},Object.create(null))}function sy(n){var a=wc(n);if(!a.paths){var r=a.paths=[],l=[];n.forEach(function(o,s){$e(o)?(sy(o).forEach(function(h){return r.push(l.concat(h))}),l.length=0):(l.push(o),$e(n[s+1])||(r.push(l.slice(0)),l.length=0))})}return a.paths}function cy(n,a){return n[a]}function Br(n,a,r){return r=r||cy,fy(a.reduce(function l(o,s){return $e(o)?o.map(function(h){return l(h,s)}):o&&r(o,s)},n))}
70function fy(n){return Ze(n)?$e(n)?n.map(fy):Rc(Object.keys(n).sort(),function(a){return Br(n,a)}):n}function Nc(n){return n.args!==void 0?n.args:n.field?Eu(n.field,n.variables):null}var _T=function(){},hy=function(n,a){return a.fieldName},dy=function(n,a,r){var l=r.mergeObjects;return l(n,a)},py=function(n,a){return a},TT=(function(){function n(a){this.config=a,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=x({dataIdFromObject:Zv},a),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),a.possibleTypes&&this.addPossibleTypes(a.possibleTypes),a.typePolicies&&this.addTypePolicies(a.typePolicies)}return n.prototype.identify=function(a,r){var l,o=this,s=r&&(r.typename||((l=r.storeObject)===null||l===void 0?void 0:l.__typename))||a.__typename;if(s===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var h=r&&r.storeObject||a,d=x(x({},r),{typename:s,storeObject:h,readField:r&&r.readField||function(){var g=Mc(arguments,h);return o.readField(g,{store:o.cache.data,variables:g.variables})}}),v,p=s&&this.getTypePolicy(s),m=p&&p.keyFn||this.config.dataIdFromObject;return Oc.withValue(!0,function(){for(;m;){var g=m(x(x({},a),h),d);if($e(g))m=uy(g);else{v=g;break}}}),v=v?String(v):void 0,d.keyObject?[v,d.keyObject]:[v]},n.prototype.addTypePolicies=function(a){var r=this;Object.keys(a).forEach(function(l){var o=a[l],s=o.queryType,h=o.mutationType,d=o.subscriptionType,v=dn(o,["queryType","mutationType","subscriptionType"]);s&&r.setRootTypename("Query",l),h&&r.setRootTypename("Mutation",l),d&&r.setRootTypename("Subscription",l),pt.call(r.toBeAdded,l)?r.toBeAdded[l].push(v):r.toBeAdded[l]=[v]})},n.prototype.updateTypePolicy=function(a,r,l){var o=this.getTypePolicy(a),s=r.keyFields,h=r.fields;function d(v,p){v.merge=typeof p=="function"?p:p===!0?dy:p===!1?py:v.merge}d(o,r.merge),o.keyFn=s===!1?_T:$e(s)?uy(s):typeof s=="function"?s:o.keyFn,h&&Object.keys(h).forEach(function(v){var p=l[v];(!p||p?.typename!==a)&&(p=l[v]={typename:a});var m=h[v];if(typeof m=="function")p.read=m;else{var g=m.keyArgs,S=m.read,E=m.merge;p.keyFn=g===!1?hy:$e(g)?oy(g):typeof g=="function"?g:p.keyFn,typeof S=="function"&&(p.read=S),d(p,E)}p.read&&p.merge&&(p.keyFn=p.keyFn||hy)})},n.prototype.setRootTypename=function(a,r){r===void 0&&(r=a);var l="ROOT_"+a.toUpperCase(),o=this.rootTypenamesById[l];r!==o&&(Z(!o||o===a,6,a),o&&delete this.rootIdsByTypename[o],this.rootIdsByTypename[r]=l,this.rootTypenamesById[l]=r)},n.prototype.addPossibleTypes=function(a){var r=this;this.usingPossibleTypes=!0,Object.keys(a).forEach(function(l){r.getSupertypeSet(l,!0),a[l].forEach(function(o){r.getSupertypeSet(o,!0).add(l);var s=o.match(Pv);(!s||s[0]!==o)&&r.fuzzySubtypes.set(o,new RegExp(o))})})},n.prototype.getTypePolicy=function(a){var r=this;if(!pt.call(this.typePolicies,a)){var l=this.typePolicies[a]=Object.create(null);l.fields=Object.create(null);var o=this.supertypeMap.get(a);!o&&this.fuzzySubtypes.size&&(o=this.getSupertypeSet(a,!0),this.fuzzySubtypes.forEach(function(h,d){if(h.test(a)){var v=r.supertypeMap.get(d);v&&v.forEach(function(p){return o.add(p)})}})),o&&o.size&&o.forEach(function(h){var d=r.getTypePolicy(h),v=d.fields,p=dn(d,["fields"]);Object.assign(l,p),Object.assign(l.fields,v)})}var s=this.toBeAdded[a];return s&&s.length&&s.splice(0).forEach(function(h){r.updateTypePolicy(a,h,r.typePolicies[a].fields)}),this.typePolicies[a]},n.prototype.getFieldPolicy=function(a,r){if(a)return this.getTypePolicy(a).fields[r]},n.prototype.getSupertypeSet=function(a,r){var l=this.supertypeMap.get(a);return!l&&r&&this.supertypeMap.set(a,l=new Set),l},n.prototype.fragmentMatches=function(a,r,l,o){var s=this;if(!a.typeCondition)return!0;if(!r)return!1;var h=a.typeCondition.name.value;if(r===h)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(h))for(var d=this.getSupertypeSet(r,!0),v=[d],p=function(_){var A=s.getSupertypeSet(_,!1);A&&A.size&&v.indexOf(A)<0&&v.push(A)},m=!!(l&&this.fuzzySubtypes.size),g=!1,S=0;S<v.length;++S){var E=v[S];if(E.has(h))return d.has(h)||(g&&globalThis.__DEV__!==!1&&Z.warn(7,r,h),d.add(h)),!0;
70E.forEach(p),m&&S===v.length-1&&Dc(a.selectionSet,l,o)&&(m=!1,g=!0,this.fuzzySubtypes.forEach(function(_,A){var R=r.match(_);R&&R[0]===r&&p(A)}))}return!1},n.prototype.hasKeyArgs=function(a,r){var l=this.getFieldPolicy(a,r);return!!(l&&l.keyFn)},n.prototype.getStoreFieldName=function(a){var r=a.typename,l=a.fieldName,o=this.getFieldPolicy(r,l),s,h=o&&o.keyFn;if(h&&r)for(var d={typename:r,fieldName:l,field:a.field||null,variables:a.variables},v=Nc(a);h;){var p=h(v,d);if($e(p))h=oy(p);else{s=p||l;break}}return s===void 0&&(s=a.field?Q1(a.field,a.variables):Bp(l,Nc(a))),s===!1?l:l===ua(s)?s:l+":"+s},n.prototype.readField=function(a,r){var l=a.from;if(l){var o=a.field||a.fieldName;if(o){if(a.typename===void 0){var s=r.store.getFieldValue(l,"__typename");s&&(a.typename=s)}var h=this.getStoreFieldName(a),d=ua(h),v=r.store.getFieldValue(l,h),p=this.getFieldPolicy(a.typename,d),m=p&&p.read;if(m){var g=vy(this,l,a,r,r.store.getStorage(je(l)?l.__ref:l,h));return Cc.withValue(this.cache,m,[v,g])}return v}}},n.prototype.getReadFunction=function(a,r){var l=this.getFieldPolicy(a,r);return l&&l.read},n.prototype.getMergeFunction=function(a,r,l){var o=this.getFieldPolicy(a,r),s=o&&o.merge;return!s&&l&&(o=this.getTypePolicy(l),s=o&&o.merge),s},n.prototype.runMergeFunction=function(a,r,l,o,s){var h=l.field,d=l.typename,v=l.merge;return v===dy?yy(o.store)(a,r):v===py?r:(o.overwrite&&(a=void 0),v(a,r,vy(this,void 0,{typename:d,fieldName:h.name.value,field:h,variables:o.variables},o,s||Object.create(null))))},n})();function vy(n,a,r,l,o){var s=n.getStoreFieldName(r),h=ua(s),d=r.variables||l.variables,v=l.store,p=v.toReference,m=v.canRead;return{args:Nc(r),field:r.field||null,fieldName:h,storeFieldName:s,variables:d,isReference:je,toReference:p,storage:o,cache:n.cache,canRead:m,readField:function(){return n.readField(Mc(arguments,a,d),l)},mergeObjects:yy(l.store)}}function Mc(n,a,r){var l=n[0],o=n[1],s=n.length,h;return typeof l=="string"?h={fieldName:l,from:s>1?o:a}:(h=x({},l),pt.call(h,"from")||(h.from=a)),globalThis.__DEV__!==!1&&h.from===void 0&&globalThis.__DEV__!==!1&&Z.warn(8,dp(Array.from(n))),h.variables===void 0&&(h.variables=r),h}function yy(n){return function(r,l){if($e(r)||$e(l))throw Dt(9);if(Ze(r)&&Ze(l)){var o=n.getFieldValue(r,"__typename"),s=n.getFieldValue(l,"__typename"),h=o&&s&&o!==s;if(h)return l;if(je(r)&&Ur(l))return n.merge(r.__ref,l),r;if(Ur(r)&&je(l))return n.merge(r,l.__ref),l;if(Ur(r)&&Ur(l))return x(x({},r),l)}return l}}function zc(n,a,r){var l="".concat(a).concat(r),o=n.flavors.get(l);return o||n.flavors.set(l,o=n.clientOnly===a&&n.deferred===r?n:x(x({},n),{clientOnly:a,deferred:r})),o}var OT=(function(){function n(a,r,l){this.cache=a,this.reader=r,this.fragments=l}return n.prototype.writeToStore=function(a,r){var l=this,o=r.query,s=r.result,h=r.dataId,d=r.variables,v=r.overwrite,p=Ia(o),m=hT();d=x(x({},Ws(p)),d);var g=x(x({store:a,written:Object.create(null),merge:function(E,_){return m.merge(E,_)},variables:d,varString:ta(d)},Wv(o,this.fragments)),{overwrite:!!v,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),S=this.processSelectionSet({result:s||Object.create(null),dataId:h,selectionSet:p.selectionSet,mergeTree:{map:new Map},context:g});if(!je(S))throw Dt(12,s);return g.incomingById.forEach(function(E,_){var A=E.storeObject,R=E.mergeTree,T=E.fieldNodeSet,z=xr(_);if(R&&R.map.size){var w=l.applyMerges(R,z,A,g);if(je(w))return;A=w}if(globalThis.__DEV__!==!1&&!g.overwrite){var Q=Object.create(null);T.forEach(function(V){V.selectionSet&&(Q[V.name.value]=!0)});var B=function(V){return Q[ua(V)]===!0},I=function(V){var K=R&&R.map.get(V);return!!(K&&K.info&&K.info.merge)};Object.keys(A).forEach(function(V){B(V)&&!I(V)&&DT(z,A,V,g.store)})}a.merge(_,A)}),a.retain(S.__ref),S},n.prototype.processSelectionSet=function(a){var r=this,l=a.dataId,o=a.result,s=a.selectionSet,h=a.context,d=a.mergeTree,v=this.cache.policies,p=Object.create(null),m=l&&v.rootTypenamesById[l]||Ps(o,s,h.fragmentMap)||l&&h.store.get(l,"__typename");typeof m=="string"&&(p.__typename=m);var g=function(){var w=Mc(arguments,p,h.variables);if(je(w.from)){var Q=h.incomingById.get(w.from.__ref);
70if(Q){var B=v.readField(x(x({},w),{from:Q.storeObject}),h);if(B!==void 0)return B}}return v.readField(w,h)},S=new Set;this.flattenFields(s,o,h,m).forEach(function(w,Q){var B,I=Rn(Q),V=o[I];if(S.add(Q),V!==void 0){var K=v.getStoreFieldName({typename:m,fieldName:Q.name.value,field:Q,variables:w.variables}),se=gy(d,K),_e=r.processFieldValue(V,Q,Q.selectionSet?zc(w,!1,!1):w,se),Ee=void 0;Q.selectionSet&&(je(_e)||Ur(_e))&&(Ee=g("__typename",_e));var de=v.getMergeFunction(m,Q.name.value,Ee);de?se.info={field:Q,typename:m,merge:de}:by(d,K),p=w.merge(p,(B={},B[K]=_e,B))}else globalThis.__DEV__!==!1&&!w.clientOnly&&!w.deferred&&!rc.added(Q)&&!v.getReadFunction(m,Q.name.value)&&globalThis.__DEV__!==!1&&Z.error(13,Rn(Q),o)});try{var E=v.identify(o,{typename:m,selectionSet:s,fragmentMap:h.fragmentMap,storeObject:p,readField:g}),_=E[0],A=E[1];l=l||_,A&&(p=h.merge(p,A))}catch(w){if(!l)throw w}if(typeof l=="string"){var R=xr(l),T=h.written[l]||(h.written[l]=[]);if(T.indexOf(s)>=0||(T.push(s),this.reader&&this.reader.isFresh(o,R,s,h)))return R;var z=h.incomingById.get(l);return z?(z.storeObject=h.merge(z.storeObject,p),z.mergeTree=kc(z.mergeTree,d),S.forEach(function(w){return z.fieldNodeSet.add(w)})):h.incomingById.set(l,{storeObject:p,mergeTree:Mu(d)?void 0:d,fieldNodeSet:S}),R}return p},n.prototype.processFieldValue=function(a,r,l,o){var s=this;return!r.selectionSet||a===null?globalThis.__DEV__!==!1?bv(a):a:$e(a)?a.map(function(h,d){var v=s.processFieldValue(h,r,l,gy(o,d));return by(o,d),v}):this.processSelectionSet({result:a,selectionSet:r.selectionSet,context:l,mergeTree:o})},n.prototype.flattenFields=function(a,r,l,o){o===void 0&&(o=Ps(r,a,l.fragmentMap));var s=new Map,h=this.cache.policies,d=new wn(!1);return(function v(p,m){var g=d.lookup(p,m.clientOnly,m.deferred);g.visited||(g.visited=!0,p.selections.forEach(function(S){if(Li(S,l.variables)){var E=m.clientOnly,_=m.deferred;if(!(E&&_)&&Kt(S.directives)&&S.directives.forEach(function(T){var z=T.name.value;if(z==="client"&&(E=!0),z==="defer"){var w=Eu(T,l.variables);(!w||w.if!==!1)&&(_=!0)}}),na(S)){var A=s.get(S);A&&(E=E&&A.clientOnly,_=_&&A.deferred),s.set(S,zc(l,E,_))}else{var R=bu(S,l.lookupFragment);if(!R&&S.kind===$.FRAGMENT_SPREAD)throw Dt(14,S.name.value);R&&h.fragmentMatches(R,o,r,l.variables)&&v(R.selectionSet,zc(l,E,_))}}}))})(a,l),s},n.prototype.applyMerges=function(a,r,l,o,s){var h,d=this;if(a.map.size&&!je(l)){var v=!$e(l)&&(je(r)||Ur(r))?r:void 0,p=l;v&&!s&&(s=[je(v)?v.__ref:v]);var m,g=function(S,E){return $e(S)?typeof E=="number"?S[E]:void 0:o.store.getFieldValue(S,String(E))};a.map.forEach(function(S,E){var _=g(v,E),A=g(p,E);if(A!==void 0){s&&s.push(E);var R=d.applyMerges(S,_,A,o,s);R!==A&&(m=m||new Map,m.set(E,R)),s&&Z(s.pop()===E)}}),m&&(l=$e(p)?p.slice(0):x({},p),m.forEach(function(S,E){l[E]=S}))}return a.info?this.cache.policies.runMergeFunction(r,l,a.info,o,s&&(h=o.store).getStorage.apply(h,s)):l},n})(),my=[];function gy(n,a){var r=n.map;return r.has(a)||r.set(a,my.pop()||{map:new Map}),r.get(a)}function kc(n,a){if(n===a||!a||Mu(a))return n;if(!n||Mu(n))return a;var r=n.info&&a.info?x(x({},n.info),a.info):n.info||a.info,l=n.map.size&&a.map.size,o=l?new Map:n.map.size?n.map:a.map,s={info:r,map:o};if(l){var h=new Set(a.map.keys());n.map.forEach(function(d,v){s.map.set(v,kc(d,a.map.get(v))),h.delete(v)}),h.forEach(function(d){s.map.set(d,kc(a.map.get(d),n.map.get(d)))})}return s}function Mu(n){return!n||!(n.info||n.map.size)}function by(n,a){var r=n.map,l=r.get(a);l&&Mu(l)&&(my.push(l),r.delete(a))}var Sy=new Set;function DT(n,a,r,l){var o=function(g){var S=l.getFieldValue(g,r);return typeof S=="object"&&S},s=o(n);if(s){var h=o(a);if(h&&!je(s)&&!Ne(s,h)&&!Object.keys(s).every(function(g){return l.getFieldValue(h,g)!==void 0})){var d=l.getFieldValue(n,"__typename")||l.getFieldValue(a,"__typename"),v=ua(r),p="".concat(d,".").concat(v);if(!Sy.has(p)){Sy.add(p);var m=[];!$e(s)&&!$e(h)&&[s,h].forEach(function(g){var S=l.getFieldValue(g,"__typename");typeof S=="string"&&!m.includes(S)&&m.push(S)}),globalThis.__DEV__!==!1&&Z.warn(15,v,d,m.length?"either ensure all objects of type "+m.join(" and ")+" have an ID or a custom merge function, or ":"",p,x({},s),x({},h))}}}}var Ey=(function(n){hn(a,n);function a(r){r===void 0&&(r={});var l=n.call(this)||this;return l.watches=new Set,l.addTypenameTransform=new iv(rc),l.assumeImmutableResults=!0,l.makeVar=ST,l.txCount=0,globalThis.__DEV__!==!1&&(Pe(r,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),Pe(r,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),l.config=cT(r),l.addTypename=!!l.config.addTypename,l.policies=new TT({cache:l,dataIdFromObject:l.config.dataIdFromObject,possibleTypes:l.config.possibleTypes,typePolicies:l.config.typePolicies}
70),l.init(),l}return a.prototype.init=function(){var r=this.data=new Xi.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=r.stump,this.resetResultCache()},a.prototype.resetResultCache=function(r){var l=this,o=this.storeReader,s=this.config.fragments;this.addTypenameTransform.resetCache(),s?.resetCaches(),this.storeWriter=new OT(this,this.storeReader=new yT({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Kv(this.config),canon:r?void 0:o&&o.canon,fragments:s}),s),this.maybeBroadcastWatch=Bi(function(h,d){return l.broadcastWatch(h,d)},{max:this.config.resultCacheMaxSize||_n["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(h){var d=h.optimistic?l.optimisticData:l.data;if(Zi(d)){var v=h.optimistic,p=h.id,m=h.variables;return d.makeCacheKey(h.query,h.callback,ta({optimistic:v,id:p,variables:m}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(h){return h.resetCaching()})},a.prototype.restore=function(r){return this.init(),r&&this.data.replace(r),this},a.prototype.extract=function(r){return r===void 0&&(r=!1),(r?this.optimisticData:this.data).extract()},a.prototype.read=function(r){globalThis.__DEV__!==!1&&Pe(r,"canonizeResults","cache.read");var l=r.returnPartialData,o=l===void 0?!1:l;try{return this.storeReader.diffQueryAgainstStore(x(x({},r),{store:r.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:o})).result||null}catch(s){if(s instanceof Xv)return null;throw s}},a.prototype.write=function(r){try{return++this.txCount,this.storeWriter.writeToStore(this.data,r)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},a.prototype.modify=function(r){if(pt.call(r,"id")&&!r.id)return!1;var l=r.optimistic?this.optimisticData:this.data;try{return++this.txCount,l.modify(r.id||"ROOT_QUERY",r.fields)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},a.prototype.diff=function(r){return globalThis.__DEV__!==!1&&Pe(r,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore(x(x({},r),{store:r.optimistic?this.optimisticData:this.data,rootId:r.id||"ROOT_QUERY",config:this.config}))},a.prototype.watch=function(r){var l=this;return this.watches.size||bT(this),this.watches.add(r),r.immediate&&this.maybeBroadcastWatch(r),function(){l.watches.delete(r)&&!l.watches.size&&iy(l),l.maybeBroadcastWatch.forget(r)}},a.prototype.gc=function(r){globalThis.__DEV__!==!1&&Pe(r||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),ta.reset(),ra.reset();var l=this.optimisticData.gc();return r&&!this.txCount&&(r.resetResultCache?this.resetResultCache(r.resetResultIdentities):r.resetResultIdentities&&this.storeReader.resetCanon()),l},a.prototype.retain=function(r,l){return(l?this.optimisticData:this.data).retain(r)},a.prototype.release=function(r,l){return(l?this.optimisticData:this.data).release(r)},a.prototype.identify=function(r){if(je(r))return r.__ref;try{return this.policies.identify(r)[0]}catch(l){globalThis.__DEV__!==!1&&Z.warn(l)}},a.prototype.evict=function(r){if(!r.id){if(pt.call(r,"id"))return!1;r=x(x({},r),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(r,this.data)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},a.prototype.reset=function(r){var l=this;return this.init(),ta.reset(),r&&r.discardWatches?(this.watches.forEach(function(o){return l.maybeBroadcastWatch.forget(o)}),this.watches.clear(),iy(this)):this.broadcastWatches(),Promise.resolve()},a.prototype.removeOptimistic=function(r){var l=this.optimisticData.removeLayer(r);l!==this.optimisticData&&(this.optimisticData=l,this.broadcastWatches())},a.prototype.batch=function(r){var l=this,o=r.update,s=r.optimistic,h=s===void 0?!0:s,d=r.removeOptimistic,v=r.onWatchUpdated,p,m=function(S){var E=l,_=E.data,A=E.optimisticData;++l.txCount,S&&(l.data=l.optimisticData=S);try{return p=o(l)}finally{--l.txCount,l.data=_,l.optimisticData=A}},g=new Set;return v&&!this.txCount&&this.broadcastWatches(x(x({},r),{onWatchUpdated:function(S){return g.add(S),!1}})),typeof h=="string"?this.optimisticData=this.optimisticData.addLayer(h,m):h===!1?m(this.data):m(),typeof d=="str
70ing"&&(this.optimisticData=this.optimisticData.removeLayer(d)),v&&g.size?(this.broadcastWatches(x(x({},r),{onWatchUpdated:function(S,E){var _=v.call(this,S,E);return _!==!1&&g.delete(S),_}})),g.size&&g.forEach(function(S){return l.maybeBroadcastWatch.dirty(S)})):this.broadcastWatches(r),p},a.prototype.performTransaction=function(r,l){return this.batch({update:r,optimistic:l||l!==null})},a.prototype.transformDocument=function(r){return this.addTypenameToDocument(this.addFragmentsToDocument(r))},a.prototype.fragmentMatches=function(r,l){return this.policies.fragmentMatches(r,l)},a.prototype.lookupFragment=function(r){var l;return((l=this.config.fragments)===null||l===void 0?void 0:l.lookup(r))||null},a.prototype.broadcastWatches=function(r){var l=this;this.txCount||this.watches.forEach(function(o){return l.maybeBroadcastWatch(o,r)})},a.prototype.addFragmentsToDocument=function(r){var l=this.config.fragments;return l?l.transform(r):r},a.prototype.addTypenameToDocument=function(r){return this.addTypename?this.addTypenameTransform.transformDocument(r):r},a.prototype.broadcastWatch=function(r,l){var o=this,s=r.lastDiff,h=dt("canonizeResults",function(){return o.diff(r)});l&&(r.optimistic&&typeof l.optimistic=="string"&&(h.fromOptimisticTransaction=!0),l.onWatchUpdated&&l.onWatchUpdated.call(this,r,h,s)===!1)||(!s||!Ne(s.result,h.result))&&r.callback(r.lastDiff=h,s)},a})(Yv);globalThis.__DEV__!==!1&&(Ey.prototype.getMemoryInternals=S1);var we;(function(n){n[n.loading=1]="loading",n[n.setVariables=2]="setVariables",n[n.fetchMore=3]="fetchMore",n[n.refetch=4]="refetch",n[n.poll=6]="poll",n[n.ready=7]="ready",n[n.error=8]="error"})(we||(we={}));function Vr(n){return n?n<7:!1}var _y=Object.assign,AT=Object.hasOwnProperty,Ki=(function(n){hn(a,n);function a(r){var l=r.queryManager,o=r.queryInfo,s=r.options,h=this,d=a.inactiveOnCreation.getValue();h=n.call(this,function(T){h._getOrCreateQuery();try{var z=T._subscription._observer;z&&!z.error&&(z.error=xT)}catch{}var w=!h.observers.size;h.observers.add(T);var Q=h.last;return Q&&Q.error?T.error&&T.error(Q.error):Q&&Q.result&&T.next&&T.next(h.maskResult(Q.result)),w&&h.reobserve().catch(function(){}),function(){h.observers.delete(T)&&!h.observers.size&&h.tearDownQuery()}})||this,h.observers=new Set,h.subscriptions=new Set,h.dirty=!1,h._getOrCreateQuery=function(){return d&&(l.queries.set(h.queryId,o),d=!1),h.queryManager.getOrCreateQuery(h.queryId)},h.queryInfo=o,h.queryManager=l,h.waitForOwnResult=Lc(s.fetchPolicy),h.isTornDown=!1,h.subscribeToMore=h.subscribeToMore.bind(h),h.maskResult=h.maskResult.bind(h);var v=l.defaultOptions.watchQuery,p=v===void 0?{}:v,m=p.fetchPolicy,g=m===void 0?"cache-first":m,S=s.fetchPolicy,E=S===void 0?g:S,_=s.initialFetchPolicy,A=_===void 0?E==="standby"?g:E:_;h.options=x(x({},s),{initialFetchPolicy:A,fetchPolicy:E}),h.queryId=o.queryId||l.generateQueryId();var R=Ia(h.query);return h.queryName=R&&R.name&&R.name.value,h}return Object.defineProperty(a.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),a.prototype.result=function(){var r=this;return globalThis.__DEV__!==!1&&la("observableQuery.result",function(){globalThis.__DEV__!==!1&&Z.warn(23)}),new Promise(function(l,o){var s={next:function(d){l(d),r.observers.delete(s),r.observers.size||r.queryManager.removeQuery(r.queryId),setTimeout(function(){h.unsubscribe()},0)},error:o},h=r.subscribe(s)})},a.prototype.resetDiff=function(){this.queryInfo.resetDiff()},a.prototype.getCurrentFullResult=function(r){var l=this;r===void 0&&(r=!0);var o=dt("getLastResult",function(){return l.getLastResult(!0)}),s=this.queryInfo.networkStatus||o&&o.networkStatus||we.ready,h=x(x({},o),{loading:Vr(s),networkStatus:s}),d=this.options.fetchPolicy,v=d===void 0?"cache-first":d;if(!(Lc(v)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var p=this.queryInfo.getDiff();(p.complete||this.options.returnPartialData)&&(h.data=p.result),Ne(h.data,{})&&(h.data=void 0),p.complete?(delete h.partial,p.complete&&h.networkStatus===we.loading&&(v==="cache-first"||v==="cache-only")&&(h.networkStatus=we.ready,h.loading=!1)):h.partial=!0,h.networkStatus===we.ready&&(h.error||h.errors)&&(h.networkStatus=we.error),globalThis.__DEV__!==!1&&!p.complete&&!this.options.partialRefetch&&!h.loading&&!h.data&&!h.error&&Ty(p.missing)}return r&&this.updateLastResult(h),h},a.prototype.getCurrentResult=function(r){return r===void 0&&(r=!0),this.maskResult(this.getCurrentFullResult(r))},a.prototype.isDifferentFromLastResult=function(r,l){if(!this.last)return!0;var o=this.queryManager.getDocumentInfo(this.query),s=this.queryManager.dataMasking,h=s?o.nonReactiveQuery:this.query,d=s||o.hasNonreactiveDirective?!Qv(h,this.last.result,r,this.variables):!Ne(this.last.result,r);return d||l&&!Ne(this.last.variables,l)},a.prototype.getLast=function(r,l){var o=this.last;if(o&&o[r]&&(!l||Ne(o.variables,this.variables)))return o[r]},a.prototype.getLastResult=function(r){return globalThis.__DEV__!==!1&&la("getLastResult",function(){globalThis.__DEV__!==!1&&Z.warn(24)}),this.getLast("result",r)},a.prototype.getLastError=function(r){return globalThis.__DEV__!==!1&&la("getLastError",function(){globalThis.__DEV__!==!1&&Z.warn(25)}),this.getLast("error",r)},a.prototype.resetLastResults=function(){globalThis.__DEV__!==!1&&la("resetLastResults",function(){globalThis.__DEV__!==!1&&Z.warn(26)}),delete this.last,this.isTornDown=!1},a.prototype.resetQueryStoreErrors=function(){globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&Z.warn(27),this.queryManager.resetErrors(this.queryId)},a.prototype.refetch=function(r){var l,o={pollInterval:0},s=this.options.fetchPolicy;if(s==="no-cache"?o.fetchPolicy="no-cache":o.fetchPolicy="network-only",globalThis.__DEV__!==!1&&r&&AT.call(r,"variables")){var h=Vp(this.query),d=h.variableDefinitions;(!d||!d.some(function(v){return v.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&Z.warn(28,r,((l=h.name)===null||l===void 0?void 0:l.value)||h)}return r&&!Ne(this.options.variables,r)&&(o.variables=this.options.variables=x(x({},this.options.variables),r)),this.queryInfo.resetLastWrite(),this.reobserve(o,we.refetch)},a.prototype.fetchMore=function(r){var l=this,o=x(x({},r.query?r:x(x(x(x({},this.options),{query:this.options.query}),r),{variables:x(x({},this.options.variables),r.variables)})),{fetchPolicy:"no-cache"});
70o.query=this.transformDocument(o.query);var s=this.queryManager.generateQueryId();this.lastQuery=r.query?this.transformDocument(this.options.query):o.query;var h=this.queryInfo,d=h.networkStatus;h.networkStatus=we.fetchMore,o.notifyOnNetworkStatusChange&&this.observe();var v=new Set,p=r?.updateQuery,m=this.options.fetchPolicy!=="no-cache";return m||Z(p,29),this.queryManager.fetchQuery(s,o,we.fetchMore).then(function(g){if(l.queryManager.removeQuery(s),h.networkStatus===we.fetchMore&&(h.networkStatus=d),m)l.queryManager.cache.batch({update:function(_){var A=r.updateQuery;A?_.updateQuery({query:l.query,variables:l.variables,returnPartialData:!0,optimistic:!1},function(R){return A(R,{fetchMoreResult:g.data,variables:o.variables})}):_.writeQuery({query:o.query,variables:o.variables,data:g.data})},onWatchUpdated:function(_){v.add(_.query)}});else{var S=l.getLast("result"),E=p(S.data,{fetchMoreResult:g.data,variables:o.variables});l.reportResult(x(x({},S),{networkStatus:d,loading:Vr(d),data:E}),l.variables)}return l.maskResult(g)}).finally(function(){m&&!v.has(l.query)&&l.reobserveCacheFirst()})},a.prototype.subscribeToMore=function(r){var l=this,o=this.queryManager.startGraphQLSubscription({query:r.document,variables:r.variables,context:r.context}).subscribe({next:function(s){var h=r.updateQuery;h&&l.updateQuery(function(d,v){return h(d,x({subscriptionData:s},v))})},error:function(s){if(r.onError){r.onError(s);return}globalThis.__DEV__!==!1&&Z.error(30,s)}});return this.subscriptions.add(o),function(){l.subscriptions.delete(o)&&o.unsubscribe()}},a.prototype.setOptions=function(r){return globalThis.__DEV__!==!1&&(Pe(r,"canonizeResults","setOptions"),la("setOptions",function(){globalThis.__DEV__!==!1&&Z.warn(31)})),this.reobserve(r)},a.prototype.silentSetOptions=function(r){var l=Fa(this.options,r||{});_y(this.options,l)},a.prototype.setVariables=function(r){var l=this;return Ne(this.variables,r)?this.observers.size?dt("observableQuery.result",function(){return l.result()}):Promise.resolve():(this.options.variables=r,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:r},we.setVariables):Promise.resolve())},a.prototype.updateQuery=function(r){var l=this.queryManager,o=l.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),s=o.result,h=o.complete,d=r(s,{variables:this.variables,complete:!!h,previousData:s});d&&(l.cache.writeQuery({query:this.options.query,data:d,variables:this.variables}),l.broadcastQueries())},a.prototype.startPolling=function(r){this.options.pollInterval=r,this.updatePolling()},a.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},a.prototype.applyNextFetchPolicy=function(r,l){if(l.nextFetchPolicy){var o=l.fetchPolicy,s=o===void 0?"cache-first":o,h=l.initialFetchPolicy,d=h===void 0?s:h;s==="standby"||(typeof l.nextFetchPolicy=="function"?l.fetchPolicy=l.nextFetchPolicy(s,{reason:r,options:l,observable:this,initialFetchPolicy:d}):r==="variables-changed"?l.fetchPolicy=d:l.fetchPolicy=l.nextFetchPolicy)}return l.fetchPolicy},a.prototype.fetch=function(r,l,o){var s=this._getOrCreateQuery();return s.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(s,r,l,o)},a.prototype.updatePolling=function(){var r=this;if(!this.queryManager.ssrMode){var l=this,o=l.pollingInfo,s=l.options.pollInterval;if(!s||!this.hasObservers()){o&&(clearTimeout(o.timeout),delete this.pollingInfo);return}if(!(o&&o.interval===s)){Z(s,32);var h=o||(this.pollingInfo={});h.interval=s;var d=function(){var p,m;r.pollingInfo&&(!Vr(r.queryInfo.networkStatus)&&!(!((m=(p=r.options).skipPollAttempt)===null||m===void 0)&&m.call(p))?r.reobserve({fetchPolicy:r.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},we.poll).then(v,v):v())},v=function(){var p=r.pollingInfo;p&&(clearTimeout(p.timeout),p.timeout=setTimeout(d,p.interval))};v()}}},a.prototype.updateLastResult=function(r,l){var o=this;l===void 0&&(l=this.variables);var s=dt("getLastError",function(){return o.getLastError()});return s&&this.last&&!Ne(l,this.last.variables)&&(s=void 0),this.last=x({result:this.queryManager.assumeImmutableResults?r:bv(r),variables:l},s?{error:s}:null)},a.prototype.reobserveAsConcast=function(r,l){var o=this;this.isTornDown=!1;
70var s=l===we.refetch||l===we.fetchMore||l===we.poll,h=this.options.variables,d=this.options.fetchPolicy,v=Fa(this.options,r||{}),p=s?v:_y(this.options,v),m=this.transformDocument(p.query);this.lastQuery=m,s||(this.updatePolling(),r&&r.variables&&!Ne(r.variables,h)&&p.fetchPolicy!=="standby"&&(p.fetchPolicy===d||typeof p.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",p),l===void 0&&(l=we.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Lc(p.fetchPolicy));var g=function(){o.concast===_&&(o.waitForOwnResult=!1)},S=p.variables&&x({},p.variables),E=this.fetch(p,l,m),_=E.concast,A=E.fromLink,R={next:function(T){Ne(o.variables,S)&&(g(),o.reportResult(T,S))},error:function(T){Ne(o.variables,S)&&(Rv(T)||(T=new Qt({networkError:T})),g(),o.reportError(T,S))}};return!s&&(A||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=_,this.observer=R),_.addObserver(R),_},a.prototype.reobserve=function(r,l){return h_(this.reobserveAsConcast(r,l).promise.then(this.maskResult))},a.prototype.resubscribeAfterError=function(){for(var r=this,l=[],o=0;o<arguments.length;o++)l[o]=arguments[o];var s=this.last;dt("resetLastResults",function(){return r.resetLastResults()});var h=this.subscribe.apply(this,l);return this.last=s,h},a.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},a.prototype.reportResult=function(r,l){var o=this,s=dt("getLastError",function(){return o.getLastError()}),h=this.isDifferentFromLastResult(r,l);(s||!r.partial||this.options.returnPartialData)&&this.updateLastResult(r,l),(s||h)&&Fi(this.observers,"next",this.maskResult(r))},a.prototype.reportError=function(r,l){var o=this,s=x(x({},dt("getLastResult",function(){return o.getLastResult()})),{error:r,errors:r.graphQLErrors,networkStatus:we.error,loading:!1});this.updateLastResult(s,l),Fi(this.observers,"error",this.last.error=r)},a.prototype.hasObservers=function(){return this.observers.size>0},a.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(r){return r.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},a.prototype.transformDocument=function(r){return this.queryManager.transform(r)},a.prototype.maskResult=function(r){return r&&"data"in r?x(x({},r),{data:this.queryManager.maskOperation({document:this.query,data:r.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):r},a.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},a.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},a.prototype.scheduleNotify=function(){var r=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0)))},a.prototype.notify=function(){if(this.cancelNotifyTimeout(),this.dirty&&(this.options.fetchPolicy=="cache-only"||this.options.fetchPolicy=="cache-and-network"||!Vr(this.queryInfo.networkStatus))){var r=this.queryInfo.getDiff();r.fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()}this.dirty=!1},a.prototype.reobserveCacheFirst=function(){var r=this.options,l=r.fetchPolicy,o=r.nextFetchPolicy;return l==="cache-and-network"||l==="network-only"?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(s,h){return this.nextFetchPolicy=o,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(s,h):l}}):this.reobserve()},a.inactiveOnCreation=new Mr,a})(Be);Sv(Ki);function xT(n){globalThis.__DEV__!==!1&&Z.error(33,n.message,n.stack)}function Ty(n){globalThis.__DEV__!==!1&&n&&globalThis.__DEV__!==!1&&Z.debug(34,n)}function Lc(n){return n==="network-only"||n==="no-cache"||n==="standby"}var Ir=new(Ba?WeakMap:Map);function jc(n,a){var r=n[a];typeof r=="function"&&(n[a]=function(){return Ir.set(n,(Ir.get(n)+1)%1e15),r.apply(this,arguments)})}var qc=(function(){function n(a,r){r===void 0&&(r=a.generateQueryId()),this.queryId=r,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var l=this.cache=a.cache;Ir.has(l)||(Ir.set(l,0),jc(l,"evict"),jc(l,"modify"),jc(l,"reset"))}return n.prototype.init=function(a){var r=a.networkStatus||we.loading;return this.variables&&this.networkStatus!==we.loading&&!Ne(this.variables,a.variables)&&(r=we.setVariables),Ne(a.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:a.document,variables:a.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:r}),a.observableQuery&&this.setObservableQuery(a.observableQuery),a.lastRequestId&&(this.lastRequestId=a.lastRequestId),this},n.prototype.resetDiff=function(){this.lastDiff=void 0},n.prototype.getDiff=function(){var a=this,r=this.getDiffOptions();if(this.lastDiff&&Ne(r,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var l=this.observableQuery;if(l&&l.options.fetchPolicy==="no-cache")return{complete:!1};var o=dt("canonizeResults",function(){return a.cache.diff(r)});return this.updateLastDiff(o,r),o},n.prototype.updateLastDiff=function(a,r){this.lastDiff=a?{diff:a,options:r||this.getDiffOptions()}:void 0},n.prototype.getDiffOptions=function(a){var r;return a===void 0&&(a=this.variables),{query:this.document,variables:a,returnPartialData:!0,optimistic:!0,canonizeResults:(r=this.observableQuery)===null||r===void 0?void 0:r.options.canonizeResults}},n.prototype.setDiff=function(a){var r=this,l,o=this.lastDiff&&this.lastDiff.diff;a&&!a.complete&&dt("getLastError",function(){var s;return(s=r.observableQuery)===null||s===void 0?void 0:s.getLastError()})||(this.updateLastDiff(a),Ne(o&&o.result,a&&a.result)||(l=this.observableQuery)===null||l===void 0||l.scheduleNotify())},n.prototype.setObservableQuery=function(a){a!==this.observableQuery&&(this.observableQuery=a,a&&(a.queryInfo=this))},n.prototype.stop=function(){var a;if(!this.stopped){this.stopped=!0,(a=this.observableQuery)===null||a===void 0||a.resetNotifications(),this.cancel();var r=this.observableQuery;r&&r.stopPolling()}},n.prototype.cancel=function(){var a;(a=this.cancelWatch)===null||a===void 0||a.call(this),this.cancelWatch=void 0},n.prototype.updateWatch=function(a){var r=this;a===void 0&&(a=this.variables);var l=this.observableQuery;if(!(l&&l.options.fetchPolicy==="no-cache")){var o=x(x({},this.getDiffOptions(a)),{watcher:this,callback:function(s){return r.setDiff(s)}});(!this.lastWatch||!Ne(o,this.lastWatch))&&(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=o))}},n.prototype.resetLastWrite=function(){this.lastWrite=void 0},n.prototype.shouldWrite=function(a,r){var l=this.lastWrite;return!(l&&l.dmCount===Ir.get(this.cache)&&Ne(r,l.variables)&&Ne(a.data,l.result.data))},n.prototype.markResult=function(a,r,l,o){var s=this,h,d=new ia,v=Kt(a.errors)?a.errors.slice(0):[];if((h=this.observableQuery)===null||h===void 0||h.resetNotifications(),"incremental"in a&&Kt(a.incremental)){var p=_v(this.getDiff().result,a);a.data=p}else if("hasNext"in a&&a.hasNext){var m=this.getDiff();a.data=d.merge(m.result,a.data)}this.graphQLErrors=v,l.fetchPolicy==="no-cache"?this.updateLastDiff({result:a.data,complete:!0},this.getDiffOptions(l.variables)):o!==0&&(Qc(a,l.errorPolicy)?this.cache.performTransaction(function(g){if(s.shouldWrite(
70a,l.variables))g.writeQuery({query:r,data:a.data,variables:l.variables,overwrite:o===1}),s.lastWrite={result:a,variables:l.variables,dmCount:Ir.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete){a.data=s.lastDiff.diff.result;return}var S=s.getDiffOptions(l.variables),E=dt("canonizeResults",function(){return g.diff(S)});!s.stopped&&Ne(s.variables,l.variables)&&s.updateWatch(l.variables),s.updateLastDiff(E,S),E.complete&&(a.data=E.result)}):this.lastWrite=void 0)},n.prototype.markReady=function(){return this.networkError=null,this.networkStatus=we.ready},n.prototype.markError=function(a){var r;return this.networkStatus=we.error,this.lastWrite=void 0,(r=this.observableQuery)===null||r===void 0||r.resetNotifications(),a.graphQLErrors&&(this.graphQLErrors=a.graphQLErrors),a.networkError&&(this.networkError=a.networkError),a},n})();function Qc(n,a){a===void 0&&(a="none");var r=a==="ignore"||a==="all",l=!xu(n);return!l&&r&&n.data&&(l=!0),l}var CT=Object.prototype.hasOwnProperty,Oy=Object.create(null),wT=(function(){function n(a){var r=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Xs(_n["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new wn(!1),this.noCacheWarningsByQueryId=new Set;var l=new iv(function(s){return r.cache.transformDocument(s)},{cache:!1});this.cache=a.cache,this.link=a.link,this.defaultOptions=a.defaultOptions,this.queryDeduplication=a.queryDeduplication,this.clientAwareness=a.clientAwareness,this.localState=a.localState,this.ssrMode=a.ssrMode,this.assumeImmutableResults=a.assumeImmutableResults,this.dataMasking=a.dataMasking;var o=a.documentTransform;this.documentTransform=o?l.concat(o).concat(l):l,this.defaultContext=a.defaultContext||Object.create(null),(this.onBroadcast=a.onBroadcast)&&(this.mutationStore=Object.create(null))}return n.prototype.stop=function(){var a=this;this.queries.forEach(function(r,l){a.stopQueryNoBroadcast(l)}),this.cancelPendingFetches(Dt(35))},n.prototype.cancelPendingFetches=function(a){this.fetchCancelFns.forEach(function(r){return r(a)}),this.fetchCancelFns.clear()},n.prototype.mutate=function(a){return Wn(this,arguments,void 0,function(r){var l,o,s,h,d,v,p,m=r.mutation,g=r.variables,S=r.optimisticResponse,E=r.updateQueries,_=r.refetchQueries,A=_===void 0?[]:_,R=r.awaitRefetchQueries,T=R===void 0?!1:R,z=r.update,w=r.onQueryUpdated,Q=r.fetchPolicy,B=Q===void 0?((v=this.defaultOptions.mutate)===null||v===void 0?void 0:v.fetchPolicy)||"network-only":Q,I=r.errorPolicy,V=I===void 0?((p=this.defaultOptions.mutate)===null||p===void 0?void 0:p.errorPolicy)||"none":I,K=r.keepRootFields,se=r.context;return $n(this,function(_e){switch(_e.label){case 0:return Z(m,36),Z(B==="network-only"||B==="no-cache",37),l=this.generateMutationId(),m=this.cache.transformForLink(this.transform(m)),o=this.getDocumentInfo(m).hasClientExports,g=this.getVariables(m,g),o?[4,this.localState.addExportedVariables(m,g,se)]:[3,2];case 1:g=_e.sent(),_e.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[l]={mutation:m,variables:g,loading:!0,error:null}),h=S&&this.markMutationOptimistic(S,{mutationId:l,document:m,variables:g,fetchPolicy:B,errorPolicy:V,context:se,updateQueries:E,update:z,keepRootFields:K}),this.broadcastQueries(),d=this,[2,new Promise(function(Ee,de){return dc(d.getObservableFromLink(m,x(x({},se),{optimisticResponse:h?S:void 0}),g,{},!1),function(ve){if(xu(ve)&&V==="none")throw new Qt({graphQLErrors:pc(ve)});s&&(s.loading=!1,s.error=null);var te=x({},ve);return typeof A=="function"&&(A=A(te)),V==="ignore"&&xu(te)&&delete te.errors,d.markMutationResult({mutationId:l,result:te,document:m,variables:g,fetchPolicy:B,errorPolicy:V,context:se,update:z,updateQueries:E,awaitRefetchQueries:T,refetchQueries:A,removeOptimistic:h?l:void 0,onQueryUpdated:w,keepRootFields:K})}).subscribe({next:function(ve){d.broadcastQueries(),(!("hasNext"in ve)||ve.hasNext===!1)&&Ee(x(x({},ve),{data:d.maskOperation({document:m,data:ve.data,fetchPolicy:B,id:l})}))},error:function(ve){s&&(s.loading=!1,s.error=ve),h&&d.cache.removeOptimistic(l),d.broadcastQueries(),de(ve instanceof Qt?ve:new Qt({networkError:ve}))}})})]}})})},n.prototype.markMutationResult=function(a,r){var l=this;r===void 0&&(r=this.cache);var o=a.result,s=[],h=a.fetchPolicy==="no-cache";if(!h&&Qc(o,a.errorPolicy)){if(Qr(o)||s.push({result:o.data,dataId:"ROOT_MUTATION",query:a.document,variables:a.variables}
70),Qr(o)&&Kt(o.incremental)){var d=r.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(a.document).asQuery,variables:a.variables,optimistic:!1,returnPartialData:!0}),v=void 0;d.result&&(v=_v(d.result,o)),typeof v<"u"&&(o.data=v,s.push({result:v,dataId:"ROOT_MUTATION",query:a.document,variables:a.variables}))}var p=a.updateQueries;p&&this.queries.forEach(function(g,S){var E=g.observableQuery,_=E&&E.queryName;if(!(!_||!CT.call(p,_))){var A=p[_],R=l.queries.get(S),T=R.document,z=R.variables,w=r.diff({query:T,variables:z,returnPartialData:!0,optimistic:!1}),Q=w.result,B=w.complete;if(B&&Q){var I=A(Q,{mutationResult:o,queryName:T&&Qi(T)||void 0,queryVariables:z});I&&s.push({result:I,dataId:"ROOT_QUERY",query:T,variables:z})}}})}if(s.length>0||(a.refetchQueries||"").length>0||a.update||a.onQueryUpdated||a.removeOptimistic){var m=[];if(this.refetchQueries({updateCache:function(g){h||s.forEach(function(A){return g.write(A)});var S=a.update,E=!m_(o)||Qr(o)&&!o.hasNext;if(S){if(!h){var _=g.diff({id:"ROOT_MUTATION",query:l.getDocumentInfo(a.document).asQuery,variables:a.variables,optimistic:!1,returnPartialData:!0});_.complete&&(o=x(x({},o),{data:_.result}),"incremental"in o&&delete o.incremental,"hasNext"in o&&delete o.hasNext)}E&&S(g,o,{context:a.context,variables:a.variables})}!h&&!a.keepRootFields&&E&&g.modify({id:"ROOT_MUTATION",fields:function(A,R){var T=R.fieldName,z=R.DELETE;return T==="__typename"?A:z}})},include:a.refetchQueries,optimistic:!1,removeOptimistic:a.removeOptimistic,onQueryUpdated:a.onQueryUpdated||null}).forEach(function(g){return m.push(g)}),a.awaitRefetchQueries||a.onQueryUpdated)return Promise.all(m).then(function(){return o})}return Promise.resolve(o)},n.prototype.markMutationOptimistic=function(a,r){var l=this,o=typeof a=="function"?a(r.variables,{IGNORE:Oy}):a;return o===Oy?!1:(this.cache.recordOptimisticTransaction(function(s){try{l.markMutationResult(x(x({},r),{result:{data:o}}),s)}catch(h){globalThis.__DEV__!==!1&&Z.error(h)}},r.mutationId),!0)},n.prototype.fetchQuery=function(a,r,l){return this.fetchConcastWithInfo(this.getOrCreateQuery(a),r,l).concast.promise},n.prototype.getQueryStore=function(){var a=Object.create(null);return this.queries.forEach(function(r,l){a[l]={variables:r.variables,networkStatus:r.networkStatus,networkError:r.networkError,graphQLErrors:r.graphQLErrors}}),a},n.prototype.resetErrors=function(a){var r=this.queries.get(a);r&&(r.networkError=void 0,r.graphQLErrors=[])},n.prototype.transform=function(a){return this.documentTransform.transformDocument(a)},n.prototype.getDocumentInfo=function(a){var r=this.transformCache;if(!r.has(a)){var l={hasClientExports:$E(a),hasForcedResolvers:this.localState.shouldForceResolvers(a),hasNonreactiveDirective:ji(["nonreactive"],a),nonReactiveQuery:t_(a),clientQuery:this.localState.clientQuery(a),serverQuery:sv([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],a),defaultVars:Ws(Ia(a)),asQuery:x(x({},a),{definitions:a.definitions.map(function(o){return o.kind==="OperationDefinition"&&o.operation!=="query"?x(x({},o),{operation:"query"}):o})})};r.set(a,l)}return r.get(a)},n.prototype.getVariables=function(a,r){return x(x({},this.getDocumentInfo(a).defaultVars),r)},n.prototype.watchQuery=function(a){var r=this.transform(a.query);a=x(x({},a),{variables:this.getVariables(r,a.variables)}),typeof a.notifyOnNetworkStatusChange>"u"&&(a.notifyOnNetworkStatusChange=!1);var l=new qc(this),o=new Ki({queryManager:this,queryInfo:l,options:a});return o.lastQuery=r,Ki.inactiveOnCreation.getValue()||this.queries.set(o.queryId,l),l.init({document:r,observableQuery:o,variables:o.variables}),o},n.prototype.query=function(a,r){var l=this;r===void 0&&(r=this.generateQueryId()),Z(a.query,38),Z(a.query.kind==="Document",39),Z(!a.returnPartialData,40),Z(!a.pollInterval,41);var o=this.transform(a.query);return this.fetchQuery(r,x(x({},a),{query:o})).then(function(s){return s&&x(x({},s),{data:l.maskOperation({document:o,data:s.data,fetchPolicy:a.fetchPolicy,id:r})})}).finally(function(){return l.stopQuery(r)})},n.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},n.prototype.generateRequestId=function(){return this.requestIdCounter++},n.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},n.prototype.stopQueryInStore=function(a){this.stopQueryInStoreNoBroadcast(a),this.broadcastQueries()},n.prototype.stopQueryInStoreNoBroadcast=function(a){var r=this.queries.get(a);r&&r.stop()},n.prototype.clearStore=function(a){return a===void 0&&(a={discardWatches:!0}
70),this.cancelPendingFetches(Dt(42)),this.queries.forEach(function(r){r.observableQuery?r.networkStatus=we.loading:r.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(a)},n.prototype.getObservableQueries=function(a){var r=this;a===void 0&&(a="active");var l=new Map,o=new Map,s=new Map,h=new Set;return Array.isArray(a)&&a.forEach(function(d){if(typeof d=="string")o.set(d,d),s.set(d,!1);else if(C1(d)){var v=ra(r.transform(d));o.set(v,Qi(d)),s.set(v,!1)}else Ze(d)&&d.query&&h.add(d)}),this.queries.forEach(function(d,v){var p=d.observableQuery,m=d.document;if(p){if(a==="all"){l.set(v,p);return}var g=p.queryName,S=p.options.fetchPolicy;if(S==="standby"||a==="active"&&!p.hasObservers())return;(a==="active"||g&&s.has(g)||m&&s.has(ra(m)))&&(l.set(v,p),g&&s.set(g,!0),m&&s.set(ra(m),!0))}}),h.size&&h.forEach(function(d){var v=Ns("legacyOneTimeQuery"),p=r.getOrCreateQuery(v).init({document:d.query,variables:d.variables}),m=new Ki({queryManager:r,queryInfo:p,options:x(x({},d),{fetchPolicy:"network-only"})});Z(m.queryId===v),p.setObservableQuery(m),l.set(v,m)}),globalThis.__DEV__!==!1&&s.size&&s.forEach(function(d,v){if(!d){var p=o.get(v);p?globalThis.__DEV__!==!1&&Z.warn(43,p):globalThis.__DEV__!==!1&&Z.warn(44)}}),l},n.prototype.reFetchObservableQueries=function(a){var r=this;a===void 0&&(a=!1);var l=[];return this.getObservableQueries(a?"all":"active").forEach(function(o,s){var h=o.options.fetchPolicy;dt("resetLastResults",function(){return o.resetLastResults()}),(a||h!=="standby"&&h!=="cache-only")&&l.push(o.refetch()),(r.queries.get(s)||o.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(l)},n.prototype.startGraphQLSubscription=function(a){var r=this,l=a.query,o=a.variables,s=a.fetchPolicy,h=a.errorPolicy,d=h===void 0?"none":h,v=a.context,p=v===void 0?{}:v,m=a.extensions,g=m===void 0?{}:m;l=this.transform(l),o=this.getVariables(l,o);var S=function(_){return r.getObservableFromLink(l,p,_,g).map(function(A){s!=="no-cache"&&(Qc(A,d)&&r.cache.write({query:l,result:A.data,dataId:"ROOT_SUBSCRIPTION",variables:_}),r.broadcastQueries());var R=xu(A),T=A_(A);if(R||T){var z={};if(R&&(z.graphQLErrors=A.errors),T&&(z.protocolErrors=A.extensions[bc]),d==="none"||T)throw new Qt(z)}return d==="ignore"&&delete A.errors,A})};if(this.getDocumentInfo(l).hasClientExports){var E=this.localState.addExportedVariables(l,o,p).then(S);return new Be(function(_){var A=null;return E.then(function(R){return A=R.subscribe(_)},_.error),function(){return A&&A.unsubscribe()}})}return S(o)},n.prototype.stopQuery=function(a){this.stopQueryNoBroadcast(a),this.broadcastQueries()},n.prototype.stopQueryNoBroadcast=function(a){this.stopQueryInStoreNoBroadcast(a),this.removeQuery(a)},n.prototype.removeQuery=function(a){var r;this.fetchCancelFns.delete(a),this.queries.has(a)&&((r=this.queries.get(a))===null||r===void 0||r.stop(),this.queries.delete(a))},n.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(a){var r;return(r=a.observableQuery)===null||r===void 0?void 0:r.notify()})},n.prototype.getLocalState=function(){return this.localState},n.prototype.getObservableFromLink=function(a,r,l,o,s){var h=this,d;s===void 0&&(s=(d=r?.queryDeduplication)!==null&&d!==void 0?d:this.queryDeduplication);var v,p=this.getDocumentInfo(a),m=p.serverQuery,g=p.clientQuery;if(m){var S=this,E=S.inFlightLinkObservables,_=S.link,A={query:m,variables:l,operationName:Qi(m)||void 0,context:this.prepareContext(x(x({},r),{forceFetch:!s})),extensions:o};if(r=A.context,s){var R=ra(m),T=ta(l),z=E.lookup(R,T);if(v=z.observable,!v){var w=new qr([_c(_,A)]);v=z.observable=w,w.beforeNext(function Q(B,I){B==="next"&&"hasNext"in I&&I.hasNext?w.beforeNext(Q):E.remove(R,T)})}}else v=new qr([_c(_,A)])}else v=new qr([Be.of({data:{}})]),r=this.prepareContext(r);return g&&(v=dc(v,function(Q){return h.localState.runResolvers({document:g,remoteResult:Q,context:r,variables:l})})),v},n.prototype.getResultsFromLink=function(a,r,l){var o=a.lastRequestId=this.generateRequestId(),s=this.cache.transformForLink(l.query);return dc(this.getObservableFromLink(s,l.context,l.variables),function(h){var d=pc(h),v=d.length>0,p=l.errorPolicy;if(o>
70=a.lastRequestId){if(v&&p==="none")throw a.markError(new Qt({graphQLErrors:d}));a.markResult(h,s,l,r),a.markReady()}var m={data:h.data,loading:!1,networkStatus:we.ready};return v&&p==="none"&&(m.data=void 0),v&&p!=="ignore"&&(m.errors=d,m.networkStatus=we.error),m},function(h){var d=Rv(h)?h:new Qt({networkError:h});throw o>=a.lastRequestId&&a.markError(d),d})},n.prototype.fetchConcastWithInfo=function(a,r,l,o){var s=this;l===void 0&&(l=we.loading),o===void 0&&(o=r.query);var h=this.getVariables(o,r.variables),d=this.defaultOptions.watchQuery,v=r.fetchPolicy,p=v===void 0?d&&d.fetchPolicy||"cache-first":v,m=r.errorPolicy,g=m===void 0?d&&d.errorPolicy||"none":m,S=r.returnPartialData,E=S===void 0?!1:S,_=r.notifyOnNetworkStatusChange,A=_===void 0?!1:_,R=r.context,T=R===void 0?{}:R,z=Object.assign({},r,{query:o,variables:h,fetchPolicy:p,errorPolicy:g,returnPartialData:E,notifyOnNetworkStatusChange:A,context:T}),w=function(K){z.variables=K;var se=s.fetchQueryByPolicy(a,z,l);return z.fetchPolicy!=="standby"&&se.sources.length>0&&a.observableQuery&&a.observableQuery.applyNextFetchPolicy("after-fetch",r),se},Q=function(){return s.fetchCancelFns.delete(a.queryId)};this.fetchCancelFns.set(a.queryId,function(K){Q(),setTimeout(function(){return B.cancel(K)})});var B,I;if(this.getDocumentInfo(z.query).hasClientExports)B=new qr(this.localState.addExportedVariables(z.query,z.variables,z.context).then(w).then(function(K){return K.sources})),I=!0;else{var V=w(z.variables);I=V.fromLink,B=new qr(V.sources)}return B.promise.then(Q,Q),{concast:B,fromLink:I}},n.prototype.refetchQueries=function(a){var r=this,l=a.updateCache,o=a.include,s=a.optimistic,h=s===void 0?!1:s,d=a.removeOptimistic,v=d===void 0?h?Ns("refetchQueries"):void 0:d,p=a.onQueryUpdated,m=new Map;o&&this.getObservableQueries(o).forEach(function(S,E){m.set(E,{oq:S,lastDiff:(r.queries.get(E)||S.queryInfo).getDiff()})});var g=new Map;return l&&this.cache.batch({update:l,optimistic:h&&v||!1,removeOptimistic:v,onWatchUpdated:function(S,E,_){var A=S.watcher instanceof qc&&S.watcher.observableQuery;if(A){if(p){m.delete(A.queryId);var R=p(A,E,_);return R===!0&&(R=A.refetch()),R!==!1&&g.set(A,R),R}p!==null&&m.set(A.queryId,{oq:A,lastDiff:_,diff:E})}}}),m.size&&m.forEach(function(S,E){var _=S.oq,A=S.lastDiff,R=S.diff,T;p&&(R||(R=dt("canonizeResults",function(){return r.cache.diff(_.queryInfo.getDiffOptions())})),T=p(_,R,A)),(!p||T===!0)&&(T=_.refetch()),T!==!1&&g.set(_,T),E.indexOf("legacyOneTimeQuery")>=0&&r.stopQueryNoBroadcast(E)}),v&&this.cache.removeOptimistic(v),g},n.prototype.maskOperation=function(a){var r,l,o,s=a.document,h=a.data;if(globalThis.__DEV__!==!1){var d=a.fetchPolicy,v=a.id,p=(r=Ia(s))===null||r===void 0?void 0:r.operation,m=((l=p?.[0])!==null&&l!==void 0?l:"o")+v;this.dataMasking&&d==="no-cache"&&!c1(s)&&!this.noCacheWarningsByQueryId.has(m)&&(this.noCacheWarningsByQueryId.add(m),globalThis.__DEV__!==!1&&Z.warn(45,(o=Qi(s))!==null&&o!==void 0?o:"Unnamed ".concat(p??"operation")))}return this.dataMasking?sT(h,s,this.cache):h},n.prototype.maskFragment=function(a){var r=a.data,l=a.fragment,o=a.fragmentName;return this.dataMasking?Gv(r,l,this.cache,o):r},n.prototype.fetchQueryByPolicy=function(a,r,l){var o=this,s=r.query,h=r.variables,d=r.fetchPolicy,v=r.refetchWritePolicy,p=r.errorPolicy,m=r.returnPartialData,g=r.context,S=r.notifyOnNetworkStatusChange,E=a.networkStatus;a.init({document:s,variables:h,networkStatus:l});var _=function(){return a.getDiff()},A=function(Q,B){B===void 0&&(B=a.networkStatus||we.loading);var I=Q.result;globalThis.__DEV__!==!1&&!m&&!Ne(I,{})&&Ty(Q.missing);var V=function(K){return Be.of(x({data:K,loading:Vr(B),networkStatus:B},Q.complete?null:{partial:!0}))};return I&&o.getDocumentInfo(s).hasForcedResolvers?o.localState.runResolvers({document:s,remoteResult:{data:I},context:g,variables:h,onlyRunForcedResolvers:!0}).then(function(K){return V(K.data||void 0)}):p==="none"&&B===we.refetch&&Array.isArray(Q.missing)?V(void 0):V(I)},R=d==="no-cache"?0:l===we.refetch&&v!=="merge"?1:2,T=function(){return o.getResultsFromLink(a,R,{query:s,variables:h,context:g,fetchPolicy:d,errorPolicy:p})},z=S&&typeof E=="number"&&E!==l&&Vr(l);switch(d){default:case"cache-first":{var w=_();return w.complete?{fromLink:!1,sources:[A(w,a.markReady())]}:m||z?{fromLink:!0,sources:[A(w),T()]}:{fromLink:!0,sources:[T()]}}case"cache-and-network":{var w=_();return w.complete||m||z?{fromLink:!0,sources:[A(w),T()]}:{fromLink:!0,sources:[T()]}}case"cache-only":return{fromLink:!1,sources:[A(_(),a.markReady())]};case"network-only":return z?{fromLink:!0,sources:[A(_()),T()]}:{fromLink:!0,sources:[T()]};case"no-cache":return z?{fromLink:!0,sources:[A(a.getDiff()),T()]}:{fromLink:!0,sources:[T()]};case"standby":return{fromLink:!1,sources:[]}}},n.prototype.getOrCreateQuery=function(a){return a&&!this.queries.has(a)&&this.queries.set(a,new qc(this,a)),this.queries.get(a)},n.prototype.prepareContext=function(a){a===void 0&&(a={});var r=this.localState.prepareContext(a);return x(x(x({},this.defaultContext),r),{clientAwareness:this.clientAwareness})},n})(),RT=(function(){function n(a){var r=a.cache,l=a.client,o=a.resolvers,s=a.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=r,l&&(this.client=l),o&&this.addResolvers(o),s&&this.setFragmentMatcher(s)}return n.prototype.addResolvers=function(a){var r=this;this.resolvers=this.resolvers||{},Array.isArray(a)?a.forEach(function(l){r.resolvers=fv(r.resolvers,l)}):this.resolvers=fv(this.resolvers,a)},n.prototype.setResolvers=function(a){this.resolvers={},this.addResolvers(a)},n.prototype.getResolvers=function(){return this.resolvers||{}},n.prototype.runResolvers=function(a){return Wn(this,arguments,void 0,function(r){var l=r.document,o=r.remoteResult,s=r.context,h=r.variables,d=r.onlyRunForcedResolvers,v=d===void 0?!1:d;return $n(this,function(p){return l?[2,this.resolveDocument(l,o.data,s,h,this.fragmentMatcher,v).then(function(m){return x(x({},o),{data:m.result})})]:[2,o]})})},n.prototype.setFragmentMatcher=function(a){this.fragmentMatcher=a},n.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},n.prototype.clientQuery=function(a){return ji(["client"],a)&&this.resolvers?a:null},n.prototype.serverQuery=function(a){return cv(a)},n.prototype.prepareContext=function(a){var r=this.cache;return x(x({},a),{cache:r,getCacheKey:function(l){return r.identify(l)}})},n.prototype.addExportedVariables=function(a){return Wn(this,arguments,void 0,function(r,l,o){return l===void 0&&(l={}),o===void 0&&(o={}),$n(this,function(s){return r?[2,this.resolveDocument(r,this.buildRootValueFromCache(r,l)||{},this.prepareContext(o),l).then(function(h){return x(x({},l),h.exportedVariables)})]:[2,x({},l)]})})},n.prototype.shouldForceResolvers=function(a){var r=!1;return vn(a,{Directive:{enter:function(l){if(l.name.value==="client"&&l.arguments&&(r=l.arguments.some(function(o){return o.name.value==="always"&&o.value.kind==="BooleanValue"&&o.value.value===!0}),r))return yu}}}),r},n.prototype.buildRootValueFromCache=function(a,r){return this.cache.diff({query:e_(a),variables:r,returnPartialData:!0,optimistic:!1}).result},n.prototype.resolveDocument=function(a,r){return Wn(this,arguments,void 0,function(l,o,s,h,d,v){var p,m,g,S,E,_,A,R,T,z,w;return s===void 0&&(s={}),h===void 0&&(h={}),d===void 0&&(d=function(){return!0}),v===void 0&&(v=!1),$n(this,function(Q){return p=Nr(l),m=Rr(l),g=Dr(m),S=this.collectSelectionsToResolve(p,g),E=p.operation,_=E?E.charAt(0).toUpperCase()+E.slice(1):"Query",A=this,R=A.cache,T=A.client,z={fragmentMap:g,context:x(x({}
70,s),{cache:R,client:T}),variables:h,fragmentMatcher:d,defaultOperationType:_,exportedVariables:{},selectionsToResolve:S,onlyRunForcedResolvers:v},w=!1,[2,this.resolveSelectionSet(p.selectionSet,w,o,z).then(function(B){return{result:B,exportedVariables:z.exportedVariables}})]})})},n.prototype.resolveSelectionSet=function(a,r,l,o){return Wn(this,void 0,void 0,function(){var s,h,d,v,p,m=this;return $n(this,function(g){return s=o.fragmentMap,h=o.context,d=o.variables,v=[l],p=function(S){return Wn(m,void 0,void 0,function(){var E,_;return $n(this,function(A){return!r&&!o.selectionsToResolve.has(S)?[2]:Li(S,d)?na(S)?[2,this.resolveField(S,r,l,o).then(function(R){var T;typeof R<"u"&&v.push((T={},T[Rn(S)]=R,T))})]:(B1(S)?E=S:(E=s[S.name.value],Z(E,21,S.name.value)),E&&E.typeCondition&&(_=E.typeCondition.name.value,o.fragmentMatcher(l,_,h))?[2,this.resolveSelectionSet(E.selectionSet,r,l,o).then(function(R){v.push(R)})]:[2]):[2]})})},[2,Promise.all(a.selections.map(p)).then(function(){return Ou(v)})]})})},n.prototype.resolveField=function(a,r,l,o){return Wn(this,void 0,void 0,function(){var s,h,d,v,p,m,g,S,E,_=this;return $n(this,function(A){return l?(s=o.variables,h=a.name.value,d=Rn(a),v=h!==d,p=l[d]||l[h],m=Promise.resolve(p),(!o.onlyRunForcedResolvers||this.shouldForceResolvers(a))&&(g=l.__typename||o.defaultOperationType,S=this.resolvers&&this.resolvers[g],S&&(E=S[v?h:d],E&&(m=Promise.resolve(Cc.withValue(this.cache,E,[l,Eu(a,s),o.context,{field:a,fragmentMap:o.fragmentMap}]))))),[2,m.then(function(R){var T,z;if(R===void 0&&(R=p),a.directives&&a.directives.forEach(function(Q){Q.name.value==="export"&&Q.arguments&&Q.arguments.forEach(function(B){B.name.value==="as"&&B.value.kind==="StringValue"&&(o.exportedVariables[B.value.value]=R)})}),!a.selectionSet||R==null)return R;var w=(z=(T=a.directives)===null||T===void 0?void 0:T.some(function(Q){return Q.name.value==="client"}))!==null&&z!==void 0?z:!1;if(Array.isArray(R))return _.resolveSubSelectedArray(a,r||w,R,o);if(a.selectionSet)return _.resolveSelectionSet(a.selectionSet,r||w,R,o)})]):[2,null]})})},n.prototype.resolveSubSelectedArray=function(a,r,l,o){var s=this;return Promise.all(l.map(function(h){if(h===null)return null;if(Array.isArray(h))return s.resolveSubSelectedArray(a,r,h,o);if(a.selectionSet)return s.resolveSelectionSet(a.selectionSet,r,h,o)}))},n.prototype.collectSelectionsToResolve=function(a,r){var l=function(h){return!Array.isArray(h)},o=this.selectionsToResolveCache;function s(h){if(!o.has(h)){var d=new Set;o.set(h,d),vn(h,{Directive:function(v,p,m,g,S){v.name.value==="client"&&S.forEach(function(E){l(E)&&Mp(E)&&d.add(E)})},FragmentSpread:function(v,p,m,g,S){var E=r[v.name.value];Z(E,22,v.name.value);var _=s(E);_.size>0&&(S.forEach(function(A){l(A)&&Mp(A)&&d.add(A)}),d.add(v),_.forEach(function(A){d.add(A)}))}})}return o.get(h)}return s(a)},n})(),Dy=!1,Ay=(function(){function n(a){var r=this,l,o,s;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!a.cache)throw Dt(16);var h=a.uri,d=a.credentials,v=a.headers,p=a.cache,m=a.documentTransform,g=a.ssrMode,S=g===void 0?!1:g,E=a.ssrForceFetchDelay,_=E===void 0?0:E,A=a.connectToDevTools,R=a.queryDeduplication,T=R===void 0?!0:R,z=a.defaultOptions,w=a.defaultContext,Q=a.assumeImmutableResults,B=Q===void 0?p.assumeImmutableResults:Q,I=a.resolvers,V=a.typeDefs,K=a.fragmentMatcher,se=a.clientAwareness,_e=a.name,Ee=a.version,de=a.devtools,ve=a.dataMasking;globalThis.__DEV__!==!1&&(Pe(a,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),Pe(a,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),Pe(a,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),Pe(a,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),Pe(a,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),Pe(a,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),Pe(a,"typeDefs","ApolloClient"),a.link||globalThis.__DEV__!==!1&&Z.warn(17));var te=a.link;te||(te=h?new qv({uri:h,credentials:d,headers:v}):Ga.empty()),this.link=te,this.cache=p,this.disableNetworkFetches=S||_>0,this.queryDeduplication=T,this.defaultOptions=z||Object.create(null),this.typeDefs=V,this.devtoolsConfig=x(x({},de),{enabled:(l=de?.enabled)!==null&&l!==void 0?l:A}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),_&&setTimeout(function(){return r.disableNetworkFetches=!1},_),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=Rs,this.localState=new RT({cache:p,client:this,resolvers:I,fragmentMatcher:K}),this.queryManager=new wT({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:w,documentTransform:m,queryDeduplication:T,ssrMode:S,dataMasking:!!ve,clientAwareness:{name:(o=se?.
70name)!==null&&o!==void 0?o:_e,version:(s=se?.version)!==null&&s!==void 0?s:Ee},localState:this.localState,assumeImmutableResults:B,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(n.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(a){this.disableNetworkFetches=a},enumerable:!1,configurable:!0}),n.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var a=window,r=Symbol.for("apollo.devtools");(a[r]=a[r]||[]).push(this),a.__APOLLO_CLIENT__=this,!Dy&&globalThis.__DEV__!==!1&&(Dy=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var l=window.navigator,o=l&&l.userAgent,s=void 0;typeof o=="string"&&(o.indexOf("Chrome/")>-1?s="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":o.indexOf("Firefox/")>-1&&(s="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),s&&globalThis.__DEV__!==!1&&Z.log("Download the Apollo DevTools for a better development experience: %s",s)}},1e4))}},Object.defineProperty(n.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),n.prototype.stop=function(){this.queryManager.stop()},n.prototype.watchQuery=function(a){return this.defaultOptions.watchQuery&&(a=Ha(this.defaultOptions.watchQuery,a)),this.disableNetworkFetches&&(a.fetchPolicy==="network-only"||a.fetchPolicy==="cache-and-network")&&(a=x(x({},a),{fetchPolicy:"cache-first"})),globalThis.__DEV__!==!1&&(Pe(a,"canonizeResults","client.watchQuery"),Pe(a,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(a)},n.prototype.query=function(a){return this.defaultOptions.query&&(a=Ha(this.defaultOptions.query,a)),Z(a.fetchPolicy!=="cache-and-network",18),this.disableNetworkFetches&&a.fetchPolicy==="network-only"&&(a=x(x({},a),{fetchPolicy:"cache-first"})),globalThis.__DEV__!==!1&&(Pe(a,"canonizeResults","client.query"),Pe(a,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),a.fetchPolicy==="standby"&&globalThis.__DEV__!==!1&&Z.warn(19)),this.queryManager.query(a)},n.prototype.mutate=function(a){return this.defaultOptions.mutate&&(a=Ha(this.defaultOptions.mutate,a)),this.queryManager.mutate(a)},n.prototype.subscribe=function(a){var r=this,l=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(a).map(function(o){return x(x({},o),{data:r.queryManager.maskOperation({document:a.query,data:o.data,fetchPolicy:a.fetchPolicy,id:l})})})},n.prototype.readQuery=function(a,r){return r===void 0&&(r=!1),this.cache.readQuery(a,r)},n.prototype.watchFragment=function(a){var r;return this.cache.watchFragment(x(x({},a),(r={},r[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,r)))},n.prototype.readFragment=function(a,r){return r===void 0&&(r=!1),this.cache.readFragment(a,r)},n.prototype.writeQuery=function(a){var r=this.cache.writeQuery(a);return a.broadcast!==!1&&this.queryManager.broadcastQueries(),r},n.prototype.writeFragment=function(a){var r=this.cache.writeFragment(a);return a.broadcast!==!1&&this.queryManager.broadcastQueries(),r},n.prototype.__actionHookForDevTools=function(a){this.devToolsHookCb=a},n.prototype.__requestRaw=function(a){return _c(this.link,a)},n.prototype.resetStore=function(){var a=this;return Promise.resolve().then(function(){return a.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(a.resetStoreCallbacks.map(function(r){return r()}))}).then(function(){return a.reFetchObservableQueries()})},n.prototype.clearStore=function(){var a=this;return Promise.resolve().then(function(){return a.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(a.clearStoreCallbacks.map(function(r){return r()}))})},n.prototype.onResetStore=function(a){var r=this;return this.resetStoreCallbacks.push(a),function(){r.resetStoreCallbacks=r.resetStoreCallbacks.filter(function(l){return l!==a})}},n.prototype.onClearStore=function(a){var r=this;return this.clearStoreCallbacks.push(a),function(){r.clearStoreCallbacks=r.clearStoreCallbacks.filter(function(l){return l!==a})}},n.prototype.reFetchObservableQueries=function(a){return this.queryManager.reFetchObservableQueries(a)},n.prototype.refetchQueries=function(a){var r=this.queryManager.refetchQueries(a),l=[],o=[];r.forEach(function(h,d){l.push(d),o.push(h)});var s=Promise.all(o);return s.queries=l,s.results=o,s.catch(function(h){globalThis.__DEV__!==!1&&Z.debug(20,h)}),s},n.prototype.getObservableQueries=function(a){return a===void 0&&(a="active"),this.queryManager.getObservableQueries(a)},n.prototype.extract=function(a){return this.cache.extract(a)},n.prototype.restore=function(a){return this.cache.restore(a)},n.prototype.addResolvers=function(a){this.localState.addResolvers(a)},n.prototype.setResolvers=function(a){this.localState.setResolvers(a)},n.prototype.getResolvers=function(){return this.localState.getResolvers()},n.prototype.setLocalStateFragmentMatcher=function(a){this.localState.setFragmentMatcher(a)},n.prototype.setLink=function(a){this.link=this.queryManager.link=a},Object.defineProperty(n.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
70,enumerable:!1,configurable:!0}),n})();globalThis.__DEV__!==!1&&(Ay.prototype.getMemoryInternals=b1);var zu=new Map,Uc=new Map,xy=!0,ku=!1;function Cy(n){return n.replace(/[\s,]+/g," ").trim()}function NT(n){return Cy(n.source.body.substring(n.start,n.end))}function MT(n){var a=new Set,r=[];return n.definitions.forEach(function(l){if(l.kind==="FragmentDefinition"){var o=l.name.value,s=NT(l.loc),h=Uc.get(o);h&&!h.has(s)?xy&&console.warn("Warning: fragment with name "+o+` already exists. 71graphql-tag enforces all fragment names across your application to be unique; read more about 72this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):h||Uc.set(o,h=new Set),h.add(s),a.has(s)||(a.add(s),r.push(l))}else r.push(l)}),x(x({},n),{definitions:r})}function zT(n){var a=new Set(n.definitions);a.forEach(function(l){l.loc&&delete l.loc,Object.keys(l).forEach(function(o){var s=l[o];s&&typeof s=="object"&&a.add(s)})});var r=n.loc;return r&&(delete r.startToken,delete r.endToken),n}function kT(n){var a=Cy(n);if(!zu.has(a)){var r=FE(n,{experimentalFragmentVariables:ku,allowLegacyFragmentVariables:ku});if(!r||r.kind!=="Document")throw new Error("Not a valid GraphQL document.");zu.set(a,zT(MT(r)))}return zu.get(a)}function Tn(n){for(var a=[],r=1;r<arguments.length;r++)a[r-1]=arguments[r];typeof n=="string"&&(n=[n]);var l=n[0];return a.forEach(function(o,s){o&&o.kind==="Document"?l+=o.loc.source.body:l+=o,l+=n[s+1]}),kT(l)}function LT(){zu.clear(),Uc.clear()}function jT(){xy=!1}function qT(){ku=!0}function QT(){ku=!1}var Pi={gql:Tn,resetCaches:LT,disableFragmentWarnings:jT,enableExperimentalFragmentVariables:qT,disableExperimentalFragmentVariables:QT};(function(n){n.gql=Pi.gql,n.resetCaches=Pi.resetCaches,n.disableFragmentWarnings=Pi.disableFragmentWarnings,n.enableExperimentalFragmentVariables=Pi.enableExperimentalFragmentVariables,n.disableExperimentalFragmentVariables=Pi.disableExperimentalFragmentVariables})(Tn||(Tn={})),Tn.default=Tn;var mn;(function(n){n[n.Query=0]="Query",n[n.Mutation=1]="Mutation",n[n.Subscription=2]="Subscription"})(mn||(mn={}));var Ya;function wy(n){var a;switch(n){case mn.Query:a="Query";break;case mn.Mutation:a="Mutation";break;case mn.Subscription:a="Subscription";break}return a}function Ry(n){la("parser",function(){globalThis.__DEV__!==!1&&Z.warn(94)}),Ya||(Ya=new Xs(_n.parser||1e3));var a=Ya.get(n);if(a)return a;var r,l,o;Z(!!n&&!!n.kind,95,n);for(var s=[],h=[],d=[],v=[],p=0,m=n.definitions;p<m.length;p++){var g=m[p];if(g.kind==="FragmentDefinition"){s.push(g);continue}if(g.kind==="OperationDefinition")switch(g.operation){case"query":h.push(g);break;case"mutation":d.push(g);break;case"subscription":v.push(g);break}}Z(!s.length||h.length||d.length||v.length,96),Z(h.length+d.length+v.length<=1,97,n,h.length,v.length,d.length),l=h.length?mn.Query:mn.Mutation,!h.length&&!d.length&&(l=mn.Subscription);var S=h.length?h:d.length?d:v;Z(S.length===1,98,n,S.length);var E=S[0];r=E.variableDefinitions||[],E.name&&E.name.kind==="Name"?o=E.name.value:o="data";var _={name:o,type:l,variables:r};return Ya.set(n,_),_}Ry.resetCache=function(){Ya=void 0},globalThis.__DEV__!==!1&&Zs("parser",function(){return Ya?Ya.size:0});function Bc(n,a){var r=dt("parser",Ry,[n]),l=wy(a),o=wy(r.type);Z(r.type===a,99,l,l,o)}function UT(n,a){var r=he.useRef(void 0);return(!r.current||!Ne(r.current.deps,a))&&(r.current={value:n(),deps:a}),r.current.value}var Lu=Lp?he.useLayoutEffect:he.useEffect,Vc;function BT(){}function VT(){return Vc||(Vc=he.createContext(null)),he.useCallback(function(){var n=console.error;try{return console.error=BT,he.useContext(Vc),!0}catch{return!1}finally{console.error=n}},[])}function Ct(n,a,r,l){"use no memo";l===void 0&&(l="Please remove this option.");var o=he.useRef(!1);a in n&&!o.current&&(globalThis.__DEV__!==!1&&Z.warn(78,r,a,l),o.current=!0)}var IT=Symbol.for("apollo.hook.wrappers");function FT(n,a,r){var l=r.queryManager,o=l&&l[IT],s=o&&o[n];return s?s(a):a}var HT=Object.prototype.hasOwnProperty;function Ny(){}var ju=Symbol();function GT(n,a){return a===void 0&&(a=Object.create(null)),FT("useQuery",YT,Cu(a&&a.client))(n,a)}function YT(n,a){globalThis.__DEV__!==!1&&(Ct(a,"canonizeResults","useQuery"),Ct(a,"partialRefetch","useQuery"),Ct(a,"defaultOptions","useQuery","Pass the options directly to the hook instead."),Ct(a,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),Ct(a,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var r=My(n,a),l=r.result,o=r.obsQueryFields;return he.useMemo(function(){return x(x({},l),o)},[l,o])}function XT(n,a,r,l,o){function s(g){var S;Bc(a,mn.Query);
72var E={client:n,query:a,observable:l&&l.getSSRObservable(o())||Ki.inactiveOnCreation.withValue(!l,function(){return dt("canonizeResults",function(){return n.watchQuery(Ic(void 0,n,r,o()))})}),resultData:{previousData:(S=g?.resultData.current)===null||S===void 0?void 0:S.data}};return E}var h=he.useState(s),d=h[0],v=h[1];function p(g){var S,E;Object.assign(d.observable,(S={},S[ju]=g,S));var _=d.resultData;v(x(x({},d),{query:g.query,resultData:Object.assign(_,{previousData:((E=_.current)===null||E===void 0?void 0:E.data)||_.previousData,current:void 0})}))}if(n!==d.client||a!==d.query){var m=s(d);return v(m),[m,p]}return[d,p]}function My(n,a){var r=Cu(a.client),l=he.useContext(vc()).renderPromises,o=!!l,s=r.disableNetworkFetches,h=a.ssr!==!1&&!a.skip,d=a.partialRefetch,v=zy(r,n,a,o),p=XT(r,n,a,l,v),m=p[0],g=m.observable,S=m.resultData,E=p[1],_=v(g);KT(S,g,r,a,_);var A=he.useMemo(function(){return $T(g)},[g]);JT(g,l,h);var R=ZT(S,g,r,a,_,s,d,o,{onCompleted:a.onCompleted||Ny,onError:a.onError||Ny});return{result:R,obsQueryFields:A,observable:g,resultData:S,client:r,onQueryExecuted:E}}function ZT(n,a,r,l,o,s,h,d,v){var p=he.useRef(v);he.useEffect(function(){p.current=v});var m=(d||s)&&l.ssr===!1&&!l.skip?jy:l.skip||o.fetchPolicy==="standby"?qy:void 0,g=n.previousData,S=he.useMemo(function(){return m&&qu(m,g,a,r)},[r,a,m,g]);return Dv(he.useCallback(function(E){if(d)return function(){};var _=function(){var T=n.current,z=a.getCurrentResult();T&&T.loading===z.loading&&T.networkStatus===z.networkStatus&&Ne(T.data,z.data)||Fc(z,n,a,r,h,E,p.current)},A=function(T){if(R.current.unsubscribe(),R.current=a.resubscribeAfterError(_,A),!HT.call(T,"graphQLErrors"))throw T;var z=n.current;(!z||z&&z.loading||!Ne(T,z.error))&&Fc({data:z&&z.data,error:T,loading:!1,networkStatus:we.error},n,a,r,h,E,p.current)},R={current:a.subscribe(_,A)};return function(){setTimeout(function(){return R.current.unsubscribe()})}},[s,d,a,n,h,r]),function(){return S||ky(n,a,p.current,h,r)},function(){return S||ky(n,a,p.current,h,r)})}function JT(n,a,r){a&&r&&(a.registerSSRObservable(n),n.getCurrentResult().loading&&a.addObservableQueryPromise(n))}function KT(n,a,r,l,o){var s;a[ju]&&!Ne(a[ju],o)&&(a.reobserve(Ic(a,r,l,o)),n.previousData=((s=n.current)===null||s===void 0?void 0:s.data)||n.previousData,n.current=void 0),a[ju]=o}function zy(n,a,r,l){r===void 0&&(r={});var o=r.skip;r.ssr,r.onCompleted,r.onError;var s=r.defaultOptions,h=dn(r,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(d){var v=Object.assign(h,{query:a});return l&&(v.fetchPolicy==="network-only"||v.fetchPolicy==="cache-and-network")&&(v.fetchPolicy="cache-first"),v.variables||(v.variables={}),o?(v.initialFetchPolicy=v.initialFetchPolicy||v.fetchPolicy||Hc(s,n.defaultOptions),v.fetchPolicy="standby"):v.fetchPolicy||(v.fetchPolicy=d?.options.initialFetchPolicy||Hc(s,n.defaultOptions)),v}}function Ic(n,a,r,l){var o=[],s=a.defaultOptions.watchQuery;return s&&o.push(s),r.defaultOptions&&o.push(r.defaultOptions),o.push(Fa(n&&n.options,l)),o.reduce(Ha)}function Fc(n,a,r,l,o,s,h){var d=a.current;d&&d.data&&(a.previousData=d.data),!n.error&&Kt(n.errors)&&(n.error=new Qt({graphQLErrors:n.errors})),a.current=qu(WT(n,r,o),a.previousData,r,l),s(),PT(n,d?.networkStatus,h)}function PT(n,a,r){if(!n.loading){var l=Ly(n);Promise.resolve().then(function(){l?r.onError(l):n.data&&a!==n.networkStatus&&n.networkStatus===we.ready&&r.onCompleted(n.data)}).catch(function(o){globalThis.__DEV__!==!1&&Z.warn(o)})}}function ky(n,a,r,l,o){return n.current||Fc(a.getCurrentResult(),n,a,o,l,function(){},r),n.current}function Hc(n,a){var r;return n?.fetchPolicy||((r=a?.watchQuery)===null||r===void 0?void 0:r.fetchPolicy)||"cache-first"}function Ly(n){return Kt(n.errors)?new Qt({graphQLErrors:n.errors}):n.error}function qu(n,a,r,l){var o=n.data;n.partial;var s=dn(n,["data","partial"]),h=x(x({data:o},s),{client:l,observable:r,variables:r.variables,called:n!==jy&&n!==qy,previousData:a});return h}function WT(n,a,r){return n.partial&&r&&!n.loading&&(!n.data||Object.keys(n.data).length===0)&&a.options.fetchPolicy!=="cache-only"?(a.refetch(),x(x({},n),{loading:!0,networkStatus:we.refetch})):n}var jy=jr({loading:!0,data:void 0,error:void 0,networkStatus:we.loading}),qy=jr({loading:!1,data:void 0,error:void 0,networkStatus:we.ready});function $T(n){return{refetch:n.refetch.bind(n),reobserve:function(){for(var a=[],r=0;r<arguments.length;r++)a[r]=arguments[r];return globalThis.__DEV__!==!1&&globalThis.__DEV__!==!1&&Z.warn(84),n.reobserve.a
72pply(n,a)},fetchMore:n.fetchMore.bind(n),updateQuery:n.updateQuery.bind(n),startPolling:n.startPolling.bind(n),stopPolling:n.stopPolling.bind(n),subscribeToMore:n.subscribeToMore.bind(n)}}var eO=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"],tO=["initialFetchPolicy","onCompleted","onError","defaultOptions","partialRefetch","canonizeResults"],nO=["query","ssr","client","fetchPolicy","nextFetchPolicy","refetchWritePolicy","errorPolicy","pollInterval","notifyOnNetworkStatusChange","returnPartialData","skipPollAttempt"];function aO(n,a){var r;if(globalThis.__DEV__!==!1){var l=a||{};Ct(l,"canonizeResults","useLazyQuery"),Ct(l,"variables","useLazyQuery","Pass all `variables` to the returned `execute` function instead."),Ct(l,"context","useLazyQuery","Pass `context` to the returned `execute` function instead."),Ct(l,"onCompleted","useLazyQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),Ct(l,"onError","useLazyQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."),Ct(l,"defaultOptions","useLazyQuery","Pass the options directly to the hook instead."),Ct(l,"initialFetchPolicy","useLazyQuery","Use the `fetchPolicy` option instead."),Ct(l,"partialRefetch","useLazyQuery")}var o=he.useRef(void 0),s=he.useRef(void 0),h=he.useRef(void 0),d=Ha(a,o.current||{}),v=(r=d?.query)!==null&&r!==void 0?r:n;s.current=a,h.current=v;var p=x(x({},d),{skip:!o.current}),m=My(v,p),g=m.obsQueryFields,S=m.result,E=m.client,_=m.resultData,A=m.observable,R=m.onQueryExecuted,T=A.options.initialFetchPolicy||Hc(p.defaultOptions,E.defaultOptions),z=he.useReducer(function(Ee){return Ee+1},0)[1],w=he.useMemo(function(){for(var Ee={},de=function(M){var Y=g[M];Ee[M]=function(){return globalThis.__DEV__!==!1&&M==="reobserve"&&globalThis.__DEV__!==!1&&Z.warn(80),o.current||(o.current=Object.create(null),z()),Y.apply(this,arguments)}},ve=0,te=eO;ve<te.length;ve++){var fe=te[ve];de(fe)}return Ee},[z,g]),Q=!!o.current,B=he.useMemo(function(){return x(x(x({},S),w),{called:Q})},[S,w,Q]),I=VT(),V=he.useRef(new Set),K=he.useCallback(function(Ee){if(globalThis.__DEV__!==!1){I()&&globalThis.__DEV__!==!1&&Z.warn(81);for(var de=0,ve=tO;de<ve.length;de++){var te=ve[de];V.current.has(te)||(Pe(Ee||{},te,"useLazyQuery.execute"),V.current.add(te))}for(var fe=0,M=nO;fe<M.length;fe++){var Y=M[fe];V.current.has(Y)||(Pe(Ee||{},Y,"useLazyQuery.execute","Please pass the option to the `useLazyQuery` hook instead."),V.current.add(Y))}}o.current=Ee?x(x({},Ee),{fetchPolicy:Ee.fetchPolicy||T}):{fetchPolicy:T};var W=Ha(s.current,x({query:h.current},o.current)),ne=rO(_,A,E,v,x(x({},W),{skip:!1}),R).then(function(re){return Object.assign(re,w)});return ne.catch(function(){}),ne},[I,E,v,w,T,A,_,R]),se=he.useRef(K);Lu(function(){se.current=K});var _e=he.useCallback(function(){for(var Ee=[],de=0;de<arguments.length;de++)Ee[de]=arguments[de];return se.current.apply(se,Ee)},[]);return[_e,B]}function rO(n,a,r,l,o,s){var h=o.query||l,d=zy(r,h,o,!1)(a),v=a.reobserveAsConcast(Ic(a,r,o,d));return s(d),new Promise(function(p){var m;v.subscribe({next:function(g){m=g},error:function(){p(qu(a.getCurrentResult(),n.previousData,a,r))},complete:function(){p(qu(a.maskResult(m),n.previousData,a,r))}})})}function iO(n,a){globalThis.__DEV__!==!1&&Ct(a||{},"ignoreResults","useMutation","If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");var r=Cu(a?.client);Bc(n,mn.Mutation);var l=he.useState({called:!1,loading:!1,client:r}),o=l[0],s=l[1],h=he.useRef({result:o,mutationId:0,isMounted:!0,client:r,mutation:n,options:a});Lu(function(){Object.assign(h.current,{client:r,options:a,mutation:n})});var d=he.useCallback(function(p){p===void 0&&(p={});var m=h.current,g=m.options,S=m.mutation,E=x(x({},g),{mutation:S}
72),_=p.client||h.current.client;!h.current.result.loading&&!E.ignoreResults&&h.current.isMounted&&s(h.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:_});var A=++h.current.mutationId,R=Ha(E,p);return _.mutate(R).then(function(T){var z,w,Q=T.data,B=T.errors,I=B&&B.length>0?new Qt({graphQLErrors:B}):void 0,V=p.onError||((z=h.current.options)===null||z===void 0?void 0:z.onError);if(I&&V&&V(I,R),A===h.current.mutationId&&!R.ignoreResults){var K={called:!0,loading:!1,data:Q,error:I,client:_};h.current.isMounted&&!Ne(h.current.result,K)&&s(h.current.result=K)}var se=p.onCompleted||((w=h.current.options)===null||w===void 0?void 0:w.onCompleted);return I||se?.(T.data,R),T},function(T){var z;if(A===h.current.mutationId&&h.current.isMounted){var w={loading:!1,error:T,data:void 0,called:!0,client:_};Ne(h.current.result,w)||s(h.current.result=w)}var Q=p.onError||((z=h.current.options)===null||z===void 0?void 0:z.onError);if(Q)return Q(T,R),{data:void 0,errors:T};throw T})},[]),v=he.useCallback(function(){if(h.current.isMounted){var p={called:!1,loading:!1,client:h.current.client};Object.assign(h.current,{mutationId:0,result:p}),s(p)}},[]);return he.useEffect(function(){var p=h.current;return p.isMounted=!0,function(){p.isMounted=!1}},[]),[d,x({reset:v},o)]}function lO(n,a){a===void 0&&(a=Object.create(null));var r=he.useRef(!1),l=Cu(a.client);Bc(n,mn.Subscription),r.current||(r.current=!0,a.onSubscriptionData&&globalThis.__DEV__!==!1&&Z.warn(a.onData?85:86),a.onSubscriptionComplete&&globalThis.__DEV__!==!1&&Z.warn(a.onComplete?87:88));var o=a.skip,s=a.fetchPolicy,h=a.errorPolicy,d=a.shouldResubscribe,v=a.context,p=a.extensions,m=a.ignoreResults,g=UT(function(){return a.variables},[a.variables]),S=function(){return uO(l,n,g,s,h,v,p)},E=he.useState(a.skip?null:S),_=E[0],A=E[1],R=he.useRef(S);Lu(function(){R.current=S}),o?_&&A(_=null):(!_||(l!==_.__.client||n!==_.__.query||s!==_.__.fetchPolicy||h!==_.__.errorPolicy||!Ne(g,_.__.variables))&&(typeof d=="function"?!!d(a):d)!==!1)&&A(_=S());var T=he.useRef(a);he.useEffect(function(){T.current=a});var z=!o&&!m,w=he.useMemo(function(){return{loading:z,error:void 0,data:void 0,variables:g}},[z,g]),Q=he.useRef(m);Lu(function(){Q.current=m});var B=Dv(he.useCallback(function(V){if(!_)return function(){};var K=!1,se=_.__.variables,_e=_.__.client,Ee=_.subscribe({next:function(de){var ve,te;if(!K){var fe={loading:!1,data:de.data,error:Ly(de),variables:se};_.__.setResult(fe),Q.current||V(),fe.error?(te=(ve=T.current).onError)===null||te===void 0||te.call(ve,fe.error):T.current.onData?T.current.onData({client:_e,data:fe}):T.current.onSubscriptionData&&T.current.onSubscriptionData({client:_e,subscriptionData:fe})}},error:function(de){var ve,te;de=de instanceof Qt?de:new Qt({protocolErrors:[de]}),K||(_.__.setResult({loading:!1,data:void 0,error:de,variables:se}),Q.current||V(),(te=(ve=T.current).onError)===null||te===void 0||te.call(ve,de))},complete:function(){K||(T.current.onComplete?T.current.onComplete():T.current.onSubscriptionComplete&&T.current.onSubscriptionComplete())}});return function(){K=!0,setTimeout(function(){Ee.unsubscribe()})}},[_]),function(){return _&&!o&&!m?_.__.result:w},function(){return w}),I=he.useCallback(function(){Z(!T.current.skip,89),A(R.current())},[T,R]);return he.useMemo(function(){return x(x({},B),{restart:I})},[B,I])}function uO(n,a,r,l,o,s,h){var d={query:a,variables:r,fetchPolicy:l,errorPolicy:o,context:s,extensions:h},v=x(x({},d),{client:n,result:{loading:!0,data:void 0,error:void 0,variables:r},setResult:function(m){v.result=m}}),p=null;return Object.assign(new Be(function(m){p||(p=n.subscribe(d));var g=p.subscribe(m);return function(){return g.unsubscribe()}}),{__:v})}const Qy=De.createContext({expandedState:[!1,()=>{}],messages:[],getMessages:()=>new Promise(n=>n([])),loadingMessages:!1,allMessagesFetchedRef:{current:!1},sendMessage:()=>new Promise(n=>n()),updateCredentials:()=>{},credentials:{sessionId:""}}),Xa=()=>De.useContext(Qy),oO=Ke.div` 73 padding: 5px; 74 justify-content: space-between; 75 display: flex; 76 77 & h2 { 78 color: white; 79 margin: 0; 80 margin-bottom: 6px; 81 font-weight: 700; 82 } 83 84 & p { 85 color: white; 86 margin: 0; 87 margin-bottom: 18px; 88 font-size: 13px; 89 color: #9ca3b9; 90 } 91`,sO=Ke.a` 92 border-radius: 999px; 93 border: 1px solid #1f2937; 94 background: #020617; 95 color: #e5e7f7; 96 font-size: 13px; 97 font-weight: 600; 98 padding: 9px 12px; 99 display: flex; 100 align-items: center; 101 justify-content: center; 102 gap: 8px; 103 cursor: pointer; 104 text-decoration: none; 105`,cO=()=>{const n=`https://discord.com/oauth2/authorize?client_id=1448676469755875490&response_type=token&redirect_uri=${window.location.href}&scope=identify`;return P.jsxs(P.Fragment,{children:[P.jsx(oO,{children:P.jsxs("div",{children:[P.jsx("h2",{children:"ÐовоÑи Ñ Ð¼Ð°ÑкеÑинг екÑпеÑÑ"}),P.jsx("p",{children:"ÐолÑÑи пÑоÑеÑионални наÑоки за ÑÐ²Ð¾Ñ Ð±Ð¸Ð·Ð½ÐµÑ."})]})}),P.jsxs(sO,{href:n,children:[P.jsx("span",{children:"ð®"})," ",P.jsx("span",{children:"Ðлез Ñ Discord"})]})]})},fO=Ke.div` 106 display: flex; 107 align-items: center; 108 gap: 10px; 109 margin: 30px 0; 110 font-size: 11px; 111 text-transform: uppercase; 112 letter-spacing: 0.08em; 113 color: #6b7280; 114 115 & > span { 116 flex: 1; 117 height: 1px; 118 background: linear-gradient( 119 to right, 120 transparent,
121 rgba(148, 163, 184, 0.7), 122 transparent 123 ); 124 } 125`,hO=()=>P.jsxs(fO,{children:[P.jsx("span",{}),P.jsx("p",{children:"или пÑодÑлжи Ñ Ð¸Ð¼ÐµÐ¹Ð»"}),P.jsx("span",{})]}),dO=n=>P.jsx("svg",{width:30,height:30,fill:"currentColor",stroke:"currentColor",strokeWidth:0,viewBox:"0 0 24 24",...n,children:P.jsx("path",{stroke:"none",d:"m12 10.586 4.95-4.95 1.414 1.415-4.95 4.95 4.95 4.95-1.415 1.414-4.95-4.95-4.949 4.95-1.414-1.415 4.95-4.95-4.95-4.95L7.05 5.638l4.95 4.95Z"})}),pO=Ke.form` 126 & > div { 127 margin-bottom: 14px; 128 width: 100%; 129 130 & > label { 131 display: block; 132 margin-bottom: 4px; 133 font-size: 12px; 134 font-weight: 600; 135 color: #e5e7f0; 136 } 137 138 & > input { 139 width: 100%; 140 border-radius: 10px; 141 border: 1px solid #243047; 142 padding: 9px 11px; 143 font-size: 14px; 144 font-family: inherit; 145 outline: none; 146 background: #020617; 147 color: #e5e7f7; 148 box-sizing: border-box; 149 } 150 } 151`,vO=Ke.button` 152 display: inline-flex; 153 align-items: center; 154 justify-content: center; 155 margin-top: 6px; 156 padding: 9px 20px; 157 border-radius: 999px; 158 border: none; 159 // background: #ff6b1a; 160 background: #906aff; 161 // color: #0b1120; 162 color: #e5e7f7; 163 font-size: 14px; 164 font-weight: 700; 165 cursor: pointer; 166 // box-shadow: 0 16px 36px rgba(255, 107, 26, 0.5); 167 box-shadow: 0 16px 36px rgba(144, 106, 255, 0.2); 168 width: 100%; 169 margin-top: 25px; 170 &:hover { 171 filter: brightness(1.05); 172 } 173`,yO=[{type:"text",name:"name",label:"Ðме"},{type:"email",name:"email",label:"Ðмейл"}],mO=()=>{const{credentials:n,updateCredentials:a}=Xa(),[r,l]=De.useState(n.raw?structuredClone(n.raw):{email:"",name:""}),o=s=>{s.preventDefault(),a({...n,raw:r})};return P.jsxs(pO,{onSubmit:o,children:[yO.map(s=>{const h=s.name;return P.jsxs("div",{children:[P.jsx("label",{htmlFor:s.name,children:s.label}),P.jsx("input",{autoComplete:"true",name:s.name,id:s.name,type:s.type,required:!0,value:r[h]||"",onChange:d=>l(v=>({...v,[h]:d.target.value}))})]},s.name)}),P.jsx(vO,{type:"submit",children:"ÐоÑвÑÑди"})]})},gO=["image/jpeg","image/png","image/gif","image/webp","image/svg+xml"],Gc=10,Uy="LS_LATEST_MESSAGE_READ",bO=n=>window.localStorage.setItem(Uy,String(n)),SO=()=>Number(window.localStorage.getItem(Uy)),By="LS_CREDENTIALS",Yc=n=>window.localStorage.setItem(By,JSON.stringify(n)),EO=()=>{const n={sessionId:""};try{const a=window.localStorage.getItem(By);return a?JSON.parse(a):n}catch{return n}},_O=n=>n.includes("Conversation initiated")&&n.includes("---------------"),TO=Ke.div` 174 flex: 1; 175 min-height: 160px; 176 max-height: 300px; 177 padding: 10px 6px; 178 border-radius: 12px; 179 border: 1px solid #1f2937; 180 background: #020617; 181 overflow-y: auto; 182 margin-bottom: 8px; 183 margin-top: 14px; 184 185 display: flex; 186 flex-direction: column-reverse; 187 188 scrollbar-width: thin; 189 scrollbar-color: rgba(79, 84, 92, 0.6) transparent; 190} 191`,OO=Ke.div` 192 margin-bottom: 20px; 193 align-self: ${({$bot:n})=>n?"flex-end":"flex-start"}; 194 max-width: 80%; 195 196 & > span { 197 margin-top: 4px; 198 font-size: 10px; 199 color: #6b7280; 200 display: block; 201 text-align: ${({$bot:n})=>n?"right":"left"}; 202 } 203`,DO=Ke.div` 204 margin-top: 10px; 205 text-align: ${({$bot:n})=>n?"right":"left"}; 206 207 & > a { 208 display: inline; 209 padding-top: 10px; 210 color: #e5e7f7; 211 212 & > img { 213 max-width: 50%; 214 height: auto; 215 } 216 } 217`,AO=Ke.div` 218 display: flex; 219 flex-direction: column; 220 align-items: ${({$bot:n})=>n?"flex-end":"flex-start"}; 221 222 & > div { 223 // background: ${({$bot:n})=>n?"#ff6b1a":"#111827"}; 224 background: ${({$bot:n})=>n?"#906aff":"#111827"}; 225 border: ${({$bot:n})=>n?"none":"1px solid #1f2937"}; 226 // color: ${({$bot:n})=>n?"#0b1120":"#e5e7f7"}; 227 color: #e5e7f7; 228 padding: 8px 12px; 229 border-radius: 14px; 230 font-size: 13px; 231 line-height: 1.35; 232 border-bottom-left-radius: ${({$bot:n})=>n?"auto":"4px"}; 233 border-bottom-right-radius: ${({$bot:n})=>n?"4px":"auto"}; 234 } 235`,xO=Ke.div` 236 color: #6b7280; 237 text-align: center; 238 font-size: 15px; 239 margin-top: 10px; 240 margin-bottom: 10px; 241`,CO=()=>{const{messages:n,getMessages:a,loadingMessages:r,allMessagesFetchedRef:l,credentials:o}=Xa(),s=De.useRef(null),h=De.useRef(!1);return De.useEffect(()=>{if(!o.sessionId||h.current||r)return;const d=n[0];d&&(a({limit:Gc,beforeMessageId:d.id}),h.current=!0)},[a,r,n,o]),De.useEffect(()=>{const d=n[0];d&&bO(d.createdTimestamp)},[n]),De.useEffect(()=>{if(l.current)return;const d=s.current;if(!d)return;const v=async()=>
241{if(!(d.scrollHeight+d.scrollTop-50<d.clientHeight))return;const g=n[n.length-1];(await a({beforeMessageId:g.id,limit:Gc})).length<Gc&&(l.current=!0)};return d.addEventListener("scroll",v),()=>d.removeEventListener("scroll",v)},[a,n,l]),P.jsxs(TO,{$loading:r,ref:s,children:[n.map(d=>_O(d.content)?null:P.jsxs(OO,{$bot:d.author.bot,children:[d.content&&P.jsx(AO,{$bot:d.author.bot,children:P.jsx("div",{children:d.content})},d.id),d.attachments.map(({id:p,url:m,contentType:g,name:S})=>P.jsx(DO,{$bot:d.author.bot,children:P.jsx("a",{href:m,target:"_blank",children:gO.includes(g)?P.jsx("img",{src:m,alt:S}):`ð ${S}`},p)},p)),P.jsx("span",{children:new Date(d.createdTimestamp).toLocaleTimeString().toLowerCase()})]},d.id)),r&&P.jsx(xO,{children:"...."})]})},wO=Ke.form` 242 display: flex; 243 align-items: center; 244 gap: 8px; 245 border-radius: 999px; 246 border: 1px solid #1f2937; 247 padding: 4px 6px 4px 10px; 248 background: #020617; 249`,RO=Ke.input` 250 flex: 1; 251 border: none; 252 outline: none; 253 font-size: 13px; 254 font-family: inherit; 255 background: transparent; 256 color: #e5e7f7; 257`,NO=Ke.button` 258 border: none; 259 border-radius: 999px; 260 // background: #ff6b1a; 261 background: #906aff; 262 // color: #0b1120; 263 color: #e5e7f7; 264 font-size: 12px; 265 font-weight: 600; 266 padding: 7px 12px; 267 cursor: pointer; 268 white-space: nowrap; 269`,MO=Ke.div` 270 color: red; 271 font-size: 14px; 272 margin-top: 10px; 273`,zO=()=>{const[n,a]=De.useState(""),[r,l]=De.useState(""),[o,s]=De.useState(!1),{sendMessage:h}=Xa(),d=v=>{v.preventDefault(),l(""),s(!0),h(n).then(()=>a("")).catch(p=>l(p.message||"Something went wrong.")).finally(()=>s(!1))};return P.jsxs("div",{children:[P.jsxs(wO,{onSubmit:d,children:[P.jsx(RO,{autoComplete:"off",name:"message",value:n,onChange:v=>a(v.target.value||""),required:!0,placeholder:"ТвоеÑо ÑÑобÑение..."}),P.jsx(NO,{type:"submit",disabled:o,children:"ÐзпÑаÑи"})]}),r&&P.jsx(MO,{children:r})]})},kO="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMQAAADECAMAAAD3eH5ZAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABXUExURQAAAHBA/3hI/3pK/3VF/3hI/3lJ/3ZJ/3hK/3hI/3lJ/3pK/3hK/3lJ/3hK/3hJ/3pK/3hK/3hJ/3lK/3lJ/3lJ/3lK/3lJ/3lK/3lJ/3lL/3lK/3lK/+3oui4AAAAcdFJOUwAQIDAwQFBQYGBwf4CPkJCfn6Cvr7/Pz9/f7+86A4VTAAADwklEQVR42u2a7U4iQRBFm3JWiGL8WFQkvv+bKavEibpkiESazRrNqisyH3WreiaXH/LLqTlV3ffEWBI68BFCEIIQhCAEIQhBCEIQghCEIAQhCEEIQhCCEIQgBCEIQQhCEIIQhCBE5yB2Ti/H+z315/cOJpenYgQhF/2QHZ8PtJ9/fiihPwF05yuIny8/s9GRbtcG2csXoDtfQfRfv4eTfc3H771+q3dny8U+HmeIQsOLfUOIkI0hXeuBurMpYodnkCMM6s4mT2SjMaQcqDub3jXDxGI2OhM7CFgs7gK6I991DXOE9bsjDrGo3h1xiUVlpW5rCSoWVbuz/Q1bIA0pc4TPEpdGqdfbRUlDSaklnwKSRjY56NlBwKRxqNGd8m+WsDQqPCBdaVTqAk4aP+wgcNI4b9QdqXyEE5RG9TdKUBp1fhEnDbGDwEmj5pmq+TJpSaNuR5OSRv1jgZNG3w4CJ43Tqt2RZkc4DWk0fIndCeiCV5KGND/C/tIQha65S0OjPkwaI7GD+CsNyDAGJW+caB1hT2molfaUhigeYZQ09uwgcNI42XbjRPkIu0hD+QT4SEO9pIc09PvmIA2BHGGUNAZ2EDhpbLhxoI0LW2nA1kYspQHcfYFJ478zhVwKy0ZHOyY3DrvZNuyDuvNRGi1dZPwojdZuY76/ce1dKc1GB+2HCOFw2AGI0AmI7BPEc5th3iAeuwBR3HcAIsyvi/ZDhJjfrVoPEcLi5rH9ECE+XmOG8Ywd8idPxCmm3OKmsIOAlYv5dGUHEWJ+Cym3mt5HM4gQllOMNOa/CjsImDRQKS625RaQIcvmPMFIY369tIOASSPeqg/5u78nWiMN8XBUzHWHLNvKYaQRVaWx9c/TNkhDyuRJ6tIQ23IYaUjJPEFJ48kOAieNmcaQpXyepCsNsS2HkYZUKoeSRh7NIHDSKJpJQyrnSYLSENtyGGlInTxBSWNhB4GTxl3NIUvNPElKGmJbDiMNqV8OJo2VGQRQGpWHLD55opvi4pMnutKQxnmSgDQa/ws4BWmIT57oprj45ImuNESpnKs0tNYiXKUhPnmiO2TxyRPdIYtunvhIQ3dVyEka4pMnukMWnzzRHbL45InukMUnT3SHDNoBtJUGapHRVBq4bcz3ebJWHXLx+bHAldJ3ebLUPVNvQy7wEP/yZPUAGfLywQLiJU/W66ebqD/k3/N8Fm0gQsyvrmaAPaf4cF+sgxGEyYcQhCAEIQhBCEIQghCEIAQhCEEIQhCCEIQgBCEIQQhCEIIQhCAEIQjRGYg/MtyQmNRkyrwAAAAASUVORK5CYII=";var Za=(n=>(n.Idle="IDLE",n.Offline="OFFLINE",n.Online="ONLINE",n))(Za||{});const LO={},jO=Tn` 274 query getPublicBotMembersStatus { 275 getPublicBotMembersStatus 276} 277 `;function qO(n){const a={...LO,...n};return GT(jO,a)}const Vy=n=>{switch(n){case Za.Online:return"#22c55e";case Za.Idle:return"#ffc04e";default:return"#9ca3b9"}},QO=Ke.div` 278 width: 44px; 279 height: 44px; 280 border-radius: 50%; 281 // border: 2px solid #ff6b1a; 282 border: 2px solid #906aff; 283 position: relative; 284 285 & > img { 286 position: absolute; 287 left: 50%; 288 top: 50%; 289 transform: translate(-50%, -50%); 290 width: 30px; 291 object-fit: cover; 292 } 293 294 &::before { 295 content: ""; 296 position: absolute; 297 right: -2px; 298 bottom: -2px; 299 width: 12px; 300 height: 12px; 301 border-radius: 999px; 302 background: ${({$status:n})=>Vy(n)}; 303 box-shadow: 0 0 0 2px #020617; 304 } 305`,UO=Ke.div` 306 display: flex; 307 gap: 10px; 308 align-items: center; 309 310 & > span { 311 font-size: 11px; 312 font-weight: 600; 313 color: ${({$status:n})=>Vy(n)}; 314 margin-left: auto; 315 } 316 317 & >
317 div:last-of-type { 318 display: flex; 319 flex-direction: column; 320 gap: 2px; 321 322 & > span:first-of-type { 323 font-size: 14px; 324 font-weight: 600; 325 color: #e5e7f7; 326 } 327 328 & > span:last-of-type { 329 font-size: 11px; 330 color: #9ca3b9; 331 } 332 } 333`,BO=()=>{const{expandedState:n}=Xa(),[a]=n,{data:r,fetchMore:l,loading:o,previousData:s}=qO({skip:!a,pollInterval:2e4});De.useEffect(()=>{l({})},[l]);const h=r?.getPublicBotMembersStatus,d=s?.getPublicBotMembersStatus,v=typeof d>"u"&&o,p=(()=>{if(v)return Za.Offline;const g=o?d:h;return g||Za.Offline})(),m=(()=>{switch(p){case Za.Online:return"Online";case Za.Idle:return"Away";default:return"Offline"}})();return P.jsxs(UO,{$status:p,children:[P.jsx(QO,{$status:p,children:P.jsx("img",{src:kO})}),P.jsxs("div",{children:[P.jsx("span",{children:"Zahara Consult ÑаÑ"}),P.jsx("span",{children:"С какво можем да ÑÑдейÑÑваме?"})]}),P.jsx("span",{children:m})]})},VO=Ke.div` 334 width: 470px; 335 height: 480px; 336 display: flex; 337 max-width: calc(100vw - 10px); 338 line-height: normal; 339 340 position: fixed; 341 left: 50%; 342 top: 50%; 343 transform: translate(-50%, -50%); 344 z-index: 1000; 345 346 background: #0f1722; 347 border-radius: 24px; 348 box-shadow: 0 26px 80px rgba(0, 0, 0, 0.8); 349 border: 1px solid rgba(255, 255, 255, 0.04); 350 overflow: hidden; 351 352 font-family: 353 "Rubik", 354 system-ui, 355 -apple-system, 356 BlinkMacSystemFont, 357 "Segoe UI", 358 sans-serif; 359`,IO=Ke.div` 360 flex: 1; 361 padding: 28px 28px 24px 28px; 362 background: #0b1220; 363`,FO=Ke.div` 364 flex: 1; 365 padding: 24px 24px 18px; 366 display: flex; 367 flex-direction: column; 368 background: radial-gradient(circle at top left, #111827, #020617); 369`,HO=Ke(dO)` 370 cursor: pointer; 371 width: 26px; 372 height: 26px; 373 color: #7f8595; 374 375 position: absolute; 376 top: 14px; 377 right: 18px; 378 z-index: 2; 379 380 &:hover { 381 color: white; 382 } 383`,GO=()=>{const{expandedState:[n=!1,a],credentials:r}=Xa();if(!n)return null;const l=!r.discord?.username&&!r.raw?.email;return P.jsxs(VO,{$expanded:n,children:[P.jsx(HO,{onClick:()=>a(!1)}),l?P.jsxs(IO,{children:[P.jsx(cO,{}),P.jsx(hO,{}),P.jsx(mO,{})]}):P.jsxs(FO,{children:[P.jsx(BO,{}),P.jsx(CO,{}),P.jsx(zO,{})]})]})},YO=n=>P.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 200 200",version:"1.1",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2,...n,children:[P.jsx("g",{transform:"matrix(0,1,-1,0,200,0)",children:P.jsx("rect",{x:"0",y:"0",width:"200",height:"200",fill:"url(#_Linear1)"})}),P.jsxs("g",{transform:"matrix(1.835396,0,0,1.835396,-83.53957,-83.53957)",children:[P.jsx("g",{transform:"matrix(1,0,0,1,-188.118492,-186.923004)",children:P.jsx("path",{d:"M260.112,305.37L262.31,297.054C258.868,296.768 255.428,294.665 255.428,291.894L255.428,267.041C255.428,263.982 259.536,260.732 263.17,260.732L304.176,260.732C307.712,260.732 311.058,263.982 311.058,267.041L311.058,291.894C311.058,294.953 307.712,297.149 304.176,297.149L274.162,297.149L260.112,305.37ZM280.375,278.416C280.375,280.615 282.191,282.43 284.39,282.43C286.59,282.43 288.404,280.615 288.404,278.416C288.404,276.217 286.59,274.401 284.39,274.401C282.191,274.401 280.375,276.217 280.375,278.416ZM291.368,278.416C291.368,280.615 293.184,282.43 295.382,282.43C297.582,282.43 299.397,280.615 299.397,278.416C299.397,276.217 297.582,274.401 295.382,274.401C293.184,274.401 291.368,276.217 291.368,278.416ZM268.619,278.416C268.619,280.615 270.434,282.43 272.633,282.43C274.832,282.43 276.647,280.615 276.647,278.416C276.647,276.217 274.832,274.401 272.633,274.401C270.434,274.401 268.619,276.217 268.619,278.416Z",fill:"#fff"})}),P.jsx("g",{transform:"matrix(1,0,0,1,-188.118492,-186.923004)",children:P.jsx("path",{d:"M320.809,279.657L320.809,301.547C320.809,304.318 319.375,307.091 316.22,307.091L315.838,307.091L317.272,313.114L306.948,307.091L279.994,307.091C276.838,307.091 273.779,304.318 273.779,301.547L273.779,300.686L308.955,300.686C312.588,300.686 314.404,297.915 314.404,294.762L314.404,274.975L316.22,274.975C319.375,274.975 320.809,276.983 320.809,279.657Z",fill:"#fff",fillRule:"nonzero"})})]}),P.jsx("defs",{children:P.jsxs("linearGradient",{id:"_Linear1",x1:"0",y1:"0",x2:"1",y2:"0",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(200,0,0,200,0,100)",children:[P.jsx("stop",{offset:"0",stopColor:"#9f7dff",stopOpacity:1}),P.jsx("stop",{offset:"0.55",stopColor:"#8459ff",stopOpacity:1}),P.jsx("stop",{offset:"1",stopColor:"#794aff",stopOpacity:1})]})})]}),XO=Ke.div` 384 position: fixed; 385 bottom: 15px; 386 left: 15px; 387 cursor: pointer; 388 z-index: 1000; 389 box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65); 390 border-radius: 50%; 391 width: 80px; 392 height: 80px; 393 transition: 0.1s ease; 394 user-select: none; 395 396 & img { 397 width: 100%; 398 } 399 400 &:hover { 401 transform: scale(1.1); 402 } 403 404 & > span { 405 content: "new"; 406 position: absolute; 407 background: red; 408 color: white; 409 font-size: 10px; 410 top: 0; 411 right: 0; 412 border-radius: 4px; 413 padding: 4px; 414 font-weight: bold; 415 } 416 417 @media only screen and (max-width: 500px) { 418 width: 60px; 419 height: 60px; 420 bottom: 15px; 421 right: 15px; 422 } 423`,ZO=Ke(()=>{const{messages:n,expandedState:[a,r]}=Xa(),l=(()=>
423{if(a)return;const o=n[0];return o?o.createdTimestamp>SO():!1})();return P.jsxs(XO,{onClick:()=>r(o=>!o),children:[l&&P.jsx("span",{children:"ÐÐÐÐ"}),P.jsx(YO,{style:{pointerEvents:"none",borderRadius:"50%"}})]})})` 424 display: ${({$loading:n})=>n?"none":"auto"}; 425`;function JO(){const{getMessages:n,messages:a,credentials:r}=Xa(),[l,o]=De.useState(!0);return De.useEffect(()=>{r.sessionId&&(a.length||n({limit:1}).finally(()=>o(!1)))},[n,a,r]),P.jsxs(P.Fragment,{children:[P.jsx(ZO,{$loading:l}),P.jsx(GO,{})]})}function KO(n){return Ze(n)&&"code"in n&&"reason"in n}function PO(n){var a;return Ze(n)&&((a=n.target)===null||a===void 0?void 0:a.readyState)===WebSocket.CLOSED}var WO=(function(n){hn(a,n);function a(r){var l=n.call(this)||this;return l.client=r,l}return a.prototype.request=function(r){var l=this;return new Be(function(o){return l.client.subscribe(x(x({},r),{query:ra(r.query)}),{next:o.next.bind(o),complete:o.complete.bind(o),error:function(s){if(s instanceof Error)return o.error(s);var h=KO(s);return h||PO(s)?o.error(new Error("Socket closed".concat(h?" with event ".concat(s.code):"").concat(h?" ".concat(s.reason):""))):o.error(new Qt({graphQLErrors:Array.isArray(s)?s:[s]}))}})})},a})(Ga);function wt(n){return n===null?"null":Array.isArray(n)?"array":typeof n}function Ja(n){return wt(n)==="object"}function $O(n){return Array.isArray(n)&&n.length>0&&n.every(a=>"message"in a)}function Iy(n,a){return n.length<124?n:a}const eD="graphql-transport-ws";var Pt=(n=>(n[n.InternalServerError=4500]="InternalServerError",n[n.InternalClientError=4005]="InternalClientError",n[n.BadRequest=4400]="BadRequest",n[n.BadResponse=4004]="BadResponse",n[n.Unauthorized=4401]="Unauthorized",n[n.Forbidden=4403]="Forbidden",n[n.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",n[n.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",n[n.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",n[n.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",n[n.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",n))(Pt||{}),Wt=(n=>(n.ConnectionInit="connection_init",n.ConnectionAck="connection_ack",n.Ping="ping",n.Pong="pong",n.Subscribe="subscribe",n.Next="next",n.Error="error",n.Complete="complete",n))(Wt||{});function Fy(n){if(!Ja(n))throw new Error(`Message is expected to be an object, but got ${wt(n)}`);if(!n.type)throw new Error("Message is missing the 'type' property");if(typeof n.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${wt(n.type)}`);switch(n.type){case"connection_init":case"connection_ack":case"ping":case"pong":{if(n.payload!=null&&!Ja(n.payload))throw new Error(`"${n.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${n.payload}"`);break}case"subscribe":{if(typeof n.id!="string")throw new Error(`"${n.type}" message expects the 'id' property to be a string, but got ${wt(n.id)}`);if(!n.id)throw new Error(`"${n.type}" message requires a non-empty 'id' property`);if(!Ja(n.payload))throw new Error(`"${n.type}" message expects the 'payload' property to be an object, but got ${wt(n.payload)}`);if(typeof n.payload.query!="string")throw new Error(`"${n.type}" message payload expects the 'query' property to be a string, but got ${wt(n.payload.query)}`);if(n.payload.variables!=null&&!Ja(n.payload.variables))throw new Error(`"${n.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${wt(n.payload.variables)}`);if(n.payload.operationName!=null&&wt(n.payload.operationName)!=="string")throw new Error(`"${n.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${wt(n.payload.operationName)}`);if(n.payload.extensions!=null&&!Ja(n.payload.extensions))throw new Error(`"${n.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${wt(n.payload.extensions)}`);break}case"next":{if(typeof n.id!="string")throw new Error(`"${n.type}" message expects the 'id' property to be a string, but got ${wt(n.id)}`);
425if(!n.id)throw new Error(`"${n.type}" message requires a non-empty 'id' property`);if(!Ja(n.payload))throw new Error(`"${n.type}" message expects the 'payload' property to be an object, but got ${wt(n.payload)}`);break}case"error":{if(typeof n.id!="string")throw new Error(`"${n.type}" message expects the 'id' property to be a string, but got ${wt(n.id)}`);if(!n.id)throw new Error(`"${n.type}" message requires a non-empty 'id' property`);if(!$O(n.payload))throw new Error(`"${n.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(n.payload)}`);break}case"complete":{if(typeof n.id!="string")throw new Error(`"${n.type}" message expects the 'id' property to be a string, but got ${wt(n.id)}`);if(!n.id)throw new Error(`"${n.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${n.type}"`)}return n}function tD(n,a){return Fy(typeof n=="string"?JSON.parse(n,a):n)}function Wi(n,a){return Fy(n),JSON.stringify(n,a)}function nD(n){const{url:a,connectionParams:r,lazy:l=!0,onNonLazyError:o=console.error,lazyCloseTimeout:s=0,keepAlive:h=0,disablePong:d,connectionAckWaitTimeout:v=0,retryAttempts:p=5,retryWait:m=async function(fe){const M=Math.pow(2,fe);await new Promise(Y=>setTimeout(Y,M*1e3+Math.floor(Math.random()*2700+300)))},shouldRetry:g=Xc,on:S,webSocketImpl:E,generateID:_=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,fe=>{const M=Math.random()*16|0;return(fe=="x"?M:M&3|8).toString(16)})},jsonMessageReplacer:A,jsonMessageReviver:R}=n;let T;if(E){if(!rD(E))throw new Error("Invalid WebSocket implementation provided");T=E}else typeof WebSocket<"u"?T=WebSocket:typeof global<"u"?T=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(T=window.WebSocket||window.MozWebSocket);if(!T)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const z=T,w=(()=>{const te=(()=>{const M={};return{on(Y,W){return M[Y]=W,()=>{delete M[Y]}},emit(Y){"id"in Y&&M[Y.id]?.(Y)}}})(),fe={connecting:S?.connecting?[S.connecting]:[],opened:S?.opened?[S.opened]:[],connected:S?.connected?[S.connected]:[],ping:S?.ping?[S.ping]:[],pong:S?.pong?[S.pong]:[],message:S?.message?[te.emit,S.message]:[te.emit],closed:S?.closed?[S.closed]:[],error:S?.error?[S.error]:[]};return{onMessage:te.on,on(M,Y){const W=fe[M];return W.push(Y),()=>{W.splice(W.indexOf(Y),1)}},emit(M,...Y){for(const W of[...fe[M]])W(...Y)}}})();function Q(te){const fe=[w.on("error",M=>{fe.forEach(Y=>Y()),te(M)}),w.on("closed",M=>{fe.forEach(Y=>Y()),te(M)})]}let B,I=0,V,K=!1,se=0,_e=!1;async function Ee(){clearTimeout(V);const[te,fe]=await(B??(B=new Promise((W,ne)=>(async()=>{if(K){if(await m(se),!I)return B=void 0,ne({code:1e3,reason:"All Subscriptions Gone"});se++}w.emit("connecting",K);const re=new z(typeof a=="function"?await a():a,eD);let D,U;function J(){isFinite(h)&&h>0&&(clearTimeout(U),U=setTimeout(()=>{re.readyState===z.OPEN&&(re.send(Wi({type:Wt.Ping})),w.emit("ping",!1,void 0))},h))}Q(le=>{B=void 0,clearTimeout(D),clearTimeout(U),ne(le),le instanceof Hy&&(re.close(4499,"Terminated"),re.onerror=null,re.onclose=null)}),re.onerror=le=>w.emit("error",le),re.onclose=le=>w.emit("closed",le),re.onopen=async()=>{try{w.emit("opened",re);const le=typeof r=="function"?await r():r;if(re.readyState!==z.OPEN)return;re.send(Wi(le?{type:Wt.ConnectionInit,payload:le}:{type:Wt.ConnectionInit},A)),isFinite(v)&&v>0&&(D=setTimeout(()=>{re.close(Pt.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},v)),J()}catch(le){w.emit("error",le),re.close(Pt.InternalClientError,Iy(le instanceof Error?le.message:String(le),"Internal client error"))}};let ee=!1;re.onmessage=({data:le})=>{try{const ue=tD(le,R);if(w.emit("message",ue),ue.type==="ping"||ue.type==="pong"){w.emit(ue.type,!0,ue.payload),ue.type==="pong"?J():d||(re.send(Wi(ue.payload?{type:Wt.Pong,payload:ue.payload}:{type:Wt.Pong})),w.emit("pong",!1,ue.payload));return}if(ee)return;if(ue.type!==Wt.ConnectionAck)throw new Error(`First message cannot be of type ${ue.type}`);clearTimeout(D),ee=!0,w.emit("connected",re,ue.payload,K),K=!1,se=0,W([re,new Promise((Ae,We)=>Q(We))])}catch(ue){re.onmessage=null,w.emit("error",ue),re.close(Pt.BadResponse,Iy(ue instanceof Error?ue.message:String(ue),"Bad response"))}}})())));te.readyState===z.CLOSING&&await fe;let M=()=>{};const Y=new Promise(W=>M=W);return[te,M,Promise.race([Y.then(()=>
425{if(!I){const W=()=>te.close(1e3,"Normal Closure");isFinite(s)&&s>0?V=setTimeout(()=>{te.readyState===z.OPEN&&W()},s):W()}}),fe])]}function de(te){if(Xc(te)&&(aD(te.code)||[Pt.InternalServerError,Pt.InternalClientError,Pt.BadRequest,Pt.BadResponse,Pt.Unauthorized,Pt.SubprotocolNotAcceptable,Pt.SubscriberAlreadyExists,Pt.TooManyInitialisationRequests].includes(te.code)))throw te;if(_e)return!1;if(Xc(te)&&te.code===1e3)return I>0;if(!p||se>=p||!g(te))throw te;return K=!0}l||(async()=>{for(I++;;)try{const[,,te]=await Ee();await te}catch(te){try{if(!de(te))return}catch(fe){return o?.(fe)}}})();function ve(te,fe){const M=_(te);let Y=!1,W=!1,ne=()=>{I--,Y=!0};return(async()=>{for(I++;;)try{const[re,D,U]=await Ee();if(Y)return D();const J=w.onMessage(M,ee=>{switch(ee.type){case Wt.Next:{fe.next(ee.payload);return}case Wt.Error:{W=!0,Y=!0,fe.error(ee.payload),ne();return}case Wt.Complete:{Y=!0,ne();return}}});re.send(Wi({id:M,type:Wt.Subscribe,payload:te},A)),ne=()=>{!Y&&re.readyState===z.OPEN&&re.send(Wi({id:M,type:Wt.Complete},A)),I--,Y=!0,D()},await U.finally(J);return}catch(re){if(!de(re))return}})().then(()=>{W||fe.complete()}).catch(re=>{fe.error(re)}),()=>{Y||ne()}}return{on:w.on,subscribe:ve,iterate(te){const fe=[],M={done:!1,error:null,resolve:()=>{}},Y=ve(te,{next(ne){fe.push(ne),M.resolve()},error(ne){M.done=!0,M.error=ne,M.resolve()},complete(){M.done=!0,M.resolve()}}),W=(async function*(){for(;;){for(fe.length||await new Promise(re=>M.resolve=re);fe.length;)yield fe.shift();if(M.error)throw M.error;if(M.done)return}})();return W.throw=async ne=>(M.done||(M.done=!0,M.error=ne,M.resolve()),{done:!0,value:void 0}),W.return=async()=>(Y(),{done:!0,value:void 0}),W},async dispose(){if(_e=!0,B){const[te]=await B;te.close(1e3,"Normal Closure")}},terminate(){B&&w.emit("closed",new Hy)}}}class Hy extends Error{name="TerminatedCloseEvent";message="4499: Terminated";code=4499;reason="Terminated";wasClean=!1}function Xc(n){return Ja(n)&&"code"in n&&"reason"in n}function aD(n){return[1e3,1001,1006,1005,1012,1013,1014].includes(n)?!1:n>=1e3&&n<=1999}function rD(n){return typeof n=="function"&&"constructor"in n&&"CLOSED"in n&&"CLOSING"in n&&"CONNECTING"in n&&"OPEN"in n}const iD="https://api.linkbox.bg/graphql",lD="wss://api.linkbox.bg/subscriptions",uD=new qv({uri:iD}),oD=new WO(nD({url:lD})),sD=Ga.split(n=>{const a=Nr(n.query);return a.kind==="OperationDefinition"&&a.operation==="subscription"},oD,uD),cD=new Ay({cache:new Ey,link:sD}),fD=n=>Array.from(new Map(n.map(a=>[a.id,a])).values()),Zc=Tn` 426 fragment MessageFragment on Message { 427 id 428 content 429 createdTimestamp 430 channelId 431 author { 432 id 433 username 434 bot 435 } 436 attachments { 437 id 438 name 439 contentType 440 url 441 } 442 } 443`,hD={},dD=Tn` 444 query getPublicBotMessages($credentials: Credentials!, $fetchMessagesOptions: FetchMessagesOptions) { 445 getPublicBotMessages( 446 credentials: $credentials 447 fetchMessagesOptions: $fetchMessagesOptions 448 ) { 449 ...MessageFragment 450 } 451} 452 ${Zc}`;function pD(n){const a={...hD,...n};return aO(dD,a)}const vD={},yD=Tn` 453 subscription PublicBotMessagesSubscription($credentials: Credentials!) { 454 publicBotMessagesSubscription(credentials: $credentials) { 455 ...MessageFragment 456 } 457} 458 ${Zc}`;function mD(n){const a={...vD,...n};return lO(yD,a)}const gD={},bD=Tn` 459 mutation SendPublicBotMessage($message: String!, $credentials: Credentials!) { 460 sendPublicBotMessage(message: $message, credentials: $credentials) { 461 message { 462 ...MessageFragment 463 } 464 sessionId 465 } 466} 467 ${Zc}`;function SD(n){const a={...gD,...n};return iO(bD,a)}const ED=new URLSearchParams(window.location.href).get("access_token"),_D=({children:n})=>{const[a,r]=De.useState(EO()),l=De.useState(!!ED),o=De.useRef(!1),[s,h]=De.useState([]);mD({skip:!a.sessionId,variables:{credentials:a},onData:E=>{const _=E.data.data?.publicBotMessagesSubscription;_&&h(A=>[_,...A])}});const[d,{loading:v}]=pD(),p=De.useCallback(async E=>{const{data:_}=await d({variables:{fetchMessagesOptions:E,credentials:a}}),A=_?.getPublicBotMessages||[];return h(R=>A.length?fD(R.concat(A)):R),A},[d,a]),[m]=SD(),g=De.useCallback(async E=>{const _=structuredClone(a),{data:A}=await m({variables:{credentials:_,message:E}});A&&a.sessionId!==A.sendPublicBotMessage.sessionId&&(_.sessionId=A.sendPublicBotMessage.sessionId,Yc(_),r(_))},[m,a]),S=De.useCallback(E=>{r(E),Yc(E)},[]);return De.useEffect(()=>{if(a.discord?.username)return;const _=new URLSearchParams(window.location.href).get("access_token");_&&fetch("https://discord.com/api/users/@me",{headers:{authorization:`Bearer ${_}`}}).then(A=>A.json()).then(({username:A=""})=>r(R=>(R.discord={username:A},Yc(R),{...R}
467))).catch(console.error)},[a]),P.jsx(Qy,{value:{expandedState:l,messages:s,getMessages:p,loadingMessages:v,allMessagesFetchedRef:o,sendMessage:g,credentials:a,updateCredentials:S},children:n})},Jc={zahara:"zaharaconsult.com",linkbox:"linkbox.bg"},TD='[data-cky-tag="revisit-consent"]',OD="#cookie-settings-button",Gy=()=>{switch(window.location.hostname){case Jc.zahara:return window?.pressidiumCookieConsent?.validConsent();case Jc.linkbox:return window?.getCkyConsent?.()?.isUserActionCompleted;default:return!0}},DD=()=>{const[n,a]=De.useState(!1),r=De.useRef(null),l=De.useCallback(()=>new Promise(o=>{if(Gy())return o(!0);r.current=setInterval(()=>{if(Gy())return o(!0)},2e3)}),[]);return De.useEffect(()=>{let o=!0;const s=()=>{r.current&&clearInterval(r.current),o&&a(!0)};return l().catch(s).then(s),()=>{o=!1,s()}},[l]),De.useEffect(()=>{if(window.location.hostname!==Jc.linkbox||!n)return;const o=document.querySelector(TD),s=document.querySelector(OD);if(!o||!s)return;s.style.cursor="pointer";const h=()=>o.click();return s.addEventListener("click",h),()=>{n&&s&&s.removeEventListener("click",h)}},[n]),{consentGiven:n}},AD=({children:n})=>{const{consentGiven:a}=DD();return a?n:null},xD=n=>P.jsx(De.StrictMode,{children:P.jsx(nE,{target:n,children:P.jsx(AD,{children:P.jsx(b_,{client:cD,children:P.jsx(_D,{children:P.jsx(JO,{})})})})})}),CD=()=>{const n=document.createElement("div");n.id="linkbox-chat-container",document.body.appendChild(n);const a=n.attachShadow({mode:"open"}),r=document.createElement("div");a.appendChild(r),aS.createRoot(r).render(xD(a))};document.addEventListener("DOMContentLoaded",CD)})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.