PageSourceSearch

https://peerless-av.com/_next/static/chunks/4160-3756ccdb5c0c461c.js

js peerless-av.com collected 2026-10-03 20:55:14 UTC 78,059 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4160],{584:(e,t,r)=>{"use strict";r.d(t,{q:()=>n});let n=(e,t)=>(r,n)=>{let o={},i=t=>e(t,n);for(let e=t.length-1;e>=0;e--)i=(0,t[e])(n)(i,o);return i(r)}},3422:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(97026),o=r(88641),i=r(33117),s=r(76752);let a={service:r(76756).M,retryDecider:(0,n.D)(o.F),computeDelay:i.y,get userAgentValue(){return(0,s.fE)()},cache:"no-store"}},6846:(e,t,r)=>{"use strict";r.d(t,{$6:()=>c,A0:()=>a,Cs:()=>l,RW:()=>u,jK:()=>f,kM:()=>s,mh:()=>h,yA:()=>d,z0:()=>i,zz:()=>o});var n=r(13989);let o="UserUnAuthenticatedException",i="UserAlreadyAuthenticatedException",s="DeviceMetadataNotFoundException",a="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 f=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."}),c=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."}),h="OAuthSignOutException",l="TokenRefreshException",d="UnexpectedSignInInterruptionException"},9494:(e,t,r)=>{"use strict";r.d(t,{Uv:()=>h,Qm:()=>d});var n,o=r(16095),i=r(13989);let s={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var a=r(72898);(n||(n={})).InvalidAuthTokens="InvalidAuthTokens";let u={[n.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}},f=(0,a.p)(u),c="CognitoIdentityServiceProvider";class h{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 r=(0,o.Cq)(t),n=await this.getKeyValueStorage().getItem(e.idToken),s=n?(0,o.Cq)(n):void 0,a=await this.getKeyValueStorage().getItem(e.refreshToken)??void 0,u=await this.getKeyValueStorage().getItem(e.clockDrift)??"0",f=Number.parseInt(u),c=await this.getKeyValueStorage().getItem(e.signInDetails),h={accessToken:r,idToken:s,refreshToken:a,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:f,username:await this.getLastAuthUser()};return c&&(h.signInDetails=JSON.parse(c)),h}catch(e){return null}}async storeTokens(e){f(void 0!==e,n.InvalidAuthTokens);let t=e.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),t);let r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,e.accessToken.toString()),e.idToken?await this.getKeyValueStorage().setItem(r.idToken,e.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),e.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,e.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),e.deviceMetadata&&(e.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,e.deviceMetadata.deviceKey),e.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,e.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,e.deviceMetadata.randomPassword)),e.signInDetail
1s?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(e.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.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),r=await this.getKeyValueStorage().getItem(t.deviceKey),n=await this.getKeyValueStorage().getItem(t.deviceGroupKey),o=await this.getKeyValueStorage().getItem(t.randomPasswordKey);return o&&n&&r?{deviceKey:r,deviceGroupKey:n,randomPassword:o}: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,o.$y)(this.authConfig?.Cognito);let t=e??await this.getLastAuthUser();return l(c,`${this.authConfig.Cognito.userPoolClientId}.${t}`)}getLastAuthUserKey(){(0,o.$y)(this.authConfig?.Cognito);let e=this.authConfig.Cognito.userPoolClientId;return`${c}.${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 l=(e,t)=>d(s)(`${e}`,t);function d(e){let t=Object.values({...e});return(e,r)=>t.reduce((t,n)=>({...t,[n]:`${e}.${r}.${n}`}),{})}},9806:(e,t,r)=>{"use strict";r.d(t,{Q:()=>E,o:()=>C});var n=r(63215),o=r(16095),i=r(23750),s=r(55799),a=r(13989),u=r(75738),f=r(14924),c=r(95186),h=r(92835),l=r(27429),d=r(3422);let g=(e=>{let t;return async(...r)=>t||(t=new Promise((n,o)=>{e(...r).then(e=>{n(e)}).catch(e=>{o(e)}).finally(()=>{t=void 0})}))})(async({tokens:e,authConfig:t,username:r,clientMetadata:n})=>{let g;(0,o.$y)(t?.Cognito);let{userPoolId:p,userPoolClientId:y,userPoolEndpoint:m}=t.Cognito,w=(0,i.J)(p);(0,s.X4)(e);let v=(g={endpointResolver:(0,u.o)({endpointOverride:m})},(0,f.A)(l.e,(0,c._)("GetTokensFromRefreshToken"),(0,h.T)(),{...d.C,...g})),{AuthenticationResult:b}=await v({region:w},{ClientId:y,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:n}),S=(0,o.Cq)(b?.AccessToken??""),A=b?.IdToken?(0,o.Cq)(b.IdToken):void 0,{iat:I}=S.payload;if(!I)throw new a.l({name:"iatNotFoundException",message:"iat not found in access token"});return{accessToken:S,idToken:A,clockDrift:1e3*I-new Date().getTime(),refreshToken:b?.RefreshToken??e.refreshToken,username:r}});var p=r(9494),y=r(91216),m=r(25478);function w({expiresAt:e,clockDrift:t,tolerance:r=5e3}){return Date.now()+t+r>e}var v=r(29592),b=r(31626),S=r(35366);class A{constructor(){this.waitForInflightOAuth=(0,m.B)()?async()=>{if(await b.f.loadOAuthInFlight())return this.inflightPromise||(this.inflightPromise=new Promise((e,t)=>{(0,S.I)(e)})),this.inflightPromise}:async()=>{}}setAuthConfig(e){b.f.setAuthConfig(e.Cognito),this.authConfig=e}setTokenRefresher(e){this.tokenRefresher=e}setAuthTokenStore(e){this.tokenStore=e}getTokenStore(){if(!this.tokenStore)throw new a.l({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new a.l({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(e){this.clientMetadataProvider=e}async getTokens(e){let t;try{(0,o.$y)(this.authConfig?.Cognito)}catch(e){return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,t=await this.getTokenStore().loadTokens();let r=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:r,clientMetadata:e?.clientMetadata??await this.clientMetadataProvider?.()}))?null:{accessToken:t?.accessToken,idToken:t?.idToken,signInDetail
1s:t?.signInDetails}}async refreshTokens({tokens:e,username:t,clientMetadata:r}){try{let{signInDetails:n}=e,o=await this.getTokenRefresher()({tokens:e,authConfig:this.authConfig,username:t,clientMetadata:r});return o.signInDetails=n,await this.setTokens({tokens:o}),y.YZ.dispatch("auth",{event:"tokenRefresh"},"Auth",y.U9),o}catch(e){return this.handleErrors(e)}}handleErrors(e){if((0,v.e)(e),this.isAuthenticationError(e)&&this.clearTokens(),y.YZ.dispatch("auth",{event:"tokenRefresh_failure",data:{error:e}},"Auth",y.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 I{constructor(){this.authTokenStore=new p.Uv,this.authTokenStore.setKeyValueStorage(n.ZL),this.tokenOrchestrator=new A,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(g)}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 E=new I,{tokenOrchestrator:C}=E},9811:(e,t,r)=>{"use strict";r.d(t,{m:()=>o});var n=r(19939);let o={convert(e,t){let r=e;return t?.urlSafe&&(r=r.replace(/-/g,"+").replace(/_/g,"/")),(0,n.nW)()(r)}}},10434:(e,t,r)=>{"use strict";r.d(t,{C:()=>s});var n,o=r(95955);!function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"}(n||(n={}));let i={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class s{constructor(e,t=n.WARN){this.name=e,this.level=t,this._pluggables=[]}_padding(e){return e<10?"0"+e:""+e}_ts(){let e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()}configure(e){return e&&(this._config=e),this._config}_log(e,...t){let r=this.level;s.LOG_LEVEL&&(r=s.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(r=window.LOG_LEVEL);let o=i[r];if(!(i[e]>=o))return;let a=console.log.bind(console);e===n.ERROR&&console.error&&(a=console.error.bind(console)),e===n.WARN&&console.warn&&(a=console.warn.bind(console)),s.BIND_ALL_LOG_LEVELS&&(e===n.INFO&&console.info&&(a=console.info.bind(console)),e===n.DEBUG&&console.debug&&(a=console.debug.bind(console)));let u=`[${e}] ${this._ts()} ${this.name}`,f="";if(1===t.length&&"string"==typeof t[0])a(f=`${u} - ${t[0]}`);else if(1===t.length)f=`${u} ${t[0]}`,a(u,t[0]);else if("string"==typeof t[0]){let e=t.slice(1);1===e.length&&(e=e[0]),f=`${u} - ${t[0]} ${e}`,a(`${u} - ${t[0]}`,e)}else f=`${u} ${t}`,a(u,t);for(let e of this._pluggables){let t={message:f,timestamp:Date.now()};e.pushLogs([t])}}log(...e){this._log(n.INFO,...e)}info(...e){this._log(n.INFO,...e)}warn(...e){this._log(n.WARN,...e)}error(...e){this._log(n.ERROR,...e)}debug(...e){this._log(n.DEBUG,...e)}verbose(...e){this._log(n.VERBOSE,...e)}addPluggable(e){e&&e.getCategoryName()===o.OU&&(this._pluggables.push(e),e.configure(this._config))}listPluggables(){return this._pluggables}}s.LOG_LEVEL=null,s.BIND_ALL_LOG_LEVELS=!1},13989:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(28498);class o extends n.x{constructor(e){super(e),this.constructor=o,Object.setPrototypeOf(this,o.prototype)}}},14924:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(e,t,r,n)=>async(o,i)=>{let s={...n,...o},a=await s.endpointResolver(s,i),u=await t(i,a);return r(await e(u,{...s}))}},16095:(e,t,r)=>{"use strict";r.d(t,{Eh:()=>c,G6:()=>f,$y:()=>u,Cq:()=>h});var n,o=r(9811),i=r(72898);!function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"}(n||(n={}));let s={[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."}},a=(0,i.p)(s);function u(e){a(!!e&&!!e.userPoolId&&!!e.userPoolClientId,n.AuthUserPoolException)}function f(e){a(!!e?.loginWith?.oauth?.domain&&!!e?.loginWith?.oauth?.redirectSignOut&&!!e?.loginWith?.oauth?.redirectSignIn&&!!e?.loginWith?.oauth?.responseType,n.OAuthNotConfigureException)}function c(e){a(!!e?.identityPoolId,n.InvalidIdentityPoolIdException)}function h(e){let t=e.split(".");if(3!==t.length)throw Error("Invalid token");try{let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(o.m.convert(r).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")}}},17867:(e,t,r)=>{"use strict";r.d(t,{AQ:()=>l,C6:()=>o,Cl:()=>i,Ju:()=>u,N3:()=>h,YH:()=>a,fX:()=>c,sH:()=>s,xN:()=>d,zs:()=>f});
1var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,a)}u((n=n.apply(e,t||[])).next())})}function a(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){var f=[a,u];if(r)throw TypeError("Generator is already executing.");for(;s&&(s=0,f[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&f[0]?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[2&f[0],o.value]),f[0]){case 0:case 1:o=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,n=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===f[0]||2===f[0])){i=0;continue}if(3===f[0]&&(!o||f[1]>o[0]&&f[1]<o[3])){i.label=f[1];break}if(6===f[0]&&i.label<o[1]){i.label=o[1],o=f;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(f);break}o[2]&&i.ops.pop(),i.trys.pop();continue}f=t.call(e,i)}catch(e){f=[6,e],n=0}finally{r=o=0}if(5&f[0])throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function c(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function h(e){return this instanceof h?(this.v=e,this):new h(e)}function l(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,f)}}),n[Symbol.asyncIterator]=function(){return this},n;function s(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{var r;(r=o[e](t)).value instanceof h?Promise.resolve(r.value.v).then(u,f):c(i[0][2],r)}catch(e){c(i[0][3],e)}}function u(e){a("next",e)}function f(e){a("throw",e)}function c(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function d(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=u(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){var i,s,a;i=n,s=o,a=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){i({value:e,done:a})},s)})}}}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},19939:(e,t,r)=>{"use strict";r.d(t,{MY:()=>o,nW:()=>s,xA:()=>i});var n=r(28498);let o=()=>
1{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."})},s=()=>{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."})}},22560:(e,t,r)=>{"use strict";r.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"]},o={partitions:[n,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},i=e=>{let{partitions:t}=o;for(let{regions:r,outputs:n,regionRegex:o}of t){let t=new RegExp(o);if(r.includes(e)||t.test(e))return n.dnsSuffix}return n.outputs.dnsSuffix}},23750:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,J:()=>o});var n=r(13989);function o(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]}},25478:(e,t,r)=>{"use strict";r.d(t,{B:()=>n});let n=()=>"undefined"!=typeof window&&void 0!==window.document},27429:(e,t,r)=>{"use strict";r.d(t,{e:()=>i});var n=r(584),o=r(32113);let i=(0,n.q)(o.F,[()=>(e,t)=>async function(t){return t.headers["cache-control"]="no-store",e(t)}])},28498:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});class n extends Error{constructor({message:e,name:t,recoverySuggestion:r,underlyingError:o,metadata:i}){if(super(e),this.name=t,this.underlyingError=o,this.recoverySuggestion=r,i){let{extendedRequestId:e,httpStatusCode:t,requestId:r}=i;this.metadata={extendedRequestId:e,httpStatusCode:t,requestId:r}}this.constructor=n,Object.setPrototypeOf(this,n.prototype)}}},29592:(e,t,r)=>{"use strict";r.d(t,{e:()=>i});var n=r(54645),o=r(13989);function i(e){if(!e||"Error"===e.name||e instanceof TypeError)throw new o.l({name:n.m.Unknown,message:"An unknown error has occurred.",underlyingError:e})}},31626:(e,t,r)=>{"use strict";r.d(t,{f:()=>o});var n=r(63215);let o=new(r(79881)).S(n.ZL)},32113:(e,t,r)=>{"use strict";let n;r.d(t,{F:()=>y});var o=r(74500);let i=(e,t)=>{let r,n;if(t?.aborted)return Promise.resolve();let o=new Promise(t=>{n=t,r=setTimeout(t,e)});return t?.addEventListener("abort",function e(o){clearTimeout(r),t?.removeEventListener("abort",e),n()}),o},s=(e,t)=>{"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata={...e.$metadata??{},attempts:t})},a={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},u=new Uint8Array(16),f=[];for(let e=0;e<256;++e)f.push((e+256).toString(16).slice(1));let c=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let o=(e=e||{}).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(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=o[e];return t}return function(e,t=0){return(f[e[t+0]]+f[e[t+1]]+f[e[t+2]]+f[e[t+3]]+"-"+f[e[t+4]]+f[e[t+5]]+"-"+f[e[t+6]]+f[e[t+7]]+"-"+f[e[t+8]]+f[e[t+9]]+"-"+f[e[t+10]]+f[e[t+11]]+f[e[t+12]]+f[e[t+13]]+f[e[t+14]]+f[e[t+15]]).toLowerCase()}(o)};r(98324),r(38647);var h=r(584),l=r(28498),d=r(54645);let g=e=>{let t;return()=>(t||(t=e()),t)},p=async({url:e,method:t,headers:r,body:n}
1,{abortSignal:o,cache:i,withCrossDomainCredentials:s})=>{let a;try{a=await fetch(e,{method:t,headers:r,body:["HEAD","GET"].includes(t.toUpperCase())?void 0:n,signal:o,cache:i,credentials:s?"include":"same-origin"})}catch(e){if(e instanceof TypeError)throw new l.x({name:d.m.NetworkError,message:"A network error has occurred.",underlyingError:e});throw e}let u={};a.headers?.forEach((e,t)=>{u[t.toLowerCase()]=e});let f={statusCode:a.status,headers:u,body:null},c=Object.assign(a.body??{},{text:g(()=>a.text()),blob:g(()=>a.blob()),json:g(()=>a.json())});return{...f,body:c}},y=(0,h.q)(p,[({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>r=>async function(n){if(0===t.trim().length)return await r(n);{let o=e.toLowerCase();return n.headers[o]=n.headers[o]?`${n.headers[o]} ${t}`:t,await r(n)}},()=>e=>async function(t){return t.headers[o.jy]||(t.headers[o.jy]=c()),e(t)},({maxAttempts:e=o.K7,retryDecider:t,computeDelay:r,abortSignal:n})=>{if(e<1)throw Error("maxAttempts must be greater than 0");return(o,a)=>async function(u){let f,c,h=a.attemptsCount??0,l=()=>{if(c)return s(c,h),c;throw s(f,h),f};for(;!n?.aborted&&h<e;){try{c=await o(u),f=void 0}catch(e){f=e,c=void 0}h=(a.attemptsCount??0)>h?a.attemptsCount??0:h+1,a.attemptsCount=h;let{isCredentialsExpiredError:s,retryable:d}=await t(c,f,a);if(!d)return l();if(a.isCredentialsExpired=!!s,!n?.aborted&&h<e){let e=r(h);await i(e,n)}}if(!n?.aborted)return l();throw Error("Request aborted.")}},({maxAttempts:e=o.K7})=>(t,r)=>async function(n){let i=r.attemptsCount??0;return n.headers[o.Q8]=`attempt=${i+1}; max=${e}`,t(n)}])},33117:(e,t,r)=>{"use strict";r.d(t,{y:()=>o});var n=r(74500);let o=e=>{let t=(function(e=3e5){return t=>{let r=2**t*100+100*Math.random();return!(r>e)&&r}})(n.mU)(e);return!1===t?n.mU:t}},35366:(e,t,r)=>{"use strict";r.d(t,{I:()=>o,i:()=>i});let n=[],o=e=>{n.push(e)},i=()=>{for(;n.length;)n.pop()?.()}},38647:(e,t,r)=>{"use strict";let n={},o={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),n[e]=t,o[t]=e}},42181:(e,t,r)=>{"use strict";r.d(t,{M:()=>c});var n=r(10434),o=r(28498);let i=new n.C("parseAWSExports"),s={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"},a=e=>e?.split(",")??[],u={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"},f={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"},c=e=>Object.keys(e).some(e=>e.startsWith("aws_"))?((e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new o.x({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from  `amplifyconfiguration.json`."});let{aws_appsync_apiKey:t,aws_appsync_authenticationType:r,aws_appsync_graphqlEndpoint:n,aws_appsync_region:u,aws_bots_config:f,aws_cognito_identity_pool_id:c,aws_cognito_sign_up_verification_method:h,aws_cognito_mfa_configuration:l,aws_cognito_mfa_types:d,aws_cognito_password_protection_settings:g,aws_cognito_verification_mechanisms:p,aws_cognito_signup_attributes:y,aws_cognito_social_providers:m,aws_cognito_username_attributes:w,aws_mandatory_sign_in:v,aws_mobile_analytics_app_id:b,aws_mobile_analytics_app_region:S,aws_user_files_s3_bucket:A,aws_user_files_s3_bucket_region:I,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:E,aws_user_pools_id:C,aws_user_pools_web_client_id:x,geo:k,oauth:T,predictions:P,aws_cloud_logic_custom:O,Notifications:U,modelIntrospection:R}=e,_={};b&&(_.Analytics={Pinpoint:{appId:b,region:S}});let{InAppMessaging:L,Push:M}=U??{};if(L?.AWSPinpoint||M?.AWSPinpoint){if(L?.AWSPinpoint){let{appId:e,region:t}=L.AWSPinpoint;_.Notifications={InAppMessaging:{Pinpoint:{appId:e,region:t}}}}if(M?.AWSPinpoint){let{appId:e,region:t}=M.AWSPinpoint;
1_.Notifications={..._.Notifications,PushNotification:{Pinpoint:{appId:e,region:t}}}}}if(Array.isArray(f)&&(_.Interactions={LexV1:Object.fromEntries(f.map(e=>[e.name,e]))}),n){let e=s[r];e||i.debug(`Invalid authentication type ${r}. Falling back to IAM.`),_.API={GraphQL:{endpoint:n,apiKey:t,region:u,defaultAuthMode:e??"iam"}},R&&(_.API.GraphQL.modelIntrospection=R)}let N=l?{status:l&&l.toLowerCase(),totpEnabled:d?.includes("TOTP")??!1,smsEnabled:d?.includes("SMS")??!1}:void 0,B=g?{minLength:g.passwordPolicyMinLength,requireLowercase:g.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:g.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:g.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:g.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,K=Array.from(new Set([...p??[],...y??[]])).reduce((e,t)=>({...e,[t.toLowerCase()]:{required:!0}}),{}),D=w?.includes("EMAIL")??!1,V=w?.includes("PHONE_NUMBER")??!1;(c||C)&&(_.Auth={Cognito:{identityPoolId:c,allowGuestAccess:"enable"!==v,signUpVerificationMethod:h,userAttributes:K,userPoolClientId:x,userPoolId:C,mfa:N,passwordFormat:B,loginWith:{username:!(D||V),email:D,phone:V}}});let $=!!T&&Object.keys(T).length>0,j=!!m&&m.length>0;if(_.Auth&&$&&(_.Auth.Cognito.loginWith={..._.Auth.Cognito.loginWith,oauth:{...(({domain:e,scope:t,redirectSignIn:r,redirectSignOut:n,responseType:o})=>({domain:e,scopes:t,redirectSignIn:a(r),redirectSignOut:a(n),responseType:o}))(T),...j&&{providers:m.map(e=>{let t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)})}}}),A&&(_.Storage={S3:{bucket:A,region:I,dangerouslyConnectToHttpEndpointForTesting:E}}),k){let{amazon_location_service:e}=k;_.Geo={LocationService:{maps:e.maps,geofenceCollections:e.geofenceCollections,searchIndices:e.search_indices,region:e.region}}}if(O&&(_.API={..._.API,REST:O.reduce((e,t)=>{let{name:r,endpoint:n,region:o,service:i}=t;return{...e,[r]:{endpoint:n,...i?{service:i}:void 0,...o?{region:o}:void 0}}},{})}),P){let{VoiceId:e}=P?.convert?.speechGenerator?.defaults??{};_.Predictions=e?{...P,convert:{...P.convert,speechGenerator:{...P.convert.speechGenerator,defaults:{voiceId:e}}}}:P}return _})(e):!function(e){let{version:t}=e;return!!t&&t.startsWith("1")}(e)?e:function(e){let t={};if(e.storage&&(t.Storage=function(e){if(!e)return;let{bucket_name:t,aws_region:r,buckets:n}=e;return{S3:{bucket:t,region:r,buckets:n&&function(e){let t={};return e.forEach(({name:e,bucket_name:r,aws_region:n,paths:o})=>{if(e in t)throw Error(`Duplicate friendly name found: ${e}. Name must be unique.`);let i=o?Object.entries(o).reduce((e,[t,r])=>(void 0!==r&&(e[t]=r),e),{}):void 0;t[e]={bucketName:r,region:n,paths:i}}),t}(n)}}}(e.storage)),e.auth&&(t.Auth=function(e){var t;if(!e)return;let{user_pool_id:r,user_pool_client_id:n,identity_pool_id:o,password_policy:i,mfa_configuration:s,mfa_methods:a,unauthenticated_identities_enabled:u,oauth:c,username_attributes:h,standard_required_attributes:l,groups:d,passwordless:g}=e,p={Cognito:{userPoolId:r,userPoolClientId:n,groups:d}};return o&&(p.Cognito={...p.Cognito,identityPoolId:o}),i&&(p.Cognito.passwordFormat={requireLowercase:i.require_lowercase,requireNumbers:i.require_numbers,requireUppercase:i.require_uppercase,requireSpecialCharacters:i.require_symbols,minLength:i.min_length??6}),s&&(p.Cognito.mfa={status:"OPTIONAL"===(t=s)?"optional":"REQUIRED"===t?"on":"off",smsEnabled:a?.includes("SMS"),totpEnabled:a?.includes("TOTP")}),u&&(p.Cognito.allowGuestAccess=u),c&&(p.Cognito.loginWith={oauth:{domain:c.domain,redirectSignIn:c.redirect_sign_in_uri,redirectSignOut:c.redirect_sign_out_uri,responseType:"token"===c.response_type?"token":"code",scopes:c.scopes,providers:function(e=[]){return e.reduce((e,t)=>(void 0!==f[t]&&e.push(f[t]),e),[])}(c.identity_providers)}}),h&&(p.Cognito.loginWith={...p.Cognito.loginWith,email:h.includes("email"),phone:h.includes("phone_number"),username:h.includes("username")}),l&&(p.Cognito.userAttributes=l.reduce((e,t)=>({...e,[t]:{required:!0}}),{})),g&&(p.Cognito.passwordless={emailOtpEnabled:g.email_otp_enabled,smsOtpEnabled:g.sms_otp_enabled,webAuthn:g.web_authn?{relyingPartyId:g.web_authn.relying_party_id,userVerification:g.web_authn.user_verification}:void 0,preferredChallenge:g.preferred_challenge}),p}(e.auth)),e.analytics&&(t.Analytics=function(e){if(!e?.amazon_pinpoint)return;let{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}(e.analytics)),e.geo&&(t.Geo=function(e){if(!e)return;let{aws_region:t,geofence_collections:r,maps:n,search_indices:o}=e;return{LocationService:{region:t,searchIndices:o,geofenceCollections:r,maps:n}}}(e.geo)),e.data&&(t.API=function(e){if(!e)return;let{aws_region:t,default_authorization_type:r,url:n,api_key:o,model_introspection:i}=e;return{GraphQL:{endpoint:n,defaultAuthMode:u[r],region:t,apiKey:o,modelIntrospection:i}}}(e.data)),e.custom){let r=function(e){if(!e?.events)return;let{url:t,aws_region:r,api_key:n,default_authorization_type:o}=e.events;return{Events:{endpoint:t,defaultAuthMode:u[o],region:r,apiKey:n}}}(e.custom);r&&"Events"in r&&(t.API={...t.API,...r})}return e.notifications&&(t.Notifications=function(e){if(!e)return;let{aws_region:t,channels:r,amazon_pinpoint_app_id:n}=e,o=r.includes("IN_APP_MESSAGING"),i=r.includes("APNS")||r.includes("FCM");if(!(o||i))return;let s={};return o&&(s.InAppMessaging={Pinpoint:{appId:n,region:t}}),i&&(s.PushNotification={Pinpoint:{appId:n,region:t}}),s}(e.notifications)),t}(e)},54645:(e,t,r)=>{"use strict";var n;r.d(t,{m:()=>n}),function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"}(n||(n={}))},55799:(e,t,r)=>{"use strict";r.d(t,{H0:()=>i,OW:()=>s,O_:()=>c,X4:()=>f,f3:()=>h});var n=r(13989),o=r(6846);function i(e){if(!e||!e.accessToken)throw new n.l({name:o.zz,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}function s(e){if(!e||!e.idToken)throw new n.l({name:o.zz,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}let a=new n.l({name:o.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:o.zz,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});function f(e){var t,r;if(l(t=e)&&!t?.refreshToken)throw a;if(!(l(r=e)&&r?.refreshToken))throw u}function c(e){if(!e||!e.deviceKey||!e.deviceGroupKey||!e.randomPassword)throw new n.l({name:o.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 h={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function l(e){return e?.accessToken||e?.idToken}},59034:(e,t,r)=>{"use strict";r.d(t,{o:()=>n});let n=URL},60996:(e,t,r)=>{"use strict";var n=r(94773),o=r(77168),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>
vendor: 18,928 bytes, line 3
30x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!a.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|g(n,o),u=s(i),f=u.write(n,o);return f!==i&&(u=u.slice(0,f)),u}if(ArrayBuffer.isView(e)){var c=e;if(P(c,Uint8Array)){var p=new Uint8Array(c);return l(p.buffer,p.byteOffset,p.byteLength)}return h(c)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return l(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var y=e.valueOf&&e.valueOf();if(null!=y&&y!==e)return a.from(y,t,r);var m=function(e){if(a.isBuffer(e)){var t=0|d(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(m)return m;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return f(e),s(e<0?0:0|d(e))}function h(e){for(var t=e.length<0?0:0|d(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}function d(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function g(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return k(e).length;default:if(o)return n?-1:x(e).length;t=(""+t).toLowerCase(),o=!0}}function p(e,t,r){var o,i,s,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=O[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=this,i=t,s=r,0===i&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:w(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return w(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function w(e,t,r,n,o){var i,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function f(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var c=-1;for(i=r;i<a;i++)if(f(e,i)===f(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===u)return c*s}else -1!==c&&(i-=i-c),c=-1}else for(r+u>a&&(r=a-u),i=r;i>=0;i--){for(var h=!0,l=0;l<u;l++)if(f(e,i+l)!==f(t,l)){h=!1;break}if(h)return i}return -1}function v(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,s,a,u,f=e[o],c=null,h=f>239?4:f>223?3:f>191?2:1;if(o+h<=r)switch(h){case 1:f<128&&(c=f);break;case 2:(192&(i=e[o+1]))==128&&(u=(31&f)<<6|63&i)>127&&(c=u);break;case 3:i=e[o+1],s=e[o+2],(192&i)==128&&(192&s)==128&&(u=(15&f)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(u=(15&f)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=h}var l=n,d=l.length;if(d<=4096)return String.fromCharCode.apply(String,l);for(var g="",p=0;p<d;)g+=String.fromCharCode.apply(String,l.slice(p,p+=4096));return g}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function S(e,t,r,n,o,i){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function A(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function I(e,t,r,n,i){return t*=1,r>>>=0,i||A(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,i){return t*=1,r>>>=0,i||A(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.hp=a,t.IS=50,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(f(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(P(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),P(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(P(i,Uint8Array))o+i.length>n.length?a.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(a.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},a.byteLength=g,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,o){if(P(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,s=r-t,u=Math.min(i,s),f=this.slice(n,o),c=e.slice(t,r),h=0;h<u;++h)if(f[h]!==c[h]){i=f[h],s=c[h];break}return i<s?-1:+(s<i)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,a,u,f,c,h,l=this.length-t;if((void 0===r||r>l)&&(r=l),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a,u=parseInt(t.substr(2*s,2),16);if((a=u)!=a)break;e[r+s]=u}return s}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,T(x(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return s=t,a=r,T(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,f=r,T(k(e),this,u,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,h=r,T(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-c),this,c,h);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;S(this,e,t,r,o,0)}var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;S(this,e,t,r,o,0)}var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);S(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);S(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||S(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return I(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return I(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),u=s.length;
3if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=s[o%u]}return this};var C=/[^+/0-9A-Za-z-_]/g;function x(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function k(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function P(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var O=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},63215:(e,t,r)=>{"use strict";r.d(t,{ZL:()=>p,pR:()=>y});var n=r(54645),o=r(28498);class i extends o.x{constructor(){super({name:n.m.PlatformNotSupported,message:"Function not supported on current platform"})}}class s{constructor(e){this.storage=e}async setItem(e,t){if(!this.storage)throw new i;this.storage.setItem(e,t)}async getItem(e){if(!this.storage)throw new i;return this.storage.getItem(e)}async removeItem(e){if(!this.storage)throw new i;this.storage.removeItem(e)}async clear(){if(!this.storage)throw new i;this.storage.clear()}}var a=r(10434);class u{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()}}let f=new a.C("CoreStorageUtils"),c=()=>{try{if("undefined"!=typeof window&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw Error("sessionStorage is not defined")}catch(e){return f.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new u}};class h extends s{constructor(){super((()=>{try{if("undefined"!=typeof window&&window.localStorage)return window.localStorage}catch(e){f.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new u})())}}class l extends s{constructor(){super(c())}}class d{constructor(e){this._storage=e}get storage(){if(!this._storage)throw new i;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 g extends d{constructor(){super(c())}}let p=new h;new l;let y=new g;new s(new u)},70273:(e,t,r)=>{"use strict";r.d(t,{H:()=>h});var n=r(91216);let o=e=>{for(let t of Reflect.ownKeys(e)){let r=e[t];(r&&"object"==typeof r||"function"==typeof r)&&o(r)}return Object.freeze(e)};var i=r(93921),s=r(42181);r(98324),r(38647);let a=new(r(10434)).C("Auth");class u{configure(e,t){this.authConfig=e,this.authOptions=t,e&&e.Cognito?.userPoolEndpoint&&a.warn(f("Amazon Cognito User Pool")),e&&e.Cognito?.identityPoolEndpoint&&a.warn(f("Amazon Cognito Identity Pool"))}async fetchAuthSession(e={}){let t,r,n=await this.getTokens(e);return n?(r=n.accessToken?.payload?.sub,t=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:n,authenticated:!0,forceRefresh:e.forceRefresh})):t=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:e.forceRefresh}),{tokens:n,credentials:t?.credentials,identityId:t?.identityId,userSub:r}}async clearCredentials(){await this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId()}async getTokens(e){return await this.authOptions?.tokenProvider?.getTokens(e)??void 0}}let f=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`;class c{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new u}configure(e,t){let r=(0,s.M)(e);this.resourcesConfig=r,t&&(this.libraryOptions=t),this.resourcesConfig=o(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),(this.resourcesConfig.Analytics?.Pinpoint||this.resourcesConfig.Notifications?.InAppMessaging?.Pinpoint||this.resourcesConfig.Notifications?.PushNotification?.Pinpoint)&&console.warn("AWS will end support for Amazon Pinpoint on October 30, 2026. The guidance is to use AWS End User Messaging for push notifications and 
3SMS, Amazon Simple Email Service for sending emails, Amazon Connect for campaigns, journeys, endpoints, and engagement analytics. Pinpoint recommends Amazon Kinesis for event collection and mobile analytics."),n.YZ.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",n.U9),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[i.$](e){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?e(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=e}notifyOAuthListener(){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth&&this.oAuthListener&&(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}let h=new c},72898:(e,t,r)=>{"use strict";r.d(t,{p:()=>o});var n=r(28498);let o=(e,t=n.x)=>(r,n,o)=>{let{message:i,recoverySuggestion:s}=e[n];if(!r)throw new t({name:n,message:o?`${i} ${o}`:i,recoverySuggestion:s})}},74500:(e,t,r)=>{"use strict";r.d(t,{K7:()=>n,Q8:()=>i,jy:()=>o,mU:()=>s});let n=3,o="amz-sdk-invocation-id",i="amz-sdk-request",s=3e5},75738:(e,t,r)=>{"use strict";r.d(t,{o:()=>s});var n=r(59034),o=r(22560),i=r(76756);let s=({endpointOverride:e})=>t=>e?{url:new n.o(e)}:(({region:e})=>({url:new n.o(`https://${i.M}.${e}.${(0,o.R)(e)}`)}))(t)},76752:(e,t,r)=>{"use strict";let n;r.d(t,{fE:()=>b});var o=r(85421);let i="6.16.2";var s=r(77011);let a=(e,t)=>!!Object.keys(e).find(e=>e.startsWith(t));var u=r(77011),f=r(77011),c=r(77011);let h=[{platform:o.dT.Expo,detectionMethod:function(){return"undefined"!=typeof global&&void 0!==global.expo}},{platform:o.dT.ReactNative,detectionMethod:function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},{platform:o.dT.NextJs,detectionMethod:function(){return"undefined"!=typeof window&&window.next&&"object"==typeof window.next}},{platform:o.dT.Nuxt,detectionMethod:function(){return"undefined"!=typeof window&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:o.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:o.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:o.dT.VueJs,detectionMethod:function(){return"undefined"!=typeof window&&a(window,"__VUE")}},{platform:o.dT.Svelte,detectionMethod:function(){return"undefined"!=typeof window&&a(window,"__SVELTE")}},{platform:o.dT.WebUnknown,detectionMethod:function(){return"undefined"!=typeof window}},{platform:o.dT.NextJsSSR,detectionMethod:function(){return"undefined"!=typeof global&&(a(global,"__next")||a(global,"__NEXT"))}},{platform:o.dT.NuxtSSR,detectionMethod:function(){return"undefined"!=typeof global&&void 0!==global.__NUXT_PATHS__}},{platform:o.dT.ReactSSR,detectionMethod:function(){return void 0!==s&&void 0!==u.env&&!!Object.keys(u.env).find(e=>e.includes("react"))}},{platform:o.dT.VueJsSSR,detectionMethod:function(){return"undefined"!=typeof global&&a(global,"__VUE")}},{platform:o.dT.AngularSSR,detectionMethod:function(){return void 0!==s&&"object"==typeof c.env&&c.env.npm_lifecycle_script?.startsWith("ng ")||!1}},{platform:o.dT.SvelteSSR,detectionMethod:function(){return void 0!==s&&void 0!==f.env&&!!Object.keys(f.env).find(e=>e.includes("svelte"))}}],l=[],d=!1,g=()=>{if(!n){if(n=h.find(e=>e.detectionMethod())?.platform||o.dT.ServerSideUnknown,d)for(;l.length;)l.pop()?.();else l.forEach(e=>{e()});p(o.dT.ServerSideUnknown,10),p(o.dT.WebUnknown,10)}return n};function p(e,t){n!==e||d||setTimeout(()=>{n=void 0,d=!0,setTimeout(g,1e3)},t)}var y=r(88045);let m="aws-amplify",w=e=>e.replace(/\+.*/,"");class v{constructor(){this.userAgent=`${m}/${w(i)}`}get framework(){return g()}get isReactNative(){return this.framework===o.dT.ReactNative||this.framework===o.dT.Expo}observeFrameworkChanges(e){d||l.push(e)}}new v;let b=e=>(({category:e,action:t}={})=>{let r=[[m,w(i)]];if(e&&r.push([e,t]),r.push(["framework",g()]),e&&t){let n=(0,y.e)(e,t);
3n&&n.forEach(e=>{r.push(e)})}return r})(e).map(([e,t])=>e&&t?`${e}/${t}`:e).join(" ")},76756:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});let n="cognito-idp"},77168:(e,t)=>{t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,f=u>>1,c=-7,h=r?o-1:0,l=r?-1:1,d=e[t+h];for(h+=l,i=d&(1<<-c)-1,d>>=-c,c+=a;c>0;i=256*i+e[t+h],h+=l,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+e[t+h],h+=l,c-=8);if(0===i)i=1-f;else{if(i===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),i-=f}return(d?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,u,f=8*i-o-1,c=(1<<f)-1,h=c>>1,l=5960464477539062e-23*(23===o),d=n?0:i-1,g=n?1:-1,p=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+h>=1?t+=l/u:t+=l*Math.pow(2,1-h),t*u>=2&&(s++,u/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(t*u-1)*Math.pow(2,o),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,o),s=0));o>=8;e[r+d]=255&a,d+=g,a/=256,o-=8);for(s=s<<o|a,f+=o;f>0;e[r+d]=255&s,d+=g,s/=256,f-=8);e[r+d-g]|=128*p}},79881:(e,t,r)=>{"use strict";r.d(t,{S:()=>u});var n=r(16095),o=r(9494),i=r(55799);let s="amplify-signin-with-hostedUI",a="CognitoIdentityServiceProvider";class u{constructor(e){this.keyValueStorage=e}async clearOAuthInflightData(){(0,n.$y)(this.cognitoConfig);let e=f(a,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=f(a,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(s),this.keyValueStorage.removeItem(e.oauthSignIn)}loadOAuthState(){(0,n.$y)(this.cognitoConfig);let e=f(a,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthState)}storeOAuthState(e){(0,n.$y)(this.cognitoConfig);let t=f(a,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthState,e)}loadPKCE(){(0,n.$y)(this.cognitoConfig);let e=f(a,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthPKCE)}storePKCE(e){(0,n.$y)(this.cognitoConfig);let t=f(a,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthPKCE,e)}setAuthConfig(e){this.cognitoConfig=e}async loadOAuthInFlight(){(0,n.$y)(this.cognitoConfig);let e=f(a,this.cognitoConfig.userPoolClientId);return await this.keyValueStorage.getItem(e.inflightOAuth)==="true"}async storeOAuthInFlight(e){(0,n.$y)(this.cognitoConfig);let t=f(a,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(t.inflightOAuth,`${e}`)}async loadOAuthSignIn(){(0,n.$y)(this.cognitoConfig);let e=f(a,this.cognitoConfig.userPoolClientId),t=await this.keyValueStorage.getItem(s),[r,o]=(await this.keyValueStorage.getItem(e.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:"true"===r||"true"===t,preferPrivateSession:"true"===o}}async storeOAuthSignIn(e,t=!1){(0,n.$y)(this.cognitoConfig);let r=f(a,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${e},${t}`)}}let f=(e,t)=>(0,o.Qm)(i.f3)(e,t)},85421:(e,t,r)=>{"use strict";var n,o,i,s,a,u,f,c,h,l,d,g,p,y;r.d(t,{BM:()=>u,ID:()=>c,b7:()=>o,dT:()=>n,r5:()=>h,rn:()=>i,sZ:()=>y}),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"}(o||(o={})),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"}(s||(s={})),function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"}(a||(a={})),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"}(f||(f={})),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"}(c||(c={})),function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"}(h||(h={})),(l||(l={})).None="0",function(e){e.Convert="1",e.Identify="2",e.Interpret="3"}(d||(d={})),(g||(g={})).Subscribe="1",function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"}(p||(p={})),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"}(y||(y={}))},88045:(e,t,r)=>{"use strict";r.d(t,{E:()=>o,e:()=>i});let n={},o=e=>{n[e.category]=e.apis.reduce((t,r)=>({...t,[r]:{refCount:t[r]?.refCount?t[r].refCount+1:1,additionalDetails:e.additionalDetails}}),n[e.category]??{});let t=!1;return()=>{t||(t=!0,e.apis.forEach(t=>{let r=n[e.category][t].refCount;r>1?n[e.category][t].refCount=r-1:(delete n[e.category][t],Object.keys(n[e.category]).length||delete n[e.category])}))}},i=(e,t)=>n[e]?.[t]?.additionalDetails},88641:(e,t,r)=>{"use strict";r.d(t,{F:()=>o,Y:()=>i});var n=r(99846);let o=async e=>{if(!e||e.statusCode<300)return;let t=await i(e),r=(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:r,$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)})}},91216:(e,t,r)=>{"use strict";r.d(t,{U9:()=>s,YZ:()=>f,f3:()=>c});var n=r(10434),o=r(95955),i=r(28498);let s="undefined"!=typeof Symbol?Symbol("amplify_default"):"@@amplify_default",a=new n.C("Hub");class u{constructor(e){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}_remove(e,t){let r=this.listeners.get(e);if(!r)return void a.warn(`No listeners for ${e}`);this.listeners.set(e,[...r.filter(({callback:e})=>e!==t)])}dispatch(e,t,r,n){"string"==typeof e&&this.protectedChannels.indexOf(e)>-1&&n!==s&&a.warn(`WARNING: ${e} is protected and dispatching on it can have unintended consequences`);let o={channel:e,payload:{...t},source:r,patternInfo:[]};try{this._toListeners(o)}catch(e){a.error(e)}}listen(e,t,r="noname"){if("function"!=typeof t)throw new i.x({name:o.d1,message:"No callback supplied to Hub"});let n=this.listeners.get(e);return n||(n=[],this.listeners.set(e,n)),n.push({name:r,callback:t}),()=>{this._remove(e,t)}}_toListeners(e){let{channel:t,payload:r}=e,n=this.listeners.get(t);
3n&&n.forEach(n=>{a.debug(`Dispatching to ${t} with `,r);try{n.callback(e)}catch(e){a.error(e)}})}}let f=new u("__default__"),c=new u("internal-hub")},92835:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(88641),o=r(29592),i=r(13989);let s=()=>async e=>{if(e.statusCode>=300){let t=await (0,n.F)(e);throw(0,o.e)(t),new i.l({name:t.name,message:t.message,metadata:t.$metadata})}return(0,n.Y)(e)}},93921:(e,t,r)=>{"use strict";r.d(t,{$:()=>n});let n=Symbol("oauth-listener")},94773:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=u(e),s=i[0],a=i[1],f=new o((s+a)*3/4-a),c=0,h=a>0?s-4:s;for(r=0;r<h;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],f[c++]=t>>16&255,f[c++]=t>>8&255,f[c++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,f[c++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,f[c++]=t>>8&255,f[c++]=255&t),f},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(e,t,n){for(var o,i=[],s=t;s<n;s+=3)o=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},95186:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});let n=e=>(t,r)=>i(r,o(e),JSON.stringify(t)),o=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${e}`}),i=({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"})},95955:(e,t,r)=>{"use strict";r.d(t,{OU:()=>n,YJ:()=>o,d1:()=>i});let n="Logging",o="x-amz-user-agent",i="NoHubcallbackProvidedException"},97026:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var n=r(54645);let o=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],i=e=>async(t,r)=>{let n=r??await e(t)??void 0,i=n?.code||n?.name,s=t?.statusCode;return{retryable:f(r)||u(s,i)||(e=>!!e&&o.includes(e))(i)||c(s,i)}},s=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],a=["TimeoutError","RequestTimeout","RequestTimeoutException"],u=(e,t)=>
3429===e||!!t&&s.includes(t),f=e=>[n.m.NetworkError,"ERR_NETWORK"].includes(e?.name),c=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&a.includes(t)},98324:(e,t,r)=>{"use strict";r.d(t,{I:()=>c});var n=r(17867),o=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),i=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],s=function(){function e(){this.state=Int32Array.from(i),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>0x1fffffffffffff)throw Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%64>=56){for(var n=this.bufferLength;n<64;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(var n=this.bufferLength;n<56;n++)t.setUint8(n,0);t.setUint32(56,Math.floor(e/0x100000000),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}for(var o=new Uint8Array(32),n=0;n<8;n++)o[4*n]=this.state[n]>>>24&255,o[4*n+1]=this.state[n]>>>16&255,o[4*n+2]=this.state[n]>>>8&255,o[4*n+3]=this.state[n]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],s=t[3],a=t[4],u=t[5],f=t[6],c=t[7],h=0;h<64;h++){if(h<16)this.temp[h]=(255&e[4*h])<<24|(255&e[4*h+1])<<16|(255&e[4*h+2])<<8|255&e[4*h+3];else{var l=this.temp[h-2],d=(l>>>17|l<<15)^(l>>>19|l<<13)^l>>>10,g=((l=this.temp[h-15])>>>7|l<<25)^(l>>>18|l<<14)^l>>>3;this.temp[h]=(d+this.temp[h-7]|0)+(g+this.temp[h-16]|0)}var p=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&u^~a&f)|0)+(c+(o[h]+this.temp[h]|0)|0)|0,y=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&i^n&i)|0;c=f,f=u,u=a,a=s+p|0,s=i,i=n,n=r,r=p+y|0}t[0]+=r,t[1]+=n,t[2]+=i,t[3]+=s,t[4]+=a,t[5]+=u,t[6]+=f,t[7]+=c},e}(),a=r(60996).hp,u=void 0!==a&&a.from?function(e){return a.from(e,"utf8")}:e=>new TextEncoder().encode(e);function f(e){return e instanceof Uint8Array?e:"string"==typeof e?u(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var c=function(){function e(e){this.secret=e,this.hash=new s,this.reset()}return e.prototype.update=function(e){if(!("string"==typeof e?0===e.length:0===e.byteLength)&&!this.error)try{this.hash.update(f(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new s,this.secret){this.outer=new s;var e=function(e){var t=f(e);if(t.byteLength>64){var r=new s;r.update(t),t=r.digest()}var n=new Uint8Array(64);return n.set(t),n}(this.secret),t=new Uint8Array(64);t.set(e);for(var r=0;r<64;r++)e[r]^=54,t[r]^=92;this.hash.update(e),this.outer.update(t);for(var r=0;r<e.byteLength;r++)e[r]=0}},e}()},99846:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});let n=e=>{let{headers:t,statusCode:r}=e;return{...o(e)?e.$metadata:{},httpStatusCode:r,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"]}},o=e=>"object"==typeof e?.$metadata}}]);

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.