PageSourceSearch

https://www.gymnasium-heidberg.de/wp-content/plugins/stachethemes_…/js/1067-lazy.js?hash=dccb976b3f2039701d60

js gymnasium-heidberg.de collected 2026-10-02 14:50:06 UTC 108,240 bytes, 171 lines download raw bytes

vendor: 6,371 bytes, line 1
1"use strict";(globalThis.webpackChunkstec=globalThis.webpackChunkstec||[]).push([[1067],{4146:(e,t,n)=>{var r=n(73404),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 c(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 l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),y=c(n),m=0;m<i.length;++m){var v=i[m];if(!(a[v]||r&&r[v]||y&&y[v]||s&&s[v])){var g=f(n,v);try{l(t,v,g)}catch(e){}}}}return t}},3072:(e,t)=>{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,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,_=n?Symbol.for("react.responder"):60118,S=n?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case l:case f:case m:case y:case c:return e;default:return t}}case o:return t}}}function R(e){return b(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=m,t.Memo=y,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return R(e)||b(e)===u},t.isConcurrentMode=R,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===f},t.isFragment=function(e){return b(e)===a},t.isLazy=function(e){return b(e)===m},t.isMemo=function(e){return b(e)===y},t.isPortal=function(e){return b(e)===o},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===i},t.isSuspense=function(e){return b(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===g||e.$$typeof===_||e.$$typeof===S||e.$$typeof===v)},t.typeOf=b},73404:(e,t,n)=>{e.exports=n(3072)},39335:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var r=n(26878),o=n(5556),a=n.n(o),i=n(4146),s=n.n(i);function c(){return c=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},c.apply(this,arguments)}var l={},u=0;function d(e,t){return t=t||{},function(n){var o=n.displayName||n.name||"Component",i=function(o){var a,i;function s(e,t){var n;return(n=o.call(this,e,t)||this).state={},n.__scriptURL="",n}i=o,(a=s).prototype=Object.create(i.prototype),a.prototype.constructor=a,a.__proto__=i;var c=s.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+u++),this.__scriptLoaderID},c.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},c.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},c.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=l[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},c.componentDidMount=function(){var e=this,n=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),o=t,a=o.globalName,i=o.callbackName,s=o.scriptId;if(a&&void 0!==window[a]&&(l[n]={loaded:!0,observers:{}}),l[n]){var c=l[n];return c&&(c.loaded||c.errored)?void this.asyncScriptLoaderHandleLoad(c):void(c.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},l[n]={loaded:!1,observers:u};var d=document.createElement("script");for(var f in d.src=n,d.async=!0,t.attributes)d.setAttribute(f,t.attributes[f]);s&&(d.id=s);var h=function(e){if(l[n]){var t=l[n].observers;for(var r in t)e(t[r])&&delete t[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),d.onload=function(){var e=l[n];e&&(e.loaded=!0,h((function(t){return!i&&(t(e),!0)})))},d.onerror=function(){var e=l[n];e&&(e.errored=!0,h((function(t){return t(e),!0})))},document.body.appendChild(d)},c.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),r=0;r<n.length;r+=1)n[r].src.indexOf(e)>-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var o=l[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete l[e])},c.render=function(){var e=t.globalName,o=this.props,a=(o.asyncScriptOnLoad,o.forwardedRef),i=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(i[e]=void 0!==window[e]?window[e]:void 0),i.ref=a,(0,r.createElement)(n,i)},s}(r.Component),d=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(i,c({},e,{forwardedRef:t}))}));return d.displayName="AsyncScriptLoader("+o+")",d.propTypes={asyncScriptOnLoad:a().func},s()(d,n)}}}
1,87588:(e,t,n)=>{n.r(t),n.d(t,{ReCAPTCHA:()=>o.default,default:()=>a});var r=n(42279),o=n(94537);const a=r.default},42279:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r=n(94537),o=n(39335),a="onloadcallback";const i=(0,o.default)((function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/enterprise.js?onload="+a+"&render=explicit"}),{callbackName:a,globalName:"grecaptcha"})(r.default)},94537:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r=n(26878),o=n(5556),a=n.n(o);function i(){return i=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.apply(this,arguments)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=function(e){var t,n;function o(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(s(t)),t.handleErrored=t.handleErrored.bind(s(t)),t.handleChange=t.handleChange.bind(s(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(s(t)),t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=o.prototype;return a.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.enterprise.getResponse(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},a.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.enterprise.execute(this._widgetId);this._executeRequested=!0},a.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},a.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.enterprise.reset(this._widgetId)},a.forceReset=function(){this.props.grecaptcha&&this.props.grecaptcha.enterprise.reset()},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},a.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},a.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.enterprise&&this.props.grecaptcha.enterprise.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.enterprise.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.handleRecaptchaRef=function(e){this.captcha=e},a.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"]));return r.createElement("div",i({},t,{ref:this.handleRecaptchaRef}))},o}(r.Component);c.displayName="ReCAPTCHA",c.propTypes={sitekey:a().string.isRequired,onChange:a().func,grecaptcha:a().object,theme:a().oneOf(["dark","light"]),type:a().oneOf(["image","audio"]),tabindex:a().number,onExpired:a().func,onErrored:a().func,size:a().oneOf(["compact","normal","invisible"]),stoken:a().string,hl:a().string,badge:a().oneOf(["bottomright","bottomleft","inline"]),isolated:a().bool}
1,c.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},47444:(e,t,n)=>{n.r(t),n.d(t,{DefaultValue:()=>hs,RecoilEnv:()=>ms,RecoilLoadable:()=>ys,RecoilRoot:()=>vs,atom:()=>Ss,atomFamily:()=>Rs,constSelector:()=>Ts,default:()=>Js,errorSelector:()=>Es,isRecoilValue:()=>ps,noWait:()=>Ns,readOnlySelector:()=>As,retentionZone:()=>Ys,selector:()=>bs,selectorFamily:()=>ws,snapshot_UNSTABLE:()=>qs,useGetRecoilValueInfo_UNSTABLE:()=>Ps,useGotoRecoilSnapshot:()=>Ws,useRecoilBridgeAcrossReactRoots_UNSTABLE:()=>_s,useRecoilCallback:()=>js,useRecoilRefresher_UNSTABLE:()=>Bs,useRecoilSnapshot:()=>Ks,useRecoilState:()=>Os,useRecoilStateLoadable:()=>Ms,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:()=>$s,useRecoilStoreID:()=>gs,useRecoilTransactionObserver_UNSTABLE:()=>Hs,useRecoilTransaction_UNSTABLE:()=>Gs,useRecoilValue:()=>xs,useRecoilValueLoadable:()=>Is,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:()=>Fs,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:()=>zs,useResetRecoilState:()=>Ds,useRetain:()=>Zs,useSetRecoilState:()=>Us,waitForAll:()=>Cs,waitForAllSettled:()=>Vs,waitForAny:()=>Ls,waitForNone:()=>ks});var r=n(26878),o=n.n(r),a=n(40961);var i=function(e){const t=new Error(e);
1if(void 0===t.stack)try{throw t}catch(e){}return t};var s=function(e){return!!e&&"function"==typeof e.then};var c=function(e,t){if(null!=e)return e;throw i(null!=t?t:"Got unexpected null or undefined")};function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u{getValue(){throw i("BaseLoadable")}toPromise(){throw i("BaseLoadable")}valueMaybe(){throw i("BaseLoadable")}valueOrThrow(){throw i(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw i("BaseLoadable")}promiseOrThrow(){throw i(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw i("BaseLoadable")}errorOrThrow(){throw i(`Loadable expected error, but in "${this.state}" state`)}is(e){return e.state===this.state&&e.contents===this.contents}map(e){throw i("BaseLoadable")}}class d extends u{constructor(e){super(),l(this,"state","hasValue"),l(this,"contents",void 0),this.contents=e}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(e){try{const t=e(this.contents);return s(t)?m(t):_(t)?t:p(t)}catch(t){return s(t)?m(t.next((()=>this.map(e)))):y(t)}}}class f extends u{constructor(e){super(),l(this,"state","hasError"),l(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(e){return this}}class h extends u{constructor(e){super(),l(this,"state","loading"),l(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(e){return m(this.contents.then((t=>{const n=e(t);if(_(n)){const e=n;switch(e.state){case"hasValue":case"loading":return e.contents;case"hasError":throw e.contents}}return n})).catch((t=>{if(s(t))return t.then((()=>this.map(e).contents));throw t})))}}function p(e){return Object.freeze(new d(e))}function y(e){return Object.freeze(new f(e))}function m(e){return Object.freeze(new h(e))}function v(){return Object.freeze(new h(new Promise((()=>{}))))}function g(e){const t=function(e){return e.every((e=>"hasValue"===e.state))?p(e.map((e=>e.contents))):e.some((e=>"hasError"===e.state))?y(c(e.find((e=>"hasError"===e.state)),"Invalid loadable passed to loadableAll").contents):m(Promise.all(e.map((e=>e.contents))))}((Array.isArray(e)?e:Object.getOwnPropertyNames(e).map((t=>e[t]))).map((e=>_(e)?e:s(e)?m(e):p(e))));return Array.isArray(e)?t:t.map((t=>Object.getOwnPropertyNames(e).reduce(((e,n,r)=>({...e,[n]:t[r]})),{})))}function _(e){return e instanceof u}const S={of:e=>s(e)?m(e):_(e)?e:p(e),error:e=>y(e),loading:()=>v(),all:g,isLoadable:_};var b={loadableWithValue:p,loadableWithError:y,loadableWithPromise:m,loadableLoading:v,loadableAll:g,isLoadable:_,RecoilLoadable:S},R=b.loadableWithValue,w=b.loadableWithError,T=b.loadableWithPromise,E=b.loadableLoading,A=b.loadableAll,N=b.isLoadable,k=b.RecoilLoadable,L=Object.freeze({__proto__:null,loadableWithValue:R,loadableWithError:w,loadableWithPromise:T,loadableLoading:E,loadableAll:A,isLoadable:N,RecoilLoadable:k});const C={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};var V;"undefined"!=typeof process&&null!=(null===(V=process)||void 0===V?void 0:V.env)&&(function(e,t){var n,r;const o=null===(n=process.env[e])||void 0===n||null===(r=n.toLowerCase())||void 0===r?void 0:r.trim();if(null!=o&&""!==o){if(!["true","false"].includes(o))throw i(`process.env.${e} value must be 'true', 'false', or empty: ${o}`);t("true"===o)}}("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",(e=>{C.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=e})),function(e,t){var n;const r=null===(n=process.env[e])||void 0===n?void 0:n.trim();null!=r&&""!==r&&t(r.split(/\s*,\s*|\s+/))}("RECOIL_GKS_ENABLED",(e=>{e.forEach((e=>{C.RECOIL_GKS_ENABLED.add(e)}))})));var x=C;function I(e){return x.RECOIL_GKS_ENABLED.has(e)}I.setPass=e=>{x.RECOIL_GKS_ENABLED.add(e)},I.setFail=e=>{x.RECOIL_GKS_ENABLED.delete(e)},I.clear=()=>{x.RECOIL_GKS_ENABLED.clear()};var O=I;var M,U,D,P=function(e,t,{error:n}={}){return null};const B=null!==(M=o().createMutableSource)&&void 0!==M?M:o().unstable_createMutableSource,F=null!==(U=o().useMutableSource)&&void 0!==U?U:o().unstable_useMutableSource,z=null!==(D=o().useSyncExternalStore)&&void 0!==D?D:o().unstable_useSyncExternalStore;let $=!1;var j={createMutableSource:B,useMutableSource:F,useSyncExternalStore:z,currentRendererSupportsUseSyncExternalStore:function(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}
vendor: 25,802 bytes, line 1
1=o().__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=null!=(null!==(e=null==t?void 0:t.current)&&void 0!==e?e:n.currentDispatcher).useSyncExternalStore;return!z||r||$||($=!0,P("A React renderer without React 18+ API support is being used with React 18+.")),r},reactMode:function(){return O("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:O("recoil_sync_external_store")&&null!=z?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:O("recoil_mutable_source")&&null!=F&&"undefined"!=typeof window&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?O("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:O("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}},isFastRefreshEnabled:function(){return!1}};class G{constructor(e){l(this,"key",void 0),this.key=e}toJSON(){return{key:this.key}}}class W extends G{}class K extends G{}var H={AbstractRecoilValue:G,RecoilState:W,RecoilValueReadOnly:K,isRecoilValue:function(e){return e instanceof W||e instanceof K}},q=H.AbstractRecoilValue,Z=H.RecoilState,Y=H.RecoilValueReadOnly,J=H.isRecoilValue,X=Object.freeze({__proto__:null,AbstractRecoilValue:q,RecoilState:Z,RecoilValueReadOnly:Y,isRecoilValue:J});var Q=function(e,...t){0};var ee=function(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()};const{isFastRefreshEnabled:te}=j;class ne{}const re=new ne,oe=new Map,ae=new Map;class ie extends Error{}const se=new Map;function ce(e){return se.get(e)}var le={nodes:oe,recoilValues:ae,registerNode:function(e){x.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&function(e){if(oe.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in\n      production. But it is safe to ignore this warning if it occurred because of\n      hot module replacement.`;console.warn(t)}}(e.key),oe.set(e.key,e);const t=null==e.set?new X.RecoilValueReadOnly(e.key):new X.RecoilState(e.key);return ae.set(e.key,t),t},getNode:function(e){const t=oe.get(e);if(null==t)throw new ie(`Missing definition for RecoilValue: "${e}""`);return t},getNodeMaybe:function(e){return oe.get(e)},deleteNodeConfigIfPossible:function(e){var t;if(!O("recoil_memory_managament_2020"))return;const n=oe.get(e);var r;null!=n&&null!==(t=n.shouldDeleteConfigOnRelease)&&void 0!==t&&t.call(n)&&(oe.delete(e),null===(r=ce(e))||void 0===r||r(),se.delete(e))},setConfigDeletionHandler:function(e,t){O("recoil_memory_managament_2020")&&(void 0===t?se.delete(e):se.set(e,t))},getConfigDeletionHandler:ce,recoilValuesForKeys:function(e){return ee(e,(e=>c(ae.get(e))))},NodeMissingError:ie,DefaultValue:ne,DEFAULT_VALUE:re};var ue={enqueueExecution:function(e,t){t()}};var de,fe,he=(de=function(e){var t="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={},r=Math.pow(2,5),o=r-1,a=r/2,i=r/4,s={},c=function(e){return function(){return e}},l=n.hash=function(e){var n=void 0===e?"undefined":t(e);if("number"===n)return e;"string"!==n&&(e+="");for(var r=0,o=0,a=e.length;o<a;++o)r=(r<<5)-r+e.charCodeAt(o)|0;return r},u=function(e,t){return t>>>e&o},d=function(e){return 1<<e},f=function(e,t){return n=e&t-1,n=(n=(858993459&(n-=n>>1&1431655765))+(n>>2&858993459))+(n>>4)&252645135,127&(n+=n>>8)+(n>>16);var n},h=function(e,t,n,r){var o=r;if(!e){var a=r.length;o=new Array(a);for(var i=0;i<a;++i)o[i]=r[i]}return o[t]=n,o},p=function(e,t,n){var r=n.length-1,o=0,a=0,i=n;if(e)o=a=t;else for(i=new Array(r);o<t;)i[a++]=n[o++];for(++o;o<=r;)i[a++]=n[o++];return e&&(i.length=r),i},y={__hamt_isEmpty:!0},m=function(e){return e===y||e&&e.__hamt_isEmpty},v=function(e,t,n,r){return{type:1,edit:e,hash:t,key:n,value:r,_modify:w}},g=function(e,t,n){return{type:2,edit:e,hash:t,children:n,_modify:T}},_=function(e,t,n){return{type:3,edit:e,mask:t,children:n,_modify:E}},S=function(e,t,n){return{type:4,edit:e,size:t,children:n,_modify:A}},b=function e(t,n,r,o,a,i){if(r===a)return g(t,r,[i,o]);var s=u(n,r),c=u(n,a);return _(t,d(s)|d(c),s===c?[e(t,n+5,r,o,a,i)]:s<c?[o,i]:[i,o])},R=function(e,t){return e===t.edit},w=function(e,t,n,r,o,a,i){if(t(a,this.key)){var c=r(this.value);return c===this.value?this:c===s?(--i.value,y):R(e,this)?(this.value=c,this):v(e,o,a,c)}var l=r();return l===s?this:(++i.value,b(e,n,this.hash,this,o,v(e,o,a,l)))},T=function(e,t,n,r,o,a,i){if(o===this.hash){var c=function(e,t,n,r,o,a,i,c){for(var l=o.length,u=0;u<l;++u){var d=o[u];if(n(i,d.key)){var f=d.value,y=a(f);return y===f?o:y===s?(--c.value,p(e,u,o)):h(e,u,v(t,r,i,y),o)}}var m=a();return m===s?o:(++c.value,h(e,l,v(t,r,i,m),o))}(R(e,this),e,t,this.hash,this.children,r,a,i);return c===this.children?this:c.length>1?g(e,this.hash,c):c[0]}var l=r();return l===s?this:(++i.value,b(e,n,this.hash,this,o,v(e,o,a,l)))},E=function(e,t,n,r,o,i,s){var c=this.mask,l=this.children,v=u(n,o),g=d(v),b=f(c,g),w=c&g,T=w?l[b]:y,E=T._modify(e,t,n+5,r,o,i,s);if(T===E)return this;var A,N=R(e,this),k=c,L=void 0;if(w&&m(E)){if(!(k&=~g))return y;if(l.length<=2&&((A=l[1^b])===y||1===A.type||2===A.type))return l[1^b];L=p(N,b,l)}else if(w||m(E))L=h(N,b,E,l);else{if(l.length>=a)return function(e,t,n,r,o){for(var a=[],i=r,s=0,c=0;i;++c)1&i&&(a[c]=o[s++]),i>>>=1;return a[t]=n,S(e,s+1,a)}(e,v,E,c,l);k|=g,L=function(e,t,n,r){var o=r.length;if(e){for(var a=o;a>=t;)r[a--]=r[a];return r[t]=n,r}for(var i=0,s=0,c=new Array(o+1);i<t;)c[s++]=r[i++];for(c[t]=n;i<o;)c[++s]=r[i++];return c}(N,b,E,l)}return N?(this.mask=k,this.children=L,this):_(e,k,L)},A=function(e,t,n,r,o,a,s){var c=this.size,l=this.children,d=u(n,o),f=l[d],p=(f||y)._modify(e,t,n+5,r,o,a,s);if(f===p)return this;var v=R(e,this),g=void 0;if(m(f)&&!m(p))++c,g=h(v,d,p,l);else if(!m(f)&&m(p)){if(--c<=i)return function(e,t,n,r){for(var o=new Array(t-1),a=0,i=0,s=0,c=r.length;s<c;++s)if(s!==n){var l=r[s];l&&!m(l)&&(o[a++]=l,i|=1<<s)}return _(e,i,o)}(e,c,d,l);g=h(v,d,y,l)}else g=h(v,d,p,l);return v?(this.size=c,this.children=g,this):S(e,c,g)};function N(e,t,n,r,o){this._editable=e,this._edit=t,this._config=n,this._root=r,this._size=o}y._modify=function(e,t,n,r,o,a,i){var c=r();return c===s?y:(++i.value,v(e,o,a,c))},N.prototype.setTree=function(e,t){return this._editable?(this._root=e,this._size=t,this):e===this._root?this:new N(this._editable,this._edit,this._config,e,t)};var k=n.tryGetHash=function(e,t,n,r){for(var o=r._root,a=0,i=r._config.keyEq;;)switch(o.type){case 1:return i(n,o.key)?o.value:e;case 2:if(t===o.hash)for(var s=o.children,c=0,l=s.length;c<l;++c){var h=s[c];if(i(n,h.key))return h.value}return e;case 3:var p=u(a,t),y=d(p);if(o.mask&y){o=o.children[f(o.mask,y)],a+=5;break}return e;case 4:if(o=o.children[u(a,t)]){a+=5;break}return e;default:return e}};N.prototype.tryGetHash=function(e,t,n){return k(e,t,n,this)};var L=n.tryGet=function(e,t,n){return k(e,n._config.hash(t),t,n)};N.prototype.tryGet=function(e,t){return L(e,t,this)};var C=n.getHash=function(e,t,n){return k(void 0,e,t,n)};N.prototype.getHash=function(e,t){return C(e,t,this)},n.get=function(e,t){return k(void 0,t._config.hash(e),e,t)},N.prototype.get=function(e,t){return L(t,e,this)};var V=n.has=function(e,t,n){return k(s,e,t,n)!==s};N.prototype.hasHash=function(e,t){return V(e,t,this)};var x=n.has=function(e,t){return V(t._config.hash(e),e,t)};N.prototype.has=function(e){return x(e,this)};var I=function(e,t){return e===t};n.make=function(e){return new N(0,0,{keyEq:e&&e.keyEq||I,hash:e&&e.hash||l},y,0)},n.empty=n.make();var O=n.isEmpty=function(e){return e&&!!m(e._root)};N.prototype.isEmpty=function(){return O(this)};var M=n.modifyHash=function(e,t,n,r){var o={value:r._size},a=r._root._modify(r._editable?r._edit:NaN,r._config.keyEq,0,e,t,n,o);return r.setTree(a,o.value)};N.prototype.modifyHash=function(e,t,n){return M(n,e,t,this)};var U=n.modify=function(e,t,n){return M(e,n._config.hash(t),t,n)};N.prototype.modify=function(e,t){return U(t,e,this)};var D=n.setHash=function(e,t,n,r){return M(c(n),e,t,r)};N.prototype.setHash=function(e,t,n){return D(e,t,n,this)};var P=n.set=function(e,t,n){return D(n._config.hash(e),e,t,n)};N.prototype.set=function(e,t){return P(e,t,this)};var B=c(s),F=n.removeHash=function(e,t,n){return M(B,e,t,n)};N.prototype.removeHash=N.prototype.deleteHash=function(e,t){return F(e,t,this)};var z=n.remove=function(e,t){return F(t._config.hash(e),e,t)};N.prototype.remove=N.prototype.delete=function(e){return z(e,this)};var $=n.beginMutation=function(e){return new N(e._editable+1,e._edit+1,e._config,e._root,e._size)};N.prototype.beginMutation=function(){return $(this)};var j=n.endMutation=function(e){return e._editable=e._editable&&e._editable-1,e};N.prototype.endMutation=function(){return j(this)};var G=n.mutate=function(e,t){var n=$(t);return e(n),j(n)};N.prototype.mutate=function(e){return G(e,this)};var W=function(e){return e&&K(e[0],e[1],e[2],e[3],e[4])},K=function(e,t,n,r,o){for(;n<e;){var a=t[n++];if(a&&!m(a))return H(a,r,[e,t,n,r,o])}return W(o)},H=function(e,t,n){switch(e.type){case 1:return{value:t(e),rest:n};case 2:case 4:case 3:var r=e.children;return K(r.length,r,0,t,n);default:return W(n)}},q={done:!0};function Z(e){this.v=e}Z.prototype.next=function(){if(!this.v)return q;var e=this.v;return this.v=W(e.rest),e},Z.prototype[Symbol.iterator]=function(){return this};var Y=function(e,t){return new Z(H(e._root,t))},J=function(e){return[e.key,e.value]},X=n.entries=function(e){return Y(e,J)};N.prototype.entries=N.prototype[Symbol.iterator]=function(){return X(this)};var Q=function(e){return e.key},ee=n.keys=function(e){return Y(e,Q)};N.prototype.keys=function(){return ee(this)};var te=function(e){return e.value},ne=n.values=N.prototype.values=function(e){return Y(e,te)};N.prototype.values=function(){return ne(this)};var re=n.fold=function(e,t,n){var r=n._root;if(1===r.type)return e(t,r.value,r.key);for(var o=[r.children],a=void 0;a=o.pop();)for(var i=0,s=a.length;i<s;){var c=a[i++];c&&c.type&&(1===c.type?t=e(t,c.value,c.key):o.push(c.children))}return t};N.prototype.fold=function(e,t){return re(e,t,this)};var oe=n.forEach=function(e,t){return re((function(n,r,o){return e(r,o,t)}),null,t)};N.prototype.forEach=function(e){return oe(e,this)};var ae=n.count=function(e){return e._size};N.prototype.count=function(){return ae(this)},Object.defineProperty(N.prototype,"size",{get:N.prototype.count}),e.exports?e.exports=n:(void 0).hamt=n},de(fe={exports:{}},fe.exports),fe.exports);class pe{constructor(e){l(this,"_map",void 0),this._map=new Map(null==e?void 0:e.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(e){return this._map.get(e)}has(e){return this._map.has(e)}set(e,t){return this._map.set(e,t),this}delete(e){return this._map.delete(e),this}clone(){return me(this)}toMap(){return new Map(this._map)}}class ye{constructor(e){if(l(this,"_hamt",he.empty.beginMutation()),e instanceof ye){const t=e._hamt.endMutation();e._hamt=t.beginMutation(),this._hamt=t.beginMutation()}else if(e)for(const[t,n]of e.entries())this._hamt.set(t,n)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(e){return this._hamt.get(e)}has(e){return this._hamt.has(e)}set(e,t){return this._hamt.set(e,t),this}delete(e){return this._hamt.delete(e),this}clone(){return me(this)}toMap(){return new Map(this._hamt)}}function me(e){return O("recoil_hamt_2020")?new ye(e):new pe(e)}var ve=me,ge=Object.freeze({__proto__:null,persistentMap:ve});var _e=function(e,...t){const n=new Set;e:for(const r of e){for(const e of t)if(e.has(r))continue e;n.add(r)}return n};var Se=function(e,t){const n=new Map;return e.forEach(((e,r)=>{n.set(r,t(e,r))})),n};function be(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:a}=n,i=o.get(e);if(i&&r&&i!==r.nodeDeps.get(e))return;o.set(e,t);const s=null==i?t:_e(t,i);for(const t of s){a.has(t)||a.set(t,new Set);c(a.get(t)).add(e)}if(i){const n=_e(i,t);for(const t of n){if(!a.has(t))return;const n=c(a.get(t));n.delete(e),0===n.size&&a.delete(t)}}}var Re={cloneGraph:function(e){return{nodeDeps:Se(e.nodeDeps,(e=>new Set(e))),nodeToNodeSubscriptions:Se(e.nodeToNodeSubscriptions,(e=>new Set(e)))}},graph:function(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}},saveDepsToStore:function(e,t,n,r){var o,a,i,s;const c=n.getState();r!==c.currentTree.version&&r!==(null===(o=c.nextTree)||void 0===o?void 0:o.version)&&r!==(null===(a=c.previousTree)||void 0===a?void 0:a.version)&&P("Tried to save dependencies to a discarded tree");const l=n.getGraph(r);if(be(e,t,l),r===(null===(i=c.previousTree)||void 0===i?void 0:i.version)){be(e,t,n.getGraph(c.currentTree.version),l)}if(r===(null===(s=c.previousTree)||void 0===s?void 0:s.version)||r===c.currentTree.version){var u;const r=null===(u=c.nextTree)||void 0===u?void 0:u.version;if(void 0!==r){be(e,t,n.getGraph(r),l)}}}};let we=0;let Te=0;let Ee=0;var Ae={getNextTreeStateVersion:()=>we++,getNextStoreID:()=>Te++,getNextComponentID:()=>Ee++};const{persistentMap:Ne}=ge,{graph:ke}=Re,{getNextTreeStateVersion:Le}=Ae;function Ce(){const e=Le();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:Ne(),nonvalidatedAtoms:Ne()}}var Ve={makeEmptyTreeState:Ce,makeEmptyStoreState:function(){const e=Ce();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(e.version,ke()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}},getNextTreeStateVersion:Le};class xe{}var Ie={RetentionZone:xe,retentionZone:function(){return new xe}};var Oe={setByAddingToSet:function(e,t){const n=new Set(e);return n.add(t),n},setByDeletingFromSet:function(e,t){const n=new Set(e);return n.delete(t),n},mapBySettingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n),r},mapByUpdatingInMap:function(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r},mapByDeletingFromMap:function(e,t){const n=new Map(e);return n.delete(t),n},mapByDeletingMultipleFromMap:function(e,t){const n=new Map(e);return t.forEach((e=>n.delete(e))),n}};var Me=function*(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)};var Ue=function(e,t){return new Proxy(e,{get:(e,n)=>(!(n in e)&&n in t&&(e[n]=t[n]()),e[n]),ownKeys:e=>Object.keys(e)})};const{getNode:De,getNodeMaybe:Pe,recoilValuesForKeys:Be}=le,{RetentionZone:Fe}=Ie,{setByAddingToSet:ze}=Oe,$e=Object.freeze(new Set);class je extends Error{}function Ge(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const a=De(n),i=function(e,t,n){if(!O("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(e){let n=r.get(e);n||r.set(e,n=new Set),n.add(t)}if(n instanceof Fe)o(n);else if(Array.isArray(n))for(const e of n)o(e);return()=>{if(!O("recoil_memory_managament_2020"))return;const{retention:r}=e.getState();function o(e){const n=r.nodesRetainedByZone.get(e);null==n||n.delete(t),n&&0===n.size&&r.nodesRetainedByZone.delete(e)}if(n instanceof Fe)o(n);else if(Array.isArray(n))for(const e of n)o(e)}}(e,n,a.retainedBy),s=a.init(e,t,r);o.nodeCleanupFunctions.set(n,(()=>{s(),i()}))}function We(e,t,n){return De(n).peek(e,t)}function Ke(e,t,n){const r=new Set,o=Array.from(n),a=e.getGraph(t.version);for(let e=o.pop();e;e=o.pop()){var i;r.add(e);const t=null!==(i=a.nodeToNodeSubscriptions.get(e))&&void 0!==i?i:$e;for(const e of t)r.has(e)||o.push(e)}return r}var He={getNodeLoadable:function(e,t,n){return Ge(e,t,n,"get"),De(n).get(e,t)},peekNodeLoadable:We,setNodeValue:function(e,t,n,r){const o=De(n);if(null==o.set)throw new je(`Attempt to set read-only RecoilValue: ${n}`);const a=o.set;return Ge(e,t,n,"set"),a(e,t,r)},initializeNode:function(e,t,n){Ge(e,e.getState().currentTree,t,n)},cleanUpNode:function(e,t){var n;const r=e.getState();null===(n=r.nodeCleanupFunctions.get(t))||void 0===n||n(),r.nodeCleanupFunctions.delete(t)},setUnvalidatedAtomValue_DEPRECATED:function(e,t,n){var r;const o=Pe(t);return null==o||null===(r=o.invalidate)||void 0===r||r.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:ze(e.dirtyAtoms,t)}},peekNodeInfo:function(e,t,n){const r=e.getState(),o=e.getGraph(t.version),a=De(n).nodeType;return Ue({type:a},{loadable:()=>We(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>"selector"!==a&&t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var e;return Be(null!==(e=o.nodeDeps.get(n))&&void 0!==e?e:[])},subscribers:()=>{var o,a;return{nodes:Be(Me(Ke(e,t,new Set([n])),(e=>e!==n))),components:ee(null!==(o=null===(a=r.nodeToComponentSubscriptions.get(n))||void 0===a?void 0:a.values())&&void 0!==o?o:[],(([e])=>({name:e})))}}})},getDownstreamNodes:Ke};let qe=null;var Ze={setInvalidateMemoizedSnapshot:function(e){qe=e},invalidateMemoizedSnapshot:function(){var e;null===(e=qe)||void 0===e||e()}};const{getDownstreamNodes:Ye,getNodeLoadable:Je,setNodeValue:Xe}=He,{getNextComponentID:Qe}=Ae,{getNode:et,getNodeMaybe:tt}=le,{DefaultValue:nt}=le,{reactMode:rt}=j,{AbstractRecoilValue:ot,RecoilState:at,RecoilValueReadOnly:it,isRecoilValue:st}=X,{invalidateMemoizedSnapshot:ct}=Ze;function lt(e,t,n){if("set"===n.type){const{recoilValue:r,valueOrUpdater:o}=n,a=function(e,t,{key:n},r){if("function"==typeof r){const o=Je(e,t,n);if("loading"===o.state){const e=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw P(e),i(e)}if("hasError"===o.state)throw o.contents;return r(o.contents)}return r}(e,t,r,o),s=Xe(e,t,r.key,a);for(const[e,n]of s.entries())ut(t,e,n)}else if("setLoadable"===n.type){const{recoilValue:{key:e},loadable:r}=n;ut(t,e,r)}else if("markModified"===n.type){const{recoilValue:{key:e}}=n;t.dirtyAtoms.add(e)}else if("setUnvalidated"===n.type){var r;const{recoilValue:{key:e},unvalidatedValue:o}=n,a=tt(e);null==a||null===(r=a.invalidate)||void 0===r||r.call(a,t),t.atomValues.delete(e),t.nonvalidatedAtoms.set(e,o),t.dirtyAtoms.add(e)}else P(`Unknown action ${n.type}`)}function ut(e,t,n){"hasValue"===n.state&&n.contents instanceof nt?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function dt(e,t){e.replaceState((n=>{const r=pt(n);for(const n of t)lt(e,r,n);return yt(e,r),ct(),r}))}function ft(e,t){if(ht.length){const n=ht[ht.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else dt(e,[t])}const ht=[];function pt(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function yt(e,t){const n=Ye(e,t,t.dirtyAtoms);for(const e of n){var r,o;null===(r=tt(e))||void 0===r||null===(o=r.invalidate)||void 0===o||o.call(r,t)}}function mt(e,t,n){ft(e,{type:"set",recoilValue:t,valueOrUpdater:n})}var vt={RecoilValueReadOnly:it,AbstractRecoilValue:ot,RecoilState:at,getRecoilValueAsLoadable:function(e,{key:t},n=e.getState().currentTree){var r,o;const a=e.getState();n.version!==a.currentTree.version&&n.version!==(null===(r=a.nextTree)||void 0===r?void 0:r.version)&&n.version!==(null===(o=a.previousTree)||void 0===o?void 0:o.version)&&P("Tried to read from a discarded tree");const i=Je(e,n,t);return"loading"===i.state&&i.contents.catch((()=>{})),i},setRecoilValue:mt,setRecoilValueLoadable:function(e,t,n){if(n instanceof nt)return mt(e,t,n);ft(e,{type:"setLoadable",recoilValue:t,loadable:n})},markRecoilValueModified:function(e,t){ft(e,{type:"markModified",recoilValue:t})},setUnvalidatedRecoilValue:function(e,t,n){ft(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})},subscribeToRecoilValue:function(e,{key:t},n,r=null){const o=Qe(),a=e.getState();a.nodeToComponentSubscriptions.has(t)||a.nodeToComponentSubscriptions.set(t,new Map),c(a.nodeToComponentSubscriptions.get(t)).set(o,[null!=r?r:"<not captured>",n]);const i=rt();if(i.early&&("LEGACY"===i.mode||"MUTABLE_SOURCE"===i.mode)){const r=e.getState().nextTree;r&&r.dirtyAtoms.has(t)&&n(r)}return{release:()=>{const n=e.getState(),r=n.nodeToComponentSubscriptions.get(t);void 0!==r&&r.has(o)?(r.delete(o),0===r.size&&n.nodeToComponentSubscriptions.delete(t)):P(`Subscription missing at release time for atom ${t}. This is a bug in Recoil.`)}}},isRecoilValue:st,applyAtomValueWrites:function(e,t){const n=e.clone();return t.forEach(((e,t)=>{"hasValue"===e.state&&e.contents instanceof nt?n.delete(t):n.set(t,e)})),n},batchStart:function(){const e=new Map;return ht.push(e),()=>{for(const[t,n]of e)dt(t,n);ht.pop()!==e&&P("Incorrect order of batch popping")}},writeLoadableToTreeState:ut,invalidateDownstreams:yt,copyTreeState:pt,refreshRecoilValue:function(e,t){var n;const{currentTree:r}=e.getState(),o=et(t.key);null===(n=o.clearCache)||void 0===n||n.call(o,e,r)}};var gt=function(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const a=o.value;if(t.call(n,a[1],a[0],e))return!0;o=r.next()}return!1};const{cleanUpNode:_t}=He,{deleteNodeConfigIfPossible:St,getNode:bt}=le,{RetentionZone:Rt}=Ie,wt=new Set;function Tt(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return void P("releaseNodesNowOnCurrentTree should only be called at the end of a batch");const o=new Set;for(const e of t)if(e instanceof Rt)for(const t of At(n,e))o.add(t);else o.add(e);const a=function(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),a=new Set,i=new Set;return s(t),a;function s(t){const l=new Set,u=function(e,t,n,r,o){const a=e.getGraph(t.version),i=[],s=new Set;for(;n.size>0;)l(c(n.values().next().value));return i;function l(e){if(r.has(e)||o.has(e))return void n.delete(e);if(s.has(e))return;const t=a.nodeToNodeSubscriptions.get(e);if(t)for(const e of t)l(e);s.add(e),n.delete(e),i.push(e)}}(e,r,t,a,i);for(const e of u){var d;if("recoilRoot"===bt(e).retainedBy){i.add(e);continue}if((null!==(d=n.retention.referenceCounts.get(e))&&void 0!==d?d:0)>0){i.add(e);continue}if(Nt(e).some((e=>n.retention.referenceCounts.get(e)))){i.add(e);continue}const t=o.nodeToNodeSubscriptions.get(e);t&&gt(t,(e=>i.has(e)))?i.add(e):(a.add(e),l.add(e))}const f=new Set;for(const e of l)for(const t of null!==(h=o.nodeDeps.get(e))&&void 0!==h?h:wt){var h;a.has(t)||f.add(t)}f.size&&s(f)}}(e,o);for(const t of a)Et(e,r,t)}function Et(e,t,n){if(!O("recoil_memory_managament_2020"))return;_t(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const o=Nt(n);for(const e of o){var a;null===(a=r.retention.nodesRetainedByZone.get(e))||void 0===a||a.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const i=r.graphsByVersion.get(t.version);if(i){const e=i.nodeDeps.get(n);if(void 0!==e){i.nodeDeps.delete(n);for(const t of e){var s;null===(s=i.nodeToNodeSubscriptions.get(t))||void 0===s||s.delete(n)}}i.nodeToNodeSubscriptions.delete(n)}St(n)}function At(e,t){var n;return null!==(n=e.retention.nodesRetainedByZone.get(t))&&void 0!==n?n:wt}function Nt(e){const t=bt(e).retainedBy;return void 0===t||"components"===t||"recoilRoot"===t?[]:t instanceof Rt?[t]:t}function kt(e,t){if(!O("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),function(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):Tt(e,new Set([t]))}(e,t)}var Lt={SUSPENSE_TIMEOUT_MS:12e4,updateRetainCount:function(e,t,n){var r;if(!O("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,a=(null!==(r=o.get(t))&&void 0!==r?r:0)+n;0===a?kt(e,t):o.set(t,a)},updateRetainCountToZero:kt,releaseScheduledRetainablesNow:function(e){if(!O("recoil_memory_managament_2020"))return;const t=e.getState();Tt(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()},retainedByOptionWithDefault:function(e){return void 0===e?"recoilRoot":e}};const{unstable_batchedUpdates:Ct}=a;var Vt={unstable_batchedUpdates:Ct};const{unstable_batchedUpdates:xt}=Vt;var It={unstable_batchedUpdates:xt};const{batchStart:Ot}=vt,{unstable_batchedUpdates:Mt}=It;let Ut=Mt||(e=>e());var Dt={getBatcher:()=>Ut,setBatcher:e=>{Ut=e},batchUpdates:e=>{Ut((()=>{let t=()=>{};try{t=Ot(),e()}finally{t()}}))}};var Pt=function*(e){for(const t of e)for(const e of t)yield e};const Bt="undefined"==typeof Window||"undefined"==typeof window,Ft="undefined"!=typeof navigator&&"ReactNative"===navigator.product;var zt={isSSR:Bt,isReactNative:Ft,isWindow:e=>!Bt&&(e===window||e instanceof Window)};var $t={memoizeWithArgsHash:function(e,t){let n;return(...r)=>{n||(n={});const o=t(...r);return Object.hasOwnProperty.call(n,o)||(n[o]=e(...r)),n[o]}},memoizeOneWithArgsHash:function(e,t){let n,r;return(...o)=>{const a=t(...o);return n===a||(n=a,r=e(...o)),r}},memoizeOneWithArgsHashAndInvalidation:function(e,t){let n,r;return[(...o)=>{const a=t(...o);return n===a||(n=a,r=e(...o)),r},()=>{n=null}]}};const{batchUpdates:jt}=Dt,{initializeNode:Gt,peekNodeInfo:Wt}=He,{graph:Kt}=Re,{getNextStoreID:Ht}=Ae,{DEFAULT_VALUE:qt,recoilValues:Zt,recoilValuesForKeys:Yt}=le,{AbstractRecoilValue:Jt,getRecoilValueAsLoadable:Xt,setRecoilValue:Qt,setUnvalidatedRecoilValue:en}=vt,{updateRetainCount:tn}=Lt,{setInvalidateMemoizedSnapshot:nn}=Ze,{getNextTreeStateVersion:rn,makeEmptyStoreState:on}=Ve,{isSSR:an}=zt,{memoizeOneWithArgsHashAndInvalidation:sn}=$t;class cn{constructor(e,t){l(this,"_store",void 0),l(this,"_refCount",1),l(this,"getLoadable",(e=>(this.checkRefCount_INTERNAL(),Xt(this._store,e)))),l(this,"getPromise",(e=>
1(this.checkRefCount_INTERNAL(),this.getLoadable(e).toPromise()))),l(this,"getNodes_UNSTABLE",(e=>{if(this.checkRefCount_INTERNAL(),!0===(null==e?void 0:e.isModified)){if(!1===(null==e?void 0:e.isInitialized))return[];const t=this._store.getState().currentTree;return Yt(t.dirtyAtoms)}const t=this._store.getState().knownAtoms,n=this._store.getState().knownSelectors;return null==(null==e?void 0:e.isInitialized)?Zt.values():!0===e.isInitialized?Yt(Pt([t,n])):Me(Zt.values(),(({key:e})=>!t.has(e)&&!n.has(e)))})),l(this,"getInfo_UNSTABLE",(({key:e})=>(this.checkRefCount_INTERNAL(),Wt(this._store,this._store.getState().currentTree,e)))),l(this,"map",(e=>{this.checkRefCount_INTERNAL();const t=new fn(this,jt);return e(t),t})),l(this,"asyncMap",(async e=>{this.checkRefCount_INTERNAL();const t=new fn(this,jt);return t.retain(),await e(t),t.autoRelease_INTERNAL(),t})),this._store={storeID:Ht(),parentStoreID:t,getState:()=>e,replaceState:t=>{e.currentTree=t(e.currentTree)},getGraph:t=>{const n=e.graphsByVersion;if(n.has(t))return c(n.get(t));const r=Kt();return n.set(t,r),r},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw i("Cannot subscribe to Snapshots")}};for(const e of this._store.getState().knownAtoms)Gt(this._store,e,"get"),tn(this._store,e,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0&&P("Attempt to retain() Snapshot that was already released."),this._refCount++;let e=!1;return()=>{e||(e=!0,this._release())}}autoRelease_INTERNAL(){an||window.setTimeout((()=>this._release()),10)}_release(){if(this._refCount--,0===this._refCount){if(this._store.getState().nodeCleanupFunctions.forEach((e=>e())),this._store.getState().nodeCleanupFunctions.clear(),!O("recoil_memory_managament_2020"))return}else this._refCount}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){O("recoil_memory_managament_2020")&&this._refCount}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function ln(e,t,n=!1){const r=e.getState(),o=n?rn():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:(new Map).set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(ee(r.nodeCleanupFunctions.entries(),(([e])=>[e,()=>{}])))}}const[un,dn]=sn(((e,t)=>{var n;const r=e.getState(),o="latest"===t?null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree:c(r.previousTree);return new cn(ln(e,o),e.storeID)}),((e,t)=>{var n,r;return String(t)+String(e.storeID)+String(null===(n=e.getState().nextTree)||void 0===n?void 0:n.version)+String(e.getState().currentTree.version)+String(null===(r=e.getState().previousTree)||void 0===r?void 0:r.version)}));nn(dn);class fn extends cn{constructor(e,t){super(ln(e.getStore_INTERNAL(),e.getStore_INTERNAL().getState().currentTree,!0),e.getStoreID()),l(this,"_batch",void 0),l(this,"set",((e,t)=>{this.checkRefCount_INTERNAL();const n=this.getStore_INTERNAL();this._batch((()=>{tn(n,e.key,1),Qt(this.getStore_INTERNAL(),e,t)}))})),l(this,"reset",(e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();this._batch((()=>{tn(t,e.key,1),Qt(this.getStore_INTERNAL(),e,qt)}))})),l(this,"setUnvalidatedAtomValues_DEPRECATED",(e=>{this.checkRefCount_INTERNAL();const t=this.getStore_INTERNAL();jt((()=>{for(const[n,r]of e.entries())tn(t,n,1),en(t,new Jt(n),r)}))})),this._batch=t}}var hn={Snapshot:cn,MutableSnapshot:fn,freshSnapshot:function(e){const t=new cn(on());return null!=e?t.map(e):t},cloneSnapshot:function(e,t="latest"){const n=un(e,t);return n.isRetained()?n:(dn(),un(e,t))}},pn=hn.Snapshot,yn=hn.MutableSnapshot,mn=hn.freshSnapshot,vn=hn.cloneSnapshot,gn=Object.freeze({__proto__:null,Snapshot:pn,MutableSnapshot:yn,freshSnapshot:mn,cloneSnapshot:vn});var Sn=function(...e){const t=new Set;for(const n of e)for(const e of n)t.add(e);return t};const{useRef:bn}=o();var Rn=function(e){const t=bn(e);return t.current===e&&"function"==typeof e&&(t.current=e()),t};const{getNextTreeStateVersion:wn,makeEmptyStoreState:Tn}=Ve,{cleanUpNode:En,getDownstreamNodes:An,initializeNode:Nn,setNodeValue:kn,setUnvalidatedAtomValue_DEPRECATED:Ln}=He,{graph:Cn}=Re,{cloneGraph:Vn}=Re,{getNextStoreID:xn}=Ae,{createMutableSource:In,reactMode:On}=j,{applyAtomValueWrites:Mn}=vt,{releaseScheduledRetainablesNow:Un}=Lt,{freshSnapshot:Dn}=gn,{useCallback:Pn,useContext:Bn,useEffect:Fn,useMemo:zn,useRef
1:$n,useState:jn}=o();function Gn(){throw i("This component must be used inside a <RecoilRoot> component.")}const Wn=Object.freeze({storeID:xn(),getState:Gn,replaceState:Gn,getGraph:Gn,subscribeToTransactions:Gn,addTransactionMetadata:Gn});let Kn=!1;function Hn(e){if(Kn)throw i("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(null===t.nextTree){O("recoil_memory_managament_2020")&&O("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&Un(e);const n=t.currentTree.version,r=wn();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,Vn(c(t.graphsByVersion.get(n))))}}const qn=o().createContext({current:Wn}),Zn=()=>Bn(qn),Yn=o().createContext(null);function Jn(e,t,n){const r=An(e,n,n.dirtyAtoms);for(const e of r){const r=t.nodeToComponentSubscriptions.get(e);if(r)for(const[e,[t,o]]of r)o(n)}}function Xn(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[n,o]of t.nodeTransactionSubscriptions)if(r.has(n))for(const[t,n]of o)n(e);for(const[n,r]of t.transactionSubscriptions)r(e);(!On().early||t.suspendedComponentResolvers.size>0)&&(Jn(e,t,n),t.suspendedComponentResolvers.forEach((e=>e())),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach((e=>e(n))),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function Qn({setNotifyBatcherOfChange:e}){const t=Zn(),[,n]=jn([]);return e((()=>n({}))),Fn((()=>(e((()=>n({}
1))),()=>{e((()=>{}))})),[e]),Fn((()=>{ue.enqueueExecution("Batcher",(()=>{!function(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(null==n)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,Xn(e),null!=t.previousTree?t.graphsByVersion.delete(t.previousTree.version):P("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,O("recoil_memory_managament_2020")&&null==n&&Un(e)}finally{t.commitDepth--}}(t.current)}))})),null}let er=0;function tr({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let a;const i=e=>{const t=a.current.graphsByVersion;if(t.has(e))return c(t.get(e));const n=Cn();return t.set(e,n),n},s=(e,t)=>{if(null==t){const{transactionSubscriptions:t}=h.current.getState(),n=er++;return t.set(n,e),{release:()=>{t.delete(n)}}}{const{nodeTransactionSubscriptions:n}=h.current.getState();n.has(t)||n.set(t,new Map);const r=er++;return c(n.get(t)).set(r,e),{release:()=>{const e=n.get(t);e&&(e.delete(r),0===e.size&&n.delete(t))}}}},l=e=>{Hn(h.current);for(const t of Object.keys(e))c(h.current.getState().nextTree).transactionMetadata[t]=e[t]},u=e=>{Hn(h.current);const t=c(a.current.nextTree);let n;try{Kn=!0,n=e(t)}finally{Kn=!1}n!==t&&(a.current.nextTree=n,On().early&&Jn(h.current,a.current,n),c(d.current)())},d=$n(null),f=Pn((e=>{d.current=e}),[d]),h=Rn((()=>null!=n?n:{storeID:xn(),getState:()=>a.current,replaceState:u,getGraph:i,subscribeToTransactions:s,addTransactionMetadata:l}));null!=n&&(h.current=n),a=Rn((()=>null!=e?function(e,t){const n=Tn();return t({set:(t,r)=>{const o=n.currentTree,a=kn(e,o,t.key,r),i=new Set(a.keys()),s=o.nonvalidatedAtoms.clone();for(const e of i)s.delete(e);n.currentTree={...o,dirtyAtoms:Sn(o.dirtyAtoms,i),atomValues:Mn(o.atomValues,a),nonvalidatedAtoms:s}},setUnvalidatedAtomValues:e=>{e.forEach(((e,t)=>{n.currentTree=Ln(n.currentTree,t,e)}))}}),n}(h.current,e):null!=t?function(e){const t=Dn(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach((e=>e())),n.nodeCleanupFunctions.clear(),n}(t):Tn()));const p=zn((()=>null==In?void 0:In(a,(()=>a.current.currentTree.version))),[a]);return Fn((()=>{const e=h.current;for(const t of new Set(e.getState().knownAtoms))Nn(e,t,"get");return()=>{for(const t of e.getState().knownAtoms)En(e,t)}}),[h]),o().createElement(qn.Provider,{value:h},o().createElement(Yn.Provider,{value:p},o().createElement(Qn,{setNotifyBatcherOfChange:f}),r))}var nr={RecoilRoot:function(e){const{override:t,...n}=e,r=Zn();return!1===t&&r.current!==Wn?e.children:o().createElement(tr,n)},useStoreRef:Zn,useRecoilMutableSource:function(){const e=Bn(Yn);return null==e&&Q("Attempted to use a Recoil hook outside of a <RecoilRoot>. <RecoilRoot> must be an ancestor of any component that uses Recoil hooks."),e},useRecoilStoreID:function(){return Zn().current.storeID},notifyComponents_FOR_TESTING:Jn,sendEndOfBatchNotifications_FOR_TESTING:Xn};var rr=function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0};const{useEffect:or,useRef:ar}=o();var ir=function(e){const t=ar();return or((()=>{t.current=e})),t.current};const{useStoreRef:sr}=nr,{SUSPENSE_TIMEOUT_MS:cr}=Lt,{updateRetainCount:lr}=Lt,{RetentionZone:ur}=Ie,{useEffect:dr,useRef:fr}=o(),{isSSR:hr}=zt;var pr=function(e){if(O("recoil_memory_managament_2020"))return function(e){const t=Array.isArray(e)?e:[e],n=t.map((e=>e instanceof ur?e:e.key)),r=sr();dr((()=>{if(!O("recoil_memory_managament_2020"))return;const e=r.current;if(o.current&&!hr)window.clearTimeout(o.current),o.current=null;else for(const t of n)lr(e,t,1);return()=>{for(const t of n)lr(e,t,-1)}}),[r,...n]);const o=fr(),a=ir(n);if(!(hr||void 0!==a&&rr(a,n))){const e=r.current;for(const t of n)lr(e,t,1);if(a)for(const t of a)lr(e,t,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout((()=>{o.current=null;for(const t of n)lr(e,t,-1)}),cr)}}(e)};var yr=function(){return"<component name not available>"};const{batchUpdates:mr}=Dt,{DEFAULT_VALUE:vr}=le,{currentRendererSupportsUseSyncExternalStore:gr,reactMode:_r,useMutableSource:Sr,useSyncExternalStore:br}=j,{useRecoilMutableSource:Rr,useStoreRef:wr}=nr,{isRecoilValue:Tr}=X,{AbstractRecoilValue:Er,getRecoilValueAsLoadable:Ar,setRecoilValue:Nr,setUnvalidatedRecoilValue:kr,subscribeToRecoilValue:Lr}=vt,{useCallback:Cr,useEffect:Vr,useMemo:xr,useRef:Ir,useState:Or}=o(),{setByAddingToSet:Mr}=Oe,{isSSR:Ur}=zt;function Dr(e,t,n){if("hasValue"===e.state)return e.contents;if("loading"===e.state){throw new Promise((t=>{const r=n.current.getState().suspendedComponentResolvers;r.add(t),Ur&&s(e.contents)&&e.contents.finally((()=>{r.delete(t)}))}
1))}throw"hasError"===e.state?e.contents:i(`Invalid value of loadable atom "${t.key}"`)}function Pr(e){const t=wr(),n=yr(),r=Cr((()=>{var n;const r=t.current,o=r.getState(),a=_r().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return{loadable:Ar(r,e,a),key:e.key}}),[t,e]),o=Cr((e=>{let t;return()=>{var n,r;const o=e();return null!==(n=t)&&void 0!==n&&n.loadable.is(o.loadable)&&(null===(r=t)||void 0===r?void 0:r.key)===o.key?t:(t=o,o)}}),[]),a=xr((()=>o(r)),[r,o]),i=Cr((r=>{const o=t.current;return Lr(o,e,r,n).release}),[t,e,n]);return br(i,a,a).loadable}function Br(e){const t=wr(),n=Cr((()=>{var n;const r=t.current,o=r.getState(),a=_r().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return Ar(r,e,a)}),[t,e]),r=Cr((()=>n()),[n]),o=yr(),a=Cr(((r,a)=>{const i=t.current;return Lr(i,e,(()=>{if(!O("recoil_suppress_rerender_in_callback"))return a();const e=n();l.current.is(e)||a(),l.current=e}),o).release}),[t,e,o,n]),s=Rr();if(null==s)throw i("Recoil hooks must be used in components contained within a <RecoilRoot> component.");const c=Sr(s,r,a),l=Ir(c);return Vr((()=>{l.current=c})),c}function Fr(e){const t=wr(),n=yr(),r=Cr((()=>{var n;const r=t.current,o=r.getState(),a=_r().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return Ar(r,e,a)}),[t,e]),o=Cr((()=>({loadable:r(),key:e.key})),[r,e.key]),a=Cr((e=>{const t=o();return e.loadable.is(t.loadable)&&e.key===t.key?e:t}),[o]);Vr((()=>{const r=Lr(t.current,e,(e=>{s(a)}),n);return s(a),r.release}),[n,e,t,a]);const[i,s]=Or(o);return i.key!==e.key?o().loadable:i.loadable}function zr(e){const t=wr(),[,n]=Or([]),r=yr(),o=Cr((()=>{var n;const r=t.current,o=r.getState(),a=_r().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree;return Ar(r,e,a)}),[t,e]),a=o(),i=Ir(a);return Vr((()=>{i.current=a})),Vr((()=>{const a=t.current,s=a.getState(),c=Lr(a,e,(e=>{var t;if(!O("recoil_suppress_rerender_in_callback"))return n([]);const r=o();null!==(t=i.current)&&void 0!==t&&t.is(r)||n(r),i.current=r}),r);if(s.nextTree)a.getState().queuedComponentCallbacks_DEPRECATED.push((()=>{i.current=null,n([])}));else{var l;if(!O("recoil_suppress_rerender_in_callback"))return n([]);const e=o();null!==(l=i.current)&&void 0!==l&&l.is(e)||n(e),i.current=e}return c.release}),[r,o,e,t]),a}function $r(e){return O("recoil_memory_managament_2020")&&pr(e),{TRANSITION_SUPPORT:Fr,SYNC_EXTERNAL_STORE:gr()?Pr:Fr,MUTABLE_SOURCE:Br,LEGACY:zr}[_r().mode](e)}function jr(e){const t=wr();return Dr($r(e),e,t)}function Gr(e){const t=wr();return Cr((n=>{Nr(t.current,e,n)}),[t,e])}function Wr(e){return O("recoil_memory_managament_2020")&&pr(e),Fr(e)}function Kr(e){const t=wr();return Dr(Wr(e),e,t)}var Hr={recoilComponentGetRecoilValueCount_FOR_TESTING:{current:0},useRecoilInterface:function(){const e=yr(),t=wr(),[,n]=Or([]),r=Ir(new Set);r.current=new Set;const o=Ir(new Set),a=Ir(new Map),i=Cr((e=>{const t=a.current.get(e);t&&(t.release(),a.current.delete(e))}),[a]),s=Cr(((e,t)=>{a.current.has(t)&&n([])}),[]);return Vr((()=>{const n=t.current;_e(r.current,o.current).forEach((t=>{if(a.current.has(t))return void Q(`Double subscription to RecoilValue "${t}"`);const r=Lr(n,new Er(t),(e=>s(e,t)),e);a.current.set(t,r);n.getState().nextTree?n.getState().queuedComponentCallbacks_DEPRECATED.push((()=>{s(n.getState(),t)})):s(n.getState(),t)})),_e(o.current,r.current).forEach((e=>{i(e)})),o.current=r.current})),Vr((()=>{const n=a.current;return _e(r.current,new Set(n.keys())).forEach((r=>{const o=Lr(t.current,new Er(r),(e=>s(e,r)),e);n.set(r,o)})),()=>n.forEach(((e,t)=>i(t)))}),[e,t,i,s]),xr((()=>{function e(e){return n=>{Nr(t.current,e,n)}}function n(e){var n;r.current.has(e.key)||(r.current=Mr(r.current,e.key));const o=t.current.getState();return Ar(t.current,e,_r().early&&null!==(n=o.nextTree)&&void 0!==n?n:o.currentTree)}function o(e){return Dr(n(e),e,t)}
1return{getRecoilValue:o,getRecoilValueLoadable:n,getRecoilState:function(t){return[o(t),e(t)]},getRecoilStateLoadable:function(t){return[n(t),e(t)]},getSetRecoilState:e,getResetRecoilState:function(e){return()=>Nr(t.current,e,vr)}}}),[r,t])},useRecoilState:function(e){return[jr(e),Gr(e)]},useRecoilStateLoadable:function(e){return[$r(e),Gr(e)]},useRecoilValue:jr,useRecoilValueLoadable:$r,useResetRecoilState:function(e){const t=wr();return Cr((()=>{Nr(t.current,e,vr)}),[t,e])},useSetRecoilState:Gr,useSetUnvalidatedAtomValues:function(){const e=wr();return(t,n={})=>{mr((()=>{e.current.addTransactionMetadata(n),t.forEach(((t,n)=>kr(e.current,new Er(n),t)))}))}},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Wr,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Kr,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:function(e){return[Kr(e),Gr(e)]}};var qr=function(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n};var Zr=function(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n};var Yr=function(...e){const t=new Map;for(let n=0;n<e.length;n++){const r=e[n].keys();let o;for(;!(o=r.next()).done;)t.set(o.value,e[n].get(o.value))}return t};const{batchUpdates:Jr}=Dt,{DEFAULT_VALUE:Xr,getNode:Qr,nodes:eo}=le,{useStoreRef:to}
1=nr,{AbstractRecoilValue:no,setRecoilValueLoadable:ro}=vt,{SUSPENSE_TIMEOUT_MS:oo}=Lt,{cloneSnapshot:ao}=gn,{useCallback:io,useEffect:so,useRef:co,useState:lo}=o(),{isSSR:uo}=zt;function fo(e){const t=to();so((()=>t.current.subscribeToTransactions(e).release),[e,t])}function ho(e){const t=e.atomValues.toMap(),n=Se(qr(t,((e,t)=>{const n=Qr(t).persistence_UNSTABLE;return null!=n&&"none"!==n.type&&"hasValue"===e.state})),(e=>e.contents));return Yr(e.nonvalidatedAtoms.toMap(),n)}function po(e,t){var n;const r=e.getState(),o=null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree,a=t.getStore_INTERNAL().getState().currentTree;Jr((()=>{const n=new Set;for(const e of[o.atomValues.keys(),a.atomValues.keys()])for(const t of e){var r,i;(null===(r=o.atomValues.get(t))||void 0===r?void 0:r.contents)!==(null===(i=a.atomValues.get(t))||void 0===i?void 0:i.contents)&&Qr(t).shouldRestoreFromSnapshots&&n.add(t)}n.forEach((t=>{ro(e,new no(t),a.atomValues.has(t)?c(a.atomValues.get(t)):Xr)})),e.replaceState((e=>({...e,stateID:t.getID()})))}))}var yo={useRecoilSnapshot:function(){const e=to(),[t,n]=lo((()=>ao(e.current))),r=ir(t),o=co(),a=co();if(fo(io((e=>n(ao(e))),[])),so((()=>{const e=t.retain();var n;o.current&&!uo&&(window.clearTimeout(o.current),o.current=null,null===(n=a.current)||void 0===n||n.call(a),a.current=null);return()=>{window.setTimeout(e,10)}}),[t]),r!==t&&!uo){var i;if(o.current)window.clearTimeout(o.current),o.current=null,null===(i=a.current)||void 0===i||i.call(a),a.current=null;a.current=t.retain(),o.current=window.setTimeout((()=>{var e;o.current=null,null===(e=a.current)||void 0===e||e.call(a),a.current=null}),oo)}return t},gotoSnapshot:po,useGotoRecoilSnapshot:function(){const e=to();return io((t=>po(e.current,t)),[e])},useRecoilTransactionObserver:function(e){fo(io((t=>{const n=ao(t,"latest"),r=ao(t,"previous");e({snapshot:n,previousSnapshot:r})}),[e]))},useTransactionObservation_DEPRECATED:function(e){fo(io((t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(P("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),n=t.getState().currentTree);const o=ho(r),a=ho(n),i=Se(eo,(e=>{var t,n,r,o;return{persistence_UNSTABLE:{type:null!==(t=null===(n=e.persistence_UNSTABLE)||void 0===n?void 0:n.type)&&void 0!==t?t:"none",backButton:null!==(r=null===(o=e.persistence_UNSTABLE)||void 0===o?void 0:o.backButton)&&void 0!==r&&r}}})),s=Zr(r.dirtyAtoms,(e=>o.has(e)||a.has(e)));e({atomValues:o,previousAtomValues:a,atomInfo:i,modifiedAtoms:s,transactionMetadata:{...r.transactionMetadata}})}),[e]))},useTransactionSubscription_DEPRECATED:fo};const{peekNodeInfo:mo}=He,{useStoreRef:vo}=nr;var go=function(){const e=vo();return({key:t})=>mo(e.current,e.current.getState().currentTree,t)};const{reactMode:_o}=j,{RecoilRoot:So,useStoreRef:bo}=nr,{useMemo:Ro}=o();var wo=function(){"MUTABLE_SOURCE"===_o().mode&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode.  Please consider upgrading to recoil_sync_external_store mode.");const e=bo().current;return Ro((()=>function({children:t}){return o().createElement(So,{store_INTERNAL:e},t)}),[e])};const{loadableWithValue:To}=L,{initializeNode:Eo}=He,{DEFAULT_VALUE:Ao,getNode:No}=le,{copyTreeState:ko,getRecoilValueAsLoadable:Lo,invalidateDownstreams:Co,writeLoadableToTreeState:Vo}=vt;function xo(e){return"atom"===No(e.key).nodeType}class Io{constructor(e,t){l(this,"_store",void 0),l(this,"_treeState",void 0),l(this,"_changes",void 0),l(this,"get",(e=>{if(this._changes.has(e.key))return this._changes.get(e.key);if(!xo(e))throw i("Reading selectors within atomicUpdate is not supported");const t=Lo(this._store,e,this._treeState);if("hasValue"===t.state)return t.contents;throw"hasError"===t.state?t.contents:i(`Expected Recoil atom ${e.key} to have a value, but it is in a loading state.`)})),l(this,"set",((e,t)=>{if(!xo(e))throw i("Setting selectors within atomicUpdate is not supported");if("function"==typeof t){const n=this.get(e);this._changes.set(e.key,t(n))}else Eo(this._store,e.key,"set"),this._changes.set(e.key,t)})),l(this,"reset",(e=>{this.set(e,Ao)})),this._store=e,this._treeState=t,this._changes=new Map}
vendor: 4,533 bytes, line 1
1newTreeState_INTERNAL(){if(0===this._changes.size)return this._treeState;const e=ko(this._treeState);for(const[t,n]of this._changes)Vo(e,t,To(n));return Co(this._store,e),e}}var Oo=function(e){return t=>{e.replaceState((n=>{const r=new Io(e,n);return t(r),r.newTreeState_INTERNAL()}))}},Mo=Oo,Uo=Object.freeze({__proto__:null,atomicUpdater:Mo});var Do=function(e,t){if(!e)throw new Error(t)};const{atomicUpdater:Po}=Uo,{batchUpdates:Bo}=Dt,{DEFAULT_VALUE:Fo}=le,{useStoreRef:zo}=nr,{refreshRecoilValue:$o,setRecoilValue:jo}=vt,{cloneSnapshot:Go}=gn,{gotoSnapshot:Wo}=yo,{useCallback:Ko}=o();class Ho{}const qo=new Ho;function Zo(e,t,n,r){let o,a=qo;var c;(Bo((()=>{const s="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create.  Please see the docs at recoiljs.org for details.";if("function"!=typeof t)throw i(s);const c=Ue({...null!=r?r:{},set:(t,n)=>jo(e,t,n),reset:t=>jo(e,t,Fo),refresh:t=>$o(e,t),gotoSnapshot:t=>Wo(e,t),transact_UNSTABLE:t=>Po(e)(t)},{snapshot:()=>{const t=Go(e);return o=t.retain(),t}}),l=t(c);if("function"!=typeof l)throw i(s);a=l(...n)})),a instanceof Ho&&Do(!1),s(a))?a=a.finally((()=>{var e;null===(e=o)||void 0===e||e()})):null===(c=o)||void 0===c||c();return a}var Yo={recoilCallback:Zo,useRecoilCallback:function(e,t){const n=zo();return Ko(((...t)=>Zo(n.current,e,t)),null!=t?[...t,n]:void 0)}};const{useStoreRef:Jo}=nr,{refreshRecoilValue:Xo}=vt,{useCallback:Qo}=o();var ea=function(e){const t=Jo();return Qo((()=>{const n=t.current;Xo(n,e)}),[e,t])};const{atomicUpdater:ta}=Uo,{useStoreRef:na}=nr,{useMemo:ra}=o();var oa=function(e,t){const n=na();return ra((()=>(...t)=>{ta(n.current)((n=>{e(n)(...t)}))}),null!=t?[...t,n]:void 0)};var aa=class{constructor(e){l(this,"value",void 0),this.value=e}},ia=Object.freeze({__proto__:null,WrappedValue:aa});const{isFastRefreshEnabled:sa}=j;class ca extends Error{}var la=class{constructor(e){var t,n,r;l(this,"_name",void 0),l(this,"_numLeafs",void 0),l(this,"_root",void 0),l(this,"_onHit",void 0),l(this,"_onSet",void 0),l(this,"_mapNodeValue",void 0),this._name=null==e?void 0:e.name,this._numLeafs=0,this._root=null,this._onHit=null!==(t=null==e?void 0:e.onHit)&&void 0!==t?t:()=>{},this._onSet=null!==(n=null==e?void 0:e.onSet)&&void 0!==n?n:()=>{},this._mapNodeValue=null!==(r=null==e?void 0:e.mapNodeValue)&&void 0!==r?r:e=>e}size(){return this._numLeafs}root(){return this._root}get(e,t){var n;return null===(n=this.getLeafNode(e,t))||void 0===n?void 0:n.value}getLeafNode(e,t){if(null==this._root)return;let n=this._root;for(;n;){if(null==t||t.onNodeVisit(n),"leaf"===n.type)return this._onHit(n),n;const r=this._mapNodeValue(e(n.nodeKey));n=n.branches.get(r)}}set(e,t,n){const r=()=>{var r,o,a,i;let s,c;for(const[t,r]of e){var l,u,d;const e=this._root;if("leaf"===(null==e?void 0:e.type))throw this.invalidCacheError();const o=s;if(s=o?o.branches.get(c):e,s=null!==(l=s)&&void 0!==l?l:{type:"branch",nodeKey:t,parent:o,branches:new Map,branchKey:c},"branch"!==s.type||s.nodeKey!==t)throw this.invalidCacheError();null==o||o.branches.set(c,s),null==n||null===(u=n.onNodeVisit)||void 0===u||u.call(n,s),c=this._mapNodeValue(r),this._root=null!==(d=this._root)&&void 0!==d?d:s}const f=s?null===(r=s)||void 0===r?void 0:r.branches.get(c):this._root;if(null!=f&&("leaf"!==f.type||f.branchKey!==c))throw this.invalidCacheError();const h={type:"leaf",value:t,parent:s,branchKey:c};null===(o=s)||void 0===o||o.branches.set(c,h),this._root=null!==(a=this._root)&&void 0!==a?a:h,this._numLeafs++,this._onSet(h),null==n||null===(i=n.onNodeVisit)||void 0===i||i.call(n,h)};try{r()}catch(e){if(!(e instanceof ca))throw e;this.clear(),r()}}delete(e){const t=this.root();if(!t)return!1;if(e===t)return this._root=null,this._numLeafs=0,!0;let n=e.parent,r=e.branchKey;for(;n;){var o;if(n.branches.delete(r),n===t)return 0===n.branches.size?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(n.branches.size>0)break;r=null===(o=n)||void 0===o?void 0:o.branchKey,n=n.parent}for(;n!==t;n=n.parent)if(null==n)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const e=sa()?"Possible Fast Refresh module reload detected.  This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cac
1he values.  This happens when selectors do not return consistent values for the same input dependency values.  That may also be caused when using Fast Refresh to change a selector implementation.  Resetting cache.";throw P(e+(null!=this._name?` - ${this._name}`:"")),new ca}},ua=Object.freeze({__proto__:null,TreeCache:la});var da=class{constructor(e){var t;l(this,"_maxSize",void 0),l(this,"_size",void 0),l(this,"_head",void 0),l(this,"_tail",void 0),l(this,"_map",void 0),l(this,"_keyMapper",void 0),this._maxSize=e.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=null!==(t=e.mapKey)&&void 0!==t?t:e=>e}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(e){return this._map.has(this._keyMapper(e))}get(e){const t=this._keyMapper(e),n=this._map.get(t);if(n)return this.set(e,n.value),n.value}set(e,t){const n=this._keyMapper(e);this._map.get(n)&&this.delete(e);const r=this.head(),o={key:e,right:r,left:null,value:t};r?r.left=o:this._tail=o,this._map.set(n,o),this._head=o,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const e=this.tail();e&&this.delete(e.key)}delete(e){const t=this._keyMapper(e);if(!this._size||!this._map.has(t))return;const n=c(this._map.get(t)),r=n.right,o=n.left;r&&(r.left=n.left),o&&(o.right=n.right),n===this.head()&&(this._head=r),n===this.tail()&&(this._tail=o),this._map.delete(t),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}},fa=Object.freeze({__proto__:null,LRUCache:da});const{LRUCache:ha}=fa,{TreeCache:pa}=ua;var ya=function({name:e,maxSize:t,mapNodeValue:n=e=>e}){const r=new ha({maxSize:t}),o=new pa({name:e,mapNodeValue:n,onHit:e=>{r.set(e,!0)},onSet:e=>{const n=r.tail();r.set(e,!0),n&&o.size()>t&&o.delete(n.key)}});return o};function ma(e,t,n){if("string"==typeof e&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if(!0!==(null==t?void 0:t.allowFunctions))throw i("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(null===e)return"null";var r;if("object"!=typeof e)return null!==(r=JSON.stringify(e))&&void 0!==r?r:"";if(s(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map(((e,n)=>ma(e,t,n.toString())))}]`;if("function"==typeof e.toJSON)return ma(e.toJSON(n),t,n);if(e instanceof Map){const r={};for(const[n,o]of e)r["string"==typeof n?n:ma(n,t)]=o;return ma(r,t,n)}return e instanceof Set?ma(Array.from(e).sort(((e,n)=>ma(e,t).localeCompare(ma(n,t)))),t,n):void 0!==Symbol&&null!=e[Symbol.iterator]&&"function"==typeof e[Symbol.iterator]?ma(Array.from(e),t,n):`{${Object.keys(e).filter((t=>void 0!==e[t])).sort().map((n=>`${ma(n,t)}:${ma(e[n],t,n)}`)).join(",")}}`}var va=function(e,t={allowFunctions:!1}){return ma(e,t)};const{TreeCache:ga}
vendor: 3,457 bytes, line 1
1=ua,_a={equality:"reference",eviction:"keep-all",maxSize:1/0};var Sa=function({equality:e=_a.equality,eviction:t=_a.eviction,maxSize:n=_a.maxSize}=_a,r){const o=function(e){switch(e){case"reference":return e=>e;case"value":return e=>va(e)}throw i(`Unrecognized equality policy ${e}`)}(e);return function(e,t,n,r){switch(e){case"keep-all":return new ga({name:r,mapNodeValue:n});case"lru":return ya({name:r,maxSize:c(t),mapNodeValue:n});case"most-recent":return ya({name:r,maxSize:1,mapNodeValue:n})}throw i(`Unrecognized eviction policy ${e}`)}(t,n,o,r)};const{isReactNative:ba,isWindow:Ra}=zt;var wa={startPerfBlock:function(e){return()=>null}};const{isLoadable:Ta,loadableWithError:Ea,loadableWithPromise:Aa,loadableWithValue:Na}=L,{WrappedValue:ka}=ia,{getNodeLoadable:La,peekNodeLoadable:Ca,setNodeValue:Va}=He,{saveDepsToStore:xa}=Re,{DEFAULT_VALUE:Ia,getConfigDeletionHandler:Oa,getNode:Ma,registerNode:Ua}=le,{isRecoilValue:Da}=X,{markRecoilValueModified:Pa}=vt,{retainedByOptionWithDefault:Ba}=Lt,{recoilCallback:Fa}=Yo,{startPerfBlock:za}=wa;class $a{}const ja=new $a,Ga=[],Wa=new Map,Ka=(()=>{let e=0;return()=>e++})();function Ha(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,a=null!=e.set?e.set:void 0;const l=new Set,u=Sa(null!=o?o:{equality:"reference",eviction:"keep-all"},n),d=Ba(e.retainedBy_UNSTABLE),f=new Map;let h=0;function p(){return!O("recoil_memory_managament_2020")||h>0}function y(e){return e.getState().knownSelectors.add(n),h++,()=>{h--}}function m(){return void 0!==Oa(n)&&!p()}function v(e,t,n,r,o){C(t,r,o),g(e,n)}function g(e,t){L(e,t)&&k(e),_(t,!0)}function _(e,n){const r=Wa.get(e);if(null!=r){for(const e of r)Pa(e,c(t));n&&Wa.delete(e)}}function S(e,t){let n=Wa.get(t);null==n&&Wa.set(t,n=new Set),n.add(e)}function b(e,t,n,r,o,a){return t.then((r=>{if(!p())throw k(e),ja;null!=a.loadingDepKey&&a.loadingDepPromise===t?n.atomValues.set(a.loadingDepKey,Na(r)):e.getState().knownSelectors.forEach((e=>{n.atomValues.delete(e)}));const i=T(e,n);if(i&&"loading"!==i.state){if((L(e,o)||null==N(e))&&g(e,o),"hasValue"===i.state)return i.contents;throw i.contents}if(!L(e,o)){const t=A(e,n);if(null!=t)return t.loadingLoadable.contents}const[s,c]=w(e,n,o);if("loading"!==s.state&&v(e,n,o,s,c),"hasError"===s.state)throw s.contents;return s.contents})).catch((t=>{if(t instanceof $a)throw ja;if(!p())throw k(e),ja;const a=Ea(t);throw v(e,n,o,a,r),t}))}function R(e,t,r,o){var a,i,s,c,u,d,f;(L(e,o)||t.version===(null===(a=e.getState())||void 0===a||null===(i=a.currentTree)||void 0===i?void 0:i.version)||t.version===(null===(s=e.getState())||void 0===s||null===(c=s.nextTree)||void 0===c?void 0:c.version))&&xa(n,r,e,null!==(u=null===(d=e.getState())||void 0===d||null===(f=d.nextTree)||void 0===f?void 0:f.version)&&void 0!==u?u:e.getState().currentTree.version);for(const e of r)l.add(e)}function w(e,o,a){const l=za(n);let u=!0,d=!0;const f=()=>{l(),d=!1};let h,y,m=!1;const g={loadingDepKey:null,loadingDepPromise:null},S=new Map;function w({key:t}){const n=La(e,o,t);switch(S.set(t,n),u||(R(e,o,new Set(S.keys()),a),function(e,t){L(e,t)&&(c(N(e)).stateVersions.clear(),_(t,!1))}(e,a)),n.state){case"hasValue":return n.contents;case"hasError":throw n.contents;case"loading":throw g.loadingDepKey=t,g.loadingDepPromise=n.contents,n.contents}throw i("Invalid Loadable state")}const T=n=>(...r)=>{if(d)throw i("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated.  It c
1an be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return null==t&&Do(!1),Fa(e,n,r,{node:t})};try{h=r({get:w,getCallback:T}),h=Da(h)?w(h):h,Ta(h)&&("hasError"===h.state&&(m=!0),h=h.contents),s(h)?h=function(e,t,n,r,o,a){return t.then((t=>{if(!p())throw k(e),ja;const a=Na(t);return v(e,n,o,a,r),t})).catch((t=>{if(!p())throw k(e),ja;if(s(t))return b(e,t,n,r,o,a);const i=Ea(t);throw v(e,n,o,i,r),t}))}(e,h,o,S,a,g).finally(f):f(),h=h instanceof ka?h.value:h}catch(t){h=t,s(h)?h=b(e,h,o,S,a,g).finally(f):(m=!0,f())}return y=m?Ea(h):s(h)?Aa(h):Na(h),u=!1,function(e,t,n){if(L(e,t)){const t=N(e);null!=t&&(t.depValuesDiscoveredSoFarDuringAsyncWork=n)}}(e,a,S),R(e,o,new Set(S.keys()),a),[y,S]}function T(e,t){let r=t.atomValues.get(n);if(null!=r)return r;const o=new Set;try{r=u.get((n=>("string"!=typeof n&&Do(!1),La(e,t,n).contents)),{onNodeVisit:e=>{"branch"===e.type&&e.nodeKey!==n&&o.add(e.nodeKey)}})}catch(e){throw i(`Problem with cache lookup for selector "${n}": ${e.message}`)}var a;r&&(t.atomValues.set(n,r),R(e,t,o,null===(a=N(e))||void 0===a?void 0:a.executionID));return r}function E(e,t){const n=T(e,t);if(null!=n)return k(e),n;const r=A(e,t);var o;if(null!=r)return"loading"===(null===(o=r.loadingLoadable)||void 0===o?void 0:o.state)&&S(e,r.executionID),r.loadingLoadable;const a=Ka(),[i,s]=w(e,t,a);return"loading"===i.state?(!function(e,t,n,r,o){f.set(e,{depValuesDiscoveredSoFarDuringAsyncWork:r,executionID:t,loadingLoadable:n,stateVersions:new Map([[o.version,!0]])})}(e,a,i,s,t),S(e,a)):(k(e),C(t,i,s)),i}function A(e,t){const n=Pt([f.has(e)?[c(f.get(e))]:[],ee(Me(f,(([t])=>t!==e)),(([,e])=>e))]);function r(n){for(const[r,o]of n)if(!La(e,t,r).is(o))return!0;return!1}for(const e of n){if(e.stateVersions.get(t.version)||!r(e.depValuesDiscoveredSoFarDuringAsyncWork))return e.stateVersions.set(t.version,!0),e;e.stateVersions.set(t.version,!1)}}function N(e){return f.get(e)}function k(e){f.delete(e)}function L(e,t){var n;return t===(null===(n=N(e))||void 0===n?void 0:n.executionID)}function C(e,t,r){e.atomValues.set(n,t);try{u.set(function(e){return Array.from(e.entries()).map((([e,t])=>[e,t.contents]))}(r),t)}catch(e){throw i(`Problem with setting cache for selector "${n}": ${e.message}`)}}function V(e,t){const r=t.atomValues.get(n);return null!=r?r:u.get((n=>{var r;return"string"!=typeof n&&Do(!1),null===(r=Ca(e,t,n))||void 0===r?void 0:r.contents}))}function x(e,t){return function(e){if(Ga.includes(n)){const e=`Recoil selector has circular dependencies: ${Ga.slice(Ga.indexOf(n)).join(" → ")}`;return Ea(i(e))}Ga.push(n);try{return e()}finally{Ga.pop()}}((()=>E(e,t)))}function I(e){e.atomValues.delete(n)}function M(e,n){null==t&&Do(!1);for(const t of l){var r;const o=Ma(t);null===(r=o.clearCache)||void 0===r||r.call(o,e,n)}l.clear(),I(n),u.clear(),Pa(e,t)}if(null!=a){return t=Ua({key:n,nodeType:"selector",peek:V,get:x,set:(e,t,r)=>{let o=!1;const c=new Map;function l({key:r}){if(o)throw i("Recoil: Async selector sets are not currently supported.");const a=La(e,t,r);if("hasValue"===a.state)return a.contents;if("loading"===a.state){const e=`Getting value of asynchronous atom or selector "${r}" in a pending state while setting selector "${n}" is not yet supported.`;throw P(e),i(e)}throw a.contents}function u(n,r){if(o){const e="Recoil: Async selector sets are not currently supported.";throw P(e),i(e)}const a="function"==typeof r?r(l(n)):r;Va(e,t,n.key,a).forEach(((e,t)=>c.set(t,e)))}const d=a({set:u,get:l,reset:function(e){u(e,Ia)}},r);if(void 0!==d)throw s(d)?i("Recoil: Async selector sets are not currently supported."):i("Recoil: selector set should be a void function.");return o=!0,c},init:y,invalidate:I,clearCache:M,shouldDeleteConfigOnRelease:m,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}return t=Ua({key:n,nodeType:"selector",peek:V,get:x,init:y,invalidate:I,clearCache:M,shouldDeleteConfigOnRelease:m,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:d})}Ha.value=e=>new ka(e);var qa=Ha;
vendor: 4,746 bytes, line 1
1const{isLoadable:Za,loadableWithError:Ya,loadableWithPromise:Ja,loadableWithValue:Xa}=L,{WrappedValue:Qa}=ia,{peekNodeInfo:ei}=He,{DEFAULT_VALUE:ti,DefaultValue:ni,getConfigDeletionHandler:ri,registerNode:oi,setConfigDeletionHandler:ai}=le,{isRecoilValue:ii}=X,{getRecoilValueAsLoadable:si,markRecoilValueModified:ci,setRecoilValue:li,setRecoilValueLoadable:ui}=vt,{retainedByOptionWithDefault:di}=Lt,fi=e=>e instanceof Qa?e.value:e;function hi(e){const{key:t,persistence_UNSTABLE:n}=e,r=di(e.retainedBy_UNSTABLE);let o=0;function a(e){return Ja(e.then((e=>(u=Xa(e),e))).catch((e=>{throw u=Ya(e),e})))}let l,u=s(e.default)?a(e.default):Za(e.default)?"loading"===e.default.state?a(e.default.contents):e.default:Xa(fi(e.default));f(u.contents);const d=new Map;function f(e){return e}function h(e,n){var r,o;return null!==(r=null!==(o=n.atomValues.get(t))&&void 0!==o?o:l)&&void 0!==r?r:u}const p=oi({key:t,nodeType:"atom",peek:h,get:function(e,r){if(r.atomValues.has(t))return c(r.atomValues.get(t));if(r.nonvalidatedAtoms.has(t)){if(null!=l)return l;if(null==n)return Q(`Tried to restore a persisted value for atom ${t} but it has no persistence settings.`),u;const e=r.nonvalidatedAtoms.get(t),o=n.validator(e,ti),a=o instanceof ni?u:Xa(o);return l=a,l}return u},set:function(e,n,r){if(n.atomValues.has(t)){const e=c(n.atomValues.get(t));if("hasValue"===e.state&&r===e.contents)return new Map}else if(!n.nonvalidatedAtoms.has(t)&&r instanceof ni)return new Map;return l=void 0,(new Map).set(t,Xa(r))},init:function(n,r,a){var c;if(o++,n.getState().knownAtoms.add(t),"loading"===u.state){const m=()=>{var e;(null!==(e=n.getState().nextTree)&&void 0!==e?e:n.getState().currentTree).atomValues.has(t)||ci(n,p)};u.contents.finally(m)}const l=null!==(c=e.effects)&&void 0!==c?c:e.effects_UNSTABLE;if(null!=l){let v=ti,g=!0,_=!1,S=null;function b(e){if(g&&e.key===t){const e=v;return e instanceof ni?h(n,r):s(e)?Ja(e.then((e=>e instanceof ni?u.toPromise():e))):Xa(e)}return si(n,e)}function R(e){return b(e).toPromise()}function w(e){var r;const o=ei(n,null!==(r=n.getState().nextTree)&&void 0!==r?r:n.getState().currentTree,e.key);return!g||e.key!==t||v instanceof ni?o:{...o,isSet:!0,loadable:b(e)}}const T=e=>t=>{if(g){const n=b(p),r="hasValue"===n.state?n.contents:ti;v="function"==typeof t?t(r):t,s(v)&&(v=v.then((t=>(S={effect:e,value:t},t))))}else{if(s(t))throw i("Setting atoms to async values is not implemented.");"function"!=typeof t&&(S={effect:e,value:fi(t)}),li(n,p,"function"==typeof t?n=>{const r=fi(t(n));return S={effect:e,value:r},r}:fi(t))}},E=e=>()=>T(e)(ti),A=e=>r=>{var o;const{release:a}=n.subscribeToTransactions((n=>{var o;let{currentTree:a,previousTree:i}=n.getState();i||(P("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),i=a);const s=null!==(o=a.atomValues.get(t))&&void 0!==o?o:u;if("hasValue"===s.state){var c,l,d,f;const n=s.contents,o=null!==(c=i.atomValues.get(t))&&void 0!==c?c:u,h="hasValue"===o.state?o.contents:ti;(null===(l=S)||void 0===l?void 0:l.effect)!==e||(null===(d=S)||void 0===d?void 0:d.value)!==n?r(n,h,!a.atomValues.has(t)):(null===(f=S)||void 0===f?void 0:f.effect)===e&&(S=null)}}),t);d.set(n,[...null!==(o=d.get(n))&&void 0!==o?o:[],a])};for(const N of l)try{const k=N({node:p,storeID:n.storeID,parentStoreID_UNSTABLE:n.parentStoreID,trigger:a,setSelf:T(N),resetSelf:E(N),onSet:A(N),getPromise:R,getLoadable:b,getInfo_UNSTABLE:w});var f;if(null!=k)d.set(n,[...null!==(f=d.get(n))&&void 0!==f?f:[],k])}catch(L){v=L,_=!0}if(g=!1,!(v instanceof ni)){var y;const C=_?Ya(v):s(v)?Ja(function(e,n){const r=n.then((n=>{var o,a;return(null===(a=(null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree).atomValues.get(t))||void 0===a?void 0:a.contents)===r&&li(e,p,n),n})).catch((n=>{var o,a;throw(null===(a=(null!==(o=e.getState().nextTree)&&void 0!==o?o:e.getState().currentTree).atomValues.get(t))||void 0===a?void 0:a.contents)===r&&ui(e,p,Ya(n)),n}));return r}(n,v)):Xa(fi(v));C.contents,r.atomValues.set(t,C),null===(y=n.getState().nextTree)||void 0===y||y.atomValues.set(t,C)}}return()=>{var e;o--,null===(e=d.get(n))||void 0===e||e.forEach((e=>e())),d.delete(n)}},invalidate:function(){l=void 0},shouldDeleteConfigOnRelease:function(){return void 0!==ri(t)&&o<=0},dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return p}function pi(e){const{...t}=e,n="default"in e?e.default:new Promise((()=>{}));return ii(n)?function(e){const t=pi({...e,default:ti,persistence_UNSTABLE:void 0===e.persistence_UNSTABLE?void 0:{...e.persistence_UNSTABLE,validator:t=>
1t instanceof ni?t:c(e.persistence_UNSTABLE).validator(t,ti)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=qa({key:`${e.key}__withFallback`,get:({get:n})=>{const r=n(t);return r instanceof ni?e.default:r},set:({set:e},n)=>e(t,n),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return ai(n.key,ri(e.key)),n}({...t,default:n}):hi({...t,default:n})}pi.value=e=>new Qa(e);var yi=pi;var mi=class{constructor(e){var t;l(this,"_map",void 0),l(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=null!==(t=null==e?void 0:e.mapKey)&&void 0!==t?t:e=>e}size(){return this._map.size}has(e){return this._map.has(this._keyMapper(e))}get(e){return this._map.get(this._keyMapper(e))}set(e,t){this._map.set(this._keyMapper(e),t)}delete(e){this._map.delete(this._keyMapper(e))}clear(){this._map.clear()}},vi=Object.freeze({__proto__:null,MapCache:mi});const{LRUCache:gi}=fa,{MapCache:_i}=vi,Si={equality:"reference",eviction:"none",maxSize:1/0};var bi=function({equality:e=Si.equality,eviction:t=Si.eviction,maxSize:n=Si.maxSize}=Si){const r=function(e){switch(e){case"reference":return e=>e;case"value":return e=>va(e)}throw i(`Unrecognized equality policy ${e}`)}(e);return function(e,t,n){switch(e){case"keep-all":return new _i({mapKey:n});case"lru":return new gi({mapKey:n,maxSize:c(t)});case"most-recent":return new gi({mapKey:n,maxSize:1})}throw i(`Unrecognized eviction policy ${e}`)}(t,n,r)};const{setConfigDeletionHandler:Ri}=le;var wi=function(e){var t,n;const r=bi({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n,o;const a=r.get(t);if(null!=a)return a;const{cachePolicyForParams_UNSTABLE:i,...s}=e,c="default"in e?e.default:new Promise((()=>{})),l=yi({...s,key:`${e.key}__${null!==(n=va(t))&&void 0!==n?n:"void"}`,default:"function"==typeof c?c(t):c,retainedBy_UNSTABLE:"function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE,effects:"function"==typeof e.effects?e.effects(t):"function"==typeof e.effects_UNSTABLE?e.effects_UNSTABLE(t):null!==(o=e.effects)&&void 0!==o?o:e.effects_UNSTABLE});return r.set(t,l),Ri(l.key,(()=>{r.delete(t)})),l}};const{setConfigDeletionHandler:Ti}=le;let Ei=0;var Ai=function(e){var t,n;const r=bi({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n;let o;try{o=r.get(t)}catch(t){throw i(`Problem with cache lookup for selector ${e.key}: ${t.message}`)}if(null!=o)return o;const a=`${e.key}__selectorFamily/${null!==(n=va(t,{allowFunctions:!0}))&&void 0!==n?n:"void"}/${Ei++}`,s=n=>e.get(t)(n),c=e.cachePolicy_UNSTABLE,l="function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE;let u;if(null!=e.set){const n=e.set;u=qa({key:a,get:s,set:(e,r)=>n(t)(e,r),cachePolicy_UNSTABLE:c,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:l})}else u=qa({key:a,get:s,cachePolicy_UNSTABLE:c,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:l});return r.set(t,u),Ti(u.key,(()=>{r.delete(t)})),u}};const Ni=Ai({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});var ki=function(e){return Ni(e)};const Li=Ai({key:"__error",get:e=>()=>{throw i(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});var Ci=function(e){return Li(e)};var Vi=function(e){return e};const{loadableWithError:xi,loadableWithPromise:Ii,loadableWithValue:Oi}=L;function Mi(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,a]of t.entries())try{n[o]=e(a)}catch(e){r[o]=e}return[n,r]}function Ui(e){return null!=e&&!s(e)}function Di(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map((t=>e[t]))}function Pi(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce(((e,n,r)=>({...e,[n]:t[r]})),{})}function Bi(e,t,n){return Pi(e,n.map(((e,n)=>null==e?Oi(t[n]):s(e)?Ii(e):xi(e))))}var Fi={waitForNone:Ai({key:"__waitForNone",get:e=>({get:t})=>{const n=Di(e),[r,o]=Mi(t,n);return Bi(e,r,o)},dangerouslyAllowMutability:!0}),waitForAny:Ai({key:"__waitForAny",get:e=>({get:t})=>{const n=Di(e),[r,o]=Mi(t,n);return o.some((e=>!s(e)))?Bi(e,r,o):new Promise((t=>{for(const[n,a]of o.entries())s(a)&&a.then((a=>{r[n]=a,o[n]=void 0,t(Bi(e,r,o))})).catch((a=>{o[n]=a,t(Bi(e,r,o))}))}))},dangerouslyAllowMutability:!0}),waitForAll:Ai({key:"__waitForAll",get:e=>({get:t})=>{const n=Di(e),[r,o]=Mi(t,n);if(o.every((e=>null==e)))return Pi(e,r);const a=o.find(Ui);if(null!=a)throw a;return Promise.all(o).then((t=>{return Pi(e,(n=r,t.map(((e,t)=>void 0===e?n[t]:e))));var n}))},dangerouslyAllowMutability:!0}),waitForAllSettled:Ai({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=Di(e),[r,o]=Mi(t,n);return o.every((e=>!s(e)))?Bi(e,r,o):Promise.all(o.map(((e,t)=>s(e)?e.then((e=>{r[t]=e,o[t]=void 0})).catch((e=>{r[t]=void 0,o[t]=e})):null))).then((()=>Bi(e,r,o)))},dangerouslyAllowMutability:!0}),noWait:Ai({key:"__noWait",get:e=>({get:t})=>{try{return qa.value(Oi(t(e)))}catch(e){return qa.value(s(e)?Ii(e):xi(e))}},dangerouslyAllowMutability:!0})};const{RecoilLoadable:zi}=L,{DefaultValue:$i}=le,{RecoilRoot:ji,useRecoilStoreID:Gi}=nr,{isRecoilValue:Wi}=X,{retentionZone:Ki}=Ie,{freshSnapshot:Hi}=gn,{useRecoilState:qi,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Zi,useRecoilStateLoadable:Yi,useRecoilValue:Ji,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Xi,useRecoilValueLo
1adable:Qi,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:es,useResetRecoilState:ts,useSetRecoilState:ns}=Hr,{useGotoRecoilSnapshot:rs,useRecoilSnapshot:os,useRecoilTransactionObserver:as}=yo,{useRecoilCallback:is}=Yo,{noWait:ss,waitForAll:cs,waitForAllSettled:ls,waitForAny:us,waitForNone:ds}=Fi;var fs={DefaultValue:$i,isRecoilValue:Wi,RecoilLoadable:zi,RecoilEnv:x,RecoilRoot:ji,useRecoilStoreID:Gi,useRecoilBridgeAcrossReactRoots_UNSTABLE:wo,atom:yi,selector:qa,atomFamily:wi,selectorFamily:Ai,constSelector:ki,errorSelector:Ci,readOnlySelector:Vi,noWait:ss,waitForNone:ds,waitForAny:us,waitForAll:cs,waitForAllSettled:ls,useRecoilValue:Ji,useRecoilValueLoadable:Qi,useRecoilState:qi,useRecoilStateLoadable:Yi,useSetRecoilState:ns,useResetRecoilState:ts,useGetRecoilValueInfo_UNSTABLE:go,useRecoilRefresher_UNSTABLE:ea,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:es,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Xi,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Zi,useRecoilCallback:is,useRecoilTransaction_UNSTABLE:oa,useGotoRecoilSnapshot:rs,useRecoilSnapshot:os,useRecoilTransactionObserver_UNSTABLE:as,snapshot_UNSTABLE:Hi,useRetain:pr,retentionZone:Ki},hs=fs.DefaultValue,ps=fs.isRecoilValue,ys=fs.RecoilLoadable,ms=fs.RecoilEnv,vs=fs.RecoilRoot,gs=fs.useRecoilStoreID,_s=fs.useRecoilBridgeAcrossReactRoots_UNSTABLE,Ss=fs.atom,bs=fs.selector,Rs=fs.atomFamily,ws=fs.selectorFamily,Ts=fs.constSelector,Es=fs.errorSelector,As=fs.readOnlySelector,Ns=fs.noWait,ks=fs.waitForNone,Ls=fs.waitForAny,Cs=fs.waitForAll,Vs=fs.waitForAllSettled,xs=fs.useRecoilValue,Is=fs.useRecoilValueLo
1adable,Os=fs.useRecoilState,Ms=fs.useRecoilStateLoadable,Us=fs.useSetRecoilState,Ds=fs.useResetRecoilState,Ps=fs.useGetRecoilValueInfo_UNSTABLE,Bs=fs.useRecoilRefresher_UNSTABLE,Fs=fs.useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE,zs=fs.useRecoilValue_TRANSITION_SUPPORT_UNSTABLE,$s=fs.useRecoilState_TRANSITION_SUPPORT_UNSTABLE,js=fs.useRecoilCallback,Gs=fs.useRecoilTransaction_UNSTABLE,Ws=fs.useGotoRecoilSnapshot,Ks=fs.useRecoilSnapshot,Hs=fs.useRecoilTransactionObserver_UNSTABLE,qs=fs.snapshot_UNSTABLE,Zs=fs.useRetain,Ys=fs.retentionZone;const Js=fs},54869:(e,t,n)=>{function r(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((r=r.apply(e,t||[])).next())}))}function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}n.r(t),n.d(t,{DEFAULT_ID:()=>i,Loader:()=>c,LoaderStatus:()=>s}),"function"==typeof SuppressedError&&SuppressedError;var a=o((function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;for(o=r;0!=o--;){var i=a[o];if(!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}));const i="__googleMapsScriptId";var s;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(s||(s={}));class c{constructor({apiKey:e,authReferrerPolicy:t,channel:n,client:r,id:o=i,language:s,libraries:l=[],mapIds:u,nonce:d,region:f,retries:h=3,url:p="https://maps.googleapis.com/maps/api/js",version:y}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=n,this.client=r,this.id=o||i,this.language=s,this.libraries=l,this.mapIds=u,this.nonce=d,this.region=f,this.retries=h,this.url=p,this.version=y,c.instance){if(!a(this.options,c.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(c.instance.options)}`);return c.instance}c.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?s.FAILURE:this.done?s.SUCCESS:this.loading?s.LOADING:s.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((n=>{n?t(n.error):e(window.google)}))}))}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id))return void this.callback();const n={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};
1Object.keys(n).forEach((e=>!n[e]&&delete n[e])),(null===(t=null===(e=null===window||void 0===window?void 0:window.google)||void 0===e?void 0:e.maps)||void 0===t?void 0:t.importLibrary)||(e=>{let t,n,o,a="The Google Maps JavaScript API",i="google",s="importLibrary",c="__ib__",l=document,u=window;u=u[i]||(u[i]={});const d=u.maps||(u.maps={}),f=new Set,h=new URLSearchParams,p=()=>t||(t=new Promise(((s,u)=>r(this,void 0,void 0,(function*(){var r;for(o in yield n=l.createElement("script"),n.id=this.id,h.set("libraries",[...f]+""),e)h.set(o.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase())),e[o]);h.set("callback",i+".maps."+c),n.src=this.url+"?"+h,d[c]=s,n.onerror=()=>t=u(Error(a+" could not load.")),n.nonce=this.nonce||(null===(r=l.querySelector("script[nonce]"))||void 0===r?void 0:r.nonce)||"",l.head.append(n)})))));d[s]?console.warn(a+" only loads once. Ignoring:",e):d[s]=(e,...t)=>f.add(e)&&p().then((()=>d[s](e,...t)))})(n);const o=this.libraries.map((e=>this.importLibrary(e)));o.length||o.push(this.importLibrary("core")),Promise.all(o).then((()=>this.callback()),(e=>{const t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)}))}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setScript())}}}},21724:(e,t,n)=>{n.r(t),n.d(t,{css:()=>p,extractCss:()=>a,glob:()=>g,keyframes:()=>_,setup:()=>S,styled:()=>b});let r={data:""},o=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||r,a=e=>{let t=o(e),n=t.data;return t.data="",n},i=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,s=/\/\*[^]*?\*\/|  +/g,c=/\n+/g,l=(e,t)=>{let n="",r="",o="";for(let a in e){let i=e[a];"@"==a[0]?"i"==a[1]?n=a+" "+i+";":r+="f"==a[1]?l(i,a):a+"{"+l(i,"k"==a[1]?"":t)+"}":"object"==typeof i?r+=l(i,t?t.replace(/([^,])+/g,(e=>a.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):a):null!=i&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=l.p?l.p(a,i):a+":"+i+";")}return n+(t&&o?t+"{"+o+"}":o)+r},u={},d=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+d(e[n]);return t}return e},f=(e,t,n,r,o)=>{let a=d(e),f=u[a]||(u[a]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(a));if(!u[f]){let t=a!==e?e:(e=>{let t,n,r=[{}];for(;t=i.exec(e.replace(s,""));)t[4]?r.shift():t[3]?(n=t[3].replace(c," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(c," ").trim();return r[0]})(e);u[f]=l(o?{["@keyframes "+f]:t}:t,n?"":"."+f)}let h=n&&u.g?u.g:null;return n&&(u.g=u[f]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(u[f],t,r,h),f},h=(e,t,n)=>e.reduce(((e,r,o)=>{let a=t[o];if(a&&a.call){let e=a(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;a=t?"."+t:e&&"object"==typeof e?e.props?"":l(e,""):!1===e?"":e}return e+r+(null==a?"":a)}),"");function p(e){let t=this||{},n=e.call?e(t.p):e;return f(n.unshift?n.raw?h(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,o(t.target),t.g,t.o,t.k)}let y,m,v,g=p.bind({g:1}),_=p.bind({k:1});function S(e,t,n,r){l.p=t,y=e,m=n,v=r}function b(e,t){let n=this||{};return function(){let r=arguments;function o(a,i){let s=Object.assign({},a),c=s.className||o.className;
vendor: 5,326 bytes, lines 1-96
1n.p=Object.assign({theme:m&&m()},s),n.o=/ *go\d+/.test(c),s.className=p.apply(n,r)+(c?" "+c:""),t&&(s.ref=i);let l=e;return e[0]&&(l=s.as||e,delete s.as),v&&l[0]&&v(s),y(l,s)}return t?t(o):o}}},60799:(e,t,n)=>{n.r(t),n.d(t,{CheckmarkIcon:()=>L,ErrorIcon:()=>T,LoaderIcon:()=>A,ToastBar:()=>B,ToastIcon:()=>O,Toaster:()=>$,default:()=>j,resolveValue:()=>a,toast:()=>v,useToaster:()=>S,useToasterStore:()=>y});var r=n(26878),o=n(21724),a=(e,t)=>(e=>"function"==typeof e)(e)?e(t):e,i=(()=>{let e=0;return()=>(++e).toString()})(),s=(()=>{let e;return()=>{if(void 0===e&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),c=new Map,l=e=>{if(c.has(e))return;let t=setTimeout((()=>{c.delete(e),h({type:4,toastId:e})}),1e3);c.set(e,t)},u=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&(e=>{let t=c.get(e);t&&clearTimeout(t)})(t.toast.id),{...e,toasts:e.toasts.map((e=>e.id===t.toast.id?{...e,...t.toast}:e))};case 2:let{toast:n}=t;return e.toasts.find((e=>e.id===n.id))?u(e,{type:1,toast:n}):u(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?l(r):e.toasts.forEach((e=>{l(e.id)})),{...e,toasts:e.toasts.map((e=>e.id===r||void 0===r?{...e,visible:!1}:e))};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter((e=>e.id!==t.toastId))};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map((e=>({...e,pauseDuration:e.pauseDuration+o})))}}},d=[],f={toasts:[],pausedAt:void 0},h=e=>{f=u(f,e),d.forEach((e=>{e(f)}))},p={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},y=(e={})=>{let[t,n]=(0,r.useState)(f);(0,r.useEffect)((()=>(d.push(n),()=>{let e=d.indexOf(n);e>-1&&d.splice(e,1)})),[t]);let o=t.toasts.map((t=>{var n,r;return{...e,...e[t.type],...t,duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==e?void 0:e.duration)||p[t.type],style:{...e.style,...null==(r=e[t.type])?void 0:r.style,...t.style}}}));return{...t,toasts:o}},m=e=>(t,n)=>{let r=((e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||i()}))(t,e,n);return h({type:2,toast:r}),r.id},v=(e,t)=>m("blank")(e,t);v.error=m("error"),v.success=m("success"),v.loading=m("loading"),v.custom=m("custom"),v.dismiss=e=>{h({type:3,toastId:e})},v.remove=e=>h({type:4,toastId:e}),v.promise=(e,t,n)=>{let r=v.loading(t.loading,{...n,...null==n?void 0:n.loading});return e.then((e=>(v.success(a(t.success,e),{id:r,...n,...null==n?void 0:n.success}),e))).catch((e=>{v.error(a(t.error,e),{id:r,...n,...null==n?void 0:n.error})})),e};var g=(e,t)=>{h({type:1,toast:{id:e,height:t}})},_=()=>{h({type:5,time:Date.now()})},S=e=>{let{toasts:t,pausedAt:n}=y(e);(0,r.useEffect)((()=>{if(n)return;let e=Date.now(),r=t.map((t=>{if(t.duration===1/0)return;let n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((()=>v.dismiss(t.id)),n);t.visible&&v.dismiss(t.id)}));return()=>{r.forEach((e=>e&&clearTimeout(e)))}}),[t,n]);let o=(0,r.useCallback)((()=>{n&&h({type:6,time:Date.now()})}),[n]),a=(0,r.useCallback)(((e,n)=>{let{reverseOrder:r=!1,gutter:o=8,defaultPosition:a}=n||{},i=t.filter((t=>(t.position||a)===(e.position||a)&&t.height)),s=i.findIndex((t=>t.id===e.id)),c=i.filter(((e,t)=>t<s&&e.visible)).length;return i.filter((e=>e.visible)).slice(...r?[c+1]:[0,c]).reduce(((e,t)=>e+(t.height||0)+o),0)}),[t]);return{toasts:t,handlers:{updateHeight:g,startPause:_,endPause:o,calculateOffset:a}}},b=o.keyframes`
2from {
3  transform: scale(0) rotate(45deg);
4	opacity: 0;
5}
6to {
7 transform: scale(1) rotate(45deg);
8  opacity: 1;
9}`,R=o.keyframes`
10from {
11  transform: scale(0);
12  opacity: 0;
13}
14to {
15  transform: scale(1);
16  opacity: 1;
17}`,w=o.keyframes`
18from {
19  transform: scale(0) rotate(90deg);
20	opacity: 0;
21}
22to {
23  transform: scale(1) rotate(90deg);
24	opacity: 1;
25}`,T=(0,o.styled)("div")`
26  width: 20px;
27  opacity: 0;
28  height: 20px;
29  border-radius: 10px;
30  background: ${e=>e.primary||"#ff4b4b"};
31  position: relative;
32  transform: rotate(45deg);
33
34  animation: ${b} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
35    forwards;
36  animation-delay: 100ms;
37
38  &:after,
39  &:before {
40    content: '';
41    animation: ${R} 0.15s ease-out forwards;
42    animation-delay: 150ms;
43    position: absolute;
44    border-radius: 3px;
45    opacity: 0;
46    background: ${e=>e.secondary||"#fff"};
47    bottom: 9px;
48    left: 4px;
49    height: 2px;
50    width: 12px;
51  }
52
53  &:before {
54    animation: ${w} 0.15s ease-out forwards;
55    animation-delay: 180ms;
56    transform: rotate(90deg);
57  }
58`,E=o.keyframes`
59  from {
60    transform: rotate(0deg);
61  }
62  to {
63    transform: rotate(360deg);
64  }
65`,A=(0,o.styled)("div")`
66  width: 12px;
67  height: 12px;
68  box-sizing: border-box;
69  border: 2px solid;
70  border-radius: 100%;
71  border-color: ${e=>e.secondary||"#e0e0e0"};
72  border-right-color: ${e=>e.primary||"#616161"};
73  animation: ${E} 1s linear infinite;
74`,N=o.keyframes`
75from {
76  transform: scale(0) rotate(45deg);
77	opacity: 0;
78}
79to {
80  transform: scale(1) rotate(45deg);
81	opacity: 1;
82}`,k=o.keyframes`
830% {
84	height: 0;
85	width: 0;
86	opacity: 0;
87}
8840% {
89  height: 0;
90	width: 6px;
91	opacity: 1;
92}
93100% {
94  opacity: 1;
95  height: 10px;
96}`,L=(0,o.styled)("div")`
97  width: 20px;
98  opacity: 0;
99  height: 20px;
100  border-radius: 10px;
101  background: ${e=>e.primary||"#61d345"};
102  position: relative;
103  transform: rotate(45deg);
104
105  animation: ${N} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
106    forwards;
107  animation-delay: 100ms;
108  &:after {
109    content: '';
110    box-sizing: border-box;
111    animation: ${k} 0.2s ease-out forwards;
112    opacity: 0;
113    animation-delay: 200ms;
114    position: absolute;
115    border-right: 2px solid;
116    border-bottom: 2px solid;
117    border-color: ${e=>e.secondary||"#fff"};
118    bottom: 6px;
119    left: 6px;
120    height: 10px;
121    width: 6px;
122  }
123`,C=(0,o.styled)("div")`
124  position: absolute;
125`,V=(0,o.styled)("div")`
126  position: relative;
127  display: flex;
128  justify-content: center;
129  align-items: center;
130  min-width: 20px;
131  min-height: 20px;
132`,x=o.keyframes`
133from {
134  transform: scale(0.6);
135  opacity: 0.4;
136}
137to {
138  transform: scale(1);
139  opacity: 1;
140}`,I=(0,o.styled)("div")`
141  position: relative;
142  transform: scale(0.6);
143  opacity: 0.4;
144  min-width: 20px;
145  animation: ${x} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
146    forwards;
147`,O=({toast:e})=>{let{icon:t,type:n,iconTheme:o}=e;return void 0!==t?"string"==typeof t?r.createElement(I,null,t):t:"blank"===n?null:r.createElement(V,null,r.createElement(A,{...o}),"loading"!==n&&r.createElement(C,null,"error"===n?r.createElement(T,{...o}):r.createElement(L,{...o})))},M=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,U=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,D=(0,o.styled)("div")`
148  display: flex;
149  align-items: center;
150  background: #fff;
151  color: #363636;
152  line-height: 1.3;
153  will-change: transform;
154  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
155  max-width: 350px;
156  pointer-events: auto;
157  padding: 8px 10px;
158  border-radius: 8px;
159`,P=(0,o.styled)("div")`
160  display: flex;
161  justify-content: center;
162  margin: 4px 10px;
163  color: inherit;
164  flex: 1 1 auto;
165  white-space: pre-line;
166`,B=r.memo((({toast:e,position:t,style:n,children:i})=>{let c=e.height?((e,t)=>{let n=e.includes("top")?1:-1,[r,a]=s()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[M(n),U(n)];return{animation:t?`${(0,o.keyframes)(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${(0,o.keyframes)(a)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(e.position||t||"top-center",e.visible):{opacity:0},l=r.createElement(O,{toast:e}),u=r.createElement(P,{...e.ariaProps},a(e.message,e));return r.createElement(D,{className:e.className,style:{...c,...n,...e.style}},"function"==typeof i?i({icon:l,message:u}):r.createElement(r.Fragment,null,l,u))}));(0,o.setup)(r.createElement);var F=({id:e,className:t,style:n,onHeightUpdate:o,children:a})=>{let i=r.useCallback((t=>{if(t){let n=()=>{let n=t.getBoundingClientRect().height;o(e,n)};n(),new MutationObserver(n).observe(t,{subtree:!0,childList:!0,characterData:!0})}}),[e,o]);return r.createElement("div",{ref:i,className:t,style:n},a)},z=o.css`
167  z-index: 9999;
168  > * {
169    pointer-events: auto;
170  }
171`,$=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:o,children:i,containerStyle:c,containerClassName:l})=>{let{toasts:u,handlers:d}=S(n);return r.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...c},className:l,onMouseEnter:d.startPause,onMouseLeave:d.endPause},u.map((n=>{let c=n.position||t,l=((e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:s()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}})(c,d.calculateOffset(n,{reverseOrder:e,gutter:o,defaultPosition:t}));return r.createElement(F,{id:n.id,key:n.id,onHeightUpdate:d.updateHeight,className:n.visible?z:"",style:l},"custom"===n.type?a(n.message,n):i?i(n):r.createElement(B,{toast:n,position:c}))})))},j=v}}]);

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.