/*! For license information please see main.75503ce1.js.LICENSE.txt */ (()=>{var e={40412:(e,t,r)=>{"use strict";r.d(t,{c:()=>ie});var a=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?c(I,--g):0,h--,10===f&&(h=1,b--),f}function C(){return f=g2||D(f)>3?"":" "}function M(e,t){for(;--t&&C()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return R(e,A()+(t<6&&32==v()&&32==C()))}function L(e){for(;C();)switch(f){case e:return g;case 34:case 39:34!==e&&39!==e&&L(f);break;case 40:41===e&&L(e);break;case 92:C()}return g}function w(e,t){for(;C()&&e+f!==57&&(e+f!==84||47!==v()););return"/*"+R(t,g-1)+"*"+s(47===e?e:C())}function G(e){for(;!D(v());)C();return R(e,g)}var B="-ms-",_="-moz-",U="-webkit-",O="comm",F="rule",V="decl",z="@keyframes";function W(e,t){for(var r="",a=d(e),i=0;i0&&l(_)-S&&y(f>32?Z(_+";",a,r,S-1):Z(u(_," ","")+";",a,r,S-2),d);break;case 59:_+=";";default:if(y(B=Q(_,t,r,b,h,i,m,x,P=[],L=[],S),o),123===D)if(0===h)H(_,t,B,B,P,o,S,m,L);else switch(99===g&&110===c(_,3)?100:g){case 100:case 108:case 109:case 115:H(e,B,B,a&&y(Q(e,B,B,0,0,i,m,x,i,P=[],S),L),i,L,S,m,a?P:L);break;default:H(_,B,B,B,[""],L,0,m,L)}}b=h=f=0,N=R=1,x=_="",S=n;break;case 58:S=1+l(_),f=I;default:if(N<1)if(123==D)--N;else if(125==D&&0==N++&&125==k())continue;switch(_+=s(D),D*N){case 38:R=h>0?1:(_+="\f",-1);break;case 44:m[b++]=(l(_)-1)*R,R=1;break;case 64:45===v()&&(_+=q(C())),g=v(),h=S=l(x=_+=G(A())),D++;break;case 45:45===I&&2==l(_)&&(N=0)}}return o}function Q(e,t,r,a,s,o,p,c,l,y,b){for(var h=s-1,S=0===s?o:[""],g=d(S),f=0,I=0,T=0;f0?S[k]+" "+C:u(C,/&\f/g,S[k])))&&(l[T++]=v);return N(e,t,r,0===s?F:c,l,y,b)}function J(e,t,r){return N(e,t,r,O,s(f),m(e,2,-2),0)}function Z(e,t,r,a){return N(e,t,r,V,m(e,0,a),m(e,a+1,-1),a)}var Y=function(e,t,r){for(var a=0,i=0;a=i,i=v(),38===a&&12===i&&(t[r]=1),!D(i);)C();return R(e,g)},$=function(e,t){return P(function(e,t){var r=-1,a=44;do{switch(D(a)){case 0:38===a&&12===v()&&(t[r]=1),e[r]+=Y(g-1,t,r);break;case 2:e[r]+=q(a);break;case 4:if(44===a){e[++r]=58===v()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=s(a)}}while(a=C());return e}(x(e),t))},X=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,a=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||X.get(r))&&!a){X.set(e,!0);for(var i=[],s=$(t,i),o=r.props,n=0,u=0;n6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+_+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?re(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,l(e)-3-(~p(e,"!important")&&10))){case 107:return u(e,":",":"+U)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+U+(45===c(e,14)?"inline-":"")+"box$3$1"+U+"$2$3$1"+B+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return U+e+B+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+B+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+B+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+B+e+e}return e}var ae=[function(e,t,r,a){if(e.length>-1&&!e.return)switch(e.type){case V:e.return=re(e.value,e.length);break;case z:return W([T(e,{value:u(e.value,"@","@"+U)})],a);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([T(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],a);case"::placeholder":return W([T(e,{props:[u(t,/:(plac\w+)/,":"+U+"input-$1")]}),T(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),T(e,{props:[u(t,/:(plac\w+)/,B+"input-$1")]})],a)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||ae;var s,o,n={},u=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r{"use strict";function a(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{c:()=>a})},14075:(e,t,r)=>{"use strict";r.d(t,{T:()=>u,i:()=>s,w:()=>n});var a=r(69060),i=r(40412),s=(r(56124),r(28336),!0),o=a.createContext("undefined"!==typeof HTMLElement?(0,i.c)({key:"css"}):null);o.Provider;var n=function(e){return(0,a.forwardRef)((function(t,r){var i=(0,a.useContext)(o);return e(t,i,r)}))};s||(n=function(e){return function(t){var r=(0,a.useContext)(o);return null===r?(r=(0,i.c)({key:"css"}),a.createElement(o.Provider,{value:r},e(t,r))):e(t,r)}});var u=a.createContext({})},56124:(e,t,r)=>{"use strict";r.d(t,{k:()=>y});var a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(4648),s=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,n=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},p=(0,i.c)((function(e){return n(e)?e:e.replace(s,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(o,(function(e,t,r){return l={name:t,styles:r,next:l},t}))}return 1===a[e]||n(e)||"number"!==typeof t||0===t?t:t+"px"};function m(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return l={name:r.name,styles:r.styles,next:l},r.name;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)l={name:a.name,styles:a.styles,next:l},a=a.next;return r.styles+";"}return function(e,t,r){var a="";if(Array.isArray(r))for(var i=0;i=4;++a,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(a+2))<<16;case 2:r^=(255&e.charCodeAt(a+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(a)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(i)+u;return{name:p,styles:i,next:l}}},28336:(e,t,r)=>{"use strict";var a;r.d(t,{A:()=>o,k:()=>n});var i=r(69060),s=!!(a||(a=r.t(i,2))).useInsertionEffect&&(a||(a=r.t(i,2))).useInsertionEffect,o=s||function(e){return e()},n=s||i.useLayoutEffect},75779:(e,t,r)=>{"use strict";r.d(t,{Up:()=>i,aE:()=>s,yI:()=>a});function a(e,t,r){var a="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):a+=r+" "})),a}var i=function(e,t,r){var a=e.key+"-"+t.name;!1===r&&void 0===e.registered[a]&&(e.registered[a]=t.styles)},s=function(e,t,r){i(e,t,r);var a=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do{e.insert(t===s?"."+a:"",s,e.sheet,!0),s=s.next}while(void 0!==s)}}},13680:(e,t,r)=>{"use strict";var a=r(22411);t.c=void 0;var i=a(r(90864)),s=r(82496);t.c=(0,i.default)((0,s.jsx)("path",{d:"m15.44.59-3.18 3.18c-.78.78-.78 2.05 0 2.83l1.24 1.24-.71.71-1.24-1.25c-.78-.78-2.05-.78-2.83 0L7.3 8.72c-.78.78-.78 2.05 0 2.83l1.24 1.24-.71.71-1.23-1.25c-.78-.78-2.05-.78-2.83 0L.59 15.43c-.78.78-.78 2.05 0 2.83l3.54 3.54c.78.78 2.05.78 2.83 0l3.18-3.18c.78-.78.78-2.05 0-2.83L8.9 14.55l.71-.71 1.24 1.24c.78.78 2.05.78 2.83 0l1.41-1.41c.78-.78.78-2.05 0-2.83L13.84 9.6l.71-.71 1.24 1.24c.78.78 2.05.78 2.83 0l3.18-3.18c.78-.78.78-2.05 0-2.83L18.26.58c-.78-.78-2.04-.78-2.82.01M6.6 19.32l-1.06 1.06L2 16.85l1.06-1.06zm2.12-2.12-1.06 1.06-3.54-3.54 1.06-1.06zm9.54-9.54L17.2 8.72l-3.54-3.54 1.06-1.06zm2.12-2.12L19.32 6.6l-3.54-3.54L16.85 2zM14 21v2c4.97 0 9-4.03 9-9h-2c0 3.87-3.13 7-7 7m0-4v2c2.76 0 5-2.24 5-5h-2c0 1.66-1.34 3-3 3"}),"SatelliteAlt")},90864:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.createSvgIcon}});var a=r(1230)},88928:(e,t)=>{"use strict";var r,a=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),p=Symbol.for("react.context"),c=Symbol.for("react.server_context"),m=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case s:case n:case o:case l:case d:return e;default:switch(e=e&&e.$$typeof){case c:case p:case m:case b:case y:case u:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference")},27852:(e,t,r)=>{"use strict";r(88928)},784:(e,t,r)=>{"use strict";r.d(t,{c:()=>U});var a=r(45072),i=r(95656),s=r(14368),o=r(16088),n=r(34276),u=r(92280),p=r(6868);var c=r(59872);const m={black:"#000",white:"#fff"},l={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},d={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},y={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},b={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},h={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},S={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},f=["mode","contrastThreshold","tonalOffset"],I={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:m.white,default:m.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},N={text:{primary:m.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:m.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function T(e,t,r,a){const i=a.light||a,s=a.dark||1.5*a;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,c.IV)(e.main,i):"dark"===t&&(e.dark=(0,c.sP)(e.main,s)))}function k(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,u=(0,i.c)(e,f),p=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[200],light:h[50],dark:h[400]}:{main:h[700],light:h[400],dark:h[800]}}(t),k=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:d[200],light:d[50],dark:d[400]}:{main:d[500],light:d[300],dark:d[700]}}(t),C=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[500],light:y[300],dark:y[700]}:{main:y[700],light:y[400],dark:y[800]}}(t),v=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:S[400],light:S[300],dark:S[700]}:{main:S[700],light:S[500],dark:S[900]}}(t),A=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(t),R=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:"#ed6c02",light:b[500],dark:b[900]}}(t);function D(e){return(0,c.OM)(e,N.text.primary)>=r?N.text.primary:I.text.primary}const x=e=>{let{color:t,name:r,mainShade:i=500,lightShade:o=300,darkShade:u=700}=e;if(t=(0,a.c)({},t),!t.main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error((0,s.c)(11,r?" (".concat(r,")"):"",i));if("string"!==typeof t.main)throw new Error((0,s.c)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return T(t,"light",o,n),T(t,"dark",u,n),t.contrastText||(t.contrastText=D(t.main)),t},P={dark:N,light:I};return(0,o.c)((0,a.c)({common:(0,a.c)({},m),mode:t,primary:x({color:p,name:"primary"}),secondary:x({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:C,name:"error"}),warning:x({color:R,name:"warning"}),info:x({color:v,name:"info"}),success:x({color:A,name:"success"}),grey:l,contrastThreshold:r,getContrastText:D,augmentColor:x,tonalOffset:n},P[t]),u)}const C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const v={textTransform:"uppercase"},A='"Roboto", "Helvetica", "Arial", sans-serif';function R(e,t){const r="function"===typeof t?t(e):t,{fontFamily:s=A,fontSize:n=14,fontWeightLight:u=300,fontWeightRegular:p=400,fontWeightMedium:c=500,fontWeightBold:m=700,htmlFontSize:l=16,allVariants:d,pxToRem:y}=r,b=(0,i.c)(r,C);const h=n/14,S=y||(e=>"".concat(e/l*h,"rem")),g=(e,t,r,i,o)=>{return(0,a.c)({fontFamily:s,fontWeight:e,fontSize:S(t),lineHeight:r},s===A?{letterSpacing:"".concat((n=i/t,Math.round(1e5*n)/1e5),"em")}:{},o,d);var n},f={h1:g(u,96,1.167,-1.5),h2:g(u,60,1.2,-.5),h3:g(p,48,1.167,0),h4:g(p,34,1.235,.25),h5:g(p,24,1.334,0),h6:g(c,20,1.6,.15),subtitle1:g(p,16,1.75,.15),subtitle2:g(c,14,1.57,.1),body1:g(p,16,1.5,.15),body2:g(p,14,1.43,.15),button:g(c,14,1.75,.4,v),caption:g(p,12,1.66,.4),overline:g(p,12,2.66,1,v),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.c)((0,a.c)({htmlFontSize:l,pxToRem:S,fontFamily:s,fontSize:n,fontWeightLight:u,fontWeightRegular:p,fontWeightMedium:c,fontWeightBold:m},f),b,{clone:!1})}function D(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const x=["none",D(0,2,1,-1,0,1,1,0,0,1,3,0),D(0,3,1,-2,0,2,2,0,0,1,5,0),D(0,3,3,-2,0,3,4,0,0,1,8,0),D(0,2,4,-1,0,4,5,0,0,1,10,0),D(0,3,5,-1,0,5,8,0,0,1,14,0),D(0,3,5,-1,0,6,10,0,0,1,18,0),D(0,4,5,-2,0,7,10,1,0,2,16,1),D(0,5,5,-3,0,8,10,1,0,3,14,2),D(0,5,6,-3,0,9,12,1,0,3,16,2),D(0,6,6,-3,0,10,14,1,0,4,18,3),D(0,6,7,-4,0,11,15,1,0,4,20,3),D(0,7,8,-4,0,12,17,2,0,5,22,4),D(0,7,8,-4,0,13,19,2,0,5,24,4),D(0,7,9,-4,0,14,21,2,0,5,26,4),D(0,8,9,-5,0,15,22,2,0,6,28,5),D(0,8,10,-5,0,16,24,2,0,6,30,5),D(0,8,11,-5,0,17,26,2,0,6,32,5),D(0,9,11,-5,0,18,28,2,0,7,34,6),D(0,9,12,-6,0,19,29,2,0,7,36,6),D(0,10,13,-6,0,20,31,3,0,8,38,7),D(0,10,13,-6,0,21,33,3,0,8,40,7),D(0,10,14,-6,0,22,35,3,0,8,42,7),D(0,11,14,-7,0,23,36,3,0,9,44,8),D(0,11,15,-7,0,24,38,3,0,9,46,8)],P=["duration","easing","delay"],q={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},E={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function M(e){return"".concat(Math.round(e),"ms")}function L(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function w(e){const t=(0,a.c)({},q,e.easing),r=(0,a.c)({},E,e.duration);return(0,a.c)({getAutoHeightDuration:L,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:s=r.standard,easing:o=t.easeInOut,delay:n=0}=a;(0,i.c)(a,P);return(Array.isArray(e)?e:[e]).map((e=>"".concat(e," ").concat("string"===typeof s?s:M(s)," ").concat(o," ").concat("string"===typeof n?n:M(n)))).join(",")}},e,{easing:t,duration:r})}const G={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},B=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:r={},transitions:c={},typography:m={}}=e,l=(0,i.c)(e,B);if(e.vars)throw new Error((0,s.c)(18));const d=k(r),y=(0,n.c)(e);let b=(0,o.c)(y,{mixins:(h=y.breakpoints,S=t,(0,a.c)({toolbar:{minHeight:56,[h.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[h.up("sm")]:{minHeight:64}}},S)),palette:d,shadows:x.slice(),typography:R(d,m),transitions:w(c),zIndex:(0,a.c)({},G)});var h,S;b=(0,o.c)(b,l);for(var g=arguments.length,f=new Array(g>1?g-1:0),I=1;I(0,o.c)(e,t)),b),b.unstable_sxConfig=(0,a.c)({},u.c,null==l?void 0:l.unstable_sxConfig),b.unstable_sx=function(e){return(0,p.c)({sx:e,theme:this})},b}const U=_},76656:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=(0,r(784).c)()},83068:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a="$$material"},12556:(e,t,r)=>{"use strict";r.d(t,{CU:()=>o,Cq:()=>n,cp:()=>u});var a=r(74364),i=r(76656),s=r(83068);const o=e=>(0,a.YJ)(e)&&"classes"!==e,n=a.YJ,u=(0,a.cp)({themeId:s.c,defaultTheme:i.c,rootShouldForwardProp:o})},23456:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var a=r(92097),i=r(76656),s=r(83068);function o(e){let{props:t,name:r}=e;return(0,a.c)({props:t,name:r,defaultTheme:i.c,themeId:s.c})}},55832:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=r(95336).c},27664:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var a=r(45072),i=r(69060),s=r(95656),o=r(79736),n=r(21412),u=r(55832),p=r(23456),c=r(12556),m=r(10099),l=r(33448);function d(e){return(0,l.cp)("MuiSvgIcon",e)}(0,m.c)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=r(82496);const b=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,c.cp)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t["color".concat((0,u.c)(r.color))],t["fontSize".concat((0,u.c)(r.fontSize))]]}})((e=>{let{theme:t,ownerState:r}=e;var a,i,s,o,n,u,p,c,m,l,d,y,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:r.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(a=t.transitions)||null==(i=a.create)?void 0:i.call(a,"fill",{duration:null==(s=t.transitions)||null==(s=s.duration)?void 0:s.shorter}),fontSize:{inherit:"inherit",small:(null==(o=t.typography)||null==(n=o.pxToRem)?void 0:n.call(o,20))||"1.25rem",medium:(null==(u=t.typography)||null==(p=u.pxToRem)?void 0:p.call(u,24))||"1.5rem",large:(null==(c=t.typography)||null==(m=c.pxToRem)?void 0:m.call(c,35))||"2.1875rem"}[r.fontSize],color:null!=(l=null==(d=(t.vars||t).palette)||null==(d=d[r.color])?void 0:d.main)?l:{action:null==(y=(t.vars||t).palette)||null==(y=y.action)?void 0:y.active,disabled:null==(b=(t.vars||t).palette)||null==(b=b.action)?void 0:b.disabled,inherit:void 0}[r.color]}})),S=i.forwardRef((function(e,t){const r=(0,p.c)({props:e,name:"MuiSvgIcon"}),{children:c,className:m,color:l="inherit",component:S="svg",fontSize:g="medium",htmlColor:f,inheritViewBox:I=!1,titleAccess:N,viewBox:T="0 0 24 24"}=r,k=(0,s.c)(r,b),C=i.isValidElement(c)&&"svg"===c.type,v=(0,a.c)({},r,{color:l,component:S,fontSize:g,instanceFontSize:e.fontSize,inheritViewBox:I,viewBox:T,hasSvgAsChild:C}),A={};I||(A.viewBox=T);const R=(e=>{const{color:t,fontSize:r,classes:a}=e,i={root:["root","inherit"!==t&&"color".concat((0,u.c)(t)),"fontSize".concat((0,u.c)(r))]};return(0,n.c)(i,d,a)})(v);return(0,y.jsxs)(h,(0,a.c)({as:S,className:(0,o.c)(R.root,m),focusable:"false",color:f,"aria-hidden":!N||void 0,role:N?"img":void 0,ref:t},A,k,C&&c.props,{ownerState:v,children:[C?c.props.children:c,N?(0,y.jsx)("title",{children:N}):null]}))}));S.muiName="SvgIcon";const g=S;function f(e,t){function r(r,i){return(0,y.jsx)(g,(0,a.c)({"data-testid":"".concat(t,"Icon"),ref:i},r,{children:e}))}return r.muiName=g.muiName,i.memo(i.forwardRef(r))}},72144:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=r(46576).c},1230:(e,t,r)=>{"use strict";r.r(t),r.d(t,{capitalize:()=>i.c,createChainedFunction:()=>s,createSvgIcon:()=>o.c,debounce:()=>n.c,deprecatedPropType:()=>u,isMuiElement:()=>p.c,ownerDocument:()=>c.c,ownerWindow:()=>m.c,requirePropFactory:()=>l,setRef:()=>d,unstable_ClassNameGenerator:()=>N,unstable_useEnhancedEffect:()=>y.c,unstable_useId:()=>b,unsupportedProp:()=>h,useControlled:()=>S.c,useEventCallback:()=>g.c,useForkRef:()=>f.c,useIsFocusVisible:()=>I.c});var a=r(31152),i=r(55832);const s=r(91200).c;var o=r(27664),n=r(72144);const u=function(e,t){return()=>null};var p=r(28276),c=r(93976),m=r(31328);r(45072);const l=function(e,t){return()=>null};const d=r(30472).c;var y=r(87188);const b=r(55080).c;const h=function(e,t,r,a,i){return null};var S=r(64932),g=r(17908),f=r(56268),I=r(52864);const N={configure:e=>{a.c.configure(e)}}},28276:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(69060);const i=function(e,t){var r,i;return a.isValidElement(e)&&-1!==t.indexOf(null!=(r=e.type.muiName)?r:null==(i=e.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)}},93976:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=r(6848).c},31328:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=r(7608).c},64932:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(69060);const i=function(e){let{controlled:t,default:r,name:i,state:s="value"}=e;const{current:o}=a.useRef(void 0!==t),[n,u]=a.useState(r);return[o?t:n,a.useCallback((e=>{o||u(e)}),[])]}},87188:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=r(92576).c},17908:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=r(62488).c},56268:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});const a=r(91544).c},52864:(e,t,r)=>{"use strict";r.d(t,{c:()=>d});var a=r(69060),i=r(18428);let s=!0,o=!1;const n=new i.S,u={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function p(e){e.metaKey||e.altKey||e.ctrlKey||(s=!0)}function c(){s=!1}function m(){"hidden"===this.visibilityState&&o&&(s=!0)}function l(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(r){}return s||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!u[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}const d=function(){const e=a.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",p,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",m,!0))}),[]),t=a.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!l(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(o=!0,n.start(100,(()=>{o=!1})),t.current=!1,!0)},ref:e}}},3280:(e,t,r)=>{"use strict";r.d(t,{cp:()=>g,ot:()=>f});var a=r(45072),i=r(69060),s=r(4648),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,n=(0,s.c)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=r(14075),p=r(75779),c=r(56124),m=r(28336),l=n,d=function(e){return"theme"!==e},y=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?l:d},b=function(e,t,r){var a;if(t){var i=t.shouldForwardProp;a=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!==typeof a&&r&&(a=e.__emotion_forwardProp),a},h=function(e){var t=e.cache,r=e.serialized,a=e.isStringTag;return(0,p.Up)(t,r,a),(0,m.A)((function(){return(0,p.aE)(t,r,a)})),null},S=function e(t,r){var s,o,n=t.__emotion_real===t,m=n&&t.__emotion_base||t;void 0!==r&&(s=r.label,o=r.target);var l=b(t,r,n),d=l||y(m),S=!d("as");return function(){var g=arguments,f=n&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==s&&f.push("label:"+s+";"),null==g[0]||void 0===g[0].raw)f.push.apply(f,g);else{0,f.push(g[0][0]);for(var I=g.length,N=1;N{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},18288:(e,t,r)=>{"use strict";r.d(t,{Ws:()=>c,Yn:()=>u,cD:()=>p,gv:()=>n,ls:()=>o,my:()=>i});var a=r(16088);const i={xs:0,sm:600,md:900,lg:1200,xl:1536},s={keys:["xs","sm","md","lg","xl"],up:e=>"@media (min-width:".concat(i[e],"px)")};function o(e,t,r){const a=e.theme||{};if(Array.isArray(t)){const e=a.breakpoints||s;return t.reduce(((a,i,s)=>(a[e.up(e.keys[s])]=r(t[s]),a)),{})}if("object"===typeof t){const e=a.breakpoints||s;return Object.keys(t).reduce(((a,s)=>{if(-1!==Object.keys(e.values||i).indexOf(s)){a[e.up(s)]=r(t[s],s)}else{const e=s;a[e]=t[e]}return a}),{})}return r(t)}function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function u(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function p(e){const t=n(e);for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s(0,a.c)(e,t)),{});return u(Object.keys(t),o)}function c(e){let{values:t,breakpoints:r,base:a}=e;const i=a||function(e,t){if("object"!==typeof e)return{};const r={},a=Object.keys(t);return Array.isArray(e)?a.forEach(((t,a)=>{a{null!=e[t]&&(r[t]=!0)})),r}(t,r),s=Object.keys(i);if(0===s.length)return t;let o;return s.reduce(((e,r,a)=>(Array.isArray(t)?(e[r]=null!=t[a]?t[a]:t[o],o=a):"object"===typeof t?(e[r]=null!=t[r]?t[r]:t[o],o=r):e[r]=t,e)),{})}},59872:(e,t,r)=>{"use strict";r.d(t,{W4:()=>c,sP:()=>m,OM:()=>p,IV:()=>l});var a=r(14368);const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,r))};function s(e){return i(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,a.c)(9,e));let i,s=e.substring(t+1,e.length-1);if("color"===r){if(s=s.split(" "),i=s.shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,a.c)(10,i))}else s=s.split(",");return s=s.map((e=>parseFloat(e))),{type:r,values:s,colorSpace:i}}function n(e){const{type:t,colorSpace:r}=e;let{values:a}=e;return-1!==t.indexOf("rgb")?a=a.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(a[1]="".concat(a[1],"%"),a[2]="".concat(a[2],"%")),a=-1!==t.indexOf("color")?"".concat(r," ").concat(a.join(" ")):"".concat(a.join(", ")),"".concat(t,"(").concat(a,")")}function u(e){let t="hsl"===(e=o(e)).type||"hsla"===e.type?o(function(e){e=o(e);const{values:t}=e,r=t[0],a=t[1]/100,i=t[2]/100,s=a*Math.min(i,1-i),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)};let p="rgb";const c=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(p+="a",c.push(t[3])),n({type:p,values:c})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){const r=u(e),a=u(t);return(Math.max(r,a)+.05)/(Math.min(r,a)+.05)}function c(e,t){return e=o(e),t=s(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,n(e)}function m(e,t){if(e=o(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return n(e)}function l(e,t){if(e=o(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return n(e)}},74364:(e,t,r)=>{"use strict";r.d(t,{YJ:()=>l,cp:()=>g});var a=r(45072),i=r(95656),s=r(3280),o=r(16088),n=r(34276),u=r(6868);const p=["ownerState"],c=["variants"],m=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function l(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const d=(0,n.c)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b(e){let{defaultTheme:t,theme:r,themeId:a}=e;return i=r,0===Object.keys(i).length?t:r[a]||r;var i}function h(e){return e?(t,r)=>r[e]:null}function S(e,t){let{ownerState:r}=t,s=(0,i.c)(t,p);const o="function"===typeof e?e((0,a.c)({ownerState:r},s)):e;if(Array.isArray(o))return o.flatMap((e=>S(e,(0,a.c)({ownerState:r},s))));if(o&&"object"===typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,i.c)(o,c);return e.forEach((e=>{let i=!0;"function"===typeof e.props?i=e.props((0,a.c)({ownerState:r},s)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&s[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,a.c)({ownerState:r},s)):e.style))})),t}return o}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r=d,rootShouldForwardProp:n=l,slotShouldForwardProp:p=l}=e,c=e=>(0,u.c)((0,a.c)({},e,{theme:b((0,a.c)({},e,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,function(e){let u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.ot)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:g,skipVariantsResolver:f,skipSx:I,overridesResolver:N=h(y(g))}=u,T=(0,i.c)(u,m),k=void 0!==f?f:g&&"Root"!==g&&"root"!==g||!1,C=I||!1;let v=l;"Root"===g||"root"===g?v=n:g?v=p:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(v=void 0);const A=(0,s.cp)(e,(0,a.c)({shouldForwardProp:v,label:undefined},T)),R=e=>"function"===typeof e&&e.__emotion_real!==e||(0,o.o)(e)?i=>S(e,(0,a.c)({},i,{theme:b({theme:i.theme,defaultTheme:r,themeId:t})})):e,D=function(i){let s=R(i);for(var o=arguments.length,n=new Array(o>1?o-1:0),u=1;u{const i=b((0,a.c)({},e,{defaultTheme:r,themeId:t}));if(!i.components||!i.components[d]||!i.components[d].styleOverrides)return null;const s=i.components[d].styleOverrides,o={};return Object.entries(s).forEach((t=>{let[r,s]=t;o[r]=S(s,(0,a.c)({},e,{theme:i}))})),N(e,o)})),d&&!k&&p.push((e=>{var i;const s=b((0,a.c)({},e,{defaultTheme:r,themeId:t}));return S({variants:null==s||null==(i=s.components)||null==(i=i[d])?void 0:i.variants},(0,a.c)({},e,{theme:s}))})),C||p.push(c);const m=p.length-n.length;if(Array.isArray(i)&&m>0){const e=new Array(m).fill("");s=[...i,...e],s.raw=[...i.raw,...e]}const l=A(s,...p);return e.muiName&&(l.muiName=e.muiName),l};return A.withConfig&&(D.withConfig=A.withConfig),D}}},34276:(e,t,r)=>{"use strict";r.d(t,{c:()=>y});var a=r(45072),i=r(95656),s=r(16088);const o=["values","unit","step"],n=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,a.c)({},e,{[t.key]:t.val})),{})};const u={borderRadius:4};var p=r(67812);var c=r(6868),m=r(92280);function l(e,t){const r=this;if(r.vars&&"function"===typeof r.getColorSchemeSelector){return{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return r.palette.mode===e?t:{}}const d=["breakpoints","palette","spacing","shape"];const y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:r={},spacing:y,shape:b={}}=e,h=(0,i.c)(e,d),S=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,u=(0,i.c)(e,o),p=n(t),c=Object.keys(p);function m(e){const a="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(a).concat(r,")")}function l(e){const a="number"===typeof t[e]?t[e]:e;return"@media (max-width:".concat(a-s/100).concat(r,")")}function d(e,a){const i=c.indexOf(a);return"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(r,") and ")+"(max-width:".concat((-1!==i&&"number"===typeof t[c[i]]?t[c[i]]:a)-s/100).concat(r,")")}return(0,a.c)({keys:c,values:p,up:m,down:l,between:d,only:function(e){return c.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,p.IV)({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),a=0;a{const r=t(e);return"number"===typeof r?"".concat(r,"px"):r})).join(" ")};return r.mui=!0,r}(y);let f=(0,s.c)({breakpoints:S,direction:"ltr",components:{},palette:(0,a.c)({mode:"light"},r),spacing:g,shape:(0,a.c)({},u,b)},h);f.applyStyles=l;for(var I=arguments.length,N=new Array(I>1?I-1:0),T=1;T(0,s.c)(e,t)),f),f.unstable_sxConfig=(0,a.c)({},m.c,null==h?void 0:h.unstable_sxConfig),f.unstable_sx=function(e){return(0,c.c)({sx:e,theme:this})},f}},1188:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(16088);const i=function(e,t){return t?(0,a.c)(e,t,{clone:!1}):e}},67812:(e,t,r)=>{"use strict";r.d(t,{IV:()=>y,WC:()=>d,uc:()=>b,qq:()=>g,UD:()=>f});var a=r(18288),i=r(99052),s=r(1188);const o={m:"margin",p:"padding"},n={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},p=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!u[e])return[e];e=u[e]}const[t,r]=e.split(""),a=o[t],i=n[r]||"";return Array.isArray(i)?i.map((e=>a+e)):[a+i]})),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],m=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],l=[...c,...m];function d(e,t,r,a){var s;const o=null!=(s=(0,i.O0)(e,t,!1))?s:r;return"number"===typeof o?e=>"string"===typeof e?e:o*e:Array.isArray(o)?e=>"string"===typeof e?e:o[e]:"function"===typeof o?o:()=>{}}function y(e){return d(e,"spacing",8)}function b(e,t){if("string"===typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"===typeof r?-r:"-".concat(r)}function h(e,t,r,i){if(-1===t.indexOf(r))return null;const s=function(e,t){return r=>e.reduce(((e,a)=>(e[a]=b(t,r),e)),{})}(p(r),i),o=e[r];return(0,a.ls)(e,o,s)}function S(e,t){const r=y(e.theme);return Object.keys(e).map((a=>h(e,t,a,r))).reduce(s.c,{})}function g(e){return S(e,c)}function f(e){return S(e,m)}function I(e){return S(e,l)}g.propTypes={},g.filterProps=c,f.propTypes={},f.filterProps=m,I.propTypes={},I.filterProps=l},99052:(e,t,r)=>{"use strict";r.d(t,{O0:()=>s,cp:()=>n,wt:()=>o});var a=r(95336),i=r(18288);function s(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&r){const r="vars.".concat(t).split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function o(e,t,r){let a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return a="function"===typeof e?e(r):Array.isArray(e)?e[r]||i:s(e,r)||i,t&&(a=t(a,i,e)),a}const n=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:u}=e,p=e=>{if(null==e[t])return null;const p=e[t],c=s(e.theme,n)||{};return(0,i.ls)(e,p,(e=>{let i=o(c,u,e);return e===i&&"string"===typeof e&&(i=o(c,u,"".concat(t).concat("default"===e?"":(0,a.c)(e)),e)),!1===r?i:{[r]:i}}))};return p.propTypes={},p.filterProps=[t],p}},92280:(e,t,r)=>{"use strict";r.d(t,{c:()=>L});var a=r(67812),i=r(99052),s=r(1188);const o=function(){for(var e=arguments.length,t=new Array(e),r=0;r(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),i=e=>Object.keys(e).reduce(((t,r)=>a[r]?(0,s.c)(t,a[r](e)):t),{});return i.propTypes={},i.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),i};var n=r(18288);function u(e){return"number"!==typeof e?e:"".concat(e,"px solid")}function p(e,t){return(0,i.cp)({prop:e,themeKey:"borders",transform:t})}const c=p("border",u),m=p("borderTop",u),l=p("borderRight",u),d=p("borderBottom",u),y=p("borderLeft",u),b=p("borderColor"),h=p("borderTopColor"),S=p("borderRightColor"),g=p("borderBottomColor"),f=p("borderLeftColor"),I=p("outline",u),N=p("outlineColor"),T=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,a.WC)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,a.uc)(t,e)});return(0,n.ls)(e,e.borderRadius,r)}return null};T.propTypes={},T.filterProps=["borderRadius"];o(c,m,l,d,y,b,h,S,g,f,T,I,N);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,a.WC)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,a.uc)(t,e)});return(0,n.ls)(e,e.gap,r)}return null};k.propTypes={},k.filterProps=["gap"];const C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,a.WC)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,a.uc)(t,e)});return(0,n.ls)(e,e.columnGap,r)}return null};C.propTypes={},C.filterProps=["columnGap"];const v=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,a.WC)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,a.uc)(t,e)});return(0,n.ls)(e,e.rowGap,r)}return null};v.propTypes={},v.filterProps=["rowGap"];o(k,C,v,(0,i.cp)({prop:"gridColumn"}),(0,i.cp)({prop:"gridRow"}),(0,i.cp)({prop:"gridAutoFlow"}),(0,i.cp)({prop:"gridAutoColumns"}),(0,i.cp)({prop:"gridAutoRows"}),(0,i.cp)({prop:"gridTemplateColumns"}),(0,i.cp)({prop:"gridTemplateRows"}),(0,i.cp)({prop:"gridTemplateAreas"}),(0,i.cp)({prop:"gridArea"}));function A(e,t){return"grey"===t?t:e}o((0,i.cp)({prop:"color",themeKey:"palette",transform:A}),(0,i.cp)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,i.cp)({prop:"backgroundColor",themeKey:"palette",transform:A}));function R(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}const D=(0,i.cp)({prop:"width",transform:R}),x=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,a;const i=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||n.my[t];return i?"px"!==(null==(a=e.theme)||null==(a=a.breakpoints)?void 0:a.unit)?{maxWidth:"".concat(i).concat(e.theme.breakpoints.unit)}:{maxWidth:i}:{maxWidth:R(t)}};return(0,n.ls)(e,e.maxWidth,t)}return null};x.filterProps=["maxWidth"];const P=(0,i.cp)({prop:"minWidth",transform:R}),q=(0,i.cp)({prop:"height",transform:R}),E=(0,i.cp)({prop:"maxHeight",transform:R}),M=(0,i.cp)({prop:"minHeight",transform:R}),L=((0,i.cp)({prop:"size",cssProperty:"width",transform:R}),(0,i.cp)({prop:"size",cssProperty:"height",transform:R}),o(D,x,P,q,E,M,(0,i.cp)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:u},borderTop:{themeKey:"borders",transform:u},borderRight:{themeKey:"borders",transform:u},borderBottom:{themeKey:"borders",transform:u},borderLeft:{themeKey:"borders",transform:u},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:u},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:T},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:a.UD},pt:{style:a.UD},pr:{style:a.UD},pb:{style:a.UD},pl:{style:a.UD},px:{style:a.UD},py:{style:a.UD},padding:{style:a.UD},paddingTop:{style:a.UD},paddingRight:{style:a.UD},paddingBottom:{style:a.UD},paddingLeft:{style:a.UD},paddingX:{style:a.UD},paddingY:{style:a.UD},paddingInline:{style:a.UD},paddingInlineStart:{style:a.UD},paddingInlineEnd:{style:a.UD},paddingBlock:{style:a.UD},paddingBlockStart:{style:a.UD},paddingBlockEnd:{style:a.UD},m:{style:a.qq},mt:{style:a.qq},mr:{style:a.qq},mb:{style:a.qq},ml:{style:a.qq},mx:{style:a.qq},my:{style:a.qq},margin:{style:a.qq},marginTop:{style:a.qq},marginRight:{style:a.qq},marginBottom:{style:a.qq},marginLeft:{style:a.qq},marginX:{style:a.qq},marginY:{style:a.qq},marginInline:{style:a.qq},marginInlineStart:{style:a.qq},marginInlineEnd:{style:a.qq},marginBlock:{style:a.qq},marginBlockStart:{style:a.qq},marginBlockEnd:{style:a.qq},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:v},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:R},maxWidth:{style:x},minWidth:{transform:R},height:{transform:R},maxHeight:{transform:R},minHeight:{transform:R},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},6868:(e,t,r)=>{"use strict";r.d(t,{c:()=>p});var a=r(95336),i=r(1188),s=r(99052),o=r(18288),n=r(92280);const u=function(){function e(e,t,r,i){const n={[e]:t,theme:r},u=i[e];if(!u)return{[e]:t};const{cssProperty:p=e,themeKey:c,transform:m,style:l}=u;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};const d=(0,s.O0)(r,c)||{};if(l)return l(n);return(0,o.ls)(n,t,(t=>{let r=(0,s.wt)(d,m,t);return t===r&&"string"===typeof t&&(r=(0,s.wt)(d,m,"".concat(e).concat("default"===t?"":(0,a.c)(t)),t)),!1===p?r:{[p]:r}}))}return function t(r){var a;const{sx:s,theme:u={}}=r||{};if(!s)return null;const p=null!=(a=u.unstable_sxConfig)?a:n.c;function c(r){let a=r;if("function"===typeof r)a=r(u);else if("object"!==typeof r)return r;if(!a)return null;const s=(0,o.gv)(u.breakpoints),n=Object.keys(s);let c=s;return Object.keys(a).forEach((r=>{const s=(n=a[r],m=u,"function"===typeof n?n(m):n);var n,m;if(null!==s&&void 0!==s)if("object"===typeof s)if(p[r])c=(0,i.c)(c,e(r,s,u,p));else{const e=(0,o.ls)({theme:u},s,(e=>({[r]:e})));!function(){for(var e=arguments.length,t=new Array(e),r=0;re.concat(Object.keys(t))),[]),i=new Set(a);return t.every((e=>i.size===Object.keys(e).length))}(e,s)?c=(0,i.c)(c,e):c[r]=t({sx:s,theme:u})}else c=(0,i.c)(c,e(r,s,u,p))})),(0,o.Yn)(n,c)}return Array.isArray(s)?s.map(c):c(s)}}();u.filterProps=["sx"];const p=u},25944:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var a=r(34276),i=r(69060),s=r(14075);const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=i.useContext(s.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r},n=(0,a.c)();const u=function(){return o(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n)}},92097:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var a=r(26644);var i=r(25944);function s(e){let{props:t,name:r,defaultTheme:s,themeId:o}=e,n=(0,i.c)(s);o&&(n=n[o]||n);const u=function(e){const{theme:t,name:r,props:i}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,a.c)(t.components[r].defaultProps,i):i}({theme:n,name:r,props:t});return u}},31152:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});const a=e=>e,i=(()=>{let e=a;return{configure(t){e=t},generate:t=>e(t),reset(){e=a}}})()},95336:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(14368);function i(e){if("string"!==typeof e)throw new Error((0,a.c)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},21412:(e,t,r)=>{"use strict";function a(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const a={};return Object.keys(e).forEach((i=>{a[i]=e[i].reduce(((e,a)=>{if(a){const i=t(a);""!==i&&e.push(i),r&&r[a]&&e.push(r[a])}return e}),[]).join(" ")})),a}r.d(t,{c:()=>a})},91200:(e,t,r)=>{"use strict";function a(){for(var e=arguments.length,t=new Array(e),r=0;rnull==t?e:function(){for(var r=arguments.length,a=new Array(r),i=0;i{}))}r.d(t,{c:()=>a})},46576:(e,t,r)=>{"use strict";function a(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function a(){for(var a=arguments.length,i=new Array(a),s=0;s{e.apply(this,i)}),r)}return a.clear=()=>{clearTimeout(t)},a}r.d(t,{c:()=>a})},16088:(e,t,r)=>{"use strict";r.d(t,{c:()=>o,o:()=>i});var a=r(45072);function i(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function s(e){if(!i(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=s(e[r])})),t}function o(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const n=r.clone?(0,a.c)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((a=>{"__proto__"!==a&&(i(t[a])&&a in e&&i(e[a])?n[a]=o(e[a],t[a],r):r.clone?n[a]=i(t[a])?s(t[a]):t[a]:n[a]=t[a])})),n}},14368:(e,t,r)=>{"use strict";function a(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;ra})},33448:(e,t,r)=>{"use strict";r.d(t,{cp:()=>s});var a=r(31152);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function s(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const s=i[t];return s?"".concat(r,"-").concat(s):"".concat(a.c.generate(e),"-").concat(t)}},10099:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(33448);function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const i={};return t.forEach((t=>{i[t]=(0,a.cp)(e,t,r)})),i}},6848:(e,t,r)=>{"use strict";function a(e){return e&&e.ownerDocument||document}r.d(t,{c:()=>a})},7608:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(6848);function i(e){return(0,a.c)(e).defaultView||window}},26644:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(45072);function i(e,t){const r=(0,a.c)({},t);return Object.keys(e).forEach((s=>{if(s.toString().match(/^(components|slots)$/))r[s]=(0,a.c)({},e[s],r[s]);else if(s.toString().match(/^(componentsProps|slotProps)$/)){const o=e[s]||{},n=t[s];r[s]={},n&&Object.keys(n)?o&&Object.keys(o)?(r[s]=(0,a.c)({},n),Object.keys(o).forEach((e=>{r[s][e]=i(o[e],n[e])}))):r[s]=n:r[s]=o}else void 0===r[s]&&(r[s]=e[s])})),r}},30472:(e,t,r)=>{"use strict";function a(e,t){"function"===typeof e?e(t):e&&(e.current=t)}r.d(t,{c:()=>a})},92576:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(69060);const i="undefined"!==typeof window?a.useLayoutEffect:a.useEffect},62488:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var a=r(69060),i=r(92576);const s=function(e){const t=a.useRef(e);return(0,i.c)((()=>{t.current=e})),a.useRef((function(){return(0,t.current)(...arguments)})).current}},91544:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var a=r(69060),i=r(30472);function s(){for(var e=arguments.length,t=new Array(e),r=0;rt.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,i.c)(t,e)}))}),t)}},55080:(e,t,r)=>{"use strict";var a;r.d(t,{c:()=>n});var i=r(69060);let s=0;const o=(a||(a=r.t(i,2)))["useId".toString()];function n(e){if(void 0!==o){const t=o();return null!=e?e:t}return function(e){const[t,r]=i.useState(e),a=e||t;return i.useEffect((()=>{null==t&&(s+=1,r("mui-".concat(s)))}),[t]),a}(e)}},18428:(e,t,r)=>{"use strict";r.d(t,{S:()=>o,c:()=>n});var a=r(69060);const i={};const s=[];class o{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new o}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}}function n(){const e=function(e,t){const r=a.useRef(i);return r.current===i&&(r.current=e(t)),r}(o.create).current;var t;return t=e.disposeEffect,a.useEffect(t,s),e}},86836:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.acm={},a.ACM=i.defineService("acm",["2015-12-08"]),Object.defineProperty(s.services.acm,"2015-12-08",{get:function(){var e=r(99188);return e.paginators=r(75968).Y,e.waiters=r(50980).i,e},enumerable:!0,configurable:!0}),e.exports=a.ACM},81240:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.amp={},a.Amp=i.defineService("amp",["2020-08-01"]),Object.defineProperty(s.services.amp,"2020-08-01",{get:function(){var e=r(85216);return e.paginators=r(39504).Y,e.waiters=r(47e3).i,e},enumerable:!0,configurable:!0}),e.exports=a.Amp},86340:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.apigateway={},a.APIGateway=i.defineService("apigateway",["2015-07-09"]),r(23080),Object.defineProperty(s.services.apigateway,"2015-07-09",{get:function(){var e=r(96488);return e.paginators=r(24338).Y,e},enumerable:!0,configurable:!0}),e.exports=a.APIGateway},84448:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.applicationautoscaling={},a.ApplicationAutoScaling=i.defineService("applicationautoscaling",["2016-02-06"]),Object.defineProperty(s.services.applicationautoscaling,"2016-02-06",{get:function(){var e=r(89344);return e.paginators=r(14798).Y,e},enumerable:!0,configurable:!0}),e.exports=a.ApplicationAutoScaling},88328:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.athena={},a.Athena=i.defineService("athena",["2017-05-18"]),Object.defineProperty(s.services.athena,"2017-05-18",{get:function(){var e=r(22e3);return e.paginators=r(78728).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Athena},31992:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.autoscaling={},a.AutoScaling=i.defineService("autoscaling",["2011-01-01"]),Object.defineProperty(s.services.autoscaling,"2011-01-01",{get:function(){var e=r(95542);return e.paginators=r(69276).Y,e},enumerable:!0,configurable:!0}),e.exports=a.AutoScaling},23104:(e,t,r)=>{r(90380),e.exports={ACM:r(86836),APIGateway:r(86340),ApplicationAutoScaling:r(84448),AutoScaling:r(31992),CloudFormation:r(78092),CloudFront:r(33300),CloudHSM:r(75324),CloudTrail:r(38904),CloudWatch:r(4096),CloudWatchEvents:r(95816),CloudWatchLogs:r(54352),CodeBuild:r(16408),CodeCommit:r(6816),CodeDeploy:r(44836),CodePipeline:r(75116),CognitoIdentity:r(50820),CognitoIdentityServiceProvider:r(3256),CognitoSync:r(81616),ConfigService:r(31459),CUR:r(29552),DeviceFarm:r(26576),DirectConnect:r(9788),DynamoDB:r(15648),DynamoDBStreams:r(16716),EC2:r(32096),ECR:r(10968),ECS:r(58564),EFS:r(58648),ElastiCache:r(86952),ElasticBeanstalk:r(2136),ELB:r(84296),ELBv2:r(54100),EMR:r(35620),ElasticTranscoder:r(30932),Firehose:r(30583),GameLift:r(79756),IAM:r(99204),Inspector:r(52104),Iot:r(37896),IotData:r(11016),Kinesis:r(27060),KMS:r(35732),Lambda:r(94196),LexRuntime:r(76616),MachineLearning:r(83436),MarketplaceCommerceAnalytics:r(83512),MTurk:r(3560),MobileAnalytics:r(71128),OpsWorks:r(33752),Polly:r(27520),RDS:r(62892),Redshift:r(23224),Rekognition:r(63252),Route53:r(95384),Route53Domains:r(77316),S3:r(31588),ServiceCatalog:r(71064),SES:r(49735),SNS:r(47796),SQS:r(32579),SSM:r(83180),StorageGateway:r(54208),STS:r(79600),XRay:r(43624),WAF:r(25312),WorkDocs:r(46656),LexModelBuildingService:r(76880),Athena:r(88328),CloudHSMV2:r(55124),Pricing:r(56108),CostExplorer:r(32424),MediaStoreData:r(60348),Comprehend:r(34252),KinesisVideoArchivedMedia:r(26584),KinesisVideoMedia:r(42560),KinesisVideo:r(87224),Translate:r(83232),ResourceGroups:r(13328),Connect:r(71076),SecretsManager:r(73496),IoTAnalytics:r(54004),ComprehendMedical:r(25804),Personalize:r(12168),PersonalizeEvents:r(28152),PersonalizeRuntime:r(22464),ForecastService:r(7164),ForecastQueryService:r(11112),MarketplaceCatalog:r(38568),KinesisVideoSignalingChannels:r(96272),Amp:r(81240),Location:r(15996),LexRuntimeV2:r(7224)}},78092:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudformation={},a.CloudFormation=i.defineService("cloudformation",["2010-05-15"]),Object.defineProperty(s.services.cloudformation,"2010-05-15",{get:function(){var e=r(86808);return e.paginators=r(14272).Y,e.waiters=r(40408).i,e},enumerable:!0,configurable:!0}),e.exports=a.CloudFormation},33300:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudfront={},a.CloudFront=i.defineService("cloudfront",["2013-05-12*","2013-11-11*","2014-05-31*","2014-10-21*","2014-11-06*","2015-04-17*","2015-07-27*","2015-09-17*","2016-01-13*","2016-01-28*","2016-08-01*","2016-08-20*","2016-09-07*","2016-09-29*","2016-11-25","2016-11-25*","2017-03-25","2017-03-25*","2017-10-30","2017-10-30*","2018-06-18","2018-06-18*","2018-11-05","2018-11-05*","2019-03-26","2019-03-26*","2020-05-31"]),r(72472),Object.defineProperty(s.services.cloudfront,"2016-11-25",{get:function(){var e=r(95160);return e.paginators=r(15108).Y,e.waiters=r(17896).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2017-03-25",{get:function(){var e=r(41234);return e.paginators=r(15768).Y,e.waiters=r(22992).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2017-10-30",{get:function(){var e=r(76986);return e.paginators=r(9238).Y,e.waiters=r(94156).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2018-06-18",{get:function(){var e=r(11892);return e.paginators=r(55132).Y,e.waiters=r(26360).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2018-11-05",{get:function(){var e=r(1320);return e.paginators=r(71112).Y,e.waiters=r(47040).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2019-03-26",{get:function(){var e=r(50496);return e.paginators=r(9844).Y,e.waiters=r(40).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2020-05-31",{get:function(){var e=r(52216);return e.paginators=r(10928).Y,e.waiters=r(76320).i,e},enumerable:!0,configurable:!0}),e.exports=a.CloudFront},75324:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudhsm={},a.CloudHSM=i.defineService("cloudhsm",["2014-05-30"]),Object.defineProperty(s.services.cloudhsm,"2014-05-30",{get:function(){var e=r(68368);return e.paginators=r(64480).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CloudHSM},55124:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudhsmv2={},a.CloudHSMV2=i.defineService("cloudhsmv2",["2017-04-28"]),Object.defineProperty(s.services.cloudhsmv2,"2017-04-28",{get:function(){var e=r(57952);return e.paginators=r(85444).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CloudHSMV2},38904:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudtrail={},a.CloudTrail=i.defineService("cloudtrail",["2013-11-01"]),Object.defineProperty(s.services.cloudtrail,"2013-11-01",{get:function(){var e=r(96072);return e.paginators=r(20900).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CloudTrail},4096:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudwatch={},a.CloudWatch=i.defineService("cloudwatch",["2010-08-01"]),Object.defineProperty(s.services.cloudwatch,"2010-08-01",{get:function(){var e=r(65280);return e.paginators=r(21890).Y,e.waiters=r(74904).i,e},enumerable:!0,configurable:!0}),e.exports=a.CloudWatch},95816:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudwatchevents={},a.CloudWatchEvents=i.defineService("cloudwatchevents",["2014-02-03*","2015-10-07"]),Object.defineProperty(s.services.cloudwatchevents,"2015-10-07",{get:function(){var e=r(4004);return e.paginators=r(28288).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CloudWatchEvents},54352:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cloudwatchlogs={},a.CloudWatchLogs=i.defineService("cloudwatchlogs",["2014-03-28"]),Object.defineProperty(s.services.cloudwatchlogs,"2014-03-28",{get:function(){var e=r(82880);return e.paginators=r(85342).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CloudWatchLogs},16408:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.codebuild={},a.CodeBuild=i.defineService("codebuild",["2016-10-06"]),Object.defineProperty(s.services.codebuild,"2016-10-06",{get:function(){var e=r(27752);return e.paginators=r(26180).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CodeBuild},6816:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.codecommit={},a.CodeCommit=i.defineService("codecommit",["2015-04-13"]),Object.defineProperty(s.services.codecommit,"2015-04-13",{get:function(){var e=r(7658);return e.paginators=r(60914).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CodeCommit},44836:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.codedeploy={},a.CodeDeploy=i.defineService("codedeploy",["2014-10-06"]),Object.defineProperty(s.services.codedeploy,"2014-10-06",{get:function(){var e=r(37404);return e.paginators=r(24176).Y,e.waiters=r(27800).i,e},enumerable:!0,configurable:!0}),e.exports=a.CodeDeploy},75116:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.codepipeline={},a.CodePipeline=i.defineService("codepipeline",["2015-07-09"]),Object.defineProperty(s.services.codepipeline,"2015-07-09",{get:function(){var e=r(26186);return e.paginators=r(43008).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CodePipeline},50820:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cognitoidentity={},a.CognitoIdentity=i.defineService("cognitoidentity",["2014-06-30"]),Object.defineProperty(s.services.cognitoidentity,"2014-06-30",{get:function(){var e=r(35176);return e.paginators=r(64184).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CognitoIdentity},3256:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cognitoidentityserviceprovider={},a.CognitoIdentityServiceProvider=i.defineService("cognitoidentityserviceprovider",["2016-04-18"]),Object.defineProperty(s.services.cognitoidentityserviceprovider,"2016-04-18",{get:function(){var e=r(23992);return e.paginators=r(7256).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CognitoIdentityServiceProvider},81616:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cognitosync={},a.CognitoSync=i.defineService("cognitosync",["2014-06-30"]),Object.defineProperty(s.services.cognitosync,"2014-06-30",{get:function(){var e=r(40264);return e.paginators=r(24872).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CognitoSync},34252:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.comprehend={},a.Comprehend=i.defineService("comprehend",["2017-11-27"]),Object.defineProperty(s.services.comprehend,"2017-11-27",{get:function(){var e=r(7448);return e.paginators=r(75384).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Comprehend},25804:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.comprehendmedical={},a.ComprehendMedical=i.defineService("comprehendmedical",["2018-10-30"]),Object.defineProperty(s.services.comprehendmedical,"2018-10-30",{get:function(){var e=r(88716);return e.paginators=r(67528).Y,e},enumerable:!0,configurable:!0}),e.exports=a.ComprehendMedical},31459:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.configservice={},a.ConfigService=i.defineService("configservice",["2014-11-12"]),Object.defineProperty(s.services.configservice,"2014-11-12",{get:function(){var e=r(79594);return e.paginators=r(50290).Y,e},enumerable:!0,configurable:!0}),e.exports=a.ConfigService},71076:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.connect={},a.Connect=i.defineService("connect",["2017-08-08"]),Object.defineProperty(s.services.connect,"2017-08-08",{get:function(){var e=r(24660);return e.paginators=r(71160).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Connect},32424:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.costexplorer={},a.CostExplorer=i.defineService("costexplorer",["2017-10-25"]),Object.defineProperty(s.services.costexplorer,"2017-10-25",{get:function(){var e=r(85083);return e.paginators=r(9056).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CostExplorer},29552:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.cur={},a.CUR=i.defineService("cur",["2017-01-06"]),Object.defineProperty(s.services.cur,"2017-01-06",{get:function(){var e=r(55612);return e.paginators=r(95480).Y,e},enumerable:!0,configurable:!0}),e.exports=a.CUR},26576:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.devicefarm={},a.DeviceFarm=i.defineService("devicefarm",["2015-06-23"]),Object.defineProperty(s.services.devicefarm,"2015-06-23",{get:function(){var e=r(51224);return e.paginators=r(78048).Y,e},enumerable:!0,configurable:!0}),e.exports=a.DeviceFarm},9788:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.directconnect={},a.DirectConnect=i.defineService("directconnect",["2012-10-25"]),Object.defineProperty(s.services.directconnect,"2012-10-25",{get:function(){var e=r(67326);return e.paginators=r(822).Y,e},enumerable:!0,configurable:!0}),e.exports=a.DirectConnect},15648:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.dynamodb={},a.DynamoDB=i.defineService("dynamodb",["2011-12-05","2012-08-10"]),r(23192),Object.defineProperty(s.services.dynamodb,"2011-12-05",{get:function(){var e=r(72440);return e.paginators=r(12520).Y,e.waiters=r(59394).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.dynamodb,"2012-08-10",{get:function(){var e=r(44464);return e.paginators=r(31340).Y,e.waiters=r(73600).i,e},enumerable:!0,configurable:!0}),e.exports=a.DynamoDB},16716:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.dynamodbstreams={},a.DynamoDBStreams=i.defineService("dynamodbstreams",["2012-08-10"]),Object.defineProperty(s.services.dynamodbstreams,"2012-08-10",{get:function(){var e=r(80408);return e.paginators=r(34794).Y,e},enumerable:!0,configurable:!0}),e.exports=a.DynamoDBStreams},32096:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.ec2={},a.EC2=i.defineService("ec2",["2013-06-15*","2013-10-15*","2014-02-01*","2014-05-01*","2014-06-15*","2014-09-01*","2014-10-01*","2015-03-01*","2015-04-15*","2015-10-01*","2016-04-01*","2016-09-15*","2016-11-15"]),r(91804),Object.defineProperty(s.services.ec2,"2016-11-15",{get:function(){var e=r(58588);return e.paginators=r(30864).Y,e.waiters=r(88560).i,e},enumerable:!0,configurable:!0}),e.exports=a.EC2},10968:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.ecr={},a.ECR=i.defineService("ecr",["2015-09-21"]),Object.defineProperty(s.services.ecr,"2015-09-21",{get:function(){var e=r(83340);return e.paginators=r(28128).Y,e.waiters=r(74152).i,e},enumerable:!0,configurable:!0}),e.exports=a.ECR},58564:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.ecs={},a.ECS=i.defineService("ecs",["2014-11-13"]),Object.defineProperty(s.services.ecs,"2014-11-13",{get:function(){var e=r(5632);return e.paginators=r(36384).Y,e.waiters=r(18192).i,e},enumerable:!0,configurable:!0}),e.exports=a.ECS},58648:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.efs={},a.EFS=i.defineService("efs",["2015-02-01"]),Object.defineProperty(s.services.efs,"2015-02-01",{get:function(){var e=r(60512);return e.paginators=r(75336).Y,e},enumerable:!0,configurable:!0}),e.exports=a.EFS},86952:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.elasticache={},a.ElastiCache=i.defineService("elasticache",["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*","2015-02-02"]),Object.defineProperty(s.services.elasticache,"2015-02-02",{get:function(){var e=r(8290);return e.paginators=r(99476).Y,e.waiters=r(77112).i,e},enumerable:!0,configurable:!0}),e.exports=a.ElastiCache},2136:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.elasticbeanstalk={},a.ElasticBeanstalk=i.defineService("elasticbeanstalk",["2010-12-01"]),Object.defineProperty(s.services.elasticbeanstalk,"2010-12-01",{get:function(){var e=r(23264);return e.paginators=r(96872).Y,e.waiters=r(8936).i,e},enumerable:!0,configurable:!0}),e.exports=a.ElasticBeanstalk},30932:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.elastictranscoder={},a.ElasticTranscoder=i.defineService("elastictranscoder",["2012-09-25"]),Object.defineProperty(s.services.elastictranscoder,"2012-09-25",{get:function(){var e=r(18324);return e.paginators=r(40884).Y,e.waiters=r(80840).i,e},enumerable:!0,configurable:!0}),e.exports=a.ElasticTranscoder},84296:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.elb={},a.ELB=i.defineService("elb",["2012-06-01"]),Object.defineProperty(s.services.elb,"2012-06-01",{get:function(){var e=r(72210);return e.paginators=r(45368).Y,e.waiters=r(25800).i,e},enumerable:!0,configurable:!0}),e.exports=a.ELB},54100:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.elbv2={},a.ELBv2=i.defineService("elbv2",["2015-12-01"]),Object.defineProperty(s.services.elbv2,"2015-12-01",{get:function(){var e=r(88176);return e.paginators=r(50060).Y,e.waiters=r(60748).i,e},enumerable:!0,configurable:!0}),e.exports=a.ELBv2},35620:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.emr={},a.EMR=i.defineService("emr",["2009-03-31"]),Object.defineProperty(s.services.emr,"2009-03-31",{get:function(){var e=r(73740);return e.paginators=r(22136).Y,e.waiters=r(79970).i,e},enumerable:!0,configurable:!0}),e.exports=a.EMR},30583:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.firehose={},a.Firehose=i.defineService("firehose",["2015-08-04"]),Object.defineProperty(s.services.firehose,"2015-08-04",{get:function(){var e=r(87634);return e.paginators=r(94584).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Firehose},11112:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.forecastqueryservice={},a.ForecastQueryService=i.defineService("forecastqueryservice",["2018-06-26"]),Object.defineProperty(s.services.forecastqueryservice,"2018-06-26",{get:function(){var e=r(35920);return e.paginators=r(55846).Y,e},enumerable:!0,configurable:!0}),e.exports=a.ForecastQueryService},7164:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.forecastservice={},a.ForecastService=i.defineService("forecastservice",["2018-06-26"]),Object.defineProperty(s.services.forecastservice,"2018-06-26",{get:function(){var e=r(6760);return e.paginators=r(78424).Y,e},enumerable:!0,configurable:!0}),e.exports=a.ForecastService},79756:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.gamelift={},a.GameLift=i.defineService("gamelift",["2015-10-01"]),Object.defineProperty(s.services.gamelift,"2015-10-01",{get:function(){var e=r(15176);return e.paginators=r(94560).Y,e},enumerable:!0,configurable:!0}),e.exports=a.GameLift},99204:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.iam={},a.IAM=i.defineService("iam",["2010-05-08"]),Object.defineProperty(s.services.iam,"2010-05-08",{get:function(){var e=r(67084);return e.paginators=r(25612).Y,e.waiters=r(8120).i,e},enumerable:!0,configurable:!0}),e.exports=a.IAM},52104:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.inspector={},a.Inspector=i.defineService("inspector",["2015-08-18*","2016-02-16"]),Object.defineProperty(s.services.inspector,"2016-02-16",{get:function(){var e=r(45820);return e.paginators=r(77414).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Inspector},37896:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.iot={},a.Iot=i.defineService("iot",["2015-05-28"]),Object.defineProperty(s.services.iot,"2015-05-28",{get:function(){var e=r(63522);return e.paginators=r(89102).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Iot},54004:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.iotanalytics={},a.IoTAnalytics=i.defineService("iotanalytics",["2017-11-27"]),Object.defineProperty(s.services.iotanalytics,"2017-11-27",{get:function(){var e=r(31402);return e.paginators=r(67520).Y,e},enumerable:!0,configurable:!0}),e.exports=a.IoTAnalytics},11016:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.iotdata={},a.IotData=i.defineService("iotdata",["2015-05-28"]),r(91032),Object.defineProperty(s.services.iotdata,"2015-05-28",{get:function(){var e=r(53204);return e.paginators=r(31024).Y,e},enumerable:!0,configurable:!0}),e.exports=a.IotData},27060:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.kinesis={},a.Kinesis=i.defineService("kinesis",["2013-12-02"]),Object.defineProperty(s.services.kinesis,"2013-12-02",{get:function(){var e=r(6720);return e.paginators=r(80112).Y,e.waiters=r(46328).i,e},enumerable:!0,configurable:!0}),e.exports=a.Kinesis},87224:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.kinesisvideo={},a.KinesisVideo=i.defineService("kinesisvideo",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideo,"2017-09-30",{get:function(){var e=r(1512);return e.paginators=r(49588).Y,e},enumerable:!0,configurable:!0}),e.exports=a.KinesisVideo},26584:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.kinesisvideoarchivedmedia={},a.KinesisVideoArchivedMedia=i.defineService("kinesisvideoarchivedmedia",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideoarchivedmedia,"2017-09-30",{get:function(){var e=r(36912);return e.paginators=r(43032).Y,e},enumerable:!0,configurable:!0}),e.exports=a.KinesisVideoArchivedMedia},42560:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.kinesisvideomedia={},a.KinesisVideoMedia=i.defineService("kinesisvideomedia",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideomedia,"2017-09-30",{get:function(){var e=r(62316);return e.paginators=r(31838).Y,e},enumerable:!0,configurable:!0}),e.exports=a.KinesisVideoMedia},96272:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.kinesisvideosignalingchannels={},a.KinesisVideoSignalingChannels=i.defineService("kinesisvideosignalingchannels",["2019-12-04"]),Object.defineProperty(s.services.kinesisvideosignalingchannels,"2019-12-04",{get:function(){var e=r(69298);return e.paginators=r(31171).Y,e},enumerable:!0,configurable:!0}),e.exports=a.KinesisVideoSignalingChannels},35732:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.kms={},a.KMS=i.defineService("kms",["2014-11-01"]),Object.defineProperty(s.services.kms,"2014-11-01",{get:function(){var e=r(29744);return e.paginators=r(85370).Y,e},enumerable:!0,configurable:!0}),e.exports=a.KMS},94196:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.lambda={},a.Lambda=i.defineService("lambda",["2014-11-11","2015-03-31"]),r(9660),Object.defineProperty(s.services.lambda,"2014-11-11",{get:function(){var e=r(37072);return e.paginators=r(42216).Y,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.lambda,"2015-03-31",{get:function(){var e=r(50456);return e.paginators=r(2336).Y,e.waiters=r(85690).i,e},enumerable:!0,configurable:!0}),e.exports=a.Lambda},76880:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.lexmodelbuildingservice={},a.LexModelBuildingService=i.defineService("lexmodelbuildingservice",["2017-04-19"]),Object.defineProperty(s.services.lexmodelbuildingservice,"2017-04-19",{get:function(){var e=r(12296);return e.paginators=r(17444).Y,e},enumerable:!0,configurable:!0}),e.exports=a.LexModelBuildingService},76616:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.lexruntime={},a.LexRuntime=i.defineService("lexruntime",["2016-11-28"]),Object.defineProperty(s.services.lexruntime,"2016-11-28",{get:function(){var e=r(57888);return e.paginators=r(1676).Y,e},enumerable:!0,configurable:!0}),e.exports=a.LexRuntime},7224:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.lexruntimev2={},a.LexRuntimeV2=i.defineService("lexruntimev2",["2020-08-07"]),Object.defineProperty(s.services.lexruntimev2,"2020-08-07",{get:function(){var e=r(84640);return e.paginators=r(73264).Y,e},enumerable:!0,configurable:!0}),e.exports=a.LexRuntimeV2},15996:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.location={},a.Location=i.defineService("location",["2020-11-19"]),Object.defineProperty(s.services.location,"2020-11-19",{get:function(){var e=r(56348);return e.paginators=r(52472).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Location},83436:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.machinelearning={},a.MachineLearning=i.defineService("machinelearning",["2014-12-12"]),r(67171),Object.defineProperty(s.services.machinelearning,"2014-12-12",{get:function(){var e=r(49244);return e.paginators=r(24344).Y,e.waiters=r(11658).i,e},enumerable:!0,configurable:!0}),e.exports=a.MachineLearning},38568:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.marketplacecatalog={},a.MarketplaceCatalog=i.defineService("marketplacecatalog",["2018-09-17"]),Object.defineProperty(s.services.marketplacecatalog,"2018-09-17",{get:function(){var e=r(34466);return e.paginators=r(42068).Y,e},enumerable:!0,configurable:!0}),e.exports=a.MarketplaceCatalog},83512:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.marketplacecommerceanalytics={},a.MarketplaceCommerceAnalytics=i.defineService("marketplacecommerceanalytics",["2015-07-01"]),Object.defineProperty(s.services.marketplacecommerceanalytics,"2015-07-01",{get:function(){var e=r(21696);return e.paginators=r(92556).Y,e},enumerable:!0,configurable:!0}),e.exports=a.MarketplaceCommerceAnalytics},60348:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.mediastoredata={},a.MediaStoreData=i.defineService("mediastoredata",["2017-09-01"]),Object.defineProperty(s.services.mediastoredata,"2017-09-01",{get:function(){var e=r(51536);return e.paginators=r(5968).Y,e},enumerable:!0,configurable:!0}),e.exports=a.MediaStoreData},71128:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.mobileanalytics={},a.MobileAnalytics=i.defineService("mobileanalytics",["2014-06-05"]),Object.defineProperty(s.services.mobileanalytics,"2014-06-05",{get:function(){return r(62440)},enumerable:!0,configurable:!0}),e.exports=a.MobileAnalytics},3560:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.mturk={},a.MTurk=i.defineService("mturk",["2017-01-17"]),Object.defineProperty(s.services.mturk,"2017-01-17",{get:function(){var e=r(40440);return e.paginators=r(37272).Y,e},enumerable:!0,configurable:!0}),e.exports=a.MTurk},33752:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.opsworks={},a.OpsWorks=i.defineService("opsworks",["2013-02-18"]),Object.defineProperty(s.services.opsworks,"2013-02-18",{get:function(){var e=r(33840);return e.paginators=r(74144).Y,e.waiters=r(22680).i,e},enumerable:!0,configurable:!0}),e.exports=a.OpsWorks},12168:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.personalize={},a.Personalize=i.defineService("personalize",["2018-05-22"]),Object.defineProperty(s.services.personalize,"2018-05-22",{get:function(){var e=r(62672);return e.paginators=r(39688).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Personalize},28152:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.personalizeevents={},a.PersonalizeEvents=i.defineService("personalizeevents",["2018-03-22"]),Object.defineProperty(s.services.personalizeevents,"2018-03-22",{get:function(){var e=r(46072);return e.paginators=r(94066).Y,e},enumerable:!0,configurable:!0}),e.exports=a.PersonalizeEvents},22464:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.personalizeruntime={},a.PersonalizeRuntime=i.defineService("personalizeruntime",["2018-05-22"]),Object.defineProperty(s.services.personalizeruntime,"2018-05-22",{get:function(){var e=r(77754);return e.paginators=r(85232).Y,e},enumerable:!0,configurable:!0}),e.exports=a.PersonalizeRuntime},27520:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.polly={},a.Polly=i.defineService("polly",["2016-06-10"]),r(56536),Object.defineProperty(s.services.polly,"2016-06-10",{get:function(){var e=r(84288);return e.paginators=r(41680).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Polly},56108:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.pricing={},a.Pricing=i.defineService("pricing",["2017-10-15"]),Object.defineProperty(s.services.pricing,"2017-10-15",{get:function(){var e=r(43328);return e.paginators=r(68764).Y,e.waiters=r(61608).i,e},enumerable:!0,configurable:!0}),e.exports=a.Pricing},62892:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.rds={},a.RDS=i.defineService("rds",["2013-01-10","2013-02-12","2013-09-09","2014-09-01","2014-09-01*","2014-10-31"]),r(72340),Object.defineProperty(s.services.rds,"2013-01-10",{get:function(){var e=r(20112);return e.paginators=r(13848).Y,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2013-02-12",{get:function(){var e=r(56802);return e.paginators=r(86180).Y,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2013-09-09",{get:function(){var e=r(63128);return e.paginators=r(65010).Y,e.waiters=r(92680).i,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2014-09-01",{get:function(){var e=r(46128);return e.paginators=r(9484).Y,e},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2014-10-31",{get:function(){var e=r(72544);return e.paginators=r(5032).Y,e.waiters=r(22776).i,e},enumerable:!0,configurable:!0}),e.exports=a.RDS},23224:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.redshift={},a.Redshift=i.defineService("redshift",["2012-12-01"]),Object.defineProperty(s.services.redshift,"2012-12-01",{get:function(){var e=r(88610);return e.paginators=r(71608).Y,e.waiters=r(50050).i,e},enumerable:!0,configurable:!0}),e.exports=a.Redshift},63252:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.rekognition={},a.Rekognition=i.defineService("rekognition",["2016-06-27"]),Object.defineProperty(s.services.rekognition,"2016-06-27",{get:function(){var e=r(87320);return e.paginators=r(25592).Y,e.waiters=r(5784).i,e},enumerable:!0,configurable:!0}),e.exports=a.Rekognition},13328:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.resourcegroups={},a.ResourceGroups=i.defineService("resourcegroups",["2017-11-27"]),Object.defineProperty(s.services.resourcegroups,"2017-11-27",{get:function(){var e=r(39802);return e.paginators=r(23136).Y,e},enumerable:!0,configurable:!0}),e.exports=a.ResourceGroups},95384:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.route53={},a.Route53=i.defineService("route53",["2013-04-01"]),r(36048),Object.defineProperty(s.services.route53,"2013-04-01",{get:function(){var e=r(41128);return e.paginators=r(67784).Y,e.waiters=r(73696).i,e},enumerable:!0,configurable:!0}),e.exports=a.Route53},77316:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.route53domains={},a.Route53Domains=i.defineService("route53domains",["2014-05-15"]),Object.defineProperty(s.services.route53domains,"2014-05-15",{get:function(){var e=r(74640);return e.paginators=r(30908).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Route53Domains},31588:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.s3={},a.S3=i.defineService("s3",["2006-03-01"]),r(11200),Object.defineProperty(s.services.s3,"2006-03-01",{get:function(){var e=r(59992);return e.paginators=r(96120).Y,e.waiters=r(17380).i,e},enumerable:!0,configurable:!0}),e.exports=a.S3},73496:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.secretsmanager={},a.SecretsManager=i.defineService("secretsmanager",["2017-10-17"]),Object.defineProperty(s.services.secretsmanager,"2017-10-17",{get:function(){var e=r(25568);return e.paginators=r(48120).Y,e},enumerable:!0,configurable:!0}),e.exports=a.SecretsManager},71064:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.servicecatalog={},a.ServiceCatalog=i.defineService("servicecatalog",["2015-12-10"]),Object.defineProperty(s.services.servicecatalog,"2015-12-10",{get:function(){var e=r(97458);return e.paginators=r(53760).Y,e},enumerable:!0,configurable:!0}),e.exports=a.ServiceCatalog},49735:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.ses={},a.SES=i.defineService("ses",["2010-12-01"]),Object.defineProperty(s.services.ses,"2010-12-01",{get:function(){var e=r(9270);return e.paginators=r(6952).Y,e.waiters=r(50192).i,e},enumerable:!0,configurable:!0}),e.exports=a.SES},47796:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.sns={},a.SNS=i.defineService("sns",["2010-03-31"]),Object.defineProperty(s.services.sns,"2010-03-31",{get:function(){var e=r(87960);return e.paginators=r(21258).Y,e},enumerable:!0,configurable:!0}),e.exports=a.SNS},32579:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.sqs={},a.SQS=i.defineService("sqs",["2012-11-05"]),r(40668),Object.defineProperty(s.services.sqs,"2012-11-05",{get:function(){var e=r(84444);return e.paginators=r(82256).Y,e},enumerable:!0,configurable:!0}),e.exports=a.SQS},83180:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.ssm={},a.SSM=i.defineService("ssm",["2014-11-06"]),Object.defineProperty(s.services.ssm,"2014-11-06",{get:function(){var e=r(20920);return e.paginators=r(38744).Y,e.waiters=r(82336).i,e},enumerable:!0,configurable:!0}),e.exports=a.SSM},54208:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.storagegateway={},a.StorageGateway=i.defineService("storagegateway",["2013-06-30"]),Object.defineProperty(s.services.storagegateway,"2013-06-30",{get:function(){var e=r(78147);return e.paginators=r(87352).Y,e},enumerable:!0,configurable:!0}),e.exports=a.StorageGateway},79600:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.sts={},a.STS=i.defineService("sts",["2011-06-15"]),r(96968),Object.defineProperty(s.services.sts,"2011-06-15",{get:function(){var e=r(20384);return e.paginators=r(98048).Y,e},enumerable:!0,configurable:!0}),e.exports=a.STS},83232:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.translate={},a.Translate=i.defineService("translate",["2017-07-01"]),Object.defineProperty(s.services.translate,"2017-07-01",{get:function(){var e=r(39032);return e.paginators=r(28844).Y,e},enumerable:!0,configurable:!0}),e.exports=a.Translate},25312:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.waf={},a.WAF=i.defineService("waf",["2015-08-24"]),Object.defineProperty(s.services.waf,"2015-08-24",{get:function(){var e=r(99027);return e.paginators=r(19024).Y,e},enumerable:!0,configurable:!0}),e.exports=a.WAF},46656:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.workdocs={},a.WorkDocs=i.defineService("workdocs",["2016-05-01"]),Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var e=r(81840);return e.paginators=r(54992).Y,e},enumerable:!0,configurable:!0}),e.exports=a.WorkDocs},43624:(e,t,r)=>{r(90380);var a=r(55812),i=a.Service,s=a.apiLoader;s.services.xray={},a.XRay=i.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var e=r(96350);return e.paginators=r(35860).Y,e},enumerable:!0,configurable:!0}),e.exports=a.XRay},25832:e=>{function t(e,r){if(!t.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return t.services[e][r]}t.services={},e.exports=t},50840:(e,t,r)=>{r(90380);var a=r(55812);"undefined"!==typeof window&&(window.AWS=a),e.exports=a,"undefined"!==typeof self&&(self.AWS=a),r(23104)},54704:(e,t,r)=>{var a=r(43508),i=r(77312),s=r(59492),o=r(78204);e.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new i;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new a(i,t);if("sha256"===e)return new a(o,t);if("sha1"===e)return new a(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},51768:(e,t,r)=>{var a=r(63528).Sn;"undefined"!==typeof ArrayBuffer&&"undefined"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return i.indexOf(Object.prototype.toString.call(e))>-1});var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];e.exports={isEmptyData:function(e){return"string"===typeof e?0===e.length:0===e.byteLength},convertToBuffer:function(e){return"string"===typeof e&&(e=new a(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}},43508:(e,t,r)=>{var a=r(51768);function i(e,t){this.hash=new e,this.outer=new e;var r=function(e,t){var r=a.convertToBuffer(t);if(r.byteLength>e.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var s=new Uint8Array(e.BLOCK_SIZE);return s.set(r),s}(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;s{var a=r(51768),i=r(63528).Sn,s=64;function o(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(s)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function n(e,t,r,a,i,s){return((t=(t+e&4294967295)+(a+s&4294967295)&4294967295)<>>32-i)+r&4294967295}function u(e,t,r,a,i,s,o){return n(t&r|~t&a,e,t,i,s,o)}function p(e,t,r,a,i,s,o){return n(t&a|r&~a,e,t,i,s,o)}function c(e,t,r,a,i,s,o){return n(t^r^a,e,t,i,s,o)}function m(e,t,r,a,i,s,o){return n(r^(t|~a),e,t,i,s,o)}e.exports=o,o.BLOCK_SIZE=s,o.prototype.update=function(e){if(a.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=a.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===s&&(this.hashBuffer(),this.bufferLength=0);return this},o.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,a=t.bufferLength,o=8*t.bytesHashed;if(r.setUint8(this.bufferLength++,128),a%s>=56){for(var n=this.bufferLength;n>>0,!0),r.setUint32(60,Math.floor(o/4294967296),!0),this.hashBuffer(),this.finished=!0}var u=new DataView(new ArrayBuffer(16));for(n=0;n<4;n++)u.setUint32(4*n,this.state[n],!0);var p=new i(u.buffer,u.byteOffset,u.byteLength);return e?p.toString(e):p},o.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,r=t[0],a=t[1],i=t[2],s=t[3];r=u(r,a,i,s,e.getUint32(0,!0),7,3614090360),s=u(s,r,a,i,e.getUint32(4,!0),12,3905402710),i=u(i,s,r,a,e.getUint32(8,!0),17,606105819),a=u(a,i,s,r,e.getUint32(12,!0),22,3250441966),r=u(r,a,i,s,e.getUint32(16,!0),7,4118548399),s=u(s,r,a,i,e.getUint32(20,!0),12,1200080426),i=u(i,s,r,a,e.getUint32(24,!0),17,2821735955),a=u(a,i,s,r,e.getUint32(28,!0),22,4249261313),r=u(r,a,i,s,e.getUint32(32,!0),7,1770035416),s=u(s,r,a,i,e.getUint32(36,!0),12,2336552879),i=u(i,s,r,a,e.getUint32(40,!0),17,4294925233),a=u(a,i,s,r,e.getUint32(44,!0),22,2304563134),r=u(r,a,i,s,e.getUint32(48,!0),7,1804603682),s=u(s,r,a,i,e.getUint32(52,!0),12,4254626195),i=u(i,s,r,a,e.getUint32(56,!0),17,2792965006),r=p(r,a=u(a,i,s,r,e.getUint32(60,!0),22,1236535329),i,s,e.getUint32(4,!0),5,4129170786),s=p(s,r,a,i,e.getUint32(24,!0),9,3225465664),i=p(i,s,r,a,e.getUint32(44,!0),14,643717713),a=p(a,i,s,r,e.getUint32(0,!0),20,3921069994),r=p(r,a,i,s,e.getUint32(20,!0),5,3593408605),s=p(s,r,a,i,e.getUint32(40,!0),9,38016083),i=p(i,s,r,a,e.getUint32(60,!0),14,3634488961),a=p(a,i,s,r,e.getUint32(16,!0),20,3889429448),r=p(r,a,i,s,e.getUint32(36,!0),5,568446438),s=p(s,r,a,i,e.getUint32(56,!0),9,3275163606),i=p(i,s,r,a,e.getUint32(12,!0),14,4107603335),a=p(a,i,s,r,e.getUint32(32,!0),20,1163531501),r=p(r,a,i,s,e.getUint32(52,!0),5,2850285829),s=p(s,r,a,i,e.getUint32(8,!0),9,4243563512),i=p(i,s,r,a,e.getUint32(28,!0),14,1735328473),r=c(r,a=p(a,i,s,r,e.getUint32(48,!0),20,2368359562),i,s,e.getUint32(20,!0),4,4294588738),s=c(s,r,a,i,e.getUint32(32,!0),11,2272392833),i=c(i,s,r,a,e.getUint32(44,!0),16,1839030562),a=c(a,i,s,r,e.getUint32(56,!0),23,4259657740),r=c(r,a,i,s,e.getUint32(4,!0),4,2763975236),s=c(s,r,a,i,e.getUint32(16,!0),11,1272893353),i=c(i,s,r,a,e.getUint32(28,!0),16,4139469664),a=c(a,i,s,r,e.getUint32(40,!0),23,3200236656),r=c(r,a,i,s,e.getUint32(52,!0),4,681279174),s=c(s,r,a,i,e.getUint32(0,!0),11,3936430074),i=c(i,s,r,a,e.getUint32(12,!0),16,3572445317),a=c(a,i,s,r,e.getUint32(24,!0),23,76029189),r=c(r,a,i,s,e.getUint32(36,!0),4,3654602809),s=c(s,r,a,i,e.getUint32(48,!0),11,3873151461),i=c(i,s,r,a,e.getUint32(60,!0),16,530742520),r=m(r,a=c(a,i,s,r,e.getUint32(8,!0),23,3299628645),i,s,e.getUint32(0,!0),6,4096336452),s=m(s,r,a,i,e.getUint32(28,!0),10,1126891415),i=m(i,s,r,a,e.getUint32(56,!0),15,2878612391),a=m(a,i,s,r,e.getUint32(20,!0),21,4237533241),r=m(r,a,i,s,e.getUint32(48,!0),6,1700485571),s=m(s,r,a,i,e.getUint32(12,!0),10,2399980690),i=m(i,s,r,a,e.getUint32(40,!0),15,4293915773),a=m(a,i,s,r,e.getUint32(4,!0),21,2240044497),r=m(r,a,i,s,e.getUint32(32,!0),6,1873313359),s=m(s,r,a,i,e.getUint32(60,!0),10,4264355552),i=m(i,s,r,a,e.getUint32(24,!0),15,2734768916),a=m(a,i,s,r,e.getUint32(52,!0),21,1309151649),r=m(r,a,i,s,e.getUint32(16,!0),6,4149444226),s=m(s,r,a,i,e.getUint32(44,!0),10,3174756917),i=m(i,s,r,a,e.getUint32(8,!0),15,718787259),a=m(a,i,s,r,e.getUint32(36,!0),21,3951481745),t[0]=r+t[0]&4294967295,t[1]=a+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=s+t[3]&4294967295}},59492:(e,t,r)=>{var a=r(63528).Sn,i=r(51768);new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);function s(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}e.exports=s,s.BLOCK_SIZE=64,s.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(i.isEmptyData(e))return this;var t=(e=i.convertToBuffer(e)).length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},s.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,a,i=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},78204:(e,t,r)=>{var a=r(63528).Sn,i=r(51768),s=64,o=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]),n=Math.pow(2,53)-1;function u(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}e.exports=u,u.BLOCK_SIZE=s,u.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(i.isEmptyData(e))return this;var t=0,r=(e=i.convertToBuffer(e)).byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===s&&(this.hashBuffer(),this.bufferLength=0);return this},u.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%s>=56){for(var o=this.bufferLength;o>>24&255,n[4*o+1]=this.state[o]>>>16&255,n[4*o+2]=this.state[o]>>>8&255,n[4*o+3]=this.state[o]>>>0&255;return e?n.toString(e):n},u.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],a=t[1],i=t[2],n=t[3],u=t[4],p=t[5],c=t[6],m=t[7],l=0;l>>17|d<<15)^(d>>>19|d<<13)^d>>>10,b=((d=this.temp[l-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var h=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&c)|0)+(m+(o[l]+this.temp[l]|0)|0)|0,S=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&a^r&i^a&i)|0;m=c,c=p,p=u,u=n+h|0,n=i,i=a,a=r,r=h+S|0}t[0]+=r,t[1]+=a,t[2]+=i,t[3]+=n,t[4]+=u,t[5]+=p,t[6]+=c,t[7]+=m}},90380:(e,t,r)=>{var a=r(71800);a.crypto.lib=r(54704),a.Buffer=r(63528).Sn,a.url=r(13332),a.querystring=r(45904),a.realClock=r(1284),a.environment="js",a.createEventStream=r(6356).createEventStream,a.isBrowser=function(){return!0},a.isNode=function(){return!1};var i=r(55812);if(e.exports=i,r(58080),r(41520),r(58972),r(58392),r(79080),r(91372),r(32148),i.XML.Parser=r(43784),r(58632),"undefined"===typeof s)var s={browser:!0}},62588:(e,t,r)=>{var a=r(55812),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,(function(e){return t[e]}))},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},c=function(e,t,r,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},m=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=i.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e,t){if(!t||"function"!==typeof t)throw e;t(e)},b=function(e,t){if(!t||"function"!==typeof t)return e;t(null,e)};a.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?m(e.policy,this.keyPairId,this.privateKey):c(e.url,e.expires,this.keyPairId,this.privateKey),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return b(a,t)},getSignedUrl:function(e,t){try{var r=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}}(e.url)}catch(u){return y(u,t)}var a=i.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?m(e.policy,this.keyPairId,this.privateKey):c(r,e.expires,this.keyPairId,this.privateKey);for(var o in a.search=null,s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(u){return y(u,t)}return b(n,t)}}),e.exports=a.CloudFront.Signer},22320:(e,t,r)=>{var a,i=r(55812);r(58080),r(41520),i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,(function(t,r){this.set(t,e[t],r)}))},getCredentials:function(e){var t=this;function r(r){e(r,r?null:t.credentials)}function a(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}t.credentials?"function"===typeof t.credentials.get?t.credentials.get((function(e){e&&(e=a("Could not load credentials from "+t.credentials.constructor.name,e)),r(e)})):function(){var e=null;t.credentials.accessKeyId&&t.credentials.secretAccessKey||(e=a("Missing credentials")),r(e)}():t.credentialProvider?t.credentialProvider.resolve((function(e,i){e&&(e=a("Could not load credentials from any providers",e)),t.credentials=i,r(e)})):r(a("No credentials to load"))},getToken:function(e){var t=this;function r(r){e(r,r?null:t.token)}function a(e,t){return new i.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}t.token?"function"===typeof t.token.get?t.token.get((function(e){e&&(e=a("Could not load token from "+t.token.constructor.name,e)),r(e)})):function(){var e=null;t.token.token||(e=a("Missing token")),r(e)}():t.tokenProvider?t.tokenProvider.resolve((function(e,i){e&&(e=a("Could not load token from any providers",e)),t.token=i,r(e)})):r(a("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,(function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)}))},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve((function(e,r){if(e)throw e;t.credentials=r})),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,(function(e){delete this[e]})),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"===typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&((e=i.util.copy(e)).credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"===typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},28188:(e,t,r)=>{var a=r(55812);function i(e,t){if("string"===typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw a.util.error(new Error,t)}}e.exports=function(e,t){var r;if((e=e||{})[t.clientConfig]&&(r=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return r;if(!a.util.isNode())return r;if(Object.prototype.hasOwnProperty.call({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0},t.env)&&(r=i({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[t.env]+'".'})))return r;var s={};try{s=a.util.getProfilesFromSharedConfig(a.util.iniLoader)[{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_PROFILE||a.util.defaultProfile]}catch(o){}return s&&Object.prototype.hasOwnProperty.call(s,t.sharedConfig)&&(r=i(s[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+s[t.sharedConfig]+'".'})),r}},55812:(e,t,r)=>{var a={util:r(71800)};({}).toString(),e.exports=a,a.util.update(a,{VERSION:"2.1555.0",Signers:{},Protocol:{Json:r(16e3),Query:r(45172),Rest:r(73160),RestJson:r(81972),RestXml:r(43532)},XML:{Builder:r(98072),Parser:null},JSON:{Builder:r(2720),Parser:r(7768)},Model:{Api:r(59456),Operation:r(60316),Shape:r(18149),Paginator:r(7328),ResourceWaiter:r(46968)},apiLoader:r(25832),EndpointCache:r(25124).W}),r(46312),r(61984),r(22320),r(51176),r(51056),r(99636),r(25044),r(24032),r(25740),r(55139),r(79348),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",(function(){return new a.EndpointCache(a.config.endpointCacheSize)}),!0)},58080:(e,t,r)=>{var a=r(55812);a.Credentials=a.util.inherit({constructor:function(){if(a.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"===typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=a.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh((function(r){r||(t.expired=!1),e&&e(r)})):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load((function(e){a.util.arrayEach(r.refreshCallbacks,(function(r){t?r(e):a.util.defer((function(){r(e)}))})),r.refreshCallbacks.length=0}))},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},58392:(e,t,r)=>{var a=r(55812),i=r(79600);a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!==typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode((function(a,i){var s={};a?e(a):(i&&(s.TokenCode=i),t.service[r](s,(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})))}))},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,(function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)})):e(null)}})},91372:(e,t,r)=>{var a=r(55812),i=r(50820),s=r(79600);a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId((function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)}))},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){"NotAuthorizedException"==e.code&&this.clearCachedId()},getId:function(e){var t=this;if("string"===typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId((function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)}))},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity((function(r,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)}))},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken((function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh((function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)})))}))},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter((function(e){return-1!==r.indexOf(e)})).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(r){}},storage:function(){try{var e=a.util.isBrowser()&&null!==window.localStorage&&"object"===typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(t){return{}}}()})},41520:(e,t,r)=>{var a=r(55812);a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){var t=this;if(0===t.providers.length)return e(new Error("No providers")),t;if(1===t.resolveCallbacks.push(e)){var r=0,i=t.providers.slice(0);!function e(s,o){if(!s&&o||r===i.length)return a.util.arrayEach(t.resolveCallbacks,(function(e){e(s,o)})),void(t.resolveCallbacks.length=0);var n=i[r++];(o="function"===typeof n?n.call():n).get?o.get((function(t){e(t,t?null:o)})):e(null,o)}()}return t}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},32148:(e,t,r)=>{var a=r(55812),i=r(79600);a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML((function(r,a){r||t.service.credentialsFrom(a,t),e(r)}))},createClients:function(){this.service=this.service||new i({params:this.params})}})},58972:(e,t,r)=>{var a=r(55812),i=r(79600);a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get((function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,(function(r,a){r||t.service.credentialsFrom(a,t),e(r)}))}))},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!==typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},79080:(e,t,r)=>{var a=r(55812),i=r(79600);a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity((function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)}))},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},59260:(e,t,r)=>{var a=r(55812),i=r(71800),s=["AWS_ENABLE_ENDPOINT_DISCOVERY","AWS_ENDPOINT_DISCOVERY_ENABLED"];function o(e){var t=e.service,r=t.api||{},a=(r.operations,{});return t.config.region&&(a.region=t.config.region),r.serviceId&&(a.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(a.accessKeyId=t.config.credentials.accessKeyId),a}function n(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&i.arrayEach(r.required,(function(a){var i=r.members[a];if(!0===i.endpointDiscoveryId){var s=i.isLocationName?i.name:a;e[s]=String(t[a])}else n(e,t[a],i)}))}function u(e,t){var r={};return n(r,e.params,t),r}function p(e){var t=e.service,r=t.api,s=r.operations?r.operations[e.operation]:void 0,n=u(e,s?s.input:void 0),p=o(e);Object.keys(n).length>0&&(p=i.update(p,n),s&&(p.operation=s.name));var c=a.endpointCache.get(p);if(!c||1!==c.length||""!==c[0].Address)if(c&&c.length>0)e.httpRequest.updateEndpoint(c[0].Address);else{var m=t.makeRequest(r.endpointOperation,{Operation:s.name,Identifiers:n});l(m),m.removeListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS),m.removeListener("retry",a.EventListeners.Core.RETRY_CHECK),a.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),m.send((function(e,t){t&&t.Endpoints?a.endpointCache.put(p,t.Endpoints):e&&a.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])}))}}var c={};function m(e,t){var r=e.service,s=r.api,n=s.operations?s.operations[e.operation]:void 0,p=n?n.input:void 0,m=u(e,p),d=o(e);Object.keys(m).length>0&&(d=i.update(d,m),n&&(d.operation=n.name));var y=a.EndpointCache.getKeyString(d),b=a.endpointCache.get(y);if(b&&1===b.length&&""===b[0].Address)return c[y]||(c[y]=[]),void c[y].push({request:e,callback:t});if(b&&b.length>0)e.httpRequest.updateEndpoint(b[0].Address),t();else{var h=r.makeRequest(s.endpointOperation,{Operation:n.name,Identifiers:m});h.removeListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS),l(h),a.endpointCache.put(y,[{Address:"",CachePeriodInMinutes:60}]),h.send((function(r,s){if(r){if(e.response.error=i.error(r,{retryable:!1}),a.endpointCache.remove(d),c[y]){var o=c[y];i.arrayEach(o,(function(e){e.request.response.error=i.error(r,{retryable:!1}),e.callback()})),delete c[y]}}else if(s&&(a.endpointCache.put(y,s.Endpoints),e.httpRequest.updateEndpoint(s.Endpoints[0].Address),c[y])){o=c[y];i.arrayEach(o,(function(e){e.request.httpRequest.updateEndpoint(s.Endpoints[0].Address),e.callback()})),delete c[y]}t()}))}}function l(e){var t=e.service.api.apiVersion;t&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=t)}function d(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var s=e.request,n=s.service.api.operations||{},p=u(s,n[s.operation]?n[s.operation].input:void 0),c=o(s);Object.keys(p).length>0&&(c=i.update(c,p),n[s.operation]&&(c.operation=n[s.operation].name)),a.endpointCache.remove(c)}}function y(e){return["false","0"].indexOf(e)>=0}e.exports={discoverEndpoint:function(e,t){var r=e.service||{};if(function(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw i.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=a.config[e.serviceIdentifier]||{};return Boolean(a.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}(r)||e.isPresigned())return t();var o=(r.api.operations||{})[e.operation],n=o?o.endpointDiscoveryRequired:"NULL",u=function(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!i.isBrowser()){for(var r=0;r{var a=r(55812),i=a.util,s=r(96400).typeOf,o=r(96792),n=r(58172);function u(e,t){return t?new n(e):Number(e)}function p(e,t){var r={M:{}};for(var i in e){var s=a.DynamoDB.Converter.input(e[i],t);void 0!==s&&(r.M[i]=s)}return r}a.DynamoDB.Converter={input:function e(t,r){r=r||{};var i=s(t);return"Object"===i?p(t,r):"Array"===i?function(e,t){for(var r={L:[]},i=0;i{var a=r(55812),i=r(59736),s=r(96792);a.DynamoDB.DocumentClient=a.util.inherit({constructor:function(e){var t=this;t.options=e||{},t.configure(t.options)},configure:function(e){var t=this;t.service=e.service,t.bindServiceObject(e),t.attrValue=e.attrValue=t.service.api.operations.putItem.input.members.Item.value.shape},bindServiceObject:function(e){var t=this;if(e=e||{},t.service){var r=a.util.copy(t.service.config);t.service=new t.service.constructor.__super__(r),t.service.config.params=a.util.merge(t.service.config.params||{},e.params)}else t.service=new a.DynamoDB(e)},makeServiceRequest:function(e,t,r){var a=this,i=a.service[e](t);return a.setupRequest(i),a.setupResponse(i),"function"===typeof r&&i.send(r),i},serviceClientOperationsMap:{batchGet:"batchGetItem",batchWrite:"batchWriteItem",delete:"deleteItem",get:"getItem",put:"putItem",query:"query",scan:"scan",update:"updateItem",transactGet:"transactGetItems",transactWrite:"transactWriteItems"},batchGet:function(e,t){var r=this.serviceClientOperationsMap.batchGet;return this.makeServiceRequest(r,e,t)},batchWrite:function(e,t){var r=this.serviceClientOperationsMap.batchWrite;return this.makeServiceRequest(r,e,t)},delete:function(e,t){var r=this.serviceClientOperationsMap.delete;return this.makeServiceRequest(r,e,t)},get:function(e,t){var r=this.serviceClientOperationsMap.get;return this.makeServiceRequest(r,e,t)},put:function(e,t){var r=this.serviceClientOperationsMap.put;return this.makeServiceRequest(r,e,t)},update:function(e,t){var r=this.serviceClientOperationsMap.update;return this.makeServiceRequest(r,e,t)},scan:function(e,t){var r=this.serviceClientOperationsMap.scan;return this.makeServiceRequest(r,e,t)},query:function(e,t){var r=this.serviceClientOperationsMap.query;return this.makeServiceRequest(r,e,t)},transactWrite:function(e,t){var r=this.serviceClientOperationsMap.transactWrite;return this.makeServiceRequest(r,e,t)},transactGet:function(e,t){var r=this.serviceClientOperationsMap.transactGet;return this.makeServiceRequest(r,e,t)},createSet:function(e,t){return new s(e,t=t||{})},getTranslator:function(){return new i(this.options)},setupRequest:function(e){var t=this.getTranslator(),r=e.operation,i=e.service.api.operations[r].input;e._events.validate.unshift((function(e){e.rawParams=a.util.copy(e.params),e.params=t.translateInput(e.rawParams,i)}))},setupResponse:function(e){var t=this,r=t.getTranslator(),i=t.service.api.operations[e.operation].output;e.on("extractData",(function(e){e.data=r.translateOutput(e.data,i)})),e.response.nextPage=function(e){var r,i=this,s=i.request,o=s.service,n=s.operation;try{r=o.paginationConfig(n,!0)}catch(m){i.error=m}if(!i.hasNextPage()){if(e)e(i.error,null);else if(i.error)throw i.error;return null}var u=a.util.copy(s.rawParams);if(i.nextPageTokens){var p=r.inputToken;"string"===typeof p&&(p=[p]);for(var c=0;c{var a=r(55812).util.inherit({constructor:function(e){this.wrapperName="NumberValue",this.value=e.toString()},toJSON:function(){return this.toNumber()},toNumber:function(){return Number(this.value)},toString:function(){return this.value}});e.exports=a},96792:(e,t,r)=>{var a=r(55812).util,i=r(96400).typeOf,s={String:"String",Number:"Number",NumberValue:"Number",Binary:"Binary"},o=a.inherit({constructor:function(e,t){t=t||{},this.wrapperName="Set",this.initialize(e,t.validate)},initialize:function(e,t){var r=this;r.values=[].concat(e),r.detectType(),t&&r.validate()},detectType:function(){if(this.type=s[i(this.values[0])],!this.type)throw a.error(new Error,{code:"InvalidSetType",message:"Sets can contain string, number, or binary values"})},validate:function(){for(var e=this,t=e.values.length,r=e.values,o=0;o{var a=r(55812).util,i=r(3408),s=function(e){e=e||{},this.attrValue=e.attrValue,this.convertEmptyValues=Boolean(e.convertEmptyValues),this.wrapNumbers=Boolean(e.wrapNumbers)};s.prototype.translateInput=function(e,t){return this.mode="input",this.translate(e,t)},s.prototype.translateOutput=function(e,t){return this.mode="output",this.translate(e,t)},s.prototype.translate=function(e,t){var r=this;if(t&&void 0!==e){if(t.shape===r.attrValue)return i[r.mode](e,{convertEmptyValues:r.convertEmptyValues,wrapNumbers:r.wrapNumbers});switch(t.type){case"structure":return r.translateStructure(e,t);case"map":return r.translateMap(e,t);case"list":return r.translateList(e,t);default:return r.translateScalar(e,t)}}},s.prototype.translateStructure=function(e,t){var r=this;if(null!=e){var i={};return a.each(e,(function(e,a){var s=t.members[e];if(s){var o=r.translate(a,s);void 0!==o&&(i[e]=o)}})),i}},s.prototype.translateList=function(e,t){var r=this;if(null!=e){var i=[];return a.arrayEach(e,(function(e){var a=r.translate(e,t.member);void 0===a?i.push(null):i.push(a)})),i}},s.prototype.translateMap=function(e,t){var r=this;if(null!=e){var i={};return a.each(e,(function(e,a){var s=r.translate(a,t.value);i[e]=void 0===s?null:s})),i}},s.prototype.translateScalar=function(e,t){return t.toType(e)},e.exports=s},96400:(e,t,r)=>{var a=r(55812).util;function i(e){var t=["Buffer","File","Blob","ArrayBuffer","DataView","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"];if(a.isNode()){var r=a.stream.Stream;if(a.Buffer.isBuffer(e)||e instanceof r)return!0}for(var i=0;i{var a=r(7496).eventMessageChunker,i=r(99996).parseEvent;e.exports={createEventStream:function(e,t,r){for(var s=a(e),o=[],n=0;n{e.exports={eventMessageChunker:function(e){for(var t=[],r=0;r{var a=r(55812).util,i=a.buffer.toBuffer;function s(e){if(8!==e.length)throw new Error("Int64 buffers must be exactly 8 bytes");a.Buffer.isBuffer(e)||(e=i(e)),this.bytes=e}function o(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}s.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,a=Math.abs(Math.round(e));r>-1&&a>0;r--,a/=256)t[r]=a;return e<0&&o(t),new s(t)},s.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&o(e),parseInt(e.toString("hex"),16)*(t?-1:1)},s.prototype.toString=function(){return String(this.valueOf())},e.exports={Int64:s}},99996:(e,t,r)=>{var a=r(12472).parseMessage;e.exports={parseEvent:function(e,t,r){var i=a(t),s=i.headers[":message-type"];if(s){if("error"===s.value)throw function(e){var t=e.headers[":error-code"],r=e.headers[":error-message"],a=new Error(r.value||r);return a.code=a.name=t.value||t,a}(i);if("event"!==s.value)return}var o=i.headers[":event-type"],n=r.members[o.value];if(n){var u={},p=n.eventPayloadMemberName;if(p){var c=n.members[p];"binary"===c.type?u[p]=i.body:u[p]=e.parse(i.body.toString(),c)}for(var m=n.eventHeaderMemberNames,l=0;l{var a=r(4592).Int64,i=r(99548).splitMessage,s="boolean",o="byte",n="short",u="integer",p="long",c="binary",m="string",l="timestamp",d="uuid";function y(e){for(var t={},r=0;r{var a=r(55812).util,i=a.buffer.toBuffer;e.exports={splitMessage:function(e){if(a.Buffer.isBuffer(e)||(e=i(e)),e.length<16)throw new Error("Provided message too short to accommodate event stream message overhead");if(e.length!==e.readUInt32BE(0))throw new Error("Reported message length does not match received message length");var t=e.readUInt32BE(8);if(t!==a.crypto.crc32(e.slice(0,8)))throw new Error("The prelude checksum specified in the message ("+t+") does not match the calculated CRC32 checksum.");var r=e.readUInt32BE(e.length-4);if(r!==a.crypto.crc32(e.slice(0,e.length-4)))throw new Error("The message checksum did not match the expected value of "+r);var s=12+e.readUInt32BE(4);return{headers:e.slice(12,s),body:e.slice(s,e.length-4)}}}},51056:(e,t,r)=>{var a=r(55812),i=r(46312),s=r(59260).discoverEndpoint;function o(e){if(!e.service.api.operations)return"";var t=e.service.api.operations[e.operation];return t?t.authtype:""}function n(e){var t=e.service;return t.config.signatureVersion?t.config.signatureVersion:t.api.signatureVersion?t.api.signatureVersion:o(e)}a.EventListeners={Core:{}},a.EventListeners={Core:(new i).addNamedListeners((function(e,t){t("VALIDATE_CREDENTIALS","validate",(function(e,t){if(!e.service.api.signatureVersion&&!e.service.config.signatureVersion)return t();"bearer"!==n(e)?e.service.config.getCredentials((function(r){r&&(e.response.error=a.util.error(r,{code:"CredentialsError",message:"Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1"})),t()})):e.service.config.getToken((function(r){r&&(e.response.error=a.util.error(r,{code:"TokenError"})),t()}))})),e("VALIDATE_REGION","validate",(function(e){if(!e.service.isGlobalEndpoint){var t=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);e.service.config.region?t.test(e.service.config.region)||(e.response.error=a.util.error(new Error,{code:"ConfigError",message:"Invalid region in config"})):e.response.error=a.util.error(new Error,{code:"ConfigError",message:"Missing region in config"})}})),e("BUILD_IDEMPOTENCY_TOKENS","validate",(function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation];if(t){var r=t.idempotentMembers;if(r.length){for(var i=a.util.copy(e.params),s=0,o=r.length;s=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,(function(r,a){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=a,t())}))}else t()}})),e("SET_CONTENT_LENGTH","afterBuild",(function(e){var t=o(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var i=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=i}catch(s){if(r&&r.isStreaming){if(r.requiresLength)throw s;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw s}throw s}})),e("SET_HTTP_HOST","afterBuild",(function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host})),e("SET_TRACE_ID","afterBuild",(function(e){var t="X-Amzn-Trace-Id";if(a.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,t)){var r={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_LAMBDA_FUNCTION_NAME,i={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}._X_AMZN_TRACE_ID;"string"===typeof r&&r.length>0&&"string"===typeof i&&i.length>0&&(e.httpRequest.headers[t]=i)}})),e("RESTART","restart",(function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],(function(e){e?t(e):s()})):s()})),e("HTTP_HEADERS","httpHeaders",(function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}})),e("HTTP_DATA","httpData",(function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}})),e("HTTP_DONE","httpDone",(function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers})),e("FINALIZE_ERROR","retry",(function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))})),e("INVALIDATE_CREDENTIALS","retry",(function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}})),e("EXPIRED_SIGNATURE","retry",(function(e){var t=e.error;t&&"string"===typeof t.code&&"string"===typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)})),e("CLOCK_SKEWED","retry",(function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)})),e("REDIRECT","retry",(function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)})),e("RETRY_CHECK","retry",(function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()}))})),CorePost:(new i).addNamedListeners((function(e){e("EXTRACT_REQUEST_ID","extractData",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",(function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"===typeof e.errno&&"function"===typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=a.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}}))})),Logger:(new i).addNamedListeners((function(e){e("LOG_REQUEST","complete",(function(e){var t=e.request,i=t.service.config.logger;if(i){var s=function(){var s=(e.request.service.getSkewCorrectedDate().getTime()-t.startTime.getTime())/1e3,n=!!i.isTTY,u=e.httpResponse.statusCode,p=t.params;t.service.api.operations&&t.service.api.operations[t.operation]&&t.service.api.operations[t.operation].input&&(p=o(t.service.api.operations[t.operation].input,t.params));var c=r(34184).inspect(p,!0,null),m="";return n&&(m+="\x1b[33m"),m+="[AWS "+t.service.serviceIdentifier+" "+u,m+=" "+s.toString()+"s "+e.retryCount+" retries]",n&&(m+="\x1b[0;1m"),m+=" "+a.util.string.lowerFirst(t.operation),m+="("+c+")",n&&(m+="\x1b[0m"),m}();"function"===typeof i.log?i.log(s):"function"===typeof i.write&&i.write(s+"\n")}function o(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var r={};return a.util.each(t,(function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?r[t]=o(e.members[t],a):r[t]=a})),r;case"list":var i=[];return a.util.arrayEach(t,(function(t,r){i.push(o(e.member,t))})),i;case"map":var s={};return a.util.each(t,(function(t,r){s[t]=o(e.value,r)})),s;default:return t}}}))})),Json:(new i).addNamedListeners((function(e){var t=r(16e3);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})),Rest:(new i).addNamedListeners((function(e){var t=r(73160);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})),RestJson:(new i).addNamedListeners((function(e){var t=r(81972);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError),e("UNSET_CONTENT_LENGTH","afterBuild",t.unsetContentLength)})),RestXml:(new i).addNamedListeners((function(e){var t=r(43532);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})),Query:(new i).addNamedListeners((function(e){var t=r(45172);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)}))}},51176:(e,t,r)=>{var a=r(55812),i=a.util.inherit;a.Endpoint=i({constructor:function(e,t){if(a.util.hideProperties(this,["slashes","auth","hash","search","query"]),"undefined"===typeof e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!==typeof e)return a.util.copy(e);e.match(/^http/)||(e=((t&&void 0!==t.sslEnabled?t.sslEnabled:a.config.sslEnabled)?"https":"http")+"://"+e);a.util.update(this,a.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),a.HttpRequest=i({constructor:function(e,t){e=new a.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=a.util.userAgent()},getUserAgentHeaderName:function(){return(a.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"===typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=a.util.queryStringParse(e),a.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new a.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),a.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),a.HttpClient=i({}),a.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},58632:(e,t,r)=>{var a=r(55812),i=r(35568).EventEmitter;r(51176),a.XHRClient=a.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new i,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var c=new XMLHttpRequest,m=!1;e.stream=c,c.addEventListener("readystatechange",(function(){try{if(0===c.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!m&&(u.statusCode=c.status,u.headers=o.parseHeaders(c.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,c.statusText),m=!0),this.readyState===this.DONE&&o.finishRequest(c,u)}),!1),c.upload.addEventListener("progress",(function(e){u.emit("sendProgress",e)})),c.addEventListener("progress",(function(e){u.emit("receiveProgress",e)}),!1),c.addEventListener("timeout",(function(){s(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))}),!1),c.addEventListener("error",(function(){s(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))}),!1),c.addEventListener("abort",(function(){s(a.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))}),!1),r(u),c.open(e.method,p,!1!==t.xhrAsync),a.util.each(e.headers,(function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&c.setRequestHeader(e,t)})),t.timeout&&!1!==t.xhrAsync&&(c.timeout=t.timeout),t.xhrWithCredentials&&(c.withCredentials=!0);try{c.responseType="arraybuffer"}catch(l){}try{e.body?c.send(e.body):c.send()}catch(d){if(!e.body||"object"!==typeof e.body.buffer)throw d;c.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return a.util.arrayEach(e.split(/\r?\n/),(function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)})),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new a.util.Buffer(i.byteLength);for(var s=new Uint8Array(i),o=0;o{var a=r(71800);function i(){}function s(e,t){if(t&&void 0!==e&&null!==e)switch(t.type){case"structure":return function(e,t){if(t.isDocument)return e;var r={};return a.each(e,(function(e,a){var i=t.members[e];if(i){if("body"!==i.location)return;var o=i.isLocationName?i.name:e,n=s(a,i);void 0!==n&&(r[o]=n)}})),r}(e,t);case"map":return function(e,t){var r={};return a.each(e,(function(e,a){var i=s(a,t.value);void 0!==i&&(r[e]=i)})),r}(e,t);case"list":return function(e,t){var r=[];return a.arrayEach(e,(function(e){var a=s(e,t.member);void 0!==a&&r.push(a)})),r}(e,t);default:return function(e,t){return t.toWireFormat(e)}(e,t)}}i.prototype.build=function(e,t){return JSON.stringify(s(e,t))},e.exports=i},7768:(e,t,r)=>{var a=r(71800);function i(){}function s(e,t){if(t&&void 0!==e)switch(t.type){case"structure":return function(e,t){if(null==e)return;if(t.isDocument)return e;var r={},i=t.members,o=t.api&&t.api.awsQueryCompatible;return a.each(i,(function(t,a){var i=a.isLocationName?a.name:t;if(Object.prototype.hasOwnProperty.call(e,i)){var n=s(e[i],a);void 0!==n&&(r[t]=n)}else o&&a.defaultValue&&"list"===a.type&&(r[t]="function"===typeof a.defaultValue?a.defaultValue():a.defaultValue)})),r}(e,t);case"map":return function(e,t){if(null==e)return;var r={};return a.each(e,(function(e,a){var i=s(a,t.value);r[e]=void 0===i?null:i})),r}(e,t);case"list":return function(e,t){if(null==e)return;var r=[];return a.arrayEach(e,(function(e){var a=s(e,t.member);void 0===a?r.push(null):r.push(a)})),r}(e,t);default:return function(e,t){return t.toType(e)}(e,t)}}i.prototype.parse=function(e,t){return s(JSON.parse(e),t)},e.exports=i},79348:e=>{var t=["We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n","Please migrate your code to use AWS SDK for JavaScript (v3).","For more information, check the migration guide at https://a.co/7PzMCcy"].join("\n");e.exports={suppress:!1},setTimeout((function(){e.exports.suppress||"undefined"!==typeof process&&("undefined"!==typeof{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_EXECUTION_ENV&&0==={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_EXECUTION_ENV.indexOf("AWS_Lambda_")||"undefined"===typeof{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE&&"function"===typeof process.emitWarning&&process.emitWarning(t,{type:"NOTE"}))}),0)},59456:(e,t,r)=>{var a=r(3584),i=r(60316),s=r(18149),o=r(7328),n=r(46968),u=r(98020),p=r(71800),c=p.property,m=p.memoizedProperty;e.exports=function(e,t){var r=this;e=e||{},(t=t||{}).api=this,e.metadata=e.metadata||{};var l=t.serviceIdentifier;delete t.serviceIdentifier,c(this,"isApi",!0,!1),c(this,"apiVersion",e.metadata.apiVersion),c(this,"endpointPrefix",e.metadata.endpointPrefix),c(this,"signingName",e.metadata.signingName),c(this,"globalEndpoint",e.metadata.globalEndpoint),c(this,"signatureVersion",e.metadata.signatureVersion),c(this,"jsonVersion",e.metadata.jsonVersion),c(this,"targetPrefix",e.metadata.targetPrefix),c(this,"protocol",e.metadata.protocol),c(this,"timestampFormat",e.metadata.timestampFormat),c(this,"xmlNamespaceUri",e.metadata.xmlNamespace),c(this,"abbreviation",e.metadata.serviceAbbreviation),c(this,"fullName",e.metadata.serviceFullName),c(this,"serviceId",e.metadata.serviceId),l&&u[l]&&c(this,"xmlNoDefaultLists",u[l].xmlNoDefaultLists,!1),m(this,"className",(function(){var t=e.metadata.serviceAbbreviation||e.metadata.serviceFullName;return t?("ElasticLoadBalancing"===(t=t.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g,""))&&(t="ELB"),t):null})),c(this,"operations",new a(e.operations,t,(function(e,r){return new i(e,r,t)}),p.string.lowerFirst,(function(e,t){!0===t.endpointoperation&&c(r,"endpointOperation",p.string.lowerFirst(e)),t.endpointdiscovery&&!r.hasRequiredEndpointDiscovery&&c(r,"hasRequiredEndpointDiscovery",!0===t.endpointdiscovery.required)}))),c(this,"shapes",new a(e.shapes,t,(function(e,r){return s.create(r,t)}))),c(this,"paginators",new a(e.paginators,t,(function(e,r){return new o(e,r,t)}))),c(this,"waiters",new a(e.waiters,t,(function(e,r){return new n(e,r,t)}),p.string.lowerFirst)),t.documentation&&(c(this,"documentation",e.documentation),c(this,"documentationUrl",e.documentationUrl)),c(this,"awsQueryCompatible",e.metadata.awsQueryCompatible)}},3584:(e,t,r)=>{var a=r(71800).memoizedProperty;function i(e,t,r,i){a(this,i(e),(function(){return r(e,t)}))}e.exports=function(e,t,r,a,s){for(var o in a=a||String,e)Object.prototype.hasOwnProperty.call(e,o)&&(i.call(this,o,e[o],r,a),s&&s(o,e[o]))}},60316:(e,t,r)=>{var a=r(18149),i=r(71800),s=i.property,o=i.memoizedProperty;e.exports=function(e,t,r){var i=this;r=r||{},s(this,"name",t.name||e),s(this,"api",r.api,!1),t.http=t.http||{},s(this,"endpoint",t.endpoint),s(this,"httpMethod",t.http.method||"POST"),s(this,"httpPath",t.http.requestUri||"/"),s(this,"authtype",t.authtype||""),s(this,"endpointDiscoveryRequired",t.endpointdiscovery?t.endpointdiscovery.required?"REQUIRED":"OPTIONAL":"NULL");var n=t.httpChecksumRequired||t.httpChecksum&&t.httpChecksum.requestChecksumRequired;s(this,"httpChecksumRequired",n,!1),o(this,"input",(function(){return t.input?a.create(t.input,r):new a.create({type:"structure"},r)})),o(this,"output",(function(){return t.output?a.create(t.output,r):new a.create({type:"structure"},r)})),o(this,"errors",(function(){var e=[];if(!t.errors)return null;for(var i=0;i{var a=r(71800).property;e.exports=function(e,t){a(this,"inputToken",t.input_token),a(this,"limitKey",t.limit_key),a(this,"moreResults",t.more_results),a(this,"outputToken",t.output_token),a(this,"resultKey",t.result_key)}},46968:(e,t,r)=>{var a=r(71800),i=a.property;e.exports=function(e,t,r){r=r||{},i(this,"name",e),i(this,"api",r.api,!1),t.operation&&i(this,"operation",a.string.lowerFirst(t.operation));var s=this;["type","description","delay","maxAttempts","acceptors"].forEach((function(e){var r=t[e];r&&i(s,e,r)}))}},18149:(e,t,r)=>{var a=r(3584),i=r(71800);function s(e,t,r){null!==r&&void 0!==r&&i.property.apply(this,arguments)}function o(e,t){e.constructor.prototype[t]||i.memoizedProperty.apply(this,arguments)}function n(e,t,r){t=t||{},s(this,"shape",e.shape),s(this,"api",t.api,!1),s(this,"type",e.type),s(this,"enum",e.enum),s(this,"min",e.min),s(this,"max",e.max),s(this,"pattern",e.pattern),s(this,"location",e.location||this.location||"body"),s(this,"name",this.name||e.xmlName||e.queryName||e.locationName||r),s(this,"isStreaming",e.streaming||this.isStreaming||!1),s(this,"requiresLength",e.requiresLength,!1),s(this,"isComposite",e.isComposite||!1),s(this,"isShape",!0,!1),s(this,"isQueryName",Boolean(e.queryName),!1),s(this,"isLocationName",Boolean(e.locationName),!1),s(this,"isIdempotent",!0===e.idempotencyToken),s(this,"isJsonValue",!0===e.jsonvalue),s(this,"isSensitive",!0===e.sensitive||e.prototype&&!0===e.prototype.sensitive),s(this,"isEventStream",Boolean(e.eventstream),!1),s(this,"isEvent",Boolean(e.event),!1),s(this,"isEventPayload",Boolean(e.eventpayload),!1),s(this,"isEventHeader",Boolean(e.eventheader),!1),s(this,"isTimestampFormatSet",Boolean(e.timestampFormat)||e.prototype&&!0===e.prototype.isTimestampFormatSet,!1),s(this,"endpointDiscoveryId",Boolean(e.endpointdiscoveryid),!1),s(this,"hostLabel",Boolean(e.hostLabel),!1),t.documentation&&(s(this,"documentation",e.documentation),s(this,"documentationUrl",e.documentationUrl)),e.xmlAttribute&&s(this,"isXmlAttribute",e.xmlAttribute||!1),s(this,"defaultValue",null),this.toWireFormat=function(e){return null===e||void 0===e?"":e},this.toType=function(e){return e}}function u(e){n.apply(this,arguments),s(this,"isComposite",!0),e.flattened&&s(this,"flattened",e.flattened||!1)}function p(e,t){var r=this,i=null,p=!this.isShape;u.apply(this,arguments),p&&(s(this,"defaultValue",(function(){return{}})),s(this,"members",{}),s(this,"memberNames",[]),s(this,"required",[]),s(this,"isRequired",(function(){return!1})),s(this,"isDocument",Boolean(e.document))),e.members&&(s(this,"members",new a(e.members,t,(function(e,r){return n.create(r,t,e)}))),o(this,"memberNames",(function(){return e.xmlOrder||Object.keys(e.members)})),e.event&&(o(this,"eventPayloadMemberName",(function(){for(var e=r.members,t=r.memberNames,a=0,i=t.length;a-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"===typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function d(){n.apply(this,arguments),this.toType=function(e){var t=i.base64.decode(e);if(this.isSensitive&&i.isNode()&&"function"===typeof i.Buffer.alloc){var r=i.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=i.base64.encode}function y(){d.apply(this,arguments)}function b(){n.apply(this,arguments),this.toType=function(e){return"boolean"===typeof e?e:null===e||void 0===e?null:"true"===e}}n.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},n.types={structure:p,list:c,map:m,boolean:b,timestamp:function(e){var t=this;if(n.apply(this,arguments),e.timestampFormat)s(this,"timestampFormat",e.timestampFormat);else if(t.isTimestampFormatSet&&this.timestampFormat)s(this,"timestampFormat",this.timestampFormat);else if("header"===this.location)s(this,"timestampFormat","rfc822");else if("querystring"===this.location)s(this,"timestampFormat","iso8601");else if(this.api)switch(this.api.protocol){case"json":case"rest-json":s(this,"timestampFormat","unixTimestamp");break;case"rest-xml":case"query":case"ec2":s(this,"timestampFormat","iso8601")}this.toType=function(e){return null===e||void 0===e?null:"function"===typeof e.toUTCString?e:"string"===typeof e||"number"===typeof e?i.date.parseTimestamp(e):null},this.toWireFormat=function(e){return i.date.format(e,t.timestampFormat)}},float:function(){n.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType},integer:function(){n.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType},string:l,base64:y,binary:d},n.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},n.create=function(e,t,r){if(e.isShape)return e;var a=n.resolve(e,t);if(a){var i=Object.keys(e);t.documentation||(i=i.filter((function(e){return!e.match(/documentation/)})));var s=function(){a.constructor.call(this,e,t,r)};return s.prototype=a,new s}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var o=e.type;if(n.normalizedTypes[e.type]&&(e.type=n.normalizedTypes[e.type]),n.types[e.type])return new n.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+o)},n.shapes={StructureShape:p,ListShape:c,MapShape:m,StringShape:l,BooleanShape:b,Base64Shape:y},e.exports=n},55139:(e,t,r)=>{var a=r(55812);a.ParamValidator=a.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,a.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;var a;this.validateType(t,r,["object"],"structure");for(var i=0;e.required&&i= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,a){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+a+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,i){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o{var a=r(55812),i=a.Protocol.Rest;a.Polly.Presigner=a.util.inherit({constructor:function(e){e=e||{},this.options=e,this.service=e.service,this.bindServiceObject(e),this._operations={}},bindServiceObject:function(e){if(e=e||{},this.service){var t=a.util.copy(this.service.config);this.service=new this.service.constructor.__super__(t),this.service.config.params=a.util.merge(this.service.config.params||{},e.params)}else this.service=new a.Polly(e)},modifyInputMembers:function(e){var t=a.util.copy(e);return t.members=a.util.copy(e.members),a.util.each(e.members,(function(e,r){t.members[e]=a.util.copy(r),r.location&&"body"!==r.location||(t.members[e].location="querystring",t.members[e].locationName=e)})),t},convertPostToGet:function(e){e.httpRequest.method="GET";var t=e.service.api.operations[e.operation],r=this._operations[e.operation];r||(this._operations[e.operation]=r=this.modifyInputMembers(t.input));var a=i.generateURI(e.httpRequest.endpoint.path,t.httpPath,r,e.params);e.httpRequest.path=a,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},getSynthesizeSpeechUrl:function(e,t,r){var a=this,i=this.service.makeRequest("synthesizeSpeech",e);return i.removeAllListeners("build"),i.on("build",(function(e){a.convertPostToGet(e)})),i.presign(t,r)}})},93220:(e,t,r)=>{var a=r(71800),i=r(55812);e.exports={populateHostPrefix:function(e){if(!e.service.config.hostPrefixEnabled)return e;var t=e.service.api.operations[e.operation];if(function(e){var t=e.service.api,r=t.operations[e.operation],i=t.endpointOperation&&t.endpointOperation===a.string.lowerFirst(r.name);return"NULL"!==r.endpointDiscoveryRequired||!0===i}(e))return e;if(t.endpoint&&t.endpoint.hostPrefix){var r=function(e,t,r){return a.each(r.members,(function(r,i){if(!0===i.hostLabel){if("string"!==typeof t[r]||""===t[r])throw a.error(new Error,{message:"Parameter "+r+" should be a non-empty string.",code:"InvalidParameter"});var s=new RegExp("\\{"+r+"\\}","g");e=e.replace(s,t[r])}})),e}(t.endpoint.hostPrefix,e.params,t.input);!function(e,t){e.host&&(e.host=t+e.host);e.hostname&&(e.hostname=t+e.hostname)}(e.httpRequest.endpoint,r),function(e){var t=e.split("."),r=/^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/;a.arrayEach(t,(function(e){if(!e.length||e.length<1||e.length>63)throw a.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw i.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})}))}(e.httpRequest.endpoint.hostname)}return e}}},16e3:(e,t,r)=>{var a=r(71800),i=r(2720),s=r(7768),o=r(93220).populateHostPrefix;e.exports={buildRequest:function(e){var t=e.httpRequest,r=e.service.api,a=r.targetPrefix+"."+r.operations[e.operation].name,s=r.jsonVersion||"1.0",n=r.operations[e.operation].input,u=new i;1===s&&(s="1.0"),r.awsQueryCompatible&&(t.params||(t.params={}),Object.assign(t.params,e.params)),t.body=u.build(e.params||{},n),t.headers["Content-Type"]="application/x-amz-json-"+s,t.headers["X-Amz-Target"]=a,o(e)},extractError:function(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"===typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),s=i.__type||i.code||i.Code;for(var o in s&&(t.code=s.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null,i||{})"code"!==o&&"message"!==o&&(t["["+o+"]"]="See error."+o+" for details.",Object.defineProperty(t,o,{value:i[o],enumerable:!1,writable:!0}))}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=a.error(new Error,t)},extractData:function(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation].output||{},a=new s;e.data=a.parse(t,r)}}}},45172:(e,t,r)=>{var a=r(55812),i=r(71800),s=r(80856),o=r(18149),n=r(93220).populateHostPrefix;e.exports={buildRequest:function(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new s).serialize(e.params,t.input,(function(e,t){r.params[e]=t})),r.body=i.queryParamsToString(r.params),n(e)},extractError:function(e){var t,r=e.httpResponse.body.toString();if(r.match("{var a=r(71800),i=r(93220).populateHostPrefix;function s(e,t,r,i){var s=[e,t].join("/");s=s.replace(/\/+/g,"/");var o={},n=!1;if(a.each(r.members,(function(e,t){var r=i[e];if(null!==r&&void 0!==r)if("uri"===t.location){var u=new RegExp("\\{"+t.name+"(\\+)?\\}");s=s.replace(u,(function(e,t){return(t?a.uriEscapePath:a.uriEscape)(String(r))}))}else"querystring"===t.location&&(n=!0,"list"===t.type?o[t.name]=r.map((function(e){return a.uriEscape(t.member.toWireFormat(e).toString())})):"map"===t.type?a.each(r,(function(e,t){Array.isArray(t)?o[e]=t.map((function(e){return a.uriEscape(String(e))})):o[e]=a.uriEscape(String(t))})):o[t.name]=a.uriEscape(t.toWireFormat(r).toString()))})),n){s+=s.indexOf("?")>=0?"&":"?";var u=[];a.arrayEach(Object.keys(o).sort(),(function(e){Array.isArray(o[e])||(o[e]=[o[e]]);for(var t=0;t{var a=r(71800),i=r(73160),s=r(16e3),o=r(2720),n=r(7768),u=["GET","HEAD","DELETE"];function p(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}e.exports={buildRequest:function(e){i.buildRequest(e),u.indexOf(e.httpRequest.method)<0&&function(e){var t=new o,r=e.service.api.operations[e.operation].input;if(r.payload){var a,i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),p(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&p(e,!0))}else e.httpRequest.body=t.build(e.params,r),p(e)}(e)},extractError:function(e){s.extractError(e)},extractData:function(e){i.extractData(e);var t=e.request,r=t.service.api.operations[t.operation],o=t.service.api.operations[t.operation].output||{};if(r.hasEventOutput,o.payload){var u=o.members[o.payload],p=e.httpResponse.body;if(u.isEventStream)c=new n,e.data[payload]=a.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:p,c,u);else if("structure"===u.type||"list"===u.type){var c=new n;e.data[o.payload]=c.parse(p,u)}else"binary"===u.type||u.isStreaming?e.data[o.payload]=p:e.data[o.payload]=u.toType(p)}else{var m=e.data;s.extractData(e),e.data=a.merge(m,e.data)}},unsetContentLength:function(e){void 0===a.getRequestPayloadShape(e)&&u.indexOf(e.httpRequest.method)>=0&&delete e.httpRequest.headers["Content-Length"]}}},43532:(e,t,r)=>{var a=r(55812),i=r(71800),s=r(73160);e.exports={buildRequest:function(e){s.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&function(e){var t=e.service.api.operations[e.operation].input,r=new a.XML.Builder,s=e.params,o=t.payload;if(o){var n=t.members[o];if(void 0===(s=s[o]))return;if("structure"===n.type){var u=n.name;e.httpRequest.body=r.toXML(s,n,u,!0)}else e.httpRequest.body=s}else e.httpRequest.body=r.toXML(s,t,t.name||t.shape||i.string.upperFirst(e.operation)+"Request")}(e)},extractError:function(e){var t;s.extractError(e);try{t=(new a.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=i.error(new Error,{code:t.Code,message:t.Message}):e.error=i.error(new Error,{code:e.httpResponse.statusCode,message:null})},extractData:function(e){var t;s.extractData(e);var r=e.request,o=e.httpResponse.body,n=r.service.api.operations[r.operation],u=n.output,p=(n.hasEventOutput,u.payload);if(p){var c=u.members[p];c.isEventStream?(t=new a.XML.Parser,e.data[p]=i.createEventStream(2===a.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,c)):"structure"===c.type?(t=new a.XML.Parser,e.data[p]=t.parse(o.toString(),c)):"binary"===c.type||c.isStreaming?e.data[p]=o:e.data[p]=c.toType(o)}else if(o.length>0){var m=(t=new a.XML.Parser).parse(o.toString(),u);i.update(e.data,m)}}}},80856:(e,t,r)=>{var a=r(71800);function i(){}function s(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function o(e,t,r,i){a.each(r.members,(function(r,a){var o=t[r];if(null!==o&&void 0!==o){var u=s(a);n(u=e?e+"."+u:u,o,a,i)}}))}function n(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?o(e,t,r,i):"list"===r.type?function(e,t,r,i){var o=r.member||{};0!==t.length?a.arrayEach(t,(function(t,a){var u="."+(a+1);if("ec2"===r.api.protocol)u+="";else if(r.flattened){if(o.name){var p=e.split(".");p.pop(),p.push(s(o)),e=p.join(".")}}else u="."+(o.name?o.name:"member")+u;n(e+u,t,o,i)})):i.call(this,e,null)}(e,t,r,i):"map"===r.type?function(e,t,r,i){var s=1;a.each(t,(function(t,a){var o=(r.flattened?".":".entry.")+s+++".",u=o+(r.key.name||"key"),p=o+(r.value.name||"value");n(e+u,t,r.key,i),n(e+p,a,r.value,i)}))}(e,t,r,i):i(e,r.toWireFormat(t).toString()))}i.prototype.serialize=function(e,t,r){o("",e,t,r)},e.exports=i},76268:(e,t,r)=>{var a=r(55812),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){var t="https://";if(0===e.indexOf(t))return e.substring(8)},getAuthToken:function(e,t){"function"===typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"===typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),(i=new a.Service(u)).api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var c=p.presign(900);return this.convertUrlToAuthToken(c)}p.presign(900,(function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)}))},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";for(var r in e=e||{},o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},1284:e=>{e.exports={now:function(){return"undefined"!==typeof performance&&"function"===typeof performance.now?performance.now():Date.now()}}},93644:e=>{e.exports={isFipsRegion:function(e){return"string"===typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))},isGlobalRegion:function(e){return"string"===typeof e&&["aws-global","aws-us-gov-global"].includes(e)},getRealRegion:function(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}}},28056:(e,t,r)=>{var a=r(71800),i=r(11560);function s(e,t){a.each(t,(function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))}))}e.exports={configureEndpoint:function(e){for(var t=function(e){var t=e.config.region,r=function(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],[t,"internal-*"],["*","*"]].map((function(e){return e[0]&&e[1]?e.join("/"):null}))}(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o{var a=r(55812),i=r(82408),s=a.util.inherit,o=a.util.domain,n=r(71736),u={success:1,error:1,complete:1};var p=new i;p.setupStates=function(){var e=function(e,t){var r=this;r._haltHandlersOnError=!1,r.emit(r._asm.currentState,(function(e){if(e)if(a=r,Object.prototype.hasOwnProperty.call(u,a._asm.currentState)){if(!(o&&r.domain instanceof o.Domain))throw e;e.domainEmitter=r,e.domain=r.domain,e.domainThrown=!1,r.domain.emit("error",e)}else r.response.error=e,t(e);else t(r.response.error);var a}))};this.addState("validate","build","error",e),this.addState("build","afterBuild","restart",e),this.addState("afterBuild","sign","restart",e),this.addState("sign","send","retry",e),this.addState("retry","afterRetry","afterRetry",e),this.addState("afterRetry","sign","error",e),this.addState("send","validateResponse","retry",e),this.addState("validateResponse","extractData","extractError",e),this.addState("extractError","extractData","retry",e),this.addState("extractData","success","retry",e),this.addState("restart","build","error",e),this.addState("success","complete","complete",e),this.addState("error","complete","complete",e),this.addState("complete",null,null,e)},p.setupStates(),a.Request=s({constructor:function(e,t,r){var s=e.endpoint,n=e.config.region,u=e.config.customUserAgent;e.signingRegion?n=e.signingRegion:e.isGlobalEndpoint&&(n="us-east-1"),this.domain=o&&o.active,this.service=e,this.operation=t,this.params=r||{},this.httpRequest=new a.HttpRequest(s,n),this.httpRequest.appendToUserAgent(u),this.startTime=e.getSkewCorrectedDate(),this.response=new a.Response(this),this._asm=new i(p.states,"validate"),this._haltHandlersOnError=!1,a.SequentialExecutor.call(this),this.emit=this.emitEvent},send:function(e){return e&&(this.httpRequest.appendToUserAgent("callback"),this.on("complete",(function(t){e.call(t,t.error,t.data)}))),this.runTo(),this.response},build:function(e){return this.runTo("send",e)},runTo:function(e,t){return this._asm.runTo(e,t,this),this},abort:function(){return this.removeAllListeners("validateResponse"),this.removeAllListeners("extractError"),this.on("validateResponse",(function(e){e.error=a.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1})})),this.httpRequest.stream&&!this.httpRequest.stream.didCallback&&(this.httpRequest.stream.abort(),this.httpRequest._abortCallback?this.httpRequest._abortCallback():this.removeAllListeners("send")),this},eachPage:function(e){e=a.util.fn.makeAsync(e,3),this.on("complete",(function t(r){e.call(r,r.error,r.data,(function(i){!1!==i&&(r.hasNextPage()?r.nextPage().on("complete",t).send():e.call(r,null,null,a.util.fn.noop))}))})).send()},eachItem:function(e){var t=this;this.eachPage((function(r,i){if(r)return e(r,null);if(null===i)return e(null,null);var s=t.service.paginationConfig(t.operation).resultKey;Array.isArray(s)&&(s=s[0]);var o=n.search(i,s),u=!0;return a.util.arrayEach(o,(function(t){if(!1===(u=e(null,t)))return a.util.abort})),u}))},isPageable:function(){return!!this.service.paginationConfig(this.operation)},createReadStream:function(){var e=a.util.stream,t=this,r=null;return 2===a.HttpClient.streamsApiVersion?(r=new e.PassThrough,process.nextTick((function(){t.send()}))):((r=new e.Stream).readable=!0,r.sent=!1,r.on("newListener",(function(e){r.sent||"data"!==e||(r.sent=!0,process.nextTick((function(){t.send()})))}))),this.on("error",(function(e){r.emit("error",e)})),this.on("httpHeaders",(function(i,s,o){if(i<300){t.removeListener("httpData",a.EventListeners.Core.HTTP_DATA),t.removeListener("httpError",a.EventListeners.Core.HTTP_ERROR),t.on("httpError",(function(e){o.error=e,o.error.retryable=!1}));var n,u=!1;if("HEAD"!==t.httpRequest.method&&(n=parseInt(s["content-length"],10)),void 0!==n&&!isNaN(n)&&n>=0){u=!0;var p=0}var c=function(){u&&p!==n?r.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?r.end():r.emit("end")},m=o.httpResponse.createUnbufferedStream();if(2===a.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",c),r.on("error",(function(e){u=!1,m.unpipe(l),l.emit("end"),l.end()})),m.pipe(l).pipe(r,{end:!1})}else m.pipe(r);else u&&m.on("data",(function(e){e&&e.length&&(p+=e.length)})),m.on("data",(function(e){r.emit("data",e)})),m.on("end",c);m.on("error",(function(e){u=!1,r.emit("error",e)}))}})),r},emitEvent:function(e,t,r){"function"===typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),a.SequentialExecutor.prototype.emit.call(this,e,t,(function(e){e&&(this.response.error=e),r.call(this,e)}))},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!==typeof e||(t=e,e=null),(new a.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),a.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e((function(e,r){t.on("complete",(function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))})),t.runTo()}))}},a.Request.deletePromisesFromClass=function(){delete this.prototype.promise},a.util.addPromises(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)},24032:(e,t,r)=>{var a=r(55812),i=a.util.inherit,s=r(71736);function o(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,i="retry";r.forEach((function(r){if(!a){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(a=!0,i=r.state)}})),!a&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}a.ResourceWaiter=i({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var a=s.search(e.data,r)}catch(i){return!1}return s.strictDeepEqual(a,t)},pathAll:function(e,t,r){try{var a=s.search(e.data,r)}catch(n){return!1}Array.isArray(a)||(a=[a]);var i=a.length;if(!i)return!1;for(var o=0;o{var a=r(55812),i=a.util.inherit,s=r(71736);a.Response=i({constructor:function(e){this.request=e,this.data=null,this.error=null,this.retryCount=0,this.redirectCount=0,this.httpResponse=new a.HttpResponse,e&&(this.maxRetries=e.service.numRetries(),this.maxRedirects=e.service.config.maxRedirects)},nextPage:function(e){var t,r=this.request.service,i=this.request.operation;try{t=r.paginationConfig(i,!0)}catch(u){this.error=u}if(!this.hasNextPage()){if(e)e(this.error,null);else if(this.error)throw this.error;return null}var s=a.util.copy(this.request.params);if(this.nextPageTokens){var o=t.inputToken;"string"===typeof o&&(o=[o]);for(var n=0;n{var a=r(55812),i=a.util.string.byteLength,s=a.util.Buffer;a.S3.ManagedUpload=a.util.inherit({constructor:function(e){var t=this;a.SequentialExecutor.call(t),t.body=null,t.sliceFn=null,t.callback=null,t.parts={},t.completeInfo=[],t.fillQueue=function(){t.callback(new Error("Unsupported body payload "+typeof t.body))},t.configure(e)},configure:function(e){if(e=e||{},this.partSize=this.minPartSize,e.queueSize&&(this.queueSize=e.queueSize),e.partSize&&(this.partSize=e.partSize),e.leavePartsOnError&&(this.leavePartsOnError=!0),e.tags){if(!Array.isArray(e.tags))throw new Error("Tags must be specified as an array; "+typeof e.tags+" provided.");this.tags=e.tags}if(this.partSize=1&&t.doneParts===t.numParts&&t.finishMultiPart()})))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(a.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"===typeof e.body)e.body=a.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=a.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,i=a.util.copy(r.config);i.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(i),t.service.config.params=a.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new a.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=i(e.body)}catch(r){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=i(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var i={Body:e};this.tags&&(i.Tagging=this.getTaggingHeader());var s=t.service.putObject(i);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=a.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",(function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null})),t.queueChunks(e,r),t.multipartReq.on("error",(function(e){t.cleanup(e)})),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t{var a=r(55812);a.SequentialExecutor=a.util.inherit({constructor:function(){this._events={}},listeners:function(e){return this._events[e]?this._events[e].slice(0):[]},on:function(e,t,r){return this._events[e]?r?this._events[e].unshift(t):this._events[e].push(t):this._events[e]=[t],this},onAsync:function(e,t,r){return t._isAsync=!0,this.on(e,t,r)},removeListener:function(e,t){var r=this._events[e];if(r){for(var a=r.length,i=-1,s=0;s-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),i=a.length;return this.callListeners(a,t,r),i>0},callListeners:function(e,t,r,i){var s=this,o=i||null;function n(i){if(i&&(o=a.util.error(o||new Error,i),s._haltHandlersOnError))return r.call(s,o);s.callListeners(e,t,r,o)}for(;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(s,t.concat([n]));try{u.apply(s,t)}catch(p){o=a.util.error(o||new Error,p)}if(o&&s._haltHandlersOnError)return void r.call(s,o)}r.call(s,o)},addListeners:function(e){var t=this;return e._events&&(e=e._events),a.util.each(e,(function(e,r){"function"===typeof r&&(r=[r]),a.util.arrayEach(r,(function(r){t.on(e,r)}))})),t},addNamedListener:function(e,t,r,a){return this[e]=r,this.addListener(t,r,a),this},addNamedAsyncListener:function(e,t,r,a){return r._isAsync=!0,this.addNamedListener(e,t,r,a)},addNamedListeners:function(e){var t=this;return e((function(){t.addNamedListener.apply(t,arguments)}),(function(){t.addNamedAsyncListener.apply(t,arguments)})),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,e.exports=a.SequentialExecutor},61984:(e,t,r)=>{var a=r(55812),i=r(59456),s=r(28056),o=a.util.inherit,n=0,u=r(93644);a.Service=o({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"===typeof e.useDualstack&&"boolean"!==typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=a.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];if(this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),a.SequentialExecutor.call(this),a.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||a.Service._clientSideMonitoring)&&this.publisher){var r=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",(function(e){process.nextTick((function(){r.eventHandler(e)}))})),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",(function(e){process.nextTick((function(){r.eventHandler(e)}))}))}},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){(t=new a.Config(a.config)).update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&a.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?a.util.isType(e,Date)&&(e=a.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!==typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"===typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=a.util.copy(t),a.util.each(this.config.params,(function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))})))}var s=new a.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"===typeof t&&(r=t,t={});var a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){return new a.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},a=e.response;return a.httpResponse.statusCode&&(r.HttpStatusCode=a.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),a.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),a.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=a.httpResponse.headers["x-amzn-requestid"]),a.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=a.httpResponse.headers["x-amz-request-id"]),a.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=a.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,a=r.error;return r.httpResponse.statusCode>299?(a.code&&(t.AwsException=a.code),a.message&&(t.AwsExceptionMessage=a.message)):((a.code||a.name)&&(t.SdkException=a.code||a.name),a.message&&(t.SdkExceptionMessage=a.message)),t},attachMonitoringEmitter:function(e){var t,r,i,s,o,n,u=0,p=this;e.on("validate",(function(){s=a.util.realClock.now(),n=Date.now()}),true),e.on("sign",(function(){r=a.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++}),true),e.on("validateResponse",(function(){i=Math.round(a.util.realClock.now()-r)})),e.addNamedListener("API_CALL_ATTEMPT","success",(function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=o,p.emit("apiCallAttempt",[r])})),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",(function(){var s=p.attemptFailEvent(e);s.Timestamp=t,i=i||Math.round(a.util.realClock.now()-r),s.AttemptLatency=i>=0?i:0,s.Region=o,p.emit("apiCallAttempt",[s])})),e.addNamedListener("API_CALL","complete",(function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(a.util.realClock.now()-s);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&"number"===typeof i.retryCount&&"number"===typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}}))},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,i="";e&&(i=(r=(e.service.api.operations||{})[e.operation]||null)?r.authtype:"");return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":"bearer"===i?"bearer":this.api.signatureVersion,a.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return a.EventListeners.Query;case"json":return a.EventListeners.Json;case"rest-json":return a.EventListeners.RestJson;case"rest-xml":return a.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return a.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!==typeof e)return e;var t=e;return t=(t=(t=t.replace(/\{service\}/g,this.api.endpointPrefix)).replace(/\{region\}/g,this.config.region)).replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw a.util.error(i,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.util.each(e.prototype.api.operations,(function(t){e.prototype[t]||("none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)})}))},defineService:function(e,t,r){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=o(a.Service,r||{});if("string"===typeof e){a.Service.addVersions(i,t);var s=i.serviceIdentifier||e;i.serviceIdentifier=s}else i.prototype.api=e,a.Service.defineMethods(i);if(a.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&a.util.clientSideMonitoring){var n=a.util.clientSideMonitoring.Publisher,u=(0,a.util.clientSideMonitoring.configProvider)();this.prototype.publisher=new n(u),u.enabled&&(a.Service._clientSideMonitoring=!0)}return a.SequentialExecutor.call(i.prototype),a.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r{var a=r(55812);a.util.update(a.APIGateway.prototype,{setAcceptHeader:function(e){var t=e.httpRequest;t.headers.Accept||(t.headers.Accept="application/json")},setupRequestListeners:function(e){(e.addListener("build",this.setAcceptHeader),"getExport"===e.operation)&&("swagger"===(e.params||{}).exportType&&e.addListener("extractData",a.util.convertPayloadToString))}})},72472:(e,t,r)=>{var a=r(55812);r(62588),a.util.update(a.CloudFront.prototype,{setupRequestListeners:function(e){e.addListener("extractData",a.util.hoistPayloadMember)}})},23192:(e,t,r)=>{var a=r(55812);r(48824),a.util.update(a.DynamoDB.prototype,{setupRequestListeners:function(e){e.service.config.dynamoDbCrc32&&(e.removeListener("extractData",a.EventListeners.Json.EXTRACT_DATA),e.addListener("extractData",this.checkCrc32),e.addListener("extractData",a.EventListeners.Json.EXTRACT_DATA))},checkCrc32:function(e){if(!e.httpResponse.streaming&&!e.request.service.crc32IsValid(e))throw e.data=null,e.error=a.util.error(new Error,{code:"CRC32CheckFailed",message:"CRC32 integrity check failed",retryable:!0}),e.request.haltHandlersOnError(),e.error},crc32IsValid:function(e){var t=e.httpResponse.headers["x-amz-crc32"];return!t||parseInt(t,10)===a.util.crypto.crc32(e.httpResponse.body)},defaultRetryCount:10,retryDelays:function(e,t){var r=a.util.copy(this.config.retryDelayOptions);return"number"!==typeof r.base&&(r.base=50),a.util.calculateRetryDelay(e,r,t)}})},91804:(e,t,r)=>{var a=r(55812);a.util.update(a.EC2.prototype,{setupRequestListeners:function(e){e.removeListener("extractError",a.EventListeners.Query.EXTRACT_ERROR),e.addListener("extractError",this.extractError),"copySnapshot"===e.operation&&e.onAsync("validate",this.buildCopySnapshotPresignedUrl)},buildCopySnapshotPresignedUrl:function(e,t){if(e.params.PresignedUrl||e._subRequest)return t();e.params=a.util.copy(e.params),e.params.DestinationRegion=e.service.config.region;var r=a.util.copy(e.service.config);delete r.endpoint,r.region=e.params.SourceRegion;var i=new e.service.constructor(r)[e.operation](e.params);i._subRequest=!0,i.presign((function(r,a){r?t(r):(e.params.PresignedUrl=a,t())}))},extractError:function(e){var t=e.httpResponse,r=(new a.XML.Parser).parse(t.body.toString()||"");r.Errors?e.error=a.util.error(new Error,{code:r.Errors.Error.Code,message:r.Errors.Error.Message}):e.error=a.util.error(new Error,{code:t.statusCode,message:null}),e.error.requestId=r.RequestID||null}})},91032:(e,t,r)=>{var a=r(55812),i=["deleteThingShadow","getThingShadow","updateThingShadow"];a.util.update(a.IotData.prototype,{validateService:function(){if(!this.config.endpoint||this.config.endpoint.indexOf("{")>=0){throw a.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),i.indexOf(e.operation)>-1&&e.addListener("extractData",a.util.convertPayloadToString)},validateResponseBody:function(e){var t=(e.httpResponse.body.toString()||"{}").trim();t&&"{"===t.charAt(0)||(e.httpResponse.body="")}})},9660:(e,t,r)=>{var a=r(55812);a.util.update(a.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",a.util.convertPayloadToString)}})},67171:(e,t,r)=>{var a=r(55812);a.util.update(a.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new a.Endpoint(t))}})},56536:(e,t,r)=>{r(13565)},72340:(e,t,r)=>{var a=r(55812),i=r(74019);r(76268);var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];a.util.update(a.RDS.prototype,{setupRequestListeners:function(e){i.setupRequestListeners(this,e,s)}})},74019:(e,t,r)=>{var a=r(55812),i={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=a.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",i.buildCrossRegionPresignedUrl),s&&t.addListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=a.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var i=e.service.config.region,s=new e.service.constructor(r)[e.operation](a.util.copy(e.params));s.on("build",(function(e){var t=e.httpRequest;t.params.DestinationRegion=i,t.body=a.util.queryParamsToString(t.params)})),s.presign((function(r,a){r?t(r):(e.params.PreSignedUrl=a,t())}))}};e.exports=i},36048:(e,t,r)=>{var a=r(55812);a.util.update(a.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||a.Service.prototype.retryableError.call(this,e)}})},11200:(e,t,r)=>{var a=r(55812),i=r(3856),s=r(28188),o=r(91136),n=r(28056);r(74608);var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301],c="s3-object-lambda";a.util.update(a.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,a=this.config.signatureVersion,i=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==i?t="v4":a&&(t=a),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return c;var t=a.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return a.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw a.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===a.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){e.addListener("validateResponse",this.setExpiresString);if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,true),e.addListener("validate",this.optInUsEast1RegionalEndpoint,true),e.removeListener("validate",a.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",a.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=a.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion),a.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r){throw a.util.error(new Error,{code:"ConfigError",message:"Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration"})}},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){throw a.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw a.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service.getSignatureVersion(e),r=e.params&&e.params.Bucket,i=e.params&&e.params.Key,s=r&&r.indexOf("/");if(r&&s>=0)if("string"===typeof i&&s>0){e.params=a.util.copy(e.params);var o=r.substr(s+1)||"";e.params.Key=o+"/"+i,e.params.Bucket=r.substr(0,s)}else if("v4"===t){var n="Bucket names cannot contain forward slashes. Bucket: "+r;throw a.util.error(new Error,{code:"InvalidBucket",message:n})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}),!(t._originalConfig||{}).endpoint&&"us-east-1"===e.httpRequest.region&&"regional"===r.s3UsEast1RegionalEndpoint&&e.httpRequest.endpoint.hostname.indexOf("s3.amazonaws.com")>=0){var a=r.endpoint.indexOf(".amazonaws.com"),i=r.endpoint.substring(0,a)+".us-east-1"+r.endpoint.substring(a);e.httpRequest.updateEndpoint(i)}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,a=e.service,i=t.endpoint;if(r&&!a.pathStyleBucketName(r)){a.config.useAccelerateEndpoint&&a.isValidAccelerateOperation(e.operation)?a.config.useDualstackEndpoint?i.hostname=r+".s3-accelerate.dualstack.amazonaws.com":i.hostname=r+".s3-accelerate.amazonaws.com":a.config.s3BucketEndpoint||(i.hostname=r+"."+i.hostname);var s=i.port;i.host=80!==s&&443!==s?i.hostname+":"+i.port:i.hostname,t.virtualHostedBucket=r,a.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){var i="/"+a.util.uriEscapePath(e.params.Key);if(0===t.path.indexOf(i)&&(t.path.length===i.length||"?"===t.path[i.length]))return}t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},populateUriFromAccessPointArn:function(e){var t=e._parsedArn,r="s3-outposts"===t.service,i="s3-object-lambda"===t.service,s=r?"."+t.outpostId:"",o=r?"s3-outposts":"s3-accesspoint",u=!r&&e.service.config.useFipsEndpoint?"-fips":"",p=!r&&e.service.config.useDualstackEndpoint?".dualstack":"",c=e.httpRequest.endpoint,m=n.getEndpointSuffix(t.region),l=e.service.config.s3UseArnRegion;if(c.hostname=[t.accessPoint+"-"+t.accountId+s,o+u+p,l?t.region:e.service.config.region,m].join("."),i){o="s3-object-lambda";var d=t.resource.split("/")[1];u=e.service.config.useFipsEndpoint?"-fips":"";c.hostname=[d+"-"+t.accountId,o+u,l?t.region:e.service.config.region,m].join(".")}c.host=c.hostname;var y=a.util.uriEscape(e.params.Bucket),b=e.httpRequest.path;e.httpRequest.path=b.replace(new RegExp("/"+y),""),"/"!==e.httpRequest.path[0]&&(e.httpRequest.path="/"+e.httpRequest.path),e.httpRequest.region=t.region},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];a.util.isNode()&&(t>=1048576||e.params.Body instanceof a.util.stream.Stream)&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"!==t.method&&"HEAD"!==t.method){t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(a.util.isBrowser())if("string"!==typeof t.body||r.match(/;\s*charset=/)){t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,(function(e,t,r){return t+r.toUpperCase()}))}else{t.headers["Content-Type"]+="; charset=UTF-8"}}else delete t.headers["Content-Type"]},willComputeChecksums:function(e){var t=e.service.api.operations[e.operation].input.members,r=e.httpRequest.body,i=e.service.config.computeChecksums&&t.ContentMD5&&!e.params.ContentMD5&&r&&(a.util.Buffer.isBuffer(e.httpRequest.body)||"string"===typeof e.httpRequest.body);return!(!i||!e.service.shouldDisableBodySigning(e)||e.isPresigned())||!(!i||"s3"!==this.getSignatureVersion(e)||!e.isPresigned())},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=a.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){a.util.each({SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},(function(t,r){if(e.params[t]){var i=a.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=i}}))},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!o.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},extractErrorFrom200Response:function(e){if(u[e.request.operation]){var t=e.httpResponse;if(t.body&&t.body.toString().match(""))throw e.data=null,(this.service?this.service:this).extractError(e),e.error;if(!t.body||!t.body.toString().match(/<[\w_]/))throw e.data=null,a.util.error(new Error,{code:"InternalError",message:"S3 aborted request"})}},retryableError:function(e,t){return!(!u[t.operation]||200!==e.statusCode)||(!t._requestRegionForBucket||!t.service.bucketRegionCache[t._requestRegionForBucket])&&(!(!e||"RequestTimeout"!==e.code)||(e&&-1!=p.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region?(t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0):a.Service.prototype.retryableError.call(this,e,t)))},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"===typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var i=e.service,s=i.config,o=s.s3BucketEndpoint;o&&delete s.s3BucketEndpoint;var n=a.util.copy(s);delete n.endpoint,n.region=r.region,r.endpoint=new a.S3(n).endpoint,i.populateURI(e),s.s3BucketEndpoint=o,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",i.populateURI),e.addListener("build",i.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,e.data.LocationConstraint=r?r[1]:""}var a=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!==typeof a||e.error){var i=(e.httpResponse.headers||{})["x-amz-bucket-region"]||null;if(!i&&"createBucket"===t.operation&&!e.error){var s=t.params.CreateBucketConfiguration;i=s?"EU"===s.LocationConstraint?"eu-west-1":s.LocationConstraint:"us-east-1"}i&&a&&i!==t.service.bucketRegionCache[a]&&(t.service.bucketRegionCache[a]=i)}else t.service.clearBucketRegionCache(a);t.service.extractRequestIds(e)},extractError:function(e){var t,r={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},i=e.request,s=e.httpResponse.statusCode,o=e.httpResponse.body||"",n=(e.httpResponse.headers||{})["x-amz-bucket-region"]||null,u=i.params.Bucket||null,p=i.service.bucketRegionCache;if(n&&u&&n!==p[u]&&(p[u]=n),r[s]&&0===o.length)u&&!n&&(t=p[u]||null)!==i.httpRequest.region&&(n=t),e.error=a.util.error(new Error,{code:r[s],message:null,region:n});else{var c=(new a.XML.Parser).parse(o.toString());c.Region&&!n?(n=c.Region,u&&n!==p[u]&&(p[u]=n)):!u||n||c.Region||(t=p[u]||null)!==i.httpRequest.region&&(n=t),e.error=a.util.error(new Error,{code:c.Code||s,message:c.Message||null,region:n})}i.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,i=e.request,s=i.params.Bucket||null;if(!r||!s||r.region||"listObjects"===i.operation||a.util.isNode()&&"headBucket"===i.operation||400===r.statusCode&&"headObject"!==i.operation||-1===p.indexOf(r.code))return t();var o=a.util.isNode()?"headBucket":"listObjects",n={Bucket:s};"listObjects"===o&&(n.MaxKeys=0);var u=i.service[o](n);u._requestRegionForBucket=s,u.send((function(){var e=i.service.bucketRegionCache[s]||null;r.region=e,t()}))},reqRegionForNetworkingError:function(e,t){if(!a.util.isBrowser())return t();var r=e.error,i=e.request,s=i.params.Bucket;if(!r||"NetworkingError"!==r.code||!s||"us-east-1"===i.httpRequest.region)return t();var n=i.service,u=n.bucketRegionCache,p=u[s]||null;if(p&&p!==i.httpRequest.region)n.updateReqBucketRegion(i,p),t();else if(o.dnsCompatibleBucketName(s))if(i.httpRequest.virtualHostedBucket){var c=n.listObjects({Bucket:s,MaxKeys:0});n.updateReqBucketRegion(c,"us-east-1"),c._requestRegionForBucket=s,c.send((function(){var e=n.bucketRegionCache[s]||null;e&&e!==i.httpRequest.region&&n.updateReqBucketRegion(i,e),t()}))}else t();else n.updateReqBucketRegion(i,"us-east-1"),"us-east-1"!==u[s]&&(u[s]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"===typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r{var a=r(55812),i=r(28056),s={isArnInParam:function(e,t){var r=((e.service.api.operations[e.operation]||{}).input||{}).members||{};return!(!e.params[t]||!r[t])&&a.util.ARN.validate(e.params[t])},validateArnService:function(e){var t=e._parsedArn;if("s3"!==t.service&&"s3-outposts"!==t.service&&"s3-object-lambda"!==t.service)throw a.util.error(new Error,{code:"InvalidARN",message:"expect 's3' or 's3-outposts' or 's3-object-lambda' in ARN service component"})},validateArnAccount:function(e){var t=e._parsedArn;if(!/[0-9]{12}/.exec(t.accountId))throw a.util.error(new Error,{code:"InvalidARN",message:'ARN accountID does not match regex "[0-9]{12}"'})},validateS3AccessPointArn:function(e){var t=e._parsedArn,r=t.resource[11];if(2!==t.resource.split(r).length)throw a.util.error(new Error,{code:"InvalidARN",message:"Access Point ARN should have one resource accesspoint/{accesspointName}"});var i=t.resource.split(r)[1],o=i+"-"+t.accountId;if(!s.dnsCompatibleBucketName(o)||o.match(/\./))throw a.util.error(new Error,{code:"InvalidARN",message:"Access point resource in ARN is not DNS compatible. Got "+i});e._parsedArn.accessPoint=i},validateOutpostsArn:function(e){var t=e._parsedArn;if(0!==t.resource.indexOf("outpost:")&&0!==t.resource.indexOf("outpost/"))throw a.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'outpost/'"});var r=t.resource[7],i=t.resource.split(r)[1];if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(i))throw a.util.error(new Error,{code:"InvalidARN",message:"Outpost resource in ARN is not DNS compatible. Got "+i});e._parsedArn.outpostId=i},validateOutpostsAccessPointArn:function(e){var t=e._parsedArn,r=t.resource[7];if(4!==t.resource.split(r).length)throw a.util.error(new Error,{code:"InvalidARN",message:"Outposts ARN should have two resources outpost/{outpostId}/accesspoint/{accesspointName}"});var i=t.resource.split(r)[3],o=i+"-"+t.accountId;if(!s.dnsCompatibleBucketName(o)||o.match(/\./))throw a.util.error(new Error,{code:"InvalidARN",message:"Access point resource in ARN is not DNS compatible. Got "+i});e._parsedArn.accessPoint=i},validateArnRegion:function(e,t){void 0===t&&(t={});var r=s.loadUseArnRegionConfig(e),o=e._parsedArn.region,n=e.service.config.region,u=e.service.config.useFipsEndpoint,p=t.allowFipsEndpoint||!1;if(!o){var c="ARN region is empty";throw"s3"===e._parsedArn.service&&(c+="\nYou may want to use multi-regional ARN. The feature is not supported in current SDK. You should consider switching to V3(https://github.com/aws/aws-sdk-js-v3)."),a.util.error(new Error,{code:"InvalidARN",message:c})}if(u&&!p)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"ARN endpoint is not compatible with FIPS region"});if(o.indexOf("fips")>=0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"FIPS region not allowed in ARN"});if(!r&&o!==n)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region conflicts with access point region"});if(r&&i.getEndpointSuffix(o)!==i.getEndpointSuffix(n))throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region and access point region not in same partition"});if(e.service.config.useAccelerateEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"useAccelerateEndpoint config is not supported with access point ARN"});if("s3-outposts"===e._parsedArn.service&&e.service.config.useDualstackEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Dualstack is not supported with outposts access point ARN"})},loadUseArnRegionConfig:function(e){var t="AWS_S3_USE_ARN_REGION",r="s3_use_arn_region",i=!0,s=e.service._originalConfig||{};if(void 0!==e.service.config.s3UseArnRegion)return e.service.config.s3UseArnRegion;if(void 0!==s.s3UseArnRegion)i=!0===s.s3UseArnRegion;else if(a.util.isNode())if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[t]){var o={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[t].trim().toLowerCase();if(["false","true"].indexOf(o)<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:t+" only accepts true or false. Got "+{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[t],retryable:!1});i="true"===o}else{var n={};try{n=a.util.getProfilesFromSharedConfig(a.util.iniLoader)[{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_PROFILE||a.util.defaultProfile]}catch(u){}if(n[r]){if(["false","true"].indexOf(n[r].trim().toLowerCase())<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:r+" only accepts true or false. Got "+n[r],retryable:!1});i="true"===n[r].trim().toLowerCase()}}return e.service.config.s3UseArnRegion=i,i},validatePopulateUriFromArn:function(e){if(e.service._originalConfig&&e.service._originalConfig.endpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Custom endpoint is not compatible with access point ARN"});if(e.service.config.s3ForcePathStyle)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Cannot construct path-style endpoint with access point"})},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),a=new RegExp(/(\d+\.){3}\d+/),i=new RegExp(/\.\./);return!(!t.match(r)||t.match(a)||t.match(i))}};e.exports=s},40668:(e,t,r)=>{var a=r(55812);a.util.update(a.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint),e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,a=this.service.calculateChecksum(r);if(a!==t){var i='Got "'+e.data.MD5OfMessageBody+'", expecting "'+a+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],i)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},i=[],s=[];a.util.arrayEach(e.data.Successful,(function(e){r[e.Id]=e})),a.util.arrayEach(this.params.Entries,(function(e){if(r[e.Id]){var a=r[e.Id].MD5OfMessageBody,o=e.MessageBody;t.isChecksumValid(a,o)||(i.push(e.Id),s.push(r[e.Id].MessageId))}})),i.length>0&&t.throwInvalidChecksumError(e,s,"Invalid messages: "+i.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];a.util.arrayEach(e.data.Messages,(function(e){var a=e.MD5OfBody,i=e.Body;t.isChecksumValid(a,i)||r.push(e.MessageId)})),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=a.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return a.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new a.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},96968:(e,t,r)=>{var a=r(55812),i=r(28188);a.util.update(a.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new a.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=i(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw a.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var s=r.endpoint.indexOf(".amazonaws.com"),o=r.endpoint.substring(0,s)+"."+r.region+r.endpoint.substring(s);e.httpRequest.updateEndpoint(o),e.httpRequest.region=r.region}}})},77311:(e,t,r)=>{var a=r(55812);a.Signers.Bearer=a.util.inherit(a.Signers.RequestSigner,{constructor:function(e){a.Signers.RequestSigner.call(this,e)},addAuthorization:function(e){this.request.headers.Authorization="Bearer "+e.token}})},15009:(e,t,r)=>{var a=r(55812),i=a.util.inherit,s="presigned-expires";function o(e){var t=e.httpRequest.headers[s],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===a.Signers.V4){if(t>604800){throw a.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[s]=t}else{if(r!==a.Signers.S3)throw a.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var i=e.service?e.service.getSkewCorrectedDate():a.util.date.getDate();e.httpRequest.headers[s]=parseInt(a.util.date.unixTimestamp(i)+t,10).toString()}}function n(e){var t=e.httpRequest.endpoint,r=a.util.urlParse(e.httpRequest.path),i={};r.search&&(i=a.util.queryStringParse(r.search.substr(1)));var o=e.httpRequest.headers.Authorization.split(" ");if("AWS"===o[0])o=o[1].split(":"),i.Signature=o.pop(),i.AWSAccessKeyId=o.join(":"),a.util.each(e.httpRequest.headers,(function(e,t){e===s&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete i[e],e=e.toLowerCase()),i[e]=t})),delete e.httpRequest.headers[s],delete i.Authorization,delete i.Host;else if("AWS4-HMAC-SHA256"===o[0]){o.shift();var n=o.join(" ").match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];i["X-Amz-Signature"]=n,delete i.Expires}t.pathname=r.pathname,t.search=a.util.queryParamsToString(i)}a.Signers.Presign=i({sign:function(e,t,r){if(e.httpRequest.headers[s]=t||3600,e.on("build",o),e.on("sign",n),e.removeListener("afterBuild",a.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return a.util.urlFormat(e.httpRequest.endpoint)}e.build((function(){this.response.error?r(this.response.error):r(null,a.util.urlFormat(e.httpRequest.endpoint))}))}}),e.exports=a.Signers.Presign},25740:(e,t,r)=>{var a=r(55812),i=a.util.inherit;a.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),a.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return a.Signers.V2;case"v3":return a.Signers.V3;case"s3v4":case"v4":return a.Signers.V4;case"s3":return a.Signers.S3;case"v3https":return a.Signers.V3Https;case"bearer":return a.Signers.Bearer}throw new Error("Unknown signing version "+e)},r(4032),r(63840),r(9592),r(37936),r(86020),r(15009),r(77311)},86020:(e,t,r)=>{var a=r(55812),i=a.util.inherit;a.Signers.S3=i(a.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=a.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];a.util.each(this.request.headers,(function(t){t.match(/^x-amz-/i)&&e.push(t)})),e.sort((function(e,t){return e.toLowerCase(){var a=r(55812),i=a.util.inherit;a.Signers.V2=i(a.Signers.RequestSigner,{addAuthorization:function(e,t){t||(t=a.util.date.getDate());var r=this.request;r.params.Timestamp=a.util.date.iso8601(t),r.params.SignatureVersion="2",r.params.SignatureMethod="HmacSHA256",r.params.AWSAccessKeyId=e.accessKeyId,e.sessionToken&&(r.params.SecurityToken=e.sessionToken),delete r.params.Signature,r.params.Signature=this.signature(e),r.body=a.util.queryParamsToString(r.params),r.headers["Content-Length"]=r.body.length},signature:function(e){return a.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push(this.request.endpoint.host.toLowerCase()),e.push(this.request.pathname()),e.push(a.util.queryParamsToString(this.request.params)),e.join("\n")}}),e.exports=a.Signers.V2},63840:(e,t,r)=>{var a=r(55812),i=a.util.inherit;a.Signers.V3=i(a.Signers.RequestSigner,{addAuthorization:function(e,t){var r=a.util.date.rfc822(t);this.request.headers["X-Amz-Date"]=r,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken),this.request.headers["X-Amzn-Authorization"]=this.authorization(e,r)},authorization:function(e){return"AWS3 AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,SignedHeaders="+this.signedHeaders()+",Signature="+this.signature(e)},signedHeaders:function(){var e=[];return a.util.arrayEach(this.headersToSign(),(function(t){e.push(t.toLowerCase())})),e.sort().join(";")},canonicalHeaders:function(){var e=this.request.headers,t=[];return a.util.arrayEach(this.headersToSign(),(function(r){t.push(r.toLowerCase().trim()+":"+String(e[r]).trim())})),t.sort().join("\n")+"\n"},headersToSign:function(){var e=[];return a.util.each(this.request.headers,(function(t){("Host"===t||"Content-Encoding"===t||t.match(/^X-Amz/i))&&e.push(t)})),e},signature:function(e){return a.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push("/"),e.push(""),e.push(this.canonicalHeaders()),e.push(this.request.body),a.util.crypto.sha256(e.join("\n"))}}),e.exports=a.Signers.V3},9592:(e,t,r)=>{var a=r(55812),i=a.util.inherit;r(63840),a.Signers.V3Https=i(a.Signers.V3,{authorization:function(e){return"AWS3-HTTPS AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,Signature="+this.signature(e)},stringToSign:function(){return this.request.headers["X-Amz-Date"]}}),e.exports=a.Signers.V3Https},37936:(e,t,r)=>{var a=r(55812),i=r(3856),s=a.util.inherit,o="presigned-expires";a.Signers.V4=s(a.Signers.RequestSigner,{constructor:function(e,t,r){a.Signers.RequestSigner.call(this,e),this.serviceName=t,r=r||{},this.signatureCache="boolean"!==typeof r.signatureCache||r.signatureCache,this.operation=r.operation,this.signatureVersion=r.signatureVersion},algorithm:"AWS4-HMAC-SHA256",addAuthorization:function(e,t){var r=a.util.date.iso8601(t).replace(/[:\-]|\.\d{3}/g,"");this.isPresigned()?this.updateForPresigned(e,r):this.addHeaders(e,r),this.request.headers.Authorization=this.authorization(e,r)},addHeaders:function(e,t){this.request.headers["X-Amz-Date"]=t,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken)},updateForPresigned:function(e,t){var r=this.credentialString(t),i={"X-Amz-Date":t,"X-Amz-Algorithm":this.algorithm,"X-Amz-Credential":e.accessKeyId+"/"+r,"X-Amz-Expires":this.request.headers[o],"X-Amz-SignedHeaders":this.signedHeaders()};e.sessionToken&&(i["X-Amz-Security-Token"]=e.sessionToken),this.request.headers["Content-Type"]&&(i["Content-Type"]=this.request.headers["Content-Type"]),this.request.headers["Content-MD5"]&&(i["Content-MD5"]=this.request.headers["Content-MD5"]),this.request.headers["Cache-Control"]&&(i["Cache-Control"]=this.request.headers["Cache-Control"]),a.util.each.call(this,this.request.headers,(function(e,t){if(e!==o&&this.isSignableHeader(e)){var r=e.toLowerCase();0===r.indexOf("x-amz-meta-")?i[r]=t:0===r.indexOf("x-amz-")&&(i[e]=t)}}));var s=this.request.path.indexOf("?")>=0?"&":"?";this.request.path+=s+a.util.queryParamsToString(i)},authorization:function(e,t){var r=[],a=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+a),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return a.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=a.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];a.util.each.call(this,this.request.headers,(function(t,r){e.push([t,r])})),e.sort((function(e,t){return e[0].toLowerCase()-1&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent",o,"expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers[o]}}),e.exports=a.Signers.V4},3856:(e,t,r)=>{var a=r(55812),i={},s=[],o="aws4_request";e.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,o].join("/")},getSigningKey:function(e,t,r,n,u){var p=[a.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),t,r,n].join("_");if((u=!1!==u)&&p in i)return i[p];var c=a.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),m=a.util.crypto.hmac(c,r,"buffer"),l=a.util.crypto.hmac(m,n,"buffer"),d=a.util.crypto.hmac(l,o,"buffer");return u&&(i[p]=d,s.push(p),s.length>50&&delete i[s.shift()]),d},emptyCache:function(){i={},s=[]}}},82408:e=>{function t(e,t){this.currentState=t||null,this.states=e||{}}t.prototype.runTo=function(e,t,r,a){"function"===typeof e&&(a=r,r=t,t=e,e=null);var i=this,s=i.states[i.currentState];s.fn.call(r||i,a,(function(a){if(a){if(!s.fail)return t?t.call(r,a):null;i.currentState=s.fail}else{if(!s.accept)return t?t.call(r):null;i.currentState=s.accept}if(i.currentState===e)return t?t.call(r,a):null;i.runTo(e,t,r,a)}))},t.prototype.addState=function(e,t,r,a){return"function"===typeof t?(a=t,t=null,r=null):"function"===typeof r&&(a=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:a},this},e.exports=t},71800:(e,t,r)=>{var a,i={environment:"nodejs",engine:function(){if(i.isBrowser()&&"undefined"!==typeof navigator)return navigator.userAgent;var e=process.platform+"/"+process.version;return{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_EXECUTION_ENV&&(e+=" exec-env/"+{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.AWS_EXECUTION_ENV),e},userAgent:function(){var e=i.environment,t="aws-sdk-"+e+"/"+r(55812).VERSION;return"nodejs"===e&&(t+=" "+i.engine()),t},uriEscape:function(e){var t=encodeURIComponent(e);return t=(t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape)).replace(/[*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))},uriEscapePath:function(e){var t=[];return i.arrayEach(e.split("/"),(function(e){t.push(i.uriEscape(e))})),t.join("/")},urlParse:function(e){return i.url.parse(e)},urlFormat:function(e){return i.url.format(e)},queryStringParse:function(e){return i.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=i.uriEscape,a=Object.keys(e).sort();return i.arrayEach(a,(function(a){var s=e[a],o=r(a),n=o+"=";if(Array.isArray(s)){var u=[];i.arrayEach(s,(function(e){u.push(r(e))})),n=o+"="+u.sort().join("&"+o+"=")}else void 0!==s&&null!==s&&(n=o+"="+r(s));t.push(n)})),t.join("&")},readFileSync:function(e){return i.isBrowser()?null:r(74096).readFileSync(e,"utf-8")},base64:{encode:function(e){if("number"===typeof e)throw i.error(new Error("Cannot base64 encode number "+e));return null===e||"undefined"===typeof e?e:i.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"===typeof e)throw i.error(new Error("Cannot base64 decode number "+e));return null===e||"undefined"===typeof e?e:i.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"===typeof i.Buffer.from&&i.Buffer.from!==Uint8Array.from?i.Buffer.from(e,t):new i.Buffer(e,t)},alloc:function(e,t,r){if("number"!==typeof e)throw new Error("size passed to alloc must be a number.");if("function"===typeof i.Buffer.alloc)return i.Buffer.alloc(e,t,r);var a=new i.Buffer(e);return void 0!==t&&"function"===typeof a.fill&&a.fill(t,void 0,void 0,r),a},toStream:function(e){i.Buffer.isBuffer(e)||(e=i.buffer.toBuffer(e));var t=new i.stream.Readable,r=0;return t._read=function(a){if(r>=e.length)return t.push(null);var i=r+a;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r,a=0,s=0;for(r=0;r>>8^t[255&(r^e.readUInt8(a))]}return(-1^r)>>>0},hmac:function(e,t,r,a){return r||(r="binary"),"buffer"===r&&(r=void 0),a||(a="sha256"),"string"===typeof t&&(t=i.buffer.toBuffer(t)),i.crypto.lib.createHmac(a,e).update(t).digest(r)},md5:function(e,t,r){return i.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return i.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,a){var s=i.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"===typeof t&&(t=i.buffer.toBuffer(t));var o=i.arraySliceFn(t),n=i.Buffer.isBuffer(t);if(i.isBrowser()&&"undefined"!==typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(n=!0),a&&"object"===typeof t&&"function"===typeof t.on&&!n)t.on("data",(function(e){s.update(e)})),t.on("error",(function(e){a(e)})),t.on("end",(function(){a(null,s.digest(r))}));else{if(!a||!o||n||"undefined"===typeof FileReader){i.isBrowser()&&"object"===typeof t&&!n&&(t=new i.Buffer(new Uint8Array(t)));var u=s.update(t).digest(r);return a&&a(null,u),u}var p=0,c=new FileReader;c.onerror=function(){a(new Error("Failed to read data."))},c.onload=function(){var e=new i.Buffer(new Uint8Array(c.result));s.update(e),p+=e.length,c._continueReading()},c._continueReading=function(){if(p>=t.size)a(null,s.digest(r));else{var e=p+524288;e>t.size&&(e=t.size),c.readAsArrayBuffer(o.call(t,p,e))}},c._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),a.config.isClockSkewed},applyClockOffset:function(e){e&&(a.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var r=!1;void 0===t&&a&&a.config&&(t=a.config.getPromisesDependency()),void 0===t&&"undefined"!==typeof Promise&&(t=Promise),"function"!==typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var i=0;i=0)return n++,void setTimeout(p,s+(e.retryAfter||0))}r(e)},p=function(){var t="";s.handleRequest(e,o,(function(e){e.on("data",(function(e){t+=e.toString()})),e.on("end",(function(){var a=e.statusCode;if(a<300)r(null,t);else{var s=1e3*parseInt(e.headers["retry-after"],10)||0,o=i.error(new Error,{statusCode:a,retryable:a>=500||429===a});s&&o.retryable&&(o.retryAfter=s),u(o)}}))}),u)};a.util.defer(p)},uuid:{v4:function(){return r(55236).v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,a=t.service.api.operations[r].output||{};a.payload&&e.data[a.payload]&&(e.data[a.payload]=e.data[a.payload].toString())},defer:function(e){"object"===typeof process&&"function"===typeof process.nextTick?process.nextTick(e):"function"===typeof setImmediate?setImmediate(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){var r={},a={};if({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[i.configOptInEnv])a=e.loadFrom({isConfig:!0,filename:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[i.sharedConfigFileEnv]});var s={};try{s=e.loadFrom({filename:t||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[i.configOptInEnv]&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[i.sharedCredentialsFileEnv]})}catch(p){if(!{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}[i.configOptInEnv])throw p}for(var o=0,n=Object.keys(a);o=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw i.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};e.exports=i},43784:(e,t,r)=>{var a=r(71800),i=r(18149);function s(){}function o(e,t){for(var r=e.getElementsByTagName(t),a=0,i=r.length;a{var a=r(71800),i=r(72856).XmlNode,s=r(4232).XmlText;function o(){}function n(e,t,r){switch(r.type){case"structure":return function(e,t,r){a.arrayEach(r.memberNames,(function(a){var s=r.members[a];if("body"===s.location){var o=t[a],p=s.name;if(void 0!==o&&null!==o)if(s.isXmlAttribute)e.addAttribute(p,o);else if(s.flattened)n(e,o,s);else{var c=new i(p);e.addChildNode(c),u(c,s),n(c,o,s)}}}))}(e,t,r);case"map":return function(e,t,r){var s=r.key.name||"key",o=r.value.name||"value";a.each(t,(function(t,a){var u=new i(r.flattened?r.name:"entry");e.addChildNode(u);var p=new i(s),c=new i(o);u.addChildNode(p),u.addChildNode(c),n(p,t,r.key),n(c,a,r.value)}))}(e,t,r);case"list":return function(e,t,r){r.flattened?a.arrayEach(t,(function(t){var a=r.member.name||r.name,s=new i(a);e.addChildNode(s),n(s,t,r.member)})):a.arrayEach(t,(function(t){var a=r.member.name||"member",s=new i(a);e.addChildNode(s),n(s,t,r.member)}))}(e,t,r);default:return function(e,t,r){e.addChildNode(new s(r.toWireFormat(t)))}(e,t,r)}}function u(e,t,r){var a,i="xmlns";t.xmlNamespaceUri?(a=t.xmlNamespaceUri,t.xmlNamespacePrefix&&(i+=":"+t.xmlNamespacePrefix)):r&&t.api.xmlNamespaceUri&&(a=t.api.xmlNamespaceUri),a&&e.addAttribute(i,a)}o.prototype.toXML=function(e,t,r,a){var s=new i(r);return u(s,t,!0),n(s,e,t),s.children.length>0||a?s.toString():""},e.exports=o},68996:e=>{e.exports={escapeAttribute:function(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}}},19156:e=>{e.exports={escapeElement:function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}}},72856:(e,t,r)=>{var a=r(68996).escapeAttribute;function i(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}i.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},i.prototype.addChildNode=function(e){return this.children.push(e),this},i.prototype.removeAttribute=function(e){return delete this.attributes[e],this},i.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,r=this.attributes,i=0,s=Object.keys(r);i"+this.children.map((function(e){return e.toString()})).join("")+"":"/>")},e.exports={XmlNode:i}},4232:(e,t,r)=>{var a=r(19156).escapeElement;function i(e){this.value=e}i.prototype.toString=function(){return a(""+this.value)},e.exports={XmlText:i}},35568:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"===typeof e}function a(e){return"object"===typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,s,o,n,u,p;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(i(s=this._events[e]))return!1;if(r(s))switch(arguments.length){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:n=Array.prototype.slice.call(arguments,1),s.apply(this,n)}else if(a(s))for(n=Array.prototype.slice.call(arguments,1),o=(p=s.slice()).length,u=0;u0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"===typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var a=!1;function i(){this.removeListener(e,i),a||(a=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,s,o,n;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(i=this._events[e]).length,s=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(i)){for(n=o;n-- >0;)if(i[n]===t||i[n].listener&&i[n].listener===t){s=n;break}if(s<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(s,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,a;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(a=this._events[e]))this.removeListener(e,a);else if(a)for(;a.length;)this.removeListener(e,a[a.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},18552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;for(var r=[],a=0;a<256;++a)r[a]=(a+256).toString(16).substr(1);var i=function(e,t){var a=t||0,i=r;return[i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],"-",i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]],i[e[a++]]].join("")};t.default=i},55236:(e,t,r)=>{"use strict";Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return s.default}});var a=n(r(28736)),i=n(r(97256)),s=n(r(49184)),o=n(r(36432));function n(e){return e&&e.__esModule?e:{default:e}}},68436:(e,t)=>{"use strict";function r(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function a(e,t,a,i,s,o){return r((n=r(r(t,e),r(i,o)))<<(u=s)|n>>>32-u,a);var n,u}function i(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function s(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var a=0;a>5]>>>t%32&255,a=parseInt(o.charAt(r>>>4&15)+o.charAt(15&r),16),i.push(a);return i}(function(e,t){var a,u,p,c,m;e[t>>5]|=128<>>9<<4)]=t;var l=1732584193,d=-271733879,y=-1732584194,b=271733878;for(a=0;a>2)-1]=void 0,t=0;t>5]|=(255&e[t/8])<{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(a)};var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),a=new Uint8Array(16)},34040:(e,t)=>{"use strict";function r(e,t,r,a){switch(e){case 0:return t&r^~t&a;case 1:case 3:return t^r^a;case 2:return t&r^t&a^r&a}}function a(e,t){return e<>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){var t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var s=unescape(encodeURIComponent(e));e=new Array(s.length);for(var o=0;o>>0;S=h,h=b,b=a(y,30)>>>0,y=d,d=f}i[0]=i[0]+d>>>0,i[1]=i[1]+y>>>0,i[2]=i[2]+b>>>0,i[3]=i[3]+h>>>0,i[4]=i[4]+S>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]};t.default=i},28736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,i,s=n(r(76203)),o=n(r(18552));function n(e){return e&&e.__esModule?e:{default:e}}var u=0,p=0;var c=function(e,t,r){var n=t&&r||0,c=t||[],m=(e=e||{}).node||a,l=void 0!==e.clockseq?e.clockseq:i;if(null==m||null==l){var d=e.random||(e.rng||s.default)();null==m&&(m=a=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==l&&(l=i=16383&(d[6]<<8|d[7]))}var y=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:p+1,h=y-u+(b-p)/1e4;if(h<0&&void 0===e.clockseq&&(l=l+1&16383),(h<0||y>u)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=y,p=b,i=l;var S=(1e4*(268435455&(y+=122192928e5))+b)%4294967296;c[n++]=S>>>24&255,c[n++]=S>>>16&255,c[n++]=S>>>8&255,c[n++]=255&S;var g=y/4294967296*1e4&268435455;c[n++]=g>>>8&255,c[n++]=255&g,c[n++]=g>>>24&15|16,c[n++]=g>>>16&255,c[n++]=l>>>8|128,c[n++]=255&l;for(var f=0;f<6;++f)c[n+f]=m[f];return t||(0,o.default)(c)};t.default=c},97256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(r(74672)),i=s(r(68436));function s(e){return e&&e.__esModule?e:{default:e}}var o=(0,a.default)("v3",48,i.default);t.default=o},74672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var a=function(e,a,s,o){var n=s&&o||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(r(76203)),i=s(r(18552));function s(e){return e&&e.__esModule?e:{default:e}}var o=function(e,t,r){var s=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||a.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var n=0;n<16;++n)t[s+n]=o[n];return t||(0,i.default)(o)};t.default=o},36432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(r(74672)),i=s(r(34040));function s(e){return e&&e.__esModule?e:{default:e}}var o=(0,a.default)("v5",80,i.default);t.default=o},25124:(e,t,r)=>{"use strict";var a=r(12840),i=function(){function e(e){void 0===e&&(e=1e3),this.maxSize=e,this.cache=new a.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var a="string"!==typeof t?e.getKeyString(t):t,i=this.populateValue(r);this.cache.put(a,i)},e.prototype.get=function(t){var r="string"!==typeof t?e.getKeyString(t):t,a=Date.now(),i=this.cache.get(r);if(i){for(var s=i.length-1;s>=0;s--){i[s].Expire{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){this.key=e,this.value=t},a=function(){function e(e){if(this.nodeMap={},this.size=0,"number"!==typeof e||e<1)throw new Error("Cache size can only be positive number");this.sizeLimit=e}return Object.defineProperty(e.prototype,"length",{get:function(){return this.size},enumerable:!0,configurable:!0}),e.prototype.prependToList=function(e){this.headerNode?(this.headerNode.prev=e,e.next=this.headerNode):this.tailNode=e,this.headerNode=e,this.size++},e.prototype.removeFromTail=function(){if(this.tailNode){var e=this.tailNode,t=e.prev;return t&&(t.next=void 0),e.prev=void 0,this.tailNode=t,this.size--,e}},e.prototype.detachFromList=function(e){this.headerNode===e&&(this.headerNode=e.next),this.tailNode===e&&(this.tailNode=e.prev),e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.next=void 0,e.prev=void 0,this.size--},e.prototype.get=function(e){if(this.nodeMap[e]){var t=this.nodeMap[e];return this.detachFromList(t),this.prependToList(t),t.value}},e.prototype.remove=function(e){if(this.nodeMap[e]){var t=this.nodeMap[e];this.detachFromList(t),delete this.nodeMap[e]}},e.prototype.put=function(e,t){if(this.nodeMap[e])this.remove(e);else if(this.size===this.sizeLimit){var a=this.removeFromTail().key;delete this.nodeMap[a]}var i=new r(e,t);this.nodeMap[e]=i,this.prependToList(i)},e.prototype.empty=function(){for(var e=Object.keys(this.nodeMap),t=0;t{"use strict";t.byteLength=function(e){var t=n(e),r=t[0],a=t[1];return 3*(r+a)/4-a},t.toByteArray=function(e){var t,r,s=n(e),o=s[0],u=s[1],p=new i(function(e,t,r){return 3*(t+r)/4-r}(0,o,u)),c=0,m=u>0?o-4:o;for(r=0;r>16&255,p[c++]=t>>8&255,p[c++]=255&t;2===u&&(t=a[e.charCodeAt(r)]<<2|a[e.charCodeAt(r+1)]>>4,p[c++]=255&t);1===u&&(t=a[e.charCodeAt(r)]<<10|a[e.charCodeAt(r+1)]<<4|a[e.charCodeAt(r+2)]>>2,p[c++]=t>>8&255,p[c++]=255&t);return p},t.fromByteArray=function(e){for(var t,a=e.length,i=a%3,s=[],o=16383,n=0,p=a-i;np?p:n+o));1===i?(t=e[a-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[a-2]<<8)+e[a-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return s.join("")};for(var r=[],a=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)r[o]=s[o],a[s.charCodeAt(o)]=o;function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function u(e,t,a){for(var i,s,o=[],n=t;n>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);return o.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},63528:(e,t,r)=>{"use strict";var a=r(29044),i=r(23608),s=r(45672);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function n(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function y(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(a)return F(e).length;t=(""+t).toLowerCase(),a=!0}}function b(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return x(this,t,r);case"base64":return v(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function S(e,t,r,a,i){if(0===e.length)return-1;if("string"===typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,a)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,a,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,a,i){var s,o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}function p(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(s=r;sn&&(r=n-u),s=r;s>=0;s--){for(var m=!0,l=0;li&&(a=i):a=i;var s=t.length;if(s%2!==0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var o=0;o>8,i=r%256,s.push(i),s.push(a);return s}(t,e.length-r),e,r,a)}function v(e,t,r){return 0===t&&r===e.length?a.fromByteArray(e):a.fromByteArray(e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);for(var a=[],i=t;i239?4:p>223?3:p>191?2:1;if(i+m<=r)switch(m){case 1:p<128&&(c=p);break;case 2:128===(192&(s=e[i+1]))&&(u=(31&p)<<6|63&s)>127&&(c=u);break;case 3:s=e[i+1],o=e[i+2],128===(192&s)&&128===(192&o)&&(u=(15&p)<<12|(63&s)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:s=e[i+1],o=e[i+2],n=e[i+3],128===(192&s)&&128===(192&o)&&128===(192&n)&&(u=(15&p)<<18|(63&s)<<12|(63&o)<<6|63&n)>65535&&u<1114112&&(c=u)}null===c?(c=65533,m=1):c>65535&&(c-=65536,a.push(c>>>10&1023|55296),c=56320|1023&c),a.push(c),i+=m}return function(e){var t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);var r="",a=0;for(;a0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,a,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===i&&(i=this.length),t<0||r>e.length||a<0||i>this.length)throw new RangeError("out of range index");if(a>=i&&t>=r)return 0;if(a>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var s=(i>>>=0)-(a>>>=0),o=(r>>>=0)-(t>>>=0),n=Math.min(s,o),p=this.slice(a,i),c=e.slice(t,r),m=0;mi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return f(this,e,t,r);case"utf8":case"utf-8":return I(this,e,t,r);case"ascii":return N(this,e,t,r);case"latin1":case"binary":return T(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function D(e,t,r){var a="";r=Math.min(e.length,r);for(var i=t;ia)&&(r=a);for(var i="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,r,a,i,s){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function L(e,t,r,a){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i>>8*(a?i:1-i)}function w(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function G(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(e,t,r,a,s){return s||G(e,0,r,4),i.write(e,t,r,a,23,4),r+4}function _(e,t,r,a,s){return s||G(e,0,r,8),i.write(e,t,r,a,52,8),r+8}u.prototype.slice=function(e,t){var r,a=this.length;if((e=~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),(t=void 0===t?a:~~t)<0?(t+=a)<0&&(t=0):t>a&&(t=a),t0&&(i*=256);)a+=this[e+--t]*i;return a},u.prototype.readUInt8=function(e,t){return t||E(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||E(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||E(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||E(e,t,this.length);for(var a=this[e],i=1,s=0;++s=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||E(e,t,this.length);for(var a=t,i=1,s=this[e+--a];a>0&&(i*=256);)s+=this[e+--a]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},u.prototype.readInt8=function(e,t){return t||E(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||E(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||E(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||E(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||E(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||E(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||E(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,a){(e=+e,t|=0,r|=0,a)||M(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+i]=e/s&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):w(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var s=0,o=1,n=0;for(this[t]=255&e;++s>0)-n&255;return t+r},u.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);M(this,e,t,r,i-1,-i)}var s=r-1,o=1,n=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===n&&0!==this[t+s+1]&&(n=1),this[t+s]=(e/o>>0)-n&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):w(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):w(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return _(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return _(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(s<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(s=t;s55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function V(e){return a.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function z(e,t,r,a){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}},45672:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},34160:(e,t,r)=>{"use strict";var a=r(88600),i=r(788),s=i(a("String.prototype.indexOf"));e.exports=function(e,t){var r=a(e,!!t);return"function"===typeof r&&s(e,".prototype.")>-1?i(r):r}},788:(e,t,r)=>{"use strict";var a=r(2040),i=r(88600),s=r(96572),o=r(632),n=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),p=i("%Reflect.apply%",!0)||a.call(u,n),c=i("%Object.defineProperty%",!0),m=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(d){c=null}e.exports=function(e){if("function"!==typeof e)throw new o("a function is required");var t=p(a,u,arguments);return s(t,1+m(0,e.length-(arguments.length-1)),!0)};var l=function(){return p(a,n,arguments)};c?c(e.exports,"apply",{value:l}):e.exports.apply=l},71488:(e,t,r)=>{"use strict";var a=r(59256)(),i=r(88600),s=a&&i("%Object.defineProperty%",!0);if(s)try{s({},"a",{value:1})}catch(p){s=!1}var o=r(288),n=r(632),u=r(85884);e.exports=function(e,t,r){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new n("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new n("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,p=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],m=!!u&&u(e,t);if(s)s(e,t,{configurable:null===p&&m?m.configurable:!p,enumerable:null===a&&m?m.enumerable:!a,value:r,writable:null===i&&m?m.writable:!i});else{if(!c&&(a||i||p))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},68088:e=>{"use strict";e.exports=EvalError},96368:e=>{"use strict";e.exports=Error},5200:e=>{"use strict";e.exports=RangeError},38888:e=>{"use strict";e.exports=ReferenceError},288:e=>{"use strict";e.exports=SyntaxError},632:e=>{"use strict";e.exports=TypeError},87456:e=>{"use strict";e.exports=URIError},83984:(e,t,r)=>{"use strict";var a=r(27444),i=Object.prototype.toString,s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){if(!a(t))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=r),"[object Array]"===i.call(e)?function(e,t,r){for(var a=0,i=e.length;a{"use strict";var t=Object.prototype.toString,r=Math.max,a=function(e,t){for(var r=[],a=0;a{"use strict";var a=r(85448);e.exports=Function.prototype.bind||a},88600:(e,t,r)=>{"use strict";var a,i=r(96368),s=r(68088),o=r(5200),n=r(38888),u=r(288),p=r(632),c=r(87456),m=Function,l=function(e){try{return m('"use strict"; return ('+e+").constructor;")()}catch(t){}},d=Object.getOwnPropertyDescriptor;if(d)try{d({},"")}catch(w){d=null}var y=function(){throw new p},b=d?function(){try{return y}catch(e){try{return d(arguments,"callee").get}catch(t){return y}}}():y,h=r(78832)(),S=r(77656)(),g=Object.getPrototypeOf||(S?function(e){return e.__proto__}:null),f={},I="undefined"!==typeof Uint8Array&&g?g(Uint8Array):a,N={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":h&&g?g([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?a:Atomics,"%BigInt%":"undefined"===typeof BigInt?a:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?a:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float32Array%":"undefined"===typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&g?g(g([][Symbol.iterator]())):a,"%JSON%":"object"===typeof JSON?JSON:a,"%Map%":"undefined"===typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&h&&g?g((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?a:Promise,"%Proxy%":"undefined"===typeof Proxy?a:Proxy,"%RangeError%":o,"%ReferenceError%":n,"%Reflect%":"undefined"===typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&h&&g?g((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&g?g(""[Symbol.iterator]()):a,"%Symbol%":h?Symbol:a,"%SyntaxError%":u,"%ThrowTypeError%":b,"%TypedArray%":I,"%TypeError%":p,"%Uint8Array%":"undefined"===typeof Uint8Array?a:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?a:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?a:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?a:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"===typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?a:WeakSet};if(g)try{null.error}catch(w){var T=g(g(w));N["%Error.prototype%"]=T}var k=function e(t){var r;if("%AsyncFunction%"===t)r=l("async function () {}");else if("%GeneratorFunction%"===t)r=l("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=l("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(r=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&g&&(r=g(i.prototype))}return N[t]=r,r},C={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(2040),A=r(16576),R=v.call(Function.call,Array.prototype.concat),D=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),P=v.call(Function.call,String.prototype.slice),q=v.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,L=function(e,t){var r,a=e;if(A(C,a)&&(a="%"+(r=C[a])[0]+"%"),A(N,a)){var i=N[a];if(i===f&&(i=k(a)),"undefined"===typeof i&&!t)throw new p("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:a,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new p("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new p('"allowMissing" argument must be a boolean');if(null===q(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=P(e,0,1),r=P(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var a=[];return x(e,E,(function(e,t,r,i){a[a.length]=r?x(i,M,"$1"):t||e})),a}(e),a=r.length>0?r[0]:"",i=L("%"+a+"%",t),s=i.name,o=i.value,n=!1,c=i.alias;c&&(a=c[0],D(r,R([0,1],c)));for(var m=1,l=!0;m=r.length){var S=d(o,y);o=(l=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:o[y]}else l=A(o,y),o=o[y];l&&!n&&(N[s]=o)}}return o}},85884:(e,t,r)=>{"use strict";var a=r(88600)("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(i){a=null}e.exports=a},59256:(e,t,r)=>{"use strict";var a=r(88600)("%Object.defineProperty%",!0),i=function(){if(a)try{return a({},"a",{value:1}),!0}catch(e){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==a([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},77656:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},78832:(e,t,r)=>{"use strict";var a="undefined"!==typeof Symbol&&Symbol,i=r(48180);e.exports=function(){return"function"===typeof a&&("function"===typeof Symbol&&("symbol"===typeof a("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},48180:e=>{"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},72324:(e,t,r)=>{"use strict";var a=r(48180);e.exports=function(){return a()&&!!Symbol.toStringTag}},16576:(e,t,r)=>{"use strict";var a=Function.prototype.call,i=Object.prototype.hasOwnProperty,s=r(2040);e.exports=s.call(a,i)},30784:(e,t,r)=>{"use strict";var a=r(13904),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};function u(e){return a.isMemo(e)?o:n[e.$$typeof]||i}n[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n[a.Memo]=o;var p=Object.defineProperty,c=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,y=Object.prototype;e.exports=function e(t,r,a){if("string"!==typeof r){if(y){var i=d(r);i&&i!==y&&e(t,i,a)}var o=c(r);m&&(o=o.concat(m(r)));for(var n=u(t),b=u(r),h=0;h{"use strict";var r="function"===typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,n=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,p=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,l=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116,S=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,f=r?Symbol.for("react.responder"):60118,I=r?Symbol.for("react.scope"):60119;function N(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case c:case m:case s:case n:case o:case d:return e;default:switch(e=e&&e.$$typeof){case p:case l:case h:case b:case u:return e;default:return t}}case i:return t}}}function T(e){return N(e)===m}t.AsyncMode=c,t.ConcurrentMode=m,t.ContextConsumer=p,t.ContextProvider=u,t.Element=a,t.ForwardRef=l,t.Fragment=s,t.Lazy=h,t.Memo=b,t.Portal=i,t.Profiler=n,t.StrictMode=o,t.Suspense=d,t.isAsyncMode=function(e){return T(e)||N(e)===c},t.isConcurrentMode=T,t.isContextConsumer=function(e){return N(e)===p},t.isContextProvider=function(e){return N(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return N(e)===l},t.isFragment=function(e){return N(e)===s},t.isLazy=function(e){return N(e)===h},t.isMemo=function(e){return N(e)===b},t.isPortal=function(e){return N(e)===i},t.isProfiler=function(e){return N(e)===n},t.isStrictMode=function(e){return N(e)===o},t.isSuspense=function(e){return N(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===s||e===m||e===n||e===o||e===d||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===b||e.$$typeof===u||e.$$typeof===p||e.$$typeof===l||e.$$typeof===g||e.$$typeof===f||e.$$typeof===I||e.$$typeof===S)},t.typeOf=N},13904:(e,t,r)=>{"use strict";e.exports=r(14744)},23608:(e,t)=>{t.read=function(e,t,r,a,i){var s,o,n=8*i-a-1,u=(1<>1,c=-7,m=r?i-1:0,l=r?-1:1,d=e[t+m];for(m+=l,s=d&(1<<-c)-1,d>>=-c,c+=n;c>0;s=256*s+e[t+m],m+=l,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=a;c>0;o=256*o+e[t+m],m+=l,c-=8);if(0===s)s=1-p;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,a),s-=p}return(d?-1:1)*o*Math.pow(2,s-a)},t.write=function(e,t,r,a,i,s){var o,n,u,p=8*s-i-1,c=(1<>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),(t+=o+m>=1?l/u:l*Math.pow(2,1-m))*u>=2&&(o++,u/=2),o+m>=c?(n=0,o=c):o+m>=1?(n=(t*u-1)*Math.pow(2,i),o+=m):(n=t*Math.pow(2,m-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},55880:e=>{"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},56624:(e,t,r)=>{"use strict";var a=r(72324)(),i=r(34160)("Object.prototype.toString"),s=function(e){return!(a&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},o=function(e){return!!s(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},n=function(){return s(arguments)}();s.isLegacyArguments=o,e.exports=n?s:o},27444:e=>{"use strict";var t,r,a=Function.prototype.toString,i="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof i&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,t)}catch(d){d!==r&&(i=null)}else i=null;var s=/^\s*class\b/,o=function(e){try{var t=a.call(e);return s.test(t)}catch(r){return!1}},n=function(e){try{return!o(e)&&(a.call(e),!0)}catch(t){return!1}},u=Object.prototype.toString,p="function"===typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),m=function(){return!1};if("object"===typeof document){var l=document.all;u.call(l)===u.call(document.all)&&(m=function(e){if((c||!e)&&("undefined"===typeof e||"object"===typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(r){}return!1})}e.exports=i?function(e){if(m(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;try{i(e,null,t)}catch(a){if(a!==r)return!1}return!o(e)&&n(e)}:function(e){if(m(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if(p)return n(e);if(o(e))return!1;var t=u.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&n(e)}},87376:(e,t,r)=>{"use strict";var a,i=Object.prototype.toString,s=Function.prototype.toString,o=/^\s*(?:function)?\*/,n=r(72324)(),u=Object.getPrototypeOf;e.exports=function(e){if("function"!==typeof e)return!1;if(o.test(s.call(e)))return!0;if(!n)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if("undefined"===typeof a){var t=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch(e){}}();a=!!t&&u(t)}return u(e)===a}},90368:(e,t,r)=>{"use strict";var a=r(85016);e.exports=function(e){return!!a(e)}},71736:(e,t)=>{!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s",9:"Array"},b="EOF",h="UnquotedIdentifier",S="QuotedIdentifier",g="Rbracket",f="Rparen",I="Comma",N="Colon",T="Rbrace",k="Number",C="Current",v="Expref",A="Pipe",R="Or",D="And",x="EQ",P="GT",q="LT",E="GTE",M="LTE",L="NE",w="Flatten",G="Star",B="Filter",_="Dot",U="Not",O="Lbrace",F="Lbracket",V="Lparen",z="Literal",W={".":_,"*":G,",":I,":":N,"{":O,"}":T,"]":g,"(":V,")":f,"@":C},K={"<":!0,">":!0,"=":!0,"!":!0},j={" ":!0,"\t":!0,"\n":!0};function H(e){return e>="0"&&e<="9"||"-"===e}function Q(){}Q.prototype={tokenize:function(e){var t,r,a,i,s=[];for(this._current=0;this._current="a"&&i<="z"||i>="A"&&i<="Z"||"_"===i)t=this._current,r=this._consumeUnquotedIdentifier(e),s.push({type:h,value:r,start:t});else if(void 0!==W[e[this._current]])s.push({type:W[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(H(e[this._current]))a=this._consumeNumber(e),s.push(a);else if("["===e[this._current])a=this._consumeLBracket(e),s.push(a);else if('"'===e[this._current])t=this._current,r=this._consumeQuotedIdentifier(e),s.push({type:S,value:r,start:t});else if("'"===e[this._current])t=this._current,r=this._consumeRawStringLiteral(e),s.push({type:z,value:r,start:t});else if("`"===e[this._current]){t=this._current;var o=this._consumeLiteral(e);s.push({type:z,value:o,start:t})}else if(void 0!==K[e[this._current]])s.push(this._consumeOperator(e));else if(void 0!==j[e[this._current]])this._current++;else if("&"===e[this._current])t=this._current,this._current++,"&"===e[this._current]?(this._current++,s.push({type:D,value:"&&",start:t})):s.push({type:v,value:"&",start:t});else{if("|"!==e[this._current]){var n=new Error("Unknown character:"+e[this._current]);throw n.name="LexerError",n}t=this._current,this._current++,"|"===e[this._current]?(this._current++,s.push({type:R,value:"||",start:t})):s.push({type:A,value:"|",start:t})}return s},_consumeUnquotedIdentifier:function(e){var t,r=this._current;for(this._current++;this._current="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"_"===t);)this._current++;return e.slice(r,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var r=e.length;'"'!==e[this._current]&&this._current"===r?"="===e[this._current]?(this._current++,{type:E,value:">=",start:t}):{type:P,value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:x,value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,a=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(["true","false","null"].indexOf(e)>=0)return!0;if(!("-0123456789".indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(t){return!1}}};var J={};function Z(){}function Y(e){this.runtime=e}function $(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[o]}]},avg:{_func:this._functionAvg,_signature:[{types:[l]}]},ceil:{_func:this._functionCeil,_signature:[{types:[o]}]},contains:{_func:this._functionContains,_signature:[{types:[u,p]},{types:[n]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[u]},{types:[u]}]},floor:{_func:this._functionFloor,_signature:[{types:[o]}]},length:{_func:this._functionLength,_signature:[{types:[u,p,c]}]},map:{_func:this._functionMap,_signature:[{types:[m]},{types:[p]}]},max:{_func:this._functionMax,_signature:[{types:[l,d]}]},merge:{_func:this._functionMerge,_signature:[{types:[c],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[p]},{types:[m]}]},sum:{_func:this._functionSum,_signature:[{types:[l]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[u]},{types:[u]}]},min:{_func:this._functionMin,_signature:[{types:[l,d]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[p]},{types:[m]}]},type:{_func:this._functionType,_signature:[{types:[n]}]},keys:{_func:this._functionKeys,_signature:[{types:[c]}]},values:{_func:this._functionValues,_signature:[{types:[c]}]},sort:{_func:this._functionSort,_signature:[{types:[d,l]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[p]},{types:[m]}]},join:{_func:this._functionJoin,_signature:[{types:[u]},{types:[d]}]},reverse:{_func:this._functionReverse,_signature:[{types:[u,p]}]},to_array:{_func:this._functionToArray,_signature:[{types:[n]}]},to_string:{_func:this._functionToString,_signature:[{types:[n]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[n]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[n],variadic:!0}]}}}J[b]=0,J[h]=0,J[S]=0,J[g]=0,J[f]=0,J[I]=0,J[T]=0,J[k]=0,J[C]=0,J[v]=0,J[A]=1,J[R]=2,J[D]=3,J[x]=5,J[P]=5,J[q]=5,J[E]=5,J[M]=5,J[L]=5,J[w]=9,J[G]=20,J[B]=21,J[_]=40,J[U]=45,J[O]=50,J[F]=55,J[V]=60,Z.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(this._lookahead(0)!==b){var r=this._lookaheadToken(0),a=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw a.name="ParserError",a}return t},_loadTokens:function(e){var t=(new Q).tokenize(e);t.push({type:b,value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),a=this._lookahead(0);e=0?this.expression(e):t===F?(this._match(F),this._parseMultiselectList()):t===O?(this._match(O),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(J[this._lookahead(0)]<10)t={type:"Identity"};else if(this._lookahead(0)===F)t=this.expression(e);else if(this._lookahead(0)===B)t=this.expression(e);else{if(this._lookahead(0)!==_){var r=this._lookaheadToken(0),a=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw a.name="ParserError",a}this._match(_),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==g;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===I&&(this._match(I),this._lookahead(0)===g))throw new Error("Unexpected token Rbracket")}return this._match(g),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,a=[],i=[h,S];;){if(e=this._lookaheadToken(0),i.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match(N),r={type:"KeyValuePair",name:t,value:this.expression(0)},a.push(r),this._lookahead(0)===I)this._match(I);else if(this._lookahead(0)===T){this._match(T);break}}return{type:"MultiSelectHash",children:a}}},Y.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,s){var o,n,u,p,c,m,l,d,y;switch(e.type){case"Field":return null!==s&&r(s)?void 0===(m=s[e.name])?null:m:null;case"Subexpression":for(u=this.visit(e.children[0],s),y=1;y0)for(y=g;yf;y+=I)u.push(s[y]);return u;case"Projection":var N=this.visit(e.children[0],s);if(!t(N))return null;for(d=[],y=0;yc;break;case E:u=p>=c;break;case q:u=p=e&&(t=r<0?e-1:e),t}},$.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var a,i,s,o;if(r[r.length-1].variadic){if(t.length=0;a--)r+=t[a];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],a=0;a=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,a=e[0],i=e[1],s=0;s0){if(this._getTypeName(e[0][0])===o)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;a0){if(this._getTypeName(e[0][0])===o)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;an?1:on&&(n=r,t=i[p]);return t},_functionMinBy:function(e){for(var t,r,a=e[1],i=e[0],s=this.createKeyFunction(a,[o,u]),n=1/0,p=0;p{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,a,i){r=r||"&",a=a||"=";var s={};if("string"!==typeof e||0===e.length)return s;var o=/\+/g;e=e.split(r);var n=1e3;i&&"number"===typeof i.maxKeys&&(n=i.maxKeys);var u=e.length;n>0&&u>n&&(u=n);for(var p=0;p=0?(c=y.substr(0,b),m=y.substr(b+1)):(c=y,m=""),l=decodeURIComponent(c),d=decodeURIComponent(m),t(s,l)?Array.isArray(s[l])?s[l].push(d):s[l]=[s[l],d]:s[l]=d}return s}},17848: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,r,a,i){return r=r||"&",a=a||"=",null===e&&(e=void 0),"object"===typeof e?Object.keys(e).map((function(i){var s=encodeURIComponent(t(i))+a;return Array.isArray(e[i])?e[i].map((function(e){return s+encodeURIComponent(t(e))})).join(r):s+encodeURIComponent(t(e[i]))})).join(r):i?encodeURIComponent(t(i))+a+encodeURIComponent(t(e)):""}},45904:(e,t,r)=>{"use strict";t.decode=t.parse=r(75880),t.encode=t.stringify=r(17848)},76144:(e,t,r)=>{"use strict";var a=r(69060),i=r(47724);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r