1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(1633)}])},5050:function(e,t,r){"use strict";r.d(t,{K$:function(){return l},SQ:function(){return o},nf:function(){return c}});var n,i,o,a=r(5893),s=r(7294);(i||(i={})).SET_LANGUAGE="SET_LANGUAGE",(n=o||(o={})).EN="EN",n.AM="AM";let u=(0,s.createContext)(void 0),c=e=>{let{children:t}=e,[r,n]=(0,s.useReducer)((e,t)=>"SET_LANGUAGE"===t.type?{...e,language:t.payload}:e,{language:"EN"});return(0,a.jsx)(u.Provider,{value:{state:r,dispatch:n},children:t})},l=()=>{let e=(0,s.useContext)(u);if(!e)throw Error("useSettingsContext must be used within a SettingsContextProvider");return e}},3759:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(7294),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),a=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{color:s="currentColor",size:u=24,strokeWidth:c=2,absoluteStrokeWidth:l,className:f="",children:d,...p}=r;return(0,n.createElement)("svg",{ref:a,...i,width:u,height:u,stroke:s,strokeWidth:l?24*Number(c)/Number(u):c,className:["lucide","lucide-".concat(o(e)),f].join(" "),...p},[...t.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])});return r.displayName="".concat(e),r}},8956:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(3759).Z)("Clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]])},3525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(4001).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6361:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(3525);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4001:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let i=globalThis.AsyncLocalStorage;function o(){return i?new i:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6432:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},useParams:function(){return p},usePathname:function(){return f},useRouter:function(){return d},useSearchParams:function(){return l},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return h}
1,useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(7294),i=r(257),o=r(2608),a=r(1288),s=r(6406),u=r(2717),c=r(5988);function l(){let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e])}function f(){return(0,n.useContext)(o.PathnameContext)}function d(){let e=(0,n.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,n.useContext)(o.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,n.useContext)(i.LayoutRouterContext);return t?function e(t,r,n,i){let o;if(void 0===n&&(n=!0),void 0===i&&(i=[]),n)o=t[1][r];else{var u;let e=t[1];o=null!=(u=e.children)?u:Object.values(e)[0]}if(!o)return i;let c=o[0],l=(0,a.getSegmentValue)(c);return!l||l.startsWith(s.PAGE_SEGMENT_KEY)?i:(i.push(l),e(o,r,!1,i))}(t.tree,e):null}function v(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2717:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return n.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect}});let n=r(7511),i=r(3394);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3394:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return i},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4234:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7511:function(e,t,r){"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return v},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return p},isRedirectError:function(){return d},permanentRedirect:function(){return f},redirect:function(){return l}});let o=r(2595),a=r(6361),s=r(4234),u="NEXT_REDIRECT";function c(e,t,r){void 0===r&&(r=s.RedirectStatusCode.TemporaryRedirect);let n=Error(u);n.digest=u+";"+t+";"+e+";"+r+";";let i=o.requestAsyncStorage.getStore();return i&&(n.mutableCookies=i.mutableCookies),n}function l(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.TemporaryRedirect)}function f(e,t){void 0===t&&(t="replace");let r=a.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,i]=e.digest.split(";",4),o=Number(i);return t===u&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(o)&&o in s.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function v(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(i=n||(n={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5329:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(4001).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2595:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return n.requestAsyncStorage}});let n=r(5329);function i(e){let t=n.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1288:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8199:function(e,t){"use strict";var r,n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return p}});let a="refresh",s="navigate",u="restore",c="server-patch",l="prefetch",f="fast-refresh",d="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=r||(r={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(o=n||(n={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7195:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(8337),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4080:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return g}});let n=r(8754),i=r(1757),o=r(5893),a=i._(r(7294)),s=n._(r(3935)),u=n._(r(3867)),c=r(5283),l=r(6594),f=r(3945);r(3179);let d=r(1928),p=n._(r(3872)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function v(e,t,r,n,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let m=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:u,decoding:c,className:l,style:f,fetchPriority:d,placeholder:p,loading:h,unoptimized:m,fill:b,onLoadRef:g,onLoadingCompleteRef:w,setBlurComplete:E,setShowAltText:x,sizesInput:_,onLoad:O,onError:k,...S}=e;return(0,o.jsx)("img",{...S,...y(d),loading:h,width:u,height:s,decoding:c,"data-nimg":b?"fill":"1",className:l,style:f,sizes:i,srcSet:n,src:r,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(k&&(e.src=e.src),e.complete&&v(e,p,g,w,E,m,_))},[r,p,g,w,E,k,m,_,t]),onLoad:e=>{v(e.currentTarget,p,g,w,E,m,_)},onError:e=>{x(!0),"empty"!==p&&E(!0),k&&k(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let g=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(d.RouterContext),n=(0,a.useContext)(f.ImageConfigContext),i=(0,a.useMemo)(()=>{var e;let t=h||n||l.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:s,onLoadingComplete:u}=e,v=(0,a.useRef)(s);(0,a.useEffect)(()=>{v.current=s},[s]);let y=(0,a.useRef)(u);(0,a.useEffect)(()=>{y.current=u},[u]);let[g,w]=(0,a.useState)(!1),[E,x]=(0,a.useState)(!1),{props:_,meta:O}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:g,showAltText:E});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m,{..._,unoptimized:O.unoptimized,placeholder:O.placeholder,fill:O.fill,onLoadRef:v,onLoadingCompleteRef:y,setBlurComplete:w,setShowAltText:x,sizesInput:e.sizes,ref:t}),O.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:_}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let n=r(8754),i=r(5893),o=n._(r(7294)),a=r(6075),s=r(3955),u=r(8041),c=r(9903),l=r(5490),f=r(1928),d=r(257),p=r(4229),h=r(7195),v=r(9470),y=r(8199),m=new Set;function b(e,t,r,n,i,o){if(o||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(m.has(i))return;m.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,r,n))().catch(e=>{})}}function g(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let w=o.default.forwardRef(function(e,t){let r,n;let{href:u,as:m,children:w,prefetch:E=null,passHref:x,replace:_,shallow:O,scroll:k,locale:S,onClick:T,onMouseEnter:j,onTouchStart:R,legacyBehavior:N=!1,...I}=e;r=w,N&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let D=o.default.useContext(f.RouterContext),P=o.default.useContext(d.AppRouterContext),C=null!=D?D:P,M=!D,A=!1!==E,F=null===E?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:L,as:q}=o.default.useMemo(()=>{if(!D){let e=g(u);return{href:e,as:m?g(m):e}}let[e,t]=(0,a.resolveHref)(D,u,!0);return{href:e,as:m?(0,a.resolveHref)(D,m):t||e}},[D,u,m]),V=o.default.useRef(L),Q=o.default.useRef(q);N&&(n=o.default.Children.only(r));let z=N?n&&"object"==typeof n&&n.ref:t,[G,U,W]=(0,p.useIntersection)({rootMargin:"200px"}),B=o.default.useCallback(e=>{(Q.current!==q||V.current!==L)&&(W(),Q.current=q,V.current=L),G(e),z&&("function"==typeof z?z(e):"object"==typeof z&&(z.current=e))},[q,z,L,W,G]);o.default.useEffect(()=>{C&&U&&A&&b(C,L,q,{locale:S},{kind:F},M)},[q,L,U,S,A,null==D?void 0:D.locale,C,M,F]);let K={ref:B,onClick(e){N||"function"!=typeof T||T(e),N&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),C&&!e.defaultPrevented&&function(e,t,r,n,i,a,u,c,l){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!l&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let d=()=>{let e=null==u||u;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:c,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};l?o.default.startTransition(d):d()}(e,C,L,q,_,O,k,S,M)},onMouseEnter(e){N||"function"!=typeof j||j(e),N&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),C&&(A||!M)&&b(C,L,q,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:F},M)},onTouchStart:function(e){N||"function"!=typeof R||R(e),N&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),C&&(A||!M)&&b(C,L,q,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:F},M)}};if((0,c.isAbsoluteUrl)(q))K.href=q;else if(!N||x||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==D?void 0:D.locale,t=(null==D?void 0:D.isLocaleDomain)&&(0,h.getDomainLocale)(q,e,null==D?void 0:D.locales,null==D?void 0:D.domainLocales);K.href=t||(0,v.addBasePath)((0,l.addLocale)(q,e,null==D?void 0:D.defaultLocale))}return N?o.default.cloneElement(n,K):(0,i.jsx)("a",{...I,...K,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4229:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(7294),i=r(4474),o="function"==typeof IntersectionObserver,a=new Map,s=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,c=u||!o,[l,f]=(0,n.useState)(!1),d=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{d.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(c||l)return;let e=d.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!l){let e=(0,i.requestIdleCallback)(()=>f(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,r,t,l,d.current]),[p,l,(0,n.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(3179);let n=r(6630),i=r(6594);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let u,c,l,{src:f,sizes:d,unoptimized:p=!1,priority:h=!1,loading:v,className:y,quality:m,width:b,height:g,fill:w=!1,style:E,overrideSrc:x,onLoad:_,onLoadingComplete:O,placeholder:k="empty",blurDataURL:S,fetchPriority:T,decoding:j="async",layout:R,objectFit:N,objectPosition:I,lazyBoundary:D,lazyRoot:P,...C}=e,{imgConf:M,showAltText:A,blurComplete:F,defaultLoader:L}=t,q=M||i.imageConfigDefault;if("allSizes"in q)u=q;else{let e=[...q.deviceSizes,...q.imageSizes].sort((e,t)=>e-t),t=q.deviceSizes.sort((e,t)=>e-t),n=null==(r=q.qualities)?void 0:r.sort((e,t)=>e-t);u={...q,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===L)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let V=C.loader||L;delete C.loader,delete C.srcSet;let Q="__next_img_default"in V;if(Q){if("custom"===u.loader)throw Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=V;V=t=>{let{config:r,...n}=t;return e(n)}}if(R){"fill"===R&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(E={...E,...e});let t={responsive:"100vw",fill:"100vw"}[R];t&&!d&&(d=t)}let z="",G=a(b),U=a(g);if("object"==typeof(s=f)&&(o(s)||void 0!==s.src)){let e=o(f)?f.default:f;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(c=e.blurWidth,l=e.blurHeight,S=S||e.blurDataURL,z=e.src,!w){if(G||U){if(G&&!U){let t=G/e.width;U=Math.round(e.height*t)}else if(!G&&U){let t=U/e.height;G=Math.round(e.width*t)}}else G=e.width,U=e.height}}let W=!h&&("lazy"===v||void 0===v);(!(f="string"==typeof f?f:z)||f.startsWith("data:")||f.startsWith("blob:"))&&(p=!0,W=!1),u.unoptimized&&(p=!0),Q&&f.endsWith(".svg")&&!u.dangerouslyAllowSVG&&(p=!0),h&&(T="high");let B=a(m),K=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:N,objectPosition:I}:{},A?{}:{color:"transparent"},E),J=F||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:G,heightInt:U,blurWidth:c,blurHeight:l,blurDataURL:S||"",objectFit:K.objectFit})+'")':'url("'+k+'")',Y=J?{backgroundSize:K.objectFit||"cover",backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{}
1,$=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:c}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),l=u.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:u.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:s({config:t,src:r,quality:o,width:u[l]})}}({config:u,src:f,unoptimized:p,width:G,quality:B,sizes:d,loader:V});return{props:{...C,loading:W?"lazy":v,fetchPriority:T,width:G,height:U,decoding:j,className:y,style:{...K,...Y},sizes:$.sizes,srcSet:$.srcSet,src:x||$.src},meta:{unoptimized:p,priority:h,placeholder:k,fill:w}}}},6630:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,u=i?40*i:r,c=s&&u?"viewBox='0 0 "+s+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},6210:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return s}});let n=r(8754),i=r(5283),o=r(4080),a=n._(r(3872));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image},3872:function(e,t){"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,a=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+a}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},5988:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let n=r(1757)._(r(7294)),i=n.default.createContext(null);function o(e){let t=(0,n.useContext)(i);t&&t(e)}},1633:function(e,t,r){"use strict";let n,i;r.r(t),r.d(t,{default:function(){return iN}});var o,a,s,u,c=r(5893);r(3434);var l=r(7582),f=r(8287);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var v=function(){return"function"==typeof Symbol},y=function(e){return v()&&!!Symbol[e]},m=function(e){return y(e)?Symbol[e]:"@@"+e};v()&&!y("observable")&&(Symbol.observable=Symbol("observable"));var b=m("iterator"),g=m("observable"),w=m("species");function E(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function x(e){var t=e.constructor;return void 0!==t&&null===(t=t[w])&&(t=void 0),void 0!==t?t:I}function _(e){_.log?_.log(e):setTimeout(function(){throw e})}function O(e){Promise.resolve().then(function(){try{e()}catch(e){_(e)}})}function k(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var r=E(t,"unsubscribe");r&&r.call(t)}}catch(e){_(e)}}}function S(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function T(e,t,r){e._state="running";var n=e._observer;try{var i=E(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(S(e),i)i.call(n,r);else throw r;break;case"complete":S(e),i&&i.call(n)}}catch(e){_(e)}"closed"===e._state?k(e):"running"===e._state&&(e._state="ready")}function j(e,t,r){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],O(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(T(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});return}T(e,t,r)}}var R=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new N(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(S(this),k(this))},h(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),N=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){j(this._subscription,"next",e)},t.error=function(e){j(this._subscription,"error",e)},t.complete=function(){j(this._subscription,"complete")},h(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),I=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new R(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e){n(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(x(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(x(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=x(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=x(this);return new i(function(t){var n,o=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=x(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[g]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var n=E(t,g);if(n){var i=n.call(t);if(Object(i)!==i)throw TypeError(i+" is not an object");return i instanceof I&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(y("iterator")&&(n=E(t,b)))return new r(function(e){O(function(){if(!e.closed){for(var r,i=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return d(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,void 0)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.call(t));!(r=i()).done;){var o=r.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){O(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){O(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},h(e,null,[{key:w,get:function(){return this}}]),e}();v()&&Object.defineProperty(I,Symbol("extensions"),{value:{symbol:g,hostReportError:_},configurable:!0});var D=r(3154);function P(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,f._K)(70,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&((0,f.kG)(1===n.length,71,n.length),r=n[0].name.value),(0,l.pi)((0,l.pi)({},e),{definitions:(0,l.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function C(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function M(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,f.kG)(n,72,r),n||null;default:return null}}function A(e){return{__ref:String(e)}}function F(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function L(e,t,r,n){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var i={};r.fields.map(function(e){return L(i,e.name,e.value,n)}),e[t.value]=i}else if("Variable"===r.kind){var o=(n||{})[r.name.value];e[t.value]=o}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return L(r,t,e,n),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,f._K)(81,t.value,r.kind)}var q=["connection","include","skip","client","rest","export","nonreactive"],V=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};
1return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(Q(i),")")}var o=e;if(t){var a=Q(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===q.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(Q(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=Q;return Q=e,t}}),Q=function(e){return JSON.stringify(e,z)};function z(e,t){return(0,D.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(e,r){return e[r]=t[r],e},{})),t}function G(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return L(r,e.name,e.value,t)}),r}return null}function U(e){return e.alias?e.alias.value:e.name.value}function W(e,t,r){for(var n,i=0,o=t.selections;i<o.length;i++){var a=o[i];if(B(a)){if("__typename"===a.name.value)return e[U(a)]}else n?n.push(a):n=[a]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var s=0,u=n;s<u.length;s++){var a=u[s],c=W(e,M(a,r).selectionSet,r);if("string"==typeof c)return c}}function B(e){return"Field"===e.kind}function K(e){(0,f.kG)(e&&"Document"===e.kind,73);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,f._K)(74,e.kind);return e});return(0,f.kG)(t.length<=1,75,t.length),e}function J(e){return K(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function Y(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function $(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function H(e){var t=J(e);return(0,f.kG)(t&&"query"===t.operation,76),t}function Z(e){K(e);for(var t,r=0,n=e.definitions;r<n.length;r++){var i=n[r];if("OperationDefinition"===i.kind){var o=i.operation;if("query"===o||"mutation"===o||"subscription"===o)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw(0,f._K)(80)}function X(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&L(t,e.variable.name,e.defaultValue)}),t}function ee(e,t){return t?t(e):I.of()}function et(e){return"function"==typeof e?new en(e):e}function er(e){return e.request.length<=1}var en=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return I.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(et).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=et(r),o=et(n||new e(ee));return new e(er(i)&&er(o)?function(e){return t(e)?i.request(e)||I.of():o.request(e)||I.of()}:function(e,r){return t(e)?i.request(e,r)||I.of():o.request(e,r)||I.of()})},e.execute=function(e,t){var r,n,i,o;return e.request((i=t.context,(n={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(0>t.indexOf(i))throw(0,f._K)(43,i)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(n.operationName="string"!=typeof n.query?Y(n.query)||void 0:""),o=(0,l.pi)({},i),Object.defineProperty(n,"setContext",{enumerable:!1,value:function(e){o="function"==typeof e?(0,l.pi)((0,l.pi)({},o),e(o)):(0,l.pi)((0,l.pi)({},o),e)}}),Object.defineProperty(n,"getContext",{enumerable:!1,value:function(){return(0,l.pi)({},o)}}),n))||I.of()},e.concat=function(t,r){var n=et(t);if(er(n))return!1!==globalThis.__DEV__&&f.kG.warn(35,n),n;var i=et(r);return new e(er(i)?function(e){return n.request(e,function(e){return i.request(e)||I.of()})||I.of()}:function(e,t){return n.request(e,function(e){return i.request(e,t)||I.of()})||I.of()})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(ee)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,f._K)(36)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),ei=en.execute,eo=r(9379),ea=r(7826),es=r(5821),eu=r(2380),ec=r(7359);let el=Object.freeze({});function ef(e,t,r=eu.h8){let n,i,o;let a=new Map;for(let e of Object.values(ec.h))a.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let s=Array.isArray(e),u=[e],c=-1,l=[],f=e,d=[],p=[];do{var h,v,y;let e;let m=++c===u.length,b=m&&0!==l.length;if(m){if(i=0===p.length?void 0:d[d.length-1],f=o,o=p.pop(),b){if(s){f=f.slice();let e=0;for(let[t,r]of l){let n=t-e;null===r?(f.splice(n,1),e++):f[n]=r}}else for(let[e,t]of(f=Object.defineProperties({},Object.getOwnPropertyDescriptors(f)),l))f[e]=t}c=n.index,u=n.keys,l=n.edits,s=n.inArray,n=n.prev}else if(o){if(null==(f=o[i=s?c:u[c]]))continue;d.push(i)}if(!Array.isArray(f)){(0,eu.UG)(f)||(0,ea.a)(!1,`Invalid AST Node: ${(0,es.X)(f)}.`);let r=m?null===(h=a.get(f.kind))||void 0===h?void 0:h.leave:null===(v=a.get(f.kind))||void 0===v?void 0:v.enter;if((e=null==r?void 0:r.call(t,f,i,o,d,p))===el)break;
1if(!1===e){if(!m){d.pop();continue}}else if(void 0!==e&&(l.push([i,e]),!m)){if((0,eu.UG)(e))f=e;else{d.pop();continue}}}void 0===e&&b&&l.push([i,f]),m?d.pop():(n={inArray:s,index:c,keys:u,edits:l,prev:n},u=(s=Array.isArray(f))?f:null!==(y=r[f.kind])&&void 0!==y?y:[],c=-1,l=[],o&&p.push(o),o=f)}while(void 0!==n);return 0!==l.length?l[l.length-1][1]:e}function ed(e,t){var r,n=e.directives;return!n||!n.length||(r=[],n&&n.length&&n.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var n=e.arguments,i=e.name.value;(0,f.kG)(n&&1===n.length,67,i);var o=n[0];(0,f.kG)(o.name&&"if"===o.name.value,68,i);var a=o.value;(0,f.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),69,i),r.push({directive:e,ifArgument:o})}}),r).every(function(e){var r=e.directive,n=e.ifArgument,i=!1;return"Variable"===n.value.kind?(i=t&&t[n.value.name.value],(0,f.kG)(void 0!==i,66,r.name.value)):i=n.value.value,"skip"===r.name.value?!i:i})}function ep(e,t,r){var n=new Set(e),i=n.size;return ef(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return el}}),r?!n.size:n.size<i}var eh=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,f._K)(39,t,e.message);throw n.parseError=e,n}return r},ev=r(320);function ey(e){var t={next:function(){return e.read()}};return ev.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var em=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},eb=r(990),eg=r(1436),ew=Object.prototype.hasOwnProperty;function eE(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ex(e)}function ex(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new eO,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var e_=function(e,t,r){return this.merge(e[r],t[r])},eO=function(){function e(e){void 0===e&&(e=e_),this.reconciler=e,this.isObject=D.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return(0,D.s)(t)&&(0,D.s)(e)?(Object.keys(t).forEach(function(i){if(ew.call(e,i)){var o=e[i];if(t[i]!==o){var a=r.reconciler.apply(r,(0,l.ev)([e,t,i],n,!1));a!==o&&((e=r.shallowCopyForMerge(e))[i]=a)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,D.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,l.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function ek(e){return"incremental"in e}function eS(e,t){var r=e,n=new eO;return ek(t)&&(0,eg.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}var eT=Object.prototype.hasOwnProperty;function ej(e,t){e.status>=300&&em(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var eR=function(e){if(!e&&"undefined"==typeof fetch)throw(0,f._K)(37)},eN=r(7392);let eI=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function eD(e){return eP[e.charCodeAt(0)]}let eP=["\\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"],eC={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>eM(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=eF("(",eM(e.variableDefinitions,", "),")"),r=eM([e.operation,eM([e.name,t]),eM(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+eF(" = ",r)+eF(" ",eM(n," "))},SelectionSet:{leave:({selections:e})=>eA(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=eF("",e,": ")+t,a=o+eF("(",eM(r,", "),")");return a.length>80&&(a=o+eF("(\n",eL(eM(r,"\n")),"\n)")),eM([a,eM(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+eF(" ",eM(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>eM(["...",eF("on ",e),eM(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${eF("(",eM(r,", "),")")} on ${t} ${eF("",eM(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,eN.LZ)(e):`"${e.replace(eI,eD)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+eM(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+eM(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+eF("(",eM(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>eF("",e,"\n")+eM(["schema",eM(t," "),eA(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>eF("",e,"\n")+eM(["scalar",t,eM(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>eF("",e,"\n")+eM(["type",t,eF("implements ",eM(r," & ")),eM(n," "),eA(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>eF("",e,"\n")+t+(eq(r)?eF("(\n",eL(eM(r,"\n")),"\n)"):eF("(",eM(r,", "),")"))+": "+n+eF(" ",eM(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>eF("",e,"\n")+eM([t+": "+r,eF("= ",n),eM(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>eF("",e,"\n")+eM(["interface",t,eF("implements ",eM(r," & ")),eM(n," "),eA(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>eF("",e,"\n")+eM(["union",t,eM(r," "),eF("= ",eM(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>eF("",e,"\n")+eM(["enum",t,eM(r," "),eA(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>eF("",e,"\n")+eM([t,eM(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>eF("",e,"\n")+eM(["input",t,eM(r," "),eA(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>eF("",e,"\n")+"directive @"+t+(eq(r)?eF("(\n",eL(eM(r,"\n")),"\n)"):eF("(",eM(r,", "),")"))+(n?" repeatable":"")+" on "+eM(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>eM(["extend schema",eM(e," "),eA(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>eM(["extend scalar",e,eM(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>eM(["extend type",e,eF("implements ",eM(t," & ")),eM(r," "),eA(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>eM(["extend interface",e,eF("implements ",eM(t," & ")),eM(r," "),eA(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>eM(["extend union",e,eM(t," "),eF("= ",eM(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>eM(["extend enum",e,eM(t," "),eA(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>eM(["extend input",e,eM(t," "),eA(r)]," ")}};function eM(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function eA(e){return eF("{\n",eL(eM(e,"\n")),"\n}")}function eF(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function eL(e){return eF(" ",e.replace(/\n/g,"\n "))}function eq(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var eV=ev.mr?new WeakMap:void 0,eQ=function(e){var t;return(t=null==eV?void 0:eV.get(e))||(t=ef(e,eC),null==eV||eV.set(e,t)),t},ez={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},eG=function(e,t){return t(e)};function eU(e){return new I(function(t){t.error(e)})}var eW={kind:ec.h.FIELD,name:{kind:ec.h.NAME,value:"__typename"}};function eB(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function eK(e,t){K(t);for(var r,n,i,o,a=eB(""),s=eB(""),u=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,eg.k)(r)){if(r.kind===ec.h.OPERATION_DEFINITION)return a(r.name&&r.name.value);if(r.kind===ec.h.FRAGMENT_DEFINITION)return s(r.name.value)}return!1!==globalThis.__DEV__&&f.kG.error(82),null},c=0,d=t.definitions.length-1;d>=0;--d)t.definitions[d].kind===ec.h.OPERATION_DEFINITION&&++c;var p=(r=new Map,n=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&n.set(e.test,e))}
1),function(e){var t=r.get(e.name.value);return!t&&n.size&&n.forEach(function(r,n){n(e)&&(t=r)}),t}),h=function(e){return(0,eg.O)(e)&&e.map(p).some(function(e){return e&&e.remove})},v=new Map,y=!1,m={enter:function(e){if(h(e.directives))return y=!0,null}},b=ef(t,{Field:m,InlineFragment:m,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=u(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(h(e.directives))return y=!0,null;var o=u(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){v.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===v.get(JSON.stringify(n))?e:c>0&&e.selectionSet.selections.every(function(e){return e.kind===ec.h.FIELD&&"__typename"===e.name.value})?(s(e.name.value).removed=!0,y=!0,null):void 0}},Directive:{leave:function(e){if(p(e))return y=!0,null}}});if(!y)return t;var g=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){g(s(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},w=new Set;b.definitions.forEach(function(e){e.kind===ec.h.OPERATION_DEFINITION?g(a(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){w.add(e)}):e.kind!==ec.h.FRAGMENT_DEFINITION||0!==c||s(e.name.value).removed||w.add(e.name.value)}),w.forEach(function(e){g(s(e)).fragmentSpreads.forEach(function(e){w.add(e)})});var E={enter:function(e){var t;if(t=e.name.value,!w.has(t)||s(t).removed)return null}};return!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===ec.h.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}(J(i=ef(b,{FragmentSpread:E,FragmentDefinition:E,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=g(a(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,l.pi)((0,l.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))||((0,f.kG)("Document"===i.kind,77),(0,f.kG)(i.definitions.length<=1,78),o=i.definitions[0],(0,f.kG)("FragmentDefinition"===o.kind,79),o),C($(i)))?i:null}var eJ=Object.assign(function(e){return ef(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==ec.h.OPERATION_DEFINITION){var n=e.selections;if(!(!n||n.some(function(e){return B(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!(B(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,l.pi)((0,l.pi)({},e),{selections:(0,l.ev)((0,l.ev)([],n,!0),[eW],!1)})}}}})},{added:function(e){return e===eW}});function eY(e){return K(e),eK([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var e$=(0,f.wY)(function(){return fetch}),eH=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,o=void 0===i?eG:i,a=e.includeExtensions,s=e.preserveHeaderCase,u=e.useGETForQueries,c=e.includeUnusedVariables,d=void 0!==c&&c,p=(0,l._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&eR(n||e$);var h={http:{includeExtensions:a,preserveHeaderCase:s},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new en(function(e){var t,i,a,s,c,p,v,y,m=(t=e,i=r,t.getContext().uri||("function"==typeof i?i(t):i||"/graphql")),b=e.getContext(),g={};if(b.clientAwareness){var w=b.clientAwareness,E=w.name,x=w.version;E&&(g["apollographql-client-name"]=E),x&&(g["apollographql-client-version"]=x)}var _=(0,l.pi)((0,l.pi)({},g),b.headers),O={http:b.http,options:b.fetchOptions,credentials:b.credentials,headers:_};if(ep(["client"],e.query)){var k=eY(e.query);if(!k)return eU(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=k}var S=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};r.forEach(function(e){i=(0,l.pi)((0,l.pi)((0,l.pi)({},i),e.options),{headers:(0,l.pi)((0,l.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,l.pi)((0,l.pi)({},o),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r=Object.create(null);
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n=Object.create(null);Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,c=e.query,f={operationName:a,variables:u};return o.includeExtensions&&(f.extensions=s),o.includeQuery&&(f.query=t(c,eQ)),{options:i,body:f}}(e,o,ez,h,O),T=S.options,j=S.body;j.variables&&!d&&(j.variables=(a=j.variables,s=e.query,c=(0,l.pi)({},a),p=new Set(Object.keys(a)),ef(s,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&p.delete(e.name.value)}}),p.forEach(function(e){delete c[e]}),c)),T.signal||"undefined"==typeof AbortController||(y=new AbortController,T.signal=y.signal);var R="OperationDefinition"===(v=Z(e.query)).kind&&"subscription"===v.operation,N=ep(["defer"],e.query);if(u&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(T.method="GET"),N||R){T.headers=T.headers||{};var P="multipart/mixed;";R&&N&&!1!==globalThis.__DEV__&&f.kG.warn(38),R?P+="boundary=graphql;subscriptionSpec=1.0,application/json":N&&(P+="deferSpec=20220824,application/json"),T.headers.accept=P}if("GET"===T.method){var C=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=eh(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=eh(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}(m,j),M=C.newURI,A=C.parseError;if(A)return eU(A);m=M}else try{T.body=eh(j,"Payload")}catch(e){return eU(e)}return new I(function(t){var r=n||(0,f.wY)(function(){return fetch})||e$,i=t.next.bind(t);return r(m,T).then(function(t){e.setContext({response:t});var r,n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?function(e,t){var r;return(0,l.mG)(this,void 0,void 0,function(){var n,i,o,a,s,u,c,f,d,p,h,v,y,m,b,g,w,E,x,_,O,k;return(0,l.Jh)(this,function(S){switch(S.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),i=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",c=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,ev.DN&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return ey(s.getReader());if(s.stream)return ey(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},ev.DN&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return ev.DN&&(c[Symbol.asyncIterator]=function(){return this}),c}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),f=!0,S.label=1;case 1:if(!f)return[3,3];return[4,c.next()];case 2:for(p=(d=S.sent()).value,h=d.done,v="string"==typeof p?p:n.decode(p),y=u.length-s.length+1,f=!h,u+=v,m=u.indexOf(s,y);m>-1;){if(b=void 0,b=(O=[u.slice(0,m),u.slice(m+s.length)])[0],u=O[1],g=b.indexOf("\r\n\r\n"),(w=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(b.slice(0,g))["content-type"])&&-1===w.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(E=b.slice(g)){if(Object.keys(x=ej(e,E)).length>1||"data"in x||"incremental"in x||"errors"in x||"payload"in x)(0,D.s)(x)&&"payload"in x?(_={},"payload"in x&&(_=(0,l.pi)({},x.payload)),"errors"in x&&(_=(0,l.pi)((0,l.pi)({},_),{extensions:(0,l.pi)((0,l.pi)({},"extensions"in _?_.extensions:null),((k={})[eb.YG]=x.errors,k))})),t(_)):t(x);else if(1===Object.keys(x).length&&"hasNext"in x&&!x.hasNext)return[2]}m=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):t.text().then(function(e){return ej(t,e)}).then(function(r){return t.status>=300&&em(t,r,"Response not successful: Received status code ".concat(t.status)),Array.isArray(r)||eT.call(r,"data")||eT.call(r,"errors")||em(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r}).then(i)}).then(function(){y=void 0,t.complete()}).catch(function(e){y=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){y&&y.abort()}})})},eZ=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,eH(t).request)||this;return r.options=t,r}return(0,l.ZT)(t,e),t}(en),eX=r(20);let e0=()=>Object.create(null),{forEach:e1,slice:e2}=Array.prototype,{hasOwnProperty:e3}=Object.prototype;class e8{constructor(e=!0,t=e0){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return e1.call(e,e=>t=t.getChildTrie(e)),e3.call(t,"data")?t.data:t.data=this.makeData(e2.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=this.weakness&&e5(e[r])?t.weak:t.strong;t=n&&n.get(e[r])}return t&&t.data}getChildTrie(e){let t=this.weakness&&e5(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=t.get(e);return r||t.set(e,r=new e8(this.weakness,this.makeData)),r}}function e5(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var e9=function(){function e(){this.known=new(ev.sy?WeakSet:Set),this.pool=new e8(ev.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,D.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,D.s)(e)){var t=(0,D.s)(e)?(0,eg.k)(e)?e.slice(0):(0,l.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,D.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),e7=Object.assign(function(e){if((0,D.s)(e)){void 0===s&&e4();var t=s.admit(e),r=u.get(t);return void 0===r&&u.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)},{reset:e4});function e4(){s=new e9,u=new(ev.mr?WeakMap:Map)}function e6(e){return e}var te=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=ev.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),!1!==t.cache&&(this.stableCacheKeys=new e8(ev.mr,function(e){return{key:e}}))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(e6,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;K(e);var r=this.transform(e);return this.resultCache.add(r),t&&(t.value=r),r},e.prototype.concat=function(t){var r=this;return new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);if(t)return(0,f.kG)(Array.isArray(t),65),this.stableCacheKeys.lookupArray(t)}},e}();function tt(e,t,r){return new I(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function tr(e){var t=tn(e);return(0,eg.O)(t)}function tn(e){var t=(0,eg.O)(e.errors)?e.errors.slice(0):[];return ek(e)&&(0,eg.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var ti=r(897);function to(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}
1),n.forEach(function(e){return e[t](r)})}function ta(e){function t(t){Object.defineProperty(e,t,{value:I})}return ev.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function ts(e){return e&&"function"==typeof e.then}var tu=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),to(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),to(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?ts(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)}):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),to(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new I(t)]),ts(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,l.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(I);ta(tu);var tc=r(1644),tl=r(3712),tf=Object.prototype.toString;function td(e,t){switch(tf.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=td(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach(function(r){n[r]=td(e[r],t)}),n;default:return e}}function tp(e){return!!e.directives&&e.directives.some(th)}function th(e){return"nonreactive"===e.name.value}var tv=Object.assign,ty=Object.hasOwnProperty,tm=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,i=t.options,o=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=tg)}catch(e){}var r=!o.observers.size;o.observers.add(e);var n=o.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(n.result),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=n,o.queryManager=r,o.waitForOwnResult=tE(i.fetchPolicy),o.isTornDown=!1;var a=r.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,u=void 0===s?"cache-first":s,c=i.fetchPolicy,f=void 0===c?u:c,d=i.initialFetchPolicy,p=void 0===d?"standby"===f?u:f:d;o.options=(0,l.pi)((0,l.pi)({},i),{initialFetchPolicy:p,fetchPolicy:f}),o.queryId=n.queryId||r.generateQueryId();var h=J(o.query);return o.queryName=h&&h.name&&h.name.value,o}return(0,l.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||tc.Ie.ready,n=(0,l.pi)((0,l.pi)({},t),{loading:(0,tc.Oj)(r),networkStatus:r}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if(tE(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(n.data=a.result),(0,eX.D)(n.data,{})&&(n.data=void 0),a.complete?(delete n.partial,a.complete&&n.networkStatus===tc.Ie.loading&&("cache-first"===o||"cac
1he-only"===o)&&(n.networkStatus=tc.Ie.ready,n.loading=!1)):n.partial=!0,!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||n.loading||n.data||n.error||tw(a.missing)}return e&&this.updateLastResult(n),n},t.prototype.isDifferentFromLastResult=function(e,t){var r,n,i,o,a,s,u;return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?(r=this.query,n=this.last.result,i=this.variables,o=n.data,a=(0,l._T)(n,["data"]),s=e.data,u=(0,l._T)(e,["data"]),!((0,eX.Z)(a,u)&&function e(t,r,n,i){if(r===n)return!0;var o=new Set;return t.selections.every(function(t){if(o.has(t)||(o.add(t),!ed(t,i.variables)||tp(t)))return!0;if(B(t)){var a=U(t),s=r&&r[a],u=n&&n[a],c=t.selectionSet;if(!c)return(0,eX.Z)(s,u);var l=Array.isArray(s),f=Array.isArray(u);if(l!==f)return!1;if(l&&f){var d=s.length;if(u.length!==d)return!1;for(var p=0;p<d;++p)if(!e(c,s[p],u[p],i))return!1;return!0}return e(c,s,u,i)}var h=M(t,i.fragmentMap);if(h)return!!tp(h)||e(h.selectionSet,r,n,i)})}(Z(r).selectionSet,o,s,{fragmentMap:C($(r)),variables:i}))):!(0,eX.D)(this.last.result,e))||t&&!(0,eX.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,eX.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},n=this.options.fetchPolicy;if("cache-and-network"===n?r.fetchPolicy=n:"no-cache"===n?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&ty.call(e,"variables")){var i=H(this.query),o=i.variableDefinitions;o&&o.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||f.kG.warn(20,e,(null===(t=i.name)||void 0===t?void 0:t.value)||i)}return e&&!(0,eX.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,l.pi)((0,l.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,tc.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,l.pi)((0,l.pi)({},e.query?e:(0,l.pi)((0,l.pi)((0,l.pi)((0,l.pi)({},this.options),{query:this.options.query}),e),{variables:(0,l.pi)((0,l.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var n=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var i=this.queryInfo,o=i.networkStatus;i.networkStatus=tc.Ie.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var a=new Set;return this.queryManager.fetchQuery(n,r,tc.Ie.fetchMore).then(function(s){return t.queryManager.removeQuery(n),i.networkStatus===tc.Ie.fetchMore&&(i.networkStatus=o),t.queryManager.cache.batch({update:function(n){var i=e.updateQuery;i?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:s.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:s.data})},onWatchUpdated:function(e){a.add(e.query)}}),s}).finally(function(){a.has(t.query)||tb(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&f.kG.error(21,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,tl.o)(this.options,e||{});tv(this.options,t)},t.prototype.setVariables=function(e){return(0,eX.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},tc.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,f.kG)(r,22),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&((0,tc.Oj)(e.queryInfo.networkStatus)?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},tc.Ie.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,eX.D)(t,this.last.variables)&&(r=void 0),this.last=(0,l.pi)({result:this.queryManager.assumeImmutableResults?e:td(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;
1var n=t===tc.Ie.refetch||t===tc.Ie.fetchMore||t===tc.Ie.poll,i=this.options.variables,o=this.options.fetchPolicy,a=(0,tl.o)(this.options,e||{}),s=n?a:tv(this.options,a),u=this.transformDocument(s.query);this.lastQuery=u,!n&&(this.updatePolling(),e&&e.variables&&!(0,eX.D)(e.variables,i)&&"standby"!==s.fetchPolicy&&s.fetchPolicy===o&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=tc.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=tE(s.fetchPolicy));var c=function(){r.concast===p&&(r.waitForOwnResult=!1)},f=s.variables&&(0,l.pi)({},s.variables),d=this.fetch(s,t,u),p=d.concast,h=d.fromLink,v={next:function(e){c(),r.reportResult(e,f)},error:function(e){c(),r.reportError(e,f)}};return n||!h&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=v),p.addObserver(v),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&to(this.observers,"next",e)},t.prototype.reportError=function(e,t){var r=(0,l.pi)((0,l.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:tc.Ie.error,loading:!1});this.updateLastResult(r,t),to(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(I);function tb(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return(this.nextFetchPolicy=n,"function"==typeof n)?n.apply(this,arguments):r}}):e.reobserve()}function tg(e){!1!==globalThis.__DEV__&&f.kG.error(23,e.message,e.stack)}function tw(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&f.kG.debug(24,e)}function tE(e){return"network-only"===e||"no-cache"===e||"standby"===e}function tx(e){return e.kind===ec.h.FIELD||e.kind===ec.h.FRAGMENT_SPREAD||e.kind===ec.h.INLINE_FRAGMENT}function t_(){}ta(tm);class tO{constructor(e=1/0,t=t_){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}let tk=null,tS={},tT=1;function tj(e){try{return e()}catch(e){}}let tR="@wry/context:Slot",tN=tj(()=>globalThis)||tj(()=>global)||Object.create(null),tI=tN[tR]||Array[tR]||function(e){try{Object.defineProperty(tN,tR,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",tT++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=tk;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===tS)break;return e!==tk&&(tk.slots[this.id]=t),!0}return tk&&(tk.slots[this.id]=tS),!1}getValue(){if(this.hasValue())return tk.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=tk;tk={parent:o,slots:i};try{return t.apply(n,r)}finally{tk=o}}static bind(e){let t=tk;return function(){let r=tk;try{return tk=t,e.apply(this,arguments)}finally{tk=r}}}static noContext(e,t,r){if(!tk)return e.apply(r,t);{let n=tk;try{return tk=null,e.apply(r,t)}finally{tk=n}}}}),{bind:tD,noContext:tP}=tI,tC=new tI,{hasOwnProperty:tM}=Object.prototype,tA=Array.from||function(e){let t=[];
1return e.forEach(e=>t.push(e)),t};function tF(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let tL=[];function tq(e,t){if(!e)throw Error(t||"assertion failure")}function tV(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class tQ{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++tQ.count}peek(){if(1===this.value.length&&!tU(this))return tz(this),this.value[0]}recompute(e){var t;return tq(!this.recomputing,"already recomputing"),tz(this),tU(this)&&(tY(this),tC.withValue(this,tG,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{tF(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,tU(this)||(t=this,tW(t,tK)))),tV(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,tW(this,tB),tF(this))}dispose(){this.setDirty(),tY(this),tW(this,(e,t)=>{e.setDirty(),t$(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=tL.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(tA(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),tL.push(this.deps),this.deps=null)}}function tz(e){let t=tC.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),tU(e)?tB(t,e):tK(t,e),t}function tG(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function tU(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function tW(e,t){let r=e.parents.size;if(r){let n=tA(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function tB(e,t){tq(e.childValues.has(t)),tq(tU(t));let r=!tU(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=tL.pop()||new Set;e.dirtyChildren.add(t),r&&tW(e,tB)}function tK(e,t){tq(e.childValues.has(t)),tq(!tU(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):!function(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)&&e.setDirty(),tJ(e,t),tU(e)||tW(e,tK)}function tJ(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(tL.length<100&&tL.push(r),e.dirtyChildren=null))}function tY(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{t$(e,r)}),e.forgetDeps(),tq(null===e.dirtyChildren)}function t$(e,t){t.parents.delete(e),e.childValues.delete(t),tJ(e,t)}tQ.count=0;let tH={setDirty:!0,dispose:!0,forget:!0};function tZ(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=tC.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(tF(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&tM.call(tH,r)?r:"setDirty";tA(n).forEach(e=>e[i]()),t.delete(e),tF(n)}},n}function tX(...e){return(n||(n=new e8("function"==typeof WeakMap))).lookupArray(e)}let t0=new Set;function t1(e,{max:t=65536,makeCacheKey:r=tX,keyArgs:n,subscribe:i}=Object.create(null)){let o=new tO(t,e=>e.dispose()),a=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=o.get(t);a||(o.set(t,a=new tQ(e)),a.subscribe=i,a.forget=()=>o.delete(t));let s=a.recompute(Array.prototype.slice.call(arguments));return o.set(t,a),t0.add(o),tC.hasValue()||(t0.forEach(e=>e.clean()),t0.clear()),s};function s(e){let t=o.get(e);t&&t.setDirty()}function u(e){let t=o.get(e);if(t)return t.peek()}function c(e){return o.delete(e)}return Object.defineProperty(a,"size",{get:()=>o.map.size,configurable:!1,enumerable:!1}),Object.freeze(a.options={max:t,makeCacheKey:r,keyArgs:n,subscribe:i}),a.dirtyKey=s,a.dirty=function(){s(r.apply(null,arguments))},a.peekKey=u,a.peek=function(){return u(r.apply(null,arguments))},a.forgetKey=c,a.forget=function(){return c(r.apply(null,arguments))},a.makeCacheKey=r,a.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(a)}var t2=new tI,t3=new WeakMap;function t8(e){var t=t3.get(e);return t||t3.set(e,t={vars:new Set,dep:tZ()}),t}function t5(e){t8(e).vars.forEach(function(t){return t.forgetCache(e)})}
1function t9(e){var t=new Set,r=new Set,n=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){t8(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var a=Array.from(r);r.clear(),a.forEach(function(t){return t(e)})}}else{var s=t2.getValue();s&&(i(s),t8(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),t8(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var t7=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=eE(t.resolvers,e)}):this.resolvers=eE(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,l.mG)(this,void 0,void 0,function(){return(0,l.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then(function(e){return(0,l.pi)((0,l.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return ep(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return eY(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,l.pi)((0,l.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,l.mG)(this,void 0,void 0,function(){return(0,l.Jh)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,l.pi)((0,l.pi)({},t),e.exportedVariables)})]:[2,(0,l.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return ef(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return el}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===Z(e).operation?e:ef(e,{OperationDefinition:{enter:function(e){return(0,l.pi)((0,l.pi)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,i,o){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,l.mG)(this,void 0,void 0,function(){var a,s,u,c,f,d,p,h,v;return(0,l.Jh)(this,function(y){return a=Z(e),s=C($(e)),u=this.collectSelectionsToResolve(a,s),f=(c=a.operation)?c.charAt(0).toUpperCase()+c.slice(1):"Query",d=this,p=d.cache,h=d.client,v={fragmentMap:s,context:(0,l.pi)((0,l.pi)({},r),{cache:p,client:h}),variables:n,fragmentMatcher:i,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,l.mG)(this,void 0,void 0,function(){var i,o,a,s,u,c=this;return(0,l.Jh)(this,function(d){return i=n.fragmentMap,o=n.context,a=n.variables,s=[r],u=function(e){return(0,l.mG)(c,void 0,void 0,function(){var u,c;return(0,l.Jh)(this,function(l){return(t||n.selectionsToResolve.has(e))&&ed(e,a)?B(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&s.push(((r={})[U(e)]=t,r))})]:("InlineFragment"===e.kind?u=e:(u=i[e.name.value],(0,f.kG)(u,18,e.name.value)),u&&u.typeCondition&&(c=u.typeCondition.name.value,n.fragmentMatcher(r,c,o))?[2,this.resolveSelectionSet(u.selectionSet,t,r,n).then(function(e){s.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return ex(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,l.mG)(this,void 0,void 0,function(){var i,o,a,s,u,c,f,d,p,h=this;return(0,l.Jh)(this,function(l){return r?(i=n.variables,s=(o=e.name.value)!==(a=U(e)),c=Promise.resolve(u=r[a
1]||r[o]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||n.defaultOperationType,(d=this.resolvers&&this.resolvers[f])&&(p=d[s?o:a])&&(c=Promise.resolve(t2.withValue(this.cache,p,[r,G(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?h.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var o=new Set;n.set(i,o),ef(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&tx(e)&&o.add(e)})},FragmentSpread:function(n,i,a,s,u){var c=t[n.name.value];(0,f.kG)(c,19,n.name.value);var l=e(c);l.size>0&&(u.forEach(function(e){r(e)&&tx(e)&&o.add(e)}),o.add(n),l.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),t4=new(ev.mr?WeakMap:Map);function t6(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return t4.set(e,(t4.get(e)+1)%1e15),r.apply(this,arguments)})}function re(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var rt=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;t4.has(r)||(t4.set(r,0),t6(r,"evict"),t6(r,"modify"),t6(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||tc.Ie.loading;return this.variables&&this.networkStatus!==tc.Ie.loading&&!(0,eX.D)(this.variables,e.variables)&&(t=tc.Ie.setVariables),(0,eX.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){re(this),this.dirty=!1},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,eX.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,eX.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return t.notify()},0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():tb(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;re(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,tc.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,l.pi)((0,l.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,eX.D)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===t4.get(this.cache)&&(0,eX.D)(t,r.variables)&&(0,eX.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new eO,a=(0,eg.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,eg.O)(e.incremental)){var s=eS(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(rr(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:t4.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,eX.D)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=tc.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=tc.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function rr(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!tr(e);return!n&&r&&e.data&&(n=!0),n}var rn=Object.prototype.hasOwnProperty,ri=function(){function e(e){var t=this,r=e.cache,n=e.link,i=e.defaultOptions,o=e.documentTransform,a=e.queryDeduplication,s=e.onBroadcast,u=e.ssrMode,c=e.clientAwareness,l=e.localState,f=e.assumeImmutableResults,d=void 0===f?!!r.assumeImmutableResults:f;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(ev.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var p=new te(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=r,this.link=n,this.defaultOptions=i||Object.create(null),this.queryDeduplication=void 0!==a&&a,this.clientAwareness=void 0===c?{}:c,this.localState=l||new t7({cache:r}),this.ssrMode=void 0!==u&&u,this.assumeImmutableResults=d,this.documentTransform=o?p.concat(o).concat(p):p,(this.onBroadcast=s)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,f._K)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,n=e.mutation,i=e.variables,o=e.optimisticResponse,a=e.updateQueries,s=e.refetchQueries,u=void 0===s?[]:s,c=e.awaitRefetchQueries,d=void 0!==c&&c,p=e.update,h=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,m=e.errorPolicy,b=void 0===m?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":m,g=e.keepRootFields,w=e.context;return(0,l.mG)(this,void 0,void 0,function(){var e,t,r,s;return(0,l.Jh)(this,function(c){switch(c.label){case 0:if((0,f.kG)(n,26),(0,f.kG)("network-only"===y||"no-cache"===y,27),e=this.generateMutationId(),n=this.cache.transformForLink(this.transform(n)),t=this.getDocumentInfo(n).hasClientExports,i=this.getVariables(n,i),!t)return[3,2];return[4,this.localState.addExportedVariables(n,i,w)];case 1:i=c.sent(),c.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:i,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:e,document:n,variables:i,fetchPolicy:y,errorPolicy:b,context:w,updateQueries:a,update:p,keepRootFields:g}),this.broadcastQueries(),s=this,[2,new Promise(function(t,c){return tt(s.getObservableFromLink(n,(0,l.pi)((0,l.pi)({},w),{optimisticResponse:o}),i,!1),function(t){if(tr(t)&&"none"===b)throw new eb.cA({graphQLErrors:tn(t)});r&&(r.loading=!1,r.error=null);var c=(0,l.pi)({},t);return"function"==typeof u&&(u=u(c)),"ignore"===b&&tr(c)&&delete c.errors,s.markMutationResult({mutationId:e,result:c,document:n,variables:i,fetchPolicy:y,errorPolicy:b,context:w,update:p,updateQueries:a,awaitRefetchQueries:d,refetchQueries:u,removeOptimistic:o?e:void 0,onQueryUpdated:h,keepRootFields:g})}).subscribe({next:function(e){s.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),o&&s.cache.removeOptimistic(e),s.broadcastQueries(),c(t instanceof eb.cA?t:new eb.cA({networkError:t}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&rr(n,e.errorPolicy)){if(ek(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),ek(n)&&(0,eg.O)(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),s=void 0;a.result&&(s=eS(a.result,n)),void 0!==s&&(n.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&rn.call(u,s)){var c=u[s],l=r.queries.get(o),f=l.document,d=l.variables,p=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),h=p.result;if(p.complete&&h){var v=c(h,{mutationResult:n,queryName:f&&Y(f)||void 0,queryVariables:d});v&&i.push({result:v,dataId:"ROOT_QUERY",query:f,variables:d})}}})}if(i.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a,s=e.update,u=!(ek(a=n)||"hasNext"in a&&"data"in a)||ek(n)&&!n.hasNext;if(s){if(!o){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(n=(0,l.pi)((0,l.pi)({},n),{data:c.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}u&&s(t,n,{context:e.context,variables:e.variables})}o||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return c.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,l.pi)((0,l.pi)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&f.kG.error(e)}},t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:e&&ep(["client","export"],e,!0),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:ep(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:eK([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:X(J(e)),asQuery:(0,l.pi)((0,l.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,l.pi)((0,l.pi)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,l.pi)((0,l.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,l.pi)((0,l.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new rt(this),n=new tm({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,f.kG)(e.query,28),(0,f.kG)("Document"===e.query.kind,29),(0,f.kG)(!e.returnPartialData,30),(0,f.kG)(!e.pollInterval,31),this.fetchQuery(t,(0,l.pi)((0,l.pi)({},e),{query:this.transform(e.query)})).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,f._K)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=tc.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?n.set(e,!1):(0,D.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)?n.set(t.transform(e),!1):(0,D.s)(e)&&e.query&&i.add(e)}),this.queries.forEach(function(t,i){var o=t.observableQuery,a=t.document;if(o){if("all"===e){r.set(i,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&n.has(s)||a&&n.has(a))&&(r.set(i,o),s&&n.set(s,!0),a&&n.set(a,!0))}}),i.size&&i.forEach(function(e){var n=(0,ti.X)("legacyOneTimeQuery"),i=t.getQuery(n).init({document:e.query,variables:e.variables}),o=new tm({queryManager:t,queryInfo:i,options:(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"network-only"})});(0,f.kG)(o.queryId===n),i.setObservableQuery(o),r.set(n,o)}),!1!==globalThis.__DEV__&&n.size&&n.forEach(function(e,t){e||!1===globalThis.__DEV__||f.kG.warn("string"==typeof t?33:34,t)}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,u=void 0===s?{}:s;r=this.transform(r),a=this.getVariables(r,a);var c=function(e){return t.getObservableFromLink(r,u,e).map(function(i){"no-cache"!==n&&(rr(i,o)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=tr(i),s=(0,eb.ls)(i);if(a||s){var u={};if(a&&(u.graphQLErrors=i.errors),s&&(u.protocolErrors=i.extensions[eb.YG]),"none"===o||s)throw new eb.cA(u)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,a,u).then(c);return new I(function(e){var t=null;return l.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return c(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var i,o,a=this;void 0===n&&(n=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var s=this.getDocumentInfo(e),u=s.serverQuery,c=s.clientQuery;if(u){var f=this.inFlightLinkObservables,d=this.link,p={query:u,variables:r,operationName:Y(u)||void 0,context:this.prepareContext((0,l.pi)((0,l.pi)({},t),{forceFetch:!n}))};if(t=p.context,n){var h=eQ(u),v=f.get(h)||new Map;f.set(h,v);var y=e7(r);if(!(o=v.get(y))){var m=new tu([ei(d,p)]);v.set(y,o=m),m.beforeNext(function(){v.delete(y)&&v.size<1&&f.delete(h)})}}else o=new tu([ei(d,p)])}else o=new tu([I.of({data:{}})]),t=this.prepareContext(t);return c&&(o=tt(o,function(e){return a.localState.runResolvers({document:c,remoteResult:e,context:t,variables:r})})),o},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return tt(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=tn(o),s=a.length>0;if(n>
1=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new eb.cA({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:tc.Ie.ready};return s&&"ignore"!==r.errorPolicy&&(u.errors=a,u.networkStatus=tc.Ie.error),u},function(t){var r=(0,eb.MS)(t)?t:new eb.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=tc.Ie.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,d=t.errorPolicy,p=void 0===d?c&&c.errorPolicy||"none":d,h=t.returnPartialData,v=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==v&&v,context:void 0===y?{}:y}),b=function(e){m.variables=e;var n=a.fetchQueryByPolicy(u,m,r);return"standby"!==m.fetchPolicy&&n.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),n},g=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new tu(this.localState.addExportedVariables(m.query,m.variables,m.context).then(b).then(function(e){return e.sources})),o=!0;else{var w=b(m.variables);o=w.fromLink,i=new tu(w.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,ti.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof rt&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,c=t.returnPartialData,f=t.context,d=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:r});var h=function(){return e.getDiff()},v=function(t,r){void 0===r&&(r=e.networkStatus||tc.Ie.loading);var a=t.result;!1===globalThis.__DEV__||c||(0,eX.D)(a,{})||tw(t.missing);var s=function(e){return I.of((0,l.pi)({data:e,loading:(0,tc.Oj)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:a},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===u&&r===tc.Ie.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},y="no-cache"===a?0:r===tc.Ie.refetch&&"merge"!==s?1:2,m=function(){return n.getResultsFromLink(e,y,{query:i,variables:o,context:f,fetchPolicy:a,errorPolicy:u})},b=d&&"number"==typeof p&&p!==r&&(0,tc.Oj)(r);switch(a){default:case"cache-first":var g=h();if(g.complete)return{fromLink:!1,sources:[v(g,e.markReady())]};if(c||b)return{fromLink:!0,sources:[v(g),m()]};return{fromLink:!0,sources:[m()]};case"cache-and-network":var g=h();if(g.complete||c||b)return{fromLink:!0,sources:[v(g),m()]};return{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[v(h(),e.markReady())]};case"network-only":if(b)return{fromLink:!0,sources:[v(h()),m()]};return{fromLink:!0,sources:[m()]};case"no-cache":if(b)return{fromLink:!0,sources:[v(e.getDiff()),m()]};return{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new rt(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,l.pi)((0,l.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),ro=r(4012),ra=!1,rs=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cac
1he)throw(0,f._K)(15);var r=e.uri,n=e.credentials,i=e.headers,o=e.cache,a=e.documentTransform,s=e.ssrMode,u=void 0!==s&&s,c=e.ssrForceFetchDelay,l=void 0===c?0:c,d=e.connectToDevTools,p=void 0===d?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:d,h=e.queryDeduplication,v=void 0===h||h,y=e.defaultOptions,m=e.assumeImmutableResults,b=void 0===m?o.assumeImmutableResults:m,g=e.resolvers,w=e.typeDefs,E=e.fragmentMatcher,x=e.name,_=e.version,O=e.link;O||(O=r?new eZ({uri:r,credentials:n,headers:i}):en.empty()),this.link=O,this.cache=o,this.disableNetworkFetches=u||l>0,this.queryDeduplication=v,this.defaultOptions=y||Object.create(null),this.typeDefs=w,l&&setTimeout(function(){return t.disableNetworkFetches=!1},l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=eo.i,this.localState=new t7({cache:o,client:this,resolvers:g,fragmentMatcher:E}),this.queryManager=new ri({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:a,queryDeduplication:v,ssrMode:u,clientAwareness:{name:x,version:_},localState:this.localState,assumeImmutableResults:b,onBroadcast:p?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),p&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}ra||!1===globalThis.__DEV__||(ra=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&f.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,ro.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,ro.J)(this.defaultOptions.query,e)),(0,f.kG)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,ro.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return ei(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&f.kG.debug(17,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),ru=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=t1(P)}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.o
1ptimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.pi)((0,l.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.pi)((0,l.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,l._T)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,o=(0,l._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery((0,l.pi)((0,l.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment((0,l.pi)((0,l.pi)({},e),{data:i})),i)}})},e}(),rc=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,l.ZT)(t,e),t}(Error),rl=r(8702),rf=Object.prototype.hasOwnProperty;function rd(e){return null==e}function rp(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=rd(n)?rd(i)?void 0:{_id:i}:{id:n}),rd(n)&&!rd(i)&&(n=i),!rd(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var rh={dataIdFromObject:rp,addTypename:!0,resultCaching:!0,canonizeResults:!1};function rv(e){var t=e.canonizeResults;return void 0===t?rh.canonizeResults:t}var ry=/^[_a-z][_0-9a-z]*/i;function rm(e){var t=e.match(ry);return t?t[0]:e}function rb(e){return(0,D.s)(e)&&!F(e)&&!(0,eg.k)(e)}function rg(e,t){var r=C($(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var rw=Object.create(null),rE=function(){return rw},rx=Object.create(null),r_=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,rl.J)(F(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return F(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return A(e);if(F(e))return e;var n=r.policies.identify(e)[0];if(n){var i=A(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,l.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),rf.call(this.data,e)){var r=this.data[e];if(r&&rf.call(r,t))return r[t]}return"__typename"===t&&rf.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof rS?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),rf.call(this.data,e))?this.data[e]:this instanceof rS?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;F(e)&&(e=e.__ref),F(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,f.kG)("string"==typeof r,1);var a=new eO(rj).merge(i,o);if(this.data[r]=a,a!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);
1i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=rm(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof rS||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),o=!1,a=!0,s={DELETE:rw,INVALIDATE:rx,isReference:F,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||A(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(u){var c=rm(u),d=n[u];if(void 0!==d){var p="function"==typeof t?t:t[u]||t[c];if(p){var h=p===rE?rw:p((0,rl.J)(d),(0,l.pi)((0,l.pi)({},s),{fieldName:c,storeFieldName:u,storage:r.getStorage(e,u)}));if(h===rx)r.group.dirty(e,u);else if(h===rw&&(h=void 0),h!==d&&(i[u]=h,o=!0,d=h,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&f.kG.warn(2,e),!0};if(F(h))v(h);else if(Array.isArray(h))for(var y=!1,m=void 0,b=0,g=h;b<g.length;b++){var w=g[b];if(F(w)){if(y=!0,v(w))break}else"object"==typeof w&&w&&r.policies.identify(w)[0]&&(m=w);if(y&&void 0!==m){!1!==globalThis.__DEV__&&f.kG.warn(3,m);break}}}}void 0!==d&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof rS?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=rE,n):rE)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(rf.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof rS&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){rf.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&rf.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,l._T)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof rS?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){rf.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof rS;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!rf.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){F(e)&&(t[e.__ref]=!0),(0,D.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,D.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),rO=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?tZ():null,this.keyMaker=new e8(ev.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=rm(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function rk(e,t){rR(e)&&e.group.depend(t,"__exists")}a=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new rO(void 0===n||n))||this;return o.stump=new rT(o),o.storageTrie=new e8(ev.mr),i&&o.replace(i),o}return(0,l.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(o=r_||(r_={})),o.Root=a;var rS=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,l.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,eX.D)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,l.pi)((0,l.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return rf.call(this.data,t)?(0,l.pi)((0,l.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(r_),rT=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new rO(t.group.caching,t.group))||this}return(0,l.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(rS);function rj(e,t,r){var n=e[r],i=t[r];return(0,eX.D)(n,i)?n:i}function rR(e){return!!(e instanceof r_&&e.group.caching)}function rN(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var rI=function(){function e(e){var t=this;this.knownResults=new(ev.mr?WeakMap:Map),this.config=(0,tl.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:rv(e)}),this.canon=e.canon||new e9,this.executeSelectionSet=t1(function(e){var r,n=e.context.canonizeResults,i=rN(e);i[3]=!n;var o=(r=t.executeSelectionSet).peek.apply(r,i);return o?n?(0,l.pi)((0,l.pi)({},o),{result:t.canon.admit(o.result)}):o:(rk(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize,keyArgs:rN,makeCacheKey:function(e,t,r,n){if(rR(r.store))return r.store.makeCacheKey(e,F(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=t1(function(e){return rk(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(rR(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new e9},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,o=e.variables,a=e.returnPartialData,s=e.canonizeResults,u=void 0===s?this.config.canonizeResults:s,c=this.config.cache.policies;o=(0,l.pi)((0,l.pi)({},X(H(n))),o);var f=A(void 0===i?"ROOT_QUERY":i),d=this.executeSelectionSet({selectionSet:Z(n).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,l.pi)({store:r,query:n,policies:c,variables:o,varString:e7(o),canonizeResults:u},rg(n,this.config.fragments))});if(d.missing&&(t=[new rc(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(d.missing),d.missing,n,o)],!(void 0===a||a)))throw t[0];return{result:d.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(rR(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if(F(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,u=a.policies,c=a.store.getFieldValue(i,"__typename"),l=[],d=new eO;function p(e,r){var n;return e.missing&&(t=d.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof c&&!u.rootIdsByTypename[c]&&l.push({__typename:c});var h=new Set(n.selections);h.forEach(function(e){var n,v;if(ed(e,s)){if(B(e)){var y=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),m=U(e);void 0===y?eJ.added(e)||(t=d.merge(t,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat(F(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,eg.k)(y)?y=p(r.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:a}),m):e.selectionSet?null!=y&&(y=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:F(y)?y:o,context:a}),m)):a.canonizeResults&&(y=r.canon.pass(y)),void 0!==y&&l.push(((v={})[m]=y,v))}else{var b=M(e,a.lookupFragment);if(!b&&e.kind===ec.h.FRAGMENT_SPREAD)throw(0,f._K)(9,e.name.value);b&&u.fragmentMatches(b,c)&&b.selectionSet.selections.forEach(h.add,h)}}});var v={result:ex(l),missing:t},y=a.canonizeResults?this.canon.admit(v):(0,rl.J)(v);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new eO;function u(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,eg.k)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:F(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);
1n.forEach(function(r){(0,D.s)(r)&&((0,f.kG)(!F(r),10,F(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(a.store,n,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),rD=r(3887),rP=Object.create(null);function rC(e){var t=JSON.stringify(e);return rP[t]||(rP[t]=Object.create(null))}function rM(e){var t=rC(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=rF(e,function(e){var i=rq(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&rf.call(t,e[0])&&(i=rq(t,e,rL)),(0,f.kG)(void 0!==i,4,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function rA(e){var t=rC(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(rF(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,eg.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&G(s,i);return u&&rq(u,e.slice(1))}return}if("$"===o){var c=r.slice(1);if(i&&rf.call(i,c)){var l=e.slice(0);return l[0]=c,rq(i,l)}return}if(t)return rq(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function rF(e,t){var r=new eO;return(function e(t){var r=rC(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,eg.k)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,eg.k)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function rL(e,t){return e[t]}function rq(e,t,r){return r=r||rL,function e(t){return(0,D.s)(t)?(0,eg.k)(t)?t.map(e):rF(Object.keys(t).sort(),function(e){return rq(t,e)}):t}(t.reduce(function e(t,n){return(0,eg.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function rV(e){return void 0!==e.args?e.args:e.field?G(e.field,e.variables):null}V.setStringify(e7);var rQ=function(){},rz=function(e,t){return t.fieldName},rG=function(e,t,r){return(0,r.mergeObjects)(e,t)},rU=function(e,t){return t},rW=function(){function e(e){this.config=e,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=(0,l.pi)({dataIdFromObject:rp},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,n,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=t&&t.storeObject||e,s=(0,l.pi)((0,l.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=rK(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),c=u&&u.keyFn||this.config.dataIdFromObject;c;){var f=c((0,l.pi)((0,l.pi)({},e),a),s);if((0,eg.k)(f))c=rM(f);else{n=f;break}}return n=n?String(n):void 0,s.keyObject?[n,s.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,o=n.mutationType,a=n.subscriptionType,s=(0,l._T)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),rf.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?rG:!1===t?rU:e.merge}a(n,t.merge),n.keyFn=!1===i?rQ:(0,eg.k)(i)?rM(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?rz:(0,eg.k)(s)?rA(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||rz)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,f.kG)(!n||n===e,5,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(ry);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;
1if(!rf.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,l._T)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},c=!!(r&&this.fuzzySubtypes.size),l=!1,d=0;d<s.length;++d){var p=s[d];if(p.has(o))return a.has(o)||(l&&!1!==globalThis.__DEV__&&f.kG.warn(6,t,o),a.add(o)),!0;p.forEach(u),c&&d===s.length-1&&function e(t,r,n){return!!(0,D.s)(r)&&((0,eg.k)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if(B(t)&&ed(t,n)){var i=U(t);return rf.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(c=!1,l=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r,n,i,o,a=e.typename,s=e.fieldName,u=this.getFieldPolicy(a,s,!1),c=u&&u.keyFn;if(c&&a)for(var l={typename:a,fieldName:s,field:e.field||null,variables:e.variables},f=rV(e);c;){var d=c(f,l);if((0,eg.k)(d))c=rA(d);else{o=d||s;break}}return void 0===o&&(o=e.field?(t=e.field,r=e.variables,n=null,t.directives&&(n={},t.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(t){var i=t.name,o=t.value;return L(n[e.name.value],i,o,r)})})),i=null,t.arguments&&t.arguments.length&&(i={},t.arguments.forEach(function(e){var t=e.name,n=e.value;return L(i,t,n,r)})),V(t.name.value,i,n)):V(s,rV(e))),!1===o?s:s===rm(o)?o:s+":"+o},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=rm(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=rB(this,r,e,t,t.store.getStorage(F(r)?r.__ref:r,i));return t2.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===rG?rJ(n.store)(e,t):s===rU?t:(n.overwrite&&(e=void 0),s(e,t,rB(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function rB(e,t,r,n,i){var o=e.getStoreFieldName(r),a=rm(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:rV(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:F,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(rK(arguments,t,s),n)},mergeObjects:rJ(n.store)}}function rK(e,t,r){var n,i=e[0],o=e[1],a=e.length;return"string"==typeof i?n={fieldName:i,from:a>1?o:t}:(n=(0,l.pi)({},i),rf.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&f.kG.warn(7,(0,rD.v)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function rJ(e){return function(t,r){if((0,eg.k)(t)||(0,eg.k)(r))throw(0,f._K)(8);if((0,D.s)(t)&&(0,D.s)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if(F(t)&&rb(r))return e.merge(t.__ref,r),t;if(rb(t)&&F(r))return e.merge(t,r.__ref),r;if(rb(t)&&rb(r))return(0,l.pi)((0,l.pi)({},t),r)}return r}}function rY(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,l.pi)((0,l.pi)({},e),{clientOnly:t,deferred:r})),i}var r$=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,u=J(n),c=new eO;a=(0,l.pi)((0,l.pi)({}
1,X(u)),a);var d=(0,l.pi)((0,l.pi)({store:e,written:Object.create(null),merge:function(e,t){return c.merge(e,t)},variables:a,varString:e7(a)},rg(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:d});if(!F(p))throw(0,f._K)(11,i);return d.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=A(n);if(o&&o.map.size){var u=r.applyMerges(o,s,i,d);if(F(u))return;i=u}if(!1!==globalThis.__DEV__&&!d.overwrite){var c=Object.create(null);a.forEach(function(e){e.selectionSet&&(c[e.name.value]=!0)});var l=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==c[rm(e)]||l(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||F(o)||(0,eX.D)(o,a)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(a,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),u=rm(r),c="".concat(s,".").concat(u);if(!r1.has(c)){r1.add(c);var l=[];(0,eg.k)(o)||(0,eg.k)(a)||[o,a].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)}),!1!==globalThis.__DEV__&&f.kG.warn(14,u,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",c,o,a)}}}}(s,i,e,d.store)})}e.merge(n,i)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,u=Object.create(null),c=r&&s.rootTypenamesById[r]||W(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof c&&(u.__typename=c);var d=function(){var e=rK(arguments,u,o.variables);if(F(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var r=s.readField((0,l.pi)((0,l.pi)({},e),{from:t.storeObject}),o);if(void 0!==r)return r}}return s.readField(e,o)},p=new Set;this.flattenFields(i,n,o,c).forEach(function(e,r){var i,o=n[U(r)];if(p.add(r),void 0!==o){var l=s.getStoreFieldName({typename:c,fieldName:r.name.value,field:r,variables:e.variables}),h=rZ(a,l),v=t.processFieldValue(o,r,r.selectionSet?rY(e,!1,!1):e,h),y=void 0;r.selectionSet&&(F(v)||rb(v))&&(y=d("__typename",v));var m=s.getMergeFunction(c,r.name.value,y);m?h.info={field:r,typename:c,merge:m}:r0(a,l),u=e.merge(u,((i={})[l]=v,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||eJ.added(r)||s.getReadFunction(c,r.name.value)||!1===globalThis.__DEV__||f.kG.error(12,U(r),n)});try{var h=s.identify(n,{typename:c,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:u,readField:d}),v=h[0],y=h[1];r=r||v,y&&(u=o.merge(u,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=A(r),b=o.written[r]||(o.written[r]=[]);if(b.indexOf(i)>=0||(b.push(i),this.reader&&this.reader.isFresh(n,m,i,o)))return m;var g=o.incomingById.get(r);return g?(g.storeObject=o.merge(g.storeObject,u),g.mergeTree=function e(t,r){if(t===r||!r||rX(r))return t;if(!t||rX(t))return r;var n=t.info&&r.info?(0,l.pi)((0,l.pi)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,o={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var a=new Set(r.map.keys());t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),a.delete(n)}),a.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(g.mergeTree,a),p.forEach(function(e){return g.fieldNodeSet.add(e)})):o.incomingById.set(r,{storeObject:u,mergeTree:rX(a)?void 0:a,fieldNodeSet:p}),m}return u},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,eg.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,rZ(n,o));return r0(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?td(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=W(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,a=new e8(!1);return function e(s,u){var c=a.lookup(s,u.clientOnly,u.deferred);
1c.visited||(c.visited=!0,s.selections.forEach(function(a){if(ed(a,r.variables)){var s=u.clientOnly,c=u.deferred;if(!(s&&c)&&(0,eg.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=G(e,r.variables);n&&!1===n.if||(c=!0)}}),B(a)){var l=i.get(a);l&&(s=s&&l.clientOnly,c=c&&l.deferred),i.set(a,rY(r,s,c))}else{var d=M(a,r.lookupFragment);if(!d&&a.kind===ec.h.FRAGMENT_SPREAD)throw(0,f._K)(13,a.name.value);d&&o.fragmentMatches(d,n,t,r.variables)&&e(d.selectionSet,rY(r,s,c))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var o=this;if(e.map.size&&!F(r)){var a,s,u=!(0,eg.k)(r)&&(F(t)||rb(t))?t:void 0,c=r;u&&!i&&(i=[F(u)?u.__ref:u]);var d=function(e,t){return(0,eg.k)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=d(u,t),a=d(c,t);if(void 0!==a){i&&i.push(t);var l=o.applyMerges(e,r,a,n,i);l!==a&&(s=s||new Map).set(t,l),i&&(0,f.kG)(i.pop()===t)}}),s&&(r=(0,eg.k)(c)?c.slice(0):(0,l.pi)({},c),s.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(a=n.store).getStorage.apply(a,i)):r},e}(),rH=[];function rZ(e,t){var r=e.map;return r.has(t)||r.set(t,rH.pop()||{map:new Map}),r.get(t)}function rX(e){return!e||!(e.info||e.map.size)}function r0(e,t){var r=e.map,n=r.get(t);n&&rX(n)&&(rH.push(n),r.delete(t))}var r1=new Set,r2=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new te(eJ),n.assumeImmutableResults=!0,n.makeVar=t9,n.txCount=0,n.config=(r=t,(0,tl.o)(rh,r)),n.addTypename=!!n.config.addTypename,n.policies=new rW({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,l.ZT)(t,e),t.prototype.init=function(){var e=this.data=new r_.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new r$(this,this.storeReader=new rI({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:rv(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=t1(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(rR(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,e7({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,l.pi)((0,l.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof rc)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(rf.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,l.pi)((0,l.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){t8(e).vars.forEach(function(t){return t.attachCache(e)})}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&t5(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){e7.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(F(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&f.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(rf.call(e,"id"))return!1;e=(0,l.pi)((0,l.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),e7.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),t5(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},c=new Set;return s&&!this.txCount&&this.broadcastWatches((0,l.pi)((0,l.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&c.size?(this.broadcastWatches((0,l.pi)((0,l.pi)({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,eX.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(ru),r3=r(7294),r8=r.t(r3,2),r5=r(5317),r9=function(e){var t=e.client,r=e.children,n=(0,r5.K)(),i=r3.useContext(n),o=r3.useMemo(function(){return(0,l.pi)((0,l.pi)({},i),{client:t||i.client})},[i,t]);return(0,f.kG)(o.client,46),r3.createElement(n.Provider,{value:o},r)},r7=r(5050),r4=r(1664),r6=r.n(r4),ne=r(5675),nt=r.n(ne),nr=r(9332);function nn(){return(nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ni=r(3935);function no(e,t=[]){let r=[],n=()=>{let t=r.map(e=>(0,r3.createContext)(e));return function(r){let n=(null==r?void 0:r[e])||t;return(0,r3.useMemo)(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let i=(0,r3.createContext)(n),o=r.length;function a(t){let{scope:r,children:n,...a}=t,s=(null==r?void 0:r[e][o])||i,u=(0,r3.useMemo)(()=>a,Object.values(a));return(0,r3.createElement)(s.Provider,{value:u},n)}return r=[...r,n],a.displayName=t+"Provider",[a,function(r,a){let s=(null==a?void 0:a[e][o])||i,u=(0,r3.useContext)(s);if(u)return u;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return(0,r3.useMemo)(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}function na(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}function ns(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function nu(...e){return(0,r3.useCallback)(ns(...e),e)}let nc=(0,r3.forwardRef)((e,t)=>{let{children:r,...n}=e,i=r3.Children.toArray(r),o=i.find(nd);if(o){let e=o.props.children,r=i.map(t=>t!==o?t:r3.Children.count(e)>1?r3.Children.only(null):(0,r3.isValidElement)(e)?e.props.children:null);return(0,r3.createElement)(nl,nn({},n,{ref:t}),(0,r3.isValidElement)(e)?(0,r3.cloneElement)(e,void 0,r):null)}return(0,r3.createElement)(nl,nn({},n,{ref:t}),r)});nc.displayName="Slot";let nl=(0,r3.forwardRef)((e,t)=>{let{children:r,...n}=e;return(0,r3.isValidElement)(r)?(0,r3.cloneElement)(r,{...function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{o(...e),i(...e)}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}
1:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props),ref:t?ns(t,r.ref):r.ref}):r3.Children.count(r)>1?r3.Children.only(null):null});nl.displayName="SlotClone";let nf=({children:e})=>(0,r3.createElement)(r3.Fragment,null,e);function nd(e){return(0,r3.isValidElement)(e)&&e.type===nf}let np=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=(0,r3.forwardRef)((e,r)=>{let{asChild:n,...i}=e,o=n?nc:t;return(0,r3.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,r3.createElement)(o,nn({},i,{ref:r}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function nh(e,t){e&&(0,ni.flushSync)(()=>e.dispatchEvent(t))}function nv(e){let t=(0,r3.useRef)(e);return(0,r3.useEffect)(()=>{t.current=e}),(0,r3.useMemo)(()=>(...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)},[])}let ny=(0,r3.createContext)(void 0),nm=(null==globalThis?void 0:globalThis.document)?r3.useLayoutEffect:()=>{},nb=e=>{let{present:t,children:r}=e,n=function(e){var t,r;let[n,i]=(0,r3.useState)(),o=(0,r3.useRef)({}),a=(0,r3.useRef)(e),s=(0,r3.useRef)("none"),[u,c]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r3.useReducer)((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return(0,r3.useEffect)(()=>{let e=ng(o.current);s.current="mounted"===u?e:"none"},[u]),nm(()=>{let t=o.current,r=a.current;if(r!==e){let n=s.current,i=ng(t);e?c("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):r&&n!==i?c("ANIMATION_OUT"):c("UNMOUNT"),a.current=e}},[e,c]),nm(()=>{if(n){let e=e=>{let t=ng(o.current).includes(e.animationName);e.target===n&&t&&(0,ni.flushSync)(()=>c("ANIMATION_END"))},t=e=>{e.target===n&&(s.current=ng(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:(0,r3.useCallback)(e=>{e&&(o.current=getComputedStyle(e)),i(e)},[])}}(t),i="function"==typeof r?r({present:n.isPresent}):r3.Children.only(r),o=nu(n.ref,i.ref);return"function"==typeof r||n.isPresent?(0,r3.cloneElement)(i,{ref:o}):null};function ng(e){return(null==e?void 0:e.animationName)||"none"}nb.displayName="Presence";let nw=r8["useId".toString()]||(()=>void 0),nE=0;function nx(e){let[t,r]=r3.useState(nw());return nm(()=>{e||r(e=>null!=e?e:String(nE++))},[e]),e||(t?`radix-${t}`:"")}function n_(e){let t=e+"CollectionProvider",[r,n]=no(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e+"CollectionSlot",s=r3.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=nu(t,o(a,r).collectionRef);return r3.createElement(nc,{ref:i},n)}),u=e+"CollectionItemSlot",c="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:r}=e,n=r3.useRef(null),o=r3.useRef(new Map).current;return r3.createElement(i,{scope:t,itemMap:o,collectionRef:n},r)},Slot:s,ItemSlot:r3.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,a=r3.useRef(null),s=nu(t,a),l=o(u,r);return r3.useEffect(()=>(l.itemMap.set(a,{ref:a,...i}),()=>void l.itemMap.delete(a))),r3.createElement(nc,{[c]:"",ref:s},n)})},function(t){let r=o(e+"CollectionConsumer",t);return r3.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${c}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}let nO="dismissableLayer.update",nk=(0,r3.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nS=(0,r3.forwardRef)((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:u,onDismiss:c,...l}=e,f=(0,r3.useContext)(nk),[d,p]=(0,r3.useState)(null),h=null!==(r=null==d?void 0:d.ownerDocument)&&void 0!==r?r:null==globalThis?void 0:globalThis.document,[,v]=(0,r3.useState)({}),y=nu(t,e=>p(e)),m=Array.from(f.layers),[b]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(b),w=d?m.indexOf(d):-1,E=f.layersWithOutsidePointerEventsDisabled.size>0,x=w>=g,_=function(e,t=null==globalThis?void 0:globalThis.document){let r=nv(e),n=(0,r3.useRef)(!1),i=(0,r3.useRef)(()=>{});return(0,r3.useEffect)(()=>{let e=e=>{if(e.target&&!n.current){let n={originalEvent:e};function o(){nj("dismissableLayer.pointerDownOutside",r,n,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...f.branches].some(e=>e.contains(t));!x||r||(null==a||a(e),null==u||u(e),e.defaultPrevented||null==c||c())},h),O=function(e,t=null==globalThis?void 0:globalThis.document){let r=nv(e),n=(0,r3.useRef)(!1);return(0,r3.useEffect)(()=>{let e=e=>{e.target&&!n.current&&nj("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...f.branches].some(e=>e.contains(t))||(null==s||s(e),null==u||u(e),e.defaultPrevented||null==c||c())},h);return!function(e,t=null==globalThis?void 0:globalThis.document){let r=nv(e);(0,r3.useEffect)(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[r,t])}(e=>{w!==f.layers.size-1||(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),(0,r3.useEffect)(()=>
1{if(d)return n&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(i=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),nT(),()=>{n&&1===f.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=i)}},[d,h,n,f]),(0,r3.useEffect)(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),nT())},[d,f]),(0,r3.useEffect)(()=>{let e=()=>v({});return document.addEventListener(nO,e),()=>document.removeEventListener(nO,e)},[]),(0,r3.createElement)(np.div,nn({},l,{ref:y,style:{pointerEvents:E?x?"auto":"none":void 0,...e.style},onFocusCapture:na(e.onFocusCapture,O.onFocusCapture),onBlurCapture:na(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:na(e.onPointerDownCapture,_.onPointerDownCapture)}))});function nT(){let e=new CustomEvent(nO);document.dispatchEvent(e)}function nj(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?nh(i,o):i.dispatchEvent(o)}let nR=(0,r3.forwardRef)((e,t)=>(0,r3.createElement)(np.span,nn({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),nN="NavigationMenu",[nI,nD,nP]=n_(nN),[nC,nM,nA]=n_(nN),[nF,nL]=no(nN,[nP,nA]),[nq,nV]=nF(nN),[nQ,nz]=nF(nN),nG=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,value:n,onValueChange:i,defaultValue:o,delayDuration:a=200,skipDelayDuration:s=300,orientation:u="horizontal",dir:c,...l}=e,[f,d]=(0,r3.useState)(null),p=nu(t,e=>d(e)),h=function(e){let t=(0,r3.useContext)(ny);return e||t||"ltr"}(c),v=(0,r3.useRef)(0),y=(0,r3.useRef)(0),m=(0,r3.useRef)(0),[b,g]=(0,r3.useState)(!0),[w="",E]=function({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,i]=function({defaultProp:e,onChange:t}){let r=(0,r3.useState)(e),[n]=r,i=(0,r3.useRef)(n),o=nv(t);return(0,r3.useEffect)(()=>{i.current!==n&&(o(n),i.current=n)},[n,i,o]),r}({defaultProp:t,onChange:r}),o=void 0!==e,a=o?e:n,s=nv(r);return[a,(0,r3.useCallback)(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else i(t)},[o,e,i,s])]}({prop:n,onChange:e=>{let t=s>0;""!==e?(window.clearTimeout(m.current),t&&g(!1)):(window.clearTimeout(m.current),m.current=window.setTimeout(()=>g(!0),s)),null==i||i(e)},defaultProp:o}),x=(0,r3.useCallback)(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>E(""),150)},[E]),_=(0,r3.useCallback)(e=>{window.clearTimeout(y.current),E(e)},[E]),O=(0,r3.useCallback)(e=>{w===e?window.clearTimeout(y.current):v.current=window.setTimeout(()=>{window.clearTimeout(y.current),E(e)},a)},[w,E,a]);return(0,r3.useEffect)(()=>()=>{window.clearTimeout(v.current),window.clearTimeout(y.current),window.clearTimeout(m.current)},[]),(0,r3.createElement)(nU,{scope:r,isRootMenu:!0,value:w,dir:h,orientation:u,rootNavigationMenu:f,onTriggerEnter:e=>{window.clearTimeout(v.current),b?O(e):_(e)},onTriggerLeave:()=>{window.clearTimeout(v.current),x()},onContentEnter:()=>window.clearTimeout(y.current),onContentLeave:x,onItemSelect:e=>{E(t=>t===e?"":e)},onItemDismiss:()=>E("")},(0,r3.createElement)(np.nav,nn({"aria-label":"Main","data-orientation":u,dir:h},l,{ref:p})))}),nU=e=>{let{scope:t,isRootMenu:r,rootNavigationMenu:n,dir:i,orientation:o,children:a,value:s,onItemSelect:u,onItemDismiss:c,onTriggerEnter:l,onTriggerLeave:f,onContentEnter:d,onContentLeave:p}=e,[h,v]=(0,r3.useState)(null),[y,m]=(0,r3.useState)(new Map),[b,g]=(0,r3.useState)(null);return(0,r3.createElement)(nq,{scope:t,isRootMenu:r,rootNavigationMenu:n,value:s,previousValue:function(e){let t=(0,r3.useRef)({value:e,previous:e});return(0,r3.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(s),baseId:nx(),dir:i,orientation:o,viewport:h,onViewportChange:v,indicatorTrack:b,onIndicatorTrackChange:g,onTriggerEnter:nv(l),onTriggerLeave:nv(f),onContentEnter:nv(d),onContentLeave:nv(p),onItemSelect:nv(u),onItemDismiss:nv(c),onViewportContentChange:(0,r3.useCallback)((e,t)=>{m(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:(0,r3.useCallback)(e=>{m(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[])},(0,r3.createElement)(nI.Provider,{scope:t},(0,r3.createElement)(nQ,{scope:t,items:y},a)))},nW=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,...n}=e,i=nV("NavigationMenuList",r),o=(0,r3.createElement)(np.ul,nn({"data-orientation":i.orientation},n,{ref:t}));return(0,r3.createElement)(np.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange},(0,r3.createElement)(nI.Slot,{scope:r},i.isRootMenu?(0,r3.createElement)(ie,{asChild:!0},o):o))}),[nB,nK]=nF("NavigationMenuItem"),nJ=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,value:n,...i}=e,o=nx(),a=(0,r3.useRef)(null),s=(0,r3.useRef)(null),u=(0,r3.useRef)(null),c=(0,r3.useRef)(()=>{}),l=(0,r3.useRef)(!1),f=(0,r3.useCallback)((e="start")=>{if(a.current){c.current();let t=ii(a.current);t.length&&io("start"===e?t:t.reverse())}},[]),d=(0,r3.useCallback)(()=>
1{if(a.current){let e=ii(a.current);e.length&&(c.current=(e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}))}},[]);return(0,r3.createElement)(nB,{scope:r,value:n||o||"LEGACY_REACT_AUTO_VALUE",triggerRef:s,contentRef:a,focusProxyRef:u,wasEscapeCloseRef:l,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:d,onContentFocusOutside:d},(0,r3.createElement)(np.li,nn({},i,{ref:t})))}),nY="NavigationMenuTrigger",n$=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,disabled:n,...i}=e,o=nV(nY,e.__scopeNavigationMenu),a=nK(nY,e.__scopeNavigationMenu),s=(0,r3.useRef)(null),u=nu(s,a.triggerRef,t),c=iu(o.baseId,a.value),l=ic(o.baseId,a.value),f=(0,r3.useRef)(!1),d=(0,r3.useRef)(!1),p=a.value===o.value;return(0,r3.createElement)(r3.Fragment,null,(0,r3.createElement)(nI.ItemSlot,{scope:r,value:a.value},(0,r3.createElement)(ir,{asChild:!0},(0,r3.createElement)(np.button,nn({id:c,disabled:n,"data-disabled":n?"":void 0,"data-state":is(p),"aria-expanded":p,"aria-controls":l},i,{ref:u,onPointerEnter:na(e.onPointerEnter,()=>{d.current=!1,a.wasEscapeCloseRef.current=!1}),onPointerMove:na(e.onPointerMove,il(()=>{n||d.current||a.wasEscapeCloseRef.current||f.current||(o.onTriggerEnter(a.value),f.current=!0)})),onPointerLeave:na(e.onPointerLeave,il(()=>{n||(o.onTriggerLeave(),f.current=!1)})),onClick:na(e.onClick,()=>{o.onItemSelect(a.value),d.current=p}),onKeyDown:na(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===o.dir?"ArrowLeft":"ArrowRight"}[o.orientation];p&&e.key===t&&(a.onEntryKeyDown(),e.preventDefault())})})))),p&&(0,r3.createElement)(r3.Fragment,null,(0,r3.createElement)(nR,{"aria-hidden":!0,tabIndex:0,ref:a.focusProxyRef,onFocus:e=>{let t=a.contentRef.current,r=e.relatedTarget,n=r===s.current,i=null==t?void 0:t.contains(r);(n||!i)&&a.onFocusProxyEnter(n?"start":"end")}}),o.viewport&&(0,r3.createElement)("span",{"aria-owns":l})))}),nH="navigationMenu.linkSelect",nZ=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,active:n,onSelect:i,...o}=e;return(0,r3.createElement)(ir,{asChild:!0},(0,r3.createElement)(np.a,nn({"data-active":n?"":void 0,"aria-current":n?"page":void 0},o,{ref:t,onClick:na(e.onClick,e=>{let t=e.target,r=new CustomEvent(nH,{bubbles:!0,cancelable:!0});t.addEventListener(nH,e=>null==i?void 0:i(e),{once:!0}),nh(t,r),r.defaultPrevented||e.metaKey||nh(t,new CustomEvent(n5,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})))}),nX="NavigationMenuIndicator",n0=(0,r3.forwardRef)((e,t)=>{let{forceMount:r,...n}=e,i=nV(nX,e.__scopeNavigationMenu),o=!!i.value;return i.indicatorTrack?ni.createPortal((0,r3.createElement)(nb,{present:r||o},(0,r3.createElement)(n1,nn({},n,{ref:t}))),i.indicatorTrack):null}),n1=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,...n}=e,i=nV(nX,r),o=nD(r),[a,s]=(0,r3.useState)(null),[u,c]=(0,r3.useState)(null),l="horizontal"===i.orientation,f=!!i.value;(0,r3.useEffect)(()=>{var e;let t=null===(e=o().find(e=>e.value===i.value))||void 0===e?void 0:e.ref.current;t&&s(t)},[o,i.value]);let d=()=>{a&&c({size:l?a.offsetWidth:a.offsetHeight,offset:l?a.offsetLeft:a.offsetTop})};return ia(a,d),ia(i.indicatorTrack,d),u?(0,r3.createElement)(np.div,nn({"aria-hidden":!0,"data-state":f?"visible":"hidden","data-orientation":i.orientation},n,{ref:t,style:{position:"absolute",...l?{left:0,width:u.size+"px",transform:`translateX(${u.offset}px)`}:{top:0,height:u.size+"px",transform:`translateY(${u.offset}px)`},...n.style}})):null}),n2="NavigationMenuContent",n3=(0,r3.forwardRef)((e,t)=>{let{forceMount:r,...n}=e,i=nV(n2,e.__scopeNavigationMenu),o=nK(n2,e.__scopeNavigationMenu),a=nu(o.contentRef,t),s=o.value===i.value,u={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...n};return i.viewport?(0,r3.createElement)(n8,nn({forceMount:r},u,{ref:a})):(0,r3.createElement)(nb,{present:r||s},(0,r3.createElement)(n9,nn({"data-state":is(s)},u,{ref:a,onPointerEnter:na(e.onPointerEnter,i.onContentEnter),onPointerLeave:na(e.onPointerLeave,
1il(i.onContentLeave)),style:{pointerEvents:!s&&i.isRootMenu?"none":void 0,...u.style}})))}),n8=(0,r3.forwardRef)((e,t)=>{let{onViewportContentChange:r,onViewportContentRemove:n}=nV(n2,e.__scopeNavigationMenu);return nm(()=>{r(e.value,{ref:t,...e})},[e,t,r]),nm(()=>()=>n(e.value),[e.value,n]),null}),n5="navigationMenu.rootContentDismiss",n9=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,value:n,triggerRef:i,focusProxyRef:o,wasEscapeCloseRef:a,onRootContentClose:s,onContentFocusOutside:u,...c}=e,l=nV(n2,r),f=(0,r3.useRef)(null),d=nu(f,t),p=iu(l.baseId,n),h=ic(l.baseId,n),v=nD(r),y=(0,r3.useRef)(null),{onItemDismiss:m}=l;(0,r3.useEffect)(()=>{let e=f.current;if(l.isRootMenu&&e){let t=()=>{var t;m(),s(),e.contains(document.activeElement)&&(null===(t=i.current)||void 0===t||t.focus())};return e.addEventListener(n5,t),()=>e.removeEventListener(n5,t)}},[l.isRootMenu,e.value,i,m,s]);let b=(0,r3.useMemo)(()=>{let e=v().map(e=>e.value);"rtl"===l.dir&&e.reverse();let t=e.indexOf(l.value),r=e.indexOf(l.previousValue),i=n===l.value,o=r===e.indexOf(n);if(!i&&!o)return y.current;let a=(()=>{if(t!==r){if(i&&-1!==r)return t>r?"from-end":"from-start";if(o&&-1!==t)return t>r?"to-start":"to-end"}return null})();return y.current=a,a},[l.previousValue,l.value,l.dir,v,n]);return(0,r3.createElement)(ie,{asChild:!0},(0,r3.createElement)(nS,nn({id:h,"aria-labelledby":p,"data-motion":b,"data-orientation":l.orientation},c,{ref:d,onDismiss:()=>{var e;let t=new Event(n5,{bubbles:!0,cancelable:!0});null===(e=f.current)||void 0===e||e.dispatchEvent(t)},onFocusOutside:na(e.onFocusOutside,e=>{var t;u();let r=e.target;null!==(t=l.rootNavigationMenu)&&void 0!==t&&t.contains(r)&&e.preventDefault()}),onPointerDownOutside:na(e.onPointerDownOutside,e=>{var t;let r=e.target,n=v().some(e=>{var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(r)}),i=l.isRootMenu&&(null===(t=l.viewport)||void 0===t?void 0:t.contains(r));(n||i||!l.isRootMenu)&&e.preventDefault()}),onKeyDown:na(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ii(e.currentTarget),n=document.activeElement,i=t.findIndex(e=>e===n);if(io(e.shiftKey?t.slice(0,i).reverse():t.slice(i+1,t.length)))e.preventDefault();else{var r;null===(r=o.current)||void 0===r||r.focus()}}}),onEscapeKeyDown:na(e.onEscapeKeyDown,e=>{a.current=!0})}
1)))}),n7="NavigationMenuViewport",n4=(0,r3.forwardRef)((e,t)=>{let{forceMount:r,...n}=e,i=!!nV(n7,e.__scopeNavigationMenu).value;return(0,r3.createElement)(nb,{present:r||i},(0,r3.createElement)(n6,nn({},n,{ref:t})))}),n6=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,children:n,...i}=e,o=nV(n7,r),a=nu(t,o.onViewportChange),s=nz(n2,e.__scopeNavigationMenu),[u,c]=(0,r3.useState)(null),[l,f]=(0,r3.useState)(null),d=u?(null==u?void 0:u.width)+"px":void 0,p=u?(null==u?void 0:u.height)+"px":void 0,h=!!o.value,v=h?o.value:o.previousValue;return ia(l,()=>{l&&c({width:l.offsetWidth,height:l.offsetHeight})}),(0,r3.createElement)(np.div,nn({"data-state":is(h),"data-orientation":o.orientation},i,{ref:a,style:{pointerEvents:!h&&o.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":d,"--radix-navigation-menu-viewport-height":p,...i.style},onPointerEnter:na(e.onPointerEnter,o.onContentEnter),onPointerLeave:na(e.onPointerLeave,il(o.onContentLeave))}),Array.from(s.items).map(([e,{ref:t,forceMount:r,...n}])=>{let i=v===e;return(0,r3.createElement)(nb,{key:e,present:r||i},(0,r3.createElement)(n9,nn({},n,{ref:ns(t,e=>{i&&e&&f(e)})})))}))}),ie=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,...n}=e,i=nV("FocusGroup",r);return(0,r3.createElement)(nC.Provider,{scope:r},(0,r3.createElement)(nC.Slot,{scope:r},(0,r3.createElement)(np.div,nn({dir:i.dir},n,{ref:t}))))}),it=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ir=(0,r3.forwardRef)((e,t)=>{let{__scopeNavigationMenu:r,...n}=e,i=nM(r),o=nV("FocusGroupItem",r);return(0,r3.createElement)(nC.ItemSlot,{scope:r},(0,r3.createElement)(np.button,nn({},n,{ref:t,onKeyDown:na(e.onKeyDown,e=>{if(["Home","End",...it].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),it.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>io(t)),e.preventDefault()}})})))});function ii(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function io(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ia(e,t){let r=nv(t);nm(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}function is(e){return e?"open":"closed"}function iu(e,t){return`${e}-trigger-${t}`}function ic(e,t){return`${e}-content-${t}`}function il(e){return t=>"mouse"===t.pointerType?e(t):void 0}let id=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,ip=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n);else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(n&&(n+=" "),n+=t);return n},ih=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return ip(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:o}=t,a=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let a=id(t)||id(n);return i[e][a]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return ip(e,a,null==t?void 0:null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...s}[t]):({...o,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)},iv=(0,r(3759).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var iy=r(512),im=r(8388);function ib(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,im.m6)((0,iy.W)(t))}let ig=r3.forwardRef((e,t)=>
1{let{className:r,children:n,...i}=e;return(0,c.jsx)(nG,{ref:t,className:ib("relative z-10 flex max-w-max flex-1 items-center justify-center",r),...i,children:n})});ig.displayName=nG.displayName;let iw=r3.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,c.jsx)(nW,{ref:t,className:ib("group flex flex-1 flex-wrap list-none items-center justify-center space-x-1",r),...n})});iw.displayName=nW.displayName;let iE=r3.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,c.jsx)(nJ,{ref:t,className:ib("relative",r),...n})});iE.displayName="NavigationMenuItem";let ix=ih("group inline-flex h-10 items-center justify-start rounded-md px-4 py-2 text-black font-bold transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),i_=ih("py-2 px-4 block rounded-md w-full font-bold transition-colors text-black hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),iO=r3.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,c.jsxs)(n$,{ref:t,className:ib(ix(),"group",r),...i,children:[n," ",(0,c.jsx)(iv,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})});iO.displayName=n$.displayName;let ik=r3.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,c.jsx)(n3,{ref:t,className:ib("left-0 absolute flex flex-col top-full bg-popover mt-1 border rounded-lg p-2","data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52",r),...n})});ik.displayName=n3.displayName,r3.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,c.jsx)("div",{className:ib("absolute left-0 top-full flex justify-center"),children:(0,c.jsx)(n4,{className:ib("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",r),ref:t,...n})})}).displayName=n4.displayName,r3.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,c.jsx)(n0,{ref:t,className:ib("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",r),...n,children:(0,c.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=n0.displayName;var iS=r(8956);function iT(){let[e,t]=(0,r3.useState)(!1),r=(0,nr.usePathname)();return(0,r3.useEffect)(()=>{t(!1)},[r]),(0,r3.useEffect)(()=>{e?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[e]),(0,c.jsx)("nav",{className:"w-full bg-white",children:(0,c.jsxs)("div",{className:"flex flex-col lg:flex-row items-center justify-center px-12 py-2",children:[(0,c.jsx)(r6(),{className:"z-10 inline-block",href:"/",children:(0,c.jsx)(nt(),{src:"/rea-logo-cropped.png",alt:"ReAnimania Logo",width:128,height:83.5,priority:!0})}),(0,c.jsx)("div",{className:"flex flex-1 items-center justify-center lg:-ml-[128px]",children:(0,c.jsx)(ig,{children:(0,c.jsxs)(iw,{children:[(0,c.jsx)(iE,{children:(0,c.jsxs)(nZ,{href:"/festival-2025",className:(0,im.m6)((0,iy.Z)(i_(),"bg-amber-400 hover:bg-amber-300 active:bg-amber-200 flex items-center")),children:[(0,c.jsx)(iS.Z,{className:"w-6 h-6 mr-2"})," Program"]})}),(0,c.jsxs)(iE,{children:[(0,c.jsx)(iO,{children:"ReaFest"}),(0,c.jsxs)(ik,{children:[(0,c.jsx)(r6(),{href:"/reafest/about",children:(0,c.jsx)(nZ,{className:i_(),children:"About"})}),(0,c.jsx)(r6(),{href:"/reafest/special-programs",children:(0,c.jsx)(nZ,{className:i_(),children:"Special Programs"})}),(0,c.jsx)(r6(),{href:"/reafest/armenian-retrospective",children:(0,c.jsx)(nZ,{className:i_(),children:"Armenian Retrospective"})}),(0,c.jsx)(r6(),{href:"/reafest/rendezvous",children:(0,c.jsx)(nZ,{className:i_(),children:"Rendezvous"})})]})]}),(0,c.jsxs)(iE,{children:[(0,c.jsx)(iO,{children:"MarAni"}),(0,c.jsxs)(ik,{children:[(0,c.jsx)(r6(),{href:"/marani/about",children:(0,c.jsx)(nZ,{className:i_(),children:"About"})}),(0,c.jsx)(r6(),{href:"/marani/forum",children:(0,c.jsx)(nZ,{className:i_(),children:"Forum"})}),(0,c.jsx)(r6(),{href:"/marani/coreact",children:(0,c.jsx)(nZ,{className:i_(),children:"CoReAct"})}),(0,c.jsx)(r6(),{href:"/marani/workshops",children:(0,c.jsx)(nZ,{className:i_(),children:"Workshops/Masterclasses"})})]})]}),(0,c.jsxs)(iE,{children:[(0,c.jsx)(iO,{children:"ReA Comics"}),(0,c.jsxs)(ik,{children:[(0,c.jsx)(r6(),{href:"/rea-comics/about",children:(0,c.jsx)(nZ,{className:i_(),children:"About"})}),(0,c.jsx)(r6(),{href:"/rea-comics/exhibition",children:(0,c.jsx)(nZ,{className:i_(),children:"Exhibition"})}),(0,c.jsx)(r6(),{href:"/rea-comics/workshops",children:(0,c.jsx)(nZ,{className:i_(),children:"Workshops/Masterclasses"})}),(0,c.jsx)(r6(),{href:"/rea-comics/book-signing",children:(0,c.jsx)(nZ,{className:i_(),children:"Book Signing"})})]})]}),(0,c.jsx)(iE,{children:(0,c.jsx)(nZ,{href:"/rea-publishing",className:i_(),children:"Rea Publishing"})}),(0,c.jsx)(iE,{children:(0,c.jsx)(nZ,{href:"/accreditations",className:i_(),children:"Accreditations"})})]})})})]})})}function ij(){return(0,c.jsx)("section",{className:"flex md:py-8 justify-center items-center",children:(0,c.jsxs)("div",{className:"flex flex-col md:flex-row md:space-x-[128px] items-center mb-12",children:[(0,c.jsxs)("div",{className:"flex flex-col items-center md:mr-6 pt-6",children:[(0,c.jsx)("h3",{className:"font-semibold text-center pb-2",children:"join us on social media!"}),(0,c.jsxs)("div",{className:"flex space-x-3 items-center",children:[(0,c.jsx)("a",{href:"https://www.facebook.com/ReAnimania",className:"flex-shrink-0 hover:opacity-80 transition-opacity",target:"_blank",rel:"noopener noreferrer",children:(0,c.jsx)(nt(),{width:30,height:30,src:"/facebook-logo.png",alt:"Facebook logo",className:"invert w-[30px] h-[30px] object-contain",priority:!0})}),(0,c.jsx)("a",{href:"https://www.instagram.com/rea_festival/",className:"flex-shrink-0 hover:opacity-80 transition-opacity",target:"_blank",rel:"noopener noreferrer",children:(0,c.jsx)(nt(),{width:30,height:30,src:"/instagram-logo.png",alt:"Instagram logo",className:"w-[30px] h-[30px] object-contain",priority:!0})}),(0,c.jsx)("a",{href:"https://twitter.com/ReAnimania?t=81hrK8AiF6dsg8QT7XG5oQ&s=09",className:"flex-shrink-0 hover:opacity-80 transition-opacity",target:"_blank",rel:"noopener noreferrer",children:(0,c.jsx)(nt(),{width:30,height:30,src:"/x-logo.png",alt:"X (Twitter) logo",className:"w-[30px] h-[30px] object-contain",priority:!0})}),(0,c.jsx)("a",{href:"https://www.youtube.com/@rea_festival",className:"flex-shrink-0 hover:opacity-80 transition-opacity",target:"_blank",rel:"noopener noreferrer",children:(0,c.jsx)(nt(),{width:30,height:30,src:"/youtube-logo.png",alt:"YouTube logo",className:"w-[30px] h-[30px] object-contain",priority:!0})})]})]}),(0,c.jsxs)("div",{className:"w-52 pt-6",children:[(0,c.jsx)("h3",{className:"font-semibold text-center",children:"join us on our official app!"}),(0,c.jsxs)("div",{className:"flex ml-2 justify-center items-center space-x-2",children:[(0,c.jsx)("a",{href:"https://apps.apple.com/am/app/rea-festival/id6469463911",className:"flex-shrink-0 hover:opacity-80 transition-opacity",target:"_blank",rel:"noopener noreferrer",children:(0,c.jsx)(nt(),{width:120,height:52,src:"/Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg",alt:"Download on App Store",className:"w-[120px] h-[52px] object-contain",priority:!0})}),(0,c.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.arakelyan.reafestival&pcampaignid=website",className:"flex-shrink-0 hover:opacity-80 transition-opacity",target:"_blank",rel:"noopener noreferrer",children:(0,c.jsx)(nt(),{width:158,height:60,src:"/google-play-badge.png",alt:"Download Google Play App",className:"w-[158px] h-[60px] object-contain",priority:!0})})]})]})]})})}function iR(e){let{children:t}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(iT,{}),(0,c.jsx)("main",{children:t}),(0,c.jsx)(ij,{})]})}function iN(e){let{Component:t,pageProps:r}=e,n=new rs({uri:"https://api-eu-central-1-shared-euc1-02.hygraph.com/v2/clmthlgee07op01t21rpqerzl/master",cache:new r2});return(0,c.jsx)(r9,{client:n,children:(0,c.jsx)(r7.nf,{children:(0,c.jsx)(iR,{children:(0,c.jsx)(t,{...r})})})})}r3.forwardRef((e,t)=>
1{let{className:r,title:n,children:i,...o}=e;return(0,c.jsx)("li",{children:(0,c.jsx)(r6(),{ref:t,legacyBehavior:!0,passHref:!0,href:o.href,children:(0,c.jsx)(nZ,{className:i_(),children:n})})})}).displayName="ListItem"},3434:function(){},5675:function(e,t,r){e.exports=r(6210)},1664:function(e,t,r){e.exports=r(8342)},9332:function(e,t,r){e.exports=r(6432)},1644:function(e,t,r){"use strict";var n,i;function o(e){return!!e&&e<7}r.d(t,{Ie:function(){return n},Oj:function(){return o}}),(i=n||(n={}))[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error"},990:function(e,t,r){"use strict";r.d(t,{MS:function(){return s},YG:function(){return o},cA:function(){return c},ls:function(){return a}});var n=r(7582);r(8287);var i=r(3154),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,n.ev)((0,n.ev)((0,n.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.s)(e)&&e.message||"Error message not found."}).join("\n")},c=function(e){function t(r){var n=r.graphQLErrors,i=r.protocolErrors,o=r.clientErrors,a=r.networkError,s=r.errorMessage,c=r.extraInfo,l=e.call(this,s)||this;return l.name="ApolloError",l.graphQLErrors=n||[],l.protocolErrors=i||[],l.clientErrors=o||[],l.networkError=a||null,l.message=s||u(l),l.extraInfo=c,l.__proto__=t.prototype,l}return(0,n.ZT)(t,e),t}(Error)},5317:function(e,t,r){"use strict";r.d(t,{K:function(){return s}});var n=r(7294),i=r(320),o=r(8287),a=i.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function s(){(0,o.kG)(!0,45);var e=n.createContext[a];return e||(Object.defineProperty(n.createContext,a,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},1436:function(e,t,r){"use strict";r.d(t,{O:function(){return i},k:function(){return n}});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},320:function(e,t,r){"use strict";r.d(t,{DN:function(){return s},JC:function(){return l},aS:function(){return a},mr:function(){return i},sy:function(){return o}});var n=r(8287),i="function"==typeof WeakMap&&"ReactNative"!==(0,n.wY)(function(){return navigator.product}),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator,u="function"==typeof(0,n.wY)(function(){return window.document.createElement}),c=(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,l=u&&!c},3712:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:function(){return n}})},897:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},8702:function(e,t,r){"use strict";r.d(t,{J:function(){return i}});var n=r(3154);function i(e){if(!1!==globalThis.__DEV__){var t;(t=new Set([e])).forEach(function(e){(0,n.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.s)(e[r])&&t.add(e[r])})})}return e}},4012:function(e,t,r){"use strict";r.d(t,{J:function(){return o}});var n=r(7582),i=r(3712);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.pi)((0,n.pi)({},e&&e.variables),t.variables))})}},3154:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{s:function(){return n}})},3887:function(e,t,r){"use strict";r.d(t,{v:function(){return i}});var n=r(897);function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},8287:function(e,t,r){"use strict";r.d(t,{kG:function(){return b},wY:function(){return h},_K:function(){return g}});
1var n,i=r(7582),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,i.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}var l=["debug","log","warn","error","silent"],f=l.indexOf("log");function d(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}(n=c||(c={})).debug=d("debug"),n.log=d("log"),n.warn=d("warn"),n.error=d("error");var p=r(9379);function h(e){try{return e()}catch(e){}}var v=h(function(){return globalThis})||h(function(){return window})||h(function(){return self})||h(function(){return global})||h(function(){return h.constructor("return this")()}),y=r(3887);function m(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=x(i))||(t=_(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var b=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||c(e,x(t,r)||_(t,r))},{debug:m(c.debug),log:m(c.log),warn:m(c.warn),error:m(c.error)});function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new u(x(e,t)||_(e,t))}var w=Symbol.for("ApolloErrorMessageHandler_"+p.i);function E(e){return"string"==typeof e?e:(0,y.v)(e,2).slice(0,1e3)}function x(e,t){if(void 0===t&&(t=[]),e)return v[w]&&v[w](e,t.map(E))}function _(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:p.i,message:e,args:t.map(E)})))}},9379:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});var n="3.8.7"},20:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=u(t),o=u(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(f(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))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]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,l)}}return!1}(e,t)}finally{a.clear()}}function u(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}t.Z=s;let l="{ [native code] }";function f(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},512:function(e,t,r){"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:function(){return n}}),t.Z=n},7826:function(e,t,r){"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{a:function(){return n}})},5821:function(e,t,r){"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";let n=Math.min(10,t.length),i=t.length-n,o=[];for(let i=0;i<n;++i)o.push(e(t[i],r));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);return 0===n.length?"{}":r.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+n.map(([t,n])=>t+": "+e(n,r)).join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(e,[])}r.d(t,{X:function(){return n}})},2380:function(e,t,r){"use strict";var n,i;r.d(t,{UG:function(){return c},WU:function(){return a},Ye:function(){return o},h8:function(){return s},ku:function(){return n}});class o{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,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}}}let s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
1Value:[],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"]},u=new Set(Object.keys(s));function c(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&u.has(t)}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},7392:function(e,t,r){"use strict";r.d(t,{LZ:function(){return o},wv:function(){return i}});var n=r(8297);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=function(e){let t=0;for(;t<e.length&&(0,n.FD)(e.charCodeAt(t));)++t;return t}(s);u!==s.length&&(o=null!==(r=o)&&void 0!==r?r:t,a=t,0!==t&&u<i&&(i=u))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.FD)(e.charCodeAt(0))),s=r.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s),d="",p=o&&(0,n.FD)(e.charCodeAt(0));return(f&&!p||a)&&(d+="\n"),d+=r,(f||l)&&(d+="\n"),'"""'+d+'"""'}},8297:function(e,t,r){"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{FD:function(){return n},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},7359:function(e,t,r){"use strict";var n,i;r.d(t,{h:function(){return n}}),(i=n||(n={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},8388:function(e,t,r){"use strict";r.d(t,{m6:function(){return Y}});let n=e=>{let t=s(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),i(r,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{let i=r[e]||[];return t&&n[e]?[...i,...n[e]]:i}}},i=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),o=n?i(e.slice(1),n):void 0;if(o)return o;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},o=/^\[(.+)\]$/,a=e=>
1{if(o.test(e)){let t=o.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},s=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return f(Object.entries(e.classGroups),r).forEach(([e,r])=>{u(r,n,e,t)}),n},u=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:c(t,e)).classGroupId=r;return}if("function"==typeof e){if(l(e)){u(e(n),t,r,n);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,i])=>{u(i,c(t,e),r,n)})})},c=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},l=e=>e.isThemeGetter,f=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,d=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,i=(i,o)=>{r.set(i,o),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}},p=e=>{let{separator:t,experimentalParseClassName:r}=e,n=1===t.length,i=t[0],o=t.length,a=e=>{let r;let a=[],s=0,u=0;for(let c=0;c<e.length;c++){let l=e[c];if(0===s){if(l===i&&(n||e.slice(c,c+o)===t)){a.push(e.slice(u,c)),u=c+o;continue}if("/"===l){r=c;continue}}"["===l?s++:"]"===l&&s--}let c=0===a.length?e:e.substring(u),l=c.startsWith("!"),f=l?c.substring(1):c;return{modifiers:a,hasImportantModifier:l,baseClassName:f,maybePostfixModifierPosition:r&&r>u?r-u:void 0}};return r?e=>r({className:e,parseClassName:a}):a},h=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},v=e=>({cache:d(e.cacheSize),parseClassName:p(e),...n(e)}),y=/\s+/,m=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(y),s="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{modifiers:u,hasImportantModifier:c,baseClassName:l,maybePostfixModifierPosition:f}=r(t),d=!!f,p=n(d?l.substring(0,f):l);if(!p){if(!d||!(p=n(l))){s=t+(s.length>0?" "+s:s);continue}d=!1}let v=h(u).join(":"),y=c?v+"!":v,m=y+p;if(o.includes(m))continue;o.push(m);let b=i(p,d);for(let e=0;e<b.length;++e){let t=b[e];o.push(y+t)}s=t+(s.length>0?" "+s:s)}return s};function b(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=g(e))&&(n&&(n+=" "),n+=t);return n}let g=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r},w=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},E=/^\[(?:([a-z-]+):)?(.+)\]$/i,x=/^\d+\/\d+$/,_=new Set(["px","full","screen"]),O=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,T=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>I(e)||_.has(e)||x.test(e),N=e=>U(e,"length",W),I=e=>!!e&&!Number.isNaN(Number(e)),D=e=>U(e,"number",I),P=e=>!!e&&Number.isInteger(Number(e)),C=e=>e.endsWith("%")&&I(e.slice(0,-1)),M=e=>E.test(e),A=e=>O.test(e),F=new Set(["length","size","percentage"]),L=e=>U(e,F,B),q=e=>U(e,"position",B),V=new Set(["image","url"]),Q=e=>U(e,V,J),z=e=>U(e,"",K),G=()=>!0,U=(e,t,r)=>{let n=E.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},W=e=>k.test(e)&&!S.test(e),B=()=>!1,K=e=>T.test(e),J=e=>j.test(e),Y=function(e,...t){let r,n,i;let o=function(s){return n=(r=v(t.reduce((e,t)=>t(e),e()))).cache.get,i=r.cache.set,o=a,a(s)};function a(e){let t=n(e);if(t)return t;let o=m(e,r);return i(e,o),o}
vendor: 12,717 bytes, line 1
1return function(){return o(b.apply(null,arguments))}}(()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),n=w("brightness"),i=w("borderColor"),o=w("borderRadius"),a=w("borderSpacing"),s=w("borderWidth"),u=w("contrast"),c=w("grayscale"),l=w("hueRotate"),f=w("invert"),d=w("gap"),p=w("gradientColorStops"),h=w("gradientColorStopPositions"),v=w("inset"),y=w("margin"),m=w("opacity"),b=w("padding"),g=w("saturate"),E=w("scale"),x=w("sepia"),_=w("skew"),O=w("space"),k=w("translate"),S=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",M,t],F=()=>[M,t],V=()=>["",R,N],U=()=>["auto",I,M],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",M],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[I,M];return{cacheSize:500,separator:":",theme:{colors:[G],spacing:[R,N],blur:["none","",A,M],brightness:H(),borderColor:[e],borderRadius:["none","","full",A,M],borderSpacing:F(),borderWidth:V(),contrast:H(),grayscale:Y(),hueRotate:H(),invert:Y(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[C,N],inset:j(),margin:j(),opacity:H(),padding:F(),saturate:H(),scale:H(),sepia:Y(),skew:H(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),M]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",P,M]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",P,M]}],"grid-cols":[{"grid-cols":[G]}],"col-start-end":[{col:["auto",{span:["full",P,M]},M]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[G]}],"row-start-end":[{row:["auto",{span:[P,M]},M]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,t]}],"min-w":[{"min-w":[M,t,"min","max","fit"]}],"max-w":[{"max-w":[M,t,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[M,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,t,"auto","min","max","fit"]}],"font-size":[{text:["base",A,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",D]}],"font-family":[{font:[G]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",M]}],"line-clamp":[{"line-clamp":["none",I,D]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,N]}],"underline-offset":[{"underline-offset":["auto",R,M]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",M]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),q]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",L]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:B()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[R,M]}],"outline-w":[{outline:[R,N]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[R,N]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,z]}],"shadow-color":[{shadow:[G]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",A,M]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[l]}],invert:[{invert:[f]}],saturate:[{saturate:[g]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[l]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",M]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[P,M]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[_]}],"skew-y":[{"skew-y":[_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",M]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
1],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",M]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,N,D]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},7582:function(e,t,r){"use strict";r.d(t,{Jh:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return c},mG:function(){return s},pi:function(){return o}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function c(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(3079)}),_N_E=e.O()}]);
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.