10 lines
574 KiB
JavaScript
10 lines
574 KiB
JavaScript
(()=>{var e,t=[,(e,t,r)=>{"use strict";var n=r(2);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(3),i={};for(const e in n)"default"!==e&&(i[e]=()=>n[e]);r.d(t,i);const o=n},e=>{"use strict";e.exports=PleskUiLibrary},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>k,filePermsToolId:()=>R,innodbToolId:()=>C});var n=r(5),i=r(9),o=r(3),s=r(2),a=r(22),c=r(23),u=r(25),p=r(26),l=r(29),d=r(32),f=r(33),h=r(206),m=r(349);let g=null;const y=e=>null!=e,v=(e,t={})=>{const r=()=>{const r={};return g&&(r["X-Authorization"]=g),(0,d.default)(`/repair/backend${e}`,{...t,headers:{...r,...t.headers}})};return r().then(t=>{if(401===t.status){if("/token"!==e)return v("/token",{method:"post"}).then(({token:e})=>(g=e,r()));window.location.reload()}return t}).then(e=>{if(e.ok)return e.json();if(500===e.status)return e.json().then(({message:t})=>{const r=new Error(t);throw r.response=e,r});const t=new Error(e.statusText);throw t.response=e,t})},S=(0,i.createGlobalStyle)([".pul-grid--gap-md{margin-bottom:-16px;}"]),b=i.default.div.withConfig({displayName:"App__Header",componentId:"sc-3rq871-0"})(["display:flex;align-items:center;height:50px;padding:0 20px;"]),_=i.default.div.withConfig({displayName:"App__Logo",componentId:"sc-3rq871-1"})(["flex:none;"]),E=i.default.div.withConfig({displayName:"App__Main",componentId:"sc-3rq871-2"})(["padding:0 20px;"]),T=i.default.div.withConfig({displayName:"App__Content",componentId:"sc-3rq871-3"})(["padding:20px 0;"]),I=i.default.h1.withConfig({displayName:"App__Title",componentId:"sc-3rq871-4"})(["margin:0 0 16px;padding:0;font-size:24px;font-weight:400;line-height:28px;"]),w="PleskSQLServer",A="SwEngine",C="InnoDB",R="MysqlFilesPermissions";class x extends s.Component{constructor(...e){super(...e),(0,n.default)(this,"state",{data:null,cleaningDisk:!1,cleaningMemory:!1,processing:{}}),(0,n.default)(this,"toaster",null),(0,n.default)(this,"updateServiceProcessingState",(e,t)=>{this.setState(({processing:r})=>({processing:{...r,[e]:t}}))}),(0,n.default)(this,"mapMemoryData",({memory:e,swap:t})=>[{type:"RAM",requires:Math.max(this.calculatePercent(5,e.total),104857600),...e},{type:"Swap",requires:this.calculatePercent(5,t.total),...t}]),(0,n.default)(this,"mapDiskData",e=>e.map(e=>({key:e.volume??e.name+e.mount_point,requires:e.directories?.length?{relative:this.calculatePercent(5,e.total),absolute:1073741824}:null,...e,volume:e.volume??(0,s.jsx)(o.Translate,{content:"Disk.volumeFormat",params:{name:e.name,mount_point:e.mount_point}})}))),(0,n.default)(this,"handleDiskCleanUp",()=>{this.toaster?.clear(),this.setState({cleaningDisk:!0}),v("/disk",{method:"post"}).then(e=>{const t=Array.isArray(this.state.data?.disk)?this.calculateFreeSize(e)-this.calculateFreeSize(this.state.data?.disk):0;this.setState({data:{...this.state.data,disk:this.mapDiskData(e)},cleaningDisk:!1}),this.toaster?.add({intent:t>0?"success":"info",message:t>0?(0,s.jsx)(o.Translate,{content:"App.diskCleanUpSuccess",params:{size:(0,s.jsx)(a.default,{children:t})}}):(0,s.jsx)(o.Translate,{content:"App.diskCleanUpNothing"})})}).catch(e=>{this.setState({cleaningDisk:!1}),this.catchApiError(e)})}),(0,n.default)(this,"handleMemoryCleanUp",()=>{this.toaster?.clear(),this.setState({cleaningMemory:!0}),v("/system-resources",{method:"post"}).then(e=>{const t=this.mapMemoryData(e),r=Array.isArray(this.state.data?.memory)?this.calculateFreeSize(t)-this.calculateFreeSize(this.state.data.memory):0;this.setState({data:{...this.state.data,memory:t},cleaningMemory:!1}),this.toaster?.add({intent:r>0?"success":"info",message:r>0?(0,s.jsx)(o.Translate,{content:"App.memoryCleanUpSuccess",params:{size:(0,s.jsx)(a.default,{children:r})}}):(0,s.jsx)(o.Translate,{content:"App.memoryCleanUpNothing"})})}).catch(e=>{this.setState({cleaningMemory:!1}),this.catchApiError(e)})}),(0,n.default)(this,"restartServiceById",e=>v(`/services/${e}`,{method:"post"}).then(()=>{const t=this.state.data?.services?.[e]?.find(t=>t?.id===e);this.toaster?.add({intent:"success",message:(0,s.jsx)(o.Translate,{content:"App.restartServiceSuccess",params:{serviceName:t?.name}})}),(0,f.dispatchAction)("RESTART_SERVICE",{service:e,status:"ok"})}).catch(t=>{(0,f.dispatchAction)("RESTART_SERVICE",{service:e,status:"error"}),this.catchApiError(t)}).finally(()=>this.updateServiceStatusById(e))),(0,n.default)(this,"handleRestartService",e=>{this.toaster?.clear(),this.updateServiceProcessingState(e,!0),this.restartServiceById(e).finally(()=>this.updateServiceProcessingState(e,!1))}),(0,n.default)(this,"handleRestartServer",()=>{this.toaster?.clear();return v("/reboot",{method:"post"}).then(()=>new Promise(e=>{setTimeout(()=>{e(((e,t=3e3)=>new Promise(r=>{const n=()=>{setTimeout(async()=>{try{const t=await e();t.ok?r(t):n()}catch{n()}},t)};n()}))(()=>(0,d.default)(window.location.toString(),{method:"head"})))},3e4)}).then(()=>{this.toaster?.add({intent:"success",message:(0,s.jsx)(o.Translate,{content:"App.rebootServerSuccess"})})})).catch(this.catchApiError)}),(0,n.default)(this,"catchApiError",({message:e})=>{this.toaster?.add({intent:"danger",message:e})}),(0,n.default)(this,"handleToolCheck",e=>{this.toaster?.clear(),this.updateServiceProcessingState(w,!0),this.getTool("check",e).finally(()=>this.updateServiceStatusById(w).finally(()=>this.updateServiceProcessingState(w,!1)))}),(0,n.default)(this,"handleToolRepair",e=>{this.toaster?.clear(),this.updateServiceProcessingState(w,!0),this.getTool("repair",e).finally(()=>this.updateServiceStatusById(w).finally(()=>this.updateServiceProcessingState(w,!1)))})}componentDidMount(){v("/token",{method:"post"}).then(({token:e})=>{g=e,v("/config").then(e=>{(0,f.default)(e),(0,h.default)(e),Promise.all([v("/disk").then(this.mapDiskData).catch(e=>Promise.resolve({error:e.message})),v("/system-resources").then(this.mapMemoryData).catch(e=>Promise.resolve({error:e.message})),this.getSQLService(),this.getPleskService(e)]).then(([t,r,n,i])=>{this.setState({data:{disk:t,memory:r,services:{[A]:[i],[w]:[..."linux"===e.os?[{id:R,status:"inactive",handlers:{handleCheck:()=>this.handleToolCheck(R),handleRepair:()=>this.handleToolRepair(R)},isTool:!0},{id:C,status:"inactive",handlers:{handleCheck:()=>this.handleToolCheck(C),handleRepair:()=>this.handleToolRepair(C)},isTool:!0}]:[],n]},config:e}})})})})}getPleskService(e={os:"linux"}){return"linux"!==e.os?Promise.resolve(null):v(`/services/${A}`).catch(e=>Promise.resolve({error:e.message})).then(e=>({id:A,...e}))}getSQLService(){return v(`/services/${w}`).catch(e=>Promise.resolve({error:e.message})).then(e=>({id:w,...e}))}updateServiceStatusById(e){let t;switch(e){case w:t=this.getSQLService();break;case A:t=this.getPleskService();break;default:throw new Error("Service not found")}return t.then(t=>{this.setState(({data:r})=>({data:{...r,services:{...r?.services??{},[e]:r?.services?.[e]?.map(r=>r?.id===e?{...r,...t}:r)}}}))})}getTool(e,t){return v(`/${e}/${t}`,{method:"post"}).then(r=>{(0,f.dispatchAction)("INNODB_REPAIR_KIT",{tool:t,operation:e,status:r.status}),this.setState(({data:e})=>({data:{...e,services:{...e?.services,[w]:e?.services?.[w]?.map(e=>e?.id===t?{...e,...r}:e)}}}))}).catch(e=>Promise.resolve({id:t,message:e.message,status:"error"}))}calculatePercent(e,t){return Math.round(t*e/100)}calculateFreeSize(e){return e?.reduce((e,{free:t})=>e+t,0)??0}render(){const{data:e}=this.state;return e?(0,s.jsx)(o.LocaleProvider,{messages:m,children:(0,s.jsxs)(o.Layout,{type:"fluid",width:"md",header:(0,s.jsx)(b,{children:(0,s.jsx)(_,{children:(0,s.jsx)("img",{src:"images/plesk.svg?1",height:"27",alt:"Plesk"})})}),headerFixed:!1,children:[(0,s.jsx)(S,{}),(0,s.jsx)(E,{children:(0,s.jsxs)(T,{children:[(0,s.jsx)(I,{children:(0,s.jsx)(o.Translate,{content:"App.title"})}),(0,s.jsxs)(o.Grid,{gap:"md",children:[(0,s.jsx)(o.GridCol,{sm:12,children:(0,s.jsx)(p.default,{onRestartServer:this.handleRestartServer,os:e.config?.os})},"restart-server"),(0,s.jsx)(o.GridCol,{sm:12,children:(0,s.jsx)(l.default,{serviceId:w,service:(e.services?.[w]??[]).filter(y),onRestart:this.handleRestartService,isProcessing:this.state.processing[w]??!1})},w),e.services?.[A]?.[0]&&(0,s.jsx)(o.GridCol,{sm:12,children:(0,s.jsx)(l.default,{serviceId:A,service:(e.services[A]??[]).filter(y),onRestart:this.handleRestartService,isProcessing:this.state.processing[A]??!1})},A),(0,s.jsx)(o.GridCol,{sm:12,children:(0,s.jsx)(c.default,{data:e.disk,onCleanUp:this.handleDiskCleanUp,isProcessing:this.state.cleaningDisk})},"disk"),(0,s.jsx)(o.GridCol,{sm:12,children:(0,s.jsx)(u.default,{data:e.memory,onCleanUp:this.handleMemoryCleanUp,isProcessing:this.state.cleaningMemory})},"memory")]})]})}),(0,s.jsx)(o.Toaster,{ref:e=>this.toaster=e})]})}):null}}const k=x},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(6);function i(e,t,r){return(t=(0,n.default)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(7),i=r(8);function o(e){var t=(0,i.default)(e,"string");return"symbol"==(0,n.default)(t)?t:t+""}},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.r(t),r.d(t,{default:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(7);function i(e,t){if("object"!=(0,n.default)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=(0,n.default)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{ServerStyleSheet:()=>ct,StyleSheetConsumer:()=>Ne,StyleSheetContext:()=>Pe,StyleSheetManager:()=>Me,ThemeConsumer:()=>Ve,ThemeContext:()=>Ge,ThemeProvider:()=>Ye,__PRIVATE__:()=>ut,createGlobalStyle:()=>ot,css:()=>et,default:()=>nt,isStyledComponent:()=>ee,keyframes:()=>st,styled:()=>nt,useTheme:()=>Ke,version:()=>m,withTheme:()=>at});var n=r(10),i=(r(11),r(2)),o=r(13),s=r.n(o),a=r(14),c=r(15),u=r(18),p=r(19),l=r(21),d="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",f="active",h="data-styled-version",m="6.1.19",g="/*!sc*/\n",y="undefined"!=typeof window&&"undefined"!=typeof document,v=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),S={},b=(new Set,Object.freeze([])),_=Object.freeze({});function E(e,t,r){return void 0===r&&(r=_),e.theme!==r.theme&&e.theme||t||r.theme}var T=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),I=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,w=/(^-|-$)/g;function A(e){return e.replace(I,"-").replace(w,"")}var C=/(a)(d)/gi,R=52,x=function(e){return String.fromCharCode(e+(e>25?39:97))};function k(e){var t,r="";for(t=Math.abs(e);t>R;t=t/R|0)r=x(t%R)+r;return(x(t%R)+r).replace(C,"$1-$2")}var O,P=5381,N=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},D=function(e){return N(P,e)};function L(e){return k(D(e)>>>0)}function M(e){return e.displayName||e.name||"Component"}function U(e){return"string"==typeof e&&!0}var B="function"==typeof Symbol&&Symbol.for,j=B?Symbol.for("react.memo"):60115,q=B?Symbol.for("react.forward_ref"):60112,F={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},W={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},H={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},z=((O={})[q]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},O[j]=H,O);function $(e){return("type"in(t=e)&&t.type.$$typeof)===j?H:"$$typeof"in e?z[e.$$typeof]:F;var t}var G=Object.defineProperty,V=Object.getOwnPropertyNames,K=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,J=Object.getPrototypeOf,X=Object.prototype;function Z(e,t,r){if("string"!=typeof t){if(X){var n=J(t);n&&n!==X&&Z(e,n,r)}var i=V(t);K&&(i=i.concat(K(t)));for(var o=$(e),s=$(t),a=0;a<i.length;++a){var c=i[a];if(!(c in W||r&&r[c]||s&&c in s||o&&c in o)){var u=Y(t,c);try{G(e,c,u)}catch(e){}}}}return e}function Q(e){return"function"==typeof e}function ee(e){return"object"==typeof e&&"styledComponentId"in e}function te(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function re(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function ne(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ie(e,t,r){if(void 0===r&&(r=!1),!r&&!ne(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=ie(e[n],t[n]);else if(ne(t))for(var n in t)e[n]=ie(e[n],t[n]);return e}function oe(e,t){Object.defineProperty(e,"toString",{value:t})}function se(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ae=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)if((i<<=1)<0)throw se(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=n;o<i;o++)this.groupSizes[o]=0}for(var s=this.indexOfGroup(e+1),a=(o=0,t.length);o<a;o++)this.tag.insertRule(s,t[o])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,o=n;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(g);return t},e}(),ce=new Map,ue=new Map,pe=1,le=function(e){if(ce.has(e))return ce.get(e);for(;ue.has(pe);)pe++;var t=pe++;return ce.set(e,t),ue.set(t,e),t},de=function(e,t){pe=t+1,ce.set(e,t),ue.set(t,e)},fe="style[".concat(d,"][").concat(h,'="').concat(m,'"]'),he=new RegExp("^".concat(d,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),me=function(e,t,r){for(var n,i=r.split(","),o=0,s=i.length;o<s;o++)(n=i[o])&&e.registerName(t,n)},ge=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(g),i=[],o=0,s=n.length;o<s;o++){var a=n[o].trim();if(a){var c=a.match(he);if(c){var u=0|parseInt(c[1],10),p=c[2];0!==u&&(de(p,u),me(e,p,c[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(a)}}},ye=function(e){for(var t=document.querySelectorAll(fe),r=0,n=t.length;r<n;r++){var i=t[r];i&&i.getAttribute(d)!==f&&(ge(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function ve(){return r.nc}var Se=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(d,"]")));return t[t.length-1]}(r),o=void 0!==i?i.nextSibling:null;n.setAttribute(d,f),n.setAttribute(h,m);var s=ve();return s&&n.setAttribute("nonce",s),r.insertBefore(n,o),n},be=function(){function e(e){this.element=Se(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}throw se(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),_e=function(){function e(e){this.element=Se(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ee=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Te=y,Ie={isServer:!y,useCSSOMInjection:!v},we=function(){function e(e,t,r){void 0===e&&(e=_),void 0===t&&(t={});var i=this;this.options=(0,n.__assign)((0,n.__assign)({},Ie),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&y&&Te&&(Te=!1,ye(this)),oe(this,function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=function(r){var i=function(e){return ue.get(e)}(r);if(void 0===i)return"continue";var o=e.names.get(i),s=t.getGroup(r);if(void 0===o||!o.size||0===s.length)return"continue";var a="".concat(d,".g").concat(r,'[id="').concat(i,'"]'),c="";void 0!==o&&o.forEach(function(e){e.length>0&&(c+="".concat(e,","))}),n+="".concat(s).concat(a,'{content:"').concat(c,'"}').concat(g)},o=0;o<r;o++)i(o);return n}(i)})}return e.registerId=function(e){return le(e)},e.prototype.rehydrate=function(){!this.server&&y&&ye(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e((0,n.__assign)((0,n.__assign)({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new Ee(r):t?new be(r):new _e(r)}(this.options),new ae(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(le(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(le(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(le(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ae=/&/g,Ce=/^\s*\/\/.*$/gm;function Re(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Re(e.children,t)),e})}function xe(e){var t,r,n,i=void 0===e?_:e,o=i.options,s=void 0===o?_:o,l=i.plugins,d=void 0===l?b:l,f=function(e,n,i){return i.startsWith(r)&&i.endsWith(r)&&i.replaceAll(r,"").length>0?".".concat(t):e},h=d.slice();h.push(function(e){e.type===a.RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ae,r).replace(n,f))}),s.prefix&&h.push(p.prefixer),h.push(u.stringify);var m=function(e,i,o,a){void 0===i&&(i=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,r=i,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(Ce,""),d=c.compile(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);s.namespace&&(d=Re(d,s.namespace));var f=[];return u.serialize(d,p.middleware(h.concat(p.rulesheet(function(e){return f.push(e)})))),f};return m.hash=d.length?d.reduce(function(e,t){return t.name||se(15),N(e,t.name)},P).toString():"",m}var ke=new we,Oe=xe(),Pe=i.default.createContext({shouldForwardProp:void 0,styleSheet:ke,stylis:Oe}),Ne=Pe.Consumer,De=i.default.createContext(void 0);function Le(){return(0,i.useContext)(Pe)}function Me(e){var t=(0,i.useState)(e.stylisPlugins),r=t[0],n=t[1],o=Le().styleSheet,a=(0,i.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,o]),c=(0,i.useMemo)(function(){return xe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})},[e.enableVendorPrefixes,e.namespace,r]);(0,i.useEffect)(function(){s()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]);var u=(0,i.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:c}},[e.shouldForwardProp,a,c]);return i.default.createElement(Pe.Provider,{value:u},i.default.createElement(De.Provider,{value:c},e.children))}var Ue=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Oe);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,oe(this,function(){throw se(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=Oe),this.name+e.hash},e}(),Be=function(e){return e>="A"&&e<="Z"};function je(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Be(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var qe=function(e){return null==e||!1===e||""===e},Fe=function(e){var t,r,i=[];for(var o in e){var s=e[o];e.hasOwnProperty(o)&&!qe(s)&&(Array.isArray(s)&&s.isCss||Q(s)?i.push("".concat(je(o),":"),s,";"):ne(s)?i.push.apply(i,(0,n.__spreadArray)((0,n.__spreadArray)(["".concat(o," {")],Fe(s),!1),["}"],!1)):i.push("".concat(je(o),": ").concat((t=o,null==(r=s)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in l.default||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return i};function We(e,t,r,n){return qe(e)?[]:ee(e)?[".".concat(e.styledComponentId)]:Q(e)?!Q(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:We(e(t),t,r,n):e instanceof Ue?r?(e.inject(r,n),[e.getName(n)]):[e]:ne(e)?Fe(e):Array.isArray(e)?Array.prototype.concat.apply(b,e.map(function(e){return We(e,t,r,n)})):[e.toString()];var i}function He(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Q(r)&&!ee(r))return!1}return!0}var ze=D(m),$e=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&He(e),this.componentId=t,this.baseHash=N(ze,t),this.baseStyle=r,we.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=te(n,this.staticRulesId);else{var i=re(We(this.rules,e,t,r)),o=k(N(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,s)}n=te(n,o),this.staticRulesId=o}else{for(var a=N(this.baseHash,r.hash),c="",u=0;u<this.rules.length;u++){var p=this.rules[u];if("string"==typeof p)c+=p;else if(p){var l=re(We(p,e,t,r));a=N(a,l+u),c+=l}}if(c){var d=k(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,r(c,".".concat(d),void 0,this.componentId)),n=te(n,d)}}return n},e}(),Ge=i.default.createContext(void 0),Ve=Ge.Consumer;function Ke(){var e=(0,i.useContext)(Ge);if(!e)throw se(18);return e}function Ye(e){var t=i.default.useContext(Ge),r=(0,i.useMemo)(function(){return function(e,t){if(!e)throw se(14);if(Q(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw se(8);return t?(0,n.__assign)((0,n.__assign)({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?i.default.createElement(Ge.Provider,{value:r},e.children):null}var Je={};new Set;function Xe(e,t,r){var o=ee(e),s=e,a=!U(e),c=t.attrs,u=void 0===c?b:c,p=t.componentId,l=void 0===p?function(e,t){var r="string"!=typeof e?"sc":A(e);Je[r]=(Je[r]||0)+1;var n="".concat(r,"-").concat(L(m+r+Je[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):p,d=t.displayName,f=void 0===d?function(e){return U(e)?"styled.".concat(e):"Styled(".concat(M(e),")")}(e):d,h=t.displayName&&t.componentId?"".concat(A(t.displayName),"-").concat(t.componentId):t.componentId||l,g=o&&s.attrs?s.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(o&&s.shouldForwardProp){var v=s.shouldForwardProp;if(t.shouldForwardProp){var S=t.shouldForwardProp;y=function(e,t){return v(e,t)&&S(e,t)}}else y=v}var I=new $e(r,h,o?s.componentStyle:void 0);function w(e,t){return function(e,t,r){var o=e.attrs,s=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,p=e.target,l=i.default.useContext(Ge),d=Le(),f=e.shouldForwardProp||d.shouldForwardProp,h=E(t,l,a)||_,m=function(e,t,r){for(var i,o=(0,n.__assign)((0,n.__assign)({},t),{className:void 0,theme:r}),s=0;s<e.length;s+=1){var a=Q(i=e[s])?i(o):i;for(var c in a)o[c]="className"===c?te(o[c],a[c]):"style"===c?(0,n.__assign)((0,n.__assign)({},o[c]),a[c]):a[c]}return t.className&&(o.className=te(o.className,t.className)),o}(o,t,h),g=m.as||p,y={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===h||("forwardedAs"===v?y.as=m.forwardedAs:f&&!f(v,g)||(y[v]=m[v]));var S=function(e,t){var r=Le();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(s,m),b=te(c,u);return S&&(b+=" "+S),m.className&&(b+=" "+m.className),y[U(g)&&!T.has(g)?"class":"className"]=b,r&&(y.ref=r),(0,i.createElement)(g,y)}(C,e,t)}w.displayName=f;var C=i.default.forwardRef(w);return C.attrs=g,C.componentStyle=I,C.displayName=f,C.shouldForwardProp=y,C.foldedComponentIds=o?te(s.foldedComponentIds,s.styledComponentId):"",C.styledComponentId=h,C.target=o?s.target:e,Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,i=t;n<i.length;n++)ie(e,i[n],!0);return e}({},s.defaultProps,e):e}}),oe(C,function(){return".".concat(C.styledComponentId)}),a&&Z(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),C}function Ze(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r}var Qe=function(e){return Object.assign(e,{isCss:!0})};function et(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Q(e)||ne(e))return Qe(We(Ze(b,(0,n.__spreadArray)([e],t,!0))));var i=e;return 0===t.length&&1===i.length&&"string"==typeof i[0]?We(i):Qe(We(Ze(i,t)))}function tt(e,t,r){if(void 0===r&&(r=_),!t)throw se(1,t);var i=function(i){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return e(t,r,et.apply(void 0,(0,n.__spreadArray)([i],o,!1)))};return i.attrs=function(i){return tt(e,t,(0,n.__assign)((0,n.__assign)({},r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i.withConfig=function(i){return tt(e,t,(0,n.__assign)((0,n.__assign)({},r),i))},i}var rt=function(e){return tt(Xe,e)},nt=rt;T.forEach(function(e){nt[e]=rt(e)});var it=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=He(e),we.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var i=n(re(We(this.rules,t,r,n)),""),o=this.componentId+e;r.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&we.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function ot(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=et.apply(void 0,(0,n.__spreadArray)([e],t,!1)),s="sc-global-".concat(L(JSON.stringify(o))),a=new it(o,s),c=function(e){var t=Le(),r=i.default.useContext(Ge),n=i.default.useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(n,e,t.styleSheet,r,t.stylis),i.default.useLayoutEffect(function(){if(!t.styleSheet.server)return u(n,e,t.styleSheet,r,t.stylis),function(){return a.removeStyles(n,t.styleSheet)}},[n,e,t.styleSheet,r,t.stylis]),null};function u(e,t,r,i,o){if(a.isStatic)a.renderStyles(e,S,r,o);else{var s=(0,n.__assign)((0,n.__assign)({},t),{theme:E(t,i,c.defaultProps)});a.renderStyles(e,s,r,o)}}return i.default.memo(c)}function st(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=re(et.apply(void 0,(0,n.__spreadArray)([e],t,!1))),o=L(i);return new Ue(o,i)}function at(e){var t=i.default.forwardRef(function(t,r){var o=E(t,i.default.useContext(Ge),e.defaultProps);return i.default.createElement(e,(0,n.__assign)({},t,{theme:o,ref:r}))});return t.displayName="WithTheme(".concat(M(e),")"),Z(t,e)}var ct=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=ve(),n=re([r&&'nonce="'.concat(r,'"'),"".concat(d,'="true"'),"".concat(h,'="').concat(m,'"')].filter(Boolean)," ");return"<style ".concat(n,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw se(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw se(2);var r=e.instance.toString();if(!r)return[];var o=((t={})[d]="",t[h]=m,t.dangerouslySetInnerHTML={__html:r},t),s=ve();return s&&(o.nonce=s),[i.default.createElement("style",(0,n.__assign)({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new we({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw se(2);return i.default.createElement(Me,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw se(3)},e}(),ut={StyleSheet:we,mainSheet:ke};"__sc-".concat(d,"__")},(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>D,__assign:()=>o,__asyncDelegator:()=>w,__asyncGenerator:()=>I,__asyncValues:()=>A,__await:()=>T,__awaiter:()=>h,__classPrivateFieldGet:()=>O,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>P,__createBinding:()=>g,__decorate:()=>a,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>i,__generator:()=>m,__importDefault:()=>k,__importStar:()=>x,__makeTemplateObject:()=>C,__metadata:()=>f,__param:()=>c,__propKey:()=>l,__read:()=>S,__rest:()=>s,__runInitializers:()=>p,__setFunctionName:()=>d,__spread:()=>b,__spreadArray:()=>E,__spreadArrays:()=>_,__values:()=>v,default:()=>U});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function a(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,i,o){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",p=!t&&e?n.static?e:e.prototype:null,l=t||(p?Object.getOwnPropertyDescriptor(p,n.name):{}),d=!1,f=r.length-1;f>=0;f--){var h={};for(var m in n)h[m]="access"===m?{}:n[m];for(var m in n.access)h.access[m]=n.access[m];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(e||null))};var g=(0,r[f])("accessor"===c?{get:l.get,set:l.set}:l[u],h);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=s(g.get))&&(l.get=a),(a=s(g.set))&&(l.set=a),(a=s(g.init))&&i.unshift(a)}else(a=s(g))&&("field"===c?i.unshift(a):l[u]=a)}p&&Object.defineProperty(p,n.name,l),d=!0}function p(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function l(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function h(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}c((n=n.apply(e,t||[])).next())})}function m(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var g=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function y(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(S(arguments[t]));return e}function _(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)n[i]=o[s];return n}function E(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function T(e){return this instanceof T?(this.v=e,this):new T(e)}function I(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||a(e,t)})})}function a(e,t){try{(r=i[e](t)).value instanceof T?Promise.resolve(r.value.v).then(c,u):p(o[0][2],r)}catch(e){p(o[0][3],e)}var r}function c(e){a("next",e)}function u(e){a("throw",e)}function p(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function w(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:T(e[n](t)),done:!1}:i?i(t):t}:i}}function A(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=v(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,i,(t=e[r](t)).done,t.value)})}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var R=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&g(t,e,r);return R(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function O(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function P(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var L="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function M(e){function t(t){e.error=e.hasError?new L(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var i=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(i).then(r,function(e){return t(e),r()})}catch(e){t(e)}}if(e.hasError)throw e.error}()}const U={__extends:i,__assign:o,__rest:s,__decorate:a,__param:c,__metadata:f,__awaiter:h,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:S,__spread:b,__spreadArrays:_,__spreadArray:E,__await:T,__asyncGenerator:I,__asyncDelegator:w,__asyncValues:A,__makeTemplateObject:C,__importStar:x,__importDefault:k,__classPrivateFieldGet:O,__classPrivateFieldSet:P,__classPrivateFieldIn:N,__addDisposableResource:D,__disposeResources:M}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(12),i=/^((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|disableRemotePlayback|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)-.*))$/,o=(0,n.default)(function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})},(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.r(t),r.d(t,{default:()=>n})},e=>{e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var u=o[c];if(!a(u))return!1;var p=e[u],l=t[u];if(!1===(i=r?r.call(n,p,l,u):void 0)||void 0===i&&p!==l)return!1}return!0}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{CHARSET:()=>d,COMMENT:()=>s,COUNTER_STYLE:()=>S,DECLARATION:()=>c,DOCUMENT:()=>m,FONT_FACE:()=>v,FONT_FEATURE_VALUES:()=>b,IMPORT:()=>l,KEYFRAMES:()=>y,LAYER:()=>_,MEDIA:()=>p,MOZ:()=>i,MS:()=>n,NAMESPACE:()=>g,PAGE:()=>u,RULESET:()=>a,SCOPE:()=>E,SUPPORTS:()=>h,VIEWPORT:()=>f,WEBKIT:()=>o});var n="-ms-",i="-moz-",o="-webkit-",s="comm",a="rule",c="decl",u="@page",p="@media",l="@import",d="@charset",f="@viewport",h="@supports",m="@document",g="@namespace",y="@keyframes",v="@font-face",S="@counter-style",b="@font-feature-values",_="@layer",E="@scope"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{comment:()=>u,compile:()=>s,declaration:()=>p,parse:()=>a,ruleset:()=>c});var n=r(14),i=r(16),o=r(17);function s(e){return(0,o.dealloc)(a("",null,null,null,[""],e=(0,o.alloc)(e),0,[0],e))}function a(e,t,r,n,s,l,d,f,h){for(var m=0,g=0,y=d,v=0,S=0,b=0,_=1,E=1,T=1,I=0,w="",A=s,C=l,R=n,x=w;E;)switch(b=I,I=(0,o.next)()){case 40:if(108!=b&&58==(0,i.charat)(x,y-1)){-1!=(0,i.indexof)(x+=(0,i.replace)((0,o.delimit)(I),"&","&\f"),"&\f",(0,i.abs)(m?f[m-1]:0))&&(T=-1);break}case 34:case 39:case 91:x+=(0,o.delimit)(I);break;case 9:case 10:case 13:case 32:x+=(0,o.whitespace)(b);break;case 92:x+=(0,o.escaping)((0,o.caret)()-1,7);continue;case 47:switch((0,o.peek)()){case 42:case 47:(0,i.append)(u((0,o.commenter)((0,o.next)(),(0,o.caret)()),t,r,h),h);break;default:x+="/"}break;case 123*_:f[m++]=(0,i.strlen)(x)*T;case 125*_:case 59:case 0:switch(I){case 0:case 125:E=0;case 59+g:-1==T&&(x=(0,i.replace)(x,/\f/g,"")),S>0&&(0,i.strlen)(x)-y&&(0,i.append)(S>32?p(x+";",n,r,y-1,h):p((0,i.replace)(x," ","")+";",n,r,y-2,h),h);break;case 59:x+=";";default:if((0,i.append)(R=c(x,t,r,m,g,s,f,w,A=[],C=[],y,l),l),123===I)if(0===g)a(x,t,R,R,A,l,y,f,C);else switch(99===v&&110===(0,i.charat)(x,3)?100:v){case 100:case 108:case 109:case 115:a(e,R,R,n&&(0,i.append)(c(e,R,R,0,0,s,f,w,s,A=[],y,C),C),s,C,y,f,n?A:C);break;default:a(x,R,R,R,[""],C,0,f,C)}}m=g=S=0,_=T=1,w=x="",y=d;break;case 58:y=1+(0,i.strlen)(x),S=b;default:if(_<1)if(123==I)--_;else if(125==I&&0==_++&&125==(0,o.prev)())continue;switch(x+=(0,i.from)(I),I*_){case 38:T=g>0?1:(x+="\f",-1);break;case 44:f[m++]=((0,i.strlen)(x)-1)*T,T=1;break;case 64:45===(0,o.peek)()&&(x+=(0,o.delimit)((0,o.next)())),v=(0,o.peek)(),g=y=(0,i.strlen)(w=x+=(0,o.identifier)((0,o.caret)())),I++;break;case 45:45===b&&2==(0,i.strlen)(x)&&(_=0)}}return l}function c(e,t,r,s,a,c,u,p,l,d,f,h){for(var m=a-1,g=0===a?c:[""],y=(0,i.sizeof)(g),v=0,S=0,b=0;v<s;++v)for(var _=0,E=(0,i.substr)(e,m+1,m=(0,i.abs)(S=u[v])),T=e;_<y;++_)(T=(0,i.trim)(S>0?g[_]+" "+E:(0,i.replace)(E,/&\f/g,g[_])))&&(l[b++]=T);return(0,o.node)(e,t,r,0===a?n.RULESET:p,l,d,f,h)}function u(e,t,r,s){return(0,o.node)(e,t,r,n.COMMENT,(0,i.from)((0,o.char)()),(0,i.substr)(e,2,-2),0,s)}function p(e,t,r,s,a){return(0,o.node)(e,t,r,n.DECLARATION,(0,i.substr)(e,0,s),(0,i.substr)(e,s+1,-1),s,a)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{abs:()=>n,append:()=>m,assign:()=>o,charat:()=>l,combine:()=>g,filter:()=>y,from:()=>i,hash:()=>s,indexof:()=>p,match:()=>c,replace:()=>u,sizeof:()=>h,strlen:()=>f,substr:()=>d,trim:()=>a});var n=Math.abs,i=String.fromCharCode,o=Object.assign;function s(e,t){return 45^l(e,0)?(((t<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3):0}function a(e){return e.trim()}function c(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,r){return e.replace(t,r)}function p(e,t,r){return e.indexOf(t,r)}function l(e,t){return 0|e.charCodeAt(t)}function d(e,t,r){return e.slice(t,r)}function f(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}function y(e,t){return e.filter(function(e){return!c(e,t)})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{alloc:()=>b,caret:()=>y,char:()=>f,character:()=>c,characters:()=>u,column:()=>o,commenter:()=>R,copy:()=>l,dealloc:()=>_,delimit:()=>E,delimiter:()=>C,escaping:()=>A,identifier:()=>x,length:()=>s,lift:()=>d,line:()=>i,next:()=>m,node:()=>p,peek:()=>g,position:()=>a,prev:()=>h,slice:()=>v,token:()=>S,tokenize:()=>T,tokenizer:()=>w,whitespace:()=>I});var n=r(16),i=1,o=1,s=0,a=0,c=0,u="";function p(e,t,r,n,s,a,c,u){return{value:e,root:t,parent:r,type:n,props:s,children:a,line:i,column:o,length:c,return:"",siblings:u}}function l(e,t){return(0,n.assign)(p("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function d(e){for(;e.root;)e=l(e.root,{children:[e]});(0,n.append)(e,e.siblings)}function f(){return c}function h(){return c=a>0?(0,n.charat)(u,--a):0,o--,10===c&&(o=1,i--),c}function m(){return c=a<s?(0,n.charat)(u,a++):0,o++,10===c&&(o=1,i++),c}function g(){return(0,n.charat)(u,a)}function y(){return a}function v(e,t){return(0,n.substr)(u,e,t)}function S(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return i=o=1,s=(0,n.strlen)(u=e),a=0,[]}function _(e){return u="",e}function E(e){return(0,n.trim)(v(a-1,C(91===e?e+2:40===e?e+1:e)))}function T(e){return _(w(b(e)))}function I(e){for(;(c=g())&&c<33;)m();return S(e)>2||S(c)>3?"":" "}function w(e){for(;m();)switch(S(c)){case 0:(0,n.append)(x(a-1),e);break;case 2:(0,n.append)(E(c),e);break;default:(0,n.append)((0,n.from)(c),e)}return e}function A(e,t){for(;--t&&m()&&!(c<48||c>102||c>57&&c<65||c>70&&c<97););return v(e,y()+(t<6&&32==g()&&32==m()))}function C(e){for(;m();)switch(c){case e:return a;case 34:case 39:34!==e&&39!==e&&C(c);break;case 40:41===e&&C(e);break;case 92:m()}return a}function R(e,t){for(;m()&&e+c!==57&&(e+c!==84||47!==g()););return"/*"+v(t,a-1)+"*"+(0,n.from)(47===e?e:m())}function x(e){for(;!S(g());)m();return v(e,a)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{serialize:()=>o,stringify:()=>s});var n=r(14),i=r(16);function o(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function s(e,t,r,s){switch(e.type){case n.LAYER:if(e.children.length)break;case n.IMPORT:case n.DECLARATION:return e.return=e.return||e.value;case n.COMMENT:return"";case n.KEYFRAMES:return e.return=e.value+"{"+o(e.children,s)+"}";case n.RULESET:if(!(0,i.strlen)(e.value=e.props.join(",")))return""}return(0,i.strlen)(r=o(e.children,s))?e.return=e.value+"{"+r+"}":""}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{middleware:()=>c,namespace:()=>l,prefixer:()=>p,rulesheet:()=>u});var n=r(14),i=r(16),o=r(17),s=r(18),a=r(20);function c(e){var t=(0,i.sizeof)(e);return function(r,n,i,o){for(var s="",a=0;a<t;a++)s+=e[a](r,n,i,o)||"";return s}}function u(e){return function(t){t.root||(t=t.return)&&e(t)}}function p(e,t,r,c){if(e.length>-1&&!e.return)switch(e.type){case n.DECLARATION:return void(e.return=(0,a.prefix)(e.value,e.length,r));case n.KEYFRAMES:return(0,s.serialize)([(0,o.copy)(e,{value:(0,i.replace)(e.value,"@","@"+n.WEBKIT)})],c);case n.RULESET:if(e.length)return(0,i.combine)(r=e.props,function(t){switch((0,i.match)(t,c=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":(0,o.lift)((0,o.copy)(e,{props:[(0,i.replace)(t,/:(read-\w+)/,":"+n.MOZ+"$1")]})),(0,o.lift)((0,o.copy)(e,{props:[t]})),(0,i.assign)(e,{props:(0,i.filter)(r,c)});break;case"::placeholder":(0,o.lift)((0,o.copy)(e,{props:[(0,i.replace)(t,/:(plac\w+)/,":"+n.WEBKIT+"input-$1")]})),(0,o.lift)((0,o.copy)(e,{props:[(0,i.replace)(t,/:(plac\w+)/,":"+n.MOZ+"$1")]})),(0,o.lift)((0,o.copy)(e,{props:[(0,i.replace)(t,/:(plac\w+)/,n.MS+"input-$1")]})),(0,o.lift)((0,o.copy)(e,{props:[t]})),(0,i.assign)(e,{props:(0,i.filter)(r,c)})}return""})}}function l(e){if(e.type===n.RULESET)e.props=e.props.map(function(t){return(0,i.combine)((0,o.tokenize)(t),function(t,r,n){switch((0,i.charat)(t,0)){case 12:return(0,i.substr)(t,1,(0,i.strlen)(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===n[++r]&&(n[r]="",n[++r]="\f"+(0,i.substr)(n[r],r=1,-1));case 32:return 1===r?"":t;default:switch(r){case 0:return e=t,(0,i.sizeof)(n)>1?"":t;case r=(0,i.sizeof)(n)-1:case 2:return 2===r?t+e+e:t+e;default:return t}}})})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{prefix:()=>o});var n=r(14),i=r(16);function o(e,t,r){switch((0,i.hash)(e,t)){case 5103:return n.WEBKIT+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return n.WEBKIT+e+e;case 4789:return n.MOZ+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return n.WEBKIT+e+n.MOZ+e+n.MS+e+e;case 5936:switch((0,i.charat)(e,t+11)){case 114:return n.WEBKIT+e+n.MS+(0,i.replace)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return n.WEBKIT+e+n.MS+(0,i.replace)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return n.WEBKIT+e+n.MS+(0,i.replace)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return n.WEBKIT+e+n.MS+e+e;case 6165:return n.WEBKIT+e+n.MS+"flex-"+e+e;case 5187:return n.WEBKIT+e+(0,i.replace)(e,/(\w+).+(:[^]+)/,n.WEBKIT+"box-$1$2"+n.MS+"flex-$1$2")+e;case 5443:return n.WEBKIT+e+n.MS+"flex-item-"+(0,i.replace)(e,/flex-|-self/g,"")+((0,i.match)(e,/flex-|baseline/)?"":n.MS+"grid-row-"+(0,i.replace)(e,/flex-|-self/g,""))+e;case 4675:return n.WEBKIT+e+n.MS+"flex-line-pack"+(0,i.replace)(e,/align-content|flex-|-self/g,"")+e;case 5548:return n.WEBKIT+e+n.MS+(0,i.replace)(e,"shrink","negative")+e;case 5292:return n.WEBKIT+e+n.MS+(0,i.replace)(e,"basis","preferred-size")+e;case 6060:return n.WEBKIT+"box-"+(0,i.replace)(e,"-grow","")+n.WEBKIT+e+n.MS+(0,i.replace)(e,"grow","positive")+e;case 4554:return n.WEBKIT+(0,i.replace)(e,/([^-])(transform)/g,"$1"+n.WEBKIT+"$2")+e;case 6187:return(0,i.replace)((0,i.replace)((0,i.replace)(e,/(zoom-|grab)/,n.WEBKIT+"$1"),/(image-set)/,n.WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return(0,i.replace)(e,/(image-set\([^]*)/,n.WEBKIT+"$1$`$1");case 4968:return(0,i.replace)((0,i.replace)(e,/(.+:)(flex-)?(.*)/,n.WEBKIT+"box-pack:$3"+n.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n.WEBKIT+e+e;case 4200:if(!(0,i.match)(e,/flex-|baseline/))return n.MS+"grid-column-align"+(0,i.substr)(e,t)+e;break;case 2592:case 3360:return n.MS+(0,i.replace)(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,(0,i.match)(e.props,/grid-\w+-end/)})?~(0,i.indexof)(e+(r=r[t].value),"span",0)?e:n.MS+(0,i.replace)(e,"-start","")+e+n.MS+"grid-row-span:"+(~(0,i.indexof)(r,"span",0)?(0,i.match)(r,/\d+/):+(0,i.match)(r,/\d+/)-+(0,i.match)(e,/\d+/))+";":n.MS+(0,i.replace)(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return(0,i.match)(e.props,/grid-\w+-start/)})?e:n.MS+(0,i.replace)((0,i.replace)(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return(0,i.replace)(e,/(.+)-inline(.+)/,n.WEBKIT+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,i.strlen)(e)-1-t>6)switch((0,i.charat)(e,t+1)){case 109:if(45!==(0,i.charat)(e,t+4))break;case 102:return(0,i.replace)(e,/(.+:)(.+)-([^]+)/,"$1"+n.WEBKIT+"$2-$3$1"+n.MOZ+(108==(0,i.charat)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,i.indexof)(e,"stretch",0)?o((0,i.replace)(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return(0,i.replace)(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,i,o,s,a,c){return n.MS+r+":"+i+c+(o?n.MS+r+"-span:"+(s?a:+a-+i)+c:"")+e});case 4949:if(121===(0,i.charat)(e,t+6))return(0,i.replace)(e,":",":"+n.WEBKIT)+e;break;case 6444:switch((0,i.charat)(e,45===(0,i.charat)(e,14)?18:11)){case 120:return(0,i.replace)(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+n.WEBKIT+(45===(0,i.charat)(e,14)?"inline-":"")+"box$3$1"+n.WEBKIT+"$2$3$1"+n.MS+"$2box$3")+e;case 100:return(0,i.replace)(e,":",":"+n.MS)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return(0,i.replace)(e,"scroll-","scroll-snap-")+e}return e}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var n={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}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(3),i=r(2);const o=({children:e,...t})=>{const r=e&&Math.floor(Math.log(e)/Math.log(1024)),o=r?(0,i.jsx)(n.Translate,{content:`Bytes.${["kilo","mega","giga","tera"][r-1]}`}):"",s=(0,i.jsx)(n.Translate,{content:"Bytes.suffix"});return(0,i.jsxs)("span",{...t,children:[(e/Math.pow(1024,r)).toFixed(2)," ",o,s]})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(3),i=r(24),o=r(2);const s=e=>"object"==typeof e,a=({data:e=[],onCleanUp:t,isProcessing:r,...a})=>(0,o.jsx)(n.Panel,{title:(0,o.jsx)(n.Translate,{content:"Disk.title"}),...a,children:(0,o.jsxs)(n.Media,{image:(0,o.jsx)(n.Icon,{src:"images/disk-space.png",size:"48",alt:"Disk Space"}),children:[(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Disk.description"})}),"error"in e?(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Alert,{intent:"danger",children:(0,o.jsx)(n.Status,{intent:"danger",bottomAddon:e.error,children:(0,o.jsx)(n.Translate,{content:"Disk.loadingError"})})})}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.List,{columns:[{key:"volume",title:(0,o.jsx)(n.Translate,{content:"Disk.volume"})},e.every(({directories:e})=>e)&&{key:"directories",title:(0,o.jsx)(n.Translate,{content:"Disk.directories"}),render:({directories:e})=>e?e.map(e=>(0,o.jsx)("div",{children:e},e)):null},{key:"free",title:(0,o.jsx)(n.Translate,{content:"Disk.free"}),render:({free:e,total:t,requires:r})=>(0,o.jsx)(i.default,{free:e,total:t,min:r})}].filter(s),rowKey:"key",data:e})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Disk.recommend"})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Button,{intent:"primary",onClick:t,state:r?"loading":void 0,id:"disk-cleanup",children:(0,o.jsx)(n.Translate,{content:"Disk.cleanUp"})})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Disk.recommend2",params:{limitingBackupsLink:(0,o.jsx)(n.Link,{href:"https://docs.plesk.com/en-US/obsidian/administrator-guide/backing-up-and-restoration/global-backup-settings.59265/",target:"_blank",children:(0,o.jsx)(n.Translate,{content:"Disk.limitingBackups"})}),duExtensionLink:(0,o.jsx)(n.Link,{href:"https://www.plesk.com/extensions/diskspace-usage-viewer/",target:"_blank",children:(0,o.jsx)(n.Translate,{content:"Disk.duExtension"})})}})})]})]})})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(3),i=r(22),o=r(2);const s=({children:e,...t})=>{const r=document.documentElement.lang||"en-US",n=new Intl.NumberFormat(r,{style:"percent",maximumFractionDigits:1});return(0,o.jsx)("span",{...t,children:n.format(e)})},a=({free:e,total:t,min:r,...a})=>{const c=(0,o.jsx)(n.Translate,{content:"Available.format",params:{free:(0,o.jsx)(i.default,{children:e}),total:(0,o.jsx)(i.default,{children:t}),percent:(0,o.jsx)(s,{children:t?e/t:0})},...a});return r&&"object"==typeof r&&e<r.relative?e<r.absolute?(0,o.jsx)(n.Status,{intent:"danger",children:c}):(0,o.jsx)(n.Status,{intent:"warning",children:c}):c}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(3),i=r(24),o=r(2);const s=({data:e=[],onCleanUp:t,isProcessing:r})=>(0,o.jsx)(n.Panel,{title:(0,o.jsx)(n.Translate,{content:"Memory.title"}),children:(0,o.jsxs)(n.Media,{image:(0,o.jsx)(n.Icon,{src:"images/ram.png",size:"48",alt:"RAM"}),children:[(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Memory.description"})}),"error"in e?(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Alert,{intent:"danger",children:(0,o.jsx)(n.Status,{intent:"danger",bottomAddon:e.error||"",children:(0,o.jsx)(n.Translate,{content:"Memory.loadingError"})})})}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.List,{columns:[{key:"type",title:""},{key:"free",title:(0,o.jsx)(n.Translate,{content:"Memory.free"}),render:({free:e,total:t,requires:r})=>(0,o.jsx)(i.default,{free:e,total:t,min:r})}],rowKey:"type",data:e})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Memory.recommend"})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Button,{intent:"primary",onClick:t,state:r?"loading":void 0,id:"memory-cleanup",children:(0,o.jsx)(n.Translate,{content:"Memory.cleanUp"})})})]})]})})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.default});var n=r(27)},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(3),i=r(28),o=r(2);const s=({onRestartServer:e,os:t="",...r})=>{const[s,a]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{(async()=>{if("linux"===t){return 200===(await fetch("/modules/ssh-terminal/repair/")).status}return!1})().then(e=>a(!e)).catch(()=>a(!0))},[t]),(0,o.jsx)(n.Alert,{intent:"info",...r,children:(0,o.jsxs)(n.Grid,{gap:"md",sm:2,children:[(0,o.jsx)(n.GridCol,{children:(0,o.jsxs)(n.Media,{image:(0,o.jsx)(n.Icon,{src:"images/repair.png",size:"96",alt:"Repair CP"}),imageSpacing:"lg",children:[(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Overview.description"})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Overview.loginDescription"})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Button,{intent:"primary",component:"a",href:"/",id:"plesk-login",children:(0,o.jsx)(n.Translate,{content:"Overview.loginButton"})})})]})}),(0,o.jsx)(n.GridCol,{children:(0,o.jsx)(n.Panel,{children:(0,o.jsxs)(n.Grid,{gap:"md",md:2,children:[(0,o.jsx)(n.GridCol,{hidden:s,children:(0,o.jsx)(n.Media,{image:(0,o.jsx)(n.Icon,{src:"images/terminal.png",size:"32",alt:"Terminal"}),imageSpacing:"lg",children:(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Overview.terminalDescription",params:{link:(0,o.jsx)("a",{href:"/modules/ssh-terminal/repair/",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(n.Translate,{content:"Overview.terminalLink"})})}})})})}),(0,o.jsx)(n.GridCol,{children:(0,o.jsx)(n.Media,{image:(0,o.jsx)(n.Icon,{src:"images/help.png",size:"32",alt:"Help"}),imageSpacing:"lg",children:(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.Translate,{content:"Overview.helpCenterDescription",params:{link:(0,o.jsx)("a",{href:"https://support.plesk.com",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(n.Translate,{content:"Overview.helpCenter"})})}})})})}),(0,o.jsx)(n.GridCol,{children:(0,o.jsx)(i.default,{onRestartServer:e})})]})})})]})})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(3),i=r(2);const o=({onRestartServer:e})=>{const[t,r]=(0,i.useState)(!1),[o,s]=(0,i.useState)();return(0,i.jsxs)(n.Media,{image:(0,i.jsx)(n.Icon,{src:"images/restart.png",size:"32",alt:"Restart Server"}),imageSpacing:"lg",children:[(0,i.jsx)(n.MediaSection,{children:(0,i.jsx)(n.Translate,{content:"RestartServer.description"})}),(0,i.jsx)(n.MediaSection,{children:(0,i.jsx)(n.Button,{onClick:()=>{r(!0)},children:(0,i.jsx)(n.Translate,{content:"RestartServer.button"})})}),(0,i.jsx)(n.Dialog,{isOpen:t,onClose:()=>{o||r(!1)},size:"sm",image:(0,i.jsx)(n.Icon,{src:"images/restart-server-dialog.png",size:"96"}),form:{onSubmit:()=>{s("submit"),e().then(e=>{e||(s(void 0),r(!1))}).catch(()=>{s(void 0),r(!1)})},state:o,submitButton:{id:"server-restart",intent:"danger",children:(0,i.jsx)(n.Translate,{content:"RestartServer.button"})},hideRequiredLegend:!0},children:(0,i.jsx)(n.Translate,{content:"RestartServer.dialogText"})})]})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{colorizeOutput:()=>c,default:()=>d});var n=r(3),i=r(30),o=r(2),s=r(4),a=r(31);const c=e=>e.split(/\n/).map((e,t)=>{let r=e;return e.includes("ERROR:")?r=u(e):e.includes("WARNING:")&&(r=p(e)),(0,o.jsxs)(o.Fragment,{children:[r,(0,o.jsx)("br",{})]},t)}),u=e=>(0,o.jsx)("span",{style:{color:"#d02d4b"},children:e}),p=e=>(0,o.jsx)("span",{style:{color:"#d66b0d"},children:e}),l=()=>(0,o.jsx)(n.Link,{href:"https://support.plesk.com/hc/en-us/articles/12377798484375-How-to-fix-InnoDB-corruption-cases-for-the-MySQL-MariaDB-databases-on-Plesk-for-Linux",target:"_blank",children:(0,o.jsx)(n.Translate,{content:"SubmitPopover.repairTroubleshootingArticle"})}),d=({serviceId:e,service:t,onRestart:r,isProcessing:u,...p})=>(0,o.jsx)(n.Panel,{title:(0,o.jsx)(n.Translate,{content:`Services.${e}.title`}),...p,children:(0,o.jsxs)(n.Media,{image:(0,o.jsx)(n.Icon,{src:"images/services.png",size:"48",alt:"Service"}),children:[(0,o.jsx)(n.Section,{children:(0,o.jsx)(n.Translate,{content:`Services.${e}.description`})}),(0,o.jsx)(n.MediaSection,{children:(0,o.jsx)(n.List,{"data-test-id":`${e}-service`,columns:[{key:"name",width:"40%",render:({id:e,name:t})=>t||(0,o.jsx)(n.Translate,{content:`Services.${e}.name`})},{key:"status",width:"30%",render:({id:e="",status:t="invalid",message:r,isTool:s})=>r?(0,o.jsx)(n.Popover,{defaultVisible:!!s,target:(0,o.jsx)(i.default,{id:e,style:{borderBottom:"1px dotted"},status:t}),placement:"bottom",width:"md",children:(0,o.jsx)(n.ConsoleOutput,{wide:!0,children:s?c(r):r})},btoa(unescape(encodeURIComponent(`${e} ${t} ${r.substring(0,10)}`)))):(0,o.jsx)(i.default,{id:e,status:t})},{key:"button",width:"30%",render:t=>t.isTool?((e,t)=>{const r=()=>"corrupted"===e.status?e.handlers.handleRepair:e.handlers.handleCheck,i=()=>"corrupted"===e.status?`tool-${e.id}-fix`:`tool-${e.id}-check`,c=()=>(0,o.jsx)(n.Translate,{content:`Services.${e.id}.${"corrupted"===e.status?"fix":"check"}`});return e.id===s.filePermsToolId?(0,o.jsx)(n.Button,{intent:"primary",state:t?"loading":void 0,onClick:r(),id:i(),children:c()}):e.id===s.innodbToolId?(0,o.jsx)(a.default,{description:"corrupted"===e.status?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.Translate,{content:"SubmitPopover.repairList"}),(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:(0,o.jsx)(n.Translate,{content:"SubmitPopover.repairListOption1"})}),(0,o.jsx)("li",{children:(0,o.jsx)(n.Translate,{content:"SubmitPopover.repairListOption2"})})]}),(0,o.jsx)(n.Translate,{content:"SubmitPopover.repairTroubleshootingArticleText",params:{troubleshootingArticle:(0,o.jsx)(l,{})}}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)(n.Translate,{content:"SubmitPopover.repairConfirmationText"})]}):(0,o.jsx)(n.Translate,{content:"SubmitPopover.checkDescription"}),onSubmit:r(),targetEl:(0,o.jsx)(n.Button,{intent:"primary",state:t?"loading":void 0,id:i(),children:c()})}):null})(t,u):(0,o.jsx)(n.Button,{intent:"primary",onClick:()=>r(e),state:u?"loading":void 0,id:`services-${t.id}-fix`,children:(0,o.jsx)(n.Translate,{content:`Services.${t.id}.fix`})})}],rowKey:"id",data:t})})]})})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(3),i=r(2);const o={disabled:"inactive",inactive:"inactive",corrupted:"danger",error:"danger",failed:"danger",ok:"success",running:"success",invalid:"danger",starting:"danger",stopping:"danger",stopped:"danger",pausing:"danger",paused:"danger",continuing:"danger"},s=({id:e,status:t,...r})=>(0,i.jsx)(n.Status,{intent:o[t]??"inactive",...r,children:(0,i.jsx)(n.Translate,{content:`ServiceStatus.${e}.${t||"inactive"}`})})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(2),i=r(3);const o=({description:e,targetEl:t,onSubmit:r})=>{const[o,s]=(0,n.useState)(!1),a=(0,n.cloneElement)(t,{onClick:()=>{s(!0)}});return(0,n.jsx)(i.Popover,{visible:o,"data-testid":"submit_popover",width:"sm",placement:"top-right",intent:"warning",onClose:()=>s(!1),target:a,children:(0,n.jsxs)("div",{children:[(0,n.jsx)(i.Section,{children:e}),(0,n.jsx)(i.Button,{size:"md",intent:"danger",onClick:()=>{r(),s(!1)},children:(0,n.jsx)(i.Translate,{content:"SubmitPopover.ok"})})," ",(0,n.jsx)(i.Button,{size:"md",onClick:()=>s(!1),children:(0,n.jsx)(i.Translate,{content:"SubmitPopover.cancel"})})]})})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(e,t)=>fetch(e,{credentials:"same-origin",...t})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s,dispatchAction:()=>a});var n=r(34),i=r(204),o=r(205);const s=({userActivityTracking:{enabled:e,firehose:t,debug:r},instanceId:s})=>{e&&(0,o.isAnalyticsAllowed)()&&n.default.init({instanceId:i.default.get("uat-iid")||s,accountLevel:"admin",accountId:"1",sessionId:i.default.get("uat-sid")||"0000",firehose:t,logger:r?console.log:null})},{dispatchAction:a}=n.default},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>_,getUrl:()=>u,prepareNodeData:()=>d,request:()=>v});var n=r(35),i=r.n(n),o=r(197),s=r.n(o);Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector);const a=document.createElement("a"),c=e=>{a.href=e;const{pathname:t,search:r,hash:n}=a,i=(({pathname:e,search:t})=>{const r=e.match(/^\/smb\/account\/switch\//i)?"returnUrl":"pageUrl",n=new RegExp(`${r}=([^&]*)`).exec(t);if(n&&n[1])try{return decodeURIComponent(n[1])}catch{}return null})(a);if(i)return c(i);if([/^\/smb\/file-manager\//i,/^\/(admin|smb)\/backup\//i,/\/hosting\/web-directories\//i].some(e=>t.match(e)))return t;const o=["searchText","sql_query","user","login","pass","token","key","mail"],s=r.replace(/^\?/,"").split("&").reduce((e,t)=>{if(!t.includes("="))return[...e,t];const[r]=t.split("=");return o.some(e=>r.toLocaleLowerCase().includes(e.toLowerCase()))?[...e,`${r}=*****`]:[...e,t]},[]).join("&");return`${t}${s?`?${s}`:""}${n}`},u=e=>{return e&&!s()(e,{protocols:["http","https"],require_host:!1})?null:e&&e.match(/^(?:[a-z]+:)?\/\//i)?(t=e,[/^https?:\/\/([\w-]+\.)*plesk\.com/i,/^https?:\/\/(www\.)?facebook\.com\/(groups\/)?plesk$/i,/^https?:\/\/(www\.)?twitter\.com\/plesk$/i].some(e=>t.match(e))?t.split("?")[0]:null):c(e||window.location.href);var t},p=e=>{if(!e||!e.localName)return null;let t=e.localName.toLowerCase();if(e.id&&(t+=`#${e.id}`),e.classList)for(let r=0,n=e.classList.length;r<n;++r)t+=`.${e.classList[r]}`;return t},l=(e,t)=>{let r=(e=>{let{target:t}=e;const{currentTarget:r,type:n}=e;return r&&r.tagName&&("load"===n||"error"===n||"click"===n&&"input"===r.tagName.toLowerCase()&&"radio"===r.type)&&(t=r),t.nodeType===Node.TEXT_NODE?t.parentNode:t})(e);if(!t)return r;for(;r;){if(r.nodeType===Node.ELEMENT_NODE&&r.matches(t))return r;r=r.parentNode}return null},d=(e,t,r)=>{const n={};return n.css=((e,t)=>{const r=[];for(let n=0;e&&e.nodeType===Node.ELEMENT_NODE&&n<t;e=e.parentNode,n++)r.splice(0,0,p(e));return r.length?r.join(" "):null})(e,5),e.id&&(n.id=e.id),r&&r.attributes&&r.attributes.forEach(t=>{if(!e.hasAttribute(t))return;const r="href"===t?u(e.getAttribute(t)):e.getAttribute(t);r&&(n[t]=r)}),["id","type","action",r&&r.dataset?r.dataset:[]].forEach(t=>{t in e.dataset&&("dataset"in n||(n.dataset={}),n.dataset[t]=e.dataset[t])}),n},f=e=>{const t={"|":encodeURIComponent("|"),"\n":encodeURIComponent("\n")};return e.map(e=>e?(Object.entries(t).forEach(([t,r])=>{e=e.replace(new RegExp(`\\${t}`,"g"),r)}),e):"")};let h,m,g=!1,y={};const v=(e,t,r)=>{const n={timestamp:(new Date).toISOString(),instanceId:m.instanceId,accountLevel:m.accountLevel,accountId:m.accountId,sessionId:m.sessionId,path:e.url||u(),action:e.name||null,result:r||null},o=((e,t)=>{const r={};e.post&&t&&(e.post.self&&e.post.self.forEach(function(e){if("value"===e)return;const n=t.getAttribute(e);n&&(r[e]=n)}),e.post.selfText&&(r.text=t.innerText)),e.data&&Object.keys(e.data).forEach(function(t){r[t]=e.data[t]});const n=(e=>{if(!e||!e.parentElement)return[];let t=e;const r=[];for(;t;)r.push(t.dataset.type),t=t.parentElement.closest("[data-type]");return r.length>1?r.slice(1):[]})(t);return n.length>0&&(r.parents=n),r})(e,t);((e,t,r)=>{if(!t.sessionId)return window.localStorage.getItem("uat-aid")||window.localStorage.setItem("uat-aid",Math.random().toString(36).slice(2)),void(r["uat-aid"]=window.localStorage.getItem("uat-aid"));"LOGIN"===e.name&&window.localStorage.getItem("uat-aid")&&(r["uat-aid"]=window.localStorage.getItem("uat-aid"),window.localStorage.removeItem("uat-aid"))})(e,m,o),m.parentId&&(o.parentId=m.parentId),Object.keys(o).length&&(n.additionalData=JSON.stringify(o)),"function"==typeof m.logger&&m.logger(n),m.firehose&&(h||(h=new(i())(m.firehose)),h.putRecord({DeliveryStreamName:m.sessionId?m.firehose.stream:m.firehose.noSessionStream,Record:{Data:`${f(Object.values(n)).join("|")}\n`}},()=>{}))};let S={contentLoad(e,t,r){"loading"===document.readyState?window.addEventListener("load",function(e){r.data=r.data||{},m.extensions&&(r.data.extensions=m.extensions),setTimeout(()=>{if(window.performance){const e=window.performance.timing;r.data.pageLoadTime=e.loadEventEnd-e.navigationStart,r.data.requestTime=e.responseEnd-e.requestStart,r.data.renderTime=e.domComplete-e.domLoading}v(r,e.target)},0)}):v(r,document)},historyReplaceState(e,t,r){window.history.replaceState=new Proxy(window.history.replaceState,{apply:(e,t,n)=>(r.data=r.data||{},m.extensions&&(r.data.extensions=m.extensions),v(r,document),e.apply(t,n))})},click:({elements:e},t,r,n)=>{document.addEventListener(n,function(t){if(!t.uatHandled)for(let n=0;n<e.length;n++){let i,{selector:o}=e[n];if(o){o=Array.isArray(o)?o:[o];for(let e=0;e<o.length&&!i;e++)i=l(t,o[e])}if(i){t.uatHandled=!0,v({...r,name:(i.dataset.action||r.name).toUpperCase(),data:d(i,t.target,e[n])},i);break}}},!0)}},b=[{expects:[{contentLoad:{}}]},{expects:[{historyReplaceState:{}}]},{name:"CLICK",expects:[{click:{elements:[{selector:"[data-action]"},{selector:"a",attributes:["href"]},{selector:"button"},{selector:['[class*="commonButton"]','[class*="btn"]','[class*="link"]','[class*="hint"]','[class*="button"]','[class*="control"]','[class*="close"]']},{selector:'[role="button"]'}]}}]}];const _={init(e){e&&!g&&(m=e,Object.keys(y).forEach(e=>{y[e]()}),b.forEach(function(e){e.expects.forEach(function(t){Object.keys(t).forEach(function(r){S[r]&&S[r](t[r],t,e,r)})})}),g=!0)},setPatches(e){y=e(y)},setActions(e){b=e(b)},setWatchers(e){S=e(S)},setLogger(e){m.logger=e},dispatchAction(e,t){g&&v({name:e,url:u(),data:t})},getConfig:()=>m}},(e,t,r)=>{r(36);var n=r(38),i=n.Service,o=n.apiLoader;o.services.firehose={},n.Firehose=i.defineService("firehose",["2015-08-04"]),Object.defineProperty(o.services.firehose,"2015-08-04",{get:function(){var e=r(195);return e.paginators=r(196).pagination,e},enumerable:!0,configurable:!0}),e.exports=n.Firehose},(e,t,r)=>{var n=r(37);n.crypto.lib=r(157),n.Buffer=r(160).Buffer,n.url=r(167),n.querystring=r(169),n.realClock=r(172),n.environment="js",n.createEventStream=r(173).createEventStream,n.isBrowser=function(){return!0},n.isNode=function(){return!1};var i=r(38);if(e.exports=i,r(69),r(70),r(179),r(185),r(186),r(187),r(191),i.XML.Parser=r(192),r(193),void 0===o)var o={browser:!0}},(e,t,r)=>{var n,i={environment:"nodejs",engine:function(){if(i.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=process.platform+"/"+process.version;return process.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+process.env.AWS_EXECUTION_ENV),e},userAgent:function(){var e=i.environment,t="aws-sdk-"+e+"/"+r(38).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,n=Object.keys(e).sort();return i.arrayEach(n,function(n){var o=e[n],s=r(n),a=s+"=";if(Array.isArray(o)){var c=[];i.arrayEach(o,function(e){c.push(r(e))}),a=s+"="+c.sort().join("&"+s+"=")}else null!=o&&(a=s+"="+r(o));t.push(a)}),t.join("&")},readFileSync:function(e){return i.isBrowser()?null:r(146).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?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?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 n=new i.Buffer(e);return void 0!==t&&"function"==typeof n.fill&&n.fill(t,void 0,void 0,r),n},toStream:function(e){i.Buffer.isBuffer(e)||(e=i.buffer.toBuffer(e));var t=new i.stream.Readable,r=0;return t._read=function(n){if(r>=e.length)return t.push(null);var i=r+n;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r,n=0,o=0;for(r=0;r<e.length;r++)n+=e[r].length;for(t=i.buffer.alloc(n),r=0;r<e.length;r++)e[r].copy(t,o),o+=e[r].length;return t}},string:{byteLength:function(e){if(null==e)return 0;if("string"==typeof e&&(e=i.buffer.toBuffer(e)),"number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("string"==typeof e.path)return r(146).lstatSync(e.path).size;throw i.error(new Error("Cannot determine length of "+e),{object:e})},upperFirst:function(e){return e[0].toUpperCase()+e.substr(1)},lowerFirst:function(e){return e[0].toLowerCase()+e.substr(1)}},ini:{parse:function(e){var t,r={};return i.arrayEach(e.split(/\r?\n/),function(e){if("["===(e=e.split(/(^|\s)[;#]/)[0].trim())[0]&&"]"===e[e.length-1]){if("__proto__"===(t=e.substring(1,e.length-1))||"__proto__"===t.split(/\s/)[1])throw i.error(new Error("Cannot load profile name '"+t+"' from shared ini file."))}else if(t){var n=e.indexOf("="),o=e.length-1;if(-1!==n&&0!==n&&n!==o){var s=e.substring(0,n).trim(),a=e.substring(n+1).trim();r[t]=r[t]||{},r[t][s]=a}}}),r}},fn:{noop:function(){},callback:function(e){if(e)throw e},makeAsync:function(e,t){return t&&t<=e.length?e:function(){var t=Array.prototype.slice.call(arguments,0);t.pop()(e.apply(null,t))}}},date:{getDate:function(){return n||(n=r(38)),n.config.systemClockOffset?new Date((new Date).getTime()+n.config.systemClockOffset):new Date},iso8601:function(e){return void 0===e&&(e=i.date.getDate()),e.toISOString().replace(/\.\d{3}Z$/,"Z")},rfc822:function(e){return void 0===e&&(e=i.date.getDate()),e.toUTCString()},unixTimestamp:function(e){return void 0===e&&(e=i.date.getDate()),e.getTime()/1e3},from:function(e){return"number"==typeof e?new Date(1e3*e):new Date(e)},format:function(e,t){return t||(t="iso8601"),i.date[t](i.date.from(e))},parseTimestamp:function(e){if("number"==typeof e)return new Date(1e3*e);if(e.match(/^\d+$/))return new Date(1e3*e);if(e.match(/^\d{4}/))return new Date(e);if(e.match(/^\w{3},/))return new Date(e);throw i.error(new Error("unhandled timestamp format: "+e),{code:"TimestampParserError"})}},crypto:{crc32Table:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],crc32:function(e){var t=i.crypto.crc32Table,r=~0;"string"==typeof e&&(e=i.buffer.toBuffer(e));for(var n=0;n<e.length;n++){r=r>>>8^t[255&(r^e.readUInt8(n))]}return(-1^r)>>>0},hmac:function(e,t,r,n){return r||(r="binary"),"buffer"===r&&(r=void 0),n||(n="sha256"),"string"==typeof t&&(t=i.buffer.toBuffer(t)),i.crypto.lib.createHmac(n,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,n){var o=i.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=i.buffer.toBuffer(t));var s=i.arraySliceFn(t),a=i.Buffer.isBuffer(t);if(i.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(a=!0),n&&"object"==typeof t&&"function"==typeof t.on&&!a)t.on("data",function(e){o.update(e)}),t.on("error",function(e){n(e)}),t.on("end",function(){n(null,o.digest(r))});else{if(!n||!s||a||"undefined"==typeof FileReader){i.isBrowser()&&"object"==typeof t&&!a&&(t=new i.Buffer(new Uint8Array(t)));var c=o.update(t).digest(r);return n&&n(null,c),c}var u=0,p=new FileReader;p.onerror=function(){n(new Error("Failed to read data."))},p.onload=function(){var e=new i.Buffer(new Uint8Array(p.result));o.update(e),u+=e.length,p._continueReading()},p._continueReading=function(){if(u>=t.size)n(null,o.digest(r));else{var e=u+524288;e>t.size&&(e=t.size),p.readAsArrayBuffer(s.call(t,u,e))}},p._continueReading()}},toHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push(("0"+e.charCodeAt(r).toString(16)).substr(-2,2));return t.join("")},createHash:function(e){return i.crypto.lib.createHash(e)}},abort:{},each:function(e,t){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))if(t.call(this,r,e[r])===i.abort)break}},arrayEach:function(e,t){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))if(t.call(this,e[r],parseInt(r,10))===i.abort)break}},update:function(e,t){return i.each(t,function(t,r){e[t]=r}),e},merge:function(e,t){return i.update(i.copy(e),t)},copy:function(e){if(null==e)return e;var t={};for(var r in e)t[r]=e[r];return t},isEmpty:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},arraySliceFn:function(e){var t=e.slice||e.webkitSlice||e.mozSlice;return"function"==typeof t?t:null},isType:function(e,t){return"function"==typeof t&&(t=i.typeName(t)),Object.prototype.toString.call(e)==="[object "+t+"]"},typeName:function(e){if(Object.prototype.hasOwnProperty.call(e,"name"))return e.name;var t=e.toString(),r=t.match(/^\s*function (.+)\(/);return r?r[1]:t},error:function(e,t){var r=null;for(var n in"string"==typeof e.message&&""!==e.message&&("string"==typeof t||t&&t.message)&&((r=i.copy(e)).message=e.message),e.message=e.message||null,"string"==typeof t?e.message=t:"object"==typeof t&&null!==t&&(i.update(e,t),t.message&&(e.message=t.message),(t.code||t.name)&&(e.code=t.code||t.name),t.stack&&(e.stack=t.stack)),"function"==typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=String(t&&t.name||e.name||e.code||"Error"),e.time=new Date,r&&(e.originalError=r),t||{})if("["===n[0]&&"]"===n[n.length-1]){if("code"===(n=n.slice(1,-1))||"message"===n)continue;e["["+n+"]"]="See error."+n+" for details.",Object.defineProperty(e,n,{value:e[n]||t&&t[n]||r&&r[n],enumerable:!1,writable:!0})}return e},inherit:function(e,t){var r=null;if(void 0===t)t=e,e=Object,r={};else{var n=function(){};n.prototype=e.prototype,r=new n}return t.constructor===Object&&(t.constructor=function(){if(e!==Object)return e.apply(this,arguments)}),t.constructor.prototype=r,i.update(t.constructor.prototype,t),t.constructor.__super__=e,t.constructor},mixin:function(){for(var e=arguments[0],t=1;t<arguments.length;t++)for(var r in arguments[t].prototype){var n=arguments[t].prototype[r];"constructor"!==r&&(e.prototype[r]=n)}return e},hideProperties:function(e,t){"function"==typeof Object.defineProperty&&i.arrayEach(t,function(t){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0})})},property:function(e,t,r,n,i){var o={configurable:!0,enumerable:void 0===n||n};"function"!=typeof r||i?(o.value=r,o.writable=!0):o.get=r,Object.defineProperty(e,t,o)},memoizedProperty:function(e,t,r,n){var o=null;i.property(e,t,function(){return null===o&&(o=r()),o},n)},hoistPayloadMember:function(e){var t=e.request,r=t.operation,n=t.service.api.operations[r],o=n.output;if(o.payload&&!n.hasEventOutput){var s=o.members[o.payload],a=e.data[o.payload];"structure"===s.type&&i.each(a,function(t,r){i.property(e.data,t,r,!1)})}},computeSha256:function(e,t){if(i.isNode()){var n=i.stream.Stream,o=r(146);if("function"==typeof n&&e instanceof n){if("string"!=typeof e.path)return t(new Error("Non-file stream objects are not supported with SigV4"));var s={};"number"==typeof e.start&&(s.start=e.start),"number"==typeof e.end&&(s.end=e.end),e=o.createReadStream(e.path,s)}}i.crypto.sha256(e,"hex",function(e,r){e?t(e):t(null,r)})},isClockSkewed:function(e){if(e)return i.property(n.config,"isClockSkewed",Math.abs((new Date).getTime()-e)>=3e5,!1),n.config.isClockSkewed},applyClockOffset:function(e){e&&(n.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&&n&&n.config&&(t=n.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<e.length;i++){var o=e[i];r?o.deletePromisesFromClass&&o.deletePromisesFromClass():o.addPromisesToClass&&o.addPromisesToClass(t)}},promisifyMethod:function(e,t){return function(){var r=this,n=Array.prototype.slice.call(arguments);return new t(function(t,i){n.push(function(e,r){e?i(e):t(r)}),r[e].apply(r,n)})}},isDualstackAvailable:function(e){if(!e)return!1;var t=r(59);return"string"!=typeof e&&(e=e.serviceIdentifier),!("string"!=typeof e||!t.hasOwnProperty(e))&&!!t[e].dualstackAvailable},calculateRetryDelay:function(e,t,r){t||(t={});var n=t.customBackoff||null;if("function"==typeof n)return n(e,r);var i="number"==typeof t.base?t.base:100;return Math.random()*(Math.pow(2,e)*i)},handleRequestWithRetries:function(e,t,r){t||(t={});var o=n.HttpClient.getInstance(),s=t.httpOptions||{},a=0,c=function(e){var n=t.maxRetries||0;if(e&&"TimeoutError"===e.code&&(e.retryable=!0),e&&e.retryable&&a<n){var o=i.calculateRetryDelay(a,t.retryDelayOptions,e);if(o>=0)return a++,void setTimeout(u,o+(e.retryAfter||0))}r(e)},u=function(){var t="";o.handleRequest(e,s,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var n=e.statusCode;if(n<300)r(null,t);else{var o=1e3*parseInt(e.headers["retry-after"],10)||0,s=i.error(new Error,{statusCode:n,retryable:n>=500||429===n});o&&s.retryable&&(s.retryAfter=o),c(s)}})},c)};n.util.defer(u)},uuid:{v4:function(){return r(147).v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,n=t.service.api.operations[r].output||{};n.payload&&e.data[n.payload]&&(e.data[n.payload]=e.data[n.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={},n={};if(process.env[i.configOptInEnv])n=e.loadFrom({isConfig:!0,filename:process.env[i.sharedConfigFileEnv]});var o={};try{o=e.loadFrom({filename:t||process.env[i.configOptInEnv]&&process.env[i.sharedCredentialsFileEnv]})}catch(e){if(!process.env[i.configOptInEnv])throw e}for(var s=0,a=Object.keys(n);s<a.length;s++)r[a[s]]=c(r[a[s]]||{},n[a[s]]);for(s=0,a=Object.keys(o);s<a.length;s++)r[a[s]]=c(r[a[s]]||{},o[a[s]]);return r;function c(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++)e[n[r]]=t[n[r]];return e}},ARN:{validate:function(e){return e&&0===e.indexOf("arn:")&&e.split(":").length>=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},(e,t,r)=>{var n={util:r(37)};({}).toString(),e.exports=n,n.util.update(n,{VERSION:"2.1692.0",Signers:{},Protocol:{Json:r(39),Query:r(43),Rest:r(47),RestJson:r(48),RestXml:r(49)},XML:{Builder:r(50),Parser:null},JSON:{Builder:r(40),Parser:r(41)},Model:{Api:r(55),Operation:r(56),Shape:r(45),Paginator:r(57),ResourceWaiter:r(58)},apiLoader:r(60),EndpointCache:r(61).EndpointCache}),r(63),r(64),r(68),r(71),r(72),r(130),r(133),r(134),r(135),r(144),r(145),n.events=new n.SequentialExecutor,n.util.memoizedProperty(n,"endpointCache",function(){return new n.EndpointCache(n.config.endpointCacheSize)},!0)},(e,t,r)=>{var n=r(37),i=r(40),o=r(41),s=r(42).populateHostPrefix;e.exports={buildRequest:function(e){var t=e.httpRequest,r=e.service.api,n=r.targetPrefix+"."+r.operations[e.operation].name,o=r.jsonVersion||"1.0",a=r.operations[e.operation].input,c=new i;1===o&&(o="1.0"),r.awsQueryCompatible&&(t.params||(t.params={}),Object.assign(t.params,e.params)),t.body=c.build(e.params||{},a),t.headers["Content-Type"]="application/x-amz-json-"+o,t.headers["X-Amz-Target"]=n,s(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()),o=i.__type||i.code||i.Code;for(var s in o&&(t.code=o.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null,i||{})"code"!==s&&"message"!==s&&(t["["+s+"]"]="See error."+s+" for details.",Object.defineProperty(t,s,{value:i[s],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=n.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||{},n=new o;e.data=n.parse(t,r)}}}},(e,t,r)=>{var n=r(37);function i(){}function o(e,t){if(t&&null!=e)switch(t.type){case"structure":return function(e,t){if(t.isDocument)return e;var r={};return n.each(e,function(e,n){var i=t.members[e];if(i){if("body"!==i.location)return;var s=i.isLocationName?i.name:e,a=o(n,i);void 0!==a&&(r[s]=a)}}),r}(e,t);case"map":return function(e,t){var r={};return n.each(e,function(e,n){var i=o(n,t.value);void 0!==i&&(r[e]=i)}),r}(e,t);case"list":return function(e,t){var r=[];return n.arrayEach(e,function(e){var n=o(e,t.member);void 0!==n&&r.push(n)}),r}(e,t);default:return function(e,t){return t.toWireFormat(e)}(e,t)}}i.prototype.build=function(e,t){return JSON.stringify(o(e,t))},e.exports=i},(e,t,r)=>{var n=r(37);function i(){}function o(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,s=t.api&&t.api.awsQueryCompatible;return n.each(i,function(t,n){var i=n.isLocationName?n.name:t;if(Object.prototype.hasOwnProperty.call(e,i)){var a=o(e[i],n);void 0!==a&&(r[t]=a)}else s&&n.defaultValue&&"list"===n.type&&(r[t]="function"==typeof n.defaultValue?n.defaultValue():n.defaultValue)}),r}(e,t);case"map":return function(e,t){if(null==e)return;var r={};return n.each(e,function(e,n){var i=o(n,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 n.arrayEach(e,function(e){var n=o(e,t.member);void 0===n?r.push(null):r.push(n)}),r}(e,t);default:return function(e,t){return t.toType(e)}(e,t)}}i.prototype.parse=function(e,t){return o(JSON.parse(e),t)},e.exports=i},(e,t,r)=>{var n=r(37),i=r(38);e.exports={populateHostPrefix:function(e){if(!e.service.config.hostPrefixEnabled)return e;var t,r,o,s=e.service.api.operations[e.operation];if(function(e){var t=e.service.api,r=t.operations[e.operation],i=t.endpointOperation&&t.endpointOperation===n.string.lowerFirst(r.name);return"NULL"!==r.endpointDiscoveryRequired||!0===i}(e))return e;if(s.endpoint&&s.endpoint.hostPrefix){var a=function(e,t,r){return n.each(r.members,function(r,i){if(!0===i.hostLabel){if("string"!=typeof t[r]||""===t[r])throw n.error(new Error,{message:"Parameter "+r+" should be a non-empty string.",code:"InvalidParameter"});var o=new RegExp("\\{"+r+"\\}","g");e=e.replace(o,t[r])}}),e}(s.endpoint.hostPrefix,e.params,s.input);!function(e,t){e.host&&(e.host=t+e.host);e.hostname&&(e.hostname=t+e.hostname)}(e.httpRequest.endpoint,a),t=e.httpRequest.endpoint.hostname,r=t.split("."),o=/^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/,n.arrayEach(r,function(e){if(!e.length||e.length<1||e.length>63)throw n.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!o.test(e))throw i.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}return e}}},(e,t,r)=>{var n=r(38),i=r(37),o=r(44),s=r(45),a=r(42).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 o).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=i.queryParamsToString(r.params),a(e)},extractError:function(e){var t,r=e.httpResponse.body.toString();if(r.match("<UnknownOperationException"))t={Code:"UnknownOperation",Message:"Unknown operation "+e.request.operation};else try{t=(new n.XML.Parser).parse(r)}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.requestId&&!e.requestId&&(e.requestId=t.requestId),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=e.request,r=t.service.api.operations[t.operation].output||{},o=r;if(o.resultWrapper){var a=s.create({type:"structure"});a.members[o.resultWrapper]=r,a.memberNames=[o.resultWrapper],i.property(r,"name",r.resultWrapper),r=a}var c=new n.XML.Parser;if(r&&r.members&&!r.members._XAMZRequestId){var u=s.create({type:"string"},{api:{protocol:"query"}},"requestId");r.members._XAMZRequestId=u}var p=c.parse(e.httpResponse.body.toString(),r);e.requestId=p._XAMZRequestId||p.requestId,p._XAMZRequestId&&delete p._XAMZRequestId,o.resultWrapper&&p[o.resultWrapper]&&(i.update(p,p[o.resultWrapper]),delete p[o.resultWrapper]),e.data=p}}},(e,t,r)=>{var n=r(37);function i(){}function o(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){n.each(r.members,function(r,n){var s=t[r];if(null!=s){var c=o(n);a(c=e?e+"."+c:c,s,n,i)}})}function a(e,t,r,i){null!=t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?function(e,t,r,i){var s=r.member||{};0!==t.length?n.arrayEach(t,function(t,n){var c="."+(n+1);if("ec2"===r.api.protocol)c+="";else if(r.flattened){if(s.name){var u=e.split(".");u.pop(),u.push(o(s)),e=u.join(".")}}else c="."+(s.name?s.name:"member")+c;a(e+c,t,s,i)}):"ec2"!==r.api.protocol&&i.call(this,e,null)}(e,t,r,i):"map"===r.type?function(e,t,r,i){var o=1;n.each(t,function(t,n){var s=(r.flattened?".":".entry.")+o+++".",c=s+(r.key.name||"key"),u=s+(r.value.name||"value");a(e+c,t,r.key,i),a(e+u,n,r.value,i)})}(e,t,r,i):i(e,r.toWireFormat(t).toString()))}i.prototype.serialize=function(e,t,r){s("",e,t,r)},e.exports=i},(e,t,r)=>{var n=r(46),i=r(37);function o(e,t,r){null!=r&&i.property.apply(this,arguments)}function s(e,t){e.constructor.prototype[t]||i.memoizedProperty.apply(this,arguments)}function a(e,t,r){t=t||{},o(this,"shape",e.shape),o(this,"api",t.api,!1),o(this,"type",e.type),o(this,"enum",e.enum),o(this,"min",e.min),o(this,"max",e.max),o(this,"pattern",e.pattern),o(this,"location",e.location||this.location||"body"),o(this,"name",this.name||e.xmlName||e.queryName||e.locationName||r),o(this,"isStreaming",e.streaming||this.isStreaming||!1),o(this,"requiresLength",e.requiresLength,!1),o(this,"isComposite",e.isComposite||!1),o(this,"isShape",!0,!1),o(this,"isQueryName",Boolean(e.queryName),!1),o(this,"isLocationName",Boolean(e.locationName),!1),o(this,"isIdempotent",!0===e.idempotencyToken),o(this,"isJsonValue",!0===e.jsonvalue),o(this,"isSensitive",!0===e.sensitive||e.prototype&&!0===e.prototype.sensitive),o(this,"isEventStream",Boolean(e.eventstream),!1),o(this,"isEvent",Boolean(e.event),!1),o(this,"isEventPayload",Boolean(e.eventpayload),!1),o(this,"isEventHeader",Boolean(e.eventheader),!1),o(this,"isTimestampFormatSet",Boolean(e.timestampFormat)||e.prototype&&!0===e.prototype.isTimestampFormatSet,!1),o(this,"endpointDiscoveryId",Boolean(e.endpointdiscoveryid),!1),o(this,"hostLabel",Boolean(e.hostLabel),!1),t.documentation&&(o(this,"documentation",e.documentation),o(this,"documentationUrl",e.documentationUrl)),e.xmlAttribute&&o(this,"isXmlAttribute",e.xmlAttribute||!1),o(this,"defaultValue",null),this.toWireFormat=function(e){return null==e?"":e},this.toType=function(e){return e}}function c(e){a.apply(this,arguments),o(this,"isComposite",!0),e.flattened&&o(this,"flattened",e.flattened||!1)}function u(e,t){var r=this,i=null,u=!this.isShape;c.apply(this,arguments),u&&(o(this,"defaultValue",function(){return{}}),o(this,"members",{}),o(this,"memberNames",[]),o(this,"required",[]),o(this,"isRequired",function(){return!1}),o(this,"isDocument",Boolean(e.document))),e.members&&(o(this,"members",new n(e.members,t,function(e,r){return a.create(r,t,e)})),s(this,"memberNames",function(){return e.xmlOrder||Object.keys(e.members)}),e.event&&(s(this,"eventPayloadMemberName",function(){for(var e=r.members,t=r.memberNames,n=0,i=t.length;n<i;n++)if(e[t[n]].isEventPayload)return t[n]}),s(this,"eventHeaderMemberNames",function(){for(var e=r.members,t=r.memberNames,n=[],i=0,o=t.length;i<o;i++)e[t[i]].isEventHeader&&n.push(t[i]);return n}))),e.required&&(o(this,"required",e.required),o(this,"isRequired",function(t){if(!i){i={};for(var r=0;r<e.required.length;r++)i[e.required[r]]=!0}return i[t]},!1,!0)),o(this,"resultWrapper",e.resultWrapper||null),e.payload&&o(this,"payload",e.payload),"string"==typeof e.xmlNamespace?o(this,"xmlNamespaceUri",e.xmlNamespace):"object"==typeof e.xmlNamespace&&(o(this,"xmlNamespacePrefix",e.xmlNamespace.prefix),o(this,"xmlNamespaceUri",e.xmlNamespace.uri))}function p(e,t){var r=this,n=!this.isShape;if(c.apply(this,arguments),n&&o(this,"defaultValue",function(){return[]}),e.member&&s(this,"member",function(){return a.create(e.member,t)}),this.flattened){var i=this.name;s(this,"name",function(){return r.member.name||i})}}function l(e,t){var r=!this.isShape;c.apply(this,arguments),r&&(o(this,"defaultValue",function(){return{}}),o(this,"key",a.create({type:"string"},t)),o(this,"value",a.create({type:"string"},t))),e.key&&s(this,"key",function(){return a.create(e.key,t)}),e.value&&s(this,"value",function(){return a.create(e.value,t)})}function d(){a.apply(this,arguments);var e=["rest-xml","query","ec2"];this.toType=function(t){return t=this.api&&e.indexOf(this.api.protocol)>-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 f(){a.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 h(){f.apply(this,arguments)}function m(){a.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null==e?null:"true"===e}}a.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},a.types={structure:u,list:p,map:l,boolean:m,timestamp:function(e){var t=this;if(a.apply(this,arguments),e.timestampFormat)o(this,"timestampFormat",e.timestampFormat);else if(t.isTimestampFormatSet&&this.timestampFormat)o(this,"timestampFormat",this.timestampFormat);else if("header"===this.location)o(this,"timestampFormat","rfc822");else if("querystring"===this.location)o(this,"timestampFormat","iso8601");else if(this.api)switch(this.api.protocol){case"json":case"rest-json":o(this,"timestampFormat","unixTimestamp");break;case"rest-xml":case"query":case"ec2":o(this,"timestampFormat","iso8601")}this.toType=function(e){return null==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(){a.apply(this,arguments),this.toType=function(e){return null==e?null:parseFloat(e)},this.toWireFormat=this.toType},integer:function(){a.apply(this,arguments),this.toType=function(e){return null==e?null:parseInt(e,10)},this.toWireFormat=this.toType},string:d,base64:h,binary:f},a.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},a.create=function(e,t,r){if(e.isShape)return e;var n=a.resolve(e,t);if(n){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var o=function(){n.constructor.call(this,e,t,r)};return o.prototype=n,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var s=e.type;if(a.normalizedTypes[e.type]&&(e.type=a.normalizedTypes[e.type]),a.types[e.type])return new a.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+s)},a.shapes={StructureShape:u,ListShape:p,MapShape:l,StringShape:d,BooleanShape:m,Base64Shape:h},e.exports=a},(e,t,r)=>{var n=r(37).memoizedProperty;function i(e,t,r,i){n(this,i(e),function(){return r(e,t)})}e.exports=function(e,t,r,n,o){for(var s in n=n||String,e)Object.prototype.hasOwnProperty.call(e,s)&&(i.call(this,s,e[s],r,n),o&&o(s,e[s]))}},(e,t,r)=>{var n=r(37),i=r(42).populateHostPrefix;function o(e,t,r,i){var o=[e,t].join("/");o=o.replace(/\/+/g,"/");var s={},a=!1;if(n.each(r.members,function(e,t){var r=i[e];if(null!=r)if("uri"===t.location){var c=new RegExp("\\{"+t.name+"(\\+)?\\}");o=o.replace(c,function(e,t){return(t?n.uriEscapePath:n.uriEscape)(String(r))})}else"querystring"===t.location&&(a=!0,"list"===t.type?s[t.name]=r.map(function(e){return n.uriEscape(t.member.toWireFormat(e).toString())}):"map"===t.type?n.each(r,function(e,t){Array.isArray(t)?s[e]=t.map(function(e){return n.uriEscape(String(e))}):s[e]=n.uriEscape(String(t))}):s[t.name]=n.uriEscape(t.toWireFormat(r).toString()))}),a){o+=o.indexOf("?")>=0?"&":"?";var c=[];n.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t<s[e].length;t++)c.push(n.uriEscape(String(e))+"="+s[e][t])}),o+=c.join("&")}return o}e.exports={buildRequest:function(e){!function(e){e.httpRequest.method=e.service.api.operations[e.operation].httpMethod}(e),function(e){var t=e.service.api.operations[e.operation],r=t.input,n=o(e.httpRequest.endpoint.path,t.httpPath,r,e.params);e.httpRequest.path=n}(e),function(e){var t=e.service.api.operations[e.operation];n.each(t.input.members,function(t,r){var i=e.params[t];null!=i&&("headers"===r.location&&"map"===r.type?n.each(i,function(t,n){e.httpRequest.headers[r.name+t]=n}):"header"===r.location&&(i=r.toWireFormat(i).toString(),r.isJsonValue&&(i=n.base64.encode(i)),e.httpRequest.headers[r.name]=i))})}(e),i(e)},extractError:function(){},extractData:function(e){var t=e.request,r={},i=e.httpResponse,o=t.service.api.operations[t.operation].output,s={};n.each(i.headers,function(e,t){s[e.toLowerCase()]=t}),n.each(o.members,function(e,t){var o=(t.name||e).toLowerCase();if("headers"===t.location&&"map"===t.type){r[e]={};var a=t.isLocationName?t.name:"",c=new RegExp("^"+a+"(.+)","i");n.each(i.headers,function(t,n){var i=t.match(c);null!==i&&(r[e][i[1]]=n)})}else if("header"===t.location){if(void 0!==s[o]){var u=t.isJsonValue?n.base64.decode(s[o]):s[o];r[e]=t.toType(u)}}else"statusCode"===t.location&&(r[e]=parseInt(i.statusCode,10))}),e.data=r},generateURI:o}},(e,t,r)=>{var n=r(38),i=r(37),o=r(47),s=r(39),a=r(40),c=r(41),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){o.buildRequest(e),u.indexOf(e.httpRequest.method)<0&&function(e){var t=new a,r=e.service.api.operations[e.operation].input;if(r.payload){var n,i=r.members[r.payload];n=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(n||{},i),p(e)):void 0!==n&&(e.httpRequest.body=n,("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){o.extractData(e);var t=e.request,r=t.service.api.operations[t.operation],a=t.service.api.operations[t.operation].output||{};if(r.hasEventOutput,a.payload){var u=a.members[a.payload],p=e.httpResponse.body;if(u.isEventStream)l=new c,e.data[a.payload]=i.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:p,l,u);else if("structure"===u.type||"list"===u.type){var l=new c;e.data[a.payload]=l.parse(p,u)}else"binary"===u.type||u.isStreaming?e.data[a.payload]=p:e.data[a.payload]=u.toType(p)}else{var d=e.data;s.extractData(e),e.data=i.merge(d,e.data)}},unsetContentLength:function(e){void 0===i.getRequestPayloadShape(e)&&u.indexOf(e.httpRequest.method)>=0&&delete e.httpRequest.headers["Content-Length"]}}},(e,t,r)=>{var n=r(38),i=r(37),o=r(47);e.exports={buildRequest:function(e){o.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&function(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,o=e.params,s=t.payload;if(s){var a=t.members[s];if(void 0===(o=o[s]))return;if("structure"===a.type){var c=a.name;e.httpRequest.body=r.toXML(o,a,c,!0)}else e.httpRequest.body=o}else e.httpRequest.body=r.toXML(o,t,t.name||t.shape||i.string.upperFirst(e.operation)+"Request")}(e)},extractError:function(e){var t;o.extractError(e);try{t=(new n.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;o.extractData(e);var r=e.request,s=e.httpResponse.body,a=r.service.api.operations[r.operation],c=a.output,u=(a.hasEventOutput,c.payload);if(u){var p=c.members[u];p.isEventStream?(t=new n.XML.Parser,e.data[u]=i.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,p)):"structure"===p.type?(t=new n.XML.Parser,e.data[u]=t.parse(s.toString(),p)):"binary"===p.type||p.isStreaming?e.data[u]=s:e.data[u]=p.toType(s)}else if(s.length>0){var l=(t=new n.XML.Parser).parse(s.toString(),c);i.update(e.data,l)}}}},(e,t,r)=>{var n=r(37),i=r(51).XmlNode,o=r(53).XmlText;function s(){}function a(e,t,r){switch(r.type){case"structure":return function(e,t,r){n.arrayEach(r.memberNames,function(n){var o=r.members[n];if("body"===o.location){var s=t[n],u=o.name;if(null!=s)if(o.isXmlAttribute)e.addAttribute(u,s);else if(o.flattened)a(e,s,o);else{var p=new i(u);e.addChildNode(p),c(p,o),a(p,s,o)}}})}(e,t,r);case"map":return function(e,t,r){var o=r.key.name||"key",s=r.value.name||"value";n.each(t,function(t,n){var c=new i(r.flattened?r.name:"entry");e.addChildNode(c);var u=new i(o),p=new i(s);c.addChildNode(u),c.addChildNode(p),a(u,t,r.key),a(p,n,r.value)})}(e,t,r);case"list":return function(e,t,r){r.flattened?n.arrayEach(t,function(t){var n=r.member.name||r.name,o=new i(n);e.addChildNode(o),a(o,t,r.member)}):n.arrayEach(t,function(t){var n=r.member.name||"member",o=new i(n);e.addChildNode(o),a(o,t,r.member)})}(e,t,r);default:return function(e,t,r){e.addChildNode(new o(r.toWireFormat(t)))}(e,t,r)}}function c(e,t,r){var n,i="xmlns";t.xmlNamespaceUri?(n=t.xmlNamespaceUri,t.xmlNamespacePrefix&&(i+=":"+t.xmlNamespacePrefix)):r&&t.api.xmlNamespaceUri&&(n=t.api.xmlNamespaceUri),n&&e.addAttribute(i,n)}s.prototype.toXML=function(e,t,r,n){var o=new i(r);return c(o,t,!0),a(o,e,t),o.children.length>0||n?o.toString():""},e.exports=s},(e,t,r)=>{var n=r(52).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,o=Object.keys(r);i<o.length;i++){var s=o[i],a=r[s];null!=a&&(t+=" "+s+'="'+n(""+a)+'"')}return t+(e?">"+this.children.map(function(e){return e.toString()}).join("")+"</"+this.name+">":"/>")},e.exports={XmlNode:i}},e=>{e.exports={escapeAttribute:function(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}}},(e,t,r)=>{var n=r(54).escapeElement;function i(e){this.value=e}i.prototype.toString=function(){return n(""+this.value)},e.exports={XmlText:i}},e=>{e.exports={escapeElement:function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
").replace(/\n/g,"
").replace(/\u0085/g,"…").replace(/\u2028/,"
")}}},(e,t,r)=>{var n=r(46),i=r(56),o=r(45),s=r(57),a=r(58),c=r(59),u=r(37),p=u.property,l=u.memoizedProperty;e.exports=function(e,t){var r=this;e=e||{},(t=t||{}).api=this,e.metadata=e.metadata||{};var d=t.serviceIdentifier;delete t.serviceIdentifier,p(this,"isApi",!0,!1),p(this,"apiVersion",e.metadata.apiVersion),p(this,"endpointPrefix",e.metadata.endpointPrefix),p(this,"signingName",e.metadata.signingName),p(this,"globalEndpoint",e.metadata.globalEndpoint),p(this,"signatureVersion",e.metadata.signatureVersion),p(this,"jsonVersion",e.metadata.jsonVersion),p(this,"targetPrefix",e.metadata.targetPrefix),p(this,"protocol",e.metadata.protocol),p(this,"timestampFormat",e.metadata.timestampFormat),p(this,"xmlNamespaceUri",e.metadata.xmlNamespace),p(this,"abbreviation",e.metadata.serviceAbbreviation),p(this,"fullName",e.metadata.serviceFullName),p(this,"serviceId",e.metadata.serviceId),d&&c[d]&&p(this,"xmlNoDefaultLists",c[d].xmlNoDefaultLists,!1),l(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}),p(this,"operations",new n(e.operations,t,function(e,r){return new i(e,r,t)},u.string.lowerFirst,function(e,t){!0===t.endpointoperation&&p(r,"endpointOperation",u.string.lowerFirst(e)),t.endpointdiscovery&&!r.hasRequiredEndpointDiscovery&&p(r,"hasRequiredEndpointDiscovery",!0===t.endpointdiscovery.required)})),p(this,"shapes",new n(e.shapes,t,function(e,r){return o.create(r,t)})),p(this,"paginators",new n(e.paginators,t,function(e,r){return new s(e,r,t)})),p(this,"waiters",new n(e.waiters,t,function(e,r){return new a(e,r,t)},u.string.lowerFirst)),t.documentation&&(p(this,"documentation",e.documentation),p(this,"documentationUrl",e.documentationUrl)),p(this,"awsQueryCompatible",e.metadata.awsQueryCompatible)}},(e,t,r)=>{var n=r(45),i=r(37),o=i.property,s=i.memoizedProperty;e.exports=function(e,t,r){var i=this;r=r||{},o(this,"name",t.name||e),o(this,"api",r.api,!1),t.http=t.http||{},o(this,"endpoint",t.endpoint),o(this,"httpMethod",t.http.method||"POST"),o(this,"httpPath",t.http.requestUri||"/"),o(this,"authtype",t.authtype||""),o(this,"endpointDiscoveryRequired",t.endpointdiscovery?t.endpointdiscovery.required?"REQUIRED":"OPTIONAL":"NULL");var a=t.httpChecksumRequired||t.httpChecksum&&t.httpChecksum.requestChecksumRequired;o(this,"httpChecksumRequired",a,!1),s(this,"input",function(){return t.input?n.create(t.input,r):new n.create({type:"structure"},r)}),s(this,"output",function(){return t.output?n.create(t.output,r):new n.create({type:"structure"},r)}),s(this,"errors",function(){var e=[];if(!t.errors)return null;for(var i=0;i<t.errors.length;i++)e.push(n.create(t.errors[i],r));return e}),s(this,"paginator",function(){return r.api.paginators[e]}),r.documentation&&(o(this,"documentation",t.documentation),o(this,"documentationUrl",t.documentationUrl)),s(this,"idempotentMembers",function(){var e=[],t=i.input,r=t.members;if(!t.members)return e;for(var n in r)r.hasOwnProperty(n)&&!0===r[n].isIdempotent&&e.push(n);return e}),s(this,"hasEventOutput",function(){return function(e){var t=e.members,r=e.payload;if(!e.members)return!1;if(r){return t[r].isEventStream}for(var n in t)if(!t.hasOwnProperty(n)&&!0===t[n].isEventStream)return!0;return!1}(i.output)})}},(e,t,r)=>{var n=r(37).property;e.exports=function(e,t){n(this,"inputToken",t.input_token),n(this,"limitKey",t.limit_key),n(this,"moreResults",t.more_results),n(this,"outputToken",t.output_token),n(this,"resultKey",t.result_key)}},(e,t,r)=>{var n=r(37),i=n.property;e.exports=function(e,t,r){r=r||{},i(this,"name",e),i(this,"api",r.api,!1),t.operation&&i(this,"operation",n.string.lowerFirst(t.operation));var o=this;["type","description","delay","maxAttempts","acceptors"].forEach(function(e){var r=t[e];r&&i(o,e,r)})}},e=>{"use strict";e.exports=JSON.parse('{"acm":{"name":"ACM","cors":true},"apigateway":{"name":"APIGateway","cors":true},"applicationautoscaling":{"prefix":"application-autoscaling","name":"ApplicationAutoScaling","cors":true},"appstream":{"name":"AppStream"},"autoscaling":{"name":"AutoScaling","cors":true},"batch":{"name":"Batch"},"budgets":{"name":"Budgets"},"clouddirectory":{"name":"CloudDirectory","versions":["2016-05-10*"]},"cloudformation":{"name":"CloudFormation","cors":true},"cloudfront":{"name":"CloudFront","versions":["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*","2017-03-25*","2017-10-30*","2018-06-18*","2018-11-05*","2019-03-26*"],"cors":true},"cloudhsm":{"name":"CloudHSM","cors":true},"cloudsearch":{"name":"CloudSearch"},"cloudsearchdomain":{"name":"CloudSearchDomain"},"cloudtrail":{"name":"CloudTrail","cors":true},"cloudwatch":{"prefix":"monitoring","name":"CloudWatch","cors":true},"cloudwatchevents":{"prefix":"events","name":"CloudWatchEvents","versions":["2014-02-03*"],"cors":true},"cloudwatchlogs":{"prefix":"logs","name":"CloudWatchLogs","cors":true},"codebuild":{"name":"CodeBuild","cors":true},"codecommit":{"name":"CodeCommit","cors":true},"codedeploy":{"name":"CodeDeploy","cors":true},"codepipeline":{"name":"CodePipeline","cors":true},"cognitoidentity":{"prefix":"cognito-identity","name":"CognitoIdentity","cors":true},"cognitoidentityserviceprovider":{"prefix":"cognito-idp","name":"CognitoIdentityServiceProvider","cors":true},"cognitosync":{"prefix":"cognito-sync","name":"CognitoSync","cors":true},"configservice":{"prefix":"config","name":"ConfigService","cors":true},"cur":{"name":"CUR","cors":true},"datapipeline":{"name":"DataPipeline"},"devicefarm":{"name":"DeviceFarm","cors":true},"directconnect":{"name":"DirectConnect","cors":true},"directoryservice":{"prefix":"ds","name":"DirectoryService"},"discovery":{"name":"Discovery"},"dms":{"name":"DMS"},"dynamodb":{"name":"DynamoDB","cors":true},"dynamodbstreams":{"prefix":"streams.dynamodb","name":"DynamoDBStreams","cors":true},"ec2":{"name":"EC2","versions":["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*"],"cors":true},"ecr":{"name":"ECR","cors":true},"ecs":{"name":"ECS","cors":true},"efs":{"prefix":"elasticfilesystem","name":"EFS","cors":true},"elasticache":{"name":"ElastiCache","versions":["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*"],"cors":true},"elasticbeanstalk":{"name":"ElasticBeanstalk","cors":true},"elb":{"prefix":"elasticloadbalancing","name":"ELB","cors":true},"elbv2":{"prefix":"elasticloadbalancingv2","name":"ELBv2","cors":true},"emr":{"prefix":"elasticmapreduce","name":"EMR","cors":true},"es":{"name":"ES"},"elastictranscoder":{"name":"ElasticTranscoder","cors":true},"firehose":{"name":"Firehose","cors":true},"gamelift":{"name":"GameLift","cors":true},"glacier":{"name":"Glacier"},"health":{"name":"Health"},"iam":{"name":"IAM","cors":true},"importexport":{"name":"ImportExport"},"inspector":{"name":"Inspector","versions":["2015-08-18*"],"cors":true},"iot":{"name":"Iot","cors":true},"iotdata":{"prefix":"iot-data","name":"IotData","cors":true},"kinesis":{"name":"Kinesis","cors":true},"kinesisanalytics":{"name":"KinesisAnalytics"},"kms":{"name":"KMS","cors":true},"lambda":{"name":"Lambda","cors":true},"lexruntime":{"prefix":"runtime.lex","name":"LexRuntime","cors":true},"lightsail":{"name":"Lightsail"},"machinelearning":{"name":"MachineLearning","cors":true},"marketplacecommerceanalytics":{"name":"MarketplaceCommerceAnalytics","cors":true},"marketplacemetering":{"prefix":"meteringmarketplace","name":"MarketplaceMetering"},"mturk":{"prefix":"mturk-requester","name":"MTurk","cors":true},"mobileanalytics":{"name":"MobileAnalytics","cors":true},"opsworks":{"name":"OpsWorks","cors":true},"opsworkscm":{"name":"OpsWorksCM"},"organizations":{"name":"Organizations"},"pinpoint":{"name":"Pinpoint"},"polly":{"name":"Polly","cors":true},"rds":{"name":"RDS","versions":["2014-09-01*"],"cors":true},"redshift":{"name":"Redshift","cors":true},"rekognition":{"name":"Rekognition","cors":true},"resourcegroupstaggingapi":{"name":"ResourceGroupsTaggingAPI"},"route53":{"name":"Route53","cors":true},"route53domains":{"name":"Route53Domains","cors":true},"s3":{"name":"S3","dualstackAvailable":true,"cors":true},"s3control":{"name":"S3Control","dualstackAvailable":true,"xmlNoDefaultLists":true},"servicecatalog":{"name":"ServiceCatalog","cors":true},"ses":{"prefix":"email","name":"SES","cors":true},"shield":{"name":"Shield"},"simpledb":{"prefix":"sdb","name":"SimpleDB"},"sms":{"name":"SMS"},"snowball":{"name":"Snowball"},"sns":{"name":"SNS","cors":true},"sqs":{"name":"SQS","cors":true},"ssm":{"name":"SSM","cors":true},"storagegateway":{"name":"StorageGateway","cors":true},"stepfunctions":{"prefix":"states","name":"StepFunctions"},"sts":{"name":"STS","cors":true},"support":{"name":"Support"},"swf":{"name":"SWF"},"xray":{"name":"XRay","cors":true},"waf":{"name":"WAF","cors":true},"wafregional":{"prefix":"waf-regional","name":"WAFRegional"},"workdocs":{"name":"WorkDocs","cors":true},"workspaces":{"name":"WorkSpaces"},"lexmodelbuildingservice":{"prefix":"lex-models","name":"LexModelBuildingService","cors":true},"marketplaceentitlementservice":{"prefix":"entitlement.marketplace","name":"MarketplaceEntitlementService"},"athena":{"name":"Athena","cors":true},"greengrass":{"name":"Greengrass"},"dax":{"name":"DAX"},"migrationhub":{"prefix":"AWSMigrationHub","name":"MigrationHub"},"cloudhsmv2":{"name":"CloudHSMV2","cors":true},"glue":{"name":"Glue"},"pricing":{"name":"Pricing","cors":true},"costexplorer":{"prefix":"ce","name":"CostExplorer","cors":true},"mediaconvert":{"name":"MediaConvert"},"medialive":{"name":"MediaLive"},"mediapackage":{"name":"MediaPackage"},"mediastore":{"name":"MediaStore"},"mediastoredata":{"prefix":"mediastore-data","name":"MediaStoreData","cors":true},"appsync":{"name":"AppSync"},"guardduty":{"name":"GuardDuty"},"mq":{"name":"MQ"},"comprehend":{"name":"Comprehend","cors":true},"iotjobsdataplane":{"prefix":"iot-jobs-data","name":"IoTJobsDataPlane"},"kinesisvideoarchivedmedia":{"prefix":"kinesis-video-archived-media","name":"KinesisVideoArchivedMedia","cors":true},"kinesisvideomedia":{"prefix":"kinesis-video-media","name":"KinesisVideoMedia","cors":true},"kinesisvideo":{"name":"KinesisVideo","cors":true},"sagemakerruntime":{"prefix":"runtime.sagemaker","name":"SageMakerRuntime"},"sagemaker":{"name":"SageMaker"},"translate":{"name":"Translate","cors":true},"resourcegroups":{"prefix":"resource-groups","name":"ResourceGroups","cors":true},"cloud9":{"name":"Cloud9"},"serverlessapplicationrepository":{"prefix":"serverlessrepo","name":"ServerlessApplicationRepository"},"servicediscovery":{"name":"ServiceDiscovery"},"workmail":{"name":"WorkMail"},"autoscalingplans":{"prefix":"autoscaling-plans","name":"AutoScalingPlans"},"transcribeservice":{"prefix":"transcribe","name":"TranscribeService"},"connect":{"name":"Connect","cors":true},"acmpca":{"prefix":"acm-pca","name":"ACMPCA"},"fms":{"name":"FMS"},"secretsmanager":{"name":"SecretsManager","cors":true},"iotanalytics":{"name":"IoTAnalytics","cors":true},"iot1clickdevicesservice":{"prefix":"iot1click-devices","name":"IoT1ClickDevicesService"},"iot1clickprojects":{"prefix":"iot1click-projects","name":"IoT1ClickProjects"},"pi":{"name":"PI"},"neptune":{"name":"Neptune"},"mediatailor":{"name":"MediaTailor"},"eks":{"name":"EKS"},"dlm":{"name":"DLM"},"signer":{"name":"Signer"},"chime":{"name":"Chime"},"pinpointemail":{"prefix":"pinpoint-email","name":"PinpointEmail"},"ram":{"name":"RAM"},"route53resolver":{"name":"Route53Resolver"},"pinpointsmsvoice":{"prefix":"sms-voice","name":"PinpointSMSVoice"},"quicksight":{"name":"QuickSight"},"rdsdataservice":{"prefix":"rds-data","name":"RDSDataService"},"amplify":{"name":"Amplify"},"datasync":{"name":"DataSync"},"robomaker":{"name":"RoboMaker"},"transfer":{"name":"Transfer"},"globalaccelerator":{"name":"GlobalAccelerator"},"comprehendmedical":{"name":"ComprehendMedical","cors":true},"kinesisanalyticsv2":{"name":"KinesisAnalyticsV2"},"mediaconnect":{"name":"MediaConnect"},"fsx":{"name":"FSx"},"securityhub":{"name":"SecurityHub"},"appmesh":{"name":"AppMesh","versions":["2018-10-01*"]},"licensemanager":{"prefix":"license-manager","name":"LicenseManager"},"kafka":{"name":"Kafka"},"apigatewaymanagementapi":{"name":"ApiGatewayManagementApi"},"apigatewayv2":{"name":"ApiGatewayV2"},"docdb":{"name":"DocDB"},"backup":{"name":"Backup"},"worklink":{"name":"WorkLink"},"textract":{"name":"Textract"},"managedblockchain":{"name":"ManagedBlockchain"},"mediapackagevod":{"prefix":"mediapackage-vod","name":"MediaPackageVod"},"groundstation":{"name":"GroundStation"},"iotthingsgraph":{"name":"IoTThingsGraph"},"iotevents":{"name":"IoTEvents"},"ioteventsdata":{"prefix":"iotevents-data","name":"IoTEventsData"},"personalize":{"name":"Personalize","cors":true},"personalizeevents":{"prefix":"personalize-events","name":"PersonalizeEvents","cors":true},"personalizeruntime":{"prefix":"personalize-runtime","name":"PersonalizeRuntime","cors":true},"applicationinsights":{"prefix":"application-insights","name":"ApplicationInsights"},"servicequotas":{"prefix":"service-quotas","name":"ServiceQuotas"},"ec2instanceconnect":{"prefix":"ec2-instance-connect","name":"EC2InstanceConnect"},"eventbridge":{"name":"EventBridge"},"lakeformation":{"name":"LakeFormation"},"forecastservice":{"prefix":"forecast","name":"ForecastService","cors":true},"forecastqueryservice":{"prefix":"forecastquery","name":"ForecastQueryService","cors":true},"qldb":{"name":"QLDB"},"qldbsession":{"prefix":"qldb-session","name":"QLDBSession"},"workmailmessageflow":{"name":"WorkMailMessageFlow"},"codestarnotifications":{"prefix":"codestar-notifications","name":"CodeStarNotifications"},"savingsplans":{"name":"SavingsPlans"},"sso":{"name":"SSO"},"ssooidc":{"prefix":"sso-oidc","name":"SSOOIDC"},"marketplacecatalog":{"prefix":"marketplace-catalog","name":"MarketplaceCatalog","cors":true},"dataexchange":{"name":"DataExchange"},"sesv2":{"name":"SESV2"},"migrationhubconfig":{"prefix":"migrationhub-config","name":"MigrationHubConfig"},"connectparticipant":{"name":"ConnectParticipant"},"appconfig":{"name":"AppConfig"},"iotsecuretunneling":{"name":"IoTSecureTunneling"},"wafv2":{"name":"WAFV2"},"elasticinference":{"prefix":"elastic-inference","name":"ElasticInference"},"imagebuilder":{"name":"Imagebuilder"},"schemas":{"name":"Schemas"},"accessanalyzer":{"name":"AccessAnalyzer"},"codegurureviewer":{"prefix":"codeguru-reviewer","name":"CodeGuruReviewer"},"codeguruprofiler":{"name":"CodeGuruProfiler"},"computeoptimizer":{"prefix":"compute-optimizer","name":"ComputeOptimizer"},"frauddetector":{"name":"FraudDetector"},"kendra":{"name":"Kendra"},"networkmanager":{"name":"NetworkManager"},"outposts":{"name":"Outposts"},"augmentedairuntime":{"prefix":"sagemaker-a2i-runtime","name":"AugmentedAIRuntime"},"ebs":{"name":"EBS"},"kinesisvideosignalingchannels":{"prefix":"kinesis-video-signaling","name":"KinesisVideoSignalingChannels","cors":true},"detective":{"name":"Detective"},"codestarconnections":{"prefix":"codestar-connections","name":"CodeStarconnections"},"synthetics":{"name":"Synthetics"},"iotsitewise":{"name":"IoTSiteWise"},"macie2":{"name":"Macie2"},"codeartifact":{"name":"CodeArtifact"},"ivs":{"name":"IVS"},"braket":{"name":"Braket"},"identitystore":{"name":"IdentityStore"},"appflow":{"name":"Appflow"},"redshiftdata":{"prefix":"redshift-data","name":"RedshiftData"},"ssoadmin":{"prefix":"sso-admin","name":"SSOAdmin"},"timestreamquery":{"prefix":"timestream-query","name":"TimestreamQuery"},"timestreamwrite":{"prefix":"timestream-write","name":"TimestreamWrite"},"s3outposts":{"name":"S3Outposts"},"databrew":{"name":"DataBrew"},"servicecatalogappregistry":{"prefix":"servicecatalog-appregistry","name":"ServiceCatalogAppRegistry"},"networkfirewall":{"prefix":"network-firewall","name":"NetworkFirewall"},"mwaa":{"name":"MWAA"},"amplifybackend":{"name":"AmplifyBackend"},"appintegrations":{"name":"AppIntegrations"},"connectcontactlens":{"prefix":"connect-contact-lens","name":"ConnectContactLens"},"devopsguru":{"prefix":"devops-guru","name":"DevOpsGuru"},"ecrpublic":{"prefix":"ecr-public","name":"ECRPUBLIC"},"lookoutvision":{"name":"LookoutVision"},"sagemakerfeaturestoreruntime":{"prefix":"sagemaker-featurestore-runtime","name":"SageMakerFeatureStoreRuntime"},"customerprofiles":{"prefix":"customer-profiles","name":"CustomerProfiles"},"auditmanager":{"name":"AuditManager"},"emrcontainers":{"prefix":"emr-containers","name":"EMRcontainers"},"healthlake":{"name":"HealthLake"},"sagemakeredge":{"prefix":"sagemaker-edge","name":"SagemakerEdge"},"amp":{"name":"Amp","cors":true},"greengrassv2":{"name":"GreengrassV2"},"iotdeviceadvisor":{"name":"IotDeviceAdvisor"},"iotfleethub":{"name":"IoTFleetHub"},"iotwireless":{"name":"IoTWireless"},"location":{"name":"Location","cors":true},"wellarchitected":{"name":"WellArchitected"},"lexmodelsv2":{"prefix":"models.lex.v2","name":"LexModelsV2"},"lexruntimev2":{"prefix":"runtime.lex.v2","name":"LexRuntimeV2","cors":true},"fis":{"name":"Fis"},"lookoutmetrics":{"name":"LookoutMetrics"},"mgn":{"name":"Mgn"},"lookoutequipment":{"name":"LookoutEquipment"},"nimble":{"name":"Nimble"},"finspace":{"name":"Finspace"},"finspacedata":{"prefix":"finspace-data","name":"Finspacedata"},"ssmcontacts":{"prefix":"ssm-contacts","name":"SSMContacts"},"ssmincidents":{"prefix":"ssm-incidents","name":"SSMIncidents"},"applicationcostprofiler":{"name":"ApplicationCostProfiler"},"apprunner":{"name":"AppRunner"},"proton":{"name":"Proton"},"route53recoverycluster":{"prefix":"route53-recovery-cluster","name":"Route53RecoveryCluster"},"route53recoverycontrolconfig":{"prefix":"route53-recovery-control-config","name":"Route53RecoveryControlConfig"},"route53recoveryreadiness":{"prefix":"route53-recovery-readiness","name":"Route53RecoveryReadiness"},"chimesdkidentity":{"prefix":"chime-sdk-identity","name":"ChimeSDKIdentity"},"chimesdkmessaging":{"prefix":"chime-sdk-messaging","name":"ChimeSDKMessaging"},"snowdevicemanagement":{"prefix":"snow-device-management","name":"SnowDeviceManagement"},"memorydb":{"name":"MemoryDB"},"opensearch":{"name":"OpenSearch"},"kafkaconnect":{"name":"KafkaConnect"},"voiceid":{"prefix":"voice-id","name":"VoiceID"},"wisdom":{"name":"Wisdom"},"account":{"name":"Account"},"cloudcontrol":{"name":"CloudControl"},"grafana":{"name":"Grafana"},"panorama":{"name":"Panorama"},"chimesdkmeetings":{"prefix":"chime-sdk-meetings","name":"ChimeSDKMeetings"},"resiliencehub":{"name":"Resiliencehub"},"migrationhubstrategy":{"name":"MigrationHubStrategy"},"appconfigdata":{"name":"AppConfigData"},"drs":{"name":"Drs"},"migrationhubrefactorspaces":{"prefix":"migration-hub-refactor-spaces","name":"MigrationHubRefactorSpaces"},"evidently":{"name":"Evidently"},"inspector2":{"name":"Inspector2"},"rbin":{"name":"Rbin"},"rum":{"name":"RUM"},"backupgateway":{"prefix":"backup-gateway","name":"BackupGateway"},"iottwinmaker":{"name":"IoTTwinMaker"},"workspacesweb":{"prefix":"workspaces-web","name":"WorkSpacesWeb"},"amplifyuibuilder":{"name":"AmplifyUIBuilder"},"keyspaces":{"name":"Keyspaces"},"billingconductor":{"name":"Billingconductor"},"pinpointsmsvoicev2":{"prefix":"pinpoint-sms-voice-v2","name":"PinpointSMSVoiceV2"},"ivschat":{"name":"Ivschat"},"chimesdkmediapipelines":{"prefix":"chime-sdk-media-pipelines","name":"ChimeSDKMediaPipelines"},"emrserverless":{"prefix":"emr-serverless","name":"EMRServerless"},"m2":{"name":"M2"},"connectcampaigns":{"name":"ConnectCampaigns"},"redshiftserverless":{"prefix":"redshift-serverless","name":"RedshiftServerless"},"rolesanywhere":{"name":"RolesAnywhere"},"licensemanagerusersubscriptions":{"prefix":"license-manager-user-subscriptions","name":"LicenseManagerUserSubscriptions"},"privatenetworks":{"name":"PrivateNetworks"},"supportapp":{"prefix":"support-app","name":"SupportApp"},"controltower":{"name":"ControlTower"},"iotfleetwise":{"name":"IoTFleetWise"},"migrationhuborchestrator":{"name":"MigrationHubOrchestrator"},"connectcases":{"name":"ConnectCases"},"resourceexplorer2":{"prefix":"resource-explorer-2","name":"ResourceExplorer2"},"scheduler":{"name":"Scheduler"},"chimesdkvoice":{"prefix":"chime-sdk-voice","name":"ChimeSDKVoice"},"ssmsap":{"prefix":"ssm-sap","name":"SsmSap"},"oam":{"name":"OAM"},"arczonalshift":{"prefix":"arc-zonal-shift","name":"ARCZonalShift"},"omics":{"name":"Omics"},"opensearchserverless":{"name":"OpenSearchServerless"},"securitylake":{"name":"SecurityLake"},"simspaceweaver":{"name":"SimSpaceWeaver"},"docdbelastic":{"prefix":"docdb-elastic","name":"DocDBElastic"},"sagemakergeospatial":{"prefix":"sagemaker-geospatial","name":"SageMakerGeospatial"},"codecatalyst":{"name":"CodeCatalyst"},"pipes":{"name":"Pipes"},"sagemakermetrics":{"prefix":"sagemaker-metrics","name":"SageMakerMetrics"},"kinesisvideowebrtcstorage":{"prefix":"kinesis-video-webrtc-storage","name":"KinesisVideoWebRTCStorage"},"licensemanagerlinuxsubscriptions":{"prefix":"license-manager-linux-subscriptions","name":"LicenseManagerLinuxSubscriptions"},"kendraranking":{"prefix":"kendra-ranking","name":"KendraRanking"},"cleanrooms":{"name":"CleanRooms"},"cloudtraildata":{"prefix":"cloudtrail-data","name":"CloudTrailData"},"tnb":{"name":"Tnb"},"internetmonitor":{"name":"InternetMonitor"},"ivsrealtime":{"prefix":"ivs-realtime","name":"IVSRealTime"},"vpclattice":{"prefix":"vpc-lattice","name":"VPCLattice"},"osis":{"name":"OSIS"},"mediapackagev2":{"name":"MediaPackageV2"},"paymentcryptography":{"prefix":"payment-cryptography","name":"PaymentCryptography"},"paymentcryptographydata":{"prefix":"payment-cryptography-data","name":"PaymentCryptographyData"},"codegurusecurity":{"prefix":"codeguru-security","name":"CodeGuruSecurity"},"verifiedpermissions":{"name":"VerifiedPermissions"},"appfabric":{"name":"AppFabric"},"medicalimaging":{"prefix":"medical-imaging","name":"MedicalImaging"},"entityresolution":{"name":"EntityResolution"},"managedblockchainquery":{"prefix":"managedblockchain-query","name":"ManagedBlockchainQuery"},"neptunedata":{"name":"Neptunedata"},"pcaconnectorad":{"prefix":"pca-connector-ad","name":"PcaConnectorAd"},"bedrock":{"name":"Bedrock"},"bedrockruntime":{"prefix":"bedrock-runtime","name":"BedrockRuntime"},"datazone":{"name":"DataZone"},"launchwizard":{"prefix":"launch-wizard","name":"LaunchWizard"},"trustedadvisor":{"name":"TrustedAdvisor"},"inspectorscan":{"prefix":"inspector-scan","name":"InspectorScan"},"bcmdataexports":{"prefix":"bcm-data-exports","name":"BCMDataExports"},"costoptimizationhub":{"prefix":"cost-optimization-hub","name":"CostOptimizationHub"},"eksauth":{"prefix":"eks-auth","name":"EKSAuth"},"freetier":{"name":"FreeTier"},"repostspace":{"name":"Repostspace"},"workspacesthinclient":{"prefix":"workspaces-thin-client","name":"WorkSpacesThinClient"},"b2bi":{"name":"B2bi"},"bedrockagent":{"prefix":"bedrock-agent","name":"BedrockAgent"},"bedrockagentruntime":{"prefix":"bedrock-agent-runtime","name":"BedrockAgentRuntime"},"qbusiness":{"name":"QBusiness"},"qconnect":{"name":"QConnect"},"cleanroomsml":{"name":"CleanRoomsML"},"marketplaceagreement":{"prefix":"marketplace-agreement","name":"MarketplaceAgreement"},"marketplacedeployment":{"prefix":"marketplace-deployment","name":"MarketplaceDeployment"},"networkmonitor":{"name":"NetworkMonitor"},"supplychain":{"name":"SupplyChain"},"artifact":{"name":"Artifact"},"chatbot":{"name":"Chatbot"},"timestreaminfluxdb":{"prefix":"timestream-influxdb","name":"TimestreamInfluxDB"},"codeconnections":{"name":"CodeConnections"},"deadline":{"name":"Deadline"},"controlcatalog":{"name":"ControlCatalog"},"route53profiles":{"name":"Route53Profiles"},"mailmanager":{"name":"MailManager"},"taxsettings":{"name":"TaxSettings"},"applicationsignals":{"prefix":"application-signals","name":"ApplicationSignals"},"pcaconnectorscep":{"prefix":"pca-connector-scep","name":"PcaConnectorScep"},"apptest":{"name":"AppTest"},"qapps":{"name":"QApps"},"ssmquicksetup":{"prefix":"ssm-quicksetup","name":"SSMQuickSetup"},"pcs":{"name":"PCS"}}')},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},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(62),i=function(){function e(e){void 0===e&&(e=1e3),this.maxSize=e,this.cache=new n.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 n="string"!=typeof t?e.getKeyString(t):t,i=this.populateValue(r);this.cache.put(n,i)},e.prototype.get=function(t){var r="string"!=typeof t?e.getKeyString(t):t,n=Date.now(),i=this.cache.get(r);if(i){for(var o=i.length-1;o>=0;o--){i[o].Expire<n&&i.splice(o,1)}if(0===i.length)return void this.cache.remove(r)}return i},e.getKeyString=function(e){for(var t=[],r=Object.keys(e).sort(),n=0;n<r.length;n++){var i=r[n];void 0!==e[i]&&t.push(e[i])}return t.join(" ")},e.prototype.populateValue=function(e){var t=Date.now();return e.map(function(e){return{Address:e.Address||"",Expire:t+60*(e.CachePeriodInMinutes||1)*1e3}})},e.prototype.empty=function(){this.cache.empty()},e.prototype.remove=function(t){var r="string"!=typeof t?e.getKeyString(t):t;this.cache.remove(r)},e}();t.EndpointCache=i},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){this.key=e,this.value=t},n=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 n=this.removeFromTail().key;delete this.nodeMap[n]}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<e.length;t++){var r=e[t],n=this.nodeMap[r];this.detachFromList(n),delete this.nodeMap[r]}},e}();t.LRUCache=n},(e,t,r)=>{var n=r(38);n.SequentialExecutor=n.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 n=r.length,i=-1,o=0;o<n;++o)r[o]===t&&(i=o);i>-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 n=this.listeners(e),i=n.length;return this.callListeners(n,t,r),i>0},callListeners:function(e,t,r,i){var o=this,s=i||null;function a(i){if(i&&(s=n.util.error(s||new Error,i),o._haltHandlersOnError))return r.call(o,s);o.callListeners(e,t,r,s)}for(;e.length>0;){var c=e.shift();if(c._isAsync)return void c.apply(o,t.concat([a]));try{c.apply(o,t)}catch(e){s=n.util.error(s||new Error,e)}if(s&&o._haltHandlersOnError)return void r.call(o,s)}r.call(o,s)},addListeners:function(e){var t=this;return e._events&&(e=e._events),n.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),n.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,n){return this[e]=r,this.addListener(t,r,n),this},addNamedAsyncListener:function(e,t,r,n){return r._isAsync=!0,this.addNamedListener(e,t,r,n)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),n.SequentialExecutor.prototype.addListener=n.SequentialExecutor.prototype.on,e.exports=n.SequentialExecutor},(e,t,r)=>{var n=r(38),i=r(55),o=r(65),s=n.util.inherit,a=0,c=r(67);n.Service=s({constructor:function(e){if(!this.loadServiceClass)throw n.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;c.isFipsRegion(t)&&(e.region=c.getRealRegion(t),e.useFipsEndpoint=!0),c.isGlobalRegion(t)&&(e.region=c.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=n.util.copy(e),o=new r(e);return Object.defineProperty(o,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),o._clientId=++a,o}this.initialize(e)},initialize:function(e){var t=n.config[this.serviceIdentifier];if(this.config=new n.Config(n.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||o.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),n.SequentialExecutor.call(this),n.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||n.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(n.util.isEmpty(this.api)){if(t.apiConfig)return n.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){(t=new n.Config(n.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]&&n.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?n.util.isType(e,Date)&&(e=n.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=n.util.copy(t),n.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var o=new n.Request(this,e,t);return this.addAllRequestListeners(o),this.attachMonitoringEmitter(o),r&&o.send(r),o},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var n=this.makeRequest(e,t).toUnauthenticated();return r?n.send(r):n},waitFor:function(e,t,r){return new n.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[n.events,n.EventListeners.Core,this.serviceInterface(),n.EventListeners.CorePost],r=0;r<t.length;r++)t[r]&&e.addListeners(t[r]);this.config.paramValidation||e.removeListener("validate",n.EventListeners.Core.VALIDATE_PARAMETERS),this.config.logger&&e.addListeners(n.EventListeners.Logger),this.setupRequestListeners(e),"function"==typeof this.constructor.prototype.customRequestHandler&&this.constructor.prototype.customRequestHandler(e),Object.prototype.hasOwnProperty.call(this,"customRequestHandler")&&"function"==typeof this.customRequestHandler&&this.customRequestHandler(e)},apiCallEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCall",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Region:e.httpRequest.region,MaxRetriesExceeded:0,UserAgent:e.httpRequest.getUserAgent()},n=e.response;if(n.httpResponse.statusCode&&(r.FinalHttpStatusCode=n.httpResponse.statusCode),n.error){var i=n.error;n.httpResponse.statusCode>299?(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()},n=e.response;return n.httpResponse.statusCode&&(r.HttpStatusCode=n.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),n.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),n.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=n.httpResponse.headers["x-amzn-requestid"]),n.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=n.httpResponse.headers["x-amz-request-id"]),n.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=n.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,n=r.error;return r.httpResponse.statusCode>299?(n.code&&(t.AwsException=n.code),n.message&&(t.AwsExceptionMessage=n.message)):((n.code||n.name)&&(t.SdkException=n.code||n.name),n.message&&(t.SdkExceptionMessage=n.message)),t},attachMonitoringEmitter:function(e){var t,r,i,o,s,a,c=0,u=this,p=!0;e.on("validate",function(){o=n.util.realClock.now(),a=Date.now()},p),e.on("sign",function(){r=n.util.realClock.now(),t=Date.now(),s=e.httpRequest.region,c++},p),e.on("validateResponse",function(){i=Math.round(n.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=u.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=s,u.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var o=u.attemptFailEvent(e);o.Timestamp=t,i=i||Math.round(n.util.realClock.now()-r),o.AttemptLatency=i>=0?i:0,o.Region=s,u.emit("apiCallAttempt",[o])}),e.addNamedListener("API_CALL","complete",function(){var t=u.apiCallEvent(e);if(t.AttemptCount=c,!(t.AttemptCount<=0)){t.Timestamp=a;var r=Math.round(n.util.realClock.now()-o);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),u.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,n.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return n.EventListeners.Query;case"json":return n.EventListeners.Json;case"rest-json":return n.EventListeners.RestJson;case"rest-xml":return n.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 n.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 n.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw n.util.error(i,"No pagination configuration for "+e)}return null}return r}}),n.util.update(n.Service,{defineMethods:function(e){n.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){n.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=s(n.Service,r||{});if("string"==typeof e){n.Service.addVersions(i,t);var o=i.serviceIdentifier||e;i.serviceIdentifier=o}else i.prototype.api=e,n.Service.defineMethods(i);if(n.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&n.util.clientSideMonitoring){var a=n.util.clientSideMonitoring.Publisher,c=(0,n.util.clientSideMonitoring.configProvider)();this.prototype.publisher=new a(c),c.enabled&&(n.Service._clientSideMonitoring=!0)}return n.SequentialExecutor.call(i.prototype),n.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r<t.length;r++)void 0===e.services[t[r]]&&(e.services[t[r]]=null);e.apiVersions=Object.keys(e.services).sort()},defineServiceApi:function(e,t,r){var o=s(e,{serviceIdentifier:e.serviceIdentifier});function a(t){t.isApi?o.prototype.api=t:o.prototype.api=new i(t,{serviceIdentifier:e.serviceIdentifier})}if("string"==typeof t){if(r)a(r);else try{a(n.apiLoader(e.serviceIdentifier,t))}catch(r){throw n.util.error(r,{message:"Could not find API configuration "+e.serviceIdentifier+"-"+t})}Object.prototype.hasOwnProperty.call(e.services,t)||(e.apiVersions=e.apiVersions.concat(t).sort()),e.services[t]=o}else a(t);return n.Service.defineMethods(o),o},hasService:function(e){return Object.prototype.hasOwnProperty.call(n.Service._serviceMap,e)},addDefaultMonitoringListeners:function(e){e.addNamedListener("MONITOR_EVENTS_BUBBLE","apiCallAttempt",function(t){var r=Object.getPrototypeOf(e);r._events&&r.emit("apiCallAttempt",[t])}),e.addNamedListener("CALL_EVENTS_BUBBLE","apiCall",function(t){var r=Object.getPrototypeOf(e);r._events&&r.emit("apiCall",[t])})},_serviceMap:{}}),n.util.mixin(n.Service,n.SequentialExecutor),e.exports=n.Service},(e,t,r)=>{var n=r(37),i=r(66);function o(e,t){n.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),n=e.api.endpointPrefix;return[[t,n],[r,n],[t,"*"],[r,"*"],["*",n],[t,"internal-*"],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}(e),r=e.config.useFipsEndpoint,n=e.config.useDualstackEndpoint,s=0;s<t.length;s++){var a=t[s];if(a){var c=r?n?i.dualstackFipsRules:i.fipsRules:n?i.dualstackRules:i.rules;if(Object.prototype.hasOwnProperty.call(c,a)){var u=c[a];"string"==typeof u&&(u=i.patterns[u]),e.isGlobalEndpoint=!!u.globalEndpoint,u.signingRegion&&(e.signingRegion=u.signingRegion),u.signatureVersion||(u.signatureVersion="v4");var p="bearer"===(e.api&&e.api.signatureVersion);return void o(e,Object.assign({},u,{signatureVersion:p?"bearer":u.signatureVersion}))}}}},getEndpointSuffix:function(e){for(var t={"^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$":"amazonaws.com","^cn\\-\\w+\\-\\d+$":"amazonaws.com.cn","^us\\-gov\\-\\w+\\-\\d+$":"amazonaws.com","^us\\-iso\\-\\w+\\-\\d+$":"c2s.ic.gov","^us\\-isob\\-\\w+\\-\\d+$":"sc2s.sgov.gov","^eu\\-isoe\\-west\\-1$":"cloud.adc-e.uk","^us\\-isof\\-\\w+\\-\\d+$":"csp.hci.ic.gov"},r=Object.keys(t),n=0;n<r.length;n++){var i=RegExp(r[n]),o=t[r[n]];if(i.test(e))return o}return"amazonaws.com"}}},e=>{"use strict";e.exports=JSON.parse('{"rules":{"*/*":{"endpoint":"{service}.{region}.amazonaws.com"},"cn-*/*":{"endpoint":"{service}.{region}.amazonaws.com.cn"},"eu-isoe-*/*":"euIsoe","us-iso-*/*":"usIso","us-isob-*/*":"usIsob","us-isof-*/*":"usIsof","*/budgets":"globalSSL","*/cloudfront":"globalSSL","*/sts":"globalSSL","*/importexport":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2","globalEndpoint":true},"*/route53":"globalSSL","cn-*/route53":{"endpoint":"{service}.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/route53":"globalGovCloud","us-iso-*/route53":{"endpoint":"{service}.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-isob-*/route53":{"endpoint":"{service}.sc2s.sgov.gov","globalEndpoint":true,"signingRegion":"us-isob-east-1"},"us-isof-*/route53":"globalUsIsof","eu-isoe-*/route53":"globalEuIsoe","*/waf":"globalSSL","*/iam":"globalSSL","cn-*/iam":{"endpoint":"{service}.cn-north-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-north-1"},"us-iso-*/iam":{"endpoint":"{service}.us-iso-east-1.c2s.ic.gov","globalEndpoint":true,"signingRegion":"us-iso-east-1"},"us-gov-*/iam":"globalGovCloud","*/ce":{"endpoint":"{service}.us-east-1.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"cn-*/ce":{"endpoint":"{service}.cn-northwest-1.amazonaws.com.cn","globalEndpoint":true,"signingRegion":"cn-northwest-1"},"us-gov-*/sts":{"endpoint":"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3signature","us-west-1/s3":"s3signature","us-west-2/s3":"s3signature","eu-west-1/s3":"s3signature","ap-southeast-1/s3":"s3signature","ap-southeast-2/s3":"s3signature","ap-northeast-1/s3":"s3signature","sa-east-1/s3":"s3signature","us-east-1/s3":{"endpoint":"{service}.amazonaws.com","signatureVersion":"s3"},"us-east-1/sdb":{"endpoint":"{service}.amazonaws.com","signatureVersion":"v2"},"*/sdb":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"v2"},"*/resource-explorer-2":"dualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"globalDualstackByDefault"},"fipsRules":{"*/*":"fipsStandard","us-gov-*/*":"fipsStandard","us-iso-*/*":{"endpoint":"{service}-fips.{region}.c2s.ic.gov"},"us-iso-*/dms":"usIso","us-isob-*/*":{"endpoint":"{service}-fips.{region}.sc2s.sgov.gov"},"us-isob-*/dms":"usIsob","cn-*/*":{"endpoint":"{service}-fips.{region}.amazonaws.com.cn"},"*/api.ecr":"fips.api.ecr","*/api.sagemaker":"fips.api.sagemaker","*/batch":"fipsDotPrefix","*/eks":"fipsDotPrefix","*/models.lex":"fips.models.lex","*/runtime.lex":"fips.runtime.lex","*/runtime.sagemaker":{"endpoint":"runtime-fips.sagemaker.{region}.amazonaws.com"},"*/iam":"fipsWithoutRegion","*/route53":"fipsWithoutRegion","*/transcribe":"fipsDotPrefix","*/waf":"fipsWithoutRegion","us-gov-*/transcribe":"fipsDotPrefix","us-gov-*/api.ecr":"fips.api.ecr","us-gov-*/models.lex":"fips.models.lex","us-gov-*/runtime.lex":"fips.runtime.lex","us-gov-*/access-analyzer":"fipsWithServiceOnly","us-gov-*/acm":"fipsWithServiceOnly","us-gov-*/acm-pca":"fipsWithServiceOnly","us-gov-*/api.sagemaker":"fipsWithServiceOnly","us-gov-*/appconfig":"fipsWithServiceOnly","us-gov-*/application-autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling":"fipsWithServiceOnly","us-gov-*/autoscaling-plans":"fipsWithServiceOnly","us-gov-*/batch":"fipsWithServiceOnly","us-gov-*/cassandra":"fipsWithServiceOnly","us-gov-*/clouddirectory":"fipsWithServiceOnly","us-gov-*/cloudformation":"fipsWithServiceOnly","us-gov-*/cloudshell":"fipsWithServiceOnly","us-gov-*/cloudtrail":"fipsWithServiceOnly","us-gov-*/config":"fipsWithServiceOnly","us-gov-*/connect":"fipsWithServiceOnly","us-gov-*/databrew":"fipsWithServiceOnly","us-gov-*/dlm":"fipsWithServiceOnly","us-gov-*/dms":"fipsWithServiceOnly","us-gov-*/dynamodb":"fipsWithServiceOnly","us-gov-*/ec2":"fipsWithServiceOnly","us-gov-*/eks":"fipsWithServiceOnly","us-gov-*/elasticache":"fipsWithServiceOnly","us-gov-*/elasticbeanstalk":"fipsWithServiceOnly","us-gov-*/elasticloadbalancing":"fipsWithServiceOnly","us-gov-*/elasticmapreduce":"fipsWithServiceOnly","us-gov-*/events":"fipsWithServiceOnly","us-gov-*/fis":"fipsWithServiceOnly","us-gov-*/glacier":"fipsWithServiceOnly","us-gov-*/greengrass":"fipsWithServiceOnly","us-gov-*/guardduty":"fipsWithServiceOnly","us-gov-*/identitystore":"fipsWithServiceOnly","us-gov-*/imagebuilder":"fipsWithServiceOnly","us-gov-*/kafka":"fipsWithServiceOnly","us-gov-*/kinesis":"fipsWithServiceOnly","us-gov-*/logs":"fipsWithServiceOnly","us-gov-*/mediaconvert":"fipsWithServiceOnly","us-gov-*/monitoring":"fipsWithServiceOnly","us-gov-*/networkmanager":"fipsWithServiceOnly","us-gov-*/organizations":"fipsWithServiceOnly","us-gov-*/outposts":"fipsWithServiceOnly","us-gov-*/participant.connect":"fipsWithServiceOnly","us-gov-*/ram":"fipsWithServiceOnly","us-gov-*/rds":"fipsWithServiceOnly","us-gov-*/redshift":"fipsWithServiceOnly","us-gov-*/resource-groups":"fipsWithServiceOnly","us-gov-*/runtime.sagemaker":"fipsWithServiceOnly","us-gov-*/serverlessrepo":"fipsWithServiceOnly","us-gov-*/servicecatalog-appregistry":"fipsWithServiceOnly","us-gov-*/servicequotas":"fipsWithServiceOnly","us-gov-*/sns":"fipsWithServiceOnly","us-gov-*/sqs":"fipsWithServiceOnly","us-gov-*/ssm":"fipsWithServiceOnly","us-gov-*/streams.dynamodb":"fipsWithServiceOnly","us-gov-*/sts":"fipsWithServiceOnly","us-gov-*/support":"fipsWithServiceOnly","us-gov-*/swf":"fipsWithServiceOnly","us-gov-west-1/states":"fipsWithServiceOnly","us-iso-east-1/elasticfilesystem":{"endpoint":"elasticfilesystem-fips.{region}.c2s.ic.gov"},"us-gov-west-1/organizations":"fipsWithServiceOnly","us-gov-west-1/route53":{"endpoint":"route53.us-gov.amazonaws.com"},"*/resource-explorer-2":"fipsDualstackByDefault","*/kendra-ranking":"dualstackByDefault","*/internetmonitor":"dualstackByDefault","*/codecatalyst":"fipsGlobalDualstackByDefault"},"dualstackRules":{"*/*":{"endpoint":"{service}.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackLegacy","cn-*/s3":"dualstackLegacyCn","*/s3-control":"dualstackLegacy","cn-*/s3-control":"dualstackLegacyCn","ap-south-1/ec2":"dualstackLegacyEc2","eu-west-1/ec2":"dualstackLegacyEc2","sa-east-1/ec2":"dualstackLegacyEc2","us-east-1/ec2":"dualstackLegacyEc2","us-east-2/ec2":"dualstackLegacyEc2","us-west-2/ec2":"dualstackLegacyEc2"},"dualstackFipsRules":{"*/*":{"endpoint":"{service}-fips.{region}.api.aws"},"cn-*/*":{"endpoint":"{service}-fips.{region}.api.amazonwebservices.com.cn"},"*/s3":"dualstackFipsLegacy","cn-*/s3":"dualstackFipsLegacyCn","*/s3-control":"dualstackFipsLegacy","cn-*/s3-control":"dualstackFipsLegacyCn"},"patterns":{"globalSSL":{"endpoint":"https://{service}.amazonaws.com","globalEndpoint":true,"signingRegion":"us-east-1"},"globalGovCloud":{"endpoint":"{service}.us-gov.amazonaws.com","globalEndpoint":true,"signingRegion":"us-gov-west-1"},"globalUsIsof":{"endpoint":"{service}.csp.hci.ic.gov","globalEndpoint":true,"signingRegion":"us-isof-south-1"},"globalEuIsoe":{"endpoint":"{service}.cloud.adc-e.uk","globalEndpoint":true,"signingRegion":"eu-isoe-west-1"},"s3signature":{"endpoint":"{service}.{region}.amazonaws.com","signatureVersion":"s3"},"euIsoe":{"endpoint":"{service}.{region}.cloud.adc-e.uk"},"usIso":{"endpoint":"{service}.{region}.c2s.ic.gov"},"usIsob":{"endpoint":"{service}.{region}.sc2s.sgov.gov"},"usIsof":{"endpoint":"{service}.{region}.csp.hci.ic.gov"},"fipsStandard":{"endpoint":"{service}-fips.{region}.amazonaws.com"},"fipsDotPrefix":{"endpoint":"fips.{service}.{region}.amazonaws.com"},"fipsWithoutRegion":{"endpoint":"{service}-fips.amazonaws.com"},"fips.api.ecr":{"endpoint":"ecr-fips.{region}.amazonaws.com"},"fips.api.sagemaker":{"endpoint":"api-fips.sagemaker.{region}.amazonaws.com"},"fips.models.lex":{"endpoint":"models-fips.lex.{region}.amazonaws.com"},"fips.runtime.lex":{"endpoint":"runtime-fips.lex.{region}.amazonaws.com"},"fipsWithServiceOnly":{"endpoint":"{service}.{region}.amazonaws.com"},"dualstackLegacy":{"endpoint":"{service}.dualstack.{region}.amazonaws.com"},"dualstackLegacyCn":{"endpoint":"{service}.dualstack.{region}.amazonaws.com.cn"},"dualstackFipsLegacy":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com"},"dualstackFipsLegacyCn":{"endpoint":"{service}-fips.dualstack.{region}.amazonaws.com.cn"},"dualstackLegacyEc2":{"endpoint":"api.ec2.{region}.aws"},"dualstackByDefault":{"endpoint":"{service}.{region}.api.aws"},"fipsDualstackByDefault":{"endpoint":"{service}-fips.{region}.api.aws"},"globalDualstackByDefault":{"endpoint":"{service}.global.api.aws"},"fipsGlobalDualstackByDefault":{"endpoint":"{service}-fips.global.api.aws"}}}')},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/,"")}}},(e,t,r)=>{var n,i=r(38);r(69),r(70),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,r=this;function n(t){e(t,t?null:r.credentials)}function o(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}r.credentials?"function"==typeof r.credentials.get?r.credentials.get(function(e){e&&(e=o("Could not load credentials from "+r.credentials.constructor.name,e)),n(e)}):(t=null,r.credentials.accessKeyId&&r.credentials.secretAccessKey||(t=o("Missing credentials")),n(t)):r.credentialProvider?r.credentialProvider.resolve(function(e,t){e&&(e=o("Could not load credentials from any providers",e)),r.credentials=t,n(e)}):n(o("No credentials to load"))},getToken:function(e){var t,r=this;function n(t){e(t,t?null:r.token)}function o(e,t){return new i.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}r.token?"function"==typeof r.token.get?r.token.get(function(e){e&&(e=o("Could not load token from "+r.token.constructor.name,e)),n(e)}):(t=null,r.token.token||(t=o("Missing token")),n(t)):r.tokenProvider?r.tokenProvider.resolve(function(e,t){e&&(e=o("Could not load token from any providers",e)),r.token=t,n(e)}):n(o("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),n=new i.CredentialProviderChain;return n.providers.unshift(r),n.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){n=e,null===e&&"function"==typeof Promise&&(n=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,n)},getPromisesDependency:function(){return n}}),i.config=new i.Config},(e,t,r)=>{var n=r(38);n.Credentials=n.util.inherit({constructor:function(){if(n.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=n.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){n.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):n.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),n.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=n.util.promisifyMethod("get",e),this.prototype.refreshPromise=n.util.promisifyMethod("refresh",e)},n.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},n.util.addPromises(n.Credentials)},(e,t,r)=>{var n=r(38);n.CredentialProviderChain=n.util.inherit(n.Credentials,{constructor:function(e){this.providers=e||n.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(o,s){if(!o&&s||r===i.length)return n.util.arrayEach(t.resolveCallbacks,function(e){e(o,s)}),void(t.resolveCallbacks.length=0);var a=i[r++];(s="function"==typeof a?a.call():a).get?s.get(function(t){e(t,t?null:s)}):e(null,s)}()}return t}}),n.CredentialProviderChain.defaultProviders=[],n.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=n.util.promisifyMethod("resolve",e)},n.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},n.util.addPromises(n.CredentialProviderChain)},(e,t,r)=>{var n=r(38),i=n.util.inherit;n.Endpoint=i({constructor:function(e,t){if(n.util.hideProperties(this,["slashes","auth","hash","search","query"]),null==e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return n.util.copy(e);e.match(/^http/)||(e=((t&&void 0!==t.sslEnabled?t.sslEnabled:n.config.sslEnabled)?"https":"http")+"://"+e);n.util.update(this,n.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),n.HttpRequest=i({constructor:function(e,t){e=new n.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()]=n.util.userAgent()},getUserAgentHeaderName:function(){return(n.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=n.util.queryStringParse(e),n.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new n.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),n.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}}),n.HttpClient=i({}),n.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},(e,t,r)=>{var n=r(38),i=r(63),o=r(73).discoverEndpoint;function s(e){if(!e.service.api.operations)return"";var t=e.service.api.operations[e.operation];return t?t.authtype:""}function a(e){var t=e.service;return t.config.signatureVersion?t.config.signatureVersion:t.api.signatureVersion?t.api.signatureVersion:s(e)}n.EventListeners={Core:{}},n.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"!==a(e)?e.service.config.getCredentials(function(r){r&&(e.response.error=n.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=n.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=n.util.error(new Error,{code:"ConfigError",message:"Invalid region in config"})):e.response.error=n.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=n.util.copy(e.params),o=0,s=r.length;o<s;o++)i[r[o]]||(i[r[o]]=n.util.uuid.v4());e.params=i}}}}),e("VALIDATE_PARAMETERS","validate",function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation].input,r=e.service.config.paramValidation;new n.ParamValidator(r).validate(t,e.params)}}),e("COMPUTE_CHECKSUM","afterBuild",function(e){if(e.service.api.operations){var t=e.service.api.operations[e.operation];if(t){var r=e.httpRequest.body,i=r&&(n.util.Buffer.isBuffer(r)||"string"==typeof r),o=e.httpRequest.headers;if(t.httpChecksumRequired&&e.service.config.computeChecksums&&i&&!o["Content-MD5"]){var s=n.util.crypto.md5(r,"base64");o["Content-MD5"]=s}}}}),t("COMPUTE_SHA256","afterBuild",function(e,t){if(e.haltHandlersOnError(),e.service.api.operations){var r=e.service.api.operations[e.operation],i=r?r.authtype:"";if(!e.service.api.signatureVersion&&!i&&!e.service.config.signatureVersion)return t();if(e.service.getSignerClass(e)===n.Signers.V4){var o=e.httpRequest.body||"";if(i.indexOf("unsigned-body")>=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();n.util.computeSha256(o,function(r,n){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=n,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=s(e),r=n.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var i=n.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=i}catch(n){if(r&&r.isStreaming){if(r.requiresLength)throw n;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw n}throw n}}),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(n.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,t)){var r=process.env.AWS_LAMBDA_FUNCTION_NAME,i=process.env._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 n.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount<this.service.config.maxRetries?this.response.retryCount++:this.response.error=null)});t("DISCOVER_ENDPOINT","sign",o,!0),t("SIGN","sign",function(e,t){var r=e.service,n=a(e);if(!n||0===n.length)return t();"bearer"===n?r.config.getToken(function(n,i){if(n)return e.response.error=n,t();try{new(r.getSignerClass(e))(e.httpRequest).addAuthorization(i)}catch(t){e.response.error=t}t()}):r.config.getCredentials(function(n,i){if(n)return e.response.error=n,t();try{var o=r.getSkewCorrectedDate(),s=r.getSignerClass(e),a=(e.service.api.operations||{})[e.operation],c=new s(e.httpRequest,r.getSigningName(e),{signatureCache:r.config.signatureCache,operation:a,signatureVersion:r.api.signatureVersion});c.setServiceClientId(r._clientId),delete e.httpRequest.headers.Authorization,delete e.httpRequest.headers.Date,delete e.httpRequest.headers["X-Amz-Date"],c.addAuthorization(i,o),e.signedAt=o}catch(t){e.response.error=t}t()})}),e("VALIDATE_RESPONSE","validateResponse",function(e){this.service.successfulResponse(e,this)?(e.data={},e.error=null):(e.data=null,e.error=n.util.error(new Error,{code:"UnknownError",message:"An unknown error occurred."}))}),e("ERROR","error",function(e,t){if(t.request.service.api.awsQueryCompatible){var r=t.httpResponse.headers,n=r?r["x-amzn-query-error"]:void 0;n&&n.includes(";")&&(t.error.code=n.split(";")[0])}},!0),t("SEND","send",function(e,t){function r(r){e.httpResponse.stream=r;var i=e.request.httpRequest.stream,o=e.request.service,s=o.api,a=e.request.operation,c=s.operations[a]||{};r.on("headers",function(i,s,a){if(e.request.emit("httpHeaders",[i,s,e,a]),!e.httpResponse.streaming)if(2===n.HttpClient.streamsApiVersion){if(c.hasEventOutput&&o.successfulResponse(e))return e.request.emit("httpDone"),void t();r.on("readable",function(){var t=r.read();null!==t&&e.request.emit("httpData",[t,e])})}else r.on("data",function(t){e.request.emit("httpData",[t,e])})}),r.on("end",function(){if(!i||!i.didCallback){if(2===n.HttpClient.streamsApiVersion&&c.hasEventOutput&&o.successfulResponse(e))return;e.request.emit("httpDone"),t()}})}function i(r){if("RequestAbortedError"!==r.code){var i="TimeoutError"===r.code?r.code:"NetworkingError";r=n.util.error(r,{code:i,region:e.request.httpRequest.region,hostname:e.request.httpRequest.endpoint.hostname,retryable:!0})}e.error=r,e.request.emit("httpError",[e.error,e],function(){t()})}function o(){var t,o=n.HttpClient.getInstance(),s=e.request.service.config.httpOptions||{};try{var a=o.handleRequest(e.request.httpRequest,s,r,i);(t=a).on("sendProgress",function(t){e.request.emit("httpUploadProgress",[t,e])}),t.on("receiveProgress",function(t){e.request.emit("httpDownloadProgress",[t,e])})}catch(e){i(e)}}e.httpResponse._abortCallback=t,e.error=null,e.data=null,(e.request.service.getSkewCorrectedDate()-this.signedAt)/1e3>=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=n.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var o=t.date||t.Date,s=r.request.service;if(o){var a=Date.parse(o);s.config.correctClockSkew&&s.isClockSkewed(a)&&s.applyClockOffset(a)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(n.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(n.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=n.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 n.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,this.httpRequest.path=this.httpRequest.endpoint.path,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount<e.maxRedirects?e.error.retryDelay=0:e.retryCount<e.maxRetries&&(e.error.retryDelay=this.service.retryDelays(e.retryCount,e.error)||0))}),t("RESET_RETRY_STATE","afterRetry",function(e,t){var r,n=!1;e.error&&(r=e.error.retryDelay||0,e.error.retryable&&e.retryCount<e.maxRetries?(e.retryCount++,n=!0):e.error.redirect&&e.redirectCount<e.maxRedirects&&(e.redirectCount++,n=!0)),n&&r>=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new i).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",n.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",n.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof n.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(n.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=n.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 o=function(){var o=(e.request.service.getSkewCorrectedDate().getTime()-t.startTime.getTime())/1e3,a=!!i.isTTY,c=e.httpResponse.statusCode,u=t.params;t.service.api.operations&&t.service.api.operations[t.operation]&&t.service.api.operations[t.operation].input&&(u=s(t.service.api.operations[t.operation].input,t.params));var p=r(74).inspect(u,!0,null),l="";return a&&(l+="[33m"),l+="[AWS "+t.service.serviceIdentifier+" "+c,l+=" "+o.toString()+"s "+e.retryCount+" retries]",a&&(l+="[0;1m"),l+=" "+n.util.string.lowerFirst(t.operation),l+="("+p+")",a&&(l+="[0m"),l}();"function"==typeof i.log?i.log(o):"function"==typeof i.write&&i.write(o+"\n")}function s(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var r={};return n.util.each(t,function(t,n){Object.prototype.hasOwnProperty.call(e.members,t)?r[t]=s(e.members[t],n):r[t]=n}),r;case"list":var i=[];return n.util.arrayEach(t,function(t,r){i.push(s(e.member,t))}),i;case"map":var o={};return n.util.each(t,function(t,r){o[t]=s(e.value,r)}),o;default:return t}}})}),Json:(new i).addNamedListeners(function(e){var t=r(39);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(47);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(48);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(49);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(43);e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})}},(e,t,r)=>{var n=r(38),i=r(37),o=["AWS_ENABLE_ENDPOINT_DISCOVERY","AWS_ENDPOINT_DISCOVERY_ENABLED"];function s(e){var t=e.service,r=t.api||{},n=(r.operations,{});return t.config.region&&(n.region=t.config.region),r.serviceId&&(n.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(n.accessKeyId=t.config.credentials.accessKeyId),n}function a(e,t,r){r&&null!=t&&"structure"===r.type&&r.required&&r.required.length>0&&i.arrayEach(r.required,function(n){var i=r.members[n];if(!0===i.endpointDiscoveryId){var o=i.isLocationName?i.name:n;e[o]=String(t[n])}else a(e,t[n],i)})}function c(e,t){var r={};return a(r,e.params,t),r}function u(e){var t=e.service,r=t.api,o=r.operations?r.operations[e.operation]:void 0,a=c(e,o?o.input:void 0),u=s(e);Object.keys(a).length>0&&(u=i.update(u,a),o&&(u.operation=o.name));var p=n.endpointCache.get(u);if(!p||1!==p.length||""!==p[0].Address)if(p&&p.length>0)e.httpRequest.updateEndpoint(p[0].Address);else{var l=t.makeRequest(r.endpointOperation,{Operation:o.name,Identifiers:a});d(l),l.removeListener("validate",n.EventListeners.Core.VALIDATE_PARAMETERS),l.removeListener("retry",n.EventListeners.Core.RETRY_CHECK),n.endpointCache.put(u,[{Address:"",CachePeriodInMinutes:1}]),l.send(function(e,t){t&&t.Endpoints?n.endpointCache.put(u,t.Endpoints):e&&n.endpointCache.put(u,[{Address:"",CachePeriodInMinutes:1}])})}}var p={};function l(e,t){var r=e.service,o=r.api,a=o.operations?o.operations[e.operation]:void 0,u=a?a.input:void 0,l=c(e,u),f=s(e);Object.keys(l).length>0&&(f=i.update(f,l),a&&(f.operation=a.name));var h=n.EndpointCache.getKeyString(f),m=n.endpointCache.get(h);if(m&&1===m.length&&""===m[0].Address)return p[h]||(p[h]=[]),void p[h].push({request:e,callback:t});if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address),t();else{var g=r.makeRequest(o.endpointOperation,{Operation:a.name,Identifiers:l});g.removeListener("validate",n.EventListeners.Core.VALIDATE_PARAMETERS),d(g),n.endpointCache.put(h,[{Address:"",CachePeriodInMinutes:60}]),g.send(function(r,o){if(r){if(e.response.error=i.error(r,{retryable:!1}),n.endpointCache.remove(f),p[h]){var s=p[h];i.arrayEach(s,function(e){e.request.response.error=i.error(r,{retryable:!1}),e.callback()}),delete p[h]}}else if(o&&(n.endpointCache.put(h,o.Endpoints),e.httpRequest.updateEndpoint(o.Endpoints[0].Address),p[h])){s=p[h];i.arrayEach(s,function(e){e.request.httpRequest.updateEndpoint(o.Endpoints[0].Address),e.callback()}),delete p[h]}t()})}}function d(e){var t=e.service.api.apiVersion;t&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=t)}function f(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var o=e.request,a=o.service.api.operations||{},u=c(o,a[o.operation]?a[o.operation].input:void 0),p=s(o);Object.keys(u).length>0&&(p=i.update(p,u),a[o.operation]&&(p.operation=a[o.operation].name)),n.endpointCache.remove(p)}}function h(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=n.config[e.serviceIdentifier]||{};return Boolean(n.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}(r)||e.isPresigned())return t();var s=(r.api.operations||{})[e.operation],a=s?s.endpointDiscoveryRequired:"NULL",c=function(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!i.isBrowser()){for(var r=0;r<o.length;r++){var s=o[r];if(Object.prototype.hasOwnProperty.call(process.env,s)){if(""===process.env[s]||void 0===process.env[s])throw i.error(new Error,{code:"ConfigurationException",message:"environmental variable "+s+" cannot be set to nothing"});return!h(process.env[s])}}var a={};try{a=n.util.iniLoader?n.util.iniLoader.loadFrom({isConfig:!0,filename:process.env[n.util.sharedConfigFileEnv]}):{}}catch(e){}var c=a[process.env.AWS_PROFILE||n.util.defaultProfile]||{};if(Object.prototype.hasOwnProperty.call(c,"endpoint_discovery_enabled")){if(void 0===c.endpoint_discovery_enabled)throw i.error(new Error,{code:"ConfigurationException",message:"config file entry 'endpoint_discovery_enabled' cannot be set to nothing"});return!h(c.endpoint_discovery_enabled)}}}(e),p=r.api.hasRequiredEndpointDiscovery;switch((c||p)&&e.httpRequest.appendToUserAgent("endpoint-discovery"),a){case"OPTIONAL":(c||p)&&(u(e),e.addNamedListener("INVALIDATE_CACHED_ENDPOINTS","extractError",f)),t();break;case"REQUIRED":if(!1===c){e.response.error=i.error(new Error,{code:"ConfigurationException",message:"Endpoint Discovery is disabled but "+r.api.className+"."+e.operation+"() requires it. Please check your configurations."}),t();break}e.addNamedListener("INVALIDATE_CACHED_ENDPOINTS","extractError",f),l(e,t);break;default:t()}},requiredDiscoverEndpoint:l,optionalDiscoverEndpoint:u,marshallCustomIdentifiers:c,getCacheKey:s,invalidateCachedEndpoint:f}},(e,t,r)=>{var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,s=String(e).replace(i,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<o;a=n[++r])g(a)||!_(a)?s+=" "+a:s+=" "+c(a);return s},t.deprecate=function(e,r){if("undefined"!=typeof process&&!0===process.noDeprecation)return e;if("undefined"==typeof process)return function(){return t.deprecate(e,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}};var o={},s=/^$/;if(process.env.NODE_DEBUG){var a=process.env.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+a+"$","i")}function c(e,r){var n={seen:[],stylize:p};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&t._extend(n,r),S(n.showHidden)&&(n.showHidden=!1),S(n.depth)&&(n.depth=2),S(n.colors)&&(n.colors=!1),S(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),l(n,e,n.depth)}function u(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function p(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&I(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return v(i)||(i=l(e,i,n)),i}var o=function(e,t){if(S(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(y(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,r);if(o)return o;var s=Object.keys(r),a=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),T(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return d(r);if(0===s.length){if(I(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(E(r))return e.stylize(Date.prototype.toString.call(r),"date");if(T(r))return d(r)}var u,p="",_=!1,w=["{","}"];(h(r)&&(_=!0,w=["[","]"]),I(r))&&(p=" [Function"+(r.name?": "+r.name:"")+"]");return b(r)&&(p=" "+RegExp.prototype.toString.call(r)),E(r)&&(p=" "+Date.prototype.toUTCString.call(r)),T(r)&&(p=" "+d(r)),0!==s.length||_&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=_?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)R(t,String(s))?o.push(f(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(f(e,t,r,n,i,!0))}),o}(e,r,n,a,s):s.map(function(t){return f(e,r,n,a,t,_)}),e.seen.pop(),function(e,t,r){var n=e.reduce(function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,p,w)):w[0]+p+w[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,o){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),R(n,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(r)?l(e,c.value,null):l(e,c.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),S(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return"number"==typeof e}function v(e){return"string"==typeof e}function S(e){return void 0===e}function b(e){return _(e)&&"[object RegExp]"===w(e)}function _(e){return"object"==typeof e&&null!==e}function E(e){return _(e)&&"[object Date]"===w(e)}function T(e){return _(e)&&("[object Error]"===w(e)||e instanceof Error)}function I(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(s.test(e)){var r=process.pid;o[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else o[e]=function(){};return o[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(75),t.isArray=h,t.isBoolean=m,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=S,t.isRegExp=b,t.types.isRegExp=b,t.isObject=_,t.isDate=E,t.types.isDate=E,t.isError=T,t.types.isNativeError=T,t.isFunction=I,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(128);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(129),t._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var x="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(x&&e[x]){var t;if("function"!=typeof(t=e[x]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,x,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),x&&Object.defineProperty(t,x,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=x,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return n.apply(i,arguments)};e.apply(this,t).then(function(e){process.nextTick(o.bind(null,null,e))},function(e){process.nextTick(k.bind(null,e,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,n(e)),t}},(e,t,r)=>{"use strict";var n=r(76),i=r(113),o=r(117),s=r(127);function a(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,p=a(Object.prototype.toString),l=a(Number.prototype.valueOf),d=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(c)var h=a(BigInt.prototype.valueOf);if(u)var m=a(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===p(e)}function v(e){return"[object Set]"===p(e)}function S(e){return"[object WeakMap]"===p(e)}function b(e){return"[object WeakSet]"===p(e)}function _(e){return"[object ArrayBuffer]"===p(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(_.working?_(e):e instanceof ArrayBuffer)}function T(e){return"[object DataView]"===p(e)}function I(e){return"undefined"!=typeof DataView&&(T.working?T(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=s,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):s(e)||I(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},S.working="undefined"!=typeof WeakMap&&S(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(S.working?S(e):e instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet),t.isWeakSet=function(e){return b(e)},_.working="undefined"!=typeof ArrayBuffer&&_(new ArrayBuffer),t.isArrayBuffer=E,T.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&T(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=I;var w="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===p(e)}function C(e){return void 0!==w&&(void 0===A.working&&(A.working=A(new w)),A.working?A(e):e instanceof w)}function R(e){return g(e,l)}function x(e){return g(e,d)}function k(e){return g(e,f)}function O(e){return c&&g(e,h)}function P(e){return u&&g(e,m)}t.isSharedArrayBuffer=C,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===p(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===p(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===p(e)},t.isGeneratorObject=function(e){return"[object Generator]"===p(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===p(e)},t.isNumberObject=R,t.isStringObject=x,t.isBooleanObject=k,t.isBigIntObject=O,t.isSymbolObject=P,t.isBoxedPrimitive=function(e){return R(e)||x(e)||k(e)||O(e)||P(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||C(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})},(e,t,r)=>{"use strict";var n=r(77)(),i=r(79)("Object.prototype.toString"),o=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"callee"in e&&"[object Function]"===i(e.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,e.exports=a?o:s},(e,t,r)=>{"use strict";var n=r(78);e.exports=function(){return n()&&!!Symbol.toStringTag}},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(var n 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 i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},(e,t,r)=>{"use strict";var n=r(80),i=r(105),o=i([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i([r]):r}},(e,t,r)=>{"use strict";var n,i=r(81),o=r(82),s=r(83),a=r(84),c=r(85),u=r(86),p=r(87),l=r(88),d=r(89),f=r(90),h=r(91),m=r(92),g=r(93),y=r(94),v=r(95),S=Function,b=function(e){try{return S('"use strict"; return ('+e+").constructor;")()}catch(e){}},_=r(97),E=r(99),T=function(){throw new p},I=_?function(){try{return T}catch(e){try{return _(arguments,"callee").get}catch(e){return T}}}():T,w=r(100)(),A=r(101),C=r(103),R=r(102),x=r(110),k=r(108),O={},P="undefined"!=typeof Uint8Array&&A?A(Uint8Array):n,N={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&A?A([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":O,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&A?A(A([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&A?A((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":a,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&A?A((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&A?A(""[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":I,"%TypedArray%":P,"%TypeError%":p,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":x,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":C,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":y,"%Math.sign%":v,"%Reflect.getPrototypeOf%":R};if(A)try{null.error}catch(e){var D=A(A(e));N["%Error.prototype%"]=D}var L=function e(t){var r;if("%AsyncFunction%"===t)r=b("async function () {}");else if("%GeneratorFunction%"===t)r=b("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=b("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&A&&(r=A(i.prototype))}return N[t]=r,r},M={__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"]},U=r(106),B=r(112),j=U.call(k,Array.prototype.concat),q=U.call(x,Array.prototype.splice),F=U.call(k,String.prototype.replace),W=U.call(k,String.prototype.slice),H=U.call(k,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,$=/\\(\\)?/g,G=function(e,t){var r,n=e;if(B(M,n)&&(n="%"+(r=M[n])[0]+"%"),B(N,n)){var i=N[n];if(i===O&&(i=L(n)),void 0===i&&!t)throw new p("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,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===H(/^%?[^%]*%?$/,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=W(e,0,1),r=W(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 n=[];return F(e,z,function(e,t,r,i){n[n.length]=r?F(i,$,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",i=G("%"+n+"%",t),o=i.name,s=i.value,a=!1,c=i.alias;c&&(n=c[0],q(r,j([0,1],c)));for(var l=1,d=!0;l<r.length;l+=1){var f=r[l],h=W(f,0,1),m=W(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==f&&d||(a=!0),B(N,o="%"+(n+="."+f)+"%"))s=N[o];else if(null!=s){if(!(f in s)){if(!t)throw new p("base intrinsic for "+e+" exists, but the property is not available.");return}if(_&&l+1>=r.length){var g=_(s,f);s=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:s[f]}else d=B(s,f),s=s[f];d&&!a&&(N[o]=s)}}return s}},e=>{"use strict";e.exports=Object},e=>{"use strict";e.exports=Error},e=>{"use strict";e.exports=EvalError},e=>{"use strict";e.exports=RangeError},e=>{"use strict";e.exports=ReferenceError},e=>{"use strict";e.exports=SyntaxError},e=>{"use strict";e.exports=TypeError},e=>{"use strict";e.exports=URIError},e=>{"use strict";e.exports=Math.abs},e=>{"use strict";e.exports=Math.floor},e=>{"use strict";e.exports=Math.max},e=>{"use strict";e.exports=Math.min},e=>{"use strict";e.exports=Math.pow},e=>{"use strict";e.exports=Math.round},(e,t,r)=>{"use strict";var n=r(96);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},(e,t,r)=>{"use strict";var n=r(98);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(78);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},(e,t,r)=>{"use strict";var n=r(102),i=r(103),o=r(104);e.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},(e,t,r)=>{"use strict";var n=r(81);e.exports=n.getPrototypeOf||null},(e,t,r)=>{"use strict";var n,i=r(105),o=r(97);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!!n&&o&&o(Object.prototype,"__proto__"),a=Object,c=a.getPrototypeOf;e.exports=s&&"function"==typeof s.get?i([s.get]):"function"==typeof c&&function(e){return c(null==e?e:a(e))}},(e,t,r)=>{"use strict";var n=r(106),i=r(87),o=r(108),s=r(109);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return s(n,o,e)}},(e,t,r)=>{"use strict";var n=r(107);e.exports=Function.prototype.bind||n},e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,s=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r}(arguments,1),a=r(0,i.length-s.length),c=[],u=0;u<a;u++)c[u]="$"+u;if(o=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=i.apply(this,n(s,arguments));return Object(t)===t?t:this}return i.apply(e,n(s,arguments))}),i.prototype){var p=function(){};p.prototype=i.prototype,o.prototype=new p,p.prototype=null}return o}},e=>{"use strict";e.exports=Function.prototype.call},(e,t,r)=>{"use strict";var n=r(106),i=r(110),o=r(108),s=r(111);e.exports=s||n.call(o,i)},e=>{"use strict";e.exports=Function.prototype.apply},e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},(e,t,r)=>{"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(106);e.exports=o.call(n,i)},(e,t,r)=>{"use strict";var n=r(79),i=r(114)(/^\s*(?:function)?\*/),o=r(77)(),s=r(101),a=n("Object.prototype.toString"),c=n("Function.prototype.toString"),u=r(116);e.exports=function(e){if("function"!=typeof e)return!1;if(i(c(e)))return!0;if(!o)return"[object GeneratorFunction]"===a(e);if(!s)return!1;var t=u();return t&&s(e)===t.prototype}},(e,t,r)=>{"use strict";var n=r(79),i=r(115),o=n("RegExp.prototype.exec"),s=r(87);e.exports=function(e){if(!i(e))throw new s("`regex` must be a RegExp");return function(t){return null!==o(e,t)}}},(e,t,r)=>{"use strict";var n,i=r(79),o=r(77)(),s=r(112),a=r(97);if(o){var c=i("RegExp.prototype.exec"),u={},p=function(){throw u},l={toString:p,valueOf:p};"symbol"==typeof Symbol.toPrimitive&&(l[Symbol.toPrimitive]=p),n=function(e){if(!e||"object"!=typeof e)return!1;var t=a(e,"lastIndex");if(!(t&&s(t,"value")))return!1;try{c(e,l)}catch(e){return e===u}}}else{var d=i("Object.prototype.toString");n=function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===d(e)}}e.exports=n},e=>{"use strict";const t=function*(){}.constructor;e.exports=()=>t},(e,t,r)=>{"use strict";var n=r(118),i=r(120),o=r(122),s=r(79),a=r(97),c=r(101),u=s("Object.prototype.toString"),p=r(77)(),l="undefined"==typeof globalThis?r.g:globalThis,d=i(),f=s("String.prototype.slice"),h=s("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},m={__proto__:null};n(d,p&&a&&c?function(e){var t=new l[e];if(Symbol.toStringTag in t&&c){var r=c(t),n=a(r,Symbol.toStringTag);if(!n&&r){var i=c(r);n=a(i,Symbol.toStringTag)}m["$"+e]=o(n.get)}}:function(e){var t=new l[e],r=t.slice||t.set;r&&(m["$"+e]=o(r))});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!p){var t=f(u(e),8,-1);return h(d,t)>-1?t:"Object"===t&&function(e){var t=!1;return n(m,function(r,n){if(!t)try{r(e),t=f(n,1)}catch(e){}}),t}(e)}return a?function(e){var t=!1;return n(m,function(r,n){if(!t)try{"$"+r(e)===n&&(t=f(n,1))}catch(e){}}),t}(e):null}},(e,t,r)=>{"use strict";var n=r(119),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var s,a;arguments.length>=3&&(s=r),a=e,"[object Array]"===i.call(a)?function(e,t,r){for(var n=0,i=e.length;n<i;n++)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,s):"string"==typeof e?function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)}(e,t,s):function(e,t,r){for(var n in e)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,s)}},e=>{"use strict";var t,r,n=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(e){e!==r&&(i=null)}else i=null;var o=/^\s*class\b/,s=function(e){try{var t=n.call(e);return o.test(t)}catch(e){return!1}},a=function(e){try{return!s(e)&&(n.call(e),!0)}catch(e){return!1}},c=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,p=!(0 in[,]),l=function(){return!1};if("object"==typeof document){var d=document.all;c.call(d)===c.call(document.all)&&(l=function(e){if((p||!e)&&(void 0===e||"object"==typeof e))try{var t=c.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(l(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==r)return!1}return!s(e)&&a(e)}:function(e){if(l(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(u)return a(e);if(s(e))return!1;var t=c.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&a(e)}},(e,t,r)=>{"use strict";var n=r(121),i="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof i[n[t]]&&(e[e.length]=n[t]);return e}},e=>{"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},(e,t,r)=>{"use strict";var n=r(123),i=r(99),o=r(105),s=r(126);e.exports=function(e){var t=o(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},i?i(e.exports,"apply",{value:s}):e.exports.apply=s},(e,t,r)=>{"use strict";var n=r(80),i=r(124),o=r(125)(),s=r(97),a=r(87),c=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new a("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&s){var p=s(e,"length");p&&!p.configurable&&(n=!1),p&&!p.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},(e,t,r)=>{"use strict";var n=r(99),i=r(86),o=r(87),s=r(97);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],l=!!s&&s(e,t);if(n)n(e,t,{configurable:null===u&&l?l.configurable:!u,enumerable:null===a&&l?l.enumerable:!a,value:r,writable:null===c&&l?l.writable:!c});else{if(!p&&(a||c||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},(e,t,r)=>{"use strict";var n=r(99),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},(e,t,r)=>{"use strict";var n=r(106),i=r(110),o=r(109);e.exports=function(){return o(n,i,arguments)}},(e,t,r)=>{"use strict";var n=r(117);e.exports=function(e){return!!n(e)}},e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},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}}},(e,t,r)=>{var n=r(38),i=r(131),o=n.util.inherit,s=n.util.domain,a=r(132),c={success:1,error:1,complete:1};var u=new i;u.setupStates=function(){var e=function(e,t){var r=this;r._haltHandlersOnError=!1,r.emit(r._asm.currentState,function(e){if(e)if(n=r,Object.prototype.hasOwnProperty.call(c,n._asm.currentState)){if(!(s&&r.domain instanceof s.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 n})};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)},u.setupStates(),n.Request=o({constructor:function(e,t,r){var o=e.endpoint,a=e.config.region,c=e.config.customUserAgent;e.signingRegion?a=e.signingRegion:e.isGlobalEndpoint&&(a="us-east-1"),this.domain=s&&s.active,this.service=e,this.operation=t,this.params=r||{},this.httpRequest=new n.HttpRequest(o,a),this.httpRequest.appendToUserAgent(c),this.startTime=e.getSkewCorrectedDate(),this.response=new n.Response(this),this._asm=new i(u.states,"validate"),this._haltHandlersOnError=!1,n.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=n.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=n.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,n.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 o=t.service.paginationConfig(t.operation).resultKey;Array.isArray(o)&&(o=o[0]);var s=a.search(i,o),c=!0;return n.util.arrayEach(s,function(t){if(!1===(c=e(null,t)))return n.util.abort}),c})},isPageable:function(){return!!this.service.paginationConfig(this.operation)},createReadStream:function(){var e=n.util.stream,t=this,r=null;return 2===n.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,o,s){if(i<300){t.removeListener("httpData",n.EventListeners.Core.HTTP_DATA),t.removeListener("httpError",n.EventListeners.Core.HTTP_ERROR),t.on("httpError",function(e){s.error=e,s.error.retryable=!1});var a,c=!1;if("HEAD"!==t.httpRequest.method&&(a=parseInt(o["content-length"],10)),void 0!==a&&!isNaN(a)&&a>=0){c=!0;var u=0}var p=function(){c&&u!==a?r.emit("error",n.util.error(new Error("Stream content length mismatch. Received "+u+" of "+a+" bytes."),{code:"StreamContentLengthMismatch"})):2===n.HttpClient.streamsApiVersion?r.end():r.emit("end")},l=s.httpResponse.createUnbufferedStream();if(2===n.HttpClient.streamsApiVersion)if(c){var d=new e.PassThrough;d._write=function(t){return t&&t.length&&(u+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},d.on("end",p),r.on("error",function(e){c=!1,l.unpipe(d),d.emit("end"),d.end()}),l.pipe(d).pipe(r,{end:!1})}else l.pipe(r);else c&&l.on("data",function(e){e&&e.length&&(u+=e.length)}),l.on("data",function(e){r.emit("data",e)}),l.on("end",p);l.on("error",function(e){c=!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)),n.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 n.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",n.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",n.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}}),n.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()})}},n.Request.deletePromisesFromClass=function(){delete this.prototype.promise},n.util.addPromises(n.Request),n.util.mixin(n.Request,n.SequentialExecutor)},e=>{function t(e,t){this.currentState=t||null,this.states=e||{}}t.prototype.runTo=function(e,t,r,n){"function"==typeof e&&(n=r,r=t,t=e,e=null);var i=this,o=i.states[i.currentState];o.fn.call(r||i,n,function(n){if(n){if(!o.fail)return t?t.call(r,n):null;i.currentState=o.fail}else{if(!o.accept)return t?t.call(r):null;i.currentState=o.accept}if(i.currentState===e)return t?t.call(r,n):null;i.runTo(e,t,r,n)})},t.prototype.addState=function(e,t,r,n){return"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:n},this},e.exports=t},(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 n(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 o=0;o<e.length;o++)if(!1===n(e[o],i[o]))return!1;return!0}if(!0===r(e)){var s={};for(var a in e)if(hasOwnProperty.call(e,a)){if(!1===n(e[a],i[a]))return!1;s[a]=!0}for(var c in i)if(hasOwnProperty.call(i,c)&&!0!==s[c])return!1;return!0}return!1}function i(e){if(""===e||!1===e||null===e)return!0;if(t(e)&&0===e.length)return!0;if(r(e)){for(var n in e)if(e.hasOwnProperty(n))return!1;return!0}return!1}var o;o="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var s=0,a=2,c={0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array<number>",9:"Array<string>"},u="EOF",p="UnquotedIdentifier",l="QuotedIdentifier",d="Rbracket",f="Rparen",h="Comma",m="Colon",g="Rbrace",y="Number",v="Current",S="Expref",b="Pipe",_="Or",E="And",T="EQ",I="GT",w="LT",A="GTE",C="LTE",R="NE",x="Flatten",k="Star",O="Filter",P="Dot",N="Not",D="Lbrace",L="Lbracket",M="Lparen",U="Literal",B={".":P,"*":k,",":h,":":m,"{":D,"}":g,"]":d,"(":M,")":f,"@":v},j={"<":!0,">":!0,"=":!0,"!":!0},q={" ":!0,"\t":!0,"\n":!0};function F(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function W(e){return e>="0"&&e<="9"||"-"===e}function H(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function z(){}z.prototype={tokenize:function(e){var t,r,n,i=[];for(this._current=0;this._current<e.length;)if(F(e[this._current]))t=this._current,r=this._consumeUnquotedIdentifier(e),i.push({type:p,value:r,start:t});else if(void 0!==B[e[this._current]])i.push({type:B[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(W(e[this._current]))n=this._consumeNumber(e),i.push(n);else if("["===e[this._current])n=this._consumeLBracket(e),i.push(n);else if('"'===e[this._current])t=this._current,r=this._consumeQuotedIdentifier(e),i.push({type:l,value:r,start:t});else if("'"===e[this._current])t=this._current,r=this._consumeRawStringLiteral(e),i.push({type:U,value:r,start:t});else if("`"===e[this._current]){t=this._current;var o=this._consumeLiteral(e);i.push({type:U,value:o,start:t})}else if(void 0!==j[e[this._current]])i.push(this._consumeOperator(e));else if(void 0!==q[e[this._current]])this._current++;else if("&"===e[this._current])t=this._current,this._current++,"&"===e[this._current]?(this._current++,i.push({type:E,value:"&&",start:t})):i.push({type:S,value:"&",start:t});else{if("|"!==e[this._current]){var s=new Error("Unknown character:"+e[this._current]);throw s.name="LexerError",s}t=this._current,this._current++,"|"===e[this._current]?(this._current++,i.push({type:_,value:"||",start:t})):i.push({type:b,value:"|",start:t})}return i},_consumeUnquotedIdentifier:function(e){var t=this._current;for(this._current++;this._current<e.length&&H(e[this._current]);)this._current++;return e.slice(t,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var r=e.length;'"'!==e[this._current]&&this._current<r;){var n=this._current;"\\"!==e[n]||"\\"!==e[n+1]&&'"'!==e[n+1]?n++:n+=2,this._current=n}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var r=e.length;"'"!==e[this._current]&&this._current<r;){var n=this._current;"\\"!==e[n]||"\\"!==e[n+1]&&"'"!==e[n+1]?n++:n+=2,this._current=n}return this._current++,e.slice(t+1,this._current-1).replace("\\'","'")},_consumeNumber:function(e){var t=this._current;this._current++;for(var r=e.length;W(e[this._current])&&this._current<r;)this._current++;var n=parseInt(e.slice(t,this._current));return{type:y,value:n,start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,"?"===e[this._current]?(this._current++,{type:O,value:"[?",start:t}):"]"===e[this._current]?(this._current++,{type:x,value:"[]",start:t}):{type:L,value:"[",start:t}},_consumeOperator:function(e){var t=this._current,r=e[t];return this._current++,"!"===r?"="===e[this._current]?(this._current++,{type:R,value:"!=",start:t}):{type:N,value:"!",start:t}:"<"===r?"="===e[this._current]?(this._current++,{type:C,value:"<=",start:t}):{type:w,value:"<",start:t}:">"===r?"="===e[this._current]?(this._current++,{type:A,value:">=",start:t}):{type:I,value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:T,value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,n=e.length;"`"!==e[this._current]&&this._current<n;){var i=this._current;"\\"!==e[i]||"\\"!==e[i+1]&&"`"!==e[i+1]?i++:i+=2,this._current=i}var s=o(e.slice(r,this._current));return s=s.replace("\\`","`"),t=this._looksLikeJSON(s)?JSON.parse(s):JSON.parse('"'+s+'"'),this._current++,t},_looksLikeJSON:function(e){if(""===e)return!1;if('[{"'.indexOf(e[0])>=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(e){return!1}}};var $={};function G(){}function V(e){this.runtime=e}function K(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[s]}]},avg:{_func:this._functionAvg,_signature:[{types:[8]}]},ceil:{_func:this._functionCeil,_signature:[{types:[s]}]},contains:{_func:this._functionContains,_signature:[{types:[a,3]},{types:[1]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[a]},{types:[a]}]},floor:{_func:this._functionFloor,_signature:[{types:[s]}]},length:{_func:this._functionLength,_signature:[{types:[a,3,4]}]},map:{_func:this._functionMap,_signature:[{types:[6]},{types:[3]}]},max:{_func:this._functionMax,_signature:[{types:[8,9]}]},merge:{_func:this._functionMerge,_signature:[{types:[4],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[3]},{types:[6]}]},sum:{_func:this._functionSum,_signature:[{types:[8]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[a]},{types:[a]}]},min:{_func:this._functionMin,_signature:[{types:[8,9]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[3]},{types:[6]}]},type:{_func:this._functionType,_signature:[{types:[1]}]},keys:{_func:this._functionKeys,_signature:[{types:[4]}]},values:{_func:this._functionValues,_signature:[{types:[4]}]},sort:{_func:this._functionSort,_signature:[{types:[9,8]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[3]},{types:[6]}]},join:{_func:this._functionJoin,_signature:[{types:[a]},{types:[9]}]},reverse:{_func:this._functionReverse,_signature:[{types:[a,3]}]},to_array:{_func:this._functionToArray,_signature:[{types:[1]}]},to_string:{_func:this._functionToString,_signature:[{types:[1]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[1]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[1],variadic:!0}]}}}$[u]=0,$[p]=0,$[l]=0,$[d]=0,$[f]=0,$[h]=0,$[g]=0,$[y]=0,$[v]=0,$[S]=0,$[b]=1,$[_]=2,$[E]=3,$[T]=5,$[I]=5,$[w]=5,$[A]=5,$[C]=5,$[R]=5,$[x]=9,$[k]=20,$[O]=21,$[P]=40,$[N]=45,$[D]=50,$[L]=55,$[M]=60,G.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(this._lookahead(0)!==u){var r=this._lookaheadToken(0),n=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw n.name="ParserError",n}return t},_loadTokens:function(e){var t=(new z).tokenize(e);t.push({type:u,value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),n=this._lookahead(0);e<$[n];)this._advance(),r=this.led(n,r),n=this._lookahead(0);return r},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,r;switch(e.type){case U:return{type:"Literal",value:e.value};case p:return{type:"Field",name:e.value};case l:var n={type:"Field",name:e.value};if(this._lookahead(0)===M)throw new Error("Quoted identifier not allowed for function names.");return n;case N:return{type:"NotExpression",children:[t=this.expression($.Not)]};case k:return t=null,{type:"ValueProjection",children:[{type:"Identity"},t=this._lookahead(0)===d?{type:"Identity"}:this._parseProjectionRHS($.Star)]};case O:return this.led(e.type,{type:"Identity"});case D:return this._parseMultiselectHash();case x:return{type:"Projection",children:[{type:x,children:[{type:"Identity"}]},t=this._parseProjectionRHS($.Flatten)]};case L:return this._lookahead(0)===y||this._lookahead(0)===m?(t=this._parseIndexExpression(),this._projectIfSlice({type:"Identity"},t)):this._lookahead(0)===k&&this._lookahead(1)===d?(this._advance(),this._advance(),{type:"Projection",children:[{type:"Identity"},t=this._parseProjectionRHS($.Star)]}):this._parseMultiselectList();case v:return{type:v};case S:return{type:"ExpressionReference",children:[r=this.expression($.Expref)]};case M:for(var i=[];this._lookahead(0)!==f;)this._lookahead(0)===v?(r={type:v},this._advance()):r=this.expression(0),i.push(r);return this._match(f),i[0];default:this._errorToken(e)}},led:function(e,t){var r;switch(e){case P:var n=$.Dot;return this._lookahead(0)!==k?{type:"Subexpression",children:[t,r=this._parseDotRHS(n)]}:(this._advance(),{type:"ValueProjection",children:[t,r=this._parseProjectionRHS(n)]});case b:return r=this.expression($.Pipe),{type:b,children:[t,r]};case _:return{type:"OrExpression",children:[t,r=this.expression($.Or)]};case E:return{type:"AndExpression",children:[t,r=this.expression($.And)]};case M:for(var i,o=t.name,s=[];this._lookahead(0)!==f;)this._lookahead(0)===v?(i={type:v},this._advance()):i=this.expression(0),this._lookahead(0)===h&&this._match(h),s.push(i);return this._match(f),{type:"Function",name:o,children:s};case O:var a=this.expression(0);return this._match(d),{type:"FilterProjection",children:[t,r=this._lookahead(0)===x?{type:"Identity"}:this._parseProjectionRHS($.Filter),a]};case x:return{type:"Projection",children:[{type:x,children:[t]},this._parseProjectionRHS($.Flatten)]};case T:case R:case I:case A:case w:case C:return this._parseComparator(t,e);case L:var c=this._lookaheadToken(0);return c.type===y||c.type===m?(r=this._parseIndexExpression(),this._projectIfSlice(t,r)):(this._match(k),this._match(d),{type:"Projection",children:[t,r=this._parseProjectionRHS($.Star)]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)!==e){var t=this._lookaheadToken(0),r=new Error("Expected "+e+", got: "+t.type);throw r.name="ParserError",r}this._advance()},_errorToken:function(e){var t=new Error("Invalid token ("+e.type+'): "'+e.value+'"');throw t.name="ParserError",t},_parseIndexExpression:function(){if(this._lookahead(0)===m||this._lookahead(1)===m)return this._parseSliceExpression();var e={type:"Index",value:this._lookaheadToken(0).value};return this._advance(),this._match(d),e},_projectIfSlice:function(e,t){var r={type:"IndexExpression",children:[e,t]};return"Slice"===t.type?{type:"Projection",children:[r,this._parseProjectionRHS($.Star)]}:r},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,r=this._lookahead(0);r!==d&&t<3;){if(r===m)t++,this._advance();else{if(r!==y){var n=this._lookahead(0),i=new Error("Syntax error, unexpected token: "+n.value+"("+n.type+")");throw i.name="Parsererror",i}e[t]=this._lookaheadToken(0).value,this._advance()}r=this._lookahead(0)}return this._match(d),{type:"Slice",children:e}},_parseComparator:function(e,t){return{type:"Comparator",name:t,children:[e,this.expression($[t])]}},_parseDotRHS:function(e){var t=this._lookahead(0);return[p,l,k].indexOf(t)>=0?this.expression(e):t===L?(this._match(L),this._parseMultiselectList()):t===D?(this._match(D),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if($[this._lookahead(0)]<10)t={type:"Identity"};else if(this._lookahead(0)===L)t=this.expression(e);else if(this._lookahead(0)===O)t=this.expression(e);else{if(this._lookahead(0)!==P){var r=this._lookaheadToken(0),n=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw n.name="ParserError",n}this._match(P),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==d;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===h&&(this._match(h),this._lookahead(0)===d))throw new Error("Unexpected token Rbracket")}return this._match(d),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,n=[],i=[p,l];;){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(m),r={type:"KeyValuePair",name:t,value:this.expression(0)},n.push(r),this._lookahead(0)===h)this._match(h);else if(this._lookahead(0)===g){this._match(g);break}}return{type:"MultiSelectHash",children:n}}},V.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var s,a,c,u,p,l,d,f,h;switch(e.type){case"Field":return null!==o&&r(o)?void 0===(l=o[e.name])?null:l:null;case"Subexpression":for(c=this.visit(e.children[0],o),h=1;h<e.children.length;h++)if(null===(c=this.visit(e.children[1],c)))return null;return c;case"IndexExpression":return d=this.visit(e.children[0],o),this.visit(e.children[1],d);case"Index":if(!t(o))return null;var m=e.value;return m<0&&(m=o.length+m),void 0===(c=o[m])&&(c=null),c;case"Slice":if(!t(o))return null;var g=e.children.slice(0),y=this.computeSliceParams(o.length,g),_=y[0],E=y[1],k=y[2];if(c=[],k>0)for(h=_;h<E;h+=k)c.push(o[h]);else for(h=_;h>E;h+=k)c.push(o[h]);return c;case"Projection":var O=this.visit(e.children[0],o);if(!t(O))return null;for(f=[],h=0;h<O.length;h++)null!==(a=this.visit(e.children[1],O[h]))&&f.push(a);return f;case"ValueProjection":if(!r(O=this.visit(e.children[0],o)))return null;f=[];var P=function(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;n++)r.push(e[t[n]]);return r}(O);for(h=0;h<P.length;h++)null!==(a=this.visit(e.children[1],P[h]))&&f.push(a);return f;case"FilterProjection":if(!t(O=this.visit(e.children[0],o)))return null;var N=[],D=[];for(h=0;h<O.length;h++)i(s=this.visit(e.children[2],O[h]))||N.push(O[h]);for(var L=0;L<N.length;L++)null!==(a=this.visit(e.children[1],N[L]))&&D.push(a);return D;case"Comparator":switch(u=this.visit(e.children[0],o),p=this.visit(e.children[1],o),e.name){case T:c=n(u,p);break;case R:c=!n(u,p);break;case I:c=u>p;break;case A:c=u>=p;break;case w:c=u<p;break;case C:c=u<=p;break;default:throw new Error("Unknown comparator: "+e.name)}return c;case x:var M=this.visit(e.children[0],o);if(!t(M))return null;var U=[];for(h=0;h<M.length;h++)t(a=M[h])?U.push.apply(U,a):U.push(a);return U;case"Identity":return o;case"MultiSelectList":if(null===o)return null;for(f=[],h=0;h<e.children.length;h++)f.push(this.visit(e.children[h],o));return f;case"MultiSelectHash":if(null===o)return null;var B;for(f={},h=0;h<e.children.length;h++)f[(B=e.children[h]).name]=this.visit(B.value,o);return f;case"OrExpression":return i(s=this.visit(e.children[0],o))&&(s=this.visit(e.children[1],o)),s;case"AndExpression":return!0===i(u=this.visit(e.children[0],o))?u:this.visit(e.children[1],o);case"NotExpression":return i(u=this.visit(e.children[0],o));case"Literal":return e.value;case b:return d=this.visit(e.children[0],o),this.visit(e.children[1],d);case v:return o;case"Function":var j=[];for(h=0;h<e.children.length;h++)j.push(this.visit(e.children[h],o));return this.runtime.callFunction(e.name,j);case"ExpressionReference":var q=e.children[0];return q.jmespathType=S,q;default:throw new Error("Unknown node type: "+e.type)}},computeSliceParams:function(e,t){var r=t[0],n=t[1],i=t[2],o=[null,null,null];if(null===i)i=1;else if(0===i){var s=new Error("Invalid slice, step cannot be 0");throw s.name="RuntimeError",s}var a=i<0;return r=null===r?a?e-1:0:this.capSliceRange(e,r,i),n=null===n?a?-1:e:this.capSliceRange(e,n,i),o[0]=r,o[1]=n,o[2]=i,o},capSliceRange:function(e,t,r){return t<0?(t+=e)<0&&(t=r<0?-1:0):t>=e&&(t=r<0?e-1:e),t}},K.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 n,i,o,s;if(r[r.length-1].variadic){if(t.length<r.length)throw n=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes at least"+r.length+n+" but received "+t.length)}else if(t.length!==r.length)throw n=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes "+r.length+n+" but received "+t.length);for(var a=0;a<r.length;a++){s=!1,i=r[a].types,o=this._getTypeName(t[a]);for(var u=0;u<i.length;u++)if(this._typeMatches(o,i[u],t[a])){s=!0;break}if(!s){var p=i.map(function(e){return c[e]}).join(",");throw new Error("TypeError: "+e+"() expected argument "+(a+1)+" to be type "+p+" but received type "+c[o]+" instead.")}}},_typeMatches:function(e,t,r){if(1===t)return!0;if(9!==t&&8!==t&&3!==t)return e===t;if(3===t)return 3===e;if(3===e){var n;8===t?n=s:9===t&&(n=a);for(var i=0;i<r.length;i++)if(!this._typeMatches(this._getTypeName(r[i]),n,r[i]))return!1;return!0}},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return a;case"[object Number]":return s;case"[object Array]":return 3;case"[object Boolean]":return 5;case"[object Null]":return 7;case"[object Object]":return e.jmespathType===S?6:4}},_functionStartsWith:function(e){return 0===e[0].lastIndexOf(e[1])},_functionEndsWith:function(e){var t=e[0],r=e[1];return-1!==t.indexOf(r,t.length-r.length)},_functionReverse:function(e){if(this._getTypeName(e[0])===a){for(var t=e[0],r="",n=t.length-1;n>=0;n--)r+=t[n];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],n=0;n<r.length;n++)t+=r[n];return t/r.length},_functionContains:function(e){return e[0].indexOf(e[1])>=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,n=e[0],i=e[1],o=0;o<i.length;o++)t.push(r.visit(n,i[o]));return t},_functionMerge:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];for(var i in n)t[i]=n[i]}return t},_functionMax:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===s)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;n<t.length;n++)r.localeCompare(t[n])<0&&(r=t[n]);return r}return null},_functionMin:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===s)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;n<t.length;n++)t[n].localeCompare(r)<0&&(r=t[n]);return r}return null},_functionSum:function(e){for(var t=0,r=e[0],n=0;n<r.length;n++)t+=r[n];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case s:return"number";case a:return"string";case 3:return"array";case 4:return"object";case 5:return"boolean";case 6:return"expref";case 7:return"null"}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],r=Object.keys(t),n=[],i=0;i<r.length;i++)n.push(t[r[i]]);return n},_functionJoin:function(e){var t=e[0];return e[1].join(t)},_functionToArray:function(e){return 3===this._getTypeName(e[0])?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===a?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t,r=this._getTypeName(e[0]);return r===s?e[0]:r!==a||(t=+e[0],isNaN(t))?null:t},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(7!==this._getTypeName(e[t]))return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(0===t.length)return t;var r=this._interpreter,n=e[1],i=this._getTypeName(r.visit(n,t[0]));if([s,a].indexOf(i)<0)throw new Error("TypeError");for(var o=this,c=[],u=0;u<t.length;u++)c.push([u,t[u]]);c.sort(function(e,t){var s=r.visit(n,e[1]),a=r.visit(n,t[1]);if(o._getTypeName(s)!==i)throw new Error("TypeError: expected "+i+", received "+o._getTypeName(s));if(o._getTypeName(a)!==i)throw new Error("TypeError: expected "+i+", received "+o._getTypeName(a));return s>a?1:s<a?-1:e[0]-t[0]});for(var p=0;p<c.length;p++)t[p]=c[p][1];return t},_functionMaxBy:function(e){for(var t,r,n=e[1],i=e[0],o=this.createKeyFunction(n,[s,a]),c=-1/0,u=0;u<i.length;u++)(r=o(i[u]))>c&&(c=r,t=i[u]);return t},_functionMinBy:function(e){for(var t,r,n=e[1],i=e[0],o=this.createKeyFunction(n,[s,a]),c=1/0,u=0;u<i.length;u++)(r=o(i[u]))<c&&(c=r,t=i[u]);return t},createKeyFunction:function(e,t){var r=this,n=this._interpreter;return function(i){var o=n.visit(e,i);if(t.indexOf(r._getTypeName(o))<0){var s="TypeError: expected one of "+t+", received "+r._getTypeName(o);throw new Error(s)}return o}}},e.tokenize=function(e){return(new z).tokenize(e)},e.compile=function(e){return(new G).parse(e)},e.search=function(e,t){var r=new G,n=new K,i=new V(n);n._interpreter=i;var o=r.parse(t);return i.search(o,e)},e.strictDeepEqual=n}(t)},(e,t,r)=>{var n=r(38),i=n.util.inherit,o=r(132);n.Response=i({constructor:function(e){this.request=e,this.data=null,this.error=null,this.retryCount=0,this.redirectCount=0,this.httpResponse=new n.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(e){this.error=e}if(!this.hasNextPage()){if(e)e(this.error,null);else if(this.error)throw this.error;return null}var o=n.util.copy(this.request.params);if(this.nextPageTokens){var s=t.inputToken;"string"==typeof s&&(s=[s]);for(var a=0;a<s.length;a++)o[s[a]]=this.nextPageTokens[a];return r.makeRequest(this.request.operation,o,e)}return e?e(null,null):null},hasNextPage:function(){return this.cacheNextPageTokens(),!!this.nextPageTokens||void 0===this.nextPageTokens&&void 0},cacheNextPageTokens:function(){if(Object.prototype.hasOwnProperty.call(this,"nextPageTokens"))return this.nextPageTokens;this.nextPageTokens=void 0;var e=this.request.service.paginationConfig(this.request.operation);if(!e)return this.nextPageTokens;if(this.nextPageTokens=null,e.moreResults&&!o.search(this.data,e.moreResults))return this.nextPageTokens;var t=e.outputToken;return"string"==typeof t&&(t=[t]),n.util.arrayEach.call(this,t,function(e){var t=o.search(this.data,e);t&&(this.nextPageTokens=this.nextPageTokens||[],this.nextPageTokens.push(t))}),this.nextPageTokens}})},(e,t,r)=>{var n=r(38),i=n.util.inherit,o=r(132);function s(e){var t=e.request._waiter,r=t.config.acceptors,n=!1,i="retry";r.forEach(function(r){if(!n){var o=t.matchers[r.matcher];o&&o(e,r.expected,r.argument)&&(n=!0,i=r.state)}}),!n&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}n.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 n=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(n,t)},pathAll:function(e,t,r){try{var n=o.search(e.data,r)}catch(e){return!1}Array.isArray(n)||(n=[n]);var i=n.length;if(!i)return!1;for(var s=0;s<i;s++)if(!o.strictDeepEqual(n[s],t))return!1;return!0},pathAny:function(e,t,r){try{var n=o.search(e.data,r)}catch(e){return!1}Array.isArray(n)||(n=[n]);for(var i=n.length,s=0;s<i;s++)if(o.strictDeepEqual(n[s],t))return!0;return!1},status:function(e,t){var r=e.httpResponse.statusCode;return"number"==typeof r&&r===t},error:function(e,t){return"string"==typeof t&&e.error?t===e.error.code:t===!!e.error}},listeners:(new n.SequentialExecutor).addNamedListeners(function(e){e("RETRY_CHECK","retry",function(e){var t=e.request._waiter;e.error&&"ResourceNotReady"===e.error.code&&(e.error.retryDelay=1e3*(t.config.delay||0))}),e("CHECK_OUTPUT","extractData",s),e("CHECK_ERROR","extractError",s)}),wait:function(e,t){"function"==typeof e&&(t=e,e=void 0),e&&e.$waiter&&("number"==typeof(e=n.util.copy(e)).$waiter.delay&&(this.config.delay=e.$waiter.delay),"number"==typeof e.$waiter.maxAttempts&&(this.config.maxAttempts=e.$waiter.maxAttempts),delete e.$waiter);var r=this.service.makeRequest(this.config.operation,e);return r._waiter=this,r.response.maxRetries=this.config.maxAttempts,r.addListeners(this.listeners),t&&r.send(t),r},setSuccess:function(e){e.error=null,e.data=e.data||{},e.request.removeAllListeners("extractData")},setError:function(e,t){e.data=null,e.error=n.util.error(e.error||new Error,{code:"ResourceNotReady",message:"Resource is not in the state "+this.state,retryable:t})},loadWaiterConfig:function(e){if(!this.service.api.waiters[e])throw new n.util.error(new Error,{code:"StateNotFoundError",message:"State "+e+" not found."});this.config=n.util.copy(this.service.api.waiters[e])}})},(e,t,r)=>{var n=r(38),i=n.util.inherit;n.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),n.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return n.Signers.V2;case"v3":return n.Signers.V3;case"s3v4":case"v4":return n.Signers.V4;case"s3":return n.Signers.S3;case"v3https":return n.Signers.V3Https;case"bearer":return n.Signers.Bearer}throw new Error("Unknown signing version "+e)},r(136),r(137),r(138),r(139),r(141),r(142),r(143)},(e,t,r)=>{var n=r(38),i=n.util.inherit;n.Signers.V2=i(n.Signers.RequestSigner,{addAuthorization:function(e,t){t||(t=n.util.date.getDate());var r=this.request;r.params.Timestamp=n.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=n.util.queryParamsToString(r.params),r.headers["Content-Length"]=r.body.length},signature:function(e){return n.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(n.util.queryParamsToString(this.request.params)),e.join("\n")}}),e.exports=n.Signers.V2},(e,t,r)=>{var n=r(38),i=n.util.inherit;n.Signers.V3=i(n.Signers.RequestSigner,{addAuthorization:function(e,t){var r=n.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 n.util.arrayEach(this.headersToSign(),function(t){e.push(t.toLowerCase())}),e.sort().join(";")},canonicalHeaders:function(){var e=this.request.headers,t=[];return n.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 n.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 n.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),n.util.crypto.sha256(e.join("\n"))}}),e.exports=n.Signers.V3},(e,t,r)=>{var n=r(38),i=n.util.inherit;r(137),n.Signers.V3Https=i(n.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=n.Signers.V3Https},(e,t,r)=>{var n=r(38),i=r(140),o=n.util.inherit,s="presigned-expires";n.Signers.V4=o(n.Signers.RequestSigner,{constructor:function(e,t,r){n.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=n.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[s],"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"]),n.util.each.call(this,this.request.headers,function(e,t){if(e!==s&&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 o=this.request.path.indexOf("?")>=0?"&":"?";this.request.path+=o+n.util.queryParamsToString(i)},authorization:function(e,t){var r=[],n=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+n),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 n.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=n.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=[];n.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()<t[0].toLowerCase()?-1:1});var t=[];return n.util.arrayEach.call(this,e,function(e){var r=e[0].toLowerCase();if(this.isSignableHeader(r)){var i=e[1];if(null==i||"function"!=typeof i.toString)throw n.util.error(new Error("Header "+r+" contains invalid value"),{code:"InvalidHeader"});t.push(r+":"+this.canonicalHeaderValues(i.toString()))}}),t.join("\n")},canonicalHeaderValues:function(e){return e.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")},signedHeaders:function(){var e=[];return n.util.each.call(this,this.request.headers,function(t){t=t.toLowerCase(),this.isSignableHeader(t)&&e.push(t)}),e.sort().join(";")},credentialString:function(e){return i.createScope(e.substr(0,8),this.request.region,this.serviceName)},hexEncodedHash:function(e){return n.util.crypto.sha256(e,"hex")},hexEncodedBodyHash:function(){var e=this.request;return this.isPresigned()&&["s3","s3-object-lambda"].indexOf(this.serviceName)>-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",s,"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[s]}}),e.exports=n.Signers.V4},(e,t,r)=>{var n=r(38),i={},o=[],s="aws4_request";e.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,s].join("/")},getSigningKey:function(e,t,r,a,c){var u=[n.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),t,r,a].join("_");if((c=!1!==c)&&u in i)return i[u];var p=n.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),l=n.util.crypto.hmac(p,r,"buffer"),d=n.util.crypto.hmac(l,a,"buffer"),f=n.util.crypto.hmac(d,s,"buffer");return c&&(i[u]=f,o.push(u),o.length>50&&delete i[o.shift()]),f},emptyCache:function(){i={},o=[]}}},(e,t,r)=>{var n=r(38),i=n.util.inherit;n.Signers.S3=i(n.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"]=n.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=[];n.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1});var t=[];return n.util.arrayEach.call(this,e,function(e){t.push(e.toLowerCase()+":"+String(this.request.headers[e]))}),t.join("\n")},canonicalizedResource:function(){var e=this.request,t=e.path.split("?"),r=t[0],i=t[1],o="";if(e.virtualHostedBucket&&(o+="/"+e.virtualHostedBucket),o+=r,i){var s=[];n.util.arrayEach.call(this,i.split("&"),function(e){var t=e.split("=")[0],r=e.split("=")[1];if(this.subResources[t]||this.responseHeaders[t]){var n={name:t};void 0!==r&&(this.subResources[t]?n.value=r:n.value=decodeURIComponent(r)),s.push(n)}}),s.sort(function(e,t){return e.name<t.name?-1:1}),s.length&&(i=[],n.util.arrayEach(s,function(e){void 0===e.value?i.push(e.name):i.push(e.name+"="+e.value)}),o+="?"+i.join("&"))}return o},sign:function(e,t){return n.util.crypto.hmac(e,t,"base64","sha1")}}),e.exports=n.Signers.S3},(e,t,r)=>{var n=r(38),i=n.util.inherit,o="presigned-expires";function s(e){var t=e.httpRequest.headers[o],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===n.Signers.V4){if(t>604800){throw n.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[o]=t}else{if(r!==n.Signers.S3)throw n.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var i=e.service?e.service.getSkewCorrectedDate():n.util.date.getDate();e.httpRequest.headers[o]=parseInt(n.util.date.unixTimestamp(i)+t,10).toString()}}function a(e){var t=e.httpRequest.endpoint,r=n.util.urlParse(e.httpRequest.path),i={};r.search&&(i=n.util.queryStringParse(r.search.substr(1)));var s=e.httpRequest.headers.Authorization.split(" ");if("AWS"===s[0])s=s[1].split(":"),i.Signature=s.pop(),i.AWSAccessKeyId=s.join(":"),n.util.each(e.httpRequest.headers,function(e,t){e===o&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete i[e],e=e.toLowerCase()),i[e]=t}),delete e.httpRequest.headers[o],delete i.Authorization,delete i.Host;else if("AWS4-HMAC-SHA256"===s[0]){s.shift();var a=s.join(" ").match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];i["X-Amz-Signature"]=a,delete i.Expires}t.pathname=r.pathname,t.search=n.util.queryParamsToString(i)}n.Signers.Presign=i({sign:function(e,t,r){if(e.httpRequest.headers[o]=t||3600,e.on("build",s),e.on("sign",a),e.removeListener("afterBuild",n.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",n.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return n.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,n.util.urlFormat(e.httpRequest.endpoint))})}}),e.exports=n.Signers.Presign},(e,t,r)=>{var n=r(38);n.Signers.Bearer=n.util.inherit(n.Signers.RequestSigner,{constructor:function(e){n.Signers.RequestSigner.call(this,e)},addAuthorization:function(e){this.request.headers.Authorization="Bearer "+e.token}})},(e,t,r)=>{var n=r(38);n.ParamValidator=n.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,n.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(n.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;var n;this.validateType(t,r,["object"],"structure");for(var i=0;e.required&&i<e.required.length;i++){var o=t[n=e.required[i]];null==o&&this.fail("MissingRequiredParameter","Missing required key '"+n+"' in "+r)}for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=t[n],a=e.members[n];if(void 0!==a){var c=[r,n].join(".");this.validateMember(a,s,c)}else null!=s&&this.fail("UnexpectedParameter","Unexpected key '"+n+"' found in "+r)}return!0},validateMember:function(e,t,r){switch(e.type){case"structure":return this.validateStructure(e,t,r);case"list":return this.validateList(e,t,r);case"map":return this.validateMap(e,t,r);default:return this.validateScalar(e,t,r)}},validateList:function(e,t,r){if(this.validateType(t,r,[Array])){this.validateRange(e,t.length,r,"list member count");for(var n=0;n<t.length;n++)this.validateMember(e.member,t[n],r+"["+n+"]")}},validateMap:function(e,t,r){if(this.validateType(t,r,["object"],"map")){var n=0;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(this.validateMember(e.key,i,r+"[key='"+i+"']"),this.validateMember(e.value,t[i],r+"['"+i+"']"),n++);this.validateRange(e,n,r,"map member count")}},validateScalar:function(e,t,r){switch(e.type){case null:case void 0:case"string":return this.validateString(e,t,r);case"base64":case"binary":return this.validatePayload(t,r);case"integer":case"float":return this.validateNumber(e,t,r);case"boolean":return this.validateType(t,r,["boolean"]);case"timestamp":return this.validateType(t,r,[Date,/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/,"number"],"Date object, ISO-8601 string, or a UNIX timestamp");default:return this.fail("UnkownType","Unhandled type "+e.type+" for "+r)}},validateString:function(e,t,r){var n=["string"];e.isJsonValue&&(n=n.concat(["number","object","boolean"])),null!==t&&this.validateType(t,r,n)&&(this.validateEnum(e,t,r),this.validateRange(e,t.length,r,"string length"),this.validatePattern(e,t,r),this.validateUri(e,t,r))},validateUri:function(e,t,r){"uri"===e.location&&0===t.length&&this.fail("UriParameterError",'Expected uri parameter to have length >= 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,n){this.validation.min&&void 0!==e.min&&t<e.min&&this.fail("MinRangeError","Expected "+n+" >= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+n+" <= "+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)return!1;for(var o=!1,s=0;s<r.length;s++){if("string"==typeof r[s]){if(typeof e===r[s])return!0}else if(r[s]instanceof RegExp){if((e||"").toString().match(r[s]))return!0}else{if(e instanceof r[s])return!0;if(n.util.isType(e,r[s]))return!0;i||o||(r=r.slice()),r[s]=n.util.typeName(r[s])}o=!0}var a=i;a||(a=r.join(", ").replace(/,([^,]+)$/,", or$1"));var c=a.match(/^[aeiou]/i)?"n":"";return this.fail("InvalidParameterType","Expected "+t+" to be a"+c+" "+a),!1},validateNumber:function(e,t,r){if(null!=t){if("string"==typeof t){var n=parseFloat(t);n.toString()===t&&(t=n)}this.validateType(t,r,["number"])&&this.validateRange(e,t,r,"numeric value")}},validatePayload:function(e,t){if(null!=e&&"string"!=typeof e&&(!e||"number"!=typeof e.byteLength)){if(n.util.isNode()){var r=n.util.stream.Stream;if(n.util.Buffer.isBuffer(e)||e instanceof r)return}else if(void 0!==typeof Blob&&e instanceof Blob)return;var i=["Buffer","Stream","File","Blob","ArrayBuffer","DataView"];if(e)for(var o=0;o<i.length;o++){if(n.util.isType(e,i[o]))return;if(n.util.typeName(e.constructor)===i[o])return}this.fail("InvalidParameterType","Expected "+t+" to be a string, Buffer, Stream, Blob, or typed array object")}}})},e=>{var t=["The AWS SDK for JavaScript (v2) is in maintenance mode."," SDK releases are limited to address critical bug fixes and security issues only.\n","Please migrate your code to use AWS SDK for JavaScript (v3).","For more information, check the blog post at https://a.co/cUPnyil"].join("\n");e.exports={suppress:!1},setTimeout(function(){e.exports.suppress||"undefined"!=typeof process&&("object"==typeof process.env&&void 0!==process.env.AWS_EXECUTION_ENV&&0===process.env.AWS_EXECUTION_ENV.indexOf("AWS_Lambda_")||"object"==typeof process.env&&void 0!==process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE||"function"==typeof process.emitWarning&&process.emitWarning(t,{type:"NOTE"}))},0)},()=>{},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return s.default}});var n=a(r(148)),i=a(r(151)),o=a(r(154)),s=a(r(155));function a(e){return e&&e.__esModule?e:{default:e}}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i,o=a(r(149)),s=a(r(150));function a(e){return e&&e.__esModule?e:{default:e}}var c=0,u=0;var p=function(e,t,r){var a=t&&r||0,p=t||[],l=(e=e||{}).node||n,d=void 0!==e.clockseq?e.clockseq:i;if(null==l||null==d){var f=e.random||(e.rng||o.default)();null==l&&(l=n=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==d&&(d=i=16383&(f[6]<<8|f[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:u+1,g=h-c+(m-u)/1e4;if(g<0&&void 0===e.clockseq&&(d=d+1&16383),(g<0||h>c)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=h,u=m,i=d;var y=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;p[a++]=y>>>24&255,p[a++]=y>>>16&255,p[a++]=y>>>8&255,p[a++]=255&y;var v=h/4294967296*1e4&268435455;p[a++]=v>>>8&255,p[a++]=255&v,p[a++]=v>>>24&15|16,p[a++]=v>>>16&255,p[a++]=d>>>8|128,p[a++]=255&d;for(var S=0;S<6;++S)p[a+S]=l[S];return t||(0,s.default)(p)};t.default=p},(e,t)=>{"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(n)};var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),n=new Uint8Array(16)},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);var i=function(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")};t.default=i},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(152)),i=o(r(153));function o(e){return e&&e.__esModule?e:{default:e}}var s=(0,n.default)("v3",48,i.default);t.default=s},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=function(e,n,o,s){var a=o&&s||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}(e)),"string"==typeof n&&(n=function(e){var t=[];return e.replace(/[a-fA-F0-9]{2}/g,function(e){t.push(parseInt(e,16))}),t}(n)),!Array.isArray(e))throw TypeError("value must be an array of bytes");if(!Array.isArray(n)||16!==n.length)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var c=r(n.concat(e));if(c[6]=15&c[6]|t,c[8]=63&c[8]|128,o)for(var u=0;u<16;++u)o[a+u]=c[u];return o||(0,i.default)(c)};try{n.name=e}catch(e){}return n.DNS=o,n.URL=s,n},t.URL=t.DNS=void 0;var n,i=(n=r(150))&&n.__esModule?n:{default:n};const o="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=o;const s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=s},(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 n(e,t,n,i,o,s){return r((a=r(r(t,e),r(i,s)))<<(c=o)|a>>>32-c,n);var a,c}function i(e,t,r,i,o,s,a){return n(t&r|~t&i,e,t,o,s,a)}function o(e,t,r,i,o,s,a){return n(t&i|r&~i,e,t,o,s,a)}function s(e,t,r,i,o,s,a){return n(t^r^i,e,t,o,s,a)}function a(e,t,r,i,o,s,a){return n(r^(t|~i),e,t,o,s,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var n=0;n<t.length;n++)e[n]=t.charCodeAt(n)}return function(e){var t,r,n,i=[],o=32*e.length,s="0123456789abcdef";for(t=0;t<o;t+=8)r=e[t>>5]>>>t%32&255,n=parseInt(s.charAt(r>>>4&15)+s.charAt(15&r),16),i.push(n);return i}(function(e,t){var n,c,u,p,l;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var d=1732584193,f=-271733879,h=-1732584194,m=271733878;for(n=0;n<e.length;n+=16)c=d,u=f,p=h,l=m,d=i(d,f,h,m,e[n],7,-680876936),m=i(m,d,f,h,e[n+1],12,-389564586),h=i(h,m,d,f,e[n+2],17,606105819),f=i(f,h,m,d,e[n+3],22,-1044525330),d=i(d,f,h,m,e[n+4],7,-176418897),m=i(m,d,f,h,e[n+5],12,1200080426),h=i(h,m,d,f,e[n+6],17,-1473231341),f=i(f,h,m,d,e[n+7],22,-45705983),d=i(d,f,h,m,e[n+8],7,1770035416),m=i(m,d,f,h,e[n+9],12,-1958414417),h=i(h,m,d,f,e[n+10],17,-42063),f=i(f,h,m,d,e[n+11],22,-1990404162),d=i(d,f,h,m,e[n+12],7,1804603682),m=i(m,d,f,h,e[n+13],12,-40341101),h=i(h,m,d,f,e[n+14],17,-1502002290),d=o(d,f=i(f,h,m,d,e[n+15],22,1236535329),h,m,e[n+1],5,-165796510),m=o(m,d,f,h,e[n+6],9,-1069501632),h=o(h,m,d,f,e[n+11],14,643717713),f=o(f,h,m,d,e[n],20,-373897302),d=o(d,f,h,m,e[n+5],5,-701558691),m=o(m,d,f,h,e[n+10],9,38016083),h=o(h,m,d,f,e[n+15],14,-660478335),f=o(f,h,m,d,e[n+4],20,-405537848),d=o(d,f,h,m,e[n+9],5,568446438),m=o(m,d,f,h,e[n+14],9,-1019803690),h=o(h,m,d,f,e[n+3],14,-187363961),f=o(f,h,m,d,e[n+8],20,1163531501),d=o(d,f,h,m,e[n+13],5,-1444681467),m=o(m,d,f,h,e[n+2],9,-51403784),h=o(h,m,d,f,e[n+7],14,1735328473),d=s(d,f=o(f,h,m,d,e[n+12],20,-1926607734),h,m,e[n+5],4,-378558),m=s(m,d,f,h,e[n+8],11,-2022574463),h=s(h,m,d,f,e[n+11],16,1839030562),f=s(f,h,m,d,e[n+14],23,-35309556),d=s(d,f,h,m,e[n+1],4,-1530992060),m=s(m,d,f,h,e[n+4],11,1272893353),h=s(h,m,d,f,e[n+7],16,-155497632),f=s(f,h,m,d,e[n+10],23,-1094730640),d=s(d,f,h,m,e[n+13],4,681279174),m=s(m,d,f,h,e[n],11,-358537222),h=s(h,m,d,f,e[n+3],16,-722521979),f=s(f,h,m,d,e[n+6],23,76029189),d=s(d,f,h,m,e[n+9],4,-640364487),m=s(m,d,f,h,e[n+12],11,-421815835),h=s(h,m,d,f,e[n+15],16,530742520),d=a(d,f=s(f,h,m,d,e[n+2],23,-995338651),h,m,e[n],6,-198630844),m=a(m,d,f,h,e[n+7],10,1126891415),h=a(h,m,d,f,e[n+14],15,-1416354905),f=a(f,h,m,d,e[n+5],21,-57434055),d=a(d,f,h,m,e[n+12],6,1700485571),m=a(m,d,f,h,e[n+3],10,-1894986606),h=a(h,m,d,f,e[n+10],15,-1051523),f=a(f,h,m,d,e[n+1],21,-2054922799),d=a(d,f,h,m,e[n+8],6,1873313359),m=a(m,d,f,h,e[n+15],10,-30611744),h=a(h,m,d,f,e[n+6],15,-1560198380),f=a(f,h,m,d,e[n+13],21,1309151649),d=a(d,f,h,m,e[n+4],6,-145523070),m=a(m,d,f,h,e[n+11],10,-1120210379),h=a(h,m,d,f,e[n+2],15,718787259),f=a(f,h,m,d,e[n+9],21,-343485551),d=r(d,c),f=r(f,u),h=r(h,p),m=r(m,l);return[d,f,h,m]}(function(e){var t,r=[];for(r[(e.length>>2)-1]=void 0,t=0;t<r.length;t+=1)r[t]=0;var n=8*e.length;for(t=0;t<n;t+=8)r[t>>5]|=(255&e[t/8])<<t%32;return r}(e),8*e.length))};t.default=c},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(149)),i=o(r(150));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t,r){var o=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||n.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||(0,i.default)(s)};t.default=s},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(152)),i=o(r(156));function o(e){return e&&e.__esModule?e:{default:e}}var s=(0,n.default)("v5",80,i.default);t.default=s},(e,t)=>{"use strict";function r(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|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 o=unescape(encodeURIComponent(e));e=new Array(o.length);for(var s=0;s<o.length;s++)e[s]=o.charCodeAt(s)}e.push(128);var a=e.length/4+2,c=Math.ceil(a/16),u=new Array(c);for(s=0;s<c;s++){u[s]=new Array(16);for(var p=0;p<16;p++)u[s][p]=e[64*s+4*p]<<24|e[64*s+4*p+1]<<16|e[64*s+4*p+2]<<8|e[64*s+4*p+3]}for(u[c-1][14]=8*(e.length-1)/Math.pow(2,32),u[c-1][14]=Math.floor(u[c-1][14]),u[c-1][15]=8*(e.length-1)&4294967295,s=0;s<c;s++){for(var l=new Array(80),d=0;d<16;d++)l[d]=u[s][d];for(d=16;d<80;d++)l[d]=n(l[d-3]^l[d-8]^l[d-14]^l[d-16],1);var f=i[0],h=i[1],m=i[2],g=i[3],y=i[4];for(d=0;d<80;d++){var v=Math.floor(d/20),S=n(f,5)+r(v,h,m,g)+y+t[v]+l[d]>>>0;y=g,g=m,m=n(h,30)>>>0,h=f,f=S}i[0]=i[0]+f>>>0,i[1]=i[1]+h>>>0,i[2]=i[2]+m>>>0,i[3]=i[3]+g>>>0,i[4]=i[4]+y>>>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},(e,t,r)=>{var n=r(158),i=r(164),o=r(165),s=r(166);e.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new i;if("sha256"===e)return new s;if("sha1"===e)return new o;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new n(i,t);if("sha256"===e)return new n(s,t);if("sha1"===e)return new n(o,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")}}},(e,t,r)=>{var n=r(159);function i(e,t){this.hash=new e,this.outer=new e;var r=function(e,t){var r=n.convertToBuffer(t);if(r.byteLength>e.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var o=new Uint8Array(e.BLOCK_SIZE);return o.set(r),o}(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var o=0;o<e.BLOCK_SIZE;o++)r[o]^=54,i[o]^=92;this.hash.update(r),this.outer.update(i);for(o=0;o<r.byteLength;o++)r[o]=0}e.exports=i,i.prototype.update=function(e){if(n.isEmptyData(e)||this.error)return this;try{this.hash.update(n.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},(e,t,r)=>{var n=r(160).Buffer;"undefined"!=typeof ArrayBuffer&&void 0===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 n(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}},(e,t,r)=>{"use strict";
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <http://feross.org>
|
||
* @license MIT
|
||
*/var n=r(161),i=r(162),o=r(163);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r);e=a(e,n);var i=e.write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(c.isBuffer(t)){var r=0|f(t.length);return 0===(e=a(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?a(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function p(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t){if(p(t),e=a(e,t<0?0:0|f(t)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|f(t.length);e=a(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function f(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function h(e,t){if(c.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 n=!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 W(e).length;default:if(n)return F(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=!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 k(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return R(this,t,r);case"latin1":case"binary":return x(this,t,r);case"base64":return w(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=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=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var p=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===p?0:o-p)){if(-1===p&&(p=o),o-p+1===c)return p*s}else-1!==p&&(o-=o-p),p=-1}else for(r+c>a&&(r=a-c),o=r;o>=0;o--){for(var l=!0,d=0;d<c;d++)if(u(e,o+d)!==u(t,d)){l=!1;break}if(l)return o}return-1}function S(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[r+s]=a}return s}function b(e,t,r,n){return H(F(t,e.length-r),e,r,n)}function _(e,t,r,n){return H(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function E(e,t,r,n){return _(e,t,r,n)}function T(e,t,r,n){return H(W(t),e,r,n)}function I(e,t,r,n){return H(function(e,t){for(var r,n,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)n=(r=e.charCodeAt(s))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function w(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,c,u=e[i],p=null,l=u>239?4:u>223?3:u>191?2:1;if(i+l<=r)switch(l){case 1:u<128&&(p=u);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&u)<<6|63&o)>127&&(p=c);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(c=(15&u)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(p=c);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(p=c)}null===p?(p=65533,l=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),i+=l}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=C));return r}(n)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,r){return u(null,e,t,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,r){return function(e,t,r,n){return p(t),t<=0?a(e,t):void 0!==r?"string"==typeof n?a(e,t).fill(r,n):a(e,t).fill(r):a(e,t)}(null,e,t,r)},c.allocUnsafe=function(e){return l(null,e)},c.allocUnsafeSlow=function(e){return l(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=c.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var s=e[r];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,i),i+=s.length}return n},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?A(this,0,e):m.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,r,n,i){if(!c.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===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(o,s),u=this.slice(n,i),p=e.slice(t,r),l=0;l<a;++l)if(u[l]!==p[l]){o=u[l],s=p[l];break}return o<s?-1:s<o?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return S(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return T(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function R(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function x(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function k(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=q(e[o]);return i}function O(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function P(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,r,n,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function M(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,r,n,o){return o||M(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,o){return o||M(e,0,r,8),i.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;r=new c(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},c.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},c.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},c.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||N(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},c.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||N(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);N(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);N(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},c.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=c.isBuffer(e)?e:F(new c(e,n).toString()),a=s.length;for(o=0;o<r-t;++o)this[o+t]=s[o%a]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.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;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function W(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}},(e,t)=>{"use strict";t.byteLength=function(e){var t=a(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=a(e),s=o[0],c=o[1],u=new i(function(e,t,r){return 3*(t+r)/4-r}(0,s,c)),p=0,l=c>0?s-4:s;for(r=0;r<l;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[p++]=t>>16&255,u[p++]=t>>8&255,u[p++]=255&t;2===c&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[p++]=255&t);1===c&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[p++]=t>>8&255,u[p++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=16383,a=0,c=n-i;a<c;a+=s)o.push(u(e,a,a+s>c?c:a+s));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function a(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 c(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function u(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(c(n));return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},(e,t)=>{
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,c=(1<<a)-1,u=c>>1,p=-7,l=r?i-1:0,d=r?-1:1,f=e[t+l];for(l+=d,o=f&(1<<-p)-1,f>>=-p,p+=a;p>0;o=256*o+e[t+l],l+=d,p-=8);for(s=o&(1<<-p)-1,o>>=-p,p+=n;p>0;s=256*s+e[t+l],l+=d,p-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),o-=u}return(f?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,c,u=8*o-i-1,p=(1<<u)-1,l=p>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=p):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+l>=1?d/c:d*Math.pow(2,1-l))*c>=2&&(s++,c/=2),s+l>=p?(a=0,s=p):s+l>=1?(a=(t*c-1)*Math.pow(2,i),s+=l):(a=t*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;e[r+f]=255&a,f+=h,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[r+f]=255&s,f+=h,s/=256,u-=8);e[r+f-h]|=128*m}},e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},(e,t,r)=>{var n=r(159),i=r(160).Buffer,o=64;function s(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(o)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,n,i,o){return((t=(t+e&4294967295)+(n+o&4294967295)&4294967295)<<i|t>>>32-i)+r&4294967295}function c(e,t,r,n,i,o,s){return a(t&r|~t&n,e,t,i,o,s)}function u(e,t,r,n,i,o,s){return a(t&n|r&~n,e,t,i,o,s)}function p(e,t,r,n,i,o,s){return a(t^r^n,e,t,i,o,s)}function l(e,t,r,n,i,o,s){return a(r^(t|~n),e,t,i,o,s)}e.exports=s,s.BLOCK_SIZE=o,s.prototype.update=function(e){if(n.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=n.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0);return this},s.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,n=t.bufferLength,s=8*t.bytesHashed;if(r.setUint8(this.bufferLength++,128),n%o>=56){for(var a=this.bufferLength;a<o;a++)r.setUint8(a,0);this.hashBuffer(),this.bufferLength=0}for(a=this.bufferLength;a<56;a++)r.setUint8(a,0);r.setUint32(56,s>>>0,!0),r.setUint32(60,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}var c=new DataView(new ArrayBuffer(16));for(a=0;a<4;a++)c.setUint32(4*a,this.state[a],!0);var u=new i(c.buffer,c.byteOffset,c.byteLength);return e?u.toString(e):u},s.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],o=t[3];r=c(r,n,i,o,e.getUint32(0,!0),7,3614090360),o=c(o,r,n,i,e.getUint32(4,!0),12,3905402710),i=c(i,o,r,n,e.getUint32(8,!0),17,606105819),n=c(n,i,o,r,e.getUint32(12,!0),22,3250441966),r=c(r,n,i,o,e.getUint32(16,!0),7,4118548399),o=c(o,r,n,i,e.getUint32(20,!0),12,1200080426),i=c(i,o,r,n,e.getUint32(24,!0),17,2821735955),n=c(n,i,o,r,e.getUint32(28,!0),22,4249261313),r=c(r,n,i,o,e.getUint32(32,!0),7,1770035416),o=c(o,r,n,i,e.getUint32(36,!0),12,2336552879),i=c(i,o,r,n,e.getUint32(40,!0),17,4294925233),n=c(n,i,o,r,e.getUint32(44,!0),22,2304563134),r=c(r,n,i,o,e.getUint32(48,!0),7,1804603682),o=c(o,r,n,i,e.getUint32(52,!0),12,4254626195),i=c(i,o,r,n,e.getUint32(56,!0),17,2792965006),r=u(r,n=c(n,i,o,r,e.getUint32(60,!0),22,1236535329),i,o,e.getUint32(4,!0),5,4129170786),o=u(o,r,n,i,e.getUint32(24,!0),9,3225465664),i=u(i,o,r,n,e.getUint32(44,!0),14,643717713),n=u(n,i,o,r,e.getUint32(0,!0),20,3921069994),r=u(r,n,i,o,e.getUint32(20,!0),5,3593408605),o=u(o,r,n,i,e.getUint32(40,!0),9,38016083),i=u(i,o,r,n,e.getUint32(60,!0),14,3634488961),n=u(n,i,o,r,e.getUint32(16,!0),20,3889429448),r=u(r,n,i,o,e.getUint32(36,!0),5,568446438),o=u(o,r,n,i,e.getUint32(56,!0),9,3275163606),i=u(i,o,r,n,e.getUint32(12,!0),14,4107603335),n=u(n,i,o,r,e.getUint32(32,!0),20,1163531501),r=u(r,n,i,o,e.getUint32(52,!0),5,2850285829),o=u(o,r,n,i,e.getUint32(8,!0),9,4243563512),i=u(i,o,r,n,e.getUint32(28,!0),14,1735328473),r=p(r,n=u(n,i,o,r,e.getUint32(48,!0),20,2368359562),i,o,e.getUint32(20,!0),4,4294588738),o=p(o,r,n,i,e.getUint32(32,!0),11,2272392833),i=p(i,o,r,n,e.getUint32(44,!0),16,1839030562),n=p(n,i,o,r,e.getUint32(56,!0),23,4259657740),r=p(r,n,i,o,e.getUint32(4,!0),4,2763975236),o=p(o,r,n,i,e.getUint32(16,!0),11,1272893353),i=p(i,o,r,n,e.getUint32(28,!0),16,4139469664),n=p(n,i,o,r,e.getUint32(40,!0),23,3200236656),r=p(r,n,i,o,e.getUint32(52,!0),4,681279174),o=p(o,r,n,i,e.getUint32(0,!0),11,3936430074),i=p(i,o,r,n,e.getUint32(12,!0),16,3572445317),n=p(n,i,o,r,e.getUint32(24,!0),23,76029189),r=p(r,n,i,o,e.getUint32(36,!0),4,3654602809),o=p(o,r,n,i,e.getUint32(48,!0),11,3873151461),i=p(i,o,r,n,e.getUint32(60,!0),16,530742520),r=l(r,n=p(n,i,o,r,e.getUint32(8,!0),23,3299628645),i,o,e.getUint32(0,!0),6,4096336452),o=l(o,r,n,i,e.getUint32(28,!0),10,1126891415),i=l(i,o,r,n,e.getUint32(56,!0),15,2878612391),n=l(n,i,o,r,e.getUint32(20,!0),21,4237533241),r=l(r,n,i,o,e.getUint32(48,!0),6,1700485571),o=l(o,r,n,i,e.getUint32(12,!0),10,2399980690),i=l(i,o,r,n,e.getUint32(40,!0),15,4293915773),n=l(n,i,o,r,e.getUint32(4,!0),21,2240044497),r=l(r,n,i,o,e.getUint32(32,!0),6,1873313359),o=l(o,r,n,i,e.getUint32(60,!0),10,4264355552),i=l(i,o,r,n,e.getUint32(24,!0),15,2734768916),n=l(n,i,o,r,e.getUint32(52,!0),21,1309151649),r=l(r,n,i,o,e.getUint32(16,!0),6,4149444226),o=l(o,r,n,i,e.getUint32(44,!0),10,3174756917),i=l(i,o,r,n,e.getUint32(8,!0),15,718787259),n=l(n,i,o,r,e.getUint32(36,!0),21,3951481745),t[0]=r+t[0]&4294967295,t[1]=n+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=o+t[3]&4294967295}},(e,t,r)=>{var n=r(160).Buffer,i=r(159);new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);function o(){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=o,o.BLOCK_SIZE=64,o.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;r<t;r++)this.write(e[r]);return this},o.prototype.write=function(e){this.block[this.offset]|=(255&e)<<this.shift,this.shift?this.shift-=8:(this.offset++,this.shift=24),16===this.offset&&this.processBlock()},o.prototype.digest=function(e){this.write(128),(this.offset>14||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 n(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},o.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,n,i=this.h0,o=this.h1,s=this.h2,a=this.h3,c=this.h4;for(e=0;e<80;e++){e<20?(r=a^o&(s^a),n=1518500249):e<40?(r=o^s^a,n=1859775393):e<60?(r=o&s|a&(o|s),n=2400959708):(r=o^s^a,n=3395469782);var u=(i<<5|i>>>27)+r+c+n+(0|this.block[e]);c=a,a=s,s=o<<30|o>>>2,o=i,i=u}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+s|0,this.h3=this.h3+a|0,this.h4=this.h4+c|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},(e,t,r)=>{var n=r(160).Buffer,i=r(159),o=64,s=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]),a=Math.pow(2,53)-1;function c(){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=c,c.BLOCK_SIZE=o,c.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>a)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===o&&(this.hashBuffer(),this.bufferLength=0);return this},c.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%o>=56){for(var s=this.bufferLength;s<o;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}var a=new n(32);for(s=0;s<8;s++)a[4*s]=this.state[s]>>>24&255,a[4*s+1]=this.state[s]>>>16&255,a[4*s+2]=this.state[s]>>>8&255,a[4*s+3]=this.state[s]>>>0&255;return e?a.toString(e):a},c.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],a=t[3],c=t[4],u=t[5],p=t[6],l=t[7],d=0;d<o;d++){if(d<16)this.temp[d]=(255&e[4*d])<<24|(255&e[4*d+1])<<16|(255&e[4*d+2])<<8|255&e[4*d+3];else{var f=this.temp[d-2],h=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,m=((f=this.temp[d-15])>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;this.temp[d]=(h+this.temp[d-7]|0)+(m+this.temp[d-16]|0)}var g=(((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&u^~c&p)|0)+(l+(s[d]+this.temp[d]|0)|0)|0,y=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&i^n&i)|0;l=p,p=u,u=c,c=a+g|0,a=i,i=n,n=r,r=g+y|0}t[0]+=r,t[1]+=n,t[2]+=i,t[3]+=a,t[4]+=c,t[5]+=u,t[6]+=p,t[7]+=l}},(e,t,r)=>{var n=r(168);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){v(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(a),u=["%","/","?",";","#"].concat(c),p=["/","?","#"],l=/^[a-z0-9A-Z_-]{0,63}$/,d=/^([a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=r(169);function y(e,t,r){if(e&&S(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}function v(e){return"string"==typeof e}function S(e){return"object"==typeof e&&null!==e}function b(e){return null===e}i.prototype.parse=function(e,t,r){if(!v(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var s=o.exec(i);if(s){var a=(s=s[0]).toLowerCase();this.protocol=a,i=i.substr(s.length)}if(r||s||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var y="//"===i.substr(0,2);!y||s&&h[s]||(i=i.substr(2),this.slashes=!0)}if(!h[s]&&(y||s&&!m[s])){for(var S,b,_=-1,E=0;E<p.length;E++){-1!==(T=i.indexOf(p[E]))&&(-1===_||T<_)&&(_=T)}-1!==(b=-1===_?i.lastIndexOf("@"):i.lastIndexOf("@",_))&&(S=i.slice(0,b),i=i.slice(b+1),this.auth=decodeURIComponent(S)),_=-1;for(E=0;E<u.length;E++){var T;-1!==(T=i.indexOf(u[E]))&&(-1===_||T<_)&&(_=T)}-1===_&&(_=i.length),this.host=i.slice(0,_),i=i.slice(_),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var w=this.hostname.split(/\./),A=(E=0,w.length);E<A;E++){var C=w[E];if(C&&!C.match(l)){for(var R="",x=0,k=C.length;x<k;x++)C.charCodeAt(x)>127?R+="x":R+=C[x];if(!R.match(l)){var O=w.slice(0,E),P=w.slice(E+1),N=C.match(d);N&&(O.push(N[1]),P.unshift(N[2])),P.length&&(i="/"+P.join(".")+i),this.hostname=O.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!I){var D=this.hostname.split("."),L=[];for(E=0;E<D.length;++E){var M=D[E];L.push(M.match(/[^A-Za-z0-9_-]/)?"xn--"+n.encode(M):M)}this.hostname=L.join(".")}var U=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+U,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!f[a])for(E=0,A=c.length;E<A;E++){var j=c[E],q=encodeURIComponent(j);q===j&&(q=escape(j)),i=i.split(j).join(q)}var F=i.indexOf("#");-1!==F&&(this.hash=i.substr(F),i=i.slice(0,F));var W=i.indexOf("?");if(-1!==W?(this.search=i.substr(W),this.query=i.substr(W+1),t&&(this.query=g.parse(this.query)),i=i.slice(0,W)):t&&(this.search="",this.query={}),i&&(this.pathname=i),m[a]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"",M=this.search||"";this.path=U+M}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&S(this.query)&&Object.keys(this.query).length&&(o=g.stringify(this.query));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(v(e)){var t=new i;t.parse(e,!1,!0),e=t}var r=new i;if(Object.keys(this).forEach(function(e){r[e]=this[e]},this),r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(t){"protocol"!==t&&(r[t]=e[t])}),m[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r;if(e.protocol&&e.protocol!==r.protocol){if(!m[e.protocol])return Object.keys(e).forEach(function(t){r[t]=e[t]}),r.href=r.format(),r;if(r.protocol=e.protocol,e.host||h[e.protocol])r.pathname=e.pathname;else{for(var n=(e.pathname||"").split("/");n.length&&!(e.host=n.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==n[0]&&n.unshift(""),n.length<2&&n.unshift(""),r.pathname=n.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var o=r.pathname||"",s=r.search||"";r.path=o+s}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var a=r.pathname&&"/"===r.pathname.charAt(0),c=e.host||e.pathname&&"/"===e.pathname.charAt(0),u=c||a||r.host&&e.pathname,p=u,l=r.pathname&&r.pathname.split("/")||[],d=(n=e.pathname&&e.pathname.split("/")||[],r.protocol&&!m[r.protocol]);if(d&&(r.hostname="",r.port=null,r.host&&(""===l[0]?l[0]=r.host:l.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===n[0]?n[0]=e.host:n.unshift(e.host)),e.host=null),u=u&&(""===n[0]||""===l[0])),c)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,l=n;else if(n.length)l||(l=[]),l.pop(),l=l.concat(n),r.search=e.search,r.query=e.query;else if(null!=e.search){if(d)r.hostname=r.host=l.shift(),(_=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=_.shift(),r.host=r.hostname=_.shift());return r.search=e.search,r.query=e.query,b(r.pathname)&&b(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!l.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var f=l.slice(-1)[0],g=(r.host||e.host)&&("."===f||".."===f)||""===f,y=0,S=l.length;S>=0;S--)"."==(f=l[S])?l.splice(S,1):".."===f?(l.splice(S,1),y++):y&&(l.splice(S,1),y--);if(!u&&!p)for(;y--;y)l.unshift("..");!u||""===l[0]||l[0]&&"/"===l[0].charAt(0)||l.unshift(""),g&&"/"!==l.join("/").substr(-1)&&l.push("");var _,E=""===l[0]||l[0]&&"/"===l[0].charAt(0);d&&(r.hostname=r.host=E?"":l.length?l.shift():"",(_=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=_.shift(),r.host=r.hostname=_.shift()));return(u=u||r.host&&l.length)&&!E&&l.unshift(""),l.length?r.pathname=l.join("/"):(r.pathname=null,r.path=null),b(r.pathname)&&b(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */e=r.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var o,s=2147483647,a=36,c=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,f=String.fromCharCode;function h(e){throw RangeError(l[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function g(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(p,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function v(e){return m(e,function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)}).join("")}function S(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:a}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=a)e=d(e/35);return d(n+36*e/(e+38))}function E(e){var t,r,n,i,o,c,u,p,l,f,m=[],g=e.length,y=0,b=128,E=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&h("not-basic"),m.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<g;){for(o=y,c=1,u=a;i>=g&&h("invalid-input"),((p=S(e.charCodeAt(i++)))>=a||p>d((s-y)/c))&&h("overflow"),y+=p*c,!(p<(l=u<=E?1:u>=E+26?26:u-E));u+=a)c>d(s/(f=a-l))&&h("overflow"),c*=f;E=_(y-o,t=m.length+1,0==o),d(y/t)>s-b&&h("overflow"),b+=d(y/t),y%=t,m.splice(y++,0,b)}return v(m)}function T(e){var t,r,n,i,o,c,u,p,l,m,g,v,S,E,T,I=[];for(v=(e=y(e)).length,t=128,r=0,o=72,c=0;c<v;++c)(g=e[c])<128&&I.push(f(g));for(n=i=I.length,i&&I.push("-");n<v;){for(u=s,c=0;c<v;++c)(g=e[c])>=t&&g<u&&(u=g);for(u-t>d((s-r)/(S=n+1))&&h("overflow"),r+=(u-t)*S,t=u,c=0;c<v;++c)if((g=e[c])<t&&++r>s&&h("overflow"),g==t){for(p=r,l=a;!(p<(m=l<=o?1:l>=o+26?26:l-o));l+=a)T=p-m,E=a-m,I.push(f(b(m+T%E,0))),p=d(T/E);I.push(f(b(p,0))),o=_(r,S,n==i),r=0,++n}++r,++t}return I.join("")}o={version:"1.3.2",ucs2:{decode:y,encode:v},decode:E,encode:T,toASCII:function(e){return g(e,function(e){return u.test(e)?"xn--"+T(e):e})},toUnicode:function(e){return g(e,function(e){return c.test(e)?E(e.slice(4).toLowerCase()):e})}},void 0===(n=function(){return o}.call(t,r,t,e))||(e.exports=n)}()},(e,t,r)=>{"use strict";t.decode=t.parse=r(170),t.encode=t.stringify=r(171)},e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(r);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var c=e.length;a>0&&c>a&&(c=a);for(var u=0;u<c;++u){var p,l,d,f,h=e[u].replace(s,"%20"),m=h.indexOf(n);m>=0?(p=h.substr(0,m),l=h.substr(m+1)):(p=h,l=""),d=decodeURIComponent(p),f=decodeURIComponent(l),t(o,d)?Array.isArray(o[d])?o[d].push(f):o[d]=[o[d],f]:o[d]=f}return o}},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,n,i){return r=r||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(t(i))+n;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(t(e))}).join(r):o+encodeURIComponent(t(e[i]))}).join(r):i?encodeURIComponent(t(i))+n+encodeURIComponent(t(e)):""}},e=>{e.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},(e,t,r)=>{var n=r(174).eventMessageChunker,i=r(175).parseEvent;e.exports={createEventStream:function(e,t,r){for(var o=n(e),s=[],a=0;a<o.length;a++)s.push(i(t,o[a],r));return s}}},e=>{e.exports={eventMessageChunker:function(e){for(var t=[],r=0;r<e.length;){var n=e.readInt32BE(r),i=e.slice(r,n+r);r+=n,t.push(i)}return t}}},(e,t,r)=>{var n=r(176).parseMessage;e.exports={parseEvent:function(e,t,r){var i=n(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw function(e){var t=e.headers[":error-code"],r=e.headers[":error-message"],n=new Error(r.value||r);return n.code=n.name=t.value||t,n}(i);if("event"!==o.value)return}var s=i.headers[":event-type"],a=r.members[s.value];if(a){var c={},u=a.eventPayloadMemberName;if(u){var p=a.members[u];"binary"===p.type?c[u]=i.body:c[u]=e.parse(i.body.toString(),p)}for(var l=a.eventHeaderMemberNames,d=0;d<l.length;d++){var f=l[d];i.headers[f]&&(c[f]=a.members[f].toType(i.headers[f].value))}var h={};return h[s.value]=c,h}}}},(e,t,r)=>{var n=r(177).Int64,i=r(178).splitMessage,o="boolean";function s(e){for(var t={},r=0;r<e.length;){var i=e.readUInt8(r++),s=e.slice(r,r+i).toString();switch(r+=i,e.readUInt8(r++)){case 0:t[s]={type:o,value:!0};break;case 1:t[s]={type:o,value:!1};break;case 2:t[s]={type:"byte",value:e.readInt8(r++)};break;case 3:t[s]={type:"short",value:e.readInt16BE(r)},r+=2;break;case 4:t[s]={type:"integer",value:e.readInt32BE(r)},r+=4;break;case 5:t[s]={type:"long",value:new n(e.slice(r,r+8))},r+=8;break;case 6:var a=e.readUInt16BE(r);r+=2,t[s]={type:"binary",value:e.slice(r,r+a)},r+=a;break;case 7:var c=e.readUInt16BE(r);r+=2,t[s]={type:"string",value:e.slice(r,r+c).toString()},r+=c;break;case 8:t[s]={type:"timestamp",value:new Date(new n(e.slice(r,r+8)).valueOf())},r+=8;break;case 9:var u=e.slice(r,r+16).toString("hex");r+=16,t[s]={type:"uuid",value:u.substr(0,8)+"-"+u.substr(8,4)+"-"+u.substr(12,4)+"-"+u.substr(16,4)+"-"+u.substr(20)};break;default:throw new Error("Unrecognized header type tag")}}return t}e.exports={parseMessage:function(e){var t=i(e);return{headers:s(t.headers),body:t.body}}}},(e,t,r)=>{var n=r(38).util,i=n.buffer.toBuffer;function o(e){if(8!==e.length)throw new Error("Int64 buffers must be exactly 8 bytes");n.Buffer.isBuffer(e)||(e=i(e)),this.bytes=e}function s(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}o.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,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&s(t),new o(t)},o.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&s(e),parseInt(e.toString("hex"),16)*(t?-1:1)},o.prototype.toString=function(){return String(this.valueOf())},e.exports={Int64:o}},(e,t,r)=>{var n=r(38).util,i=n.buffer.toBuffer;e.exports={splitMessage:function(e){if(n.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!==n.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!==n.crypto.crc32(e.slice(0,e.length-4)))throw new Error("The message checksum did not match the expected value of "+r);var o=12+e.readUInt32BE(4);return{headers:e.slice(12,o),body:e.slice(o,e.length-4)}}}},(e,t,r)=>{var n=r(38),i=r(180);n.TemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.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||n.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,n){r||t.service.credentialsFrom(n,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||n.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new n.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},(e,t,r)=>{r(36);var n=r(38),i=n.Service,o=n.apiLoader;o.services.sts={},n.STS=i.defineService("sts",["2011-06-15"]),r(181),Object.defineProperty(o.services.sts,"2011-06-15",{get:function(){var e=r(183);return e.paginators=r(184).pagination,e},enumerable:!0,configurable:!0}),e.exports=n.STS},(e,t,r)=>{var n=r(38),i=r(182);n.util.update(n.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new n.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 n.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var o=r.endpoint.indexOf(".amazonaws.com"),s=r.endpoint.substring(0,o)+"."+r.region+r.endpoint.substring(o);e.httpRequest.updateEndpoint(s),e.httpRequest.region=r.region}}})},(e,t,r)=>{var n=r(38);function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw n.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(!n.util.isNode())return r;if(Object.prototype.hasOwnProperty.call(process.env,t.env)&&(r=i(process.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+process.env[t.env]+'".'})))return r;var o={};try{o=n.util.getProfilesFromSharedConfig(n.util.iniLoader)[process.env.AWS_PROFILE||n.util.defaultProfile]}catch(e){}return o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)&&(r=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'})),r}},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2011-06-15","endpointPrefix":"sts","globalEndpoint":"sts.amazonaws.com","protocol":"query","serviceAbbreviation":"AWS STS","serviceFullName":"AWS Security Token Service","serviceId":"STS","signatureVersion":"v4","uid":"sts-2011-06-15","xmlNamespace":"https://sts.amazonaws.com/doc/2011-06-15/"},"operations":{"AssumeRole":{"input":{"type":"structure","required":["RoleArn","RoleSessionName"],"members":{"RoleArn":{},"RoleSessionName":{},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"},"Tags":{"shape":"S8"},"TransitiveTagKeys":{"type":"list","member":{}},"ExternalId":{},"SerialNumber":{},"TokenCode":{},"SourceIdentity":{},"ProvidedContexts":{"type":"list","member":{"type":"structure","members":{"ProviderArn":{},"ContextAssertion":{}}}}}},"output":{"resultWrapper":"AssumeRoleResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"SourceIdentity":{}}}},"AssumeRoleWithSAML":{"input":{"type":"structure","required":["RoleArn","PrincipalArn","SAMLAssertion"],"members":{"RoleArn":{},"PrincipalArn":{},"SAMLAssertion":{"type":"string","sensitive":true},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"}}},"output":{"resultWrapper":"AssumeRoleWithSAMLResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"Subject":{},"SubjectType":{},"Issuer":{},"Audience":{},"NameQualifier":{},"SourceIdentity":{}}}},"AssumeRoleWithWebIdentity":{"input":{"type":"structure","required":["RoleArn","RoleSessionName","WebIdentityToken"],"members":{"RoleArn":{},"RoleSessionName":{},"WebIdentityToken":{"type":"string","sensitive":true},"ProviderId":{},"PolicyArns":{"shape":"S4"},"Policy":{},"DurationSeconds":{"type":"integer"}}},"output":{"resultWrapper":"AssumeRoleWithWebIdentityResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"SubjectFromWebIdentityToken":{},"AssumedRoleUser":{"shape":"Sq"},"PackedPolicySize":{"type":"integer"},"Provider":{},"Audience":{},"SourceIdentity":{}}}},"DecodeAuthorizationMessage":{"input":{"type":"structure","required":["EncodedMessage"],"members":{"EncodedMessage":{}}},"output":{"resultWrapper":"DecodeAuthorizationMessageResult","type":"structure","members":{"DecodedMessage":{}}}},"GetAccessKeyInfo":{"input":{"type":"structure","required":["AccessKeyId"],"members":{"AccessKeyId":{}}},"output":{"resultWrapper":"GetAccessKeyInfoResult","type":"structure","members":{"Account":{}}}},"GetCallerIdentity":{"input":{"type":"structure","members":{}},"output":{"resultWrapper":"GetCallerIdentityResult","type":"structure","members":{"UserId":{},"Account":{},"Arn":{}}}},"GetFederationToken":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Policy":{},"PolicyArns":{"shape":"S4"},"DurationSeconds":{"type":"integer"},"Tags":{"shape":"S8"}}},"output":{"resultWrapper":"GetFederationTokenResult","type":"structure","members":{"Credentials":{"shape":"Sl"},"FederatedUser":{"type":"structure","required":["FederatedUserId","Arn"],"members":{"FederatedUserId":{},"Arn":{}}},"PackedPolicySize":{"type":"integer"}}}},"GetSessionToken":{"input":{"type":"structure","members":{"DurationSeconds":{"type":"integer"},"SerialNumber":{},"TokenCode":{}}},"output":{"resultWrapper":"GetSessionTokenResult","type":"structure","members":{"Credentials":{"shape":"Sl"}}}}},"shapes":{"S4":{"type":"list","member":{"type":"structure","members":{"arn":{}}}},"S8":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sl":{"type":"structure","required":["AccessKeyId","SecretAccessKey","SessionToken","Expiration"],"members":{"AccessKeyId":{},"SecretAccessKey":{"type":"string","sensitive":true},"SessionToken":{},"Expiration":{"type":"timestamp"}}},"Sq":{"type":"structure","required":["AssumedRoleId","Arn"],"members":{"AssumedRoleId":{},"Arn":{}}}}}')},e=>{"use strict";e.exports={pagination:{}}},(e,t,r)=>{var n=r(38),i=r(180);n.ChainableTemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=n.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new n.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=n.util.merge({params:t,credentials:e.masterCredentials||n.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(n,i){var o={};n?e(n):(i&&(o.TokenCode=i),t.service[r](o,function(r,n){r||t.service.credentialsFrom(n,t),e(r)}))})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var o=r;return r instanceof Error&&(o=r.message),void e(n.util.error(new Error("Error fetching MFA token: "+o),{code:t.errorCode}))}e(null,i)}):e(null)}})},(e,t,r)=>{var n=r(38),i=r(180);n.WebIdentityCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=n.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,n){t.data=null,r||(t.data=n,t.service.credentialsFrom(n,t)),e(r)})},createClients:function(){if(!this.service){var e=n.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},(e,t,r)=>{var n=r(38),i=r(188),o=r(180);n.CognitoIdentityCredentials=n.util.inherit(n.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=n.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||n.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,n){!r&&n.IdentityId?(t.params.IdentityId=n.IdentityId,e(null,n.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,n){r?t.clearIdOnNotAuthorized(r):(t.cacheId(n),t.data=n,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,n){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(n),t.params.WebIdentityToken=n.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(n.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 n.WebIdentityCredentials(this.params,e),!this.cognito){var t=n.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new o(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,n.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(e){}},storage:function(){try{var e=n.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},(e,t,r)=>{r(36);var n=r(38),i=n.Service,o=n.apiLoader;o.services.cognitoidentity={},n.CognitoIdentity=i.defineService("cognitoidentity",["2014-06-30"]),Object.defineProperty(o.services.cognitoidentity,"2014-06-30",{get:function(){var e=r(189);return e.paginators=r(190).pagination,e},enumerable:!0,configurable:!0}),e.exports=n.CognitoIdentity},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2014-06-30","endpointPrefix":"cognito-identity","jsonVersion":"1.1","protocol":"json","protocols":["json"],"serviceFullName":"Amazon Cognito Identity","serviceId":"Cognito Identity","signatureVersion":"v4","targetPrefix":"AWSCognitoIdentityService","uid":"cognito-identity-2014-06-30","auth":["aws.auth#sigv4"]},"operations":{"CreateIdentityPool":{"input":{"type":"structure","required":["IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"},"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"output":{"shape":"Sk"}},"DeleteIdentities":{"input":{"type":"structure","required":["IdentityIdsToDelete"],"members":{"IdentityIdsToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"UnprocessedIdentityIds":{"type":"list","member":{"type":"structure","members":{"IdentityId":{},"ErrorCode":{}}}}}}},"DeleteIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}}},"DescribeIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{}}},"output":{"shape":"Sv"}},"DescribeIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"shape":"Sk"}},"GetCredentialsForIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"CustomRoleArn":{}}},"output":{"type":"structure","members":{"IdentityId":{},"Credentials":{"type":"structure","members":{"AccessKeyId":{},"SecretKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}}},"authtype":"none","auth":["smithy.api#noAuth"]},"GetId":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"AccountId":{},"IdentityPoolId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{}}},"authtype":"none","auth":["smithy.api#noAuth"]},"GetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"GetOpenIdToken":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}},"authtype":"none","auth":["smithy.api#noAuth"]},"GetOpenIdTokenForDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId","Logins"],"members":{"IdentityPoolId":{},"IdentityId":{},"Logins":{"shape":"S10"},"PrincipalTags":{"shape":"S1s"},"TokenDuration":{"type":"long"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}}},"GetPrincipalTagAttributeMap":{"input":{"type":"structure","required":["IdentityPoolId","IdentityProviderName"],"members":{"IdentityPoolId":{},"IdentityProviderName":{}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}}},"ListIdentities":{"input":{"type":"structure","required":["IdentityPoolId","MaxResults"],"members":{"IdentityPoolId":{},"MaxResults":{"type":"integer"},"NextToken":{},"HideDisabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Identities":{"type":"list","member":{"shape":"Sv"}},"NextToken":{}}}},"ListIdentityPools":{"input":{"type":"structure","required":["MaxResults"],"members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityPools":{"type":"list","member":{"type":"structure","members":{"IdentityPoolId":{},"IdentityPoolName":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sh"}}}},"LookupDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{},"IdentityId":{},"DeveloperUserIdentifier":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityId":{},"DeveloperUserIdentifierList":{"type":"list","member":{}},"NextToken":{}}}},"MergeDeveloperIdentities":{"input":{"type":"structure","required":["SourceUserIdentifier","DestinationUserIdentifier","DeveloperProviderName","IdentityPoolId"],"members":{"SourceUserIdentifier":{},"DestinationUserIdentifier":{},"DeveloperProviderName":{},"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityId":{}}}},"SetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId","Roles"],"members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"SetPrincipalTagAttributeMap":{"input":{"type":"structure","required":["IdentityPoolId","IdentityProviderName"],"members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"IdentityProviderName":{},"UseDefaults":{"type":"boolean"},"PrincipalTags":{"shape":"S1s"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","members":{}}},"UnlinkDeveloperIdentity":{"input":{"type":"structure","required":["IdentityId","IdentityPoolId","DeveloperProviderName","DeveloperUserIdentifier"],"members":{"IdentityId":{},"IdentityPoolId":{},"DeveloperProviderName":{},"DeveloperUserIdentifier":{}}}},"UnlinkIdentity":{"input":{"type":"structure","required":["IdentityId","Logins","LoginsToRemove"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"LoginsToRemove":{"shape":"Sw"}}},"authtype":"none","auth":["smithy.api#noAuth"]},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateIdentityPool":{"input":{"shape":"Sk"},"output":{"shape":"Sk"}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"list","member":{}},"Sb":{"type":"list","member":{"type":"structure","members":{"ProviderName":{},"ClientId":{},"ServerSideTokenCheck":{"type":"boolean"}}}},"Sg":{"type":"list","member":{}},"Sh":{"type":"map","key":{},"value":{}},"Sk":{"type":"structure","required":["IdentityPoolId","IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolId":{},"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"},"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"Sv":{"type":"structure","members":{"IdentityId":{},"Logins":{"shape":"Sw"},"CreationDate":{"type":"timestamp"},"LastModifiedDate":{"type":"timestamp"}}},"Sw":{"type":"list","member":{}},"S10":{"type":"map","key":{},"value":{}},"S1c":{"type":"map","key":{},"value":{}},"S1e":{"type":"map","key":{},"value":{"type":"structure","required":["Type"],"members":{"Type":{},"AmbiguousRoleResolution":{},"RulesConfiguration":{"type":"structure","required":["Rules"],"members":{"Rules":{"type":"list","member":{"type":"structure","required":["Claim","MatchType","Value","RoleARN"],"members":{"Claim":{},"MatchType":{},"Value":{},"RoleARN":{}}}}}}}}},"S1s":{"type":"map","key":{},"value":{}}}}')},e=>{"use strict";e.exports=JSON.parse('{"pagination":{"ListIdentityPools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IdentityPools"}}}')},(e,t,r)=>{var n=r(38),i=r(180);n.SAMLCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,n){r||t.service.credentialsFrom(n,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},(e,t,r)=>{var n=r(37),i=r(45);function o(){}function s(e,t){for(var r=e.getElementsByTagName(t),n=0,i=r.length;n<i;n++)if(r[n].parentNode===e)return r[n]}function a(e,t){switch(t||(t={}),t.type){case"structure":return c(e,t);case"map":return function(e,t){var r={},n=t.key.name||"key",i=t.value.name||"value",o=t.flattened?t.name:"entry",c=e.firstElementChild;for(;c;){if(c.nodeName===o){var u=s(c,n).textContent,p=s(c,i);r[u]=a(p,t.value)}c=c.nextElementSibling}return r}(e,t);case"list":return function(e,t){var r=[],n=t.flattened?t.name:t.member.name||"member",i=e.firstElementChild;for(;i;)i.nodeName===n&&r.push(a(i,t.member)),i=i.nextElementSibling;return r}(e,t);case void 0:case null:return function(e){if(null==e)return"";if(!e.firstElementChild)return null===e.parentNode.parentNode?{}:0===e.childNodes.length?"":e.textContent;var t={type:"structure",members:{}},r=e.firstElementChild;for(;r;){var n=r.nodeName;Object.prototype.hasOwnProperty.call(t.members,n)?t.members[n].type="list":t.members[n]={name:n},r=r.nextElementSibling}return c(e,t)}(e);default:return function(e,t){if(e.getAttribute){var r=e.getAttribute("encoding");"base64"===r&&(t=new i.create({type:r}))}var n=e.textContent;""===n&&(n=null);return"function"==typeof t.toType?t.toType(n):n}(e,t)}}function c(e,t){var r={};return null===e||n.each(t.members,function(n,i){if(i.isXmlAttribute){if(Object.prototype.hasOwnProperty.call(e.attributes,i.name)){var o=e.attributes[i.name].value;r[n]=a({textContent:o},i)}}else{var c=i.flattened?e:s(e,i.name);c?r[n]=a(c,i):i.flattened||"list"!==i.type||t.api.xmlNoDefaultLists||(r[n]=i.defaultValue)}}),r}o.prototype.parse=function(e,t){if(""===e.replace(/^\s+/,""))return{};var r,i;try{if(window.DOMParser){try{r=(new DOMParser).parseFromString(e,"text/xml")}catch(e){throw n.error(new Error("Parse error in document"),{originalError:e,code:"XMLParserError",retryable:!0})}if(null===r.documentElement)throw n.error(new Error("Cannot parse empty document."),{code:"XMLParserError",retryable:!0});var o=r.getElementsByTagName("parsererror")[0];if(o&&(o.parentNode===r||"body"===o.parentNode.nodeName||o.parentNode.parentNode===r||"body"===o.parentNode.parentNode.nodeName)){var c=o.getElementsByTagName("div")[0]||o;throw n.error(new Error(c.textContent||"Parser error in document"),{code:"XMLParserError",retryable:!0})}}else{if(!window.ActiveXObject)throw new Error("Cannot load XML parser");if((r=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,!r.loadXML(e))throw n.error(new Error("Parse error in document"),{code:"XMLParserError",retryable:!0})}}catch(e){i=e}if(r&&r.documentElement&&!i){var u=a(r.documentElement,t),p=s(r.documentElement,"ResponseMetadata");return p&&(u.ResponseMetadata=a(p,{})),u}if(i)throw n.error(i||new Error,{code:"XMLParserError",retryable:!0});return{}},e.exports=o},(e,t,r)=>{var n=r(38),i=r(194).EventEmitter;r(71),n.XHRClient=n.util.inherit({handleRequest:function(e,t,r,o){var s=this,a=e.endpoint,c=new i,u=a.protocol+"//"+a.hostname;80!==a.port&&443!==a.port&&(u+=":"+a.port),u+=e.path;var p=new XMLHttpRequest,l=!1;e.stream=p,p.addEventListener("readystatechange",function(){try{if(0===p.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!l&&(c.statusCode=p.status,c.headers=s.parseHeaders(p.getAllResponseHeaders()),c.emit("headers",c.statusCode,c.headers,p.statusText),l=!0),this.readyState===this.DONE&&s.finishRequest(p,c)},!1),p.upload.addEventListener("progress",function(e){c.emit("sendProgress",e)}),p.addEventListener("progress",function(e){c.emit("receiveProgress",e)},!1),p.addEventListener("timeout",function(){o(n.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),p.addEventListener("error",function(){o(n.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),p.addEventListener("abort",function(){o(n.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(c),p.open(e.method,u,!1!==t.xhrAsync),n.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&p.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(p.timeout=t.timeout),t.xhrWithCredentials&&(p.withCredentials=!0);try{p.responseType="arraybuffer"}catch(e){}try{e.body?p.send(e.body):p.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;p.send(e.body.buffer)}return c},parseHeaders:function(e){var t={};return n.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],n=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=n)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new n.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),s=0;s<r.length;++s)r[s]=o[s]}try{r||"string"!=typeof e.responseText||(r=new n.util.Buffer(e.responseText))}catch(e){}r&&t.emit("data",r),t.emit("end")}}),n.HttpClient.prototype=n.XHRClient.prototype,n.HttpClient.streamsApiVersion=1},e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(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,o,s,a,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var p=new Error('Uncaught, unspecified "error" event. ('+t+")");throw p.context=t,p}if(i(o=this._events[e]))return!1;if(r(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),o.apply(this,a)}else if(n(o))for(a=Array.prototype.slice.call(arguments,1),s=(u=o.slice()).length,c=0;c<s;c++)u[c].apply(this,a);return!0},t.prototype.addListener=function(e,o){var s;if(!r(o))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(o.listener)?o.listener:o),this._events[e]?n(this._events[e])?this._events[e].push(o):this._events[e]=[this._events[e],o]:this._events[e]=o,n(this._events[e])&&!this._events[e].warned&&(s=i(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&s>0&&this._events[e].length>s&&(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 n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,o,s,a;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(i=this._events[e]).length,o=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(a=s;a-- >0;)if(i[a]===t||i[a].listener&&i[a].listener===t){o=a;break}if(o<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;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(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.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)}},e=>{"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2015-08-04","endpointPrefix":"firehose","jsonVersion":"1.1","protocol":"json","protocols":["json"],"serviceAbbreviation":"Firehose","serviceFullName":"Amazon Kinesis Firehose","serviceId":"Firehose","signatureVersion":"v4","targetPrefix":"Firehose_20150804","uid":"firehose-2015-08-04","auth":["aws.auth#sigv4"]},"operations":{"CreateDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"DeliveryStreamType":{},"KinesisStreamSourceConfiguration":{"type":"structure","required":["KinesisStreamARN","RoleARN"],"members":{"KinesisStreamARN":{},"RoleARN":{}}},"DeliveryStreamEncryptionConfigurationInput":{"shape":"S7"},"S3DestinationConfiguration":{"shape":"Sa","deprecated":true},"ExtendedS3DestinationConfiguration":{"type":"structure","required":["RoleARN","BucketARN"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupConfiguration":{"shape":"Sa"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"},"FileExtension":{},"CustomTimeZone":{}}},"RedshiftDestinationConfiguration":{"type":"structure","required":["RoleARN","ClusterJDBCURL","CopyCommand","S3Configuration"],"members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1v"},"Username":{"shape":"S1z"},"Password":{"shape":"S20"},"RetryOptions":{"shape":"S21"},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupConfiguration":{"shape":"Sa"},"CloudWatchLoggingOptions":{"shape":"Sl"},"SecretsManagerConfiguration":{"shape":"S24"}}},"ElasticsearchDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2c"},"RetryOptions":{"shape":"S2f"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2i"},"DocumentIdOptions":{"shape":"S2l"}}},"AmazonopensearchserviceDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2t"},"RetryOptions":{"shape":"S2w"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2i"},"DocumentIdOptions":{"shape":"S2l"}}},"SplunkDestinationConfiguration":{"type":"structure","required":["HECEndpoint","HECEndpointType","S3Configuration"],"members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S34"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"BufferingHints":{"shape":"S37"},"SecretsManagerConfiguration":{"shape":"S24"}}},"HttpEndpointDestinationConfiguration":{"type":"structure","required":["EndpointConfiguration","S3Configuration"],"members":{"EndpointConfiguration":{"shape":"S3b"},"BufferingHints":{"shape":"S3f"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3i"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3o"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"SecretsManagerConfiguration":{"shape":"S24"}}},"Tags":{"shape":"S3r"},"AmazonOpenSearchServerlessDestinationConfiguration":{"type":"structure","required":["RoleARN","IndexName","S3Configuration"],"members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3y"},"RetryOptions":{"shape":"S41"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfiguration":{"shape":"S2i"}}},"MSKSourceConfiguration":{"type":"structure","required":["MSKClusterARN","TopicName","AuthenticationConfiguration"],"members":{"MSKClusterARN":{},"TopicName":{},"AuthenticationConfiguration":{"shape":"S47"},"ReadFromTimestamp":{"type":"timestamp"}}},"SnowflakeDestinationConfiguration":{"type":"structure","required":["AccountUrl","Database","Schema","Table","RoleARN","S3Configuration"],"members":{"AccountUrl":{"shape":"S4b"},"PrivateKey":{"shape":"S4c"},"KeyPassphrase":{"shape":"S4d"},"User":{"shape":"S4e"},"Database":{"shape":"S4f"},"Schema":{"shape":"S4g"},"Table":{"shape":"S4h"},"SnowflakeRoleConfiguration":{"shape":"S4i"},"DataLoadingOption":{},"MetaDataColumnName":{"shape":"S4l"},"ContentColumnName":{"shape":"S4m"},"SnowflakeVpcConfiguration":{"shape":"S4n"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S4p"},"S3BackupMode":{},"S3Configuration":{"shape":"Sa"},"SecretsManagerConfiguration":{"shape":"S24"},"BufferingHints":{"shape":"S4s"}}},"IcebergDestinationConfiguration":{"type":"structure","required":["RoleARN","CatalogConfiguration","S3Configuration"],"members":{"DestinationTableConfigurationList":{"shape":"S4w"},"BufferingHints":{"shape":"Se"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"RetryOptions":{"shape":"S1p"},"RoleARN":{},"CatalogConfiguration":{"shape":"S4z"},"S3Configuration":{"shape":"Sa"}}}}},"output":{"type":"structure","members":{"DeliveryStreamARN":{}}}},"DeleteDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"AllowForceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DescribeDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"Limit":{"type":"integer"},"ExclusiveStartDestinationId":{}}},"output":{"type":"structure","required":["DeliveryStreamDescription"],"members":{"DeliveryStreamDescription":{"type":"structure","required":["DeliveryStreamName","DeliveryStreamARN","DeliveryStreamStatus","DeliveryStreamType","VersionId","Destinations","HasMoreDestinations"],"members":{"DeliveryStreamName":{},"DeliveryStreamARN":{},"DeliveryStreamStatus":{},"FailureDescription":{"shape":"S5b"},"DeliveryStreamEncryptionConfiguration":{"type":"structure","members":{"KeyARN":{},"KeyType":{},"Status":{},"FailureDescription":{"shape":"S5b"}}},"DeliveryStreamType":{},"VersionId":{},"CreateTimestamp":{"type":"timestamp"},"LastUpdateTimestamp":{"type":"timestamp"},"Source":{"type":"structure","members":{"KinesisStreamSourceDescription":{"type":"structure","members":{"KinesisStreamARN":{},"RoleARN":{},"DeliveryStartTimestamp":{"type":"timestamp"}}},"MSKSourceDescription":{"type":"structure","members":{"MSKClusterARN":{},"TopicName":{},"AuthenticationConfiguration":{"shape":"S47"},"DeliveryStartTimestamp":{"type":"timestamp"},"ReadFromTimestamp":{"type":"timestamp"}}}}},"Destinations":{"type":"list","member":{"type":"structure","required":["DestinationId"],"members":{"DestinationId":{},"S3DestinationDescription":{"shape":"S5n"},"ExtendedS3DestinationDescription":{"type":"structure","required":["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupDescription":{"shape":"S5n"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"},"FileExtension":{},"CustomTimeZone":{}}},"RedshiftDestinationDescription":{"type":"structure","required":["RoleARN","ClusterJDBCURL","CopyCommand","S3DestinationDescription"],"members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1v"},"Username":{"shape":"S1z"},"RetryOptions":{"shape":"S21"},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupDescription":{"shape":"S5n"},"CloudWatchLoggingOptions":{"shape":"Sl"},"SecretsManagerConfiguration":{"shape":"S24"}}},"ElasticsearchDestinationDescription":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2c"},"RetryOptions":{"shape":"S2f"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S5r"},"DocumentIdOptions":{"shape":"S2l"}}},"AmazonopensearchserviceDestinationDescription":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2t"},"RetryOptions":{"shape":"S2w"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S5r"},"DocumentIdOptions":{"shape":"S2l"}}},"SplunkDestinationDescription":{"type":"structure","members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S34"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"BufferingHints":{"shape":"S37"},"SecretsManagerConfiguration":{"shape":"S24"}}},"HttpEndpointDestinationDescription":{"type":"structure","members":{"EndpointConfiguration":{"type":"structure","members":{"Url":{"shape":"S3c"},"Name":{}}},"BufferingHints":{"shape":"S3f"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3i"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3o"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"SecretsManagerConfiguration":{"shape":"S24"}}},"SnowflakeDestinationDescription":{"type":"structure","members":{"AccountUrl":{"shape":"S4b"},"User":{"shape":"S4e"},"Database":{"shape":"S4f"},"Schema":{"shape":"S4g"},"Table":{"shape":"S4h"},"SnowflakeRoleConfiguration":{"shape":"S4i"},"DataLoadingOption":{},"MetaDataColumnName":{"shape":"S4l"},"ContentColumnName":{"shape":"S4m"},"SnowflakeVpcConfiguration":{"shape":"S4n"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S4p"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"SecretsManagerConfiguration":{"shape":"S24"},"BufferingHints":{"shape":"S4s"}}},"AmazonOpenSearchServerlessDestinationDescription":{"type":"structure","members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3y"},"RetryOptions":{"shape":"S41"},"S3BackupMode":{},"S3DestinationDescription":{"shape":"S5n"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"VpcConfigurationDescription":{"shape":"S5r"}}},"IcebergDestinationDescription":{"type":"structure","members":{"DestinationTableConfigurationList":{"shape":"S4w"},"BufferingHints":{"shape":"Se"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"RetryOptions":{"shape":"S1p"},"RoleARN":{},"CatalogConfiguration":{"shape":"S4z"},"S3DestinationDescription":{"shape":"S5n"}}}}}},"HasMoreDestinations":{"type":"boolean"}}}}}},"ListDeliveryStreams":{"input":{"type":"structure","members":{"Limit":{"type":"integer"},"DeliveryStreamType":{},"ExclusiveStartDeliveryStreamName":{}}},"output":{"type":"structure","required":["DeliveryStreamNames","HasMoreDeliveryStreams"],"members":{"DeliveryStreamNames":{"type":"list","member":{}},"HasMoreDeliveryStreams":{"type":"boolean"}}}},"ListTagsForDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"ExclusiveStartTagKey":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","required":["Tags","HasMoreTags"],"members":{"Tags":{"type":"list","member":{"shape":"S3s"}},"HasMoreTags":{"type":"boolean"}}}},"PutRecord":{"input":{"type":"structure","required":["DeliveryStreamName","Record"],"members":{"DeliveryStreamName":{},"Record":{"shape":"S68"}}},"output":{"type":"structure","required":["RecordId"],"members":{"RecordId":{},"Encrypted":{"type":"boolean"}}}},"PutRecordBatch":{"input":{"type":"structure","required":["DeliveryStreamName","Records"],"members":{"DeliveryStreamName":{},"Records":{"type":"list","member":{"shape":"S68"}}}},"output":{"type":"structure","required":["FailedPutCount","RequestResponses"],"members":{"FailedPutCount":{"type":"integer"},"Encrypted":{"type":"boolean"},"RequestResponses":{"type":"list","member":{"type":"structure","members":{"RecordId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"StartDeliveryStreamEncryption":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{},"DeliveryStreamEncryptionConfigurationInput":{"shape":"S7"}}},"output":{"type":"structure","members":{}}},"StopDeliveryStreamEncryption":{"input":{"type":"structure","required":["DeliveryStreamName"],"members":{"DeliveryStreamName":{}}},"output":{"type":"structure","members":{}}},"TagDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName","Tags"],"members":{"DeliveryStreamName":{},"Tags":{"shape":"S3r"}}},"output":{"type":"structure","members":{}}},"UntagDeliveryStream":{"input":{"type":"structure","required":["DeliveryStreamName","TagKeys"],"members":{"DeliveryStreamName":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDestination":{"input":{"type":"structure","required":["DeliveryStreamName","CurrentDeliveryStreamVersionId","DestinationId"],"members":{"DeliveryStreamName":{},"CurrentDeliveryStreamVersionId":{},"DestinationId":{},"S3DestinationUpdate":{"shape":"S6t","deprecated":true},"ExtendedS3DestinationUpdate":{"type":"structure","members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupUpdate":{"shape":"S6t"},"DataFormatConversionConfiguration":{"shape":"Sz"},"DynamicPartitioningConfiguration":{"shape":"S1o"},"FileExtension":{},"CustomTimeZone":{}}},"RedshiftDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"ClusterJDBCURL":{},"CopyCommand":{"shape":"S1v"},"Username":{"shape":"S1z"},"Password":{"shape":"S20"},"RetryOptions":{"shape":"S21"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"S3BackupUpdate":{"shape":"S6t"},"CloudWatchLoggingOptions":{"shape":"Sl"},"SecretsManagerConfiguration":{"shape":"S24"}}},"ElasticsearchDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2c"},"RetryOptions":{"shape":"S2f"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"DocumentIdOptions":{"shape":"S2l"}}},"AmazonopensearchserviceDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"DomainARN":{},"ClusterEndpoint":{},"IndexName":{},"TypeName":{},"IndexRotationPeriod":{},"BufferingHints":{"shape":"S2t"},"RetryOptions":{"shape":"S2w"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"DocumentIdOptions":{"shape":"S2l"}}},"SplunkDestinationUpdate":{"type":"structure","members":{"HECEndpoint":{},"HECEndpointType":{},"HECToken":{},"HECAcknowledgmentTimeoutInSeconds":{"type":"integer"},"RetryOptions":{"shape":"S34"},"S3BackupMode":{},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"},"BufferingHints":{"shape":"S37"},"SecretsManagerConfiguration":{"shape":"S24"}}},"HttpEndpointDestinationUpdate":{"type":"structure","members":{"EndpointConfiguration":{"shape":"S3b"},"BufferingHints":{"shape":"S3f"},"CloudWatchLoggingOptions":{"shape":"Sl"},"RequestConfiguration":{"shape":"S3i"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S3o"},"S3BackupMode":{},"S3Update":{"shape":"S6t"},"SecretsManagerConfiguration":{"shape":"S24"}}},"AmazonOpenSearchServerlessDestinationUpdate":{"type":"structure","members":{"RoleARN":{},"CollectionEndpoint":{},"IndexName":{},"BufferingHints":{"shape":"S3y"},"RetryOptions":{"shape":"S41"},"S3Update":{"shape":"S6t"},"ProcessingConfiguration":{"shape":"Sq"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"SnowflakeDestinationUpdate":{"type":"structure","members":{"AccountUrl":{"shape":"S4b"},"PrivateKey":{"shape":"S4c"},"KeyPassphrase":{"shape":"S4d"},"User":{"shape":"S4e"},"Database":{"shape":"S4f"},"Schema":{"shape":"S4g"},"Table":{"shape":"S4h"},"SnowflakeRoleConfiguration":{"shape":"S4i"},"DataLoadingOption":{},"MetaDataColumnName":{"shape":"S4l"},"ContentColumnName":{"shape":"S4m"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"RoleARN":{},"RetryOptions":{"shape":"S4p"},"S3BackupMode":{},"S3Update":{"shape":"S6t"},"SecretsManagerConfiguration":{"shape":"S24"},"BufferingHints":{"shape":"S4s"}}},"IcebergDestinationUpdate":{"type":"structure","members":{"DestinationTableConfigurationList":{"shape":"S4w"},"BufferingHints":{"shape":"Se"},"CloudWatchLoggingOptions":{"shape":"Sl"},"ProcessingConfiguration":{"shape":"Sq"},"S3BackupMode":{},"RetryOptions":{"shape":"S1p"},"RoleARN":{},"CatalogConfiguration":{"shape":"S4z"},"S3Configuration":{"shape":"Sa"}}}}},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"structure","required":["KeyType"],"members":{"KeyARN":{},"KeyType":{}}},"Sa":{"type":"structure","required":["RoleARN","BucketARN"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"Se":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"Si":{"type":"structure","members":{"NoEncryptionConfig":{},"KMSEncryptionConfig":{"type":"structure","required":["AWSKMSKeyARN"],"members":{"AWSKMSKeyARN":{}}}}},"Sl":{"type":"structure","members":{"Enabled":{"type":"boolean"},"LogGroupName":{},"LogStreamName":{}}},"Sq":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Processors":{"type":"list","member":{"type":"structure","required":["Type"],"members":{"Type":{},"Parameters":{"type":"list","member":{"type":"structure","required":["ParameterName","ParameterValue"],"members":{"ParameterName":{},"ParameterValue":{}}}}}}}}},"Sz":{"type":"structure","members":{"SchemaConfiguration":{"type":"structure","members":{"RoleARN":{},"CatalogId":{},"DatabaseName":{},"TableName":{},"Region":{},"VersionId":{}}},"InputFormatConfiguration":{"type":"structure","members":{"Deserializer":{"type":"structure","members":{"OpenXJsonSerDe":{"type":"structure","members":{"ConvertDotsInJsonKeysToUnderscores":{"type":"boolean"},"CaseInsensitive":{"type":"boolean"},"ColumnToJsonKeyMappings":{"type":"map","key":{},"value":{}}}},"HiveJsonSerDe":{"type":"structure","members":{"TimestampFormats":{"type":"list","member":{}}}}}}}},"OutputFormatConfiguration":{"type":"structure","members":{"Serializer":{"type":"structure","members":{"ParquetSerDe":{"type":"structure","members":{"BlockSizeBytes":{"type":"integer"},"PageSizeBytes":{"type":"integer"},"Compression":{},"EnableDictionaryCompression":{"type":"boolean"},"MaxPaddingBytes":{"type":"integer"},"WriterVersion":{}}},"OrcSerDe":{"type":"structure","members":{"StripeSizeBytes":{"type":"integer"},"BlockSizeBytes":{"type":"integer"},"RowIndexStride":{"type":"integer"},"EnablePadding":{"type":"boolean"},"PaddingTolerance":{"type":"double"},"Compression":{},"BloomFilterColumns":{"shape":"S1m"},"BloomFilterFalsePositiveProbability":{"type":"double"},"DictionaryKeyThreshold":{"type":"double"},"FormatVersion":{}}}}}}},"Enabled":{"type":"boolean"}}},"S1m":{"type":"list","member":{}},"S1o":{"type":"structure","members":{"RetryOptions":{"shape":"S1p"},"Enabled":{"type":"boolean"}}},"S1p":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S1v":{"type":"structure","required":["DataTableName"],"members":{"DataTableName":{},"DataTableColumns":{},"CopyOptions":{}}},"S1z":{"type":"string","sensitive":true},"S20":{"type":"string","sensitive":true},"S21":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S24":{"type":"structure","required":["Enabled"],"members":{"SecretARN":{},"RoleARN":{},"Enabled":{"type":"boolean"}}},"S2c":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S2f":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S2i":{"type":"structure","required":["SubnetIds","RoleARN","SecurityGroupIds"],"members":{"SubnetIds":{"shape":"S2j"},"RoleARN":{},"SecurityGroupIds":{"shape":"S2k"}}},"S2j":{"type":"list","member":{}},"S2k":{"type":"list","member":{}},"S2l":{"type":"structure","required":["DefaultDocumentIdFormat"],"members":{"DefaultDocumentIdFormat":{}}},"S2t":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S2w":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S34":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S37":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S3b":{"type":"structure","required":["Url"],"members":{"Url":{"shape":"S3c"},"Name":{},"AccessKey":{"type":"string","sensitive":true}}},"S3c":{"type":"string","sensitive":true},"S3f":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"S3i":{"type":"structure","members":{"ContentEncoding":{},"CommonAttributes":{"type":"list","member":{"type":"structure","required":["AttributeName","AttributeValue"],"members":{"AttributeName":{"type":"string","sensitive":true},"AttributeValue":{"type":"string","sensitive":true}}}}}},"S3o":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S3r":{"type":"list","member":{"shape":"S3s"}},"S3s":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}},"S3y":{"type":"structure","members":{"IntervalInSeconds":{"type":"integer"},"SizeInMBs":{"type":"integer"}}},"S41":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S47":{"type":"structure","required":["RoleARN","Connectivity"],"members":{"RoleARN":{},"Connectivity":{}}},"S4b":{"type":"string","sensitive":true},"S4c":{"type":"string","sensitive":true},"S4d":{"type":"string","sensitive":true},"S4e":{"type":"string","sensitive":true},"S4f":{"type":"string","sensitive":true},"S4g":{"type":"string","sensitive":true},"S4h":{"type":"string","sensitive":true},"S4i":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SnowflakeRole":{"type":"string","sensitive":true}}},"S4l":{"type":"string","sensitive":true},"S4m":{"type":"string","sensitive":true},"S4n":{"type":"structure","required":["PrivateLinkVpceId"],"members":{"PrivateLinkVpceId":{"type":"string","sensitive":true}}},"S4p":{"type":"structure","members":{"DurationInSeconds":{"type":"integer"}}},"S4s":{"type":"structure","members":{"SizeInMBs":{"type":"integer"},"IntervalInSeconds":{"type":"integer"}}},"S4w":{"type":"list","member":{"type":"structure","required":["DestinationTableName","DestinationDatabaseName"],"members":{"DestinationTableName":{},"DestinationDatabaseName":{},"UniqueKeys":{"shape":"S1m"},"S3ErrorOutputPrefix":{}}}},"S4z":{"type":"structure","members":{"CatalogARN":{}}},"S5b":{"type":"structure","required":["Type","Details"],"members":{"Type":{},"Details":{}}},"S5n":{"type":"structure","required":["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],"members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}},"S5r":{"type":"structure","required":["SubnetIds","RoleARN","SecurityGroupIds","VpcId"],"members":{"SubnetIds":{"shape":"S2j"},"RoleARN":{},"SecurityGroupIds":{"shape":"S2k"},"VpcId":{}}},"S68":{"type":"structure","required":["Data"],"members":{"Data":{"type":"blob"}}},"S6t":{"type":"structure","members":{"RoleARN":{},"BucketARN":{},"Prefix":{},"ErrorOutputPrefix":{},"BufferingHints":{"shape":"Se"},"CompressionFormat":{},"EncryptionConfiguration":{"shape":"Si"},"CloudWatchLoggingOptions":{"shape":"Sl"}}}}}')},e=>{"use strict";e.exports={pagination:{}}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,c.default)(t,l)).validate_length&&e.length>t.max_allowed_length)return!1;if(!t.allow_fragments&&(0,o.default)(e,"#"))return!1;if(!t.allow_query_components&&((0,o.default)(e,"?")||(0,o.default)(e,"&")))return!1;var r,u,f,h,m,g,y,v;y=e.split("#"),e=y.shift(),y=e.split("?");var S=(e=y.shift()).match(/^([a-z][a-z0-9+\-.]*):/i),b=!1,_=function(n){return b=!0,r=n.toLowerCase(),(!t.require_valid_protocol||-1!==t.protocols.indexOf(r))&&e.substring(S[0].length)};if(S){var E=S[1],T=e.substring(S[0].length);if("//"===T.slice(0,2)){if(!1===(e=_(E)))return!1}else{var I=T.indexOf("/"),w=-1===I?T:T.substring(0,I),A=w.indexOf("@");if(-1!==A){var C=w.substring(0,A);if(/^[a-zA-Z0-9\-_.%:]*$/.test(C)){if(t.require_protocol)return!1}else if(!1===(e=_(E)))return!1}else if(!1===(e=_(E)))return!1}}else if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!b&&!t.allow_protocol_relative_urls)return!1;e=e.slice(2)}if(""===e)return!1;if(y=e.split("/"),""===(e=y.shift())&&!t.require_host)return!0;if((y=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===y[0])return!1;if((u=y.shift()).indexOf(":")>=0&&u.split(":").length>2)return!1;var R=u.split(":"),x=(N=2,function(e){if(Array.isArray(e))return e}(P=R)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(P,N)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(P,N)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),k=x[0],O=x[1];if(""===k&&""===O)return!1}var P,N;h=y.join("@"),g=null,v=null;var D=h.match(d);D?(f="",v=D[1],g=D[2]||null):(f=(y=h.split(":")).shift(),y.length&&(g=y.join(":")));if(null!==g&&g.length>0){if(m=parseInt(g,10),!/^[0-9]+$/.test(g)||m<=0||m>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return(0,i.default)(f,t.host_whitelist);if(""===f&&!t.require_host)return!0;if(!((0,a.default)(f)||(0,s.default)(f,t)||v&&(0,a.default)(v,6)))return!1;if(f=f||v,t.host_blacklist&&(0,i.default)(f,t.host_blacklist))return!1;return!0};var n=u(r(198)),i=u(r(199)),o=u(r(200)),s=u(r(201)),a=u(r(203)),c=u(r(202));function u(e){return e&&e.__esModule?e:{default:e}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var l={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0,max_allowed_length:2084},d=/^\[([^\]]+)\](?::([0-9]+))?$/;e.exports=t.default,e.exports.default=t.default},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null==e)throw new TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw new TypeError("Expected a string but received a ".concat(e.constructor.name))},e.exports=t.default,e.exports.default=t.default},(e,t)=>{"use strict";function r(e){return"[object RegExp]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=0;n<t.length;n++){var i=t[n];if(e===i||r(i)&&i.test(e))return!0}return!1},e.exports=t.default,e.exports.default=t.default},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){return-1!==e.indexOf(t)};e.exports=t.default,e.exports.default=t.default},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,i.default)(t,s)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),o=r[r.length-1];if(t.require_tld){if(r.length<2)return!1;if(!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/\s/.test(o))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(o))return!1;return r.every(function(e){return!(e.length>63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))})};var n=o(r(198)),i=o(r(202));function o(e){return e&&e.__esModule?e:{default:e}}var s={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};e.exports=t.default,e.exports.default=t.default},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default,e.exports.default=t.default},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(t);var n=("object"===o(r)?r.version:arguments[1])||"";if(!n)return e(t,{version:4})||e(t,{version:6});if("4"===n.toString())return c.test(t);if("6"===n.toString())return p.test(t);return!1};var n,i=(n=r(198))&&n.__esModule?n:{default:n};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var s="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(s,"[.]){3}").concat(s),c=new RegExp("^".concat(a,"$")),u="(?:[0-9a-fA-F]{1,4})",p=new RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(a,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(a,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(a,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(a,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(a,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(a,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(a,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");e.exports=t.default,e.exports.default=t.default},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={get(e){const t=document.cookie.split("; ");for(let r=0;r<t.length;r++){const n=t[r].split("=");if(e===n[0])return unescape(n[1])}return null},set(e,t,r,n){let i=`${e}=${escape(t)}; `;r&&(i+=`expires=${r}; `),n&&(i+=`path=${n}; `),"https:"===window.location.protocol&&(i+="secure; "),document.cookie=i},setPermanent(e,t,r){const n=new Date;n.setTime(n.getTime()+31536e6);const i=n.toUTCString();this.set(e,t,i,r)},remove(e,t){this.set(e,"","Fri, 31 Dec 1999 23:59:59 GMT",t)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{hasPreferences:()=>i,isAnalyticsAllowed:()=>a,loadPreferences:()=>s,savePreferences:()=>o});const n="cookie-policy",i=()=>!!localStorage.getItem(n),o=e=>{localStorage.setItem(n,JSON.stringify(e))},s=()=>{let e=!1,t=!1;try{const r=localStorage.getItem(n),i=r?JSON.parse(r):{};"boolean"==typeof i.analytics&&({analytics:e}=i),"boolean"==typeof i.marketing&&({marketing:t}=i)}catch{}return{analytics:e,marketing:t}},a=()=>s().analytics},(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(207),i=r(209),o=r(302),s=r(229),a=r(348);const c=({sentry:e})=>{if(!e)return;if(window.navigator.userAgent.match(/jsdom/))return;const{user:t=null,tags:c={},environment:u,uatEndpoint:p,...l}=e,d="development"===u;(0,n.init)({integrations:[(0,o.browserTracingIntegration)({beforeStartSpan:e=>({...e,name:location.pathname.replace(/\/[a-f0-9]{8}-[a-f0-9]{4}-[0-5][a-f0-9]{3}-[089ab][a-f0-9]{3}-[a-f0-9]{12}/gi,"/<guid>").replace(/\/[a-f0-9]{32}/g,"/<hash>").replace(/\/\d+/g,"/<digits>").replace(/\/type\/(domain|alias)/,"/type/<type>")})})],beforeSend:(e,t)=>{const r=t.originalException;if(r&&r.stack){const e=/global code@|@debugger/.test(r.stack),t=r.stack.split("\n"),n=2===t.length&&/<anonymous>:1:(\d+)$/.test(t[t.length-1]);if(e||n)return null}return e},beforeBreadcrumb:(0,a.withoutGraphQLFetch)(e=>{if("xhr"===e.category||"fetch"===e.category){const t=e.data?.url??"";if(t.includes(p))return null;if(t.includes("/cp/locale")){return{type:"http",category:"plesk.locale",data:{sections:new URLSearchParams(t.split("?")[1]).getAll("sections[]")}}}}return e}),ignoreErrors:["ResizeObserver loop","ApiFetchError:","whmcs_user_id is not defined","__renderMessageNode is not defined","Module build failed","jQuery is not defined","safari-extension://","moz-extension://","chrome-extension://","Object Not Found Matching Id:","Script error for","loadAndDisplayNotifications"],denyUrls:[/extensions\//i,/^chrome:\/\//i,"/modules/help-center/global.js","/modules/baqend/script.js","/modules/addendio-wordpress/global.js","/modules/revisium-antivirus/js/ra_domain.js","/modules/wp-toolkit/js/domain-page.js"],sampleRate:d?1:.05,replaysSessionSampleRate:0,replaysOnErrorSampleRate:d?1:0,tracesSampleRate:d?.001:0,environment:u,...l}),r.e(1).then(r.bind(r,350)).then(({replayIntegration:e})=>{(0,s.addIntegration)(e({maskAllText:!d,maskAllInputs:!d}))});const f=(0,i.getCurrentScope)();f.setUser(t);for(const e in c)f.setTag(e,c[e])}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{forceLoad:()=>_,getDefaultIntegrations:()=>S,init:()=>b,onLoad:()=>E});var n=r(208),i=r(229),o=r(230),s=r(231),a=r(233),c=r(234),u=r(235),p=r(272),l=r(286),d=r(287),f=r(288),h=r(291),m=r(292),g=r(294),y=r(295),v=r(301);function S(e){return[(0,s.inboundFiltersIntegration)(),(0,o.functionToStringIntegration)(),(0,l.browserApiErrorsIntegration)(),(0,p.breadcrumbsIntegration)(),(0,f.globalHandlersIntegration)(),(0,m.linkedErrorsIntegration)(),(0,a.dedupeIntegration)(),(0,h.httpContextIntegration)(),(0,d.browserSessionIntegration)()]}function b(e={}){const t=!e.skipBrowserExtensionCheck&&(0,v.checkAndWarnIfIsEmbeddedBrowserExtension)(),r={...e,enabled:!t&&e.enabled,stackParser:(0,c.stackParserFromStackParserOptions)(e.stackParser||g.defaultStackParser),integrations:(0,i.getIntegrationsToSetup)({integrations:e.integrations,defaultIntegrations:null==e.defaultIntegrations?S():e.defaultIntegrations}),transport:e.transport||y.makeFetchTransport};return(0,n.initAndBind)(u.BrowserClient,r)}function _(){}function E(e){e()}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{initAndBind:()=>s,setCurrentClient:()=>a});var n=r(209),i=r(217),o=r(223);function s(e,t){!0===t.debug&&(i.DEBUG_BUILD?o.debug.enable():(0,o.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}));(0,n.getCurrentScope)().update(t.initialScope);const r=new e(t);return a(r),r.init(),r}function a(e){(0,n.getCurrentScope)().setClient(e)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getClient:()=>d,getCurrentScope:()=>a,getGlobalScope:()=>u,getIsolationScope:()=>c,getTraceContextFromScope:()=>f,withIsolationScope:()=>l,withScope:()=>p});var n=r(210),i=r(211),o=r(216),s=r(227);function a(){const e=(0,i.getMainCarrier)();return(0,n.getAsyncContextStrategy)(e).getCurrentScope()}function c(){const e=(0,i.getMainCarrier)();return(0,n.getAsyncContextStrategy)(e).getIsolationScope()}function u(){return(0,i.getGlobalSingleton)("globalScope",()=>new o.Scope)}function p(...e){const t=(0,i.getMainCarrier)(),r=(0,n.getAsyncContextStrategy)(t);if(2===e.length){const[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function l(...e){const t=(0,i.getMainCarrier)(),r=(0,n.getAsyncContextStrategy)(t);if(2===e.length){const[t,n]=e;return t?r.withSetIsolationScope(t,n):r.withIsolationScope(n)}return r.withIsolationScope(e[0])}function d(){return a().getClient()}function f(e){const t=e.getPropagationContext(),{traceId:r,parentSpanId:n,propagationSpanId:i}=t,o={trace_id:r,span_id:i||(0,s.generateSpanId)()};return n&&(o.parent_span_id=n),o}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getAsyncContextStrategy:()=>s,setAsyncContextStrategy:()=>o});var n=r(211),i=r(214);function o(e){const t=(0,n.getMainCarrier)();(0,n.getSentryCarrier)(t).acs=e}function s(e){const t=(0,n.getSentryCarrier)(e);return t.acs?t.acs:(0,i.getStackAsyncContextStrategy)()}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getGlobalSingleton:()=>a,getMainCarrier:()=>o,getSentryCarrier:()=>s});var n=r(212),i=r(213);function o(){return s(i.GLOBAL_OBJ),i.GLOBAL_OBJ}function s(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.SDK_VERSION,t[n.SDK_VERSION]=t[n.SDK_VERSION]||{}}function a(e,t,r=i.GLOBAL_OBJ){const o=r.__SENTRY__=r.__SENTRY__||{},s=o[n.SDK_VERSION]=o[n.SDK_VERSION]||{};return s[e]||(s[e]=t())}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SDK_VERSION:()=>n});const n="10.22.0"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{GLOBAL_OBJ:()=>n});const n=globalThis},(e,t,r)=>{"use strict";r.r(t),r.d(t,{AsyncContextStack:()=>a,getStackAsyncContextStrategy:()=>d});var n=r(215),i=r(216),o=r(222),s=r(211);class a{constructor(e,t){let r,n;r=e||new i.Scope,n=t||new i.Scope,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){const t=this._pushScope();let r;try{r=e(t)}catch(e){throw this._popScope(),e}return(0,o.isThenable)(r)?r.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function c(){const e=(0,s.getMainCarrier)(),t=(0,s.getSentryCarrier)(e);return t.stack=t.stack||new a((0,n.getDefaultCurrentScope)(),(0,n.getDefaultIsolationScope)())}function u(e){return c().withScope(e)}function p(e,t){const r=c();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function l(e){return c().withScope(()=>e(c().getIsolationScope()))}function d(){return{withIsolationScope:l,withScope:u,withSetScope:p,withSetIsolationScope:(e,t)=>l(t),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getDefaultCurrentScope:()=>o,getDefaultIsolationScope:()=>s});var n=r(211),i=r(216);function o(){return(0,n.getGlobalSingleton)("defaultCurrentScope",()=>new i.Scope)}function s(){return(0,n.getGlobalSingleton)("defaultIsolationScope",()=>new i.Scope)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Scope:()=>f});var n=r(217),i=r(218),o=r(223),s=r(222),a=r(226),c=r(219),u=r(227),p=r(228),l=r(224),d=r(225);class f{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,u.generateTraceId)(),sampleRand:Math.random()}}clone(){const e=new f;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,p._setSpanForScope)(e,(0,p._getSpanForScope)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,i.updateSession)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,r=t instanceof f?t.getScopeData():(0,s.isPlainObject)(t)?e:void 0,{tags:n,extra:i,user:o,contexts:a,level:c,fingerprint:u=[],propagationContext:p}=r||{};return this._tags={...this._tags,...n},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),u.length&&(this._fingerprint=u),p&&(this._propagationContext=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,p._setSpanForScope)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,u.generateTraceId)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const r="number"==typeof t?t:100;if(r<=0)return this;const n={timestamp:(0,d.dateTimestampInSeconds)(),...e,message:e.message?(0,l.truncate)(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,p._getSpanForScope)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,a.merge)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const r=t?.event_id||(0,c.uuid4)();if(!this._client)return n.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureMessage(e,t,r){const i=r?.event_id||(0,c.uuid4)();if(!this._client)return n.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture message!"),i;const s=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:s,...r,event_id:i},this),i}captureEvent(e,t){const r=t?.event_id||(0,c.uuid4)();return this._client?(this._client.captureEvent(e,{...t,event_id:r},this),r):(n.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEBUG_BUILD:()=>n});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeSession:()=>a,makeSession:()=>o,updateSession:()=>s});var n=r(219),i=r(225);function o(e){const t=(0,i.timestampInSeconds)(),r={sid:(0,n.uuid4)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(r)};return e&&s(r,e),r}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.timestampInSeconds)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,n.uuid4)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function a(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),s(e,r)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addContextToFrame:()=>m,addExceptionMechanism:()=>l,addExceptionTypeValue:()=>p,checkOrSetAlreadyCaught:()=>g,getEventDescription:()=>u,parseSemver:()=>h,uuid4:()=>a});var n=r(220),i=r(224),o=r(213);let s;function a(e=function(){const e=o.GLOBAL_OBJ;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"")}catch{}return s||(s=[1e7]+1e3+4e3+8e3+1e11),s.replace(/[018]/g,e=>(e^(16*Math.random()&15)>>e/4).toString(16))}function c(e){return e.exception?.values?.[0]}function u(e){const{message:t,event_id:r}=e;if(t)return t;const n=c(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function p(e,t,r){const n=e.exception=e.exception||{},i=n.values=n.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=r||"Error")}function l(e,t){const r=c(e);if(!r)return;const n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){const e={...n?.data,...t.data};r.mechanism.data=e}}const d=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function f(e){return parseInt(e||"",10)}function h(e){const t=e.match(d)||[],r=f(t[1]),n=f(t[2]),i=f(t[3]);return{buildmetadata:t[5],major:isNaN(r)?void 0:r,minor:isNaN(n)?void 0:n,patch:isNaN(i)?void 0:i,prerelease:t[4]}}function m(e,t,r=5){if(void 0===t.lineno)return;const n=e.length,o=Math.max(Math.min(n-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,o-r),o).map(e=>(0,i.snipLine)(e,0));const s=Math.min(n-1,o);t.context_line=(0,i.snipLine)(e[s],t.colno||0),t.post_context=e.slice(Math.min(o+1,n),o+1+r).map(e=>(0,i.snipLine)(e,0))}function g(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,n.addNonEnumerableProperty)(e,"__sentry_captured__",!0)}catch{}return!1}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addNonEnumerableProperty:()=>u,convertToPlainObject:()=>d,dropUndefinedKeys:()=>g,extractExceptionKeysForMessage:()=>m,fill:()=>c,getOriginalFunction:()=>l,markFunctionWrapped:()=>p,objectify:()=>v});var n=r(217),i=r(221),o=r(223),s=r(222),a=r(224);function c(e,t,r){if(!(t in e))return;const i=e[t];if("function"!=typeof i)return;const s=r(i);"function"==typeof s&&p(s,i);try{e[t]=s}catch{n.DEBUG_BUILD&&o.debug.log(`Failed to replace method "${t}" in object`,e)}}function u(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{n.DEBUG_BUILD&&o.debug.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function p(e,t){try{const r=t.prototype||{};e.prototype=t.prototype=r,u(e,"__sentry_original__",t)}catch{}}function l(e){return e.__sentry_original__}function d(e){if((0,s.isError)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if((0,s.isEvent)(e)){const t={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...h(e)};return"undefined"!=typeof CustomEvent&&(0,s.isInstanceOf)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function f(e){try{return(0,s.isElement)(e)?(0,i.htmlTreeAsString)(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function h(e){if("object"==typeof e&&null!==e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}return{}}function m(e,t=40){const r=Object.keys(d(e));r.sort();const n=r[0];if(!n)return"[object has no keys]";if(n.length>=t)return(0,a.truncate)(n,t);for(let e=r.length;e>0;e--){const n=r.slice(0,e).join(", ");if(!(n.length>t))return e===r.length?n:(0,a.truncate)(n,t)}return""}function g(e){return y(e,new Map)}function y(e,t){if(null===e||"object"!=typeof e)return e;const r=t.get(e);if(void 0!==r)return r;if(Array.isArray(e)){const r=[];return t.set(e,r),e.forEach(e=>{r.push(y(e,t))}),r}if(function(e){const t=e.constructor;return t===Object||void 0===t}(e)){const r={};t.set(e,r);return Object.keys(e).forEach(n=>{const i=e[n];void 0!==i&&(r[n]=y(i,t))}),r}return e}function v(e){let t;switch(!0){case null==e:t=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:t=Object(e);break;case(0,s.isPrimitive)(e):t=new e.constructor(e);break;default:t=e}return t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getComponentName:()=>u,getLocationHref:()=>c,htmlTreeAsString:()=>s});var n=r(222);const i=r(213).GLOBAL_OBJ,o=80;function s(e,t={}){if(!e)return"<unknown>";try{let r=e;const n=5,i=[];let s=0,c=0;const u=" > ",p=u.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||o;for(;r&&s++<n&&(l=a(r,d),!("html"===l||s>1&&c+i.length*p+l.length>=f));)i.push(l),c+=l.length,r=r.parentNode;return i.reverse().join(u)}catch{return"<unknown>"}}function a(e,t){const r=e,o=[];if(!r?.tagName)return"";if(i.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}o.push(r.tagName.toLowerCase());const s=t?.length?t.filter(e=>r.getAttribute(e)).map(e=>[e,r.getAttribute(e)]):null;if(s?.length)s.forEach(e=>{o.push(`[${e[0]}="${e[1]}"]`)});else{r.id&&o.push(`#${r.id}`);const e=r.className;if(e&&(0,n.isString)(e)){const t=e.split(/\s+/);for(const e of t)o.push(`.${e}`)}}const a=["aria-label","type","name","title","alt"];for(const e of a){const t=r.getAttribute(e);t&&o.push(`[${e}="${t}"]`)}return o.join("")}function c(){try{return i.document.location.href}catch{return""}}function u(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isDOMError:()=>a,isDOMException:()=>c,isElement:()=>h,isError:()=>i,isErrorEvent:()=>s,isEvent:()=>f,isInstanceOf:()=>v,isParameterizedString:()=>p,isPlainObject:()=>d,isPrimitive:()=>l,isRegExp:()=>m,isRequest:()=>b,isString:()=>u,isSyntheticEvent:()=>y,isThenable:()=>g,isVueViewModel:()=>S});const n=Object.prototype.toString;function i(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(e,Error)}}function o(e,t){return n.call(e)===`[object ${t}]`}function s(e){return o(e,"ErrorEvent")}function a(e){return o(e,"DOMError")}function c(e){return o(e,"DOMException")}function u(e){return o(e,"String")}function p(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function l(e){return null===e||p(e)||"object"!=typeof e&&"function"!=typeof e}function d(e){return o(e,"Object")}function f(e){return"undefined"!=typeof Event&&v(e,Event)}function h(e){return"undefined"!=typeof Element&&v(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return Boolean(e?.then&&"function"==typeof e.then)}function y(e){return d(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e,t){try{return e instanceof t}catch{return!1}}function S(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}function b(e){return"undefined"!=typeof Request&&v(e,Request)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONSOLE_LEVELS:()=>s,consoleSandbox:()=>c,debug:()=>d,originalConsoleMethods:()=>a});var n=r(211),i=r(217),o=r(213);const s=["debug","info","warn","error","log","assert","trace"],a={};function c(e){if(!("console"in o.GLOBAL_OBJ))return e();const t=o.GLOBAL_OBJ.console,r={},n=Object.keys(a);n.forEach(e=>{const n=a[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function u(){return l().enabled}function p(e,...t){i.DEBUG_BUILD&&u()&&c(()=>{o.GLOBAL_OBJ.console[e](`Sentry Logger [${e}]:`,...t)})}function l(){return i.DEBUG_BUILD?(0,n.getGlobalSingleton)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const d={enable:function(){l().enabled=!0},disable:function(){l().enabled=!1},isEnabled:u,log:function(...e){p("log",...e)},warn:function(...e){p("warn",...e)},error:function(...e){p("error",...e)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isMatchingPattern:()=>a,safeJoin:()=>s,snipLine:()=>o,stringMatchesSomePattern:()=>c,truncate:()=>i});var n=r(222);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){let r=e;const n=r.length;if(n<=150)return r;t>n&&(t=n);let i=Math.max(t-60,0);i<5&&(i=0);let o=Math.min(i+140,n);return o>n-5&&(o=n),o===n&&(i=Math.max(o-140,0)),r=r.slice(i,o),i>0&&(r=`'{snip} ${r}`),o<n&&(r+=" {snip}"),r}function s(e,t){if(!Array.isArray(e))return"";const r=[];for(let t=0;t<e.length;t++){const i=e[t];try{(0,n.isVueViewModel)(i)?r.push("[VueViewModel]"):r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function a(e,t,r=!1){return!!(0,n.isString)(e)&&((0,n.isRegExp)(t)?t.test(e):!!(0,n.isString)(t)&&(r?e===t:e.includes(t)))}function c(e,t=[],r=!1){return t.some(t=>a(e,t,r))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{browserPerformanceTimeOrigin:()=>u,dateTimestampInSeconds:()=>o,timestampInSeconds:()=>c});var n=r(213);const i=1e3;function o(){return Date.now()/i}let s,a;function c(){return(s??(s=function(){const{performance:e}=n.GLOBAL_OBJ;if(!e?.now||!e.timeOrigin)return o;const t=e.timeOrigin;return()=>(t+e.now())/i}()))()}function u(){return a||(a=function(){const{performance:e}=n.GLOBAL_OBJ;if(!e?.now)return[void 0,"none"];const t=36e5,r=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+r-i):t,s=o<t,a=e.timing?.navigationStart,c="number"==typeof a?Math.abs(a+r-i):t;return s||c<t?o<=c?[e.timeOrigin,"timeOrigin"]:[a,"navigationStart"]:[i,"dateNow"]}()),a[0]}},(e,t,r)=>{"use strict";function n(e,t,r=2){if(!t||"object"!=typeof t||r<=0)return t;if(e&&0===Object.keys(t).length)return e;const i={...e};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=n(i[e],t[e],r-1));return i}r.r(t),r.d(t,{merge:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{generateSpanId:()=>o,generateTraceId:()=>i});var n=r(219);function i(){return(0,n.uuid4)()}function o(){return(0,n.uuid4)().substring(16)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_getSpanForScope:()=>s,_setSpanForScope:()=>o});var n=r(220);const i="_sentrySpan";function o(e,t){t?(0,n.addNonEnumerableProperty)(e,i,t):delete e[i]}function s(e){return e[i]}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addIntegration:()=>l,afterSetupIntegrations:()=>u,defineIntegration:()=>d,getIntegrationsToSetup:()=>a,installedIntegrations:()=>s,setupIntegration:()=>p,setupIntegrations:()=>c});var n=r(209),i=r(217),o=r(223);const s=[];function a(e){const t=e.defaultIntegrations||[],r=e.integrations;let n;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))n=[...t,...r];else if("function"==typeof r){const e=r(t);n=Array.isArray(e)?e:[e]}else n=t;return function(e){const t={};return e.forEach(e=>{const{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.values(t)}(n)}function c(e,t){const r={};return t.forEach(t=>{t&&p(e,t,r)}),r}function u(e,t){for(const r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function p(e,t,r){if(r[t.name])i.DEBUG_BUILD&&o.debug.log(`Integration skipped because it was already installed: ${t.name}`);else{if(r[t.name]=t,-1===s.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),s.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){const r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}i.DEBUG_BUILD&&o.debug.log(`Integration installed: ${t.name}`)}}function l(e){const t=(0,n.getClient)();t?t.addIntegration(e):i.DEBUG_BUILD&&o.debug.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`)}function d(e){return e}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{functionToStringIntegration:()=>c});var n=r(209),i=r(229),o=r(220);let s;const a=new WeakMap,c=(0,i.defineIntegration)(()=>({name:"FunctionToString",setupOnce(){s=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,o.getOriginalFunction)(this),r=a.has((0,n.getClient)())&&void 0!==t?t:this;return s.apply(r,e)}}catch{}},setup(e){a.set(e,!0)}}))},(e,t,r)=>{"use strict";r.r(t),r.d(t,{eventFiltersIntegration:()=>p,inboundFiltersIntegration:()=>l});var n=r(217),i=r(229),o=r(223),s=r(232),a=r(219),c=r(224);const u=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],p=(0,i.defineIntegration)((e={})=>{let t;return{name:"EventFilters",setup(r){const n=r.getOptions();t=d(e,n)},processEvent(r,i,u){if(!t){const r=u.getOptions();t=d(e,r)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const r=e.transaction;return!!r&&(0,c.stringMatchesSomePattern)(r,t)}(e,t.ignoreTransactions))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,a.getEventDescription)(e)}`),!0}else{if(function(e,t){if(!t?.length)return!1;return(0,s.getPossibleEventMessages)(e).some(e=>(0,c.stringMatchesSomePattern)(e,t))}(e,t.ignoreErrors))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,a.getEventDescription)(e)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}(e))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,a.getEventDescription)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const r=f(e);return!!r&&(0,c.stringMatchesSomePattern)(r,t)}(e,t.denyUrls))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,a.getEventDescription)(e)}.\nUrl: ${f(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const r=f(e);return!r||(0,c.stringMatchesSomePattern)(r,t)}(e,t.allowUrls))return n.DEBUG_BUILD&&o.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,a.getEventDescription)(e)}.\nUrl: ${f(e)}`),!0}return!1}(r,t)?null:r}}}),l=(0,i.defineIntegration)((e={})=>({...p(e),name:"InboundFilters"}));function d(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:u],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function f(e){try{const t=[...e.exception?.values??[]].reverse().find(e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){const r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch{return n.DEBUG_BUILD&&o.debug.error(`Cannot extract url for event ${(0,a.getEventDescription)(e)}`),null}}},(e,t,r)=>{"use strict";function n(e){const t=[];e.message&&t.push(e.message);try{const r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}r.r(t),r.d(t,{getPossibleEventMessages:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_shouldDropEvent:()=>c,dedupeIntegration:()=>a});var n=r(217),i=r(229),o=r(223),s=r(234);const a=(0,i.defineIntegration)(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(c(t,e))return n.DEBUG_BUILD&&o.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}});function c(e,t){return!!t&&(!!function(e,t){const r=e.message,n=t.message;if(!r&&!n)return!1;if(r&&!n||!r&&n)return!1;if(r!==n)return!1;if(!p(e,t))return!1;if(!u(e,t))return!1;return!0}(e,t)||!!function(e,t){const r=l(t),n=l(e);if(!r||!n)return!1;if(r.type!==n.type||r.value!==n.value)return!1;if(!p(e,t))return!1;if(!u(e,t))return!1;return!0}(e,t))}function u(e,t){let r=(0,s.getFramesFromEvent)(e),n=(0,s.getFramesFromEvent)(t);if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const t=n[e],i=r[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function p(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return!(r.join("")!==n.join(""))}catch{return!1}}function l(e){return e.exception?.values?.[0]}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{UNKNOWN_FUNCTION:()=>i,createStackParser:()=>a,getFramesFromEvent:()=>f,getFunctionName:()=>d,stackParserFromStackParserOptions:()=>c,stripSentryFramesAndReverse:()=>u});const n=50,i="?",o=/\(error: (.*)\)/,s=/captureMessage|captureException/;function a(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,i=0)=>{const s=[],a=e.split("\n");for(let e=r;e<a.length;e++){let r=a[e];r.length>1024&&(r=r.slice(0,1024));const c=o.test(r)?r.replace(o,"$1"):r;if(!c.match(/\S*Error: /)){for(const e of t){const t=e(c);if(t){s.push(t);break}}if(s.length>=n+i)break}}return u(s.slice(i))}}function c(e){return Array.isArray(e)?a(...e):e}function u(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(p(t).function||"")&&t.pop(),t.reverse(),s.test(p(t).function||"")&&(t.pop(),s.test(p(t).function||"")&&t.pop()),t.slice(0,n).map(e=>({...e,filename:e.filename||p(t).filename,function:e.function||i}))}function p(e){return e[e.length-1]||{}}const l="<anonymous>";function d(e){try{return e&&"function"==typeof e&&e.name||l}catch{return l}}function f(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{BrowserClient:()=>l,applyDefaultOptions:()=>d});var n=r(236),i=r(266),o=r(267),s=r(253),a=r(258),c=r(268),u=r(269),p=r(270);class l extends n.Client{constructor(e){const t=d(e),r=p.WINDOW.SENTRY_SDK_SOURCE||(0,c.getSDKSource)();(0,o.applySdkMetadata)(t,"browser",["browser"],r),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:n,sendClientReports:u,enableLogs:l,_experiments:f}=this._options;p.WINDOW.document&&(u||l||f?.enableMetrics)&&p.WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===p.WINDOW.document.visibilityState&&(u&&this._flushOutcomes(),l&&(0,s._INTERNAL_flushLogsBuffer)(this),f?.enableMetrics&&(0,a._INTERNAL_flushMetricsBuffer)(this))}),n&&this.on("beforeSendSession",i.addAutoIpAddressToSession)}eventFromException(e,t){return(0,u.eventFromException)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return(0,u.eventFromMessage)(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}function d(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:p.WINDOW.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{Client:()=>M});var n=r(237),i=r(239),o=r(209),s=r(217),a=r(240),c=r(229),u=r(253),p=r(258),l=r(218),d=r(241),f=r(260),h=r(223),m=r(238),g=r(250),y=r(232),v=r(222),S=r(226),b=r(219),_=r(249),E=r(261),T=r(252),I=r(245),w=r(263),A=r(265);const C="Not capturing exception because it's already been captured.",R="Discarded session because of missing or non-string release",x=Symbol.for("SentryInternalError"),k=Symbol.for("SentryDoNotSendEventError");function O(e){return{message:e,[x]:!0}}function P(e){return{message:e,[k]:!0}}function N(e){return!!e&&"object"==typeof e&&x in e}function D(e){return!!e&&"object"==typeof e&&k in e}function L(e,t,r,n,i){let o,s=0;e.on(r,()=>{s=0,clearTimeout(o)}),e.on(t,t=>{s+=n(t),s>=8e5?i(e):(clearTimeout(o),o=setTimeout(()=>{i(e)},5e3))}),e.on("flush",()=>{i(e)})}class M{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,m.makeDsn)(e.dsn):s.DEBUG_BUILD&&h.debug.warn("No DSN provided, client will not send events."),this._dsn){const t=(0,n.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs&&L(this,"afterCaptureLog","flushLogs",q,u._INTERNAL_flushLogsBuffer),this._options._experiments?.enableMetrics&&L(this,"afterCaptureMetric","flushMetrics",j,p._INTERNAL_flushMetricsBuffer)}captureException(e,t,r){const n=(0,b.uuid4)();if((0,b.checkOrSetAlreadyCaught)(e))return s.DEBUG_BUILD&&h.debug.log(C),n;const i={event_id:n,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,r))),i.event_id}captureMessage(e,t,r,n){const i={event_id:(0,b.uuid4)(),...r},o=(0,v.isParameterizedString)(e)?e:String(e),s=(0,v.isPrimitive)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(s.then(e=>this._captureEvent(e,i,n))),i.event_id}captureEvent(e,t,r){const n=(0,b.uuid4)();if(t?.originalException&&(0,b.checkOrSetAlreadyCaught)(t.originalException))return s.DEBUG_BUILD&&h.debug.log(C),n;const i={event_id:n,...t},o=e.sdkProcessingMetadata||{},a=o.capturedSpanScope,c=o.capturedSpanIsolationScope;return this._process(this._captureEvent(e,i,a||r,c)),i.event_id}captureSession(e){this.sendSession(e),(0,l.updateSession)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(!t)return!0;this.emit("flush");const r=await this._isClientDoneProcessing(e),n=await t.flush(e);return r&&n}async close(e){const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];(0,c.setupIntegration)(this,e,this._integrations),t||(0,c.afterSetupIntegrations)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=(0,a.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])r=(0,g.addItemToEnvelope)(r,(0,g.createAttachmentEnvelopeItem)(e));this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:r=i.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){const n=e.attrs||{};if(!n.release&&!t)return void(s.DEBUG_BUILD&&h.debug.warn(R));n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t)return void(s.DEBUG_BUILD&&h.debug.warn(R));e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);const n=(0,a.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){const n=`${e}:${t}`;s.DEBUG_BUILD&&h.debug.log(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){const r=this._hooks[e]=this._hooks[e]||new Set,n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){const r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return s.DEBUG_BUILD&&h.debug.error("Error while sending envelope:",e),{}}return s.DEBUG_BUILD&&h.debug.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,c.setupIntegrations)(this,e),(0,c.afterSetupIntegrations)(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1;const i=t.exception?.values;if(i){n=!0;for(const e of i){const t=e.mechanism;if(!1===t?.handled){r=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&r)&&((0,l.updateSession)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n){const i=this.getOptions(),s=Object.keys(this._integrations);return!t.integrations&&s?.length&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,E.prepareEvent)(i,e,t,r,this,n).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:(0,o.getTraceContextFromScope)(r),...e.contexts};const n=(0,d.getDynamicSamplingContextFromScope)(this,r);return e.sdkProcessingMetadata={dynamicSamplingContext:n,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},r=(0,o.getCurrentScope)(),n=(0,o.getIsolationScope)()){return s.DEBUG_BUILD&&U(e)&&h.debug.log(`Captured error event \`${(0,y.getPossibleEventMessages)(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{s.DEBUG_BUILD&&(D(e)?h.debug.log(e.message):N(e)?h.debug.warn(e.message):h.debug.warn(e))})}_processEvent(e,t,r,n){const i=this.getOptions(),{sampleRate:o}=i,s=B(e),a=U(e),c=e.type||"error",u=`before send for type \`${c}\``,p=void 0===o?void 0:(0,_.parseSampleRate)(o);if(a&&"number"==typeof p&&Math.random()>p)return this.recordDroppedEvent("sample_rate","error"),(0,w.rejectedSyncPromise)(P(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const l="replay_event"===c?"replay":c;return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",l),P("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const r=function(e,t,r,n){const{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:s,ignoreSpans:a}=t;let c=r;if(U(c)&&i)return i(c,n);if(B(c)){if(s||a){const t=(0,A.convertTransactionEventToSpanJson)(c);if(a?.length&&(0,T.shouldIgnoreSpan)(t,a))return null;if(s){const e=s(t);e?c=(0,S.merge)(r,(0,A.convertSpanJsonToTransactionEvent)(e)):(0,I.showSpanDropWarning)()}if(c.spans){const t=[],r=c.spans;for(const e of r)if(a?.length&&(0,T.shouldIgnoreSpan)(e,a))(0,T.reparentChildSpans)(r,e);else if(s){const r=s(e);r?t.push(r):((0,I.showSpanDropWarning)(),t.push(e))}else t.push(e);const n=c.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),c.spans=t}}if(o){if(c.spans){const e=c.spans.length;c.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(c,n)}}return c}(this,i,e,t);return function(e,t){const r=`${t} must return \`null\` or a valid event.`;if((0,v.isThenable)(e))return e.then(e=>{if(!(0,v.isPlainObject)(e)&&null!==e)throw O(r);return e},e=>{throw O(`${t} rejected with ${e}`)});if(!(0,v.isPlainObject)(e)&&null!==e)throw O(r);return e}(r,u)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",l),s){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw P(`${u} returned \`null\`, will not send event.`)}const o=r.getSession()||n.getSession();if(a&&o&&this._updateSessionFromEvent(o,i),s){const e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const c=i.transaction_info;if(s&&c&&i.transaction!==e.transaction){const e="custom";i.transaction_info={...c,source:e}}return this.sendEvent(i,t),i}).then(null,e=>{if(D(e)||N(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),O(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){s.DEBUG_BUILD&&h.debug.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(s.DEBUG_BUILD&&h.debug.log("No outcomes to send"));if(!this._dsn)return void(s.DEBUG_BUILD&&h.debug.log("No dsn provided, will not send outcomes"));s.DEBUG_BUILD&&h.debug.log("Sending outcomes:",e);const t=(0,f.createClientReportEnvelope)(e,this._options.tunnel&&(0,m.dsnToString)(this._dsn));this.sendEnvelope(t)}}function U(e){return void 0===e.type}function B(e){return"transaction"===e.type}function j(e){let t=0;return e.name&&(t+=2*e.name.length),"string"==typeof e.value?t+=2*e.value.length:t+=8,t+F(e.attributes)}function q(e){let t=0;return e.message&&(t+=2*e.message.length),t+F(e.attributes)}function F(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*W(e[0]):(0,v.isPrimitive)(e)?t+=W(e):t+=100}),t}function W(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getEnvelopeEndpointWithUrlEncodedAuth:()=>s,getReportDialogEndpoint:()=>a});var n=r(238);const i="7";function o(e){const t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function s(e,t,r){return t||`${function(e){return`${o(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const r={sentry_version:i};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}(e,r)}`}function a(e,t){const r=(0,n.makeDsn)(e);if(!r)return"";const i=`${o(r)}embed/error-page/`;let s=`dsn=${(0,n.dsnToString)(r)}`;for(const e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(s+=`&name=${encodeURIComponent(e.name)}`),e.email&&(s+=`&email=${encodeURIComponent(e.email)}`)}else s+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${i}?${s}`}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{dsnFromString:()=>c,dsnToString:()=>a,extractOrgIdFromClient:()=>l,extractOrgIdFromDsnHost:()=>p,makeDsn:()=>d});var n=r(217),i=r(223);const o=/^o(\d+)\./,s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,t=!1){const{host:r,path:n,pass:i,port:o,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&i?`:${i}`:""}@${r}${o?`:${o}`:""}/${n?`${n}/`:n}${s}`}function c(e){const t=s.exec(e);if(!t)return void(0,i.consoleSandbox)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});const[r,n,o="",a="",c="",p=""]=t.slice(1);let l="",d=p;const f=d.split("/");if(f.length>1&&(l=f.slice(0,-1).join("/"),d=f.pop()),d){const e=d.match(/^\d+/);e&&(d=e[0])}return u({host:a,pass:o,path:l,projectId:d,port:c,protocol:r,publicKey:n})}function u(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function p(e){const t=e.match(o);return t?.[1]}function l(e){const t=e.getOptions(),{host:r}=e.getDsn()||{};let n;return t.orgId?n=String(t.orgId):r&&(n=p(r)),n}function d(e){const t="string"==typeof e?c(e):u(e);if(t&&function(e){if(!n.DEBUG_BUILD)return!0;const{port:t,projectId:r,protocol:o}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.debug.error(`Invalid Sentry Dsn: ${t} missing`),!0))||(r.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?t&&isNaN(parseInt(t,10))&&(i.debug.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(i.debug.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(i.debug.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),1)))}(t))return t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_ENVIRONMENT:()=>n});const n="production"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_enhanceEventWithSdkInfo:()=>c,createEventEnvelope:()=>p,createSessionEnvelope:()=>u,createSpanEnvelope:()=>l});var n=r(241),i=r(238),o=r(250),s=r(252),a=r(245);function c(e,t){if(!t)return e;const r=e.sdk||{};return e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function u(e,t,r,n){const s=(0,o.getSdkMetadataForEnvelopeHeader)(r),a={sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!n&&t&&{dsn:(0,i.dsnToString)(t)}},c="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,o.createEnvelope)(a,[c])}function p(e,t,r,n){const i=(0,o.getSdkMetadataForEnvelopeHeader)(r),s=e.type&&"replay_event"!==e.type?e.type:"event";c(e,r?.sdk);const a=(0,o.createEventEnvelopeHeaders)(e,i,n,t);delete e.sdkProcessingMetadata;const u=[{type:s},e];return(0,o.createEnvelope)(a,[u])}function l(e,t){const r=(0,n.getDynamicSamplingContextFromSpan)(e[0]),c=t?.getDsn(),u=t?.getOptions().tunnel,p={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(r)&&{trace:r},...!!u&&c&&{dsn:(0,i.dsnToString)(c)}},{beforeSendSpan:l,ignoreSpans:d}=t?.getOptions()||{},f=d?.length?e.filter(e=>!(0,s.shouldIgnoreSpan)((0,a.spanToJSON)(e),d)):e,h=e.length-f.length;h&&t?.recordDroppedEvent("before_send","span",h);const m=l?e=>{const t=(0,a.spanToJSON)(e),r=l(t);return r||((0,a.showSpanDropWarning)(),t)}:a.spanToJSON,g=[];for(const e of f){const t=m(e);t&&g.push((0,o.createSpanEnvelopeItem)(t))}return(0,o.createEnvelope)(p,g)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{freezeDscOnSpan:()=>f,getDynamicSamplingContextFromClient:()=>h,getDynamicSamplingContextFromScope:()=>m,getDynamicSamplingContextFromSpan:()=>g,spanToBaggageHeader:()=>y});var n=r(239),i=r(209),o=r(242),s=r(243),a=r(238),c=r(244),u=r(220),p=r(245),l=r(247);const d="_frozenDsc";function f(e,t){const r=e;(0,u.addNonEnumerableProperty)(r,d,t)}function h(e,t){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},o={environment:r.environment||n.DEFAULT_ENVIRONMENT,release:r.release,public_key:i,trace_id:e,org_id:(0,a.extractOrgIdFromClient)(t)};return t.emit("createDsc",o),o}function m(e,t){const r=t.getPropagationContext();return r.dsc||h(r.traceId,e)}function g(e){const t=(0,i.getClient)();if(!t)return{};const r=(0,p.getRootSpan)(e),n=(0,p.spanToJSON)(r),a=n.data,u=r.spanContext().traceState,f=u?.get("sentry.sample_rate")??a[o.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??a[o.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function m(e){return"number"!=typeof f&&"string"!=typeof f||(e.sample_rate=`${f}`),e}const g=r[d];if(g)return m(g);const y=u?.get("sentry.dsc"),v=y&&(0,s.baggageHeaderToDynamicSamplingContext)(y);if(v)return m(v);const S=h(e.spanContext().traceId,t),b=a[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],_=n.description;return"url"!==b&&_&&(S.transaction=_),(0,c.hasSpansEnabled)()&&(S.sampled=String((0,p.spanIsSampled)(r)),S.sample_rand=u?.get("sentry.sample_rand")??(0,l.getCapturedScopesOnSpan)(r).scope?.getPropagationContext().sampleRand.toString()),m(S),t.emit("createDsc",S,r),S}function y(e){const t=g(e);return(0,s.dynamicSamplingContextToSentryBaggageHeader)(t)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SEMANTIC_ATTRIBUTE_CACHE_HIT:()=>h,SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE:()=>g,SEMANTIC_ATTRIBUTE_CACHE_KEY:()=>m,SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME:()=>f,SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD:()=>y,SEMANTIC_ATTRIBUTE_PROFILE_ID:()=>d,SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME:()=>l,SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON:()=>c,SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT:()=>u,SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE:()=>p,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>s,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>a,SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE:()=>o,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>i,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>n,SEMANTIC_ATTRIBUTE_URL_FULL:()=>v,SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE:()=>S});const n="sentry.source",i="sentry.sample_rate",o="sentry.previous_trace_sample_rate",s="sentry.op",a="sentry.origin",c="sentry.idle_span_finish_reason",u="sentry.measurement_unit",p="sentry.measurement_value",l="sentry.custom_span_name",d="sentry.profile_id",f="sentry.exclusive_time",h="cache.hit",m="cache.key",g="cache.item_size",y="http.request.method",v="url.full",S="sentry.link.type"},(e,t,r)=>{"use strict";r.r(t),r.d(t,{MAX_BAGGAGE_STRING_LENGTH:()=>c,SENTRY_BAGGAGE_KEY_PREFIX:()=>s,SENTRY_BAGGAGE_KEY_PREFIX_REGEX:()=>a,baggageHeaderToDynamicSamplingContext:()=>u,dynamicSamplingContextToSentryBaggageHeader:()=>p,objectToBaggageHeader:()=>f,parseBaggageHeader:()=>l});var n=r(217),i=r(223),o=r(222);const s="sentry-",a=/^sentry-/,c=8192;function u(e){const t=l(e);if(!t)return;const r=Object.entries(t).reduce((e,[t,r])=>{if(t.match(a)){e[t.slice(s.length)]=r}return e},{});return Object.keys(r).length>0?r:void 0}function p(e){if(!e)return;return f(Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${s}${t}`]=r),e),{}))}function l(e){if(e&&((0,o.isString)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{const r=d(t);return Object.entries(r).forEach(([t,r])=>{e[t]=r}),e},{}):d(e)}function d(e){return e.split(",").map(e=>{const t=e.indexOf("=");if(-1===t)return[];return[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}function f(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,r],o)=>{const s=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,a=0===o?s:`${e},${s}`;return a.length>c?(n.DEBUG_BUILD&&i.debug.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):a},"")}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{hasSpansEnabled:()=>i});var n=r(209);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||(0,n.getClient)()?.getOptions();return!(!t||null==t.tracesSampleRate&&!t.tracesSampler)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{TRACE_FLAG_NONE:()=>m,TRACE_FLAG_SAMPLED:()=>g,addChildSpanToSpan:()=>k,convertSpanLinksForEnvelope:()=>E,getActiveSpan:()=>D,getRootSpan:()=>N,getSpanDescendants:()=>P,getStatusMessage:()=>C,removeChildSpanFromSpan:()=>O,showSpanDropWarning:()=>L,spanIsSampled:()=>A,spanTimeInputToSeconds:()=>T,spanToJSON:()=>w,spanToTraceContext:()=>S,spanToTraceHeader:()=>b,spanToTraceparentHeader:()=>_,spanToTransactionTraceContext:()=>v,updateSpanName:()=>M});var n=r(210),i=r(211),o=r(209),s=r(242),a=r(246),c=r(247),u=r(220),p=r(227),l=r(225),d=r(248),f=r(223),h=r(228);const m=0,g=1;let y=!1;function v(e){const{spanId:t,traceId:r}=e.spanContext(),{data:n,op:i,parent_span_id:o,status:s,origin:a,links:c}=w(e);return{parent_span_id:o,span_id:t,trace_id:r,data:n,op:i,status:s,origin:a,links:c}}function S(e){const{spanId:t,traceId:r,isRemote:n}=e.spanContext(),i=n?t:w(e).parent_span_id,o=(0,c.getCapturedScopesOnSpan)(e).scope;return{parent_span_id:i,span_id:n?o?.getPropagationContext().propagationSpanId||(0,p.generateSpanId)():t,trace_id:r}}function b(e){const{traceId:t,spanId:r}=e.spanContext(),n=A(e);return(0,d.generateSentryTraceHeader)(t,r,n)}function _(e){const{traceId:t,spanId:r}=e.spanContext(),n=A(e);return(0,d.generateTraceparentHeader)(t,r,n)}function E(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:i})=>({span_id:e,trace_id:t,sampled:r===g,attributes:i,...n})):void 0}function T(e){return"number"==typeof e?I(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?I(e.getTime()):(0,l.timestampInSeconds)()}function I(e){return e>9999999999?e/1e3:e}function w(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:r}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:n,startTime:i,name:o,endTime:a,status:c,links:u}=e;return{span_id:t,trace_id:r,data:n,description:o,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:T(i),timestamp:T(a)||void 0,status:C(c),op:n[s.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:n[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:E(u)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function A(e){const{traceFlags:t}=e.spanContext();return t===g}function C(e){if(e&&e.code!==a.SPAN_STATUS_UNSET)return e.code===a.SPAN_STATUS_OK?"ok":e.message||"unknown_error"}const R="_sentryChildSpans",x="_sentryRootSpan";function k(e,t){const r=e[x]||e;(0,u.addNonEnumerableProperty)(t,x,r),e[R]?e[R].add(t):(0,u.addNonEnumerableProperty)(e,R,new Set([t]))}function O(e,t){e[R]&&e[R].delete(t)}function P(e){const t=new Set;return function e(r){if(!t.has(r)&&A(r)){t.add(r);const n=r[R]?Array.from(r[R]):[];for(const t of n)e(t)}}(e),Array.from(t)}function N(e){return e[x]||e}function D(){const e=(0,i.getMainCarrier)(),t=(0,n.getAsyncContextStrategy)(e);return t.getActiveSpan?t.getActiveSpan():(0,h._getSpanForScope)((0,o.getCurrentScope)())}function L(){y||((0,f.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),y=!0)}function M(e,t){e.updateName(t),e.setAttributes({[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:t})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SPAN_STATUS_ERROR:()=>o,SPAN_STATUS_OK:()=>i,SPAN_STATUS_UNSET:()=>n,getSpanStatusFromHttpCode:()=>s,setHttpStatus:()=>a});const n=0,i=1,o=2;function s(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"};default:return{code:o,message:"internal_error"}}return{code:o,message:"unknown_error"}}function a(e,t){e.setAttribute("http.response.status_code",t);const r=s(t);"unknown_error"!==r.message&&e.setStatus(r)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getCapturedScopesOnSpan:()=>u,setCapturedScopesOnSpan:()=>c});var n=r(220),i=r(213);const o="_sentryScope",s="_sentryIsolationScope";function a(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}function c(e,t,r){e&&((0,n.addNonEnumerableProperty)(e,s,function(e){try{const t=i.GLOBAL_OBJ.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(r)),(0,n.addNonEnumerableProperty)(e,o,t))}function u(e){const t=e;return{scope:t[o],isolationScope:a(t[s])}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{TRACEPARENT_REGEXP:()=>c,extractTraceparentData:()=>u,generateSentryTraceHeader:()=>l,generateTraceparentHeader:()=>d,propagationContextFromHeaders:()=>p,shouldContinueTrace:()=>f});var n=r(223),i=r(243),o=r(238),s=r(249),a=r(227);const c=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function u(e){if(!e)return;const t=e.match(c);if(!t)return;let r;return"1"===t[3]?r=!0:"0"===t[3]&&(r=!1),{traceId:t[1],parentSampled:r,parentSpanId:t[2]}}function p(e,t){const r=u(e),n=(0,i.baggageHeaderToDynamicSamplingContext)(t);if(!r?.traceId)return{traceId:(0,a.generateTraceId)(),sampleRand:Math.random()};const o=function(e,t){const r=(0,s.parseSampleRate)(t?.sample_rand);if(void 0!==r)return r;const n=(0,s.parseSampleRate)(t?.sample_rate);return n&&void 0!==e?.parentSampled?e.parentSampled?Math.random()*n:n+Math.random()*(1-n):Math.random()}(r,n);n&&(n.sample_rand=o.toString());const{traceId:c,parentSpanId:p,parentSampled:l}=r;return{traceId:c,parentSpanId:p,sampled:l,dsc:n||{},sampleRand:o}}function l(e=(0,a.generateTraceId)(),t=(0,a.generateSpanId)(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function d(e=(0,a.generateTraceId)(),t=(0,a.generateSpanId)(),r){return`00-${e}-${t}-${r?"01":"00"}`}function f(e,t){const r=(0,o.extractOrgIdFromClient)(e);if(t&&r&&t!==r)return n.debug.log(`Won't continue trace because org IDs don't match (incoming baggage: ${t}, SDK options: ${r})`),!1;return!(e.getOptions().strictTraceContinuation||!1)||!(t&&!r||!t&&r)||(n.debug.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${t}, Sentry client: ${r})`),!1)}},(e,t,r)=>{"use strict";function n(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}r.r(t),r.d(t,{parseSampleRate:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addItemToEnvelope:()=>c,createAttachmentEnvelopeItem:()=>m,createEnvelope:()=>a,createEventEnvelopeHeaders:()=>S,createSpanEnvelopeItem:()=>h,envelopeContainsItemType:()=>p,envelopeItemTypeToDataCategory:()=>y,forEachEnvelopeItem:()=>u,getSdkMetadataForEnvelopeHeader:()=>v,parseEnvelope:()=>f,serializeEnvelope:()=>d});var n=r(211),i=r(238),o=r(251),s=r(213);function a(e,t=[]){return[e,t]}function c(e,t){const[r,n]=e;return[r,[...n,t]]}function u(e,t){const r=e[1];for(const e of r){if(t(e,e[0].type))return!0}return!1}function p(e,t){return u(e,(e,r)=>t.includes(r))}function l(e){const t=(0,n.getSentryCarrier)(s.GLOBAL_OBJ);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function d(e){const[t,r]=e;let n=JSON.stringify(t);function i(e){"string"==typeof n?n="string"==typeof e?n+e:[l(n),e]:n.push("string"==typeof e?l(e):e)}for(const e of r){const[t,r]=e;if(i(`\n${JSON.stringify(t)}\n`),"string"==typeof r||r instanceof Uint8Array)i(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify((0,o.normalize)(r))}i(e)}}return"string"==typeof n?n:function(e){const t=e.reduce((e,t)=>e+t.length,0),r=new Uint8Array(t);let n=0;for(const t of e)r.set(t,n),n+=t.length;return r}(n)}function f(e){let t="string"==typeof e?l(e):e;function r(e){const r=t.subarray(0,e);return t=t.subarray(e+1),r}function i(){let e=t.indexOf(10);return e<0&&(e=t.length),JSON.parse(function(e){const t=(0,n.getSentryCarrier)(s.GLOBAL_OBJ);return t.decodePolyfill?t.decodePolyfill(e):(new TextDecoder).decode(e)}(r(e)))}const o=i(),a=[];for(;t.length;){const e=i(),t="number"==typeof e.length?e.length:void 0;a.push([e,t?r(t):i()])}return[o,a]}function h(e){return[{type:"span"},e]}function m(e){const t="string"==typeof e.data?l(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const g={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function y(e){return g[e]}function v(e){if(!e?.sdk)return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function S(e,t,r,n){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:(0,i.dsnToString)(n)},...o&&{trace:o}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{normalize:()=>s,normalizeToSize:()=>a,normalizeUrlToBase:()=>u});var n=r(222),i=r(220),o=r(234);function s(e,t=100,r=1/0){try{return c("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function a(e,t=3,r=102400){const n=s(e,t);return i=n,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>r?a(e,t-1,r):n;var i}function c(e,t,r=1/0,s=1/0,a=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function r(t){e.delete(t)}return[t,r]}()){const[u,p]=a;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const l=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,n.isVueViewModel)(t))return"[VueViewModel]";if((0,n.isSyntheticEvent)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,o.getFunctionName)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;const d="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:r;if(0===d)return l.replace("object ","");if(u(t))return"[Circular ~]";const f=t;if(f&&"function"==typeof f.toJSON)try{return c("",f.toJSON(),d-1,s,a)}catch{}const h=Array.isArray(t)?[]:{};let m=0;const g=(0,i.convertToPlainObject)(t);for(const e in g){if(!Object.prototype.hasOwnProperty.call(g,e))continue;if(m>=s){h[e]="[MaxProperties ~]";break}const t=g[e];h[e]=c(e,t,d-1,s,a),m++}return p(t),h}function u(e,t){const r=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let n=e;try{n=decodeURI(e)}catch{}return n.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${r}/*`,"ig"),"app:///")}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{reparentChildSpans:()=>c,shouldIgnoreSpan:()=>a});var n=r(217),i=r(223),o=r(224);function s(e){i.debug.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function a(e,t){if(!t?.length||!e.description)return!1;for(const r of t){if(u(r)){if((0,o.isMatchingPattern)(e.description,r))return n.DEBUG_BUILD&&s(e),!0;continue}if(!r.name&&!r.op)continue;const t=!r.name||(0,o.isMatchingPattern)(e.description,r.name),i=!r.op||e.op&&(0,o.isMatchingPattern)(e.op,r.op);if(t&&i)return n.DEBUG_BUILD&&s(e),!0}return!1}function c(e,t){const r=t.parent_span_id,n=t.span_id;if(r)for(const t of e)t.parent_span_id===n&&(t.parent_span_id=r)}function u(e){return"string"==typeof e||e instanceof RegExp}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_INTERNAL_captureLog:()=>v,_INTERNAL_captureSerializedLog:()=>y,_INTERNAL_flushLogsBuffer:()=>S,_INTERNAL_getLogBuffer:()=>b,logAttributeToSerializedLogAttribute:()=>m});var n=r(211),i=r(209),o=r(217),s=r(254),a=r(223),c=r(222),u=r(228),p=r(225),l=r(255),d=r(256),f=r(257);const h=100;function m(e){switch(typeof e){case"number":return Number.isInteger(e)?{value:e,type:"integer"}:{value:e,type:"double"};case"boolean":return{value:e,type:"boolean"};case"string":return{value:e,type:"string"};default:{let t="";try{t=JSON.stringify(e)??""}catch{}return{value:t,type:"string"}}}}function g(e,t,r,n=!0){!r||e[t]&&!n||(e[t]=r)}function y(e,t){const r=_(),n=b(e);void 0===n?r.set(e,[t]):(r.set(e,[...n,t]),n.length>=h&&S(e,n))}function v(e,t=(0,i.getCurrentScope)(),r=y){const n=t?.getClient()??(0,i.getClient)();if(!n)return void(o.DEBUG_BUILD&&a.debug.warn("No client available to capture log."));const{release:f,environment:h,enableLogs:v=!1,beforeSendLog:S}=n.getOptions();if(!v)return void(o.DEBUG_BUILD&&a.debug.warn("logging option not enabled, log will not be captured."));const[,b]=(0,l._getTraceInfoFromScope)(n,t),_={...e.attributes},{user:{id:E,email:T,username:I}}=function(e){const t=(0,i.getGlobalScope)().getScopeData();return(0,s.mergeScopeData)(t,(0,i.getIsolationScope)().getScopeData()),(0,s.mergeScopeData)(t,e.getScopeData()),t}(t);g(_,"user.id",E,!1),g(_,"user.email",T,!1),g(_,"user.name",I,!1),g(_,"sentry.release",f),g(_,"sentry.environment",h);const{name:w,version:A}=n.getSdkMetadata()?.sdk??{};g(_,"sentry.sdk.name",w),g(_,"sentry.sdk.version",A);const C=n.getIntegrationByName("Replay"),R=C?.getReplayId(!0);g(_,"sentry.replay_id",R),R&&"buffer"===C?.getRecordingMode()&&g(_,"sentry._internal.replay_is_buffering",!0);const x=e.message;if((0,c.isParameterizedString)(x)){const{__sentry_template_string__:e,__sentry_template_values__:t=[]}=x;t?.length&&(_["sentry.message.template"]=e),t.forEach((e,t)=>{_[`sentry.message.parameter.${t}`]=e})}const k=(0,u._getSpanForScope)(t);g(_,"sentry.trace.parent_span_id",k?.spanContext().spanId);const O={...e,attributes:_};n.emit("beforeCaptureLog",O);const P=S?(0,a.consoleSandbox)(()=>S(O)):O;if(!P)return n.recordDroppedEvent("before_send","log_item",1),void(o.DEBUG_BUILD&&a.debug.warn("beforeSendLog returned null, log will not be captured."));const{level:N,message:D,attributes:L={},severityNumber:M}=P;r(n,{timestamp:(0,p.timestampInSeconds)(),level:N,body:D,trace_id:b?.trace_id,severity_number:M??d.SEVERITY_TEXT_TO_SEVERITY_NUMBER[N],attributes:Object.keys(L).reduce((e,t)=>(e[t]=m(L[t]),e),{})}),n.emit("afterCaptureLog",P)}function S(e,t){const r=t??b(e)??[];if(0===r.length)return;const n=e.getOptions(),i=(0,f.createLogEnvelope)(r,n._metadata,n.tunnel,e.getDsn());_().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function b(e){return _().get(e)}function _(){return(0,n.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{applyScopeDataToEvent:()=>s,mergeAndOverwriteScopeData:()=>c,mergeScopeData:()=>a});var n=r(241),i=r(226),o=r(245);function s(e,t){const{fingerprint:r,span:i,breadcrumbs:s,sdkProcessingMetadata:a}=t;!function(e,t){const{extra:r,tags:n,user:i,contexts:o,level:s,transactionName:a}=t;Object.keys(r).length&&(e.extra={...r,...e.extra});Object.keys(n).length&&(e.tags={...n,...e.tags});Object.keys(i).length&&(e.user={...i,...e.user});Object.keys(o).length&&(e.contexts={...o,...e.contexts});s&&(e.level=s);a&&"transaction"!==e.type&&(e.transaction=a)}(e,t),i&&function(e,t){e.contexts={trace:(0,o.spanToTraceContext)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,n.getDynamicSamplingContextFromSpan)(t),...e.sdkProcessingMetadata};const r=(0,o.getRootSpan)(t),i=(0,o.spanToJSON)(r).description;i&&!e.transaction&&"transaction"===e.type&&(e.transaction=i)}(e,i),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,r),function(e,t){const r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,a)}function a(e,t){const{extra:r,tags:n,user:o,contexts:s,level:a,sdkProcessingMetadata:u,breadcrumbs:p,fingerprint:l,eventProcessors:d,attachments:f,propagationContext:h,transactionName:m,span:g}=t;c(e,"extra",r),c(e,"tags",n),c(e,"user",o),c(e,"contexts",s),e.sdkProcessingMetadata=(0,i.merge)(e.sdkProcessingMetadata,u,2),a&&(e.level=a),m&&(e.transactionName=m),g&&(e.span=g),p.length&&(e.breadcrumbs=[...e.breadcrumbs,...p]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...h}}function c(e,t,r){e[t]=(0,i.merge)(e[t],r,1)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_getTraceInfoFromScope:()=>s});var n=r(209),i=r(241),o=r(245);function s(e,t){return t?(0,n.withScope)(t,()=>{const r=(0,o.getActiveSpan)(),s=r?(0,o.spanToTraceContext)(r):(0,n.getTraceContextFromScope)(t);return[r?(0,i.getDynamicSamplingContextFromSpan)(r):(0,i.getDynamicSamplingContextFromScope)(e,t),s]}):[void 0,void 0]}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SEVERITY_TEXT_TO_SEVERITY_NUMBER:()=>n});const n={trace:1,debug:5,info:9,warn:13,error:17,fatal:21}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{createLogContainerEnvelopeItem:()=>o,createLogEnvelope:()=>s});var n=r(238),i=r(250);function o(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function s(e,t,r,s){const a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),r&&s&&(a.dsn=(0,n.dsnToString)(s)),(0,i.createEnvelope)(a,[o(e)])}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_INTERNAL_captureMetric:()=>g,_INTERNAL_captureSerializedMetric:()=>m,_INTERNAL_flushMetricsBuffer:()=>y,_INTERNAL_getMetricBuffer:()=>v,metricAttributeToSerializedMetricAttribute:()=>f});var n=r(211),i=r(209),o=r(217),s=r(254),a=r(223),c=r(228),u=r(225),p=r(255),l=r(259);const d=100;function f(e){switch(typeof e){case"number":return Number.isInteger(e)?{value:e,type:"integer"}:{value:e,type:"double"};case"boolean":return{value:e,type:"boolean"};case"string":return{value:e,type:"string"};default:{let t="";try{t=JSON.stringify(e)??""}catch{}return{value:t,type:"string"}}}}function h(e,t,r,n=!0){!r||!n&&t in e||(e[t]=r)}function m(e,t){const r=S(),n=v(e);void 0===n?r.set(e,[t]):(r.set(e,[...n,t]),n.length>=d&&y(e,n))}function g(e,t){const r=t?.scope??(0,i.getCurrentScope)(),n=t?.captureSerializedMetric??m,l=r?.getClient()??(0,i.getClient)();if(!l)return void(o.DEBUG_BUILD&&a.debug.warn("No client available to capture metric."));const{release:d,environment:g,_experiments:y}=l.getOptions();if(!y?.enableMetrics)return void(o.DEBUG_BUILD&&a.debug.warn("metrics option not enabled, metric will not be captured."));const[,v]=(0,p._getTraceInfoFromScope)(l,r),S={...e.attributes},{user:{id:b,email:_,username:E}}=function(e){const t=(0,i.getGlobalScope)().getScopeData();return(0,s.mergeScopeData)(t,(0,i.getIsolationScope)().getScopeData()),(0,s.mergeScopeData)(t,e.getScopeData()),t}(r);h(S,"user.id",b,!1),h(S,"user.email",_,!1),h(S,"user.name",E,!1),h(S,"sentry.release",d),h(S,"sentry.environment",g);const{name:T,version:I}=l.getSdkMetadata()?.sdk??{};h(S,"sentry.sdk.name",T),h(S,"sentry.sdk.version",I);const w=l.getIntegrationByName("Replay"),A=w?.getReplayId(!0);h(S,"sentry.replay_id",A),A&&"buffer"===w?.getRecordingMode()&&h(S,"sentry._internal.replay_is_buffering",!0);const C={...e,attributes:S},R=y?.beforeSendMetric?y.beforeSendMetric(C):C;if(!R)return void(o.DEBUG_BUILD&&a.debug.log("`beforeSendMetric` returned `null`, will not send metric."));const x={};for(const e in R.attributes)void 0!==R.attributes[e]&&(x[e]=f(R.attributes[e]));const k=(0,c._getSpanForScope)(r),O=k?k.spanContext().traceId:v?.trace_id,P=k?k.spanContext().spanId:void 0,N={timestamp:(0,u.timestampInSeconds)(),trace_id:O,span_id:P,name:R.name,type:R.type,unit:R.unit,value:R.value,attributes:x};o.DEBUG_BUILD&&a.debug.log("[Metric]",N),n(l,N),l.emit("afterCaptureMetric",C)}function y(e,t){const r=t??v(e)??[];if(0===r.length)return;const n=e.getOptions(),i=(0,l.createMetricEnvelope)(r,n._metadata,n.tunnel,e.getDsn());S().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(i)}function v(e){return S().get(e)}function S(){return(0,n.getGlobalSingleton)("clientToMetricBufferMap",()=>new WeakMap)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{createMetricContainerEnvelopeItem:()=>o,createMetricEnvelope:()=>s});var n=r(238),i=r(250);function o(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function s(e,t,r,s){const a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),r&&s&&(a.dsn=(0,n.dsnToString)(s)),(0,i.createEnvelope)(a,[o(e)])}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{createClientReportEnvelope:()=>o});var n=r(250),i=r(225);function o(e,t,r){const o=[{type:"client_report"},{timestamp:r||(0,i.dateTimestampInSeconds)(),discarded_events:e}];return(0,n.createEnvelope)(t?{dsn:t}:{},[o])}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{applyClientOptions:()=>h,applyDebugIds:()=>m,applyDebugMeta:()=>g,parseEventHintOrCaptureContext:()=>y,prepareEvent:()=>f});var n=r(239),i=r(209),o=r(262),s=r(216),a=r(254),c=r(264),u=r(219),p=r(251),l=r(224),d=r(225);function f(e,t,r,n,c,l){const{normalizeDepth:f=3,normalizeMaxBreadth:y=1e3}=e,v={...t,event_id:t.event_id||r.event_id||(0,u.uuid4)(),timestamp:t.timestamp||(0,d.dateTimestampInSeconds)()},S=r.integrations||e.integrations.map(e=>e.name);h(v,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(v,S),c&&c.emit("applyFrameMetadata",t),void 0===t.type&&m(v,e.stackParser);const b=function(e,t){if(!t)return e;const r=e?e.clone():new s.Scope;return r.update(t),r}(n,r.captureContext);r.mechanism&&(0,u.addExceptionMechanism)(v,r.mechanism);const _=c?c.getEventProcessors():[],E=(0,i.getGlobalScope)().getScopeData();if(l){const e=l.getScopeData();(0,a.mergeScopeData)(E,e)}if(b){const e=b.getScopeData();(0,a.mergeScopeData)(E,e)}const T=[...r.attachments||[],...E.attachments];T.length&&(r.attachments=T),(0,a.applyScopeDataToEvent)(v,E);const I=[..._,...E.eventProcessors];return(0,o.notifyEventProcessors)(I,v,r).then(e=>(e&&g(e),"number"==typeof f&&f>0?function(e,t,r){if(!e)return null;const n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,p.normalize)(e.data,t,r)}}))},...e.user&&{user:(0,p.normalize)(e.user,t,r)},...e.contexts&&{contexts:(0,p.normalize)(e.contexts,t,r)},...e.extra&&{extra:(0,p.normalize)(e.extra,t,r)}};e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,p.normalize)(e.contexts.trace.data,t,r)));e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,p.normalize)(e.data,t,r)}})));e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,p.normalize)(e.contexts.flags,3,r));return n}(e,f,y):e))}function h(e,t){const{environment:r,release:i,dist:o,maxValueLength:s=250}=t;e.environment=e.environment||r||n.DEFAULT_ENVIRONMENT,!e.release&&i&&(e.release=i),!e.dist&&o&&(e.dist=o);const a=e.request;a?.url&&(a.url=(0,l.truncate)(a.url,s))}function m(e,t){const r=(0,c.getFilenameToDebugIdMap)(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}function g(e){const t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}function y(e){if(e)return function(e){return e instanceof s.Scope||"function"==typeof e}(e)||function(e){return Object.keys(e).some(e=>v.includes(e))}(e)?{captureContext:e}:e}const v=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},(e,t,r)=>{"use strict";r.r(t),r.d(t,{notifyEventProcessors:()=>a});var n=r(217),i=r(223),o=r(222),s=r(263);function a(e,t,r,n=0){try{const i=c(t,r,e,n);return(0,o.isThenable)(i)?i:(0,s.resolvedSyncPromise)(i)}catch(e){return(0,s.rejectedSyncPromise)(e)}}function c(e,t,r,s){const a=r[s];if(!e||!a)return e;const u=a({...e},t);return n.DEBUG_BUILD&&null===u&&i.debug.log(`Event processor "${a.id||"?"}" dropped event`),(0,o.isThenable)(u)?u.then(e=>c(e,t,r,s+1)):c(u,t,r,s+1)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SyncPromise:()=>s,rejectedSyncPromise:()=>o,resolvedSyncPromise:()=>i});var n=r(222);function i(e){return new s(t=>{t(e)})}function o(e){return new s((t,r)=>{r(e)})}class s{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new s((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new s((t,r)=>{let n,i;return this.then(t=>{i=!1,n=t,e&&e()},t=>{i=!0,n=t,e&&e()}).then(()=>{i?r(n):t(n)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){const t=(e,t)=>{0===this._state&&((0,n.isThenable)(t)?t.then(r,i):(this._state=e,this._value=t,this._executeHandlers()))},r=e=>{t(1,e)},i=e=>{t(2,e)};try{e(r,i)}catch(e){i(e)}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getDebugImagesForResources:()=>u,getFilenameToDebugIdMap:()=>c});var n=r(213);let i,o,s,a;function c(e){const t=n.GLOBAL_OBJ._sentryDebugIds,r=n.GLOBAL_OBJ._debugIds;if(!t&&!r)return{};const c=t?Object.keys(t):[],u=r?Object.keys(r):[];if(a&&c.length===o&&u.length===s)return a;o=c.length,s=u.length,a={},i||(i={});const p=(t,r)=>{for(const n of t){const t=r[n],o=i?.[n];if(o&&a&&t)a[o[0]]=t,i&&(i[n]=[o[0],t]);else if(t){const r=e(n);for(let e=r.length-1;e>=0;e--){const o=r[e],s=o?.filename;if(s&&a&&i){a[s]=t,i[n]=[s,t];break}}}}};return t&&p(c,t),r&&p(u,r),a}function u(e,t){const r=c(e);if(!r)return[];const n=[];for(const e of t)e&&r[e]&&n.push({type:"sourcemap",code_file:e,debug_id:r[e]});return n}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{convertSpanJsonToTransactionEvent:()=>o,convertTransactionEventToSpanJson:()=>i});var n=r(242);function i(e){const{trace_id:t,parent_span_id:r,span_id:i,status:o,origin:s,data:a,op:c}=e.contexts?.trace??{};return{data:a??{},description:e.transaction,op:c,parent_span_id:r,span_id:i??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:a?.[n.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:a?.[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}function o(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[n.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements}}},(e,t,r)=>{"use strict";function n(e){void 0===e.user?.ip_address&&(e.user={...e.user,ip_address:"{{auto}}"})}function i(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}r.r(t),r.d(t,{addAutoIpAddressToSession:()=>i,addAutoIpAddressToUser:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{applySdkMetadata:()=>i});var n=r(212);function i(e,t,r=[t],i="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${i}:@sentry/${e}`,version:n.SDK_VERSION})),version:n.SDK_VERSION}),e._metadata=o}},(e,t,r)=>{"use strict";function n(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}r.r(t),r.d(t,{getSDKSource:()=>i,isBrowserBundle:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{eventFromException:()=>y,eventFromMessage:()=>v,eventFromUnknownInput:()=>S,exceptionFromError:()=>u,extractMessage:()=>g,extractType:()=>m});var n=r(209),i=r(222),o=r(219),s=r(251),a=r(220),c=r(263);function u(e,t){const r=d(e,t),n={type:m(t),value:g(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function p(e,t,r,o){const a=(0,n.getClient)(),c=a?.getOptions().normalizeDepth,p=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=e[t];if(r instanceof Error)return r}return}(t),l={__serialized__:(0,s.normalizeToSize)(t,c)};if(p)return{exception:{values:[u(e,p)]},extra:l};const f={exception:{values:[{type:(0,i.isEvent)(t)?t.constructor.name:o?"UnhandledRejection":"Error",value:_(t,{isUnhandledRejection:o})}]},extra:l};if(r){const t=d(e,r);t.length&&(f.exception.values[0].stacktrace={frames:t})}return f}function l(e,t){return{exception:{values:[u(e,t)]}}}function d(e,t){const r=t.stacktrace||t.stack||"",n=function(e){if(e&&f.test(e.message))return 1;return 0}(t),i=function(e){if("number"==typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(r,n,i)}catch{}return[]}const f=/Minified React error #\d+;/i;function h(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function m(e){const t=e?.name;if(!t&&h(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function g(e){const t=e?.message;return h(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function y(e,t,r,n){const i=S(e,t,r?.syntheticException||void 0,n);return(0,o.addExceptionMechanism)(i),i.level="error",r?.event_id&&(i.event_id=r.event_id),(0,c.resolvedSyncPromise)(i)}function v(e,t,r="info",n,i){const o=b(e,t,n?.syntheticException||void 0,i);return o.level=r,n?.event_id&&(o.event_id=n.event_id),(0,c.resolvedSyncPromise)(o)}function S(e,t,r,n,s){let a;if((0,i.isErrorEvent)(t)&&t.error){return l(e,t.error)}if((0,i.isDOMError)(t)||(0,i.isDOMException)(t)){const s=t;if("stack"in t)a=l(e,t);else{const t=s.name||((0,i.isDOMError)(s)?"DOMError":"DOMException"),c=s.message?`${t}: ${s.message}`:t;a=b(e,c,r,n),(0,o.addExceptionTypeValue)(a,c)}return"code"in s&&(a.tags={...a.tags,"DOMException.code":`${s.code}`}),a}if((0,i.isError)(t))return l(e,t);if((0,i.isPlainObject)(t)||(0,i.isEvent)(t)){return a=p(e,t,r,s),(0,o.addExceptionMechanism)(a,{synthetic:!0}),a}return a=b(e,t,r,n),(0,o.addExceptionTypeValue)(a,`${t}`,void 0),(0,o.addExceptionMechanism)(a,{synthetic:!0}),a}function b(e,t,r,n){const s={};if(n&&r){const n=d(e,r);n.length&&(s.exception={values:[{value:t,stacktrace:{frames:n}}]}),(0,o.addExceptionMechanism)(s,{synthetic:!0})}if((0,i.isParameterizedString)(t)){const{__sentry_template_string__:e,__sentry_template_values__:r}=t;return s.logentry={message:e,params:r},s}return s.message=t,s}function _(e,{isUnhandledRejection:t}){const r=(0,a.extractExceptionKeysForMessage)(e),n=t?"promise rejection":"exception";if((0,i.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,i.isEvent)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{WINDOW:()=>u,getHttpRequestData:()=>h,ignoreNextOnError:()=>d,shouldIgnoreOnError:()=>l,wrap:()=>f});var n=r(271),i=r(209),o=r(221),s=r(213),a=r(219),c=r(220);const u=s.GLOBAL_OBJ;let p=0;function l(){return p>0}function d(){p++,setTimeout(()=>{p--})}function f(e,t={}){if(!function(e){return"function"==typeof e}(e))return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if((0,c.getOriginalFunction)(e))return e}catch{return e}const r=function(...r){try{const n=r.map(e=>f(e,t));return e.apply(this,n)}catch(e){throw d(),(0,i.withScope)(i=>{i.addEventProcessor(e=>(t.mechanism&&((0,a.addExceptionTypeValue)(e,void 0,void 0),(0,a.addExceptionMechanism)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,n.captureException)(e)}),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}(0,c.markFunctionWrapped)(r,e),(0,c.addNonEnumerableProperty)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}function h(){const e=(0,o.getLocationHref)(),{referrer:t}=u.document||{},{userAgent:r}=u.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addEventProcessor:()=>R,captureCheckIn:()=>E,captureEvent:()=>h,captureException:()=>d,captureMessage:()=>f,captureSession:()=>P,close:()=>w,endSession:()=>k,flush:()=>I,isEnabled:()=>C,isInitialized:()=>A,lastEventId:()=>_,setContext:()=>m,setExtra:()=>y,setExtras:()=>g,setTag:()=>S,setTags:()=>v,setUser:()=>b,startSession:()=>x,withMonitor:()=>T});var n=r(209),i=r(217),o=r(218),s=r(223),a=r(222),c=r(219),u=r(261),p=r(225),l=r(213);function d(e,t){return(0,n.getCurrentScope)().captureException(e,(0,u.parseEventHintOrCaptureContext)(t))}function f(e,t){const r="string"==typeof t?t:void 0,i="string"!=typeof t?{captureContext:t}:void 0;return(0,n.getCurrentScope)().captureMessage(e,r,i)}function h(e,t){return(0,n.getCurrentScope)().captureEvent(e,t)}function m(e,t){(0,n.getIsolationScope)().setContext(e,t)}function g(e){(0,n.getIsolationScope)().setExtras(e)}function y(e,t){(0,n.getIsolationScope)().setExtra(e,t)}function v(e){(0,n.getIsolationScope)().setTags(e)}function S(e,t){(0,n.getIsolationScope)().setTag(e,t)}function b(e){(0,n.getIsolationScope)().setUser(e)}function _(){return(0,n.getIsolationScope)().lastEventId()}function E(e,t){const r=(0,n.getCurrentScope)(),o=(0,n.getClient)();if(o){if(o.captureCheckIn)return o.captureCheckIn(e,t,r);i.DEBUG_BUILD&&s.debug.warn("Cannot capture check-in. Client does not support sending check-ins.")}else i.DEBUG_BUILD&&s.debug.warn("Cannot capture check-in. No client defined.");return(0,c.uuid4)()}function T(e,t,r){const i=E({monitorSlug:e,status:"in_progress"},r),o=(0,p.timestampInSeconds)();function s(t){E({monitorSlug:e,status:t,checkInId:i,duration:(0,p.timestampInSeconds)()-o})}return(0,n.withIsolationScope)(()=>{let e;try{e=t()}catch(e){throw s("error"),e}return(0,a.isThenable)(e)?e.then(e=>(s("ok"),e),e=>{throw s("error"),e}):(s("ok"),e)})}async function I(e){const t=(0,n.getClient)();return t?t.flush(e):(i.DEBUG_BUILD&&s.debug.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function w(e){const t=(0,n.getClient)();return t?t.close(e):(i.DEBUG_BUILD&&s.debug.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function A(){return!!(0,n.getClient)()}function C(){const e=(0,n.getClient)();return!1!==e?.getOptions().enabled&&!!e?.getTransport()}function R(e){(0,n.getIsolationScope)().addEventProcessor(e)}function x(e){const t=(0,n.getIsolationScope)(),r=(0,n.getCurrentScope)(),{userAgent:i}=l.GLOBAL_OBJ.navigator||{},s=(0,o.makeSession)({user:r.getUser()||t.getUser(),...i&&{userAgent:i},...e}),a=t.getSession();return"ok"===a?.status&&(0,o.updateSession)(a,{status:"exited"}),k(),t.setSession(s),s}function k(){const e=(0,n.getIsolationScope)(),t=(0,n.getCurrentScope)().getSession()||e.getSession();t&&(0,o.closeSession)(t),O(),e.setSession()}function O(){const e=(0,n.getIsolationScope)(),t=(0,n.getClient)(),r=e.getSession();r&&t&&t.captureSession(r)}function P(e=!1){e?k():O()}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{breadcrumbsIntegration:()=>_});var n=r(209),i=r(229),o=r(273),s=r(274),a=r(221),c=r(275),u=r(277),p=r(223),l=r(219),d=r(279),f=r(224),h=r(280),m=r(281),g=r(283),y=r(284),v=r(285),S=r(270);const b=1024,_=(0,i.defineIntegration)((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&(0,c.addConsoleInstrumentationHandler)(function(e){return function(t){if((0,n.getClient)()!==e)return;const r={category:"console",data:{arguments:t.args,logger:"console"},level:(0,d.severityLevelFromString)(t.level),message:(0,f.safeJoin)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${(0,f.safeJoin)(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}(0,o.addBreadcrumb)(r,{input:t.args,level:t.level})}}(e)),t.dom&&(0,m.addClickKeypressInstrumentationHandler)(function(e,t){return function(r){if((0,n.getClient)()!==e)return;let i,s,c="object"==typeof t?t.serializeAttribute:void 0,u="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;u&&u>b&&(v.DEBUG_BUILD&&p.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${u} was configured. Sentry will use 1024 instead.`),u=b),"string"==typeof c&&(c=[c]);try{const e=r.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;i=(0,a.htmlTreeAsString)(t,{keyAttrs:c,maxStringLength:u}),s=(0,a.getComponentName)(t)}catch{i="<unknown>"}if(0===i.length)return;const l={category:`ui.${r.name}`,message:i};s&&(l.data={"ui.component_name":s}),(0,o.addBreadcrumb)(l,{event:r.event,name:r.name,global:r.global})}}(e,t.dom)),t.xhr&&(0,y.addXhrInstrumentationHandler)(function(e){return function(t){if((0,n.getClient)()!==e)return;const{startTimestamp:r,endTimestamp:i}=t,a=t.xhr[y.SENTRY_XHR_DATA_KEY];if(!r||!i||!a)return;const{method:c,url:u,status_code:p,body:l}=a,d={method:c,url:u,status_code:p},f={xhr:t.xhr,input:l,startTimestamp:r,endTimestamp:i},h={category:"xhr",data:d,type:"http",level:(0,s.getBreadcrumbLogLevelFromHttpStatusCode)(p)};e.emit("beforeOutgoingRequestBreadcrumb",h,f),(0,o.addBreadcrumb)(h,f)}}(e)),t.fetch&&(0,u.addFetchInstrumentationHandler)(function(e){return function(t){if((0,n.getClient)()!==e)return;const{startTimestamp:r,endTimestamp:i}=t;if(i&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const n=t.fetchData,s={data:t.error,input:t.args,startTimestamp:r,endTimestamp:i},a={category:"fetch",data:n,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,s),(0,o.addBreadcrumb)(a,s)}else{const n=t.response,a={...t.fetchData,status_code:n?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const c={input:t.args,response:n,startTimestamp:r,endTimestamp:i},u={category:"fetch",data:a,type:"http",level:(0,s.getBreadcrumbLogLevelFromHttpStatusCode)(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",u,c),(0,o.addBreadcrumb)(u,c)}}}(e)),t.history&&(0,g.addHistoryInstrumentationHandler)(function(e){return function(t){if((0,n.getClient)()!==e)return;let r=t.from,i=t.to;const s=(0,h.parseUrl)(S.WINDOW.location.href);let a=r?(0,h.parseUrl)(r):void 0;const c=(0,h.parseUrl)(i);a?.path||(a=s),s.protocol===c.protocol&&s.host===c.host&&(i=c.relative),s.protocol===a.protocol&&s.host===a.host&&(r=a.relative),(0,o.addBreadcrumb)({category:"navigation",data:{from:r,to:i}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){(0,n.getClient)()===e&&(0,o.addBreadcrumb)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,l.getEventDescription)(t)},{event:t})}}(e))}}})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addBreadcrumb:()=>a});var n=r(209),i=r(223),o=r(225);const s=100;function a(e,t){const r=(0,n.getClient)(),a=(0,n.getIsolationScope)();if(!r)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:u=s}=r.getOptions();if(u<=0)return;const p={timestamp:(0,o.dateTimestampInSeconds)(),...e},l=c?(0,i.consoleSandbox)(()=>c(p,t)):p;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),a.addBreadcrumb(l,u))}},(e,t,r)=>{"use strict";function n(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}r.r(t),r.d(t,{getBreadcrumbLogLevelFromHttpStatusCode:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addConsoleInstrumentationHandler:()=>a});var n=r(223),i=r(220),o=r(213),s=r(276);function a(e){const t="console";(0,s.addHandler)(t,e),(0,s.maybeInstrument)(t,c)}function c(){"console"in o.GLOBAL_OBJ&&n.CONSOLE_LEVELS.forEach(function(e){e in o.GLOBAL_OBJ.console&&(0,i.fill)(o.GLOBAL_OBJ.console,e,function(t){return n.originalConsoleMethods[e]=t,function(...t){const r={args:t,level:e};(0,s.triggerHandlers)("console",r);const i=n.originalConsoleMethods[e];i?.apply(o.GLOBAL_OBJ.console,t)}})})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addHandler:()=>c,maybeInstrument:()=>p,resetInstrumentationHandlers:()=>u,triggerHandlers:()=>l});var n=r(217),i=r(223),o=r(234);const s={},a={};function c(e,t){s[e]=s[e]||[],s[e].push(t)}function u(){Object.keys(s).forEach(e=>{s[e]=void 0})}function p(e,t){if(!a[e]){a[e]=!0;try{t()}catch(t){n.DEBUG_BUILD&&i.debug.error(`Error while instrumenting ${e}`,t)}}}function l(e,t){const r=e&&s[e];if(r)for(const s of r)try{s(t)}catch(t){n.DEBUG_BUILD&&i.debug.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,o.getFunctionName)(s)}\nError:`,t)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addFetchEndInstrumentationHandler:()=>p,addFetchInstrumentationHandler:()=>u,parseFetchArgs:()=>m});var n=r(222),i=r(220),o=r(278),s=r(225),a=r(213),c=r(276);function u(e,t){const r="fetch";(0,c.addHandler)(r,e),(0,c.maybeInstrument)(r,()=>l(void 0,t))}function p(e){const t="fetch-body-resolved";(0,c.addHandler)(t,e),(0,c.maybeInstrument)(t,()=>l(d))}function l(e,t=!1){t&&!(0,o.supportsNativeFetch)()||(0,i.fill)(a.GLOBAL_OBJ,"fetch",function(t){return function(...r){const o=new Error,{method:u,url:p}=m(r),l={args:r,fetchData:{method:u,url:p},startTimestamp:1e3*(0,s.timestampInSeconds)(),virtualError:o,headers:g(r)};return e||(0,c.triggerHandlers)("fetch",{...l}),t.apply(a.GLOBAL_OBJ,r).then(async t=>(e?e(t):(0,c.triggerHandlers)("fetch",{...l,endTimestamp:1e3*(0,s.timestampInSeconds)(),response:t}),t),e=>{if((0,c.triggerHandlers)("fetch",{...l,endTimestamp:1e3*(0,s.timestampInSeconds)(),error:e}),(0,n.isError)(e)&&void 0===e.stack&&(e.stack=o.stack,(0,i.addNonEnumerableProperty)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(l.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}function d(e){let t;try{t=e.clone()}catch{return}!async function(e,t){if(e?.body){const r=e.body,n=r.getReader(),i=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4);let o=!0;for(;o;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);const{done:i}=await n.read();clearTimeout(e),i&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(e)}}clearTimeout(i),n.releaseLock(),r.cancel().then(null,()=>{})}}(t,()=>{(0,c.triggerHandlers)("fetch-body-resolved",{endTimestamp:1e3*(0,s.timestampInSeconds)(),response:e})})}function f(e,t){return!!e&&"object"==typeof e&&!!e[t]}function h(e){return"string"==typeof e?e:e?f(e,"url")?e.url:e.toString?e.toString():"":""}function m(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,r]=e;return{url:h(t),method:f(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:h(t),method:f(t,"method")?String(t.method).toUpperCase():"GET"}}function g(e){const[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,n.isRequest)(t))return new Headers(t.headers)}catch{}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{isNativeFunction:()=>d,supportsDOMError:()=>a,supportsDOMException:()=>c,supportsErrorEvent:()=>s,supportsFetch:()=>p,supportsHistory:()=>u,supportsNativeFetch:()=>f,supportsReferrerPolicy:()=>m,supportsReportingObserver:()=>h});var n=r(217),i=r(223);const o=r(213).GLOBAL_OBJ;function s(){try{return new ErrorEvent(""),!0}catch{return!1}}function a(){try{return new DOMError(""),!0}catch{return!1}}function c(){try{return new DOMException(""),!0}catch{return!1}}function u(){return"history"in o&&!!o.history}const p=l;function l(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function d(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function f(){if("string"==typeof EdgeRuntime)return!0;if(!l())return!1;if(d(o.fetch))return!0;let e=!1;const t=o.document;if(t&&"function"==typeof t.createElement)try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=d(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){n.DEBUG_BUILD&&i.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function h(){return"ReportingObserver"in o}function m(){if(!l())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch{return!1}}},(e,t,r)=>{"use strict";function n(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}r.r(t),r.d(t,{severityLevelFromString:()=>n})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getHttpSpanDetailsFromUrlObject:()=>u,getSanitizedUrlString:()=>d,getSanitizedUrlStringFromUrlObject:()=>a,isURLObjectRelative:()=>o,parseStringToURLObject:()=>s,parseUrl:()=>p,stripUrlQueryAndFragment:()=>l});var n=r(242);const i="thismessage:/";function o(e){return"isRelative"in e}function s(e,t){const r=e.indexOf("://")<=0&&0!==e.indexOf("//"),n=t??(r?i:void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;const t=new URL(e,n);return r?{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function a(e){if(o(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function c(e,t,r,n){return`${r?.method?.toUpperCase()??"GET"} ${n||(e?"client"===t?a(e):e.pathname:"/")}`}function u(e,t,r,i,s){const a={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"};return s&&(a["server"===t?"http.route":"url.template"]=s,a[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="route"),i?.method&&(a[n.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD]=i.method.toUpperCase()),e&&(e.search&&(a["url.query"]=e.search),e.hash&&(a["url.fragment"]=e.hash),e.pathname&&(a["url.path"]=e.pathname,"/"===e.pathname&&(a[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="route")),o(e)||(a[n.SEMANTIC_ATTRIBUTE_URL_FULL]=e.href,e.port&&(a["url.port"]=e.port),e.protocol&&(a["url.scheme"]=e.protocol),e.hostname&&(a["server"===t?"server.address":"url.domain"]=e.hostname))),[c(e,t,i,s),a]}function p(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function l(e){return e.split(/[?#]/,1)[0]}function d(e){const{protocol:t,host:r,path:n}=e;return`${t?`${t}://`:""}${r?.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||""}${n}`}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addClickKeypressInstrumentationHandler:()=>l,instrumentDOM:()=>d});var n=r(276),i=r(219),o=r(220),s=r(282);const a=1e3;let c,u,p;function l(e){(0,n.addHandler)("dom",e),(0,n.maybeInstrument)("dom",d)}function d(){if(!s.WINDOW.document)return;const e=n.triggerHandlers.bind(null,"dom"),t=f(e,!0);s.WINDOW.document.addEventListener("click",t,!1),s.WINDOW.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const r=s.WINDOW,n=r[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,o.fill)(n,"addEventListener",function(t){return function(r,n,i){if("click"===r||"keypress"==r)try{const n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=n[r]=n[r]||{refCount:0};if(!o.handler){const n=f(e);o.handler=n,t.call(this,r,n,i)}o.refCount++}catch{}return t.call(this,r,n,i)}}),(0,o.fill)(n,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{const r=this.__sentry_instrumentation_handlers__||{},i=r[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,n),i.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,n)}}))})}function f(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;const n=function(e){try{return e.target}catch{return null}}(r);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(r.type,n))return;(0,o.addNonEnumerableProperty)(r,"_sentryCaptured",!0),n&&!n._sentryId&&(0,o.addNonEnumerableProperty)(n,"_sentryId",(0,i.uuid4)());const l="keypress"===r.type?"input":r.type;if(!function(e){if(e.type!==u)return!1;try{if(!e.target||e.target._sentryId!==p)return!1}catch{}return!0}(r)){e({event:r,name:l,global:t}),u=r.type,p=n?n._sentryId:void 0}clearTimeout(c),c=s.WINDOW.setTimeout(()=>{p=void 0,u=void 0},a)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{WINDOW:()=>n});const n=r(213).GLOBAL_OBJ},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addHistoryInstrumentationHandler:()=>c,instrumentHistory:()=>u});var n=r(276),i=r(220),o=r(278),s=r(282);let a;function c(e){const t="history";(0,n.addHandler)(t,e),(0,n.maybeInstrument)(t,u)}function u(){function e(e){return function(...t){const r=t.length>2?t[2]:void 0;if(r){const i=a,o=function(e){try{return new URL(e,s.WINDOW.location.origin).toString()}catch{return e}}(String(r));if(a=o,i===o)return e.apply(this,t);const c={from:i,to:o};(0,n.triggerHandlers)("history",c)}return e.apply(this,t)}}s.WINDOW.addEventListener("popstate",()=>{const e=s.WINDOW.location.href,t=a;if(a=e,t===e)return;const r={from:t,to:e};(0,n.triggerHandlers)("history",r)}),(0,o.supportsHistory)()&&((0,i.fill)(s.WINDOW.history,"pushState",e),(0,i.fill)(s.WINDOW.history,"replaceState",e))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SENTRY_XHR_DATA_KEY:()=>a,addXhrInstrumentationHandler:()=>c,instrumentXHR:()=>u});var n=r(276),i=r(222),o=r(225),s=r(282);const a="__sentry_xhr_v3__";function c(e){(0,n.addHandler)("xhr",e),(0,n.maybeInstrument)("xhr",u)}function u(){if(!s.WINDOW.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){const s=new Error,c=1e3*(0,o.timestampInSeconds)(),u=(0,i.isString)(r[0])?r[0].toUpperCase():void 0,p=function(e){if((0,i.isString)(e))return e;try{return e.toString()}catch{}return}(r[1]);if(!u||!p)return e.apply(t,r);t[a]={method:u,url:p,request_headers:{}},"POST"===u&&p.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const l=()=>{const e=t[a];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}const r={endTimestamp:1e3*(0,o.timestampInSeconds)(),startTimestamp:c,xhr:t,virtualError:s};(0,n.triggerHandlers)("xhr",r)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(l(),e.apply(t,r))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){const[n,o]=r,s=t[a];return s&&(0,i.isString)(n)&&(0,i.isString)(o)&&(s.request_headers[n.toLowerCase()]=o),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){const i=t[a];if(!i)return e.apply(t,r);void 0!==r[0]&&(i.body=r[0]);const s={startTimestamp:1e3*(0,o.timestampInSeconds)(),xhr:t};return(0,n.triggerHandlers)("xhr",s),e.apply(t,r)}})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEBUG_BUILD:()=>n});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},(e,t,r)=>{"use strict";r.r(t),r.d(t,{browserApiErrorsIntegration:()=>c});var n=r(229),i=r(220),o=r(234),s=r(270);const a=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],c=(0,n.defineIntegration)((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,i.fill)(s.WINDOW,"setTimeout",u),t.setInterval&&(0,i.fill)(s.WINDOW,"setInterval",u),t.requestAnimationFrame&&(0,i.fill)(s.WINDOW,"requestAnimationFrame",p),t.XMLHttpRequest&&"XMLHttpRequest"in s.WINDOW&&(0,i.fill)(XMLHttpRequest.prototype,"send",l);const e=t.eventTarget;if(e){(Array.isArray(e)?e:a).forEach(e=>function(e,t){const r=s.WINDOW,n=r[e]?.prototype;if(!n?.hasOwnProperty?.("addEventListener"))return;(0,i.fill)(n,"addEventListener",function(r){return function(n,i,a){try{"function"==typeof i.handleEvent&&(i.handleEvent=(0,s.wrap)(i.handleEvent,{mechanism:{data:{handler:(0,o.getFunctionName)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,r){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,r)}(this,n,i),r.apply(this,[n,(0,s.wrap)(i,{mechanism:{data:{handler:(0,o.getFunctionName)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,i.fill)(n,"removeEventListener",function(e){return function(t,r,n){try{const i=r.__sentry_wrapped__;i&&e.call(this,t,i,n)}catch{}return e.call(this,t,r,n)}})}(e,t))}}}});function u(e){return function(...t){const r=t[0];return t[0]=(0,s.wrap)(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,o.getFunctionName)(e)}`}}),e.apply(this,t)}}function p(e){return function(t){return e.apply(this,[(0,s.wrap)(t,{mechanism:{data:{handler:(0,o.getFunctionName)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function l(e){return function(...t){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,i.fill)(r,e,function(t){const r={mechanism:{data:{handler:(0,o.getFunctionName)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},n=(0,i.getOriginalFunction)(t);return n&&(r.mechanism.data.handler=(0,o.getFunctionName)(n)),(0,s.wrap)(t,r)})}),e.apply(this,t)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{browserSessionIntegration:()=>u});var n=r(271),i=r(229),o=r(223),s=r(283),a=r(285),c=r(270);const u=(0,i.defineIntegration)(()=>({name:"BrowserSession",setupOnce(){void 0!==c.WINDOW.document?((0,n.startSession)({ignoreDuration:!0}),(0,n.captureSession)(),(0,s.addHistoryInstrumentationHandler)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,n.startSession)({ignoreDuration:!0}),(0,n.captureSession)())})):a.DEBUG_BUILD&&o.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}}))},(e,t,r)=>{"use strict";r.r(t),r.d(t,{globalHandlersIntegration:()=>m});var n=r(271),i=r(209),o=r(229),s=r(221),a=r(289),c=r(290),u=r(222),p=r(223),l=r(234),d=r(285),f=r(269),h=r(270);const m=(0,o.defineIntegration)((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){(0,a.addGlobalErrorInstrumentationHandler)(t=>{const{stackParser:r,attachStacktrace:o}=y();if((0,i.getClient)()!==e||(0,h.shouldIgnoreOnError)())return;const{msg:a,url:c,line:p,column:d,error:m}=t,g=function(e,t,r,n){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},c=a.stacktrace=a.stacktrace||{},p=c.frames=c.frames||[],d=n,f=r,h=function(e){if(!(0,u.isString)(e)||0===e.length)return;if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/);return`<data:${t?t[1]:"text/javascript"}${e.includes("base64,")?",base64":""}>`}return e.slice(0,1024)}(t)??(0,s.getLocationHref)();0===p.length&&p.push({colno:d,filename:h,function:l.UNKNOWN_FUNCTION,in_app:!0,lineno:f});return e}((0,f.eventFromUnknownInput)(r,m||a,void 0,o,!1),c,p,d);g.level="error",(0,n.captureEvent)(g,{originalException:m,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),g("onerror")),t.onunhandledrejection&&(!function(e){(0,c.addGlobalUnhandledRejectionInstrumentationHandler)(t=>{const{stackParser:r,attachStacktrace:o}=y();if((0,i.getClient)()!==e||(0,h.shouldIgnoreOnError)())return;const s=function(e){if((0,u.isPrimitive)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),a=(0,u.isPrimitive)(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:(0,f.eventFromUnknownInput)(r,s,void 0,o,!0);a.level="error",(0,n.captureEvent)(a,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),g("onunhandledrejection"))}}});function g(e){d.DEBUG_BUILD&&p.debug.log(`Global Handler attached: ${e}`)}function y(){const e=(0,i.getClient)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGlobalErrorInstrumentationHandler:()=>s});var n=r(213),i=r(276);let o=null;function s(e){const t="error";(0,i.addHandler)(t,e),(0,i.maybeInstrument)(t,a)}function a(){o=n.GLOBAL_OBJ.onerror,n.GLOBAL_OBJ.onerror=function(e,t,r,n,s){const a={column:n,error:s,line:r,msg:e,url:t};return(0,i.triggerHandlers)("error",a),!!o&&o.apply(this,arguments)},n.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGlobalUnhandledRejectionInstrumentationHandler:()=>s});var n=r(213),i=r(276);let o=null;function s(e){const t="unhandledrejection";(0,i.addHandler)(t,e),(0,i.maybeInstrument)(t,a)}function a(){o=n.GLOBAL_OBJ.onunhandledrejection,n.GLOBAL_OBJ.onunhandledrejection=function(e){const t=e;return(0,i.triggerHandlers)("unhandledrejection",t),!o||o.apply(this,arguments)},n.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{httpContextIntegration:()=>o});var n=r(229),i=r(270);const o=(0,n.defineIntegration)(()=>({name:"HttpContext",preprocessEvent(e){if(!i.WINDOW.navigator&&!i.WINDOW.location&&!i.WINDOW.document)return;const t=(0,i.getHttpRequestData)(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}}}))},(e,t,r)=>{"use strict";r.r(t),r.d(t,{linkedErrorsIntegration:()=>s});var n=r(229),i=r(293),o=r(269);const s=(0,n.defineIntegration)((e={})=>{const t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,s){const a=s.getOptions();(0,i.applyAggregateErrorsToEvent)(o.exceptionFromError,a.stackParser,r,t,e,n)}}})},(e,t,r)=>{"use strict";r.r(t),r.d(t,{applyAggregateErrorsToEvent:()=>i});var n=r(222);function i(e,t,r,i,s,a){if(!s.exception?.values||!a||!(0,n.isInstanceOf)(a.originalException,Error))return;const c=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;c&&(s.exception.values=o(e,t,i,a.originalException,r,s.exception.values,c,0))}function o(e,t,r,i,c,u,p,l){if(u.length>=r+1)return u;let d=[...u];if((0,n.isInstanceOf)(i[c],Error)){s(p,l);const n=e(t,i[c]),u=d.length;a(n,c,u,l),d=o(e,t,r,i[c],c,[n,...d],n,u)}return Array.isArray(i.errors)&&i.errors.forEach((i,u)=>{if((0,n.isInstanceOf)(i,Error)){s(p,l);const n=e(t,i),f=d.length;a(n,`errors[${u}]`,f,l),d=o(e,t,r,i,c,[n,...d],n,f)}}),d}function s(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function a(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{chromeStackLineParser:()=>u,defaultStackLineParsers:()=>S,defaultStackParser:()=>b,geckoStackLineParser:()=>d,opera10StackLineParser:()=>g,opera11StackLineParser:()=>v,winjsStackLineParser:()=>h});var n=r(234);function i(e,t,r,i){const o={filename:e,function:"<anonymous>"===t?n.UNKNOWN_FUNCTION:t,in_app:!0};return void 0!==r&&(o.lineno=r),void 0!==i&&(o.colno=i),o}const o=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,s=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/at (.+?) ?\(data:(.+?),/,u=[30,e=>{const t=e.match(c);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const r=o.exec(e);if(r){const[,e,t,o]=r;return i(e,n.UNKNOWN_FUNCTION,+t,+o)}const u=s.exec(e);if(u){if(u[2]&&0===u[2].indexOf("eval")){const e=a.exec(u[2]);e&&(u[2]=e[1],u[3]=e[2],u[4]=e[3])}const[e,t]=_(u[1]||n.UNKNOWN_FUNCTION,u[2]);return i(t,e,u[3]?+u[3]:void 0,u[4]?+u[4]:void 0)}}],p=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=[50,e=>{const t=p.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=l.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||n.UNKNOWN_FUNCTION;return[r,e]=_(r,e),i(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],f=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,h=[40,e=>{const t=f.exec(e);return t?i(t[2],t[1]||n.UNKNOWN_FUNCTION,+t[3],t[4]?+t[4]:void 0):void 0}],m=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,g=[10,e=>{const t=m.exec(e);return t?i(t[2],t[3]||n.UNKNOWN_FUNCTION,+t[1]):void 0}],y=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,v=[20,e=>{const t=y.exec(e);return t?i(t[5],t[3]||t[4]||n.UNKNOWN_FUNCTION,+t[1],+t[2]):void 0}],S=[u,d],b=(0,n.createStackParser)(...S),_=(e,t)=>{const r=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return r||i?[-1!==e.indexOf("@")?e.split("@")[0]:n.UNKNOWN_FUNCTION,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{makeFetchTransport:()=>o});var n=r(296),i=r(299);function o(e,t=(0,i.getNativeImplementation)("fetch")){let r=0,o=0;return(0,n.createTransport)(e,async function(n){const s=n.body.length;r+=s,o++;const a={body:n.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&o<15,...e.fetchOptions};try{const r=await t(e.url,a);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw(0,i.clearCachedImplementation)("fetch"),e}finally{r-=s,o--}})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_TRANSPORT_BUFFER_SIZE:()=>c,createTransport:()=>u});var n=r(217),i=r(223),o=r(250),s=r(297),a=r(298);const c=64;function u(e,t,r=(0,s.makePromiseBuffer)(e.bufferSize||c)){let u={};return{send:function(c){const p=[];if((0,o.forEachEnvelopeItem)(c,(t,r)=>{const n=(0,o.envelopeItemTypeToDataCategory)(r);(0,a.isRateLimited)(u,n)?e.recordDroppedEvent("ratelimit_backoff",n):p.push(t)}),0===p.length)return Promise.resolve({});const l=(0,o.createEnvelope)(c[0],p),d=t=>{(0,o.forEachEnvelopeItem)(l,(r,n)=>{e.recordDroppedEvent(t,(0,o.envelopeItemTypeToDataCategory)(n))})};return r.add(()=>t({body:(0,o.serializeEnvelope)(l)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&n.DEBUG_BUILD&&i.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),u=(0,a.updateRateLimits)(u,e),e),e=>{throw d("network_error"),n.DEBUG_BUILD&&i.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===s.SENTRY_BUFFER_FULL_ERROR)return n.DEBUG_BUILD&&i.debug.error("Skipped sending event because buffer is full."),d("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SENTRY_BUFFER_FULL_ERROR:()=>i,makePromiseBuffer:()=>o});var n=r(263);const i=Symbol.for("SentryBufferFullError");function o(e=100){const t=new Set;function r(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(o){if(!(t.size<e))return(0,n.rejectedSyncPromise)(i);const s=o();return t.add(s),s.then(()=>r(s),()=>r(s)),s},drain:function(e){if(!t.size)return(0,n.resolvedSyncPromise)(!0);const r=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return r;const i=[r,new Promise(t=>setTimeout(()=>t(!1),e))];return Promise.race(i)}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_RETRY_AFTER:()=>n,disabledUntil:()=>o,isRateLimited:()=>s,parseRetryAfterHeader:()=>i,updateRateLimits:()=>a});const n=6e4;function i(e,t=Date.now()){const r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;const i=Date.parse(`${e}`);return isNaN(i)?n:i-t}function o(e,t){return e[t]||e.all||0}function s(e,t,r=Date.now()){return o(e,t)>r}function a(e,{statusCode:t,headers:r},n=Date.now()){const o={...e},s=r?.["x-sentry-rate-limits"],a=r?.["retry-after"];if(s)for(const e of s.trim().split(",")){const[t,r,,,i]=e.split(":",5),s=parseInt(t,10),a=1e3*(isNaN(s)?60:s);if(r)for(const e of r.split(";"))"metric_bucket"===e&&i&&!i.split(";").includes("custom")||(o[e]=n+a);else o.all=n+a}else a?o.all=n+i(a,n):429===t&&(o.all=n+6e4);return o}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{clearCachedImplementation:()=>u,fetch:()=>p,getNativeImplementation:()=>c,setTimeout:()=>l});var n=r(223),i=r(278),o=r(300),s=r(282);const a={};function c(e){const t=a[e];if(t)return t;let r=s.WINDOW[e];if((0,i.isNativeFunction)(r))return a[e]=r.bind(s.WINDOW);const c=s.WINDOW.document;if(c&&"function"==typeof c.createElement)try{const t=c.createElement("iframe");t.hidden=!0,c.head.appendChild(t);const n=t.contentWindow;n?.[e]&&(r=n[e]),c.head.removeChild(t)}catch(t){o.DEBUG_BUILD&&n.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?a[e]=r.bind(s.WINDOW):r}function u(e){a[e]=void 0}function p(...e){return c("fetch")(...e)}function l(...e){return c("setTimeout")(...e)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEBUG_BUILD:()=>n});const n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},(e,t,r)=>{"use strict";r.r(t),r.d(t,{checkAndWarnIfIsEmbeddedBrowserExtension:()=>a});var n=r(221),i=r(223),o=r(285),s=r(270);function a(){return!!function(){if(void 0===s.WINDOW.window)return!1;const e=s.WINDOW;if(e.nw)return!1;const t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;const r=(0,n.getLocationHref)(),i=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(s.WINDOW===s.WINDOW.top&&i.some(e=>r.startsWith(`${e}://`)))}()&&(o.DEBUG_BUILD&&(0,i.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{BROWSER_TRACING_INTEGRATION_ID:()=>R,browserTracingIntegration:()=>k,getMetaContent:()=>N,startBrowserTracingNavigationSpan:()=>P,startBrowserTracingPageLoadSpan:()=>O});var n=r(303),i=r(304),o=r(309),s=r(241),a=r(242),c=r(209),u=r(244),p=r(245),l=r(221),d=r(213),f=r(223),h=r(220),m=r(225),g=r(248),y=r(280),v=r(227),S=r(312),b=r(339),_=r(283),E=r(340),T=r(285),I=r(270),w=r(341),A=r(342),C=r(343);const R="BrowserTracing",x={...i.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...C.defaultRequestInstrumentationOptions},k=(e={})=>{const t={name:void 0,source:void 0},r=I.WINDOW.document,{enableInp:h,enableElementTiming:k,enableLongTask:D,enableLongAnimationFrame:B,_experiments:{enableInteractions:j,enableStandaloneClsSpans:q,enableStandaloneLcpSpans:F},beforeStartSpan:W,idleTimeout:H,finalTimeout:z,childSpanTimeout:$,markBackgroundSpan:G,traceFetch:V,traceXHR:K,trackFetchStreamPerformance:Y,shouldCreateSpanForRequest:J,enableHTTPTimings:X,ignoreResourceSpans:Z,ignorePerformanceApiSpans:Q,instrumentPageLoad:ee,instrumentNavigation:te,detectRedirects:re,linkPreviousTrace:ne,consistentTraceSampling:ie,enableReportPageLoaded:oe,onRequestSpanStart:se,onRequestSpanEnd:ae}={...x,...e};let ce,ue,pe;function le(e,n,u=!0){const l="pageload"===n.op,d=n.name,f=W?W(n):n,h=f.attributes||{};if(d!==f.name&&(h[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom",f.attributes=h),!u){const e=(0,m.dateTimestampInSeconds)();return void(0,o.startInactiveSpan)({...f,startTime:e}).end(e)}t.name=f.name,t.source=h[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];const g=(0,i.startIdleSpan)(f,{idleTimeout:H,finalTimeout:z,childSpanTimeout:$,disableAutoFinish:l,beforeSpanEnd:t=>{ce?.(),(0,S.addPerformanceEntries)(t,{recordClsOnPageloadSpan:!q,recordLcpOnPageloadSpan:!F,ignoreResourceSpans:Z,ignorePerformanceApiSpans:Q}),M(e,void 0);const r=(0,c.getCurrentScope)(),n=r.getPropagationContext();r.setPropagationContext({...n,traceId:g.spanContext().traceId,sampled:(0,p.spanIsSampled)(g),dsc:(0,s.getDynamicSamplingContextFromSpan)(t)}),l&&(pe=void 0)},trimIdleSpanEndTimestamp:!oe});function y(){r&&["interactive","complete"].includes(r.readyState)&&e.emit("idleSpanEnableAutoFinish",g)}l&&oe&&(pe=g),M(e,g),l&&!oe&&r&&(r.addEventListener("readystatechange",()=>{y()}),y())}return{name:R,setup(e){if((0,n.registerSpanErrorInstrumentation)(),ce=(0,S.startTrackingWebVitals)({recordClsStandaloneSpans:q||!1,recordLcpStandaloneSpans:F||!1,client:e}),h&&(0,E.startTrackingINP)(),k&&(0,b.startTrackingElementTiming)(),B&&d.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?(0,S.startTrackingLongAnimationFrames)():D&&(0,S.startTrackingLongTasks)(),j&&(0,S.startTrackingInteractions)(),re&&r){const e=()=>{ue=(0,m.timestampInSeconds)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function t(){const t=L(e);t&&!(0,p.spanToJSON)(t).timestamp&&(T.DEBUG_BUILD&&f.debug.log(`[Tracing] Finishing current active span with op: ${(0,p.spanToJSON)(t).op}`),t.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),t.end())}e.on("startNavigationSpan",(r,n)=>{if((0,c.getClient)()!==e)return;if(n?.isRedirect)return T.DEBUG_BUILD&&f.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),void le(e,{op:"navigation.redirect",...r},!1);ue=void 0,t(),(0,c.getIsolationScope)().setPropagationContext({traceId:(0,v.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,u.hasSpansEnabled)()?void 0:(0,v.generateSpanId)()});const i=(0,c.getCurrentScope)();i.setPropagationContext({traceId:(0,v.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,u.hasSpansEnabled)()?void 0:(0,v.generateSpanId)()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),le(e,{op:"navigation",...r,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(r,n={})=>{if((0,c.getClient)()!==e)return;t();const i=n.sentryTrace||N("sentry-trace"),o=n.baggage||N("baggage"),s=(0,g.propagationContextFromHeaders)(i,o),a=(0,c.getCurrentScope)();a.setPropagationContext(s),(0,u.hasSpansEnabled)()||(a.getPropagationContext().propagationSpanId=(0,v.generateSpanId)()),a.setSDKProcessingMetadata({normalizedRequest:(0,I.getHttpRequestData)()}),le(e,{op:"pageload",...r})}),e.on("endPageloadSpan",()=>{oe&&pe&&(pe.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),pe.end())})},afterAllSetup(e){let r=(0,l.getLocationHref)();if("off"!==ne&&(0,A.linkTraces)(e,{linkPreviousTrace:ne,consistentTraceSampling:ie}),I.WINDOW.location){if(ee){const t=(0,m.browserPerformanceTimeOrigin)();O(e,{name:I.WINDOW.location.pathname,startTime:t?t/1e3:void 0,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}te&&(0,_.addHistoryInstrumentationHandler)(({to:t,from:n})=>{if(void 0===n&&-1!==r?.indexOf(t))return void(r=void 0);r=void 0;const i=(0,y.parseStringToURLObject)(t),o=L(e),s=o&&re&&function(e,t){const r=(0,p.spanToJSON)(e),n=(0,m.dateTimestampInSeconds)(),i=r.start_timestamp;if(n-i>U)return!1;if(t&&n-t<=U)return!1;return!0}(o,ue);P(e,{name:i?.pathname||I.WINDOW.location.pathname,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:t,isRedirect:s})})}G&&(0,w.registerBackgroundTabDetection)(),j&&function(e,t,r,n,o){const s=I.WINDOW.document;let c;const u=()=>{const s="ui.action.click",u=L(e);if(u){const e=(0,p.spanToJSON)(u).op;if(["navigation","pageload"].includes(e))return void(T.DEBUG_BUILD&&f.debug.warn(`[Tracing] Did not create ${s} span because a pageload or navigation span is in progress.`))}c&&(c.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),c.end(),c=void 0),o.name?c=(0,i.startIdleSpan)({name:o.name,op:s,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:o.source||"url"}},{idleTimeout:t,finalTimeout:r,childSpanTimeout:n}):T.DEBUG_BUILD&&f.debug.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`)};s&&addEventListener("click",u,{capture:!0})}(e,H,z,$,t),h&&(0,E.registerInpInteractionListener)(),(0,C.instrumentOutgoingRequests)(e,{traceFetch:V,traceXHR:K,trackFetchStreamPerformance:Y,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:J,enableHTTPTimings:X,onRequestSpanStart:se,onRequestSpanEnd:ae})}}};function O(e,t,r){e.emit("startPageLoadSpan",t,r),(0,c.getCurrentScope)().setTransactionName(t.name);const n=L(e);return n&&e.emit("afterStartPageLoadSpan",n),n}function P(e,t,r){const{url:n,isRedirect:i}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i}),e.emit("startNavigationSpan",t,{isRedirect:i});const o=(0,c.getCurrentScope)();return o.setTransactionName(t.name),n&&!i&&o.setSDKProcessingMetadata({normalizedRequest:{...(0,I.getHttpRequestData)(),url:n}}),L(e)}function N(e){const t=I.WINDOW.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}const D="_sentry_idleSpan";function L(e){return e[D]}function M(e,t){(0,h.addNonEnumerableProperty)(e,D,t)}const U=1.5},(e,t,r)=>{"use strict";r.r(t),r.d(t,{registerSpanErrorInstrumentation:()=>p});var n=r(217),i=r(289),o=r(290),s=r(223),a=r(245),c=r(246);let u=!1;function p(){function e(){const e=(0,a.getActiveSpan)(),t=e&&(0,a.getRootSpan)(e);if(t){const e="internal_error";n.DEBUG_BUILD&&s.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:c.SPAN_STATUS_ERROR,message:e})}}u||(e.tag="sentry_tracingErrorCallback",u=!0,(0,i.addGlobalErrorInstrumentationHandler)(e),(0,o.addGlobalUnhandledRejectionInstrumentationHandler)(e))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{TRACING_DEFAULTS:()=>y,startIdleSpan:()=>E});var n=r(209),i=r(217),o=r(242),s=r(223),a=r(244),c=r(252),u=r(228),p=r(245),l=r(225),d=r(241),f=r(305),h=r(306),m=r(246),g=r(309);const y={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},v="heartbeatFailed",S="idleTimeout",b="finalTimeout",_="externalFinish";function E(e,t={}){const r=new Map;let E,T=!1,I=_,w=!t.disableAutoFinish;const A=[],{idleTimeout:C=y.idleTimeout,finalTimeout:R=y.finalTimeout,childSpanTimeout:x=y.childSpanTimeout,beforeSpanEnd:k,trimIdleSpanEndTimestamp:O=!0}=t,P=(0,n.getClient)();if(!P||!(0,a.hasSpansEnabled)()){const e=new f.SentryNonRecordingSpan,t={sample_rate:"0",sampled:"false",...(0,d.getDynamicSamplingContextFromSpan)(e)};return(0,d.freezeDscOnSpan)(e,t),e}const N=(0,n.getCurrentScope)(),D=(0,p.getActiveSpan)(),L=function(e){const t=(0,g.startInactiveSpan)(e);return(0,u._setSpanForScope)((0,n.getCurrentScope)(),t),i.DEBUG_BUILD&&s.debug.log("[Tracing] Started span is an idle span"),t}(e);function M(){E&&(clearTimeout(E),E=void 0)}function U(e){M(),E=setTimeout(()=>{!T&&0===r.size&&w&&(I=S,L.end(e))},C)}function B(e){E=setTimeout(()=>{!T&&w&&(I=v,L.end(e))},x)}function j(e){T=!0,r.clear(),A.forEach(e=>e()),(0,u._setSpanForScope)(N,D);const t=(0,p.spanToJSON)(L),{start_timestamp:n}=t;if(!n)return;t.data[o.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||L.setAttribute(o.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,I),s.debug.log(`[Tracing] Idle span "${t.op}" finished`);const a=(0,p.getSpanDescendants)(L).filter(e=>e!==L);let c=0;a.forEach(t=>{t.isRecording()&&(t.setStatus({code:m.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),i.DEBUG_BUILD&&s.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const r=(0,p.spanToJSON)(t),{timestamp:n=0,start_timestamp:o=0}=r,a=o<=e,u=n-o<=(R+C)/1e3;if(i.DEBUG_BUILD){const e=JSON.stringify(t,void 0,2);a?u||s.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):s.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}u&&a||((0,p.removeChildSpanFromSpan)(L,t),c++)}),c>0&&L.setAttribute("sentry.idle_span_discarded_spans",c)}return L.end=new Proxy(L.end,{apply(e,t,r){if(k&&k(L),t instanceof f.SentryNonRecordingSpan)return;const[n,...i]=r,o=n||(0,l.timestampInSeconds)(),s=(0,p.spanTimeInputToSeconds)(o),a=(0,p.getSpanDescendants)(L).filter(e=>e!==L),u=(0,p.spanToJSON)(L);if(!a.length||!O)return j(s),Reflect.apply(e,t,[s,...i]);const d=P.getOptions().ignoreSpans,h=a?.reduce((e,t)=>{const r=(0,p.spanToJSON)(t);return r.timestamp?d&&(0,c.shouldIgnoreSpan)(r,d)?e:e?Math.max(e,r.timestamp):r.timestamp:e},void 0),m=u.start_timestamp,g=Math.min(m?m+R/1e3:1/0,Math.max(m||-1/0,Math.min(s,h||1/0)));return j(g),Reflect.apply(e,t,[g,...i])}}),A.push(P.on("spanStart",e=>{if(T||e===L||(0,p.spanToJSON)(e).timestamp||e instanceof h.SentrySpan&&e.isStandaloneSpan())return;var t;(0,p.getSpanDescendants)(L).includes(e)&&(t=e.spanContext().spanId,M(),r.set(t,!0),B((0,l.timestampInSeconds)()+x/1e3))})),A.push(P.on("spanEnd",e=>{var t;T||(t=e.spanContext().spanId,r.has(t)&&r.delete(t),0===r.size&&U((0,l.timestampInSeconds)()+C/1e3))})),A.push(P.on("idleSpanEnableAutoFinish",e=>{e===L&&(w=!0,U(),r.size&&B())})),t.disableAutoFinish||U(),setTimeout(()=>{T||(L.setStatus({code:m.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),I=b,L.end())},R),L}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SentryNonRecordingSpan:()=>o});var n=r(227),i=r(245);class o{constructor(e={}){this._traceId=e.traceId||(0,n.generateTraceId)(),this._spanId=e.spanId||(0,n.generateSpanId)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:i.TRACE_FLAG_NONE}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{SentrySpan:()=>m});var n=r(209),i=r(217),o=r(240),s=r(242),a=r(223),c=r(227),u=r(245),p=r(225),l=r(241),d=r(307),f=r(308),h=r(247);class m{constructor(e={}){this._traceId=e.traceId||(0,c.generateTraceId)(),this._spanId=e.spanId||(0,c.generateSpanId)(),this._startTime=e.startTimestamp||(0,p.timestampInSeconds)(),this._links=e.links,this._attributes={},this.setAttributes({[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?u.TRACE_FLAG_SAMPLED:u.TRACE_FLAG_NONE}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,u.spanTimeInputToSeconds)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(e){this._endTime||(this._endTime=(0,u.spanTimeInputToSeconds)(e),(0,d.logSpanEnd)(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,u.getStatusMessage)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[s.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[s.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:(0,f.timedEventsToMeasurements)(this._events),is_segment:this._isStandaloneSpan&&(0,u.getRootSpan)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,u.getRootSpan)(this).spanContext().spanId:void 0,links:(0,u.convertSpanLinksForEnvelope)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){i.DEBUG_BUILD&&a.debug.log("[Tracing] Adding an event to span:",e);const n=g(t)?t:r||(0,p.timestampInSeconds)(),o=g(t)?{}:t||{},s={name:e,time:(0,u.spanTimeInputToSeconds)(n),attributes:o};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=(0,n.getClient)();e&&e.emit("spanEnd",this);if(!(this._isStandaloneSpan||this===(0,u.getRootSpan)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=(0,n.getClient)();if(!t)return;const r=e[1];if(!r||0===r.length)return void t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}((0,o.createSpanEnvelope)([this],e)):(i.DEBUG_BUILD&&a.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));const t=this._convertSpanToTransaction();if(t){((0,h.getCapturedScopesOnSpan)(this).scope||(0,n.getCurrentScope)()).captureEvent(t)}}_convertSpanToTransaction(){if(!y((0,u.spanToJSON)(this)))return;this._name||(i.DEBUG_BUILD&&a.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:e,isolationScope:t}=(0,h.getCapturedScopesOnSpan)(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;const n=(0,u.getSpanDescendants)(this).filter(e=>e!==this&&!function(e){return e instanceof m&&e.isStandaloneSpan()}(e)).map(e=>(0,u.spanToJSON)(e)).filter(y),o=this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],n.forEach(e=>{delete e.data[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]});const c={contexts:{trace:(0,u.spanToTransactionTraceContext)(this)},spans:n.length>1e3?n.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):n,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,l.getDynamicSamplingContextFromSpan)(this)},request:r,...o&&{transaction_info:{source:o}}},p=(0,f.timedEventsToMeasurements)(this._events);return p&&Object.keys(p).length&&(i.DEBUG_BUILD&&a.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(p,void 0,2)),c.measurements=p),c}}function g(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function y(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{logSpanEnd:()=>a,logSpanStart:()=>s});var n=r(217),i=r(223),o=r(245);function s(e){if(!n.DEBUG_BUILD)return;const{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:s}=(0,o.spanToJSON)(e),{spanId:a}=e.spanContext(),c=(0,o.spanIsSampled)(e),u=(0,o.getRootSpan)(e),p=u===e,l=`[Tracing] Starting ${c?"sampled":"unsampled"} ${p?"root ":""}span`,d=[`op: ${r}`,`name: ${t}`,`ID: ${a}`];if(s&&d.push(`parent ID: ${s}`),!p){const{op:e,description:t}=(0,o.spanToJSON)(u);d.push(`root ID: ${u.spanContext().spanId}`),e&&d.push(`root op: ${e}`),t&&d.push(`root description: ${t}`)}i.debug.log(`${l}\n ${d.join("\n ")}`)}function a(e){if(!n.DEBUG_BUILD)return;const{description:t="< unknown name >",op:r="< unknown op >"}=(0,o.spanToJSON)(e),{spanId:s}=e.spanContext(),a=`[Tracing] Finishing "${r}" ${(0,o.getRootSpan)(e)===e?"root ":""}span "${t}" with ID ${s}`;i.debug.log(a)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{setMeasurement:()=>a,timedEventsToMeasurements:()=>c});var n=r(217),i=r(242),o=r(223),s=r(245);function a(e,t,r,a=(0,s.getActiveSpan)()){const c=a&&(0,s.getRootSpan)(a);c&&(n.DEBUG_BUILD&&o.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),c.addEvent(e,{[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:r}))}function c(e){if(!e||0===e.length)return;const t={};return e.forEach(e=>{const r=e.attributes||{},n=r[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],o=r[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof n&&"number"==typeof o&&(t[e.name]={value:o,unit:n})}),t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{continueTrace:()=>R,startInactiveSpan:()=>C,startNewTrace:()=>O,startSpan:()=>w,startSpanManual:()=>A,suppressTracing:()=>k,withActiveSpan:()=>x});var n=r(210),i=r(211),o=r(209),s=r(217),a=r(242),c=r(243),u=r(223),p=r(310),l=r(244),d=r(249),f=r(227),h=r(228),m=r(245),g=r(248),y=r(241),v=r(307),S=r(311),b=r(305),_=r(306),E=r(246),T=r(247);const I="__SENTRY_SUPPRESS_TRACING__";function w(e,t){const r=D();if(r.startSpan)return r.startSpan(e,t);const n=N(e),{forceTransaction:i,parentSpan:s,scope:a}=e,c=a?.clone();return(0,o.withScope)(c,()=>U(s)(()=>{const r=(0,o.getCurrentScope)(),a=M(r,s),c=e.onlyIfParent&&!a?new b.SentryNonRecordingSpan:P({parentSpan:a,spanArguments:n,forceTransaction:i,scope:r});return(0,h._setSpanForScope)(r,c),(0,p.handleCallbackErrors)(()=>t(c),()=>{const{status:e}=(0,m.spanToJSON)(c);!c.isRecording()||e&&"ok"!==e||c.setStatus({code:E.SPAN_STATUS_ERROR,message:"internal_error"})},()=>{c.end()})}))}function A(e,t){const r=D();if(r.startSpanManual)return r.startSpanManual(e,t);const n=N(e),{forceTransaction:i,parentSpan:s,scope:a}=e,c=a?.clone();return(0,o.withScope)(c,()=>U(s)(()=>{const r=(0,o.getCurrentScope)(),a=M(r,s),c=e.onlyIfParent&&!a?new b.SentryNonRecordingSpan:P({parentSpan:a,spanArguments:n,forceTransaction:i,scope:r});return(0,h._setSpanForScope)(r,c),(0,p.handleCallbackErrors)(()=>t(c,()=>c.end()),()=>{const{status:e}=(0,m.spanToJSON)(c);!c.isRecording()||e&&"ok"!==e||c.setStatus({code:E.SPAN_STATUS_ERROR,message:"internal_error"})})}))}function C(e){const t=D();if(t.startInactiveSpan)return t.startInactiveSpan(e);const r=N(e),{forceTransaction:n,parentSpan:i}=e;return(e.scope?t=>(0,o.withScope)(e.scope,t):void 0!==i?e=>x(i,e):e=>e())(()=>{const t=(0,o.getCurrentScope)(),s=M(t,i);return e.onlyIfParent&&!s?new b.SentryNonRecordingSpan:P({parentSpan:s,spanArguments:r,forceTransaction:n,scope:t})})}const R=(e,t)=>{const r=(0,i.getMainCarrier)(),s=(0,n.getAsyncContextStrategy)(r);if(s.continueTrace)return s.continueTrace(e,t);const{sentryTrace:a,baggage:u}=e,p=(0,o.getClient)(),l=(0,c.baggageHeaderToDynamicSamplingContext)(u);return p&&!(0,g.shouldContinueTrace)(p,l?.org_id)?O(t):(0,o.withScope)(e=>{const r=(0,g.propagationContextFromHeaders)(a,u);return e.setPropagationContext(r),t()})};function x(e,t){const r=D();return r.withActiveSpan?r.withActiveSpan(e,t):(0,o.withScope)(r=>((0,h._setSpanForScope)(r,e||void 0),t(r)))}function k(e){const t=D();return t.suppressTracing?t.suppressTracing(e):(0,o.withScope)(t=>{t.setSDKProcessingMetadata({[I]:!0});const r=e();return t.setSDKProcessingMetadata({[I]:void 0}),r})}function O(e){return(0,o.withScope)(t=>(t.setPropagationContext({traceId:(0,f.generateTraceId)(),sampleRand:Math.random()}),s.DEBUG_BUILD&&u.debug.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),x(null,e)))}function P({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){if(!(0,l.hasSpansEnabled)()){const n=new b.SentryNonRecordingSpan;if(r||!e){const e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,y.getDynamicSamplingContextFromSpan)(n)};(0,y.freezeDscOnSpan)(n,e)}return n}const i=(0,o.getIsolationScope)();let s;if(e&&!r)s=function(e,t,r){const{spanId:n,traceId:i}=e.spanContext(),s=!t.getScopeData().sdkProcessingMetadata[I]&&(0,m.spanIsSampled)(e),a=s?new _.SentrySpan({...r,parentSpanId:n,traceId:i,sampled:s}):new b.SentryNonRecordingSpan({traceId:i});(0,m.addChildSpanToSpan)(e,a);const c=(0,o.getClient)();c&&(c.emit("spanStart",a),r.endTimestamp&&c.emit("spanEnd",a));return a}(e,n,t),(0,m.addChildSpanToSpan)(e,s);else if(e){const r=(0,y.getDynamicSamplingContextFromSpan)(e),{traceId:i,spanId:o}=e.spanContext(),a=(0,m.spanIsSampled)(e);s=L({traceId:i,parentSpanId:o,...t},n,a),(0,y.freezeDscOnSpan)(s,r)}else{const{traceId:e,dsc:r,parentSpanId:o,sampled:a}={...i.getPropagationContext(),...n.getPropagationContext()};s=L({traceId:e,parentSpanId:o,...t},n,a),r&&(0,y.freezeDscOnSpan)(s,r)}return(0,v.logSpanStart)(s),(0,T.setCapturedScopesOnSpan)(s,n,i),s}function N(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...t};return r.startTimestamp=(0,m.spanTimeInputToSeconds)(e.startTime),delete r.startTime,r}return t}function D(){const e=(0,i.getMainCarrier)();return(0,n.getAsyncContextStrategy)(e)}function L(e,t,r){const n=(0,o.getClient)(),i=n?.getOptions()||{},{name:c=""}=e,p={spanAttributes:{...e.attributes},spanName:c,parentSampled:r};n?.emit("beforeSampling",p,{decision:!1});const l=p.parentSampled??r,f=p.spanAttributes,h=t.getPropagationContext(),[m,g,y]=t.getScopeData().sdkProcessingMetadata[I]?[!1]:(0,S.sampleSpan)(i,{name:c,parentSampled:l,attributes:f,parentSampleRate:(0,d.parseSampleRate)(h.dsc?.sample_rate)},h.sampleRand),v=new _.SentrySpan({...e,attributes:{[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[a.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==g&&y?g:void 0,...f},sampled:m});return!m&&n&&(s.DEBUG_BUILD&&u.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),n.recordDroppedEvent("sample_rate","transaction")),n&&n.emit("spanStart",v),v}function M(e,t){if(t)return t;if(null===t)return;const r=(0,h._getSpanForScope)(e);if(!r)return;const n=(0,o.getClient)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,m.getRootSpan)(r):r}function U(e){return void 0!==e?t=>x(e,t):e=>e()}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{handleCallbackErrors:()=>i});var n=r(222);function i(e,t,r=()=>{},i=()=>{}){let o;try{o=e()}catch(e){throw t(e),r(),e}return function(e,t,r,i){if((0,n.isThenable)(e))return e.then(e=>(r(),i(e),e),e=>{throw t(e),r(),e});return r(),i(e),e}(o,t,r,i)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{sampleSpan:()=>a});var n=r(217),i=r(223),o=r(244),s=r(249);function a(e,t,r){if(!(0,o.hasSpansEnabled)(e))return[!1];let a,c;"function"==typeof e.tracesSampler?(c=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),a=!0):void 0!==t.parentSampled?c=t.parentSampled:void 0!==e.tracesSampleRate&&(c=e.tracesSampleRate,a=!0);const u=(0,s.parseSampleRate)(c);if(void 0===u)return n.DEBUG_BUILD&&i.debug.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(c)} of type ${JSON.stringify(typeof c)}.`),[!1];if(!u)return n.DEBUG_BUILD&&i.debug.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,u,a];const p=r<u;return p||n.DEBUG_BUILD&&i.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(c)})`),[p,u,a]}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_addMeasureSpans:()=>k,_addNavigationSpans:()=>O,_addResourceSpans:()=>N,_setResourceRequestAttributes:()=>D,addPerformanceEntries:()=>x,startTrackingInteractions:()=>R,startTrackingLongAnimationFrames:()=>C,startTrackingLongTasks:()=>A,startTrackingWebVitals:()=>w});var n=r(308),i=r(242),o=r(245),s=r(221),a=r(222),c=r(224),u=r(225),p=r(280),l=r(282),d=r(313),f=r(314),h=r(337),m=r(338),g=r(336),y=r(319),v=r(320),S=r(326);const b=2147483647;let _,E,T=0,I={};function w({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){const n=(0,g.getBrowserPerformanceAPI)();if(n&&(0,u.browserPerformanceTimeOrigin)()){n.mark&&l.WINDOW.performance.mark("sentry-tracing-init");const i=t?(0,h.trackLcpAsStandaloneSpan)(r):(0,f.addLcpInstrumentationHandler)(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(I.lcp={value:e.value,unit:"millisecond"},_=t)},!0),o=(0,f.addTtfbInstrumentationHandler)(({metric:e})=>{e.entries[e.entries.length-1]&&(I.ttfb={value:e.value,unit:"millisecond"})}),s=e?(0,d.trackClsAsStandaloneSpan)(r):(0,f.addClsInstrumentationHandler)(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(I.cls={value:e.value,unit:""},E=t)},!0);return()=>{i?.(),o(),s?.()}}return()=>{}}function A(){(0,f.addPerformanceInstrumentationHandler)("longtask",({entries:e})=>{const t=(0,o.getActiveSpan)();if(!t)return;const{op:r,start_timestamp:n}=(0,o.spanToJSON)(t);for(const o of e){const e=(0,g.msToSec)((0,u.browserPerformanceTimeOrigin)()+o.startTime),s=(0,g.msToSec)(o.duration);"navigation"===r&&n&&e<n||(0,g.startAndEndSpan)(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}})}function C(){new PerformanceObserver(e=>{const t=(0,o.getActiveSpan)();if(t)for(const r of e.getEntries()){if(!r.scripts[0])continue;const e=(0,g.msToSec)((0,u.browserPerformanceTimeOrigin)()+r.startTime),{start_timestamp:n,op:s}=(0,o.spanToJSON)(t);if("navigation"===s&&n&&e<n)continue;const a=(0,g.msToSec)(r.duration),c={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},p=r.scripts[0],{invoker:l,invokerType:d,sourceURL:f,sourceFunctionName:h,sourceCharPosition:m}=p;c["browser.script.invoker"]=l,c["browser.script.invoker_type"]=d,f&&(c["code.filepath"]=f),h&&(c["code.function"]=h),-1!==m&&(c["browser.script.source_char_position"]=m),(0,g.startAndEndSpan)(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function R(){(0,f.addPerformanceInstrumentationHandler)("event",({entries:e})=>{const t=(0,o.getActiveSpan)();if(t)for(const r of e)if("click"===r.name){const e=(0,g.msToSec)((0,u.browserPerformanceTimeOrigin)()+r.startTime),n=(0,g.msToSec)(r.duration),o={name:(0,s.htmlTreeAsString)(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},a=(0,s.getComponentName)(r.target);a&&(o.attributes["ui.component_name"]=a),(0,g.startAndEndSpan)(t,e,e+n,o)}})}function x(e,t){const r=(0,g.getBrowserPerformanceAPI)(),i=(0,u.browserPerformanceTimeOrigin)();if(!r?.getEntries||!i)return;const a=(0,g.msToSec)(i),c=r.getEntries(),{op:p,start_timestamp:d}=(0,o.spanToJSON)(e);c.slice(T).forEach(r=>{const n=(0,g.msToSec)(r.startTime),i=(0,g.msToSec)(Math.max(0,r.duration));if(!("navigation"===p&&d&&a+n<d))switch(r.entryType){case"navigation":O(e,r,a);break;case"mark":case"paint":case"measure":{k(e,r,n,i,a,t.ignorePerformanceApiSpans);const o=(0,S.getVisibilityWatcher)(),s=r.startTime<o.firstHiddenTime;"first-paint"===r.name&&s&&(I.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&s&&(I.fcp={value:r.startTime,unit:"millisecond"});break}case"resource":N(e,r,r.name,n,i,a,t.ignoreResourceSpans)}}),T=Math.max(c.length-1,0),function(e){const t=l.WINDOW.navigator;if(!t)return;const r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),(0,g.isMeasurementValue)(r.rtt)&&(I["connection.rtt"]={value:r.rtt,unit:"millisecond"}));(0,g.isMeasurementValue)(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`);(0,g.isMeasurementValue)(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===p&&(function(e){const t=(0,v.getNavigationEntry)(!1);if(!t)return;const{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}(I),t.recordClsOnPageloadSpan||delete I.cls,t.recordLcpOnPageloadSpan||delete I.lcp,Object.entries(I).forEach(([e,t])=>{(0,n.setMeasurement)(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",a),e.setAttribute("performance.activationStart",(0,y.getActivationStart)()),function(e,t){_&&t.recordLcpOnPageloadSpan&&(_.element&&e.setAttribute("lcp.element",(0,s.htmlTreeAsString)(_.element)),_.id&&e.setAttribute("lcp.id",_.id),_.url&&e.setAttribute("lcp.url",_.url.trim().slice(0,200)),null!=_.loadTime&&e.setAttribute("lcp.loadTime",_.loadTime),null!=_.renderTime&&e.setAttribute("lcp.renderTime",_.renderTime),e.setAttribute("lcp.size",_.size));E?.sources&&t.recordClsOnPageloadSpan&&E.sources.forEach((t,r)=>e.setAttribute(`cls.source.${r+1}`,(0,s.htmlTreeAsString)(t.node)))}(e,t)),_=void 0,E=void 0,I={}}function k(e,t,r,n,o,s){if(function(e){if("measure"===e?.entryType)try{return"Components ⚛"===e.detail.devtools.track}catch{return}}(t))return;if(["mark","measure"].includes(t.entryType)&&(0,c.stringMatchesSomePattern)(t.name,s))return;const u=(0,v.getNavigationEntry)(!1),p=(0,g.msToSec)(u?u.requestStart:0),l=o+Math.max(r,p),d=o+r,f=d+n,h={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};l!==d&&(h["sentry.browser.measure_happened_before_request"]=!0,h["sentry.browser.measure_start_time"]=l),function(e,t){try{const r=t.detail;if(!r)return;if("object"==typeof r){for(const[t,n]of Object.entries(r))if(n&&(0,a.isPrimitive)(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(void 0!==n)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if((0,a.isPrimitive)(r))return void(e["sentry.browser.measure.detail"]=r);try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}(h,t),l<=f&&(0,g.startAndEndSpan)(e,l,f,{name:t.name,op:t.entryType,attributes:h})}function O(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{P(e,t,n,r)}),P(e,t,"secureConnection",r,"TLS/SSL"),P(e,t,"fetch",r,"cache"),P(e,t,"domainLookup",r,"DNS"),function(e,t,r){const n=r+(0,g.msToSec)(t.requestStart),o=r+(0,g.msToSec)(t.responseEnd),s=r+(0,g.msToSec)(t.responseStart);t.responseEnd&&((0,g.startAndEndSpan)(e,n,o,{op:"browser.request",name:t.name,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),(0,g.startAndEndSpan)(e,s,o,{op:"browser.response",name:t.name,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}))}(e,t,r)}function P(e,t,r,n,o=r){const s=function(e){if("secureConnection"===e)return"connectEnd";if("fetch"===e)return"domainLookupStart";return`${e}End`}(r),a=t[s],c=t[`${r}Start`];c&&a&&(0,g.startAndEndSpan)(e,n+(0,g.msToSec)(c),n+(0,g.msToSec)(a),{op:`browser.${o}`,name:t.name,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function N(e,t,r,n,o,s,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const c=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(a?.includes(c))return;const u={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"},d=(0,p.parseUrl)(r);d.protocol&&(u["url.scheme"]=d.protocol.split(":").pop()),d.host&&(u["server.address"]=d.host),u["url.same_origin"]=r.includes(l.WINDOW.location.origin),D(t,u,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const f={...u,...(0,m.resourceTimingToSpanAttributes)(t)},h=s+n,y=h+o;(0,g.startAndEndSpan)(e,h,y,{name:r.replace(l.WINDOW.location.origin,""),op:c,attributes:f})}function D(e,t,r){r.forEach(([r,n])=>{const i=e[r];null!=i&&("number"==typeof i&&i<b||"string"==typeof i)&&(t[n]=i)})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_sendStandaloneClsSpan:()=>d,trackClsAsStandaloneSpan:()=>l});var n=r(242),i=r(209),o=r(221),s=r(223),a=r(225),c=r(300),u=r(314),p=r(336);function l(e){let t,r=0;if(!(0,p.supportsWebVital)("layout-shift"))return;const n=(0,u.addClsInstrumentationHandler)(({metric:e})=>{const n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);(0,p.listenForWebVitalReportEvents)(e,(e,i)=>{d(r,t,i,e),n()})}function d(e,t,r,u){c.DEBUG_BUILD&&s.debug.log(`Sending CLS span (${e})`);const l=t?(0,p.msToSec)(((0,a.browserPerformanceTimeOrigin)()||0)+t.startTime):(0,a.timestampInSeconds)(),d=(0,i.getCurrentScope)().getScopeData().transactionName,f=t?(0,o.htmlTreeAsString)(t.sources[0]?.node):"Layout shift",h={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":r,"sentry.report_event":u};t?.sources&&t.sources.forEach((e,t)=>{h[`cls.source.${t+1}`]=(0,o.htmlTreeAsString)(e.node)});const m=(0,p.startStandaloneWebVitalSpan)({name:f,transaction:d,attributes:h,startTime:l});m&&(m.addEvent("cls",{[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),m.end(l))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{addClsInstrumentationHandler:()=>y,addInpInstrumentationHandler:()=>b,addLcpInstrumentationHandler:()=>v,addPerformanceInstrumentationHandler:()=>_,addTtfbInstrumentationHandler:()=>S,isPerformanceEventTiming:()=>k});var n=r(223),i=r(234),o=r(300),s=r(315),a=r(328),c=r(333),u=r(323),p=r(335);const l={},d={};let f,h,m,g;function y(e,t=!1){return C("cls",e,T,f,t)}function v(e,t=!1){return C("lcp",e,I,h,t)}function S(e){return C("ttfb",e,w,m)}function b(e){return C("inp",e,A,g)}function _(e,t){return R(e,t),d[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);(0,u.observe)(e,t=>{E(e,{entries:t})},t)}(e),d[e]=!0),x(e,t)}function E(e,t){const r=l[e];if(r?.length)for(const s of r)try{s(t)}catch(t){o.DEBUG_BUILD&&n.debug.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,i.getFunctionName)(s)}\nError:`,t)}}function T(){return(0,s.onCLS)(e=>{E("cls",{metric:e}),f=e},{reportAllChanges:!0})}function I(){return(0,c.onLCP)(e=>{E("lcp",{metric:e}),h=e},{reportAllChanges:!0})}function w(){return(0,p.onTTFB)(e=>{E("ttfb",{metric:e}),m=e})}function A(){return(0,a.onINP)(e=>{E("inp",{metric:e}),g=e})}function C(e,t,r,n,i=!1){let o;return R(e,t),d[e]||(o=r(),d[e]=!0),n&&t({metric:n}),x(e,t,i?o:void 0)}function R(e,t){l[e]=l[e]||[],l[e].push(t)}function x(e,t,r){return()=>{r&&r();const n=l[e];if(!n)return;const i=n.indexOf(t);-1!==i&&n.splice(i,1)}}function k(e){return"duration"in e}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{CLSThresholds:()=>l,onCLS:()=>d});var n=r(282),i=r(316),o=r(317),s=r(321),a=r(322),c=r(323),u=r(324),p=r(325);const l=[.1,.25],d=(e,t={})=>{(0,p.onFCP)((0,u.runOnce)(()=>{const r=(0,o.initMetric)("CLS",0);let u;const p=(0,s.initUnique)(t,a.LayoutShiftManager),d=e=>{for(const t of e)p._processEntry(t);p._sessionValue>r.value&&(r.value=p._sessionValue,r.entries=p._sessionEntries,u())},f=(0,c.observe)("layout-shift",d);f&&(u=(0,i.bindReporter)(e,r,l,t.reportAllChanges),n.WINDOW.document?.addEventListener("visibilitychange",()=>{"hidden"===n.WINDOW.document?.visibilityState&&(d(f.takeRecords()),u(!0))}),n.WINDOW?.setTimeout?.(u))}))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{bindReporter:()=>n});const n=(e,t,r,n)=>{let i,o;return s=>{t.value>=0&&(s||n)&&(o=t.value-(i??0),(o||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,r),e(t)))}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{initMetric:()=>a});var n=r(282),i=r(318),o=r(319),s=r(320);const a=(e,t=-1)=>{const r=(0,s.getNavigationEntry)();let a="navigate";r&&(n.WINDOW.document?.prerendering||(0,o.getActivationStart)()>0?a="prerender":n.WINDOW.document?.wasDiscarded?a="restore":r.type&&(a=r.type.replace(/_/g,"-")));return{name:e,value:t,rating:"good",delta:0,entries:[],id:(0,i.generateUniqueID)(),navigationType:a}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{generateUniqueID:()=>n});const n=()=>`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getActivationStart:()=>i});var n=r(320);const i=()=>{const e=(0,n.getNavigationEntry)();return e?.activationStart??0}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getNavigationEntry:()=>i});var n=r(282);const i=(e=!0)=>{const t=n.WINDOW.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{initUnique:()=>i});const n=new WeakMap;function i(e,t){return n.get(e)||n.set(e,new t),n.get(e)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{LayoutShiftManager:()=>n});class n{constructor(){n.prototype.__init.call(this),n.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;const t=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{observe:()=>n});const n=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{runOnce:()=>n});const n=e=>{let t=!1;return()=>{t||(e(),t=!0)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{FCPThresholds:()=>u,onFCP:()=>p});var n=r(316),i=r(319),o=r(326),s=r(317),a=r(323),c=r(327);const u=[1800,3e3],p=(e,t={})=>{(0,c.whenActivated)(()=>{const r=(0,o.getVisibilityWatcher)(),c=(0,s.initMetric)("FCP");let p;const l=(0,a.observe)("paint",e=>{for(const t of e)"first-contentful-paint"===t.name&&(l.disconnect(),t.startTime<r.firstHiddenTime&&(c.value=Math.max(t.startTime-(0,i.getActivationStart)(),0),c.entries.push(t),p(!0)))});l&&(p=(0,n.bindReporter)(e,c,u,t.reportAllChanges))})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getVisibilityWatcher:()=>c});var n=r(282),i=r(319);let o=-1;const s=e=>{"hidden"===n.WINDOW.document.visibilityState&&o>-1&&(o="visibilitychange"===e.type?e.timeStamp:0,a())},a=()=>{removeEventListener("visibilitychange",s,!0),removeEventListener("prerenderingchange",s,!0)},c=()=>{if(n.WINDOW.document&&o<0){const e=(0,i.getActivationStart)(),t=n.WINDOW.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime;o=t??("hidden"!==n.WINDOW.document?.visibilityState||n.WINDOW.document?.prerendering?1/0:0),addEventListener("visibilitychange",s,!0),addEventListener("prerenderingchange",s,!0)}return{get firstHiddenTime(){return o}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{whenActivated:()=>i});var n=r(282);const i=e=>{n.WINDOW.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{INPThresholds:()=>d,onINP:()=>f});var n=r(316),i=r(317),o=r(321),s=r(329),a=r(323),c=r(331),u=r(330),p=r(327),l=r(332);const d=[200,500],f=(e,t={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&(0,p.whenActivated)(()=>{(0,u.initInteractionCountPolyfill)();const r=(0,i.initMetric)("INP");let p;const f=(0,o.initUnique)(t,s.InteractionManager),h=e=>{(0,l.whenIdleOrHidden)(()=>{for(const t of e)f._processEntry(t);const t=f._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,p())})},m=(0,a.observe)("event",h,{durationThreshold:t.durationThreshold??40});p=(0,n.bindReporter)(e,r,d,t.reportAllChanges),m&&(m.observe({type:"first-input",buffered:!0}),(0,c.onHidden)(()=>{h(m.takeRecords()),p(!0)}))})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{InteractionManager:()=>o});var n=r(330);let i=0;class o{constructor(){o.prototype.__init.call(this),o.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){i=(0,n.getInteractionCount)(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor(((0,n.getInteractionCount)()-i)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<10||e.duration>t._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10){const e=this._longestInteractionList.splice(10);for(const t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(r)}}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getInteractionCount:()=>u,initInteractionCountPolyfill:()=>p});var n=r(323);let i=0,o=1/0,s=0;const a=e=>{e.forEach(e=>{e.interactionId&&(o=Math.min(o,e.interactionId),s=Math.max(s,e.interactionId),i=s?(s-o)/7+1:0)})};let c;const u=()=>c?i:performance.interactionCount||0,p=()=>{"interactionCount"in performance||c||(c=(0,n.observe)("event",a,{type:"event",buffered:!0,durationThreshold:0}))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{onHidden:()=>i});var n=r(282);const i=e=>{const t=t=>{"pagehide"!==t.type&&"hidden"!==n.WINDOW.document?.visibilityState||e(t)};n.WINDOW.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{whenIdleOrHidden:()=>s});var n=r(282),i=r(331),o=r(324);const s=e=>{const t=n.WINDOW.requestIdleCallback||n.WINDOW.setTimeout;"hidden"===n.WINDOW.document?.visibilityState?e():(t(e=(0,o.runOnce)(e)),(0,i.onHidden)(e))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{LCPThresholds:()=>h,onLCP:()=>m});var n=r(282),i=r(316),o=r(319),s=r(326),a=r(317),c=r(321),u=r(334),p=r(323),l=r(324),d=r(327),f=r(332);const h=[2500,4e3],m=(e,t={})=>{(0,d.whenActivated)(()=>{const r=(0,s.getVisibilityWatcher)(),d=(0,a.initMetric)("LCP");let m;const g=(0,c.initUnique)(t,u.LCPEntryManager),y=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)g._processEntry(t),t.startTime<r.firstHiddenTime&&(d.value=Math.max(t.startTime-(0,o.getActivationStart)(),0),d.entries=[t],m())},v=(0,p.observe)("largest-contentful-paint",y);if(v){m=(0,i.bindReporter)(e,d,h,t.reportAllChanges);const r=(0,l.runOnce)(()=>{y(v.takeRecords()),v.disconnect(),m(!0)});for(const e of["keydown","click","visibilitychange"])n.WINDOW.document&&addEventListener(e,()=>(0,f.whenIdleOrHidden)(r),{capture:!0,once:!0})}})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{LCPEntryManager:()=>n});class n{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{TTFBThresholds:()=>u,onTTFB:()=>l});var n=r(282),i=r(316),o=r(319),s=r(320),a=r(317),c=r(327);const u=[800,1800],p=e=>{n.WINDOW.document?.prerendering?(0,c.whenActivated)(()=>p(e)):"complete"!==n.WINDOW.document?.readyState?addEventListener("load",()=>p(e),!0):setTimeout(e)},l=(e,t={})=>{const r=(0,a.initMetric)("TTFB"),n=(0,i.bindReporter)(e,r,u,t.reportAllChanges);p(()=>{const e=(0,s.getNavigationEntry)();e&&(r.value=Math.max(e.responseStart-(0,o.getActivationStart)(),0),r.entries=[e],n(!0))})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{extractNetworkProtocol:()=>f,getBrowserPerformanceAPI:()=>l,isMeasurementValue:()=>c,listenForWebVitalReportEvents:()=>m,msToSec:()=>d,startAndEndSpan:()=>u,startStandaloneWebVitalSpan:()=>p,supportsWebVital:()=>h});var n=r(309),i=r(209),o=r(245),s=r(282),a=r(331);function c(e){return"number"==typeof e&&isFinite(e)}function u(e,t,r,{...i}){const s=(0,o.spanToJSON)(e).start_timestamp;return s&&s>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),(0,n.withActiveSpan)(e,()=>{const e=(0,n.startInactiveSpan)({startTime:t,...i});return e&&e.end(r),e})}function p(e){const t=(0,i.getClient)();if(!t)return;const{name:r,transaction:o,attributes:a,startTime:c}=e,{release:u,environment:p,sendDefaultPii:l}=t.getOptions(),d=t.getIntegrationByName("Replay"),f=d?.getReplayId(),h=(0,i.getCurrentScope)(),m=h.getUser(),g=void 0!==m?m.email||m.id||m.ip_address:void 0;let y;try{y=h.getScopeData().contexts.profile.profile_id}catch{}const v={release:u,environment:p,user:g||void 0,profile_id:y||void 0,replay_id:f||void 0,transaction:o,"user_agent.original":s.WINDOW.navigator?.userAgent,"client.address":l?"{{auto}}":void 0,...a};return(0,n.startInactiveSpan)({name:r,attributes:v,startTime:c,experimental:{standalone:!0}})}function l(){return s.WINDOW.addEventListener&&s.WINDOW.performance}function d(e){return e/1e3}function f(e){let t="unknown",r="unknown",n="";for(const i of e){if("/"===i){[t,r]=e.split("/");break}if(!isNaN(Number(i))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=i}return n===e&&(t=n),{name:t,version:r}}function h(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function m(e,t){let r,n=!1;function i(e){!n&&r&&t(e,r),n=!0}(0,a.onHidden)(()=>{i("pagehide")});const o=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),o(),s())}),s=e.on("afterStartPageLoadSpan",e=>{r=e.spanContext().spanId,s()})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_sendStandaloneLcpSpan:()=>d,trackLcpAsStandaloneSpan:()=>l});var n=r(242),i=r(209),o=r(221),s=r(223),a=r(225),c=r(300),u=r(314),p=r(336);function l(e){let t,r=0;if(!(0,p.supportsWebVital)("largest-contentful-paint"))return;const n=(0,u.addLcpInstrumentationHandler)(({metric:e})=>{const n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);(0,p.listenForWebVitalReportEvents)(e,(e,i)=>{d(r,t,i,e),n()})}function d(e,t,r,u){c.DEBUG_BUILD&&s.debug.log(`Sending LCP span (${e})`);const l=(0,p.msToSec)(((0,a.browserPerformanceTimeOrigin)()||0)+(t?.startTime||0)),d=(0,i.getCurrentScope)().getScopeData().transactionName,f=t?(0,o.htmlTreeAsString)(t.element):"Largest contentful paint",h={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":r,"sentry.report_event":u};t&&(t.element&&(h["lcp.element"]=(0,o.htmlTreeAsString)(t.element)),t.id&&(h["lcp.id"]=t.id),t.url&&(h["lcp.url"]=t.url.trim().slice(0,200)),null!=t.loadTime&&(h["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(h["lcp.renderTime"]=t.renderTime),null!=t.size&&(h["lcp.size"]=t.size));const m=(0,p.startStandaloneWebVitalSpan)({name:f,transaction:d,attributes:h,startTime:l});m&&(m.addEvent("lcp",{[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),m.end(l))}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{resourceTimingToSpanAttributes:()=>s});var n=r(225),i=r(336);function o(e){return e?(((0,n.browserPerformanceTimeOrigin)()||performance.timeOrigin)+e)/1e3:e}function s(e){const t={};if(null!=e.nextHopProtocol){const{name:r,version:n}=(0,i.extractNetworkProtocol)(e.nextHopProtocol);t["network.protocol.version"]=n,t["network.protocol.name"]=r}return(0,n.browserPerformanceTimeOrigin)()||(0,i.getBrowserPerformanceAPI)()?.timeOrigin?(r={...t,"http.request.redirect_start":o(e.redirectStart),"http.request.redirect_end":o(e.redirectEnd),"http.request.worker_start":o(e.workerStart),"http.request.fetch_start":o(e.fetchStart),"http.request.domain_lookup_start":o(e.domainLookupStart),"http.request.domain_lookup_end":o(e.domainLookupEnd),"http.request.connect_start":o(e.connectStart),"http.request.secure_connection_start":o(e.secureConnectionStart),"http.request.connection_end":o(e.connectEnd),"http.request.request_start":o(e.requestStart),"http.request.response_start":o(e.responseStart),"http.request.response_end":o(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0},Object.fromEntries(Object.entries(r).filter(([,e])=>null!=e))):t;var r}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_onElementTiming:()=>l,startTrackingElementTiming:()=>p});var n=r(309),i=r(242),o=r(209),s=r(245),a=r(225),c=r(314),u=r(336);function p(){return(0,u.getBrowserPerformanceAPI)()&&(0,a.browserPerformanceTimeOrigin)()?(0,c.addPerformanceInstrumentationHandler)("element",l):()=>{}}const l=({entries:e})=>{const t=(0,s.getActiveSpan)(),r=t?(0,s.getRootSpan)(t):void 0,c=r?(0,s.spanToJSON)(r).description:(0,o.getCurrentScope)().getScopeData().transactionName;e.forEach(e=>{const t=e;if(!t.identifier)return;const r=t.name,o=t.renderTime,s=t.loadTime,[p,l]=s?[(0,u.msToSec)(s),"load-time"]:o?[(0,u.msToSec)(o),"render-time"]:[(0,a.timestampInSeconds)(),"entry-emission"],d="image-paint"===r?(0,u.msToSec)(Math.max(0,(o??0)-(s??0))):0,f={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.elementtiming",[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.elementtiming",[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"component","sentry.span_start_time_source":l,"sentry.transaction_name":c,"element.id":t.id,"element.type":t.element?.tagName?.toLowerCase()||"unknown","element.size":t.naturalWidth&&t.naturalHeight?`${t.naturalWidth}x${t.naturalHeight}`:void 0,"element.render_time":o,"element.load_time":s,"element.url":t.url||void 0,"element.identifier":t.identifier,"element.paint_type":r};(0,n.startSpan)({name:`element[${t.identifier}]`,attributes:f,startTime:p,onlyIfParent:!0},e=>{e.end(p+d)})})}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_onInp:()=>m,_trackINP:()=>h,registerInpInteractionListener:()=>g,startTrackingINP:()=>d});var n=r(242),i=r(209),o=r(245),s=r(221),a=r(225),c=r(314),u=r(336);const p=[],l=new Map;function d(){if((0,u.getBrowserPerformanceAPI)()&&(0,a.browserPerformanceTimeOrigin)()){const e=h();return()=>{e()}}return()=>{}}const f={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function h(){return(0,c.addInpInstrumentationHandler)(m)}const m=({metric:e})=>{if(null==e.value)return;const t=(0,u.msToSec)(e.value);if(t>60)return;const r=e.entries.find(t=>t.duration===e.value&&f[t.name]);if(!r)return;const{interactionId:c}=r,p=f[r.name],d=(0,u.msToSec)((0,a.browserPerformanceTimeOrigin)()+r.startTime),h=(0,o.getActiveSpan)(),m=h?(0,o.getRootSpan)(h):void 0,g=(null!=c?l.get(c):void 0)||m,y=g?(0,o.spanToJSON)(g).description:(0,i.getCurrentScope)().getScopeData().transactionName,v=(0,s.htmlTreeAsString)(r.target),S={[n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[n.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${p}`,[n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:r.duration},b=(0,u.startStandaloneWebVitalSpan)({name:v,transaction:y,attributes:S,startTime:d});b&&(b.addEvent("inp",{[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value}),b.end(d+t))};function g(){const e=({entries:e})=>{const t=(0,o.getActiveSpan)(),r=t&&(0,o.getRootSpan)(t);e.forEach(e=>{if(!(0,c.isPerformanceEventTiming)(e)||!r)return;const t=e.interactionId;if(null!=t&&!l.has(t)){if(p.length>10){const e=p.shift();l.delete(e)}p.push(t),l.set(t,r)}})};(0,c.addPerformanceInstrumentationHandler)("event",e),(0,c.addPerformanceInstrumentationHandler)("first-input",e)}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{registerBackgroundTabDetection:()=>c});var n=r(246),i=r(245),o=r(223),s=r(285),a=r(270);function c(){a.WINDOW.document?a.WINDOW.document.addEventListener("visibilitychange",()=>{const e=(0,i.getActiveSpan)();if(!e)return;const t=(0,i.getRootSpan)(e);if(a.WINDOW.document.hidden&&t){const e="cancelled",{op:r,status:a}=(0,i.spanToJSON)(t);s.DEBUG_BUILD&&o.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),a||t.setStatus({code:n.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):s.DEBUG_BUILD&&o.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{PREVIOUS_TRACE_KEY:()=>p,PREVIOUS_TRACE_MAX_DURATION:()=>u,PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE:()=>l,addPreviousTraceSpanLink:()=>f,getPreviousTraceFromSessionStorage:()=>m,linkTraces:()=>d,spanContextSampled:()=>g,storePreviousTraceInSessionStorage:()=>h});var n=r(242),i=r(209),o=r(245),s=r(223),a=r(285),c=r(270);const u=3600,p="sentry_previous_trace",l="sentry.previous_trace";function d(e,{linkPreviousTrace:t,consistentTraceSampling:r}){const s="session-storage"===t;let a=s?m():void 0;e.on("spanStart",e=>{if((0,o.getRootSpan)(e)!==e)return;const t=(0,i.getCurrentScope)().getPropagationContext();a=f(a,e,t),s&&h(a)});let c=!0;r&&e.on("beforeSampling",e=>{if(!a)return;const t=(0,i.getCurrentScope)(),r=t.getPropagationContext();c&&r.parentSpanId?c=!1:(t.setPropagationContext({...r,dsc:{...r.dsc,sample_rate:String(a.sampleRate),sampled:String(g(a.spanContext))},sampleRand:a.sampleRand}),e.parentSampled=g(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes={...e.spanAttributes,[n.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:a.sampleRate})})}function f(e,t,r){const i=(0,o.spanToJSON)(t);const c={spanContext:t.spanContext(),startTimestamp:i.start_timestamp,sampleRate:function(){try{return Number(r.dsc?.sample_rate)??Number(i.data?.[n.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])}catch{return 0}}(),sampleRand:r.sampleRand};if(!e)return c;const p=e.spanContext;return p.traceId===i.trace_id?e:(Date.now()/1e3-e.startTimestamp<=u&&(a.DEBUG_BUILD&&s.debug.log(`Adding previous_trace ${p} link to span ${{op:i.op,...t.spanContext()}}`),t.addLink({context:p,attributes:{[n.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute(l,`${p.traceId}-${p.spanId}-${g(p)?1:0}`)),c)}function h(e){try{c.WINDOW.sessionStorage.setItem(p,JSON.stringify(e))}catch(e){a.DEBUG_BUILD&&s.debug.warn("Could not store previous trace in sessionStorage",e)}}function m(){try{const e=c.WINDOW.sessionStorage?.getItem(p);return JSON.parse(e)}catch{return}}function g(e){return 1===e.traceFlags}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultRequestInstrumentationOptions:()=>T,instrumentOutgoingRequests:()=>I,shouldAttachHeaders:()=>A});var n=r(305),i=r(246),o=r(309),s=r(242),a=r(209),c=r(244),u=r(245),p=r(344),l=r(345),d=r(221),f=r(277),h=r(224),m=r(280),g=r(314),y=r(284),v=r(346),S=r(338),b=r(347);const _=new WeakMap,E=new Map,T={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function I(e,t){const{traceFetch:r,traceXHR:d,trackFetchStreamPerformance:h,shouldCreateSpanForRequest:g,enableHTTPTimings:S,tracePropagationTargets:I,onRequestSpanStart:C,onRequestSpanEnd:R}={...T,...t},x="function"==typeof g?g:e=>!0,k=e=>A(e,I),O={},P=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){const t=E.get(e.span_id);t&&(e.timestamp=t/1e3,E.delete(e.span_id))}}),e)),h&&(0,f.addFetchEndInstrumentationHandler)(e=>{if(e.response){const t=_.get(e.response);t&&e.endTimestamp&&E.set(t,e.endTimestamp)}}),(0,f.addFetchInstrumentationHandler)(e=>{const t=(0,l.instrumentFetchRequest)(e,x,k,O,{propagateTraceparent:P,onRequestSpanEnd:R});if(e.response&&e.fetchData.__span&&_.set(e.response,e.fetchData.__span),t){const r=(0,b.getFullURL)(e.fetchData.url),n=r?(0,m.parseUrl)(r).host:void 0;t.setAttributes({"http.url":r,"server.address":n}),S&&w(t),C?.(t,{headers:e.headers})}})),d&&(0,y.addXhrInstrumentationHandler)(e=>{const t=function(e,t,r,l,d,f){const h=e.xhr,g=h?.[y.SENTRY_XHR_DATA_KEY];if(!h||h.__sentry_own_request__||!g)return;const{url:S,method:_}=g,E=(0,c.hasSpansEnabled)()&&t(S);if(e.endTimestamp&&E){const t=h.__sentry_xhr_span_id__;if(!t)return;const r=l[t];return void(r&&void 0!==g.status_code&&((0,i.setHttpStatus)(r,g.status_code),r.end(),f?.(r,{headers:(0,b.createHeadersSafely)((0,v.parseXhrResponseHeaders)(h)),error:e.error}),delete l[t]))}const T=(0,b.getFullURL)(S),I=T?(0,m.parseUrl)(T):(0,m.parseUrl)(S),w=(0,m.stripUrlQueryAndFragment)(S),A=!!(0,u.getActiveSpan)(),C=E&&A?(0,o.startInactiveSpan)({name:`${_} ${w}`,attributes:{url:S,type:"xhr","http.method":_,"http.url":T,"server.address":I?.host,[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...I?.search&&{"http.query":I?.search},...I?.hash&&{"http.fragment":I?.hash}}}):new n.SentryNonRecordingSpan;h.__sentry_xhr_span_id__=C.spanContext().spanId,l[h.__sentry_xhr_span_id__]=C,r(S)&&function(e,t,r){const{"sentry-trace":n,baggage:i,traceparent:o}=(0,p.getTraceData)({span:t,propagateTraceparent:r});n&&function(e,t,r,n){const i=e.__sentry_xhr_v3__?.request_headers;if(i?.["sentry-trace"]||!e.setRequestHeader)return;try{if(e.setRequestHeader("sentry-trace",t),n&&!i?.traceparent&&e.setRequestHeader("traceparent",n),r){const t=i?.baggage;t&&(0,b.baggageHeaderHasSentryValues)(t)||e.setRequestHeader("baggage",r)}}catch{}}(e,n,i,o)}(h,(0,c.hasSpansEnabled)()&&A?C:void 0,d);const R=(0,a.getClient)();R&&R.emit("beforeOutgoingRequestSpan",C,e);return C}(e,x,k,O,P,R);t&&(S&&w(t),C?.(t,{headers:(0,b.createHeadersSafely)(e.xhr.__sentry_xhr_v3__?.request_headers)}))})}function w(e){const{url:t}=(0,u.spanToJSON)(e).data;if(!t||"string"!=typeof t)return;const r=(0,g.addPerformanceInstrumentationHandler)("resource",({entries:n})=>{n.forEach(n=>{(0,b.isPerformanceResourceTiming)(n)&&n.name.endsWith(t)&&(e.setAttributes((0,S.resourceTimingToSpanAttributes)(n)),setTimeout(r))})})}function A(e,t){const r=(0,d.getLocationHref)();if(r){let n,i;try{n=new URL(e,r),i=new URL(r).origin}catch{return!1}const o=n.origin===i;return t?(0,h.stringMatchesSomePattern)(n.toString(),t)||o&&(0,h.stringMatchesSomePattern)(n.pathname,t):o}{const r=!!e.match(/^\/(?!\/)/);return t?(0,h.stringMatchesSomePattern)(e,t):r}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getTraceData:()=>d});var n=r(210),i=r(211),o=r(209),s=r(271),a=r(223),c=r(245),u=r(241),p=r(243),l=r(248);function d(e={}){const t=e.client||(0,o.getClient)();if(!(0,s.isEnabled)()||!t)return{};const r=(0,i.getMainCarrier)(),d=(0,n.getAsyncContextStrategy)(r);if(d.getTraceData)return d.getTraceData(e);const f=e.scope||(0,o.getCurrentScope)(),h=e.span||(0,c.getActiveSpan)(),m=h?(0,c.spanToTraceHeader)(h):function(e){const{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,l.generateSentryTraceHeader)(t,n,r)}(f),g=h?(0,u.getDynamicSamplingContextFromSpan)(h):(0,u.getDynamicSamplingContextFromScope)(t,f),y=(0,p.dynamicSamplingContextToSentryBaggageHeader)(g);if(!l.TRACEPARENT_REGEXP.test(m))return a.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const v={"sentry-trace":m,baggage:y};if(e.propagateTraceparent){const e=h?(0,c.spanToTraceparentHeader)(h):function(e){const{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,l.generateTraceparentHeader)(t,n,r)}(f);e&&(v.traceparent=e)}return v}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{_addTracingHeadersToFetchRequest:()=>g,_callOnRequestSpanEnd:()=>m,instrumentFetchRequest:()=>h});var n=r(209),i=r(242),o=r(245),s=r(246),a=r(222),c=r(244),u=r(243),p=r(305),l=r(309),d=r(344),f=r(280);function h(e,t,r,i,a){if(!e.fetchData)return;const{method:u,url:d}=e.fetchData,h=(0,c.hasSpansEnabled)()&&t(d);if(e.endTimestamp&&h){const t=e.fetchData.__span;if(!t)return;const r=i[t];return void(r&&(!function(e,t){if(t.response){(0,s.setHttpStatus)(e,t.response.status);const r=t.response?.headers?.get("content-length");if(r){const t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:s.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(r,e),m(r,e,a),delete i[t]))}const{spanOrigin:y="auto.http.browser",propagateTraceparent:S=!1}="object"==typeof a?a:{spanOrigin:a},b=!!(0,o.getActiveSpan)(),_=h&&b?(0,l.startInactiveSpan)(function(e,t,r){const n=(0,f.parseStringToURLObject)(e);return{name:n?`${t} ${(0,f.getSanitizedUrlStringFromUrlObject)(n)}`:t,attributes:v(e,n,t,r)}}(d,u,y)):new p.SentryNonRecordingSpan;if(e.fetchData.__span=_.spanContext().spanId,i[_.spanContext().spanId]=_,r(e.fetchData.url)){const t=e.args[0],r=e.args[1]||{},n=g(t,r,(0,c.hasSpansEnabled)()&&b?_:void 0,S);n&&(e.args[1]=r,r.headers=n)}const E=(0,n.getClient)();if(E){const t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};E.emit("beforeOutgoingRequestSpan",_,t)}return _}function m(e,t,r){const n="object"==typeof r&&null!==r?r.onRequestSpanEnd:void 0;n?.(e,{headers:t.response?.headers,error:t.error})}function g(e,t,r,n){const i=(0,d.getTraceData)({span:r,propagateTraceparent:n}),o=i["sentry-trace"],s=i.baggage,c=i.traceparent;if(!o)return;const u=t.headers||((0,a.isRequest)(e)?e.headers:void 0);if(u){if(p=u,"undefined"!=typeof Headers&&(0,a.isInstanceOf)(p,Headers)){const e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",o),n&&c&&!e.get("traceparent")&&e.set("traceparent",c),s){const t=e.get("baggage");t?y(t)||e.set("baggage",`${t},${s}`):e.set("baggage",s)}return e}if(Array.isArray(u)){const e=[...u];u.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",o]),n&&c&&!u.find(e=>"traceparent"===e[0])&&e.push(["traceparent",c]);const t=u.find(e=>"baggage"===e[0]&&y(e[1]));return s&&!t&&e.push(["baggage",s]),e}{const e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,r="baggage"in u?u.baggage:void 0,i=r?Array.isArray(r)?[...r]:[r]:[],a=r&&(Array.isArray(r)?r.find(e=>y(e)):y(r));s&&!a&&i.push(s);const p={...u,"sentry-trace":e??o,baggage:i.length>0?i.join(","):void 0};return n&&c&&!t&&(p.traceparent=c),p}}return{...i};var p}function y(e){return e.split(",").some(e=>e.trim().startsWith(u.SENTRY_BAGGAGE_KEY_PREFIX))}function v(e,t,r,n){const o={url:e,type:"fetch","http.method":r,[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:n,[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return t&&((0,f.isURLObjectRelative)(t)||(o["http.url"]=t.href,o["server.address"]=t.host),t.search&&(o["http.query"]=t.search),t.hash&&(o["http.fragment"]=t.hash)),o}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getBodyString:()=>s,getFetchRequestArgBody:()=>a,parseXhrResponseHeaders:()=>c,serializeFormData:()=>o});var n=r(223),i=r(300);function o(e){return new URLSearchParams(e).toString()}function s(e,t=n.debug){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[o(e)];if(!e)return[void 0]}catch(r){return i.DEBUG_BUILD&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return i.DEBUG_BUILD&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function a(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function c(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return i.DEBUG_BUILD&&n.debug.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{const[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{baggageHeaderHasSentryValues:()=>i,createHeadersSafely:()=>a,getFullURL:()=>o,isPerformanceResourceTiming:()=>s});var n=r(270);function i(e){return e.split(",").some(e=>e.trim().startsWith("sentry-"))}function o(e){try{return new URL(e,n.WINDOW.location.origin).href}catch{return}}function s(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}function a(e){try{return new Headers(e)}catch{return}}},(e,t,r)=>{"use strict";r.r(t),r.d(t,{excludeGraphQLFetch:()=>n,withoutGraphQLFetch:()=>i});const n=e=>{if("fetch"===e.category){if((e.data?.url??"").includes("/graphql"))return null}return e};function i(e){return(t,r)=>{const i=n(t,r);return null===i?null:e(i,r)}}},e=>{"use strict";e.exports=JSON.parse('{"App":{"title":"Repair Kit","rebootServerSuccess":"Server was restarted successefully.","diskCleanUpSuccess":"Plesk freed up %%size%% of disk space.","diskCleanUpNothing":"Plesk could not free up any disk space. We recommend connecting to the server via SSH or RDP and cleaning up some disk space manually.","memoryCleanUpSuccess":"Plesk freed up %%size%% of RAM. If you continue experiencing issues caused by a lack of memory, we recommend stopping some non-essential processes or adding more RAM to the server.","memoryCleanUpNothing":"Plesk could not free up any RAM. We recommend stopping some non-essential processes or adding more RAM to the server.","restartServiceSuccess":"Plesk has restarted %%serviceName%% service it needs to operate. Try logging in now. If any services stop or become unresponsive again, try troubleshooting the issue or contact support."},"Overview":{"description":"Is Plesk unavailable? This may be caused by technical issues or by a shortage of resources, such as memory or disk space. You can try bringing Plesk back online by following the suggestions found on this page.","loginDescription":"If you believe you have resolved the issues, you can try logging in to Plesk.","loginButton":"Log In to Plesk","helpCenterDescription":"Could not resolve the issue on your own? Visit our %%link%%.","helpCenter":"Help Center","terminalDescription":"You can use %%link%% to resolve the issue","terminalLink":"the SSH terminal"},"RestartServer":{"description":"Sometimes, restarting the server is enough to bring things back to normal.","button":"Restart the Server","dialogText":"Note that after you restart the server, both Plesk and hosted websites will become unavailable for a short time. Keep refreshing the page until you see the Plesk login page."},"Disk":{"title":"Disk Space","description":"Both Plesk and Plesk services need sufficient disk space to operate properly. If you have run out of free disk space on the disk where Plesk is installed, try freeing some up.","loadingError":"Can not retrieve information about disks usage:","volume":"Disk","volumeFormat":"%%name%% on %%mount_point%%","directories":"Important directories","free":"Free disk space","recommend":"Plesk can try freeing up some disk space by removing temporary files.","recommend2":"If you are permanently experiencing issues with insufficient disk space, consider %%limitingBackupsLink%% on the server. You can also use the %%duExtensionLink%% extension by Plesk to get the detailed analysis of disk space usage.","limitingBackups":"limiting the number of full backups","duExtension":"Diskspace Usage Viewer","cleanUp":"Free Up Disk Space"},"Memory":{"title":"RAM","description":"Hosted websites consume memory. Plesk can malfunction if there is not enough memory for it to operate. You can try freeing up some memory by resetting active connections to hosted websites. If this does not help, we suggest logging in to the server via SSH or RDP and investigating which processes consume the most memory.","loadingError":"Can not retrieve information about memory usage:","free":"Available","recommend":"Plesk can try freeing up some memory by restarting the web server processes.","cleanUp":"Free Up Memory"},"Services":{"PleskSQLServer.title":"MariaDB/MySQL server","PleskSQLServer.description":"Plesk can operate properly only if database server service is running without issues.","SwEngine.title":"Plesk service","SwEngine.description":"Plesk can operate properly only if Plesk service is running without issues.","name":"Service","status":"Status","responding":"Responding","notResponding":"Not Responding","PleskSQLServer.fix":"Restart","SwEngine.fix":"Restart","InnoDB.fix":"Repair","InnoDB.check":"Check","InnoDB.name":"InnoDB files","MysqlFilesPermissions.fix":"Repair","MysqlFilesPermissions.check":"Check","MysqlFilesPermissions.name":"File permissions"},"ServiceStatus":{"PleskSQLServer":{"invalid":"Invalid","disabled":"Disabled","starting":"Starting","running":"Running","stopping":"Stopping","stopped":"Stopped","pausing":"Pausing","paused":"Paused","continuing":"Continuing"},"SwEngine":{"invalid":"Invalid","disabled":"Disabled","starting":"Starting","running":"Running","stopping":"Stopping","stopped":"Stopped","pausing":"Pausing","paused":"Paused","continuing":"Continuing"},"InnoDB":{"ok":"No corrupted tablespace files","corrupted":"Corrupted tablespace files","failed":"Something went wrong","error":"Something went wrong","inactive":"Not checked yet"},"MysqlFilesPermissions":{"ok":"No issues detected","corrupted":"Incorrect permissions detected","failed":"Something went wrong","error":"Something went wrong","inactive":"Not checked yet"}},"Available":{"format":"%%percent%% (%%free%% of %%total%% total)"},"Bytes":{"suffix":"B","kilo":"K","mega":"M","giga":"G","tera":"T"},"SubmitPopover":{"checkDescription":"InnoDB tablespace files check operation requires time to execute. During this time MariaDB/MySQL server will be stopped and websites that rely on it will not be available.","repairList":"Automatic repair of corrupted InnoDB tablespace files:","repairListOption1":"Consumes disk space because Plesk attempts to back up the data.","repairListOption2":"May cause data loss because corrupted databases are dropped before the repair attempt. If automatic repair fails, you may try to restore the data from the backup.","repairTroubleshootingArticleText":"You can also try to manually repair corrupted InnoDB tablespace files by following the steps from the %%troubleshootingArticle%%.","repairConfirmationText":"Continue automatic repair?","repairTroubleshootingArticle":"KB article","ok":"Continue","cancel":"Cancel"}}')}],r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=t,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>e+".js?a5d7d3f893dbc64aed1f",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},n.l=(t,r,i,o)=>{if(e[t])e[t].push(r);else{var s,a;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==t){s=p;break}}s||(a=!0,(s=document.createElement("script")).charset="utf-8",n.nc&&s.setAttribute("nonce",n.nc),s.src=t),e[t]=[r];var l=(r,n)=>{s.onerror=s.onload=null,clearTimeout(d);var i=e[t];if(delete e[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach(e=>e(n)),r)return r(n)},d=setTimeout(l.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=l.bind(null,s.onerror),s.onload=l.bind(null,s.onload),a&&document.head.appendChild(s)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=r[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={0:0};n.f.j=(t,r)=>{var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((r,n)=>i=e[t]=[r,n]);r.push(i[2]=o);var s=n.p+n.u(t),a=new Error;n.l(s,r=>{if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",a.name="ChunkLoadError",a.type=o,a.request=s,i[1](a)}},"chunk-"+t,t)}};var t=(t,r)=>{var i,o,[s,a,c]=r,u=0;if(s.some(t=>0!==e[t])){for(i in a)n.o(a,i)&&(n.m[i]=a[i]);if(c)c(n)}for(t&&t(r);u<s.length;u++)o=s[u],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk=globalThis.webpackChunk||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var i={};(()=>{"use strict";n.r(i);var e=n(1),t=n(4),r=n(2);(0,e.createRoot)(document.getElementById("app")).render((0,r.jsx)(t.default,{}))})()})();
|
||
//# sourceMappingURL=app.js.map?98b20c974ff260a40239
|