PageSourceSearch

https://www.teliaplay.se/oneweb/react.795e1e0d.js

js teliaplay.se collected 2026-10-01 15:57:34 UTC 728,757 bytes, 2 lines download raw bytes

1/*! For license information please see react.795e1e0d.js.LICENSE.txt */
2(globalThis.webpackChunk_telia_company_tv_web_logged_in=globalThis.webpackChunk_telia_company_tv_web_logged_in||[]).push([[644],{"../../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@bugsnag/plugin-react/dist/bugsnag-react.js"(e){e.exports=function(){var e={};function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(null,arguments)}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}e=function(){function e(){var e="undefined"!=typeof window&&window.React;if(this.name="react",this.lazy=0===arguments.length&&!e,!this.lazy&&(this.React=(arguments.length<=0?void 0:arguments[0])||e,!this.React))throw new Error("@bugsnag/plugin-react reference to `React` was undefined")}return e.prototype.load=function(e){if(!this.lazy){var t=a(this.React,e);return t.createErrorBoundary=function(){return t},t}var n=function(){throw new Error("@bugsnag/plugin-react was used incorrectly. Valid usage is as follows:\nPass React to the plugin constructor\n\n  `Bugsnag.start({ plugins: [new BugsnagPluginReact(React)] })`\nand then call `const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary()`\n\nOr if React is not available until after Bugsnag has started,\nconstruct the plugin with no arguments\n  `Bugsnag.start({ plugins: [new BugsnagPluginReact()] })`,\nthen pass in React when available to construct your error boundary\n  `const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary(React)`")};return n.createErrorBoundary=function(t){if(!t)throw new Error("@bugsnag/plugin-react reference to `React` was undefined");return a(t,e)},n},e}();var o=function(e){for(var t=e.split(/\n/g),n="",r=0,o=t.length;r<o;r++)t[r].length&&(n+=(n.length?"\n":"")+t[r].trim());return n},a=function(e,r){return function(a){function i(e){var t;return(t=a.call(this,e)||this).state={error:null,info:null},t.handleClearError=t.handleClearError.bind(t),t}n(i,a);var s=i.prototype;return s.handleClearError=function(){this.setState({error:null,info:null})},s.componentDidCatch=function(e,t){var n=this.props.onError,a={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},i=r.Event.create(e,!0,a,1);t&&t.componentStack&&(t.componentStack=o(t.componentStack)),i.addMetadata("react",t),r._notify(i,n),this.setState({error:e,info:t})},s.render=function(){if(this.state.error){var n=this.props.FallbackComponent;return n?e.createElement(n,t({},this.state,{clearError:this.handleClearError})):null}return this.props.children},i}(e.Component)};return e.formatComponentStack=o,e.default=e,e}()},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]_rea_053da52ac51cff1eb4e5be5efe485c18/node_modules/@datadog/browser-rum-react/esm/entries/main.js"(e,t,n){"use strict";n.d(t,{tH:()=>h,M4:()=>m,tx:()=>p});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@datadog/browser-core/esm/tools/stackTrace/handlingStack.js"),a=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@datadog/browser-core/esm/tools/utils/timeUtils.js"),i=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@datadog/browser-core/esm/tools/monitor.js");let s,l,u;const c=[],d=[];function p(e={}){return{name:"react",onInit({publicApi:t,initConfiguration:n}){s=t,l=e;for(const e of c)e(l,s);e.router&&(n.trackViewsManually=!0)},onRumStart({addError:e}){u=e;for(const t of d)e&&t(e)},getConfigurationTelemetry:()=>({router:!!e.router})}}function m(e,t){const n=(0,o.uC)("react error"),r=(0,a.M8)();var s;s=o=>{(0,i.um)(()=>{o({error:e,handlingStack:n,componentStack:t.componentStack??void 0,startClocks:r,context:{...e.dd_context,framework:"react"}})})},u?s(u):d.push(s)}const f={didCatch:!1,error:null};const h=function(e,t="ErrorBoundary"){const n=class extends r.Component{constructor(e){super(e),this.resetError=()=>{this.setState(f)},this.state=f}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}componentDidCatch(t,n){e(t,n)}render(){return this.state.didCatch?r.createElement(this.props.fallback,{error:this.state.error,resetError:this.resetError}):this.props.children}};return n.displayName=t,n}(m)},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js"(e,t,n){"use strict";n.d(t,{C:()=>f,E:()=>j,T:()=>y,_:()=>h,a:()=>b,b:()=>w,c:()=>k,h:()=>x,i:()=>p,u:()=>v,w:()=>g});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"),a=n("../../../node_modules/.pnpm/@babel
2[email protected]/node_modules/@babel/runtime/helpers/esm/extends.js"),i=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),l=n.n(s),u=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"),c=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"),d=n("../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"),p=!1,m=r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),f=m.Provider,h=function(){return(0,r.useContext)(m)},g=function(e){return(0,r.forwardRef)(function(t,n){var o=(0,r.useContext)(m);return e(t,o,n)})},y=r.createContext({}),v=function(){return r.useContext(y)},_=(0,i.A)(function(e){return(0,i.A)(function(t){return function(e,t){return"function"==typeof t?t(e):(0,a.A)({},e,t)}(e,t)})}),b=function(e){var t=r.useContext(y);return e.theme!==t&&(t=_(t)(e.theme)),r.createElement(y.Provider,{value:t},e.children)};function w(e){var t,n,o=e.displayName||e.name||"Component",i=r.forwardRef(function(t,n){var o=r.useContext(y);return r.createElement(e,(0,a.A)({theme:o,ref:n},t))});return i.displayName="WithTheme("+o+")",t=i,n=e,l()(t,n)}var x={}.hasOwnProperty,S="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",k=function(e,t){var n={};for(var r in t)x.call(t,r)&&(n[r]=t[r]);return n[S]=e,n},E=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.SF)(t,n,r),(0,d.s)(function(){return(0,u.sk)(t,n,r)}),null},j=g(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[S],i=[o],s="";"string"==typeof e.className?s=(0,u.Rk)(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=(0,c.J)(i,void 0,r.useContext(y));s+=t.key+"-"+l.name;var d={};for(var m in e)x.call(e,m)&&"css"!==m&&m!==S&&!p&&(d[m]=e[m]);return d.className=s,n&&(d.ref=n),r.createElement(r.Fragment,null,r.createElement(E,{cache:t,serialized:l,isStringTag:"string"==typeof a}),r.createElement(a,d))})},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/dist/emotion-react.browser.esm.js"(e,t,n){"use strict";n.r(t),n.d(t,{CacheProvider:()=>r.C,ClassNames:()=>f,Global:()=>u,ThemeContext:()=>r.T,ThemeProvider:()=>r.a,__unsafe_useEmotionCache:()=>r._,createElement:()=>l,css:()=>c,jsx:()=>l,keyframes:()=>d,useTheme:()=>r.u,withEmotionCache:()=>r.w,withTheme:()=>r.b});var r=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"),s=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"),l=(n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"),n("../../../node_modules/.pnpm/[email protected]/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return o.createElement.apply(void 0,n);var a=n.length,i=new Array(a);i[0]=r.E,i[1]=(0,r.c)(e,t);for(var s=2;s<a;s++)i[s]=n[s];return o.createElement.apply(null,i)});!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(l||(l={}));var u=(0,r.w)(function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,o.useContext(r.T)),u=o.useRef();return(0,i.i)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),u.current=[n,r],function(){n.flush()}},[t]),(0,i.i)(function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,a.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}},[t,l.name]),null});function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.J)(t)}function d(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var p=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;
2case"object":if(Array.isArray(a))i=e(a);else for(var s in i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var m=function(e){var t=e.cache,n=e.serializedArr;return(0,i.s)(function(){for(var e=0;e<n.length;e++)(0,a.sk)(t,n[e],!1)}),null},f=(0,r.w)(function(e,t){var n=!1,i=[],l=function(){if(n&&r.i)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),l=0;l<e;l++)o[l]=arguments[l];var u=(0,s.J)(o,t.registered);return i.push(u),(0,a.SF)(t,u,!1),t.key+"-"+u.name},u={css:l,cx:function(){if(n&&r.i)throw new Error("cx can only be used during render");for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return function(e,t,n){var r=[],o=(0,a.Rk)(e,r,n);return r.length<2?n:o+t(r)}(t.registered,l,p(o))},theme:o.useContext(r.T)},c=e.children(u);return n=!0,o.createElement(o.Fragment,null,o.createElement(m,{cache:t,serializedArr:i}),c)})},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js"(e,t,n){"use strict";n.d(t,{FD:()=>s,FK:()=>a,Y:()=>i});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js"),a=(n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"),n("../../../node_modules/.pnpm/[email protected]/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"),n("../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"),r.Fragment),i=function(e,t,n){return o.h.call(t,"css")?r.jsx(o.E,(0,o.c)(e,t),n):r.jsx(e,t,n)},s=function(e,t,n){return o.h.call(t,"css")?r.jsxs(o.E,(0,o.c)(e,t),n):r.jsxs(e,t,n)}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_support_a0dcb4b0ae680db98626d6fd11a2b9d9/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"(e,t,n){"use strict";n.d(t,{A:()=>h});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@babel/runtime/helpers/esm/extends.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js"),a=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"),s=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"),l=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),u=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"),c=u.A,d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?c:d},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},f=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.SF)(t,n,r),(0,i.s)(function(){return(0,s.sk)(t,n,r)}),null},h=function e(t,n){var i,u,c=t.__emotion_real===t,d=c&&t.__emotion_base||t;void 0!==n&&(i=n.label,u=n.target);var h=m(t,n,c),g=h||p(d),y=!g("as");return function(){var v=arguments,_=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&_.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)_.push.apply(_,v);else{var b=v[0];_.push(b[0]);for(var w=v.length,x=1;x<w;
2x++)_.push(v[x],b[x])}var S=(0,o.w)(function(e,t,n){var r=y&&e.as||d,i="",c=[],m=e;if(null==e.theme){for(var v in m={},e)m[v]=e[v];m.theme=l.useContext(o.T)}"string"==typeof e.className?i=(0,s.Rk)(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var b=(0,a.J)(_.concat(c),t.registered,m);i+=t.key+"-"+b.name,void 0!==u&&(i+=" "+u);var w=y&&void 0===h?p(r):g,x={};for(var S in e)y&&"as"===S||w(S)&&(x[S]=e[S]);return x.className=i,n&&(x.ref=n),l.createElement(l.Fragment,null,l.createElement(f,{cache:t,serialized:b,isStringTag:"string"==typeof r}),l.createElement(r,x))});return S.displayName=void 0!==i?i:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",S.defaultProps=t.defaultProps,S.__emotion_real=S,S.__emotion_base=d,S.__emotion_styles=_,S.__emotion_forwardProp=h,Object.defineProperty(S,"toString",{value:function(){return"."+u}}),S.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:m(S,o,!0)})).apply(void 0,_)},S}}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_support_a0dcb4b0ae680db98626d6fd11a2b9d9/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js"(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]_support_a0dcb4b0ae680db98626d6fd11a2b9d9/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"),o=(n("../../../node_modules/.pnpm/@[email protected]/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"),n("../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"),n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),r.A.bind(null));["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){o[e]=o(e)})},"../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"(e,t,n){"use strict";var r;n.d(t,{i:()=>s,s:()=>i});var o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,i=a||function(e){return e()},s=a||o.useLayoutEffect},"../../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/emotion-normalize/dist/index.js"(e,t,n){"use strict";function r(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\nhtml {\n  line-height: 1.15; \n  -webkit-text-size-adjust: 100%; \n}\nbody {\n  margin: 0;\n}\nmain {\n  display: block;\n}\nh1 {\n  font-size: 2em;\n  margin: 0.67em 0;\n}\nhr {\n  box-sizing: content-box; \n  height: 0; \n  overflow: visible; \n}\npre {\n  font-family: monospace, monospace; \n  font-size: 1em; \n}\na {\n  background-color: transparent;\n}\nabbr[title] {\n  border-bottom: none; \n  text-decoration: underline; \n  text-decoration: underline dotted; \n}\nb,\nstrong {\n  font-weight: bolder;\n}\ncode,\nkbd,\nsamp {\n  font-family: monospace, monospace; \n  font-size: 1em; \n}\nsmall {\n  font-size: 80%;\n}\nsub,\nsup {\n  font-size: 75%;\n  line-height: 0;\n  position: relative;\n  vertical-align: baseline;\n}\nsub {\n  bottom: -0.25em;
2\n}\nsup {\n  top: -0.5em;\n}\nimg {\n  border-style: none;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n  font-family: inherit; \n  font-size: 100%; \n  line-height: 1.15; \n  margin: 0; \n}\nbutton,\ninput { \n  overflow: visible;\n}\nbutton,\nselect { \n  text-transform: none;\n}\nbutton,\n[type="button"],\n[type="reset"],\n[type="submit"] {\n  -webkit-appearance: button;\n}\nbutton::-moz-focus-inner,\n[type="button"]::-moz-focus-inner,\n[type="reset"]::-moz-focus-inner,\n[type="submit"]::-moz-focus-inner {\n  border-style: none;\n  padding: 0;\n}\nbutton:-moz-focusring,\n[type="button"]:-moz-focusring,\n[type="reset"]:-moz-focusring,\n[type="submit"]:-moz-focusring {\n  outline: 1px dotted ButtonText;\n}\nfieldset {\n  padding: 0.35em 0.75em 0.625em;\n}\nlegend {\n  box-sizing: border-box; \n  color: inherit; \n  display: table; \n  max-width: 100%; \n  padding: 0; \n  white-space: normal; \n}\nprogress {\n  vertical-align: baseline;\n}\ntextarea {\n  overflow: auto;\n}\n[type="checkbox"],\n[type="radio"] {\n  box-sizing: border-box; \n  padding: 0; \n}\n[type="number"]::-webkit-inner-spin-button,\n[type="number"]::-webkit-outer-spin-button {\n  height: auto;\n}\n[type="search"] {\n  -webkit-appearance: textfield; \n  outline-offset: -2px; \n}\n[type="search"]::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n  -webkit-appearance: button; \n  font: inherit; \n}\ndetails {\n  display: block;\n}\nsummary {\n  display: list-item;\n}\ntemplate {\n  display: none;\n}\n[hidden] {\n  display: none;\n}\n']);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(0,n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@emotion/react/dist/emotion-react.browser.esm.js").css)(r());t.default=o},"../../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]__@[email protected]._ce78ac614378806cf95aa75fb2ec3035/node_modules/focus-trap-react/dist/focus-trap-react.js"(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o,a;function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}function s(e,t,n){return t=u(t),function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,l()?Reflect.construct(t,n||[],u(e).constructor):t.apply(e,n))}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function d(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}var p=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),m=n("../../../node_modules/.pnpm/[email protected]/node_modules/focus-trap/dist/focus-trap.esm.js").createFocusTrap,f=n("../../../node_modules/.pnpm/[email protected]/node_modules/tabbable/dist/index.esm.js").isFocusable,h=parseInt(null!==(o=null===(a=/^(\d+)\./.exec(p.version))||void 0===a?void 0:a[1])&&void 0!==o?o:0,10),g=function(e){function t(e){var n,r,o,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=s(this,t,[e]),r=n,a=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n=n.apply(void 0,o)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var i,s=n;
vendor: 6,970 bytes, line 2
2if("string"==typeof n&&!(s=null===(i=this.getDocument())||void 0===i?void 0:i.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(o=d(o="getNodeForOption"))in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a,n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=e.focusTrapOptions;for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&("returnFocusOnDeactivate"!==l&&"onDeactivate"!==l&&"onPostDeactivate"!==l&&"checkCanReturnFocus"!==l&&"clickOutsideDeactivates"!==l?n.internalOptions[l]=i[l]:n.originalOptions[l]=i[l]);return n.outsideClick=null,n.focusTrapElements=e.containerElements||[],n.updatePreviousElement(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),n=t,(r=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,o=void 0!==r&&r;n&&t.focus({preventScroll:o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?p.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===p.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return p.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&(h>=19?"function"==typeof t.props.ref?t.props.ref(n):t.props.ref&&(t.props.ref.current=n):"function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&i(n.prototype,r),o&&i(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(p.Component);g.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:m},e.exports=g,e.exports.FocusTrap=g},"../../../node_modules/.pnpm/[email protected]/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t,n){"use strict";var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react-is/index.js"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var o=m(n);o&&o!==f&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),h=l(n),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||r&&r[y]||h&&h[y]||s&&s[y])){var v=p(n,y);try{u(t,y,v)}catch(e){}}}}return t}},"../../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-blurhash/dist/esm/index.js"(e,t,n){"use strict";n.d(t,{Q:()=>y});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/blurhash/dist/esm/index.js"),a=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))u.call(t,n)&&d(e,n,t[n]);if(l)for(var n of l(t))c.call(t,n)&&d(e,n,t[n]);return e},m=(e,t)=>
2i(e,s(t)),f=(e,t)=>{var n={};for(var r in e)u.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&l)for(var r of l(e))t.indexOf(r)<0&&c.call(e,r)&&(n[r]=e[r]);return n},h=class extends r.PureComponent{constructor(){super(...arguments),this.canvas=null,this.handleRef=e=>{this.canvas=e,this.draw()},this.draw=()=>{let{hash:e,height:t,punch:n,width:r}=this.props;if(this.canvas){let a=(0,o.D4)(e,r,t,n),i=this.canvas.getContext("2d"),s=i.createImageData(r,t);s.data.set(a),i.putImageData(s,0,0)}}}componentDidUpdate(){this.draw()}render(){let e=this.props,{hash:t,height:n,width:o}=e,a=f(e,["hash","height","width"]);return r.createElement("canvas",m(p({},a),{height:n,width:o,ref:this.handleRef}))}};h.defaultProps={height:128,width:128};var g={position:"absolute",top:0,bottom:0,left:0,right:0,width:"100%",height:"100%"},y=class extends r.PureComponent{componentDidUpdate(){if(this.props.resolutionX<=0)throw new Error("resolutionX must be larger than zero");if(this.props.resolutionY<=0)throw new Error("resolutionY must be larger than zero")}render(){let e=this.props,{hash:t,height:n,width:o,punch:a,resolutionX:i,resolutionY:s,style:l}=e,u=f(e,["hash","height","width","punch","resolutionX","resolutionY","style"]);return r.createElement("div",m(p({},u),{style:m(p({display:"inline-block",height:n,width:o},l),{position:"relative"})}),r.createElement(h,{hash:t,height:s,width:i,punch:a,style:g}))}};y.defaultProps={height:128,width:128,resolutionX:32,resolutionY:32}},"../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.production.js"(e,t,n){"use strict";var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/scheduler/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/index.js");function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function l(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function u(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function c(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function d(e){if(l(e)!==e)throw Error(i(188))}function p(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=p(e)))return t;e=e.sibling}return null}var m=Object.assign,f=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),w=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),j=Symbol.for("react.lazy");Symbol.for("react.scope");var C=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var P=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var T=Symbol.iterator;function q(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var O=Symbol.for("react.client.reference");function R(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===O?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case y:return"Fragment";case _:return"Profiler";case v:return"StrictMode";case S:return"Suspense";case k:return"SuspenseList";case C:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case g:return"Portal";case w:return e.displayName||"Context";case b:return(e._context.displayName||"Context")+".Consumer";case x:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case E:return null!==(t=e.displayName||null)?t:R(e.type)||"Memo";case j:t=e._payload,e=e._init;try{return R(e(t))}catch(e){}}return null}var A=Array.isArray,D=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M={pending:!1,data:null,method:null,action:null},N=[],F=-1;function I(e){return{current:e}}function z(e){0>F||(e.current=N[F],N[F]=null,F--)}function V(e,t){F++,N[F]=e.current,e.current=t}var $,B,U=I(null),W=I(null),H=I(null),Q=I(null);function K(e,t){switch(V(H,t),V(W,e),V(U,null),t.nodeType){case 9:case 11:e=(e
vendor: 4,826 bytes, line 2
2=t.documentElement)&&(e=e.namespaceURI)?yd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=vd(t=yd(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(U),V(U,e)}function G(){z(U),z(W),z(H)}function Y(e){null!==e.memoizedState&&V(Q,e);var t=U.current,n=vd(t,e.type);t!==n&&(V(W,e),V(U,n))}function X(e){W.current===e&&(z(U),z(W)),Q.current===e&&(z(Q),cp._currentValue=M)}function J(e){if(void 0===$)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);$=t&&t[1]||"",B=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+$+e+B}var Z=!1;function ee(e,t){if(!e||Z)return"";Z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),i=a[0],s=a[1];if(i&&s){var l=i.split("\n"),u=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===u.length)for(r=l.length-1,o=u.length-1;1<=r&&0<=o&&l[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{Z=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?J(n):""}function te(e,t){switch(e.tag){case 26:case 27:case 5:return J(e.type);case 16:return J("Lazy");case 13:return e.child!==t&&null!==t?J("Suspense Fallback"):J("Suspense");case 19:return J("SuspenseList");case 0:case 15:return ee(e.type,!1);case 11:return ee(e.type.render,!1);case 1:return ee(e.type,!0);case 31:return J("Activity");default:return""}}function ne(e){try{var t="",n=null;do{t+=te(e,n),n=e,e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var re=Object.prototype.hasOwnProperty,oe=r.unstable_scheduleCallback,ae=r.unstable_cancelCallback,ie=r.unstable_shouldYield,se=r.unstable_requestPaint,le=r.unstable_now,ue=r.unstable_getCurrentPriorityLevel,ce=r.unstable_ImmediatePriority,de=r.unstable_UserBlockingPriority,pe=r.unstable_NormalPriority,me=r.unstable_LowPriority,fe=r.unstable_IdlePriority,he=r.log,ge=r.unstable_setDisableYieldValue,ye=null,ve=null;function _e(e){if("function"==typeof he&&ge(e),ve&&"function"==typeof ve.setStrictMode)try{ve.setStrictMode(ye,e)}catch(e){}}var be=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(we(e)/xe|0)|0},we=Math.log,xe=Math.LN2;var Se=256,ke=262144,Ee=4194304;function je(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ce(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,a=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~a)?o=je(r):0!==(i&=s)?o=je(i):n||0!==(n=s&~e)&&(o=je(n)):0!==(s=r&~a)?o=je(s):0!==i?o=je(i):n||0!==(n=r&~e)&&(o=je(n)),0===o?0:0!==t&&t!==o&&0===(t&a)&&((a=o&-o)>=(n=t&-t)||32===a&&4194048&n)?t:o}function Pe(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Te(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function qe(){var e=Ee;return!(62914560&(Ee<<=1))&&(Ee=4194304),e}function Oe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 8,873 bytes, line 2
2function Re(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ae(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-be(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function De(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-be(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Le(e,t){var n=t&-t;return 0!==((n=42&n?1:Me(n))&(e.suspendedLanes|t))?0:n}function Me(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ne(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Fe(){var e=L.p;return 0!==e?e:void 0===(e=window.event)?32:jp(e.type)}function Ie(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var ze=Math.random().toString(36).slice(2),Ve="__reactFiber$"+ze,$e="__reactProps$"+ze,Be="__reactContainer$"+ze,Ue="__reactEvents$"+ze,We="__reactListeners$"+ze,He="__reactHandles$"+ze,Qe="__reactResources$"+ze,Ke="__reactMarker$"+ze;function Ge(e){delete e[Ve],delete e[$e],delete e[Ue],delete e[We],delete e[He]}function Ye(e){var t=e[Ve];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Be]||n[Ve]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Md(e);null!==e;){if(n=e[Ve])return n;e=Md(e)}return t}n=(e=n).parentNode}return null}function Xe(e){if(e=e[Ve]||e[Be]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Je(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function Ze(e){var t=e[Qe];return t||(t=e[Qe]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function et(e){e[Ke]=!0}var tt=new Set,nt={};function rt(e,t){ot(e,t),ot(e+"Capture",t)}function ot(e,t){for(nt[e]=t,e=0;e<t.length;e++)tt.add(t[e])}var at=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),it={},st={};function lt(e,t,n){if(o=t,re.call(st,o)||!re.call(it,o)&&(at.test(o)?st[o]=!0:(it[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var o}function ut(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function ct(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function pt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function mt(e){if(!e._valueTracker){var t=pt(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ht(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var gt=/[\n"\\]/g;function yt(e){return e.replace(gt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vt(e,t,n,r,o,a,i,s){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+dt(t)):e.value!==""+dt(t)&&(e.value=""+dt(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?bt(e,i,dt(t)):null!=n?bt(e,i,dt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=a&&(e.defaultChecked=!!a),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+dt(s):e.removeAttribute("name")}function _t(e,t,n,r,o,a,i,s){if(null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.type=a),null!=t||null!=n){if(("submit"===a||"reset"===a)&&null==t)return void mt(e);n=null!=n?""+dt(n):"",t=null!=t?""+dt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),mt(e)}function bt(e,t,n){"number"===t&&ht(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function wt(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+dt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function xt(e,t,n){null==t||((t=""+dt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+dt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function St(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(i(92));if(A(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=dt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),mt(e)}function kt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function jt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Et.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Ct(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&jt(e,o,r)}else for(var a in t)t.hasOwnProperty(a)&&jt(e,a,t[a])}function Pt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Tt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
2dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),qt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ot(e){return qt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Rt(){}var At=null;function Dt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 4,918 bytes, line 2
2odeType?e.parentNode:e}var Lt=null,Mt=null;function Nt(e){var t=Xe(e);if(t&&(e=t.stateNode)){var n=e[$e]||null;e:switch(e=t.stateNode,t.type){case"input":if(vt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+yt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[$e]||null;if(!o)throw Error(i(90));vt(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&ft(r)}break e;case"textarea":xt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&wt(e,!!n.multiple,t,!1)}}}var Ft=!1;function It(e,t,n){if(Ft)return e(t,n);Ft=!0;try{return e(t)}finally{if(Ft=!1,(null!==Lt||null!==Mt)&&(Zu(),Lt&&(t=Lt,e=Mt,Mt=Lt=null,Nt(t),e)))for(t=0;t<e.length;t++)Nt(e[t])}}function zt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[$e]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Vt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),$t=!1;if(Vt)try{var Bt={};Object.defineProperty(Bt,"passive",{get:function(){$t=!0}}),window.addEventListener("test",Bt,Bt),window.removeEventListener("test",Bt,Bt)}catch(e){$t=!1}var Ut=null,Wt=null,Ht=null;function Qt(){if(Ht)return Ht;var e,t,n=Wt,r=n.length,o="value"in Ut?Ut.value:Ut.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Ht=o.slice(e,1<t?1-t:void 0)}function Kt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Gt(){return!0}function Yt(){return!1}function Xt(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Gt:Yt,this.isPropagationStopped=Yt,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gt)},persist:function(){},isPersistent:Gt}),t}var Jt,Zt,en,tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nn=Xt(tn),rn=m({},tn,{view:0,detail:0}),on=Xt(rn),an=m({},rn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==en&&(en&&"mousemove"===e.type?(Jt=e.screenX-en.screenX,Zt=e.screenY-en.screenY):Zt=Jt=0,en=e),Jt)},movementY:function(e){return"movementY"in e?e.movementY:Zt}}),sn=Xt(an),ln=Xt(m({},an,{dataTransfer:0})),un=Xt(m({},rn,{relatedTarget:0})),cn=Xt(m({},tn,{animationName:0,elapsedTime:0,pseudoElement:0})),dn=Xt(m({},tn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),pn=Xt(m({},tn,{data:0})),mn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=hn[e])&&!!t[e]}function yn(){return gn}var vn=Xt(m({},rn,{key:function(e){if(e.key){var t=mn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"ke
2yup"===e.type?fn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yn,charCode:function(e){return"keypress"===e.type?Kt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),_n=Xt(m({},an,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bn=Xt(m({},rn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yn})),wn=Xt(m({},tn,{propertyName:0,elapsedTime:0,pseudoElement:0})),xn=Xt(m({},an,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Sn=Xt(m({},tn,{newState:0,oldState:0})),kn=[9,13,27,32],En=Vt&&"CompositionEvent"in window,jn=null;Vt&&"documentMode"in document&&(jn=document.documentMode);var Cn=Vt&&"TextEvent"in window&&!jn,Pn=Vt&&(!En||jn&&8<jn&&11>=jn),Tn=String.fromCharCode(32),qn=!1;function On(e,t){switch(e){case"keyup":return-1!==kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var An=!1;var Dn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ln(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Dn[e.type]:"textarea"===t}function Mn(e,t,n,r){Lt?Mt?Mt.push(r):Mt=[r]:Lt=r,0<(t=rd(t,"onChange")).length&&(n=new nn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Nn=null,Fn=null;function In(e){Gc(e,0)}function zn(e){if(ft(Je(e)))return e}function Vn(e,t){if("change"===e)return t}var $n=!1;if(Vt){var Bn;if(Vt){var Un="oninput"in document;if(!Un){var Wn=document.createElement("div");Wn.setAttribute("oninput","return;"),Un="function"==typeof Wn.oninput}Bn=Un}else Bn=!1;$n=Bn&&(!document.documentMode||9<document.documentMode)}function Hn(){Nn&&(Nn.detachEvent("onpropertychange",Qn),Fn=Nn=null)}function Qn(e){if("value"===e.propertyName&&zn(Fn)){var t=[];Mn(t,Fn,e,Dt(e)),It(In,t)}}function Kn(e,t,n){"focusin"===e?(Hn(),Fn=n,(Nn=t).attachEvent("onpropertychange",Qn)):"focusout"===e&&Hn()}function Gn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return zn(Fn)}function Yn(e,t){if("click"===e)return zn(t)}function Xn(e,t){if("input"===e||"change"===e)return zn(t)}var Jn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Zn(e,t){if(Jn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!re.call(t,o)||!Jn(e[o],t[o]))return!1}return!0}function er(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tr(e,t){var n,r=er(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=er(r)}}function nr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?nr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function rr(e){for(var t=ht((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ht((e=t.contentWindow).document)}return t}function or(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ar=Vt&&"documentMode"in document&&11>=document.documentMode,ir=null,sr=null,lr=null,ur=!1;function cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ur||null==ir||ir!==ht(r)||("selectionStart"in(r=ir)&&or(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 19,957 bytes, line 2
2sNode:r.focusNode,focusOffset:r.focusOffset},lr&&Zn(lr,r)||(lr=r,0<(r=rd(sr,"onSelect")).length&&(t=new nn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ir)))}function dr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var pr={animationend:dr("Animation","AnimationEnd"),animationiteration:dr("Animation","AnimationIteration"),animationstart:dr("Animation","AnimationStart"),transitionrun:dr("Transition","TransitionRun"),transitionstart:dr("Transition","TransitionStart"),transitioncancel:dr("Transition","TransitionCancel"),transitionend:dr("Transition","TransitionEnd")},mr={},fr={};function hr(e){if(mr[e])return mr[e];if(!pr[e])return e;var t,n=pr[e];for(t in n)if(n.hasOwnProperty(t)&&t in fr)return mr[e]=n[t];return e}Vt&&(fr=document.createElement("div").style,"AnimationEvent"in window||(delete pr.animationend.animation,delete pr.animationiteration.animation,delete pr.animationstart.animation),"TransitionEvent"in window||delete pr.transitionend.transition);var gr=hr("animationend"),yr=hr("animationiteration"),vr=hr("animationstart"),_r=hr("transitionrun"),br=hr("transitionstart"),wr=hr("transitioncancel"),xr=hr("transitionend"),Sr=new Map,kr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Er(e,t){Sr.set(e,t),rt(t,[e])}kr.push("scrollEnd");var jr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Cr=[],Pr=0,Tr=0;function qr(){for(var e=Pr,t=Tr=Pr=0;t<e;){var n=Cr[t];Cr[t++]=null;var r=Cr[t];Cr[t++]=null;var o=Cr[t];Cr[t++]=null;var a=Cr[t];if(Cr[t++]=null,null!==r&&null!==o){var i=r.pending;null===i?o.next=o:(o.next=i.next,i.next=o),r.pending=o}0!==a&&Dr(n,o,a)}}function Or(e,t,n,r){Cr[Pr++]=e,Cr[Pr++]=t,Cr[Pr++]=n,Cr[Pr++]=r,Tr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Rr(e,t,n,r){return Or(e,t,n,r),Lr(e)}function Ar(e,t){return Or(e,null,null,t),Lr(e)}function Dr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(o=!0)),e=a,a=a.return;return 3===e.tag?(a=e.stateNode,o&&null!==t&&(o=31-be(n),null===(r=(e=a.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),a):null}function Lr(e){if(50<Uu)throw Uu=0,Wu=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Mr={};function Nr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fr(e,t,n,r){return new Nr(e,t,n,r)}function Ir(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zr(e,t){var n=e.alternate;return null===n?((n=Fr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Vr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function $r(e,t,n,r,o,a){var s=0;if(r=e,"function"==typeof e)Ir(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,U.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case C:return(e=Fr(31,n,t,o)).elementType=C,e.lanes=a,e;case y:return Br(n.children,o,a,t);case v:s=8,o|=24;break;case _:return(e=Fr(12,n,t,2|o)).elementType=_,e.lanes=a,e;case S:return(e=Fr(13,n,t,o)).elementType=S,e.lanes=a,e;case k:return(e=Fr(19,n,t,o)).elementType=k,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case w:s=10;break e;case b:s=9;break e;case x:s=11;break e;case E:s=14;break e;case j:s=16,r=null;break e}s=29,n=Error(i(130,null===e?"null":typeof e,"")),r=null}return(t=Fr(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Br(e,t,n,r){return(e=Fr(7,e,r,t)).lanes=n,e}function Ur(e,t,n){return(e=Fr(6,e,null,t)).lanes=n,e}function Wr(e){var t=Fr(18,null,null,0);return t.stateNode=e,t}function Hr(e,t,n){return(t=Fr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Qr=new WeakMap;function Kr(e,t){if("object"==typeof e&&null!==e){var n=Qr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ne(t)},Qr.set(e,t),t)}return{value:e,source:t,stack:ne(t)}}var Gr=[],Yr=0,Xr=null,Jr=0,Zr=[],eo=0,to=null,no=1,ro="";function oo(e,t){Gr[Yr++]=Jr,Gr[Yr++]=Xr,Xr=e,Jr=t}function ao(e,t,n){Zr[eo++]=no,Zr[eo++]=ro,Zr[eo++]=to,to=e;var r=no;e=ro;var o=32-be(r)-1;r&=~(1<<o),n+=1;var a=32-be(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,no=1<<32-be(t)+o|n<<o|r,ro=a+e}else no=1<<a|n<<o|r,ro=e}function io(e){null!==e.return&&(oo(e,1),ao(e,1,0))}function so(e){for(;e===Xr;)Xr=Gr[--Yr],Gr[Yr]=null,Jr=Gr[--Yr],Gr[Yr]=null;for(;e===to;)to=Zr[--eo],Zr[eo]=null,ro=Zr[--eo],Zr[eo]=null,no=Zr[--eo],Zr[eo]=null}function lo(e,t){Zr[eo++]=no,Zr[eo++]=ro,Zr[eo++]=to,no=t.id,ro=t.overflow,to=e}var uo=null,co=null,po=!1,mo=null,fo=!1,ho=Error(i(519));function go(e){throw xo(Kr(Error(i(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),ho}function yo(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ve]=e,t[$e]=r,n){case"dialog":Yc("cancel",t),Yc("close",t);break;case"iframe":case"object":case"embed":Yc("load",t);break;case"video":case"audio":for(n=0;n<Qc.length;n++)Yc(Qc[n],t);break;case"source":Yc("error",t);break;case"img":case"image":case"link":Yc("error",t),Yc("load",t);break;case"details":Yc("toggle",t);break;case"input":Yc("invalid",t),_t(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Yc("invalid",t);break;case"textarea":Yc("invalid",t),St(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ud(t.textContent,n)?(null!=r.popover&&(Yc("beforetoggle",t),Yc("toggle",t)),null!=r.onScroll&&Yc("scroll",t),null!=r.onScrollEnd&&Yc("scrollend",t),null!=r.onClick&&(t.onclick=Rt),t=!0):t=!1,t||go(e,!0)}function vo(e){for(uo=e.return;uo;)switch(uo.tag){case 5:case 31:case 13:return void(fo=!1);case 27:case 3:return void(fo=!0);default:uo=uo.return}}function _o(e){if(e!==uo)return!1;if(!po)return vo(e),po=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||_d(e.type,e.memoizedProps)),t=!t),t&&co&&go(e),vo(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));co=Ld(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));co=Ld(e)}else 27===n?(n=co,jd(e.type)?(e=Dd,Dd=null,co=e):co=n):co=uo?Ad(e.stateNode.nextSibling):null;return!0}function bo(){co=uo=null,po=!1}function wo(){var e=mo;return null!==e&&(null===qu?qu=e:qu.push.apply(qu,e),mo=null),e}function xo(e){null===mo?mo=[e]:mo.push(e)}var So=I(null),ko=null,Eo=null;function jo(e,t,n){V(So,t._currentValue),t._currentValue=n}function Co(e){e._currentValue=So.current,z(So)}function Po(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function To(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var s=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var u=0;u<t.length;u++)if(l.context===t[u]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Po(a.return,n,e),r||(s=null);break e}a=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(i(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),Po(s,n,e),s=null}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function qo(e,t,n,r){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(i(387));if(null!==(s=s.memoizedProps)){var l=o.type;Jn(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===Q.current){if(null===(s=o.alternate))throw Error(i(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(cp):e=[cp])}o=o.return}null!==e&&To(t,e,n,r),t.flags|=262144}function Oo(e){for(e=e.firstContext;null!==e;){if(!Jn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ro(e){ko=e,Eo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ao(e){return Lo(ko,e)}function Do(e,t){return null===ko&&Ro(e),Lo(e,t)}function Lo(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Eo){if(null===e)throw Error(i(308));Eo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Eo=Eo.next=t;return n}var Mo="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},No=r.unstable_scheduleCallback,Fo=r.unstable_NormalPriority,Io={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zo(){return{controller:new Mo,data:new Map,refCount:0}}function Vo(e){e.refCount--,0===e.refCount&&No(Fo,function(){e.controller.abort()})}var $o=null,Bo=0,Uo=0,Wo=null;function Ho(){if(0===--Bo&&null!==$o){null!==Wo&&(Wo.status="fulfilled");var e=$o;$o=null,Uo=0,Wo=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Qo=D.S;D.S=function(e,t){Au=le(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===$o){var n=$o=[];Bo=0,Uo=$c(),Wo={status:"pending",value:void 0,then:function(e){n.push(e)}}}Bo++,t.then(Ho,Ho)}(0,t),null!==Qo&&Qo(e,t)};var Ko=I(null);function Go(){var e=Ko.current;return null!==e?e:fu.pooledCache}function Yo(e,t){V(Ko,null===t?Ko.current:t.pool)}function Xo(){var e=Go();return null===e?null:{parent:Io._currentValue,pool:e}}var Jo=Error(i(460)),Zo=Error(i(474)),ea=Error(i(542)),ta={then:function(){}};function na(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ra(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Rt,Rt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw sa(e=t.reason),e;default:if("string"==typeof t.status)t.then(Rt,Rt);else{if(null!==(e=fu)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw sa(e=t.reason),e}throw aa=t,Jo}}function oa(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw aa=e,Jo;throw e}}var aa=null;function ia(){if(null===aa)throw Error(i(459));var e=aa;return aa=null,e}function sa(e){if(e===Jo||e===ea)throw Error(i(483))}var la=null,ua=0;function ca(e){var t=ua;return ua+=1,null===la&&(la=[]),ra(la,e,t)}function da(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function pa(e,t){if(t.$$typeof===f)throw Error(i(525));throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ma(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=zr(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ur(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===y?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===j&&oa(a)===t.type)?(da(t=o(t,n.props),n),t.return=e,t):(da(t=$r(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Hr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Br(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Ur(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return da(n=$r(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case g:return(t=Hr(t,e.mode,n)).return=e,t;case j:return p(e,t=oa(t),n)}if(A(t)||q(t))return(t=Br(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return p(e,ca(t),n);if(t.$$typeof===w)return p(e,Do(e,t),n);pa(e,t)}return null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return n.key===o?u(e,t,n,r):null;case g:return n.key===o?c(e,t,n,r):null;case j:return m(e,t,n=oa(n),r)}if(A(n)||q(n))return null!==o?null:d(e,t,n,r,null);if("function"==typeof n.then)return m(e,t,ca(n),r);if(n.$$typeof===w)return m(e,t,Do(e,n),r);pa(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case h:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case j:return f(e,t,n,r=oa(r),o)}if(A(r)||q(r))return d(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return f(e,t,n,ca(r),o);if(r.$$typeof===w)return f(e,t,n,Do(t,r),o);pa(t,r)}return null}function v(l,u,c,d){if("object"==typeof c&&null!==c&&c.type===y&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case h:e:{for(var _=c.key;null!==u;){if(u.key===_){if((_=c.type)===y){if(7===u.tag){n(l,u.sibling),(d=o(u,c.props.children)).return=l,l=d;break e}}else if(u.elementType===_||"object"==typeof _&&null!==_&&_.$$typeof===j&&oa(_)===u.type){n(l,u.sibling),da(d=o(u,c.props),c),d.return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}c.type===y?((d=Br(c.props.children,l.mode,d,c.key)).return=l,l=d):(da(d=$r(c.type,c.key,c.props,null,l.mode,d),c),d.return=l,l=d)}return s(l);case g:e:{for(_=c.key;null!==u;){if(u.key===_){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(d=o(u,c.children||[])).return=l,l=d;break e}n(l,u);break}t(l,u),u=u.sibling}(d=Hr(c,l.mode,d)).return=l,l=d}return s(l);case j:return v(l,u,c=oa(c),d)}if(A(c))return function(o,i,s,l){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=m(o,d,s[h],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(o,d),i=a(y,i,h),null===c?u=y:c.sibling=y,c=y,d=g}if(h===s.length)return n(o,d),po&&oo(o,h),u;if(null===d){for(;h<s.length;h++)null!==(d=p(o,s[h],l))&&(i=a(d,i,h),null===c?u=d:c.sibling=d,c=d);return po&&oo(o,h),u}for(d=r(d);h<s.length;h++)null!==(g=f(d,o,h,s[h],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=a(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(o,e)}),po&&oo(o,h),u}(l,u,c,d);if(q(c)){if("function"!=typeof(_=q(c)))throw Error(i(150));return function(o,s,l,u){if(null==l)throw Error(i(151));for(var c=null,d=null,h=s,g=s=0,y=null,v=l.next();null!==h&&!v.done;g++,v=l.next()){h.index>g?(y=h,h=null):y=h.sibling;var _=m(o,h,v.value,u);if(null===_){null===h&&(h=y);break}e&&h&&null===_.alternate&&t(o,h),s=a(_,s,g),null===d?c=_:d.sibling=_,d=_,h=y}if(v.done)return n(o,h),po&&oo(o,g),c;if(null===h){for(;!v.done;g++,v=l.next())null!==(v=p(o,v.value,u))&&(s=a(v,s,g),null===d?c=v:d.sibling=v,d=v);return po&&oo(o,g),c}for(h=r(h);!v.done;g++,v=l.next())null!==(v=f(h,o,g,v.value,u))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),s=a(v,s,g),null===d?c=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(o,e)}),po&&oo(o,g),c}(l,u,c=_.call(c),d)}if("function"==typeof c.then)return v(l,u,ca(c),d);if(c.$$typeof===w)return v(l,u,Do(l,c),d);pa(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(d=o(u,c)).return=l,l=d):(n(l,u),(d=Ur(c,l.mode,d)).return=l,l=d),s(l)):n(l,u)}return function(e,t,n,r){try{ua=0;var o=v(e,t,n,r);return la=null,o}catch(t){if(t===Jo||t===ea)throw t;var a=Fr(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var fa=ma(!0),ha=ma(!1),ga=!1;function ya(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function va(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function _a(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ba(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&mu){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Lr(e),Dr(e,null,n),t}return Or(e,r,t,n),Lr(e)}
vendor: 4,477 bytes, line 2
2function wa(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,De(e,n)}}function xa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Sa=!1;function ka(){if(Sa){if(null!==Wo)throw Wo}}function Ea(e,t,n,r){Sa=!1;var o=e.updateQueue;ga=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=o.baseState;for(i=0,c=u=l=null,s=a;;){var p=-536870913&s.lane,f=p!==s.lane;if(f?(gu&p)===p:(r&p)===p){0!==p&&p===Uo&&(Sa=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var h=e,g=s;p=t;var y=n;switch(g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(y,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=g.payload)?h.call(y,d,p):h))break e;d=m({},d,p);break e;case 2:ga=!0}}null!==(p=s.callback)&&(e.flags|=64,f&&(e.flags|=8192),null===(f=o.callbacks)?o.callbacks=[p]:f.push(p))}else f={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,i|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===a&&(o.shared.lanes=0),ku|=i,e.lanes=i,e.memoizedState=d}}function ja(e,t){if("function"!=typeof e)throw Error(i(191,e));e.call(t)}function Ca(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ja(n[e],t)}var Pa=I(null),Ta=I(0);function qa(e,t){V(Ta,e=xu),V(Pa,t),xu=e|t.baseLanes}function Oa(){V(Ta,xu),V(Pa,Pa.current)}function Ra(){xu=Ta.current,z(Pa),z(Ta)}var Aa=I(null),Da=null;function La(e){var t=e.alternate;V(za,1&za.current),V(Aa,e),null===Da&&(null===t||null!==Pa.current||null!==t.memoizedState)&&(Da=e)}function Ma(e){V(za,za.current),V(Aa,e),null===Da&&(Da=e)}function Na(e){22===e.tag?(V(za,za.current),V(Aa,e),null===Da&&(Da=e)):Fa()}function Fa(){V(za,za.current),V(Aa,Aa.current)}function Ia(e){z(Aa),Da===e&&(Da=null),z(za)}var za=I(0);function Va(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Od(n)||Rd(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $a=0,Ba=null,Ua=null,Wa=null,Ha=!1,Qa=!1,Ka=!1,Ga=0,Ya=0,Xa=null,Ja=0;function Za(){throw Error(i(321))}function ei(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jn(e[n],t[n]))return!1;return!0}function ti(e,t,n,r,o,a){return $a=a,Ba=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=null===e||null===e.memoizedState?gs:ys,Ka=!1,a=n(r,o),Ka=!1,Qa&&(a=ri(t,n,r,o)),ni(e),a}function ni(e){D.H=hs;var t=null!==Ua&&null!==Ua.next;if($a=0,Wa=Ua=Ba=null,Ha=!1,Ya=0,Xa=null,t)throw Error(i(300));null===e||As||null!==(e=e.dependencies)&&Oo(e)&&(As=!0)}function ri(e,t,n,r){Ba=e;var o=0;do{if(Qa&&(Xa=null),Ya=0,Qa=!1,25<=o)throw Error(i(301));if(o+=1,Wa=Ua=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}D.H=vs,a=t(n,r)}while(Qa);return a}function oi(){var e=D.H,t=e.useState()[0];return t="function"==typeof t.then?ci(t):t,e=e.useState()[0],(null!==Ua?Ua.memoizedState:null)!==e&&(Ba.flags|=1024),t}function ai(){var e=0!==Ga;return Ga=0,e}function ii(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function si(e){if(Ha){for(e=e.memoizedState;null!==e;){var t=e.queue;
vendor: 4,769 bytes, line 2
2null!==t&&(t.pending=null),e=e.next}Ha=!1}$a=0,Wa=Ua=Ba=null,Qa=!1,Ya=Ga=0,Xa=null}function li(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Wa?Ba.memoizedState=Wa=e:Wa=Wa.next=e,Wa}function ui(){if(null===Ua){var e=Ba.alternate;e=null!==e?e.memoizedState:null}else e=Ua.next;var t=null===Wa?Ba.memoizedState:Wa.next;if(null!==t)Wa=t,Ua=e;else{if(null===e){if(null===Ba.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(Ua=e).memoizedState,baseState:Ua.baseState,baseQueue:Ua.baseQueue,queue:Ua.queue,next:null},null===Wa?Ba.memoizedState=Wa=e:Wa=Wa.next=e}return Wa}function ci(e){var t=Ya;return Ya+=1,null===Xa&&(Xa=[]),e=ra(Xa,e,t),t=Ba,null===(null===Wa?t.memoizedState:Wa.next)&&(t=t.alternate,D.H=null===t||null===t.memoizedState?gs:ys),e}function di(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return ci(e);if(e.$$typeof===w)return Ao(e)}throw Error(i(438,String(e)))}function pi(e){var t=null,n=Ba.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Ba.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Ba.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=P;return t.index++,n}function mi(e,t){return"function"==typeof t?t(e):t}function fi(e){return hi(ui(),Ua,e)}function hi(e,t,n){var r=e.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=n;var o=e.baseQueue,a=r.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}t.baseQueue=o=a,r.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=s=null,u=null,c=t=o.next,d=!1;do{var p=-536870913&c.lane;if(p!==c.lane?(gu&p)===p:($a&p)===p){var m=c.revertLane;if(0===m)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===Uo&&(d=!0);else{if(($a&m)===m){c=c.next,m===Uo&&(d=!0);continue}p={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,s=a):u=u.next=p,Ba.lanes|=m,ku|=m}p=c.action,Ka&&n(a,p),a=c.hasEagerState?c.eagerState:n(a,p)}else m={lane:p,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=m,s=a):u=u.next=m,Ba.lanes|=p,ku|=p;c=c.next}while(null!==c&&c!==t);if(null===u?s=a:u.next=l,!Jn(a,e.memoizedState)&&(As=!0,d&&null!==(n=Wo)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=u,r.lastRenderedState=a}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function gi(e){var t=ui(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);Jn(a,t.memoizedState)||(As=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function yi(e,t,n){var r=Ba,o=ui(),a=po;if(a){if(void 0===n)throw Error(i(407));n=n()}else n=t();var s=!Jn((Ua||o).memoizedState,n);if(s&&(o.memoizedState=n,As=!0),o=o.queue,$i(bi.bind(null,r,o,e),[e]),o.getSnapshot!==t||s||null!==Wa&&1&Wa.memoizedState.tag){if(r.flags|=2048,Ni(9,{destroy:void 0},_i.bind(null,r,o,n,t),null),null===fu)throw Error(i(349));a||127&$a||vi(r,t,n)}return n}function vi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ba.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Ba.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function _i(e,t,n,r){t.value=n,t.getSnapshot=r,wi(t)&&xi(e)}function bi(e,t,n){return n(function(){wi(t)&&xi(e)})}function wi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jn(e,n)}catch(e){return!0}}function xi(e){var t=Ar(e,2);null!==t&&Ku(t,e,2)}function Si(e){var t=li();if("function"==typeof e){var n=e;if(e=n(),Ka){_e(!0);try{n()}finally{_e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mi,lastRenderedState:e},t}function ki(e,t,n,r){return e.baseState=n,hi(e,Ua,"function"==typeof r?r:mi)}function Ei(e,t,n,r,o){if(ps(e))throw Error(i(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==D.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,ji(t,a)):(a.next=n.next,t.pending=n.next=a)}}function ji(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var a=D.T,i={};D.T=i;try{var s=n(o,r),l=D.S;null!==l&&l(i,s),Ci(e,t,s)}
vendor: 5,024 bytes, line 2
2catch(n){Ti(e,t,n)}finally{null!==a&&null!==i.types&&(a.types=i.types),D.T=a}}else try{Ci(e,t,a=n(o,r))}catch(n){Ti(e,t,n)}}function Ci(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){Pi(e,t,n)},function(n){return Ti(e,t,n)}):Pi(e,t,n)}function Pi(e,t,n){t.status="fulfilled",t.value=n,qi(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,ji(e,n)))}function Ti(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,qi(t),t=t.next}while(t!==r)}e.action=null}function qi(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Oi(e,t){return t}function Ri(e,t){if(po){var n=fu.formState;if(null!==n){e:{var r=Ba;if(po){if(co){t:{for(var o=co,a=fo;8!==o.nodeType;){if(!a){o=null;break t}if(null===(o=Ad(o.nextSibling))){o=null;break t}}o="F!"===(a=o.data)||"F"===a?o:null}if(o){co=Ad(o.nextSibling),r="F!"===o.data;break e}}go(r)}r=!1}r&&(t=n[0])}}return(n=li()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Oi,lastRenderedState:t},n.queue=r,n=us.bind(null,Ba,r),r.dispatch=n,r=Si(!1),a=ds.bind(null,Ba,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=li()).queue=o,n=Ei.bind(null,Ba,o,a,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function Ai(e){return Di(ui(),Ua,e)}function Di(e,t,n){if(t=hi(e,t,Oi)[0],e=fi(mi)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=ci(t)}catch(e){if(e===Jo)throw ea;throw e}else r=t;var o=(t=ui()).queue,a=o.dispatch;return n!==t.memoizedState&&(Ba.flags|=2048,Ni(9,{destroy:void 0},Li.bind(null,o,n),null)),[r,a,e]}function Li(e,t){e.action=t}function Mi(e){var t=ui(),n=Ua;if(null!==n)return Di(t,n,e);ui(),t=t.memoizedState;var r=(n=ui()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ni(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Ba.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Ba.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Fi(){return ui().memoizedState}function Ii(e,t,n,r){var o=li();Ba.flags|=e,o.memoizedState=Ni(1|t,{destroy:void 0},n,void 0===r?null:r)}function zi(e,t,n,r){var o=ui();r=void 0===r?null:r;var a=o.memoizedState.inst;null!==Ua&&null!==r&&ei(r,Ua.memoizedState.deps)?o.memoizedState=Ni(t,a,n,r):(Ba.flags|=e,o.memoizedState=Ni(1|t,a,n,r))}function Vi(e,t){Ii(8390656,8,e,t)}function $i(e,t){zi(2048,8,e,t)}function Bi(e){var t=ui().memoizedState;return function(e){Ba.flags|=4;var t=Ba.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Ba.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&mu)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Ui(e,t){return zi(4,2,e,t)}function Wi(e,t){return zi(4,4,e,t)}function Hi(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Qi(e,t,n){n=null!=n?n.concat([e]):null,zi(4,4,Hi.bind(null,t,e),n)}function Ki(){}function Gi(e,t){var n=ui();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&ei(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=ui();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&ei(t,r[1]))return r[0];if(r=e(),Ka){_e(!0);try{e()}finally{_e(!1)}}return n.memoizedState=[r,t],r}function Xi(e,t,n){return void 0===n||1073741824&$a&&!(261930&gu)?e.memoizedState=t:(e.memoizedState=n,e=Qu(),Ba.lanes|=e,ku|=e,n)}function Ji(e,t,n,r){return Jn(n,t)?n:null!==Pa.current?(e=Xi(e,n,r),Jn(e,t)||(As=!0),e):42&$a&&(!(1073741824&$a)||261930&gu)?(e=Qu(),Ba.lanes|=e,ku|=e,t):(As=!0,e.memoizedState=n)}function Zi(e,t,n,r,o){var a=L.p;L.p=0!==a&&8>a?a:8;var i=D.T,s={};D.T=s,ds(e,!1,t,n);try{var l=o(),u=D.S;if(null!==u&&u(s,l),null!==l&&"object"==typeof l&&"function"==typeof l.then)cs(e,t,function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(l,r),Hu());else cs(e,t,r,Hu())}catch(n){cs(e,t,{then:function(){},status:"rejected",reason:n},Hu())}finally{L.p=a,null!==i&&null!==s.types&&(i.types=s.types),D.T=i}}function es(){}function ts(e,t,n,r){if(5!==e.tag)throw Error(i(476));var o=ns(e).queue;Zi(e,o,t,M,null===n?es:function(){return rs(e),n(r)})}function ns(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:M,baseState:M,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mi,lastRenderedState:M},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mi,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function rs(e){var t=ns(e);
vendor: 1,051 bytes, line 2
2null===t.next&&(t=e.alternate.memoizedState),cs(e,t.next.queue,{},Hu())}function os(){return Ao(cp)}function as(){return ui().memoizedState}function is(){return ui().memoizedState}function ss(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Hu(),r=ba(t,e=_a(n),n);return null!==r&&(Ku(r,t,n),wa(r,t,n)),t={cache:zo()},void(e.payload=t)}t=t.return}}function ls(e,t,n){var r=Hu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ps(e)?ms(t,n):null!==(n=Rr(e,t,n,r))&&(Ku(n,e,r),fs(n,t,r))}function us(e,t,n){cs(e,t,n,Hu())}function cs(e,t,n,r){var o={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ps(e))ms(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,n);if(o.hasEagerState=!0,o.eagerState=s,Jn(s,i))return Or(e,t,o,0),null===fu&&qr(),!1}catch(e){}if(null!==(n=Rr(e,t,o,r)))return Ku(n,e,r),fs(n,t,r),!0}return!1}function ds(e,t,n,r){if(r={lane:2,revertLane:$
vendor: 5,821 bytes, line 2
2c(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ps(e)){if(t)throw Error(i(479))}else null!==(t=Rr(e,n,r,2))&&Ku(t,e,2)}function ps(e){var t=e.alternate;return e===Ba||null!==t&&t===Ba}function ms(e,t){Qa=Ha=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,De(e,n)}}var hs={readContext:Ao,use:di,useCallback:Za,useContext:Za,useEffect:Za,useImperativeHandle:Za,useLayoutEffect:Za,useInsertionEffect:Za,useMemo:Za,useReducer:Za,useRef:Za,useState:Za,useDebugValue:Za,useDeferredValue:Za,useTransition:Za,useSyncExternalStore:Za,useId:Za,useHostTransitionStatus:Za,useFormState:Za,useActionState:Za,useOptimistic:Za,useMemoCache:Za,useCacheRefresh:Za};hs.useEffectEvent=Za;var gs={readContext:Ao,use:di,useCallback:function(e,t){return li().memoizedState=[e,void 0===t?null:t],e},useContext:Ao,useEffect:Vi,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,Ii(4194308,4,Hi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ii(4194308,4,e,t)},useInsertionEffect:function(e,t){Ii(4,2,e,t)},useMemo:function(e,t){var n=li();t=void 0===t?null:t;var r=e();if(Ka){_e(!0);try{e()}finally{_e(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=li();if(void 0!==n){var o=n(t);if(Ka){_e(!0);try{n(t)}finally{_e(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=ls.bind(null,Ba,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},li().memoizedState=e},useState:function(e){var t=(e=Si(e)).queue,n=us.bind(null,Ba,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ki,useDeferredValue:function(e,t){return Xi(li(),e,t)},useTransition:function(){var e=Si(!1);return e=Zi.bind(null,Ba,e.queue,!0,!1),li().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Ba,o=li();if(po){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===fu)throw Error(i(349));127&gu||vi(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Vi(bi.bind(null,r,a,e),[e]),r.flags|=2048,Ni(9,{destroy:void 0},_i.bind(null,r,a,n,t),null),n},useId:function(){var e=li(),t=fu.identifierPrefix;if(po){var n=ro;t="_"+t+"R_"+(n=(no&~(1<<32-be(no)-1)).toString(32)+n),0<(n=Ga++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Ja++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:os,useFormState:Ri,useActionState:Ri,useOptimistic:function(e){var t=li();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ds.bind(null,Ba,!0,n),n.dispatch=t,[e,t]},useMemoCache:pi,useCacheRefresh:function(){return li().memoizedState=ss.bind(null,Ba)},useEffectEvent:function(e){var t=li(),n={impl:e};return t.memoizedState=n,function(){if(2&mu)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},ys={readContext:Ao,use:di,useCallback:Gi,useContext:Ao,useEffect:$i,useImperativeHandle:Qi,useInsertionEffect:Ui,useLayoutEffect:Wi,useMemo:Yi,useReducer:fi,useRef:Fi,useState:function(){return fi(mi)},useDebugValue:Ki,useDeferredValue:function(e,t){return Ji(ui(),Ua.memoizedState,e,t)},useTransition:function(){var e=fi(mi)[0],t=ui().memoizedState;return["boolean"==typeof e?e:ci(e),t]},useSyncExternalStore:yi,useId:as,useHostTransitionStatus:os,useFormState:Ai,useActionState:Ai,useOptimistic:function(e,t){return ki(ui(),0,e,t)},useMemoCache:pi,useCacheRefresh:is};ys.useEffectEvent=Bi;var vs={readContext:Ao,use:di,useCallback:Gi,useContext:Ao,useEffect:$i,useImperativeHandle:Qi,useInsertionEffect:Ui,useLayoutEffect:Wi,useMemo:Yi,useReducer:gi,useRef:Fi,useState:function(){return gi(mi)},useDebugValue:Ki,useDeferredValue:function(e,t){var n=ui();return null===Ua?Xi(n,e,t):Ji(n,Ua.memoizedState,e,t)},useTransition:function(){var e=gi(mi)[0],t=ui().memoizedState;return["boolean"==typeof e?e:ci(e),t]},useSyncExternalStore:yi,useId:as,useHostTransitionStatus:os,useFormState:Mi,useActionState:Mi,useOptimistic:function(e,t){var n=ui();return null!==Ua?ki(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:pi,useCacheRefresh:is};function _s(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:m({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}vs.useEffectEvent=Bi;var bs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Hu(),o=_a(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=ba(e,o,r))&&(Ku(t,e,r),wa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Hu(),o=_a(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=ba(e,o,r))&&(Ku(t,e,r),wa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Hu(),r=_a(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=ba(e,r,n))&&(Ku(t,e,n),wa(t,e,n))}};function ws(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!Zn(n,r)||!Zn(o,a))}function xs(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&bs.enqueueReplaceState(t,t.state,null)}function Ss(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=m({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function ks(e){jr(e)}function Es(e){console.error(e)}function js(e){jr(e)}function Cs(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ps(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}
vendor: 7,293 bytes, line 2
2function Ts(e,t,n){return(n=_a(n)).tag=3,n.payload={element:null},n.callback=function(){Cs(e,t)},n}function qs(e){return(e=_a(e)).tag=3,e}function Os(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var a=r.value;e.payload=function(){return o(a)},e.callback=function(){Ps(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){Ps(t,n,r),"function"!=typeof o&&(null===Mu?Mu=new Set([this]):Mu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Rs=Error(i(461)),As=!1;function Ds(e,t,n,r){t.child=null===e?ha(t,null,n,r):fa(t,e.child,n,r)}function Ls(e,t,n,r,o){n=n.render;var a=t.ref;if("ref"in r){var i={};for(var s in r)"ref"!==s&&(i[s]=r[s])}else i=r;return Ro(t),r=ti(e,t,n,i,a,o),s=ai(),null===e||As?(po&&s&&io(t),t.flags|=1,Ds(e,t,r,o),t.child):(ii(e,t,o),ol(e,t,o))}function Ms(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Ir(a)||void 0!==a.defaultProps||null!==n.compare?((e=$r(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ns(e,t,a,r,o))}if(a=e.child,!al(e,o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Zn)(i,r)&&e.ref===t.ref)return ol(e,t,o)}return t.flags|=1,(e=zr(a,r)).ref=t.ref,e.return=t,t.child=e}function Ns(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Zn(a,r)&&e.ref===t.ref){if(As=!1,t.pendingProps=r=a,!al(e,o))return t.lanes=e.lanes,ol(e,t,o);131072&e.flags&&(As=!0)}}return Us(e,t,n,r,o)}function Fs(e,t,n,r){var o=r.children,a=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(a=null!==a?a.baseLanes|n:n,null!==e){for(r=t.child=e.child,o=0;null!==r;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~a}else r=0,t.child=null;return zs(e,t,a,n,r)}if(!(536870912&n))return r=t.lanes=536870912,zs(e,t,null!==a?a.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Yo(0,null!==a?a.cachePool:null),null!==a?qa(t,a):Oa(),Na(t)}else null!==a?(Yo(0,a.cachePool),qa(t,a),Fa(),t.memoizedState=null):(null!==e&&Yo(0,null),Oa(),Fa());return Ds(e,t,o,n),t.child}function Is(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function zs(e,t,n,r,o){var a=Go();return a=null===a?null:{parent:Io._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&Yo(0,null),Oa(),Na(t),null!==e&&qo(e,t,r,!0),t.childLanes=o,null}function Vs(e,t){return(t=Zs({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function $s(e,t,n){return fa(t,e.child,null,n),(e=Vs(t,t.pendingProps)).flags|=2,Ia(t),t.memoizedState=null,e}function Bs(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(i(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Us(e,t,n,r,o){return Ro(t),n=ti(e,t,n,r,void 0,o),r=ai(),null===e||As?(po&&r&&io(t),t.flags|=1,Ds(e,t,n,o),t.child):(ii(e,t,o),ol(e,t,o))}function Ws(e,t,n,r,o,a){return Ro(t),t.updateQueue=null,n=ri(t,r,n,o),ni(e),r=ai(),null===e||As?(po&&r&&io(t),t.flags|=1,Ds(e,t,n,a),t.child):(ii(e,t,a),ol(e,t,a))}function Hs(e,t,n,r,o){if(Ro(t),null===t.stateNode){var a=Mr,i=n.contextType;"object"==typeof i&&null!==i&&(a=Ao(i)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=bs,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},ya(t),i=n.contextType,a.context="object"==typeof i&&null!==i?Ao(i):Mr,a.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(_s(t,n,i,r),a.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(i=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),i!==a.state&&bs.enqueueReplaceState(a,a.state,null),Ea(t,r,a,o),ka(),a.state=t.memoizedState),"function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var s=t.memoizedProps,l=Ss(n,s);a.props=l;var u=a.context,c=n.contextType;i=Mr,"object"==typeof c&&null!==c&&(i=Ao(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s||u!==i)&&xs(t,a,r,i),ga=!1;var p=t.memoizedState;a.state=p,Ea(t,r,a,o),ka(),u=t.memoizedState,s||p!==u||ga?("function"==typeof d&&(_s(t,n,d,r),u=t.memoizedState),(l=ga||ws(t,n,l,r,p,u,i))?(c||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=i,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,va(e,t),c=Ss(n,i=t.memoizedProps),a.props=c,d=t.pendingProps,p=a.context,u=n.contextType,l=Mr,"object"==typeof u&&null!==u&&(l=Ao(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(i!==d||p!==l)&&xs(t,a,r,l),ga=!1,p=t.memoizedState,a.state=p,Ea(t,r,a,o),ka();var m=t.memoizedState;i!==d||p!==m||ga||null!==e&&null!==e.dependencies&&Oo(e.dependencies)?("function"==typeof s&&(_s(t,n,s,r),m=t.memoizedState),(c=ga||ws(t,n,c,r,p,m,l)||null!==e&&null!==e.dependencies&&Oo(e.dependencies))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,m,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,m,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Bs(e,t),r=!!(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=fa(t,e.child,null,o),t.child=fa(t,null,n,o)):Ds(e,t,n,o),t.memoizedState=a.state,e=t.child):e=ol(e,t,o),e}function Qs(e,t,n,r){return bo(),t.flags|=256,Ds(e,t,n,r),t.child}var Ks={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gs(e){return{baseLanes:e,cachePool:Xo()}}
vendor: 4,403 bytes, line 2
2function Ys(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Cu),e}function Xs(e,t,n){var r,o=t.pendingProps,a=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&za.current)),r&&(a=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(po){if(a?La(t):Fa(),(e=co)?null!==(e=null!==(e=qd(e,fo))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==to?{id:no,overflow:ro}:null,retryLane:536870912,hydrationErrors:null},(n=Wr(e)).return=t,t.child=n,uo=t,co=null):e=null,null===e)throw go(t);return Rd(e)?t.lanes=32:t.lanes=536870912,null}var l=o.children;return o=o.fallback,a?(Fa(),l=Zs({mode:"hidden",children:l},a=t.mode),o=Br(o,a,n,null),l.return=t,o.return=t,l.sibling=o,t.child=l,(o=t.child).memoizedState=Gs(n),o.childLanes=Ys(e,r,n),t.memoizedState=Ks,Is(null,o)):(La(t),Js(t,l))}var u=e.memoizedState;if(null!==u&&null!==(l=u.dehydrated)){if(s)256&t.flags?(La(t),t.flags&=-257,t=el(e,t,n)):null!==t.memoizedState?(Fa(),t.child=e.child,t.flags|=128,t=null):(Fa(),l=o.fallback,a=t.mode,o=Zs({mode:"visible",children:o.children},a),(l=Br(l,a,n,null)).flags|=2,o.return=t,l.return=t,o.sibling=l,t.child=o,fa(t,e.child,null,n),(o=t.child).memoizedState=Gs(n),o.childLanes=Ys(e,r,n),t.memoizedState=Ks,t=Is(null,o));else if(La(t),Rd(l)){if(r=l.nextSibling&&l.nextSibling.dataset)var c=r.dgst;r=c,(o=Error(i(419))).stack="",o.digest=r,xo({value:o,source:null,stack:null}),t=el(e,t,n)}else if(As||qo(e,t,n,!1),r=0!==(n&e.childLanes),As||r){if(null!==(r=fu)&&(0!==(o=Le(r,n))&&o!==u.retryLane))throw u.retryLane=o,Ar(e,o),Ku(r,e,o),Rs;Od(l)||ic(),t=el(e,t,n)}else Od(l)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,co=Ad(l.nextSibling),uo=t,po=!0,mo=null,fo=!1,null!==e&&lo(t,e),(t=Js(t,o.children)).flags|=4096);return t}return a?(Fa(),l=o.fallback,a=t.mode,c=(u=e.child).sibling,(o=zr(u,{mode:"hidden",children:o.children})).subtreeFlags=65011712&u.subtreeFlags,null!==c?l=zr(c,l):(l=Br(l,a,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,Is(null,o),o=t.child,null===(l=e.child.memoizedState)?l=Gs(n):(null!==(a=l.cachePool)?(u=Io._currentValue,a=a.parent!==u?{parent:u,pool:u}:a):a=Xo(),l={baseLanes:l.baseLanes|n,cachePool:a}),o.memoizedState=l,o.childLanes=Ys(e,r,n),t.memoizedState=Ks,Is(e.child,o)):(La(t),e=(n=e.child).sibling,(n=zr(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Js(e,t){return(t=Zs({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Zs(e,t){return(e=Fr(22,e,null,t)).lanes=0,e}function el(e,t,n){return fa(t,e.child,null,n),(e=Js(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function tl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Po(e.return,t,n)}function nl(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,treeForkCount:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.treeForkCount=a)}function rl(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;r=r.children;var i=za.current,s=!!(2&i);if(s?(i=1&i|2,t.flags|=128):i&=1,V(za,i),Ds(e,t,r,n),r=po?Jr:0,!s&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&tl(e,n,t);else if(19===e.tag)tl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Va(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),nl(t,!1,o,n,a,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Va(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}nl(t,!0,n,null,a,r);break;case"together":nl(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function ol(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ku|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(qo(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=zr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;
vendor: 4,472 bytes, line 2
2)e=e.sibling,(n=n.sibling=zr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function al(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Oo(e))}function il(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)As=!0;else{if(!(al(e,n)||128&t.flags))return As=!1,function(e,t,n){switch(t.tag){case 3:K(t,t.stateNode.containerInfo),jo(0,Io,e.memoizedState.cache),bo();break;case 27:case 5:Y(t);break;case 4:K(t,t.stateNode.containerInfo);break;case 10:jo(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,Ma(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(La(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Xs(e,t,n):(La(t),null!==(e=ol(e,t,n))?e.sibling:null);La(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(qo(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return rl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),V(za,za.current),r)break;return null;case 22:return t.lanes=0,Fs(e,t,n,t.pendingProps);case 24:jo(0,Io,e.memoizedState.cache)}return ol(e,t,n)}(e,t,n);As=!!(131072&e.flags)}else As=!1,po&&1048576&t.flags&&ao(t,Jr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=oa(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var o=e.$$typeof;if(o===x){t.tag=11,t=Ls(null,t,e,r,n);break e}if(o===E){t.tag=14,t=Ms(null,t,e,r,n);break e}}throw t=R(e)||e,Error(i(306,t,""))}Ir(e)?(r=Ss(e,r),t.tag=1,t=Hs(null,t,e,r,n)):(t.tag=0,t=Us(null,t,e,r,n))}return t;case 0:return Us(e,t,t.type,t.pendingProps,n);case 1:return Hs(e,t,r=t.type,o=Ss(r,t.pendingProps),n);case 3:e:{if(K(t,t.stateNode.containerInfo),null===e)throw Error(i(387));r=t.pendingProps;var a=t.memoizedState;o=a.element,va(e,t),Ea(t,r,null,n);var s=t.memoizedState;if(r=s.cache,jo(0,Io,r),r!==a.cache&&To(t,[Io],n,!0),ka(),r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Qs(e,t,r,n);break e}if(r!==o){xo(o=Kr(Error(i(424)),t)),t=Qs(e,t,r,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(co=Ad(e.firstChild),uo=t,po=!0,mo=null,fo=!0,n=ha(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(bo(),r===o){t=ol(e,t,n);break e}Ds(e,t,r,n)}t=t.child}return t;case 26:return Bs(e,t),null===e?(n=Wd(t.type,null,t.pendingProps,null))?t.memoizedState=n:po||(n=t.type,e=t.pendingProps,(r=gd(H.current).createElement(n))[Ve]=t,r[$e]=e,pd(r,n,e),et(r),t.stateNode=r):t.memoizedState=Wd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Y(t),null===e&&po&&(r=t.stateNode=Nd(t.type,t.pendingProps,H.current),uo=t,fo=!0,o=co,jd(t.type)?(Dd=o,co=Ad(r.firstChild)):co=o),Ds(e,t,t.pendingProps.children,n),Bs(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&po&&((o=r=co)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Ke])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===a)return e}if(null===(e=Ad(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,fo))?(t.stateNode=r,uo=t,co=Ad(r.firstChild),fo=!1,o=!0):o=!1),o||go(t)),Y(t),o=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,r=a.children,_d(o,a)?r=null:null!==s&&_d(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=ti(e,t,oi,null,null,n),cp._currentValue=o),Bs(e,t),Ds(e,t,r,n),t.child;case 6:return null===e&&po&&((e=n=co)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;
vendor: 4,496 bytes, line 2
2){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Ad(e.nextSibling)))return null}return e}(n,t.pendingProps,fo))?(t.stateNode=n,uo=t,co=null,e=!0):e=!1),e||go(t)),null;case 13:return Xs(e,t,n);case 4:return K(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=fa(t,null,r,n):Ds(e,t,r,n),t.child;case 11:return Ls(e,t,t.type,t.pendingProps,n);case 7:return Ds(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ds(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,jo(0,t.type,r.value),Ds(e,t,r.children,n),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,Ro(t),r=r(o=Ao(o)),t.flags|=1,Ds(e,t,r,n),t.child;case 14:return Ms(e,t,t.type,t.pendingProps,n);case 15:return Ns(e,t,t.type,t.pendingProps,n);case 19:return rl(e,t,n);case 31:return function(e,t,n){var r=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if(po){if("hidden"===r.mode)return e=Vs(t,r),t.lanes=536870912,Is(null,e);if(Ma(t),(e=co)?null!==(e=null!==(e=qd(e,fo))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==to?{id:no,overflow:ro}:null,retryLane:536870912,hydrationErrors:null},(n=Wr(e)).return=t,t.child=n,uo=t,co=null):e=null,null===e)throw go(t);return t.lanes=536870912,null}return Vs(t,r)}var a=e.memoizedState;if(null!==a){var s=a.dehydrated;if(Ma(t),o)if(256&t.flags)t.flags&=-257,t=$s(e,t,n);else{if(null===t.memoizedState)throw Error(i(558));t.child=e.child,t.flags|=128,t=null}else if(As||qo(e,t,n,!1),o=0!==(n&e.childLanes),As||o){if(null!==(r=fu)&&0!==(s=Le(r,n))&&s!==a.retryLane)throw a.retryLane=s,Ar(e,s),Ku(r,e,s),Rs;ic(),t=$s(e,t,n)}else e=a.treeContext,co=Ad(s.nextSibling),uo=t,po=!0,mo=null,fo=!1,null!==e&&lo(t,e),(t=Vs(t,r)).flags|=4096;return t}return(e=zr(e.child,{mode:r.mode,children:r.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Fs(e,t,n,t.pendingProps);case 24:return Ro(t),r=Ao(Io),null===e?(null===(o=Go())&&(o=fu,a=zo(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:r,cache:o},ya(t),jo(0,Io,o)):(0!==(e.lanes&n)&&(va(e,t),Ea(t,null,null,n),ka()),o=e.memoizedState,a=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),jo(0,Io,r)):(r=a.cache,jo(0,Io,r),r!==o.cache&&To(t,[Io],n,!0))),Ds(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function sl(e){e.flags|=4}function ll(e,t,n,r,o){if((t=!!(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&o)===o)if(e.stateNode.complete)e.flags|=8192;else{if(!rc())throw aa=ta,Zo;e.flags|=8192}}else e.flags&=-16777217}function ul(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!op(t)){if(!rc())throw aa=ta,Zo;e.flags|=8192}}function cl(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?qe():536870912,e.lanes|=t,Pu|=t)}function dl(e,t){if(!po)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function pl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ml(e,t,n){var r=t.pendingProps;switch(so(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return pl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Co(Io),G(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(_o(t)?sl(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,wo())),pl(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(sl(t),null!==a?(pl(t),ul(t,a)):(pl(t),ll(t,o,0,0,n))):a?a!==e.memoizedState?(sl(t),pl(t),ul(t,a)):(pl(t),t.flags&=-16777217):((e=e.memoizedProps)!==r&&sl(t),pl(t),ll(t,o,0,0,n)),null;case 27:if(X(t),n=H.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return pl(t),null}
vendor: 6,575 bytes, line 2
2e=U.current,_o(t)?yo(t):(e=Nd(o,r,n),t.stateNode=e,sl(t))}return pl(t),null;case 5:if(X(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sl(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return pl(t),null}if(a=U.current,_o(t))yo(t);else{var s=gd(H.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=s.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?s.createElement("select",{is:r.is}):s.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?s.createElement(o,{is:r.is}):s.createElement(o)}}a[Ve]=t,a[$e]=r;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)a.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(pd(a,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&sl(t)}}return pl(t),ll(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&sl(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=H.current,_o(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=uo))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[Ve]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ud(e.nodeValue,n)))||go(t,!0)}else(e=gd(e).createTextNode(r))[Ve]=t,t.stateNode=e}return pl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=_o(t),null!==n){if(null===e){if(!r)throw Error(i(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(i(557));e[Ve]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;pl(t),e=!1}else n=wo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(Ia(t),t):(Ia(t),null);if(128&t.flags)throw Error(i(558))}return pl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=_o(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(i(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(i(317));o[Ve]=t}else bo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;pl(t),o=!1}else o=wo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(Ia(t),t):(Ia(t),null)}return Ia(t),128&t.flags?(t.lanes=n,t):(n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==o&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),cl(t,t.updateQueue),pl(t),null);case 4:return G(),null===e&&Zc(t.stateNode.containerInfo),pl(t),null;case 10:return Co(t.type),pl(t),null;case 19:if(z(za),null===(r=t.memoizedState))return pl(t),null;if(o=!!(128&t.flags),null===(a=r.rendering))if(o)dl(r,!1);else{if(0!==Su||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=Va(e))){for(t.flags|=128,dl(r,!1),e=a.updateQueue,t.updateQueue=e,cl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Vr(n,e),n=n.sibling;return V(za,1&za.current|2),po&&oo(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&le()>Du&&(t.flags|=128,o=!0,dl(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=Va(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,cl(t,e),dl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!po)return pl(t),null}else 2*le()-r.renderingStartTime>Du&&536870912!==n&&(t.flags|=128,o=!0,dl(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=le(),e.sibling=null,n=za.current,V(za,o?1&n|2:1&n),po&&oo(t,r.treeForkCount),e):(pl(t),null);case 22:case 23:return Ia(t),Ra(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(pl(t),6&t.subtreeFlags&&(t.flags|=8192)):pl(t),null!==(n=t.updateQueue)&&cl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&z(Ko),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Co(Io),pl(t),null;case 25:case 30:return null}throw Error(i(156,t.tag))}function fl(e,t){switch(so(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Co(Io),G(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return X(t),null;case 31:if(null!==t.memoizedState){if(Ia(t),null===t.alternate)throw Error(i(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(Ia(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));bo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return z(za),null;case 4:return G(),null;case 10:return Co(t.type),null;case 22:case 23:return Ia(t),Ra(),null!==e&&z(Ko),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Co(Io),null;default:return null}}function hl(e,t){switch(so(t),t.tag){case 3:Co(Io),G();break;case 26:case 27:case 5:X(t);break;case 4:G();break;case 31:null!==t.memoizedState&&Ia(t);break;case 13:Ia(t);break;case 19:z(za);break;case 10:Co(t.type);break;case 22:case 23:Ia(t),Ra(),null!==e&&z(Ko);break;case 24:Co(Io)}}function gl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var a=n.create,i=n.inst;r=a(),i.destroy=r}n=n.next}while(n!==o)}}catch(e){Sc(t,t.return,e)}}function yl(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next;r=a;do{if((r.tag&e)===e){var i=r.inst,s=i.destroy;if(void 0!==s){i.destroy=void 0,o=t;var l=n,u=s;try{u()}catch(e){Sc(o,l,e)}}}r=r.next}
vendor: 13,816 bytes, line 2
2while(r!==a)}}catch(e){Sc(t,t.return,e)}}function vl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Ca(t,n)}catch(t){Sc(e,e.return,t)}}}function _l(e,t,n){n.props=Ss(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Sc(e,t,n)}}function bl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){Sc(e,t,n)}}function wl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){Sc(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){Sc(e,t,n)}else n.current=null}function xl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Sc(e,e.return,t)}}function Sl(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,s=null,l=null,u=null,c=null,d=null;for(f in n){var p=n[f];if(n.hasOwnProperty(f)&&null!=p)switch(f){case"checked":case"value":break;case"defaultValue":u=p;default:r.hasOwnProperty(f)||cd(e,t,f,null,r,p)}}for(var m in r){var f=r[m];if(p=n[m],r.hasOwnProperty(m)&&(null!=f||null!=p))switch(m){case"type":a=f;break;case"name":o=f;break;case"checked":c=f;break;case"defaultChecked":d=f;break;case"value":s=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(i(137,t));break;default:f!==p&&cd(e,t,m,f,r,p)}}return void vt(e,s,l,u,c,d,a,o);case"select":for(a in f=s=l=m=null,n)if(u=n[a],n.hasOwnProperty(a)&&null!=u)switch(a){case"value":break;case"multiple":f=u;default:r.hasOwnProperty(a)||cd(e,t,a,null,r,u)}for(o in r)if(a=r[o],u=n[o],r.hasOwnProperty(o)&&(null!=a||null!=u))switch(o){case"value":m=a;break;case"defaultValue":l=a;break;case"multiple":s=a;default:a!==u&&cd(e,t,o,a,r,u)}return t=l,n=s,r=f,void(null!=m?wt(e,!!n,m,!1):!!r!=!!n&&(null!=t?wt(e,!!n,t,!0):wt(e,!!n,n?[]:"",!1)));case"textarea":for(l in f=m=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:cd(e,t,l,null,r,o)}for(s in r)if(o=r[s],a=n[s],r.hasOwnProperty(s)&&(null!=o||null!=a))switch(s){case"value":m=o;break;case"defaultValue":f=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(i(91));break;default:o!==a&&cd(e,t,s,o,r,a)}return void xt(e,m,f);case"option":for(var h in n)if(m=n[h],n.hasOwnProperty(h)&&null!=m&&!r.hasOwnProperty(h))if("selected"===h)e.selected=!1;else cd(e,t,h,null,r,m);for(u in r)if(m=r[u],f=n[u],r.hasOwnProperty(u)&&m!==f&&(null!=m||null!=f))if("selected"===u)e.selected=m&&"function"!=typeof m&&"symbol"!=typeof m;else cd(e,t,u,m,r,f);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)m=n[g],n.hasOwnProperty(g)&&null!=m&&!r.hasOwnProperty(g)&&cd(e,t,g,null,r,m);for(c in r)if(m=r[c],f=n[c],r.hasOwnProperty(c)&&m!==f&&(null!=m||null!=f))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=m)throw Error(i(137,t));break;default:cd(e,t,c,m,r,f)}return;default:if(Pt(t)){for(var y in n)m=n[y],n.hasOwnProperty(y)&&void 0!==m&&!r.hasOwnProperty(y)&&dd(e,t,y,void 0,r,m);for(d in r)m=r[d],f=n[d],!r.hasOwnProperty(d)||m===f||void 0===m&&void 0===f||dd(e,t,d,m,r,f);return}}for(var v in n)m=n[v],n.hasOwnProperty(v)&&null!=m&&!r.hasOwnProperty(v)&&cd(e,t,v,null,r,m);for(p in r)m=r[p],f=n[p],!r.hasOwnProperty(p)||m===f||null==m&&null==f||cd(e,t,p,m,r,f)}(r,e.type,n,t),r[$e]=t}catch(t){Sc(e,e.return,t)}}function kl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&jd(e.type)||4===e.tag}function El(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||kl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&jd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function jl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Rt));else if(4!==r&&(27===r&&jd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(jl(e,t,n),e=e.sibling;null!==e;)jl(e,t,n),e=e.sibling}function Cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&jd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(Cl(e,t,n),e=e.sibling;null!==e;)Cl(e,t,n),e=e.sibling}function Pl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);pd(t,r,n),t[Ve]=e,t[$e]=n}catch(t){Sc(e,e.return,t)}}var Tl=!1,ql=!1,Ol=!1,Rl="function"==typeof WeakSet?WeakSet:Set,Al=null;function Dl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Kl(e,n),4&r&&gl(5,n);break;case 1:if(Kl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){Sc(n,n.return,e)}else{var o=Ss(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Sc(n,n.return,e)}}64&r&&vl(n),512&r&&bl(n,n.return);break;case 3:if(Kl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{Ca(e,t)}catch(e){Sc(n,n.return,e)}}break;case 27:null===t&&4&r&&Pl(n);case 26:case 5:Kl(e,n),null===t&&4&r&&xl(n),512&r&&bl(n,n.return);break;case 12:Kl(e,n);break;case 31:Kl(e,n),4&r&&zl(e,n);break;case 13:Kl(e,n),4&r&&Vl(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Cc.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Tl)){t=null!==t&&null!==t.memoizedState||ql,o=Tl;var a=ql;Tl=r,(ql=t)&&!a?Yl(e,n,!!(8772&n.subtreeFlags)):Kl(e,n),Tl=o,ql=a}break;case 30:break;default:Kl(e,n)}}function Ll(e){var t=e.alternate;null!==t&&(e.alternate=null,Ll(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&Ge(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ml=null,Nl=!1;function Fl(e,t,n){for(n=n.child;null!==n;)Il(e,t,n),n=n.sibling}function Il(e,t,n){if(ve&&"function"==typeof ve.onCommitFiberUnmount)try{ve.onCommitFiberUnmount(ye,n)}catch(e){}switch(n.tag){case 26:ql||wl(n,t),Fl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:ql||wl(n,t);var r=Ml,o=Nl;jd(n.type)&&(Ml=n.stateNode,Nl=!1),Fl(e,t,n),Fd(n.stateNode),Ml=r,Nl=o;break;case 5:ql||wl(n,t);case 6:if(r=Ml,o=Nl,Ml=null,Fl(e,t,n),Nl=o,null!==(Ml=r))if(Nl)try{(9===Ml.nodeType?Ml.body:"HTML"===Ml.nodeName?Ml.ownerDocument.body:Ml).removeChild(n.stateNode)}catch(e){Sc(n,t,e)}else try{Ml.removeChild(n.stateNode)}catch(e){Sc(n,t,e)}break;case 18:null!==Ml&&(Nl?(Cd(9===(e=Ml).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Up(e)):Cd(Ml,n.stateNode));break;case 4:r=Ml,o=Nl,Ml=n.stateNode.containerInfo,Nl=!0,Fl(e,t,n),Ml=r,Nl=o;break;case 0:case 11:case 14:case 15:yl(2,n,t),ql||yl(4,n,t),Fl(e,t,n);break;case 1:ql||(wl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&_l(n,t,r)),Fl(e,t,n);break;case 21:Fl(e,t,n);break;case 22:ql=(r=ql)||null!==n.memoizedState,Fl(e,t,n),ql=r;break;default:Fl(e,t,n)}}function zl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&null!==(e=e.memoizedState))){e=e.dehydrated;try{Up(e)}catch(e){Sc(t,t.return,e)}}}function Vl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Up(e)}catch(e){Sc(t,t.return,e)}}function $l(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Rl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Rl),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Pc.bind(null,e,t);t.then(r,r)}})}function Bl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r],a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(jd(l.type)){Ml=l.stateNode,Nl=!1;break e}break;case 5:Ml=l.stateNode,Nl=!1;break e;case 3:case 4:Ml=l.stateNode.containerInfo,Nl=!0;break e}l=l.return}if(null===Ml)throw Error(i(160));Il(a,s,o),Ml=null,Nl=!1,null!==(a=o.alternate)&&(a.return=null),o.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Wl(t,e),t=t.sibling}var Ul=null;function Wl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Bl(t,e),Hl(e),4&r&&(yl(3,e,e.return),gl(3,e),yl(5,e,e.return));break;case 1:Bl(t,e),Hl(e),512&r&&(ql||null===n||wl(n,n.return)),64&r&&Tl&&(null!==(e=e.updateQueue)&&(null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r))));break;case 26:var o=Ul;if(Bl(t,e),Hl(e),512&r&&(ql||null===n||wl(n,n.return)),4&r){var a=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(r){case"title":(!(a=o.getElementsByTagName("title")[0])||a[Ke]||a[Ve]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=o.createElement(r),o.head.insertBefore(a,o.querySelector("head > title"))),pd(a,r,n),a[Ve]=e,et(a),r=a;break e;case"link":var s=np("link","href",o).get(r+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((a=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}pd(a=o.createElement(r),r,n),o.head.appendChild(a);break;case"meta":if(s=np("meta","content",o).get(r+(n.content||"")))for(l=0;l<s.length;l++)if((a=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}pd(a=o.createElement(r),r,n),o.head.appendChild(a);break;default:throw Error(i(468,r))}a[Ve]=e,et(a),r=a}e.stateNode=r}else rp(o,e.type,e.stateNode);else e.stateNode=Xd(o,r,e.memoizedProps);else a!==r?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===r?rp(o,e.type,e.stateNode):Xd(o,r,e.memoizedProps)):null===r&&null!==e.stateNode&&Sl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Bl(t,e),Hl(e),512&r&&(ql||null===n||wl(n,n.return)),null!==n&&4&r&&Sl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Bl(t,e),Hl(e),512&r&&(ql||null===n||wl(n,n.return)),32&e.flags){o=e.stateNode;try{kt(o,"")}catch(t){Sc(e,e.return,t)}}4&r&&null!=e.stateNode&&Sl(e,o=e.memoizedProps,null!==n?n.memoizedProps:o),1024&r&&(Ol=!0);break;case 6:if(Bl(t,e),Hl(e),4&r){if(null===e.stateNode)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Sc(e,e.return,t)}}break;case 3:if(tp=null,o=Ul,Ul=Vd(t.containerInfo),Bl(t,e),Ul=o,Hl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Up(t.containerInfo)}catch(t){Sc(e,e.return,t)}Ol&&(Ol=!1,Ql(e));break;case 4:r=Ul,Ul=Vd(e.stateNode.containerInfo),Bl(t,e),Hl(e),Ul=r;break;case 12:default:Bl(t,e),Hl(e);break;case 31:case 19:Bl(t,e),Hl(e),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,$l(e,r)));break;case 13:Bl(t,e),Hl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Ru=le()),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,$l(e,r)));break;case 22:o=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=Tl,d=ql;if(Tl=c||o,ql=d||u,Bl(t,e),ql=d,Tl=c,Hl(e),8192&r)e:for(t=e.stateNode,t._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===n||u||Tl||ql||Gl(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(a=u.stateNode,o)"function"==typeof(s=a.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=u.stateNode;var p=u.memoizedProps.style,m=null!=p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==m||"boolean"==typeof m?"":(""+m).trim()}}catch(e){Sc(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=o?"":u.memoizedProps}catch(e){Sc(u,u.return,e)}}}else if(18===t.tag){if(null===n){u=t;try{var f=u.stateNode;o?Pd(f,!0):Pd(u.stateNode,!1)}catch(e){Sc(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&(null!==(r=e.updateQueue)&&(null!==(n=r.retryQueue)&&(r.retryQueue=null,$l(e,n))));case 30:case 21:}}function Hl(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(kl(r)){n=r;break}r=r.return}if(null==n)throw Error(i(160));switch(n.tag){case 27:var o=n.stateNode;Cl(e,El(e),o);break;case 5:var a=n.stateNode;
vendor: 20,339 bytes, line 2
232&n.flags&&(kt(a,""),n.flags&=-33),Cl(e,El(e),a);break;case 3:case 4:var s=n.stateNode.containerInfo;jl(e,El(e),s);break;default:throw Error(i(161))}}catch(t){Sc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ql(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ql(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Kl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Dl(e,t.alternate,t),t=t.sibling}function Gl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:yl(4,t,t.return),Gl(t);break;case 1:wl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&_l(t,t.return,n),Gl(t);break;case 27:Fd(t.stateNode);case 26:case 5:wl(t,t.return),Gl(t);break;case 22:null===t.memoizedState&&Gl(t);break;default:Gl(t)}e=e.sibling}}function Yl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,a=t,i=a.flags;switch(a.tag){case 0:case 11:case 15:Yl(o,a,n),gl(4,a);break;case 1:if(Yl(o,a,n),"function"==typeof(o=(r=a).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){Sc(r,r.return,e)}if(null!==(o=(r=a).updateQueue)){var s=r.stateNode;try{var l=o.shared.hiddenCallbacks;if(null!==l)for(o.shared.hiddenCallbacks=null,o=0;o<l.length;o++)ja(l[o],s)}catch(e){Sc(r,r.return,e)}}n&&64&i&&vl(a),bl(a,a.return);break;case 27:Pl(a);case 26:case 5:Yl(o,a,n),n&&null===r&&4&i&&xl(a),bl(a,a.return);break;case 12:Yl(o,a,n);break;case 31:Yl(o,a,n),n&&4&i&&zl(o,a);break;case 13:Yl(o,a,n),n&&4&i&&Vl(o,a);break;case 22:null===a.memoizedState&&Yl(o,a,n),bl(a,a.return);break;case 30:break;default:Yl(o,a,n)}t=t.sibling}}function Xl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Vo(n))}function Jl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Vo(e))}function Zl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)eu(e,t,n,r),t=t.sibling}function eu(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Zl(e,t,n,r),2048&o&&gl(9,t);break;case 1:case 31:case 13:default:Zl(e,t,n,r);break;case 3:Zl(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Vo(e)));break;case 12:if(2048&o){Zl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,i=a.id,s=a.onPostCommit;"function"==typeof s&&s(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){Sc(t,t.return,e)}}else Zl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,i=t.alternate,null!==t.memoizedState?2&a._visibility?Zl(e,t,n,r):nu(e,t):2&a._visibility?Zl(e,t,n,r):(a._visibility|=2,tu(e,t,n,r,!!(10256&t.subtreeFlags)||!1)),2048&o&&Xl(i,t);break;case 24:Zl(e,t,n,r),2048&o&&Jl(t.alternate,t)}}function tu(e,t,n,r,o){for(o=o&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var a=e,i=t,s=n,l=r,u=i.flags;switch(i.tag){case 0:case 11:case 15:tu(a,i,s,l,o),gl(8,i);break;case 23:break;case 22:var c=i.stateNode;null!==i.memoizedState?2&c._visibility?tu(a,i,s,l,o):nu(a,i):(c._visibility|=2,tu(a,i,s,l,o)),o&&2048&u&&Xl(i.alternate,i);break;case 24:tu(a,i,s,l,o),o&&2048&u&&Jl(i.alternate,i);break;default:tu(a,i,s,l,o)}t=t.sibling}}function nu(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:nu(n,r),2048&o&&Xl(r.alternate,r);break;case 24:nu(n,r),2048&o&&Jl(r.alternate,r);break;default:nu(n,r)}t=t.sibling}}var ru=8192;function ou(e,t,n){if(e.subtreeFlags&ru)for(e=e.child;null!==e;)au(e,t,n),e=e.sibling}function au(e,t,n){switch(e.tag){case 26:ou(e,t,n),e.flags&ru&&null!==e.memoizedState&&function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var o=Hd(r.href),a=t.querySelector(Qd(o));if(a)return null!==(t=a._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=ip.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,void et(a);a=t.ownerDocument||t,r=Kd(r),(o=Id.get(o))&&Zd(r,o),et(a=a.createElement("link"));var i=a;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),pd(a,"link",r),n.instance=a}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=ip.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Ul,e.memoizedState,e.memoizedProps);break;case 5:default:ou(e,t,n);break;case 3:case 4:var r=Ul;Ul=Vd(e.stateNode.containerInfo),ou(e,t,n),Ul=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=ru,ru=16777216,ou(e,t,n),ru=r):ou(e,t,n))}}function iu(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function su(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Al=r,cu(r,e)}iu(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lu(e),e=e.sibling}function lu(e){switch(e.tag){case 0:case 11:case 15:su(e),2048&e.flags&&yl(9,e,e.return);break;case 3:case 12:default:su(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,uu(e)):su(e)}}function uu(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Al=r,cu(r,e)}iu(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:yl(8,t,t.return),uu(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,uu(t));break;default:uu(t)}e=e.sibling}}function cu(e,t){for(;null!==Al;){var n=Al;switch(n.tag){case 0:case 11:case 15:yl(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Vo(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Al=r;else e:for(n=e;null!==Al;){var o=(r=Al).sibling,a=r.return;if(Ll(r),r===n){Al=null;break e}if(null!==o){o.return=a,Al=o;break e}Al=a}}}var du={getCacheForType:function(e){var t=Ao(Io),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ao(Io).controller.signal}},pu="function"==typeof WeakMap?WeakMap:Map,mu=0,fu=null,hu=null,gu=0,yu=0,vu=null,_u=!1,bu=!1,wu=!1,xu=0,Su=0,ku=0,Eu=0,ju=0,Cu=0,Pu=0,Tu=null,qu=null,Ou=!1,Ru=0,Au=0,Du=1/0,Lu=null,Mu=null,Nu=0,Fu=null,Iu=null,zu=0,Vu=0,$u=null,Bu=null,Uu=0,Wu=null;function Hu(){return 2&mu&&0!==gu?gu&-gu:null!==D.T?$c():Fe()}function Qu(){if(0===Cu)if(536870912&gu&&!po)Cu=536870912;else{var e=ke;!(3932160&(ke<<=1))&&(ke=262144),Cu=e}return null!==(e=Aa.current)&&(e.flags|=32),Cu}function Ku(e,t,n){(e!==fu||2!==yu&&9!==yu)&&null===e.cancelPendingCommit||(tc(e,0),Ju(e,gu,Cu,!1)),Re(e,n),2&mu&&e===fu||(e===fu&&(!(2&mu)&&(Eu|=n),4===Su&&Ju(e,gu,Cu,!1)),Lc(e))}function Gu(e,t,n){if(6&mu)throw Error(i(327));for(var r=!n&&!(127&t)&&0===(t&e.expiredLanes)||Pe(e,t),o=r?function(e,t){var n=mu;mu|=2;var r=oc(),o=ac();fu!==e||gu!==t?(Lu=null,Du=le()+500,tc(e,t)):bu=Pe(e,t);e:for(;;)try{if(0!==yu&&null!==hu){t=hu;var a=vu;t:switch(yu){case 1:yu=0,vu=null,pc(e,t,a,1);break;case 2:case 9:if(na(a)){yu=0,vu=null,dc(t);break}t=function(){2!==yu&&9!==yu||fu!==e||(yu=7),Lc(e)},a.then(t,t);break e;case 3:yu=7;break e;case 4:yu=5;break e;case 7:na(a)?(yu=0,vu=null,dc(t)):(yu=0,vu=null,pc(e,t,a,7));break;case 5:var s=null;switch(hu.tag){case 26:s=hu.memoizedState;case 5:case 27:var l=hu;if(s?op(s):l.stateNode.complete){yu=0,vu=null;var u=l.sibling;if(null!==u)hu=u;else{var c=l.return;null!==c?(hu=c,mc(c)):hu=null}break t}}yu=0,vu=null,pc(e,t,a,5);break;case 6:yu=0,vu=null,pc(e,t,a,6);break;case 8:ec(),Su=6;break e;default:throw Error(i(462))}}uc();break}catch(t){nc(e,t)}return Eo=ko=null,D.H=r,D.A=o,mu=n,null!==hu?0:(fu=null,gu=0,qr(),Su)}(e,t):sc(e,t,!0),a=r;;){if(0===o){bu&&!r&&Ju(e,t,0,!1);break}if(n=e.current.alternate,!a||Xu(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=Tu;var u=l.current.memoizedState.isDehydrated;if(u&&(tc(l,s).flags|=256),2!==(s=sc(l,s,!1))){if(wu&&!u){l.errorRecoveryDisabledLanes|=a,Eu|=a,o=4;break e}a=qu,qu=o,null!==a&&(null===qu?qu=a:qu.push.apply(qu,a))}o=s}if(a=!1,2!==o)continue}}if(1===o){tc(e,0),Ju(e,t,0,!0);break}e:{switch(r=e,a=o){case 0:case 1:throw Error(i(345));case 4:if((4194048&t)!==t)break;case 6:Ju(r,t,Cu,!_u);break e;case 2:qu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((62914560&t)===t&&10<(o=Ru+300-le())){if(Ju(r,t,Cu,!_u),0!==Ce(r,0,!0))break e;zu=t,r.timeoutHandle=wd(Yu.bind(null,r,n,qu,Lu,Ou,t,Cu,Eu,Pu,_u,a,"Throttled",-0,0),o)}else Yu(r,n,qu,Lu,Ou,t,Cu,Eu,Pu,_u,a,null,-0,0)}break}o=sc(e,t,!1),a=!1}Lc(e)}function Yu(e,t,n,r,o,a,i,s,l,u,c,d,p,m){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||!(16785408&~d)){au(t,a,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Rt});var f=(62914560&a)===a?Ru-le():(4194048&a)===a?Au-le():0;if(null!==(f=function(e,t){return e.stylesheets&&0===e.count&&lp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&lp(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===ap&&(ap=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var o=n[r],a=o.transferSize,i=o.initiatorType,s=o.duration;if(a&&s&&md(i)){for(i=0,s=o.responseEnd,r+=1;r<n.length;r++){var l=n[r],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&md(d)&&(i+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--r,t+=8*(a+i)/(o.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var o=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&lp(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>ap?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}(d,f)))return zu=a,e.cancelPendingCommit=f(hc.bind(null,e,t,a,n,r,o,i,s,l,c,d,null,p,m)),void Ju(e,a,i,!u)}hc(e,t,a,n,r,o,i,s,l)}function Xu(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!Jn(a(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ju(e,t,n,r){t&=~ju,t&=~Eu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var a=31-be(o),i=1<<a;r[a]=-1,o&=~i}0!==n&&Ae(e,n,t)}function Zu(){return!!(6&mu)||(Mc(0,!1),!1)}function ec(){if(null!==hu){if(0===yu)var e=hu.return;else Eo=ko=null,si(e=hu),la=null,ua=0,e=hu;for(;null!==e;)hl(e.alternate,e),e=e.return;hu=null}}function tc(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,xd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),zu=0,ec(),fu=e,hu=n=zr(e.current,null),gu=t,yu=0,vu=null,_u=!1,bu=Pe(e,t),wu=!1,Pu=Cu=ju=Eu=ku=Su=0,qu=Tu=null,Ou=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-be(r),a=1<<o;t|=e[o],r&=~a}return xu=t,qr(),n}function nc(e,t){Ba=null,D.H=hs,t===Jo||t===ea?(t=ia(),yu=3):t===Zo?(t=ia(),yu=4):yu=t===Rs?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,vu=t,null===hu&&(Su=1,Cs(e,Kr(t,e.current)))}function rc(){var e=Aa.current;return null===e||((4194048&gu)===gu?null===Da:!!((62914560&gu)===gu||536870912&gu)&&e===Da)}function oc(){var e=D.H;return D.H=hs,null===e?hs:e}function ac(){var e=D.A;return D.A=du,e}function ic(){Su=4,_u||(4194048&gu)!==gu&&null!==Aa.current||(bu=!0),!(134217727&ku)&&!(134217727&Eu)||null===fu||Ju(fu,gu,Cu,!1)}function sc(e,t,n){var r=mu;mu|=2;var o=oc(),a=ac();fu===e&&gu===t||(Lu=null,tc(e,t)),t=!1;var i=Su;e:for(;;)try{if(0!==yu&&null!==hu){var s=hu,l=vu;switch(yu){case 8:ec(),i=6;break e;case 3:case 2:case 9:case 6:null===Aa.current&&(t=!0);var u=yu;if(yu=0,vu=null,pc(e,s,l,u),n&&bu){i=0;break e}break;default:u=yu,yu=0,vu=null,pc(e,s,l,u)}}lc(),i=Su;break}catch(t){nc(e,t)}return t&&e.shellSuspendCounter++,Eo=ko=null,mu=r,D.H=o,D.A=a,null===hu&&(fu=null,gu=0,qr()),i}function lc(){for(;null!==hu;)cc(hu)}function uc(){for(;null!==hu&&!ie();)cc(hu)}function cc(e){var t=il(e.alternate,e,xu);e.memoizedProps=e.pendingProps,null===t?mc(e):hu=t}function dc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ws(n,t,t.pendingProps,t.type,void 0,gu);break;case 11:t=Ws(n,t,t.pendingProps,t.type.render,t.ref,gu);break;case 5:si(t);default:hl(n,t),t=il(n,t=hu=Vr(t,xu),xu)}e.memoizedProps=e.pendingProps,null===t?mc(e):hu=t}function pc(e,t,n,r){Eo=ko=null,si(t),la=null,ua=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&qo(t,n,o,!0),null!==(n=Aa.current)){switch(n.tag){case 31:case 13:return null===Da?ic():null===n.alternate&&0===Su&&(Su=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===ta?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),kc(e,r,o)),!1;case 22:return n.flags|=65536,r===ta?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),kc(e,r,o)),!1}throw Error(i(435,n.tag))}return kc(e,r,o),ic(),!1}if(po)return null!==(t=Aa.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==ho&&xo(Kr(e=Error(i(422),{cause:r}),n))):(r!==ho&&xo(Kr(t=Error(i(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=Kr(r,n),xa(e,o=Ts(e.stateNode,r,o)),4!==Su&&(Su=2)),!1;var a=Error(i(520),{cause:r});if(a=Kr(a,n),null===Tu?Tu=[a]:Tu.push(a),4!==Su&&(Su=2),null===t)return!0;r=Kr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,xa(n,e=Ts(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Mu&&Mu.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,Os(o=qs(o),e,n,r),xa(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,gu))return Su=1,Cs(e,Kr(n,e.current)),void(hu=null)}catch(t){if(null!==o)throw hu=o,t;return Su=1,Cs(e,Kr(n,e.current)),void(hu=null)}32768&t.flags?(po||1===r?e=!0:bu||536870912&gu?e=!1:(_u=e=!0,(2===r||9===r||3===r||6===r)&&(null!==(r=Aa.current)&&13===r.tag&&(r.flags|=16384))),fc(t,e)):mc(t)}function mc(e){var t=e;do{if(32768&t.flags)return void fc(t,_u);e=t.return;var n=ml(t.alternate,t,xu);if(null!==n)return void(hu=n);if(null!==(t=t.sibling))return void(hu=t);hu=t=e}while(null!==t);0===Su&&(Su=5)}function fc(e,t){do{var n=fl(e.alternate,e);if(null!==n)return n.flags&=32767,void(hu=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(hu=e);hu=e=n}while(null!==e);Su=6,hu=null}function hc(e,t,n,r,o,a,s,l,u){e.cancelPendingCommit=null;do{bc()}while(0!==Nu);if(6&mu)throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));if(a=t.lanes|t.childLanes,function(e,t,n,r,o,a){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-be(n),d=1<<c;s[c]=0,l[c]=-1;var p=u[c];if(null!==p)for(u[c]=null,c=0;c<p.length;c++){var m=p[c];null!==m&&(m.lane&=-536870913)}n&=~d}0!==r&&Ae(e,r,0),0!==a&&0===o&&0!==e.tag&&(e.suspendedLanes|=a&~(i&~t))}(e,n,a|=Tr,s,l,u),e===fu&&(hu=fu=null,gu=0),Iu=t,Fu=e,zu=n,Vu=a,$u=o,Bu=r,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,oe(pe,function(){return wc(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=D.T,D.T=null,o=L.p,L.p=2,s=mu,mu|=4;try{!function(e,t){if(e=e.containerInfo,fd=_p,or(e=rr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,p=e,m=null;t:for(;;){for(var f;p!==n||0!==o&&3!==p.nodeType||(l=s+o),p!==a||0!==r&&3!==p.nodeType||(u=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(f=p.firstChild);)m=p,p=f;for(;;){if(p===e)break t;if(m===n&&++c===o&&(l=s),m===a&&++d===r&&(u=s),null!==(f=p.nextSibling))break;m=(p=m).parentNode}p=f}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(hd={focusedElem:e,selectionRange:n},_p=!1,Al=t;null!==Al;)if(e=(t=Al).child,1028&t.subtreeFlags&&null!==e)e.return=t,Al=e;else for(;null!==Al;){switch(a=(t=Al).alternate,e=t.flags,t.tag){case 0:if(4&e&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==a){e=void 0,n=t,o=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var h=Ss(n.type,o);e=r.getSnapshotBeforeUpdate(h,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Sc(n,n.return,e)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))Td(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Td(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(i(163))}if(null!==(e=t.sibling)){e.return=t.return,Al=e;break}Al=t.return}}(e,t)}finally{mu=s,L.p=o,D.T=r}}Nu=1,gc(),yc(),vc()}}function gc(){if(1===Nu){Nu=0;var e=Fu,t=Iu,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=D.T,D.T=null;var r=L.p;L.p=2;var o=mu;mu|=4;try{Wl(t,e);var a=hd,i=rr(e.containerInfo),s=a.focusedElem,l=a.selectionRange;if(i!==s&&s&&s.ownerDocument&&nr(s.ownerDocument.documentElement,s)){if(null!==l&&or(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var m=p.getSelection(),f=s.textContent.length,h=Math.min(l.start,f),g=void 0===l.end?h:Math.min(l.end,f);!m.extend&&h>g&&(i=g,g=h,h=i);var y=tr(s,h),v=tr(s,g);if(y&&v&&(1!==m.rangeCount||m.anchorNode!==y.node||m.anchorOffset!==y.offset||m.focusNode!==v.node||m.focusOffset!==v.offset)){var _=d.createRange();_.setStart(y.node,y.offset),m.removeAllRanges(),h>g?(m.addRange(_),m.extend(v.node,v.offset)):(_.setEnd(v.node,v.offset),m.addRange(_))}}}}for(d=[],m=s;m=m.parentNode;)1===m.nodeType&&d.push({element:m,left:m.scrollLeft,top:m.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}_p=!!fd,hd=fd=null}finally{mu=o,L.p=r,D.T=n}}e.current=t,Nu=2}}function yc(){if(2===Nu){Nu=0;var e=Fu,t=Iu,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=D.T,D.T=null;var r=L.p;L.p=2;var o=mu;mu|=4;try{Dl(e,t.alternate,t)}finally{mu=o,L.p=r,D.T=n}}Nu=3}}function vc(){if(4===Nu||3===Nu){Nu=0,se();var e=Fu,t=Iu,n=zu,r=Bu;10256&t.subtreeFlags||10256&t.flags?Nu=5:(Nu=0,Iu=Fu=null,_c(e,e.pendingLanes));var o=e.pendingLanes;if(0===o&&(Mu=null),Ne(n),t=t.stateNode,ve&&"function"==typeof ve.onCommitFiberRoot)try{ve.onCommitFiberRoot(ye,t,void 0,!(128&~t.current.flags))}catch(e){}if(null!==r){t=D.T,o=L.p,L.p=2,D.T=null;try{for(var a=e.onRecoverableError,i=0;i<r.length;i++){var s=r[i];a(s.value,{componentStack:s.stack})}}finally{D.T=t,L.p=o}}3&zu&&bc(),Lc(e),o=e.pendingLanes,261930&n&&42&o?e===Wu?Uu++:(Uu=0,Wu=e):Uu=0,Mc(0,!1)}}function _c(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Vo(t)))}function bc(){return gc(),yc(),vc(),wc()}function wc(){if(5!==Nu)return!1;var e=Fu,t=Vu;Vu=0;var n=Ne(zu),r=D.T,o=L.p;
vendor: 4,726 bytes, line 2
2try{L.p=32>n?32:n,D.T=null,n=$u,$u=null;var a=Fu,s=zu;if(Nu=0,Iu=Fu=null,zu=0,6&mu)throw Error(i(331));var l=mu;if(mu|=4,lu(a.current),eu(a,a.current,s,n),mu=l,Mc(0,!1),ve&&"function"==typeof ve.onPostCommitFiberRoot)try{ve.onPostCommitFiberRoot(ye,a)}catch(e){}return!0}finally{L.p=o,D.T=r,_c(e,t)}}function xc(e,t,n){t=Kr(n,t),null!==(e=ba(e,t=Ts(e.stateNode,t,2),2))&&(Re(e,2),Lc(e))}function Sc(e,t,n){if(3===e.tag)xc(e,e,n);else for(;null!==t;){if(3===t.tag){xc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Mu||!Mu.has(r))){e=Kr(n,e),null!==(r=ba(t,n=qs(2),2))&&(Os(n,r,t,e),Re(r,2),Lc(r));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pu;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(wu=!0,o.add(n),e=Ec.bind(null,e,t,n),t.then(e,e))}function Ec(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,fu===e&&(gu&n)===n&&(4===Su||3===Su&&(62914560&gu)===gu&&300>le()-Ru?!(2&mu)&&tc(e,0):ju|=n,Pu===gu&&(Pu=0)),Lc(e)}function jc(e,t){0===t&&(t=qe()),null!==(e=Ar(e,t))&&(Re(e,t),Lc(e))}function Cc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),jc(e,n)}function Pc(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),jc(e,n)}var Tc=null,qc=null,Oc=!1,Rc=!1,Ac=!1,Dc=0;function Lc(e){e!==qc&&null===e.next&&(null===qc?Tc=qc=e:qc=qc.next=e),Rc=!0,Oc||(Oc=!0,kd(function(){6&mu?oe(ce,Nc):Fc()}))}function Mc(e,t){if(!Ac&&Rc){Ac=!0;do{for(var n=!1,r=Tc;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var a=0;else{var i=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-be(42|e)+1)-1,a=201326741&(a&=o&~(i&~s))?201326741&a|1:a?2|a:0}0!==a&&(n=!0,Vc(r,a))}else a=gu,!(3&(a=Ce(r,r===fu?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Pe(r,a)||(n=!0,Vc(r,a));r=r.next}}while(n);Ac=!1}}function Nc(){Fc()}function Fc(){Rc=Oc=!1;var e=0;0!==Dc&&function(){var e=window.event;if(e&&"popstate"===e.type)return e!==bd&&(bd=e,!0);return bd=null,!1}()&&(e=Dc);for(var t=le(),n=null,r=Tc;null!==r;){var o=r.next,a=Ic(r,t);0===a?(r.next=null,null===n?Tc=o:n.next=o,null===o&&(qc=n)):(n=r,(0!==e||3&a)&&(Rc=!0)),r=o}0!==Nu&&5!==Nu||Mc(e,!1),0!==Dc&&(Dc=0)}function Ic(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var i=31-be(a),s=1<<i,l=o[i];-1===l?0!==(s&n)&&0===(s&r)||(o[i]=Te(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}if(n=gu,n=Ce(e,e===(t=fu)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===yu||9===yu)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ae(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Pe(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ae(r),Ne(n)){case 2:case 8:n=de;break;case 32:default:n=pe;break;case 268435456:n=fe}return r=zc.bind(null,e),n=oe(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ae(r),e.callbackPriority=2,e.callbackNode=null,2}function zc(e,t){if(0!==Nu&&5!==Nu)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(bc()&&e.callbackNode!==n)return null;var r=gu;return 0===(r=Ce(e,e===fu?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Gu(e,r,t),Ic(e,le()),null!=e.callbackNode&&e.callbackNode===n?zc.bind(null,e):null)}function Vc(e,t){if(bc())return null;Gu(e,t,!0)}function $c(){if(0===Dc){var e=Uo;0===e&&(e=Se,!(261888&(Se<<=1))&&(Se=256)),Dc=e}return Dc}function Bc(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Ot(""+e)}function Uc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Wc=0;Wc<kr.length;Wc++){var Hc=kr[Wc];Er(Hc.toLowerCase(),"on"+(Hc[0].toUpperCase()+Hc.slice(1)))}Er(gr,"onAnimationEnd"),Er(yr,"onAnimationIteration"),Er(vr,"onAnimationStart"),Er("dblclick","onDoubleClick"),Er("focusin","onFocus"),Er("focusout","onBlur"),Er(_r,"onTransitionRun"),Er(br,"onTransitionStart"),Er(wr,"onTransitionCancel"),Er(xr,"onTransitionEnd"),ot("onMouseEnter",["mouseout","mouseover"]),ot("onMouseLeave",["mouseout","mouseover"]),ot("onPointerEnter",["pointerout","pointerover"]),ot("onPointerLeave",["pointerout","pointerover"]),rt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),rt("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),rt("onBeforeInput",["compositionend","keypress","textInput","paste"]),rt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),rt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),rt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Kc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Qc));function Gc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;a=s,o.currentTarget=u;try{a(o)}catch(e){jr(e)}o.currentTarget=null,a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,u=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;a=s,o.currentTarget=u;try{a(o)}catch(e){jr(e)}o.currentTarget=null,a=l}}}}function Yc(e,t){var n=t[Ue];void 0===n&&(n=t[Ue]=new Set);var r=e+"__bubble";n.has(r)||(ed(t,e,2,!1),n.add(r))}function Xc(e,t,n){var r=0;t&&(r|=4),ed(n,e,r,t)}var Jc="_reactListening"+Math.random().toString(36).slice(2);function Zc(e){if(!e[Jc]){e[Jc]=!0,tt.forEach(function(t){"selectionchange"!==t&&(Kc.has(t)||Xc(t,!1,e),Xc(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Jc]||(t[Jc]=!0,Xc("selectionchange",!1,t))}}function ed(e,t,n,r){switch(jp(t)){case 2:var o=bp;break;case 8:o=wp;break;default:o=xp}n=o.bind(null,t,n,e),o=void 0,!$t||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function td(e,t,n,r,o){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&i.stateNode.containerInfo===o)return;i=i.return}for(;null!==s;){if(null===(i=Ye(s)))return;if(5===(u=i.tag)||6===u||26===u||27===u){r=a=i;continue e}s=s.parentNode}}r=r.return}It(function(){var r=a,o=Dt(n),i=[];e:{var s=Sr.get(e);if(void 0!==s){var u=nn,c=e;switch(e){case"keypress":if(0===Kt(n))break e;case"keydown":case"keyup":u=vn;break;case"focusin":c="focus",u=un;break;case"focusout":c="blur",u=un;break;case"beforeblur":case"afterblur":u=un;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=sn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=ln;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=bn;break;case gr:case yr:case vr:u=cn;break;case xr:u=wn;break;case"scroll":case"scrollend":u=on;break;case"wheel":u=xn;break;case"copy":case"cut":case"paste":u=dn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=_n;break;case"toggle":case"beforetoggle":u=Sn}var d=!!(4&t),p=!d&&("scroll"===e||"scrollend"===e),m=d?null!==s?s+"Capture":null:s;d=[];for(var f,h=r;null!==h;){var g=h;if(f=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===f||null===m||null!=(g=zt(h,m))&&d.push(nd(h,g,f)),p)break;h=h.return}0<d.length&&(s=new u(s,c,null,n,o),i.push({event:s,listeners:d}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===At||!(c=n.relatedTarget||n.fromElement)||!Ye(c)&&!c[Be])&&(u||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ye(c):null)&&(p=l(c),d=c.tag,c!==p||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=r),u!==c)){if(d=sn,g="onMouseLeave",m="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(d=_n,g="onPointerLeave",m="onPointerEnter",h="pointer"),p=null==u?s:Je(u),f=null==c?s:Je(c),(s=new d(g,h+"leave",u,n,o)).target=p,s.relatedTarget=f,g=null,Ye(o)===r&&((d=new d(m,h+"enter",c,n,o)).target=f,d.relatedTarget=p,g=d),p=g,u&&c)e:{for(d=od,h=c,f=0,g=m=u;g;g=d(g))f++;g=0;for(var y=h;y;y=d(y))g++;for(;0<f-g;)m=d(m),f--;for(;0<g-f;)h=d(h),g--;for(;f--;){if(m===h||null!==h&&m===h.alternate){d=m;break e}m=d(m),h=d(h)}d=null}else d=null;null!==u&&ad(i,s,u,d,!1),null!==c&&null!==p&&ad(i,p,c,d,!0)}if("select"===(u=(s=r?Je(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var v=Vn;else if(Ln(s))if($n)v=Xn;else{v=Gn;var _=Kn}else!(u=s.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Pt(r.elementType)&&(v=Vn):v=Yn;switch(v&&(v=v(e,r))?Mn(i,v,n,o):(_&&_(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&bt(s,"number",s.value)),_=r?Je(r):window,e){case"focusin":(Ln(_)||"true"===_.contentEditable)&&(ir=_,sr=r,lr=null);break;case"focusout":lr=sr=ir=null;break;case"mousedown":ur=!0;break;case"contextmenu":case"mouseup":case"dragend":ur=!1,cr(i,n,o);break;case"selectionchange":if(ar)break;case"keydown":case"keyup":cr(i,n,o)}var b;if(En)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else An?On(e,n)&&(w="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(w="onCompositionStart");w&&(Pn&&"ko"!==n.locale&&(An||"onCompositionStart"!==w?"onCompositionEnd"===w&&An&&(b=Qt()):(Wt="value"in(Ut=o)?Ut.value:Ut.textContent,An=!0)),0<(_=rd(r,w)).length&&(w=new pn(w,e,null,n,o),i.push({event:w,listeners:_}),b?w.data=b:null!==(b=Rn(n))&&(w.data=b))),(b=Cn?function(e,t){switch(e){case"compositionend":return Rn(t);case"keypress":return 32!==t.which?null:(qn=!0,Tn);case"textInput":return(e=t.data)===Tn&&qn?null:e;default:return null}}(e,n):function(e,t){if(An)return"compositionend"===e||!En&&On(e,t)?(e=Qt(),Ht=Wt=Ut=null,An=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Pn&&"ko"!==t.locale?null:t.data}}
vendor: 4,395 bytes, line 2
2(e,n))&&(0<(w=rd(r,"onBeforeInput")).length&&(_=new pn("onBeforeInput","beforeinput",null,n,o),i.push({event:_,listeners:w}),_.data=b)),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var a=Bc((o[$e]||null).action),i=r.submitter;i&&null!==(t=(t=i[$e]||null)?Bc(t.formAction):i.getAttribute("formAction"))&&(a=t,i=null);var s=new nn("action","action",null,r,o);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Dc){var e=i?Uc(o,i):new FormData(o);ts(n,{pending:!0,data:e,method:o.method,action:a},null,e)}}else"function"==typeof a&&(s.preventDefault(),e=i?Uc(o,i):new FormData(o),ts(n,{pending:!0,data:e,method:o.method,action:a},a,e))},currentTarget:o}]})}}(i,e,r,n,o)}Gc(i,t)})}function nd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rd(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===a||(null!=(o=zt(e,n))&&r.unshift(nd(e,o,a)),null!=(o=zt(e,t))&&r.push(nd(e,o,a))),3===e.tag)return r;e=e.return}return[]}function od(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function ad(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,o?null!=(u=zt(n,a))&&i.unshift(nd(n,u,l)):o||null!=(u=zt(n,a))&&i.push(nd(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var id=/\r\n?/g,sd=/\u0000|\uFFFD/g;function ld(e){return("string"==typeof e?e:""+e).replace(id,"\n").replace(sd,"")}function ud(e,t){return t=ld(t),ld(e)===t}function cd(e,t,n,r,o,a){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||kt(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&kt(e,""+r);break;case"className":ut(e,"class",r);break;case"tabIndex":ut(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ut(e,n,r);break;case"style":Ct(e,r,a);break;case"data":if("object"!==t){ut(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Ot(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&cd(e,t,"name",o.name,o,null),cd(e,t,"formEncType",o.formEncType,o,null),cd(e,t,"formMethod",o.formMethod,o,null),cd(e,t,"formTarget",o.formTarget,o,null)):(cd(e,t,"encType",o.encType,o,null),cd(e,t,"method",o.method,o,null),cd(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=Ot(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=Rt);break;case"onScroll":null!=r&&Yc("scroll",e);break;case"onScrollEnd":null!=r&&Yc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=Ot(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
2ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Yc("beforetoggle",e),Yc("toggle",e),lt(e,"popover",r);break;case"xlinkActuate":ct(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ct(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ct(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ct(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ct(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ct(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ct(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ct(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ct(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":lt(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&lt(e,n=Tt.get(n)||n,r)}}function dd(e,t,n,r,o,a){switch(n){case"style":Ct(e,r,a);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(i(60));e.innerHTML=n}}break;case"children":"string"==typeof r?kt(e,r):("number"==typeof r||"bigint"==typeof r)&&kt(e,""+r);break;case"onScroll":null!=r&&Yc("scroll",e);break;case"onScrollEnd":null!=r&&Yc("scrollend",e);break;case"onClick":null!=r&&(e.onclick=Rt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:nt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[$e]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):lt(e,n,r):("function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o)))}}function pd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Yc("error",e),Yc("load",e);var r,o=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:cd(e,t,r,s,n,null)}}return a&&cd(e,t,"srcSet",n.srcSet,n,null),void(o&&cd(e,t,"src",n.src,n,null));case"input":Yc("invalid",e);var l=r=s=a=null,u=null,c=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":s=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(i(137,t));break;default:cd(e,t,o,d,n,null)}}return void _t(e,r,l,u,c,s,a,!1);case"select":for(a in Yc("invalid",e),o=s=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]
vendor: 4,220 bytes, line 2
2))switch(a){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:cd(e,t,a,l,n,null)}return t=r,n=s,e.multiple=!!o,void(null!=t?wt(e,!!o,t,!1):null!=n&&wt(e,!!o,n,!0));case"textarea":for(s in Yc("invalid",e),r=a=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(i(91));break;default:cd(e,t,s,l,n,null)}return void St(e,o,a,r);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))if("selected"===u)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else cd(e,t,u,o,n,null);return;case"dialog":Yc("beforetoggle",e),Yc("toggle",e),Yc("cancel",e),Yc("close",e);break;case"iframe":case"object":Yc("load",e);break;case"video":case"audio":for(o=0;o<Qc.length;o++)Yc(Qc[o],e);break;case"image":Yc("error",e),Yc("load",e);break;case"details":Yc("toggle",e);break;case"embed":case"source":case"link":Yc("error",e),Yc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:cd(e,t,c,o,n,null)}return;default:if(Pt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&dd(e,t,d,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&cd(e,t,l,o,n,null))}function md(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var fd=null,hd=null;function gd(e){return 9===e.nodeType?e:e.ownerDocument}function yd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function _d(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bd=null;var wd="function"==typeof setTimeout?setTimeout:void 0,xd="function"==typeof clearTimeout?clearTimeout:void 0,Sd="function"==typeof Promise?Promise:void 0,kd="function"==typeof queueMicrotask?queueMicrotask:void 0!==Sd?function(e){return Sd.resolve(null).then(e).catch(Ed)}:wd;function Ed(e){setTimeout(function(){throw e})}function jd(e){return"head"===e}function Cd(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)||"/&"===n){if(0===r)return e.removeChild(o),void Up(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)Fd(e.ownerDocument.documentElement);else if("head"===n){Fd(n=e.ownerDocument.head);for(var a=n.firstChild;a;){var i=a.nextSibling,s=a.nodeName;a[Ke]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=i}}else"body"===n&&Fd(e.ownerDocument.body);n=o}while(n);Up(t)}function Pd(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Td(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Td(n),Ge(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function qd(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Ad(e.nextSibling)))return null}return e}function Od(e){return"$?"===e.data||"$~"===e.data}function Rd(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Ad(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;
vendor: 7,615 bytes, line 2
2if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var Dd=null;function Ld(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Ad(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function Md(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Nd(e,t,n){switch(t=gd(n),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}function Fd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ge(e)}var Id=new Map,zd=new Set;function Vd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var $d=L.d;L.d={f:function(){var e=$d.f(),t=Zu();return e||t},r:function(e){var t=Xe(e);null!==t&&5===t.tag&&"form"===t.type?rs(t):$d.r(e)},D:function(e){$d.D(e),Ud("dns-prefetch",e,null)},C:function(e,t){$d.C(e,t),Ud("preconnect",e,t)},L:function(e,t,n){$d.L(e,t,n);var r=Bd;if(r&&e&&t){var o='link[rel="preload"][as="'+yt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+yt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+yt(n.imageSizes)+'"]')):o+='[href="'+yt(e)+'"]';var a=o;switch(t){case"style":a=Hd(e);break;case"script":a=Gd(e)}Id.has(a)||(e=m({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Id.set(a,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Qd(a))||"script"===t&&r.querySelector(Yd(a))||(pd(t=r.createElement("link"),"link",e),et(t),r.head.appendChild(t)))}},m:function(e,t){$d.m(e,t);var n=Bd;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+yt(r)+'"][href="'+yt(e)+'"]',a=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=Gd(e)}if(!Id.has(a)&&(e=m({rel:"modulepreload",href:e},t),Id.set(a,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Yd(a)))return}pd(r=n.createElement("link"),"link",e),et(r),n.head.appendChild(r)}}},X:function(e,t){$d.X(e,t);var n=Bd;if(n&&e){var r=Ze(n).hoistableScripts,o=Gd(e),a=r.get(o);a||((a=n.querySelector(Yd(o)))||(e=m({src:e,async:!0},t),(t=Id.get(o))&&ep(e,t),et(a=n.createElement("script")),pd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}},S:function(e,t,n){$d.S(e,t,n);var r=Bd;if(r&&e){var o=Ze(r).hoistableStyles,a=Hd(e);t=t||"default";var i=o.get(a);if(!i){var s={loading:0,preload:null};if(i=r.querySelector(Qd(a)))s.loading=5;else{e=m({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Id.get(a))&&Zd(e,n);var l=i=r.createElement("link");et(l),pd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Jd(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:s},o.set(a,i)}}},M:function(e,t){$d.M(e,t);var n=Bd;if(n&&e){var r=Ze(n).hoistableScripts,o=Gd(e),a=r.get(o);a||((a=n.querySelector(Yd(o)))||(e=m({src:e,async:!0,type:"module"},t),(t=Id.get(o))&&ep(e,t),et(a=n.createElement("script")),pd(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(o,a))}}};var Bd="undefined"==typeof document?null:document;function Ud(e,t,n){var r=Bd;if(r&&"string"==typeof t&&t){var o=yt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),zd.has(o)||(zd.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(pd(t=r.createElement("link"),"link",e),et(t),r.head.appendChild(t)))}}function Wd(e,t,n,r){var o,a,s,l,u=(u=H.current)?Vd(u):null;if(!u)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Hd(n.href),(r=(n=Ze(u).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Hd(n.href);var c=Ze(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(Qd(e)))&&!c._p&&(d.instance=c,d.state.loading=5),Id.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Id.set(e,n),c||(o=u,a=e,s=n,l=d.state,o.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=o.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),pd(a,"link",s),et(a),o.head.appendChild(a))))),t&&null===r)throw Error(i(528,""));return d}if(t&&null!==r)throw Error(i(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Gd(n),(r=(n=Ze(u).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Hd(e){return'href="'+yt(e)+'"'}function Qd(e){return'link[rel="stylesheet"]['+e+"]"}function Kd(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Gd(e){return'[src="'+yt(e)+'"]'}function Yd(e){return"script[async]"+e}function Xd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+yt(n.href)+'"]');if(r)return t.instance=r,et(r),r;var o=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return et(r=(e.ownerDocument||e).createElement("style")),pd(r,"style",o),Jd(r,n.precedence,e),t.instance=r;case"stylesheet":o=Hd(n.href);var a=e.querySelector(Qd(o));if(a)return t.state.loading|=4,t.instance=a,et(a),a;r=Kd(n),(o=Id.get(o))&&Zd(r,o),et(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),pd(a,"link",r),t.state.loading|=4,Jd(a,n.precedence,e),t.instance=a;case"script":return a=Gd(n.src),(o=e.querySelector(Yd(a)))?(t.instance=o,et(o),o):(r=n,(o=Id.get(a))&&ep(r=m({},n),o),et(o=(e=e.ownerDocument||e).createElement("script")),pd(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(i(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Jd(r,n.precedence,e));return t.instance}function Jd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,a=o,i=0;i<r.length;i++){var s=r[i];if(s.dataset.precedence===t)a=s;else if(a!==o)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Zd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function ep(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var tp=null;
vendor: 4,836 bytes, line 2
2function np(e,t,n){if(null===tp){var r=new Map,o=tp=new Map;o.set(n,r)}else(r=(o=tp).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var a=n[o];if(!(a[Ke]||a[Ve]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var i=a.getAttribute(t)||"";i=e+i;var s=r.get(i);s?s.push(a):r.set(i,[a])}}return r}function rp(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function op(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var ap=0;function ip(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)lp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var sp=null;function lp(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,sp=new Map,t.forEach(up,e),sp=null,ip.call(e))}function up(e,t){if(!(4&t.state.loading)){var n=sp.get(e);if(n)var r=n.get(null);else{n=new Map,sp.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<o.length;a++){var i=o[a];"LINK"!==i.nodeName&&"not all"===i.getAttribute("media")||(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(o=t.instance).getAttribute("data-precedence"),(a=n.get(i)||r)===r&&n.set(null,o),n.set(i,o),this.count++,r=ip.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),a?a.parentNode.insertBefore(o,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var cp={$$typeof:w,Provider:null,Consumer:null,_currentValue:M,_currentValue2:M,_threadCount:0};function dp(e,t,n,r,o,a,i,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Oe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oe(0),this.hiddenUpdates=Oe(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=a,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function pp(e,t,n,r,o,a,i,s,l,u,c,d){return e=new dp(e,t,n,i,l,u,c,d,s),t=1,!0===a&&(t|=24),a=Fr(3,null,null,t),e.current=a,a.stateNode=e,(t=zo()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},ya(a),e}function mp(e){return e?e=Mr:Mr}function fp(e,t,n,r,o,a){o=mp(o),null===r.context?r.context=o:r.pendingContext=o,(r=_a(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=ba(e,r,t))&&(Ku(n,0,t),wa(n,e,t))}function hp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function gp(e,t){hp(e,t),(e=e.alternate)&&hp(e,t)}function yp(e){if(13===e.tag||31===e.tag){var t=Ar(e,67108864);null!==t&&Ku(t,0,67108864),gp(e,67108864)}}function vp(e){if(13===e.tag||31===e.tag){var t=Hu(),n=Ar(e,t=Me(t));null!==n&&Ku(n,0,t),gp(e,t)}}var _p=!0;function bp(e,t,n,r){var o=D.T;D.T=null;var a=L.p;try{L.p=2,xp(e,t,n,r)}finally{L.p=a,D.T=o}}function wp(e,t,n,r){var o=D.T;D.T=null;var a=L.p;try{L.p=8,xp(e,t,n,r)}finally{L.p=a,D.T=o}}function xp(e,t,n,r){if(_p){var o=Sp(r);if(null===o)td(e,t,r,kp,n),Lp(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Pp=Mp(Pp,e,t,n,r,o),!0;case"dragenter":return Tp=Mp(Tp,e,t,n,r,o),!0;case"mouseover":return qp=Mp(qp,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Op.set(a,Mp(Op.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Rp.set(a,Mp(Rp.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Lp(e,r),4&t&&-1<Dp.indexOf(e)){for(;null!==o;){var a=Xe(o);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var i=je(a.pendingLanes);if(0!==i){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-be(i);s.entanglements[1]|=l,i&=~l}Lc(a),!(6&mu)&&(Du=le()+500,Mc(0,!1))}}break;case 31:case 13:null!==(s=Ar(a,2))&&Ku(s,0,2),Zu(),gp(a,2)}if(null===(a=Sp(r))&&td(e,t,r,kp,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else td(e,t,r,null,n)}}function Sp(e){return Ep(e=Dt(e))}var kp=null;function Ep(e){if(kp=null,null!==(e=Ye(e))){var t=l(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=u(t)))return e;e=null}else if(31===n){if(null!==(e=c(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return kp=e,null}function jp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 2,157 bytes, line 2
2:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ue()){case ce:return 2;case de:return 8;case pe:case me:return 32;case fe:return 268435456;default:return 32}default:return 32}}var Cp=!1,Pp=null,Tp=null,qp=null,Op=new Map,Rp=new Map,Ap=[],Dp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Lp(e,t){switch(e){case"focusin":case"focusout":Pp=null;break;case"dragenter":case"dragleave":Tp=null;break;case"mouseover":case"mouseout":qp=null;break;case"pointerover":case"pointerout":Op.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rp.delete(t.pointerId)}}function Mp(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=Xe(t))&&yp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Np(e){var t=Ye(e.target);if(null!==t){var n=l(t);
vendor: 7,756 bytes, line 2
2if(null!==n)if(13===(t=n.tag)){if(null!==(t=u(n)))return e.blockedOn=t,void Ie(e.priority,function(){vp(n)})}else if(31===t){if(null!==(t=c(n)))return e.blockedOn=t,void Ie(e.priority,function(){vp(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Fp(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Sp(e.nativeEvent);if(null!==n)return null!==(t=Xe(n))&&yp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);At=r,n.target.dispatchEvent(r),At=null,t.shift()}return!0}function Ip(e,t,n){Fp(e)&&n.delete(t)}function zp(){Cp=!1,null!==Pp&&Fp(Pp)&&(Pp=null),null!==Tp&&Fp(Tp)&&(Tp=null),null!==qp&&Fp(qp)&&(qp=null),Op.forEach(Ip),Rp.forEach(Ip)}function Vp(e,t){e.blockedOn===t&&(e.blockedOn=null,Cp||(Cp=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,zp)))}var $p=null;function Bp(e){$p!==e&&($p=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){$p===e&&($p=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Ep(r||n))continue;break}var a=Xe(n);null!==a&&(e.splice(t,3),t-=3,ts(a,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Up(e){function t(t){return Vp(t,e)}null!==Pp&&Vp(Pp,e),null!==Tp&&Vp(Tp,e),null!==qp&&Vp(qp,e),Op.forEach(t),Rp.forEach(t);for(var n=0;n<Ap.length;n++){var r=Ap[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Ap.length&&null===(n=Ap[0]).blockedOn;)Np(n),null===n.blockedOn&&Ap.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],a=n[r+1],i=o[$e]||null;if("function"==typeof a)i||Bp(n);else if(i){var s=null;if(a&&a.hasAttribute("formAction")){if(o=a,i=a[$e]||null)s=i.formAction;else if(null!==Ep(o))continue}else s=i.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Bp(n)}}}function Wp(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return o=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==o&&(o(),o=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==o&&(o(),o=null)}}}function Hp(e){this._internalRoot=e}function Qp(e){this._internalRoot=e}Qp.prototype.render=Hp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));fp(t.current,Hu(),e,t,null,null)},Qp.prototype.unmount=Hp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fp(e.current,2,null,e,null,null),Zu(),t[Be]=null}},Qp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Fe();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ap.length&&0!==t&&t<Ap[n].priority;n++);Ap.splice(n,0,e),0===n&&Np(e)}};var Kp=o.version;if("19.2.4"!==Kp)throw Error(i(527,Kp,"19.2.4"));L.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=l(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return d(o),e;if(a===r)return d(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,u=o.child;u;){if(u===n){s=!0,n=o,r=a;break}if(u===r){s=!0,r=o,n=a;break}u=u.sibling}if(!s){for(u=a.child;u;){if(u===n){s=!0,n=a,r=o;break}if(u===r){s=!0,r=a,n=o;break}u=u.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?p(e):null)?null:e.stateNode};var Gp={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.4"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Yp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yp.isDisabled&&Yp.supportsFiber)try{ye=Yp.inject(Gp),ve=Yp}catch(e){}}t.createRoot=function(e,t){if(!s(e))throw Error(i(299));var n=!1,r="",o=ks,a=Es,l=js;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=pp(e,1,!1,null,0,n,r,null,o,a,l,Wp),e[Be]=t.current,Zc(e),new Hp(t)}},"../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.production.js"(e,t,n){"use strict";var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(o(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t?t="string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,a="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:a}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:a,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
2ing"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.2.4"},"../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/client.js"(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.production.js")},"../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/index.js"(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.production.js")},"../../../node_modules/.pnpm/[email protected]/node_modules/react-fast-compare/index.js"(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!==l--;)if(!a(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!a(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!==l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!a(e[u[l]],i[u[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},"../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-helmet/es/Helmet.js"(e,t,n){"use strict";n.d(t,{m:()=>le});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/prop-types/index.js"),o=n.n(r),a=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-side-effect/lib/index.js"),i=n.n(a),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/react-fast-compare/index.js"),l=n.n(s),u=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),c=n("../../../node_modules/.pnpm/[email protected]/node_modules/object-assign/index.js"),d=n.n(c),p="bodyAttributes",m="htmlAttributes",f="titleAttributes",h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},g=(Object.keys(h).map(function(e){return h[e]}),"charset"),y="cssText",v="href",_="http-equiv",b="innerHTML",w="itemprop",x="name",
2S="property",k="rel",E="src",j="target",C={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},P="defaultTitle",T="defer",q="encodeSpecialCharacters",O="onChangeClientState",R="titleTemplate",A=Object.keys(C).reduce(function(e,t){return e[C[t]]=t,e},{}),D=[h.NOSCRIPT,h.SCRIPT,h.STYLE],L="data-react-helmet",M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},z=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},V=function(e){var t=H(e,h.TITLE),n=H(e,R);if(n&&t)return n.replace(/%s/g,function(){return Array.isArray(t)?t.join(""):t});var r=H(e,P);return t||r||void 0},$=function(e){return H(e,O)||function(){}},B=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return F({},e,t)},{})},U=function(e,t){return t.filter(function(e){return void 0!==e[h.BASE]}).map(function(e){return e[h.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t},[])},W=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&X("Helmet: "+e+' should be of type "Array". Instead found type "'+M(t[e])+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var o={};n.filter(function(e){for(var n=void 0,a=Object.keys(e),i=0;i<a.length;i++){var s=a[i],l=s.toLowerCase();-1===t.indexOf(l)||n===k&&"canonical"===e[n].toLowerCase()||l===k&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==b&&s!==y&&s!==w||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var a=Object.keys(o),i=0;i<a.length;i++){var s=a[i],l=d()({},r[s],o[s]);r[s]=l}return e},[]).reverse()},H=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Q=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Q(t)},0)}}(),K=function(e){return clearTimeout(e)},G="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Q:globalThis.requestAnimationFrame||Q,Y="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||K:globalThis.cancelAnimationFrame||K,X=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},J=null,Z=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,c=e.styleTags,d=e.title,p=e.titleAttributes;ne(h.BODY,r),ne(h.HTML,o),te(d,p);var m={baseTag:re(h.BASE,n),linkTags:re(h.LINK,a),metaTags:re(h.META,i),noscriptTags:re(h.NOSCRIPT,s),scriptTags:re(h.SCRIPT,u),styleTags:re(h.STYLE,c)},f={},g={};Object.keys(m).forEach(function(e){var t=m[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(g[e]=m[e].oldTags)}),t&&t(),l(e,f,g)},ee=function(e){return Array.isArray(e)?e.join(""):e},te=function(e,t){void 0!==e&&document.title!==e&&(document.title=ee(e)),ne(h.TITLE,t)},ne=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(L),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),s=0;s<i.length;s++){var l=i[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===o.indexOf(l)&&o.push(l);var c=a.indexOf(l);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d--)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute(L):n.getAttribute(L)!==i.join(",")&&n.setAttribute(L,i.join(","))}},re=function(e,t){var n=document.head||document.querySelector(h.HEAD),r=n.querySelectorAll(e+"["+L+"]"),o=Array.prototype.slice.call(r),a=[],i=void 0;return t&&t.length&&t.forEach(function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===b)n.innerHTML=t.innerHTML;else if(r===y)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(L,"true"),o.some(function(e,t){return i=t,n.isEqualNode(e)})?o.splice(i,1):a.push(n)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),a.forEach(function(e){return n.appendChild(e)}),{oldTags:o,newTags:a}},oe=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,n){return t[C[n]||n]=e[n],t},t)},ie=function(e,t,n){switch(e){case h.TITLE:return{toComponent:function(){return function(e,t,n){var r,o=((r={key:t})[L]=!0,r),a=ae(n,o);return[u.createElement(h.TITLE,a,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var o=oe(n),a=ee(t);return o?"<"+e+" "+L+'="true" '+o+">"+z(a,r)+"</"+e+">":"<"+e+" "+L+'="true">'+z(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case p:case m:return{toComponent:function(){return ae(t)},toString:function(){return oe(t)}};default:return{toComponent:function(){return function(e,t){return t.map(function(t,n){var r,o=((r={key:n})[L]=!0,r);return Object.keys(t).forEach(function(e){var n=C[e]||e;if(n===b||n===y){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]}),u.createElement(e,o)})}(e,t)},toString:function(){return function(e,t,n){return t.reduce(function(t,r){var o=Object.keys(r).filter(function(e){return!(e===b||e===y)}).reduce(function(e,t){var o=void 0===r[t]?t:t+'="'+z(r[t],n)+'"';return e?e+" "+o:o},""),a=r.innerHTML||r.cssText||"",i=-1===D.indexOf(e);return t+"<"+e+" "+L+'="true" '+o+(i?"/>":">"+a+"</"+e+">")},"")}(e,t,n)}}}},se=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.scriptTags,u=e.styleTags,c=e.title,d=void 0===c?"":c,f=e.titleAttributes;return{base:ie(h.BASE,t,r),bodyAttributes:ie(p,n,r),htmlAttributes:ie(m,o,r),link:ie(h.LINK,a,r),meta:ie(h.META,i,r),noscript:ie(h.NOSCRIPT,s,r),script:ie(h.SCRIPT,l,r),style:ie(h.STYLE,u,r),title:ie(h.TITLE,{title:d,titleAttributes:f},r)}},le=function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!l()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case h.SCRIPT:case h.NOSCRIPT:return{innerHTML:t};case h.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,a=e.nestedChildren;return F({},r,((t={})[n.type]=[].concat(r[n.type]||[],[F({},o,this.mapNestedChildrenToProps(n,a))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case h.TITLE:return F({},o,((t={})[r.type]=i,t.titleAttributes=F({},a),t));case h.BODY:return F({},o,{bodyAttributes:F({},a)});case h.HTML:return F({},o,{htmlAttributes:F({},a)})}return F({},o,((n={})[r.type]=F({},a),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=F({},t);return Object.keys(e).forEach(function(t){var r;n=F({},n,((r={})[t]=e[t],r))}),n}
2,n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return u.Children.forEach(e,function(e){if(e&&e.props){var o=e.props,a=o.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,n){return t[A[n]||n]=e[n],t},t)}(I(o,["children"]));switch(n.warnOnInvalidChildren(e,a),e.type){case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:i,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:a})}}}),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=I(t,["children"]),o=F({},r);return n&&(o=this.mapChildrenToProps(n,o)),u.createElement(e,o)},N(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(u.Component),t.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=se({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}(i()(function(e){return{baseTag:U([v,j],e),bodyAttributes:B(p,e),defer:H(e,T),encode:H(e,q),htmlAttributes:B(m,e),linkTags:W(h.LINK,[k,v],e),metaTags:W(h.META,[x,g,_,S,w],e),noscriptTags:W(h.NOSCRIPT,[b],e),onChangeClientState:$(e),scriptTags:W(h.SCRIPT,[E,b],e),styleTags:W(h.STYLE,[y],e),title:V(e),titleAttributes:B(f,e)}},function(e){J&&Y(J),e.defer?J=G(function(){Z(e,function(){J=null})}):(Z(e),J=null)},se)(function(){return null}));
vendor: 10,209 bytes, line 2
2le.renderStatic=le.rewind},"../../../node_modules/.pnpm/[email protected]/node_modules/react-is/cjs/react-is.production.min.js"(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case s:case i:case m:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case h:case l:return e;default:return t}}case o:return t}}}function x(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=m,t.isAsyncMode=function(e){return x(e)||w(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===m||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===_||e.$$typeof===b||e.$$typeof===y)},t.typeOf=w},"../../../node_modules/.pnpm/[email protected]/node_modules/react-is/index.js"(e,t,n){"use strict";e.exports=n("../../../node_modules/.pnpm/[email protected]/node_modules/react-is/cjs/react-is.production.min.js")},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-remove-scroll/dist/es2015/Combination.js"(e,t,n){"use strict";n.d(t,{A:()=>W});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/tslib/tslib.es6.mjs"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a="right-scroll-bar-position",i="width-before-scroll-bar";function s(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var l="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,u=new WeakMap;function c(e,t){var n=function(e,t){var n=(0,o.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}(t||null,function(t){return e.forEach(function(e){return s(e,t)})});return l(function(){var t=u.get(n);if(t){var r=new Set(t),o=new Set(e),a=n.current;r.forEach(function(e){o.has(e)||s(e,null)}),o.forEach(function(e){r.has(e)||s(e,a)})}u.set(n,e)},[e]),n}function d(e){return e}function p(e,t){void 0===t&&(t=d);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}var m=function(e){void 0===e&&(e={});var t=p(null);return t.options=(0,r.Cl)({async:!0,ssr:!1},e),t}(),f=function(){},h=o.forwardRef(function(e,t){var n=o.useRef(null),a=o.useState({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:f}),i=a[0],s=a[1],l=e.forwardProps,u=e.children,d=e.className,p=e.removeScrollBar,h=e.enabled,g=e.shards,y=e.sideCar,v=e.noRelative,_=e.noIsolation,b=e.inert,w=e.allowPinchZoom,x=e.as,S=void 0===x?"div":x,k=e.gapMode,E=(0,r.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=y,C=c([n,t]),P=(0,r.Cl)((0,r.Cl)({},E),i);return o.createElement(o.Fragment,null,h&&o.createElement(j,{sideCar:m,removeScrollBar:p,shards:g,noRelative:v,noIsolation:_,inert:b,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:k}),l?o.cloneElement(o.Children.only(u),(0,r.Cl)((0,r.Cl)({},P),{ref:C})):o.createElement(S,(0,r.Cl)({},P,{className:d,ref:C}),u))});h.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},h.classNames={fullWidth:i,zeroRight:a};var g=function(e){var t=e.sideCar,n=(0,r.Tt)(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw new Error("Sidecar medium not found");return o.createElement(a,(0,r.Cl)({},n))};g.isSideCarExport=!0;var y=n("../../../node_modules/.pnpm/[email protected]/node_modules/get-nonce/dist/es2015/index.js");var v=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=(0,y.m)();return t&&e.setAttribute("nonce",t),e}())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_=function(){var e=function(){var e=v();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}}();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},b={left:0,top:0,right:0,gap:0},w=function(e){return parseInt(e||"",10)||0},x=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return b;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[w(n),w(r),w(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},S=_(),k="data-scroll-locked",E=function(e,t,n,r){var o=e.left,s=e.top,l=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(k,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(s,"px;\n    padding-right: ").concat(l,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(a," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(i," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(a," .").concat(a," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(i," .").concat(i," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(k,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},j=function(){var e=parseInt(document.body.getAttribute(k)||"0",10);return isFinite(e)?e:0},C=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=void 0===r?"margin":r;o.useEffect(function(){return document.body.setAttribute(k,(j()+1).toString()),function(){var e=j()-1;e<=0?document.body.removeAttribute(k):document.body.setAttribute(k,e.toString())}},[]);var i=o.useMemo(function(){return x(a)},[a]);return o.createElement(S,{styles:E(i,!t,a,n?"":"!important")})},P=!1;if("undefined"!=typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return P=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){P=!1}var q=!!P&&{passive:!1},O=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},R=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),A(e,r)){var o=D(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},A=function(e,t){return"v"===e?function(e){return O(e,"overflowY")}(t):function(e){return O(e,"overflowX")}(t)},D=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},L=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},M=function(e){return[e.deltaX,e.deltaY]},N=function(e){return e&&"current"in e?e.current:e},F=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},I=0,z=[];function V(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const $=(B=function(e){var t=o.useRef([]),n=o.useRef([0,0]),a=o.useRef(),i=o.useState(I++)[0],s=o.useState(_)[0],l=o.useRef(e);o.useEffect(function(){l.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,r.fX)([e.lockRef.current],(e.shards||[]).map(N),!0).filter(
2Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var r,o=L(e),i=n.current,s="deltaX"in e?e.deltaX:i[0]-o[0],u="deltaY"in e?e.deltaY:i[1]-o[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=window.getSelection(),m=p&&p.anchorNode;if(m&&(m===c||m.contains(c)))return!1;var f=R(d,c);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=R(d,c)),!f)return!1;if(!a.current&&"changedTouches"in e&&(s||u)&&(a.current=r),!r)return!0;var h=a.current||r;return function(e,t,n,r,o){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=a*r,s=n.target,l=t.contains(s),u=!1,c=i>0,d=0,p=0;do{if(!s)break;var m=D(e,s),f=m[0],h=m[1]-m[2]-a*f;(f||h)&&A(e,s)&&(d+=h,p+=f);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&Math.abs(d)<1||!o&&i>d)||!c&&(o&&Math.abs(p)<1||!o&&-i>p))&&(u=!0),u}(h,t,e,"h"===h?s:u,!0)},[]),c=o.useCallback(function(e){var n=e;if(z.length&&z[z.length-1]===s){var r="deltaY"in n?M(n):L(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(l.current.shards||[]).map(N).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?u(n,a[0]):!l.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),d=o.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:V(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),p=o.useCallback(function(e){n.current=L(e),a.current=void 0},[]),m=o.useCallback(function(t){d(t.type,M(t),t.target,u(t,e.lockRef.current))},[]),f=o.useCallback(function(t){d(t.type,L(t),t.target,u(t,e.lockRef.current))},[]);o.useEffect(function(){return z.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:f}),document.addEventListener("wheel",c,q),document.addEventListener("touchmove",c,q),document.addEventListener("touchstart",p,q),function(){z=z.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,q),document.removeEventListener("touchmove",c,q),document.removeEventListener("touchstart",p,q)}},[]);var h=e.removeScrollBar,g=e.inert;return o.createElement(o.Fragment,null,g?o.createElement(s,{styles:F(i)}):null,h?o.createElement(C,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},m.useMedium(B),g);var B,U=o.forwardRef(function(e,t){return o.createElement(h,(0,r.Cl)({},e,{ref:t,sideCar:$}))});U.classNames=h.classNames;const W=U},"../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-side-effect/lib/index.js"(e,t,n){"use strict";var r,o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,u=[];function c(){l=e(u.map(function(e){return e.props})),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return l}
vendor: 5,741 bytes, line 2
2,o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,u=[],e};var i=o.prototype;return i.UNSAFE_componentWillMount=function(){u.push(this),c()},i.componentDidUpdate=function(){c()},i.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),c()},i.render=function(){return a.createElement(r,this.props)},o}(o.PureComponent);return i(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(d,"canUseDOM",s),d}}},"../../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react-jsx-runtime.production.js"(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},"../../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.production.js"(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function v(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}function _(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=v.prototype;var w=b.prototype=new _;w.constructor=b,g(w,v.prototype),w.isPureReactComponent=!0;var x=Array.isArray;function S(){}var k={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function j(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function q(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c=!1;if(null===e)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case p:return q((c=e._init)(e._payload),t,o,a,i)}}if(c)return i=i(e),c=""===a?"."+T(e,0):a,x(i)?(o="",null!=c&&(o=c.replace(P,"$&/")+"/"),q(i,t,o,"",function(e){return e})):null!=i&&(C(i)&&(l=i,u=o+(null==i.key||e&&e.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+c,i=j(l.type,u,l.props)),t.push(i)),1;c=0;var d,m=""===a?".":a+":";if(x(e))for(var h=0;h<e.length;h++)c+=q(a=e[h],t,o,s=m+T(a,h),i);else if("function"==typeof(h=null===(d=e)||"object"!=typeof d?null:"function"==typeof(d=f&&d[f]||d["@@iterator"])?d:null))for(e=h.call(e),h=0;!(a=e.next()).done;)c+=q(a=a.value,t,o,s=m+T(a,h++),i);else if("object"===s){if("function"==typeof e.then)return q(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,o,a,i);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function O(e,t,n){if(null==e)return e;var r=[],o=0;return q(e,r,"","",function(e){return t.call(n,e,o++)}),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},D={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};t.Activity=m,t.Children=D,t.Component=v,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return k.H.useMemoCache(e)}}
vendor: 6,276 bytes, line 2
2,t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.key&&(o=""+t.key),t)!E.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];r.children=i}return j(e.type,o,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,o={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)E.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return j(e,a,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=k.T,n={};k.T=n;try{var r=e(),o=k.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(S,A)}catch(e){A(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),k.T=t}},t.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},t.use=function(e){return k.H.use(e)},t.useActionState=function(e,t,n){return k.H.useActionState(e,t,n)},t.useCallback=function(e,t){return k.H.useCallback(e,t)},t.useContext=function(e){return k.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return k.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return k.H.useEffect(e,t)},t.useEffectEvent=function(e){return k.H.useEffectEvent(e)},t.useId=function(){return k.H.useId()},t.useImperativeHandle=function(e,t,n){return k.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return k.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return k.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return k.H.useMemo(e,t)},t.useOptimistic=function(e,t){return k.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return k.H.useReducer(e,t,n)},t.useRef=function(e){return k.H.useRef(e)},t.useState=function(e){return k.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return k.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return k.H.useTransition()},t.version="19.2.4"},"../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"(e,t,n){"use strict";e.exports=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react.production.js")},"../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"(e,t,n){"use strict";e.exports=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/cjs/react-jsx-runtime.production.js")},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/core/cache.js"(e,t,n){"use strict";n.d(t,{k:()=>j});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/caches/lib/weak.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js"),a=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/trie/lib/index.js"),i=n("../../../node_modules/.pnpm/[email protected]/node_modules/optimism/lib/index.js"),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/map.js"),l=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/tap.js"),u=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/shareReplay.js"),c=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/Observable.js"),d=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilChanged.js"),p=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/share.js"),m=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/ReplaySubject.js"),f=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/timer.js"),h=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/canonicalStringify.js"),g=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js"),y=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),v=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentDefinition.js"),_=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/mapObservableFragment.js"),b=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/empty.js");var w=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/equalByQuery.js"),x=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");function S(e,t){let n=t;const r=[];
2e.definitions.forEach(e=>{if("OperationDefinition"===e.kind)throw(0,x.vA)(10,e.operation,e.name?` named '${e.name.value}'`:"");"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&((0,x.V1)(1===r.length,11,r.length),n=r[0].name.value);return{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}},...e.definitions]}}function k(...e){return i.NS.bind(null,...e)}var E=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/index.production.js");class j{assumeImmutableResults=!1;lookupFragment(e){return null}batch(e){const t="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;let n;return this.performTransaction(()=>n=e.update(this),t),n}recordOptimisticTransaction(e,t){this.performTransaction(e,t)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,t=!!e.optimistic){return this.read({...e,rootId:e.id||"ROOT_QUERY",optimistic:t})}fragmentWatches=new a.b(!0);watchFragment(e){const{fragment:t,fragmentName:n,from:r}=e,a=this.getFragmentDoc(t,n),i=(Array.isArray(r)?r:[r]).map(e=>{const r=null==e?e:this.toCacheId(e);if(y.g){const e=n||(0,v.E)(t).name.value;void 0===r&&y.g&&x.V1.warn(113,e)}return r});if(!Array.isArray(r)){const t=this.watchSingleFragment(i[0],a,e);return null===r?t:(0,_.Q)(t,Symbol.for("apollo.transform.individualResult"),e=>({...e,data:e.data??{}}))}let d;function p(e){const t=e.reduce((e,t,n)=>(e.data.push(t.data),e.complete&&=t.complete,e.dataState=e.complete?"complete":"partial",t.missing&&(e.missing||={},e.missing[n]=t.missing),e),{data:[],dataState:"complete",complete:!0});return(0,o.L)(d,t)||(d=t),d}if(0===i.length)return q;let m=!1;const f=i.map(t=>this.watchSingleFragment(t,a,e)),h=function(e){return 0===e.length?b.w:new c.c(t=>{const{length:n}=e,r=new Array(n),o=new Map;e.forEach((e,t)=>{o.has(e)||o.set(e,new Set),o.get(e).add(t)});let a,i=o.size,s=o.size;o.forEach((n,o)=>{let l=!1;const u=o.subscribe({next:i=>{n.forEach(e=>r[e]=i),l||(l=!0,s--),s||(a||=new Set(e.filter(e=>e.dirty)),a.delete(o),a.size||(t.next(r.slice()),a=void 0))},complete:()=>{i--,i||t.complete()},error:t.error.bind(t)});t.add(u)})})}(f).pipe((0,s.T)(p),(0,l.M)({subscribe:()=>m=!0,unsubscribe:()=>m=!1}),(0,u.t)({bufferSize:1,refCount:!0}));return Object.assign(h,{getCurrentResult:()=>{if(m&&d)return d;const e=f.map(e=>e.getCurrentResult());return p(e)}})}onAfterBroadcast=e=>e();watchSingleFragment(e,t,n){if(null===e)return P;const{optimistic:r=!0,variables:o}=n,a=[t,(0,h.M)({id:e,optimistic:r,variables:o})],i=this.fragmentWatches.lookupArray(a);if(!i.observable){let s,l=!1;function u(e){const r=e.result;return s&&(0,w.a)(t,{data:s.data},{data:r},n.variables)||(s={data:r,dataState:e.complete?"complete":"partial",complete:e.complete},e.missing&&(s.missing=e.missing.missing)),s}const g=new c.c(n=>{l=!0;const i=this.watch({variables:o,returnPartialData:!0,id:e,query:t,optimistic:r,immediate:!0,callback:e=>{g.dirty=!0,this.onAfterBroadcast(()=>{n.next(u(e)),g.dirty=!1})}});return()=>{l=!1,i(),this.fragmentWatches.removeArray(a)}}).pipe((0,d.F)(),(0,p.u)({connector:()=>new m.m(1),resetOnRefCountZero:()=>(0,f.O)(0)}));i.observable=Object.assign(g,{dirty:!1,getCurrentResult:()=>l&&s?s:u(this.diff({id:e,query:t,returnPartialData:!0,optimistic:r,variables:o}))})}return i.observable}getFragmentDoc=(0,i.LV)(S,{max:g.v["cache.fragmentQueryDocuments"]||1e3,cache:r.l,makeCacheKey:k(this)});readFragment(e,t=!!e.optimistic){const n=void 0!==e.from?this.toCacheId(e.from):e.id;return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:n,optimistic:t})}writeQuery({id:e,data:t,...n}){return this.write(Object.assign(n,{dataId:e||"ROOT_QUERY",result:t}))}writeFragment({data:e,fragment:t,fragmentName:n,...r}){const o=void 0!==r.from?this.toCacheId(r.from):r.id;return this.write(Object.assign(r,{query:this.getFragmentDoc(t,n),dataId:o,result:e}))}updateQuery(e,t){return this.batch({update(n){const r=n.readQuery(e),o=t(r);return null==o?r:(n.writeQuery({...e,data:o}),o)}})}updateFragment(e,t){return this.batch({update(n){const r=n.readFragment(e),o=t(r);return null==o?r:(n.writeFragment({...e,data:o}),o)}})}toCacheId(e){return"string"==typeof e?e:this.identify(e)}}y.g&&(j.prototype.getMemoryInternals=E.tQ);const C=Object.freeze({data:null,dataState:"complete",complete:!0}),P=Object.assign(new c.c(e=>{e.next(C)}),{dirty:!1,getCurrentResult:()=>C}),T=Object.freeze({data:[],dataState:"complete",complete:!0}),q=Object.assign(new c.c(e=>{e.next(T)}),{getCurrentResult:()=>T})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/core/types/common.js"(e,t,n){"use strict";n.d(t,{Z:()=>r});
2class r extends Error{message;path;query;variables;constructor(e,t,n,o){if(super(e),this.message=e,this.path=t,this.query=n,this.variables=o,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let e=this.path.length-1;e>=0;--e)this.missing={[this.path[e]]:this.missing}}else this.missing=this.path;this.__proto__=r.prototype}missing}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/helpers.js"(e,t,n){"use strict";n.d(t,{$3:()=>m,I6:()=>g,T9:()=>b,Ui:()=>y,d1:()=>w,gk:()=>v,iJ:()=>_,lq:()=>S,mv:()=>x,or:()=>f});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/storeUtils.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/compact.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/createFragmentMap.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/DeepMerger.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentDefinitions.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isArray.js"),u=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isField.js"),c=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonNullObject.js"),d=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/resultKeyNameFromField.js"),p=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/shouldInclude.js");const{hasOwnProperty:m}=Object.prototype;function f({__typename:e,id:t,_id:n},r){if("string"==typeof e&&(r&&(r.keyObject=null!=t?{id:t}:null!=n?{_id:n}:void 0),null==t&&null!=n&&(t=n),null!=t))return`${e}:${"number"==typeof t||"string"==typeof t?t:JSON.stringify(t)}`}const h={dataIdFromObject:f,resultCaching:!0};function g(e){return(0,o.o)(h,e)}function y(e,t){return(0,r.A)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}const v=/^[_a-z][_0-9a-z]*/i;function _(e){const t=e.match(v);return t?t[0]:e}function b(e,t,n){return!!(0,c.U)(t)&&((0,l.c)(t)?t.every(t=>b(e,t,n)):e.selections.every(e=>{if((0,u.d)(e)&&(0,p.M)(e,n)){const r=(0,d.u)(e);return m.call(t,r)&&(!e.selectionSet||b(e.selectionSet,t[r],n))}return!0}))}function w(e){return(0,c.U)(e)&&!(0,r.A)(e)&&!(0,l.c)(e)}function x(){return new i.Z}function S(e,t){const n=(0,a.J)((0,s.z)(e));return{fragmentMap:n,lookupFragment(e){let r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js"(e,t,n){"use strict";n.d(t,{D:()=>Le});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/optimism/lib/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/DocumentTransform.js"),i=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/kinds.mjs"),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/visitor.mjs");const l={kind:i.b.FIELD,name:{kind:i.b.NAME,value:"__typename"}},u=Object.assign(function(e){return(0,s.YR)(e,{SelectionSet:{enter(e,t,n){if(n&&n.kind===i.b.OPERATION_DEFINITION)return;const{selections:r}=e;if(!r)return;if(r.some(e=>e.kind===i.b.FIELD&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))))return;const o=n;return o.kind===i.b.FIELD&&o.directives&&o.directives.some(e=>"export"===e.name.value)?void 0:{...e,selections:[...r,l]}}}})},{added:e=>e===l});var c=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js"),d=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/canonicalStringify.js"),p=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/print.js"),m=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/storeUtils.js"),f=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),h=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/index.production.js"),g=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"),y=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/core/cache.js"),v=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/trie/lib/index.js"),_=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/DeepMerger.js");function b(e){return{__ref:String(e)}}var w=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js"),x=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonNullObject.js"),S=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/helpers.js");const k={},E=()=>k,j={};class C{policies;group;data={};constructor(e,t){this.policies=e,this.group=t}toObject(){return{...this.data}}has(e){return void 0!==this.lookup(e,!0)}get(e,t){if(this.group.depend(e,t),S.$3.call(this.data,e)){const n=this.data[e];if(n&&S.$3.call(n,t))return n[t]}return"__typename"===t&&S.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof O?this.parent.get(e,t):void 0}lookup(e,t){return t&&this.group.depend(e,"__exists"),S.$3.call(this.data,e)?this.data[e]:this instanceof O?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?{}:void 0}merge(e,t){let n;(0,m.A)(e)&&(e=e.__ref),(0,m.A)(t)&&(t=t.__ref);
2const r="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(!o)return;(0,g.V1)("string"==typeof n,99);const a=new _.Z({reconciler:A}).merge(r,o);if(this.data[n]=a,a!==r&&(delete this.refs[n],this.group.caching)){const e={};r||(e.__exists=1),Object.keys(o).forEach(t=>{if(!r||r[t]!==a[t]){e[t]=1;const n=(0,S.iJ)(t);n===t||this.policies.hasKeyArgs(a.__typename,n)||(e[n]=1),void 0!==a[t]||this instanceof O||delete a[t]}}),!e.__typename||r&&r.__typename||this.policies.rootTypenamesById[n]!==a.__typename||delete e.__typename,Object.keys(e).forEach(e=>this.group.dirty(n,e))}}modify(e,t,n){const r=this.lookup(e);if(r){const o={};let a=!1,i=!0;const s={DELETE:k,INVALIDATE:j,isReference:m.A,toReference:this.toReference,canRead:this.canRead,readField:(t,n)=>this.policies.readField("string"==typeof t?{fieldName:t,from:n||b(e)}:t,{store:this})};if(Object.keys(r).forEach(l=>{const u=(0,S.iJ)(l);let c=r[l];if(void 0===c)return;const d="function"==typeof t?t:t[l]||(n?void 0:t[u]);if(d){let t=d===E?k:d((0,w.G)(c),{...s,fieldName:u,storeFieldName:l,storage:this.getStorage(e,l)});if(t===j)this.group.dirty(e,l);else if(t===k&&(t=void 0),t!==c&&(o[l]=t,a=!0,c=t,f.g)){const e=e=>{if(void 0===this.lookup(e.__ref))return f.g&&g.V1.warn(100,e),!0};if((0,m.A)(t))e(t);else if(Array.isArray(t)){let n,r=!1;for(const o of t){if((0,m.A)(o)){if(r=!0,e(o))break}else if("object"==typeof o&&o){const[e]=this.policies.identify(o);e&&(n=o)}if(r&&void 0!==n){f.g&&g.V1.warn(101,n);break}}}}}void 0!==c&&(i=!1)}),a)return this.merge(e,o),i&&(this instanceof O?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1}delete(e,t,n){const r=this.lookup(e);if(r){const o=this.getFieldValue(r,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?{[a]:E}:E,!!n)}return!1}evict(e,t){let n=!1;return e.id&&(S.$3.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof O&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n}clear(){this.replace(null)}extract(){const e=this.toObject(),t=[];return this.getRootIdSet().forEach(e=>{S.$3.call(this.policies.rootTypenamesById,e)||t.push(e)}),t.length&&(e.__META={extraRootIds:t.sort()}),e}replace(e){if(Object.keys(this.data).forEach(t=>{e&&S.$3.call(e,t)||this.delete(t)}),e){const{__META:t,...n}=e;Object.keys(n).forEach(e=>{this.merge(e,n[e])}),t&&t.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){const t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof O?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){const e=this.getRootIdSet(),t=this.toObject();e.forEach(n=>{S.$3.call(t,n)&&(Object.keys(this.findChildRefIds(n)).forEach(e.add,e),delete t[n])});const n=Object.keys(t);if(n.length){let e=this;for(;e instanceof O;)e=e.parent;n.forEach(t=>e.delete(t))}return n}refs={};findChildRefIds(e){if(!S.$3.call(this.refs,e)){const t=this.refs[e]={},n=this.data[e];if(!n)return t;const r=new Set([n]);r.forEach(e=>{(0,m.A)(e)&&(t[e.__ref]=!0),(0,x.U)(e)&&Object.keys(e).forEach(t=>{const n=e[t];(0,x.U)(n)&&r.add(n)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,t)=>(0,w.G)((0,m.A)(e)?this.get(e.__ref,t):e&&e[t]);canRead=e=>(0,m.A)(e)?this.has(e.__ref):"object"==typeof e;toReference=(e,t)=>{if("string"==typeof e)return b(e);if((0,m.A)(e))return e;const[n]=this.policies.identify(e);if(n){const r=b(n);return t&&this.merge(n,e),r}};get supportsResultCaching(){return this.group.caching}}class P{caching;parent;d=null;keyMaker;constructor(e,t=null){this.caching=e,this.parent=t,this.resetCaching()}resetCaching(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new v.b}depend(e,t){if(this.d){this.d(T(e,t));const n=(0,S.iJ)(t);n!==t&&this.d(T(e,n)),this.parent&&this.parent.depend(e,t)}}dirty(e,t){this.d&&this.d.dirty(T(e,t),"__exists"===t?"forget":"setDirty")}}function T(e,t){return t+"#"+e}function q(e,t){D(e)&&e.group.depend(t,"__exists")}C.Root=class extends C{constructor({policies:e,resultCaching:t=!0,seed:n}){super(e,new P(t)),n&&this.replace(n)}stump=new R(this);addLayer(e,t){return this.stump.addLayer(e,t)}removeLayer(){return this}storageTrie=new v.b;getStorage(){return this.storageTrie.lookupArray(arguments)}};class O extends C{id;parent;replay;group;constructor(e,t,n,r){super(t.policies,r),this.id=e,this.parent=t,this.replay=n,this.group=r,n(this)}addLayer(e,t){return new O(e,this,t,this.group)}removeLayer(e){const t=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEac
2h(e=>{const n=this.data[e],o=t.lookup(e);o?n?n!==o&&Object.keys(n).forEach(t=>{(0,r.L)(n[t],o[t])||this.group.dirty(e,t)}):(this.group.dirty(e,"__exists"),Object.keys(o).forEach(t=>{this.group.dirty(e,t)})):this.delete(e)}),t):t===this.parent?this:t.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(e){const t=this.parent.findChildRefIds(e);return S.$3.call(this.data,e)?{...t,...super.findChildRefIds(e)}:t}getStorage(...e){let t=this.parent;for(;t.parent;)t=t.parent;return t.getStorage(...e)}}class R extends O{constructor(e){super("EntityStore.Stump",e,()=>{},new P(e.group.caching,e.group))}removeLayer(){return this}merge(e,t){return this.parent.merge(e,t)}}function A(e,t,n){const o=e[n],a=t[n];return(0,r.L)(o,a)?o:a}function D(e){return!(!e||!e.supportsResultCaching)}var L=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/masking/utils.js"),M=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/constants.js"),N=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/valueToObjectRepresentation.js");function F(e,t){if(e.arguments&&e.arguments.length){const n={};return e.arguments.forEach(({name:e,value:r})=>(0,N.J)(n,e,r,t)),n}return null}var I=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isArray.js");const z=["connection","include","skip","client","rest","export","nonreactive","stream"];let V=d.M;const $=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){const e=n.connection.filter?n.connection.filter:[];e.sort();const r={};e.forEach(e=>{r[e]=t[e]});const o=V(r);if("{}"!==o)return`${n.connection.key}(${o})`}return n.connection.key}let r=e;if(t){const e=V(t);"{}"!==e&&(r+=`(${e})`)}return n&&Object.keys(n).forEach(e=>{-1===z.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?r+=`@${e}(${V(n[e])})`:r+=`@${e}`)}),r},{setStringify(e){const t=V;return V=e,t}});var B=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js"),U=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonEmptyArray.js");const W={};function H(e){const t=JSON.stringify(e);return W[t]||(W[t]={})}function Q(e){const t=H(e);return t.keyFieldsFn||(t.keyFieldsFn=(t,n)=>{const r=(e,t)=>n.readField(t,e),o=n.keyObject=G(e,e=>{let o=J(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&S.$3.call(t,e[0])&&(o=J(t,e,X)),(0,g.V1)(void 0!==o,102,e.join("."),t),o});return`${n.typename}:${JSON.stringify(o)}`})}function K(e){const t=H(e);return t.keyArgsFn||(t.keyArgsFn=(t,{field:n,variables:r,fieldName:o})=>{const a=G(e,e=>{const o=e[0],a=o.charAt(0);if("@"!==a){if("$"===a){const t=o.slice(1);if(r&&S.$3.call(r,t)){const n=e.slice(0);return n[0]=t,J(r,n)}return}if(t)return J(t,e)}else if(n&&(0,U.E)(n.directives)){const t=o.slice(1),a=n.directives.find(e=>e.name.value===t),i=a&&F(a,r);return i&&J(i,e.slice(1))}}),i=JSON.stringify(a);return(t||"{}"!==i)&&(o+=":"+i),o})}function G(e,t){const n=new _.Z;return Y(e).reduce((e,r)=>{let o=t(r);if(void 0!==o){for(let e=r.length-1;e>=0;--e)o={[r[e]]:o};e=n.merge(e,o)}return e},{})}function Y(e){const t=H(e);if(!t.paths){const n=t.paths=[],r=[];e.forEach((t,o)=>{(0,I.c)(t)?(Y(t).forEach(e=>n.push(r.concat(e))),r.length=0):(r.push(t),(0,I.c)(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function X(e,t){return e[t]}function J(e,t,n){return n=n||X,Z(t.reduce(function e(t,r){return(0,I.c)(t)?t.map(t=>e(t,r)):t&&n(t,r)},e))}function Z(e){return(0,x.U)(e)?(0,I.c)(e)?e.map(Z):G(Object.keys(e).sort(),t=>J(e,t)):e}var ee=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/reactiveVars.js");
2function te(e){return void 0!==e.args?e.args:e.field?F(e.field,e.variables):null}const ne=()=>{},re=(e,t)=>t.fieldName,oe=(e,t,{mergeObjects:n})=>n(e,t),ae=(e,t)=>t,ie=(e,t,{streamFieldInfo:n,existingData:r})=>{if(!e&&!r)return t;const o=[],a=e??r,i=n?.isLastChunk?t.length:Math.max(a.length,t.length);for(let e=0;e<i;e++)o[e]=void 0===t[e]?a[e]:t[e];return o};class se{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(e){this.config=e,this.config={dataIdFromObject:S.or,...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)}identify(e,t){const n=this,r=t&&(t.typename||t.storeObject?.__typename)||e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];const o=t&&t.storeObject||e,a={...t,typename:r,storeObject:o,readField:t&&t.readField||((...e)=>{const t=ue(e,o);return n.readField(t,{store:n.cache.data,variables:t.variables})})};let i;const s=r&&this.getTypePolicy(r);let l=s&&s.keyFn||this.config.dataIdFromObject;return L.y.withValue(!0,()=>{for(;l;){const t=l({...e,...o},a);if(!(0,I.c)(t)){i=t;break}l=Q(t)}}),i=i?String(i):void 0,a.keyObject?[i,a.keyObject]:[i]}addTypePolicies(e){Object.keys(e).forEach(t=>{const{queryType:n,mutationType:r,subscriptionType:o,...a}=e[t];n&&this.setRootTypename("Query",t),r&&this.setRootTypename("Mutation",t),o&&this.setRootTypename("Subscription",t),S.$3.call(this.toBeAdded,t)?this.toBeAdded[t].push(a):this.toBeAdded[t]=[a]})}updateTypePolicy(e,t,n){const r=this.getTypePolicy(e),{keyFields:o,fields:a}=t;function i(e,t){e.merge="function"==typeof t?t:!0===t?oe:!1===t?ae:e.merge}i(r,t.merge),r.keyFn=!1===o?ne:(0,I.c)(o)?Q(o):"function"==typeof o?o:r.keyFn,a&&Object.keys(a).forEach(t=>{let r=n[t];r&&r?.typename===e||(r=n[t]={typename:e});const o=a[t];if("function"==typeof o)r.read=o;else{const{keyArgs:e,read:t,merge:n}=o;r.keyFn=!1===e?re:(0,I.c)(e)?K(e):"function"==typeof e?e:r.keyFn,"function"==typeof t&&(r.read=t),i(r,n)}r.read&&r.merge&&(r.keyFn=r.keyFn||re)})}setRootTypename(e,t=e){const n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,g.V1)(!r||r===e,103,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(t=>{this.getSupertypeSet(t,!0),e[t].forEach(e=>{this.getSupertypeSet(e,!0).add(t);const n=e.match(S.gk);n&&n[0]===e||this.fuzzySubtypes.set(e,new RegExp(e))})})}getTypePolicy(e){if(!S.$3.call(this.typePolicies,e)){const t=this.typePolicies[e]={};t.fields={};let n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((t,r)=>{if(t.test(e)){const e=this.supertypeMap.get(r);e&&e.forEach(e=>n.add(e))}})),n&&n.size&&n.forEach(e=>{const{fields:n,...r}=this.getTypePolicy(e);Object.assign(t,r),Object.assign(t.fields,n)})}const t=this.toBeAdded[e];return t&&t.length&&t.splice(0).forEach(t=>{this.updateTypePolicy(e,t,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,t){if(e)return this.getTypePolicy(e).fields[t]}getSupertypeSet(e,t){let n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n}fragmentMatches(e,t,n,r){if(!e.typeCondition)return!0;if(!t)return!1;const o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o)){const a=this.getSupertypeSet(t,!0),i=[a],s=e=>{const t=this.getSupertypeSet(e,!1);t&&t.size&&i.indexOf(t)<0&&i.push(t)};let l=!(!n||!this.fuzzySubtypes.size),u=!1;for(let c=0;c<i.length;++c){const d=i[c];if(d.has(o))return a.has(o)||(u&&f.g&&g.V1.warn(104,t,o),a.add(o)),!0;d.forEach(s),l&&c===i.length-1&&(0,S.T9)(e.selectionSet,n,r)&&(l=!1,u=!0,this.fuzzySubtypes.forEach((e,n)=>{const r=t.match(e);r&&r[0]===t&&s(n)}))}}return!1}hasKeyArgs(e,t){const n=this.getFieldPolicy(e,t);return!(!n||!n.keyFn)}getStoreFieldName(e){const{typename:t,fieldName:n}=e,r=this.getFieldPolicy(t,n);
2let o,a=r&&r.keyFn;if(a&&t){const r={typename:t,fieldName:n,field:e.field||null,variables:e.variables},i=te(e);for(;a;){const e=a(i,r);if(!(0,I.c)(e)){o=e||n;break}a=K(e)}}return void 0===o&&(o=e.field?function(e,t){let n=null;e.directives&&(n={},e.directives.forEach(e=>{n[e.name.value]={},e.arguments&&e.arguments.forEach(({name:r,value:o})=>(0,N.J)(n[e.name.value],r,o,t))}));let r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(({name:e,value:n})=>(0,N.J)(r,e,n,t))),$(e.name.value,r,n)}(e.field,e.variables):$(n,te(e))),!1===o?n:n===(0,S.iJ)(o)?o:n+":"+o}readField(e,t){const n=e.from;if(!n)return;if(!(e.field||e.fieldName))return;if(void 0===e.typename){const r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}const r=this.getStoreFieldName(e),o=(0,S.iJ)(r),a=t.store.getFieldValue(n,r),i=this.getFieldPolicy(e.typename,o),s=i&&i.read;if(s){const o=le(this,n,e,t,t.store.getStorage((0,m.A)(n)?n.__ref:n,r));return ee.bl.withValue(this.cache,s,[a,o])}return a}getReadFunction(e,t){const n=this.getFieldPolicy(e,t);return n&&n.read}getMergeFunction(e,t,n){let r=this.getFieldPolicy(e,t),o=r&&r.merge;return!o&&n&&(r=this.getTypePolicy(n),o=r&&r.merge),o}runMergeFunction(e,t,{field:n,typename:o,merge:a,path:i},s,l){const u=e;if(a===oe)return ce(s.store)(e,t);if(a===ae)return t;s.overwrite&&(e=void 0);const c=s.extensions?.[M.DH]?.deref()?.peekArray(i);if(c){const{current:e,previous:n}=c;if(n&&(0,r.L)(n.incoming,t)&&(0,r.L)(n.streamFieldInfo,e))return n.result}const d=a(e,t,function(e,t,n,r,o,a){const i={...le(e,t,n,r,o),extensions:r.extensions,existingData:a},s=r.extensions;if(s&&M.DH in s){const{[M.DH]:e,...t}=s,r=e?.deref()?.peekArray(n.path);r&&(i.streamFieldInfo=r.current),i.extensions=0===Object.keys(t).length?void 0:t}return i}(this,void 0,{typename:o,fieldName:n.name.value,field:n,variables:s.variables,path:i},s,l||{},u));return c&&(c.previous={incoming:t,streamFieldInfo:c.current,result:d}),d}}function le(e,t,n,r,o){const a=e.getStoreFieldName(n),i=(0,S.iJ)(a),s=n.variables||r.variables,{toReference:l,canRead:u}=r.store;return{args:te(n),field:n.field||null,fieldName:i,storeFieldName:a,variables:s,isReference:m.A,toReference:l,storage:o,cache:e.cache,canRead:u,readField:(...n)=>e.readField(ue(n,t,s),r),mergeObjects:ce(r.store)}}function ue(e,t,n){const{0:r,1:o,length:a}=e;let i;return"string"==typeof r?i={fieldName:r,from:a>1?o:t}:(i={...r},S.$3.call(i,"from")||(i.from=t)),f.g&&void 0===i.from&&f.g&&g.V1.warn(105,(0,B.p)(Array.from(e))),void 0===i.variables&&(i.variables=n),i}function ce(e){return function(t,n){if((0,I.c)(t)||(0,I.c)(n))throw(0,g.vA)(106);if((0,x.U)(t)&&(0,x.U)(n)){const r=e.getFieldValue(t,"__typename"),o=e.getFieldValue(n,"__typename");if(r&&o&&r!==o)return n;if((0,m.A)(t)&&(0,S.d1)(n))return e.merge(t.__ref,n),t;if((0,S.d1)(t)&&(0,m.A)(n))return e.merge(t,n.__ref),n;if((0,S.d1)(t)&&(0,S.d1)(n))return{...t,...n}}return n}}var de=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getDefaultValues.js"),pe=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getQueryDefinition.js"),me=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getMainDefinition.js"),fe=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/shouldInclude.js"),he=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isField.js"),ge=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/resultKeyNameFromField.js"),ye=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentFromSelection.js");var ve=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/core/types/common.js");function _e(e){return[e.selectionSet,e.objectOrReference,e.context]}class be{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(e){this.config=e,this.executeSelectionSet=(0,o.LV)(e=>{const t=_e(e),n=this.executeSelectionSet.peek(...t);return n||(q(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:c.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:_e,makeCacheKey(e,t,n){if(D(n.store))return n.store.makeCacheKey(e,(0,m.A)(t)?t.__ref:t,n.varString)}}),this.executeSubSelectedArray=(0,o.LV)(e=>(q(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:c.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:e,array:t,context:n}){if(D(n.store))return n.store.makeCacheKey(e,t,n.varString)}})}diffQueryAgainstStore({store:e,query:t,rootId:n="ROOT_QUERY",variables:r,returnPartialData:o=!0}){const a=this.config.cache.policies;r={...(0,de.w)((0,pe.A)(t)),...r};const i=b(n),s=this.executeSelectionSet({selectionSet:(0,me.V)(t).selectionSet,objectOrReference:i,enclosingRef:i,context:{store:e,query:t,policies:a,variables:r,varString:(0,d.M)(r),...(0,S.lq)(t,this.config.fragments)}});let l;s.missing&&(l=new ve.Z(function(e){try{JSON.stringify(e,(e,t)=>{if("string"==typeof t)throw t;return t})}catch(e){return e}}(s.missing),s.missing,t,r));const u=!l,{result:c}=s;return{result:u?c:o?0===Object.keys(c).length?null:c:null,complete:u,missing:l}}isFresh(e,t,n,r){if(D(r.store)&&this.knownResults.get(e)===n){const o=this.executeSelectionSet.peek(n,t,r);if(o&&e===o.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:t,enclosingRef:n,context:r}){if((0,m.A)(t)&&!r.policies.rootTypenamesById[t.__ref]&&!r.store.has(t.__ref))return{result:{},missing:`Dangling reference to missing ${t.__ref} object`};const{variables:o,policies:a,store:s}=r,l=s.getFieldValue(t,"__typename"),c=[];let d;const p=new _.Z;function f(e,t){return e.missing&&(d=p.merge(d,{[t]:e.missing})),e.result}"string"!=typeof l||a.rootIdsByTypename[l]||c.push({__typename:l});const h=new Set(e.selections);
2h.forEach(e=>{if((0,fe.M)(e,o))if((0,he.d)(e)){let o=a.readField({fieldName:e.name.value,field:e,variables:r.variables,from:t},r);const i=(0,ge.u)(e);void 0===o?u.added(e)||(d=p.merge(d,{[i]:`Can't find field '${e.name.value}' on ${(0,m.A)(t)?t.__ref+" object":"object "+JSON.stringify(t,null,2)}`})):(0,I.c)(o)?o.length>0&&(o=f(this.executeSubSelectedArray({field:e,array:o,enclosingRef:n,context:r}),i)):e.selectionSet&&null!=o&&(o=f(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:o,enclosingRef:(0,m.A)(o)?o:n,context:r}),i)),void 0!==o&&c.push({[i]:o})}else{const t=(0,ye.H)(e,r.lookupFragment);if(!t&&e.kind===i.b.FRAGMENT_SPREAD)throw(0,g.vA)(107,e.name.value);t&&a.fragmentMatches(t,l)&&t.selectionSet.selections.forEach(h.add,h)}});const y={result:function(e){let t=e[0]||{};const n=e.length;if(n>1){const r=new _.Z;for(let o=1;o<n;++o)t=r.merge(t,e[o])}return t}(c),missing:d},v=(0,w.G)(y);return v.result&&this.knownResults.set(v.result,e),v}execSubSelectedArrayImpl({field:e,array:t,enclosingRef:n,context:r}){let o,a=new _.Z;function i(e,t){return e.missing&&(o=a.merge(o,{[t]:e.missing})),e.result}return e.selectionSet&&(t=t.filter(e=>void 0===e||r.store.canRead(e))),t=t.map((t,o)=>null===t?null:(0,I.c)(t)?i(this.executeSubSelectedArray({field:e,array:t,enclosingRef:n,context:r}),o):e.selectionSet?i(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:t,enclosingRef:(0,m.A)(t)?t:n,context:r}),o):(f.g&&function(e,t,n){if(!t.selectionSet){const r=new Set([n]);r.forEach(n=>{(0,x.U)(n)&&((0,g.V1)(!(0,m.A)(n),108,(0,S.Ui)(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}(r.store,e,t),t)),{result:t,missing:o}}}var we=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js"),xe=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/hasDirectives.js");const{toString:Se}=Object.prototype;function ke(e){return Ee(e)}function Ee(e,t){switch(Se.call(e)){case"[object Array]":{if((t=t||new Map).has(e))return t.get(e);const n=e.slice(0);return t.set(e,n),n.forEach(function(e,r){n[r]=Ee(e,t)}),n}case"[object Object]":{if((t=t||new Map).has(e))return t.get(e);const n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=Ee(e[r],t)}),n}default:return e}}function je(e,t,n){const r=`${t}${n}`;let o=e.flavors.get(r);return o||e.flavors.set(r,o=e.clientOnly===t&&e.deferred===n?e:{...e,clientOnly:t,deferred:n}),o}class Ce{cache;reader;fragments;constructor(e,t,n){this.cache=e,this.reader=t,this.fragments=n}writeToStore(e,{query:t,result:n,dataId:o,variables:a,overwrite:i,extensions:s}){const l=(0,we.V)(t),u=(0,S.mv)();a={...(0,de.w)(l),...a};const c={store:e,written:{},merge:(e,t)=>u.merge(e,t),variables:a,varString:(0,d.M)(a),...(0,S.lq)(t,this.fragments),overwrite:!!i,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:s},p=this.processSelectionSet({result:n||{},dataId:o,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:c,path:[]});if(!(0,m.A)(p))throw(0,g.vA)(109,n);return c.incomingById.forEach(({storeObject:t,mergeTree:n,fieldNodeSet:o},a)=>{const i=b(a);if(n&&n.map.size){const e=this.applyMerges(n,i,t,c);if((0,m.A)(e))return;t=e}if(f.g&&!c.overwrite){const e={};o.forEach(t=>{t.selectionSet&&(e[t.name.value]=!0)});const a=t=>!0===e[(0,S.iJ)(t)],s=e=>{const t=n&&n.map.get(e);return Boolean(t&&t.info&&t.info.merge)};Object.keys(t).forEach(e=>{a(e)&&!s(e)&&function(e,t,n,o){const a=e=>{const t=o.getFieldValue(e,n);return"object"==typeof t&&t},i=a(e);if(!i)return;const s=a(t);if(!s)return;if((0,m.A)(i))return;if((0,r.L)(i,s))return;if(Object.keys(i).every(e=>void 0!==o.getFieldValue(s,e)))return;const l=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),u=(0,S.iJ)(n),c=`${l}.${u}`;if(Ae.has(c))return;Ae.add(c);const d=[];
2(0,I.c)(i)||(0,I.c)(s)||[i,s].forEach(e=>{const t=o.getFieldValue(e,"__typename");"string"!=typeof t||d.includes(t)||d.push(t)});f.g&&g.V1.warn(112,u,l,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",c,Array.isArray(i)?[...i]:{...i},Array.isArray(s)?[...s]:{...s})}(i,t,e,c.store)})}e.merge(a,t)}),e.retain(p.__ref),p}processSelectionSet({dataId:e,result:t,selectionSet:n,context:r,mergeTree:o,path:a}){const{policies:i}=this.cache;let s={};const l=e&&i.rootTypenamesById[e]||De(t,n,r.fragmentMap)||e&&r.store.get(e,"__typename");"string"==typeof l&&(s.__typename=l);const c=(...e)=>{const t=ue(e,s,r.variables);if((0,m.A)(t.from)){const e=r.incomingById.get(t.from.__ref);if(e){const n=i.readField({...t,from:e.storeObject},r);if(void 0!==n)return n}}return i.readField(t,r)},d=new Set;this.flattenFields(n,t,r,l).forEach((e,n)=>{const r=(0,ge.u)(n),p=t[r],h=[...a,n.name.value];if(d.add(n),void 0!==p){const t=i.getStoreFieldName({typename:l,fieldName:n.name.value,field:n,variables:e.variables}),r=Te(o,t);let a,u=this.processFieldValue(p,n,n.selectionSet?je(e,!1,!1):e,r,h);n.selectionSet&&((0,m.A)(u)||(0,S.d1)(u))&&(a=c("__typename",u));const d=i.getMergeFunction(l,n.name.value,a);d?r.info={field:n,typename:l,merge:d,path:h}:(0,xe.d)(["stream"],n)&&Array.isArray(u)&&e.extensions?.[M.DH]?r.info={field:n,typename:l,merge:ie,path:h}:Re(o,t),s=e.merge(s,{[t]:u})}else!f.g||e.clientOnly||e.deferred||u.added(n)||i.getReadFunction(l,n.name.value)||g.V1.error(110,(0,ge.u)(n),t)});try{const[o,a]=i.identify(t,{typename:l,selectionSet:n,fragmentMap:r.fragmentMap,storeObject:s,readField:c});e=e||o,a&&(s=r.merge(s,a))}catch(t){if(!e)throw t}if("string"==typeof e){const a=b(e),i=r.written[e]||(r.written[e]=[]);if(i.indexOf(n)>=0)return a;if(i.push(n),this.reader&&this.reader.isFresh(t,a,n,r))return a;const l=r.incomingById.get(e);return l?(l.storeObject=r.merge(l.storeObject,s),l.mergeTree=qe(l.mergeTree,o),d.forEach(e=>l.fieldNodeSet.add(e))):r.incomingById.set(e,{storeObject:s,mergeTree:Oe(o)?void 0:o,fieldNodeSet:d}),a}return s}processFieldValue(e,t,n,r,o){return t.selectionSet&&null!==e?(0,I.c)(e)?e.map((e,a)=>{const i=this.processFieldValue(e,t,n,Te(r,a),[...o,a]);return Re(r,a),i}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r,path:o}):f.g?ke(e):e}flattenFields(e,t,n,r=De(t,e,n.fragmentMap)){const o=new Map,{policies:a}=this.cache,s=new v.b(!1);return function e(l,u){const c=s.lookup(l,u.clientOnly,u.deferred);c.visited||(c.visited=!0,l.selections.forEach(s=>{if(!(0,fe.M)(s,n.variables))return;let{clientOnly:l,deferred:c}=u;if(l&&c||!(0,U.E)(s.directives)||s.directives.forEach(e=>{const t=e.name.value;if("client"===t&&(l=!0),"defer"===t){const t=F(e,n.variables);t&&!1===t.if||(c=!0)}}),(0,he.d)(s)){const e=o.get(s);e&&(l=l&&e.clientOnly,c=c&&e.deferred),o.set(s,je(n,l,c))}else{const o=(0,ye.H)(s,n.lookupFragment);if(!o&&s.kind===i.b.FRAGMENT_SPREAD)throw(0,g.vA)(111,s.name.value);o&&a.fragmentMatches(o,r,t,n.variables)&&e(o.selectionSet,je(n,l,c))}}))}(e,n),o}applyMerges(e,t,n,r,o){if(e.map.size&&!(0,m.A)(n)){const a=(0,I.c)(n)||!(0,m.A)(t)&&!(0,S.d1)(t)?void 0:t,i=n;let s;a&&!o&&(o=[(0,m.A)(a)?a.__ref:a]);const l=(e,t)=>(0,I.c)(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t));e.map.forEach((e,t)=>{const n=l(a,t),u=l(i,t);if(void 0===u)return;o&&o.push(t);const c=this.applyMerges(e,n,u,r,o);c!==u&&(s=s||new Map,s.set(t,c)),o&&(0,g.V1)(o.pop()===t)}),s&&(n=(0,I.c)(i)?i.slice(0):{...i}
2,s.forEach((e,t)=>{n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,o&&r.store.getStorage(...o)):n}}const Pe=[];function Te({map:e},t){return e.has(t)||e.set(t,Pe.pop()||{map:new Map}),e.get(t)}function qe(e,t){if(e===t||!t||Oe(t))return e;if(!e||Oe(e))return t;const n=e.info&&t.info?{...e.info,...t.info}:e.info||t.info,r=e.map.size&&t.map.size,o={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){const n=new Set(t.map.keys());e.map.forEach((e,r)=>{o.map.set(r,qe(e,t.map.get(r))),n.delete(r)}),n.forEach(n=>{o.map.set(n,qe(t.map.get(n),e.map.get(n)))})}return o}function Oe(e){return!e||!(e.info||e.map.size)}function Re({map:e},t){const n=e.get(t);n&&Oe(n)&&(Pe.push(n),e.delete(t))}const Ae=new Set;function De(e,t,n){let r;for(const n of t.selections)if((0,he.d)(n)){if("__typename"===n.name.value)return e[(0,ge.u)(n)]}else r?r.push(n):r=[n];if("string"==typeof e.__typename)return e.__typename;if(r)for(const t of r){const r=De(e,(0,ye.H)(t,n).selectionSet,n);if("string"==typeof r)return r}}class Le extends y.k{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new a.c(u);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=ee.UT;constructor(e={}){super(),this.config=(0,S.I6)(e),this.policies=new se({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){const e=this.data=new C.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){const{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new Ce(this,this.storeReader=new be({cache:this,fragments:e}),e),this.maybeBroadcastWatch=(0,o.LV)((e,t)=>this.broadcastWatch(e,t),{max:c.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:e=>{const t=e.optimistic?this.optimisticData:this.data;if(D(t)){const{optimistic:n,id:r,variables:o}=e;return t.makeCacheKey(e.query,e.callback,(0,d.M)({optimistic:n,id:r,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}restore(e){return this.init(),e&&this.data.replace(e),this}extract(e=!1){return(e?this.optimisticData:this.data).extract()}read(e){const{returnPartialData:t=!1}=e;return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t}).result}write(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}modify(e){if(S.$3.call(e,"id")&&!e.id)return!1;const t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields,!1)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}diff(e){return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config})}watch(e){return this.watches.size||(0,ee.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&(0,ee.WR)(this),this.maybeBroadcastWatch.forget(e)}}gc(e){d.M.reset(),p.y.reset();const t=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),t}retain(e,t){return(t?this.optimisticData:this.data).retain(e)}release(e,t){return(t?this.optimisticData:this.data).release(e)}identify(e){if((0,m.A)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){f.g&&g.V1.warn(e)}}evict(e){if(!e.id){if(S.$3.call(e,"id"))return!1;e={...e,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}reset(e){return this.init(),d.M.reset(),e&&e.discardWatches?(this.watches.forEach(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),(0,ee.WR)(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){const t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())}txCount=0;batch(e){const{update:t,optimistic:n=!0,removeOptimistic:r,onWatchUpdated:o}=e;let a;const i=e=>{const{data:n,optimisticData:r}=this;++this.txCount,e&&(this.data=this.optimisticData=e);try{return a=t(this)}finally{--this.txCount,this.data=n,this.optimisticData=r}},s=new Set;return o&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated:e=>
2(s.add(e),!1)}),"string"==typeof n?this.optimisticData=this.optimisticData.addLayer(n,i):!1===n?i(this.data):i(),"string"==typeof r&&(this.optimisticData=this.optimisticData.removeLayer(r)),o&&s.size?(this.broadcastWatches({...e,onWatchUpdated(e,t){const n=o.call(this,e,t);return!1!==n&&s.delete(e),n}}),s.size&&s.forEach(e=>this.maybeBroadcastWatch.dirty(e))):this.broadcastWatches(e),a}performTransaction(e,t){return this.batch({update:e,optimistic:t||null!==t})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,t){return this.policies.fragmentMatches(e,t)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}resolvesClientField(e,t){return!!this.policies.getReadFunction(e,t)}broadcastWatches(e){if(!this.txCount){const t=this.onAfterBroadcast,n=new Set;this.onAfterBroadcast=e=>{n.add(e)};try{this.watches.forEach(t=>this.maybeBroadcastWatch(t,e)),n.forEach(e=>e())}finally{this.onAfterBroadcast=t}}}addFragmentsToDocument(e){const{fragments:t}=this.config;return t?t.transform(e):e}broadcastWatch(e,t){const{lastDiff:n}=e,o=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(o.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,o,n))||n&&(0,r.L)(n.result,o.result)||e.callback(e.lastDiff=o,n)}}f.g&&(Le.prototype.getMemoryInternals=h.cM)},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/reactiveVars.js"(e,t,n){"use strict";n.d(t,{MS:()=>l,UT:()=>u,WR:()=>s,bl:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/optimism/lib/index.js");const o=new r.DX,a=new WeakMap;function i(e){let t=a.get(e);return t||a.set(e,t={vars:new Set,dep:(0,r.yN)()}),t}function s(e){i(e).vars.forEach(t=>t.forgetCache(e))}function l(e){i(e).vars.forEach(t=>t.attachCache(e))}function u(e){const t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(e=>{i(e).dep.dirty(r),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});const o=Array.from(n);n.clear(),o.forEach(t=>t(e))}}else{const e=o.getValue();e&&(a(e),i(e).dep(r))}return e};r.onNextChange=e=>(n.add(e),()=>{n.delete(e)});const a=r.attachCache=e=>(t.add(e),i(e).vars.add(r),r);return r.forgetCache=e=>t.delete(e),r}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/core/index.js"(e,t,n){"use strict";n.r(t),n.d(t,{ApolloCache:()=>Ge.k,ApolloClient:()=>$e,ApolloLink:()=>l.C,CombinedGraphQLErrors:()=>I.K,CombinedProtocolErrors:()=>He.d,DocumentTransform:()=>c.c,HttpLink:()=>kt,InMemoryCache:()=>Xe.D,LinkError:()=>$,LocalStateError:()=>Ue,MissingFieldError:()=>Ze.Z,NetworkStatus:()=>_e.p,Observable:()=>x.c,ObservableQuery:()=>Pe,ServerError:()=>Qe.g,ServerParseError:()=>We,UnconventionalError:()=>Ke.e,build:()=>_.j,checkFetcher:()=>ot,concat:()=>et,createHttpLink:()=>Et,createSignalIfSupported:()=>jt,defaultDataIdFromObject:()=>Ye.or,defaultPrinter:()=>yt,disableExperimentalFragmentVariables:()=>Pt.qj,disableFragmentWarnings:()=>Pt.gi,empty:()=>tt,enableExperimentalFragmentVariables:()=>Pt.VC,execute:()=>u,fallbackHttpConfig:()=>gt,from:()=>nt,gql:()=>Pt.J1,isNetworkRequestSettled:()=>te,isReference:()=>Ct.A,makeVar:()=>Je.UT,parseAndCheckHttpResponse:()=>ft,resetCaches:()=>Pt.Nh,rewriteURIForGET:()=>ht,selectHttpOptionsAndBody:()=>vt,selectHttpOptionsAndBodyInternal:()=>_t,selectURI:()=>bt,setLogVerbosity:()=>i.Q9,split:()=>rt,version:()=>_.r});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/ast.mjs"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/map.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/hasDirectives.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");class s{isIncrementalResult(e){return!1}prepareRequest(e){return(0,i.V1)(!(0,a.d)(["defer","stream"],e.query),67),e}extractErrors(){}startRequest=void 0}var l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/link/core/ApolloLink.js");const u=l.C.execute;var c=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/DocumentTransform.js"),d=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),p=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/mergeOptions.js"),m=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/compact.js"),f=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/checkDocument.js"),h=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/mapObservableFragment.js"),g=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/visitor.mjs");function y(e){return(0,g.YR)(e,{FragmentSpread(e){if(!e.directives?.some(({name:e})=>"unmask"===e.value))return null}})}var v=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/index.production.js"),_=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/version.js"),b=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/trie/lib/index.js"),w=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/kinds.mjs"),x=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/Observable.js"),S=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/throwError.js"),k=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js"),E=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/from.js"),j=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/lastValueFrom.js"),C=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/of.js"),P=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/catchError.js"),T=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/filter.js"),q=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/finalize.js"),O=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/share.js"),R=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/shareReplay.js"),A=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/Subject.js"),D=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/materialize.js"),L=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/concat.js"),M=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/empty.js"),N=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/tap.js"),F=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/canonicalStringify.js"),I=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js"),z=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/index.js");const V=new WeakSet;const $={is:e=>V.has(e)};var B=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js"),U=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/createFragmentMap.js"),W=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentDefinitions.js"),H=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js"),Q=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/resultKeyNameFromField.js"),K=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/masking/utils.js");function G(e,t,n){return K.y.withValue(!0,()=>{const r=Y(e,t,n,!1);return Object.isFrozen(e)&&(0,H.G)(r),r})}function Y(e,t,n,r,o){const{knownChanged:a}=n,s=function(e,t){if(t.has(e))return t.get(e);const n=Array.isArray(e)?[]:{};return t.set(e,n),n}(e,n.mutableTargets);if(Array.isArray(e)){for(const[i,l]of Array.from(e.entries())){if(null===l){s[i]=null;continue}const e=Y(l,t,n,r,d.g?`${o||""}[${i}]`:void 0);a.has(e)&&a.add(s),s[i]=e}return a.has(s)?s:e}for(const l of t.selections){let t;if(r&&a.add(s),l.kind===w.b.FIELD){const i=(0,Q.u)(l),u=l.selectionSet;if(t=s[i]||e[i],void 0===t)continue;if(u&&null!==t){const s=Y(e[i],u,n,r,d.g?`${o||""}.${i}`:void 0);a.has(s)&&(t=s)}d.g||(s[i]=t),d.g&&(r&&"__typename"!==i&&!Object.getOwnPropertyDescriptor(s,i)?.value?Object.defineProperty(s,i,X(i,t,o||"",n.operationName,n.operationType)):(delete s[i],s[i]=t))}if(l.kind!==w.b.INLINE_FRAGMENT||l.typeCondition&&!n.cache.fragmentMatches(l,e.__typename)||(t=Y(e,l.selectionSet,n,r,o)),l.kind===w.b.FRAGMENT_SPREAD){const r=l.name.value,a=n.fragmentMap[r]||(n.fragmentMap[r]=n.cache.lookupFragment(r));(0,i.V1)(a,39,r);const s=(0,K.s)(l);"mask"!==s&&(t=Y(e,a.selectionSet,n,"migrate"===s,o))}a.has(t)&&a.add(s)}return"__typename"in e&&!("__typename"in s)&&(s.__typename=e.__typename),Object.keys(s).length!==Object.keys(e).length&&a.add(s),a.has(s)?s:e}function X(e,t,n,r,o){let a=()=>(K.y.getValue()||(d.g&&i.V1.warn(40,r?`${o} '${r}'`:`anonymous ${o}`,`${n}.${e}`.replace(/^\./,"")),a=()=>t),t);return{get:()=>a(),set(e){a=()=>e},enumerable:!0,configurable:!0}}var J=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js");var Z=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js"),ee=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/print.js");function te(e){return 7===e||8===e}function ne(e){return!te(e)}var re=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationName.js");function oe(e){return!!e.errors?.length}function ae(e,t=()=>{}){return n=>new x.c(r=>{let o=t();return n.subscribe({next(t){let n;try{n=e(t,o)}catch(e){r.error(e)}void 0!==n&&r.next(n)},error(e){r.error(e)},complete(){r.complete()}})})}function ie(e){const t={data:e.data};return e.error&&(t.error=e.error),t}var se=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/caches.js");function le(e){let t=!1;return(0,g.YR)(e,{Directive:{enter(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(e=>"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value),t))return g.sP}}}),t}var ue=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentDefinition.js"),ce=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isArray.js"),de=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonEmptyArray.js");function pe(e,t){(0,f.s)(t);const n=me(""),r=me(""),o=e=>{for(let t,o=0;o<e.length&&(t=e[o]);++o)if(!(0,ce.c)(t)){if(t.kind===w.b.OPERATION_DEFINITION)return n(t.name&&t.name.value);if(t.kind===w.b.FRAGMENT_DEFINITION)return r(t.name.value)}return i.V1.error(14),null};let a=0;for(let e=t.definitions.length-1;e>=0;--e)t.definitions[e].kind===w.b.OPERATION_DEFINITION&&++a;const s=function(e){const t=new Map,n=new Map;
2return e.forEach(e=>{e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))}),e=>{let r=t.get(e.name.value);return!r&&n.size&&n.forEach((t,n)=>{n(e)&&(r=t)}),r}}(e),l=e=>(0,de.E)(e)&&e.map(s).some(e=>e&&e.remove),u=new Map;let c=!1;const d={enter(e){if(l(e.directives))return c=!0,null}},p=(0,g.YR)(t,{Field:d,InlineFragment:d,VariableDefinition:{enter:()=>!1},Variable:{enter(e,t,n,r,a){const i=o(a);i&&i.variables.add(e.name.value)}},FragmentSpread:{enter(e,t,n,r,a){if(l(e.directives))return c=!0,null;const i=o(a);i&&i.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter(e,t,n,r){u.set(JSON.stringify(r),e)},leave:(e,t,n,o)=>e===u.get(JSON.stringify(o))?e:a>0&&e.selectionSet.selections.every(e=>e.kind===w.b.FIELD&&"__typename"===e.name.value)?(r(e.name.value).removed=!0,c=!0,null):void 0},Directive:{leave(e){if(s(e))return c=!0,null}}});if(!c)return t;const m=e=>(e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(t=>{m(r(t)).transitiveVars.forEach(t=>{e.transitiveVars.add(t)})})),e),h=new Set;p.definitions.forEach(e=>{e.kind===w.b.OPERATION_DEFINITION?m(n(e.name&&e.name.value)).fragmentSpreads.forEach(e=>{h.add(e)}):e.kind!==w.b.FRAGMENT_DEFINITION||0!==a||r(e.name.value).removed||h.add(e.name.value)}),h.forEach(e=>{m(r(e)).fragmentSpreads.forEach(e=>{h.add(e)})});const y={enter(e){if(t=e.name.value,!h.has(t)||r(t).removed)return null;var t}};return function(e){return fe((0,B.V)(e)||(0,ue.E)(e),(0,U.J)((0,W.z)(e)))?null:e}((0,g.YR)(p,{FragmentSpread:y,FragmentDefinition:y,OperationDefinition:{leave(e){if(e.variableDefinitions){const t=m(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return{...e,variableDefinitions:e.variableDefinitions.filter(e=>t.has(e.variable.name.value))}}}}}))}function me(e){const t=new Map;return function(n=e){let r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function fe(e,t){return!e||e.selectionSet.selections.every(e=>e.kind===w.b.FRAGMENT_SPREAD&&fe(t[e.name.value],t))}var he=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getDefaultValues.js"),ge=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonNullObject.js");var ye=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/constants.js"),ve=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/makeUniqueId.js"),_e=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/core/networkStatus.js"),be=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js"),we=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/equalByQuery.js"),xe=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getQueryDefinition.js"),Se=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js");const{assign:ke,hasOwnProperty:Ee}=Object,je={loading:!0,networkStatus:_e.p.loading,data:void 0,dataState:"empty",partial:!0},Ce={loading:!1,networkStatus:_e.p.ready,data:void 0,dataState:"empty",partial:!0};class Pe{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:e,options:t,transformedQuery:n=e.transform(t.query)}){this.queryManager=e,this.waitForNetworkResult="network-only"===t.fetchPolicy,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:r="cache-first"}={}}=e.defaultOptions,{fetchPolicy:o=r,initialFetchPolicy:a=("standby"===o?r:o)}=t;t[ye._K]&&((0,i.V1)("standby"===o,80),this.variablesUnknown=!0),this.lastQuery=n,this.options={...t,initialFetchPolicy:a,fetchPolicy:o,variables:this.getVariablesWithDefaults(t.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const s=(0,B.V)(this.query);this.queryName=s&&s.name&&s.name.value}
2initializeObservablesQueue(){this.subject=new be.t({query:this.query,variables:this.variables,result:je,meta:{}});const e=this.subject.pipe((0,N.M)({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),ae(({query:e,variables:t,result:n,meta:r},o)=>{const{shouldEmit:a}=r;if(n===je&&(o.previous=void 0,o.previousVariables=void 0),"standby"===this.options.fetchPolicy||2===a)return;if(1===a)return l();const{previous:i,previousVariables:s}=o;if(i){const r=this.queryManager.getDocumentInfo(e),o=this.queryManager.dataMasking,a=o?r.nonReactiveQuery:e;if((o||r.hasNonreactiveDirective?(0,we.a)(a,i,n,t):(0,J.L)(i,n))&&(0,J.L)(s,t))return}if(3!==a||this.options.notifyOnNetworkStatusChange&&!(0,J.L)(i,n))return l();function l(){return o.previous=n,o.previousVariables=t,n}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new A.B,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e})}getInitialResult(e){let t=e||this.options.fetchPolicy;!this.queryManager.prioritizeCacheValues||"network-only"!==t&&"cache-and-network"!==t||(t="cache-first");const n=()=>{const e=this.getCacheDiff(),t=this.options.returnPartialData||e.complete?e.result??void 0:void 0;return this.maskResult({data:t,dataState:e.complete?"complete":void 0===t?"empty":"partial",loading:!e.complete,networkStatus:e.complete?_e.p.ready:_e.p.loading,partial:!e.complete})};switch(t){case"cache-only":return{...n(),loading:!1,networkStatus:_e.p.ready};case"cache-first":return n();case"cache-and-network":return{...n(),loading:!0,networkStatus:_e.p.loading};case"standby":return Ce;default:return je}}resubscribeCache(){const{variables:e,fetchPolicy:t}=this.options,n=this.query,r="standby"===t||"no-cache"===t||this.waitForNetworkResult,o=!Te({query:n,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((r||o)&&this.unsubscribeFromCache?.(),r||!o)return;const a={query:n,variables:e,optimistic:!0,watcher:this,callback:e=>{const t=this.queryManager.getDocumentInfo(n);if((t.hasClientExports||t.hasForcedResolvers)&&(a.lastDiff=void 0),a.lastOwnDiff===e)return;const{result:r}=this.subject.getValue();(e.complete||!r.error&&r!==je&&r!==Ce)&&((0,J.L)(r.data,e.result)||this.scheduleNotify())}},i=this.cache.watch(a);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,i()},{query:n,variables:e})}stableLastResult;getCurrentResult(){const{result:e}=this.subject.getValue();let t=e.networkStatus===_e.p.error||this.hasObservers()||"no-cache"===this.options.fetchPolicy?e:this.getInitialResult();return t===je&&(t=this.getInitialResult()),(0,J.L)(this.stableLastResult,t)||(this.stableLastResult=t),this.stableLastResult}refetch(e){const{fetchPolicy:t}=this.options,n={pollInterval:0};if(n.fetchPolicy="no-cache"===t?"no-cache":"network-only",d.g&&e&&Ee.call(e,"variables")){const t=(0,xe.A)(this.query),n=t.variableDefinitions;n&&n.some(e=>"variables"===e.variable.name.value)||d.g&&i.V1.warn(81,e,t.name?.value||t)}return e&&!(0,J.L)(this.variables,e)&&(n.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._lastWrite=void 0,this._reobserve(n,{newNetworkStatus:_e.p.refetch})}fetchMore({query:e,variables:t,context:n,errorPolicy:r,updateQuery:o}){(0,i.V1)("cache-only"!==this.options.fetchPolicy,82,(0,re.n)(this.query,"(anonymous)"));const a={...(0,m.o)(this.options,{errorPolicy:"none"},{query:e,context:n,errorPolicy:r}),variables:e?t:{...this.variables,...t},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};a.query=this.transformDocument(a.query),this.lastQuery=e?this.transformDocument(this.options.query):a.query;let s=!1;const l="no-cache"!==this.options.fetchPolicy;l||(0,i.V1)(o,83);const{finalize:u,pushNotification:c}=this.pushOperation(_e.p.fetchMore);c({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});const{promise:d,operator:p}=qe(),{observable:f}=this.queryManager.fetchObservableWithInfo(a,{networkStatus:_e.p.fetchMore,exposeExtensions:!0}),h=f.pipe(p,(0,T.p)(e=>"N"===e.kind&&"network"===e.source)).subscribe({next:e=>{s=!1;const t=e.value,n=t[ye.X];if(te(e.value.networkStatus)&&u(),l){const e=this.getCacheDiff();this.cache.batch({update:e=>{o?e.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:n},e=>o(e,{fetchMoreResult:t.data,variables:a.variables})):e.writeQuery({query:a.query,variables:a.variables,data:t.data,extensions:n})},onWatchUpdated:(n,r)=>{if(n.watcher===this&&!(0,J.L)(r.result,e.result)){s=!0;const e=this.getCurrentResult();ne(t.networkStatus)&&c({kind:"N",source:"network",value:{...e,networkStatus:t.networkStatus===_e.p.error?_e.p.ready:t.networkStatus,loading:!1,data:r.result,dataState:"streaming"===t.dataState?"streaming":"complete"}})}}})}else{const e=this.getCurrentResult(),n=o(e.data,{fetchMoreResult:t.data,variables:a.variables});c({kind:"N",value:{...e,networkStatus:_e.p.ready,loading:!1,data:n,dataState:"streaming"===e.dataState?"streaming":"complete"},source:"network"})}}});return(0,Se.X)(d.then(e=>ie(this.maskResult(e))).finally(()=>
2{if(h.unsubscribe(),u(),l&&!s){const e=this.getCurrentResult();"streaming"===e.dataState?c({kind:"N",source:"network",value:{...e,dataState:"complete",networkStatus:_e.p.ready}}):c({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(e){const t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:t=>{const{updateQuery:n,onError:r}=e,{error:o}=t;o?r?r(o):i.V1.error(84,o):n&&this.updateQuery((e,r)=>n(e,{subscriptionData:t,...r}))}});return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)&&t.unsubscribe()}}applyOptions(e){const t=(0,m.o)(this.options,e||{});ke(this.options,t),this.updatePolling()}async setVariables(e){return e=this.getVariablesWithDefaults(e),(0,J.L)(this.variables,e)?ie(this.getCurrentResult()):(this.options.variables=e,this.hasObservers()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:_e.p.setVariables}):ie(this.getCurrentResult()))}updateQuery(e){const{queryManager:t}=this,{result:n,complete:r}=this.getCacheDiff({optimistic:!1}),o=e(n,{variables:this.variables,complete:!!r,previousData:n});o&&(this.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,t){if(t.nextFetchPolicy){const{fetchPolicy:n="cache-first",initialFetchPolicy:r=n}=t;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy.call(t,n,{reason:e,options:t,observable:this,initialFetchPolicy:r}):t.fetchPolicy="variables-changed"===e?r:t.nextFetchPolicy)}return t.fetchPolicy}fetch(e,t,n,r){const o=this.options.fetchPolicy;e.context??={};let a=!1;let{observable:i,fromLink:s}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:t,query:n,onCacheHit:()=>{a=!0},fetchQueryOperator:e=>new x.c(n=>{try{return e.subscribe({next(e){a=!0,n.next(e)},error:e=>n.error(e),complete:()=>n.complete()})}finally{a||(c.override=t,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:l,variables:u,meta:{shouldEmit:3,fetchPolicy:o}}))}}),observableQuery:this});const{query:l,variables:u}=this,c={abort:()=>{p.unsubscribe()},query:l,variables:u};this.activeOperations.add(c);let d=t==_e.p.refetch||t==_e.p.setVariables;i=i.pipe(r,(0,O.u)());const p=i.pipe((0,N.M)({next:e=>{"newNetworkStatus"===e.source||"N"===e.kind&&e.value.loading?c.override=t:delete c.override},finalize:()=>this.activeOperations.delete(c)})).subscribe({next:e=>{const t={};d&&"N"===e.kind&&"loading"in e.value&&!e.value.loading&&(d=!1,t.shouldEmit=1),this.input.next({...e,query:l,variables:u,meta:t})}});return{fromLink:s,subscription:p,observable:i}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;const{pollingInfo:e,options:{fetchPolicy:t,pollInterval:n}}=this,r=()=>{const{options:e}=this;return!e.pollInterval||!this.hasObservers()||"cache-only"===e.fetchPolicy||"standby"===e.fetchPolicy};if(r())return d.g&&!this.didWarnCacheOnlyPolling&&n&&"cache-only"===t&&(d.g&&i.V1.warn(85,(0,re.n)(this.query,"(anonymous)")),this.didWarnCacheOnlyPolling=!0),void this.cancelPolling();if(e?.interval===n)return;(e||(this.pollingInfo={})).interval=n;const o=()=>{if(r())return this.cancelPolling();this.pollingInfo&&(ne(this.networkStatus)||this.options.skipPollAttempt?.()?a():this._reobserve({fetchPolicy:"no-cache"===this.options.initialFetchPolicy?"no-cache":"network-only"},{newNetworkStatus:_e.p.poll}).then(a,a))},a=()=>{const e=this.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(o,e.interval))};a()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,t){this.isTornDown=!1;let{newNetworkStatus:n}=t||{};this.queryManager.obsQueries.add(this);const r=n===_e.p.refetch||n===_e.p.poll,o=this.variables,a=this.options.fetchPolicy,i=(0,m.o)(this.options,e||{});this.variablesUnknown&&="standby"===i.fetchPolicy;const s=r?i:ke(this.options,i),l=this.transformDocument(s.query);this.lastQuery=l,e&&"variables"in e&&(s.variables=this.getVariablesWithDefaults(e.variables)),r||(this.updatePolling(),!e||!e.variables||(0,J.L)(e.variables,o)||"standby"===s.fetchPolicy||s.fetchPolicy!==a&&"function"!=typeof s.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",s),void 0===n&&(n=_e.p.setVariables)));const u=this.networkStatus;n||(n=_e.p.loading,u!==_e.p.loading&&e?.variables&&!(0,J.L)(e.variables,o)&&(n=_e.p.setVariables),"standby"===s.fetchPolicy&&(n=_e.p.ready)),"standby"===s.fetchPolicy&&this.cancelPolling(),this.resubscribeCache();const{promise:c,operator:d}=qe("standby"===s.fetchPolicy?{data:void 0}:void 0),{subscription:p,observable:f,fromLink:h}=this.fetch(s,n,l,d);r||!h&&this.linkSubscription||(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=p);const g=Object.assign((0,Se.X)(c.then(e=>ie(this.maskResult(e))).finally(()=>{this.hasObservers()||0!==this.activeOperations.size||this.tearDownQuery()})),{retain:()=>{const e=f.subscribe({}),t=()=>e.unsubscribe();return c.then(t,t),g}});return g}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e
2=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){const t=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return t===e.data?e:{...e,data:t}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(e=!1){if(!e){const e=this.queryManager.getDocumentInfo(this.query);if(e.hasClientExports||e.hasForcedResolvers)return}const{dirty:t}=this;if(this.resetNotifications(),t&&("cache-only"===this.options.fetchPolicy||"cache-and-network"===this.options.fetchPolicy||!this.activeOperations.size)){const e=this.getCacheDiff();(0,J.L)(e.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:e.result,dataState:e.complete?"complete":e.result?"partial":"empty",networkStatus:_e.p.ready,loading:!1,error:void 0,partial:!e.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(e){let t=!1;const{query:n,variables:r}=this,o=()=>{this.activeOperations.delete(a)},a={override:e,abort:()=>{t=!0,o()},query:n,variables:r};return this.activeOperations.add(a),{finalize:o,pushNotification:(e,o)=>{t||this.input.next({...e,query:n,variables:r,meta:{...o}})}}}calculateNetworkStatus(e){if(e===_e.p.streaming)return e;const t=Array.from(this.activeOperations.values()).reverse().find(e=>Te(e,this)&&void 0!==e.override);return t?.override??e}abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){const e="cache-only"===this.options.fetchPolicy;this.setResult(e?Ce:je,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,t){this.input.next({source:"setResult",kind:"N",value:e,query:this.query,variables:this.variables,meta:{...t}})}operator=ae(e=>{const{query:t,variables:n,meta:r}=e;if("setResult"===e.source)return{query:t,variables:n,result:e.value,meta:r};if("C"===e.kind||!Te(e,this))return;let o;const a=this.subject.getValue();if("cache"===e.source){if(o=e.value,o.networkStatus===_e.p.ready&&o.partial&&(!this.options.returnPartialData||a.result.networkStatus===_e.p.error)&&"cache-only"!==this.options.fetchPolicy)return}else if("network"===e.source)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),o="E"===e.kind?{...Te(a,e)?a.result:{data:void 0,dataState:"empty",partial:!0},error:e.error,networkStatus:_e.p.error,loading:!1}:e.value,"E"===e.kind&&"streaming"===o.dataState&&(o.dataState="complete"),o.error&&(r.shouldEmit=1);else if("newNetworkStatus"===e.source){const t=Te(a,e)?a.result:this.getInitialResult(r.fetchPolicy),{resetError:n}=e.value,i=n?void 0:t.error,s=i?_e.p.error:_e.p.ready;o={...t,error:i,networkStatus:s}}return(0,i.V1)(o),o.error||delete o.error,o.networkStatus=this.calculateNetworkStatus(o.networkStatus),o.loading=ne(o.networkStatus),o=this.maskResult(o),{query:t,variables:n,result:o,meta:r}});reobserveCacheFirst(){const{fetchPolicy:e,nextFetchPolicy:t}=this.options;"cache-and-network"===e||"network-only"===e?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(n,r){return this.nextFetchPolicy=t,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(n,r):e}}):this.reobserve()}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}}function Te(e,t){return!!(e&&t&&e.query===t.query&&(0,J.L)(e.variables,t.variables))}function qe(e){let t,n,r=e;return{promise:new Promise((e,r)=>{t=e,n=r}),operator:(0,N.M)({next(e){if("E"===e.kind)return n(e.error);"N"!==e.kind||"newNetworkStatus"===e.source||e.value.loading||(r=e.value)},finalize:()=>{if(r)t(r);else{const e="The operation was aborted.",t="AbortError";n("undefined"!=typeof DOMException?new DOMException(e,t):Object.assign(new Error(e),{name:t}))}}})}}const Oe={},Re=new WeakMap;function Ae(e,t){const n=e[t];"function"==typeof n&&(e[t]=function(){return Re.set(e,(Re.get(e)+1)%1e15),n.apply(this,arguments)})}const De=new WeakMap;class Le{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(e,t){const n=this.cache=e.cache,r=(De.get(e)||0)+1;De.set(e,r),this.id=r+"",this.observableQuery=t,this.queryManager=e,Re.has(n)||(Re.set(n,0),Ae(n,"evict"),Ae(n,"modify"),Ae(n,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(e){(this.observableQuery||this)._lastWrite=e}resetLastWrite(){this.lastWrite=void 0}shouldWrite(e,t){const{lastWrite:n}=this;return!(n&&n.dmCount===Re.get(this.cache)&&(0,J.L)(t,n.variables)&&(0,J.L)(e.data,n.result.data)&&e.extensions?.[ye.DH]===n.result.extensions?.[ye.DH])}get hasNext(){return!!this.incremental&&this.incremental.hasNext}maybeHandleIncrementalResult(e,t,n){const{incrementalHandler:r}=this.queryManager;return r.isIncrementalResult(t)?(this.incremental||=r.startRequest
2({query:n}),this.incremental.handle(e,t)):t}markQueryResult(e,{document:t,variables:n,errorPolicy:r,cacheWriteBehavior:o}){const a={query:t,variables:n,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();const i=0===o,s=i?void 0:this.cache.diff(a);let l=this.maybeHandleIncrementalResult(s?.result,e,t);return i||(Me(l,r)?this.cache.batch({onWatchUpdated:(e,t)=>{e.watcher===this.observableQuery&&(e.lastOwnDiff=t)},update:e=>{if(this.shouldWrite(l,n))e.writeQuery({query:t,data:l.data,variables:n,overwrite:1===o,extensions:l.extensions}),this.lastWrite={result:l,variables:n,dmCount:Re.get(this.cache)};else if(s&&s.complete)return void(l={...l,data:s.result});const r=e.diff(a);r.complete&&(l={...l,data:r.result})}}):this.lastWrite=void 0),l}markMutationResult(e,t,n=this.cache){const r=[],o=0===t.cacheWriteBehavior;let a=this.maybeHandleIncrementalResult(o?void 0:n.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}).result,e,t.document);if("ignore"===t.errorPolicy&&(a={...a,errors:[]}),oe(a)&&"none"===t.errorPolicy)return Promise.resolve(a);const i=()=>({...a,dataState:this.hasNext?"streaming":"complete"});if(!o&&Me(a,t.errorPolicy)){r.push({result:a.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables,extensions:a.extensions});const{updateQueries:e}=t;e&&this.queryManager.getObservableQueries("all").forEach(t=>{const n=t&&t.queryName;if(!n||!Object.hasOwnProperty.call(e,n))return;const o=e[n],{query:a,variables:s}=t,{result:l,complete:u}=t.getCacheDiff({optimistic:!1});if(u&&l){const e=o(l,{mutationResult:i(),queryName:a&&(0,re.n)(a)||void 0,queryVariables:s});e&&r.push({result:e,dataId:"ROOT_QUERY",query:a,variables:s})}})}let s=t.refetchQueries;if("function"==typeof s&&(s=s(i())),r.length>0||(s||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){const e=[];if(this.queryManager.refetchQueries({updateCache:e=>{o||r.forEach(t=>e.write(t));const{update:n}=t;if(n){if(!o){const n=e.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});n.complete&&(a={...a,data:n.result})}this.hasNext||n(e,a,{context:t.context,variables:t.variables})}o||t.keepRootFields||this.hasNext||e.modify({id:"ROOT_MUTATION",fields:(e,{fieldName:t,DELETE:n})=>"__typename"===t?e:n})},include:s,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(t=>e.push(t)),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(e).then(()=>a)}return Promise.resolve(a)}markMutationOptimistic(e,t){const n="function"==typeof e?e(t.variables,{IGNORE:Oe}):e;return n!==Oe&&(this.cache.recordOptimisticTransaction(e=>{try{this.markMutationResult({data:n},t,e)}catch(e){i.V1.error(e)}},this.id),!0)}markSubscriptionResult(e,{document:t,variables:n,errorPolicy:r,cacheWriteBehavior:o}){0!==o&&(Me(e,r)&&this.cache.write({query:t,result:e.data,dataId:"ROOT_SUBSCRIPTION",variables:n,extensions:e.extensions}),this.queryManager.broadcastQueries())}}function Me(e,t="none"){const n="ignore"===t||"all"===t;let r=!oe(e);return!r&&n&&e.data&&(r=!0),r}class Ne{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){const t=new c.c(e=>this.cache.transformDocument(e),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;const n=e.documentTransform;this.documentTransform=n?t.concat(n).concat(t):t,this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}
2stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches((0,i.vA)(87))}cancelPendingFetches(e){this.fetchCancelFns.forEach(t=>t(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:t,optimisticResponse:n,updateQueries:r,refetchQueries:a=[],awaitRefetchQueries:s=!1,update:l,onQueryUpdated:u,fetchPolicy:c,errorPolicy:p,keepRootFields:m,context:f}){const h=new Le(this);e=this.cache.transformForLink(this.transform(e));const{hasClientExports:g}=this.getDocumentInfo(e);t=this.getVariables(e,t),g&&(d.g&&(0,i.V1)(this.localState,88,(0,re.n)(e,"(anonymous)")),t=await this.localState.getExportedVariables({client:this.client,document:e,variables:t,context:f}));const y=this.mutationStore&&(this.mutationStore[h.id]={mutation:e,variables:t,loading:!0,error:null}),v=n&&h.markMutationOptimistic(n,{document:e,variables:t,cacheWriteBehavior:"no-cache"===c?0:2,errorPolicy:p,context:f,updateQueries:r,update:l,keepRootFields:m});return this.broadcastQueries(),new Promise((i,d)=>{const g={};return this.getObservableFromLink(e,{...f,optimisticResponse:v?n:void 0},t,c,{},!1).observable.pipe(Fe(),(0,k.Z)(n=>{const o={...n};return(0,E.H)(h.markMutationResult(o,{document:e,variables:t,cacheWriteBehavior:"no-cache"===c?0:2,errorPolicy:p,context:f,update:l,updateQueries:r,awaitRefetchQueries:s,refetchQueries:a,removeOptimistic:v?h.id:void 0,onQueryUpdated:u,keepRootFields:m}))})).pipe((0,o.T)(e=>{if(oe(e)&&"none"===p)throw new I.K(ze(e));return y&&(y.loading=!1,y.error=null),e})).subscribe({next:t=>{if(this.broadcastQueries(),!h.hasNext){const n={data:this.maskOperation({document:e,data:t.data,fetchPolicy:c,cause:g})};oe(t)&&(n.error=new I.K(t)),Object.keys(t.extensions||{}).length&&(n.extensions=t.extensions),i(n)}},error:e=>(y&&(y.loading=!1,y.error=e),v&&this.cache.removeOptimistic(h.id),this.broadcastQueries(),"ignore"===p?i({data:void 0}):"all"===p?i({data:void 0,error:e}):void d(e))})})}fetchQuery(e,t){return(0,f.s)(e.query,r.cE.QUERY),(async()=>(0,j.s)(this.fetchObservableWithInfo(e,{networkStatus:t}).observable.pipe(ae(e=>{switch(e.kind){case"E":throw e.error;case"N":if("newNetworkStatus"!==e.source)return ie(e.value)}})),{defaultValue:{data:void 0}}))()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new se.A(Z.v["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(e){const{transformCache:t}=this;if(!t.has(e)){const n=(0,B.V)(e),r={hasClientExports:(0,a.d)(["client","export"],e,!0),hasForcedResolvers:le(e),hasNonreactiveDirective:(0,a.d)(["nonreactive"],e),hasIncrementalDirective:(0,a.d)(["defer"],e),nonReactiveQuery:Ie(e),clientQuery:(0,a.d)(["client"],e)?e:null,serverQuery:pe([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),operationType:n?.operation,defaultVars:(0,he.w)(n),asQuery:{...e,definitions:e.definitions.map(e=>"OperationDefinition"===e.kind&&"query"!==e.operation?{...e,operation:"query"}:e)}};t.set(e,r)}const n=t.get(e);if(n.violation)throw n.violation;return n}getVariables(e,t){const n=this.getDocumentInfo(e).defaultVars,r=Object.entries(t??{}).map(([e,t])=>[e,void 0===t?n[e]:t]);return{...n,...Object.fromEntries(r)}}watchQuery(e){(0,f.s)(e.query,r.cE.QUERY);const t=this.transform(e.query);void 0===(e={...e,variables:this.getVariables(t,e.variables)}).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!0);return new Pe({queryManager:this,options:e,transformedQuery:t})}query(e){const t=this.transform(e.query);return this.fetchQuery({...e,query:t}).then(n=>({...n,data:this.maskOperation({document:t,data:n?.data,fetchPolicy:e.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches((0,i.vA)(89)),this.obsQueries.forEach(e=>{e.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(e)}getObservableQueries(e="active"){const t=new Set,n=new Map,r=new Map,o=new Set;return Array.isArray(e)&&e.forEach(e=>{if("string"==typeof e)n.set(e,e),r.set(e,!1);else if(t=e,(0,ge.U)(t)&&"Document"===t.kind&&Array.isArray(t.definitions)){const t=(0,ee.y)(this.transform(e));n.set(t,(0,re.n)(e)),r.set(t,!1)}else(0,ge.U)(e)&&e.query&&o.add(e);var t}
2),this.obsQueries.forEach(n=>{const o=(0,ee.y)(this.transform(n.options.query));if("all"===e)return void t.add(n);const{queryName:a,options:{fetchPolicy:i}}=n;"active"===e&&"standby"===i||("active"===e||a&&r.has(a)||o&&r.has(o))&&(t.add(n),a&&r.set(a,!0),o&&r.set(o,!0))}),o.size&&o.forEach(e=>{const n=new Pe({queryManager:this,options:{...(0,p.l)(this.defaultOptions.watchQuery,e),fetchPolicy:"network-only"}});t.add(n)}),d.g&&r.size&&r.forEach((e,t)=>{if(!e){const e=n.get(t);e?d.g&&i.V1.warn(90,e):d.g&&i.V1.warn(91)}}),t}refetchObservableQueries(e=!1){const t=[];return this.getObservableQueries(e?"all":"active").forEach(n=>{const{fetchPolicy:r}=n.options;!e&&"standby"===r||"cache-only"===r||t.push(n.refetch())}),this.broadcastQueries(),Promise.all(t)}startGraphQLSubscription(e){let{query:t,variables:n}=e;const{fetchPolicy:a="cache-first",errorPolicy:s="none",context:l={},extensions:u={}}=e;let c;(0,f.s)(t,r.cE.SUBSCRIPTION),t=this.transform(t),n=this.getVariables(t,n),d.g&&(0,i.V1)(!this.getDocumentInfo(t).hasClientExports||this.localState,92,(0,re.n)(t,"(anonymous)"));const p=(this.getDocumentInfo(t).hasClientExports?(0,E.H)(this.localState.getExportedVariables({client:this.client,document:t,variables:n,context:l})):(0,C.of)(n)).pipe((0,k.Z)(e=>{const{observable:n,restart:r}=this.getObservableFromLink(t,l,e,a,u),i=new Le(this);return c=r,n.pipe((0,o.T)(n=>{i.markSubscriptionResult(n,{document:t,variables:e,errorPolicy:s,cacheWriteBehavior:"no-cache"===a?0:2});const r={data:n.data??void 0};return oe(n)?r.error=new I.K(n):(0,z.uR)(n)&&(r.error=n.extensions[z.K$],delete n.extensions[z.K$]),n.extensions&&Object.keys(n.extensions).length&&(r.extensions=n.extensions),r.error&&"none"===s&&(r.data=void 0),"ignore"===s&&delete r.error,r}),(0,P.W)(e=>"ignore"===s?(0,C.of)({data:void 0}):(0,C.of)({data:void 0,error:e})),(0,T.p)(e=>!(!e.data&&!e.error)))}));return Object.assign(p,{restart:()=>c?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(e=>e.notify())}inFlightLinkObservables=new b.b(!1);getObservableFromLink(e,t,n,o,a,s=t?.queryDeduplication??this.queryDeduplication){let l={};const{serverQuery:c,clientQuery:p,operationType:m,hasIncrementalDirective:f}=this.getDocumentInfo(e),h=(0,re.n)(e),g={client:this.client};if(c){const{inFlightLinkObservables:y,link:v}=this;try{const _=this.incrementalHandler.prepareRequest({query:c,variables:n,context:{...this.defaultContext,...t,queryDeduplication:s},extensions:a});function b(e){return new x.c(t=>{function n(){return e.subscribe({next:t.next.bind(t),complete:t.complete.bind(t),error:t.error.bind(t)})}let r=n();return l.restart||=()=>{r.unsubscribe(),r=n()},()=>{r.unsubscribe(),l.restart=void 0}})}if(t=_.context,s){const w=(0,ee.y)(c),j=(0,F.M)(n);l=y.lookup(w,j),l.observable||(l.observable=u(v,_,g).pipe(b,(0,q.j)(()=>{y.peek(w,j)===l&&y.remove(w,j)}),m===r.cE.SUBSCRIPTION?(0,O.u)():(0,R.t)({refCount:!0})))}else l.observable=u(v,_,g).pipe(b)}catch(T){l.observable=(0,S.$)(()=>T)}}else l.observable=(0,C.of)({data:{}});if(p){const{operation:A}=(0,B.V)(e);d.g&&(0,i.V1)(this.localState,93,A[0].toUpperCase()+A.slice(1),h??"(anonymous)"),(0,i.V1)(!f,94,A[0].toUpperCase()+A.slice(1),h??"(anonymous)"),l.observable=l.observable.pipe((0,k.Z)(e=>(0,E.H)(this.localState.execute({client:this.client,document:p,remoteResult:e,context:t,variables:n,fetchPolicy:o}))))}return{restart:()=>l.restart?.(),observable:l.observable.pipe((0,P.W)(e=>{throw function(e){V.add(e)}(e=(0,z.$b)(e)),e}))}}getResultsFromLink(e,{queryInfo:t,cacheWriteBehavior:n,observableQuery:r,exposeExtensions:a}){const i=t.lastRequestId=this.generateRequestId(),{errorPolicy:s}=e,l=this.cache.transformForLink(e.query);return this.getObservableFromLink(l,e.context,e.variables,e.fetchPolicy).observable.pipe((0,o.T)(o=>{const i=t.markQueryResult(o,{...e,document:l,cacheWriteBehavior:n}),u=oe(i);if(u&&"none"===s)throw t.resetLastWrite(),r?.resetNotifications(),new I.K(ze(i));const c={data:i.data,...t.hasNext?{loading:!0,networkStatus:_e.p.streaming,dataState:"streaming",partial:!0}:{dataState:i.data?"complete":"empty",loading:!1,networkStatus:_e.p.ready,partial:!i.data}};return a&&"extensions"in i&&(c[ye.X]=i.extensions),u&&("none"===s&&(c.data=void 0,c.dataState="empty"),"ignore"!==s&&(c.error=new I.K(ze(i)),"streaming"!==c.dataState&&(c.networkStatus=_e.p.error))),c}),(0,P.W)(e=>{if(i>=t.lastRequestId&&"none"===s)throw t.resetLastWrite(),r?.resetNotifications(),e;const n={data:void 0,dataState:"empty",loading:!1,networkStatus:_e.p.ready,partial:!0};return"ignore"!==s&&(n.error=e,n.networkStatus=_e.p.error),(0,C.of)(n)}))}fetchObservableWithInfo(e,{networkStatus:t=_e.p.loading,query:n=e.query,fetchQueryOperator:r=e=>e,onCacheHit:o=()=>{},observableQuery:a,exposeExtensions:s}){const l=this.getVariables(n,e.variables);let{fetchPolicy:u="cache-first",errorPolicy:c="none",returnPartialData:p=!1,notifyOnNetworkStatusChange:m=!0,context:f={}}=e;!this.prioritizeCacheValues||"network-only"!==u&&"cache-and-network"!==u||(u="cache-first");const h=Object.assign({},e,{query:n,variables:l,fetchPolicy:u,errorPolicy:c,returnPartialData:p,notifyOnNetworkStatusChange:m,context:f}),g=new Le(this,a),y=n=>{h.variables=n;const i="no-cache"===u?0:t===_e.p.refetch&&"merge"!==h.refetchWritePolicy?1:2,l=this.fetchQueryByPolicy(h,{queryInfo:g,cacheWriteBehavior:i,onCacheHit:o,observableQuery:a,exposeExtensions:s});return l.observable=l.observable.pipe(r),"standby"!==h.fetchPolicy&&a?.applyNextFetchPolicy("after-fetch",e),l},v=()=>{this.fetchCancelFns.delete(g.id)};this.fetchCancelFns.set(g.id,e=>{_.next({kind:"E",error:e,source:"network"})});const _=new A.B;let b,w;
2if(this.getDocumentInfo(h.query).hasClientExports)d.g&&(0,i.V1)(this.localState,95,(0,re.n)(h.query,"(anonymous)")),b=(0,E.H)(this.localState.getExportedVariables({client:this.client,document:h.query,variables:h.variables,context:h.context})).pipe((0,k.Z)(e=>y(e).observable)),w=!0;else{const e=y(h.variables);w=e.fromLink,b=e.observable}return{observable:new x.c(e=>{e.add(v),b.subscribe(e),_.subscribe(e)}).pipe((0,O.u)()),fromLink:w}}refetchQueries({updateCache:e,include:t,optimistic:n=!1,removeOptimistic:r=(n?(0,ve.v)("refetchQueries"):void 0),onQueryUpdated:o}){const a=new Map;t&&this.getObservableQueries(t).forEach(e=>{if("cache-only"===e.options.fetchPolicy||e.variablesUnknown)return;const t=e.getCurrentResult();a.set(e,{oq:e,lastDiff:{result:t?.data,complete:!t?.partial}})});const i=new Map;if(e){const t=new Set;this.cache.batch({update:e,optimistic:n&&r||!1,removeOptimistic:r,onWatchUpdated(e,n,r){const s=e.watcher;if(s instanceof Pe&&!t.has(s)){if(t.add(s),o){a.delete(s);let e=o(s,n,r);return!0===e&&(e=s.refetch().retain()),!1!==e&&i.set(s,e),e}null!==o&&"cache-only"!==s.options.fetchPolicy&&a.set(s,{oq:s,lastDiff:r,diff:n})}}})}return a.size&&a.forEach(({oq:e,lastDiff:t,diff:n})=>{let r;o&&(n||(n=e.getCacheDiff()),r=o(e,n,t)),o&&!0!==r||(r=e.refetch().retain()),!1!==r&&i.set(e,r)}),r&&this.cache.removeOptimistic(r),i}noCacheWarningsByCause=new WeakSet;maskOperation(e){const{document:t,data:n}=e;if(d.g){const{fetchPolicy:n,cause:r={}}=e,o=(0,B.V)(t)?.operation;!this.dataMasking||"no-cache"!==n||function(e){let t=!0;return(0,g.YR)(e,{FragmentSpread:e=>{if(t=!!e.directives&&e.directives.some(e=>"unmask"===e.name.value),!t)return g.sP}}),t}(t)||this.noCacheWarningsByCause.has(r)||(this.noCacheWarningsByCause.add(r),d.g&&i.V1.warn(96,(0,re.n)(t,`Unnamed ${o??"operation"}`)))}return this.dataMasking?function(e,t,n){const r=(0,B.V)(t);return(0,i.V1)(r,43),null==e?e:G(e,r.selectionSet,{operationType:r.operation,operationName:r.name?.value,fragmentMap:(0,U.J)((0,W.z)(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(n,t,this.cache):n}maskFragment(e){const{data:t,fragment:n,fragmentName:r}=e;return this.dataMasking?function(e,t,n,r){const o=t.definitions.filter(e=>e.kind===w.b.FRAGMENT_DEFINITION);void 0===r&&((0,i.V1)(1===o.length,41,o.length),r=o[0].name.value);const a=o.find(e=>e.name.value===r);return(0,i.V1)(!!a,42,r),null==e||(0,J.L)(e,{})?e:G(e,a.selectionSet,{operationType:"fragment",operationName:a.name.value,fragmentMap:(0,U.J)((0,W.z)(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(t,n,this.cache,r):t}fetchQueryByPolicy({query:e,variables:t,fetchPolicy:n,errorPolicy:r,returnPartialData:a,context:s},{cacheWriteBehavior:l,onCacheHit:u,queryInfo:c,observableQuery:p,exposeExtensions:m}){const f=()=>this.cache.diff({query:e,variables:t,returnPartialData:!0,optimistic:!0}),h=(o,l)=>{const c=o.result;var p;d.g&&!a&&null!==c&&(p=o.missing,d.g&&p&&d.g&&i.V1.debug(86,p));const m=e=>(o.complete||a||(e=void 0),{data:e,dataState:o.complete?"complete":e?"partial":"empty",loading:ne(l),networkStatus:l,partial:!o.complete}),f=e=>(0,C.of)({kind:"N",value:m(e),source:"cache"});return(o.complete||a)&&this.getDocumentInfo(e).hasForcedResolvers?(d.g&&(0,i.V1)(this.localState,97,(0,re.n)(e,"(anonymous)")),u(),(0,E.H)(this.localState.execute({client:this.client,document:e,remoteResult:c?{data:c}:void 0,context:s,variables:t,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:n}).then(e=>({kind:"N",value:m(e.data||void 0),source:"cache"})))):"none"===r&&l===_e.p.refetch&&o.missing?f(void 0):f(c||void 0)},g=()=>this.getResultsFromLink({query:e,variables:t,context:s,fetchPolicy:n,errorPolicy:r},{cacheWriteBehavior:l,queryInfo:c,observableQuery:p,exposeExtensions:m}).pipe(Fe(),(0,D.O)(),(0,o.T)(e=>({...e,source:"network"})));switch(n){default:case"cache-first":{const e=f();return e.complete?{fromLink:!1,observable:h(e,_e.p.ready)}:a?{fromLink:!0,observable:(0,L.x)(h(e,_e.p.loading),g())}:{fromLink:!0,observable:g()}}case"cache-and-network":{const e=f();return e.complete||a?{fromLink:!0,observable:(0,L.x)(h(e,_e.p.loading),g())}:{fromLink:!0,observable:g()}}case"cache-only":return{fromLink:!1,observable:(0,L.x)(h(f(),_e.p.ready))};case"network-only":case"no-cache":return{fromLink:!0,observable:g()};case"standby":return{fromLink:!1,observable:M.w}}}}function Fe(){let e=!1;return(0,N.M)({next(){e=!0},complete(){(0,i.V1)(e,98)}})}function Ie(e){return(0,g.YR)(e,{FragmentSpread:e=>{if(!e.directives?.some(e=>"unmask"===e.name.value))return{...e,directives:[...e.directives||[],{kind:w.b.DIRECTIVE,name:{kind:w.b.NAME,value:"nonreactive"}}
2]}}})}function ze(e){if(null==e.extensions?.[ye.DH])return e;const{extensions:{[ye.DH]:t,...n},...r}=e;return Object.keys(n).length>0&&(r.extensions=n),r}let Ve=!1;class $e{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){d.g&&((0,i.V1)(e.cache,68),(0,i.V1)(e.link,69));const{cache:t,documentTransform:n,ssrMode:r=!1,ssrForceFetchDelay:o=0,queryDeduplication:a=!0,defaultOptions:l,defaultContext:u,assumeImmutableResults:c=t.assumeImmutableResults,localState:p,devtools:m,dataMasking:f,link:h,incrementalHandler:g=new s,experiments:y=[]}=e;this.link=h,this.cache=t,this.queryDeduplication=a,this.defaultOptions=l||{},this.devtoolsConfig={...m,enabled:m?.enabled??d.g},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=_.r,this.queryManager=new Ne({client:this,defaultOptions:this.defaultOptions,defaultContext:u,documentTransform:n,queryDeduplication:a,ssrMode:r,dataMasking:!!f,clientOptions:e,incrementalHandler:g,assumeImmutableResults:c,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:p}),this.prioritizeCacheValues=r||o>0,o&&setTimeout(()=>{this.prioritizeCacheValues=!1},o),this.devtoolsConfig.enabled&&this.connectToDevTools(),y.forEach(t=>t.call(this,e))}connectToDevTools(){if("undefined"==typeof window)return;const e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!Ve&&d.g&&(Ve=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(()=>{if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){const e=window.navigator,t=e&&e.userAgent;let n;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&d.g&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop()}watchQuery(e){return this.defaultOptions.watchQuery&&(e=(0,p.l)(this.defaultOptions.watchQuery,e)),this.queryManager.watchQuery(e)}query(e){return this.defaultOptions.query&&(e=(0,p.l)(this.defaultOptions.query,e)),d.g&&((0,i.V1)("cache-and-network"!==e.fetchPolicy,70),(0,i.V1)("standby"!==e.fetchPolicy,71),(0,i.V1)(e.query,72),(0,i.V1)("Document"===e.query.kind,73),(0,i.V1)(!e.returnPartialData,74),(0,i.V1)(!e.pollInterval,75),(0,i.V1)(!e.notifyOnNetworkStatusChange,76)),this.queryManager.query(e)}mutate(e){const t=(0,p.l)((0,m.o)({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),e);return d.g&&((0,i.V1)(t.mutation,77),(0,i.V1)("network-only"===t.fetchPolicy||"no-cache"===t.fetchPolicy,78)),(0,f.s)(t.mutation,r.cE.MUTATION),this.queryManager.mutate(t)}subscribe(e){const t={},n=this.queryManager.startGraphQLSubscription(e),r=n.pipe((0,o.T)(n=>({...n,data:this.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,cause:t})})));return Object.assign(r,{restart:n.restart})}readQuery(e,t=!1){return this.cache.readQuery({...e,query:this.transform(e.query)},t)}watchFragment(e){const t=this.queryManager.dataMasking,n=this.cache.watchFragment({...e,fragment:this.transform(e.fragment,t)});return d.g?(0,h.Q)(n,Symbol.for("apollo.transform.dev.mask"),t=>({...t,data:this.queryManager.maskFragment({...e,data:t.data})})):n}readFragment(e,t=!1){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},t)}writeQuery(e){const t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}writeFragment(e){const t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return u(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(t=>t!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(t=>t!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){const t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((e,t)=>{n.push(t),r.push(e)});const o=Promise.all(r);return o.queries=n,o.results=r,o.catch(e=>{d.g&&i.V1.debug(79,e)}),o}getObservableQueries(e="active"){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new c.c(y);transform(e,t=!1){const n=this.queryManager.transform(e);return t?this.maskedFragmentTransform.transformDocument(n):n}}d.g&&($e.prototype.getMemoryInternals=v.ep);var Be=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/utils.js");
2class Ue extends Error{static is(e){return(0,Be.t)(e,"LocalStateError")}path;constructor(e,t={}){super(e,{cause:t.sourceError}),this.name="LocalStateError",this.path=t.path,(0,Be.w)(this),Object.setPrototypeOf(this,Ue.prototype)}}class We extends Error{static is(e){return(0,Be.t)(e,"ServerParseError")}response;statusCode;bodyText;constructor(e,t){super(e instanceof Error?e.message:"Could not parse server response",{cause:e}),this.name="ServerParseError",this.response=t.response,this.statusCode=t.response.status,this.bodyText=t.bodyText,(0,Be.w)(this),Object.setPrototypeOf(this,We.prototype)}}var He=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/CombinedProtocolErrors.js"),Qe=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/ServerError.js"),Ke=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/UnconventionalError.js"),Ge=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/core/cache.js"),Ye=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/helpers.js"),Xe=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js"),Je=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/inmemory/reactiveVars.js"),Ze=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/cache/core/types/common.js");const et=l.C.concat,tt=l.C.empty,nt=l.C.from,rt=l.C.split,ot=e=>{(0,i.V1)(e||"undefined"!=typeof fetch,61)};class at extends l.C{constructor(e={}){super((t,n)=>{const r=t.client,o=r.queryManager.clientOptions,a=t.getContext();{const{name:n,version:r,transport:i="headers"}=(0,m.o)({},o.clientAwareness,e.clientAwareness,a.clientAwareness);"headers"===i&&t.setContext(({headers:e})=>({headers:(0,m.o)({"apollographql-client-name":n,"apollographql-client-version":r},e)}))}{const{transport:n="extensions"}=(0,m.o)({},o.enhancedClientAwareness,e.enhancedClientAwareness);"extensions"===n&&(t.extensions=(0,m.o)({clientLibrary:{name:"@apollo/client",version:r.version}},t.extensions)),"headers"===n&&t.setContext(({headers:e})=>({headers:(0,m.o)({"apollographql-library-name":"@apollo/client","apollographql-library-version":r.version},e)}))}return n(t)})}}function it(e,t){return(0,B.V)(e)?.operation===t}var st=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/maybe.js");const{hasOwnProperty:lt}=Object.prototype;function ut(e){return(0,ge.U)(e)&&"payload"in e}async function ct(e,t){for await(const n of async function*(e){const t=new TextDecoder("utf-8"),n=e.headers?.get("content-type"),r=n?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),o="\r\n--"+(r?r[1]??r[2]??r[3]??"-":"-");let a="";(0,i.V1)(e.body&&"function"==typeof e.body.getReader,62);const s=e.body.getReader();let l,u=!1,c=!1;const d=()=>c&&"-"==a[0]&&"-"==a[1];try{for(;!u;){({value:l,done:u}=await s.read());const e="string"==typeof l?l:t.decode(l),n=a.length-o.length+1;a+=e;let r=a.indexOf(o,n);for(;r>-1&&!d();){let e;c=!0,[e,a]=[a.slice(0,r),a.slice(r+o.length)];const t=e.indexOf("\r\n\r\n"),n=dt(e.slice(0,t))["content-type"];if(n&&-1===n.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");const i=e.slice(t);i&&(yield i),r=a.indexOf(o)}if(d())return}throw new Error("premature end of multipart body")}finally{s.cancel()}}(e)){const r=pt(e,n);if(0!=Object.keys(r).length)if(ut(r)){if(1===Object.keys(r).length&&null===r.payload)return;let e={...r.payload};"errors"in r&&(e.extensions={...e.extensions,[z.K$]:new He.d(r.errors??[])}),t(e)}else t(r)}}function dt(e){const t={};
2return e.split("\n").forEach(e=>{const n=e.indexOf(":");if(n>-1){const r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();t[r]=o}}),t}function pt(e,t){if(e.status>=300)throw new Qe.g(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(n){throw new We(n,{response:e,bodyText:t})}}function mt(e,t){const n=e.headers.get("content-type");return n?.includes("application/graphql-response+json")?function(e,t){try{return JSON.parse(t)}catch(n){throw new We(n,{response:e,bodyText:t})}}(e,t):pt(e,t)}function ft(e){return t=>t.text().then(n=>{const r=mt(t,n);if(!Array.isArray(r)&&!lt.call(r,"data")&&!lt.call(r,"errors"))throw new Qe.g(`Server response was malformed for query '${Array.isArray(e)?e.map(e=>e.operationName):e.operationName}'.`,{response:t,bodyText:n});return r})}function ht(e,t){const n=[],r=(e,t)=>{n.push(`${e}=${encodeURIComponent(t)}`)};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){let e;try{e=JSON.stringify(t.variables)}catch(e){return{parseError:e}}r("variables",e)}if(t.extensions){let e;try{e=JSON.stringify(t.extensions)}catch(e){return{parseError:e}}r("extensions",e)}let o="",a=e;const i=e.indexOf("#");-1!==i&&(o=e.substr(i),a=e.substr(0,i));const s=-1===a.indexOf("?")?"?":"&";return{newURI:a+s+n.join("&")+o}}const gt={http:{includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},headers:{accept:"application/graphql-response+json,application/json;q=0.9","content-type":"application/json"},options:{method:"POST"}},yt=(e,t)=>t(e);function vt(e,t,...n){return n.unshift(t),_t(e,yt,...n)}function _t(e,t,...n){let r={},o={};n.forEach(e=>{r={...r,...e.options,headers:{...r.headers,...e.headers}},e.credentials&&(r.credentials=e.credentials),r.headers.accept=(e.http?.accept||[]).concat(r.headers.accept).join(","),o={...o,...e.http}}),r.headers=function(e,t){if(!t){const t={};
2return Object.keys(Object(e)).forEach(n=>{t[n.toLowerCase()]=e[n]}),t}const n={};Object.keys(Object(e)).forEach(t=>{n[t.toLowerCase()]={originalName:t,value:e[t]}});const r={};return Object.keys(n).forEach(e=>{r[n[e].originalName]=n[e].value}),r}(r.headers,o.preserveHeaderCase);const{operationName:a,extensions:i,variables:s,query:l}=e,u={operationName:a,variables:s};return o.includeExtensions&&Object.keys(i||{}).length&&(u.extensions=i),o.includeQuery&&(u.query=t(l,ee.y)),{options:r,body:u}}const bt=(e,t)=>{const n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")},wt=(0,st.n)(()=>fetch);function xt(){}class St extends l.C{constructor(e={}){let{uri:t="/graphql",fetch:n,print:r=yt,includeExtensions:o,preserveHeaderCase:a,useGETForQueries:i,includeUnusedVariables:s=!1,...l}=e;d.g&&ot(n||wt);const u={http:(0,m.o)({includeExtensions:o,preserveHeaderCase:a}),options:l.fetchOptions,credentials:l.credentials,headers:l.headers};super(e=>{let o=bt(e,t);const a=e.getContext(),l={...a.http};(function(e){return it(e,"subscription")})(e.query)&&(l.accept=["multipart/mixed;boundary=graphql;subscriptionSpec=1.0",...l.accept||[]]);const c={http:l,options:a.fetchOptions,credentials:a.credentials,headers:a.headers},{options:d,body:p}=_t(e,r,gt,u,c);p.variables&&!s&&(p.variables=function(e,t){const n={...e},r=new Set(Object.keys(e));return(0,g.YR)(t,{Variable(e,t,n){n&&"VariableDefinition"!==n.kind&&r.delete(e.name.value)}}),r.forEach(e=>{delete n[e]}),n}(p.variables,e.query));let m=new AbortController,f=()=>{m=void 0};if(d.signal){const e=d.signal,t=()=>{m?.abort(e.reason)};e.addEventListener("abort",t,{once:!0}),f=()=>{m?.signal.removeEventListener("abort",f),m=void 0,e.removeEventListener("abort",t),f=xt},m.signal.addEventListener("abort",f,{once:!0})}return d.signal=m.signal,i&&!function(e){return it(e,"mutation")}(e.query)&&(d.method="GET"),new x.c(t=>{if("GET"===d.method){const{newURI:e,parseError:t}=ht(o,p);if(t)throw t;o=e}else d.body=JSON.stringify(p);const r=n||(0,st.n)(()=>fetch)||wt,a=t.next.bind(t);return r(o,d).then(t=>{e.setContext({response:t});const n=t.headers?.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?ct(t,a):ft(e)(t).then(a)}).then(()=>{f(),t.complete()}).catch(e=>{f(),t.error(e)}),()=>{m&&m.abort()}})})}}class kt extends l.C{constructor(e={}){const{left:t,right:n,request:r}=l.C.from([new at(e),new St(e)]);super(r),Object.assign(this,{left:t,right:n})}}const Et=(e={})=>new kt(e),jt=()=>{if("undefined"==typeof AbortController)return{controller:!1,signal:!1};const e=new AbortController;return{controller:e,signal:e.signal}};var Ct=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/storeUtils.js"),Pt=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-tag/lib/index.js")},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/core/networkStatus.js"(e,t,n){"use strict";var r;n.d(t,{p:()=>r}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error",e[e.streaming=9]="streaming"}(r||(r={}))},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js"(e,t,n){"use strict";n.d(t,{K:()=>a});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/utils.js");function o(e){return e.filter(e=>e).map(e=>e.message||"Error message not found.").join("\n")}class a extends Error{static is(e){return(0,r.t)(e,"CombinedGraphQLErrors")}static formatMessage=o;errors;data;extensions;constructor(e,t=e.errors||[]){super(a.formatMessage(t,{result:e,defaultFormatMessage:o})),this.errors=t,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",(0,r.w
2)(this),Object.setPrototypeOf(this,a.prototype)}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/CombinedProtocolErrors.js"(e,t,n){"use strict";n.d(t,{d:()=>a});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/utils.js");function o(e){return e.map(e=>e.message||"Error message not found.").join("\n")}class a extends Error{static is(e){return(0,r.t)(e,"CombinedProtocolErrors")}static formatMessage=o;errors;constructor(e){super(a.formatMessage(e,{defaultFormatMessage:o})),this.name="CombinedProtocolErrors",this.errors=e,(0,r.w)(this),Object.setPrototypeOf(this,a.prototype)}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/ServerError.js"(e,t,n){"use strict";n.d(t,{g:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/utils.js");class o extends Error{static is(e){return(0,r.t)(e,"ServerError")}response;statusCode;bodyText;constructor(e,t){super(e),this.name="ServerError",this.response=t.response,this.statusCode=t.response.status,this.bodyText=t.bodyText,(0,r.w)(this),Object.setPrototypeOf(this,o.prototype)}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/UnconventionalError.js"(e,t,n){"use strict";n.d(t,{e:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/utils.js");class o extends Error{static is(e){return(0,r.t)(e,"UnconventionalError")}constructor(e){super("An error of unexpected shape occurred.",{cause:e}),this.name="UnconventionalError",(0,r.w)(this),Object.setPrototypeOf(this,o.prototype)}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/index.js"(e,t,n){"use strict";n.d(t,{K$:()=>a,uR:()=>i,$b:()=>s});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/CombinedProtocolErrors.js");var o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/UnconventionalError.js");const a=Symbol();function i(e){return"extensions"in e&&r.d.is(e.extensions[a])}function s(e){return function(e){return null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name&&("string"==typeof e.stack||void 0===e.stack)}(e)?e:"string"==typeof e?new Error(e,{cause:e}):new o.e(e)}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/utils.js"(e,t,n){"use strict";function r(e,t){return"object"==typeof e&&null!==e&&e[Symbol.for("apollo.error")]===t}function o(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}n.d(t,{t:()=>r,w:()=>o})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/link/core/ApolloLink.js"(e,t,n){"use strict";n.d(t,{C:()=>l});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/observable/empty.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationName.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js");var i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");class l{static empty(){return new l(()=>r.w)}static from(e){if(0===e.length)return l.empty();const[t,...n]=e;return t.concat(...n)}static split(e,t,n=new l((e,t)=>t(e))){const r=new l((r,o)=>{const a=e(r);return i.g&&"boolean"!=typeof a&&i.g&&s.V1.warn(63,a),a?t.request(r,o):n.request(r,o)});return Object.assign(r,{left:t,right:n})}static execute(e,t,n){return e.request(function(e,{client:t}){const n={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:(0,o.n)(e.query),operationType:(0,a.V)(e.query).operation};let r={...e.context};const i=()=>Object.freeze({...r});return Object.defineProperty(n,"setContext",{enumerable:!1,value:e=>{r="function"==typeof e?{...r,...e(i())}:{...r,...e}}}),Object.defineProperty(n,"getContext",{enumerable:!1,value:i}),Object.defineProperty(n,"client",{enumerable:!1,value:t}),n}(t,n),()=>(i.g&&i.g&&s.V1.warn(64),r.w))}static concat(...e){return l.from(e)}constructor(e){e&&(this.request=e)}split(e,t,n){return this.concat(l.split(e,t,n))}concat(...e){return 0===e.length?this:e.reduce(this.combine.bind(this),this)}combine(e,t){const n=new l((n,r)=>e.request(n,e=>t.request(e,r)));return Object.assign(n,{left:e,right:t})}request(e,t){throw(0,s.vA)(65)}left;
2right}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/link/error/index.js"(e,t,n){"use strict";n.r(t),n.d(t,{ErrorLink:()=>l,onError:()=>s});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/Observable.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/link/core/ApolloLink.js");function s(e){return new l(e)}class l extends i.C{constructor(e){super((t,n)=>new r.c(r=>{let i,s,l;try{i=n(t).subscribe({next:i=>{const u=t.client.queryManager.incrementalHandler,c=u.isIncrementalResult(i)?u.extractErrors(i):i.errors;c?l=e({error:new a.K(i,c),result:i,operation:t,forward:n}):(0,o.uR)(i)&&(l=e({error:i.extensions[o.K$],result:i,operation:t,forward:n})),s=l?.subscribe(r),s||r.next(i)},error:a=>{l=e({operation:t,error:(0,o.$b)(a),forward:n}),s=l?.subscribe(r),s||r.error(a)},complete:()=>{l||r.complete()}})}catch(a){e({error:(0,o.$b)(a),operation:t,forward:n}),r.error(a)}return()=>{i&&i.unsubscribe(),s&&s.unsubscribe()}}))}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/link/persisted-queries/index.js"(e,t,n){"use strict";n.r(t),n.d(t,{PersistedQueryLink:()=>b,VERSION:()=>g,createPersistedQueryLink:()=>_});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/Observable.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/index.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/errors/ServerError.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/link/core/ApolloLink.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/print.js"),u=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js");function c(e){return!!e&&("errors"in e||"data"in e)&&Object.keys(e).every(e=>"errors"===e||"data"===e||"extensions"===e)}var d=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),p=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonEmptyArray.js"),m=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/compact.js"),f=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/caches.js"),h=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");const g=1;function y(e){const t={},n={};
2return(0,p.E)(e)&&e.forEach(e=>{t[e.message]=e,"string"==typeof e.extensions?.code&&(n[e.extensions.code]=e)}),{persistedQueryNotSupported:!(!t.PersistedQueryNotSupported&&!n.PERSISTED_QUERY_NOT_SUPPORTED),persistedQueryNotFound:!(!t.PersistedQueryNotFound&&!n.PERSISTED_QUERY_NOT_FOUND)}}const v={disable:({meta:e})=>e.persistedQueryNotSupported,retry:({meta:e})=>e.persistedQueryNotSupported||e.persistedQueryNotFound,useGETForHashedQueries:!1};const _=e=>new b(e);class b extends s.C{constructor(e){let t;function n(){t=void 0}(0,h.V1)(e&&("function"==typeof e.sha256||"function"==typeof e.generateHash),59);const{sha256:s,generateHash:p=e=>Promise.resolve(s((0,l.y)(e))),disable:_,retry:b,useGETForHashedQueries:w}=(0,m.o)(v,e);let x=!0;const S=e=>new Promise(t=>t(p(e)));super((e,s)=>{(0,h.V1)(s,60);const{query:l}=e;return new r.c(r=>{let d,p,m=!1,h=!1;function v(t,r){return m?r():(m=!0,x=!_(t),x||(delete e.extensions.persistedQuery,n()),b(t)?(d&&d.unsubscribe(),e.setContext(({http:e,fetchOptions:t})=>({http:{...e,includeQuery:!0,...x?{includeExtensions:!0}:{}},fetchOptions:{...t,method:"POST"}})),h&&e.setContext({fetchOptions:p}),void(d=s(e).subscribe(k))):void r())}const k={next:t=>{if(!c(t)||!t.errors)return r.next(t);v({operation:e,error:new o.K(t),meta:y(t.errors),result:t},()=>r.next(t))},error:t=>{const n=(0,a.$b)(t),s=()=>r.error(t);if(i.g.is(n)&&n.bodyText)try{const t=JSON.parse(n.bodyText);if(c(t))return v({error:new o.K(t),result:t,operation:e,meta:y(t.errors)},s)}catch{}v({error:n,operation:e,meta:{persistedQueryNotSupported:!1,persistedQueryNotFound:!1}},s)},complete:r.complete.bind(r)};return e.setContext(({http:e})=>({http:x?{...e,includeQuery:!1,includeExtensions:!0}:e})),w&&x&&!function(e){return e.query.definitions.some(e=>"OperationDefinition"===e.kind&&"mutation"===e.operation)}(e)&&(e.setContext(({fetchOptions:e={}})=>(p=e,{fetchOptions:{...e,method:"GET"}})),h=!0),x?function(e){if(!e||"object"!=typeof e)return S(e);t||(t=new f.A(u.v["PersistedQueryLink.persistedQueryHashes"]||2e3));let n=t.get(e);return n||t.set(e,n=S(e)),n}(l).then(t=>{e.extensions.persistedQuery={version:g,sha256Hash:t},d=s(e).subscribe(k)}).catch(r.error.bind(r)):d=s(e).subscribe(k),()=>{d&&d.unsubscribe()}})}),d.g&&Object.assign(this,{getMemoryInternals:()=>({PersistedQueryLink:{persistedQueryHashes:t?.size??0}})}),this.resetHashCache=n}resetHashCache}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/masking/utils.js"(e,t,n){"use strict";n.d(t,{s:()=>l,y:()=>s});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/kinds.mjs"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/optimism/lib/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");const s=new o.DX;function l(e){const t=e.directives?.find(({name:e})=>"unmask"===e.value);if(!t)return"mask";const n=t.arguments?.find(({name:e})=>"mode"===e.value);return a.g&&n&&(n.value.kind===r.b.VARIABLE?a.g&&i.V1.warn(44):n.value.kind!==r.b.
2STRING?a.g&&i.V1.warn(45):"migrate"!==n.value.value&&a.g&&i.V1.warn(46,n.value.value)),n&&"value"in n.value&&"migrate"===n.value.value?"migrate":"unmask"}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/context/ApolloContext.js"(e,t,n){"use strict";n.d(t,{l:()=>i});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");const a=Symbol.for("__APOLLO_CONTEXT__");function i(){(0,o.V1)(!0,37);let e=r.createContext[a];return e||(Object.defineProperty(r.createContext,a,{value:e=r.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/context/ApolloProvider.js"(e,t,n){"use strict";n.d(t,{X:()=>i});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/context/ApolloContext.js");const i=({client:e,children:t})=>{const n=(0,a.l)(),i=r.useContext(n),s=r.useMemo(()=>({...i,client:e||i.client}),[i,e]);return(0,o.V1)(s.client,38),r.createElement(n.Provider,{value:s},t)}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js"(e,t,n){"use strict";n.d(t,{k:()=>a});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function a(e,t){const n=o.useRef(void 0);return n.current&&(0,r.L)(n.current.deps,t)||(n.current={value:e(),deps:t}),n.current.value}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js"(e,t,n){"use strict";n.d(t,{E:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");const o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/canUseDOM.js").S?r.useLayoutEffect:r.useEffect},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useApolloClient.js"(e,t,n){"use strict";n.d(t,{m:()=>i});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/context/ApolloContext.js");function i(e){const t=r.useContext((0,a.l)()),n=e||t.client;return(0,o.V1)(!!n,28),n}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useL
2azyQuery.js"(e,t,n){"use strict";n.d(t,{_:()=>g});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/core/networkStatus.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/constants.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");let u;function c(){}var d=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js"),p=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js"),m=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useApolloClient.js"),f=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js");const h=["refetch","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"];function g(e,t){const n=(0,m.m)(t?.client),a=o.useRef(void 0),s=o.useRef(void 0),g=(0,d.k)(()=>t,[t]),v=(u||(u=o.createContext(null)),o.useCallback(()=>{const e=console.error;try{return console.error=c,o.useContext(u),!0}catch(e){return!1}finally{console.error=e}},[]));function _(){return n.watchQuery({...t,query:e,initialFetchPolicy:t?.fetchPolicy,fetchPolicy:"standby",[i._K]:!0})}const[b,w]=o.useState(n),[x,S]=o.useState(_);b!==n&&(w(n),S(_()));const k=o.useCallback((e,t)=>{const n=s.current?.data;n&&!(0,r.L)(n,e.data)&&(a.current=n),s.current=e,t()},[]),E=(0,f.r)(o.useCallback(e=>{const t=x.subscribe(t=>{(0,r.L)(s.current,t)||k(t,e)});return()=>{t.unsubscribe()}},[x,k]),()=>s.current||y,()=>y),j=o.useMemo(()=>{const e={};for(const t of h)e[t]=function(...e){return(0,l.V1)(s.current,29,t),x[t](...e)};return e},[x]);o.useEffect(()=>{const n={query:e,errorPolicy:g?.errorPolicy,refetchWritePolicy:g?.refetchWritePolicy,returnPartialData:g?.returnPartialData,notifyOnNetworkStatusChange:g?.notifyOnNetworkStatusChange,nextFetchPolicy:t?.nextFetchPolicy,skipPollAttempt:t?.skipPollAttempt};"standby"!==x.options.fetchPolicy&&g?.fetchPolicy&&(n.fetchPolicy=g.fetchPolicy),x.applyOptions(n)},[e,x,g,t?.nextFetchPolicy,t?.skipPollAttempt]);const C=o.useCallback((...e)=>{(0,l.V1)(!v(),30);const[t]=e;let n=x.options.fetchPolicy;return"standby"===n&&(n=x.options.initialFetchPolicy),x.reobserve({fetchPolicy:n,variables:t?.variables,context:t?.context??{}})},[x,v]),P=o.useRef(C);(0,p.E)(()=>{P.current=C});return[o.useCallback((...e)=>P.current(...e),[]),o.useMemo(()=>{const{partial:e,...t}=E;return{...j,...t,client:n,previousData:a.current,variables:x.variables,observable:x,called:!!s.current}},[n,E,j,x])]}const y=(0,s.G)({data:void 0,dataState:"empty",loading:!1,networkStatus:a.p.ready,partial:!0})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useMutation.js"(e,t,n){"use strict";n.d(t,{n:()=>u});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/mergeOptions.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useApolloClient.js");
2function u(e,t){const n=(0,l.m)(t?.client),[u,d]=o.useState(()=>c(n)),p=o.useRef({result:u,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});(0,s.E)(()=>{Object.assign(p.current,{client:n,options:t,mutation:e})});const m=o.useCallback((e={})=>{const{options:t,mutation:n}=p.current,o={...t,mutation:n},s=e.client||p.current.client,l="function"==typeof e.context?e.context(t?.context):e.context;!p.current.result.loading&&p.current.isMounted&&d(p.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:s});const u=++p.current.mutationId,c=(0,a.l)(o,{...e,context:l});return(0,i.X)(s.mutate(c).then(t=>{const{data:n,error:o}=t,a=e.onError||p.current.options?.onError;if(o&&a&&a(o,c),u===p.current.mutationId){const e={called:!0,loading:!1,data:n,error:o,client:s};p.current.isMounted&&!(0,r.L)(p.current.result,e)&&d(p.current.result=e)}const i=e.onCompleted||p.current.options?.onCompleted;return o||i?.(t.data,c),t},t=>{if(u===p.current.mutationId&&p.current.isMounted){const e={loading:!1,error:t,data:void 0,called:!0,client:s};(0,r.L)(p.current.result,e)||d(p.current.result=e)}const n=e.onError||p.current.options?.onError;throw n&&n(t,c),t}))},[]),f=o.useCallback(()=>{if(p.current.isMounted){const e=c(p.current.client);Object.assign(p.current,{mutationId:0,result:e}),d(e)}},[]);return o.useEffect(()=>{const e=p.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:f,...u}]}function c(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useQuery.js"(e,t,n){"use strict";n.d(t,{I:()=>v});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js"),i=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/core/networkStatus.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/mergeOptions.js"),u=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/constants.js"),c=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js");const d=Symbol.for("apollo.skipToken"),p=Symbol.for("apollo.hook.wrappers");var m=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/context/ApolloContext.js");var f=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js"),h=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useApolloClient.js"),g=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js");const y=Symbol();function v(e,...[t]){return function(e,t,n){const r=[n.queryManager,e.startsWith("use")?o.useContext((0,m.l)()):void 0];let a=t;for(const t of r){const n=t?.[p]?.[e];n&&(a=n(a))}return a}("useQuery",_,(0,h.m)("object"==typeof t?t.client:void 0))(e,t)}function _(e,t={}){const n=(0,h.m)("object"==typeof t?t.client:void 0),{ssr:s}="object"==typeof t?t:{},c=function(e,t,n){return(0,f.k)(()=>
2{if(t===d){const t={...(0,l.l)(n,{query:e,fetchPolicy:"standby"}),[u._K]:!0};return t[b]=!0,t}const r=(0,l.l)(n,{...t,query:e});return t.skip&&(r.initialFetchPolicy=t.initialFetchPolicy||t.fetchPolicy,r.fetchPolicy="standby"),r},[e,t,n])}(e,t,n.defaultOptions.watchQuery);function p(t){const r=n.watchQuery(c);return{client:n,query:e,observable:r,resultData:{current:r.getCurrentResult(),previousData:t?.resultData.current.data,variables:r.variables}}}let[m,_]=o.useState(p);n===m.client&&e===m.query||_(m=p(m));const{observable:w,resultData:x}=m;!function(e,t){e.fetchPolicy||(e.fetchPolicy=t.options.initialFetchPolicy)}(c,w),function(e,t,n){if(t[y]&&!(0,r.L)(t[y],n)){t[y][b]&&!n.initialFetchPolicy&&(n.initialFetchPolicy=n.fetchPolicy),!function(e,t){return e.query!==t.query||!(0,r.L)(e.variables,t.variables)||e.fetchPolicy!==t.fetchPolicy&&("standby"===t.fetchPolicy||"standby"===e.fetchPolicy)}(t[y],n)?t.applyOptions(n):t.reobserve(n);const o=t.getCurrentResult();(0,r.L)(o.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=o,e.variables=t.variables}t[y]=n}(x,w,c);const S=function(e,t,n){const s=e.options.fetchPolicy;return(0,g.r)(o.useCallback(n=>{const o=e.pipe((0,a.Q)(i.$)).subscribe(o=>{const a=t.current;(0,r.L)(a,o)&&(0,r.L)(t.variables,e.variables)||(t.variables=e.variables,a.data&&!(0,r.L)(a.data,o.data)&&(t.previousData=a.data),t.current=o,n())});return()=>{setTimeout(()=>o.unsubscribe())}},[e,t]),()=>t.current,()=>"standby"!==s&&!1===n||"no-cache"===s?v.ssrDisabledResult:t.current)}(w,x,s),k=o.useMemo(()=>({refetch:w.refetch.bind(w),fetchMore:w.fetchMore.bind(w),updateQuery:w.updateQuery.bind(w),startPolling:w.startPolling.bind(w),stopPolling:w.stopPolling.bind(w),subscribeToMore:w.subscribeToMore.bind(w)}),[w]),E=x.previousData;return o.useMemo(()=>{const{partial:e,...t}=S;return{...t,client:n,observable:w,variables:w.variables,previousData:E,...k}},[S,n,w,E,k])}const b=Symbol();v.ssrDisabledResult=(0,c.G)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:s.p.loading,partial:!0})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useReactiveVar.js"(e,t,n){"use strict";n.d(t,{q:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js");function a(e){return(0,o.r)(r.useCallback(t=>e.onNextChange(function n(){t(),e.onNextChange(n)}),[e]),e,e)}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js"(e,t,n){"use strict";var r;n.d(t,{r:()=>f});var o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/canUseDOM.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/maybe.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");let u=!1;const c=(r||(r=n.t(o,2))).useSyncExternalStore,d="ReactNative"==(0,s.n)(()=>navigator.product),p=(0,s.n)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,m=(i.S||d)&&!p,f=c||((e,t,n)=>{const r=t();a.g&&!u&&r!==t()&&(u=!0,l.V1.error(34));const[{inst:i},s]=o.useState({inst:{value:r,getSnapshot:t}});return m?o.useLayoutEffect(()=>{Object.assign(i,{value:r,getSnapshot:t}),h(i)&&s({inst:i})},[e,r,t]):Object.assign(i,{value:r,getSnapshot:t}),o.useEffect(()=>(h(i)&&s({inst:i}),e(function(){h(i)&&s({inst:i})})),[e]),r});function h({value:e,getSnapshot:t}){try{return e!==t()}catch{return!0}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js"(e,t,n){"use strict";n.d(t,{v:()=>a});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/global.js");const o=Symbol.for("apollo.cacheSize"),a={...r.A[o]}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"(e,t,n){"use strict";n.d(t,{g:()=>r});const r=!1},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/DocumentTransform.js"(e,t,n){"use strict";n.d(t,{c:()=>c});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/caches/lib/weak.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/trie/lib/index.js"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/optimism/lib/index.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/checkDocument.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js");function u(e){return e}class c{transform;cached;resultCache=new WeakSet;getCacheKey(e){return[e]}static identity(){return new c(u,{cache:!1})}static split(e,t,n=c.identity()){return Object.assign(new c(r=>(e(r)?t:n).transformDocument(r),{cache:!1}),{left:t,right:n})}constructor(e,t={}){this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}resetCache(){if(this.cached){const e=new o.b;this.performWork=(0,a.LV)(c.prototype.performWork.bind(this),{makeCacheKey:t=>{const n=this.getCacheKey(t);if(n)return(0,s.V1)(Array.isArray(n),20),e.lookupArray(n)},max:l.v["documentTransform.cache"],cache:r.l})}}performWork(e){return(0,i.s)(e),this.transform(e)}transformDocument(e){if(this.resultCache.has(e))return e;const t=this.performWork(e);return this.resultCache.add(t),t}concat(e){return Object.assign(new c(t=>e.transformDocument(this.transformDocument(t)),{cache:!1}),{left:this,right:e})}left;
2right}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/print.js"(e,t,n){"use strict";n.d(t,{y:()=>u});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/printer.mjs"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/caches.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js");let l;const u=Object.assign(e=>{let t=l.get(e);return t||(t=(0,r.y)(e),l.set(e,t)),t},{reset(){l=new i.A(s.v.print||2e3)}});u.reset(),o.g&&(0,a.D_)("print",()=>l?l.size:0)},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/graphql/storeUtils.js"(e,t,n){"use strict";function r(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}n.d(t,{A:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/DeepMerger.js"(e,t,n){"use strict";n.d(t,{Z:()=>s});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonNullObject.js");const{hasOwnProperty:o}=Object.prototype,a=function(e,t,n){return this.merge(e[n],t[n])},i=e=>isNaN(+e)?{}:[];class s{options;reconciler;constructor(e={}){this.options=e,this.reconciler=e.reconciler||a}merge(e,t,n={}){const a=n.atPath;if(a?.length){const[r,...o]=a;void 0===e&&(e=i(r));let s=e[r];void 0===s&&o.length&&(s=i(o[0]));const l=this.merge(s,t,{...n,atPath:o});return s!==l&&((e=this.shallowCopyForMerge(e))[r]=l),e}return Array.isArray(e)&&Array.isArray(t)&&"truncate"===this.options.arrayMerge&&e.length>t.length&&(e=e.slice(0,t.length),this.pastCopies.add(e)),(0,r.U)(t)&&(0,r.U)(e)?(Object.keys(t).forEach(n=>{if(o.call(e,n)){const r=e[n];if(t[n]!==r){const o=this.reconciler(e,t,n);o!==r&&((e=this.shallowCopyForMerge(e))[n]=o)}}else(e=this.shallowCopyForMerge(e))[n]=t[n]}),e):t}isObject=r.U;pastCopies=new Set;shallowCopyForMerge(e){return(0,r.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):{__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e))),e}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/caches.js"(e,t,n){"use strict";n.d(t,{A:()=>s,V:()=>l});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/caches/lib/strong.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/caches/lib/weak.js");const a=new WeakSet;function i(e){e.size<=(e.max||-1)||a.has(e)||(a.add(e),setTimeout(()=>{e.clean(),a.delete(e)},100))}const s=function(e,t){const n=new o.l(e,t);return n.set=function(e,t){const n=o.l.prototype.set.call(this,e,t);return i(this),n},n},l=function(e,t){const n=new r.C(e,t);return n.set=function(e,t){const n=r.C.prototype.set.call(this,e,t);return i(this),n},n}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/canUseDOM.js"(e,t,n){"use strict";n.d(t,{S:()=>r});const r="function"==typeof(0,n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/maybe.js").n)(()=>window.document.createElement)},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/canonicalStringify.js"(e,t,n){"use strict";n.d(t,{M:()=>s});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/caches.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js");const s=Object.assign(function(e){return JSON.stringify(e,u)},{reset(){l=new a.V(o.v.canonicalStringify||1e3)}});let l;function u(e,t){if(t&&"object"==typeof t){const e=Object.getPrototypeOf(t);if(e===Object.prototype||null===e){const n=Object.keys(t);if(n.every(c))return t;const r=JSON.stringify(n);let o=l.get(r);if(!o){n.sort();const e=JSON.stringify(n);o=l.get(e)||n,l.set(r,o),l.set(e,o)}const a=Object.create(e);
2return o.forEach(e=>{a[e]=t[e]}),a}}return t}function c(e,t,n){return 0===t||n[t-1]<=e}r.g&&(0,i.D_)("canonicalStringify",()=>l.size),s.reset()},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/checkDocument.js"(e,t,n){"use strict";n.d(t,{s:()=>u});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/kinds.mjs"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/visitor.mjs"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/caching/sizes.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationName.js");const u=(0,n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/memoize.js").B)((e,t)=>{(0,i.V1)(e&&"Document"===e.kind,1);const n=e.definitions.filter(e=>"OperationDefinition"===e.kind);a.g&&(e.definitions.forEach(e=>{if("OperationDefinition"!==e.kind&&"FragmentDefinition"!==e.kind)throw(0,i.vA)(2,e.kind)}),(0,i.V1)(n.length<=1,3,n.length)),t&&(0,i.V1)(1==n.length&&n[0].operation===t,4,t,t,n[0].operation),(0,o.YR)(e,{Field(t,o,a,s){if(t.alias&&("__typename"===t.alias.value||t.alias.value.startsWith("__ac_"))&&t.alias.value!==t.name.value){let o=e,a=[];for(const e of s)o=o[e],o.kind===r.b.FIELD&&a.push(o.alias?.value||o.name.value);throw a.splice(-1,1,t.name.value),(0,i.vA)(5,t.alias.value,a.join("."),n[0].operation,(0,l.n)(e,"(anonymous)"))}}})},{max:s.v.checkDocument||2e3})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/compact.js"(e,t,n){"use strict";function r(...e){const t={};return e.forEach(e=>{e&&Reflect.ownKeys(e).forEach(n=>{const r=e[n];void 0!==r&&(t[n]=r)})}),t}n.d(t,{o:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/constants.js"(e,t,n){"use strict";n.d(t,{DH:()=>o,X:()=>r,_K:()=>a});const r=Symbol.for("apollo.result.extensions"),o=Symbol.for("apollo.result.streamInfo"),a=Symbol.for("apollo.observableQuery.variablesUnknown")},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/createFragmentMap.js"(e,t,n){"use strict";function r(e=[]){const t={};return e.forEach(e=>{t[e.name.value]=e}),t}n.d(t,{J:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/equalByQuery.js"(e,t,n){"use strict";n.d(t,{a:()=>d});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/equality/lib/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/createFragmentMap.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentDefinitions.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentFromSelection.js"),s=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getMainDefinition.js"),l=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isField.js"),u=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/resultKeyNameFromField.js"),c=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/shouldInclude.js");function d(e,{data:t,...n},{data:i,...l},u){return(0,r.L)(n,l)&&p((0,s.V)(e).selectionSet,t,i,{fragmentMap:(0,o.J)((0,a.z)(e)),variables:u})}function p(e,t,n,o){if(t===n)return!0;const a=new Set;return e.selections.every(e=>{if(a.has(e))return!0;
2if(a.add(e),!(0,c.M)(e,o.variables))return!0;if(m(e))return!0;if((0,l.d)(e)){const a=(0,u.u)(e),i=t&&t[a],s=n&&n[a],l=e.selectionSet;if(!l)return(0,r.L)(i,s);const c=Array.isArray(i),d=Array.isArray(s);if(c!==d)return!1;if(c&&d){const e=i.length;if(s.length!==e)return!1;for(let t=0;t<e;++t)if(!p(l,i[t],s[t],o))return!1;return!0}return p(l,i,s,o)}{const r=(0,i.H)(e,o.fragmentMap);if(r)return!!m(r)||p(r.selectionSet,t,n,o)}})}function m(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getDefaultValues.js"(e,t,n){"use strict";n.d(t,{w:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/valueToObjectRepresentation.js");function o(e){const t={},n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(e=>{e.defaultValue&&(0,r.J)(t,e.variable.name,e.defaultValue)}),t}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentDefinition.js"(e,t,n){"use strict";n.d(t,{E:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");function o(e){(0,r.V1)("Document"===e.kind,6),(0,r.V1)(e.definitions.length<=1,7);const t=e.definitions[0];return(0,r.V1)("FragmentDefinition"===t.kind,8),t}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentDefinitions.js"(e,t,n){"use strict";function r(e){return e.definitions.filter(e=>"FragmentDefinition"===e.kind)}n.d(t,{z:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getFragmentFromSelection.js"(e,t,n){"use strict";n.d(t,{H:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");function o(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{const n=e.name.value;if("function"==typeof t)return t(n);const o=t&&t[n];return(0,r.V1)(o,9,n),o||null}default:return null}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getMainDefinition.js"(e,t,n){"use strict";n.d(t,{V:()=>a});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/checkDocument.js");function a(e){let t;(0,o.s)(e);for(let n of e.definitions){if("OperationDefinition"===n.kind)return n;"FragmentDefinition"!==n.kind||t||(t=n)}if(t)return t;throw(0,r.vA)(12)}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js"(e,t,n){"use strict";n.d(t,{D_:()=>o});const r={};function o(e,t){r[e]=t}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js"(e,t,n){"use strict";n.d(t,{V:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/checkDocument.js");function o(e){return(0,r.s)(e),e.definitions.filter(e=>"OperationDefinition"===e.kind)[0]}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationName.js"(e,t,n){"use strict";function r(e,t){return e.definitions.find(e=>"OperationDefinition"===e.kind&&!!e.name)?.name.value??t}n.d(t,{n:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getQueryDefinition.js"(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js");function a(e){const t=(0,o.V)(e);return(0,r.V1)(t&&"query"===t.operation,13),t}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/global.js"(e,t,n){"use strict";n.d(t,{A:()=>
2o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/maybe.js");const o=(0,r.n)(()=>globalThis)||(0,r.n)(()=>window)||(0,r.n)(()=>self)||(0,r.n)(()=>globalThis)||(0,r.n)(function(){return r.n.constructor("return this")()})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/maybe.js"(e,t,n){"use strict";function r(e){try{return e()}catch{}}n.d(t,{n:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/hasDirectives.js"(e,t,n){"use strict";n.d(t,{d:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/visitor.mjs");function o(e,t,n){const o=new Set(e),a=o.size;return(0,r.YR)(t,{Directive(e){if(o.delete(e.name.value)&&(!n||!o.size))return r.sP}}),n?!o.size:o.size<a}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/index.production.js"(e,t,n){"use strict";function r(){throw new Error("only supported in development mode")}n.d(t,{cM:()=>i,ep:()=>a,tQ:()=>o});const o=r,a=r,i=r},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isArray.js"(e,t,n){"use strict";n.d(t,{c:()=>r});const r=Array.isArray},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isField.js"(e,t,n){"use strict";function r(e){return"Field"===e.kind}n.d(t,{d:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonEmptyArray.js"(e,t,n){"use strict";function r(e){return Array.isArray(e)&&e.length>0}n.d(t,{E:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonNullObject.js"(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{U:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/makeUniqueId.js"(e,t,n){"use strict";n.d(t,{v:()=>o});const r=new Map;function o(e){const t=r.get(e)||1;return r.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/mapObservableFragment.js"(e,t,n){"use strict";n.d(t,{Q:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/map.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/rxjs/dist/esm5/internal/operators/shareReplay.js");const a=(0,n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/memoize.js").B)(function(e,t,n){return function(e,t){let n,a;function i(e){return e!==n&&(n=e,a=t(n)),a}return Object.assign(e.pipe((0,r.T)(i),(0,o.t)({bufferSize:1,refCount:!0})),{getCurrentResult:()=>i(e.getCurrentResult())})}(e,n)},{max:1,makeCacheKey:e=>e.slice(0,2)})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js"(e,t,n){"use strict";n.d(t,{G:()=>i});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/isNonNullObject.js");function a(e){const t=new Set([e]);
2return t.forEach(e=>{(0,o.U)(e)&&function(e){if(r.g&&!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(n=>{(0,o.U)(e[n])&&t.add(e[n])})}),e}function i(e){return r.g&&a(e),e}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/memoize.js"(e,t,n){"use strict";n.d(t,{B:()=>a});var r=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@wry/trie/lib/index.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/caches.js");function a(e,{max:t,makeCacheKey:n=e=>e}){const a=new r.b(!0),i=new o.A(t);return(...t)=>{const r=a.lookupArray(n(t)),o=i.get(r);if(o){if(o.error)throw o.error;return o.result}const s=i.set(r,{});try{return s.result=e(...t)}catch(e){throw s.error=e,e}}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/mergeOptions.js"(e,t,n){"use strict";n.d(t,{l:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/compact.js");function o(e,t){return(0,r.o)(e,t,t.variables&&{variables:(0,r.o)({...e&&e.variables,...t.variables})})}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js"(e,t,n){"use strict";function r(e){return e.catch(()=>{}),e}n.d(t,{X:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/resultKeyNameFromField.js"(e,t,n){"use strict";function r(e){return e.alias?e.alias.value:e.name.value}n.d(t,{u:()=>r})},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/shouldInclude.js"(e,t,n){"use strict";n.d(t,{M:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");function o({directives:e},t){return!e||!e.length||function(e){const t=[];e&&e.length&&e.forEach(e=>{if(!function({name:{value:e}}){return"skip"===e||"include"===e}(e))return;const n=e.arguments,o=e.name.value;(0,r.V1)(n&&1===n.length,16,o);const a=n[0];(0,r.V1)(a.name&&"if"===a.name.value,17,o);const i=a.value;(0,r.V1)(i&&("Variable"===i.kind||"BooleanValue"===i.kind),18,o),t.push({directive:e,ifArgument:a})});return t}(e).every(({directive:e,ifArgument:n})=>{let o=!1;return"Variable"===n.value.kind?(o=t&&t[n.value.name.value],(0,r.V1)(void 0!==o,15,e.name.value)):o=n.value.value,"skip"===e.name.value?!o:o})}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js"(e,t,n){"use strict";n.d(t,{p:()=>o});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/makeUniqueId.js");function o(e,t=0){const n=(0,r.v)("stringifyForDisplay");return JSON.stringify(e,(e,t)=>void 0===t?n:t,t).split(JSON.stringify(n)).join("<undefined>")}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/valueToObjectRepresentation.js"(e,t,n){"use strict";n.d(t,{J:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/graphql/language/kinds.mjs"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js");function a(e,t,n,i){if(n.kind===r.b.INT||n.kind===r.b.FLOAT)e[t.value]=Number(n.value);else if(n.kind===r.b.BOOLEAN||n.kind===r.b.STRING)e[t.value]=n.value;else if(n.kind===r.b.OBJECT){const r={};n.fields.map(e=>a(r,e.name,e.value,i)),e[t.value]=r}else if(n.kind===r.b.VARIABLE){const r=(i||{})[n.name.value];e[t.value]=r}else if(n.kind===r.b.LIST)e[t.value]=n.values.map(e=>{const n={};return a(n,t,e,i),n[t.value]});else if(n.kind===r.b.ENUM)e[t.value]=n.value;else{if(n.kind!==r.b.NULL)throw(0,o.vA)(19,t.value,n.kind);e[t.value]=null}}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/invariant/index.js"(e,t,n){"use strict";n.d(t,{Q9:()=>m,V1:()=>d,vA:()=>f});var r=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/environment/index.production.js"),o=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/globals/global.js"),a=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/version.js"),i=n("../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js");const s="Invariant Violation";
2class l extends Error{constructor(e=s){super(e),this.name=s,Object.setPrototypeOf(this,l.prototype)}}const u=["debug","log","warn","error","silent"];let c=u.indexOf(r.g?"log":"silent");function d(e,...t){if(!e)throw f(...t)}function p(e){return function(t,...n){if(u.indexOf(e)>=c){const r=console[e]||console.log;if("number"==typeof t){const e=t;(t=y(e))||(t=v(e,n),n=[])}r(t,...n)}}}function m(e){const t=u[c];return c=Math.max(0,u.indexOf(e)),t}function f(e,...t){return new l(y(e,t)||v(e,t))}d.debug=p("debug"),d.log=p("log"),d.warn=p("warn"),d.error=p("error");const h=Symbol.for("ApolloErrorMessageHandler_"+a.r);function g(e){if("string"==typeof e)return e;try{return(0,i.p)(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function y(e,t=[]){if(e)return o.A[h]&&o.A[h](e,t.map(g))}function v(e,t=[]){if(e)return"string"==typeof e?t.reduce((e,t)=>e.replace(/%[sdfo]/,g(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:a.r,message:e,args:t.map(g)}))}`}},"../../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_react-_23af7fe1a84405345a895683eefe299d/node_modules/@apollo/client/version.js"(e,t,n){"use strict";n.d(t,{j:()=>o,r:()=>r});const r="4.1.6",o="esm"},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"(e,t,n){"use strict";n.d(t,{s:()=>i,t:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1;const r=e.map(e=>{const r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():o(e[t],null)}}}}function i(...e){return r.useCallback(a(...e),e)}},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js");function a(e,t=[]){let n=[];const a=()=>{const t=n.map(e=>r.createContext(e));return function(n){const o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return a.scopeName=e,[function(t,a){const i=r.createContext(a),s=n.length;n=[...n,a];const l=t=>{const{scope:n,children:a,...l}=t,u=n?.[e]?.[s]||i,c=r.useMemo(()=>l,Object.values(l));return(0,o.jsx)(u.Provider,{value:c,children:a})};return l.displayName=t+"Provider",[l,function(n,o){const l=o?.[e]?.[s]||i,u=r.useContext(l);if(u)return u;if(void 0!==a)return a;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},i(a,...t)]}function i(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-direction/dist/index.mjs"(e,t,n){"use strict";n.d(t,{jH:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=(n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),r.createContext(void 0));function a(e){const t=r.useContext(o);return e||t||"ltr"}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@_51b8207f9b4980ed7e3c80762fbd45eb/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"(e,t,n){"use strict";n.d(t,{qW:()=>f});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/primitive/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),s=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs");var l,u=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),c="dismissableLayer.update",d="dism
2issableLayer.pointerDownOutside",p="dismissableLayer.focusOutside",m=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=r.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:_,onDismiss:b,...w}=e,x=r.useContext(m),[S,k]=r.useState(null),E=S?.ownerDocument??globalThis?.document,[,j]=r.useState({}),C=(0,i.s)(t,e=>k(e)),P=Array.from(x.layers),[T]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),q=P.indexOf(T),O=S?P.indexOf(S):-1,R=x.layersWithOutsidePointerEventsDisabled.size>0,A=O>=q,D=function(e,t=globalThis?.document){const n=(0,s.c)(e),o=r.useRef(!1),a=r.useRef(()=>{});return r.useEffect(()=>{const e=e=>{if(e.target&&!o.current){let r=function(){y(d,n,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=r,t.addEventListener("click",a.current,{once:!0})):r()}else t.removeEventListener("click",a.current);o.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...x.branches].some(e=>e.contains(t));A&&!n&&(h?.(e),_?.(e),e.defaultPrevented||b?.())},E),L=function(e,t=globalThis?.document){const n=(0,s.c)(e),o=r.useRef(!1);return r.useEffect(()=>{const e=e=>{if(e.target&&!o.current){y(p,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...x.branches].some(e=>e.contains(t))||(v?.(e),_?.(e),e.defaultPrevented||b?.())},E);return function(e,t=globalThis?.document){const n=(0,s.c)(e);r.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{O===x.layers.size-1&&(f?.(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},E),r.useEffect(()=>{if(S)return n&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(l=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(S)),x.layers.add(S),g(),()=>{n&&1===x.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=l)}},[S,E,n,x]),r.useEffect(()=>()=>{S&&(x.layers.delete(S),x.layersWithOutsidePointerEventsDisabled.delete(S),g())},[S,x]),r.useEffect(()=>{const e=()=>j({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.sG.div,{...w,ref:C,style:{pointerEvents:R?A?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,D.onPointerDownCapture)})});f.displayName="DismissableLayer";var h=r.forwardRef((e,t)=>{const n=r.useContext(m),o=r.useRef(null),s=(0,i.s)(t,o);return r.useEffect(()=>{const e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(a.sG.div,{...e,ref:s})});function g(){const e=new CustomEvent(c);document.dispatchEvent(e)}function y(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,a.hO)(o,i):o.dispatchEvent(i)}h.displayName="DismissableLayerBranch"},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-focus-guards/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Oh:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=0;function a(){r.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??i()),document.body.insertAdjacentElement("beforeend",e[1]??i()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function i(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 8,317 bytes, line 2
2style.position="fixed",e.style.pointerEvents="none",e}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+r_ec3adb7c0456ad47fcd6e09a750b4b75/node_modules/@radix-ui/react-focus-scope/dist/index.mjs"(e,t,n){"use strict";n.d(t,{n:()=>d});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{const{loop:n=!1,trapped:d=!1,onMountAutoFocus:f,onUnmountAutoFocus:y,...v}=e,[_,b]=r.useState(null),w=(0,i.c)(f),x=(0,i.c)(y),S=r.useRef(null),k=(0,o.s)(t,e=>b(e)),E=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(E.paused||!_)return;const t=e.target;_.contains(t)?S.current=t:h(S.current,{select:!0})},t=function(e){if(E.paused||!_)return;const t=e.relatedTarget;null!==t&&(_.contains(t)||h(S.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&h(_)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return _&&r.observe(_,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[d,_,E.paused]),r.useEffect(()=>{if(_){g.add(E);const t=document.activeElement;if(!_.contains(t)){const n=new CustomEvent(l,c);_.addEventListener(l,w),_.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(h(r,{select:t}),document.activeElement!==n)return}((e=p(_),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&h(_))}return()=>{_.removeEventListener(l,w),setTimeout(()=>{const e=new CustomEvent(u,c);_.addEventListener(u,x),_.dispatchEvent(e),e.defaultPrevented||h(t??document.body,{select:!0}),_.removeEventListener(u,x),g.remove(E)},0)}}var e},[_,w,x,E]);const j=r.useCallback(e=>{if(!n&&!d)return;if(E.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[o,a]=function(e){const t=p(e),n=m(t,e),r=m(t.reverse(),e);return[n,r]}(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&h(a,{select:!0})):(e.preventDefault(),n&&h(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,E.paused]);return(0,s.jsx)(a.sG.div,{tabIndex:-1,...v,ref:k,onKeyDown:j})});function p(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const 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(;n.nextNode();)t.push(n.currentNode);return t}function m(e,t){for(const n of e)if(!f(n,{upTo:t}))return n}function f(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function h(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}d.displayName="FocusScope";var g=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=y(e,t),e.unshift(t)},remove(t){e=y(e,t),e[0]?.resume()}}}();function y(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-id/dist/index.mjs"(e,t,n){"use strict";var r;n.d(t,{B:()=>l});var o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"),i=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>{}),s=0;function l(e){const[t,n]=o.useState(i());return(0,a.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+reac_d66b8d795916a75694bf81aedd9e0f55/node_modules/@radix-ui/react-popover/dist/index.mjs"(e,t,n){"use strict";n.d(t,{UC:()=>K,ZL:()=>Q,bL:()=>W,l9:()=>H});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/primitive/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"),s=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@_51b8207f9b4980ed7e3c80762fbd45eb/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"),l=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-focus-guards/dist/index.mjs"),u=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+r_ec3adb7c0456ad47fcd6e09a750b4b75/node_modules/@radix-ui/react-focus-scope/dist/index.mjs"),c=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-id/dist/index.mjs"),d=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_c37f3188ef9f6c8b038ac073954daa22/node_modules/@radix-ui/react-popper/dist/index.mjs"),p=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_6ee34ab849d5486d34770d4a3c51dafe/node_modules/@radix-ui/react-portal/dist/index.mjs"),m=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+reac_8fc96361169709ec99257529b2dca09c/node_modules/@radix-ui/react-presence/dist/index.mjs"),f=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),h=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-slot/dist/index.mjs"),g=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"),y=n("../../../node_modules/.pnpm/[email protected]/node_modules/aria-hidden/dist/es2015/index.js"),v=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-remove-scroll/dist/es2015/Combination.js"),_=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),b="Popover",[w,x]=(0,i.A)(b,[d.Bk]),S=(0,d.Bk)(),[k,E]=w(b),j=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:s=!1}=e,l=S(t),u=r.useRef(null),[p,m]=r.useState(!1),[f,h]=(0,g.i)({prop:o,defaultProp:a??!1,onChange:i,caller:b});return(0,_.jsx)(d.bL,{...l,children:(0,_.jsx)(k,{scope:t,contentId:(0,c.B)(),triggerRef:u,open:f,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:p,onCustomAnchorAdd:r.useCallback(()=>m(!0),[]),onCustomAnchorRemove:r.useCallback(()=>m(!1),[]),modal:s,children:n})})};j.displayName=b;var C="PopoverAnchor",P=r.forwardRef((e,t)=>
2{const{__scopePopover:n,...o}=e,a=E(C,n),i=S(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=a;return r.useEffect(()=>(s(),()=>l()),[s,l]),(0,_.jsx)(d.Mz,{...i,...o,ref:t})});P.displayName=C;var T="PopoverTrigger",q=r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=E(T,n),s=S(n),l=(0,a.s)(t,i.triggerRef),u=(0,_.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":U(i.open),...r,ref:l,onClick:(0,o.mK)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?u:(0,_.jsx)(d.Mz,{asChild:!0,...s,children:u})});q.displayName=T;var O="PopoverPortal",[R,A]=w(O,{forceMount:void 0}),D=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=E(O,t);return(0,_.jsx)(R,{scope:t,forceMount:n,children:(0,_.jsx)(m.C,{present:n||a.open,children:(0,_.jsx)(p.Z,{asChild:!0,container:o,children:r})})})};D.displayName=O;var L="PopoverContent",M=r.forwardRef((e,t)=>{const n=A(L,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=E(L,e.__scopePopover);return(0,_.jsx)(m.C,{present:r||a.open,children:a.modal?(0,_.jsx)(F,{...o,ref:t}):(0,_.jsx)(I,{...o,ref:t})})});M.displayName=L;var N=(0,h.TL)("PopoverContent.RemoveScroll"),F=r.forwardRef((e,t)=>{const n=E(L,e.__scopePopover),i=r.useRef(null),s=(0,a.s)(t,i),l=r.useRef(!1);return r.useEffect(()=>{const e=i.current;if(e)return(0,y.Eq)(e)},[]),(0,_.jsx)(v.A,{as:N,allowPinchZoom:!0,children:(0,_.jsx)(z,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;l.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),I=r.forwardRef((e,t)=>{const n=E(L,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,_.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||n.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));const r=t.target,i=n.triggerRef.current?.contains(r);i&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),z=r.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:f,...h}=e,g=E(L,n),y=S(n);return(0,l.Oh)(),(0,_.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,_.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:m,onDismiss:()=>g.onOpenChange(!1),children:(0,_.jsx)(d.UC,{"data-state":U(g.open),role:"dialog",id:g.contentId,...y,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),V="PopoverClose",$=r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,a=E(V,n);return(0,_.jsx)(f.sG.button,{type:"button",...r,ref:t,onClick:(0,o.mK)(e.onClick,()=>a.onOpenChange(!1))})});$.displayName=V;var B=r.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=S(n);return(0,_.jsx)(d.i3,{...o,...r,ref:t})});function U(e){return e?"open":"closed"}B.displayName="PopoverArrow";var W=j,H=q,Q=D,K=M},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_c37f3188ef9f6c8b038ac073954daa22/node_modules/@radix-ui/react-popper/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Mz:()=>W,i3:()=>Q,UC:()=>H,bL:()=>U,Bk:()=>P});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"),a=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/index.js"),i="undefined"!=typeof document?r.useLayoutEffect:function(){};function s(e,t){if(e===t)return!0;
vendor: 9,370 bytes, line 2
2if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!s(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const n=l(e);return Math.round(t*n)/n}function c(e){const t=r.useRef(e);return i(()=>{t.current=e}),t}const d=(e,t)=>{const n=(0,o.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},p=(e,t)=>{const n=(0,o.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},m=(e,t)=>{const n=(0,o.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},f=(e,t)=>{const n=(0,o.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>{const n=(0,o.jD)(e);return{name:n.name,fn:n.fn,options:[e,t]}},g=(e,t)=>{const n=(e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(a=n,{}.hasOwnProperty.call(a,"current"))?null!=n.current?(0,o.UE)({element:n.current,padding:r}).fn(t):{}:n?(0,o.UE)({element:n,padding:r}).fn(t):{};var a}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}};var y=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),v=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),_=r.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...a}=e;return(0,v.jsx)(y.sG.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,v.jsx)("polygon",{points:"0,0 30,0 15,10"})})});_.displayName="Arrow";var b=_,w=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),x=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"),S=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"),k=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"),E=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-size/dist/index.mjs"),j="Popper",[C,P]=(0,x.A)(j),[T,q]=C(j),O=e=>{const{__scopePopper:t,children:n}=e,[o,a]=r.useState(null);return(0,v.jsx)(T,{scope:t,anchor:o,onAnchorChange:a,children:n})};O.displayName=j;var R="PopperAnchor",A=r.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...a}=e,i=q(R,n),s=r.useRef(null),l=(0,w.s)(t,s),u=r.useRef(null);return r.useEffect(()=>{const e=u.current;u.current=o?.current||s.current,e!==u.current&&i.onAnchorChange(u.current)}),o?null:(0,v.jsx)(y.sG.div,{...a,ref:l})});A.displayName=R;var D="PopperContent",[L,M]=C(D),N=r.forwardRef((e,t)=>{const{__scopePopper:n,side:_="bottom",sideOffset:b=0,align:x="center",alignOffset:j=0,arrowPadding:C=0,avoidCollisions:P=!0,collisionBoundary:T=[],collisionPadding:O=0,sticky:R="partial",hideWhenDetached:A=!1,updatePositionStrategy:M="optimized",onPlaced:N,...F}=e,I=q(D,n),[z,U]=r.useState(null),W=(0,w.s)(t,e=>U(e)),[H,Q]=r.useState(null),K=(0,E.X)(H),G=K?.width??0,Y=K?.height??0,X=_+("center"!==x?"-"+x:""),J="number"==typeof O?O:{top:0,right:0,bottom:0,left:0,...O},Z=Array.isArray(T)?T:[T],ee=Z.length>0,te={padding:J,boundary:Z.filter(V),altBoundary:ee},{refs:ne,floatingStyles:re,placement:oe,isPositioned:ae,middlewareData:ie}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:p,elements:{reference:m,floating:f}={},transform:h=!0,whileElementsMounted:g,open:y}=e,[v,_]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,w]=r.useState(d);s(b,d)||w(d);const[x,S]=r.useState(null),[k,E]=r.useState(null),j=r.useCallback(e=>{e!==q.current&&(q.current=e,S(e))},[]),C=r.useCallback(e=>{e!==O.current&&(O.current=e,E(e))},[]),P=m||x,T=f||k,q=r.useRef(null),O=r.useRef(null),R=r.useRef(v),A=null!=g,D=c(g),L=c(p),M=c(y),N=r.useCallback(()=>{if(!q.current||!O.current)return;const e={placement:t,strategy:n,middleware:b};L.current&&(e.platform=L.current),(0,o.rD)(q.current,O.current,e).then(e=>{const t={...e,isPositioned:!1!==M.current};F.current&&!s(R.current,t)&&(R.current=t,a.flushSync(()=>{_(t)}))})},[b,t,n,L,M]);i(()=>{!1===y&&R.current.isPositioned&&(R.current.isPositioned=!1,_(e=>({...e,isPositioned:!1})))},[y]);const F=r.useRef(!1);i(()=>(F.current=!0,()=>{F.current=!1}),[]),i(()=>{if(P&&(q.current=P),T&&(O.current=T),P&&T){if(D.current)return D.current(P,T,N);N()}},[P,T,N,D,A]);const I=r.useMemo(()=>({reference:q,floating:O,setReference:j,setFloating:C}),[j,C]),z=r.useMemo(()=>({reference:P,floating:T}),[P,T]),V=r.useMemo(()=>{const e={position:n,left:0,top:0};if(!z.floating)return e;const t=u(z.floating,v.x),r=u(z.floating,v.y);return h?{...e,transform:"translate("+t+"px, "+r+"px)",...l(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,h,z.floating,v.x,v.y]);return r.useMemo(()=>({...v,update:N,refs:I,elements:z,floatingStyles:V}),[v,N,I,z,V])}({strategy:"fixed",placement:X,whileElementsMounted:(...e)=>(0,o.ll)(...e,{animationFrame:"always"===M}),elements:{reference:I.anchor},middleware:[d({mainAxis:b+Y,alignmentAxis:j}),P&&p({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?{fn:(0,o.ER)(se).fn,options:[se,le]}:void 0,...te}),P&&m({...te}),f({...te,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:a}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${n}px`),i.setProperty("--radix-popper-available-height",`${r}px`),i.setProperty("--radix-popper-anchor-width",`${o}px`),i.setProperty("--radix-popper-anchor-height",`${a}px`)}}),H&&g({element:H,padding:C}),$({arrowWidth:G,arrowHeight:Y}),A&&h({strategy:"referenceHidden",...te})]});var se,le;const[ue,ce]=B(oe),de=(0,S.c)(N);(0,k.N)(()=>{ae&&de?.()},[ae,de]);const pe=ie.arrow?.x,me=ie.arrow?.y,fe=0!==ie.arrow?.centerOffset,[he,ge]=r.useState();return(0,k.N)(()=>{z&&ge(window.getComputedStyle(z).zIndex)},[z]),(0,v.jsx)("div",{ref:ne.setFloating,"data-radix-popper-content-wrapper":"",style:{...re,transform:ae?re.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[ie.transformOrigin?.x,ie.transformOrigin?.y].join(" "),...ie.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,v.jsx)(L,{scope:n,placedSide:ue,onArrowChange:Q,arrowX:pe,arrowY:me,shouldHideArrow:fe,children:(0,v.jsx)(y.sG.div,{"data-side":ue,"data-align":ce,...F,ref:W,style:{...F.style,animation:ae?void 0:"none"}})})})});N.displayName=D;var F="PopperArrow",I={top:"bottom",right:"left",bottom:"top",left:"right"},z=r.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=M(F,n),a=I[o.placedSide];return(0,v.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,v.jsx)(b,{...r,ref:t,style:{...r.style,display:"block"}})})});function V(e){return null!==e}z.displayName=F;var $=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=0!==o.arrow?.centerOffset,i=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,u]=B(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(o.arrow?.x??0)+i/2,p=(o.arrow?.y??0)+s/2;let m="",f="";return"bottom"===l?(m=a?c:`${d}px`,f=-s+"px"):"top"===l?(m=a?c:`${d}px`,f=`${r.floating.height+s}px`):"right"===l?(m=-s+"px",f=a?c:`${p}px`):"left"===l&&(m=`${r.floating.width+s}px`,f=a?c:`${p}px`),{data:{x:m,y:f}}}});function B(e){const[t,n="center"]=e.split("-");return[t,n]}var U=O,W=A,H=N,Q=z},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_6ee34ab849d5486d34770d4a3c51dafe/node_modules/@radix-ui/react-portal/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Z:()=>l});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/index.js"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),l=r.forwardRef((e,t)=>
vendor: 4,774 bytes, line 2
2{const{container:n,...l}=e,[u,c]=r.useState(!1);(0,i.N)(()=>c(!0),[]);const d=n||u&&globalThis?.document?.body;return d?o.createPortal((0,s.jsx)(a.sG.div,{...l,ref:t}),d):null});l.displayName="Portal"},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+reac_8fc96361169709ec99257529b2dca09c/node_modules/@radix-ui/react-presence/dist/index.mjs"(e,t,n){"use strict";n.d(t,{C:()=>i});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs");var i=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=r.useState(),o=r.useRef(null),i=r.useRef(e),l=r.useRef("none"),u=e?"mounted":"unmounted",[c,d]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=s(o.current);l.current="mounted"===c?e:"none"},[c]),(0,a.N)(()=>{const t=o.current,n=i.current;if(n!==e){const r=l.current,o=s(t);if(e)d("MOUNT");else if("none"===o||"none"===t?.display)d("UNMOUNT");else{d(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,d]),(0,a.N)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const a=s(o.current).includes(CSS.escape(r.animationName));if(r.target===t&&a&&(d("ANIMATION_END"),!i.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},a=e=>{e.target===t&&(l.current=s(o.current))};return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,n(e)},[])}}(t),l="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),u=(0,o.s)(i.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(l));return"function"==typeof n||i.isPresent?r.cloneElement(l,{ref:u}):null};function s(e){return e?.animationName||"none"}i.displayName="Presence"},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"(e,t,n){"use strict";n.d(t,{hO:()=>l,sG:()=>s});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/index.js"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-slot/dist/index.mjs"),i=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=(0,a.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{const{asChild:o,...a}=e,s=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(s,{...a,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+reac_4ee85bf68976ddc17bc976f28622fb4e/node_modules/@radix-ui/react-progress/dist/index.mjs"(e,t,n){"use strict";n.d(t,{C1:()=>x,bL:()=>w});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),i=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),s="Progress",l=100,[u,c]=(0,o.A)(s),[d,p]=u(s),m=r.forwardRef((e,t)=>
2{const{__scopeProgress:n,value:r=null,max:o,getValueLabel:s=g,...u}=e;!o&&0!==o||_(o)||console.error(`Invalid prop \`max\` of value \`${`${o}`}\` supplied to \`${"Progress"}\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`);const c=_(o)?o:l;null===r||b(r,c)||console.error(function(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:\n  - a positive number\n  - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)\n  - \`null\` or \`undefined\` if the progress is indeterminate.\n\nDefaulting to \`null\`.`}(`${r}`,"Progress"));const p=b(r,c)?r:null,m=v(p)?s(p,c):void 0;return(0,i.jsx)(d,{scope:n,value:p,max:c,children:(0,i.jsx)(a.sG.div,{"aria-valuemax":c,"aria-valuemin":0,"aria-valuenow":v(p)?p:void 0,"aria-valuetext":m,role:"progressbar","data-state":y(p,c),"data-value":p??void 0,"data-max":c,...u,ref:t})})});m.displayName=s;var f="ProgressIndicator",h=r.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,o=p(f,n);return(0,i.jsx)(a.sG.div,{"data-state":y(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...r,ref:t})});function g(e,t){return`${Math.round(e/t*100)}%`}function y(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function v(e){return"number"==typeof e}function _(e){return v(e)&&!isNaN(e)&&e>0}function b(e,t){return v(e)&&!isNaN(e)&&e<=t&&e>=0}h.displayName=f;var w=m,x=h},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+_a60f0863db1a1dc758a00971b14dc42a/node_modules/@radix-ui/react-scroll-area/dist/index.mjs"(e,t,n){"use strict";n.d(t,{LM:()=>G,Ze:()=>Y,bL:()=>K,zi:()=>X});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+reac_8fc96361169709ec99257529b2dca09c/node_modules/@radix-ui/react-presence/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"),s=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),l=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"),u=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-direction/dist/index.mjs"),c=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"),d=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/number/dist/index.mjs"),p=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/primitive/dist/index.mjs"),m=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js");var f="ScrollArea",[h,g]=(0,i.A)(f),[y,v]=h(f),_=r.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:a="hover",dir:i,scrollHideDelay:l=600,...c}=e,[d,p]=r.useState(null),[f,h]=r.useState(null),[g,v]=r.useState(null),[_,b]=r.useState(null),[w,x]=r.useState(null),[S,k]=r.useState(0),[E,j]=r.useState(0),[C,P]=r.useState(!1),[T,q]=r.useState(!1),O=(0,s.s)(t,e=>p(e)),R=(0,u.jH)(i);return(0,m.jsx)(y,{scope:n,type:a,dir:R,scrollHideDelay:l,scrollArea:d,viewport:f,onViewportChange:h,content:g,onContentChange:v,scrollbarX:_,onScrollbarXChange:b,scrollbarXEnabled:C,onScrollbarXEnabledChange:P,scrollbarY:w,onScrollbarYChange:x,scrollbarYEnabled:T,onScrollbarYEnabledChange:q,onCornerWidthChange:k,onCornerHeightChange:j,children:(0,m.jsx)(o.sG.div,{dir:R,...c,ref:O,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})});_.displayName=f;var b="ScrollAreaViewport",w=r.forwardRef((e,t)=>
vendor: 4,395 bytes, line 2
2{const{__scopeScrollArea:n,children:a,nonce:i,...l}=e,u=v(b,n),c=r.useRef(null),d=(0,s.s)(t,c,u.onViewportChange);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,m.jsx)(o.sG.div,{"data-radix-scroll-area-viewport":"",...l,ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,m.jsx)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:a})})]})});w.displayName=b;var x="ScrollAreaScrollbar",S=r.forwardRef((e,t)=>{const{forceMount:n,...o}=e,a=v(x,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:s}=a,l="horizontal"===e.orientation;return r.useEffect(()=>(l?i(!0):s(!0),()=>{l?i(!1):s(!1)}),[l,i,s]),"hover"===a.type?(0,m.jsx)(k,{...o,ref:t,forceMount:n}):"scroll"===a.type?(0,m.jsx)(E,{...o,ref:t,forceMount:n}):"auto"===a.type?(0,m.jsx)(j,{...o,ref:t,forceMount:n}):"always"===a.type?(0,m.jsx)(C,{...o,ref:t}):null});S.displayName=x;var k=r.forwardRef((e,t)=>{const{forceMount:n,...o}=e,i=v(x,e.__scopeScrollArea),[s,l]=r.useState(!1);return r.useEffect(()=>{const e=i.scrollArea;let t=0;if(e){const n=()=>{window.clearTimeout(t),l(!0)},r=()=>{t=window.setTimeout(()=>l(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[i.scrollArea,i.scrollHideDelay]),(0,m.jsx)(a.C,{present:n||s,children:(0,m.jsx)(j,{"data-state":s?"visible":"hidden",...o,ref:t})})}),E=r.forwardRef((e,t)=>{const{forceMount:n,...o}=e,i=v(x,e.__scopeScrollArea),s="horizontal"===e.orientation,l=H(()=>c("SCROLL_END"),100),[u,c]=(d="hidden",f={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},r.useReducer((e,t)=>f[e][t]??e,d));var d,f;return r.useEffect(()=>{if("idle"===u){const e=window.setTimeout(()=>c("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[u,i.scrollHideDelay,c]),r.useEffect(()=>{const e=i.viewport,t=s?"scrollLeft":"scrollTop";if(e){let n=e[t];const r=()=>{const r=e[t];n!==r&&(c("SCROLL"),l()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[i.viewport,s,c,l]),(0,m.jsx)(a.C,{present:n||"hidden"!==u,children:(0,m.jsx)(C,{"data-state":"hidden"===u?"hidden":"visible",...o,ref:t,onPointerEnter:(0,p.mK)(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:(0,p.mK)(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),j=r.forwardRef((e,t)=>{const n=v(x,e.__scopeScrollArea),{forceMount:o,...i}=e,[s,l]=r.useState(!1),u="horizontal"===e.orientation,c=H(()=>{if(n.viewport){const e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;l(u?e:t)}},10);return Q(n.viewport,c),Q(n.content,c),(0,m.jsx)(a.C,{present:o||s,children:(0,m.jsx)(C,{"data-state":s?"visible":"hidden",...i,ref:t})})}),C=r.forwardRef((e,t)=>{const{orientation:n="vertical",...o}=e,a=v(x,e.__scopeScrollArea),i=r.useRef(null),s=r.useRef(0),[l,u]=r.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=z(l.viewport,l.content),d={...o,sizes:l,onSizesChange:u,hasThumb:Boolean(c>0&&c<1),onThumbChange:e=>i.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function p(e,t){return function(e,t,n,r="ltr"){const o=V(n),a=o/2,i=t||a,s=o-i,l=n.scrollbar.paddingStart+i,u=n.scrollbar.size-n.scrollbar.paddingEnd-s,c=n.content-n.viewport,d="ltr"===r?[0,c]:[-1*c,0];return B([l,u],d)(e)}(e,s.current,l,t)}return"horizontal"===n?(0,m.jsx)(P,{...d,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const e=$(a.viewport.scrollLeft,l,a.dir);i.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=p(e,a.dir))}}):"vertical"===n?(0,m.jsx)(T,{...d,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const e=$(a.viewport.scrollTop,l);i.current.style.transform=`translate3d(0, ${e}px, 0)`}}
2,onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=p(e))}}):null}),P=r.forwardRef((e,t)=>{const{sizes:n,onSizesChange:o,...a}=e,i=v(x,e.__scopeScrollArea),[l,u]=r.useState(),c=r.useRef(null),d=(0,s.s)(t,c,i.onScrollbarXChange);return r.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,m.jsx)(R,{"data-orientation":"horizontal",...a,ref:d,sizes:n,style:{bottom:0,left:"rtl"===i.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===i.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":V(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(i.viewport){const r=i.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),U(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&i.viewport&&l&&o({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:I(l.paddingLeft),paddingEnd:I(l.paddingRight)}})}})}),T=r.forwardRef((e,t)=>{const{sizes:n,onSizesChange:o,...a}=e,i=v(x,e.__scopeScrollArea),[l,u]=r.useState(),c=r.useRef(null),d=(0,s.s)(t,c,i.onScrollbarYChange);return r.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,m.jsx)(R,{"data-orientation":"vertical",...a,ref:d,sizes:n,style:{top:0,right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":V(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(i.viewport){const r=i.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),U(r,n)&&t.preventDefault()}},onResize:()=>{c.current&&i.viewport&&l&&o({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:I(l.paddingTop),paddingEnd:I(l.paddingBottom)}})}})}),[q,O]=h(x),R=r.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:a,hasThumb:i,onThumbChange:u,onThumbPointerUp:c,onThumbPointerDown:d,onThumbPositionChange:f,onDragScroll:h,onWheelScroll:g,onResize:y,..._}=e,b=v(x,n),[w,S]=r.useState(null),k=(0,s.s)(t,e=>S(e)),E=r.useRef(null),j=r.useRef(""),C=b.viewport,P=a.content-a.viewport,T=(0,l.c)(g),O=(0,l.c)(f),R=H(y,10);function A(e){if(E.current){const t=e.clientX-E.current.left,n=e.clientY-E.current.top;h({x:t,y:n})}}return r.useEffect(()=>{const e=e=>{const t=e.target,n=w?.contains(t);n&&T(e,P)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[C,w,P,T]),r.useEffect(O,[a,O]),Q(w,R),Q(b.content,R),(0,m.jsx)(q,{scope:n,scrollbar:w,hasThumb:i,onThumbChange:(0,l.c)(u),onThumbPointerUp:(0,l.c)(c),onThumbPositionChange:O,onThumbPointerDown:(0,l.c)(d),children:(0,m.jsx)(o.sG.div,{..._,ref:k,style:{position:"absolute",..._.style},onPointerDown:(0,p.mK)(e.onPointerDown,e=>{if(0===e.button){e.target.setPointerCapture(e.pointerId),E.current=w.getBoundingClientRect(),j.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),A(e)}}),onPointerMove:(0,p.mK)(e.onPointerMove,A),onPointerUp:(0,p.mK)(e.onPointerUp,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=j.current,b.viewport&&(b.viewport.style.scrollBehavior=""),E.current=null})})})}),A="ScrollAreaThumb",D=r.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=O(A,e.__scopeScrollArea);return(0,m.jsx)(a.C,{present:n||o.hasThumb,children:(0,m.jsx)(L,{ref:t,...r})})}),L=r.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:a,...i}=e,l=v(A,n),u=O(A,n),{onThumbPositionChange:c}=u,d=(0,s.s)(t,e=>u.onThumbChange(e)),f=r.useRef(void 0),h=H(()=>{f.current&&(f.current(),f.current=void 0)},100);return r.useEffect(()=>{const e=l.viewport;if(e){const t=()=>{if(h(),!f.current){const t=W(e,c);f.current=t,c()}};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[l.viewport,h,c]),(0,m.jsx)(o.sG.div,{"data-state":u.hasThumb?"visible":"hidden",...i,ref:d,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:(0,p.mK)(e.onPointerDownCapture,e=>{const t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;u.onThumbPointerDown({x:n,y:r})}),onPointerUp:(0,p.mK)(e.onPointerUp,u.onThumbPointerUp)})});D.displayName=A;var M="ScrollAreaCorner",N=r.forwardRef((e,t)=>
2{const n=v(M,e.__scopeScrollArea),r=Boolean(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&r?(0,m.jsx)(F,{...e,ref:t}):null});N.displayName=M;var F=r.forwardRef((e,t)=>{const{__scopeScrollArea:n,...a}=e,i=v(M,n),[s,l]=r.useState(0),[u,c]=r.useState(0),d=Boolean(s&&u);return Q(i.scrollbarX,()=>{const e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),c(e)}),Q(i.scrollbarY,()=>{const e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),l(e)}),d?(0,m.jsx)(o.sG.div,{...a,ref:t,style:{width:s,height:u,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}}):null});function I(e){return e?parseInt(e,10):0}function z(e,t){const n=e/t;return isNaN(n)?0:n}function V(e){const t=z(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function $(e,t,n="ltr"){const r=V(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,i=t.content-t.viewport,s=a-r,l="ltr"===n?[0,i]:[-1*i,0],u=(0,d.q)(e,l);return B([0,i],[0,s])(u)}function B(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function U(e,t){return e>0&&e<t}var W=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){const a={left:e.scrollLeft,top:e.scrollTop},i=n.left!==a.left,s=n.top!==a.top;(i||s)&&t(),n=a,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)};function H(e,t){const n=(0,l.c)(e),o=r.useRef(0);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),r.useCallback(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(n,t)},[n,t])}function Q(e,t){const n=(0,l.c)(t);(0,c.N)(()=>{let t=0;if(e){const r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var K=_,G=w,Y=S,X=D},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_c50f0c0243c085226dd2db3fe4767e30/node_modules/@radix-ui/react-select/dist/index.mjs"(e,t,n){"use strict";n.d(t,{UC:()=>Ie,In:()=>Ne,q7:()=>Ve,p4:()=>$e,ZL:()=>Fe,bL:()=>De,l9:()=>Le,WT:()=>Me,LM:()=>ze});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/index.js"),a=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/number/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/primitive/dist/index.mjs"),s=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"),l=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),u=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-slot/dist/index.mjs"),c=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js");var d=new WeakMap;Map;function p(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=function(e,t){const n=e.length,r=m(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}(e,t);return-1===n?void 0:e[n]}function m(e){return e!=e||0===e?0:Math.trunc(e)}var f=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-direction/dist/index.mjs"),h=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@_51b8207f9b4980ed7e3c80762fbd45eb/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"),g=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-focus-guards/dist/index.mjs"),y=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+r_ec3adb7c0456ad47fcd6e09a750b4b75/node_modules/@radix-ui/react-focus-scope/dist/index.mjs"),v=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-id/dist/index.mjs"),_=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_c37f3188ef9f6c8b038ac073954daa22/node_modules/@radix-ui/react-popper/dist/index.mjs"),b=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_6ee34ab849d5486d34770d4a3c51dafe/node_modules/@radix-ui/react-portal/dist/index.mjs"),w=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),x=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"),S=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"),k=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"),E=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-previous/dist/index.mjs"),j=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@typ_208c15ae729122632d926888ccf5cf22/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"),C=n("../../../node_modules/.pnpm/[email protected]/node_modules/aria-hidden/dist/es2015/index.js"),P=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-remove-scroll/dist/es2015/Combination.js"),T=[" ","Enter","ArrowUp","ArrowDown"],q=[" ","Enter"],O="Select",[R,A,D]=function(e){const t=e+"CollectionProvider",[n,o]=(0,s.A)(t),[a,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{const{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return(0,c.jsx)(a,{scope:t,itemMap:i,collectionRef:o,children:n})};d.displayName=t;const p=e+"CollectionSlot",m=(0,u.TL)(p),f=r.forwardRef((e,t)=>
2{const{scope:n,children:r}=e,o=i(p,n),a=(0,l.s)(t,o.collectionRef);return(0,c.jsx)(m,{ref:a,children:r})});f.displayName=p;const h=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,u.TL)(h),v=r.forwardRef((e,t)=>{const{scope:n,children:o,...a}=e,s=r.useRef(null),u=(0,l.s)(t,s),d=i(h,n);return r.useEffect(()=>(d.itemMap.set(s,{ref:s,...a}),()=>{d.itemMap.delete(s)})),(0,c.jsx)(y,{[g]:"",ref:u,children:o})});return v.displayName=h,[{Provider:d,Slot:f,ItemSlot:v},function(t){const n=i(e+"CollectionConsumer",t);return r.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},o]}(O),[L,M]=(0,s.A)(O,[D,_.Bk]),N=(0,_.Bk)(),[F,I]=L(O),[z,V]=L(O),$=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:a,onOpenChange:i,value:s,defaultValue:l,onValueChange:u,dir:d,name:p,autoComplete:m,disabled:h,required:g,form:y}=e,b=N(t),[w,x]=r.useState(null),[k,E]=r.useState(null),[j,C]=r.useState(!1),P=(0,f.jH)(d),[T,q]=(0,S.i)({prop:o,defaultProp:a??!1,onChange:i,caller:O}),[A,D]=(0,S.i)({prop:s,defaultProp:l,onChange:u,caller:O}),L=r.useRef(null),M=!w||(y||!!w.closest("form")),[I,V]=r.useState(new Set),$=Array.from(I).map(e=>e.props.value).join(";");return(0,c.jsx)(_.bL,{...b,children:(0,c.jsxs)(F,{required:g,scope:t,trigger:w,onTriggerChange:x,valueNode:k,onValueNodeChange:E,valueNodeHasChildren:j,onValueNodeHasChildrenChange:C,contentId:(0,v.B)(),value:A,onValueChange:D,open:T,onOpenChange:q,dir:P,triggerPointerDownPosRef:L,disabled:h,children:[(0,c.jsx)(R.Provider,{scope:t,children:(0,c.jsx)(z,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{V(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{V(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:n})}),M?(0,c.jsxs)(qe,{"aria-hidden":!0,required:g,tabIndex:-1,name:p,autoComplete:m,value:A,onChange:e=>D(e.target.value),disabled:h,form:y,children:[void 0===A?(0,c.jsx)("option",{value:""}):null,Array.from(I)]},$):null]})})};$.displayName=O;var B="SelectTrigger",U=r.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...a}=e,s=N(n),u=I(B,n),d=u.disabled||o,p=(0,l.s)(t,u.onTriggerChange),m=A(n),f=r.useRef("touch"),[h,g,y]=Re(e=>{const t=m().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=Ae(t,e,n);void 0!==r&&u.onValueChange(r.value)}),v=e=>{d||(u.onOpenChange(!0),y()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,c.jsx)(_.Mz,{asChild:!0,...s,children:(0,c.jsx)(w.sG.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":Oe(u.value)?"":void 0,...a,ref:p,onClick:(0,i.mK)(a.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&v(e)}),onPointerDown:(0,i.mK)(a.onPointerDown,e=>{f.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(v(e),e.preventDefault())}),onKeyDown:(0,i.mK)(a.onKeyDown,e=>{const t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),t&&" "===e.key||T.includes(e.key)&&(v(),e.preventDefault())})})})});U.displayName=B;var W="SelectValue",H=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:a,placeholder:i="",...s}=e,u=I(W,n),{onValueNodeHasChildrenChange:d}=u,p=void 0!==a,m=(0,l.s)(t,u.onValueNodeChange);return(0,k.N)(()=>{d(p)},[d,p]),(0,c.jsx)(w.sG.span,{...s,ref:m,style:{pointerEvents:"none"},children:Oe(u.value)?(0,c.jsx)(c.Fragment,{children:i}):a})});H.displayName=W;var Q=r.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return(0,c.jsx)(w.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});Q.displayName="SelectIcon";var K=e=>(0,c.jsx)(b.Z,{asChild:!0,...e});K.displayName="SelectPortal";var G="SelectContent",Y=r.forwardRef((e,t)=>
2{const n=I(G,e.__scopeSelect),[a,i]=r.useState();if((0,k.N)(()=>{i(new DocumentFragment)},[]),!n.open){const t=a;return t?o.createPortal((0,c.jsx)(J,{scope:e.__scopeSelect,children:(0,c.jsx)(R.Slot,{scope:e.__scopeSelect,children:(0,c.jsx)("div",{children:e.children})})}),t):null}return(0,c.jsx)(te,{...e,ref:t})});Y.displayName=G;var X=10,[J,Z]=L(G),ee=(0,u.TL)("SelectContent.RemoveScroll"),te=r.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:s,onPointerDownOutside:u,side:d,sideOffset:p,align:m,alignOffset:f,arrowPadding:v,collisionBoundary:_,collisionPadding:b,sticky:w,hideWhenDetached:x,avoidCollisions:S,...k}=e,E=I(G,n),[j,T]=r.useState(null),[q,O]=r.useState(null),R=(0,l.s)(t,e=>T(e)),[D,L]=r.useState(null),[M,N]=r.useState(null),F=A(n),[z,V]=r.useState(!1),$=r.useRef(!1);r.useEffect(()=>{if(j)return(0,C.Eq)(j)},[j]),(0,g.Oh)();const B=r.useCallback(e=>{const[t,...n]=F().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(const n of e){if(n===o)return;if(n?.scrollIntoView({block:"nearest"}),n===t&&q&&(q.scrollTop=0),n===r&&q&&(q.scrollTop=q.scrollHeight),n?.focus(),document.activeElement!==o)return}},[F,q]),U=r.useCallback(()=>B([D,j]),[B,D,j]);r.useEffect(()=>{z&&U()},[z,U]);const{onOpenChange:W,triggerPointerDownPosRef:H}=E;r.useEffect(()=>{if(j){let e={x:0,y:0};const t=t=>{e={x:Math.abs(Math.round(t.pageX)-(H.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(H.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():j.contains(n.target)||W(!1),document.removeEventListener("pointermove",t),H.current=null};return null!==H.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[j,W,H]),r.useEffect(()=>{const e=()=>W(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[W]);const[Q,K]=Re(e=>{const t=F().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=Ae(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Y=r.useCallback((e,t,n)=>{const r=!$.current&&!n;(void 0!==E.value&&E.value===t||r)&&(L(e),r&&($.current=!0))},[E.value]),X=r.useCallback(()=>j?.focus(),[j]),Z=r.useCallback((e,t,n)=>{const r=!$.current&&!n;(void 0!==E.value&&E.value===t||r)&&N(e)},[E.value]),te="popper"===o?re:ne,oe=te===re?{side:d,sideOffset:p,align:m,alignOffset:f,arrowPadding:v,collisionBoundary:_,collisionPadding:b,sticky:w,hideWhenDetached:x,avoidCollisions:S}:{};return(0,c.jsx)(J,{scope:n,content:j,viewport:q,onViewportChange:O,itemRefCallback:Y,selectedItem:D,onItemLeave:X,itemTextRefCallback:Z,focusSelectedItem:U,selectedItemText:M,position:o,isPositioned:z,searchRef:Q,children:(0,c.jsx)(P.A,{as:ee,allowPinchZoom:!0,children:(0,c.jsx)(y.n,{asChild:!0,trapped:E.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.mK)(a,e=>{E.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,c.jsx)(h.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:(0,c.jsx)(te,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:e=>e.preventDefault(),...k,...oe,onPlaced:()=>V(!0),ref:R,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:(0,i.mK)(k.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||K(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=F().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>B(t)),e.preventDefault()}})})})})})})});te.displayName="SelectContentImpl";var ne=r.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...i}=e,s=I(G,n),u=Z(G,n),[d,p]=r.useState(null),[m,f]=r.useState(null),h=(0,l.s)(t,e=>f(e)),g=A(n),y=r.useRef(!1),v=r.useRef(!0),{viewport:_,selectedItem:b,selectedItemText:x,focusSelectedItem:S}=u,E=r.useCallback(()=>
vendor: 4,218 bytes, line 2
2{if(s.trigger&&s.valueNode&&d&&m&&_&&b&&x){const e=s.trigger.getBoundingClientRect(),t=m.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),r=x.getBoundingClientRect();if("rtl"!==s.dir){const o=r.left-t.left,i=n.left-o,s=e.left-i,l=e.width+s,u=Math.max(l,t.width),c=window.innerWidth-X,p=(0,a.q)(i,[X,Math.max(X,c-u)]);d.style.minWidth=l+"px",d.style.left=p+"px"}else{const o=t.right-r.right,i=window.innerWidth-n.right-o,s=window.innerWidth-e.right-i,l=e.width+s,u=Math.max(l,t.width),c=window.innerWidth-X,p=(0,a.q)(i,[X,Math.max(X,c-u)]);d.style.minWidth=l+"px",d.style.right=p+"px"}const i=g(),l=window.innerHeight-2*X,u=_.scrollHeight,c=window.getComputedStyle(m),p=parseInt(c.borderTopWidth,10),f=parseInt(c.paddingTop,10),h=parseInt(c.borderBottomWidth,10),v=p+f+u+parseInt(c.paddingBottom,10)+h,w=Math.min(5*b.offsetHeight,v),S=window.getComputedStyle(_),k=parseInt(S.paddingTop,10),E=parseInt(S.paddingBottom,10),j=e.top+e.height/2-X,C=l-j,P=b.offsetHeight/2,T=p+f+(b.offsetTop+P),q=v-T;if(T<=j){const e=i.length>0&&b===i[i.length-1].ref.current;d.style.bottom="0px";const t=m.clientHeight-_.offsetTop-_.offsetHeight,n=T+Math.max(C,P+(e?E:0)+t+h);d.style.height=n+"px"}else{const e=i.length>0&&b===i[0].ref.current;d.style.top="0px";const t=Math.max(j,p+_.offsetTop+(e?k:0)+P)+q;d.style.height=t+"px",_.scrollTop=T-j+_.offsetTop}d.style.margin=`${X}px 0`,d.style.minHeight=w+"px",d.style.maxHeight=l+"px",o?.(),requestAnimationFrame(()=>y.current=!0)}},[g,s.trigger,s.valueNode,d,m,_,b,x,s.dir,o]);(0,k.N)(()=>E(),[E]);const[j,C]=r.useState();(0,k.N)(()=>{m&&C(window.getComputedStyle(m).zIndex)},[m]);const P=r.useCallback(e=>{e&&!0===v.current&&(E(),S?.(),v.current=!1)},[E,S]);return(0,c.jsx)(oe,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:y,onScrollButtonChange:P,children:(0,c.jsx)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:(0,c.jsx)(w.sG.div,{...i,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});ne.displayName="SelectItemAlignedPosition";var re=r.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=X,...a}=e,i=N(n);return(0,c.jsx)(_.UC,{...i,...a,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});re.displayName="SelectPopperPosition";var[oe,ae]=L(G,{}),ie="SelectViewport",se=r.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...a}=e,s=Z(ie,n),u=ae(ie,n),d=(0,l.s)(t,s.onViewportChange),p=r.useRef(0);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,c.jsx)(R.Slot,{scope:n,children:(0,c.jsx)(w.sG.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:(0,i.mK)(a.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if(r?.current&&n){const e=Math.abs(p.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*X,o=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),i=Math.max(o,a);if(i<r){const o=i+e,a=Math.min(r,o),s=o-a;n.style.height=a+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})});se.displayName=ie;var le="SelectGroup",[ue,ce]=L(le),de=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=(0,v.B)();return(0,c.jsx)(ue,{scope:n,id:o,children:(0,c.jsx)(w.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})});de.displayName=le;var pe="SelectLabel",me=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=ce(pe,n);return(0,c.jsx)(w.sG.div,{id:o.id,...r,ref:t})});me.displayName=pe;var fe="SelectItem",[he,ge]=L(fe),ye=r.forwardRef((e,t)=>
2{const{__scopeSelect:n,value:o,disabled:a=!1,textValue:s,...u}=e,d=I(fe,n),p=Z(fe,n),m=d.value===o,[f,h]=r.useState(s??""),[g,y]=r.useState(!1),_=(0,l.s)(t,e=>p.itemRefCallback?.(e,o,a)),b=(0,v.B)(),x=r.useRef("touch"),S=()=>{a||(d.onValueChange(o),d.onOpenChange(!1))};if(""===o)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,c.jsx)(he,{scope:n,value:o,disabled:a,textId:b,isSelected:m,onItemTextChange:r.useCallback(e=>{h(t=>t||(e?.textContent??"").trim())},[]),children:(0,c.jsx)(R.ItemSlot,{scope:n,value:o,disabled:a,textValue:f,children:(0,c.jsx)(w.sG.div,{role:"option","aria-labelledby":b,"data-highlighted":g?"":void 0,"aria-selected":m&&g,"data-state":m?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...u,ref:_,onFocus:(0,i.mK)(u.onFocus,()=>y(!0)),onBlur:(0,i.mK)(u.onBlur,()=>y(!1)),onClick:(0,i.mK)(u.onClick,()=>{"mouse"!==x.current&&S()}),onPointerUp:(0,i.mK)(u.onPointerUp,()=>{"mouse"===x.current&&S()}),onPointerDown:(0,i.mK)(u.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,i.mK)(u.onPointerMove,e=>{x.current=e.pointerType,a?p.onItemLeave?.():"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.mK)(u.onPointerLeave,e=>{e.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:(0,i.mK)(u.onKeyDown,e=>{""!==p.searchRef?.current&&" "===e.key||(q.includes(e.key)&&S()," "===e.key&&e.preventDefault())})})})})});ye.displayName=fe;var ve="SelectItemText",_e=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:a,style:i,...s}=e,u=I(ve,n),d=Z(ve,n),p=ge(ve,n),m=V(ve,n),[f,h]=r.useState(null),g=(0,l.s)(t,e=>h(e),p.onItemTextChange,e=>d.itemTextRefCallback?.(e,p.value,p.disabled)),y=f?.textContent,v=r.useMemo(()=>(0,c.jsx)("option",{value:p.value,disabled:p.disabled,children:y},p.value),[p.disabled,p.value,y]),{onNativeOptionAdd:_,onNativeOptionRemove:b}=m;return(0,k.N)(()=>(_(v),()=>b(v)),[_,b,v]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(w.sG.span,{id:p.textId,...s,ref:g}),p.isSelected&&u.valueNode&&!u.valueNodeHasChildren?o.createPortal(s.children,u.valueNode):null]})});_e.displayName=ve;var be="SelectItemIndicator",we=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return ge(be,n).isSelected?(0,c.jsx)(w.sG.span,{"aria-hidden":!0,...r,ref:t}):null});we.displayName=be;var xe="SelectScrollUpButton",Se=r.forwardRef((e,t)=>{const n=Z(xe,e.__scopeSelect),o=ae(xe,e.__scopeSelect),[a,i]=r.useState(!1),s=(0,l.s)(t,o.onScrollButtonChange);return(0,k.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,c.jsx)(je,{...e,ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});Se.displayName=xe;var ke="SelectScrollDownButton",Ee=r.forwardRef((e,t)=>{const n=Z(ke,e.__scopeSelect),o=ae(ke,e.__scopeSelect),[a,i]=r.useState(!1),s=(0,l.s)(t,o.onScrollButtonChange);return(0,k.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),a?(0,c.jsx)(je,{...e,ref:s,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});Ee.displayName=ke;var je=r.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...a}=e,s=Z("SelectScrollButton",n),l=r.useRef(null),u=A(n),d=r.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return r.useEffect(()=>()=>d(),[d]),(0,k.N)(()=>{const e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,c.jsx)(w.sG.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,i.mK)(a.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(o,50))}),onPointerMove:(0,i.mK)(a.onPointerMove,()=>{s.onItemLeave?.(),null===l.current&&(l.current=window.setInterval(o,50))}),onPointerLeave:(0,i.mK)(a.onPointerLeave,()=>{d()})})}),Ce=r.forwardRef((e,t)=>
2{const{__scopeSelect:n,...r}=e;return(0,c.jsx)(w.sG.div,{"aria-hidden":!0,...r,ref:t})});Ce.displayName="SelectSeparator";var Pe="SelectArrow",Te=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=N(n),a=I(Pe,n),i=Z(Pe,n);return a.open&&"popper"===i.position?(0,c.jsx)(_.i3,{...o,...r,ref:t}):null});Te.displayName=Pe;var qe=r.forwardRef(({__scopeSelect:e,value:t,...n},o)=>{const a=r.useRef(null),i=(0,l.s)(o,a),s=(0,E.Z)(t);return r.useEffect(()=>{const e=a.current;if(!e)return;const n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,"value").set;if(s!==t&&r){const n=new Event("change",{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[s,t]),(0,c.jsx)(w.sG.select,{...n,style:{...j.Qg,...n.style},ref:i,defaultValue:t})});function Oe(e){return""===e||void 0===e}function Re(e){const t=(0,x.c)(e),n=r.useRef(""),o=r.useRef(0),a=r.useCallback(e=>{const r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,a,i]}function Ae(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=(i=e,s=Math.max(o,0),i.map((e,t)=>i[(s+t)%i.length]));var i,s;1===r.length&&(a=a.filter(e=>e!==n));const l=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}qe.displayName="SelectBubbleInput";var De=$,Le=U,Me=H,Ne=Q,Fe=K,Ie=Y,ze=se,Ve=ye,$e=_e},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-slot/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Dc:()=>u,TL:()=>i});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js");function i(e){const t=s(e),n=r.forwardRef((e,n)=>{const{children:o,...i}=e,s=r.Children.toArray(o),l=s.find(c);if(l){const e=l.props.children,o=s.map(t=>t===l?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,a.jsx)(t,{...i,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,a.jsx)(t,{...i,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}function s(e){const t=r.forwardRef((e,t)=>{const{children:n,...a}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),i=function(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,o.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var l=Symbol("radix.slottable");function u(e){const t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function c(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_61e34d9144263e35e1d39403a885cdb3/node_modules/@radix-ui/react-switch/dist/index.mjs"(e,t,n){"use strict";n.d(t,{bL:()=>x,zi:()=>S});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/primitive/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"),s=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"),l=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-previous/dist/index.mjs"),u=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-size/dist/index.mjs"),c=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),d=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),p="Switch",[m,f]=(0,i.A)(p
vendor: 6,305 bytes, line 2
2),[h,g]=m(p),y=r.forwardRef((e,t)=>{const{__scopeSwitch:n,name:i,checked:l,defaultChecked:u,required:m,disabled:f,value:g="on",onCheckedChange:y,form:v,..._}=e,[x,S]=r.useState(null),k=(0,a.s)(t,e=>S(e)),E=r.useRef(!1),j=!x||(v||!!x.closest("form")),[C,P]=(0,s.i)({prop:l,defaultProp:u??!1,onChange:y,caller:p});return(0,d.jsxs)(h,{scope:n,checked:C,disabled:f,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":C,"aria-required":m,"data-state":w(C),"data-disabled":f?"":void 0,disabled:f,value:g,..._,ref:k,onClick:(0,o.mK)(e.onClick,e=>{P(e=>!e),j&&(E.current=e.isPropagationStopped(),E.current||e.stopPropagation())})}),j&&(0,d.jsx)(b,{control:x,bubbles:!E.current,name:i,value:g,checked:C,required:m,disabled:f,form:v,style:{transform:"translateX(-100%)"}})]})});y.displayName=p;var v="SwitchThumb",_=r.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=g(v,n);return(0,d.jsx)(c.sG.span,{"data-state":w(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});_.displayName=v;var b=r.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:o=!0,...i},s)=>{const c=r.useRef(null),p=(0,a.s)(c,s),m=(0,l.Z)(n),f=(0,u.X)(t);return r.useEffect(()=>{const e=c.current;if(!e)return;const t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(m!==n&&r){const t=new Event("click",{bubbles:o});r.call(e,n),e.dispatchEvent(t)}},[m,n,o]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:p,style:{...i.style,...f,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function w(e){return e?"checked":"unchecked"}b.displayName="SwitchBubbleInput";var x=y,S=_},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react_888338b0bd9b8472c782c3e6db245c61/node_modules/@radix-ui/react-tooltip/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Kq:()=>W,UC:()=>G,ZL:()=>K,bL:()=>H,i3:()=>Y,l9:()=>Q});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]/node_modules/@radix-ui/primitive/dist/index.mjs"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"),i=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.mjs"),s=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@_51b8207f9b4980ed7e3c80762fbd45eb/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"),l=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-id/dist/index.mjs"),u=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_c37f3188ef9f6c8b038ac073954daa22/node_modules/@radix-ui/react-popper/dist/index.mjs"),c=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+react@_6ee34ab849d5486d34770d4a3c51dafe/node_modules/@radix-ui/react-portal/dist/index.mjs"),d=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+reac_8fc96361169709ec99257529b2dca09c/node_modules/@radix-ui/react-presence/dist/index.mjs"),p=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),m=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-slot/dist/index.mjs"),f=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"),h=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@typ_208c15ae729122632d926888ccf5cf22/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"),g=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),[y,v]=(0,i.A)("Tooltip",[u.Bk]),_=(0,u.Bk)(),b="TooltipProvider",w=700,x="tooltip.open",[S,k]=y(b),E=e=>{const{__scopeTooltip:t,delayDuration:n=w,skipDelayDuration:o=300,disableHoverableContent:a=!1,children:i}=e,s=r.useRef(!0),l=r.useRef(!1),u=r.useRef(0);return r.useEffect(()=>{const e=u.current;return()=>window.clearTimeout(e)},[]),(0,g.jsx)(S,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(u.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,o)},[o]),isPointerInTransitRef:l,onPointerInTransitChange:r.useCallback(e=>{l.current=e},[]),disableHoverableContent:a,children:i})};E.displayName=b;var j="Tooltip",[C,P]=y(j),T=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:a,onOpenChange:i,disableHoverableContent:s,delayDuration:c}=e,d=k(j,e.__scopeTooltip),p=_(t),[m,h]=r.useState(null),y=(0,l.B)(),v=r.useRef(0),b=s??d.disableHoverableContent,w=c??d.delayDuration,S=r.useRef(!1),[E,P]=(0,f.i)({prop:o,defaultProp:a??!1,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(x))):d.onClose(),i?.(e)},caller:j}),T=r.useMemo(()=>E?S.current?"delayed-open":"instant-open":"closed",[E]),q=r.useCallback(()=>{window.clearTimeout(v.current),v.current=0,S.current=!1,P(!0)},[P]),O=r.useCallback(()=>{window.clearTimeout(v.current),v.current=0,P(!1)},[P]),R=r.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{S.current=!0,P(!0),v.current=0},w)},[w,P]);return r.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),(0,g.jsx)(u.bL,{...p,children:(0,g.jsx)(C,{scope:t,contentId:y,open:E,stateAttribute:T,trigger:m,onTriggerChange:h,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayedRef.current?R():q()},[d.isOpenDelayedRef,R,q]),onTriggerLeave:r.useCallback(()=>{b?O():(window.clearTimeout(v.current),v.current=0)},[O,b]),onOpen:q,onClose:O,disableHoverableContent:b,children:n})})};T.displayName=j;var q="TooltipTrigger",O=r.forwardRef((e,t)=>
vendor: 5,244 bytes, line 2
2{const{__scopeTooltip:n,...i}=e,s=P(q,n),l=k(q,n),c=_(n),d=r.useRef(null),m=(0,a.s)(t,d,s.onTriggerChange),f=r.useRef(!1),h=r.useRef(!1),y=r.useCallback(()=>f.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),(0,g.jsx)(u.Mz,{asChild:!0,...c,children:(0,g.jsx)(p.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...i,ref:m,onPointerMove:(0,o.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(h.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),h.current=!0))}),onPointerLeave:(0,o.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),h.current=!1}),onPointerDown:(0,o.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),f.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:(0,o.mK)(e.onFocus,()=>{f.current||s.onOpen()}),onBlur:(0,o.mK)(e.onBlur,s.onClose),onClick:(0,o.mK)(e.onClick,s.onClose)})})});O.displayName=q;var R="TooltipPortal",[A,D]=y(R,{forceMount:void 0}),L=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=P(R,t);return(0,g.jsx)(A,{scope:t,forceMount:n,children:(0,g.jsx)(d.C,{present:n||a.open,children:(0,g.jsx)(c.Z,{asChild:!0,container:o,children:r})})})};L.displayName=R;var M="TooltipContent",N=r.forwardRef((e,t)=>{const n=D(M,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=P(M,e.__scopeTooltip);return(0,g.jsx)(d.C,{present:r||i.open,children:i.disableHoverableContent?(0,g.jsx)($,{side:o,...a,ref:t}):(0,g.jsx)(F,{side:o,...a,ref:t})})}),F=r.forwardRef((e,t)=>{const n=P(M,e.__scopeTooltip),o=k(M,e.__scopeTooltip),i=r.useRef(null),s=(0,a.s)(t,i),[l,u]=r.useState(null),{trigger:c,onClose:d}=n,p=i.current,{onPointerInTransitChange:m}=o,f=r.useCallback(()=>{u(null),m(!1)},[m]),h=r.useCallback((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),a=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...o,...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);u(a),m(!0)},[m]);return r.useEffect(()=>()=>f(),[f]),r.useEffect(()=>{if(c&&p){const e=e=>h(e,p),t=e=>h(e,c);return c.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[c,p,h,f]),r.useEffect(()=>{if(l){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||p?.contains(t),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){const i=t[e],s=t[a],l=i.x,u=i.y,c=s.x,d=s.y;u>r!=d>r&&n<(c-l)*(r-u)/(d-u)+l&&(o=!o)}return o}(n,l);r?f():o&&(f(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,p,l,d,f]),(0,g.jsx)($,{...e,ref:s})}),[I,z]=y(j,{isInside:!1}),V=(0,m.Dc)("TooltipContent"),$=r.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:l,...c}=e,d=P(M,n),p=_(n),{onClose:m}=d;return r.useEffect(()=>(document.addEventListener(x,m),()=>document.removeEventListener(x,m)),[m]),r.useEffect(()=>{if(d.trigger){const e=e=>{const t=e.target;t?.contains(d.trigger)&&m()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,m]),(0,g.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:m,children:(0,g.jsxs)(u.UC,{"data-state":d.stateAttribute,...p,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(V,{children:o}),(0,g.jsx)(I,{scope:n,isInside:!0,children:(0,g.jsx)(h.bL,{id:d.contentId,role:"tooltip",children:a||o})})]})})});N.displayName=M;var B="TooltipArrow",U=r.forwardRef((e,t)=>
2{const{__scopeTooltip:n,...r}=e,o=_(n);return z(B,n).isInside?null:(0,g.jsx)(u.i3,{...o,...r,ref:t})});U.displayName=B;var W=E,H=T,Q=O,K=L,G=N,Y=U},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"(e,t,n){"use strict";n.d(t,{c:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function o(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"(e,t,n){"use strict";var r;n.d(t,{i:()=>s});var o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"),i=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||a.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[a,s,l]=function({defaultProp:e,onChange:t}){const[n,r]=o.useState(e),a=o.useRef(n),s=o.useRef(t);return i(()=>{s.current=t},[t]),o.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:a;{const t=o.useRef(void 0!==e);o.useEffect(()=>{const e=t.current;if(e!==u){const t=e?"controlled":"uncontrolled",n=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}const d=o.useCallback(t=>{if(u){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&l.current?.(n)}else s(t)},[u,e,s,l]);return[c,d]}Symbol("RADIX:SYNC_STATE")},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"(e,t,n){"use strict";n.d(t,{N:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=globalThis?.document?r.useLayoutEffect:()=>{}},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-previous/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Z:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function o(e){const t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},"../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-size/dist/index.mjs"(e,t,n){"use strict";n.d(t,{X:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs");function a(e){const[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,a;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,a=t.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},"../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@typ_208c15ae729122632d926888ccf5cf22/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Qg:()=>i,bL:()=>l});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+rea_3cfdb0db8feba81528c83d30ea93b358/node_modules/@radix-ui/react-primitive/dist/index.mjs"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=r.forwardRef((e,t)=>
2(0,a.jsx)(o.sG.span,{...e,ref:t,style:{...i,...e.style}}));s.displayName="VisuallyHidden";var l=s},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs"(e,t,n){"use strict";n.d(t,{P:()=>Zr});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs"),i=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs");function s({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}var l=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/mix/number.mjs");function u(e){return void 0===e||1===e}function c({scale:e,scaleX:t,scaleY:n}){return!u(e)||!u(t)||!u(n)}function d(e){return c(e)||p(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function p(e){return m(e.x)||m(e.y)}function m(e){return e&&"0%"!==e}function f(e,t,n){return n+t*(e-n)}function h(e,t,n,r,o){return void 0!==o&&(e=f(e,o,r)),f(e,n,r)+t}function g(e,t=0,n=1,r,o){e.min=h(e.min,t,n,r,o),e.max=h(e.max,t,n,r,o)}function y(e,{x:t,y:n}){g(e.x,t.translate,t.scale,t.originPoint),g(e.y,n.translate,n.scale,n.originPoint)}const v=.999999999999,_=1.0000000000001;function b(e,t){e.min=e.min+t,e.max=e.max+t}function w(e,t,n,r,o=.5){g(e,t,n,(0,l.k)(e.min,e.max,o),r)}function x(e,t){w(e.x,t.x,t.scaleX,t.scale,t.originX),w(e.y,t.y,t.scaleY,t.scale,t.originY)}function S(e,t){return s(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var k=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs"),E=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs"),j=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs"),C=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs"),P=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/frame.mjs"),T=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/index.mjs"),q=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/utils/find.mjs"),O=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/complex/index.mjs"),R=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs"),A=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/microtask.mjs"),D=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/is-numerical-string.mjs"),L=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/is-zero-value-string.mjs"),M=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/subscription-manager.mjs");const N={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},F={};for(const e in N)F[e]={isEnabled:t=>N[e].some(e=>!!t[e])};const I=()=>({x:{min:0,max:0},y:{min:0,max:0}}),z="undefined"!=typeof window,V={current:null},$={current:!1};const B=new WeakMap;function U(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function W(e){return"string"==typeof e||Array.isArray(e)}const H=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Q=["initial",...H];function K(e){return U(e.animate)||Q.some(t=>W(e[t]))}function G(e){return Boolean(K(e)||e.variants)}function Y(e){const t=[{},{}];
vendor: 5,619 bytes, line 2
2return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function X(e,t,n,r){if("function"==typeof t){const[o,a]=Y(r);t=t(void 0!==n?n:e.custom,o,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,a]=Y(r);t=t(void 0!==n?n:e.custom,o,a)}return t}const J=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Z{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:a},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=j.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=C.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,P.Gt.render(this.render,!1,!0))};const{latestValues:s,renderState:l}=a;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=K(t),this.isVariantNode=G(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==s[e]&&(0,E.S)(t)&&t.set(s[e])}}mount(e){this.current=e,B.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),$.current||function(){if($.current=!0,z)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>V.current=e.matches;e.addEventListener("change",t),t()}else V.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||V.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),(0,P.WG)(this.notifyUpdate),(0,P.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=o.f.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&P.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),a&&a(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in F){const t=F[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<J.length;t++){const n=J[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],a=n[r];if((0,E.S)(o))e.addValue(r,o);else if((0,E.S)(a))e.addValue(r,(0,T.OQ)(o,{owner:e}));else if(a!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,(0,T.OQ)(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
2addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,T.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&((0,D.i)(n)||(0,L.$)(n))?n=parseFloat(n):!(0,q.t)(n)&&O.f.test(t)&&(n=(0,R.J)(e,t)),this.setBaseTarget(e,(0,E.S)(n)?n.get():n)),(0,E.S)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let n;if("string"==typeof t||"object"==typeof t){const r=X(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,E.S)(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new M.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){A.k.render(this.render)}}class ee extends Z{constructor(){super(...arguments),this.KeyframeResolver=k.K}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;(0,E.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var te=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs"),ne=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/maps/number.mjs");const re={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},oe=o.U.length;function ae(e,t,n){const{style:r,vars:a,transformOrigin:s}=e;let l=!1,u=!1;for(const e in t){const n=t[e];if(o.f.has(e))l=!0;else if((0,i.j)(e))a[e]=n;else{const t=(0,te.e)(n,ne.W[e]);e.startsWith("origin")?(u=!0,s[e]=t):r[e]=t}}if(t.transform||(l||n?r.transform=function(e,t,n){let r="",a=!0;for(let i=0;i<oe;i++){const s=o.U[i],l=e[s];if(void 0===l)continue;let u=!0;if(u="number"==typeof l?l===(s.startsWith("scale")?1:0):0===parseFloat(l),!u||n){const e=(0,te.e)(l,ne.W[s]);u||(a=!1,r+=`${re[s]||s}(${e}) `),n&&(t[s]=e)}}return r=r.trim(),n?r=n(t,a?"":r):a&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),u){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;r.transformOrigin=`${e} ${t} ${n}`}}function ie(e,{style:t,vars:n},r,o){const a=e.style;let i;for(i in t)a[i]=t[i];for(i in o?.applyProjectionStyles(a,r),n)a.setProperty(i,n[i])}const se={};function le(e,{layout:t,layoutId:n}){return o.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!se[e]||"opacity"===e)}function ue(e,t,n){const{style:r}=e,o={};for(const a in r)((0,E.S)(r[a])||t.style&&(0,E.S)(t.style[a])||le(a,e)||void 0!==n?.getValue(a)?.liveStyle)&&(o[a]=r[a]);return o}class ce extends ee{constructor(){super(...arguments),this.type="html",this.renderInstance=ie}readValueFromInstance(e,t){if(o.f.has(t))return this.projection?.isProjecting?(0,a.zs)(t):(0,a.Ib)(e,t);{const r=(n=e,window.getComputedStyle(n)),o=((0,i.j)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return S(e,t)}build(e,t,n){ae(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return ue(e,t,n)}}var de=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs");const pe=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var me=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs");const fe={offset:"stroke-dashoffset",array:"stroke-dasharray"},he={offset:"strokeDashoffset",array:"strokeDasharray"};function ge(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:a=1,pathOffset:i=0,...s},l,u,c){if(ae(e,s,u),l)return void(e.style.viewBox&&(e.attrs.viewB
2ox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:p}=e;d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.transformBox=c?.transformBox??"fill-box",delete d.transformBox),void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==o&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?fe:he;e[a.offset]=me.px.transform(-r);const i=me.px.transform(t),s=me.px.transform(n);e[a.array]=`${i} ${s}`}(d,o,a,i,!1)}const ye=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),ve=e=>"string"==typeof e&&"svg"===e.toLowerCase();function _e(e,t,n){const r=ue(e,t,n);for(const n in e)if((0,E.S)(e[n])||(0,E.S)(t[n])){r[-1!==o.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}class be extends ee{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=I}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.f.has(t)){const e=(0,de.D)(t);return e&&e.default||0}return t=ye.has(t)?t:pe(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return _e(e,t,n)}
2build(e,t,n){ge(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){ie(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(ye.has(n)?n:pe(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=ve(e.tagName),super.mount(e)}}const we=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function xe(e){return"string"==typeof e&&!e.includes("-")&&!!(we.indexOf(e)>-1||/[A-Z]/u.test(e))}const Se=(e,t)=>xe(e)?new be(t):new ce(t,{allowProjection:e!==r.Fragment});var ke=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js");const Ee=(0,r.createContext)({}),je=(0,r.createContext)({strict:!1}),Ce=(0,r.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Pe=(0,r.createContext)({});function Te(e){const{initial:t,animate:n}=function(e,t){if(K(e)){const{initial:t,animate:n}=e;return{initial:!1===t||W(t)?t:void 0,animate:W(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,r.useContext)(Pe));return(0,r.useMemo)(()=>({initial:t,animate:n}),[qe(t),qe(n)])}function qe(e){return Array.isArray(e)?e.join(" "):e}const Oe=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Re(e,t,n){for(const r in t)(0,E.S)(t[r])||le(r,n)||(e[r]=t[r])}function Ae(e,t){const n={};return Re(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,r.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return ae(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function De(e,t){const n={},r=Ae(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Le=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function Me(e,t,n,o){const a=(0,r.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ge(n,t,ve(o),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Re(t,e.style,e),a.style={...t,...a.style}}return a}const Ne=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Fe(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Ne.has(e)}let Ie=e=>!Fe(e);try{"function"==typeof(ze=require("@emotion/is-prop-valid").default)&&(Ie=e=>e.startsWith("on")?!Fe(e):ze(e))}catch{}var ze;function Ve(e,t,n,{latestValues:o},a,i=!1){const s=(xe(e)?Me:De)(t,o,a,e),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Ie(o)||!0===n&&Fe(o)||!t&&!Fe(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(t,"string"==typeof e,i),u=e!==r.Fragment?{...l,...s,ref:n}:{},{children:c}=t,d=(0,r.useMemo)(()=>(0,E.S)(c)?c.get():c,[c]);return(0,r.createElement)(e,{...u,children:d})}const $e=(0,r.createContext)(null);function Be(e){return(0,E.S)(e)?e.get():e}function Ue(e,t,n,r){const o={},a=r(e,{});for(const e in a)o[e]=Be(a[e]);let{initial:i,animate:s}=e;const l=K(e),u=G(e);t&&u&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===s&&(s=t.animate));let c=!!n&&!1===n.initial;c=c||!1===i;const d=c?s:i;if(d&&"boolean"!=typeof d&&!U(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=X(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[c?t.length-1:0]}null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}const We=e=>(t,n)=>{const o=(0,r.useContext)(Pe),a=(0,r.useContext)($e),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:Ue(n,r,o,e),renderState:t()}}(e,t,o,a);return n?i():function(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}(i)},He=We({scrapeMotionValuesFromProps:ue,createRenderState:Oe}),Qe=We({scrapeMotionValuesFromProps:_e,createRenderState:Le});const Ke=Symbol.for("motionComponentSymbol");function Ge(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ye(e,t,n){return(0,r.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):Ge(n)&&(n.current=r))},[t])}const Xe="data-"+pe("framerAppearId"),Je=(0,r.createContext)({}),Ze=z?r.useLayoutEffect:r.useEffect;function et(e,t,n,o,a){const{visualElement:i}=(0,r.useContext)(Pe),s=(0,r.useContext)(je),l=(0,r.useContext)($e),u=(0,r.useContext)(Ce).reducedMotion,c=(0,r.useRef)(null);o=o||s.renderer,!c.current&&o&&(c.current=o(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));const d=c.current,p=(0,r.useContext)(Je);!d||d.projection||!a||"html"!==d.type&&"svg"!==d.type||function(e,t,n,r){const{layoutId:o,layout:a,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:tt(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(i)||s&&Ge(s),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(c.current,n,a,p);const m=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{d&&m.current&&d.update(n,l)});const f=n[Xe],h=(0,r.useRef)(Boolean(f)&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return Ze(()=>{d&&(m.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),h.current&&d.animationState&&d.animationState.animateChanges())}),(0,r.useEffect)(()=>{d&&(!h.current&&d.animationState&&d.animationState.animateChanges(),h.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),h.current=!1),d.enteringChildren=void 0)}),d}function tt(e){if(e)return!1!==e.options.allowProjection?e.projection:tt(e.parent)}function nt(e,{forwardMotionProps:t=!1}={},n,o){n&&function(e){for(const t in e)F[t]={...F[t],...e[t]}}(n);const a=xe(e)?Qe:He;function i(n,i){let s;const l={...(0,r.useContext)(Ce),...n,layoutId:rt(n)},{isStatic:u}=l,c=Te(n),d=a(n,u);
2if(!u&&z){!function(){(0,r.useContext)(je).strict;0}();const t=function(e){const{drag:t,layout:n}=F;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);s=t.MeasureLayout,c.visualElement=et(e,d,l,o,t.ProjectionNode)}return(0,ke.jsxs)(Pe.Provider,{value:c,children:[s&&c.visualElement?(0,ke.jsx)(s,{visualElement:c.visualElement,...l}):null,Ve(e,n,Ye(d,c.visualElement,i),d,u,t)]})}i.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;const s=(0,r.forwardRef)(i);return s[Ke]=e,s}function rt({layoutId:e}){const t=(0,r.useContext)(Ee).id;return t&&void 0!==e?t+"-"+e:e}function ot(e,t){if("undefined"==typeof Proxy)return nt;const n=new Map,r=(n,r)=>nt(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(o,a)=>"create"===a?r:(n.has(a)||n.set(a,nt(a,void 0,e,t)),n.get(a))})}function at(e,t,n){const r=e.getProps();return X(r,t,void 0!==n?n:r.custom,e)}var it=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs"),st=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs");const lt=e=>Array.isArray(e);function ut(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,T.OQ)(n))}function ct(e){return lt(e)?e[e.length-1]||0:e}var dt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/global-config.mjs");function pt(e,t){const n=e.getValue("willChange");if(r=n,Boolean((0,E.S)(r)&&r.add))return n.add(t);if(!n&&dt.W.WillChange){const n=new dt.W.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}function mt(e){return e.props[Xe]}var ft=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs"),ht=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs"),gt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs"),yt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/time-conversion.mjs");const vt=e=>null!==e;const _t={type:"spring",stiffness:500,damping:25,restSpeed:10},bt={type:"keyframes",duration:.8},wt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},xt=(e,{keyframes:t})=>t.length>2?bt:o.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:_t:wt;const St=(e,t,n,r={},o,a)=>i=>{const s=(0,it.r)(r,e)||{},l=s.delay||r.delay||0;let{elapsed:u=0}=r;u-=(0,yt.f)(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{i(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:i,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(s)||Object.assign(c,xt(e,c)),c.duration&&(c.duration=(0,yt.f)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,yt.f)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&((0,ft._)(c),0===c.delay&&(d=!0)),(dt.W.instantAnimations||dt.W.skipAnimations)&&(d=!0,(0,ft._)(c),c.delay=0),c.allowFlatten=!s.type&&!s.ease,d&&!a&&void 0!==t.get()){const e=function(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(vt),a=t&&"loop"!==n&&t%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}(c.keyframes,s);if(void 0!==e)return void P.Gt.update(()=>{c.onUpdate(e),c.onComplete()})}return s.isSync?new ht.s(c):new gt.A(c)};function kt({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Et(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:i,...s}=t;r&&(a=r);const l=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const r=e.getValue(t,e.latestValues[t]??null),o=s[t];if(void 0===o||u&&kt(u,t))continue;const i={delay:n,...(0,it.r)(a||{},t)},c=r.get();if(void 0!==c&&!r.isAnimating&&!Array.isArray(o)&&o===c&&!i.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){const n=mt(e);if(n){const e=window.MotionHandoffAnimation(n,t,P.Gt);null!==e&&(i.startTime=e,d=!0)}}pt(e,t),r.start(St(t,r,o,e.shouldReduceMotion&&st.$.has(t)?{type:!1}:i,e,d));const p=r.animation;p&&l.push(p)}return i&&Promise.all(l).then(()=>{P.Gt.update(()=>{i&&function(e,t){const n=at(e,t);let{transitionEnd:r={},transition:o={},...a}=n||{};a={...a,...r};for(const t in a)ut(e,t,ct(a[t]))}(e,i)})}),l}function jt(e,t,n,r=0,o=1){const a=Array.from(e).sort((e,t)=>
vendor: 21,155 bytes, line 2
2e.sortNodePosition(t)).indexOf(t),i=e.size,s=(i-1)*r;return"function"==typeof n?n(a,i):1===o?a*r:s-a*r}function Ct(e,t,n={}){const r=at(e,t,"exit"===n.type?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const a=r?()=>Promise.all(Et(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:a=0,staggerChildren:i,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=0,a=1,i){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(Ct(l,t,{...i,delay:n+("function"==typeof r?0:r)+jt(e.variantChildren,l,r,o,a)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,r,a,i,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[a,i]:[i,a];return e().then(()=>t())}return Promise.all([a(),i(n.delay)])}function Pt(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const Tt=Q.length;function qt(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&qt(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Tt;n++){const r=Q[n],o=e.props[r];(W(o)||!1===o)&&(t[r]=o)}return t}const Ot=[...H].reverse(),Rt=H.length;function At(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Ct(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Ct(e,t,n);else{const o="function"==typeof t?at(e,t,n.custom):t;r=Promise.all(Et(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}function Dt(e){let t=At(e),n=Nt(),r=!0;const o=t=>(n,r)=>{const o=at(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(o){const{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function a(a){const{props:i}=e,s=qt(e.parent)||{},l=[],u=new Set;let c={},d=1/0;for(let t=0;t<Rt;t++){const p=Ot[t],m=n[p],f=void 0!==i[p]?i[p]:s[p],h=W(f),g=p===a?m.isActive:null;!1===g&&(d=t);let y=f===s[p]&&f!==i[p]&&h;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),m.protectedKeys={...c},!m.isActive&&null===g||!f&&!m.prevProp||U(f)||"boolean"==typeof f)continue;const v=Lt(m.prevProp,f);let _=v||p===a&&m.isActive&&!y&&h||t>d&&h,b=!1;const w=Array.isArray(f)?f:[f];let x=w.reduce(o(p),{});!1===g&&(x={});const{prevResolvedValues:S={}}=m,k={...S,...x},E=t=>{_=!0,u.has(t)&&(b=!0,u.delete(t)),m.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in k){const t=x[e],n=S[e];if(c.hasOwnProperty(e))continue;let r=!1;r=lt(t)&&lt(n)?!Pt(t,n):t!==n,r?null!=t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=f,m.prevResolvedValues=x,m.isActive&&(c={...c,...x}),r&&e.blockInitialAnimation&&(_=!1);const j=y&&v;_&&(!j||b)&&l.push(...w.map(t=>{const n={type:p};if("string"==typeof t&&r&&!j&&e.manuallyAnimateOnMount&&e.parent){const{parent:r}=e,o=at(r,t);if(r.enteringChildren&&o){const{delayChildren:t}=o.transition||{};n.delay=jt(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){const t={};if("boolean"!=typeof i.initial){const n=at(e,Array.isArray(i.initial)?i.initial[0]:i.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=Boolean(l.length);return!r||!1!==i.initial&&i.initial!==i.animate||e.manuallyAnimateOnMount||(p=!1),r=!1,p?t(l):Promise.resolve()}return{animateChanges:a,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;const o=a(t);for(const e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Nt(),r=!0}}}function Lt(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Pt(t,e)}function Mt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Nt(){return{animate:Mt(!0),whileInView:Mt(),whileHover:Mt(),whileTap:Mt(),whileDrag:Mt(),whileFocus:Mt(),exit:Mt()}}class Ft{constructor(e){this.isMounted=!1,this.node=e}update(){}}let It=0;const zt={animation:{Feature:class extends Ft{constructor(e){super(e),e.animationState||(e.animationState=Dt(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();U(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends Ft{constructor(){super(...arguments),this.id=It++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};var Vt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/noop.mjs"),$t=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs"),Bt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/errors.mjs");function Ut(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Wt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs");function Ht(e){return{point:{x:e.pageX,y:e.pageY}}}function Qt(e,t,n,r){return Ut(e,t,(e=>t=>(0,Wt.M)(t)&&e(t,Ht(t)))(n),r)}function Kt(e){return e.max-e.min}function Gt(e,t,n,r=.5){e.origin=r,e.originPoint=(0,l.k)(t.min,t.max,e.origin),e.scale=Kt(n)/Kt(t),e.translate=(0,l.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function Yt(e,t,n,r){Gt(e.x,t.x,n.x,r?r.originX:void 0),Gt(e.y,t.y,n.y,r?r.originY:void 0)}function Xt(e,t,n){e.min=n.min+t.min,e.max=e.min+Kt(t)}function Jt(e,t,n){e.min=t.min-n.min,e.max=e.min+Kt(t)}function Zt(e,t,n){Jt(e.x,t.x,n.x),Jt(e.y,t.y,n.y)}function en(e){return[e("x"),e("y")]}const tn=({current:e})=>e?e.ownerDocument.defaultView:null;var nn=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/pipe.mjs");const rn=(e,t)=>Math.abs(e-t);class on{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:o=!1,distanceThreshold:a=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=ln(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=rn(e.x,t.x),r=rn(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=P.uv;this.history.push({...r,timestamp:o});const{onStart:a,onMove:i}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=an(t,this.transformPagePoint),P.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const a=ln("pointercancel"===e.type?this.lastMoveEventInfo:an(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!(0,Wt.M)(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;const i=an(Ht(e),this.transformPagePoint),{point:s}=i,{timestamp:l}=P.uv;this.history=[{...s,timestamp:l}];const{onSessionStart:u}=t;u&&u(e,ln(i,this.history)),this.removeListeners=(0,nn.F)(Qt(this.contextWindow,"pointermove",this.handlePointerMove),Qt(this.contextWindow,"pointerup",this.handlePointerUp),Qt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,P.WG)(this.updatePoint)}}function an(e,t){return t?{point:t(e.point)}:e}function sn(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ln({point:e},t){return{point:e,delta:sn(e,cn(t)),offset:sn(e,un(t)),velocity:dn(t,.1)}}function un(e){return e[0]}function cn(e){return e[e.length-1]}function dn(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=cn(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>(0,yt.f)(t)));)n--;if(!r)return{x:0,y:0};const a=(0,yt.X)(o.timestamp-r.timestamp);if(0===a)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}var pn=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/progress.mjs"),mn=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/clamp.mjs");function fn(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function hn(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const gn=.35;function yn(e,t,n){return{min:vn(e,t),max:vn(e,n)}}function vn(e,t){return"number"==typeof e?e:e[t]||0}const _n=new WeakMap;class bn{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:o}=this.getProps();this.panSession=new on(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Ht(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,$t.W)(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),en(e=>{let t=this.getAxisMotionValue(e).get()||0;if(me.KN.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Kt(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&P.Gt.postRender(()=>o(e,t)),pt(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:i}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(i),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),a&&a(e,t)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>en(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,distanceThreshold:n,contextWindow:tn(this.visualElement)})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!r||!n)return;const{velocity:a}=r;this.startAnimation(a);const{onDragEnd:i}=this.getProps();i&&P.Gt.postRender(()=>i(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!wn(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,l.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,l.k)(n,e,r.max):Math.min(e,n)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&Ge(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:fn(e.x,n,o),y:fn(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=gn){return!1===e?e=0:!0===e&&(e=gn),{x:yn(e,"left","right"),y:yn(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&en(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Ge(e))return!1;const n=e.current;(0,Bt.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=S(e,n),{scroll:o}=t;return o&&(b(r.x,o.offset.x),b(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let a=function(e,t){return{x:hn(e.x,t.x),y:hn(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=s(e))}return a}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:i}=this.getProps(),s=this.constraints||{},l=en(i=>{if(!wn(i,t,this.currentDirection))return;let l=s&&s[i]||{};a&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[i]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(i,d)});return Promise.all(l).then(i)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return pt(this.visualElement,e),n.start(St(e,n,0,t,this.visualElement,!1))}stopAnimation(){en(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){en(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){en(t=>{const{drag:n}=this.getProps();if(!wn(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:a}=r.layout.layoutBox[t];o.set(e[t]-(0,l.k)(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ge(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};en(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=Kt(e),o=Kt(t);return o>r?n=(0,pn.q)(t.min,t.max-r,e.min):r>o&&(n=(0,pn.q)(e.min,e.max-o,t.min)),(0,mn.q)(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),en(t=>{if(!wn(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:a}=this.constraints[t];n.set((0,l.k)(o,a,r[t]))})}addListeners(){if(!this.visualElement.current)return;_n.set(this.visualElement,this);const e=Qt(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Ge(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),P.Gt.read(t);const o=Ut(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(en(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:a=gn,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:a,dragMomentum:i}}}function wn(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const xn=e=>(t,n)=>{e&&P.Gt.postRender(()=>e(t,n))};const Sn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kn(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const En={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!me.px.test(e))return e;e=parseFloat(e)}return`${kn(e,t.target.x)}% ${kn(e,t.target.y)}%`}},jn={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=O.f.parse(e);if(o.length>5)return r;const a=O.f.createTransformer(e),i="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,u=n.y.scale*t.y;o[0+i]/=s,o[1+i]/=u;const c=(0,l.k)(s,u,.5);return"number"==typeof o[2+i]&&(o[2+i]/=c),"number"==typeof o[3+i]&&(o[3+i]/=c),a(o)}};let Cn=!1;class Pn extends r.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;!function(e){for(const t in e)se[t]=e[t],(0,i.j)(t)&&(se[t].isCSSVariable=!0)}(qn),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),Cn&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Sn.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,{projection:a}=n;return a?(a.isPresent=o,Cn=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==o?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||P.Gt.postRender(()=>{const e=a.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),A.k.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Cn=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Tn(e){const[t,n]=function(e=!0){const t=(0,r.useContext)($e);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:o,register:a}=t,i=(0,r.useId)();(0,r.useEffect)(()=>{if(e)return a(i)},[e]);const s=(0,r.useCallback)(()=>e&&o&&o(i),[i,o,e]);return!n&&o?[!1,s]:[!0]}(),o=(0,r.useContext)(Ee);return(0,ke.jsx)(Pn,{...e,layoutGroup:o,switchLayoutGroup:(0,r.useContext)(Je),isPresent:t,safeToRemove:n})}const qn={borderRadius:{...En,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:En,borderTopRightRadius:En,borderBottomLeftRadius:En,borderBottomRightRadius:En,boxShadow:jn};var On=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/stats/buffer.mjs"),Rn=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs"),An=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs"),Dn=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/stats/animation-count.mjs");var Ln=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/array.mjs");const Mn=(e,t)=>e.depth-t.depth;class Nn{constructor(){this.children=[],this.isDirty=!1}add(e){(0,Ln.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,Ln.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Mn),this.isDirty=!1,this.children.forEac
2h(e)}}function Fn(e,t){const n=C.k.now(),r=({timestamp:o})=>{const a=o-n;a>=t&&((0,P.WG)(r),e(a-t))};return P.Gt.setup(r,!0),()=>(0,P.WG)(r)}var In=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/easing/circ.mjs");const zn=["TopLeft","TopRight","BottomLeft","BottomRight"],Vn=zn.length,$n=e=>"string"==typeof e?parseFloat(e):e,Bn=e=>"number"==typeof e||me.px.test(e);function Un(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Wn=Qn(0,.5,In.yT),Hn=Qn(.5,.95,Vt.l);function Qn(e,t,n){return r=>r<e?0:r>t?1:n((0,pn.q)(e,t,r))}function Kn(e,t){e.min=t.min,e.max=t.max}function Gn(e,t){Kn(e.x,t.x),Kn(e.y,t.y)}function Yn(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Xn(e,t,n,r,o){return e=f(e-=t,1/n,r),void 0!==o&&(e=f(e,1/o,r)),e}function Jn(e,t,[n,r,o],a,i){!function(e,t=0,n=1,r=.5,o,a=e,i=e){me.KN.test(t)&&(t=parseFloat(t),t=(0,l.k)(i.min,i.max,t/100)-i.min);if("number"!=typeof t)return;let s=(0,l.k)(a.min,a.max,r);e===a&&(s-=t),e.min=Xn(e.min,t,n,s,o),e.max=Xn(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,a,i)}const Zn=["x","scaleX","originX"],er=["y","scaleY","originY"];function tr(e,t,n,r){Jn(e.x,t,Zn,n?n.x:void 0,r?r.x:void 0),Jn(e.y,t,er,n?n.y:void 0,r?r.y:void 0)}function nr(e){return 0===e.translate&&1===e.scale}function rr(e){return nr(e.x)&&nr(e.y)}function or(e,t){return e.min===t.min&&e.max===t.max}function ar(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ir(e,t){return ar(e.x,t.x)&&ar(e.y,t.y)}function sr(e){return Kt(e.x)/Kt(e.y)}function lr(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class ur{constructor(){this.members=[]}add(e){(0,Ln.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,Ln.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const cr={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},dr=["","X","Y","Z"];let pr=0;function mr(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function fr(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=mt(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",P.Gt,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&fr(r)}function hr({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=t?.()){this.id=pr++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,On.Q.value&&(cr.nodes=cr.calculatedTargetDeltas=cr.calculatedProjections=0),this.nodes.forEac
vendor: 25,989 bytes, line 2
2h(vr),this.nodes.forEach(Er),this.nodes.forEach(jr),this.nodes.forEach(_r),On.Q.addProjectionMetrics&&On.Q.addProjectionMetrics(cr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Nn)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new M.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,Rn.x)(t)&&!(0,An.h)(t),this.instance=t;const{layoutId:n,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0;const o=()=>this.root.updateBlockedByResize=!1;P.Gt.read(()=>{r=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Fn(o,250),Sn.hasAnimatedSinceResize&&(Sn.hasAnimatedSinceResize=!1,this.nodes.forEach(kr)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const a=this.options.transition||o.getDefaultTransition()||Rr,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!ir(this.targetLayout,r),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...(0,it.r)(a,"layout"),onPlay:i,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||kr(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,P.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Cr),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&fr(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(wr);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(xr);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Sr),this.nodes.forEach(gr),this.nodes.forEach(yr)):this.nodes.forEach(xr),this.clearAllSnapshots();const e=C.k.now();P.uv.delta=(0,mn.q)(0,1e3/60,e-P.uv.timestamp),P.uv.timestamp=e,P.uv.isProcessing=!0,P.PP.update.process(P.uv),P.PP.preRender.process(P.uv),P.PP.render.process(P.uv),P.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,A.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(br),this.sharedNodes.forEach(Pr)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,P.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){P.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Kt(this.snapshot.measuredBox.x)||Kt(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rr(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||d(this.latestValues)||a)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Lr((r=n).x),Lr(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Nr))){const{scroll:e}=this.root;e&&(b(t.x,e.offset.x),b(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(Gn(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:a}=r;r!==this.root&&o&&a.layoutScroll&&(o.wasRoot&&Gn(t,e),b(t.x,o.offset.x),b(t.y,o.offset.y))}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Gn(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&x(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),d(r.latestValues)&&x(n,r.latestValues)}return d(this.latestValues)&&x(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Gn(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!d(n.latestValues))continue;c(n.latestValues)&&n.updateSnapshot();const r=I();Gn(r,n.measurePageBox()),tr(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return d(this.latestValues)&&tr(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==P.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:o}=this.options;if(this.layout&&(r||o)){if(this.resolvedRelativeTargetAt=P.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Zt(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Gn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,i,s;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,i=this.relativeTarget,s=this.relativeParent.target,Xt(a.x,i.x,s.x),Xt(a.y,i.y,s.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Gn(this.target,this.layout.layoutBox),y(this.target,this.targetDelta)):Gn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Zt(this.relativeTargetOrigin,this.target,e.target),Gn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}On.Q.value&&cr.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!c(this.parent.latestValues)&&!p(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===P.uv.timestamp&&(n=!1),n)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;Gn(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,i=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let a,i;t.x=t.y=1;for(let s=0;s<o;s++){a=n[s],i=a.projectionDelta;const{visualElement:o}=a.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&x(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,y(e,i)),r&&d(a.latestValues)&&x(e,a.latestValues))}t.x<_&&t.x>v&&(t.x=1),t.y<_&&t.y>v&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:s}=e;s?(this.projectionDelta&&this.prevProjectionDelta?(Yn(this.prevProjectionDelta.x,this.projectionDelta.x),Yn(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Yt(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===a&&this.treeScale.y===i&&lr(this.projectionDelta.x,this.prevProjectionDelta.x)&&lr(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),On.Q.value&&cr.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const i={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Or));let p;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var u,m,f,h,g,y;Tr(a.x,e.x,n),Tr(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Zt(i,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,h=this.relativeTargetOrigin,g=i,y=n,qr(f.x,h.x,g.x,y),qr(f.y,h.y,g.y,y),p&&(u=this.relativeTarget,m=p,or(u.x,m.x)&&or(u.y,m.y))&&(this.isProjectionDirty=!1),p||(p={x:{min:0,max:0},y:{min:0,max:0}}),Gn(p,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,a){o?(e.opacity=(0,l.k)(0,n.opacity??1,Wn(r)),e.opacityExit=(0,l.k)(t.opacity??1,0,Hn(r))):a&&(e.opacity=(0,l.k)(t.opacity??1,n.opacity??1,r));for(let o=0;o<Vn;o++){const a=`border${zn[o]}Radius`;let i=Un(t,a),s=Un(n,a);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||Bn(i)===Bn(s)?(e[a]=Math.max((0,l.k)($n(i),$n(s),r),0),(me.KN.test(s)||me.KN.test(i))&&(e[a]+="%")):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=(0,l.k)(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,P.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=P.Gt.update(()=>{Sn.hasAnimatedSinceResize=!0,Dn.q.layout++,this.motionValue||(this.motionValue=(0,T.OQ)(0)),this.currentAnimation=function(e,t,n){const r=(0,E.S)(e)?e:(0,T.OQ)(e);return r.start(St("",r,t,n)),r.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Dn.q.layout--},onComplete:()=>{Dn.q.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Mr(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Kt(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Kt(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Gn(t,n),x(t,o),Yt(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ur);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&mr("z",e,r,this.animationValues);for(let t=0;t<dr.length;t++)mr(`rotate${dr[t]}`,e,r,this.animationValues),mr(`skew${dr[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=Be(t?.pointerEvents)||"",void(e.transform=n?n(this.latestValues,""):"none");const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Be(t?.pointerEvents)||""),void(this.hasProjected&&!d(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1));e.visibility="";const o=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=function(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y,i=n?.z||0;if((o||a||i)&&(r=`translate3d(${o}px, ${a}px, ${i}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:a,skewX:i,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),a&&(r+=`rotateY(${a}deg) `),i&&(r+=`skewX(${i}deg) `),s&&(r+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);n&&(a=n(o,a)),e.transform=a;const{x:i,y:s}=this.projectionDelta;e.transformOrigin=`${100*i.origin}% ${100*s.origin}% 0`,r.animationValues?e.opacity=r===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:e.opacity=r===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const t in se){if(void 0===o[t])continue;const{correct:n,applyTo:i,isCSSVariable:s}=se[t],l="none"===a?o[t]:n(o[t],r);if(i){const t=i.length;for(let n=0;n<t;n++)e[i[n]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?Be(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(wr),this.root.sharedNodes.clear()}}}function gr(e){e.updateLayout()}function yr(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;"size"===o?en(e=>{const r=a?t.measuredBox[e]:t.layoutBox[e],o=Kt(r);r.min=n[e].min,r.max=r.min+o}):Mr(o,t.layoutBox,n)&&en(r=>{const o=a?t.measuredBox[r]:t.layoutBox[r],i=Kt(n[r]);o.max=o.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+i)});const i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Yt(i,n,t.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};a?Yt(s,e.applyTransform(r,!0),t.measuredBox):Yt(s,n,t.layoutBox);const l=!rr(i);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:a}=r;if(o&&a){const i={x:{min:0,max:0},y:{min:0,max:0}};Zt(i,t.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Zt(s,n,a.layoutBox),ir(i,s)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=i,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:s,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function vr(e){On.Q.value&&cr.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function _r(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function br(e){e.clearSnapshot()}function wr(e){e.clearMeasurements()}function xr(e){e.isLayoutDirty=!1}function Sr(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function kr(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Er(e){e.resolveTargetDelta()}function jr(e){e.calcProjection()}function Cr(e){e.resetSkewAndRotation()}function Pr(e){e.removeLeadSnapshot()}function Tr(e,t,n){e.translate=(0,l.k)(t.translate,0,n),e.scale=(0,l.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qr(e,t,n,r){e.min=(0,l.k)(t.min,n.min,r),e.max=(0,l.k)(t.max,n.max,r)}function Or(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Rr={duration:.45,ease:[.4,0,.1,1]},Ar=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Dr=Ar("applewebkit/")&&!Ar("chrome/")?Math.round:Vt.l;function Lr(e){e.min=Dr(e.min),e.max=Dr(e.max)}function Mr(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=sr(t),o=sr(n),a=.2,!(Math.abs(r-o)<=a));var r,o,a}function Nr(e){return e!==e.root&&e.scroll?.wasRoot}const Fr=hr({attachResizeListener:(e,t)=>Ut(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ir={current:void 0},zr=hr({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ir.current){const e=new Fr({});e.mount(window),e.setOptions({layoutScroll:!0}),Ir.current=e}return Ir.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Vr={pan:{Feature:class extends Ft{constructor(){super(...arguments),this.removePointerDownListener=Vt.l}onPointerDown(e){this.session=new on(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tn(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:xn(e),onStart:xn(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&P.Gt.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Qt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Ft{constructor(e){super(e),this.removeGroupControls=Vt.l,this.removeListeners=Vt.l,this.controls=new bn(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Vt.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:zr,MeasureLayout:Tn}};var $r=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/hover.mjs");function Br(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&P.Gt.postRender(()=>o(t,Ht(t)))}var Ur=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/press/index.mjs");function Wr(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&P.Gt.postRender(()=>o(t,Ht(t)))}const Hr=new WeakMap,Qr=new WeakMap,Kr=e=>{const t=Hr.get(e.target);t&&t(e)},Gr=e=>{e.forEach(Kr)};function Yr(e,t,n){const r=function({root:e,...t}){const n=e||document;
2Qr.has(n)||Qr.set(n,{});const r=Qr.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Gr,{root:e,...t})),r[o]}(t);return Hr.set(e,n),r.observe(e),()=>{Hr.delete(e),r.unobserve(e)}}const Xr={some:0,all:1};const Jr={inView:{Feature:class extends Ft{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Xr[r]};return Yr(this.node.current,a,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Ft{mount(){const{current:e}=this.node;e&&(this.unmount=(0,Ur.c)(e,(e,t)=>(Wr(this.node,t,"Start"),(e,{success:t})=>Wr(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends Ft{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,nn.F)(Ut(this.node.current,"focus",()=>this.onFocus()),Ut(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Ft{mount(){const{current:e}=this.node;e&&(this.unmount=(0,$r.P)(e,(e,t)=>(Br(this.node,t,"Start"),e=>Br(this.node,e,"End"))))}unmount(){}}}},Zr=ot({...zt,...Jr,...Vr,...{layout:{ProjectionNode:zr,MeasureLayout:Tn}}},Se)},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs"(e,t,n){"use strict";n.d(t,{N:()=>b});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs"),i=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-constant.mjs"),s=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"),l=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs"),u=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/is-html-element.mjs"),c=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs");function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function p(...e){return o.useCallback(function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=d(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():d(e[t],null)}}}}(...e),e)}class m extends o.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if((0,u.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const e=t.offsetParent,n=(0,u.s)(e)&&e.offsetWidth||0,r=(0,u.s)(e)&&e.offsetHeight||0,o=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(o.height),a.width=parseFloat(o.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:t,anchorX:n,anchorY:a,root:i,pop:s}){const l=(0,o.useId)(),u=(0,o.useRef)(null),d=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:f}=(0,o.useContext)(c.Q),h=e.props?.ref??e?.ref,g=p(u,h);return(0,o.useInsertionEffect)(()=>{const{width:e,height:r,top:o,left:c,right:p,bottom:m,direction:h}=d.current;if(t||!1===s||!u.current||!e||!r)return;const g="rtl"===h,y="left"===n?g?`right: ${p}`:`left: ${c}`:g?`left: ${c}`:`right: ${p}`,v="bottom"===a?`bottom: ${m}`:`top: ${o}`;u.current.dataset.motionPopId=l;const _=document.createElement("style");f&&(_.nonce=f);const b=i??document.head;return b.appendChild(_),_.sheet&&_.sheet.insertRule(`\n          [data-motion-pop-id="${l}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${r}px !important;\n            ${y}px !important;\n            ${v}px !important;\n          }\n        `),()=>{u.current?.removeAttribute("data-motion-pop-id"),b.contains(_)&&b.removeChild(_)}},[t]),(0,r.jsx)(m,{isPresent:t,childRef:u,sizeRef:d,pop:s,children:!1===s?e:o.cloneElement(e,{ref:g})})}const h=({children:e,initial:t,isPresent:n,onExitComplete:a,custom:u,presenceAffectsLayout:c,mode:d,anchorX:p,anchorY:m,root:h})=>{const y=(0,i.M)(g),v=(0,o.useId)(),_=(0,o.useRef)(n),b=(0,o.useRef)(a);(0,s.E)(()=>{_.current=n,b.current=a});let w=!0,x=(0,o.useMemo)(()=>(w=!1,{id:v,initial:t,isPresent:n,custom:u,onExitComplete:e=>{y.set(e,!0);for(const e of y.values())if(!e)return;a&&a()},register:e=>(y.set(e,!1),()=>{y.delete(e),!_.current&&!y.size&&b.current?.()})}),[n,y,a]);return c&&w&&(x={...x}),(0,o.useMemo)(()=>
2{y.forEach((e,t)=>y.set(t,!1))},[n]),o.useEffect(()=>{!n&&!y.size&&a&&a()},[n]),e=(0,r.jsx)(f,{pop:"popLayout"===d,isPresent:n,anchorX:p,anchorY:m,root:h,children:e}),(0,r.jsx)(l.t.Provider,{value:x,children:e})};function g(){return new Map}var y=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs");const v=e=>e.key||"";function _(e){const t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}const b=({children:e,custom:t,initial:n=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:p="left",anchorY:m="top",root:f})=>{const[g,b]=(0,y.xQ)(d),w=(0,o.useMemo)(()=>_(e),[e]),x=d&&!g?[]:w.map(v),S=(0,o.useRef)(!0),k=(0,o.useRef)(w),E=(0,i.M)(()=>new Map),j=(0,o.useRef)(new Set),[C,P]=(0,o.useState)(w),[T,q]=(0,o.useState)(w);(0,s.E)(()=>{S.current=!1,k.current=w;for(let e=0;e<T.length;e++){const t=v(T[e]);x.includes(t)?(E.delete(t),j.current.delete(t)):!0!==E.get(t)&&E.set(t,!1)}},[T,x.length,x.join("-")]);const O=[];if(w!==C){let e=[...w];for(let t=0;t<T.length;t++){const n=T[t],r=v(n);x.includes(r)||(e.splice(t,0,n),O.push(n))}return"wait"===c&&O.length&&(e=O),q(_(e)),P(w),null}const{forceRender:R}=(0,o.useContext)(a.L);return(0,r.jsx)(r.Fragment,{children:T.map(e=>{const o=v(e),a=!(d&&!g)&&(w===T||x.includes(o));return(0,r.jsx)(h,{isPresent:a,initial:!(S.current&&!n)&&void 0,custom:t,presenceAffectsLayout:u,mode:c,root:f,onExitComplete:a?void 0:()=>{if(j.current.has(o))return;if(!E.has(o))return;j.current.add(o),E.set(o,!0);let e=!0;E.forEach(t=>{t||(e=!1)}),e&&(R?.(),q(k.current),d&&b?.(),l&&l())},anchorX:p,anchorY:m,children:e},o)})})}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs"(e,t,n){"use strict";n.d(t,{xQ:()=>a});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs");function a(e=!0){const t=(0,r.useContext)(o.t);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:a,register:i}=t,s=(0,r.useId)();(0,r.useEffect)(()=>{if(e)return i(s)},[e]);const l=(0,r.useCallback)(()=>e&&a&&a(s),[s,a,e]);return!n&&a?[!1,l]:[!0]}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs"(e,t,n){"use strict";n.d(t,{x:()=>u});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs"),i=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs"),s=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs"),l=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-constant.mjs");function u({children:e,isValidProp:t,...n}){t&&(0,s.D)(t);const u=(0,o.useContext)(i.Q);(n={...u,...n}).transition=(0,a.K)(n.transition,u.transition),n.isStatic=(0,l.M)(()=>n.isStatic);const c=(0,o.useMemo)(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion,n.skipAnimations]);return(0,r.jsx)(i.Q.Provider,{value:c,children:e})}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs"(e,t,n){"use strict";n.d(t,{L:()=>r});const r=(0,n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js").createContext)({})},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs"(e,t,n){"use strict";n.d(t,{Q:()=>r});const r=(0,n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js").createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs"(e,t,n){"use strict";n.d(t,{t:()=>r});const r=(0,n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js").createContext)(null)},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs"(e,t,n){"use strict";n.d(t,{P:()=>xt});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");const i=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function s(e){return"string"==typeof e&&!e.includes("-")&&!!(i.indexOf(e)>-1||/[A-Z]/u.test(e))}const l=(e,t)=>
2t.isSVG??s(e)?new r.l(t):new o.M(t,{allowProjection:e!==a.Fragment});var u=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js"),c=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs");const d=(0,a.createContext)({strict:!1});var p=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs");const m=(0,a.createContext)({});var f=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs"),h=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs");function g(e){const{initial:t,animate:n}=function(e,t){if((0,f.e)(e)){const{initial:t,animate:n}=e;return{initial:!1===t||(0,h.w)(t)?t:void 0,animate:(0,h.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(m));return(0,a.useMemo)(()=>({initial:t,animate:n}),[y(t),y(n)])}function y(e){return Array.isArray(e)?e.join(" "):e}var v=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs"),_=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs"),b=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs");const w=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function x(e,t,n){for(const r in t)(0,v.S)(t[r])||(0,_.zK)(r,n)||(e[r]=t[r])}function S(e,t){const n={};return x(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,a.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return(0,b.O)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function k(e,t){const n={},r=S(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var E=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs"),j=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs");const C=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function P(e,t,n,r){const o=(0,a.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return(0,E.B)(n,t,(0,j.n)(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};x(t,e.style,e),o.style={...t,...o.style}}return o}var T=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs");function q(e,t,n,{latestValues:r},o,i=!1,l){const u=(l??s(e)?P:k)(t,r,o,e),c=(0,T.J)(t,"string"==typeof e,i),d=e!==a.Fragment?{...c,...u,ref:n}:{},{children:p}=t,m=(0,a.useMemo)(()=>(0,v.S)(p)?p.get():p,[p]);return(0,a.createElement)(e,{...d,children:m})}var O=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs"),R=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs"),A=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs"),D=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs"),L=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/PresenceContext.mjs"),M=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-constant.mjs");function N(e,t,n,r){const o={},a=r(e,{});for(const e in a)o[e]=(0,R.u)(a[e]);let{initial:i,animate:s}=e;const l=(0,f.e)(e),u=(0,f.O)(e);t&&u&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===s&&(s=t.animate));let c=!!n&&!1===n.initial;c=c||!1===i;const d=c?s:i;if(d&&"boolean"!=typeof d&&!(0,A.N)(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=(0,D.a)(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[c?t.length-1:0]}null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}const F=e=>(t,n)=>{const r=(0,a.useContext)(m),o=(0,a.useContext)(L.t),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:N(n,r,o,e),renderState:t()}}(e,t,r,o);return n?i():(0,M.M)(i)},I=F({scrapeMotionValuesFromProps:O.x,createRenderState:w});const z=F({scrapeMotionValuesFromProps:n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs").x,createRenderState:C});var V=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/VisualElement.mjs");const $={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let B=!1;function U(){return function(){if(B)return;const e={};for(const t in $)e[t]={isEnabled:e=>$[t].some(t=>!!e[t])};(0,V.lr)(e),B=!0}(),(0,V.vK)()}const W=Symbol.for("motionComponentSymbol");function H(e,t,n){const r=(0,a.useRef)(n);(0,a.useInsertionEffect)(()=>{r.current=n});const o=(0,a.useRef)(null);return(0,a.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());const a=r.current;if("function"==typeof a)if(n){const e=a(n);"function"==typeof e&&(o.current=e)}else o.current?(o.current(),o.current=null):a(n);else a&&(a.current=n)},[t])}var Q=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs");const K=(0,a.createContext)({});function G(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var Y=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs");function X(e,t,n,r,o,i){const{visualElement:s}=(0,a.useContext)(m),l=(0,a.useContext)(d),u=(0,a.useContext)(L.t),c=(0,a.useContext)(p.Q),f=c.reducedMotion,h=c.skipAnimations,g=(0,a.useRef)(null),y=(0,a.useRef)(!1);r=r||l.renderer,!g.current&&r&&(g.current=r(e,{visualState:t,parent:s,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:f,skipAnimations:h,isSVG:i}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));const v=g.current,_=(0,a.useContext)(K);!v||v.projection||!o||"html"!==v.type&&"svg"!==v.type||function(e,t,n,r){const{layoutId:o,layout:a,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:J(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:Boolean(i)||s&&G(s),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(g.current,n,o,_);const b=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{v&&b.current&&v.update(n,u)});const w=n[Q.n],x=(0,a.useRef)(Boolean(w)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return(0,Y.E)(()=>{y.current=!0,v&&(b.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),x.current&&v.animationState&&v.animationState.animateChanges())}),(0,a.useEffect)(()=>{v&&(!x.current&&v.animationState&&v.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),x.current=!1),v.enteringChildren=void 0)}),v}function J(e){if(e)return!1!==e.options.allowProjection?e.projection:J(e.parent)}function Z(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&function(e){const t=U();for(const n in e)t[n]={...t[n],...e[n]};(0,V.lr)(t)}(r);const i=n?"svg"===n:s(e),l=i?z:I;function c(n,r){let s;const c={...(0,a.useContext)(p.Q),...n,layoutId:ee(n)},{isStatic:f}=c,h=g(n),y=l(n,f);if(!f&&"undefined"!=typeof window){!function(){(0,a.useContext)(d).strict;0}();const t=function(e){const t=U(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
2(c);s=t.MeasureLayout,h.visualElement=X(e,y,c,o,t.ProjectionNode,i)}return(0,u.jsxs)(m.Provider,{value:h,children:[s&&h.visualElement?(0,u.jsx)(s,{visualElement:h.visualElement,...c}):null,q(e,n,H(y,h.visualElement,r),y,f,t,i)]})}c.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;const f=(0,a.forwardRef)(c);return f[W]=e,f}function ee({layoutId:e}){const t=(0,a.useContext)(c.L).id;return t&&void 0!==e?t+"-"+e:e}function te(e,t){if("undefined"==typeof Proxy)return Z;const n=new Map,r=(n,r)=>Z(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(o,a)=>"create"===a?r:(n.has(a)||n.set(a,Z(a,void 0,e,t)),n.get(a))})}var ne=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/Feature.mjs"),re=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs");class oe extends ne.X{constructor(e){super(e),e.animationState||(e.animationState=(0,re.L)(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();(0,A.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var ae=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs");let ie=0;class se extends ne.X{constructor(){super(...arguments),this.id=ie++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){const{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){const n=(0,ae.K)(this.node,e,t);if(n){const{transition:e,transitionEnd:t,...r}=n;for(const e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const le={animation:{Feature:oe},exit:{Feature:se}};var ue=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/noop.mjs"),ce=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/projection/geometry/models.mjs"),de=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs"),pe=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs"),me=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs"),fe=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs"),he=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/frame.mjs"),ge=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs"),ye=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/projection/utils/measure.mjs"),ve=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs"),_e=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs"),be=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/mix/number.mjs"),we=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs"),xe=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/events/add-dom-event.mjs"),Se=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/resize/index.mjs"),ke=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/errors.mjs"),Ee=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs");function je(e){return{point:{x:e.pageX,y:e.pageY}}}function Ce(e,t,n,r){return(0,xe.k)(e,t,(e=>t=>(0,Ee.M)(t)&&e(t,je(t)))(n),r)}const Pe=({current:e})=>e?e.ownerDocument.defaultView:null;var Te=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/pipe.mjs"),qe=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/time-conversion.mjs");const Oe=(e,t)=>
vendor: 5,926 bytes, line 2
2Math.abs(e-t);const Re=new Set(["auto","scroll"]);class Ae{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:o=!1,distanceThreshold:a=3,element:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=De(this.lastRawMoveEventInfo,this.transformPagePoint));const e=Me(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Oe(e.x,t.x),r=Oe(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=he.uv;this.history.push({...r,timestamp:o});const{onStart:a,onMove:i}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=De(t,this.transformPagePoint),he.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const a=Me("pointercancel"===e.type?this.lastMoveEventInfo:De(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!(0,Ee.M)(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;const s=De(je(e),this.transformPagePoint),{point:l}=s,{timestamp:u}=he.uv;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,Me(s,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,Te.F)(Ce(this.contextWindow,"pointermove",this.handlePointerMove,d),Ce(this.contextWindow,"pointerup",this.handlePointerUp,d),Ce(this.contextWindow,"pointercancel",this.handlePointerUp,d)),i&&this.startScrollTracking(i)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(Re.has(e.overflowX)||Re.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},o=r.x-t.x,a=r.y-t.y;0===o&&0===a||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o,this.lastMoveEventInfo.point.y+=a):this.history.length>0&&(this.history[0].x-=o,this.history[0].y-=a),this.scrollPositions.set(e,r),he.Gt.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,he.WG)(this.updatePoint)}}function De(e,t){return t?{point:t(e.point)}:e}function Le(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Me({point:e},t){return{point:e,delta:Le(e,Fe(t)),offset:Le(e,Ne(t)),velocity:Ie(t,.1)}}function Ne(e){return e[0]}function Fe(e){return e[e.length-1]}function Ie(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Fe(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>(0,qe.f)(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>2*(0,qe.f)(t)&&(r=e[1]);const a=(0,qe.X)(o.timestamp-r.timestamp);if(0===a)return{x:0,y:0};const i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}var ze=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/progress.mjs"),Ve=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/clamp.mjs");function $e(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Be(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const Ue=.35;function We(e,t,n){return{min:He(e,t),max:He(e,n)}}function He(e,t){return"number"==typeof e?e:e[t]||0}const Qe=new WeakMap;class Ke{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,ce.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:o}=this.getProps();this.panSession=new Ae(e,{onSessionStart:e=>{t&&this.snapToCursor(je(e).point),this.stopAnimation()},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,de.W)(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,pe.X)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(me.KN.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=(0,fe.CQ)(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&he.Gt.update(()=>o(e,t),!1,!0),(0,ge.g)(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>
vendor: 13,792 bytes, line 2
2{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:i}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(i),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),this.visualElement.render(),a&&he.Gt.update(()=>a(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,distanceThreshold:n,contextWindow:Pe(this.visualElement),element:this.visualElement.current})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!r||!n)return;const{velocity:a}=r;this.startAnimation(a);const{onDragEnd:i}=this.getProps();i&&he.Gt.postRender(()=>i(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Ye(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,be.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,be.k)(n,e,r.max):Math.min(e,n)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&G(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:$e(e.x,n,o),y:$e(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Ue){return!1===e?e=0:!0===e&&(e=Ue),{x:We(e,"left","right"),y:We(e,"top","bottom")}}(t),r!==this.constraints&&!G(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&(0,pe.X)(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!G(e))return!1;const n=e.current;(0,ke.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());const o=(0,ye.L)(n,r.root,this.visualElement.getTransformPagePoint());let a=function(e,t){return{x:Be(e.x,t.x),y:Be(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t((0,ve.pA)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,ve.FY)(e))}return a}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:i}=this.getProps(),s=this.constraints||{},l=(0,pe.X)(i=>{if(!Ye(i,t,this.currentDirection))return;let l=s&&s[i]||{};!0!==a&&a!==i||(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[i]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(i,d)});return Promise.all(l).then(i)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return(0,ge.g)(this.visualElement,e),n.start((0,_e.f)(e,n,0,t,this.visualElement,!1))}stopAnimation(){(0,pe.X)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps()[t];return n||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){(0,pe.X)(t=>{const{drag:n}=this.getProps();if(!Ye(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:a}=r.layout.layoutBox[t],i=o.get()||0;o.set(e[t]-(0,be.k)(n,a,.5)+i)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!G(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};(0,pe.X)(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=(0,fe.CQ)(e),o=(0,fe.CQ)(t);return o>r?n=(0,ze.q)(t.min,t.max-r,e.min):r>o&&(n=(0,ze.q)(e.min,e.max-o,t.min)),(0,Ve.q)(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,pe.X)(t=>{if(!Ye(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:a}=this.constraints[t];n.set((0,be.k)(o,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Qe.set(this.visualElement,this);const e=this.visualElement.current,t=Ce(e,"pointerdown",t=>{const{drag:n,dragListener:r=!0}=this.getProps(),o=t.target,a=o!==e&&(0,we.a)(o);n&&r&&!a&&this.start(t)});let n;const r=()=>{const{dragConstraints:t}=this.getProps();G(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(e,t,n){const r=(0,Se.X)(e,Ge(n)),o=(0,Se.X)(t,Ge(n));return()=>{r(),o()}}(e,t.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,a=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),he.Gt.read(r);const i=(0,xe.k)(window,"resize",()=>this.scalePositionWithinConstraints()),s=o.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,pe.X)(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),t(),a(),s&&s(),n&&n()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:a=Ue,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:a,dragMomentum:i}}}function Ge(e){let t=!0;return()=>{t?t=!1:e()}}function Ye(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}class Xe extends ne.X{constructor(e){super(e),this.removeGroupControls=ue.l,this.removeListeners=ue.l,this.controls=new Ke(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ue.l}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Je=e=>(t,n)=>{e&&he.Gt.update(()=>e(t,n),!1,!0)};class Ze extends ne.X{constructor(){super(...arguments),this.removePointerDownListener=ue.l}onPointerDown(e){this.session=new Ae(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Pe(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Je(e),onStart:Je(t),onMove:Je(n),onEnd:(e,t)=>{delete this.session,r&&he.Gt.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Ce(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var et=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/projection/node/state.mjs"),tt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/microtask.mjs"),nt=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs");let rt=!1;class ot extends a.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),rt&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),et.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,{projection:a}=n;return a?(a.isPresent=o,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),rt=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==o?a.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?a.promote():a.relegate()||he.Gt.postRender(()=>{const e=a.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),tt.k.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;rt=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function at(e){const[t,n]=(0,nt.xQ)(),r=(0,a.useContext)(c.L);return(0,u.jsx)(ot,{...e,layoutGroup:r,switchLayoutGroup:(0,a.useContext)(K),isPresent:t,safeToRemove:n})}var it=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs");const st={pan:{Feature:Ze},drag:{Feature:Xe,ProjectionNode:it.P,MeasureLayout:at}};var lt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/hover.mjs");function ut(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&he.Gt.postRender(()=>o(t,je(t)))}class ct extends ne.X{mount(){const{current:e}=this.node;e&&(this.unmount=(0,lt.P)(e,(e,t)=>(ut(this.node,t,"Start"),e=>ut(this.node,e,"End"))))}unmount(){}}class dt extends ne.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,Te.F)((0,xe.k)(this.node.current,"focus",()=>this.onFocus()),(0,xe.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var pt=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/gestures/press/index.mjs");function mt(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&he.Gt.postRender(()=>o(t,je(t)))}class ft extends ne.X{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=(0,pt.c)(e,(e,t)=>(mt(this.node,t,"Start"),(e,{success:t})=>mt(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:!1===n?.tap})}unmount(){}}const ht=new WeakMap,gt=new WeakMap,yt=e=>{const t=ht.get(e.target);t&&t(e)},vt=e=>{e.forEach(yt)};function _t(e,t,n){const r=function({root:e,...t}){const n=e||document;gt.has(n)||gt.set(n,{});const r=gt.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(vt,{root:e,...t})),r[o]}(t);return ht.set(e,n),r.observe(e),()=>{ht.delete(e),r.unobserve(e)}}const bt={some:0,all:1};class wt extends ne.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:bt[r]};this.stopObserver=_t(this.node.current,a,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}const xt=te({...le,...{inView:{Feature:wt},tap:{Feature:ft},focus:{Feature:dt},hover:{Feature:ct}},...st,...{layout:{ProjectionNode:it.P,MeasureLayout:at}}},l)},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/render/dom/ut
2ils/filter-props.mjs"(e,t,n){"use strict";n.d(t,{J:()=>l,D:()=>s});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs");const o=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function a(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||o.has(e)}let i=e=>!a(e);function s(e){"function"==typeof e&&(i=t=>t.startsWith("on")?!a(t):e(t))}try{s(require("@emotion/is-prop-valid").default)}catch{}function l(e,t,n){const o={};for(const s in e)"values"===s&&"object"==typeof e.values||(0,r.S)(e[s])||(i(s)||!0===n&&a(s)||!t&&!a(s)||e.draggable&&s.startsWith("onDrag"))&&(o[s]=e[s]);return o}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs"(e,t,n){"use strict";n.d(t,{I:()=>i});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function i(){!o.r.current&&(0,r.Uu)();const[e]=(0,a.useState)(o.O.current);return e}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-constant.mjs"(e,t,n){"use strict";n.d(t,{M:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function o(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"(e,t,n){"use strict";n.d(t,{E:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs"(e,t,n){"use strict";n.d(t,{L:()=>o});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js");function o(e,t,n){(0,r.useInsertionEffect)(()=>e.on(t,n),[e,t,n])}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/value/use-scroll.mjs"(e,t,n){"use strict";n.d(t,{L:()=>Y});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/index.mjs"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/microtask.mjs"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs"),i=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/errors.mjs"),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),l=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/noop.mjs"),u=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/scroll/observe.mjs");function c(e){return"undefined"!=typeof window&&(e?(0,a.d)():(0,a.J)())}var d=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/frame.mjs"),p=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/resize/index.mjs"),m=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/progress.mjs"),f=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/velocity-per-second.mjs");const h={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function g(e,t,n,r){const o=n[t],{length:a,position:i}=h[t],s=o.current,l=n.time;o.current=Math.abs(e[`scroll${i}`]),o.scrollLength=e[`scroll${a}`]-e[`client${a}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=(0,m.q)(0,o.scrollLength,o.current);const u=r-l;o.velocity=u>50?0:(0,f.f)(o.current-s,u)}var y=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/interpolate.mjs"),v=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs"),_=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/es/clamp.mjs"),b=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/is-html-element.mjs");const w={start:0,center:.5,end:1};function x(e,t,n=0){let r=0;if(e in w&&(e=w[e]),"string"==typeof e){const t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}const S=[0,0];function k(e,t,n,r){let o=Array.isArray(e)?e:S,a=0,i=0;
vendor: 2,904 bytes, line 2
2return"number"==typeof e?o=[e,e]:"string"==typeof e&&(o=(e=e.trim()).includes(" ")?e.split(" "):[e,w[e]?e:"0"]),a=x(o[0],n,r),i=x(o[1],t),a-i}const E={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},j={x:0,y:0};function C(e,t,n){const{offset:r=E.All}=n,{target:o=e,axis:a="y"}=n,i="y"===a?"height":"width",s=o!==e?function(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if((0,b.s)(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){const e=r.getBoundingClientRect();r=r.parentElement;const t=r.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else{if(!(r instanceof SVGGraphicsElement))break;{const{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let o=null,a=r.parentNode;for(;!o;)"svg"===a.tagName&&(o=a),a=r.parentNode;r=o}}return n}(o,e):j,l=o===e?{width:e.scrollWidth,height:e.scrollHeight}:function(e){return"getBBox"in e&&"svg"!==e.tagName?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}(o),u={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let c=!t[a].interpolate;const d=r.length;for(let e=0;e<d;e++){const n=k(r[e],u[i],l[i],s[a]);c||n===t[a].interpolatorOffsets[e]||(c=!0),t[a].offset[e]=n}c&&(t[a].interpolate=(0,y.G)(t[a].offset,(0,v.Z)(r),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=(0,_.q)(0,1,t[a].interpolate(t[a].current))}function P(e,t,n,r={}){return{measure:t=>{!function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,r.target,n),function(e,t,n){g(e,"x",t,n),g(e,"y",t,n),t.time=n}(e,n,t),(r.offset||r.target)&&C(e,n,r)},notify:()=>t(n)}}const T=new WeakMap,q=new WeakMap,O=new WeakMap,R=new WeakMap,A=new WeakMap,D=e=>e===document.scrollingElement?window:e;function L(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return l.l;let o=O.get(t);o||(o=new Set,O.set(t,o));const a=P(t,e,{time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}},r);if(o.add(a),!T.has(t)){const e=()=>{for(const e of o)e.measure(d.uv.timestamp);d.Gt.preUpdate(n)},n=()=>{for(const e of o)e.notify()},r=()=>d.Gt.read(e);T.set(t,r);const a=D(t);window.addEventListener("resize",r),t!==document.documentElement&&q.set(t,(0,p.X)(t,r)),a.addEventListener("scroll",r),r()}if(n&&!A.has(t)){const e=T.get(t),n={width:t.scrollWidth,height:t.scrollHeight};R.set(t,n);const r=()=>{const r=t.scrollWidth,o=t.scrollHeight;n.width===r&&n.height===o||(e(),n.width=r,n.height=o)},o=d.Gt.read(r,!0);A.set(t,o)}const i=T.get(t);
2return d.Gt.read(i,!1,!0),()=>{(0,d.WG)(i);const e=O.get(t);if(!e)return;if(e.delete(a),e.size)return;const n=T.get(t);T.delete(t),n&&(D(t).removeEventListener("scroll",n),q.get(t)?.(),window.removeEventListener("resize",n));const r=A.get(t);r&&((0,d.WG)(r),A.delete(t)),R.delete(t)}}const M=[[E.Enter,"entry"],[E.Exit,"exit"],[E.Any,"cover"],[E.All,"contain"]],N={start:0,end:1};function F(e){const t=e.trim().split(/\s+/);if(2!==t.length)return;const n=N[t[0]],r=N[t[1]];return void 0!==n&&void 0!==r?[n,r]:void 0}function I(e,t){const n=function(e){if(2!==e.length)return;const t=[];for(const n of e)if(Array.isArray(n))t.push(n);else{if("string"!=typeof n)return;{const e=F(n);if(!e)return;t.push(e)}}return t}(e);if(!n)return!1;for(let e=0;e<2;e++){const r=n[e],o=t[e];if(r[0]!==o[0]||r[1]!==o[1])return!1}return!0}function z(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[t,n]of M)if(I(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const V=new Map;function $(e){const t={value:0},n=L(n=>{t.value=100*n[e.axis].progress},e);return{currentTime:t,cancel:n}}function B({source:e,container:t,...n}){const{axis:r}=n;e&&(t=e);let o=V.get(t);o||(o=new Map,V.set(t,o));const a=n.target??"self";let i=o.get(a);i||(i={},o.set(a,i));const s=r+(n.offset??[]).join(",");if(!i[s])if(n.target&&c(n.target)){const e=z(n.offset);i[s]=e?new ViewTimeline({subject:n.target,axis:r}):$({container:t,...n})}else c()?i[s]=new ScrollTimeline({source:t,axis:r}):i[s]=$({container:t,...n});return i[s]}function U(e,{axis:t="y",container:n=document.scrollingElement,...r}={}){if(!n)return l.l;const o={axis:t,container:n,...r};return"function"==typeof e?function(e,t){return function(e){return 2===e.length}(e)||function(e){return e&&(e.target||e.offset)}(t)?L(n=>{e(n[t.axis].progress,n)},t):(0,u.y)(e,B(t))}(e,o):function(e,t){const n=B(t),r=t.target?z(t.offset):void 0,o=t.target?c(t.target)&&!!r:c();return e.attachTimeline({timeline:o?n:void 0,...r&&o&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:e=>(e.pause(),(0,u.y)(t=>{e.time=e.iterationDuration*t},n))})}(e,o)}var W=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-constant.mjs"),H=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs");const Q=()=>({scrollX:(0,r.OQ)(0),scrollY:(0,r.OQ)(0),scrollXProgress:(0,r.OQ)(0),scrollYProgress:(0,r.OQ)(0)}),K=e=>!!e&&!e.current;function G(e,t,n,r){return{factory:a=>{let i;const s=()=>{K(n)||K(r)?o.k.read(s):i=U(a,{...t,axis:e,container:n?.current||void 0,target:r?.current||void 0})};return o.k.read(s),()=>{(0,o.c)(s),i?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function Y({container:e,target:t,...n}={}){const r=(0,W.M)(Q);(function(e,t){return"undefined"!=typeof window&&(e?(0,a.d)()&&!!z(t):(0,a.J)())})(t,n.offset)&&(r.scrollXProgress.accelerate=G("x",n,e,t),r.scrollYProgress.accelerate=G("y",n,e,t));const l=(0,s.useRef)(null),u=(0,s.useRef)(!1),c=(0,s.useCallback)(()=>(l.current=U((e,{x:t,y:n})=>{r.scrollX.set(t.current),r.scrollXProgress.set(t.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{l.current?.()}),[e,t,JSON.stringify(n.offset)]);return(0,H.E)(()=>(u.current=!1,K(e)||K(t)?void(u.current=!0):c()),[c]),(0,s.useEffect)(()=>{if(!u.current)return;let n;const r=()=>{const r=K(e),o=K(t);(0,i.V)(!r,"Container ref is defined but not hydrated","use-scroll-ref"),(0,i.V)(!o,"Target ref is defined but not hydrated","use-scroll-ref"),r||o||(n=c())};return o.k.read(r),()=>{(0,o.c)(r),n?.()}},[c]),r}},"../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/value/use-transform.mjs"(e,t,n){"use strict";n.d(t,{G:()=>d});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/utils/transform.mjs"),o=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-constant.mjs"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/frameloop/frame.mjs"),i=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs"),s=n("../../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/es/value/index.mjs"),l=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),u=n("../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs");function c(e,t){const n=function(e){const t=(0,o.M)(()=>(0,s.OQ)(e)),{isStatic:n}=(0,l.useContext)(u.Q);if(n){const[,n]=(0,l.useState)(e);(0,l.useEffect)(()=>t.on("change",n),[])}return t}(t()),r=()=>n.set(t());return r(),(0,i.E)(()=>{const t=()=>a.Gt.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>
2{n.forEach(e=>e()),(0,a.WG)(r)}}),n}function d(e,t,n,a){if("function"==typeof e)return function(e){s.bt.current=[],e();const t=c(s.bt.current,e);return s.bt.current=void 0,t}(e);if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof t)return function(e,t,n,r){const a=(0,o.M)(()=>Object.keys(n)),i=(0,o.M)(()=>({}));for(const o of a)i[o]=d(e,t,n[o],r);return i}(e,t,n,a);const i=n,l="function"==typeof t?t:(0,r.p)(t,i,a),u=Array.isArray(e)?p(e,l):p([e],([e])=>l(e)),m=Array.isArray(e)?void 0:e.accelerate;return m&&!m.isTransformed&&"function"!=typeof t&&Array.isArray(n)&&!1!==a?.clamp&&(u.accelerate={...m,times:t,keyframes:n,isTransformed:!0,...a?.ease?{ease:a.ease}:{}}),u}function p(e,t){const n=(0,o.M)(()=>[]);return c(e,()=>{n.length=0;const r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}},"../../../node_modules/.pnpm/[email protected][email protected]/node_modules/marked-react/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Ay:()=>p});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/marked/lib/marked.esm.js"),a=n("../../../node_modules/.pnpm/[email protected]/node_modules/html-entities/dist/esm/index.js");const i=(e="")=>e&&e.includes("&")?(0,a.D4)(e):e,s=(e,t)=>{if(!t)return e;try{return new URL(e,t).href}catch{return e}};var l=class{constructor(e){this.renderer=e.renderer}parse(e){this.renderer.elIdList.push(0);const t=e.map(e=>{switch(e.type){case"space":return null;case"heading":{const t=e.depth;return this.renderer.heading(this.parseInline(e.tokens),t)}case"paragraph":return this.renderer.paragraph(this.parseInline(e.tokens));case"text":{const t=e;return t.tokens?this.parseInline(t.tokens):e.text}case"blockquote":{const t=e,n=this.parse(t.tokens);return this.renderer.blockquote(n)}case"list":{const t=e;this.renderer.elIdList.push(0);const n=t.items.map(e=>{const t=[];return e.task&&t.push(this.renderer.checkbox(e.checked??!1)),t.push(this.parse(e.tokens)),this.renderer.listItem(t)});return this.renderer.elIdList.pop(),this.renderer.list(n,e.ordered,e.ordered?e.start:void 0)}case"code":return this.renderer.code(e.text,e.lang);case"html":return this.renderer.html(e.text);case"table":{const t=e;this.renderer.elIdList.push(0);const n=t.header.map((t,n)=>this.renderer.tableCell(this.parseInline(t.tokens),{header:!0,align:e.align[n]}));this.renderer.elIdList.pop();const r=this.renderer.tableRow(n),o=this.renderer.tableHeader(r);this.renderer.elIdList.push(0);const a=t.rows.map(t=>{this.renderer.elIdList.push(0);const n=t.map((t,n)=>this.renderer.tableCell(this.parseInline(t.tokens),{header:!1,align:e.align[n]}));return this.renderer.elIdList.pop(),this.renderer.tableRow(n)});this.renderer.elIdList.pop();const i=this.renderer.tableBody(a);return this.renderer.table([o,i])}case"hr":return this.renderer.hr();default:return console.warn(`Token with "${e.type}" type was not found`),null}});return this.renderer.elIdList.pop(),t}parseInline(e=[]){this.renderer.elIdList.push(0);const t=e.map(e=>{switch(e.type){case"text":return this.renderer.text(i(e.text));case"strong":return this.renderer.strong(this.parseInline(e.tokens));case"em":return this.renderer.em(this.parseInline(e.tokens));case"del":return this.renderer.del(this.parseInline(e.tokens));case"codespan":return this.renderer.codespan(i(e.text));case"link":return this.renderer.link(e.href,this.parseInline(e.tokens));case"image":return this.renderer.image(e.href,e.text,e.title);case"html":return this.renderer.html(e.text);case"br":return this.renderer.br();case"escape":return this.renderer.text(e.text);default:return console.warn(`Token with "${e.type}" type was not found`),null}});return this.renderer.elIdList.pop(),t}},u=class{#e;constructor(e={}){this.elIdList=[];const{renderer:t}=e;this.#e=e,t&&"object"==typeof t&&Object.entries(t).forEach(([e,t])=>{const n=e,r=t;this[n]&&"elementId"!==n&&"elIdList"!==n&&"function"==typeof r&&Object.defineProperty(this,n,{value(...e){return this.#t(),r.apply(this,e)},writable:!0,enumerable:!0,configurable:!0})})}#n(e,t=null,n={}){const o={key:`marked-react-${this.elementId}`,suppressHydrationWarning:!0};return this.#t(),(0,r.createElement)(e,{...n,...o},t)}#t(){this.elIdList[this.elIdList.length-1]+=1}get elementId(){return this.elIdList.join("-")}heading(e,t){return this.#n(`h${t}`,e)}paragraph(e){return this.#n("p",e)}link(e,t){const n=s(e,this.#e.baseURL),r=this.#e.openLinksInNewTab?"_blank":null;return this.#n("a",t,{href:n,target:r})}image(e,t,n=null){const r=s(e,this.#e.baseURL);return this.#n("img",null,{src:r,alt:t,title:n})}codespan(e,t=null){const n=t?`${this.#e.langPrefix}${t}`:null;return this.#n("code",e,{className:n})}
2code(e,t){return this.#n("pre",this.codespan(e,t))}blockquote(e){return this.#n("blockquote",e)}list(e,t,n){return this.#n(t?"ol":"ul",e,t&&1!==n?{start:n}:{})}listItem(e){return this.#n("li",e)}checkbox(e){return this.#n("input",null,{type:"checkbox",disabled:!0,checked:e})}table(e){return this.#n("table",e)}tableHeader(e){return this.#n("thead",e)}tableBody(e){return this.#n("tbody",e)}tableRow(e){return this.#n("tr",e)}tableCell(e,t){const n=t.header?"th":"td";return this.#n(n,e,{align:t.align})}strong(e){return this.#n("strong",e)}em(e){return this.#n("em",e)}del(e){return this.#n("del",e)}text(e){return e}html(e){return e}hr(){return this.#n("hr")}br(){return this.#n("br")}};const c={isInline:!1,breaks:!1,gfm:!0,baseURL:void 0,openLinksInNewTab:!0,langPrefix:"language-",renderer:void 0},d=new o.Dz;var p=e=>{(e=>{if(e.value&&"string"!=typeof e.value)throw new TypeError("[marked-react]: Expected value to be of type string but got "+typeof e.value);if(e.children&&"string"!=typeof e.children)throw new TypeError("[marked-react]: Expected children to be of type string but got "+typeof e.children)})(e);const t={...c,...e},n=t.instance??d,o={breaks:t.breaks,gfm:t.gfm,tokenizer:n.defaults.tokenizer},a=t.value??t.children??"",i=t.isInline?n.Lexer.lexInline(a,o):n.lexer(a,o),s=new l({renderer:new u({renderer:t.renderer,baseURL:t.baseURL,openLinksInNewTab:t.openLinksInNewTab,langPrefix:t.langPrefix})});return(0,r.createElement)(r.Fragment,null,t.isInline?s.parseInline(i):s.parse(i))}},"../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/react-i18next/dist/es/index.js"(e,t,n){"use strict";n.d(t,{x6:()=>O,TO:()=>_,r9:()=>P,Bd:()=>A,CI:()=>D});var r=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),o=n("../../../node_modules/.pnpm/[email protected]/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js");const a=(e,t,n,r)=>{const o=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);d(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},i={},s=(e,t,n,r)=>{d(n)&&i[n]||(d(n)&&(i[n]=new Date),a(e,t,n,r))},l=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},u=(e,t,n)=>{e.loadNamespaces(t,l(e,n))},c=(e,t,n,r)=>{if(d(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return u(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,l(e,r))},d=e=>"string"==typeof e,p=e=>"object"==typeof e&&null!==e,m=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,f={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},h=e=>f[e];let g={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(m,h)};const y=()=>g;let v;const _=()=>v,b=(e,t)=>{if(!e)return!1;const n=e.props?.children??e.children;return t?n.length>0:!!n},w=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?x(t):t},x=e=>Array.isArray(e)?e:[e],S=(e,t,n,o)=>{if(!e)return"";let i="";const s=x(e),l=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return s.forEach((e,s)=>{if(d(e))i+=`${e}`;else{if((0,r.isValidElement)(e)){const{props:r,type:a}=e,u=Object.keys(r).length,c=l.indexOf(a)>-1,p=r.children;if(!p&&c&&!u)return void(i+=`<${a}/>`);if(!p&&(!c||u)||r.i18nIsDynamicList)return void(i+=`<${s}></${s}>`);if(c&&1===u&&d(p))return void(i+=`<${a}>${p}</${a}>`);const m=S(p,t,n,o);return void(i+=`<${s}>${m}</${s}>`)}if(null!==e){if(p(e)){const{format:t,...r}=e,s=Object.keys(r);if(1===s.length){const e=t?`${s[0]}, ${t}`:s[0];return void(i+=`{{${e}}}`)}return void a(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:o,child:e})}a(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:o,child:e})}else a(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:o})}}),i},k=(e,t,n,a,i,s,l)=>{if(""===n)return[];const u=i.transKeepBasicHtmlNodesFor||[],c=n&&new RegExp(u.map(e=>`<${e}`).join("|")).test(n);if(!(e||t||c||l))return[n];const m=t??{},f=e=>
vendor: 4,180 bytes, line 2
2{x(e).forEach(e=>{d(e)||(b(e)?f(w(e)):p(e)&&!(0,r.isValidElement)(e)&&Object.assign(m,e))})};f(e);const h=o.A.parse(`<0>${n}</0>`),g={...m,...s},y=(e,t,n)=>{const o=w(e),a=_(o,t.children,n);return(e=>Array.isArray(e)&&e.every(r.isValidElement))(o)&&0===a.length||e.props?.i18nIsDynamicList?o:a},v=(e,t,n,o,a)=>{e.dummy?(e.children=t,n.push((0,r.cloneElement)(e,{key:o},a?void 0:t))):n.push(...r.Children.map([e],e=>{const n={...e.props};return delete n.i18nIsDynamicList,(0,r.createElement)(e.type,{...n,key:o,ref:e.props.ref??e.ref},a?null:t)}))},_=(e,n,o)=>{const s=x(e);return x(n).reduce((e,n,m)=>{const f=n.children?.[0]?.content&&a.services.interpolator.interpolate(n.children[0].content,g,a.language);if("tag"===n.type){let l=s[parseInt(n.name,10)];!l&&t&&(l=t[n.name]),1!==o.length||l||(l=o[0][n.name]),l||(l={});const h=0!==Object.keys(n.attrs).length?((e,t)=>{const n={...t};return n.props=Object.assign(e.props,t.props),n})({props:n.attrs},l):l,w=(0,r.isValidElement)(h),x=w&&b(n,!0)&&!n.voidElement,S=c&&p(h)&&h.dummy&&!w,k=p(t)&&Object.hasOwnProperty.call(t,n.name);if(d(h)){const t=a.services.interpolator.interpolate(h,g,a.language);e.push(t)}else if(b(h)||x){const t=y(h,n,o);v(h,t,e,m)}else if(S){const t=_(s,n.children,o);v(h,t,e,m)}else if(Number.isNaN(parseFloat(n.name)))if(k){const t=y(h,n,o);v(h,t,e,m,n.voidElement)}else if(i.transSupportBasicHtmlNodes&&u.indexOf(n.name)>-1)if(n.voidElement)e.push((0,r.createElement)(n.name,{key:`${n.name}-${m}`}));else{const t=_(s,n.children,o);e.push((0,r.createElement)(n.name,{key:`${n.name}-${m}`},t))}else if(n.voidElement)e.push(`<${n.name} />`);else{const t=_(s,n.children,o);e.push(`<${n.name}>${t}</${n.name}>`)}else if(p(h)&&!w){const t=n.children[0]?f:null;t&&e.push(t)}else v(h,f,e,m,1!==n.children.length||!f)}else if("text"===n.type){const t=i.transWrapTextNodes,o=l?i.unescape(a.services.interpolator.interpolate(n.content,g,a.language)):a.services.interpolator.interpolate(n.content,g,a.language);t?e.push((0,r.createElement)(t,{key:`${n.name}-${m}`},o)):e.push(o)}return e},[])},S=_([{dummy:!0,children:e||[]}],h,x(e||[]));return w(S[0])},E=(e,t,n)=>{const o=e.key||t,a=(0,r.cloneElement)(e,{key:o});if(!a.props||!a.props.children||n.indexOf(`${t}/>`)<0&&n.indexOf(`${t} />`)<0)return a;return(0,r.createElement)(function(){return(0,r.createElement)(r.Fragment,null,a)},{key:o})},j=(e,t,n,r)=>e?Array.isArray(e)?((e,t)=>e.map((e,n)=>E(e,n,t)))(e,t):p(e)?((e,t)=>{const n={};return Object.keys(e).forEach(r=>{Object.assign(n,{[r]:E(e[r],r,t)})}),n})(e,t):(s(n,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null):null;function C({children:e,count:t,parent:n,i18nKey:o,context:a,tOptions:i={},values:l,defaults:u,components:c,ns:m,i18n:f,t:h,shouldUnescape:g,...v}){const b=f||_();if(!b)return s(b,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:o}),e;const w=h||b.t.bind(b)||(e=>e),x={...y(),...b.options?.react};let E=m||w.ns||b.options?.defaultNS;E=d(E)?[E]:E||["translation"];const C=S(e,x,b,o),P=u||C||x.transEmptyNodeValue||o,{hashTransKey:T}=x,q=o||(T?T(C||P):C||P);b.options?.interpolation?.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...b.options.interpolation.defaultVariables}:{...b.options.interpolation.defaultVariables});const O=l||void 0!==t&&!b.options?.interpolation?.alwaysFormat||!e?i.interpolation:{interpolation:{...i.interpolation,prefix:"#$?",suffix:"?$#"}},R={...i,context:a||i.context,count:t,...l,...O,defaultValue:P,ns:E},A=q?w(q,R):P,D=j(c,A,b,o);let L=D||e,M=null;var N;p(N=D)&&!Array.isArray(N)&&Object.keys(N).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0)&&(M=D,L=e);const F=k(L,M,A,b,x,R,g),I=n??x.defaultTransParent;return I?(0,r.createElement)(I,v,F):F}const P={type:"3rdParty",init(e){((e={})=>{g={...g,...e}})(e.options.react),(e=>{v=e})(e)}};const T=(0,r.createContext)();class q{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function O({children:e,count:t,parent:n,i18nKey:o,context:a,tOptions:i={}
2,values:s,defaults:l,components:u,ns:c,i18n:d,t:p,shouldUnescape:m,...f}){const{i18n:h,defaultNS:g}=(0,r.useContext)(T)||{},y=d||h||_(),v=p||y?.t.bind(y);return C({children:e,count:t,parent:n,i18nKey:o,context:a,tOptions:i,values:s,defaults:l,components:u,ns:c||v?.ns||g||y?.options?.defaultNS,i18n:y,t:p,shouldUnescape:m,...f})}const R=(e,t,n,r)=>e.getFixedT(t,n,r),A=(e,t={})=>{const{i18n:n}=t,{i18n:o,defaultNS:a}=(0,r.useContext)(T)||{},i=n||o||_();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new q),!i){s(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>d(t)?t:p(t)&&d(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}i.options.react?.wait&&s(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...y(),...i.options.react,...t},{useSuspense:m,keyPrefix:f}=l;let h=e||a||i.options?.defaultNS;h=d(h)?[h]:h||["translation"],i.reportNamespaces.addUsedNamespaces?.(h);const g=(i.isInitialized||i.initializedStoreOnce)&&h.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(s(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,i,l)),v=((e,t,n,o)=>(0,r.useCallback)(R(e,t,n,o),[e,t,n,o]))(i,t.lng||null,"fallback"===l.nsMode?h:h[0],f),b=()=>v,w=()=>R(i,t.lng||null,"fallback"===l.nsMode?h:h[0],f),[x,S]=(0,r.useState)(b);let k=h.join();t.lng&&(k=`${t.lng}${k}`);const E=((e,t)=>{const n=(0,r.useRef)();return(0,r.useEffect)(()=>{n.current=t?n.current:e},[e,t]),n.current})(k),j=(0,r.useRef)(!0);(0,r.useEffect)(()=>{const{bindI18n:e,bindI18nStore:n}=l;j.current=!0,g||m||(t.lng?c(i,t.lng,h,()=>{j.current&&S(w)}):u(i,h,()=>{j.current&&S(w)})),g&&E&&E!==k&&j.current&&S(w);const r=()=>{j.current&&S(w)};return e&&i?.on(e,r),n&&i?.store.on(n,r),()=>{j.current=!1,i&&e&&e?.split(" ").forEach(e=>i.off(e,r)),n&&i&&n.split(" ").forEach(e=>i.store.off(e,r))}},[i,k]),(0,r.useEffect)(()=>{j.current&&g&&S(b)},[i,f,g]);const C=[x,i,g];if(C.t=x,C.i18n=i,C.ready=g,g)return C;if(!g&&!m)return C;throw new Promise(e=>{t.lng?c(i,t.lng,h,()=>e()):u(i,h,()=>e())})},D=(e,t={})=>function(n){function o({forwardedRef:o,...a}){const[i,s,l]=A(e,{...a,keyPrefix:t.keyPrefix}),u={...a,t:i,i18n:s,tReady:l};return t.withRef&&o?u.ref=o:!t.withRef&&o&&(u.forwardedRef=o),(0,r.createElement)(n,u)}var a;o.displayName=`withI18nextTranslation(${a=n,a.displayName||a.name||(d(a)&&a.length>0?a:"Unknown")})`,o.WrappedComponent=n;return t.withRef?(0,r.forwardRef)((e,t)=>(0,r.createElement)(o,Object.assign({},e,{forwardedRef:t}))):o}},"../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-intersection-observer/dist/index.mjs"(e,t,n){"use strict";n.d(t,{Wx:()=>f});var r,o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=Object.defineProperty,i=(e,t,n)=>((e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),s=new Map,l=new WeakMap,u=0;function c(e){return Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{return`${t}_${"root"===t?(n=e.root,n?(l.has(n)||(u+=1,l.set(n,u.toString())),l.get(n)):"0"):e[t]}`;var n}).toString()}function d(e,t,n={},o=r){if(void 0===window.IntersectionObserver&&void 0!==o){const r=e.getBoundingClientRect();return t(o,{isIntersecting:o,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}const{id:a,observer:i,elements:l}=function(e){const t=c(e);let n=s.get(t);if(!n){const r=new Map;let o;const a=new IntersectionObserver(t=>{t.forEach(t=>{var n;const a=t.isIntersecting&&o.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),[...null!=(n=r.get(t.target))?n:[]].forEac
2h(e=>{e(a,t)})})},e);o=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:a,elements:r},s.set(t,n)}return n}(n),u=l.get(e)||[];return l.has(e)||l.set(e,u),u.push(t),i.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(l.delete(e),i.unobserve(e)),0===l.size&&(i.disconnect(),s.delete(a))}}var p,m;o.Component;function f({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:a,triggerOnce:i,skip:s,initialInView:l,fallbackInView:u,onChange:c}={}){var p;const[m,f]=o.useState(null),h=o.useRef(c),g=o.useRef(l),[y,v]=o.useState({inView:!!l,entry:void 0});h.current=c,o.useEffect(()=>{if(void 0===g.current&&(g.current=l),s||!m)return;let o;return o=d(m,(e,t)=>{const n=g.current;g.current=e,(void 0!==n||e)&&(v({inView:e,entry:t}),h.current&&h.current(e,t),t.isIntersecting&&i&&o&&(o(),o=void 0))},{root:a,rootMargin:r,threshold:e,trackVisibility:n,delay:t},u),()=>{o&&o()}},[Array.isArray(e)?e.toString():e,m,a,r,i,s,n,u,t]);const _=null==(p=y.entry)?void 0:p.target,b=o.useRef(void 0);m||!_||i||s||b.current===_||(b.current=_,v({inView:!!l,entry:void 0}),g.current=l);const w=[f,y.inView,y.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}null!=(m=null!=(p=o.useInsertionEffect)?p:o.useLayoutEffect)||o.useEffect},"../../../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-router/dist/development/chunk-62JRHF6Z.mjs"(e,t,n){"use strict";var r;n.d(t,{B6:()=>T,C5:()=>Ie,Kd:()=>bt,N_:()=>wt,PI:()=>Ue,RQ:()=>fe,Ye:()=>be,Zp:()=>ye,g:()=>ve,k2:()=>xt,ok:()=>jt,tW:()=>P,ue:()=>_,zy:()=>me});var o=n("../../../node_modules/.pnpm/[email protected]/node_modules/react/index.js"),a=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,i=/^[\\/]{2}/;function s(e,t){return t+e.replace(/\\/g,"/")}var l="popstate";function u(e){return"object"==typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function c(e={}){return y(function(e,t){let n=t.state?.masked,{pathname:r,search:o,hash:a}=n||e.location;return f("",{pathname:r,search:o,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default",n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)},function(e,t){return"string"==typeof t?t:h(t)},null,e)}function d(e,t){if(!1===e||null==e)throw new Error(t)}function p(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function m(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function f(e,t,n=null,r,o){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?g(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10),mask:o}}function h({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function g(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function y(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,s="POP",c=null,d=p();function p(){return(i.state||{idx:null}).idx}function h(){s="POP";let e=p(),t=null==e?null:e-d;d=e,c&&c({action:s,location:y.location,delta:t})}function g(e){return v(o,e)}null==d&&(d=0,i.replaceState({...i.state,idx:d},""));let y={get action(){return s},get location(){return e(o,i)},listen(e){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(l,h),c=e,()=>{o.removeEventListener(l,h),c=null}},createHref:e=>t(o,e),createURL:g,encodeLocation(e){let t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let r=u(e)?e:f(y.location,e,t);n&&n(r,e),d=p()+1;let l=m(r,d),h=y.createHref(r.mask||r);try{i.pushState(l,"",h)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(h)}a&&c&&c({action:s,location:y.location,delta:1})},replace:function(e,t){s="REPLACE";let r=u(e)?e:f(y.location,e,t);n&&n(r,e),d=p();let o=m(r,d),l=y.createHref(r.mask||r);i.replaceState(o,"",l),a&&c&&c({action:s,location:y.location,delta:0})},go:e=>i.go(e)};return y}function v(e,t,n=!1){let r="http://localhost";e&&(r="null"!==e.location.origin?e.location.origin:e.location.href),d(r,"No window.location.(origin|href) available to create URL");let o="string"==typeof t?t:h(t);return o=o.replace(/ $/,"%20"),!n&&i.test(o)&&(o=r+o),new URL(o,r)}new WeakMap;function _(e,t,n="/"){return b(e,t,n,!1)}function b(e,t,n,r,o){let a=A(("string"==typeof t?g(t):t).pathname||"/",n);if(null==a)return null;let i=o??w(e),s=null,l=R(a);for(let e=0;null==s&&e<i.length;++e)s=C(i[e],l,r);return s}function w(e){let t=x(e);return function(e){e.sort((e,t)=>
2e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(t),t}function x(e,t=[],n=[],r="",o=!1){let a=(e,a,i=o,s)=>{let l={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(l.relativePath.startsWith("/")){if(!l.relativePath.startsWith(r)&&i)return;d(l.relativePath.startsWith(r),`Absolute route path "${l.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(r.length)}let u=z([r,l.relativePath]),c=n.concat(l);e.children&&e.children.length>0&&(d(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),x(e.children,t,c,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:j(u,e.index),routesMeta:c.map((e,t)=>{let[n,r]=O(e.relativePath,e.caseSensitive,t===c.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of S(e.path))a(e,t,!0,n);else a(e,t)}),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let i=S(r.join("/")),s=[];return s.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&s.push(...i),s.map(t=>e.startsWith("/")&&""===t?"/":t)}var k=/^:[\w-]+$/,E=e=>"*"===e;function j(e,t){let n=e.split("/"),r=n.length;return n.some(E)&&(r+=-2),t&&(r+=2),n.filter(e=>!E(e)).reduce((e,t)=>e+(k.test(t)?3:""===t?1:10),r)}function C(e,t,n=!1){let{routesMeta:r}=e,o={},a="/",i=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,u="/"===a?t:t.slice(a.length)||"/",c={path:s.relativePath,caseSensitive:s.caseSensitive,end:l},d=s.matcher&&s.compiledParams?q(c,u,s.matcher,s.compiledParams):T(c,u),p=s.route;if(!d&&l&&n&&!r[r.length-1].route.index&&(d=T({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},u)),!d)return null;
2Object.assign(o,d.params),i.push({params:o,pathname:z([a,d.pathname]),pathnameBase:$(z([a,d.pathnameBase])),route:p}),"/"!==d.pathnameBase&&(a=z([a,d.pathnameBase]))}return i}function P(e,t={}){let n=e;n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(p(!1,`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`),n=n.replace(/\*$/,"/*"));const r=n.startsWith("/")?"/":"",o=e=>null==e?"":"string"==typeof e?e:String(e);return r+n.split(/\/+/).map((e,n,r)=>{if(n===r.length-1&&"*"===e)return o(t["*"]);const a=e.match(/^:([\w-]+)(\??)(.*)/);if(a){const[,e,n,r]=a;let i=t[e];return d("?"===n||null!=i,`Missing ":${e}" param`),encodeURIComponent(o(i))+r}return e.replace(/\?$/g,"")}).filter(e=>!!e).join("/")}function T(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=O(e.path,e.caseSensitive,e.end);return q(e,t,n,r)}function q(e,t,n,r){let o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=s[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function O(e,t=!1,n=!0){p("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n,o,a)=>{if(r.push({paramName:t,isOptional:null!=n}),n){let t=a.charAt(o+e.length);return t&&"/"!==t?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function R(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return p(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function A(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function D(e,t){let n=V(t).split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function L(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function M(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function N(e){let t=M(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function F(e,t,n,r=!1){let o;"string"==typeof e?o=g(e):(o={...e},d(!o.pathname||!o.pathname.includes("?"),L("?","pathname","search",o)),d(!o.pathname||!o.pathname.includes("#"),L("#","pathname","hash",o)),d(!o.search||!o.search.includes("#"),L("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t="/"){let n,{pathname:r,search:o="",hash:a=""}="string"==typeof e?g(e):e;return r?(r=I(r),n=r.startsWith("/")?D(r.substring(1),"/"):D(r,t)):n=t,{pathname:n,search:B(o),hash:U(a)}}(o,a),u=s&&"/"!==s&&s.endsWith("/"),c=(i||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!u&&!c||(l.pathname+="/"),l}var I=e=>e.replace(/[\\/]{2,}/g,"/"),z=e=>I(e.join("/")),V=e=>e.replace(/\/+$/,""),$=e=>V(e).replace(/^\/*/,"/"),B=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",U=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";var W=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function H(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function Q(e){let t=e.map(e=>
2e.route.path).filter(Boolean);return z(t)||"/"}var K="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function G(e,t){let n=e;if("string"!=typeof n||!a.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(K)try{let e=new URL(window.location.href),r=i.test(n)?new URL(s(n,e.protocol)):new URL(n),a=A(r.pathname,t);r.origin===e.origin&&null!=a?n=a+r.search+r.hash:o=!0}catch(e){p(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Symbol("Uninstrumented");Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Y=["POST","PUT","PATCH","DELETE"],X=(new Set(Y),["GET",...Y]);new Set(X),Symbol("ResetLoaderData");new WeakMap,new WeakMap,new WeakMap,new WeakMap;var J=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Z(e){try{return J.includes(new URL(e).protocol)}catch{return!1}}var ee=o.createContext(null);ee.displayName="DataRouter";var te=o.createContext(null);te.displayName="DataRouterState";var ne=o.createContext(!1);function re(){return o.useContext(ne)}var oe=o.createContext({isTransitioning:!1});oe.displayName="ViewTransition";var ae=o.createContext(new Map);ae.displayName="Fetchers";var ie=o.createContext(null);ie.displayName="Await";var se=o.createContext(null);se.displayName="Navigation";var le=o.createContext(null);le.displayName="Location";var ue=o.createContext({outlet:null,matches:[],isDataRoute:!1});ue.displayName="Route";var ce=o.createContext(null);ce.displayName="RouteError";var de="REACT_ROUTER_ERROR";function pe(){return null!=o.useContext(le)}function me(){return d(pe(),"useLocation() may be used only in the context of a <Router> component."),o.useContext(le).location}function fe(e){d(pe(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=me();return o.useMemo(()=>T(e,R(t)),[t,e])}var he="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ge(e){o.useContext(se).static||o.useLayoutEffect(e)}function ye(){let{isDataRoute:e}=o.useContext(ue);return e?function(){let{router:e}=qe("useNavigate"),t=Re("useNavigate"),n=o.useRef(!1);return ge(()=>{n.current=!0}),o.useCallback(async(r,o={})=>{p(n.current,he),n.current&&("number"==typeof r?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))},[e,t])}():function(){d(pe(),"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(ee),{basename:t,navigator:n}=o.useContext(se),{matches:r}=o.useContext(ue),{pathname:a}=me(),i=JSON.stringify(N(r)),s=o.useRef(!1);return ge(()=>{s.current=!0}),o.useCallback((r,o={})=>
2{if(p(s.current,he),!s.current)return;if("number"==typeof r)return void n.go(r);let l=F(r,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:z([t,l.pathname])),(o.replace?n.replace:n.push)(l,o.state,o)},[t,n,i,a,e])}()}o.createContext(null);function ve(){let{matches:e}=o.useContext(ue),t=e[e.length-1];return t?.params??{}}function _e(e,{relative:t}={}){let{matches:n}=o.useContext(ue),{pathname:r}=me(),a=JSON.stringify(N(n));return o.useMemo(()=>F(e,JSON.parse(a),r,"path"===t),[e,a,r,t])}function be(e,t){return we(e,t)}function we(e,t,n){d(pe(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=o.useContext(se),{matches:a}=o.useContext(ue),i=a[a.length-1],s=i?i.params:{},l=i?i.pathname:"/",u=i?i.pathnameBase:"/",c=i&&i.route;{let e=c&&c.path||"";Le(l,!c||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let m,f=me();if(t){let e="string"==typeof t?g(t):t;d("/"===u||e.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${e.pathname}" was given in the \`location\` prop.`),m=e}else m=f;let h=m.pathname||"/",y=h;if("/"!==u){let e=u.replace(/^\//,"").split("/");y="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):_(e,{pathname:y});p(c||null!=v,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),p(null==v||void 0!==v[v.length-1].route.element||void 0!==v[v.length-1].route.Component||void 0!==v[v.length-1].route.lazy,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=Pe(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:z([u,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:z([u,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),a,n);return t&&b?o.createElement(le.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},b):b}function xe(){let e=Ae(),t=H(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=o.createElement(o.Fragment,null,o.createElement("p",null,"💿 Hey developer 👋"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:i},"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,s)}var Se=o.createElement(xe,null),ke=class extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${de}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new W(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?o.createElement(ue.Provider,{value:this.props.routeContext},o.createElement(ce.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?o.createElement(je,{error:e},t):t}};ke.contextType=ne;var Ee=new WeakMap;function je({children:e,error:t}){let{basename:n}=o.useContext(se);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${de}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let r=Ee.get(t);if(r)throw r;let a=G(e.location,n),i=a.absoluteURL||a.to;if(Z(i))throw new Error("Invalid redirect location");if(K&&!Ee.get(t)){if(!a.isExternal&&!e.reloadDocument){const n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw Ee.set(t,n),n}window.location.href=i}return o.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i}`})}}return e}function Ce({routeContext:e,match:t,children:n}){let r=o.useContext(ee);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),o.createElement(ue.Provider,{value:e},n)}function Pe(e,t=[],n){let r=n?.state;if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let a=e,i=r?.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);d(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,l=-1;if(n&&r){s=r.renderFallback;for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:o}
2=r,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!o||void 0===o[t.route.id]);if(t.route.lazy||i){n.isStatic&&(s=!0),a=l>=0?a.slice(0,l+1):[a[0]];break}}}}let u=n?.onError,c=r&&u?(e,t)=>{u(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:Q(r.matches),errorInfo:t})}:void 0;return a.reduceRight((e,n,u)=>{let d,p=!1,m=null,f=null;r&&(d=i&&n.route.id?i[n.route.id]:void 0,m=n.route.errorElement||Se,s&&(l<0&&0===u?(Le("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,f=null):l===u&&(p=!0,f=n.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,u+1)),g=()=>{let t;return t=d?m:p?f:n.route.Component?o.createElement(n.route.Component,null):n.route.element?n.route.element:e,o.createElement(Ce,{match:n,routeContext:{outlet:e,matches:h,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===u)?o.createElement(ke,{location:r.location,revalidation:r.revalidation,component:m,error:d,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:c}):g()},null)}function Te(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function qe(e){let t=o.useContext(ee);return d(t,Te(e)),t}function Oe(e){let t=o.useContext(te);return d(t,Te(e)),t}function Re(e){let t=function(e){let t=o.useContext(ue);return d(t,Te(e)),t}(e),n=t.matches[t.matches.length-1];return d(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Ae(){let e=o.useContext(ce),t=Oe("useRouteError"),n=Re("useRouteError");return void 0!==e?e:t.errors?.[n]}var De={};function Le(e,t,n){t||De[e]||(De[e]=!0,p(!1,n))}var Me={};function Ne(e,t){e||Me[t]||(Me[t]=!0,console.warn(t))}(r||(r=n.t(o,2))).useOptimistic;o.memo(Fe);function Fe({routes:e,manifest:t,future:n,state:r,isStatic:o,onError:a}){return we(e,void 0,{manifest:t,state:r,isStatic:o,onError:a,future:n})}function Ie({to:e,replace:t,state:n,relative:r}){d(pe(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=o.useContext(se);p(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:i}=o.useContext(ue),{pathname:s}=me(),l=ye(),u=F(e,N(i),s,"path"===r),c=JSON.stringify(u);return o.useEffect(()=>{l(JSON.parse(c),{replace:t,state:n,relative:r})},[l,c,r,t,n]),null}function ze({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:i=!1,useTransitions:s}){d(!pe(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=o.useMemo(()=>({basename:l,navigator:a,static:i,useTransitions:s,future:{}}),[l,a,i,s]);"string"==typeof n&&(n=g(n));let{pathname:c="/",search:m="",hash:f="",state:h=null,key:y="default",mask:v}=n,_=o.useMemo(()=>{let e=A(c,l);return null==e?null:{location:{pathname:e,search:m,hash:f,state:h,key:y,mask:v},navigationType:r}},[l,c,m,f,h,y,r,v]);return p(null!=_,`<Router basename="${l}"> is not able to match the URL "${c}${m}${f}" because it does not start with the basename, so the <Router> won't render anything.`),null==_?null:o.createElement(se.Provider,{value:u},o.createElement(le.Provider,{children:t,value:_}))}o.Component;var Ve="get",$e="application/x-www-form-urlencoded";function Be(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}function Ue(e=""){return new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}var We=null;var He=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Qe(e){return null==e||He.has(e)?e:(p(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${$e}"`),null)}function Ke(e,t){let n,r,o,a,i;if(Be(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?A(i,t):null,n=e.getAttribute("method")||Ve,o=Qe(e.getAttribute("enctype"))||$e,a=new FormData(e)}else if(function(e){return Be(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Be(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||i.getAttribute("action");if(r=s?A(s,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||Ve,o=Qe(e.getAttribute("formenctype"))||Qe(i.getAttribute("enctype"))||$e,a=new FormData(i,e),!function(){if(null===We)try{new FormData(document.createElement("form"),0),We=!1}catch(e){We=!0}return We}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}
2else t&&a.append(t,r)}}else{if(Be(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ve,r=null,o=$e,i=e}var s;return a&&"text/plain"===o&&(i=a,a=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:a,body:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis;function Ge(e,t){if(!1===e||null==e)throw new Error(t)}Symbol("SingleFetchRedirect");function Ye(e,t,n,r){let o="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:"/"===o.pathname?o.pathname=`_root.${r}`:t&&"/"===A(o.pathname,t)?o.pathname=`${V(t)}/_root.${r}`:o.pathname=`${V(o.pathname)}.${r}`,o}async function Xe(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Je(e){return null!=e&&"string"==typeof e.page}function Ze(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function et(e,t,n,r,o,a){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||s(e,t)):"data"===a?t.filter((t,a)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function tt(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1),[...new Set(r)];var r}function nt(e,t){let n=new Set,r=new Set(t);return e.reduce((e,o)=>{if(t&&!Je(o)&&"script"===o.as&&o.href&&r.has(o.href))return e;let a=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(o));return n.has(a)||(n.add(a),e.push({key:a,link:o})),e},[])}function rt(e,t){return"lazy"===e.mode&&!0===t}function ot(){let e=o.useContext(ee);return Ge(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function at(){let e=o.useContext(te);return Ge(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var it=o.createContext(void 0);function st(){let e=o.useContext(it);return Ge(e,"You must render this element inside a <HydratedRouter> element"),e}function lt(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function ut(e,t,n){if(n&&!ft)return[e[0]];if(t){let n=e.findIndex(e=>void 0!==t[e.route.id]);return e.slice(0,n+1)}return e}it.displayName="FrameworkContext";function ct({page:e,...t}){let n=re(),{nonce:r}=st(),{router:a}=ot(),i=o.useMemo(()=>_(a.routes,e,a.basename),[a.routes,e,a.basename]);return i?(null==t.nonce&&r&&(t={...t,nonce:r}),n?o.createElement(pt,{page:e,matches:i,...t}):o.createElement(mt,{page:e,matches:i,...t})):null}function dt(e){let{manifest:t,routeModules:n}=st(),[r,a]=o.useState([]);return o.useEffect(()=>{let r=!1;return async function(e,t,n){return nt((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Xe(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Ze).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}
2(e,t,n).then(e=>{r||a(e)}),()=>{r=!0}},[e,t,n]),r}function pt({page:e,matches:t,...n}){let r=me(),{future:a}=st(),{basename:i}=ot(),s=o.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=Ye(e,i,a.v8_trailingSlashAwareDataRequests,"rsc"),o=!1,s=[];for(let e of t)"function"==typeof e.route.shouldRevalidate?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set("_routes",s.join(",")),[n.pathname+n.search]},[i,a.v8_trailingSlashAwareDataRequests,e,r,t]);return o.createElement(o.Fragment,null,s.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})))}function mt({page:e,matches:t,...n}){let r=me(),{future:a,manifest:i,routeModules:s}=st(),{basename:l}=ot(),{loaderData:u,matches:c}=at(),d=o.useMemo(()=>et(e,t,c,i,r,"data"),[e,t,c,i,r]),p=o.useMemo(()=>et(e,t,c,i,r,"assets"),[e,t,c,i,r]),m=o.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,o=!1;if(t.forEach(e=>{let t=i.routes[e.route.id];t&&t.hasLoader&&(!d.some(t=>t.route.id===e.route.id)&&e.route.id in u&&s[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:n.add(e.route.id))}),0===n.size)return[];let c=Ye(e,l,a.v8_trailingSlashAwareDataRequests,"data");return o&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[l,a.v8_trailingSlashAwareDataRequests,u,r,i,d,t,e,s]),f=o.useMemo(()=>tt(p,i),[p,i]),h=dt(p);return o.createElement(o.Fragment,null,m.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),f.map(e=>o.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),h.map(({key:e,link:t})=>o.createElement("link",{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}var ft=!1;function ht(e){let{manifest:t,serverHandoffString:n,isSpaMode:r,renderMeta:a,routeDiscovery:i,ssr:s,nonce:l}=st(),{router:u,static:c,staticContext:d}=ot(),{matches:p}=at(),m=re(),f=rt(i,s);null==e.nonce&&l&&(e={...e,nonce:l}),a&&(a.didRenderScripts=!0);let h=ut(p,null,r);o.useEffect(()=>{ft=!0},[]);let g=o.useMemo(()=>{if(m)return null;let r=d?`window.__reactRouterContext = ${n};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",a=c?`${t.hmr?.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}${f?"":`import ${JSON.stringify(t.url)}`};\n${h.map((e,n)=>{let r=`route${n}`,o=t.routes[e.route.id];Ge(o,`Route ${e.route.id} not found in manifest`);let{clientActionModule:a,clientLoaderModule:i,clientMiddlewareModule:s,hydrateFallbackModule:l,module:u}=o,c=[...a?[{module:a,varName:`${r}_clientAction`}]:[],...i?[{module:i,varName:`${r}_clientLoader`}]:[],...s?[{module:s,varName:`${r}_clientMiddleware`}]:[],...l?[{module:l,varName:`${r}_HydrateFallback`}]:[],{module:u,varName:`${r}_main`}];return 1===c.length?`import * as ${r} from ${JSON.stringify(u)};`:[c.map(e=>`import * as ${e.varName} from "${e.module}";`).join("\n"),`const ${r} = {${c.map(e=>`...${e.varName}`).join(",")}};`].join("\n")}).join("\n")}\n  ${f?`window.__reactRouterManifest = ${JSON.stringify(function({sri:e,...t},n){let r=new Set(n.state.matches.map(e=>e.route.id)),o=n.state.location.pathname.split("/").filter(Boolean),a=["/"];for(o.pop();o.length>0;)a.push(`/${o.join("/")}`),o.pop();a.forEach(e=>{let t=b(n.routes,e,n.basename||"/",!1,n.branches);t&&t.forEach(e=>r.add(e.route.id))});let i=[...r].reduce((e,n)=>Object.assign(e,{[n]:t.routes[n]}),{});return{...t,routes:i,sri:!!e||void 0}}(t,u),null,2)};`:""}\n  window.__reactRouterRouteModules = {${h.map((e,t)=>`${JSON.stringify(e.route.id)}:route${t}`).join(",")}};\n\nimport(${JSON.stringify(t.entry.module)});`:" ";return o.createElement(o.Fragment,null,o.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:r},type:void 0}),o.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:a},type:"module",async:!0}))},[]),y=ft||m?[]:[...new Set(t.entry.imports.concat(tt(h,t,{includeHydrateFallback:!0})))],v="object"==typeof t.sri?t.sri:{};return Ne(!m,"The <Scripts /> element is a no-op when using RSC and can be safely removed."),ft||m?null:o.createElement(o.Fragment,null,"object"==typeof t.sri?o.createElement("script",{...e,"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:v})}}):null,f?null:o.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin,integrity:v[t.url],nonce:e.nonce,suppressHydrationWarning:!0}),o.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin,integrity:v[t.entry.module],nonce:e.nonce,suppressHydrationWarning:!0}),y.map(t=>o.createElement("link",{key:t,rel:"modulepreload",href:t,crossOrigin:e.crossOrigin,integrity:v[t],nonce:e.nonce,suppressHydrationWarning:!0})),g)}function gt(...e){return t=>
2{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}o.Component;function yt({error:e,isOutsideRemixApp:t}){let{nonce:n}=st();console.error(e);let r,a=o.createElement("script",{nonce:n,dangerouslySetInnerHTML:{__html:'\n        console.log(\n          "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."\n        );\n      '}});if(H(e))return o.createElement(vt,{title:"Unhandled Thrown Response!"},o.createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),a);if(e instanceof Error)r=e;else{let t=null==e?"Unknown Error":"object"==typeof e&&"toString"in e?e.toString():JSON.stringify(e);r=new Error(t)}return o.createElement(vt,{title:"Application Error!",isOutsideRemixApp:t},o.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),o.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),a)}function vt({title:e,renderScripts:t,isOutsideRemixApp:n,children:r}){let{routeModules:a}=st();return a.root?.Layout&&!n?r:o.createElement("html",{lang:"en"},o.createElement("head",null,o.createElement("meta",{charSet:"utf-8"}),o.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),o.createElement("title",null,e)),o.createElement("body",null,o.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},r,t?o.createElement(ht,null):null)))}var _t="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{_t&&(window.__reactRouterVersion="7.18.2")}catch(e){}function bt({basename:e,children:t,useTransitions:n,window:r}){let a=o.useRef();null==a.current&&(a.current=c({window:r,v5Compat:!0}));let i=a.current,[s,l]=o.useState({action:i.action,location:i.location}),u=o.useCallback(e=>{!1===n?l(e):o.startTransition(()=>l(e))},[n]);return o.useLayoutEffect(()=>i.listen(u),[i,u]),o.createElement(ze,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:i,useTransitions:n})}var wt=o.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:i,replace:s,mask:l,state:u,target:c,to:p,preventScrollReset:m,viewTransition:f,defaultShouldRevalidate:g,...y},v){let{basename:_,navigator:b,useTransitions:w}=o.useContext(se),x="string"==typeof p&&a.test(p),S=G(p,_),k=function(e,{relative:t}={}){d(pe(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=o.useContext(se),{hash:a,pathname:i,search:s}=_e(e,{relative:t}),l=i;return"/"!==n&&(l="/"===i?n:z([n,i])),r.createHref({pathname:l,search:s,hash:a})}(p=S.to,{relative:r}),E=me(),j=null;if(l){let e=F(l,[],E.mask?E.mask.pathname:"/",!0);"/"!==_&&(e.pathname="/"===e.pathname?_:z([_,e.pathname])),j=b.createHref(e)}let[C,P,T]=function(e,t){let n=o.useContext(it),[r,a]=o.useState(!1),[i,s]=o.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:c,onMouseLeave:d,onTouchStart:p}=t,m=o.useRef(null);o.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return m.current&&e.observe(m.current),()=>{e.disconnect()}}},[e]),o.useEffect(()=>{if(r){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[r]);let f=()=>{a(!0)},h=()=>{a(!1),s(!1)};return n?"intent"!==e?[i,m,{}]:[i,m,{onFocus:lt(l,f),onBlur:lt(u,h),onMouseEnter:lt(c,f),onMouseLeave:lt(d,h),onTouchStart:lt(p,f)}]:[!1,m,{}]}(n,y),q=function(e,{target:t,replace:n,mask:r,state:a,preventScrollReset:i,relative:s,viewTransition:l,defaultShouldRevalidate:u,useTransitions:c}={}){let d=ye(),p=me(),m=_e(e,{relative:s});return o.useCallback(f=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(f,t)){f.preventDefault();let t=void 0!==n?n:h(p)===h(m),g=()=>d(e,{replace:t,mask:r,state:a,preventScrollReset:i,relative:s,viewTransition:l,defaultShouldRevalidate:u});c?o.startTransition(()=>g()):g()}},[p,d,m,n,r,a,t,e,i,s,l,u,c])}(p,{replace:s,mask:l,state:u,target:c,preventScrollReset:m,relative:r,viewTransition:f,defaultShouldRevalidate:g,useTransitions:w});let O=!(S.isExternal||i),R=o.createElement("a",{...y,...T,href:(O?j:void 0)||S.absoluteURL||k,onClick:O?function(t){e&&e(t),t.defaultPrevented||q(t)}:e,ref:gt(v,P),target:c,"data-discover":x||"render"!==t?void 0:"true"});return C&&!x?o.createElement(o.Fragment,null,R,o.createElement(ct,{page:k})):R});wt.displayName="Link";var xt=o.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:a,to:i,viewTransition:s,children:l,...u},c){let p=_e(i,{relative:u.relative}),m=me(),f=o.useContext(te),{navigator:h,basename:g}=o.useContext(se),y=null!=f&&function(e,{relative:t}={}){let n=o.useContext(oe);d(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Et("useViewTransitionState"),a=_e(e,{relative:t});if(!n.isTransitioning)return!1;let i=A(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=A(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=T(a.pathname,s)||null!=T(a.pathname,i)}(p)&&!0===s,v=h.encodeLocation?h.encodeLocation(p).pathname:p.pathname,_=m.pathname,b=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&g&&(b=A(b,g)||b);const w="/"!==v&&v.endsWith("/")?v.length-1:v.length;let x,S=_===v||!r&&_.startsWith(v)&&"/"===_.charAt(w),k=null!=b&&(b===v||!r&&b.startsWith(v)&&"/"===b.charAt(v.length)),E={isActive:S,isPending:k,isTransitioning:y},j=S?e:void 0;x="function"==typeof n?n(E):[n,S?"active":null,k?"pending":null,y?"transitioning":null].filter(
2Boolean).join(" ");let C="function"==typeof a?a(E):a;return o.createElement(wt,{...u,"aria-current":j,className:x,ref:c,style:C,to:i,viewTransition:s},"function"==typeof l?l(E):l)});xt.displayName="NavLink";var St=o.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:s,method:l=Ve,action:u,onSubmit:c,relative:p,preventScrollReset:m,viewTransition:f,defaultShouldRevalidate:g,...y},v)=>{let{useTransitions:_}=o.useContext(se),b=Pt(),w=function(e,{relative:t}={}){let{basename:n}=o.useContext(se),r=o.useContext(ue);d(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),i={..._e(e||".",{relative:t})},s=me();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();i.search=n?`?${n}`:""}}e&&"."!==e||!a.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index");"/"!==n&&(i.pathname="/"===i.pathname?n:z([n,i.pathname]));return h(i)}(u,{relative:p}),x="get"===l.toLowerCase()?"get":"post",S="string"==typeof u&&a.test(u);return o.createElement("form",{ref:v,method:x,action:w,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,a=r?.getAttribute("formmethod")||l,u=()=>b(r||e.currentTarget,{fetcherKey:t,method:a,navigate:n,replace:i,state:s,relative:p,preventScrollReset:m,viewTransition:f,defaultShouldRevalidate:g});_&&!1!==n?o.startTransition(()=>u()):u()},...y,"data-discover":S||"render"!==e?void 0:"true"})});function kt(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Et(e){let t=o.useContext(ee);return d(t,kt(e)),t}function jt(e){p("undefined"!=typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=o.useRef(Ue(e)),n=o.useRef(!1),r=me(),a=o.useMemo(()=>function(e,t){let n=Ue(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),i=ye(),s=o.useCallback((e,t)=>{const r=Ue("function"==typeof e?e(new URLSearchParams(a)):e);n.current=!0,i("?"+r,t)},[i,a]);return[a,s]}St.displayName="Form";var Ct=0;function Pt(){let{router:e}=Et("useSubmit"),{basename:t}=o.useContext(se),n=Re("useRouteId"),r=e.fetch,a=e.navigate;return o.useCallback(async(e,o={})=>{let{action:i,method:s,encType:l,formData:u,body:c}=Ke(e,t);if(!1===o.navigate){let e=o.fetcherKey||`__${String(++Ct)}__`;await r(e,n,o.action||i,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:u,body:c,formMethod:o.method||s,formEncType:o.encType||l,flushSync:o.flushSync})}else await a(o.action||i,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:u,body:c,formMethod:o.method||s,formEncType:o.encType||l,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[r,a,t,n])}}}]);

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.