1/*! For license information please see 9720.50050422.js.LICENSE.txt */ 2"use strict";(self.webpackChunkvirtual_guide=self.webpackChunkvirtual_guide||[]).push([[9720],{12364:(e,t,r)=>{function n(e,t,r){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=r}r.d(t,{J:()=>n})},17772:(e,t,r)=>{r.d(t,{c:()=>s});var n=r(37549),o=r(25994),i=r(82776),a=r(34115);function s(e){var t=this;return function(){return(0,n.sH)(t,void 0,void 0,function(){var t,r,s,c,u,l,f,d,h,y,v,p,g;return(0,n.YH)(this,function(n){switch(n.label){case 0:return y=(h=e.client).send,v=o.t.bind,g={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,(0,a.X)(e.logins)]:[3,2];case 1:return p=n.sent(),[3,3];case 2:p=void 0,n.label=3;case 3:return[4,y.apply(h,[new(v.apply(o.t,[void 0,(g.Logins=p,g)]))])];case 4:return t=n.sent().Credentials,r=void 0===t?function(){throw new i.mZ("Response from Amazon Cognito contained no credentials")}():t,s=r.AccessKeyId,c=void 0===s?function(){throw new i.mZ("Response from Amazon Cognito contained no access key ID")}():s,u=r.Expiration,l=r.SecretKey,f=void 0===l?function(){throw new i.mZ("Response from Amazon Cognito contained no secret key")}():l,d=r.SessionToken,[2,{identityId:e.identityId,accessKeyId:c,secretAccessKey:f,sessionToken:d,expiration:u}]}})})}}},19354:(e,t,r)=>{r.d(t,{vJ:()=>a,TD:()=>u});var n=function(){return n=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},n.apply(this,arguments)};function o(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}function i(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var a=function(e){var t;return n(n({},e),{tls:null===(t=e.tls)||void 0===t||t,endpoint:e.endpoint?s(e):function(){return c(e)},isCustomEndpoint:!!e.endpoint})},s=function(e){var t=e.endpoint,r=e.urlParser;if("string"===typeof t){var n=Promise.resolve(r(t));return function(){return n}}if("object"===typeof t){var o=Promise.resolve(t);return function(){return o}}return t},c=function(e){return o(void 0,void 0,void 0,function(){var t,r,n,o,a;return i(this,function(i){switch(i.label){case 0:return t=e.tls,r=void 0===t||t,[4,e.region()];case 1:if(n=i.sent(),!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(n))throw new Error("Invalid region in client config");return[4,e.regionInfoProvider(n)];case 2:if(!(o=(null!==(a=i.sent())&&void 0!==a?a:{}).hostname))throw new Error("Cannot resolve hostname from client config");return[2,e.urlParser((r?"https:":"http:")+"//"+o)]}})})},u=function(e){if(!e.region)throw new Error("Region is missing");return n(n({},e),{region:l(e.region)})},l=function(e){if("string"===typeof e){var t=Promise.resolve(e);return function(){return t}}return e}},19719:(e,t,r)=>{r.r(t),r.d(t,{__assign:()=>i,__asyncDelegator:()=>w,__asyncGenerator:()=>b,__asyncValues:()=>S,__await:()=>m,__awaiter:()=>l,__classPrivateFieldGet:()=>x,__classPrivateFieldSet:()=>E,__createBinding:()=>d,__decorate:()=>s,__exportStar:()=>h,__extends:()=>o,__generator:()=>f,__importDefault:()=>O,__importStar:()=>
vendor: 5,214 bytes, line 2
2A,__makeTemplateObject:()=>_,__metadata:()=>u,__param:()=>c,__read:()=>v,__rest:()=>a,__spread:()=>p,__spreadArrays:()=>g,__values:()=>y});var 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)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)};function o(e,t){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},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}function f(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function d(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function h(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||(t[r]=e[r])}function y(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 new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function p(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function g(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function m(e){return this instanceof m?(this.v=e,this):new m(e)}function b(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})})}function s(e,t){try{(r=o[e](t)).value instanceof m?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(n){l(i[0][3],n)}var r}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function w(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:m(e[n](t)),done:"return"===n}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(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){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,o,(t=e[r](t)).done,t.value)})}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}
2function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function O(e){return e&&e.__esModule?e:{default:e}}function x(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function E(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}},19749:(e,t,r)=>{r.d(t,{Y:()=>I});var n=r(86520),o=r(84181),i=r(96403),a=r(95769),s=r(80002),c=r(76655),u=r(88595);class l{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,n.A)(this,"queryCompat",void 0),this.queryCompat=e}resolveRestContentType(e,t){const r=t.getMemberSchemas(),n=Object.values(r).find(e=>!!e.getMergedTraits().httpPayload);if(n){const t=n.getMergedTraits().mediaType;return t||(n.isStringSchema()?"text/plain":n.isBlobSchema()?"application/octet-stream":e)}if(!t.isUnitSchema()){if(Object.values(r).find(e=>{const{httpQuery:t,httpQueryParams:r,httpHeader:n,httpLabel:o,httpPrefixHeaders:i}=e.getMergedTraits();return!t&&!r&&!n&&!o&&void 0===i}))return e}}async getErrorSchemaOrThrowBaseException(e,t,r,n,o,i){let a=t,s=e;e.includes("#")&&([a,s]=e.split("#"));const u={$metadata:o,$fault:r.statusCode<500?"client":"server"},l=c.O.for(a);try{var f;return{errorSchema:null!==(f=null===i||void 0===i?void 0:i(l,s))&&void 0!==f?f:l.getSchema(e),errorMetadata:u}}catch(v){var d,h;n.message=null!==(d=null!==(h=n.message)&&void 0!==h?h:n.Message)&&void 0!==d?d:"UnknownError";const e=c.O.for("smithy.ts.sdk.synthetic."+a),t=e.getBaseException();if(t){var y;const r=null!==(y=e.getErrorCtor(t))&&void 0!==y?y:Error;throw this.decorateServiceException(Object.assign(new r({name:s}),u),n)}throw this.decorateServiceException(Object.assign(new Error(s),u),n)}}decorateServiceException(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.queryCompat){var r;const n=null!==(r=e.Message)&&void 0!==r?r:t.Message,o=(0,u.M)(e,t);return n&&(o.Message=n,o.message=n),o}return(0,u.M)(e,t)}setQueryCompatError(e,t){var r;const n=null===(r=t.headers)||void 0===r?void 0:r["x-amzn-query-error"];if(void 0!==e&&null!=n){const[t,r]=n.split(";"),o=Object.entries(e),i={Code:t,Type:r};Object.assign(e,i);for(const[e,n]of o)i[e]=n;delete i.__type,e.Error=i}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}}class f{constructor(){(0,n.A)(this,"serdeContext",void 0)}setSerdeContext(e){this.serdeContext=e}}var d=r(90546),h=r(68001),y=r(98993),v=r(88002),p=r(62);function g(e,t,r){if(null!==r&&void 0!==r&&r.source){const e=r.source;if("number"===typeof t&&(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||e!==String(t))){return e.includes(".")?new v.D(e,"bigDecimal"):BigInt(e)}}return t}var m=r(66963),b=r(11723);const w=(e,t)=>((e,t)=>(0,m.P)(e,t).then(e=>{var r;return(null!==(r=null===t||void 0===t?void 0:t.utf8Encoder)&&void 0!==r?r:b.P)(e)}))(e,t).then(e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw"SyntaxError"===(null===t||void 0===t?void 0:t.name)&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}});class S extends f{constructor(e){super(),(0,n.A)(this,"settings",void 0),this.settings=e}async read(e,t){return this._read(e,"string"===typeof t?JSON.parse(t,g):await w(t,this.serdeContext))}readObject(e,t){return this._read(e,t)}_read(e,t){const r=null!==t&&"object"===typeof t,n=s.l.of(e);if(n.isListSchema()&&Array.isArray(t)){const e=n.getValueSchema(),r=[],o=!!n.getMergedTraits().sparse;for(const n of t)(o||null!=n)&&r.push(this._read(e,n));return r}if(n.isMapSchema()&&r){const e=n.getValueSchema(),r={},o=!!n.getMergedTraits().sparse;for(const[n,i]of Object.entries(t))(o||null!=i)&&(r[n]=this._read(e,i));return r}if(n.isStructSchema()&&r){const e={};for(const[r,i]of function*(e,t,r){if(e.isUnitSchema())return;const n=e.getSchema();let o=Object.keys(t).length;for(let a=0;a<n[4].length&&0!==o;++a){const e=n[4][a],c=new s.l([n[5][a],0],e);let u=e;var i;r&&(u=null!==(i=c.getMergedTraits()[r])&&void 0!==i?i:e),u in t&&(yield[e,c],o-=1)}}(n,t,!!this.settings.jsonName&&"jsonName")){var o;const n=this.settings.jsonName&&null!==(o=i.getMergedTraits().jsonName)&&void 0!==o?o:r,a=this._read(i,t[n]);null!=a&&(e[r]=a)}return e}if(n.isBlobSchema()&&"string"===typeof t)return(0,p.E)(t);const i=n.getMergedTraits().mediaType;if(n.isStringSchema()&&"string"===typeof t&&i){if("application/json"===i||i.endsWith("+json"))return h.A.from(t)}if(n.isTimestampSchema()&&null!=t){switch((0,d.V)(n,this.settings)){case 5:return(0,y.t_)(t);case 6:return(0,y.xE)(t);case 7:return(0,y.l3)(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}}
2if(n.isBigIntegerSchema()&&("number"===typeof t||"string"===typeof t))return BigInt(t);if(n.isBigDecimalSchema()&&void 0!=t){if(t instanceof v.D)return t;const e=t;return"bigDecimal"===e.type&&"string"in e?new v.D(e.string,e.type):new v.D(String(t),"bigDecimal")}if(n.isNumericSchema()&&"string"===typeof t)switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}if(n.isDocumentSchema()){if(r){const e=Array.isArray(t)?[]:{};for(const[r,o]of Object.entries(t))o instanceof v.D?e[r]=o:e[r]=this._read(n,o);return e}return structuredClone(t)}return t}}var _=r(85038),A=r(11475);const O=String.fromCharCode(925);class x{constructor(){(0,n.A)(this,"values",new Map),(0,n.A)(this,"counter",0),(0,n.A)(this,"stage",0)}createReplacer(){if(1===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof v.D){const e="".concat(O+"nv"+this.counter++,"_")+t.string;return this.values.set('"'.concat(e,'"'),t.string),e}if("bigint"===typeof t){const e=t.toString(),r="".concat(O+"b"+this.counter++,"_")+e;return this.values.set('"'.concat(r,'"'),e),r}return t}}replaceInJson(e){if(0===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(2===this.stage)throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,0===this.counter)return e;for(const[t,r]of this.values)e=e.replace(t,r);return e}}class E extends f{constructor(e){super(),(0,n.A)(this,"settings",void 0),(0,n.A)(this,"buffer",void 0),(0,n.A)(this,"rootSchema",void 0),this.settings=e}write(e,t){this.rootSchema=s.l.of(e),this.buffer=this._write(this.rootSchema,t)}writeDiscriminatedDocument(e,t){this.write(e,t),"object"===typeof this.buffer&&(this.buffer.__type=s.l.of(e).getName(!0))}flush(){const{rootSchema:e}=this;if(this.rootSchema=void 0,null!==e&&void 0!==e&&e.isStructSchema()||null!==e&&void 0!==e&&e.isDocumentSchema()){const e=new x;return e.replaceInJson(JSON.stringify(this.buffer,e.createReplacer(),0))}return this.buffer}_write(e,t,r){const n=null!==t&&"object"===typeof t,o=s.l.of(e);if(o.isListSchema()&&Array.isArray(t)){const e=o.getValueSchema(),r=[],n=!!o.getMergedTraits().sparse;for(const o of t)(n||null!=o)&&r.push(this._write(e,o));return r}if(o.isMapSchema()&&n){const e=o.getValueSchema(),r={},n=!!o.getMergedTraits().sparse;for(const[o,i]of Object.entries(t))(n||null!=i)&&(r[o]=this._write(e,i));return r}if(o.isStructSchema()&&n){const e={};for(const[r,n]of function*(e,t){if(e.isUnitSchema())return;const r=e.getSchema();for(let n=0;n<r[4].length;++n){const e=r[4][n],o=new s.l([r[5][n],0],e);(e in t||o.isIdempotencyToken())&&(yield[e,o])}}(o,t)){const a=this._write(n,t[r],o);if(void 0!==a){var i;e[this.settings.jsonName&&null!==(i=n.getMergedTraits().jsonName)&&void 0!==i?i:r]=a}}return e}if(null!==t||null===r||void 0===r||!r.isStructSchema()){var a,c;if(o.isBlobSchema()&&(t instanceof Uint8Array||"string"===typeof t)||o.isDocumentSchema()&&t instanceof Uint8Array)return o===this.rootSchema?t:(null!==(a=null===(c=this.serdeContext)||void 0===c?void 0:c.base64Encoder)&&void 0!==a?a:A.n)(t);if((o.isTimestampSchema()||o.isDocumentSchema())&&t instanceof Date){switch((0,d.V)(o,this.settings)){case 5:return t.toISOString().replace(".000Z","Z");case 6:return(0,y.JV)(t);case 7:return t.getTime()/1e3;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1e3}}if(o.isNumericSchema()&&"number"===typeof t&&(Math.abs(t)===1/0||isNaN(t)))return String(t);
2if(o.isStringSchema()){if("undefined"===typeof t&&o.isIdempotencyToken())return(0,_.v4)();const e=o.getMergedTraits().mediaType;if(null!=t&&e){if("application/json"===e||e.endsWith("+json"))return h.A.from(t)}}if(o.isDocumentSchema()){if(n){const e=Array.isArray(t)?[]:{};for(const[r,n]of Object.entries(t))n instanceof v.D?e[r]=n:e[r]=this._write(o,n);return e}return structuredClone(t)}return t}}}class k extends f{constructor(e){super(),(0,n.A)(this,"settings",void 0),this.settings=e}createSerializer(){const e=new E(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){const e=new S(this.settings);return e.setSerdeContext(this.serdeContext),e}}class I extends o.s{constructor(e){let{defaultNamespace:t}=e;super({defaultNamespace:t}),(0,n.A)(this,"serializer",void 0),(0,n.A)(this,"deserializer",void 0),(0,n.A)(this,"codec",void 0),(0,n.A)(this,"mixin",new l);const r={timestampFormat:{useTrait:!0,default:7},httpBindings:!0,jsonName:!0};this.codec=new k(r),this.serializer=new i._(this.codec.createSerializer(),r),this.deserializer=new a.z(this.codec.createDeserializer(),r)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(e){this.codec.setSerdeContext(e),super.setSerdeContext(e)}async serializeRequest(e,t,r){const n=await super.serializeRequest(e,t,r),o=s.l.of(e.input);if(!n.headers["content-type"]){const e=this.mixin.resolveRestContentType(this.getDefaultContentType(),o);e&&(n.headers["content-type"]=e)}return null==n.body&&n.headers["content-type"]===this.getDefaultContentType()&&(n.body="{}"),n}async deserializeResponse(e,t,r){const n=await super.deserializeResponse(e,t,r),o=s.l.of(e.output);for(const[i,a]of o.structIterator())a.getMemberTraits().httpPayload&&!(i in n)&&(n[i]=null);return n}async handleError(e,t,r,n,o){var i,a,u,l;const f=null!==(i=((e,t)=>{const r=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),n=e=>{let t=e;return"number"===typeof t&&(t=t.toString()),t.indexOf(",")>=0&&(t=t.split(",")[0]),t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},o=r(e.headers,"x-amzn-errortype");if(void 0!==o)return n(e.headers[o]);if(t&&"object"===typeof t){const e=r(t,"code");if(e&&void 0!==t[e])return n(t[e]);if(void 0!==t.__type)return n(t.__type)}})(r,n))&&void 0!==i?i:"Unknown",{errorSchema:d,errorMetadata:h}=await this.mixin.getErrorSchemaOrThrowBaseException(f,this.options.defaultNamespace,r,n,o),y=s.l.of(d),v=null!==(a=null!==(u=n.message)&&void 0!==u?u:n.Message)&&void 0!==a?a:"Unknown",p=new(null!==(l=c.O.for(d[1]).getErrorCtor(d))&&void 0!==l?l:Error)(v);await this.deserializeHttpMessage(d,t,r,n);const g={};for(const[s,c]of y.structIterator()){var m;const e=null!==(m=c.getMergedTraits().jsonName)&&void 0!==m?m:s;g[s]=this.codec.createDeserializer().readObject(c,n[e])}throw this.mixin.decorateServiceException(Object.assign(p,h,{$fault:y.getMergedTraits().error,message:v},g),n)}getDefaultContentType(){return"application/json"}}},22637:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},28496:(e,t,r)=>{r.d(t,{o:()=>o});var n=function(){return n=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},n.apply(this,arguments)};var o=function(e){return n(n({},e),{eventStreamMarshaller:e.eventStreamSerdeProvider(e)})}},34115:(e,t,r)=>{r.d(t,{X:()=>o});var n=r(37549);function o(e){return Promise.all(Object.keys(e).reduce(function(t,r){var n=e[r];return"string"===typeof n?t.push([r,n]):t.push(n().then(function(e){return[r,e]})),t},[])).then(function(e){return e.reduce(function(e,t){var r=(0,n.zs)(t,2),o=r[0],i=r[1];return e[o]=i,e},{})})}},37549:(e,t,r)=>{r.d(t,{YH:()=>o,sH:()=>n,zs:()=>i});function n(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}function o(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function i(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}},43162:(e,t,r)=>{r.d(t,{J2:()=>z});for(var n=r(95521),o=r(19719),i={},a={},s=0;s<256;s++){var c=s.toString(16).toLowerCase();1===c.length&&(c="0"+c),i[s]=c,a[c]=s}function u(e){for(var t="",r=0;r<e.byteLength;r++)t+=i[e[r]];return t}var l=function(){function e(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}return e.fromNumber=function(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw new Error(t+" is too large (or, if negative, too small) to represent as an Int64");
2for(var r=new Uint8Array(8),n=7,o=Math.abs(Math.round(t));n>-1&&o>0;n--,o/=256)r[n]=o;return t<0&&f(r),new e(r)},e.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&f(e),parseInt(u(e),16)*(t?-1:1)},e.prototype.toString=function(){return String(this.valueOf())},e}();function f(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}var d,h=function(){function e(e,t){this.toUtf8=e,this.fromUtf8=t}return e.prototype.format=function(e){var t,r,n,i,a=[];try{for(var s=(0,o.__values)(Object.keys(e)),c=s.next();!c.done;c=s.next()){var u=c.value,l=this.fromUtf8(u);a.push(Uint8Array.from([l.byteLength]),l,this.formatHeaderValue(e[u]))}}catch(p){t={error:p}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}var f=new Uint8Array(a.reduce(function(e,t){return e+t.byteLength},0)),d=0;try{for(var h=(0,o.__values)(a),y=h.next();!y.done;y=h.next()){var v=y.value;f.set(v,d),d+=v.byteLength}}catch(g){n={error:g}}finally{try{y&&!y.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}return f},e.prototype.formatHeaderValue=function(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":var t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":var r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":var n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":var o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);var i=new Uint8Array(o.buffer);return i.set(e.value,3),i;case"string":var s=this.fromUtf8(e.value),c=new DataView(new ArrayBuffer(3+s.byteLength));c.setUint8(0,7),c.setUint16(1,s.byteLength,!1);var u=new Uint8Array(c.buffer);return u.set(s,3),u;case"timestamp":var f=new Uint8Array(9);return f[0]=8,f.set(l.fromNumber(e.value.valueOf()).bytes,1),f;case"uuid":if(!A.test(e.value))throw new Error("Invalid UUID received: "+e.value);var d=new Uint8Array(17);return d[0]=9,d.set(function(e){if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");for(var t=new Uint8Array(e.length/2),r=0;r<e.length;r+=2){var n=e.substr(r,2).toLowerCase();if(!(n in a))throw new Error("Cannot decode unrecognized sequence "+n+" as hexadecimal");t[r/2]=a[n]}return t}(e.value.replace(/\-/g,"")),1),d}},e.prototype.parse=function(e){for(var t={},r=0;r<e.byteLength;){var n=e.getUint8(r++),o=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,n));switch(r+=n,e.getUint8(r++)){case 0:t[o]={type:y,value:!0};break;case 1:t[o]={type:y,value:!1};break;case 2:t[o]={type:v,value:e.getInt8(r++)};break;case 3:t[o]={type:p,value:e.getInt16(r,!1)},r+=2;break;case 4:t[o]={type:g,value:e.getInt32(r,!1)},r+=4;break;case 5:t[o]={type:m,value:new l(new Uint8Array(e.buffer,e.byteOffset+r,8))},r+=8;break;case 6:var i=e.getUint16(r,!1);r+=2,t[o]={type:b,value:new Uint8Array(e.buffer,e.byteOffset+r,i)},r+=i;break;case 7:var a=e.getUint16(r,!1);r+=2,t[o]={type:w,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,a))},r+=a;break;case 8:t[o]={type:S,value:new Date(new l(new Uint8Array(e.buffer,e.byteOffset+r,8)).valueOf())},r+=8;break;case 9:var s=new Uint8Array(e.buffer,e.byteOffset+r,16);r+=16,t[o]={type:_,value:u(s.subarray(0,4))+"-"+u(s.subarray(4,6))+"-"+u(s.subarray(6,8))+"-"+u(s.subarray(8,10))+"-"+u(s.subarray(10))};break;default:throw new Error("Unrecognized header type tag")}}return t},e}();!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(d||(d={}));var y="boolean",v="byte",p="short",g="integer",m="long",b="binary",w="string",S="timestamp",_="uuid",A=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var O=function(){function e(e,t){this.headerMarshaller=new h(e,t)}
2return e.prototype.marshall=function(e){var t=e.headers,r=e.body,o=this.headerMarshaller.format(t),i=o.byteLength+r.byteLength+16,a=new Uint8Array(i),s=new DataView(a.buffer,a.byteOffset,a.byteLength),c=new n.Crc32;return s.setUint32(0,i,!1),s.setUint32(4,o.byteLength,!1),s.setUint32(8,c.update(a.subarray(0,8)).digest(),!1),a.set(o,12),a.set(r,o.byteLength+12),s.setUint32(i-4,c.update(a.subarray(8,i-4)).digest(),!1),a},e.prototype.unmarshall=function(e){var t=function(e){var t=e.byteLength,r=e.byteOffset,o=e.buffer;if(t<16)throw new Error("Provided message too short to accommodate event stream message overhead");var i=new DataView(o,r,t),a=i.getUint32(0,!1);if(t!==a)throw new Error("Reported message length does not match received message length");var s=i.getUint32(4,!1),c=i.getUint32(8,!1),u=i.getUint32(t-4,!1),l=(new n.Crc32).update(new Uint8Array(o,r,8));if(c!==l.digest())throw new Error("The prelude checksum specified in the message ("+c+") does not match the calculated CRC32 checksum ("+l.digest()+")");if(l.update(new Uint8Array(o,r+8,t-12)),u!==l.digest())throw new Error("The message checksum ("+l.digest()+") did not match the expected value of "+u);return{headers:new DataView(o,r+8+4,s),body:new Uint8Array(o,r+8+4+s,a-s-16)}}(e),r=t.headers,o=t.body;return{headers:this.headerMarshaller.parse(r),body:o}},e.prototype.formatHeaders=function(e){return this.headerMarshaller.format(e)},e}();function x(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function E(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 new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function I(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})})}function s(e,t){try{(r=o[e](t)).value instanceof k?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(n){l(i[0][3],n)}var r}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function j(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=E(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){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,o,(t=e[r](t)).done,t.value)})}}}function C(e){var t,r=0,n=0,o=null,i=null;return(t={})[Symbol.asyncIterator]=function(){return I(this,arguments,function(){var t,a,s,c,u,l,f,d;return x(this,function(h){switch(h.label){case 0:t=e[Symbol.asyncIterator](),h.label=1;case 1:return[4,k(t.next())];case 2:return a=h.sent(),s=a.value,a.done?r?[3,4]:[4,k(void 0)]:[3,10];case 3:return[2,h.sent()];case 4:return r!==n?[3,7]:[4,k(o)];case 5:return[4,h.sent()];case 6:return h.sent(),[3,8];case 7:throw new Error("Truncated event message received.");case 8:return[4,k(void 0)];case 9:return[2,h.sent()];case 10:c=s.length,u=0,h.label=11;case 11:if(!(u<c))return[3,15];if(!o){if(l=c-u,i||(i=new Uint8Array(4)),f=Math.min(4-n,l),i.set(s.slice(u,u+f),n),u+=f,(n+=f)<4)return[3,15];!function(e){if("number"!==typeof e)throw new Error("Attempted to allocate an event message where size was not a number: "+e);r=e,n=4,o=new Uint8Array(e),new DataView(o.buffer).setUint32(0,e,!1)}(new DataView(i.buffer).getUint32(0,!1)),i=null}return d=Math.min(r-n,c-u),o.set(s.slice(u,u+d),n),n+=d,u+=d,r&&r===n?[4,k(o)]:[3,14];case 12:return[4,h.sent()];case 13:h.sent(),o=null,r=0,n=0,h.label=14;case 14:return[3,11];case 15:return[3,1];case 16:return[2]}})})},t}var U=function(){function e(e){var t=e.utf8Encoder,r=e.utf8Decoder;this.eventMarshaller=new O(t,r),this.utfEncoder=t}return e.prototype.deserialize=function(e,t){var r=function(e,t){var r;return(r={})[Symbol.asyncIterator]=function(){return I(this,arguments,function(){var r,n,o,i,a,s,c,u,l,f,d,h,y,v,p,g,m;return x(this,function(b){switch(b.label){case 0:b.trys.push([0,12,13,18]),r=j(e),b.label=1;case 1:return[4,k(r.next())];case 2:if((n=b.sent()).done)return[3,11];if(o=n.value,i=t.eventMarshaller.unmarshall(o),"error"!==(a=i.headers[":message-type"].value))return[3,3];throw(s=new Error(i.headers[":error-message"].value||"UnknownError")).name=i.headers[":error-code"].value,s;case 3:return"exception"!==a?[3,5]:(c=i.headers[":exception-type"].value,(v={})[c]=i,u=v,[4,k(t.deserializer(u))]);case 4:if((l=b.sent()).$unknown)throw(f=new Error(t.toUtf8(i.body))).name=c,f;throw l[c];case 5:return"event"!==a?[3,9]:((p={})[i.headers[":event-type"].value]=i,d=p,[4,k(t.deserializer(d))]);case 6:return(h=b.sent()).$unknown?[3,10]:[4,k(h)];case 7:return[4,b.sent()];case 8:return b.sent(),[3,10];case 9:throw Error("Unrecognizable event type: "+i.headers[":event-type"].value);case 10:return[3,1];case 11:return[3,18];case 12:return y=b.sent(),g={error:y},[3,18];case 13:return b.trys.push([13,,16,17]),n&&!n.done&&(m=r.return)?[4,k(m.call(r))]:[3,15];case 14:b.sent(),b.label=15;case 15:return[3,17];case 16:if(g)throw g.error;return[7];
2case 17:return[7];case 18:return[2]}})})},r}(C(e),{eventMarshaller:this.eventMarshaller,deserializer:t,toUtf8:this.utfEncoder});return r},e.prototype.serialize=function(e,t){var r,n=this;return(r={})[Symbol.asyncIterator]=function(){return I(this,arguments,function(){var r,o,i,a,s,c;return x(this,function(u){switch(u.label){case 0:u.trys.push([0,7,8,13]),r=j(e),u.label=1;case 1:return[4,k(r.next())];case 2:return(o=u.sent()).done?[3,6]:(i=o.value,[4,k(n.eventMarshaller.marshall(t(i)))]);case 3:return[4,u.sent()];case 4:u.sent(),u.label=5;case 5:return[3,1];case 6:return[3,13];case 7:return a=u.sent(),s={error:a},[3,13];case 8:return u.trys.push([8,,11,12]),o&&!o.done&&(c=r.return)?[4,k(c.call(r))]:[3,10];case 9:u.sent(),u.label=10;case 10:return[3,12];case 11:if(s)throw s.error;return[7];case 12:return[7];case 13:return[4,k(new Uint8Array(0))];case 14:return[4,u.sent()];case 15:return u.sent(),[2]}})})},r},e}();function P(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})}function T(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function D(e){return this instanceof D?(this.v=e,this):new D(e)}function M(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})})}function s(e,t){try{(r=o[e](t)).value instanceof D?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(n){l(i[0][3],n)}var r}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}var R=function(){function e(e){var t=e.utf8Encoder,r=e.utf8Decoder;this.eventMarshaller=new O(t,r),this.universalMarshaller=new U({utf8Decoder:r,utf8Encoder:t})}return e.prototype.deserialize=function(e,t){var r=N(e)?function(e){var t;return(t={})[Symbol.asyncIterator]=function(){return M(this,arguments,function(){var t,r,n,o;return T(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,D(t.read())];case 3:return r=i.sent(),n=r.done,o=r.value,n?[4,D(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,D(o)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})},t}(e):e;return this.universalMarshaller.deserialize(r,t)},e.prototype.serialize=function(e,t){var r=this.universalMarshaller.serialize(e,t);return"function"===typeof ReadableStream?function(e){var t=e[Symbol.asyncIterator]();return new ReadableStream({pull:function(e){return P(this,void 0,void 0,function(){var r,n,o;return T(this,function(i){switch(i.label){case 0:return[4,t.next()];case 1:return r=i.sent(),n=r.done,o=r.value,n?[2,e.close()]:(e.enqueue(o),[2])}})})}})}(r):r},e}(),N=function(e){return"function"===typeof ReadableStream&&e instanceof ReadableStream},z=function(e){return new R(e)}},44712:(e,t,r)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.AwsCrc32=void 0;var n=r(19719),o=r(46852),i=r(95521),a=function(){function e(){this.crc32=new i.Crc32}return e.prototype.update=function(e){(0,o.isEmptyData)(e)||this.crc32.update((0,o.convertToBuffer)(e))},e.prototype.digest=function(){return(0,n.__awaiter)(this,void 0,void 0,function(){return(0,n.__generator)(this,function(e){return[2,(0,o.numToUint8)(this.crc32.digest())]})})},e}();t.AwsCrc32=a},46852:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var n=r(98376);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return n.convertToBuffer}});var o=r(95917);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var i=r(22637);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return i.numToUint8}});var a=r(61846);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})},53615:(e,t,r)=>{r.d(t,{h:()=>s});var n=r(89510);var o=r(37932),i=r(61758),a=r(92044);const s=e=>{let t,r=e.credentials,s=!!e.credentials;Object.defineProperty(e,"credentials",{set(a){a&&a!==r&&a!==t&&(s=!0),r=a;const c=function(e,t){let r,{credentials:n,credentialDefaultProvider:a}=t;r=n?null!==n&&void 0!==n&&n.memoized?n:(0,i.K4)(n,i.OC,i.e):a?(0,o.t)(a(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")};return r.memoized=!0,r}(e,{credentials:r,credentialDefaultProvider:e.credentialDefaultProvider}),u=function(e,t){if(t.configBound)return t;const r=async r=>t((0,n.A)((0,n.A)({},r),{},{callerClientConfig:e}));return r.memoized=t.memoized,r.configBound=!0,r}(e,c);s&&!u.attributed?(t=async e=>u(e).then(e=>function(e,t,r){return e.$source||(e.$source={}),e.$source[t]=r,e}(e,"CREDENTIALS_CODE","e")),t.memoized=u.memoized,t.configBound=u.configBound,t.attributed=!0):t=u},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=r;const{signingEscapePath:c=!0,systemClockOffset:u=e.systemClockOffset||0,sha256:l}=e;let f;f=e.signer?(0,o.t)(e.signer):e.regionInfoProvider?()=>(0,o.t)(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(t=>{let[r,o]=t;const{signingRegion:i,signingService:s}=r;e.signingRegion=e.signingRegion||i||o,e.signingName=e.signingName||s||e.serviceId;const u=(0,n.A)((0,n.A)({},e),{},{credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:l,uriEscapePath:c});return new(e.signerConstructor||a.B)(u)}):async t=>{const r=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await(0,o.t)(e.region)(),properties:{}},t)).signingRegion,i=t.signingName;e.signingRegion=e.signingRegion||r,e.signingName=e.signingName||i||e.serviceId;const s=(0,n.A)((0,n.A)({},e),{},{credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:l,uriEscapePath:c});return new(e.signerConstructor||a.B)(s)};return Object.assign(e,{systemClockOffset:u,signingEscapePath:c,signer:f})}},58323:(e,t,r)=>{r.d(t,{s:()=>f});var n=r(37549),o=r(10032),i=r(82776),a=r(17772),s="IdentityIds",c=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",function(t){var r=t.get(e);return new Promise(function(e){r.onerror=function(){return e(null)},r.onsuccess=function(){return e(r.result?r.result.value:null)}})}).catch(function(){return null})},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",function(t){var r=t.delete(e);return new Promise(function(e,t){r.onerror=function(){return t(r.error)},r.onsuccess=function(){return e()}})})},e.prototype.setItem=function(e,t){return this.withObjectStore("readwrite",function(r){var n=r.put({id:e,value:t});return new Promise(function(e,t){n.onerror=function(){return t(n.error)},n.onsuccess=function(){return e()}})})},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise(function(t,r){e.onsuccess=function(){t(e.result)},e.onerror=function(){r(e.error)},e.onblocked=function(){r(new Error("Unable to access DB"))},e.onupgradeneeded=function(){var t=e.result;t.onerror=function(){r(new Error("Failed to create object store"))},t.createObjectStore(s,{keyPath:"id"})}})},e.prototype.withObjectStore=function(e,t){return this.getDb().then(function(r){var n=r.transaction(s,e);return n.oncomplete=function(){return r.close()},new Promise(function(e,r){n.onerror=function(){return r(n.error)},e(t(n.objectStore(s)))}).catch(function(e){throw r.close(),e})})},e}(),u=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,t){this.store[e]=t},e}());var l=r(34115);function f(e){var t=this,r=e.accountId,s=e.cache,f=void 0===s?"object"===typeof self&&self.indexedDB?new c:"object"===typeof window&&window.localStorage?window.localStorage:u:s,d=e.client,h=e.customRoleArn,y=e.identityPoolId,v=e.logins,p=e.userIdentifier,g=void 0===p?v&&0!==Object.keys(v).length?void 0:"ANONYMOUS":p,m=g?"aws:cognito-identity-credentials:"+y+":"+g:void 0,b=function(){return(0,n.sH)(t,void 0,void 0,function(){var e,t,s,c,u,p,g,w,S;return(0,n.YH)(this,function(n){switch(n.label){case 0:return(t=m)?[4,f.getItem(m)]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return(e=t)?[3,7]:(p=(u=d).send,g=o.x.bind,S={AccountId:r,IdentityPoolId:y},v?[4,(0,l.X)(v)]:[3,4]);case 3:return w=n.sent(),[3,5];case 4:w=void 0,n.label=5;case 5:return[4,p.apply(u,[new(g.apply(o.x,[void 0,(S.Logins=w,S)]))])];case 6:s=n.sent().IdentityId,c=void 0===s?function(){throw new i.mZ("Response from Amazon Cognito contained no identity ID")}():s,e=c,m&&Promise.resolve(f.setItem(m,e)).catch(function(){}),n.label=7;case 7:return[2,(b=(0,a.c)({client:d,customRoleArn:h,logins:v,identityId:e}))()]}})})};return function(){return b().catch(function(e){return(0,n.sH)(t,void 0,void 0,function(){return(0,n.YH)(this,function(t){throw m&&Promise.resolve(f.removeItem(m)).catch(function(){}),e})})})}}},61846:(e,t)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=function(e){if(!Array.from){for(var t=new Uint32Array(e.length);0<e.length;)t[0]=e[0];return t}return Uint32Array.from(e)}},73446:(e,t,r)=>{r.d(t,{f2:()=>f});var n=r(89510),o=r(86520);class i{constructor(e){(0,o.A)(this,"method",void 0),(0,o.A)(this,"protocol",void 0),(0,o.A)(this,"hostname",void 0),(0,o.A)(this,"port",void 0),(0,o.A)(this,"path",void 0),(0,o.A)(this,"query",void 0),(0,o.A)(this,"headers",void 0),(0,o.A)(this,"username",void 0),(0,o.A)(this,"password",void 0),(0,o.A)(this,"fragment",void 0),(0,o.A)(this,"body",void 0),this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?"".concat(e.protocol,":"):e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/".concat(e.path):e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new i((0,n.A)((0,n.A)({},e),{},{headers:(0,n.A)({},e.headers)}));var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce((e,t)=>{const o=r[t];return(0,n.A)((0,n.A)({},e),{},{[t]:Array.isArray(o)?[...o]:o})},{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"===typeof t.query&&"object"===typeof t.headers}clone(){return i.clone(this)}}const a=e=>new Date(Date.now()+e);class s{constructor(e){(0,o.A)(this,"statusCode",void 0),(0,o.A)(this,"reason",void 0),(0,o.A)(this,"headers",void 0),(0,o.A)(this,"body",void 0),this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"===typeof t.statusCode&&"object"===typeof t.headers}}const c=e=>{var t,r,n;return s.isInstance(e)?null!==(t=null===(r=e.headers)||void 0===r?void 0:r.date)&&void 0!==t?t:null===(n=e.headers)||void 0===n?void 0:n.Date:void 0},u=(e,t)=>{const r=Date.parse(e);return((e,t)=>Math.abs(a(t).getTime()-e)>=3e5)(r,t)?r-Date.now():t},l=(e,t)=>{if(!t)throw new Error("Property `".concat(e,"` is not resolved for AWS SDK SigV4Auth"));return t};class f{async sign(e,t,r){var n,o;if(!i.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const s=await(async e=>{var t;const r=l("context",e.context),n=l("config",e.config),o=null===(t=r.endpointV2)||void 0===t||null===(t=t.properties)||void 0===t||null===(t=t.authSchemes)||void 0===t?void 0:t[0],i=l("signer",n.signer);return{config:n,signer:await i(o),signingRegion:null===e||void 0===e?void 0:e.signingRegion,signingRegionSet:null===e||void 0===e?void 0:e.signingRegionSet,signingName:null===e||void 0===e?void 0:e.signingName}})(r),{config:c,signer:u}=s;let{signingRegion:f,signingName:d}=s;const h=r.context;if(null!==(n=null===h||void 0===h||null===(o=h.authSchemes)||void 0===o?void 0:o.length)&&void 0!==n&&n){const[e,t]=h.authSchemes;var y,v;if("sigv4a"===(null===e||void 0===e?void 0:e.name)&&"sigv4"===(null===t||void 0===t?void 0:t.name))f=null!==(y=null===t||void 0===t?void 0:t.signingRegion)&&void 0!==y?y:f,d=null!==(v=null===t||void 0===t?void 0:t.signingName)&&void 0!==v?v:d}return await u.sign(e,{signingDate:a(c.systemClockOffset),signingRegion:f,signingService:d})}errorHandler(e){return t=>{var r;const n=null!==(r=t.ServerTime)&&void 0!==r?r:c(t.$response);if(n){const r=l("config",e.config),o=r.systemClockOffset;r.systemClockOffset=u(n,r.systemClockOffset);r.systemClockOffset!==o&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){const r=c(e);if(r){const e=l("config",t.config);e.systemClockOffset=u(r,e.systemClockOffset)}}}},95521:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AwsCrc32=t.Crc32=t.crc32=void 0;var n=r(19719),o=r(46852);t.crc32=function(e){return(new i).update(e).digest()};var i=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,r;try{for(var o=(0,n.__values)(e),i=o.next();!i.done;i=o.next()){var s=i.value;this.checksum=this.checksum>>>8^a[255&(this.checksum^s)]}}catch(c){t={error:c}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}();
2t.Crc32=i;var a=(0,o.uint32ArrayFrom)([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),s=r(44712);Object.defineProperty(t,"AwsCrc32",{enumerable:!0,get:function(){return s.AwsCrc32}})},95917:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"===typeof e?0===e.length:0===e.byteLength}},98376:(e,t,r)=>{var n=r(32812).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var o=r(11233),i="undefined"!==typeof n&&n.from?function(e){return n.from(e,"utf8")}:o.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"===typeof e?i(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}}]);
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.