(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f5bc8e84"],{"108d":function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return u}));var n=r("9ab4"),i=function(){var e=[],t=[],r=new Set,s=function(e){return e.sort((function(e,t){return o[t.step]-o[e.step]||a[t.priority||"normal"]-a[e.priority||"normal"]}))},u=function(n){var i=!1,o=function(e){return!e.name||e.name!==n||(i=!0,r.delete(n),!1)};return e=e.filter(o),t=t.filter(o),i},c=function(n){var i=!1,o=function(e){return e.middleware!==n||(i=!0,e.name&&r.delete(e.name),!1)};return e=e.filter(o),t=t.filter(o),i},d=function(r){return e.forEach((function(e){r.add(e.middleware,Object(n["__assign"])({},e))})),t.forEach((function(e){r.addRelativeTo(e.middleware,Object(n["__assign"])({},e))})),r},f=function(e){var t=[];return e.before.forEach((function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,Object(n["__spread"])(f(e)))})),t.push(e),e.after.reverse().forEach((function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,Object(n["__spread"])(f(e)))})),t},l=function(){var r=[],i=[],o={};e.forEach((function(e){var t=Object(n["__assign"])(Object(n["__assign"])({},e),{before:[],after:[]});t.name&&(o[t.name]=t),r.push(t)})),t.forEach((function(e){var t=Object(n["__assign"])(Object(n["__assign"])({},e),{before:[],after:[]});t.name&&(o[t.name]=t),i.push(t)})),i.forEach((function(e){if(e.toMiddleware){var t=o[e.toMiddleware];if(void 0===t)throw new Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}));var a=s(r).map(f).reduce((function(e,t){return e.push.apply(e,Object(n["__spread"])(t)),e}),[]);return a.map((function(e){return e.middleware}))},v={add:function(t,i){void 0===i&&(i={});var o=i.name,a=i.override,s=Object(n["__assign"])({step:"initialize",priority:"normal",middleware:t},i);if(o){if(r.has(o)){if(!a)throw new Error("Duplicate middleware name '"+o+"'");var u=e.findIndex((function(e){return e.name===o})),c=e[u];if(c.step!==s.step||c.priority!==s.priority)throw new Error('"'+o+'" middleware with '+c.priority+" priority in "+c.step+" step cannot be overridden by same-name middleware with "+s.priority+" priority in "+s.step+" step.");e.splice(u,1)}r.add(o)}e.push(s)},addRelativeTo:function(e,i){var o=i.name,a=i.override,s=Object(n["__assign"])({middleware:e},i);if(o){if(r.has(o)){if(!a)throw new Error("Duplicate middleware name '"+o+"'");var u=t.findIndex((function(e){return e.name===o})),c=t[u];if(c.toMiddleware!==s.toMiddleware||c.relation!==s.relation)throw new Error('"'+o+'" middleware '+c.relation+' "'+c.toMiddleware+'" middleware cannot be overridden by same-name middleware '+s.relation+' "'+s.toMiddleware+'" middleware.');t.splice(u,1)}r.add(o)}t.push(s)},clone:function(){return d(i())},use:function(e){e.applyToStack(v)},remove:function(e){return"string"===typeof e?u(e):c(e)},removeByTag:function(n){var i=!1,o=function(e){var t=e.tags,o=e.name;return!t||!t.includes(n)||(o&&r.delete(o),i=!0,!1)};return e=e.filter(o),t=t.filter(o),i},concat:function(e){var t=d(i());return t.use(e),t},applyToStack:d,resolve:function(e,t){var r,i;try{for(var o=Object(n["__values"])(l().reverse()),a=o.next();!a.done;a=o.next()){var s=a.value;e=s(e,t)}}catch(u){r={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return e}};return v},o={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},a={high:3,normal:2,low:1},s=function(){function e(e){this.middlewareStack=i(),this.config=e}return e.prototype.send=function(e,t,r){var n="function"!==typeof t?t:void 0,i="function"===typeof t?t:r,o=e.resolveMiddleware(this.middlewareStack,this.config,n);if(!i)return o(e).then((function(e){return e.output}));o(e).then((function(e){return i(null,e.output)}),(function(e){return i(e)})).catch((function(){}))},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),u=function(){function e(){this.middlewareStack=i()}return e}();var c=function(){var e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,Object(n["__spread"])([null],arguments)),r=new t;return Object.setPrototypeOf(r,e.prototype),r};c.prototype=Object.create(String.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(c,String);(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(n["__extends"])(t,e),t.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},t.prototype.toJSON=function(){return e.prototype.toString.call(this)},t.fromObject=function(e){return e instanceof t?e:new t(e instanceof String||"string"===typeof e?e:JSON.stringify(e))}})(c)},1279:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o}));var n=function(){function e(e){this.statusCode=e.statusCode,this.headers=e.headers||{},this.body=e.body}return e.isInstance=function(e){if(!e)return!1;var t=e;return"number"===typeof t.statusCode&&"object"===typeof t.headers},e}(),i=r("9ab4"),o=function(){function e(e){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.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){if(!e)return!1;var t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"===typeof t["query"]&&"object"===typeof t["headers"]},e.prototype.clone=function(){var t=new e(Object(i["__assign"])(Object(i["__assign"])({},this),{headers:Object(i["__assign"])({},this.headers)}));return t.query&&(t.query=a(t.query)),t},e}();function a(e){return Object.keys(e).reduce((function(t,r){var n,o=e[r];return Object(i["__assign"])(Object(i["__assign"])({},t),(n={},n[r]=Array.isArray(o)?Object(i["__spread"])(o):o,n))}),{})}},"365f":function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return u}));var n=r("9ab4"),i=r("1279");function o(e){return e}var a=function(e){return function(t){return function(r){return Object(n["__awaiter"])(void 0,void 0,void 0,(function(){var o,a,s;return Object(n["__generator"])(this,(function(n){return i["a"].isInstance(r.request)?(o=r.request,a=(e.requestHandler.metadata||{}).handlerProtocol,s=void 0===a?"":a,s.indexOf("h2")>=0&&!o.headers[":authority"]?(delete o.headers["host"],o.headers[":authority"]=""):o.headers["host"]||(o.headers["host"]=o.hostname),[2,t(r)]):[2,t(r)]}))}))}}},s={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},u=function(e){return{applyToStack:function(t){t.add(a(e),s)}}}},"37db":function(e,t,r){"use strict";function n(e){if("string"===typeof e){for(var t=e.length,r=t-1;r>=0;r--){var n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2)}return t}return"number"===typeof e.byteLength?e.byteLength:"number"===typeof e.size?e.size:void 0}r.d(t,"a",(function(){return n}))},"4b75":function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return h}));for(var n={},i=new Array(64),o=0,a="A".charCodeAt(0),s="Z".charCodeAt(0);o+a<=s;o++){var u=String.fromCharCode(o+a);n[u]=o,i[o]=u}for(o=0,a="a".charCodeAt(0),s="z".charCodeAt(0);o+a<=s;o++){u=String.fromCharCode(o+a);var c=o+26;n[u]=c,i[c]=u}for(o=0;o<10;o++){n[o.toString(10)]=o+52;u=o.toString(10),c=o+52;n[u]=c,i[c]=u}n["+"]=62,i[62]="+",n["/"]=63,i[63]="/";var d=6,f=8,l=63;function v(e){var t=e.length/4*3;"=="===e.substr(-2)?t-=2:"="===e.substr(-1)&&t--;for(var r=new ArrayBuffer(t),i=new DataView(r),o=0;o>=d;var l=o/4*3;a>>=s%f;for(var v=Math.floor(s/f),h=0;h>p)}}return new Uint8Array(r)}function h(e){for(var t="",r=0;r>v]}t+="==".slice(0,4-u)}return t}},"4c04":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,i)},i=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}},"50c7":function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return T})),r.d(t,"c",(function(){return q}));var n=r("9ab4"),i=function(e){return function(t,r){return function(i){return Object(n["__awaiter"])(void 0,void 0,void 0,(function(){var o;return Object(n["__generator"])(this,(function(a){return(null===(o=null===e||void 0===e?void 0:e.retryStrategy)||void 0===o?void 0:o.mode)&&(r.userAgent=Object(n["__spread"])(r.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(t,i)]}))}))}}},o={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},a=function(e){return{applyToStack:function(t){t.add(i(e),o)}}},s=r("1279"),u=100,c=2e4,d=500,f=500,l=5,v=10,h=1,p="amz-sdk-invocation-id",g="amz-sdk-request",y=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],b=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],_=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],m=[500,502,503,504],w=function(e){return void 0!==e.$retryable},O=function(e){return y.includes(e.name)},j=function(e){var t,r;return 429===(null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||b.includes(e.name)||1==(null===(r=e.$retryable)||void 0===r?void 0:r.throttling)},S=function(e){var t;return _.includes(e.name)||m.includes((null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||0)},A=r("11c1"),x=function(e){var t=e,r=e,n=function(e){return"TimeoutError"===e.name?v:l},i=function(e){return n(e)<=r},o=function(e){if(!i(e))throw new Error("No retry token available");var t=n(e);return r-=t,t},a=function(e){r+=null!==e&&void 0!==e?e:h,r=Math.min(r,t)};return Object.freeze({hasRetryTokens:i,retrieveRetryTokens:o,releaseRetryTokens:a})},E=function(e,t){return Math.floor(Math.min(c,Math.random()*Math.pow(2,t)*e))},C=function(e){return!!e&&(w(e)||O(e)||j(e)||S(e))},T=3,k="standard",R=function(){function e(e,t){var r,n,i;this.maxAttemptsProvider=e,this.mode=k,this.retryDecider=null!==(r=null===t||void 0===t?void 0:t.retryDecider)&&void 0!==r?r:C,this.delayDecider=null!==(n=null===t||void 0===t?void 0:t.delayDecider)&&void 0!==n?n:E,this.retryQuota=null!==(i=null===t||void 0===t?void 0:t.retryQuota)&&void 0!==i?i:x(f)}return e.prototype.shouldRetry=function(e,t,r){return t>6|192,63&i|128);else if(r+1>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else t.push(i>>12|224,i>>6&63|128,63&i|128)}return Uint8Array.from(t)},i=function(e){for(var t="",r=0,n=e.length;rA)delete C[T.shift()];c="AWS4"+t.secretAccessKey,g.label=2;case 2:g.trys.push([2,7,8,9]),d=Object(n["__values"])([r,o,a,x]),f=d.next(),g.label=3;case 3:return f.done?[3,6]:(l=f.value,[4,q(e,c,l)]);case 4:c=g.sent(),g.label=5;case 5:return f=d.next(),[3,3];case 6:return[3,9];case 7:return v=g.sent(),h={error:v},[3,9];case 8:try{f&&!f.done&&(p=d.return)&&p.call(d)}finally{if(h)throw h.error}return[7];case 9:return[2,C[u]=c]}}))}))};function q(e,t,r){var n=new e(t);return n.update(r),n.digest()}function D(e,t,r){var i,o,a=e.headers,s={};try{for(var u=Object(n["__values"])(Object.keys(a).sort()),c=u.next();!c.done;c=u.next()){var d=c.value,f=d.toLowerCase();(f in _||(null===t||void 0===t?void 0:t.has(f))||m.test(f)||w.test(f))&&(!r||r&&!r.has(f))||(s[f]=a[d].trim().replace(/\s+/g," "))}}catch(l){i={error:l}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return s}var P=r("4c04");function z(e){var t,r,i=e.query,o=void 0===i?{}:i,a=[],s={},u=function(e){if(e.toLowerCase()===g)return"continue";a.push(e);var t=o[e];"string"===typeof t?s[e]=Object(P["a"])(e)+"="+Object(P["a"])(t):Array.isArray(t)&&(s[e]=t.slice(0).sort().reduce((function(t,r){return t.concat([Object(P["a"])(e)+"="+Object(P["a"])(r)])}),[]).join("&"))};try{for(var c=Object(n["__values"])(Object.keys(o).sort()),d=c.next();!d.done;d=c.next()){var f=d.value;u(f)}}catch(l){t={error:l}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return a.map((function(e){return s[e]})).filter((function(e){return e})).join("&")}var I=r("1833");function L(e,t){var r=e.headers,o=e.body;return Object(n["__awaiter"])(this,void 0,void 0,(function(){var e,a,s,u,c,d,f;return Object(n["__generator"])(this,(function(l){switch(l.label){case 0:try{for(e=Object(n["__values"])(Object.keys(r)),a=e.next();!a.done;a=e.next())if(s=a.value,s.toLowerCase()===y)return[2,r[s]]}catch(v){d={error:v}}finally{try{a&&!a.done&&(f=e.return)&&f.call(e)}finally{if(d)throw d.error}}return void 0!=o?[3,1]:[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:return"string"===typeof o||ArrayBuffer.isView(o)||Object(I["a"])(o)?(u=new t,u.update(o),c=i["a"],[4,u.digest()]):[3,3];case 2:return[2,c.apply(void 0,[l.sent()])];case 3:return[2,S]}}))}))}function M(e,t){var r,i;e=e.toLowerCase();try{for(var o=Object(n["__values"])(Object.keys(t)),a=o.next();!a.done;a=o.next()){var s=a.value;if(e===s.toLowerCase())return!0}}catch(u){r={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return!1}function N(e){var t=e.headers,r=e.query,i=Object(n["__rest"])(e,["headers","query"]);return Object(n["__assign"])(Object(n["__assign"])({},i),{headers:Object(n["__assign"])({},t),query:r?U(r):void 0})}function U(e){return Object.keys(e).reduce((function(t,r){var i,o=e[r];return Object(n["__assign"])(Object(n["__assign"])({},t),(i={},i[r]=Array.isArray(o)?Object(n["__spread"])(o):o,i))}),{})}function H(e,t){var r,i,o;void 0===t&&(t={});var a="function"===typeof e.clone?e.clone():N(e),s=a.headers,u=a.query,c=void 0===u?{}:u;try{for(var d=Object(n["__values"])(Object.keys(s)),f=d.next();!f.done;f=d.next()){var l=f.value,v=l.toLowerCase();"x-amz-"!==v.substr(0,6)||(null===(o=t.unhoistableHeaders)||void 0===o?void 0:o.has(v))||(c[l]=s[l],delete s[l])}}catch(h){r={error:h}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}return Object(n["__assign"])(Object(n["__assign"])({},e),{headers:s,query:c})}function $(e){var t,r;e="function"===typeof e.clone?e.clone():N(e);try{for(var i=Object(n["__values"])(Object.keys(e.headers)),o=i.next();!o.done;o=i.next()){var a=o.value;p.indexOf(a.toLowerCase())>-1&&delete e.headers[a]}}catch(s){t={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return e}function K(e){return G(e).toISOString().replace(/\.\d{3}Z$/,"Z")}function G(e){return"number"===typeof e?new Date(1e3*e):"string"===typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e}var X=function(){function e(e){var t=e.applyChecksum,r=e.credentials,n=e.region,i=e.service,o=e.sha256,a=e.uriEscapePath,s=void 0===a||a;this.service=i,this.sha256=o,this.uriEscapePath=s,this.applyChecksum="boolean"!==typeof t||t,this.regionProvider=Q(n),this.credentialProvider=W(r)}return e.prototype.presign=function(e,t){return void 0===t&&(t={}),Object(n["__awaiter"])(this,void 0,void 0,(function(){var r,i,l,v,h,p,g,y,b,_,m,w,j,S,A,x,C,T,R,q,P,z,I,M;return Object(n["__generator"])(this,(function(n){switch(n.label){case 0:return r=t.signingDate,i=void 0===r?new Date:r,l=t.expiresIn,v=void 0===l?3600:l,h=t.unsignableHeaders,p=t.unhoistableHeaders,g=t.signableHeaders,y=t.signingRegion,b=t.signingService,[4,this.credentialProvider()];case 1:return _=n.sent(),null===y||void 0===y?[3,2]:(w=y,[3,4]);case 2:return[4,this.regionProvider()];case 3:w=n.sent(),n.label=4;case 4:return m=w,j=F(i),S=j.longDate,A=j.shortDate,v>E?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(x=k(A,m,null!==b&&void 0!==b?b:this.service),C=H($(e),{unhoistableHeaders:p}),_.sessionToken&&(C.query[f]=_.sessionToken),C.query[o]=O,C.query[a]=_.accessKeyId+"/"+x,C.query[s]=S,C.query[c]=v.toString(10),T=D(C,h,g),C.query[u]=J(T),R=C.query,q=d,P=this.getSignature,z=[S,x,this.getSigningKey(_,m,A,b)],I=this.createCanonicalRequest,M=[C,T],[4,L(e,this.sha256)]);case 5:return[4,P.apply(this,z.concat([I.apply(this,M.concat([n.sent()]))]))];case 6:return R[q]=n.sent(),[2,C]}}))}))},e.prototype.sign=function(e,t){return Object(n["__awaiter"])(this,void 0,void 0,(function(){return Object(n["__generator"])(this,(function(r){return"string"===typeof e?[2,this.signString(e,t)]:e.headers&&e.payload?[2,this.signEvent(e,t)]:[2,this.signRequest(e,t)]}))}))},e.prototype.signEvent=function(e,t){var r=e.headers,o=e.payload,a=t.signingDate,s=void 0===a?new Date:a,u=t.priorSignature,c=t.signingRegion,d=t.signingService;return Object(n["__awaiter"])(this,void 0,void 0,(function(){var e,t,a,f,l,v,h,p,g,y,b;return Object(n["__generator"])(this,(function(n){switch(n.label){case 0:return null===c||void 0===c?[3,1]:(t=c,[3,3]);case 1:return[4,this.regionProvider()];case 2:t=n.sent(),n.label=3;case 3:return e=t,a=F(s),f=a.shortDate,l=a.longDate,v=k(f,e,null!==d&&void 0!==d?d:this.service),[4,L({headers:{},body:o},this.sha256)];case 4:return h=n.sent(),p=new this.sha256,p.update(r),y=i["a"],[4,p.digest()];case 5:return g=y.apply(void 0,[n.sent()]),b=[j,l,v,u,g,h].join("\n"),[2,this.signString(b,{signingDate:s,signingRegion:e,signingService:d})]}}))}))},e.prototype.signString=function(e,t){var r=void 0===t?{}:t,o=r.signingDate,a=void 0===o?new Date:o,s=r.signingRegion,u=r.signingService;return Object(n["__awaiter"])(this,void 0,void 0,(function(){var t,r,o,c,d,f,l,v;return Object(n["__generator"])(this,(function(n){switch(n.label){case 0:return[4,this.credentialProvider()];case 1:return t=n.sent(),null===s||void 0===s?[3,2]:(o=s,[3,4]);case 2:return[4,this.regionProvider()];case 3:o=n.sent(),n.label=4;case 4:return r=o,c=F(a).shortDate,l=(f=this.sha256).bind,[4,this.getSigningKey(t,r,c,u)];case 5:return d=new(l.apply(f,[void 0,n.sent()])),d.update(e),v=i["a"],[4,d.digest()];case 6:return[2,v.apply(void 0,[n.sent()])]}}))}))},e.prototype.signRequest=function(e,t){var r=void 0===t?{}:t,i=r.signingDate,o=void 0===i?new Date:i,a=r.signableHeaders,s=r.unsignableHeaders,u=r.signingRegion,c=r.signingService;return Object(n["__awaiter"])(this,void 0,void 0,(function(){var t,r,i,d,f,h,p,g,_,m,w;return Object(n["__generator"])(this,(function(n){switch(n.label){case 0:return[4,this.credentialProvider()];case 1:return t=n.sent(),null===u||void 0===u?[3,2]:(i=u,[3,4]);case 2:return[4,this.regionProvider()];case 3:i=n.sent(),n.label=4;case 4:return r=i,d=$(e),f=F(o),h=f.longDate,p=f.shortDate,g=k(p,r,null!==c&&void 0!==c?c:this.service),d.headers[v]=h,t.sessionToken&&(d.headers[b]=t.sessionToken),[4,L(d,this.sha256)];case 5:return _=n.sent(),!M(y,d.headers)&&this.applyChecksum&&(d.headers[y]=_),m=D(d,s,a),[4,this.getSignature(h,g,this.getSigningKey(t,r,p,c),this.createCanonicalRequest(d,m,_))];case 6:return w=n.sent(),d.headers[l]=O+" Credential="+t.accessKeyId+"/"+g+", SignedHeaders="+J(m)+", Signature="+w,[2,d]}}))}))},e.prototype.createCanonicalRequest=function(e,t,r){var n=Object.keys(t).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+z(e)+"\n"+n.map((function(e){return e+":"+t[e]})).join("\n")+"\n\n"+n.join(";")+"\n"+r},e.prototype.createStringToSign=function(e,t,r){return Object(n["__awaiter"])(this,void 0,void 0,(function(){var o,a;return Object(n["__generator"])(this,(function(n){switch(n.label){case 0:return o=new this.sha256,o.update(r),[4,o.digest()];case 1:return a=n.sent(),[2,O+"\n"+e+"\n"+t+"\n"+Object(i["a"])(a)]}}))}))},e.prototype.getCanonicalPath=function(e){var t=e.path;if(this.uriEscapePath){var r=encodeURIComponent(t.replace(/^\//,""));return"/"+r.replace(/%2F/g,"/")}return t},e.prototype.getSignature=function(e,t,r,o){return Object(n["__awaiter"])(this,void 0,void 0,(function(){var a,s,u,c,d;return Object(n["__generator"])(this,(function(n){switch(n.label){case 0:return[4,this.createStringToSign(e,t,o)];case 1:return a=n.sent(),c=(u=this.sha256).bind,[4,r];case 2:return s=new(c.apply(u,[void 0,n.sent()])),s.update(a),d=i["a"],[4,s.digest()];case 3:return[2,d.apply(void 0,[n.sent()])]}}))}))},e.prototype.getSigningKey=function(e,t,r,n){return R(this.sha256,e,r,t,n||this.service)},e}(),F=function(e){var t=K(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.substr(0,8)}},J=function(e){return Object.keys(e).sort().join(";")},Q=function(e){if("string"===typeof e){var t=Promise.resolve(e);return function(){return t}}return e},W=function(e){if("object"===typeof e){var t=Promise.resolve(e);return function(){return t}}return e};function Z(e){var t,r=this,i=e.credentials||e.credentialDefaultProvider(e),o=B(i),a=e.signingEscapePath,s=void 0===a||a,u=e.systemClockOffset,c=void 0===u?e.systemClockOffset||0:u,d=e.sha256;return t=e.signer?B(e.signer):function(){return B(e.region)().then((function(t){return Object(n["__awaiter"])(r,void 0,void 0,(function(){return Object(n["__generator"])(this,(function(r){switch(r.label){case 0:return[4,e.regionInfoProvider(t)];case 1:return[2,[r.sent()||{},t]]}}))}))})).then((function(t){var r=Object(n["__read"])(t,2),i=r[0],a=r[1],u=i.signingRegion,c=i.signingService;return e.signingRegion=e.signingRegion||u||a,e.signingName=e.signingName||c||e.serviceId,new X({credentials:o,region:e.signingRegion,service:e.signingName,sha256:d,uriEscapePath:s})}))},Object(n["__assign"])(Object(n["__assign"])({},e),{systemClockOffset:c,signingEscapePath:s,credentials:o,signer:t})}function B(e){if("object"===typeof e){var t=Promise.resolve(e);return function(){return t}}return e}r("1279")},b652:function(e,t,r){"use strict";r.r(t),r.d(t,"locateWindow",(function(){return i}));var n={};function i(){return"undefined"!==typeof window?window:"undefined"!==typeof self?self:n}},c14f:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("9ab4"),i=r("337f"),o=r.n(i),a=function(e){var t=e.serviceId,r=e.clientVersion;return function(){return Object(n["__awaiter"])(void 0,void 0,void 0,(function(){var e,i,a,s,u,c,d,f,l;return Object(n["__generator"])(this,(function(n){return e=(null===(a=null===window||void 0===window?void 0:window.navigator)||void 0===a?void 0:a.userAgent)?o.a.parse(window.navigator.userAgent):void 0,i=[["aws-sdk-js",r],["os/"+((null===(s=null===e||void 0===e?void 0:e.os)||void 0===s?void 0:s.name)||"other"),null===(u=null===e||void 0===e?void 0:e.os)||void 0===u?void 0:u.version],["lang/js"],["md/browser",(null!==(d=null===(c=null===e||void 0===e?void 0:e.browser)||void 0===c?void 0:c.name)&&void 0!==d?d:"unknown")+"_"+(null!==(l=null===(f=null===e||void 0===e?void 0:e.browser)||void 0===f?void 0:f.version)&&void 0!==l?l:"unknown")]],t&&i.push(["api/"+t,r]),[2,i]}))}))}}},da3e:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("9ab4");function i(e){var t,r,i={};if(e=e.replace(/^\?/,""),e)try{for(var o=Object(n["__values"])(e.split("&")),a=o.next();!a.done;a=o.next()){var s=a.value,u=Object(n["__read"])(s.split("="),2),c=u[0],d=u[1],f=void 0===d?null:d;c=decodeURIComponent(c),f&&(f=decodeURIComponent(f)),c in i?Array.isArray(i[c])?i[c].push(f):i[c]=[i[c],f]:i[c]=f}}catch(l){t={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i}var o=function(e){var t,r=new URL(e),n=r.hostname,o=r.pathname,a=r.port,s=r.protocol,u=r.search;return u&&(t=i(u)),{hostname:n,port:a?parseInt(a):void 0,protocol:s,path:o,query:t}}},ded1:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("9ab4"),i=r("4c04");function o(e){var t,r,o=[];try{for(var a=Object(n["__values"])(Object.keys(e).sort()),s=a.next();!s.done;s=a.next()){var u=s.value,c=e[u];if(u=Object(i["a"])(u),Array.isArray(c))for(var d=0,f=c.length;d0})).map((function(e){return null===e||void 0===e?void 0:e.replace(c,"_")})).join("/")},l={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},v=function(e){return{applyToStack:function(t){t.add(d(e),l)}}}},fad4:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("9ab4"),i=function(){return function(e,t){return function(r){return Object(n["__awaiter"])(void 0,void 0,void 0,(function(){var i,o,a,s,u,c,d,f,l;return Object(n["__generator"])(this,(function(v){switch(v.label){case 0:return i=t.clientName,o=t.commandName,a=t.inputFilterSensitiveLog,s=t.logger,u=t.outputFilterSensitiveLog,[4,e(r)];case 1:return c=v.sent(),s?("function"===typeof s.info&&(d=c.output,f=d.$metadata,l=Object(n["__rest"])(d,["$metadata"]),s.info({clientName:i,commandName:o,input:a(r.input),output:u(l),metadata:f})),[2,c]):[2,c]}}))}))}}},o={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},a=function(e){return{applyToStack:function(e){e.add(i(),o)}}}}}]);