PageSourceSearch

https://www.inflaim.com/44a117614e657a7e00965c48f56f3dd5394da24f-6f29dcac200014bd17c7.js

js inflaim.com collected 2026-10-06 20:20:05 UTC 251,862 bytes, 3 lines download raw bytes

1/*! For license information please see 44a117614e657a7e00965c48f56f3dd5394da24f-6f29dcac200014bd17c7.js.LICENSE.txt */
2(self.webpackChunk_microsites_inh0001_web=self.webpackChunk_microsites_inh0001_web||[]).push([[908],{71001:function(e,t,n){"use strict";n.d(t,{dQ:function(){return s}});var r=n(71421),i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},o=new r.k("Amplify"),s=new(function(){function e(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Logger=r.k,this.ServiceWorker=null}return e.prototype.register=function(e){o.debug("component registered in amplify",e),this._components.push(e),"function"==typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):o.debug("no getModuleName method for component",e),e.configure(this._config)},e.prototype.configure=function(e){var t=this;return e?(this._config=Object.assign(this._config,e),o.debug("amplify config",this._config),Object.entries(this._modules).forEach((function(e){var n=i(e,2),r=(n[0],n[1]);Object.keys(r).forEach((function(e){t._modules[e]&&(r[e]=t._modules[e])}))})),this._components.map((function(e){e.configure(t._config)})),this._config):this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map((function(t){t.addPluggable&&"function"==typeof t.addPluggable&&t.addPluggable(e)}))},e}())},88961:function(e,t,n){"use strict";n.d(t,{cN:function(){return _t}});var r,i=n(71421),o=n(55664),s=n(6611),a=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},c=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},f=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},l=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e},p=new i.k("Util"),d=function(e){function t(t){var n=e.call(this,t)||this;return n.nonRetryable=!0,n}return a(t,e),t}(Error);function h(e,t,n,r){return void 0===r&&(r=1),u(this,void 0,void 0,(function(){var i,o;return c(this,(function(s){switch(s.label){case 0:if("function"!=typeof e)throw Error("functionToRetry must be a function");p.debug(e.name+" attempt #"+r+" with this vars: "+JSON.stringify(t)),s.label=1;case 1:return s.trys.push([1,3,,8]),[4,e.apply(void 0,l(t))];case 2:return[2,s.sent()];
2case 3:if(i=s.sent(),p.debug("error on "+e.name,i),(a=i)&&a.nonRetryable)throw p.debug(e.name+" non retryable error",i),i;return o=n(r,t,i),p.debug(e.name+" retrying in "+o+" ms"),!1===o?[3,6]:[4,new Promise((function(e){return setTimeout(e,o)}))];case 4:return s.sent(),[4,h(e,t,n,r+1)];case 5:return[2,s.sent()];case 6:throw i;case 7:return[3,8];case 8:return[2]}var a}))}))}var g,v,y,m,b,w,S,_,L,E,C,x,A,k,N,P,O,I,T,U,R,j,M,D,z,B,K,F,q,H,G,V,W,X,Z,Y,J,$,Q,ee,te,ne,re,ie,oe,se,ae,ue,ce,fe,le,pe,de,he,ge,ve,ye,me=function(e,t,n){return void 0===n&&(n=3e5),h(e,t,function(e){return function(t){var n=100*Math.pow(2,t)+100*Math.random();return!(n>e)&&n}}(n))},be=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},we=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Se=new i.k("CognitoCredentials"),_e=new Promise((function(e,t){return(0,s.lC)().isBrowser?(window.gapi&&window.gapi.auth2?window.gapi.auth2:null)?(Se.debug("google api already loaded"),e()):void setTimeout((function(){return e()}),2e3):(Se.debug("not in the browser, directly resolved"),e())})),Le=function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){return be(this,void 0,void 0,(function(){return we(this,(function(e){switch(e.label){case 0:return this.initialized?[3,2]:(Se.debug("need to wait for the Google SDK loaded"),[4,_e]);case 1:e.sent(),this.initialized=!0,Se.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}}))}))},e.prototype._refreshGoogleTokenImpl=function(){var e=null;return(0,s.lC)().isBrowser&&(e=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),e?new Promise((function(t,n){e.getAuthInstance().then((function(e){e||(Se.debug("google Auth undefined"),n(new d("google Auth undefined")));var r=e.currentUser.get();r.isSignedIn()?(Se.debug("refreshing the google access token"),r.reloadAuthResponse().then((function(e){var n=e.id_token,r=e.expires_at;t({token:n,expires_at:r})})).catch((function(e){e&&"network_error"===e.error?n("Network error reloading google auth response"):n(new d("Failed to reload google auth response"))}))):n(new d("User is not signed in with Google"))})).catch((function(e){Se.debug("Failed to refresh google token",e),n(new d("Failed to refresh google token"))}))})):(Se.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}(),Ee=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},Ce=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},xe=new i.k("CognitoCredentials"),Ae=new Promise((function(e,t){return(0,s.lC)().isBrowser?window.FB?(xe.debug("FB SDK already loaded"),e()):void setTimeout((function(){return e()}),2e3):(xe.debug("not in the browser, directly resolved"),e())})),ke=function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){return Ee(this,void 0,void 0,(function(){return Ce(this,(function(e){switch(e.label){case 0:return this.initialized?[3,2]:(xe.debug("need to wait for the Facebook SDK loaded"),[4,Ae]);case 1:e.sent(),this.initialized=!0,xe.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}}))}))},e.prototype._refreshFacebookTokenImpl=function(){var e=null;if((0,s.lC)().isBrowser&&(e=window.FB),!e){var t="no fb sdk available";return xe.debug(t),Promise.reject(new d(t))}return new Promise((function(t,n){e.getLoginStatus((function(e){if(e&&e.authResponse){var r=e.authResponse,i=r.accessToken,o=1e3*r.expiresIn+(new Date).getTime();if(!i){s="the jwtToken is undefined";xe.debug(s),n(new d(s))}t({token:i,expires_at:o})}else{var s="no response from facebook when refreshing the jwt token";xe.debug(s),n(new d(s))}}),{scope:"public_profile,email"})}))},e}(),Ne=new Le,Pe=new ke,Oe=n(17183),Ie=n(71001),Te=n(60171),Ue=n(88347);!function(e){e.AUTHENTICATED_ROLE="AuthenticatedRole",e.DENY="Deny"}(g||(g={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(v||(v={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(y||(y={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(m||(m={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(b||(b={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(w||(w={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(S||(S={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(_||(_={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(L||(L={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(E||(E={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(C||(C={})),function(e){e.ACCESS_DENIED="AccessDenied",e.INTERNAL_SERVER_ERROR="InternalServerError"}(x||(x={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(A||(A={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(k||(k={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(N||(N={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(P||(P={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(O||(O={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(I||(I={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(T||(T={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(U||(U={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(R||(R={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(j||(j={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(M||(M={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(D||(D={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(z||(z={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(B||(B={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(K||(K={})),function(e){e.CONTAINS="Contains",e.EQUALS="Equals",e.NOT_EQUAL="NotEqual",e.STARTS_WITH="StartsWith"}(F||(F={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(q||(q={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(H||(H={})),function(e){e.RULES="Rules",e.TOKEN="Token"}(G||(G={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(V||(V={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(W||(W={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(X||(X={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(Z||(Z={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(Y||(Y={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(J||(J={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}($||($={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(Q||(Q={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ee||(ee={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(te||(te={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ne||(ne={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(re||(re={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ie||(ie={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(oe||(oe={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(se||(se={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ae||(ae={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ue||(ue={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ce||(ce={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(fe||(fe={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(le||(le={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(pe||(pe={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(de||(de={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(he||(he={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ge||(ge={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ve||(ve={})),function(e){e.filterSensitiveLog=function(e){return(0,Ue.pi)({},e)}}(ye||(ye={}));var Re=n(54495),je=n(17210),Me=n(85042),De=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Ue.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,je.p2)(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),i=t.logger,o="CognitoIdentityClient",s="GetCredentialsForIdentityCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:R.filterSensitiveLog,outputFilterSensitiveLog:M.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Re.Eb)(e,t)},t.prototype.deserialize=function(e,t){return(0,Re.$M)(e,t)},t}(Me.mY),ze=function(e){function t(t,n){void 0===n&&(n=!0);var r=e.call(this,t)||this;return r.tryNextLink=n,r}return(0,Te.__extends)(t,e),t}(Error);function Be(e){return Promise.all(Object.keys(e).reduce((function(t,n){var r=e[n];
2return"string"==typeof r?t.push([n,r]):t.push(r().then((function(e){return[n,e]}))),t}),[])).then((function(e){return e.reduce((function(e,t){var n=(0,Te.__read)(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}))}function Ke(e){var t=this;return function(){return(0,Te.__awaiter)(t,void 0,void 0,(function(){var t,n,r,i,o,s,a,u,c,f,l,p,d;return(0,Te.__generator)(this,(function(h){switch(h.label){case 0:return f=(c=e.client).send,l=De.bind,d={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,Be(e.logins)]:[3,2];case 1:return p=h.sent(),[3,3];case 2:p=void 0,h.label=3;case 3:return[4,f.apply(c,[new(l.apply(De,[void 0,(d.Logins=p,d)]))])];case 4:return t=h.sent().Credentials,n=void 0===t?function(){throw new ze("Response from Amazon Cognito contained no credentials")}():t,r=n.AccessKeyId,i=void 0===r?function(){throw new ze("Response from Amazon Cognito contained no access key ID")}():r,o=n.Expiration,s=n.SecretKey,a=void 0===s?function(){throw new ze("Response from Amazon Cognito contained no secret key")}():s,u=n.SessionToken,[2,{identityId:e.identityId,accessKeyId:i,secretAccessKey:a,sessionToken:u,expiration:o}]}}))}))}}var Fe=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Ue.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,je.p2)(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),i=t.logger,o="CognitoIdentityClient",s="GetIdCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:z.filterSensitiveLog,outputFilterSensitiveLog:B.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Re.US)(e,t)},t.prototype.deserialize=function(e,t){return(0,Re.BX)(e,t)},t}(Me.mY),qe="IdentityIds",He=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 n=t.get(e);return new Promise((function(e){n.onerror=function(){return e(null)},n.onsuccess=function(){return e(n.result?n.result.value:null)}}))})).catch((function(){return null}))},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",(function(t){var n=t.delete(e);return new Promise((function(e,t){n.onerror=function(){return t(n.error)},n.onsuccess=function(){return e()}}))}))},e.prototype.setItem=function(e,t){return this.withObjectStore("readwrite",(function(n){var r=n.put({id:e,value:t});return new Promise((function(e,t){r.onerror=function(){return t(r.error)},r.onsuccess=function(){return e()}}))}))},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise((function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)},e.onblocked=function(){n(new Error("Unable to access DB"))},e.onupgradeneeded=function(){var t=e.result;t.onerror=function(){n(new Error("Failed to create object store"))},t.createObjectStore(qe,{keyPath:"id"})}}))},e.prototype.withObjectStore=function(e,t){return this.getDb().then((function(n){var r=n.transaction(qe,e);return r.oncomplete=function(){return n.close()},new Promise((function(e,n){r.onerror=function(){return n(r.error)},e(t(r.objectStore(qe)))})).catch((function(e){throw n.close(),e}))}))},e}(),Ge=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}());function Ve(e){var t=this,n=e.accountId,r=e.cache,i=void 0===r?"object"==typeof self&&self.indexedDB?new He:"object"==typeof window&&window.localStorage?window.localStorage:Ge:r,o=e.client,s=e.customRoleArn,a=e.identityPoolId,u=e.logins,c=e.userIdentifier,f=void 0===c?u&&0!==Object.keys(u).length?void 0:"ANONYMOUS":c,l=f?"aws:cognito-identity-credentials:"+a+":"+f:void 0,p=function(){return(0,Te.__awaiter)(t,void 0,void 0,(function(){var e,t,r,c,f,d,h,g,v;return(0,Te.__generator)(this,(function(y){switch(y.label){case 0:return(t=l)?[4,i.getItem(l)]:[3,2];case 1:t=y.sent(),y.label=2;case 2:return(e=t)?[3,7]:(d=(f=o).send,h=Fe.bind,v={AccountId:n,IdentityPoolId:a},u?[4,Be(u)]:[3,4]);case 3:return g=y.sent(),[3,5];case 4:g=void 0,y.label=5;case 5:return[4,d.apply(f,[new(h.apply(Fe,[void 0,(v.Logins=g,v)]))])];case 6:r=y.sent().IdentityId,c=void 0===r?function(){throw new ze("Response from Amazon Cognito contained no identity ID")}():r,e=c,l&&Promise.resolve(i.setItem(l,e)).catch((function(){})),y.label=7;case 7:return[2,(p=Ke({client:o,customRoleArn:s,logins:u,identityId:e}))()]}}))}))};return function(){return p().catch((function(e){return(0,Te.__awaiter)(t,void 0,void 0,(function(){return(0,Te.__generator)(this,(function(t){throw l&&Promise.resolve(i.removeItem(l)).catch((function(){})),e}))}))}))}}var We=JSON.parse('{"u2":"@aws-sdk/client-cognito-identity","i8":"1.0.0-rc.4"}
2'),Xe=n(13636),Ze=n(63656),Ye=n(11857),Je=n(80626),$e=n(95974),Qe=n(44122),et=n(4310),tt=n(6116),nt=n(87034),rt="cognito-identity.{region}.amazonaws.com",it=new Set(["ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),ot=new Set(["cn-north-1","cn-northwest-1"]),st=new Set(["us-iso-east-1"]),at=new Set(["us-isob-east-1"]),ut=new Set(["us-gov-east-1","us-gov-west-1"]),ct={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,t){var n=void 0;switch(e){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:it.has(e)&&(n={hostname:rt.replace("{region}",e),partition:"aws"}),ot.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),st.has(e)&&(n={hostname:"cognito-identity.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),at.has(e)&&(n={hostname:"cognito-identity.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),ut.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===n&&(n={hostname:rt.replace("{region}",e),partition:"aws"})}return Promise.resolve(n)},signingName:"cognito-identity"},ft=(0,Ue.pi)((0,Ue.pi)({},ct),{runtime:"browser",base64Decoder:Qe.G,base64Encoder:Qe.s,bodyLengthChecker:et.W,credentialDefaultProvider:function(){},defaultUserAgent:(0,tt.f)(We.u2,We.i8),maxAttempts:Je.J,region:(0,Ye.s)("Region is missing"),requestHandler:new Ze.B,sha256:Xe.Sha256,streamCollector:Ze.C,urlParser:$e.e,utf8Decoder:nt.fromUtf8,utf8Encoder:nt.toUtf8}),lt=n(64137),pt=n(56641),dt=n(49722),ht=n(6255),gt=n(12910),vt=n(47050),yt=function(e){function t(t){var n=this,r=(0,Ue.pi)((0,Ue.pi)({},ft),t),i=(0,lt.Xb)(r),o=(0,lt.g4)(i),s=(0,gt.A$)(o),a=(0,Je.BC)(s),u=(0,vt.er)(a),c=(0,dt.S8)(u);return(n=e.call(this,c)||this).config=c,n.middlewareStack.use((0,Je.NQ)(n.config)),n.middlewareStack.use((0,vt.XJ)(n.config)),n.middlewareStack.use((0,pt.VG)(n.config)),n.middlewareStack.use((0,dt.G2)(n.config)),n.middlewareStack.use((0,ht.cV)(n.config)),n}return(0,Ue.ZT)(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(Me.KU),mt=function(){return(mt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},bt=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},wt=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},St=new i.k("Credentials"),_t=new(function(){function e(e){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(e),this._refreshHandlers.google=Ne.refreshGoogleToken,this._refreshHandlers.facebook=Pe.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(e){if(!e)return this._config||{};this._config=Object.assign({},this._config,e);var t=this._config.refreshHandlers;return t&&(this._refreshHandlers=mt(mt({},this._refreshHandlers),t)),this._storage=this._config.storage,this._storage||(this._storage=(new o.c4).getStorage()),this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),this._config},e.prototype.get=function(){return St.debug("getting credentials"),this._pickupCredentials()},e.prototype._pickupCredentials=function(){return St.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?St.debug("getting old cred promise"):(St.debug("getting new cred promise"),this._gettingCredPromise=(0,s.ML)(this._keepAlive())),this._gettingCredPromise},e.prototype._keepAlive=function(){return bt(this,void 0,void 0,(function(){var e,t,n,r,i,o,s;return wt(this,(function(a){switch(a.label){case 0:if(St.debug("checking if credentials exists and not expired"),(e=this._credentials)&&!this._isExpired(e)&&!this._isPastTTL())return St.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(e)];if(St.debug("need to get a new credential or refresh the existing one"),t=this.Auth,!(n=void 0===t?Ie.dQ.Auth:t)||"function"!=typeof n.currentUserCredentials)return[2,Promise.reject("No Auth module registered in Amplify")];if(this._isExpired(e)||!this._isPastTTL())return[3,6];St.debug("ttl has passed but token is not yet expired"),a.label=1;case 1:return a.trys.push([1,5,,6]),[4,n.currentUserPoolUser()];case 2:return r=a.sent(),[4,n.currentSession()];case 3:return i=a.sent(),o=i.refreshToken,[4,new Promise((function(e,t){r.refreshSession(o,(function(n,r){return n?t(n):e(r)}))}))];case 4:return a.sent(),[3,6];case 5:return s=a.sent(),St.debug("Error attempting to refreshing the session",s),[3,6];case 6:return[2,n.currentUserCredentials()]}}))}))},e.prototype.refreshFederatedToken=function(e){St.debug("Getting federated credentials");var t=e.provider,n=e.user,r=e.token,i=e.identity_id,o=e.expires_at;o=1970===new Date(o).getFullYear()?1e3*o:o;var s=this;return St.debug("checking if federated jwt token expired"),o>(new Date).getTime()?(St.debug("token not expired"),this._setCredentialsFromFederation({provider:t,token:r,user:n,identity_id:i,expires_at:o})):s._refreshHandlers[t]&&"function"==typeof s._refreshHandlers[t]?(St.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:s._refreshHandlers[t],provider:t,user:n})):(St.debug("no refresh handler for provider:",t),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var t=this,n=e.refreshHandler,r=e.provider,i=e.user;return me(n,[],1e4).then((function(e){return St.debug("refresh federated token sucessfully",e),t._setCredentialsFromFederation({provider:r,token:e.token,user:i,identity_id:e.identity_id,expires_at:e.expires_at})})).catch((function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||t.clear(),St.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)}))},e.prototype._isExpired=function(e){if(!e)return St.debug("no credentials for expiration check"),!0;St.debug("are these credentials expired?",e);var t=Date.now();return e.expiration.getTime()<=t},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){return bt(this,void 0,void 0,(function(){var e,t,n,r,i,o,s,a=this;return wt(this,(function(u){switch(u.label){case 0:if(St.debug("setting credentials for guest"),e=this._config,t=e.identityPoolId,n=e.region,e.mandatorySignIn)return[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")];if(!t)return St.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")];if(!n)return St.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")];r=void 0,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this._storageSync];case 2:return u.sent(),r=this._storage.getItem("CognitoIdentityId-"+t),this._identityId=r,[3,4];case 3:return i=u.sent(),St.debug("Failed to get the cached identityId",i),[3,4];case 4:return o=new yt({region:n,customUserAgent:(0,Oe.Zm)()}),s=void 0,s=r?Ke({identityId:r,client:o})():function(){return bt(a,void 0,void 0,(function(){var e;return wt(this,(function(n){switch(n.label){case 0:return[4,o.send(new Fe({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,Ke({client:o,identityId:e})()]}}))}))}().catch((function(e){return bt(a,void 0,void 0,(function(){return wt(this,(function(t){throw e}))}))})),[2,this._loadCredentials(s,"guest",!1,null).then((function(e){return e})).catch((function(e){return bt(a,void 0,void 0,(function(){var n=this;return wt(this,(function(i){return"ResourceNotFoundException"===e.name&&e.message==="Identity '"+r+"' not found."?(St.debug("Failed to load guest credentials"),this._storage.removeItem("CognitoIdentityId-"+t),s=function(){return bt(n,void 0,void 0,(function(){var e;return wt(this,(function(n){switch(n.label){case 0:return[4,o.send(new Fe({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,Ke({client:o,identityId:e})()]}}))}))}().catch((function(e){return bt(n,void 0,void 0,(function(){return wt(this,(function(t){throw e}))}))})),[2,this._loadCredentials(s,"guest",!1,null)]):[2,e]}))}))}))]}}))}))},e.prototype._setCredentialsFromFederation=function(e){var t=e.provider,n=e.token,r=e.identity_id,i={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[t]||t;if(!i)return Promise.reject("You must specify a federated provider");var o={};o[i]=n;var s=this._config,a=s.identityPoolId,u=s.region;if(!a)return St.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");
2if(!u)return St.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c=new yt({region:u,customUserAgent:(0,Oe.Zm)()}),f=void 0;r?f=Ke({identityId:r,logins:o,client:c})():f=Ve({logins:o,identityPoolId:a,client:c})();return this._loadCredentials(f,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var t=this;St.debug("set credentials from session");var n=e.getIdToken().getJwtToken(),r=this._config,i=r.region,o=r.userPoolId,s=r.identityPoolId;if(!s)return St.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!i)return St.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var a={};a["cognito-idp."+i+".amazonaws.com/"+o]=n;var u=new yt({region:i,customUserAgent:(0,Oe.Zm)()}),c=bt(t,void 0,void 0,(function(){var e;return wt(this,(function(t){switch(t.label){case 0:return[4,u.send(new Fe({IdentityPoolId:s,Logins:a}))];case 1:return e=t.sent().IdentityId,this._identityId=e,[2,Ke({client:u,logins:a,identityId:e})()]}}))})).catch((function(e){return bt(t,void 0,void 0,(function(){return wt(this,(function(t){throw e}))}))}));return this._loadCredentials(c,"userPool",!0,null)},e.prototype._loadCredentials=function(e,t,n,r){var i=this,o=this,s=this._config.identityPoolId;return new Promise((function(a,u){e.then((function(e){return bt(i,void 0,void 0,(function(){var i,u,c,f,l,p;return wt(this,(function(d){switch(d.label){case 0:if(St.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),o._credentials=e,o._credentials.authenticated=n,o._credentials_source=t,o._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===t){i=Object.assign({id:this._credentials.identityId},r.user),u=r.provider,c=r.token,f=r.expires_at,l=r.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:u,token:c,user:i,expires_at:f,identity_id:l}))}catch(h){St.debug("Failed to put federated info into auth storage",h)}}if("guest"!==t)return[3,4];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this._storageSync];case 2:return d.sent(),this._storage.setItem("CognitoIdentityId-"+s,e.identityId),[3,4];case 3:return p=d.sent(),St.debug("Failed to cache identityId",p),[3,4];case 4:return a(o._credentials),[2]}}))}))})).catch((function(t){if(t)return St.debug("Failed to load credentials",e),St.debug("Error loading credentials",t),void u(t)}))}))},e.prototype.set=function(e,t){return"session"===t?this._setCredentialsFromSession(e):"federation"===t?this._setCredentialsFromFederation(e):"guest"===t?this._setCredentialsForGuest():(St.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return bt(this,void 0,void 0,(function(){return wt(this,(function(e){return this._credentials=null,this._credentials_source=null,St.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]}))}))},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);Ie.dQ.register(_t)},41356:function(e,t,n){"use strict";n.d(t,{Xb:function(){return c}});var r=n(71421),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},s=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e},a=new r.k("Hub"),u="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default";var c=new(function(){function e(e){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","xr"],this.name=e}return e.prototype.remove=function(e,t){if(e instanceof RegExp){var n=this.patterns.find((function(t){return t.pattern.source===e.source}));if(!n)return void a.warn("No listeners for "+e);this.patterns=s(this.patterns.filter((function(e){return e!==n})))}else{var r=this.listeners[e];if(!r)return void a.warn("No listeners for "+e);this.listeners[e]=s(r.filter((function(e){return e.callback!==t})))}},e.prototype.dispatch=function(e,t,n,r){(void 0===n&&(n=""),this.protectedChannels.indexOf(e)>-1)&&(r===u||a.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences"));var o={channel:e,payload:i({},t),source:n,patternInfo:[]};try{this._toListeners(o)}catch(s){a.error(s)}},e.prototype.listen=function(e,t,n){var r,i=this;if(void 0===n&&(n="noname"),function(e){return void 0!==e.onHubCapsule}(t))a.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),r=t.onHubCapsule.bind(t);else{if("function"!=typeof t)throw new Error("No callback supplied to Hub");r=t}if(e instanceof RegExp)this.patterns.push({pattern:e,callback:r});else{var o=this.listeners[e];o||(o=[],this.listeners[e]=o),o.push({name:n,callback:r})}return function(){i.remove(e,r)}},e.prototype._toListeners=function(e){var t=e.channel,n=e.payload,r=this.listeners[t];if(r&&r.forEach((function(r){a.debug("Dispatching to "+t+" with ",n);try{r.callback(e)}catch(i){a.error(i)}})),this.patterns.length>0){if(!n.message)return void a.warn("Cannot perform pattern matching without a message 
2key");var s=n.message;this.patterns.forEach((function(t){var n=s.match(t.pattern);if(n){var r=o(n).slice(1),u=i(i({},e),{patternInfo:r});try{t.callback(u)}catch(c){a.error(c)}}}))}},e}())("__default__")},6611:function(e,t,n){"use strict";n.d(t,{L1:function(){return o},ho:function(){return s},rI:function(){return a},aq:function(){return u},ML:function(){return f},lC:function(){return p},JS:function(){return v}});var r=[{type:"text/plain",ext:"txt"},{type:"text/html",ext:"html"},{type:"text/javascript",ext:"js"},{type:"text/css",ext:"css"},{type:"text/csv",ext:"csv"},{type:"text/yaml",ext:"yml"},{type:"text/yaml",ext:"yaml"},{type:"text/calendar",ext:"ics"},{type:"text/calendar",ext:"ical"},{type:"image/apng",ext:"apng"},{type:"image/bmp",ext:"bmp"},{type:"image/gif",ext:"gif"},{type:"image/x-icon",ext:"ico"},{type:"image/x-icon",ext:"cur"},{type:"image/jpeg",ext:"jpg"},{type:"image/jpeg",ext:"jpeg"},{type:"image/jpeg",ext:"jfif"},{type:"image/jpeg",ext:"pjp"},{type:"image/jpeg",ext:"pjpeg"},{type:"image/png",ext:"png"},{type:"image/svg+xml",ext:"svg"},{type:"image/tiff",ext:"tif"},{type:"image/tiff",ext:"tiff"},{type:"image/webp",ext:"webp"},{type:"application/json",ext:"json"},{type:"application/xml",ext:"xml"},{type:"application/x-sh",ext:"sh"},{type:"application/zip",ext:"zip"},{type:"application/x-rar-compressed",ext:"rar"},{type:"application/x-tar",ext:"tar"},{type:"application/x-bzip",ext:"bz"},{type:"application/x-bzip2",ext:"bz2"},{type:"application/pdf",ext:"pdf"},{type:"application/java-archive",ext:"jar"},{type:"application/msword",ext:"doc"},{type:"application/vnd.ms-excel",ext:"xls"},{type:"application/vnd.ms-excel",ext:"xlsx"},{type:"message/rfc822",ext:"eml"}],i=function(e){return void 0===e&&(e={}),0===Object.keys(e).length},o=function(e,t,n){if(!e||!e.sort)return!1;var r=n&&"desc"===n?-1:1;return e.sort((function(e,n){var i=e[t],o=n[t];return void 0===o?void 0===i?0:1*r:void 0===i||i<o?-1*r:i>o?1*r:0})),!0},s=function(e,t){var n=Object.assign({},e);return t&&("string"==typeof t?delete n[t]:t.forEach((function(e){delete n[e]}))),n},a=function(e,t){void 0===t&&(t="application/octet-stream");var n=e.toLowerCase(),i=r.filter((function(e){return n.endsWith("."+e.ext)}));return i.length>0?i[0].type:t},u=function(e){var t=e.toLowerCase();return!!t.startsWith("text/")||("application/json"===t||"application/xml"===t||"application/sh"===t)},c=function(){for(var e="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=32;n>0;n-=1)e+=t[Math.floor(Math.random()*t.length)];return e},f=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,i=e.then((function(e){return r=!0,t=!1,e}),(function(e){throw n=!0,t=!1,e}));return i.isFullfilled=function(){return r},i.isPending=function(){return t},i.isRejected=function(){return n},i},l=function(){if("undefined"==typeof self)return!1;var e=self;return void 0!==e.WorkerGlobalScope&&self instanceof e.WorkerGlobalScope},p=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}},d=function e(t,n,r){if(void 0===n&&(n=[]),void 0===r&&(r=[]),!g(t))return t;var i={};for(var o in t){if(t.hasOwnProperty(o))i[n.includes(o)?o:o[0].toLowerCase()+o.slice(1)]=r.includes(o)?t[o]:e(t[o],n,r)}return i},h=function e(t,n,r){if(void 0===n&&(n=[]),void 0===r&&(r=[]),!g(t))return t;var i={};for(var o in t){if(t.hasOwnProperty(o))i[n.includes(o)?o:o[0].toUpperCase()+o.slice(1)]=r.includes(o)?t[o]:e(t[o],n,r)}return i},g=function(e){return!(!(e instanceof Object)||e instanceof Array||e instanceof Function||e instanceof Number||e instanceof String||e instanceof Boolean)},v=function(){function e(){}return e.isEmpty=i,e.sortByField=o,e.objectLessAttributes=s,e.filenameToContentType=a,e.isTextFile=u,e.generateRandomString=c,e.makeQuerablePromise=f,e.isWebWorker=l,e.browserOrNode=p,e.transferKeyToLowerCase=d,e.transferKeyToUpperCase=h,e.isStrictObject=g,e}()},71421:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},i=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e},o={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5},s=function(){function e(e,t){void 0===t&&(t="WARN"),this.name=e,this.level=t}return e.prototype._padding=function(e){return e<10?"0"+e:""+e},e.prototype._ts=function(){var e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()},e.prototype._log=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this.level;e.LOG_LEVEL&&(i=e.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(i=window.LOG_LEVEL);var s=o[i],a=o[t];if(a>=s){var u=console.log.bind(console);"ERROR"===t&&console.error&&(u=console.error.bind(console)),"WARN"===t&&console.warn&&(u=console.warn.bind(console));var c="["+t+"] "+this._ts()+" "+this.name;if(1===n.length&&"string"==typeof n[0])u(c+" - "+n[0]);else if(1===n.length)u(c,n[0]);else if("string"==typeof n[0]){var f=n.slice(1);1===f.length&&(f=f[0]),u(c+" - "+n[0],f)}else u(c,n)}},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,i(["INFO"],e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,i(["INFO"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,i(["WARN"],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,i(["ERROR"],e))},e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,i(["DEBUG"],e))},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,i(["VERBOSE"],e))},e.LOG_LEVEL=null,e}()},67960:function(e,t,n){"use strict";n.d(t,{_b:function(){return o}});var r=new(n(71421).k)("Parser"),i=function(e){var t,n={};if(e.aws_mobile_analytics_app_id){var i={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};n.Analytics=i}return(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(n.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_regi
2on,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in}),t=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},n.Analytics=Object.assign({},n.Analytics,e.Analytics),n.Auth=Object.assign({},n.Auth,e.Auth),n.Storage=Object.assign({},t),r.debug("parse config",e,"to amplifyconfig",n),n},o=function(){function e(){}return e.parseMobilehubConfig=i,e}()},17183:function(e,t,n){"use strict";n.d(t,{t4:function(){return i},Zm:function(){return o}});var r="aws-amplify/3.8.7",i={userAgent:r+" js",product:"",navigator:null,isReactNative:!1};if("undefined"!=typeof navigator&&navigator.product)switch(i.product=navigator.product||"",i.navigator=navigator||null,navigator.product){case"ReactNative":i.userAgent=r+" react-native",i.isReactNative=!0;break;default:i.userAgent=r+" js",i.isReactNative=!1}var o=function(){return i.userAgent}},55664:function(e,t,n){"use strict";n.d(t,{c4:function(){return o}});var r={},i=function(){function e(){}return e.setItem=function(e,t){return r[e]=t,r[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0},e.removeItem=function(e){return delete r[e]},e.clear=function(){return r={}},e}(),o=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=i}}return e.prototype.getStorage=function(){return this.storageWindow},e}()},49002:function(e,t,n){"use strict";n.d(t,{Ke:function(){return Bs}});var r,i,o,s,a,u,c,f,l,p,d,h,g,v,y,m,b,w,S,_,L,E,C,x,A,k,N,P,O,I,T,U,R,j,M,D,z,B,K,F,q,H,G,V,W,X,Z,Y,J,$,Q,ee,te,ne,re,ie,oe,se,ae,ue,ce,fe,le,pe,de,he,ge,ve,ye,me,be,we,Se,_e,Le,Ee,Ce,xe,Ae,ke,Ne,Pe,Oe,Ie,Te,Ue,Re,je,Me,De,ze,Be,Ke,Fe,qe,He,Ge,Ve,We,Xe,Ze,Ye,Je,$e,Qe,et,tt,nt,rt,it,ot,st,at,ut,ct,ft,lt,pt,dt,ht,gt,vt,yt,mt,bt,wt,St,_t,Lt,Et,Ct,xt,At,kt,Nt,Pt,Ot,It,Tt,Ut,Rt,jt,Mt,Dt,zt,Bt,Kt,Ft,qt,Ht,Gt,Vt,Wt,Xt,Zt,Yt,Jt,$t,Qt,en,tn,nn,rn,on,sn,an,un,cn,fn,ln,pn,dn,hn,gn,vn,yn,mn,bn,wn,Sn,_n,Ln,En,Cn,xn,An,kn,Nn,Pn,On,In,Tn,Un,Rn,jn,Mn,Dn,zn,Bn,Kn,Fn,qn,Hn,Gn,Vn,Wn,Xn,Zn,Yn,Jn,$n,Qn,er,tr,nr,rr,ir,or,sr,ar,ur,cr,fr,lr,pr,dr,hr,gr,vr,yr,mr,br,wr,Sr,_r,Lr,Er,Cr,xr,Ar,kr,Nr,Pr,Or,Ir,Tr,Ur,Rr,jr,Mr,Dr,zr,Br,Kr=n(71421),Fr=n(67960),qr=n(41356),Hr=n(88961),Gr=n(17183),Vr=n(52160),Wr=n(85042);!function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(r||(r={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(i||(i={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(o||(o={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(s||(s={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(a||(a={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(u||(u={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(c||(c={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(f||(f={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(l||(l={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(p||(p={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(d||(d={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(h||(h={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(g||(g={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(v||(v={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(y||(y={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Wr.oc}),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(m||(m={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)((0,Vr.pi)((0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Wr.oc}),e.SSECustomerKey&&{SSECustomerKey:Wr.oc}),e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Wr.oc}),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(b||(b={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(w||(w={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(S||(S={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(_||(_={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(L||(L={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(E||(E={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(C||(C={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Wr.oc}),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(x||(x={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)((0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc}),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Wr.oc}),e.SSECustomerKey&&{SSECustomerKey:Wr.oc})}}(A||(A={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(k||(k={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(N||(N={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(P||(P={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(O||(O={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(I||(I={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(T||(T={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(U||(U={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(R||(R={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(j||(j={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(M||(M={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(D||(D={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(z||(z={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(B||(B={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(K||(K={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(F||(F={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(q||(q={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(H||(H={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(G||(G={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(V||(V={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(W||(W={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(X||(X={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Z||(Z={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Y||(Y={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(J||(J={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}($||($={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Q||(Q={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ee||(ee={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(te||(te={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ne||(ne={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(re||(re={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ie||(ie={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(oe||(oe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(se||(se={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ae||(ae={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ue||(ue={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ce||(ce={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(fe||(fe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(le||(le={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(pe||(pe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(de||(de={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.KMSMasterKeyID&&{KMSMasterKeyID:Wr.oc})}}(he||(he={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({}
2,e),e.ApplyServerSideEncryptionByDefault&&{ApplyServerSideEncryptionByDefault:he.filterSensitiveLog(e.ApplyServerSideEncryptionByDefault)})}}(ge||(ge={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.Rules&&{Rules:e.Rules.map((function(e){return ge.filterSensitiveLog(e)}))})}}(ve||(ve={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:ve.filterSensitiveLog(e.ServerSideEncryptionConfiguration)})}}(ye||(ye={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(me||(me={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.KeyId&&{KeyId:Wr.oc})}}(be||(be={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(we||(we={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMS&&{SSEKMS:be.filterSensitiveLog(e.SSEKMS)})}}(Se||(Se={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.Encryption&&{Encryption:Se.filterSensitiveLog(e.Encryption)})}}(_e||(_e={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.S3BucketDestination&&{S3BucketDestination:_e.filterSensitiveLog(e.S3BucketDestination)})}}(Le||(Le={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ee||(Ee={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ce||(Ce={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.Destination&&{Destination:Le.filterSensitiveLog(e.Destination)})}}(xe||(xe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.InventoryConfiguration&&{InventoryConfiguration:xe.filterSensitiveLog(e.InventoryConfiguration)})}}(Ae||(Ae={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ke||(ke={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ne||(Ne={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Pe||(Pe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Oe||(Oe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ie||(Ie={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Te||(Te={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ue||(Ue={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Re||(Re={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(je||(je={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Me||(Me={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(De||(De={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ze||(ze={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Be||(Be={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ke||(Ke={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Fe||(Fe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(qe||(qe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(He||(He={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ge||(Ge={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ve||(Ve={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(We||(We={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Xe||(Xe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ze||(Ze={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ye||(Ye={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Je||(Je={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}($e||($e={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Qe||(Qe={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(et||(et={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(tt||(tt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(nt||(nt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(rt||(rt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(it||(it={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ot||(ot={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(st||(st={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(at||(at={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ut||(ut={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ct||(ct={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ft||(ft={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(lt||(lt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(pt||(pt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(dt||(dt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ht||(ht={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(gt||(gt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(vt||(vt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(yt||(yt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(mt||(mt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(bt||(bt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(wt||(wt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(St||(St={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(_t||(_t={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Lt||(Lt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Et||(Et={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ct||(Ct={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(xt||(xt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(At||(At={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(kt||(kt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Nt||(Nt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Pt||(Pt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ot||(Ot={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(It||(It={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Tt||(Tt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ut||(Ut={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Rt||(Rt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(jt||(jt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Mt||(Mt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Dt||(Dt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(zt||(zt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Bt||(Bt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(Kt||(Kt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSECustomerKey&&{SSECustomerKey:Wr.oc})}}(Ft||(Ft={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(qt||(qt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ht||(Ht={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Gt||(Gt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Vt||(Vt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Wt||(Wt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Xt||(Xt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Zt||(Zt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Yt||(Yt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Jt||(Jt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}($t||($t={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Qt||(Qt={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(en||(en={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(tn||(tn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(nn||(nn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(rn||(rn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(on||(on={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(sn||(sn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(an||(an={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(un||(un={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(cn||(cn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(fn||(fn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ln||(ln={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(pn||(pn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(dn||(dn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSECustomerKey&&{SSECustomerKey:Wr.oc})}}(hn||(hn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(gn||(gn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(vn||(vn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.InventoryConfigurationList&&{InventoryConfigurationList:e.InventoryConfigurationList.map((function(e){return xe.filterSensitiveLog(e)}))})}}(yn||(yn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(mn||(mn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(bn||(bn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(wn||(wn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Sn||(Sn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(_n||(_n={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ln||(Ln={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(En||(En={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Cn||(Cn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(xn||(xn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(An||(An={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(kn||(kn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Nn||(Nn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Pn||(Pn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(On||(On={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(In||(In={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Tn||(Tn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Un||(Un={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Rn||(Rn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(jn||(jn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Mn||(Mn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Dn||(Dn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(zn||(zn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Bn||(Bn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Kn||(Kn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Fn||(Fn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}
2(qn||(qn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Hn||(Hn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.ServerSideEncryptionConfiguration&&{ServerSideEncryptionConfiguration:ve.filterSensitiveLog(e.ServerSideEncryptionConfiguration)})}}(Gn||(Gn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.InventoryConfiguration&&{InventoryConfiguration:xe.filterSensitiveLog(e.InventoryConfiguration)})}}(Vn||(Vn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Wn||(Wn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Xn||(Xn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Zn||(Zn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Yn||(Yn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Jn||(Jn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}($n||($n={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Qn||(Qn={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(er||(er={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(tr||(tr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(nr||(nr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(rr||(rr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ir||(ir={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(or||(or={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(sr||(sr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ar||(ar={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(ur||(ur={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(cr||(cr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Wr.oc}),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(fr||(fr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)((0,Vr.pi)((0,Vr.pi)({},e),e.SSECustomerKey&&{SSECustomerKey:Wr.oc}),e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Wr.oc}),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(lr||(lr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(pr||(pr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(dr||(dr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(hr||(hr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(gr||(gr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(vr||(vr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(yr||(yr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(mr||(mr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(br||(br={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(wr||(wr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Sr||(Sr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(_r||(_r={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Lr||(Lr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Er||(Er={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Cr||(Cr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.KMSKeyId&&{KMSKeyId:Wr.oc})}}(xr||(xr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ar||(Ar={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.Encryption&&{Encryption:xr.filterSensitiveLog(e.Encryption)})}}(kr||(kr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.S3&&{S3:kr.filterSensitiveLog(e.S3)})}}(Nr||(Nr={})),function(e){e.IGNORE="IGNORE",e.NONE="NONE",e.USE="USE"}(Pr||(Pr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Or||(Or={})),function(e){e.DOCUMENT="DOCUMENT",e.LINES="LINES"}(Ir||(Ir={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Tr||(Tr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ur||(Ur={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Rr||(Rr={})),function(e){e.ALWAYS="ALWAYS",e.ASNEEDED="ASNEEDED"}(jr||(jr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Mr||(Mr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Dr||(Dr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(zr||(zr={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Br||(Br={}));var Xr=n(85976),Zr=n(60171),Yr=n(71835),Jr=function(e){return"string"==typeof e&&0===e.indexOf("arn:")&&e.split(":").length>=6},$r=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Qr=/(\d+\.){3}\d+/,ei=/\.\./,ti=/\./,ni=/^(.+\.)?s3[.-]([a-z0-9-]+)\./,ri=/^s3(-external-1)?\.amazonaws\.com$/,ii="amazonaws.com",oi=function(e){return ai(e)?e.replace(/fips-|-fips/,""):e},si=function(e){var t=e.match(ni);return[t[2],e.replace(new RegExp("^"+t[0]),"")]},ai=function(e){return e.startsWith("fips-")||e.endsWith("-fips")},ui=function(e,t){return e===t||oi(e)===t||e===oi(t)},ci=function(e,t){if(void 0===t&&(t={tlsCompatible:!0}),e.length>=64||!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(e)||/(\d+\.){3}\d+/.test(e)||/[.-]{2}/.test(e)||(null==t?void 0:t.tlsCompatible)&&ti.test(e))throw new Error("Invalid DNS label "+e)},fi=function(e){var t=e.baseHostname;return ni.test(t)?function(e){return"string"==typeof e.bucketName}(e)?pi(e):li(e):{bucketEndpoint:!1,hostname:t}},li=function(e){var t,n=(0,Zr.__read)((t=e.baseHostname,ri.test(t)?[t.replace(".amazonaws.com",""),ii]:si(t)),2),r=n[0],i=n[1],o=e.pathStyleEndpoint,s=e.dualstackEndpoint,a=void 0!==s&&s,u=e.accelerateEndpoint,c=void 0!==u&&u,f=e.tlsCompatible,l=void 0===f||f,p=e.useArnRegion,d=e.bucketName,h=e.clientPartition,g=void 0===h?"aws":h,v=e.clientSigningRegion,y=void 0===v?r:v;!function(e){if(e.pathStyleEndpoint)throw new Error("Path-style S3 endpoint is not supported when bucket is an ARN");if(e.accelerateEndpoint)throw new Error("Accelerate endpoint is not supported when bucket is an ARN");if(!e.tlsCompatible)throw new Error("HTTPS is required when bucket is an ARN")}({pathStyleEndpoint:o,accelerateEndpoint:c,tlsCompatible:l});var m=d.service,b=d.partition,w=d.accountId,S=d.region,_=d.resource;!function(e){if("s3"!==e&&"s3-outposts"!==e)throw new Error("Expect 's3' or 's3-outposts' in ARN service component")}(m),function(e,t){if(e!==t.clientPartition)throw new Error('Partition in ARN is incompatible, got "'+e+'" but expected "'+t.clientPartition+'"')}(b,{clientPartition:g}),function(e){if(!/[0-9]{12}/.exec(e))throw new Error("Access point ARN accountID does not match regex '[0-9]{12}'")}(w),function(e,t){if(""===e)throw new Error("ARN region is empty");
2if(!t.useArnRegion&&!ui(e,t.clientRegion)&&!ui(e,t.clientSigningRegion))throw new Error("Region in ARN is incompatible, got "+e+" but expected "+t.clientRegion);if(t.useArnRegion&&ai(e))throw new Error("Endpoint does not support FIPS region")}(S,{useArnRegion:p,clientRegion:r,clientSigningRegion:y});var L=function(e){var t=e.includes(":")?":":"/",n=(0,Zr.__read)(e.split(t)),r=n[0],i=n.slice(1);if("accesspoint"===r){if(1!==i.length||""===i[0])throw new Error("Access Point ARN should have one resource accesspoint"+t+"{accesspointname}");return{accesspointName:i[0]}}if("outpost"===r){if(!i[0]||"accesspoint"!==i[1]||!i[2]||3!==i.length)throw new Error("Outpost ARN should have resource outpost"+t+"{outpostId}"+t+"accesspoint"+t+"{accesspointName}");var o=(0,Zr.__read)(i,3),s=o[0];return o[1],{outpostId:s,accesspointName:o[2]}}throw new Error("ARN resource should begin with 'accesspoint"+t+"' or 'outpost"+t+"'")}(_),E=L.accesspointName,C=L.outpostId;ci(E+"-"+w,{tlsCompatible:l});var x=p?S:r,A=p?S:y;return C?(function(e){if("s3-outposts"!==e)throw new Error("Expect 's3-posts' in Outpost ARN service component")}(m),ci(C,{tlsCompatible:l}),function(e){if(e)throw new Error("Dualstack endpoint is not supported with Outpost")}(a),function(e){if(ai(null!=e?e:""))throw new Error("FIPS region is not supported with Outpost, got "+e)}(x),{bucketEndpoint:!0,hostname:E+"-"+w+"."+C+".s3-outposts."+x+"."+i,signingRegion:A,signingService:"s3-outposts"}):(function(e){if("s3"!==e)throw new Error("Expect 's3' in Accesspoint ARN service component")}(m),{bucketEndpoint:!0,hostname:E+"-"+w+".s3-accesspoint"+(a?".dualstack":"")+"."+x+"."+i,signingRegion:A})},pi=function(e){var t,n=e.accelerateEndpoint,r=void 0!==n&&n,i=e.baseHostname,o=e.bucketName,s=e.dualstackEndpoint,a=void 0!==s&&s,u=e.pathStyleEndpoint,c=void 0!==u&&u,f=e.tlsCompatible,l=void 0===f||f,p=(0,Zr.__read)((t=i,ri.test(t)?["us-east-1",ii]:si(t)),2),d=p[0],h=p[1];return c||!function(e){return $r.test(e)&&!Qr.test(e)&&!ei.test(e)}(o)||l&&ti.test(o)?{bucketEndpoint:!1,hostname:a?"s3.dualstack."+d+"."+h:i}:(r?i="s3-accelerate"+(a?".dualstack":"")+"."+h:a&&(i="s3.dualstack."+d+"."+h),{bucketEndpoint:!0,hostname:o+"."+i})},di=function(e){return function(t,n){return function(r){return(0,Zr.__awaiter)(void 0,void 0,void 0,(function(){var i,o,s,a,u,c,f,l,p,d,h,g,v,y,m,b,w;return(0,Zr.__generator)(this,(function(S){switch(S.label){case 0:return i=r.input.Bucket,o=e.bucketEndpoint,s=r.request,Yr.aW.isInstance(s)?e.bucketEndpoint?(s.hostname=i,[3,6]):[3,1]:[3,7];case 1:return Jr(i)?(a=function(e){var t=e.split(":");if(t.length<6||"arn"!==t[0])throw new Error("Malformed ARN");var n=(0,Zr.__read)(t);return{partition:n[1],service:n[2],region:n[3],accountId:n[4],resource:n.slice(5).join(":")}}(i),c=oi,[4,e.region()]):[3,5];case 2:return u=c.apply(void 0,[S.sent()]),[4,e.regionInfoProvider(u)];case 3:return f=S.sent()||{},l=f.partition,p=f.signingRegion,d=void 0===p?u:p,[4,e.useArnRegion()];case 4:return h=S.sent(),g=fi({bucketName:a,baseHostname:s.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:e.useDualstackEndpoint,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:"https:"===s.protocol,useArnRegion:h,clientPartition:l,clientSigningRegion:d}),b=g.hostname,w=g.bucketEndpoint,v=g.signingRegion,y=g.signingService,v&&v!==d&&(n.signing_region=v),y&&"s3"!==y&&(n.signing_service=y),s.hostname=b,o=w,[3,6];case 5:m=fi({bucketName:i,baseHostname:s.hostname,accelerateEndpoint:e.useAccelerateEndpoint,dualstackEndpoint:e.useDualstackEndpoint,pathStyleEndpoint:e.forcePathStyle,tlsCompatible:"https:"===s.protocol}),b=m.hostname,w=m.bucketEndpoint,s.hostname=b,o=w,S.label=6;case 6:o&&(s.path=s.path.replace(/^(\/)?[^\/]+/,""),""===s.path&&(s.path="/")),S.label=7;case 7:return[2,t((0,Zr.__assign)((0,Zr.__assign)({},r),{request:s}))]}}))}))}}},hi={tags:["BUCKET_ENDPOINT"],name:"bucketEndpointMiddleware",relation:"before",toMiddleware:"hostHeaderMiddleware"},gi=function(e){return{applyToStack:function(t){t.addRelativeTo(di(e),hi)}}};var vi=n(17210);var yi={name:"ssecMiddleware",step:"initialize",tags:["SSE"]},mi=function(e){return{applyToStack:function(t){t.add(function(e){var t=this;return function(n){return function(r){return(0,Zr.__awaiter)(t,void 0,void 0,(function(){var t,i,o,s,a,u,c,f,l,p,d,h,g,v,y,m,b;return(0,Zr.__generator)(this,(function(w){switch(w.label){case 0:t=(0,Zr.__assign)({},r.input),i=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}],w.label=1;case 1:w.trys.push([1,6,7,8]),o=(0,Zr.__values)(i),s=o.next(),w.label=2;case 2:return s.done?[3,5]:(a=s.value,(u=t[a.target])?(c=ArrayBuffer.isView(u)?new Uint8Array(u.buffer,u.byteOffset,u.byteLength):"string"==typeof u?e.utf8Decoder(u):new Uint8Array(u),f=e.base64Encoder(c),(l=new e.md5).update(c),p=[(0,Zr.__assign)({},t)],(b={})[a.target]=f,d=a.hash,g=(h=e).base64Encoder,[4,l.digest()]):[3,4]);case 3:t=Zr.__assign.apply(void 0,p.concat([(b[d]=g.apply(h,[w.sent()]),b)])),w.label=4;case 4:return s=o.next(),[3,2];case 5:return[3,8];case 6:return v=w.sent(),y={error:v},[3,8];case 7:try{s&&!s.done&&(m=o.return)&&m.call(o)}finally{if(y)throw y.error}
2return[7];case 8:return[2,n((0,Zr.__assign)((0,Zr.__assign)({},r),{input:t}))]}}))}))}}}(e),yi)}}},bi=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(mi(t)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="GetObjectCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:Ft.filterSensitiveLog,outputFilterSensitiveLog:Kt.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.LHU)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.P3C)(e,t)},t}(Wr.mY),wi=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="DeleteObjectCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:K.filterSensitiveLog,outputFilterSensitiveLog:B.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.BrV)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.IY3)(e,t)},t}(Wr.mY),Si=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="ListObjectsCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:Pn.filterSensitiveLog,outputFilterSensitiveLog:Nn.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.GN9)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.d2X)(e,t)},t}(Wr.mY),_i=JSON.parse('{"u2":"@aws-sdk/client-s3","i8":"1.0.0-rc.4"}'),Li=n(13636),Ei=n(1176),Ci=n(76327),xi=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");for(var n=new Uint8Array(8),r=7,i=Math.abs(Math.round(t));r>-1&&i>0;r--,i/=256)n[r]=i;return t<0&&Ai(n),new e(n)},e.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&Ai(e),parseInt((0,Ci.N)(e),16)*(t?-1:1)},e.prototype.toString=function(){return String(this.valueOf())},e}();function Ai(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}var ki,Ni=function(){function e(e,t){this.toUtf8=e,this.fromUtf8=t}return e.prototype.format=function(e){var t,n,r,i,o=[];try{for(var s=(0,Zr.__values)(Object.keys(e)),a=s.next();!a.done;a=s.next()){var u=a.value,c=this.fromUtf8(u);o.push(Uint8Array.from([c.byteLength]),c,this.formatHeaderValue(e[u]))}}catch(g){t={error:g}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}var f=new Uint8Array(o.reduce((function(e,t){return e+t.byteLength}),0)),l=0;try{for(var p=(0,Zr.__values)(o),d=p.next();!d.done;d=p.next()){var h=d.value;f.set(h,l),l+=h.byteLength}}catch(v){r={error:v}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.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 n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);
2case"long":var r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case"binary":var i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);var o=new Uint8Array(i.buffer);return o.set(e.value,3),o;case"string":var s=this.fromUtf8(e.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);var u=new Uint8Array(a.buffer);return u.set(s,3),u;case"timestamp":var c=new Uint8Array(9);return c[0]=8,c.set(xi.fromNumber(e.value.valueOf()).bytes,1),c;case"uuid":if(!zi.test(e.value))throw new Error("Invalid UUID received: "+e.value);var f=new Uint8Array(17);return f[0]=9,f.set((0,Ci.H)(e.value.replace(/\-/g,"")),1),f}},e.prototype.parse=function(e){for(var t={},n=0;n<e.byteLength;){var r=e.getUint8(n++),i=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,r));switch(n+=r,e.getUint8(n++)){case 0:t[i]={type:Pi,value:!0};break;case 1:t[i]={type:Pi,value:!1};break;case 2:t[i]={type:Oi,value:e.getInt8(n++)};break;case 3:t[i]={type:Ii,value:e.getInt16(n,!1)},n+=2;break;case 4:t[i]={type:Ti,value:e.getInt32(n,!1)},n+=4;break;case 5:t[i]={type:Ui,value:new xi(new Uint8Array(e.buffer,e.byteOffset+n,8))},n+=8;break;case 6:var o=e.getUint16(n,!1);n+=2,t[i]={type:Ri,value:new Uint8Array(e.buffer,e.byteOffset+n,o)},n+=o;break;case 7:var s=e.getUint16(n,!1);n+=2,t[i]={type:ji,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+n,s))},n+=s;break;case 8:t[i]={type:Mi,value:new Date(new xi(new Uint8Array(e.buffer,e.byteOffset+n,8)).valueOf())},n+=8;break;case 9:var a=new Uint8Array(e.buffer,e.byteOffset+n,16);n+=16,t[i]={type:Di,value:(0,Ci.N)(a.subarray(0,4))+"-"+(0,Ci.N)(a.subarray(4,6))+"-"+(0,Ci.N)(a.subarray(6,8))+"-"+(0,Ci.N)(a.subarray(8,10))+"-"+(0,Ci.N)(a.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"}(ki||(ki={}));var Pi="boolean",Oi="byte",Ii="short",Ti="integer",Ui="long",Ri="binary",ji="string",Mi="timestamp",Di="uuid",zi=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var Bi=function(){function e(e,t){this.headerMarshaller=new Ni(e,t)}return e.prototype.marshall=function(e){var t=e.headers,n=e.body,r=this.headerMarshaller.format(t),i=r.byteLength+n.byteLength+16,o=new Uint8Array(i),s=new DataView(o.buffer,o.byteOffset,o.byteLength),a=new Ei.Bi;return s.setUint32(0,i,!1),s.setUint32(4,r.byteLength,!1),s.setUint32(8,a.update(o.subarray(0,8)).digest(),!1),o.set(r,12),o.set(n,r.byteLength+12),s.setUint32(i-4,a.update(o.subarray(8,i-4)).digest(),!1),o},e.prototype.unmarshall=function(e){var t=function(e){var t=e.byteLength,n=e.byteOffset,r=e.buffer;if(t<16)throw new Error("Provided message too short to accommodate event stream message overhead");var i=new DataView(r,n,t),o=i.getUint32(0,!1);if(t!==o)throw new Error("Reported message length does not match received message length");var s=i.getUint32(4,!1),a=i.getUint32(8,!1),u=i.getUint32(t-4,!1),c=(new Ei.Bi).update(new Uint8Array(r,n,8));if(a!==c.digest())throw new Error("The prelude checksum specified in the message ("+a+") does not match the calculated CRC32 checksum ("+c.digest()+")");if(c.update(new Uint8Array(r,n+8,t-12)),u!==c.digest())throw new Error("The message checksum ("+c.digest()+") did not match the expected value of "+u);return{headers:new DataView(r,n+8+4,s),body:new Uint8Array(r,n+8+4+s,o-s-16)}}(e),n=t.headers,r=t.body;return{headers:this.headerMarshaller.parse(n),body:r}},e.prototype.formatHeaders=function(e){return this.headerMarshaller.format(e)},e}();var Ki=function(){function e(e){var t=e.utf8Encoder,n=e.utf8Decoder;this.eventMarshaller=new Bi(t,n),this.utfEncoder=t}return e.prototype.deserialize=function(e,t){var n,r,i,o,s,a,u;return function(e,t){var n;return(n={})[Symbol.asyncIterator]=function(){return(0,Zr.__asyncGenerator)(this,arguments,(function(){var n,r,i,o,s,a,u,c,f,l,p,d,h,g,v,y,m;return(0,Zr.__generator)(this,(function(b){switch(b.label){case 0:b.trys.push([0,12,13,18]),n=(0,Zr.__asyncValues)(e),b.label=1;case 1:return[4,(0,Zr.__await)(n.next())];case 2:if((r=b.sent()).done)return[3,11];if(i=r.value,o=t.eventMarshaller.unmarshall(i),"error"!==(s=o.headers[":message-type"].value))return[3,3];throw(a=new Error(o.headers[":error-message"].value||"UnknownError")).name=o.headers[":error-code"].value,a;case 3:return"exception"!==s?[3,5]:(u=o.headers[":exception-type"].value,(g={})[u]=o,c=g,[4,(0,Zr.__await)(t.deserializer(c))]);case 4:if((f=b.sent()).$unknown)throw(l=new Error(t.toUtf8(o.body))).name=u,l;throw f[u];case 5:return"event"!==s?[3,9]:((v={})[o.headers[":event-type"].value]=o,p=v,[4,(0,Zr.__await)(t.deserializer(p))]);case 6:return(d=b.sent()).$unknown?[3,10]:[4,(0,Zr.__await)(d)];case 7:return[4,b.sent()];case 8:return b.sent(),[3,10];case 9:throw Error("Unrecognizable event type: "+o.headers[":event-type"].value);case 10:return[3,1];case 11:return[3,18];case 12:return h=b.sent(),y={error:h},[3,18];case 13:return b.trys.push([13,,16,17]),r&&!r.done&&(m=n.return)?[4,(0,Zr.__await)(m.call(n))]:[3,15];case 14:b.sent(),b.label=15;case 15:return[3,17];case 16:if(y)throw y.error;return[7];
2case 17:return[7];case 18:return[2]}}))}))},n}((n=e,i=0,o=0,s=null,a=null,u=function(e){if("number"!=typeof e)throw new Error("Attempted to allocate an event message where size was not a number: "+e);i=e,o=4,s=new Uint8Array(e),new DataView(s.buffer).setUint32(0,e,!1)},(r={})[Symbol.asyncIterator]=function(){return(0,Zr.__asyncGenerator)(this,arguments,(function(){var e,t,r,c,f,l,p,d;return(0,Zr.__generator)(this,(function(h){switch(h.label){case 0:e=n[Symbol.asyncIterator](),h.label=1;case 1:return[4,(0,Zr.__await)(e.next())];case 2:return t=h.sent(),r=t.value,t.done?i?[3,4]:[4,(0,Zr.__await)(void 0)]:[3,10];case 3:return[2,h.sent()];case 4:return i!==o?[3,7]:[4,(0,Zr.__await)(s)];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,(0,Zr.__await)(void 0)];case 9:return[2,h.sent()];case 10:c=r.length,f=0,h.label=11;case 11:if(!(f<c))return[3,15];if(!s){if(l=c-f,a||(a=new Uint8Array(4)),p=Math.min(4-o,l),a.set(r.slice(f,f+p),o),f+=p,(o+=p)<4)return[3,15];u(new DataView(a.buffer).getUint32(0,!1)),a=null}return d=Math.min(i-o,c-f),s.set(r.slice(f,f+d),o),o+=d,f+=d,i&&i===o?[4,(0,Zr.__await)(s)]:[3,14];case 12:return[4,h.sent()];case 13:h.sent(),s=null,i=0,o=0,h.label=14;case 14:return[3,11];case 15:return[3,1];case 16:return[2]}}
2))}))},r),{eventMarshaller:this.eventMarshaller,deserializer:t,toUtf8:this.utfEncoder})},e.prototype.serialize=function(e,t){var n,r=this;return(n={})[Symbol.asyncIterator]=function(){return(0,Zr.__asyncGenerator)(this,arguments,(function(){var n,i,o,s,a,u,c;return(0,Zr.__generator)(this,(function(f){switch(f.label){case 0:f.trys.push([0,7,8,13]),n=(0,Zr.__asyncValues)(e),f.label=1;case 1:return[4,(0,Zr.__await)(n.next())];case 2:return(i=f.sent()).done?[3,6]:(o=i.value,s=r.eventMarshaller.marshall(t(o)),[4,(0,Zr.__await)(s)]);case 3:return[4,f.sent()];case 4:f.sent(),f.label=5;case 5:return[3,1];case 6:return[3,13];case 7:return a=f.sent(),u={error:a},[3,13];case 8:return f.trys.push([8,,11,12]),i&&!i.done&&(c=n.return)?[4,(0,Zr.__await)(c.call(n))]:[3,10];case 9:f.sent(),f.label=10;case 10:return[3,12];case 11:if(u)throw u.error;return[7];case 12:return[7];case 13:return[4,(0,Zr.__await)(new Uint8Array(0))];case 14:return[4,f.sent()];case 15:return f.sent(),[2]}}))}))},n},e}(),Fi=function(){function e(e){var t=e.utf8Encoder,n=e.utf8Decoder;this.eventMarshaller=new Bi(t,n),this.universalMarshaller=new Ki({utf8Decoder:n,utf8Encoder:t})}return e.prototype.deserialize=function(e,t){var n,r,i=qi(e)?(n=e,(r={})[Symbol.asyncIterator]=function(){return(0,Zr.__asyncGenerator)(this,arguments,(function(){var e,t,r,i;return(0,Zr.__generator)(this,(function(o){switch(o.label){case 0:e=n.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,Zr.__await)(e.read())];case 3:return t=o.sent(),r=t.done,i=t.value,r?[4,(0,Zr.__await)(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,(0,Zr.__await)(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}}
2))}))},r):e;return this.universalMarshaller.deserialize(i,t)},e.prototype.serialize=function(e,t){var n,r=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?(n=r[Symbol.asyncIterator](),new ReadableStream({pull:function(e){return(0,Zr.__awaiter)(this,void 0,void 0,(function(){var t,r,i;return(0,Zr.__generator)(this,(function(o){switch(o.label){case 0:return[4,n.next()];case 1:return t=o.sent(),r=t.done,i=t.value,r?[2,e.close()]:(e.enqueue(i),[2])}}))}))}})):r},e}(),qi=function(e){return"function"==typeof ReadableStream&&e instanceof ReadableStream},Hi=n(63656);function Gi(e,t,n){return void 0===n&&(n=1048576),new Promise((function(r,i){var o=new FileReader;o.addEventListener("error",i),o.addEventListener("abort",i);var s=e.size,a=0;function u(){a>=s?r():o.readAsArrayBuffer(e.slice(a,Math.min(s,a+n)))}o.addEventListener("load",(function(e){var n=e.target.result;t(new Uint8Array(n)),a+=n.byteLength,u()})),u()}))}var Vi=n(11857),Wi=n(87034),Xi=64,Zi=[1732584193,4023233417,2562383102,271733878],Yi=function(){function e(){this.state=Uint32Array.from(Zi),this.buffer=new DataView(new ArrayBuffer(Xi)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(!function(e){if("string"==typeof e)return 0===e.length;return 0===e.byteLength}(e)){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=function(e){if("string"==typeof e)return(0,Wi.fromUtf8)(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(e)}(e),n=0,r=t.byteLength;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===Xi&&(this.hashBuffer(),this.bufferLength=0)}},e.prototype.digest=function(){return(0,Zr.__awaiter)(this,void 0,void 0,(function(){var e,t,n,r,i,o,s;return(0,Zr.__generator)(this,(function(a){if(!this.finished){if(t=(e=this).buffer,n=e.bufferLength,r=e.bytesHashed,i=8*r,t.setUint8(this.bufferLength++,128),n%Xi>=56){for(s=this.bufferLength;s<Xi;s++)t.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(s=this.bufferLength;s<56;s++)t.setUint8(s,0);t.setUint32(56,i>>>0,!0),t.setUint32(60,Math.floor(i/4294967296),!0),this.hashBuffer(),this.finished=!0}for(o=new DataView(new ArrayBuffer(16)),s=0;s<4;s++)o.setUint32(4*s,this.state[s],!0);return[2,new Uint8Array(o.buffer,o.byteOffset,o.byteLength)]}))}))},e.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],o=t[3];n=$i(n,r,i,o,e.getUint32(0,!0),7,3614090360),o=$i(o,n,r,i,e.getUint32(4,!0),12,3905402710),i=$i(i,o,n,r,e.getUint32(8,!0),17,606105819),r=$i(r,i,o,n,e.getUint32(12,!0),22,3250441966),n=$i(n,r,i,o,e.getUint32(16,!0),7,4118548399),o=$i(o,n,r,i,e.getUint32(20,!0),12,1200080426),i=$i(i,o,n,r,e.getUint32(24,!0),17,2821735955),r=$i(r,i,o,n,e.getUint32(28,!0),22,4249261313),n=$i(n,r,i,o,e.getUint32(32,!0),7,1770035416),o=$i(o,n,r,i,e.getUint32(36,!0),12,2336552879),i=$i(i,o,n,r,e.getUint32(40,!0),17,4294925233),r=$i(r,i,o,n,e.getUint32(44,!0),22,2304563134),n=$i(n,r,i,o,e.getUint32(48,!0),7,1804603682),o=$i(o,n,r,i,e.getUint32(52,!0),12,4254626195),i=$i(i,o,n,r,e.getUint32(56,!0),17,2792965006),n=Qi(n,r=$i(r,i,o,n,e.getUint32(60,!0),22,1236535329),i,o,e.getUint32(4,!0),5,4129170786),o=Qi(o,n,r,i,e.getUint32(24,!0),9,3225465664),i=Qi(i,o,n,r,e.getUint32(44,!0),14,643717713),r=Qi(r,i,o,n,e.getUint32(0,!0),20,3921069994),n=Qi(n,r,i,o,e.getUint32(20,!0),5,3593408605),o=Qi(o,n,r,i,e.getUint32(40,!0),9,38016083),i=Qi(i,o,n,r,e.getUint32(60,!0),14,3634488961),r=Qi(r,i,o,n,e.getUint32(16,!0),20,3889429448),n=Qi(n,r,i,o,e.getUint32(36,!0),5,568446438),o=Qi(o,n,r,i,e.getUint32(56,!0),9,3275163606),i=Qi(i,o,n,r,e.getUint32(12,!0),14,4107603335),r=Qi(r,i,o,n,e.getUint32(32,!0),20,1163531501),n=Qi(n,r,i,o,e.getUint32(52,!0),5,2850285829),o=Qi(o,n,r,i,e.getUint32(8,!0),9,4243563512),i=Qi(i,o,n,r,e.getUint32(28,!0),14,1735328473),n=eo(n,r=Qi(r,i,o,n,e.getUint32(48,!0),20,2368359562),i,o,e.getUint32(20,!0),4,4294588738),o=eo(o,n,r,i,e.getUint32(32,!0),11,2272392833),i=eo(i,o,n,r,e.getUint32(44,!0),16,1839030562),r=eo(r,i,o,n,e.getUint32(56,!0),23,4259657740),n=eo(n,r,i,o,e.getUint32(4,!0),4,2763975236),o=eo(o,n,r,i,e.getUint32(16,!0),11,1272893353),i=eo(i,o,n,r,e.getUint32(28,!0),16,4139469664),r=eo(r,i,o,n,e.getUint32(40,!0),23,3200236656),n=eo(n,r,i,o,e.getUint32(52,!0),4,681279174),o=eo(o,n,r,i,e.getUint32(0,!0),11,3936430074),i=eo(i,o,n,r,e.getUint32(12,!0),16,3572445317),r=eo(r,i,o,n,e.getUint32(24,!0),23,76029189),n=eo(n,r,i,o,e.getUint32(36,!0),4,3654602809),o=eo(o,n,r,i,e.getUint32(48,!0),11,3873151461),i=eo(i,o,n,r,e.getUint32(60,!0),16,530742520),n=to(n,r=eo(r,i,o,n,e.getUint32(8,!0),23,3299628645),i,o,e.getUint32(0,!0),6,4096336452),o=to(o,n,r,i,e.getUint32(28,!0),10,1126891415),i=to(i,o,n,r,e.getUint32(56,!0),15,2878612391),r=to(r,i,o,n,e.getUint32(20,!0),21,4237533241),n=to(n,r,i,o,e.getUint32(48,!0),6,1700485571),o=to(o,n,r,i,e.getUint32(12,!0),10,2399980690),i=to(i,o,n,r,e.getUint32(40,!0),15,4293915773),r=to(r,i,o,n,e.getUint32(4,!0),21,2240044497),n=to(n,r,i,o,e.getUint32(32,!0),6,1873313359),o=to(o,n,r,i,e.getUint32(60,!0),10,4264355552),i=to(i,o,n,r,e.getUint32(24,!0),15,2734768916),r=to(r,i,o,n,e.getUint32(52,!0),21,1309151649),n=to(n,r,i,o,e.getUint32(16,!0),6,4149444226),o=to(o,n,r,i,e.getUint32(44,!0),10,3174756917),i=to(i,o,n,r,e.getUint32(8,!0),15,718787259),r=to(r,i,o,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=o+t[3]&4294967295},e}();function Ji(e,t,n,r,i,o){return((t=(t+e&4294967295)+(r+o&4294967295)&4294967295)<<i|t>>>32-i)+n&4294967295}function $i(e,t,n,r,i,o,s){return Ji(t&n|~t&r,e,t,i,o,s)}function Qi(e,t,n,r,i,o,s){return Ji(t&r|n&~r,e,t,i,o,s)}function eo(e,t,n,r,i,o,s){return Ji(t^n^r,e,t,i,o,s)}function to(e,t,n,r,i,o,s){return Ji(n^(t|~r),e,t,i,o,s)}var no=n(80626),ro=n(95974),io=n(44122),oo=n(4310),so=n(6116),ao="s3.{region}.amazonaws.com",uo=new Set(["ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),co=new Set(["cn-north-1","cn-northwest-1"]),fo=new Set(["us-iso-east-1"]),lo=new Set(["us-isob-east-1"]),po=new Set(["us-gov-east-1","us-gov-west-1"]),ho={apiVersion:"2006-03-01",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,t){var n=void 0;switch(e){case"ap-east-1":n={hostname:"s3.ap-east-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-1":n={hostname:"s3.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"s3.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"s3.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"s3.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"s3.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"s3.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"s3.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"cn-northwest-1":n={hostname:"s3.cn-northwest-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"s3.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"s3.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"s3.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"s3.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"s3.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-gov-west-1":n={hostname:"s3-fips-us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"me-south-1":n={hostname:"s3.me-south-1.amazonaws.com",partition:"aws"};break;case"s3-external-1":n={hostname:"s3-external-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"sa-east-1":n={hostname:"s3.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"s3.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"s3.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-east-1":n={hostname:"s3.us-gov-east-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-gov-west-1":n={hostname:"s3.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-iso-east-1":n={hostname:"s3.us-iso-east-1.c2s.ic.gov",partition:"aws-iso"};break;case"us-isob-east-1":n={hostname:"s3.us-isob-east-1.sc2s.sgov.gov",partition:"aws-iso-b"};break;case"us-west-1":n={hostname:"s3.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"s3.us-west-2.amazonaws.com",partition:"aws"};break;default:uo.has(e)&&(n={hostname:ao.replace("{region}",e),partition:"aws"}),co.has(e)&&(n={hostname:"s3.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),fo.has(e)&&(n={hostname:"s3.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),lo.has(e)&&(n={hostname:"s3.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),po.has(e)&&(n={hostname:"s3.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===n&&(n={hostname:ao.replace("{region}",e),partition:"aws"})}return Promise.resolve(n)},signingEscapePath:!1,signingName:"s3",useArnRegion:!1},go=(0,Vr.pi)((0,Vr.pi)({},ho),{runtime:"browser",base64Decoder:io.G,base64Encoder:io.s,bodyLengthChecker:oo.W,credentialDefaultProvider:(0,Vi.s)("Credential is missing"),defaultUserAgent:(0,so.f)(_i.u2,_i.i8),eventStreamSerdeProvider:function(e){return new Fi(e)},maxAttempts:no.J,md5:Yi,region:(0,Vi.s)("Region is missing"),requestHandler:new Hi.B,sha256:Li.Sha256,streamCollector:Hi.C,streamHasher:function(e,t){return(0,Zr.__awaiter)(this,void 0,void 0,(function(){var n;return(0,Zr.__generator)(this,(function(r){switch(r.label){case 0:return n=new e,[4,Gi(t,(function(e){n.update(e)}))];case 1:return r.sent(),[2,n.digest()]}}))}))},urlParser:ro.e,utf8Decoder:Wi.fromUtf8,utf8Encoder:Wi.toUtf8}),vo=n(64137),yo=n(56641);var mo={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware"},bo=function(e){return{applyToStack:function(t){t.add(function(e){var t=this;return function(n){return function(r){return(0,Zr.__awaiter)(t,void 0,void 0,(function(){var t;return(0,Zr.__generator)(this,(function(i){return t=r.request,Yr.aW.isInstance(t)&&t.body&&"node"===e.runtime&&(t.headers=(0,Zr.__assign)((0,Zr.__assign)({},t.headers),{Expect:"100-continue"})),[2,n((0,Zr.__assign)((0,Zr.__assign)({},r),{request:t}))]}))}))}}}(e),mo)}}},wo=n(49722),So=n(6255);var _o={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware"},Lo=function(e){return{applyToStack:function(e){e.add(function(){var e=this;return function(t){return function(n){return(0,Zr.__awaiter)(e,void 0,void 0,(function(){var e,r;return(0,Zr.__generator)(this,(function(i){if("string"==typeof(e=n.input.Bucket)&&!Jr(e)&&e.indexOf("/")>=0)throw(r=new Error("Bucket name shouldn't contain '/', received '"+e+"'")).name="InvalidBucketName",r;return[2,t((0,Zr.__assign)({},n))]}))}))}}}(),_o)}}},Eo={step:"build",tags:["USE_REGIONAL_ENDPOINT","S3"],name:"useRegionalEndpointMiddleware"},Co=function(e){return{applyToStack:function(t){t.add(function(e){return function(t){return function(n){return(0,Zr.__awaiter)(void 0,void 0,void 0,(function(){var r,i;return(0,Zr.__generator)(this,(function(o){switch(o.label){case 0:return r=n.request,!Yr.aW.isInstance(r)||e.isCustomEndpoint?[2,t((0,Zr.__assign)({},n))]:"s3.amazonaws.com"!==r.hostname?[3,1]:(r.hostname="s3.us-east-1.amazonaws.com",[3,3]);case 1:return i="aws-global",[4,e.region()];case 2:i===o.sent()&&(r.hostname="s3.amazonaws.com"),o.label=3;case 3:return[2,t((0,Zr.__assign)({},n))]}}))}))}}}(e),Eo)}}},xo=n(12910),Ao=n(47050),ko=function(e){function t(t){var n,r,i,o,s,a,u,c,f,l,p,d=this,h=(0,Vr.pi)((0,Vr.pi)({},go),t),g=(0,vo.Xb)(h),v=(0,vo.g4)(g),y=(0,xo.A$)(v),m=(0,no.BC)(y),b=(0,Ao.er)(m),w=(r=(n=b).bucketEndpoint,i=void 0!==r&&r,o=n.forcePathStyle,s=void 0!==o&&o,a=n.useAccelerateEndpoint,u=void 0!==a&&a,c=n.useDualstackEndpoint,f=void 0!==c&&c,l=n.useArnRegion,p=void 0!==l&&l,(0,Zr.__assign)((0,Zr.__assign)({},n),{bucketEndpoint:i,forcePathStyle:s,useAccelerateEndpoint:u,useDualstackEndpoint:f,useArnRegion:"function"==typeof p?p:function(){return Promise.resolve(p)}})),S=function(e){return(0,Zr.__assign)((0,Zr.__assign)({},e),{eventStreamMarshaller:e.eventStreamSerdeProvider(e)})}((0,wo.S8)(w));return(d=e.call(this,S)||this).config=S,d.middlewareStack.use((0,xo.yt)(d.config)),d.middlewareStack.use((0,no.NQ)(d.config)),d.middlewareStack.use((0,Ao.XJ)(d.config)),d.middlewareStack.use((0,yo.VG)(d.config)),d.middlewareStack.use(Lo(d.config)),d.middlewareStack.use(Co(d.config)),d.middlewareStack.use(bo(d.config)),d.middlewareStack.use((0,wo.G2)(d.config)),d.middlewareStack.use((0,So.cV)(d.config)),d}return(0,Vr.ZT)(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(Wr.KU),No=n(12100);function Po(e){var t=e.port,n=e.query,r=e.protocol,i=e.path,o=e.hostname;r&&":"!==r.substr(-1)&&(r+=":"),t&&(o+=":"+t),i&&"/"!==i.charAt(0)&&(i="/"+i);var s=n?(0,No.I)(n):"";return s&&"?"!==s[0]&&(s="?"+s),r+"//"+o+i+s}function Oo(e,t){return(0,Zr.__awaiter)(this,void 0,void 0,(function(){var n,r,i=this;return(0,Zr.__generator)(this,(function(o){switch(o.label){case 0:return n=function(e){return function(e){return(0,Zr.__awaiter)(i,void 0,void 0,(function(){return(0,Zr.__generator)(this,(function(t){return[2,{output:{request:e.request},response:void 0}]}))}))}},(r=e.middlewareStack.clone()).add(n,{step:"build",priority:"low"}),[4,t.resolveMiddleware(r,e.config,void 0)(t).then((function(e){return e.output.request}))];case 1:return[2,o.sent()]}}))}))}var Io=n(36618),To=function(){function e(e){var t=(0,Zr.__assign)({service:e.signingName||e.service||"s3",uriEscapePath:e.uriEscapePath||!1},e);this.signer=new Io.L1(t)}return e.prototype.presign=function(e,t){void 0===t&&(t={});
2var n=t.unsignableHeaders,r=void 0===n?new Set:n,i=(0,Zr.__rest)(t,["unsignableHeaders"]);return(0,Zr.__awaiter)(this,void 0,void 0,(function(){return(0,Zr.__generator)(this,(function(t){return r.add("content-type"),e.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",[2,this.signer.presign(e,(0,Zr.__assign)({expiresIn:900,unsignableHeaders:r},i))]}))}))},e}(),Uo=n(99576),Ro=n.n(Uo),jo=new Kr.k("axios-http-handler"),Mo="sendProgress",Do=function(){function e(e,t){void 0===e&&(e={}),this.httpOptions=e,this.emitter=t}return e.prototype.destroy=function(){},e.prototype.handle=function(e,t){var n=this.httpOptions.requestTimeout,r=this.emitter,i=e.path;if(e.query){var o=(0,No.I)(e.query);o&&(i+="?"+o)}var s=e.port,a=e.protocol+"//"+e.hostname+(s?":"+s:"")+i,u={};u.url=a,u.method=e.method,u.headers=e.headers,delete u.headers.host,e.body?u.data=e.body:u.headers["Content-Type"]&&(u.data=null),r&&(u.onUploadProgress=function(e){r.emit(Mo,e),jo.debug(e)}),u.responseType="blob";var c=[Ro().request(u).then((function(e){return{response:new Yr.Zn({headers:e.headers,statusCode:e.status,body:e.data})}})).catch((function(e){throw jo.error(e),e})),zo(n)];return Promise.race(c)},e}();function zo(e){return void 0===e&&(e=0),new Promise((function(t,n){e&&setTimeout((function(){var t=new Error("Request did not complete within "+e+" ms");t.name="TimeoutError",n(t)}),e)}))}var Bo,Ko,Fo,qo,Ho,Go,Vo,Wo,Xo,Zo,Yo,Jo,$o,Qo,es,ts,ns,rs,is,os,ss=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(mi(t)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="PutObjectCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:lr.filterSensitiveLog,outputFilterSensitiveLog:fr.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.gYi)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.iIy)(e,t)},t}(Wr.mY),as=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(mi(t)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="CreateMultipartUploadCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:A.filterSensitiveLog,outputFilterSensitiveLog:x.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.jPT)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.rVu)(e,t)},t}(Wr.mY);!function(e){e.SELECT="SELECT"}(Bo||(Bo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.OutputLocation&&{OutputLocation:Nr.filterSensitiveLog(e.OutputLocation)})}}(Ko||(Ko={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.RestoreRequest&&{RestoreRequest:Ko.filterSensitiveLog(e.RestoreRequest)})}}(Fo||(Fo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(qo||(qo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Ho||(Ho={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Go||(Go={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Vo||(Vo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Wo||(Wo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Xo||(Xo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Zo||(Zo={})),function(e){e.visit=function(e,t){return void 0!==e.Cont?t.Cont(e.Cont):void 0!==e.Progress?t.Progress(e.Progress):void 0!==e.Stats?t.Stats(e.Stats):void 0!==e.End?t.End(e.End):void 0!==e.Records?t.Records(e.Records):t._(e.$unknown[0],e.$unknown[1])},e.filterSensitiveLog=function(e){var t;return void 0!==e.Cont?{Cont:qo.filterSensitiveLog(e.Cont)}:void 0!==e.Progress?{Progress:Vo.filterSensitiveLog(e.Progress)}:void 0!==e.Stats?{Stats:Zo.filterSensitiveLog(e.Stats)}:void 0!==e.End?{End:Ho.filterSensitiveLog(e.End)}:void 0!==e.Records?{Records:Wo.filterSensitiveLog(e.Records)}:void 0!==e.$unknown?((t={})[e.$unknown[0]]="UNKNOWN",t):void 0}}(Yo||(Yo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.Payload&&{Payload:"STREAMING_CONTENT"})}}(Jo||(Jo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}($o||($o={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(Qo||(Qo={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSECustomerKey&&{SSECustomerKey:Wr.oc})}}(es||(es={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(ts||(ts={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSECustomerKey&&{SSECustomerKey:Wr.oc})}}(ns||(ns={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)({},e)}}(rs||(rs={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)({},e),e.SSEKMSKeyId&&{SSEKMSKeyId:Wr.oc})}}(is||(is={})),function(e){e.filterSensitiveLog=function(e){return(0,Vr.pi)((0,Vr.pi)((0,Vr.pi)({},e),e.SSECustomerKey&&{SSECustomerKey:Wr.oc}),e.CopySourceSSECustomerKey&&{CopySourceSSECustomerKey:Wr.oc})}}(os||(os={}));var us=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(mi(t)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="UploadPartCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:ns.filterSensitiveLog,outputFilterSensitiveLog:ts.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.t82)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.R7p)(e,t)},t}(Wr.mY),cs=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="CompleteMultipartUploadCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:v.filterSensitiveLog,outputFilterSensitiveLog:d.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.l7b)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.W5_)(e,t)},t}(Wr.mY),fs=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),s=t.logger,a="S3Client",u="AbortMultipartUploadCommand",c={logger:s,clientName:a,commandName:u,inputFilterSensitiveLog:o.filterSensitiveLog,outputFilterSensitiveLog:i.filterSensitiveLog};"function"==typeof s.info&&s.info({clientName:a,commandName:u});var f=t.requestHandler;return r.resolve((function(e){return f.handle(e.request,n||{})}),c)},t.prototype.serialize=function(e,t){return(0,Xr.CEs)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.WqK)(e,t)},t}(Wr.mY),ls=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Vr.ZT)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use((0,vi.p2)(t,this.serialize,this.deserialize)),this.middlewareStack.use(gi(t));var r=e.concat(this.middlewareStack),i=t.logger,o="S3Client",s="ListPartsCommand",a={logger:i,clientName:o,commandName:s,inputFilterSensitiveLog:zn.filterSensitiveLog,outputFilterSensitiveLog:Dn.filterSensitiveLog};"function"==typeof i.info&&i.info({clientName:o,commandName:s});var u=t.requestHandler;return r.resolve((function(e){return u.handle(e.request,n||{})}),a)},t.prototype.serialize=function(e,t){return(0,Xr.DEn)(e,t)},t.prototype.deserialize=function(e,t){return(0,Xr.Y6h)(e,t)},t}(Wr.mY),ps=n(36861),ds=n(91239),hs=n(32029),gs=function(e){var t,n=(0,hs.Qc)(e),r=n.hostname,i=void 0===r?"localhost":r,o=n.pathname,s=void 0===o?"/":o,a=n.port,u=n.protocol,c=void 0===u?"https:":u,f=n.search;return f&&(t=(0,ds.d)(f)),{hostname:i,port:a?parseInt(a):void 0,protocol:c,path:s,query:t}},vs=function(){return(vs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}
2,ys=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},ms=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},bs=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ws=new Kr.k("AWSS3ProviderManagedUpload"),Ss=function(){function e(e,t,n){this.minPartSize=5242880,this.queueSize=4,this.body=null,this.params=null,this.opts=null,this.multiPartMap=[],this.cancel=!1,this.bytesUploaded=0,this.totalBytesToUpload=0,this.emitter=null,this.params=e,this.opts=t,this.emitter=n}return e.prototype.upload=function(){return ys(this,void 0,void 0,(function(){var e,t,n,r,i,o;return ms(this,(function(s){switch(s.label){case 0:return e=this,[4,this.validateAndSanitizeBody(this.params.Body)];case 1:return e.body=s.sent(),this.totalBytesToUpload=this.byteLength(this.body),this.totalBytesToUpload<=this.minPartSize?(this.params.Body=this.body,t=new ss(this.params),[4,this._createNewS3Client(this.opts,this.emitter)]):[3,3];case 2:return[2,s.sent().send(t)];case 3:return[4,this.createMultiPartUpload()];case 4:n=s.sent(),r=Math.ceil(this.totalBytesToUpload/this.minPartSize),i=0,s.label=5;case 5:return i<r?[4,this.checkIfUploadCancelled(n)]:[3,10];case 6:return s.sent(),o=this.createParts(i),[4,this.uploadParts(n,o)];case 7:return s.sent(),[4,this.checkIfUploadCancelled(n)];case 8:s.sent(),s.label=9;case 9:return i+=this.queueSize,[3,5];case 10:return[4,this.finishMultiPartUpload(n)];case 11:return[2,s.sent()]}}))}))},e.prototype.createParts=function(e){for(var t=[],n=e,r=e*this.minPartSize;r<this.totalBytesToUpload&&t.length<this.queueSize;){var i=Math.min(r+this.minPartSize,this.totalBytesToUpload);t.push({bodyPart:this.body.slice(r,i),partNumber:++n,emitter:new ps.EventEmitter,_lastUploadedBytes:0}),r+=this.minPartSize}return t},e.prototype.createMultiPartUpload=function(){return ys(this,void 0,void 0,(function(){var e,t;return ms(this,(function(n){switch(n.label){case 0:return e=new as(this.params),[4,this._createNewS3Client(this.opts)];case 1:return[4,n.sent().send(e)];case 2:return t=n.sent(),ws.debug(t.UploadId),[2,t.UploadId]}}))}))},e.prototype.uploadParts=function(e,t){return ys(this,void 0,void 0,(function(){var n,r,i,o,s,a,u,c,f,l,p,d,h;return ms(this,(function(g){switch(g.label){case 0:n=[],g.label=1;case 1:g.trys.push([1,6,7,8]),r=bs(t),i=r.next(),g.label=2;case 2:return i.done?[3,5]:(o=i.value,this.setupEventListener(o),s={PartNumber:o.partNumber,Body:o.bodyPart,UploadId:e,Key:this.params.Key,Bucket:this.params.Bucket},a=new us(s),[4,this._createNewS3Client(this.opts,o.emitter)]);case 3:u=g.sent(),n.push(u.send(a)),g.label=4;case 4:return i=r.next(),[3,2];case 5:return[3,8];case 6:return c=g.sent(),d={error:c},[3,8];case 7:try{i&&!i.done&&(h=r.return)&&h.call(r)}finally{if(d)throw d.error}
2return[7];case 8:return g.trys.push([8,10,,11]),[4,Promise.all(n)];case 9:for(f=g.sent(),l=0;l<f.length;l++)this.multiPartMap.push({PartNumber:t[l].partNumber,ETag:f[l].ETag});return[3,11];case 10:return p=g.sent(),ws.error("error happened while uploading a part. Cancelling the multipart upload",p),this.cancelUpload(),[2];case 11:return[2]}}))}))},e.prototype.finishMultiPartUpload=function(e){return ys(this,void 0,void 0,(function(){var t,n,r,i;return ms(this,(function(o){switch(o.label){case 0:return t={Bucket:this.params.Bucket,Key:this.params.Key,UploadId:e,MultipartUpload:{Parts:this.multiPartMap}},n=new cs(t),[4,this._createNewS3Client(this.opts)];case 1:r=o.sent(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,r.send(n)];case 3:return[2,o.sent().Key];case 4:return i=o.sent(),ws.error("error happened while finishing the upload. Cancelling the multipart upload",i),this.cancelUpload(),[2];case 5:return[2]}}))}))},e.prototype.checkIfUploadCancelled=function(e){return ys(this,void 0,void 0,(function(){var t,n;return ms(this,(function(r){switch(r.label){case 0:if(!this.cancel)return[3,5];t="Upload was cancelled.",r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cleanup(e)];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),t+=n.errorMessage,[3,4];case 4:throw new Error(t);case 5:return[2]}}
2))}))},e.prototype.cancelUpload=function(){this.cancel=!0},e.prototype.cleanup=function(e){return ys(this,void 0,void 0,(function(){var t,n,r;return ms(this,(function(i){switch(i.label){case 0:return this.body=null,this.multiPartMap=[],this.bytesUploaded=0,this.totalBytesToUpload=0,t={Bucket:this.params.Bucket,Key:this.params.Key,UploadId:e},[4,this._createNewS3Client(this.opts)];case 1:return[4,(n=i.sent()).send(new fs(t))];case 2:return i.sent(),[4,n.send(new ls(t))];case 3:if((r=i.sent())&&r.Parts&&r.Parts.length>0)throw new Error("Multi Part upload clean up failed");return[2]}}))}))},e.prototype.setupEventListener=function(e){var t=this;e.emitter.on(Mo,(function(n){t.progressChanged(e.partNumber,n.loaded-e._lastUploadedBytes),e._lastUploadedBytes=n.loaded}))},e.prototype.progressChanged=function(e,t){this.bytesUploaded+=t,this.emitter.emit(Mo,{loaded:this.bytesUploaded,total:this.totalBytesToUpload,part:e,key:this.params.Key})},e.prototype.byteLength=function(e){if(null==e)return 0;if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("string"!=typeof e.path)throw new Error("Cannot determine length of "+e)},e.prototype.validateAndSanitizeBody=function(e){return ys(this,void 0,void 0,(function(){return ms(this,(function(t){switch(t.label){case 0:return this.isGenericObject(e)?[2,JSON.stringify(e)]:[3,1];case 1:return this.isBlob(e)?Gr.t4.isReactNative?[4,(0,Hi.C)(e)]:[3,3]:[3,4];case 2:return[2,t.sent()];case 3:case 4:return[2,e]}}))}))},e.prototype.isBlob=function(e){return"undefined"!=typeof Blob&&e instanceof Blob},e.prototype.isGenericObject=function(e){if(null!==e&&"object"==typeof e)try{return!(this.byteLength(e)>=0)}catch(t){return!0}return!1},e.prototype._createNewS3Client=function(e,t){return ys(this,void 0,void 0,(function(){var n,r,i,o,s;return ms(this,(function(a){switch(a.label){case 0:return[4,this._getCredentials()];case 1:return n=a.sent(),r=e.region,i=e.dangerouslyConnectToHttpEndpointForTesting,o={},i&&(o={endpoint:"http://localhost:20005",tls:!1,bucketEndpoint:!1,forcePathStyle:!0}),(s=new ko(vs(vs({region:r,credentials:n},o),{requestHandler:new Do({},t),customUserAgent:(0,Gr.Zm)(),urlParser:gs}))).middlewareStack.remove("contentLengthMiddleware"),[2,s]}}))}))},e.prototype._getCredentials=function(){return Hr.cN.get().then((function(e){if(!e)return!1;var t=Hr.cN.shear(e);return ws.debug("set credentials for storage",t),t})).catch((function(e){return ws.warn("ensure credentials error",e),!1}))},e}(),_s=function(){return(_s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Ls=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},Es=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Cs=new Kr.k("AWSS3Provider"),xs="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",As=function(e,t,n,r,i){if(e){var o={attrs:n};r&&(o.metrics=r),qr.Xb.dispatch("storage",{event:t,data:o,message:i},"Storage",xs)}},ks=function(){function e(e){this._config=e||{},Cs.debug("Storage Options",this._config)}return e.prototype.getCategory=function(){return e.CATEGORY},e.prototype.getProviderName=function(){return e.PROVIDER_NAME},e.prototype.configure=function(e){if(Cs.debug("configure Storage",e),!e)return this._config;var t=Fr._b.parseMobilehubConfig(e);return this._config=Object.assign({}
2,this._config,t.Storage),this._config.bucket||Cs.debug("Do not have bucket yet"),this._config},e.prototype.get=function(e,t){return Ls(this,void 0,void 0,(function(){var n,r,i,o,s,a,u,c,f,l,p,d,h,g,v,y,m,b,w,S,_,L;return Es(this,(function(E){switch(E.label){case 0:return[4,this._ensureCredentials()];case 1:if(!E.sent())return[2,Promise.reject("No credentials")];if(n=Object.assign({},this._config,t),r=n.bucket,i=n.download,o=n.cacheControl,s=n.contentDisposition,a=n.contentEncoding,u=n.contentLanguage,c=n.contentType,f=n.expires,l=n.track,p=this._prefix(n),d=p+e,h=this._createNewS3Client(n),Cs.debug("get "+e+" from "+d),g={Bucket:r,Key:d},o&&(g.ResponseCacheControl=o),s&&(g.ResponseContentDisposition=s),a&&(g.ResponseContentEncoding=a),u&&(g.ResponseContentLanguage=u),c&&(g.ResponseContentType=c),!0!==i)return[3,5];v=new bi(g),E.label=2;case 2:return E.trys.push([2,4,,5]),[4,h.send(v)];case 3:return y=E.sent(),As(l,"download",{method:"get",result:"success"},{fileSize:Number(y.Body.size||y.Body.length)},"Download success for "+e),[2,y];case 4:throw m=E.sent(),As(l,"download",{method:"get",result:"failed"},null,"Download failed with "+m.message),m;case 5:g.Expires=f||900,E.label=6;case 6:return E.trys.push([6,9,,10]),b=new To(_s({},h.config)),[4,Oo(h,new bi(g))];case 7:return w=E.sent(),_=Po,[4,b.presign(w,{expiresIn:g.Expires})];case 8:return S=_.apply(void 0,[E.sent()]),As(l,"getSignedUrl",{method:"get",result:"success"},null,"Signed URL: "+S),[2,S];case 9:throw L=E.sent(),Cs.warn("get signed url error",L),As(l,"getSignedUrl",{method:"get",result:"failed"},null,"Could not get a signed URL for "+e),L;case 10:return[2]}}
2))}))},e.prototype.put=function(e,t,n){return Ls(this,void 0,void 0,(function(){var r,i,o,s,a,u,c,f,l,p,d,h,g,v,y,m,b,w,S,_,L,E,C,x;return Es(this,(function(A){switch(A.label){case 0:return[4,this._ensureCredentials()];case 1:if(!A.sent())return[2,Promise.reject("No credentials")];r=Object.assign({},this._config,n),i=r.bucket,o=r.track,s=r.progressCallback,a=r.contentType,u=r.contentDisposition,c=r.cacheControl,f=r.expires,l=r.metadata,p=r.tagging,d=r.acl,h=r.serverSideEncryption,g=r.SSECustomerAlgorithm,v=r.SSECustomerKey,y=r.SSECustomerKeyMD5,m=r.SSEKMSKeyId,b=a||"binary/octet-stream",w=this._prefix(r),S=w+e,Cs.debug("put "+e+" to "+S),_={Bucket:i,Key:S,Body:t,ContentType:b},c&&(_.CacheControl=c),u&&(_.ContentDisposition=u),f&&(_.Expires=f),l&&(_.Metadata=l),p&&(_.Tagging=p),h&&(_.ServerSideEncryption=h,g&&(_.SSECustomerAlgorithm=g),v&&(_.SSECustomerKey=v),y&&(_.SSECustomerKeyMD5=y),m&&(_.SSEKMSKeyId=m)),L=new ps.EventEmitter,E=new Ss(_,r,L),d&&(_.ACL=d),A.label=2;case 2:return A.trys.push([2,4,,5]),L.on("sendProgress",(function(e){s&&("function"==typeof s?s(e):Cs.warn("progressCallback should be a function, not a "+typeof s))})),[4,E.upload()];case 3:return C=A.sent(),Cs.debug("upload result",C),As(o,"upload",{method:"put",result:"success"},null,"Upload success for "+e),[2,{key:e}];case 4:throw x=A.sent(),Cs.warn("error uploading",x),As(o,"upload",{method:"put",result:"failed"},null,"Error uploading "+e),x;case 5:return[2]}}
2))}))},e.prototype.remove=function(e,t){return Ls(this,void 0,void 0,(function(){var n,r,i,o,s,a,u,c,f;return Es(this,(function(l){switch(l.label){case 0:return[4,this._ensureCredentials()];case 1:if(!l.sent())return[2,Promise.reject("No credentials")];n=Object.assign({},this._config,t),r=n.bucket,i=n.track,o=this._prefix(n),s=o+e,a=this._createNewS3Client(n),Cs.debug("remove "+e+" from "+s),u=new wi({Bucket:r,Key:s}),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,a.send(u)];case 3:return c=l.sent(),As(i,"delete",{method:"remove",result:"success"},null,"Deleted "+e+" successfully"),[2,c];case 4:throw f=l.sent(),As(i,"delete",{method:"remove",result:"failed"},null,"Deletion of "+e+" failed with "+f),f;case 5:return[2]}}))}))},e.prototype.list=function(e,t){return Ls(this,void 0,void 0,(function(){var n,r,i,o,s,a,u,c,f,l,p;return Es(this,(function(d){switch(d.label){case 0:return[4,this._ensureCredentials()];case 1:if(!d.sent())return[2,Promise.reject("No credentials")];n=Object.assign({},this._config,t),r=n.bucket,i=n.track,o=n.maxKeys,s=this._prefix(n),a=s+e,u=this._createNewS3Client(n),Cs.debug("list "+e+" from "+a),c=new Si({Bucket:r,Prefix:a,MaxKeys:o}),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,u.send(c)];case 3:return f=d.sent(),l=[],f&&f.Contents&&(l=f.Contents.map((function(e){return{key:e.Key.substr(s.length),eTag:e.ETag,lastModified:e.LastModified,size:e.Size}}))),As(i,"list",{method:"list",result:"success"},null,l.length+" items returned from list operation"),Cs.debug("list",l),[2,l];case 4:throw p=d.sent(),Cs.warn("list error",p),As(i,"list",{method:"list",result:"failed"},null,"Listing items failed: "+p.message),p;case 5:return[2]}}
2))}))},e.prototype._ensureCredentials=function(){var e=this;return Hr.cN.get().then((function(t){if(!t)return!1;var n=Hr.cN.shear(t);return Cs.debug("set credentials for storage",n),e._config.credentials=n,!0})).catch((function(e){return Cs.warn("ensure credentials error",e),!1}))},e.prototype._prefix=function(e){var t=e.credentials,n=e.level,r=e.customPrefix||{},i=e.identityId||t.identityId,o=(void 0!==r.private?r.private:"private/")+i+"/",s=(void 0!==r.protected?r.protected:"protected/")+i+"/",a=void 0!==r.public?r.public:"public/";switch(n){case"private":return o;case"protected":return s;default:return a}},e.prototype._createNewS3Client=function(e,t){var n=e.region,r=e.credentials,i={};return e.dangerouslyConnectToHttpEndpointForTesting&&(i={endpoint:"http://localhost:20005",tls:!1,bucketEndpoint:!1,forcePathStyle:!0}),new ko(_s(_s({region:n,credentials:r,customUserAgent:(0,Gr.Zm)()},i),{requestHandler:new Do({},t)}))},e.CATEGORY="Storage",e.PROVIDER_NAME="AWSS3",e}(),Ns=function(){return(Ns=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Ps=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},Os=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Is=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s},Ts=new Kr.k("StorageClass"),Us="AWSS3",Rs=function(){function e(){this._config={},this._pluggables=[],Ts.debug("Storage Options",this._config),this.get=this.get.bind(this),this.put=this.put.bind(this),this.remove=this.remove.bind(this),this.list=this.list.bind(this)}return e.prototype.getModuleName=function(){return"Storage"},e.prototype.addPluggable=function(e){if(e&&"Storage"===e.getCategory()){this._pluggables.push(e);return e.configure(this._config[e.getProviderName()])}},e.prototype.getPluggable=function(e){var t=this._pluggables.find((function(t){return t.getProviderName()===e}));return void 0===t?(Ts.debug("No plugin found with providerName",e),null):t},e.prototype.removePluggable=function(e){this._pluggables=this._pluggables.filter((function(t){return t.getProviderName()!==e}))},e.prototype.configure=function(e){var t=this;if(Ts.debug("configure Storage"),!e)return this._config;var n=Fr._b.parseMobilehubConfig(e),r=Object.keys(n.Storage),i=["bucket","region","level","track","customPrefix","serverSideEncryption","SSECustomerAlgorithm","SSECustomerKey","SSECustomerKeyMD5","SSEKMSKeyId"],o=function(e){return i.some((function(t){return t===e}))};return r&&r.find((function(e){return o(e)}))&&!n.Storage.AWSS3&&(n.Storage.AWSS3={}),Object.entries(n.Storage).map((function(e){var t=Is(e,2),r=t[0],i=t[1];r&&o(r)&&void 0!==i&&(n.Storage.AWSS3[r]=i,delete n.Storage[r])})),Object.keys(n.Storage).forEach((function(e){"string"!=typeof n.Storage[e]&&(t._config[e]=Ns(Ns({},t._config[e]),n.Storage[e]))}
2)),this._pluggables.forEach((function(e){e.configure(t._config[e.getProviderName()])})),0===this._pluggables.length&&this.addPluggable(new ks),this._config},e.prototype.get=function(e,t){return Ps(this,void 0,void 0,(function(){var n,r,i;return Os(this,(function(o){return n=(t||{}).provider,r=void 0===n?Us:n,void 0===(i=this._pluggables.find((function(e){return e.getProviderName()===r})))&&(Ts.debug("No plugin found with providerName",r),Promise.reject("No plugin found in Storage for the provider")),[2,i.get(e,t)]}))}))},e.prototype.put=function(e,t,n){return Ps(this,void 0,void 0,(function(){var r,i,o;return Os(this,(function(s){return r=(n||{}).provider,i=void 0===r?Us:r,void 0===(o=this._pluggables.find((function(e){return e.getProviderName()===i})))&&(Ts.debug("No plugin found with providerName",i),Promise.reject("No plugin found in Storage for the provider")),[2,o.put(e,t,n)]}))}))},e.prototype.remove=function(e,t){return Ps(this,void 0,void 0,(function(){var n,r,i;return Os(this,(function(o){return n=(t||{}).provider,r=void 0===n?Us:n,void 0===(i=this._pluggables.find((function(e){return e.getProviderName()===r})))&&(Ts.debug("No plugin found with providerName",r),Promise.reject("No plugin found in Storage for the provider")),[2,i.remove(e,t)]}))}))},e.prototype.list=function(e,t){return Ps(this,void 0,void 0,(function(){var n,r,i;return Os(this,(function(o){return n=(t||{}).provider,r=void 0===n?Us:n,void 0===(i=this._pluggables.find((function(e){return e.getProviderName()===r})))&&(Ts.debug("No plugin found with providerName",r),Promise.reject("No plugin found in Storage for the provider")),[2,i.list(e,t)]}))}))},e}(),js=n(71001),Ms=function(){return(Ms=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Ds=new Kr.k("Storage"),zs=null,Bs=function(){if(zs)return zs;Ds.debug("Create Storage Instance, debug"),(zs=new Rs).vault=new Rs;var e=zs.configure;return zs.configure=function(t){Ds.debug("storage configure called");var n=Ms({},e.call(zs,t));Object.keys(n).forEach((function(e){"string"!=typeof n[e]&&(n[e]=Ms(Ms({},n[e]),{level:"private"}))})),Ds.debug("storage vault configure called"),zs.vault.configure(n)},zs}();js.dQ.register(Bs)},99576:function(e,t,n){e.exports=n(66354)},61894:function(e,t,n){"use strict";var r=n(98155),i=n(6411),o=n(39354),s=n(54581),a=n(33214),u=n(26805);e.exports=function(e){return new Promise((function(t,c){var f=e.data,l=e.headers;r.isFormData(f)&&delete l["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",h=e.auth.password||"";l.Authorization="Basic "+btoa(d+":"+h)}if(p.open(e.method.toUpperCase(),o(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};i(t,c,r),p=null}},p.onabort=function(){p&&(c(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){c(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){c(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(65511),v=(e.withCredentials||a(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;v&&(l[e.xsrfHeaderName]=v)}if("setRequestHeader"in p&&r.forEach(l,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete l[t]:p.setRequestHeader(t,e)})),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(y){if("json"!==e.responseType)throw y}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),c(e),p=null)})),void 0===f&&(f=null),p.send(f)}))}},66354:function(e,t,n){"use strict";var r=n(98155),i=n(46957),o=n(63293),s=n(20249);function a(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=a(n(3080));u.Axios=o,u.create=function(e){return a(s(u.defaults,e))},u.Cancel=n(52959),u.CancelToken=n(14894),u.isCancel=n(89725),u.all=function(e){return Promise.all(e)},u.spread=n(26798),e.exports=u,e.exports.default=u},52959:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")}
vendor: 10,046 bytes, line 2
2,t.prototype.__CANCEL__=!0,e.exports=t},14894:function(e,t,n){"use strict";var r=n(52959);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},89725:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},63293:function(e,t,n){"use strict";var r=n(98155),i=n(39354),o=n(77247),s=n(590),a=n(20249);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}})),e.exports=u},77247:function(e,t,n){"use strict";var r=n(98155);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},26805:function(e,t,n){"use strict";var r=n(99470);e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},590:function(e,t,n){"use strict";var r=n(98155),i=n(21563),o=n(89725),s=n(3080),a=n(63584),u=n(90187);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!a(e.url)&&(e.url=u(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return c(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},99470:function(e){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},20249:function(e,t,n){"use strict";var r=n(98155);e.exports=function(e,t){t=t||{};var n={};return r.forEach(["url","method","params","data"],(function(e){void 0!==t[e]&&(n[e]=t[e])})),r.forEach(["headers","auth","proxy"],(function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])})),r.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])})),n}},6411:function(e,t,n){"use strict";var r=n(26805);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},21563:function(e,t,n){"use strict";var r=n(98155);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},3080:function(e,t,n){"use strict";var r=n(98155),i=n(94474),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,u={adapter:(("undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)||"undefined"!=typeof XMLHttpRequest)&&(a=n(61894)),a),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u},46957:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},39354:function(e,t,n){"use strict";var r=n(98155);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},90187:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},65511:function(e,t,n){"use strict";var r=n(98155);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},63584:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},33214:function(e,t,n){"use strict";var r=n(98155);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},94474:function(e,t,n){"use strict";var r=n(98155);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},54581:function(e,t,n){"use strict";var r=n(98155),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},26798:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},98155:function(e,t,n){"use strict";var r=n(46957),i=n(9367),o=Object.prototype.toString;function s(e){return"[object Array]"===o.call(e)}function a(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:s,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:i,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return a(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}
2,forEach:c,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]="object"==typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},86338:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(1)),r(n(2)),r(n(3)),r(n(4)),r(n(5)),r(n(6)),r(n(7)),r(n(8)),r(n(9)),r(n(10)),r(n(11)),r(n(12)),r(n(13))},function(e,t,n){e.exports={a:"Anchor__a___1_Iz8"}},function(e,t,n){e.exports={button:"Button__button___vS7Mv",signInButton:"Button__signInButton___3bUH-",googleSignInButton:"Button__googleSignInButton___1YiCu",signInButtonIcon:"Button__signInButtonIcon___ihN75",auth0SignInButton:"Button__auth0SignInButton___znnCj",facebookSignInButton:"Button__facebookSignInButton___34Txh",amazonSignInButton:"Button__amazonSignInButton___2EMtl",oAuthSignInButton:"Button__oAuthSignInButton___3UGOl",signInButtonContent:"Button__signInButtonContent___xqTXJ"}},function(e,t,n){e.exports={formContainer:"Form__formContainer___1GA3x",formSection:"Form__formSection___1PPvW",formField:"Form__formField___38Ikl",formRow:"Form__formRow___2mwRs"}},function(e,t,n){e.exports={hint:"Hint__hint___2XngB"}},function(e,t,n){e.exports={input:"Input__input___3e_bf",inputLabel:"Input__inputLabel___3VF0S",label:"Input__label___23sO8",radio:"Input__radio___2hllK"}},function(e,t,n){e.exports={navBar:"Nav__navBar___xtCFA",navRight:"Nav__navRight___1QG2J",nav:"Nav__nav___2Dx2Y",navItem:"Nav__navItem___1LtFQ"}},function(e,t,n){e.exports={photoPickerButton:"PhotoPicker__photoPickerButton___2XdVn",photoPlaceholder:"PhotoPicker__photoPlaceholder___2JXO4",photoPlaceholderIcon:"PhotoPicker__photoPlaceholderIcon___3Et71"}},function(e,t,n){e.exports={container:"Section__container___3YYTG",actionRow:"Section__actionRow___2LWSU",sectionHeader:"Section__sectionHeader___2djyg",sectionHeaderHint:"Section__sectionHeaderHint___3Wxdc",sectionBody:"Section__sectionBody___ihqqd",sectionHeaderContent:"Section__sectionHeaderContent___1UCqa",sectionFooter:"Section__sectionFooter___1T54C",sectionFooterPrimaryContent:"Section__sectionFooterPrimaryContent___2r9ZX",sectionFooterSecondaryContent:"Section__sectionFooterSecondaryContent___Nj41Q"}},function(e,t,n){e.exports={selectInput:"SelectInput__selectInput___3efO4"}},function(e,t,n){e.exports={strike:"Strike__strike___1XV1b",strikeContent:"Strike__strikeContent___10gLb"}},function(e,t,n){e.exports={toast:"Toast__toast___XXr3v",toastClose:"Toast__toastClose___18lU4"}},function(e,t,n){e.exports={totpQrcode:"Totp__totpQrcode___1crLx"}},function(e,t,n){e.exports={sumerianSceneContainer:"XR__sumerianSceneContainer___3nVMt",sumerianScene:"XR__sumerianScene___2Tt7-",loadingOverlay:"XR__loadingOverlay___IbqcI",loadingContainer:"XR__loadingContainer___2Itxb",loadingLogo:"XR__loadingLogo___Ub7xQ",loadingSceneName:"XR__loadingSceneName___3__ne",loadingBar:"XR__loadingBar___2vcke",loadingBarFill:"XR__loadingBarFill___3M-D9",sceneErrorText:"XR__sceneErrorText___2y0tp",sce
2neBar:"XR__sceneBar___2ShrP",sceneName:"XR__sceneName___1ApHr",sceneActions:"XR__sceneActions___7plGs",actionButton:"XR__actionButton___2poIM",tooltip:"XR__tooltip___UYyhn",actionIcon:"XR__actionIcon___2qnd2",autoShowTooltip:"XR__autoShowTooltip___V1QH7"}}])},1176:function(e,t,n){"use strict";t.Bi=void 0;var r=n(60171);var i=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var i=r.__values(e),s=i.next();!s.done;s=i.next()){var a=s.value;this.checksum=this.checksum>>>8^o[255&(this.checksum^a)]}}catch(u){t={error:u}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}();t.Bi=i;var o=Uint32Array.from([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])},8706:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},42531:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},35081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},47339:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},17617:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var n=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];t.isMsWindow=function(e){if(function(e){return"MSInputMethodContext"in e&&"msCrypto"in e}(e)&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,r=t.getRandomValues,i=t.subtle;return n.map((function(e){return i[e]})).concat(r).every((function(e){return"function"==typeof e}))}return!1}},70667:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n(60171);r.__exportStar(n(8706),t),r.__exportStar(n(42531),t),r.__exportStar(n(35081),t),r.__exportStar(n(47339),t),r.__exportStar(n(17617),t)},47716:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_256=t.SHA_256_HMAC_ALGO=t.SHA_256_HASH=void 0,t.SHA_256_HASH={name:"SHA-256"},t.SHA_256_HMAC_ALGO={name:"HMAC",hash:t.SHA_256_HASH},t.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},32279:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(86088),i=n(80369),o=n(28663),s=n(7101),a=n(70667),u=n(85426),c=function(){function e(e){s.supportsWebCrypto(u.locateWindow())?this.hash=new i.Sha256(e):a.isMsWindow(u.locateWindow())?this.hash=new r.Sha256(e):this.hash=new o.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update(e,t)},e.prototype.digest=function(){return this.hash.digest()},e}();t.Sha256=c},86088:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(25682),i=n(47716),o=n(87034),s=n(85426),a=function(){function e(e){e?(this.operation=function(e){return new Promise((function(t,n){var r=s.locateWindow().msCrypto.subtle.importKey("raw",u(e),i.SHA_256_HMAC_ALGO,!1,["sign"]);r.oncomplete=function(){r.result&&t(r.result),n("ImportKey completed without importing key.")},r.onerror=function(){n("ImportKey failed to import key.")}}))}(e).then((function(e){return s.locateWindow().msCrypto.subtle.sign(i.SHA_256_HMAC_ALGO,e)})),this.operation.catch((function(){}))):this.operation=Promise.resolve(s.locateWindow().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var t=this;r.isEmptyData(e)||(this.operation=this.operation.then((function(n){return n.onerror=function(){t.operation=Promise.reject(new Error("Error encountered updating hash"))},n.process(u(e)),n})),this.operation.catch((function(){})))},e.prototype.digest=function(){return this.operation.then((function(e){return new Promise((function(t,n){e.onerror=function(){n("Error encountered finalizing hash")},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n("Error encountered finalizing hash")},e.finish()}))}))},e}();function u(e){return"string"==typeof e?o.fromUtf8(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=a},13636:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(60171).__exportStar(n(32279),t);var r=n(86088);Object.defineProperty(t,"Ie11Sha256",{enumerable:!0,get:function(){return r.Sha256}});var i=n(80369);Object.defineProperty(t,"WebCryptoSha256",{enumerable:!0,get:function(){return i.Sha256}})},25682:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},80369:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(87034),i=n(25682),o=n(47716),s=n(85426),a=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise((function(t,n){s.locateWindow().crypto.subtle.importKey("raw",u(e),o.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)})),this.key.catch((function(){})))}return e.prototype.update=function(e){if(!i.isEmptyData(e)){var t=u(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then((function(t){return s.locateWindow().crypto.subtle.sign(o.SHA_256_HMAC_ALGO,t,e.toHash).then((function(e){return new Uint8Array(e)}))})):i.isEmptyData(this.toHash)?Promise.resolve(o.EMPTY_DATA_SHA_256):Promise.resolve().then((function(){return s.locateWindow().crypto.subtle.digest(o.SHA_256_HASH,e.toHash)})).then((function(e){return Promise.resolve(new Uint8Array(e))}))},e}();function u(e){return"string"==typeof e?r.fromUtf8(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=a},43247:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var r=n(7089),i=function(){function e(){this.state=Int32Array.from(r.INIT),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 new Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>r.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===r.BLOCK_SIZE&&(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),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%r.BLOCK_SIZE>=r.BLOCK_SIZE-8){for(var i=this.bufferLength;i<r.BLOCK_SIZE;i++)t.setUint8(i,0);this.hashBuffer(),this.bufferLength=0}for(i=this.bufferLength;i<r.BLOCK_SIZE-8;i++)t.setUint8(i,0);t.setUint32(r.BLOCK_SIZE-8,Math.floor(e/4294967296),!0),t.setUint32(r.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}var o=new Uint8Array(r.DIGEST_LENGTH);for(i=0;i<8;i++)o[4*i]=this.state[i]>>>24&255,o[4*i+1]=this.state[i]>>>16&255,o[4*i+2]=this.state[i]>>>8&255,o[4*i+3]=this.state[i]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],i=t[1],o=t[2],s=t[3],a=t[4],u=t[5],c=t[6],f=t[7],l=0;l<r.BLOCK_SIZE;l++){if(l<16)this.temp[l]=(255&e[4*l])<<24|(255&e[4*l+1])<<16|(255&e[4*l+2])<<8|255&e[4*l+3];else{var p=this.temp[l-2],d=(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10,h=((p=this.temp[l-15])>>>7|p<<25)^(p>>>18|p<<14)^p>>>3;this.temp[l]=(d+this.temp[l-7]|0)+(h+this.temp[l-16]|0)}var g=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&u^~a&c)|0)+(f+(r.KEY[l]+this.temp[l]|0)|0)|0,v=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&o^i&o)|0;f=c,c=u,u=a,a=s+g|0,s=o,o=i,i=n,n=g+v|0}t[0]+=n,t[1]+=i,t[2]+=o,t[3]+=s,t[4]+=a,t[5]+=u,t[6]+=c,t[7]+=f},e}();t.RawSha256=i},7089:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],t.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},28663:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(60171).__exportStar(n(80091),t)},80091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(60171),i=n(7089),o=n(43247),s=n(87034),a=function(){function e(e){if(this.hash=new o.RawSha256,e){this.outer=new o.RawSha256;var t=function(e){var t=u(e);if(t.byteLength>i.BLOCK_SIZE){var n=new o.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(i.BLOCK_SIZE);return r.set(t),r}(e),n=new Uint8Array(i.BLOCK_SIZE);n.set(t);for(var r=0;r<i.BLOCK_SIZE;r++)t[r]^=54,n[r]^=92;this.hash.update(t),this.outer.update(n);for(r=0;r<t.byteLength;r++)t[r]=0}}return e.prototype.update=function(e){if(!function(e){if("string"==typeof e)return 0===e.length;return 0===e.byteLength}(e)&&!this.error)try{this.hash.update(u(e))}catch(t){this.error=t}},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 r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(e){return[2,this.digestSync()]}))}))},e}();function u(e){return"string"==typeof e?s.fromUtf8(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=a},7101:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),n(60171).__exportStar(n(46585),t)},46585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var r=n(60171),i=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function o(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function s(e){return e&&i.every((function(t){return"function"==typeof e[t]}))}t.supportsWebCrypto=function(e){return!(!o(e)||"object"!=typeof e.crypto.subtle)&&s(e.crypto.subtle)},t.supportsSecureRandom=o,t.supportsSubtleCrypto=s,t.supportsZeroByteGCM=function(e){return r.__awaiter(this,void 0,void 0,(function(){var t;return r.__generator(this,(function(n){switch(n.label){case 0:if(!s(e))return[2,!1];n.label=1;case 1:return n.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=n.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===n.sent().byteLength];case 4:return n.sent(),[2,!1];case 5:return[2]}}
2))}))}},88347:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},pi:function(){return o},mG:function(){return s},Jh:function(){return a},CR:function(){return u}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}Object.create;function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}Object.create},52160:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},pi:function(){return o},mG:function(){return s},Jh:function(){return a}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}Object.create;Object.create},64137:function(e,t,n){"use strict";n.d(t,{g4:function(){return i},Xb:function(){return a}});var r=n(60171),i=function(e){var t;return(0,r.__assign)((0,r.__assign)({},e),{tls:null===(t=e.tls)||void 0===t||t,endpoint:e.endpoint?o(e):function(){return s(e)},isCustomEndpoint:!!e.endpoint})},o=function(e){var t=e.endpoint,n=e.urlParser;if("string"==typeof t){var r=Promise.resolve(n(t));return function(){return r}}if("object"==typeof t){var i=Promise.resolve(t);return function(){return i}}return t},s=function(e){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){var t,n,i,o,s;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return t=e.tls,n=void 0===t||t,[4,e.region()];case 1:if(i=r.sent(),!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(i))throw new Error("Invalid region in client config");return[4,e.regionInfoProvider(i)];case 2:if(!(o=(null!==(s=r.sent())&&void 0!==s?s:{}).hostname))throw new Error("Cannot resolve hostname from client config");return[2,e.urlParser((n?"https:":"http:")+"//"+o)]}}))}))},a=function(e){if(!e.region)throw new Error("Region is missing");return(0,r.__assign)((0,r.__assign)({},e),{region:u(e.region)})},u=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}},63656:function(e,t,n){"use strict";n.d(t,{B:function(){return s},C:function(){return u}});var r=n(60171),i=n(71835),o=n(12100);var s=function(){function e(e){void 0===e&&(e={}),this.httpOptions=e}return e.prototype.destroy=function(){},e.prototype.handle=function(e,t){var n=null==t?void 0:t.abortSignal,s=this.httpOptions.requestTimeout;if(null==n?void 0:n.aborted){var a=new Error("Request aborted");return a.name="AbortError",Promise.reject(a)}var u=e.path;if(e.query){var c=(0,o.I)(e.query);c&&(u+="?"+c)}var f=e.port,l=e.protocol+"//"+e.hostname+(f?":"+f:"")+u,p={body:e.body,headers:new Headers(e.headers),method:e.method};"undefined"!=typeof AbortController&&(p.signal=n);
2var d,h=new Request(l,p),g=[fetch(h).then((function(e){var t,n,o=e.headers,s={};try{for(var a=(0,r.__values)(o.entries()),u=a.next();!u.done;u=a.next()){var c=u.value;s[c[0]]=c[1]}}catch(f){t={error:f}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return void 0!==e.body?{response:new i.Zn({headers:s,statusCode:e.status,body:e.body})}:e.blob().then((function(t){return{response:new i.Zn({headers:s,statusCode:e.status,body:t})}}))})),(d=s,void 0===d&&(d=0),new Promise((function(e,t){d&&setTimeout((function(){var e=new Error("Request did not complete within "+d+" ms");e.name="TimeoutError",t(e)}),d)})))];return n&&g.push(new Promise((function(e,t){n.onabort=function(){var e=new Error("Request aborted");e.name="AbortError",t(e)}}))),Promise.race(g)},e}(),a=n(44122),u=function(e){return"function"==typeof Blob&&e instanceof Blob?function(e){return(0,r.__awaiter)(this,void 0,void 0,(function(){var t,n;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return[4,c(e)];case 1:return t=r.sent(),n=(0,a.G)(t),[2,new Uint8Array(n)]}}))}))}(e):function(e){return(0,r.__awaiter)(this,void 0,void 0,(function(){var t,n,i,o,s,a,u;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:t=new Uint8Array(0),n=e.getReader(),i=!1,r.label=1;case 1:return i?[3,3]:[4,n.read()];case 2:return o=r.sent(),s=o.done,(a=o.value)&&(u=t,(t=new Uint8Array(u.length+a.length)).set(u),t.set(a,u.length)),i=s,[3,1];case 3:return[2,t]}}))}))}(e)};function c(e){return new Promise((function(t,n){var r=new FileReader;r.onloadend=function(){var e;if(2!==r.readyState)return n(new Error("Reader aborted too early"));var i=null!==(e=r.result)&&void 0!==e?e:"",o=i.indexOf(","),s=o>-1?o+1:i.length;t(i.substring(s))},r.onabort=function(){return n(new Error("Read aborted"))},r.onerror=function(){return n(r.error)},r.readAsDataURL(e)}))}},11857:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});var r=function(e){return function(){throw new Error(e)}}},56641:function(e,t,n){"use strict";n.d(t,{VG:function(){return a}});var r=n(60171),i=n(71835),o="content-length";var s={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware"},a=function(e){return{applyToStack:function(t){t.add(function(e){var t=this;return function(n){return function(s){return(0,r.__awaiter)(t,void 0,void 0,(function(){var t,a,u,c,f;return(0,r.__generator)(this,(function(l){return t=s.request,i.aW.isInstance(t)&&(a=t.body,u=t.headers,a&&-1===Object.keys(u).map((function(e){return e.toLowerCase()})).indexOf(o)&&void 0!==(c=e(a))&&(t.headers=(0,r.__assign)((0,r.__assign)({},t.headers),((f={})["content-length"]=String(c),f)))),[2,n((0,r.__assign)((0,r.__assign)({},s),{request:t}))]}))}))}}}(e.bodyLengthChecker),s)}}}},49722:function(e,t,n){"use strict";n.d(t,{S8:function(){return o},G2:function(){return a}});var r=n(60171),i=n(71835);function o(e){return e}var s={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"]},a=function(e){return{applyToStack:function(t){t.add(function(e){return function(t){return function(n){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){var o,s;return(0,r.__generator)(this,(function(r){return i.aW.isInstance(n.request)?(o=n.request,(void 0===(s=(e.requestHandler.metadata||{}).handlerProtocol)?"":s).indexOf("h2")>=0&&!o.headers[":authority"]?(delete o.headers.host,o.headers[":authority"]=""):o.headers.host||(o.headers.host=o.hostname),[2,t(n)]):[2,t(n)]}))}))}}}(e),s)}}}},6255:function(e,t,n){"use strict";n.d(t,{cV:function(){return o}});var r=n(60171),i={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize"},o=function(e){return{applyToStack:function(e){e.add((function(e,t){return function(n){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){var i,o,s,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return i=t.logger,[4,e(n)];case 1:return o=r.sent(),i?(s=o.response,"function"==typeof i.info&&i.info({metadata:{statusCode:s.statusCode,requestId:null!==(a=s.headers["x-amzn-requestid"])&&void 0!==a?a:s.headers["x-amzn-request-id"],extendedRequestId:s.headers["x-amz-id-2"],cfId:s.headers["x-amz-cf-id"]}}),[2,o]):[2,o]}}))}))}}),i)}}}},80626:function(e,t,n){"use strict";n.d(t,{J:function(){return g},NQ:function(){return o},BC:function(){return y}});var r=n(60171),i={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high"},o=function(e){return{applyToStack:function(t){t.add(function(e){return function(t){return function(n){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){return(0,r.__generator)(this,(function(r){return[2,e.retryStrategy.retry(t,n)]}))}))}}}(e),i)}}},s=n(71835),a=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],u=["Throttling","ThrottlingException","ThrottledException","RequestThrottledException","TooManyRequestsException","ProvisionedThroughputExceededException","TransactionInProgressException","RequestLimitExceeded","BandwidthLimitExceeded","LimitExceededException","RequestThrottled","SlowDown","PriorRequestNotComplete","EC2ThrottledException"],c=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],f=[500,502,503,504],l=function(e){var t;return u.includes(e.name)||1==(null===(t=e.$retryable)||void 0===t?void 0:t.throttling)},p=n(75223),d=function(e,t){return Math.floor(Math.min(2e4,Math.random()*Math.pow(2,t)*e))},h=function(e){return!!e&&(function(e){return void 0!==e.$retryable}(e)||function(e){return a.includes(e.name)}(e)||l(e)||function(e){var t;return c.includes(e.name)||f.includes((null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||0)}(e))},g=3,v=function(){function e(e,t){var n,r,i,o,s,a,u,c;
2this.maxAttemptsProvider=e,this.retryDecider=null!==(n=null==t?void 0:t.retryDecider)&&void 0!==n?n:h,this.delayDecider=null!==(r=null==t?void 0:t.delayDecider)&&void 0!==r?r:d,this.retryQuota=null!==(i=null==t?void 0:t.retryQuota)&&void 0!==i?i:(s=o=500,a=o,u=function(e){return"TimeoutError"===e.name?10:5},c=function(e){return u(e)<=a},Object.freeze({hasRetryTokens:c,retrieveRetryTokens:function(e){if(!c(e))throw new Error("No retry token available");var t=u(e);return a-=t,t},releaseRetryTokens:function(e){a+=null!=e?e:1,a=Math.min(a,s)}}))}return e.prototype.shouldRetry=function(e,t,n){return t<n&&this.retryDecider(e)&&this.retryQuota.hasRetryTokens(e)},e.prototype.getMaxAttempts=function(){return(0,r.__awaiter)(this,void 0,void 0,(function(){var e;return(0,r.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.maxAttemptsProvider()];case 1:return e=t.sent(),[3,3];case 2:return t.sent(),e=g,[3,3];case 3:return[2,e]}}))}))},e.prototype.retry=function(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function(){var n,i,o,a,u,c,f,d;return(0,r.__generator)(this,(function(h){switch(h.label){case 0:return i=0,o=0,[4,this.getMaxAttempts()];case 1:a=h.sent(),u=t.request,s.aW.isInstance(u)&&(u.headers["amz-sdk-invocation-id"]=(0,p.v4)()),c=function(){var c,p,d,h,g;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,5]),s.aW.isInstance(u)&&(u.headers["amz-sdk-request"]="attempt="+(i+1)+"; max="+a),[4,e(t)];case 1:return c=r.sent(),p=c.response,d=c.output,f.retryQuota.releaseRetryTokens(n),d.$metadata.attempts=i+1,d.$metadata.totalRetryDelay=o,[2,{value:{response:p,output:d}}];case 2:return h=r.sent(),i++,f.shouldRetry(h,i,a)?(n=f.retryQuota.retrieveRetryTokens(h),g=f.delayDecider(l(h)?500:100,i),o+=g,[4,new Promise((function(e){return setTimeout(e,g)}))]):[3,4];case 3:return r.sent(),[2,"continue"];case 4:throw h.$metadata||(h.$metadata={}),h.$metadata.attempts=i,h.$metadata.totalRetryDelay=o,h;case 5:return[2]}}
2))},f=this,h.label=2;case 2:return[5,c()];case 3:return"object"==typeof(d=h.sent())?[2,d.value]:[3,2];case 4:return[2]}}))}))},e}(),y=function(e){var t=m(e.maxAttempts);return(0,r.__assign)((0,r.__assign)({},e),{maxAttempts:t,retryStrategy:e.retryStrategy||new v(t)})},m=function(e){if(void 0===e&&(e=g),"number"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}},17210:function(e,t,n){"use strict";n.d(t,{p2:function(){return s}});var r=n(60171),i={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"]},o={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"]};function s(e,t,n){return{applyToStack:function(s){s.add(function(e,t){return function(n,i){return function(o){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){var s,a,u,c,f;return(0,r.__generator)(this,(function(l){switch(l.label){case 0:return s=i.logger,a=i.outputFilterSensitiveLog,[4,n(o)];case 1:return u=l.sent().response,"function"==typeof(null==s?void 0:s.debug)&&s.debug({httpResponse:u}),[4,t(u,e)];case 2:return(c=l.sent()).$metadata,f=(0,r.__rest)(c,["$metadata"]),"function"==typeof(null==s?void 0:s.info)&&s.info({output:a(f)}),[2,{response:u,output:c}]}}))}))}}}(e,n),i),s.add(function(e,t){return function(n,i){return function(o){return(0,r.__awaiter)(void 0,void 0,void 0,(function(){var s,a,u;return(0,r.__generator)(this,(function(c){switch(c.label){case 0:return s=i.logger,a=i.inputFilterSensitiveLog,"function"==typeof(null==s?void 0:s.info)&&s.info({input:a(o.input)}),[4,t(o.input,e)];case 1:return u=c.sent(),"function"==typeof(null==s?void 0:s.debug)&&s.debug({httpRequest:u}),[2,n((0,r.__assign)((0,r.__assign)({},o),{request:u}))]}}))}))}}}(e,t),o)}}}},12910:function(e,t,n){"use strict";n.d(t,{yt:function(){return l},A$:function(){return o}});var r=n(60171),i=n(36618);function o(e){var t,n=this,o=s(e.credentials||e.credentialDefaultProvider(e)),a=e.signingEscapePath,u=void 0===a||a,c=e.systemClockOffset,f=void 0===c?e.systemClockOffset||0:c,l=e.sha256;return t=e.signer?s(e.signer):function(){return s(e.region)().then((function(t){return(0,r.__awaiter)(n,void 0,void 0,(function(){return(0,r.__generator)(this,(function(n){switch(n.label){case 0:return[4,e.regionInfoProvider(t)];case 1:return[2,[n.sent()||{},t]]}}))}))})).then((function(t){var n=(0,r.__read)(t,2),s=n[0],a=n[1],c=s.signingRegion,f=void 0===c?e.signingRegion:c,p=s.signingService,d=void 0===p?e.signingName:p;return e.signingRegion=e.signingRegion||f||a,e.signingName=e.signingName||d,new i.L1({credentials:o,region:e.signingRegion,service:e.signingName,sha256:l,uriEscapePath:u})}))},(0,r.__assign)((0,r.__assign)({},e),{systemClockOffset:f,signingEscapePath:u,credentials:o,signer:t})}function s(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}var a=n(71835),u=function(e){return new Date(Date.now()+e)};function c(e){return function(t,n){return function(i){return(0,r.__awaiter)(this,void 0,void 0,(function(){var o,s,c,f,l,p,d,h,g;return(0,r.__generator)(this,(function(v){switch(v.label){case 0:return a.aW.isInstance(i.request)?"function"!=typeof e.signer?[3,2]:[4,e.signer()]:[2,t(i)];case 1:return s=v.sent(),[3,3];case 2:s=e.signer,v.label=3;case 3:return o=s,f=t,l=[(0,r.__assign)({},i)],g={},[4,o.sign(i.request,{signingDate:new Date(Date.now()+e.systemClockOffset),signingRegion:n.signing_region,signingService:n.signing_service})];case 4:return[4,f.apply(void 0,[r.__assign.apply(void 0,l.concat([(g.request=v.sent(),g)]))])];case 5:return c=v.sent(),p=c.response.headers,(d=p&&(p.date||p.Date))&&(h=Date.parse(d),y=h,m=e.systemClockOffset,Math.abs(u(m).getTime()-y)>=3e5&&(e.systemClockOffset=h-Date.now())),[2,c]}var y,m}))}))}}}var f={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware"},l=function(e){return{applyToStack:function(t){t.addRelativeTo(c(e),f)}}}},47050:function(e,t,n){"use strict";function r(e){return e}n.d(t,{XJ:function(){return a},er:function(){return r}});var i=n(60171),o=n(71835);var s={name:"getUserAgentMiddleware",step:"build",tags:["SET_USER_AGENT","USER_AGENT"]},a=function(e){return{applyToStack:function(t){var n;t.add((n=e,function(e){return function(t){var r=t.request;if(!o.aW.isInstance(r))return e(t);var s=r.headers,a="node"===n.runtime?"user-agent":"x-amz-user-agent";return s[a]?s[a]+=" "+n.defaultUserAgent:s[a]=""+n.defaultUserAgent,n.customUserAgent&&(s[a]+=" "+n.customUserAgent),e((0,i.__assign)((0,i.__assign)({},t),{request:r}))}}),s)}}}},71835:function(e,t,n){"use strict";n.d(t,{aW:function(){return o},Zn:function(){return r}});var r=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=n(60171),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,n=new e((0,i.__assign)((0,i.__assign)({},this),{headers:(0,i.__assign)({},this.headers)}));return n.query&&(n.query=(t=n.query,Object.keys(t).reduce((function(e,n){var r,o=t[n];return(0,i.__assign)((0,i.__assign)({},e),((r={})[n]=Array.isArray(o)?(0,i.__spread)(o):o,r))}),{}))),n},e}()},12100:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(60171),i=n(93347);function o(e){var t,n,o=[];try{for(var s=(0,r.__values)(Object.keys(e).sort()),a=s.next();!a.done;a=s.next()){var u=a.value,c=e[u];if(u=(0,i.i)(u),Array.isArray(c))for(var f=0,l=c.length;f<l;f++)o.push(u+"="+(0,i.i)(c[f]));else{var p=u;(c||"string"==typeof c)&&(p+="="+(0,i.i)(c)),o.push(p)}}}catch(d){t={error:d}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return o.join("&")}},91239:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(60171);function i(e){var t,n,i={};if(e=e.replace(/^\?/,""))try{for(var o=(0,r.__values)(e.split("&")),s=o.next();!s.done;s=o.next()){var a=s.value,u=(0,r.__read)(a.split("="),2),c=u[0],f=u[1],l=void 0===f?null:f;c=decodeURIComponent(c),l&&(l=decodeURIComponent(l)),c in i?Array.isArray(i[c])?i[c].push(l):i[c]=[i[c],l]:i[c]=l}}catch(p){t={error:p}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i}},36618:function(e,t,n){"use strict";n.d(t,{L1:function(){return P}});
2var r=n(60171),i="X-Amz-Date",o="X-Amz-Signature",s="X-Amz-Security-Token",a="authorization",u=i.toLowerCase(),c=[a,u,"date"],f=o.toLowerCase(),l="x-amz-content-sha256",p=s.toLowerCase(),d={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},h=/^proxy-/,g=/^sec-/,v="AWS4-HMAC-SHA256",y="AWS4-HMAC-SHA256-PAYLOAD",m="aws4_request",b={},w=[];function S(e,t,n){return e+"/"+t+"/"+n+"/"+m}var _=n(76327);function L(e,t,n){var i,o,s=e.headers,a={};try{for(var u=(0,r.__values)(Object.keys(s).sort()),c=u.next();!c.done;c=u.next()){var f=c.value,l=f.toLowerCase();(l in d||(null==t?void 0:t.has(l))||h.test(l)||g.test(l))&&(!n||n&&!n.has(l))||(a[l]=s[f].trim().replace(/\s+/g," "))}}catch(p){i={error:p}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return a}var E=n(93347);function C(e,t){var n=e.headers,i=e.body;return(0,r.__awaiter)(this,void 0,void 0,(function(){var e,o,s,a,u,c,f;return(0,r.__generator)(this,(function(p){switch(p.label){case 0:try{for(e=(0,r.__values)(Object.keys(n)),o=e.next();!o.done;o=e.next())if((s=o.value).toLowerCase()===l)return[2,n[s]]}catch(h){c={error:h}}finally{try{o&&!o.done&&(f=e.return)&&f.call(e)}finally{if(c)throw c.error}}return null!=i?[3,1]:[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:return"string"==typeof i||ArrayBuffer.isView(i)||(d=i,"function"==typeof ArrayBuffer&&d instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(d))?((a=new t).update(i),u=_.N,[4,a.digest()]):[3,3];case 2:return[2,u.apply(void 0,[p.sent()])];case 3:return[2,"UNSIGNED-PAYLOAD"]}var d}))}))}function x(e){var t=e.headers,n=e.query,i=(0,r.__rest)(e,["headers","query"]);return(0,r.__assign)((0,r.__assign)({},i),{headers:(0,r.__assign)({},t),query:n?A(n):void 0})}function A(e){return Object.keys(e).reduce((function(t,n){var i,o=e[n];return(0,r.__assign)((0,r.__assign)({},t),((i={})[n]=Array.isArray(o)?(0,r.__spread)(o):o,i))}),{})}function k(e){var t,n;e="function"==typeof e.clone?e.clone():x(e);try{for(var i=(0,r.__values)(Object.keys(e.headers)),o=i.next();!o.done;o=i.next()){var s=o.value;c.indexOf(s.toLowerCase())>-1&&delete e.headers[s]}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return e}function N(e){return function(e){if("number"==typeof e)return new Date(1e3*e);if("string"==typeof e)return Number(e)?new Date(1e3*Number(e)):new Date(e);return e}(e).toISOString().replace(/\.\d{3}Z$/,"Z")}var P=function(){function e(e){var t=e.applyChecksum,n=e.credentials,r=e.region,i=e.service,o=e.sha256,s=e.uriEscapePath,a=void 0===s||s;this.service=i,this.sha256=o,this.uriEscapePath=a,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=T(r),this.credentialProvider=U(n)}return e.prototype.presign=function(e,t){return void 0===t&&(t={}),(0,r.__awaiter)(this,void 0,void 0,(function(){var n,i,a,u,c,f,l,p,d,h,g,y,m,b,w,_,E,A,N,P,T,U,R;return(0,r.__generator)(this,(function(j){switch(j.label){case 0:return n=t.signingDate,i=void 0===n?new Date:n,a=t.expiresIn,u=void 0===a?3600:a,c=t.unsignableHeaders,f=t.signableHeaders,l=t.signingRegion,p=t.signingService,[4,this.credentialProvider()];case 1:return d=j.sent(),null==l?[3,2]:(g=l,[3,4]);case 2:return[4,this.regionProvider()];case 3:g=j.sent(),j.label=4;case 4:return h=g,y=O(i),m=y.longDate,b=y.shortDate,u>604800?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(w=S(b,h,null!=p?p:this.service),_=function(e){var t,n,i="function"==typeof e.clone?e.clone():x(e),o=i.headers,s=i.query,a=void 0===s?{}:s;try{for(var u=(0,r.__values)(Object.keys(o)),c=u.next();!c.done;c=u.next()){var f=c.value;"x-amz-"===f.toLowerCase().substr(0,6)&&(a[f]=o[f],delete o[f])}}
2catch(l){t={error:l}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return(0,r.__assign)((0,r.__assign)({},e),{headers:o,query:a})}(k(e)),d.sessionToken&&(_.query[s]=d.sessionToken),_.query["X-Amz-Algorithm"]=v,_.query["X-Amz-Credential"]=d.accessKeyId+"/"+w,_.query["X-Amz-Date"]=m,_.query["X-Amz-Expires"]=u.toString(10),E=L(_,c,f),_.query["X-Amz-SignedHeaders"]=I(E),A=_.query,N=o,P=this.getSignature,T=[m,w,this.getSigningKey(d,h,b,p)],U=this.createCanonicalRequest,R=[_,E],[4,C(e,this.sha256)]);case 5:return[4,P.apply(this,T.concat([U.apply(this,R.concat([j.sent()]))]))];case 6:return A[N]=j.sent(),[2,_]}}))}))},e.prototype.sign=function(e,t){return(0,r.__awaiter)(this,void 0,void 0,(function(){return(0,r.__generator)(this,(function(n){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 n=e.headers,i=e.payload,o=t.signingDate,s=void 0===o?new Date:o,a=t.priorSignature,u=t.signingRegion,c=t.signingService;return(0,r.__awaiter)(this,void 0,void 0,(function(){var e,t,o,f,l,p,d,h,g,v,m;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return null==u?[3,1]:(t=u,[3,3]);case 1:return[4,this.regionProvider()];case 2:t=r.sent(),r.label=3;case 3:return e=t,o=O(s),f=o.shortDate,l=o.longDate,p=S(f,e,null!=c?c:this.service),[4,C({headers:{},body:i},this.sha256)];case 4:return d=r.sent(),(h=new this.sha256).update(n),v=_.N,[4,h.digest()];case 5:return g=v.apply(void 0,[r.sent()]),m=[y,l,p,a,g,d].join("\n"),[2,this.signString(m,{signingDate:s,signingRegion:e,signingService:c})]}}))}))},e.prototype.signString=function(e,t){var n=void 0===t?{}:t,i=n.signingDate,o=void 0===i?new Date:i,s=n.signingRegion,a=n.signingService;return(0,r.__awaiter)(this,void 0,void 0,(function(){var t,n,i,u,c,f,l,p;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return[4,this.credentialProvider()];case 1:return t=r.sent(),null==s?[3,2]:(i=s,[3,4]);case 2:return[4,this.regionProvider()];case 3:i=r.sent(),r.label=4;case 4:return n=i,u=O(o).shortDate,l=(f=this.sha256).bind,[4,this.getSigningKey(t,n,u,a)];case 5:return(c=new(l.apply(f,[void 0,r.sent()]))).update(e),p=_.N,[4,c.digest()];case 6:return[2,p.apply(void 0,[r.sent()])]}}))}))},e.prototype.signRequest=function(e,t){var n=void 0===t?{}:t,i=n.signingDate,o=void 0===i?new Date:i,s=n.signableHeaders,c=n.unsignableHeaders,f=n.signingRegion,d=n.signingService;return(0,r.__awaiter)(this,void 0,void 0,(function(){var t,n,i,h,g,v,y,m,b,w,_;return(0,r.__generator)(this,(function(E){switch(E.label){case 0:return[4,this.credentialProvider()];case 1:return t=E.sent(),null==f?[3,2]:(i=f,[3,4]);case 2:return[4,this.regionProvider()];case 3:i=E.sent(),E.label=4;case 4:return n=i,h=k(e),g=O(o),v=g.longDate,y=g.shortDate,m=S(y,n,null!=d?d:this.service),h.headers[u]=v,t.sessionToken&&(h.headers[p]=t.sessionToken),[4,C(h,this.sha256)];case 5:return b=E.sent(),!function(e,t){var n,i;e=e.toLowerCase();try{for(var o=(0,r.__values)(Object.keys(t)),s=o.next();!s.done;s=o.next())if(e===s.value.toLowerCase())return!0}catch(a){n={error:a}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return!1}(l,h.headers)&&this.applyChecksum&&(h.headers[l]=b),w=L(h,c,s),[4,this.getSignature(v,m,this.getSigningKey(t,n,y,d),this.createCanonicalRequest(h,w,b))];case 6:return _=E.sent(),h.headers[a]="AWS4-HMAC-SHA256 Credential="+t.accessKeyId+"/"+m+", SignedHeaders="+I(w)+", Signature="+_,[2,h]}}))}))},e.prototype.createCanonicalRequest=function(e,t,n){var i=Object.keys(t).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+function(e){var t,n,i=e.query,o=void 0===i?{}:i,s=[],a={},u=function(e){if(e.toLowerCase()===f)return"continue";s.push(e);var t=o[e];"string"==typeof t?a[e]=(0,E.i)(e)+"="+(0,E.i)(t):Array.isArray(t)&&(a[e]=t.slice(0).sort().reduce((function(t,n){return t.concat([(0,E.i)(e)+"="+(0,E.i)(n)])}),[]).join("&"))};try{for(var c=(0,r.__values)(Object.keys(o).sort()),l=c.next();!l.done;l=c.next())u(l.value)}catch(p){t={error:p}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}return s.map((function(e){return a[e]})).filter((function(e){return e})).join("&")}(e)+"\n"+i.map((function(e){return e+":"+t[e]})).join("\n")+"\n\n"+i.join(";")+"\n"+n},e.prototype.createStringToSign=function(e,t,n){return(0,r.__awaiter)(this,void 0,void 0,(function(){var i,o;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return(i=new this.sha256).update(n),[4,i.digest()];case 1:return o=r.sent(),[2,"AWS4-HMAC-SHA256\n"+e+"\n"+t+"\n"+(0,_.N)(o)]}}))}))},e.prototype.getCanonicalPath=function(e){var t=e.path;return this.uriEscapePath?"/"+encodeURIComponent(t.replace(/^\//,"")).replace(/%2F/g,"/"):t},e.prototype.getSignature=function(e,t,n,i){return(0,r.__awaiter)(this,void 0,void 0,(function(){var o,s,a,u,c;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return[4,this.createStringToSign(e,t,i)];case 1:return o=r.sent(),u=(a=this.sha256).bind,[4,n];case 2:return(s=new(u.apply(a,[void 0,r.sent()]))).update(o),c=_.N,[4,s.digest()];case 3:return[2,c.apply(void 0,[r.sent()])]}}))}))},e.prototype.getSigningKey=function(e,t,n,i){return function(e,t,n,i,o){var s=n+":"+i+":"+o+":"+t.accessKeyId+":"+t.sessionToken;if(s in b)return b[s];for(w.push(s);w.length>50;)delete b[w.shift()];return b[s]=new Promise((function(a,u){var c,f,l=Promise.resolve("AWS4"+t.secretAccessKey),p=function(t){(l=l.then((function(n){return r=t,(i=new e(n)).update(r),i.digest();var r,i}))).catch((function(){}))};try{for(var d=(0,r.__values)([n,i,o,m]),h=d.next();!h.done;h=d.next())p(h.value)}catch(g){c={error:g}}finally{try{h&&!h.done&&(f=d.return)&&f.call(d)}finally{if(c)throw c.error}}l.then(a,(function(e){delete b[s],u(e)}))}))}(this.sha256,e,n,t,i||this.service)},e}(),O=function(e){var t=N(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.substr(0,8)}},I=function(e){return Object.keys(e).sort().join(";")},T=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e},U=function(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}},85042:function(e,t,n){"use strict";n.d(t,{KU:function(){return a},mY:function(){return u},oc:function(){return v},_w:function(){return g},jc:function(){return c},L:function(){return f},sT:function(){return l}});var r=n(60171),i=function e(){var t=[],n=[],i=new Set,a=function(e){return t.forEach((function(t){e.add(t.middleware,(0,r.__assign)({},t))}
2)),n.forEach((function(t){e.addRelativeTo(t.middleware,(0,r.__assign)({},t))})),e},u=function e(t){var n=[];return t.before.forEach((function(t){0===t.before.length&&0===t.after.length?n.push(t):n.push.apply(n,(0,r.__spread)(e(t)))})),n.push(t),t.after.reverse().forEach((function(t){0===t.before.length&&0===t.after.length?n.push(t):n.push.apply(n,(0,r.__spread)(e(t)))})),n},c=function(){var e,i=[],a=[],c={};return t.forEach((function(e){var t=(0,r.__assign)((0,r.__assign)({},e),{before:[],after:[]});t.name&&(c[t.name]=t),i.push(t)})),n.forEach((function(e){var t=(0,r.__assign)((0,r.__assign)({},e),{before:[],after:[]});t.name&&(c[t.name]=t),a.push(t)})),a.forEach((function(e){if(e.toMiddleware){var t=c[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)}})),(e=i,e.sort((function(e,t){return o[t.step]-o[e.step]||s[t.priority||"normal"]-s[e.priority||"normal"]}))).map(u).reduce((function(e,t){return e.push.apply(e,(0,r.__spread)(t)),e}),[]).map((function(e){return e.middleware}))},f={add:function(e,n){void 0===n&&(n={});var o=n.name,s=(0,r.__assign)({step:"initialize",priority:"normal",middleware:e},n);if(o){if(i.has(o))throw new Error("Duplicate middleware name '"+o+"'");i.add(o)}t.push(s)},addRelativeTo:function(e,t){var o=t.name,s=(0,r.__assign)({middleware:e},t);if(o){if(i.has(o))throw new Error("Duplicated middleware name '"+o+"'");i.add(o)}n.push(s)},clone:function(){return a(e())},use:function(e){e.applyToStack(f)},remove:function(e){return"string"==typeof e?function(e){var r=!1,o=function(t){return!t.name||t.name!==e||(r=!0,i.delete(e),!1)};return t=t.filter(o),n=n.filter(o),r}(e):function(e){var r=!1,o=function(t){return t.middleware!==e||(r=!0,t.name&&i.delete(t.name),!1)};return t=t.filter(o),n=n.filter(o),r}(e)},removeByTag:function(e){var r=!1,o=function(t){var n=t.tags,o=t.name;return!n||!n.includes(e)||(o&&i.delete(o),r=!0,!1)};return t=t.filter(o),n=n.filter(o),r},concat:function(t){var n=a(e());return n.use(t),n},applyToStack:a,resolve:function(e,t){var n,i;try{for(var o=(0,r.__values)(c().reverse()),s=o.next();!s.done;s=o.next()){e=(0,s.value)(e,t)}}catch(a){n={error:a}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return e}};return f},o={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},s={high:3,normal:2,low:1},a=function(){function e(e){this.middlewareStack=i(),this.config=e}return e.prototype.send=function(e,t,n){var r="function"!=typeof t?t:void 0,i="function"==typeof t?t:n,o=e.resolveMiddleware(this.middlewareStack,this.config,r);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(){this.middlewareStack=i()};function c(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16)}))}var f=function(e){return Array.isArray(e)?e:[e]},l=function e(t){for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]["#text"]?t[n]=t[n]["#text"]:"object"==typeof t[n]&&null!==t[n]&&(t[n]=e(t[n]));return t},p=function(){var e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,(0,r.__spread)([null],arguments)),n=new t;return Object.setPrototypeOf(n,e.prototype),n};p.prototype=Object.create(String.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(p,String);!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,r.__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))}}(p);var d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function g(e){var t=e.getUTCFullYear(),n=e.getUTCMonth(),r=e.getUTCDay(),i=e.getUTCDate(),o=e.getUTCHours(),s=e.getUTCMinutes(),a=e.getUTCSeconds();return d[r]+", "+(i<10?"0"+i:""+i)+" "+h[n]+" "+t+" "+(o<10?"0"+o:""+o)+":"+(s<10?"0"+s:""+s)+":"+(a<10?"0"+a:""+a)+" GMT"}var v="***SensitiveInformation***"},95974:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(91239),i=function(e){var t,n=new URL(e),i=n.hostname,o=n.pathname,s=n.port,a=n.protocol,u=n.search;return u&&(t=(0,r.d)(u)),{hostname:i,port:s?parseInt(s):void 0,protocol:a,path:o,query:t}}},44122:function(e,t,n){"use strict";n.d(t,{G:function(){return f},s:function(){return l}});for(var r={},i=new Array(64),o=0,s="A".charCodeAt(0),a="Z".charCodeAt(0);o+s<=a;o++){var u=String.fromCharCode(o+s);r[u]=o,i[o]=u}for(o=0,s="a".charCodeAt(0),a="z".charCodeAt(0);o+s<=a;o++){u=String.fromCharCode(o+s);var c=o+26;r[u]=c,i[c]=u}for(o=0;o<10;o++){r[o.toString(10)]=o+52;u=o.toString(10),c=o+52;r[u]=c,i[c]=u}r["+"]=62,i[62]="+",r["/"]=63,i[63]="/";function f(e){var t=e.length/4*3;"=="===e.substr(-2)?t-=2:"="===e.substr(-1)&&t--;for(var n=new ArrayBuffer(t),i=new DataView(n),o=0;o<e.length;o+=4){for(var s=0,a=0,u=o,c=o+3;u<=c;u++)"="!==e[u]?(s|=r[e[u]]<<6*(c-u),a+=6):s>>=6;var f=o/4*3;s>>=a%8;for(var l=Math.floor(a/8),p=0;p<l;p++){var d=8*(l-p-1);
2i.setUint8(f+p,(s&255<<d)>>d)}}return new Uint8Array(n)}function l(e){for(var t="",n=0;n<e.length;n+=3){for(var r=0,o=0,s=n,a=Math.min(n+3,e.length);s<a;s++)r|=e[s]<<8*(a-s-1),o+=8;var u=Math.ceil(o/6);r<<=6*u-o;for(var c=1;c<=u;c++){var f=6*(u-c);t+=i[(r&63<<f)>>f]}t+="==".slice(0,4-u)}return t}},4310:function(e,t,n){"use strict";function r(e){if("string"==typeof e){for(var t=e.length,n=t-1;n>=0;n--){var r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2)}return t}return"number"==typeof e.byteLength?e.byteLength:"number"==typeof e.size?e.size:void 0}n.d(t,{W:function(){return r}})},76327:function(e,t,n){"use strict";n.d(t,{H:function(){return a},N:function(){return u}});for(var r={},i={},o=0;o<256;o++){var s=o.toString(16).toLowerCase();1===s.length&&(s="0"+s),r[o]=s,i[s]=o}function a(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),n=0;n<e.length;n+=2){var r=e.substr(n,2).toLowerCase();if(!(r in i))throw new Error("Cannot decode unrecognized sequence "+r+" as hexadecimal");t[n/2]=i[r]}return t}function u(e){for(var t="",n=0;n<e.byteLength;n++)t+=r[e[n]];return t}},85426:function(e,t,n){"use strict";n.r(t),n.d(t,{locateWindow:function(){return i}});var r={};function i(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:r}},93347:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,i)},i=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}},6116:function(e,t,n){"use strict";function r(e,t){return"aws-sdk-js-v3-"+e+"/"+t+" "+("undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:"")}n.d(t,{f:function(){return r}})},87034:function(e,t,n){"use strict";n.r(t),n.d(t,{fromUtf8:function(){return r},toUtf8:function(){return i}});var r=function(e){return"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e.charCodeAt(n);if(i<128)t.push(i);else if(i<2048)t.push(i>>6|192,63&i|128);else if(n+1<e.length&&55296==(64512&i)&&56320==(64512&e.charCodeAt(n+1))){var o=65536+((1023&i)<<10)+(1023&e.charCodeAt(++n));t.push(o>>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)}(e)},i=function(e){return"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var t="",n=0,r=e.length;n<r;n++){var i=e[n];if(i<128)t+=String.fromCharCode(i);else if(192<=i&&i<224){var o=e[++n];t+=String.fromCharCode((31&i)<<6|63&o)}else if(240<=i&&i<365){var s="%"+[i,e[++n],e[++n],e[++n]].map((function(e){return e.toString(16)})).join("%");t+=decodeURIComponent(s)}else t+=String.fromCharCode((15&i)<<12|(63&e[++n])<<6|63&e[++n])}return t}(e)}},93008:function(e,t,n){"use strict";n.d(t,{o:function(){return i},e:function(){return o}});var r=n(60171);var i=function(){function e(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}return e.prototype.withName=function(e){return this.name=e,this},e.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},e.prototype.addChildNode=function(e){return this.children.push(e),this},e.prototype.removeAttribute=function(e){return delete this.attributes[e],this},e.prototype.toString=function(){var e,t,n=Boolean(this.children.length),i="<"+this.name,o=this.attributes;try{for(var s=(0,r.__values)(Object.keys(o)),a=s.next();!a.done;a=s.next()){var u=a.value,c=o[u];null!=c&&(i+=" "+u+'="'+((""+c).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")+'"'))}}catch(f){e={error:f}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return i+(n?">"+this.children.map((function(e){return e.toString()})).join("")+"</"+this.name+">":"/>")},e}();var o=function(){function e(e){this.value=e}return e.prototype.toString=function(){return(""+this.value).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},e}()},36861:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}g(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,s,c;if(a(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"==typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=u(e))>0&&s.length>i&&!s.warned){s.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=s.length,c=f,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else{var c=u.length,f=h(u,c);for(n=0;n<c;++n)r(f[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return a(t),this.on(e,l(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,l(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,s;if(a(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit
2("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},95209:function(e,t,n){"use strict";var r=n(98574).buildOptions,i={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:"  ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},o=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor"];function s(e){this.options=r(e,i,o),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=h),this.options.cdataTagName?this.isCDATA=g:this.isCDATA=function(){return!1},this.replaceCDATAstr=a,this.replaceCDATAarr=u,this.options.format?(this.indentate=d,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=p,this.buildObjNode=f):(this.buildTextNode=l,this.buildObjNode=c),this.buildTextValNode=l,this.buildObjectNode=c}function a(e,t){return e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e?e+"<![CDATA["+t+"]]"+this.tagEndChar:e.replace(this.options.cdataPositionChar,"<![CDATA["+t+"]]"+this.tagEndChar)}function u(e,t){if(e=this.options.tagValueProcessor(""+e),""===this.options.cdataPositionChar||""===e)return e+"<![CDATA["+t.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(var n in t)e=e.replace(this.options.cdataPositionChar,"<![CDATA["+t[n]+"]]>");return e+this.newLine}function c(e,t,n,r){return n&&!e.includes("<")?this.indentate(r)+"<"+t+n+">"+e+"</"+t+this.tagEndChar:this.indentate(r)+"<"+t+n+this.tagEndChar+e+this.indentate(r)+"</"+t+this.tagEndChar}function f(e,t,n,r){return""!==e?this.buildObjectNode(e,t,n,r):this.indentate(r)+"<"+t+n+"/"+this.tagEndChar}function l(e,t,n,r){return this.indentate(r)+"<"+t+n+">"+this.options.tagValueProcessor(e)+"</"+t+this.tagEndChar}function p(e,t,n,r){return""!==e?this.buildTextValNode(e,t,n,r):this.indentate(r)+"<"+t+n+"/"+this.tagEndChar}function d(e){return this.options.indentBy.repeat(e)}function h(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}function g(e){return e===this.options.cdataTagName}s.prototype.parse=function(e){return this.j2x(e,0).val},s.prototype.j2x=function(e,t){for(var n="",r="",i=Object.keys(e),o=i.length,s=0;s<o;s++){var a=i[s];if(void 0===e[a]);else if(null===e[a])r+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if(e[a]instanceof Date)r+=this.buildTextNode(e[a],a,"",t);else if("object"!=typeof e[a]){var u=this.isAttribute(a);u?n+=" "+u+'="'+this.options.attrValueProcessor(""+e[a])+'"':this.isCDATA(a)?e[this.options.textNodeName]?r+=this.replaceCDATAstr(e[this.options.textNodeName],e[a]):r+=this.replaceCDATAstr("",e[a]):a===this.options.textNodeName?e[this.options.cdataTagName]||(r+=this.options.tagValueProcessor(""+e[a])):r+=this.buildTextNode(e[a],a,"",t)}else if(Array.isArray(e[a]))if(this.isCDATA(a))r+=this.indentate(t),e[this.options.textNodeName]?r+=this.replaceCDATAarr(e[this.options.textNodeName],e[a]):r+=this.replaceCDATAarr("",e[a]);else for(var c=e[a].length,f=0;f<c;f++){var l=e[a][f];if(void 0===l);else if(null===l)r+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if("object"==typeof l){var p=this.j2x(l,t+1);r+=this.buildObjNode(p.val,a,p.attrStr,t)}else r+=this.buildTextNode(l,a,"",t)}else if(this.options.attrNodeName&&a===this.options.attrNodeName)for(var d=Object.keys(e[a]),h=d.length,g=0;g<h;g++)n+=" "+d[g]+'="'+this.options.attrValueProcessor(""+e[a][d[g]])+'"';else{var v=this.j2x(e[a],t+1);
2r+=this.buildObjNode(v.val,a,v.attrStr,t)}}return{attrStr:n,val:r}},e.exports=s},56708:function(e,t,n){"use strict";var r=function(e){return String.fromCharCode(e)},i={nilChar:r(176),missingChar:r(201),nilPremitive:r(175),missingPremitive:r(200),emptyChar:r(178),emptyValue:r(177),boundryChar:r(179),objStart:r(198),arrStart:r(204),arrayEnd:r(185)},o=[i.nilChar,i.nilPremitive,i.missingChar,i.missingPremitive,i.boundryChar,i.emptyChar,i.emptyValue,i.arrayEnd,i.objStart,i.arrStart],s=function e(t,n,r){if("string"==typeof n)return t&&t[0]&&void 0!==t[0].val?a(t[0].val,n):a(t,n);var o,s=void 0===(o=t)?i.missingChar:null===o?i.nilChar:!(o.child&&0===Object.keys(o.child).length&&(!o.attrsMap||0===Object.keys(o.attrsMap).length))||i.emptyChar;if(!0===s){var c="";if(Array.isArray(n)){c+=i.arrStart;var f=n[0],l=t.length;if("string"==typeof f)for(var p=0;p<l;p++){var d=a(t[p].val,f);c=u(c,d)}else for(var h=0;h<l;h++){var g=e(t[h],f,r);c=u(c,g)}c+=i.arrayEnd}else{c+=i.objStart;var v=Object.keys(n);for(var y in Array.isArray(t)&&(t=t[0]),v){var m=v[y],b=void 0;b=!r.ignoreAttributes&&t.attrsMap&&t.attrsMap[m]?e(t.attrsMap[m],n[m],r):m===r.textNodeName?e(t.val,n[m],r):e(t.child[m],n[m],r),c=u(c,b)}}return c}return s},a=function(e){switch(e){case void 0:return i.missingPremitive;case null:return i.nilPremitive;case"":return i.emptyValue;default:return e}},u=function(e,t){return c(t[0])||c(e[e.length-1])||(e+=i.boundryChar),e+t},c=function(e){return-1!==o.indexOf(e)};var f=n(55323),l=n(98574).buildOptions;t.convert2nimn=function(e,t,n){return n=l(n,f.defaultOptions,f.props),s(e,t,n)}},21456:function(e,t,n){"use strict";var r=n(98574);t.convertToJson=function e(t,n){var i={};if(!(t.child&&!r.isEmptyObject(t.child)||t.attrsMap&&!r.isEmptyObject(t.attrsMap)))return r.isExist(t.val)?t.val:"";r.isExist(t.val)&&("string"!=typeof t.val||""!==t.val&&t.val!==n.cdataPositionChar)&&("strict"===n.arrayMode?i[n.textNodeName]=[t.val]:i[n.textNodeName]=t.val),r.merge(i,t.attrsMap,n.arrayMode);for(var o=Object.keys(t.child),s=0;s<o.length;s++){var a=o[s];if(t.child[a]&&t.child[a].length>1)for(var u in i[a]=[],t.child[a])t.child[a].hasOwnProperty(u)&&i[a].push(e(t.child[a][u],n));else if(!0===n.arrayMode){var c=e(t.child[a][0],n);i[a]="object"==typeof c?[c]:c}else"strict"===n.arrayMode?i[a]=[e(t.child[a][0],n)]:i[a]=e(t.child[a][0],n)}return i}},60703:function(e,t,n){"use strict";var r=n(98574),i=n(98574).buildOptions,o=n(55323),s=function e(t,n,i){for(var o,s="{",a=Object.keys(t.child),u=0;u<a.length;u++){var c=a[u];if(t.child[c]&&t.child[c].length>1){for(var f in s+='"'+c+'" : [ ',t.child[c])s+=e(t.child[c][f],n)+" , ";s=s.substr(0,s.length-1)+" ] "}else s+='"'+c+'" : '+e(t.child[c][0],n)+" ,"}return r.merge(s,t.attrsMap),r.isEmptyObject(s)?r.isExist(t.val)?t.val:"":(r.isExist(t.val)&&("string"!=typeof t.val||""!==t.val&&t.val!==n.cdataPositionChar)&&(s+='"'+n.textNodeName+'" : '+(!0!==(o=t.val)&&!1!==o&&isNaN(o)?'"'+o+'"':o)),","===s[s.length-1]&&(s=s.substr(0,s.length-2)),s+"}")};t.convertToJsonString=function(e,t){return(t=i(t,o.defaultOptions,o.props)).indentBy=t.indentBy||"",s(e,t,0)}},19002:function(e,t,n){"use strict";var r=n(21456),i=n(55323),o=n(55323),s=n(98574).buildOptions,a=n(27226);t.parse=function(e,t,n){if(n){!0===n&&(n={});var u=a.validate(e,n);if(!0!==u)throw Error(u.err.msg)}t=s(t,o.defaultOptions,o.props);var c=i.getTraversalObj(e,t);return r.convertToJson(c,t)},t.convertTonimn=n(56708).convert2nimn,t.getTraversalObj=i.getTraversalObj,t.convertToJson=r.convertToJson,t.convertToJsonString=n(60703).convertToJsonString,t.validate=a.validate,t.j2xParser=n(95209),t.parseToNimn=function(e,n,r){return t.convertTonimn(t.getTraversalObj(e,r),n,r)}},98574:function(e,t){"use strict";var n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r="["+n+"][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",i=new RegExp("^"+r+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t)for(var r=Object.keys(t),i=r.length,o=0;o<i;o++)e[r[o]]="strict"===n?[t[r[o]]]:t[r[o]]},t.getValue=function(e){return t.isExist(e)?e:""},t.buildOptions=function(e,t,n){var r={};if(!e)return t;for(var i=0;i<n.length;i++)void 0!==e[n[i]]?r[n[i]]=e[n[i]]:r[n[i]]=t[n[i]];return r},t.isName=function(e){var t=i.exec(e);return!(null==t)},t.getAllMatches=function(e,t){for(var n=[],r=t.exec(e);r;){for(var i=[],o=r.length,s=0;s<o;s++)i.push(r[s]);n.push(i),r=t.exec(e)}return n},t.nameRegexp=r},27226:function(e,t,n){"use strict";var r=n(98574),i={allowBooleanAttributes:!1},o=["allowBooleanAttributes"];function s(e,t){for(var n=t;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{var r=e.substr(n,t-n);if(t>5&&"xml"===r)return p("InvalidXml","XML declaration allowed only at the start of the document.",h(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function a(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){var n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&0===--n)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=r.buildOptions(t,i,o);var n,c=[],d=!1,g=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(var v=0;v<e.length;v++){if("<"!==e[v]){if(" "===e[v]||"\t"===e[v]||"\n"===e[v]||"\r"===e[v])continue;return p("InvalidChar","char '"+e[v]+"' is not expected.",h(e,v))}if("?"===e[++v]){if((v=s(e,++v)).err)return v}else{if("!"===e[v]){v=a(e,v);continue}var y=!1;"/"===e[v]&&(y=!0,v++);for(var m="";v<e.length&&">"!==e[v]&&" "!==e[v]&&"\t"!==e[v]&&"\n"!==e[v]&&"\r"!==e[v];v++)m+=e[v];
2if("/"===(m=m.trim())[m.length-1]&&(m=m.substring(0,m.length-1),v--),n=m,!r.isName(n)){return p("InvalidTag",0===m.trim().length?"There is an unnecessary space between tag name and backward slash '</ ..'.":"Tag '"+m+"' is an invalid name.",h(e,v))}var b=u(e,v);if(!1===b)return p("InvalidAttr","Attributes for '"+m+"' have open quote.",h(e,v));var w=b.value;if(v=b.index,"/"===w[w.length-1]){var S=f(w=w.substring(0,w.length-1),t);if(!0!==S)return p(S.err.code,S.err.msg,h(e,v-w.length+S.err.line));d=!0}else if(y){if(!b.tagClosed)return p("InvalidTag","Closing tag '"+m+"' doesn't have proper closing.",h(e,v));if(w.trim().length>0)return p("InvalidTag","Closing tag '"+m+"' can't have attributes or invalid starting.",h(e,v));var _=c.pop();if(m!==_)return p("InvalidTag","Closing tag '"+_+"' is expected inplace of '"+m+"'.",h(e,v));0==c.length&&(g=!0)}else{var L=f(w,t);if(!0!==L)return p(L.err.code,L.err.msg,h(e,v-w.length+L.err.line));if(!0===g)return p("InvalidXml","Multiple possible root nodes found.",h(e,v));c.push(m),d=!0}for(v++;v<e.length;v++){if("<"===e[v]){if("!"===e[v+1]){v=a(e,++v);continue}break}if("&"===e[v]){var E=l(e,v);if(-1==E)return p("InvalidChar","char '&' is not expected.",h(e,v));v=E}}"<"===e[v]&&v--}}return d?!(c.length>0)||p("InvalidXml","Invalid '"+JSON.stringify(c,null,4).replace(/\r?\n/g,"")+"' found.",1):p("InvalidXml","Start tag expected.",1)};function u(e,t){for(var n="",r="",i=!1;t<e.length;t++){if('"'===e[t]||"'"===e[t])if(""===r)r=e[t];else{if(r!==e[t])continue;r=""}else if(">"===e[t]&&""===r){i=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:i}}var c=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function f(e,t){for(var n=r.getAllMatches(e,c),i={},o=0;o<n.length;o++){if(0===n[o][1].length)return p("InvalidAttr","Attribute '"+n[o][2]+"' has no space in starting.",g(e,n[o][0]));if(void 0===n[o][3]&&!t.allowBooleanAttributes)return p("InvalidAttr","boolean attribute '"+n[o][2]+"' is not allowed.",g(e,n[o][0]));var s=n[o][2];if(!d(s))return p("InvalidAttr","Attribute '"+s+"' is an invalid name.",g(e,n[o][0]));if(i.hasOwnProperty(s))return p("InvalidAttr","Attribute '"+s+"' is repeated.",g(e,n[o][0]));i[s]=1}return!0}function l(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){var n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return-1}(e,++t);for(var n=0;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(";"===e[t])break;return-1}return t}function p(e,t,n){return{err:{code:e,msg:t,line:n}}}function d(e){return r.isName(e)}function h(e,t){return e.substring(0,t).split(/\r?\n/).length}function g(e,t){return e.indexOf(t)+t.length}},35966:function(e){"use strict";e.exports=function(e,t,n){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=n,this.addChild=function(e){Array.isArray(this.child[e.tagname])?this.child[e.tagname].push(e):this.child[e.tagname]=[e]}}},55323:function(e,t,n){"use strict";var r=n(98574),i=n(98574).buildOptions,o=n(35966);"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var s={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[]};t.defaultOptions=s;var a=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","stopNodes"];function u(e,t,n){return t&&(n.trimValues&&(t=t.trim()),t=f(t=n.tagValueProcessor(t,e),n.parseNodeValue,n.parseTrueNumberOnly)),t}function c(e,t){if(t.ignoreNameSpace){var n=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===n[0])return"";2===n.length&&(e=r+n[1])}return e}function f(e,t,n){var i;return t&&"string"==typeof e?(""===e.trim()||isNaN(e)?i="true"===e||"false"!==e&&e:(-1!==e.indexOf("0x")?i=Number.parseInt(e,16):-1!==e.indexOf(".")?(i=Number.parseFloat(e),e=e.replace(/\.?0+$/,"")):i=Number.parseInt(e,10),n&&(i=String(i)===e?i:e)),i):r.isExist(e)?e:""}t.props=a;var l=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])(.*?)\\3)?","g");function p(e,t){if(!t.ignoreAttributes&&"string"==typeof e){e=e.replace(/\r?\n/g," ");for(var n=r.getAllMatches(e,l),i=n.length,o={},s=0;s<i;s++){var a=c(n[s][1],t);a.length&&(void 0!==n[s][4]?(t.trimValues&&(n[s][4]=n[s][4].trim()),n[s][4]=t.attrValueProcessor(n[s][4],a),o[t.attributeNamePrefix+a]=f(n[s][4],t.parseAttributeValue,t.parseTrueNumberOnly)):t.allowBooleanAttributes&&(o[t.attributeNamePrefix+a]=!0))}if(!Object.keys(o).length)return;if(t.attrNodeName){var u={};return u[t.attrNodeName]=o,u}return o}}function d(e,t){for(var n,r="",i=t;i<e.length;i++){var o=e[i];if(n)o===n&&(n="");else if('"'===o||"'"===o)n=o;else{if(">"===o)return{data:r,index:i};"\t"===o&&(o=" ")}r+=o}}function h(e,t,n,r){var i=e.indexOf(t,n);if(-1===i)throw new Error(r);return i+t.length-1}t.getTraversalObj=function(e,t){e=e.replace(/\r\n?/g,"\n"),t=i(t,s,a);for(var n=new o("!xml"),c=n,f="",l=0;l<e.length;l++){if("<"===e[l])if("/"===e[l+1]){var g=h(e,">",l,"Closing Tag is not closed."),v=e.substring(l+2,g).trim();if(t.ignoreNameSpace){var y=v.indexOf(":");-1!==y&&(v=v.substr(y+1))}c&&(c.val?c.val=r.getValue(c.val)+""+u(v,f,t):c.val=u(v,f,t)),t.stopNodes.length&&t.stopNodes.includes(c.tagname)&&(c.child=[],null==c.attrsMap&&(c.attrsMap={}),c.val=e.substr(c.startIndex+1,l-c.startIndex-1)),c=c.parent,f="",l=g}else if("?"===e[l+1])l=h(e,"?>",l,"Pi Tag is not closed.");else if("!--"===e.substr(l+1,3))l=h(e,"--\x3e",l,"Comment is not closed.");else if("!D"===e.substr(l+1,2)){var m=h(e,">",l,"DOCTYPE is not closed.");l=e.substring(l,m).indexOf("[")>=0?e.indexOf("]>",l)+1:m}else if("!["===e.substr(l+1,2)){var b=h(e,"]]>",l,"CDATA is not closed.")-2,w=e.substring(l+9,b);if(f&&(c.val=r.getValue(c.val)+""+u(c.tagname,f,t),f=""),t.cdataTagName){var S=new o(t.cdataTagName,c,w);c.addChild(S),c.val=r.getValue(c.val)+t.cdataPositionChar,w&&(S.val=w)}else c.val=(c.val||"")+(w||"");l=b+2}else{var _=d(e,l+1),L=_.data,E=_.index,C=L.indexOf(" "),x=L;if(-1!==C&&(x=L.substr(0,C).replace(/\s\s*$/,""),L=L.substr(C+1)),t.ignoreNameSpace){var A=x.indexOf(":");-1!==A&&(x=x.substr(A+1))}if(c&&f&&"!xml"!==c.tagname&&(c.val=r.getValue(c.val)+""+u(c.tagname,f,t)),L.length>0&&L.lastIndexOf("/")===L.length-1){L="/"===x[x.length-1]?x=x.substr(0,x.length-1):L.substr(0,L.length-1);var k=new o(x,c,"");x!==L&&(k.attrsMap=p(L,t)),c.addChild(k)}else{var N=new o(x,c);t.stopNodes.length&&t.stopNodes.includes(N.tagname)&&(N.startIndex=E),x!==L&&(N.attrsMap=p(L,t)),c.addChild(N),c=N}f="",l=E}else f+=e[l]}return n}},9367:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},2340:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(n);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var u=e.length;a>0&&u>a&&(u=a);for(var c=0;c<u;++c){var f,l,p,d,h=e[c].replace(s,"%20"),g=h.indexOf(r);g>=0?(f=h.substr(0,g),l=h.substr(g+1)):(f=h,l=""),p=decodeURIComponent(f),d=decodeURIComponent(l),t(o,p)?Array.isArray(o[p])?o[p].push(d):o[p]=[o[p],d]:o[p]=d}return o}},88230:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,i){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[i]))})).join(n):i?encodeURIComponent(t(i))+r+encodeURIComponent(t(e)):""}},5987:function(e,t,n){"use strict";t.decode=t.parse=n(2340),t.encode=t.stringify=n(88230)},60171:function(e,t,n){"use strict";n.r(t),n.d(t,{__extends:function(){return i},__assign:function(){return o},__rest:function(){return s},__decorate:function(){return a},__param:function(){return u},__metadata:function(){return c},__awaiter:function(){return f},__generator:function(){return l},__createBinding:function(){return p},__exportStar:function(){return d},__values:function(){return h},__read:function(){return g},__spread:function(){return v},__spreadArrays:function(){return y},__await:function(){return m},__asyncGenerator:function(){return b},__asyncDelegator:function(){return w},__asyncValues:function(){return S}
vendor: 5,280 bytes, line 2
2,__makeTemplateObject:function(){return _},__importStar:function(){return L},__importDefault:function(){return E},__classPrivateFieldGet:function(){return C},__classPrivateFieldSet:function(){return x}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function l(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function p(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function d(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function y(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function m(e){return this instanceof m?(this.v=e,this):new m(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=i[e](t)).value instanceof m?Promise.resolve(n.value.v).then(u,c):f(o[0][2],n)}catch(r){f(o[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function f(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:m(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}
2function L(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}function C(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function x(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},74109:function(e,t,n){var r;e=n.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var s,a=2147483647,u=36,c=/^xn--/,f=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function g(e){throw RangeError(p[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+v((e=e.replace(l,".")).split("."),t).join(".")}function m(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return v(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function w(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=u)e=d(e/35);return d(r+36*e/(e+38))}function _(e){var t,n,r,i,o,s,c,f,l,p,h,v=[],y=e.length,m=0,w=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&g("not-basic"),v.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<y;){for(o=m,s=1,c=u;i>=y&&g("invalid-input"),((f=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:u)>=u||f>d((a-m)/s))&&g("overflow"),m+=f*s,!(f<(l=c<=_?1:c>=_+26?26:c-_));c+=u)s>d(a/(p=u-l))&&g("overflow"),s*=p;_=S(m-o,t=v.length+1,0==o),d(m/t)>a-w&&g("overflow"),w+=d(m/t),m%=t,v.splice(m++,0,w)}return b(v)}function L(e){var t,n,r,i,o,s,c,f,l,p,v,y,b,_,L,E=[];for(y=(e=m(e)).length,t=128,n=0,o=72,s=0;s<y;++s)(v=e[s])<128&&E.push(h(v));for(r=i=E.length,i&&E.push("-");r<y;){for(c=a,s=0;s<y;++s)(v=e[s])>=t&&v<c&&(c=v);for(c-t>d((a-n)/(b=r+1))&&g("overflow"),n+=(c-t)*b,t=c,s=0;s<y;++s)if((v=e[s])<t&&++n>a&&g("overflow"),v==t){for(f=n,l=u;!(f<(p=l<=o?1:l>=o+26?26:l-o));l+=u)L=f-p,_=u-p,E.push(h(w(p+L%_,0))),f=d(L/_);E.push(h(w(f,0))),o=S(n,b,r==i),n=0,++r}++n,++t}return E.join("")}s={version:"1.3.2",ucs2:{decode:m,encode:b},decode:_,encode:L,toASCII:function(e){return y(e,(function(e){return f.test(e)?"xn--"+L(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},32029:function(e,t,n){"use strict";var r=n(74109),i=n(58800);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.Qc=b;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),f=["'"].concat(c),l=["%","/","?",";","#"].concat(f),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=n(5987);function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(a);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(a);if(b=b.trim(),!n&&1===e.split("#").length){var w=u.exec(b);if(w)return this.path=b,this.href=b,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?m.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var S=s.exec(b);if(S){var _=(S=S[0]).toLowerCase();this.protocol=_,b=b.substr(S.length)}if(n||S||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var L="//"===b.substr(0,2);!L||S&&v[S]||(b=b.substr(2),this.slashes=!0)}if(!v[S]&&(L||S&&!y[S])){for(var E,C,x=-1,A=0;A<p.length;
vendor: 7,940 bytes, lines 2-3
2A++){-1!==(k=b.indexOf(p[A]))&&(-1===x||k<x)&&(x=k)}-1!==(C=-1===x?b.lastIndexOf("@"):b.lastIndexOf("@",x))&&(E=b.slice(0,C),b=b.slice(C+1),this.auth=decodeURIComponent(E)),x=-1;for(A=0;A<l.length;A++){var k;-1!==(k=b.indexOf(l[A]))&&(-1===x||k<x)&&(x=k)}-1===x&&(x=b.length),this.host=b.slice(0,x),b=b.slice(x),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var P=this.hostname.split(/\./),O=(A=0,P.length);A<O;A++){var I=P[A];if(I&&!I.match(d)){for(var T="",U=0,R=I.length;U<R;U++)I.charCodeAt(U)>127?T+="x":T+=I[U];if(!T.match(d)){var j=P.slice(0,A),M=P.slice(A+1),D=I.match(h);D&&(j.push(D[1]),M.unshift(D[2])),M.length&&(b="/"+M.join(".")+b),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=r.toASCII(this.hostname));var z=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+z,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[_])for(A=0,O=f.length;A<O;A++){var K=f[A];if(-1!==b.indexOf(K)){var F=encodeURIComponent(K);F===K&&(F=escape(K)),b=b.split(K).join(F)}}var q=b.indexOf("#");-1!==q&&(this.hash=b.substr(q),b=b.slice(0,q));var H=b.indexOf("?");if(-1!==H?(this.search=b.substr(H),this.query=b.substr(H+1),t&&(this.query=m.parse(this.query)),b=b.slice(0,H)):t&&(this.search="",this.query={}),b&&(this.pathname=b),y[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){z=this.pathname||"";var G=this.search||"";this.path=z+G}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,s="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(s=m.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if(i.isString(e)){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),s=0;s<r.length;s++){var a=r[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var f=u[c];"protocol"!==f&&(n[f]=e[f])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var l=Object.keys(e),p=0;p<l.length;p++){var d=l[p];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",m=n.search||"";n.path=g+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),w=e.host||e.pathname&&"/"===e.pathname.charAt(0),S=w||b||n.host&&e.pathname,_=S,L=n.pathname&&n.pathname.split("/")||[],E=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(E&&(n.hostname="",n.port=null,n.host&&(""===L[0]?L[0]=n.host:L.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),S=S&&(""===h[0]||""===L[0])),w)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,L=h;else if(h.length)L||(L=[]),L.pop(),L=L.concat(h),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(E)n.hostname=n.host=L.shift(),(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!L.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=L.slice(-1)[0],x=(n.host||e.host||L.length>1)&&("."===C||".."===C)||""===C,A=0,k=L.length;k>=0;k--)"."===(C=L[k])?L.splice(k,1):".."===C?(L.splice(k,1),A++):A&&(L.splice(k,1),A--);if(!S&&!_)for(;A--;A)L.unshift("..");!S||""===L[0]||L[0]&&"/"===L[0].charAt(0)||L.unshift(""),x&&"/"!==L.join("/").substr(-1)&&L.push("");var N,P=""===L[0]||L[0]&&"/"===L[0].charAt(0);E&&(n.hostname=n.host=P?"":L.length?L.shift():"",(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift()));return(S=S||n.host&&L.length)&&!P&&L.unshift(""),L.length?n.pathname=L.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},58800:function(e){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},75223:function(e,t,n){var r=n(19675),i=n(26063),o=i;o.v1=r,o.v4=i,e.exports=o},44610:function(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},60267:function(e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},19675:function(e,t,n){var r,i,o=n(60267),s=n(44610),a=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,f=t||[],l=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i;if(null==l||null==p){var d=o();null==l&&(l=r=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==p&&(p=i=16383&(d[6]<<8|d[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:u+1,v=h-a+(g-u)/1e4;if(v<0&&void 0===e.clockseq&&(p=p+1&16383),(v<0||h>a)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=h,u=g,i=p;var y=(1e4*(268435455&(h+=122192928e5))+g)%4294967296;f[c++]=y>>>24&255,f[c++]=y>>>16&255,f[c++]=y>>>8&255,f[c++]=255&y;var m=h/4294967296*1e4&268435455;f[c++]=m>>>8&255,f[c++]=255&m,f[c++]=m>>>24&15|16,f[c++]=m>>>16&255,f[c++]=p>>>8|128,f[c++]=255&p;for(var b=0;b<6;++b)f[c+b]=l[b];return t||s(f)}},26063:function(e,t,n){var r=n(60267),i=n(44610);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||i(s)}}}]);
3//# sourceMappingURL=44a117614e657a7e00965c48f56f3dd5394da24f-6f29dcac200014bd17c7.js.map

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.