PageSourceSearch

https://www.idcolab.com/_next/static/chunks/24213-dec4a68c04721b2a.js

js idcolab.com collected 2026-09-24 11:05:25 UTC 34,085 bytes, 3 lines download raw bytes

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]="f722ea9e-2341-4f57-ba78-20ab1b76617a",e._sentryDebugIdIdentifier="sentry-dbid-f722ea9e-2341-4f57-ba78-20ab1b76617a")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24213],{1133:(e,t,o)=>{o.d(t,{K7:()=>n,Q8:()=>i,jy:()=>r,mU:()=>a});let n=3,r="amz-sdk-invocation-id",i="amz-sdk-request",a=3e5},2035:(e,t,o)=>{o.d(t,{q:()=>n});let n=(e,t)=>(o,n)=>{let r={},i=t=>e(t,n);for(let e=t.length-1;e>=0;e--)i=(0,t[e])(n)(i,r);return i(o)}},2223:(e,t,o)=>{o.d(t,{o:()=>n});let n=URL},3015:(e,t,o)=>{o.d(t,{j:()=>n});let n=e=>{let{headers:t,statusCode:o}=e;return{...r(e)?e.$metadata:{},httpStatusCode:o,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},r=e=>"object"==typeof e?.$metadata},5062:(e,t,o)=>{o.d(t,{C:()=>s,p:()=>a});var n=o(94389),r=o(83458);let i=new n.C("CoreStorageUtils"),a=()=>{try{if("undefined"!=typeof window&&window.localStorage)return window.localStorage}catch(e){i.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new r._},s=()=>{try{if("undefined"!=typeof window&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw Error("sessionStorage is not defined")}catch(e){return i.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new r._}}},5431:(e,t,o)=>{o.d(t,{C:()=>i,J:()=>r});var n=o(39820);function r(e){let t=e?.split("_")[0];if(!e||0>e.indexOf("_")||!t||"string"!=typeof t)throw new n.l({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t}function i(e){if(!e||!e.includes(":"))throw new n.l({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]}},7714:(e,t,o)=>{o.d(t,{e:()=>a});var n=o(64016),r=o(2035),i=o(67906);let a=(0,r.q)(i.F,[()=>(e,t)=>async function(t){return t.headers={...t.headers,"cache-control":"no-store",...await n.H.libraryOptions?.Auth?.headers?.()},e(t)}])},9588:(e,t,o)=>{var n,r,i,a,s,u,d,l,c,h,g,f,y,m;o.d(t,{BM:()=>u,ID:()=>l,b7:()=>r,dT:()=>n,r5:()=>c,rn:()=>i,sZ:()=>m}),function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"}(n||(n={})),function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"}(r||(r={})),function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"}(i||(i={})),function(e){e.Record="1",e.IdentifyUser="2"}(a||(a={})),function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"}(s||(s={})),function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"}(u||(u={})),function(e){e.Subscribe="1",e.GraphQl="2"}(d||(d={})),function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"}(l||(l={})),function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"}(c||(c={})),(h||(h={})).None="0",function(e){e.Convert="1",e.Identify="2",e.Interpret="3"}(g||(g={})),(f||(f={})).Subscribe="1",function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"}(y||(y={})),function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"}(m||(m={}))},10005:(e,t,o)=>{o.d(t,{C:()=>s});var n=o(30861),r=o(47192),i=o(53110),a=o(78735);let s={service:o(79301).M,retryDecider:(0,n.D)(r.F),computeDelay:i.y,get userAgentValue(){return(0,a.fE)()},cache:"no-store"}},11529:(e,t,o)=>{o.d(t,{A:()=>n});let n=(e,t,o,n)=>async(r,i)=>{let a={...n,...r},s=await a.endpointResolver(a,i),u=await t(i,s);return o(await e(u,{...a}
1))}},22411:(e,t,o)=>{o.d(t,{o:()=>a});var n=o(2223),r=o(26239),i=o(79301);let a=({endpointOverride:e})=>t=>e?{url:new n.o(e)}:(({region:e})=>({url:new n.o(`https://${i.M}.${e}.${(0,r.R)(e)}`)}))(t)},24471:(e,t,o)=>{o.d(t,{f:()=>r});var n=o(79855);let r=new(o(81230)).S(n.ZL)},26239:(e,t,o)=>{o.d(t,{R:()=>i});let n={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},r={partitions:[n,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},i=e=>{let{partitions:t}=r;for(let{regions:o,outputs:n,regionRegex:r}of t){let t=new RegExp(r);if(o.includes(e)||t.test(e))return n.dnsSuffix}return n.outputs.dnsSuffix}},26348:(e,t,o)=>{var n;o.d(t,{m:()=>n}),function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"}(n||(n={}))},30861:(e,t,o)=>{o.d(t,{D:()=>i});var n=o(26348);let r=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],i=e=>async(t,o)=>{let n=o??await e(t)??void 0,i=n?.code||n?.name,a=t?.statusCode;return{retryable:d(o)||u(a,i)||(e=>!!e&&r.includes(e))(i)||l(a,i)}},a=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],s=["TimeoutError","RequestTimeout","RequestTimeoutException"],u=(e,t)=>
1429===e||!!t&&a.includes(t),d=e=>[n.m.NetworkError,"ERR_NETWORK"].includes(e?.name),l=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&s.includes(t)},31622:(e,t,o)=>{o.d(t,{m:()=>r});var n=o(88968);let r={convert(e,t){let o=e;return t?.urlSafe&&(o=o.replace(/-/g,"+").replace(/_/g,"/")),(0,n.nW)()(o)}}},35414:(e,t,o)=>{o.d(t,{z:()=>n});let n=async e=>{window?.location&&(window.location.href=e.replace("http://","https://"))}},39820:(e,t,o)=>{o.d(t,{l:()=>r});var n=o(35993);class r extends n.x{constructor(e){super(e),this.constructor=r,Object.setPrototypeOf(this,r.prototype)}}},41113:(e,t,o)=>{o.d(t,{B:()=>n});let n=()=>"undefined"!=typeof window&&void 0!==window.document},44715:(e,t,o)=>{o.d(t,{$6:()=>l,A0:()=>s,Cs:()=>h,RW:()=>u,jK:()=>d,kM:()=>a,mh:()=>c,yA:()=>g,z0:()=>i,zz:()=>r});var n=o(39820);let r="UserUnAuthenticatedException",i="UserAlreadyAuthenticatedException",a="DeviceMetadataNotFoundException",s="AutoSignInException",u=new n.l({name:"InvalidRedirectException",message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."});new n.l({name:"InvalidAppSchemeException",message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."});let d=new n.l({name:"InvalidPreferredRedirectUrlException",message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."}),l=new n.l({name:"InvalidOriginException",message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),c="OAuthSignOutException",h="TokenRefreshException",g="UnexpectedSignInInterruptionException"},47192:(e,t,o)=>{o.d(t,{F:()=>r,Y:()=>i});var n=o(3015);let r=async e=>{if(!e||e.statusCode<300)return;let t=await i(e),o=(e=>{let[t]=e.toString().split(/[,:]+/);return t.includes("#")?t.split("#")[1]:t})(e.headers["x-amzn-errortype"]??t.code??t.__type??"UnknownError");return Object.assign(Error(t.message??t.Message??"Unknown error"),{name:o,$metadata:(0,n.j)(e)})},i=async e=>{if(!e.body)throw Error("Missing response payload");return Object.assign(await e.body.json(),{$metadata:(0,n.j)(e)})}},48701:(e,t,o)=>{o.d(t,{_:()=>n});let n=e=>(t,o)=>i(o,r(e),JSON.stringify(t)),r=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${e}`}),i=({url:e},t,o)=>({headers:t,url:e,body:o,method:"POST"})},50160:(e,t,o)=>{o.d(t,{Eh:()=>l,G6:()=>d,$y:()=>u,Cq:()=>c});var n,r=o(31622),i=o(23411);!function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"}(n||(n={}));let a={[n.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[n.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[n.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[n.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[n.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}},s=(0,i.p)(a);function u(e){s(!!e&&!!e.userPoolId&&!!e.userPoolClientId,n.AuthUserPoolException)}function d(e){s(!!e?.loginWith?.oauth?.domain&&!!e?.loginWith?.oauth?.redirectSignOut&&!!e?.loginWith?.oauth?.redirectSignIn&&!!e?.loginWith?.oauth?.responseType,n.OAuthNotConfigureException)}function l(e){s(!!e?.identityPoolId,n.InvalidIdentityPoolIdException)}function c(e){let t=e.split(".");if(3!==t.length)throw Error("Invalid token");try{let o=t[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(r.m.convert(o).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join("")),i=JSON.parse(n);return{toString:()=>e,payload:i}}catch(e){throw Error("Invalid token payload")}}},51769:(e,t,o)=>{o.d(t,{Uv:()=>c,Qm:()=>g});var n,r=o(50160),i=o(39820);let a={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetail
1s:"signInDetails",oauthMetadata:"oauthMetadata"};var s=o(23411);(n||(n={})).InvalidAuthTokens="InvalidAuthTokens";let u={[n.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}},d=(0,s.p)(u),l="CognitoIdentityServiceProvider";class c{getKeyValueStorage(){if(!this.keyValueStorage)throw new i.l({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(e){this.keyValueStorage=e}setAuthConfig(e){this.authConfig=e}async loadTokens(){try{let e=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e.accessToken);if(!t)throw new i.l({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});let o=(0,r.Cq)(t),n=await this.getKeyValueStorage().getItem(e.idToken),a=n?(0,r.Cq)(n):void 0,s=await this.getKeyValueStorage().getItem(e.refreshToken)??void 0,u=await this.getKeyValueStorage().getItem(e.clockDrift)??"0",d=Number.parseInt(u),l=await this.getKeyValueStorage().getItem(e.signInDetails),c={accessToken:o,idToken:a,refreshToken:s,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:d,username:await this.getLastAuthUser()};return l&&(c.signInDetails=JSON.parse(l)),c}catch(e){return null}}async storeTokens(e){d(void 0!==e,n.InvalidAuthTokens);let t=e.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),t);let o=await this.getAuthKeys();await this.getKeyValueStorage().setItem(o.accessToken,e.accessToken.toString()),e.idToken?await this.getKeyValueStorage().setItem(o.idToken,e.idToken.toString()):await this.getKeyValueStorage().removeItem(o.idToken),e.refreshToken?await this.getKeyValueStorage().setItem(o.refreshToken,e.refreshToken):await this.getKeyValueStorage().removeItem(o.refreshToken),e.deviceMetadata&&(e.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(o.deviceKey,e.deviceMetadata.deviceKey),e.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(o.deviceGroupKey,e.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(o.randomPasswordKey,e.deviceMetadata.randomPassword)),e.signInDetails?await this.getKeyValueStorage().setItem(o.signInDetails,JSON.stringify(e.signInDetails)):await this.getKeyValueStorage().removeItem(o.signInDetails),await this.getKeyValueStorage().setItem(o.clockDrift,`${e.clockDrift}`)}async clearTokens(){let e=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(e.accessToken),this.getKeyValueStorage().removeItem(e.idToken),this.getKeyValueStorage().removeItem(e.clockDrift),this.getKeyValueStorage().removeItem(e.refreshToken),this.getKeyValueStorage().removeItem(e.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(e.oauthMetadata)])}async getDeviceMetadata(e){let t=await this.getAuthKeys(e),o=await this.getKeyValueStorage().getItem(t.deviceKey),n=await this.getKeyValueStorage().getItem(t.deviceGroupKey),r=await this.getKeyValueStorage().getItem(t.randomPasswordKey);return r&&n&&o?{deviceKey:o,deviceGroupKey:n,randomPassword:r}:null}async clearDeviceMetadata(e){let t=await this.getAuthKeys(e);await Promise.all([this.getKeyValueStorage().removeItem(t.deviceKey),this.getKeyValueStorage().removeItem(t.deviceGroupKey),this.getKeyValueStorage().removeItem(t.randomPasswordKey)])}async getAuthKeys(e){(0,r.$y)(this.authConfig?.Cognito);let t=e??await this.getLastAuthUser();return h(l,`${this.authConfig.Cognito.userPoolClientId}.${t}`)}getLastAuthUserKey(){(0,r.$y)(this.authConfig?.Cognito);let e=this.authConfig.Cognito.userPoolClientId;return`${l}.${e}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(e){let{oauthMetadata:t}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(t,JSON.stringify(e))}async getOAuthMetadata(){let{oauthMetadata:e}=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e);return t&&JSON.parse(t)}}let h=(e,t)=>g(a)(`${e}`,t);function g(e){let t=Object.values({...e});return(e,o)=>t.reduce((t,n)=>({...t,[n]:`${e}.${o}.${n}`}),{})}},53110:(e,t,o)=>{o.d(t,{y:()=>r});var n=o(1133);let r=e=>{let t=(function(e=3e5){return t=>{let o=2**t*100+100*Math.random();return!(o>e)&&o}})(n.mU)(e);return!1===t?n.mU:t}},58552:(e,t,o)=>{o.d(t,{M:()=>r});var n=o(44715);function r(e,t){if(t){let o=e?.find(e=>e===t);if(!o)throw n.jK;return o}{let t=e?.find(i)??e?.find(a),o=e?.find(u)??e?.find(s);if(t)return t;if(o)throw n.$6;throw n.RW}}let i=e=>e.startsWith(String(window.location.origin+(window.location.pathname||"/"))),a=e=>e.includes(String(window.location.hostname)),s=e=>e.startsWith("http://"),u=e=>e.startsWith("https://")},59547:(e,t,o)=>{o.d(t,{e:()=>i});var n=o(26348),r=o(39820);function i(e){if(!e||"Error"===e.name||e instanceof TypeError)throw new r.l({name:n.m.Unknown,message:"An unknown error has occurred.",underlyingError:e})}},62687:(e,t,o)=>{o.d(t,{h:()=>i});var n=o(26348),r=o(35993);class i extends r.x{constructor(){super({name:n.m.PlatformNotSupported,message:"Function not supported on current platform"})}}},66572:(e,t,o)=>{o.d(t,{T:()=>a});var n=o(47192),r=o(59547),i=o(39820);let a=()=>async e=>{if(e.statusCode>=300){let t=await (0,n.F)(e);throw(0,r.e)(t),new i.l({name:t.name,message:t.message,metadata:t.$metadata})}return(0,n.Y)(e)}},67906:(e,t,o)=>{let n;o.d(t,{F:()=>m});var r=o(1133);let i=(e,t)=>{let o,n;if(t?.aborted)return Promise.resolve();let r=new Promise(t=>{n=t,o=setTimeout(t,e)});return t?.addEventListener("abort",function e(r){clearTimeout(o),t?.removeEventListener("abort",e),n()}),r},a=(e,t)=>{"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata={...e.$metadata??{},attempts:t})},s={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},u=new Uint8Array(16),d=[];for(let e=0;e<256;++e)d.push((e+256).toString(16).slice(1));let l=function(e,t,o){if(s.randomUUID&&!t&&!e)return s.randomUUID();let r=(e=e||{}
1).random??e.rng?.()??function(){if(!n){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");n=crypto.getRandomValues.bind(crypto)}return n(u)}();if(r.length<16)throw Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){if((o=o||0)<0||o+16>t.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[o+e]=r[e];return t}return function(e,t=0){return(d[e[t+0]]+d[e[t+1]]+d[e[t+2]]+d[e[t+3]]+"-"+d[e[t+4]]+d[e[t+5]]+"-"+d[e[t+6]]+d[e[t+7]]+"-"+d[e[t+8]]+d[e[t+9]]+"-"+d[e[t+10]]+d[e[t+11]]+d[e[t+12]]+d[e[t+13]]+d[e[t+14]]+d[e[t+15]]).toLowerCase()}(r)};o(73739),o(78652);var c=o(2035),h=o(35993),g=o(26348);let f=e=>{let t;return()=>(t||(t=e()),t)},y=async({url:e,method:t,headers:o,body:n},{abortSignal:r,cache:i,withCrossDomainCredentials:a})=>{let s;try{s=await fetch(e,{method:t,headers:o,body:["HEAD","GET"].includes(t.toUpperCase())?void 0:n,signal:r,cache:i,credentials:a?"include":"same-origin"})}catch(e){if(e instanceof TypeError)throw new h.x({name:g.m.NetworkError,message:"A network error has occurred.",underlyingError:e});throw e}let u={};s.headers?.forEach((e,t)=>{u[t.toLowerCase()]=e});let d={statusCode:s.status,headers:u,body:null},l=Object.assign(s.body??{},{text:f(()=>s.text()),blob:f(()=>s.blob()),json:f(()=>s.json())});return{...d,body:l}},m=(0,c.q)(y,[({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>o=>async function(n){if(0===t.trim().length)return await o(n);{let r=e.toLowerCase();return n.headers[r]=n.headers[r]?`${n.headers[r]} ${t}`:t,await o(n)}},()=>e=>async function(t){return t.headers[r.jy]||(t.headers[r.jy]=l()),e(t)},({maxAttempts:e=r.K7,retryDecider:t,computeDelay:o,abortSignal:n})=>{if(e<1)throw Error("maxAttempts must be greater than 0");return(r,s)=>async function(u){let d,l,c=s.attemptsCount??0,h=()=>{if(l)return a(l,c),l;throw a(d,c),d};for(;!n?.aborted&&c<e;){try{l=await r(u),d=void 0}catch(e){d=e,l=void 0}c=(s.attemptsCount??0)>c?s.attemptsCount??0:c+1,s.attemptsCount=c;let{isCredentialsExpiredError:a,retryable:g}=await t(l,d,s);if(!g)return h();if(s.isCredentialsExpired=!!a,!n?.aborted&&c<e){let e=o(c);await i(e,n)}}if(!n?.aborted)return h();throw Error("Request aborted.")}},({maxAttempts:e=r.K7})=>(t,o)=>async function(n){let i=o.attemptsCount??0;return n.headers[r.Q8]=`attempt=${i+1}; max=${e}`,t(n)}])},74652:(e,t,o)=>{o.d(t,{H0:()=>i,OW:()=>a,O_:()=>l,X4:()=>d,f3:()=>c});var n=o(39820),r=o(44715);function i(e){if(!e||!e.accessToken)throw new n.l({name:r.zz,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}function a(e){if(!e||!e.idToken)throw new n.l({name:r.zz,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}let s=new n.l({name:r.Cs,message:`Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. 
2	Please change your oauth configuration to use 'code grant' flow.`,recoverySuggestion:`Please logout and change your Amplify configuration to use "code grant" flow. 
3	E.g { responseType: 'code' }`}),u=new n.l({name:r.zz,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});function d(e){var t,o;if(h(t=e)&&!t?.refreshToken)throw s;if(!(h(o=e)&&o?.refreshToken))throw u}function l(e){if(!e||!e.deviceKey||!e.deviceGroupKey||!e.randomPassword)throw new n.l({name:r.kM,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})}let c={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function h(e){return e?.accessToken||e?.idToken}},75276:(e,t,o)=>{o.d(t,{E:()=>r,e:()=>i});let n={},r=e=>{n[e.category]=e.apis.reduce((t,o)=>({...t,[o]:{refCount:t[o]?.refCount?t[o].refCount+1:1,additionalDetails:e.additionalDetails}}),n[e.category]??{});let t=!1;return()=>{t||(t=!0,e.apis.forEach(t=>{let o=n[e.category][t].refCount;o>1?n[e.category][t].refCount=o-1:(delete n[e.category][t],Object.keys(n[e.category]).length||delete n[e.category])}))}},i=(e,t)=>n[e]?.[t]?.additionalDetails},78735:(e,t,o)=>{let n;o.d(t,{fE:()=>S});var r=o(9588);let i="6.17.0";var a=o(87358);let s=(e,t)=>!!Object.keys(e).find(e=>e.startsWith(t));var u=o(87358),d=o(87358),l=o(87358);let c=[{platform:r.dT.Expo,detectionMethod:function(){return"undefined"!=typeof global&&void 0!==global.expo}},{platform:r.dT.ReactNative,detectionMethod:function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},{platform:r.dT.NextJs,detectionMethod:function(){return"undefined"!=typeof window&&window.next&&"object"==typeof window.next}},{platform:r.dT.Nuxt,detectionMethod:function(){return"undefined"!=typeof window&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:r.dT.Angular,detectionMethod:function(){let e=!!("undefined"!=typeof document&&document.querySelector("[ng-version]")),t="undefined"!=typeof window&&void 0!==window.ng;return e||t}},{platform:r.dT.React,detectionMethod:function(){let e=e=>e.startsWith("_react")||e.startsWith("__react");return"undefined"!=typeof document&&Array.from(document.querySelectorAll("[id]")).some(t=>Object.keys(t).find(e))}},{platform:r.dT.VueJs,detectionMethod:function(){return"undefined"!=typeof window&&s(window,"__VUE")}},{platform:r.dT.Svelte,detectionMethod:function(){return"undefined"!=typeof window&&s(window,"__SVELTE")}},{platform:r.dT.WebUnknown,detectionMethod:function(){return"undefined"!=typeof window}},{platform:r.dT.NextJsSSR,detectionMethod:function(){return"undefined"!=typeof global&&(s(global,"__next")||s(global,"__NEXT"))}},{platform:r.dT.NuxtSSR,detectionMethod:function(){return"undefined"!=typeof global&&void 0!==global.__NUXT_PATHS__}},{platform:r.dT.ReactSSR,detectionMethod:function(){return void 0!==a&&void 0!==u.env&&!!Object.keys(u.env).find(e=>e.includes("react"))}},{platform:r.dT.VueJsSSR,detectionMethod:function(){return"undefined"!=typeof global&&s(global,"__VUE")}},{platform:r.dT.AngularSSR,detectionMethod:function(){return void 0!==a&&"object"==typeof l.env&&l.env.npm_lifecycle_script?.startsWith("ng ")||!1}},{platform:r.dT.SvelteSSR,detectionMethod:function(){return void 0!==a&&void 0!==d.env&&!!Object.keys(d.env).find(e=>e.includes("svelte"))}}],h=[],g=!1,f=()=>
3{if(!n){if(n=c.find(e=>e.detectionMethod())?.platform||r.dT.ServerSideUnknown,g)for(;h.length;)h.pop()?.();else h.forEach(e=>{e()});y(r.dT.ServerSideUnknown,10),y(r.dT.WebUnknown,10)}return n};function y(e,t){n!==e||g||setTimeout(()=>{n=void 0,g=!0,setTimeout(f,1e3)},t)}var m=o(75276);let p="aws-amplify",w=e=>e.replace(/\+.*/,"");class v{constructor(){this.userAgent=`${p}/${w(i)}`}get framework(){return f()}get isReactNative(){return this.framework===r.dT.ReactNative||this.framework===r.dT.Expo}observeFrameworkChanges(e){g||h.push(e)}}new v;let S=e=>(({category:e,action:t}={})=>{let o=[[p,w(i)]];if(e&&o.push([e,t]),o.push(["framework",f()]),e&&t){let n=(0,m.e)(e,t);n&&n.forEach(e=>{o.push(e)})}return o})(e).map(([e,t])=>e&&t?`${e}/${t}`:e).join(" ")},79301:(e,t,o)=>{o.d(t,{M:()=>n});let n="cognito-idp"},79855:(e,t,o)=>{o.d(t,{ZL:()=>c,pR:()=>h});var n=o(89618),r=o(5062);class i extends n.U{constructor(){super((0,r.p)())}}var a=o(83458);class s extends n.U{constructor(){super((0,r.C)())}}var u=o(62687);class d{constructor(e){this._storage=e}get storage(){if(!this._storage)throw new u.h;return this._storage}setItem(e,t){this.storage.setItem(e,t)}getItem(e){return this.storage.getItem(e)}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}}class l extends d{constructor(){super((0,r.C)())}}let c=new i;new s;let h=new l;new n.U(new a._)},80049:(e,t,o)=>{o.d(t,{I:()=>r,i:()=>i});let n=[],r=e=>{n.push(e)},i=()=>{for(;n.length;)n.pop()?.()}},81230:(e,t,o)=>{o.d(t,{S:()=>u});var n=o(50160),r=o(51769),i=o(74652);let a="amplify-signin-with-hostedUI",s="CognitoIdentityServiceProvider";class u{constructor(e){this.keyValueStorage=e}async clearOAuthInflightData(){(0,n.$y)(this.cognitoConfig);let e=d(s,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(e.inflightOAuth),this.keyValueStorage.removeItem(e.oauthPKCE),this.keyValueStorage.removeItem(e.oauthState)])}async clearOAuthData(){(0,n.$y)(this.cognitoConfig);let e=d(s,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(a),this.keyValueStorage.removeItem(e.oauthSignIn)}loadOAuthState(){(0,n.$y)(this.cognitoConfig);let e=d(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthState)}storeOAuthState(e){(0,n.$y)(this.cognitoConfig);let t=d(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthState,e)}loadPKCE(){(0,n.$y)(this.cognitoConfig);let e=d(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthPKCE)}storePKCE(e){(0,n.$y)(this.cognitoConfig);let t=d(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthPKCE,e)}setAuthConfig(e){this.cognitoConfig=e}async loadOAuthInFlight(){(0,n.$y)(this.cognitoConfig);let e=d(s,this.cognitoConfig.userPoolClientId);return await this.keyValueStorage.getItem(e.inflightOAuth)==="true"}async storeOAuthInFlight(e){(0,n.$y)(this.cognitoConfig);let t=d(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(t.inflightOAuth,`${e}`)}async loadOAuthSignIn(){(0,n.$y)(this.cognitoConfig);let e=d(s,this.cognitoConfig.userPoolClientId),t=await this.keyValueStorage.getItem(a),[o,r]=(await this.keyValueStorage.getItem(e.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:"true"===o||"true"===t,preferPrivateSession:"true"===r}}async storeOAuthSignIn(e,t=!1){(0,n.$y)(this.cognitoConfig);let o=d(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(o.oauthSignIn,`${e},${t}`)}}let d=(e,t)=>(0,r.Qm)(i.f3)(e,t)},82993:(e,t,o)=>{o.d(t,{A:()=>i});var n=o(78735),r=o(9588);let i=(e,t)=>(0,n.fE)({category:r.b7.Auth,action:e,...t})},83458:(e,t,o)=>{o.d(t,{_:()=>n});class n{constructor(){this.storage=new Map}get length(){return this.storage.size}key(e){return e>this.length-1?null:Array.from(this.storage.keys())[e]}setItem(e,t){this.storage.set(e,t)}getItem(e){return this.storage.get(e)??null}removeItem(e){this.storage.delete(e)}clear(){this.storage.clear()}}},85224:(e,t,o)=>{o.d(t,{Q:()=>A,o:()=>C});var n=o(79855),r=o(50160),i=o(5431),a=o(74652),s=o(39820),u=o(22411),d=o(11529),l=o(48701),c=o(66572),h=o(7714),g=o(10005);let f=(e=>{let t;return async(...o)=>t||(t=new Promise((n,r)=>{e(...o).then(e=>{n(e)}).catch(e=>{r(e)}).finally(()=>{t=void 0})}))})(async({tokens:e,authConfig:t,username:o,clientMetadata:n})=>{let f;(0,r.$y)(t?.Cognito);let{userPoolId:y,userPoolClientId:m,userPoolEndpoint:p}=t.Cognito,w=(0,i.J)(y);(0,a.X4)(e);let v=(f={endpointResolver:(0,u.o)({endpointOverride:p})},(0,d.A)(h.e,(0,l._)("GetTokensFromRefreshToken"),(0,c.T)(),{...g.C,...f})),{AuthenticationResult:S}=await v({region:w},{ClientId:m,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:n}),I=(0,r.Cq)(S?.AccessToken??""),k=S?.IdToken?(0,r.Cq)(S.IdToken):void 0,{iat:T}=I.payload;if(!T)throw new s.l({name:"iatNotFoundException",message:"iat not found in access token"});return{accessToken:I,idToken:k,clockDrift:1e3*T-new Date().getTime(),refreshToken:S?.RefreshToken??e.refreshToken,username:o}});var y=o(51769),m=o(35943),p=o(41113);function w({expiresAt:e,clockDrift:t,tolerance:o=5e3}){return Date.now()+t+o>e}var v=o(59547),S=o(24471),I=o(80049);class k{constructor(){this.waitForInflightOAuth=(0,p.B)()?async()=>
3{if(await S.f.loadOAuthInFlight())return this.inflightPromise||(this.inflightPromise=new Promise((e,t)=>{(0,I.I)(e)})),this.inflightPromise}:async()=>{}}setAuthConfig(e){S.f.setAuthConfig(e.Cognito),this.authConfig=e}setTokenRefresher(e){this.tokenRefresher=e}setAuthTokenStore(e){this.tokenStore=e}getTokenStore(){if(!this.tokenStore)throw new s.l({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new s.l({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(e){this.clientMetadataProvider=e}async getTokens(e){let t;try{(0,r.$y)(this.authConfig?.Cognito)}catch(e){return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,t=await this.getTokenStore().loadTokens();let o=await this.getTokenStore().getLastAuthUser();if(null===t)return null;let n=!!t?.idToken&&w({expiresAt:(t.idToken?.payload?.exp??0)*1e3,clockDrift:t.clockDrift??0}),i=w({expiresAt:(t.accessToken?.payload?.exp??0)*1e3,clockDrift:t.clockDrift??0});return(e?.forceRefresh||n||i)&&null===(t=await this.refreshTokens({tokens:t,username:o,clientMetadata:e?.clientMetadata??await this.clientMetadataProvider?.()}))?null:{accessToken:t?.accessToken,idToken:t?.idToken,signInDetails:t?.signInDetails}}async refreshTokens({tokens:e,username:t,clientMetadata:o}){try{let{signInDetails:n}=e,r=await this.getTokenRefresher()({tokens:e,authConfig:this.authConfig,username:t,clientMetadata:o});return r.signInDetails=n,await this.setTokens({tokens:r}),m.YZ.dispatch("auth",{event:"tokenRefresh"},"Auth",m.U9),r}catch(e){return this.handleErrors(e)}}handleErrors(e){if((0,v.e)(e),this.isAuthenticationError(e)&&this.clearTokens(),m.YZ.dispatch("auth",{event:"tokenRefresh_failure",data:{error:e}},"Auth",m.U9),e.name.startsWith("NotAuthorizedException"))return null;throw e}isAuthenticationError(e){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(t=>e?.name?.startsWith?.(t))}async setTokens({tokens:e}){return this.getTokenStore().storeTokens(e)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(e){return this.getTokenStore().getDeviceMetadata(e)}clearDeviceMetadata(e){return this.getTokenStore().clearDeviceMetadata(e)}setOAuthMetadata(e){return this.getTokenStore().setOAuthMetadata(e)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}class T{constructor(){this.authTokenStore=new y.Uv,this.authTokenStore.setKeyValueStorage(n.ZL),this.tokenOrchestrator=new k,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(f)}getTokens(e={}){return this.tokenOrchestrator.getTokens(e)}setKeyValueStorage(e){this.authTokenStore.setKeyValueStorage(e)}setClientMetadataProvider(e){this.tokenOrchestrator.setClientMetadataProvider(e)}setAuthConfig(e){this.authTokenStore.setAuthConfig(e),this.tokenOrchestrator.setAuthConfig(e)}}let A=new T,{tokenOrchestrator:C}=A},88968:(e,t,o)=>{o.d(t,{MY:()=>r,nW:()=>a,xA:()=>i});var n=o(35993);let r=()=>{if("object"==typeof window&&"object"==typeof window.crypto)return window.crypto;if("object"==typeof crypto)return crypto;throw new n.x({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})},i=()=>{if("undefined"!=typeof window&&"function"==typeof window.btoa)return window.btoa;if("function"==typeof btoa)return btoa;throw new n.x({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},a=()=>{if("undefined"!=typeof window&&"function"==typeof window.atob)return window.atob;if("function"==typeof atob)return atob;throw new n.x({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})}},89618:(e,t,o)=>{o.d(t,{U:()=>r});var n=o(62687);class r{constructor(e){this.storage=e}async setItem(e,t){if(!this.storage)throw new n.h;this.storage.setItem(e,t)}async getItem(e){if(!this.storage)throw new n.h;return this.storage.getItem(e)}async removeItem(e){if(!this.storage)throw new n.h;this.storage.removeItem(e)}async clear(){if(!this.storage)throw new n.h;this.storage.clear()}}}}]);

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.