PageSourceSearch

https://www.competitionline.com/assets/loadCognitoIdentity-DKwywwt7.js

js competitionline.com collected 2026-10-02 04:04:49 UTC 7,617 bytes, 1 lines download raw bytes

1var O=Object.defineProperty;var F=(t,n,e)=>n in t?O(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e;var i=(t,n,e)=>F(t,typeof n!="symbol"?n+"":n,e);import{c as N,S as A,a as v,H as q,t as S,w as L,d as l,e as y,b as M,p as T,f as G,C as _,g as j,h as B,i as K,j as ue}from"./NewsletterPreviewRecipients-DLW2MhJ2.js";import"./index-CwbYIfNC.js";import"./CConfirmationDialog.vue_vue_type_script_setup_true_lang-ByK76vij.js";const r=t=>{if(t==null)return{};if(Array.isArray(t))return t.filter(n=>n!=null).map(r);if(typeof t=="object"){const n={};for(const e of Object.keys(t))t[e]!=null&&(n[e]=r(t[e]));return n}return t},P=(t,n)=>N(t,n).then(e=>{if(e.length)try{return JSON.parse(e)}catch(o){throw(o==null?void 0:o.name)==="SyntaxError"&&Object.defineProperty(o,"$responseBodyText",{value:e}),o}return{}}),D=async(t,n)=>{var o;const e=await P(t,n);return e.message=(o=e.message)!=null?o:e.Message,e},k=(t,n)=>{const e=(p,c)=>Object.keys(p).find(x=>x.toLowerCase()===c.toLowerCase()),o=p=>{let c=p;return typeof c=="number"&&(c=c.toString()),c.indexOf(",")>=0&&(c=c.split(",")[0]),c.indexOf(":")>=0&&(c=c.split(":")[0]),c.indexOf("#")>=0&&(c=c.split("#")[1]),c},s=e(t.headers,"x-amzn-errortype");if(s!==void 0)return o(t.headers[s]);if(n&&typeof n=="object"){const p=e(n,"code");if(p&&n[p]!==void 0)return o(n[p]);if(n.__type!==void 0)return o(n.__type)}};class a extends A{constructor(n){super(n),Object.setPrototypeOf(this,a.prototype)}}class u extends a{constructor(e){super({name:"InternalErrorException",$fault:"server",...e});i(this,"name","InternalErrorException");i(this,"$fault","server");Object.setPrototypeOf(this,u.prototype)}}class f extends a{constructor(e){super({name:"InvalidParameterException",$fault:"client",...e});i(this,"name","InvalidParameterException");i(this,"$fault","client");Object.setPrototypeOf(this,f.prototype)}}class E extends a{constructor(e){super({name:"LimitExceededException",$fault:"client",...e});i(this,"name","LimitExceededException");i(this,"$fault","client");Object.setPrototypeOf(this,E.prototype)}}class h extends a{constructor(e){super({name:"NotAuthorizedException",$fault:"client",...e});i(this,"name","NotAuthorizedException");i(this,"$fault","client");Object.setPrototypeOf(this,h.prototype)}}class w extends a{constructor(e){super({name:"ResourceConflictException",$fault:"client",...e});i(this,"name","ResourceConflictException");i(this,"$fault","client");Object.setPrototypeOf(this,w.prototype)}}class C extends a{constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});i(this,"name","TooManyRequestsException");i(this,"$fault","client");Object.setPrototypeOf(this,C.prototype)}}class g extends a{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});i(this,"name","ResourceNotFoundException");i(this,"$fault","client");Object.setPrototypeOf(this,g.prototype)}}class I extends a{constructor(e){super({name:"ExternalServiceException",$fault:"client",...e});i(this,"name","ExternalServiceException");i(this,"$fault","client");Object.setPrototypeOf(this,I.prototype)}}class b extends a{constructor(e){super({name:"InvalidIdentityPoolConfigurationException",$fault:"client",...e});i(this,"name","InvalidIdentityPoolConfigurationException");i(this,"$fault","client");Object.setPrototypeOf(this,b.prototype)}}class z extends a{constructor(e){super({name:"DeveloperUserAlreadyRegisteredException",$fault:"client",...e});i(this,"name","DeveloperUserAlreadyRegisteredException");i(this,"$fault","client");Object.setPrototypeOf(this,z.prototype)}}class R extends a{constructor(e){super({name:"ConcurrentModificationException",$fault:"client",...e});i(this,"name","ConcurrentModificationException");i(this,"$fault","client");Object.setPrototypeOf(this,R.prototype)}}const H=t=>({...t,...t.Logins&&{Logins:v}}),J=t=>({...t,...t.SecretKey&&{SecretKey:v}}),U=t=>({...t,...t.Credentials&&{Credentials:J(t.Credentials)}}),W=async(t,n)=>{const e=ye("GetCredentialsForIdentity");let o;return o=JSON.stringify(r(t)),pe(n,e,"/",void 0,o)},V=async(t,n)=>{if(t.statusCode>=300)return Q(t,n);const e=await P(t.body,n);let o={};return o=de(e),{$metadata:d(t),...o}},Q=async(t,n)=>{const e={...t,body:await D(t.body,n)},o=k(t,e.body);switch(o){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await ee(e);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await ne(e);case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":throw await oe(e);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await se(e);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await ie(e);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await re(e);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await ce(e);case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":throw await Z(e);case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":throw await te(e);case"DeveloperUserAlreadyRegisteredException":case"com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException":throw await Y(e);case"ConcurrentModificationException":case"com.amazonaws.cognitoidentity#ConcurrentModificationException":throw await X(e);default:const s=e.body;return le({output:t,parsedBody:s,errorCode:o})}},X=async(t,n)=>{const e=t.body,o=r(e),s=new R({$metadata:d(t),...o});return l(s,e)},Y=async(t,n)=>{const e=t.body,o=r(e),s=new z({$metadata:d(t),...o});return l(s,e)},Z=async(t,n)=>{const e=t.body,o=r(e),s=new I({$metadata:d(t),...o});return l(s,e)},ee=async(t,n)=>{const e=t.body,o=r(e),s=new u({$metadata:d(t),...o});return l(s,e)},te=async(t,n)=>{const e=t.body,o=r(e),s=new b({$metadata:d(t),...o});return l(s,e)},ne=async(t,n)=>{const e=t.body,o=r(e),s=new f({$metadata:d(t),...o});return l(s,e)},oe=async(t,n)=>{const e=t.body,o=r(e),s=new E({$metadata:d(t),...o});return l(s,e)},se=async(t,n)=>{const e=t.body,o=r(e),s=new h({$metadata:d(t),...o});return l(s,e)},ie=async(t,n)=>{const e=t.body,o=r(e),s=new w({$metadata:d(t),...o});return l(s,e)},ce=async(t,n)=>{const e=t.body,o=r(e),s=new g({$metadata:d(t),...o});return l(s,e)},re=async(t,n)=>{const e=t.body,o=r(e),s=new C({$metadata:d(t),...o});return l(s,e)},ae=(t,n)=>S(t,{AccessKeyId:y,Expiration:e=>M(T(G(e))),SecretKey:y,SessionToken:y}),de=(t,n)=>S(t,{Credentials:e=>ae(e),IdentityId:y}),d=t=>{var n,e;return{httpStatusCode:t.statusCode,requestId:(e=(n=t.headers["x-amzn-requestid"])!=null?n:t.headers["x-amzn-request-id"])!=null?e:t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}},le=L(a),pe=async(t,n,e,o,s)=>{const{hostname:p,protocol:c="https",port:x,path:m}=await t.endpoint(),$={protocol:c,hostname:p,port:x,method:"POST",path:m.endsWith("/")?m.slice(0,-1)+e:m+e,headers:n};return s!==void 0&&($.body=s),new q($)};function ye(t){return{"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${t}`}}class he extends _.classBuilder().ep(j).m(function(n,e,o,s){return[B(o,this.serialize,this.deserialize),K(o,n.getEndpointParameterInstru
1ctions())]}).s("AWSCognitoIdentityService","GetCredentialsForIdentity",{}).n("CognitoIdentityClient","GetCredentialsForIdentityCommand").f(H,U).ser(W).de(V).build(){}export{ue as CognitoIdentityClient,he as GetCredentialsForIdentityCommand};

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.