1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9a8461e3-3ec3-46e6-abce-a243bf2600b6",e._sentryDebugIdIdentifier="sentry-dbid-9a8461e3-3ec3-46e6-abce-a243bf2600b6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55588],{11929:(e,t,n)=>{let i;n.d(t,{A:()=>a});let r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16),s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));let a=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();let a=(e=e||{}).random||(e.rng||function(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=a[e];return t}return function(e,t=0){return s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]}(a)}},40281:(e,t,n)=>{n.d(t,{C:()=>x});var i=n(94389),r=n(64016),o=n(79855);function s(){return r.H.Auth.clearCredentials()}var a=n(35943),d=n(50160),c=n(9588),u=n(82993),l=n(39820),h=n(81230),y=n(85224),p=n(5431),f=n(74652);n(73739);let I=async e=>{await e.clearOAuthData(),y.o.clearTokens(),await s(),a.YZ.dispatch("auth",{event:"signedOut"},"Auth",a.U9)};var g=n(35414),m=n(58552);let C=async(e,t=!1,n)=>{(0,d.G6)(e);let{loginWith:i,userPoolClientId:r}=e,{domain:o,redirectSignOut:s}=i.oauth,a=(0,m.M)(s,n),c=`https://${o}/logout?${Object.entries({client_id:r,logout_uri:encodeURIComponent(a)}).map(([e,t])=>`${e}=${t}`).join("&")}`;return(0,g.z)(c)},b=async(e,t,n,i)=>{let{isOAuthSignIn:r}=await t.loadOAuthSignIn(),o=await n.getOAuthMetadata();if(await I(t),r||o?.oauthSignIn)return C(e,!1,i)};var w=n(44715),v=n(11529),_=n(7714),A=n(48701),S=n(66572),k=n(10005),T=n(22411);let O=new i.C("Auth");async function x(e){let t,n=r.H.getConfig().Auth?.Cognito;(0,d.$y)(n),e?.global?await E(n):await P(n);try{(0,d.G6)(n),t=!0}catch(e){t=!1}if(t){let t=new h.S(o.ZL);t.setAuthConfig(n);let{type:i}=await b(n,t,y.o,e?.oauth?.redirectUrl)??{};if("error"===i)throw new l.l({name:w.mh,message:"An error occurred when attempting to log out from OAuth provider."})}else y.o.clearTokens(),await s(),a.YZ.dispatch("auth",{event:"signedOut"},"Auth",a.U9)}async function P(e){try{let{userPoolEndpoint:t,userPoolId:n,userPoolClientId:i}=e,r=await y.o.getTokenStore().loadTokens();if((0,f.X4)(r),D(r.accessToken)){let e,o=(e={endpointResolver:(0,T.o)({endpointOverride:t})},(0,v.A)(_.e,(0,A._)("RevokeToken"),(0,S.T)(),{...k.C,...e}));await o({region:(0,p.J)(n),userAgentValue:(0,u.A)(c.BM.SignOut)},{ClientId:i,Token:r.refreshToken})}}catch(e){O.debug("Client signOut error caught but will proceed with token removal")}}async function E(e){try{let t,{userPoolEndpoint:n,userPoolId:i}=e,r=await y.o.getTokenStore().loadTokens();(0,f.H0)(r);let o=(t={endpointResolver:(0,T.o)({endpointOverride:n})},(0,v.A)(_.e,(0,A._)("GlobalSignOut"),(0,S.T)(),{...k.C,...t}));await o({region:(0,p.J)(i),userAgentValue:(0,u.A)(c.BM.SignOut)},{AccessToken:r.accessToken.toString()})}catch(e){O.debug("Global signOut error caught but will proceed with token removal")}}let D=e=>!!e?.payload?.origin_jti},89176:(e,t,n)=>{function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)"__proto__"!==i&&(e[i]=n[i])}return e}n.d(t,{E:()=>N});var r=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=i({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+s}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},r=0;r<n.length;r++){var o=n[r].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(a in i||(i[a]=t.read(s,a)),e===a)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){r(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}},{path:"/"});class o{constructor(e={}){let{path:t,domain:n,expires:i,sameSite:r,secure:o}=e;if(this.domain=n,this.path=t||"/",this.expires=Object.prototype.hasOwnProperty.call(e,"expires")?i:365,this.secure=!Object.prototype.hasOwnProperty.call(e,"secure")||o,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!r||!["strict","lax","none"].includes(r))throw Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===r&&!this.secure)throw Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=r}}async setItem(e,t){r.set(e,t,this.getData())}async getItem(e){return r.get(e)??null}async removeItem(e){r.remove(e,this.getData())}async clear(){let e=Object.keys(r.get()).map(e=>this.removeItem(e));await Promise.all(e)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}var s=n(79855),a=n(64016),d=n(42990),c=n(94389);n(73739),n(78652);var u=n(78735),l=n(3015),h=n(47192),y=n(11529),p=n(53110),f=n(30861);let I="cognito-identity",g={service:I,retryDecider:(0,f.D)(h.F),computeDelay:p.y,cache:"no-store"};var m=n(67906);let C=(0,n(2035).q)(m.F,[()=>e=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]),b=e=>(t,n)=>v(n,w(e),JSON.stringify(t)),w=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),v=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"}),_=e=>(0,y.A)(C,b("GetCredentialsForIdentity"),A,{...g,...e,userAgentValue:(0,u.fE)()}),A=async e=>{if(e.statusCode>=300)throw await (0,h.F)(e);let t=await (0,h.Y)(e);return{IdentityId:t.IdentityId,Credentials:S(t.Credentials),$metadata:(0,l.j)(e)}},S=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(1e3*e)});var k=n(50160),T=n(39820),O=n(59547),x=n(5431),P=n(74652),E=n(26239),D=n(2223);let R=({endpointOverride:e})=>t=>e?{url:new D.o(e)}:(({region:e})=>({url:new D.o(`https://${I}.${e}.${(0,E.R)(e)}`)}))(t),K=async e=>{if(e.statusCode>=300)throw await (0,h.F)(e);return{IdentityId:(await (0,h.Y)(e)).IdentityId,$metadata:(0,l.j)(e)}};function j(e){let t=(0,k.Cq)(e).payload.iss,n={};if(!t)throw new T.l({name:"InvalidIdTokenException",message:"Invalid Idtoken."});return n[t.replace(/(^\w+:|^)\/\//,"")]=e,n}async function U({tokens:e,authConfig:t,identityIdStore:n}){n.setAuthConfig({Cognito:t});let i=await n.loadIdentityId();if(i)return i.id;let r=e?.idToken?j(e.idToken.toString()):{},o=await G(r,t);return n.storeIdentityId({id:o,type:e?"primary":"guest"}),o}async function G(e,t){let n,i,r=t?.identityPoolId,o=(0,x.C)(r),s=(i={endpointResolver:R({endpointOverride:t.identityPoolEndpoint})},(0,y.A)(C,b("GetId"),K,{...g,...i,userAgentValue:(0,u.fE)()}));try{n=(await s({region:o},{IdentityPoolId:r,Logins:e})).IdentityId}catch(e){throw(0,O.e)(e),new T.l(e)}if(!n)throw new T.l({name:"GetIdResponseException",message:"Received undefined response from getId operation",recoverySuggestion:"Make sure to pass a valid identityPoolId in the configuration."});return n}let V=new c.C("CognitoCredentialsProvider");class L{constructor(e){this._nextCredentialsRefresh=0,this._identityIdStore=e}async clearCredentialsAndIdentityId(){V.debug("Clearing out credentials and identityId"),this._credentialsAndIdentityId=void 0,await this._identityIdStore.clearIdentityId()}async clearCredentials(){V.debug("Clearing out in-memory credentials"),this._credentialsAndIdentityId=void 0}async getCredentialsAndIdentityId(e){let t=e.authenticated,{tokens:n}=e,{authConfig:i}=e;try{(0,k.Eh)(i?.Cognito)}catch{return}if(!t&&!i.Cognito.allowGuestAccess)return;let{forceRefresh:r}=e,o=this.hasTokenChanged(n),s=await U({tokens:n,authConfig:i.Cognito,identityIdStore:this._identityIdStore});return((r||o)&&this.clearCredentials(),t)?((0,P.OW)(n),this.credsForOIDCTokens(i.Cognito,n,s)):this.getGuestCredentials(s,i.Cognito)}async getGuestCredentials(e,t){let n;if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!1===this._credentialsAndIdentityId.isAuthenticatedCreds)return V.info("returning stored credentials as they neither past TTL n
1or expired."),this._credentialsAndIdentityId;this.clearCredentials();let i=(0,x.C)(t.identityPoolId),r=_({endpointResolver:R({endpointOverride:t.identityPoolEndpoint})});try{n=await r({region:i},{IdentityId:e})}catch(e){throw(0,O.e)(e),new T.l(e)}if(n?.Credentials?.AccessKeyId&&n?.Credentials?.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+3e6;let t={credentials:{accessKeyId:n.Credentials.AccessKeyId,secretAccessKey:n.Credentials.SecretKey,sessionToken:n.Credentials.SessionToken,expiration:n.Credentials.Expiration},identityId:e};return n.IdentityId&&(t.identityId=n.IdentityId,this._identityIdStore.storeIdentityId({id:n.IdentityId,type:"guest"})),this._credentialsAndIdentityId={...t,isAuthenticatedCreds:!1},t}throw new T.l({name:"CredentialsNotFoundException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}async credsForOIDCTokens(e,t,n){let i;if(this._credentialsAndIdentityId&&!this.isPastTTL()&&!0===this._credentialsAndIdentityId.isAuthenticatedCreds)return V.debug("returning stored credentials as they neither past TTL nor expired."),this._credentialsAndIdentityId;this.clearCredentials();let r=t.idToken?j(t.idToken.toString()):{},o=(0,x.C)(e.identityPoolId),s=_({endpointResolver:R({endpointOverride:e.identityPoolEndpoint})});try{i=await s({region:o},{IdentityId:n,Logins:r})}catch(e){throw(0,O.e)(e),new T.l(e)}if(i?.Credentials?.AccessKeyId&&i?.Credentials?.SecretKey){this._nextCredentialsRefresh=new Date().getTime()+3e6;let e={credentials:{accessKeyId:i.Credentials.AccessKeyId,secretAccessKey:i.Credentials.SecretKey,sessionToken:i.Credentials.SessionToken,expiration:i.Credentials.Expiration},identityId:n};return i.IdentityId&&(e.identityId=i.IdentityId,this._identityIdStore.storeIdentityId({id:i.IdentityId,type:"primary"})),this._credentialsAndIdentityId={...e,isAuthenticatedCreds:!0,associatedIdToken:t.idToken?.toString()},e}throw new T.l({name:"CredentialsException",message:"Cognito did not respond with either Credentials, AccessKeyId or SecretKey."})}isPastTTL(){return void 0===this._nextCredentialsRefresh||this._nextCredentialsRefresh<=Date.now()}hasTokenChanged(e){return!!e&&!!this._credentialsAndIdentityId?.associatedIdToken&&e.idToken?.toString()!==this._credentialsAndIdentityId.associatedIdToken}}var $=n(51769);let F={identityId:"identityId"},H=new c.C("DefaultIdentityIdStore");class B{setAuthConfig(e){(0,k.Eh)(e.Cognito),this.authConfig=e,this._authKeys=M("Cognito",e.Cognito.identityPoolId)}constructor(e){this._authKeys={},this._hasGuestIdentityId=!1,this.keyValueStorage=e}async loadIdentityId(){(0,k.Eh)(this.authConfig?.Cognito);try{if(this._primaryIdentityId)return{id:this._primaryIdentityId,type:"primary"};{let e=await this.keyValueStorage.getItem(this._authKeys.identityId);if(e)return this._hasGuestIdentityId=!0,{id:e,type:"guest"};return null}}catch(e){return H.log("Error getting stored IdentityId.",e),null}}async storeIdentityId(e){(0,k.Eh)(this.authConfig?.Cognito),"guest"===e.type?(this.keyValueStorage.setItem(this._authKeys.identityId,e.id),this._primaryIdentityId=void 0,this._hasGuestIdentityId=!0):(this._primaryIdentityId=e.id,this._hasGuestIdentityId&&(this.keyValueStorage.removeItem(this._authKeys.identityId),this._hasGuestIdentityId=!1))}async clearIdentityId(){this._primaryIdentityId=void 0,await this.keyValueStorage.removeItem(this._authKeys.identityId)}}let M=(e,t)=>(0,$.Qm)(F)(`com.amplify.${e}`,t),Q=new L(new B(s.ZL));var z=n(85224);let N={configure(e,t){let n=(0,d.M)(e),i=new o({sameSite:"lax"}),r=t?.ssr?i:s.ZL,c=t?.ssr?new L(new B(i)):Q;if(!n.Auth||t?.Auth)return void a.H.configure(n,t);if(!a.H.libraryOptions.Auth){z.Q.setAuthConfig(n.Auth),z.Q.setKeyValueStorage(r),a.H.configure(n,{...t,Auth:{tokenProvider:z.Q,credentialsProvider:c}});return}if(t){let e=a.H.libraryOptions.Auth;void 0!==t.ssr&&(z.Q.setKeyValueStorage(r),e.credentialsProvider=c),a.H.configure(n,{Auth:e,...t});return}a.H.configure(n)},getConfig:()=>a.H.getConfig()}},95069:(e,t,n)=>{n.d(t,{Q:()=>c});var i=n(12115);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function n(){var e;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");for(var t,i,a=arguments.length,c=Array(a),u=0;u<a;u++)c[u]=arguments[u];return i=(e=(t=o(n)).call.apply(t,[this].concat(c)))&&("object"===r(e)||"function"==typeof e)?e:s(this),d(s(i),"state",{bootstrapped:!1}),d(s(i),"_unsubscribe",void 0),d(s(i),"handlePersistorState",function(){i.props.persistor.getState().bootstrapped&&(i.props.onBeforeLift?Promise.resolve(i.props.onBeforeLift()).finally(function(){return i.setState({bootstrapped:!0})}):i.setState({bootstrapped:!0}),i._unsubscribe&&i._unsubscribe())}),i}return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&a(n,e),t=[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"==typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}],function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(n.prototype,t),n}(i.PureComponent);d(c,"defaultProps",{children:null,loading:null})}}]);
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.