/*! For license information please see home.bundle.js.LICENSE.txt */ (()=>{var e,t={6912:(e,t,n)=>{"use strict";var r,i,o;function a(e){return e&&!!["provider"].find((function(t){return e.hasOwnProperty(t)}))}function s(e){return void 0!==e.redirectSignIn}n.d(t,{g:()=>Po}),function(e){e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple"}(r||(r={})),function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e.DeviceConfig="deviceConfig",e.NetworkError="networkError",e.AutoSignInError="autoSignInError"}(i||(i={})),function(e){e.API_KEY="API_KEY",e.AWS_IAM="AWS_IAM",e.OPENID_CONNECT="OPENID_CONNECT",e.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",e.AWS_LAMBDA="AWS_LAMBDA"}(o||(o={}));var u=n(9719),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},h=function(){for(var e=[],t=0;t-1)&&(r===f||p.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences"));var i={channel:e,payload:c({},t),source:n,patternInfo:[]};try{this._toListeners(i)}catch(e){p.error(e)}},e.prototype.listen=function(e,t,n){var r,i=this;if(void 0===n&&(n="noname"),function(e){return void 0!==e.onHubCapsule}(t))p.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),r=t.onHubCapsule.bind(t);else{if("function"!=typeof t)throw new Error("No callback supplied to Hub");r=t}if(e instanceof RegExp)this.patterns.push({pattern:e,callback:r});else{var o=this.listeners[e];o||(o=[],this.listeners[e]=o),o.push({name:n,callback:r})}return function(){i.remove(e,r)}},e.prototype._toListeners=function(e){var t=e.channel,n=e.payload,r=this.listeners[t];if(r&&r.forEach((function(r){p.debug("Dispatching to "+t+" with ",n);try{r.callback(e)}catch(e){p.error(e)}})),this.patterns.length>0){if(!n.message)return void p.warn("Cannot perform pattern matching without a message key");var i=n.message;this.patterns.forEach((function(t){var n=i.match(t.pattern);if(n){var r=l(n).slice(1),o=c(c({},e),{patternInfo:r});try{t.callback(o)}catch(e){p.error(e)}}}))}},e}())("__default__");var g={},m=function(){function e(){}return e.setItem=function(e,t){return g[e]=t,g[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(g,e)?g[e]:void 0},e.removeItem=function(e){return delete g[e]},e.clear=function(){return g={}},e}(),v=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=m}}return e.prototype.getStorage=function(){return this.storageWindow},e}();var y=[{type:"text/plain",ext:"txt"},{type:"text/html",ext:"html"},{type:"text/javascript",ext:"js"},{type:"text/css",ext:"css"},{type:"text/csv",ext:"csv"},{type:"text/yaml",ext:"yml"},{type:"text/yaml",ext:"yaml"},{type:"text/calendar",ext:"ics"},{type:"text/calendar",ext:"ical"},{type:"image/apng",ext:"apng"},{type:"image/bmp",ext:"bmp"},{type:"image/gif",ext:"gif"},{type:"image/x-icon",ext:"ico"},{type:"image/x-icon",ext:"cur"},{type:"image/jpeg",ext:"jpg"},{type:"image/jpeg",ext:"jpeg"},{type:"image/jpeg",ext:"jfif"},{type:"image/jpeg",ext:"pjp"},{type:"image/jpeg",ext:"pjpeg"},{type:"image/png",ext:"png"},{type:"image/svg+xml",ext:"svg"},{type:"image/tiff",ext:"tif"},{type:"image/tiff",ext:"tiff"},{type:"image/webp",ext:"webp"},{type:"application/json",ext:"json"},{type:"application/xml",ext:"xml"},{type:"application/x-sh",ext:"sh"},{type:"application/zip",ext:"zip"},{type:"application/x-rar-compressed",ext:"rar"},{type:"application/x-tar",ext:"tar"},{type:"application/x-bzip",ext:"bz"},{type:"application/x-bzip2",ext:"bz2"},{type:"application/pdf",ext:"pdf"},{type:"application/java-archive",ext:"jar"},{type:"application/msword",ext:"doc"},{type:"application/vnd.ms-excel",ext:"xls"},{type:"application/vnd.ms-excel",ext:"xlsx"},{type:"message/rfc822",ext:"eml"}],b=function(e){return void 0===e&&(e={}),0===Object.keys(e).length},w=function(e,t,n){if(!e||!e.sort)return!1;var r=n&&"desc"===n?-1:1;return e.sort((function(e,n){var i=e[t],o=n[t];return void 0===o?void 0===i?0:1*r:void 0===i||io?1*r:0})),!0},x=function(e,t){var n=Object.assign({},e);return t&&("string"==typeof t?delete n[t]:t.forEach((function(e){delete n[e]}))),n},S=function(e,t){void 0===t&&(t="application/octet-stream");var n=e.toLowerCase(),r=y.filter((function(e){return n.endsWith("."+e.ext)}));return r.length>0?r[0].type:t},_=function(e){var t=e.toLowerCase();return!!t.startsWith("text/")||("application/json"===t||"application/xml"===t||"application/sh"===t)},C=function(){for(var e="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=32;n>0;n-=1)e+=t[Math.floor(Math.random()*t.length)];return e},k=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,i=e.then((function(e){return r=!0,t=!1,e}),(function(e){throw n=!0,t=!1,e}));return i.isFullfilled=function(){return r},i.isPending=function(){return t},i.isRejected=function(){return n},i},E=function(){if("undefined"==typeof self)return!1;var e=self;return void 0!==e.WorkerGlobalScope&&self instanceof e.WorkerGlobalScope},A=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}},P=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!T(e))return e;var r={};for(var i in e){if(e.hasOwnProperty(i))r[t.includes(i)?i:i[0].toLowerCase()+i.slice(1)]=n.includes(i)?e[i]:P(e[i],t,n)}return r},I=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!T(e))return e;var r={};for(var i in e){if(e.hasOwnProperty(i))r[t.includes(i)?i:i[0].toUpperCase()+i.slice(1)]=n.includes(i)?e[i]:I(e[i],t,n)}return r},T=function(e){return!(!(e instanceof Object)||e instanceof Array||e instanceof Function||e instanceof Number||e instanceof String||e instanceof Boolean)};!function(){function e(){}e.isEmpty=b,e.sortByField=w,e.objectLessAttributes=x,e.filenameToContentType=S,e.isTextFile=_,e.generateRandomString=C,e.makeQuerablePromise=k,e.isWebWorker=E,e.browserOrNode=A,e.transferKeyToLowerCase=P,e.transferKeyToUpperCase=I,e.isStrictObject=T}();var O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},L=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},M=function(){for(var e=[],t=0;te)&&n}}(n),r)},B=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},F=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}var se,ue,ce,le,he,pe,fe,de,ge,me,ve,ye,be,we,xe,Se,_e,Ce,ke,Ee,Ae,Pe,Ie,Te,Oe,Re,Le,Ue,Me,Ne,De,je,Be,Fe,Ze,Ve,ze,He,We,qe,Ge,Ke,$e,Je,Ye,Xe,Qe,et,tt,nt,rt,it,ot,at,st,ut,ct;Object.create;!function(e){e.AUTHENTICATED_ROLE="AuthenticatedRole",e.DENY="Deny"}(se||(se={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ue||(ue={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ce||(ce={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(le||(le={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(he||(he={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(pe||(pe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(fe||(fe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(de||(de={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ge||(ge={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(me||(me={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ve||(ve={})),function(e){e.ACCESS_DENIED="AccessDenied",e.INTERNAL_SERVER_ERROR="InternalServerError"}(ye||(ye={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(be||(be={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(we||(we={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(xe||(xe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Se||(Se={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(_e||(_e={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ce||(Ce={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ke||(ke={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ee||(Ee={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ae||(Ae={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Pe||(Pe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ie||(Ie={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Te||(Te={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Oe||(Oe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Re||(Re={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Le||(Le={})),function(e){e.CONTAINS="Contains",e.EQUALS="Equals",e.NOT_EQUAL="NotEqual",e.STARTS_WITH="StartsWith"}(Ue||(Ue={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Me||(Me={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ne||(Ne={})),function(e){e.RULES="Rules",e.TOKEN="Token"}(De||(De={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(je||(je={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Be||(Be={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Fe||(Fe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ze||(Ze={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ve||(Ve={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ze||(ze={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(He||(He={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(We||(We={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(qe||(qe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ge||(Ge={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ke||(Ke={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}($e||($e={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Je||(Je={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Ye||(Ye={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Xe||(Xe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(Qe||(Qe={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(et||(et={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(tt||(tt={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(nt||(nt={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(rt||(rt={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(it||(it={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ot||(ot={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(at||(at={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(st||(st={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ut||(ut={})),function(e){e.filterSensitiveLog=function(e){return re({},e)}}(ct||(ct={}));var lt=function(){function e(e){this.statusCode=e.statusCode,this.headers=e.headers||{},this.body=e.body}return e.isInstance=function(e){if(!e)return!1;var t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers},e}(),ht=function(){function e(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){if(!e)return!1;var t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers},e.prototype.clone=function(){var t,n=new e((0,ee.__assign)((0,ee.__assign)({},this),{headers:(0,ee.__assign)({},this.headers)}));return n.query&&(n.query=(t=n.query,Object.keys(t).reduce((function(e,n){var r,i=t[n];return(0,ee.__assign)((0,ee.__assign)({},e),((r={})[n]=Array.isArray(i)?(0,ee.__spread)(i):i,r))}),{}))),n},e}();var pt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r,i,o,a,s,u,c,l,h,p,f,d,g,m;return oe(this,(function(v){switch(v.label){case 0:return r=[re({},e)],m={},[4,Zt(e.body,t)];case 1:switch(n=re.apply(void 0,r.concat([(m.body=v.sent(),m)])),o="UnknownError",o=Vt(e,n.body),o){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,dt(n,t)];case 3:return i=re.apply(void 0,[re.apply(void 0,a.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 4:return s=[{}],[4,gt(n,t)];case 5:return i=re.apply(void 0,[re.apply(void 0,s.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 6:return u=[{}],[4,mt(n,t)];case 7:return i=re.apply(void 0,[re.apply(void 0,u.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 8:return c=[{}],[4,vt(n,t)];case 9:return i=re.apply(void 0,[re.apply(void 0,c.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 10:return l=[{}],[4,bt(n,t)];case 11:return i=re.apply(void 0,[re.apply(void 0,l.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 12:return h=[{}],[4,wt(n,t)];case 13:return i=re.apply(void 0,[re.apply(void 0,h.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 14:return p=[{}],[4,xt(n,t)];case 15:return i=re.apply(void 0,[re.apply(void 0,p.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 16:return f=[{}],[4,St(n,t)];case 17:return i=re.apply(void 0,[re.apply(void 0,f.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 18:d=n.body,o=d.code||d.Code||o,i=re(re({},d),{name:""+o,message:d.message||d.Message||o,$fault:"client",$metadata:jt(e)}),v.label=19;case 19:return g=i.message||i.Message||o,i.message=g,delete i.Message,[2,Promise.reject(Object.assign(new Error(g),i))]}}))}))},ft=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r,i,o,a,s,u,c,l,h,p,f,d,g,m;return oe(this,(function(v){switch(v.label){case 0:return r=[re({},e)],m={},[4,Zt(e.body,t)];case 1:switch(n=re.apply(void 0,r.concat([(m.body=v.sent(),m)])),o="UnknownError",o=Vt(e,n.body),o){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return a=[{}],[4,dt(n,t)];case 3:return i=re.apply(void 0,[re.apply(void 0,a.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 4:return s=[{}],[4,gt(n,t)];case 5:return i=re.apply(void 0,[re.apply(void 0,s.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 6:return u=[{}],[4,vt(n,t)];case 7:return i=re.apply(void 0,[re.apply(void 0,u.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 8:return c=[{}],[4,yt(n,t)];case 9:return i=re.apply(void 0,[re.apply(void 0,c.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 10:return l=[{}],[4,bt(n,t)];case 11:return i=re.apply(void 0,[re.apply(void 0,l.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 12:return h=[{}],[4,wt(n,t)];case 13:return i=re.apply(void 0,[re.apply(void 0,h.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 14:return p=[{}],[4,xt(n,t)];case 15:return i=re.apply(void 0,[re.apply(void 0,p.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 16:return f=[{}],[4,St(n,t)];case 17:return i=re.apply(void 0,[re.apply(void 0,f.concat([v.sent()])),{name:o,$metadata:jt(e)}]),[3,19];case 18:d=n.body,o=d.code||d.Code||o,i=re(re({},d),{name:""+o,message:d.message||d.Message||o,$fault:"client",$metadata:jt(e)}),v.label=19;case 19:return g=i.message||i.Message||o,i.message=g,delete i.Message,[2,Promise.reject(Object.assign(new Error(g),i))]}}))}))},dt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=At(n,t),[2,re({name:"ExternalServiceException",$fault:"client",$metadata:jt(e)},r)]}))}))},gt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Tt(n,t),[2,re({name:"InternalErrorException",$fault:"server",$metadata:jt(e)},r)]}))}))},mt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Ot(n,t),[2,re({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:jt(e)},r)]}))}))},vt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Rt(n,t),[2,re({name:"InvalidParameterException",$fault:"client",$metadata:jt(e)},r)]}))}))},yt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Lt(n,t),[2,re({name:"LimitExceededException",$fault:"client",$metadata:jt(e)},r)]}))}))},bt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Ut(n,t),[2,re({name:"NotAuthorizedException",$fault:"client",$metadata:jt(e)},r)]}))}))},wt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Mt(n,t),[2,re({name:"ResourceConflictException",$fault:"client",$metadata:jt(e)},r)]}))}))},xt=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Nt(n,t),[2,re({name:"ResourceNotFoundException",$fault:"client",$metadata:jt(e)},r)]}))}))},St=function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n=e.body,r=Dt(n,t),[2,re({name:"TooManyRequestsException",$fault:"client",$metadata:jt(e)},r)]}))}))},_t=function(e,t){return re(re(re({},void 0!==e.CustomRoleArn&&null!==e.CustomRoleArn&&{CustomRoleArn:e.CustomRoleArn}),void 0!==e.IdentityId&&null!==e.IdentityId&&{IdentityId:e.IdentityId}),void 0!==e.Logins&&null!==e.Logins&&{Logins:kt(e.Logins,t)})},Ct=function(e,t){return re(re(re({},void 0!==e.AccountId&&null!==e.AccountId&&{AccountId:e.AccountId}),void 0!==e.IdentityPoolId&&null!==e.IdentityPoolId&&{IdentityPoolId:e.IdentityPoolId}),void 0!==e.Logins&&null!==e.Logins&&{Logins:kt(e.Logins,t)})},kt=function(e,t){return Object.entries(e).reduce((function(e,t){var n,r=ae(t,2),i=r[0],o=r[1];return null===o?e:re(re({},e),((n={})[i]=o,n))}),{})},Et=function(e,t){return{AccessKeyId:void 0!==e.AccessKeyId&&null!==e.AccessKeyId?e.AccessKeyId:void 0,Expiration:void 0!==e.Expiration&&null!==e.Expiration?new Date(Math.round(1e3*e.Expiration)):void 0,SecretKey:void 0!==e.SecretKey&&null!==e.SecretKey?e.SecretKey:void 0,SessionToken:void 0!==e.SessionToken&&null!==e.SessionToken?e.SessionToken:void 0}},At=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Pt=function(e,t){return{Credentials:void 0!==e.Credentials&&null!==e.Credentials?Et(e.Credentials):void 0,IdentityId:void 0!==e.IdentityId&&null!==e.IdentityId?e.IdentityId:void 0}},It=function(e,t){return{IdentityId:void 0!==e.IdentityId&&null!==e.IdentityId?e.IdentityId:void 0}},Tt=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Ot=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Rt=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Lt=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Ut=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Mt=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Nt=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Dt=function(e,t){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},jt=function(e){var t;return{httpStatusCode:e.statusCode,requestId:null!==(t=e.headers["x-amzn-requestid"])&&void 0!==t?t:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},Bt=function(e,t){return void 0===e&&(e=new Uint8Array),e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array)},Ft=function(e,t,n,r,i){return ie(void 0,void 0,void 0,(function(){var o,a,s,u,c,l;return oe(this,(function(h){switch(h.label){case 0:return[4,e.endpoint()];case 1:return o=h.sent(),a=o.hostname,s=o.protocol,u=void 0===s?"https":s,c=o.port,l={protocol:u,hostname:a,port:c,method:"POST",path:n,headers:t},void 0!==r&&(l.hostname=r),void 0!==i&&(l.body=i),[2,new ht(l)]}}))}))},Zt=function(e,t){return function(e,t){return Bt(e,t).then((function(e){return t.utf8Encoder(e)}))}(e,t).then((function(e){return e.length?JSON.parse(e):{}}))},Vt=function(e,t){var n,r,i=function(e){var t=e;return t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},o=(n=e.headers,r="x-amzn-errortype",Object.keys(n).find((function(e){return e.toLowerCase()===r.toLowerCase()})));return void 0!==o?i(e.headers[o]):void 0!==t.code?i(t.code):void 0!==t.__type?i(t.__type):""},zt={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Ht={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Wt(e,t,n){return{applyToStack:function(r){r.add(function(e,t){return function(n,r){return function(r){return(0,ee.__awaiter)(void 0,void 0,void 0,(function(){var i,o;return(0,ee.__generator)(this,(function(a){switch(a.label){case 0:return[4,n(r)];case 1:return i=a.sent().response,[4,t(i,e)];case 2:return o=a.sent(),[2,{response:i,output:o}]}}))}))}}}(e,n),zt),r.add(function(e,t){return function(n,r){return function(r){return(0,ee.__awaiter)(void 0,void 0,void 0,(function(){var i;return(0,ee.__generator)(this,(function(o){switch(o.label){case 0:return[4,t(r.input,e)];case 1:return i=o.sent(),[2,n((0,ee.__assign)((0,ee.__assign)({},r),{request:i}))]}}))}))}}}(e,t),Ht)}}}var qt=function(){var e=[],t=[],n=new Set,r=function(n){return e.forEach((function(e){n.add(e.middleware,(0,ee.__assign)({},e))})),t.forEach((function(e){n.addRelativeTo(e.middleware,(0,ee.__assign)({},e))})),n},i=function(e){var t=[];return e.before.forEach((function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,(0,ee.__spread)(i(e)))})),t.push(e),e.after.reverse().forEach((function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,(0,ee.__spread)(i(e)))})),t},o=function(){var n,r=[],o=[],a={};return e.forEach((function(e){var t=(0,ee.__assign)((0,ee.__assign)({},e),{before:[],after:[]});t.name&&(a[t.name]=t),r.push(t)})),t.forEach((function(e){var t=(0,ee.__assign)((0,ee.__assign)({},e),{before:[],after:[]});t.name&&(a[t.name]=t),o.push(t)})),o.forEach((function(e){if(e.toMiddleware){var t=a[e.toMiddleware];if(void 0===t)throw new Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}})),(n=r,n.sort((function(e,t){return Gt[t.step]-Gt[e.step]||Kt[t.priority||"normal"]-Kt[e.priority||"normal"]}))).map(i).reduce((function(e,t){return e.push.apply(e,(0,ee.__spread)(t)),e}),[]).map((function(e){return e.middleware}))},a={add:function(t,r){void 0===r&&(r={});var i=r.name,o=r.override,a=(0,ee.__assign)({step:"initialize",priority:"normal",middleware:t},r);if(i){if(n.has(i)){if(!o)throw new Error("Duplicate middleware name '"+i+"'");var s=e.findIndex((function(e){return e.name===i})),u=e[s];if(u.step!==a.step||u.priority!==a.priority)throw new Error('"'+i+'" middleware with '+u.priority+" priority in "+u.step+" step cannot be overridden by same-name middleware with "+a.priority+" priority in "+a.step+" step.");e.splice(s,1)}n.add(i)}e.push(a)},addRelativeTo:function(e,r){var i=r.name,o=r.override,a=(0,ee.__assign)({middleware:e},r);if(i){if(n.has(i)){if(!o)throw new Error("Duplicate middleware name '"+i+"'");var s=t.findIndex((function(e){return e.name===i})),u=t[s];if(u.toMiddleware!==a.toMiddleware||u.relation!==a.relation)throw new Error('"'+i+'" middleware '+u.relation+' "'+u.toMiddleware+'" middleware cannot be overridden by same-name middleware '+a.relation+' "'+a.toMiddleware+'" middleware.');t.splice(s,1)}n.add(i)}t.push(a)},clone:function(){return r(qt())},use:function(e){e.applyToStack(a)},remove:function(r){return"string"==typeof r?function(r){var i=!1,o=function(e){return!e.name||e.name!==r||(i=!0,n.delete(r),!1)};return e=e.filter(o),t=t.filter(o),i}(r):function(r){var i=!1,o=function(e){return e.middleware!==r||(i=!0,e.name&&n.delete(e.name),!1)};return e=e.filter(o),t=t.filter(o),i}(r)},removeByTag:function(r){var i=!1,o=function(e){var t=e.tags,o=e.name;return!t||!t.includes(r)||(o&&n.delete(o),i=!0,!1)};return e=e.filter(o),t=t.filter(o),i},concat:function(e){var t=r(qt());return t.use(e),t},applyToStack:r,resolve:function(e,t){var n,r;try{for(var i=(0,ee.__values)(o().reverse()),a=i.next();!a.done;a=i.next()){e=(0,a.value)(e,t)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e}};return a},Gt={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Kt={high:3,normal:2,low:1},$t=function(){function e(e){this.middlewareStack=qt(),this.config=e}return e.prototype.send=function(e,t,n){var r="function"!=typeof t?t:void 0,i="function"==typeof t?t:n,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(!i)return o(e).then((function(e){return e.output}));o(e).then((function(e){return i(null,e.output)}),(function(e){return i(e)})).catch((function(){}))},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),Jt=function(){this.middlewareStack=qt()},Yt=function(){var e=Object.getPrototypeOf(this).constructor,t=Function.bind.apply(String,(0,ee.__spread)([null],arguments)),n=new t;return Object.setPrototypeOf(n,e.prototype),n};Yt.prototype=Object.create(String.prototype,{constructor:{value:Yt,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(Yt,String);!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,ee.__extends)(t,e),t.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},t.prototype.toJSON=function(){return e.prototype.toString.call(this)},t.fromObject=function(e){return e instanceof t?e:new t(e instanceof String||"string"==typeof e?e:JSON.stringify(e))}}(Yt);var Xt=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return ne(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Wt(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),i={logger:t.logger,clientName:"CognitoIdentityClient",commandName:"GetCredentialsForIdentityCommand",inputFilterSensitiveLog:Ae.filterSensitiveLog,outputFilterSensitiveLog:Ie.filterSensitiveLog},o=t.requestHandler;return r.resolve((function(e){return o.handle(e.request,n||{})}),i)},t.prototype.serialize=function(e,t){return function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},r=JSON.stringify(_t(e,t)),[2,Ft(t,n,"/",void 0,r)]}))}))}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r,i;return oe(this,(function(o){switch(o.label){case 0:return e.statusCode>=300?[2,pt(e,t)]:[4,Zt(e.body,t)];case 1:return n=o.sent(),{},r=Pt(n,t),i=re({$metadata:jt(e)},r),[2,Promise.resolve(i)]}}))}))}(e,t)},t}(Jt),Qt=function(e){function t(t,n){void 0===n&&(n=!0);var r=e.call(this,t)||this;return r.tryNextLink=n,r}return(0,ee.__extends)(t,e),t}(Error);function en(e){return Promise.all(Object.keys(e).reduce((function(t,n){var r=e[n];return"string"==typeof r?t.push([n,r]):t.push(r().then((function(e){return[n,e]}))),t}),[])).then((function(e){return e.reduce((function(e,t){var n=(0,ee.__read)(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}))}function tn(e){var t=this;return function(){return(0,ee.__awaiter)(t,void 0,void 0,(function(){var t,n,r,i,o,a,s,u,c,l,h,p,f;return(0,ee.__generator)(this,(function(d){switch(d.label){case 0:return l=(c=e.client).send,h=Xt.bind,f={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,en(e.logins)]:[3,2];case 1:return p=d.sent(),[3,3];case 2:p=void 0,d.label=3;case 3:return[4,l.apply(c,[new(h.apply(Xt,[void 0,(f.Logins=p,f)]))])];case 4:return t=d.sent().Credentials,n=void 0===t?function(){throw new Qt("Response from Amazon Cognito contained no credentials")}():t,r=n.AccessKeyId,i=void 0===r?function(){throw new Qt("Response from Amazon Cognito contained no access key ID")}():r,o=n.Expiration,a=n.SecretKey,s=void 0===a?function(){throw new Qt("Response from Amazon Cognito contained no secret key")}():a,u=n.SessionToken,[2,{identityId:e.identityId,accessKeyId:i,secretAccessKey:s,sessionToken:u,expiration:o}]}}))}))}}var nn=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return ne(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Wt(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),i={logger:t.logger,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:Oe.filterSensitiveLog,outputFilterSensitiveLog:Re.filterSensitiveLog},o=t.requestHandler;return r.resolve((function(e){return o.handle(e.request,n||{})}),i)},t.prototype.serialize=function(e,t){return function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r;return oe(this,(function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},r=JSON.stringify(Ct(e,t)),[2,Ft(t,n,"/",void 0,r)]}))}))}(e,t)},t.prototype.deserialize=function(e,t){return function(e,t){return ie(void 0,void 0,void 0,(function(){var n,r,i;return oe(this,(function(o){switch(o.label){case 0:return e.statusCode>=300?[2,ft(e,t)]:[4,Zt(e.body,t)];case 1:return n=o.sent(),{},r=It(n,t),i=re({$metadata:jt(e)},r),[2,Promise.resolve(i)]}}))}))}(e,t)},t}(Jt),rn=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",(function(t){var n=t.get(e);return new Promise((function(e){n.onerror=function(){return e(null)},n.onsuccess=function(){return e(n.result?n.result.value:null)}}))})).catch((function(){return null}))},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",(function(t){var n=t.delete(e);return new Promise((function(e,t){n.onerror=function(){return t(n.error)},n.onsuccess=function(){return e()}}))}))},e.prototype.setItem=function(e,t){return this.withObjectStore("readwrite",(function(n){var r=n.put({id:e,value:t});return new Promise((function(e,t){r.onerror=function(){return t(r.error)},r.onsuccess=function(){return e()}}))}))},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise((function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)},e.onblocked=function(){n(new Error("Unable to access DB"))},e.onupgradeneeded=function(){var t=e.result;t.onerror=function(){n(new Error("Failed to create object store"))},t.createObjectStore("IdentityIds",{keyPath:"id"})}}))},e.prototype.withObjectStore=function(e,t){return this.getDb().then((function(n){var r=n.transaction("IdentityIds",e);return r.oncomplete=function(){return n.close()},new Promise((function(e,n){r.onerror=function(){return n(r.error)},e(t(r.objectStore("IdentityIds")))})).catch((function(e){throw n.close(),e}))}))},e}(),on=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,t){this.store[e]=t},e}());function an(e){var t=this,n=e.accountId,r=e.cache,i=void 0===r?"object"==typeof self&&self.indexedDB?new rn:"object"==typeof window&&window.localStorage?window.localStorage:on:r,o=e.client,a=e.customRoleArn,s=e.identityPoolId,u=e.logins,c=e.userIdentifier,l=void 0===c?u&&0!==Object.keys(u).length?void 0:"ANONYMOUS":c,h=l?"aws:cognito-identity-credentials:"+s+":"+l:void 0,p=function(){return(0,ee.__awaiter)(t,void 0,void 0,(function(){var e,t,r,c,l,f,d,g,m;return(0,ee.__generator)(this,(function(v){switch(v.label){case 0:return(t=h)?[4,i.getItem(h)]:[3,2];case 1:t=v.sent(),v.label=2;case 2:return(e=t)?[3,7]:(f=(l=o).send,d=nn.bind,m={AccountId:n,IdentityPoolId:s},u?[4,en(u)]:[3,4]);case 3:return g=v.sent(),[3,5];case 4:g=void 0,v.label=5;case 5:return[4,f.apply(l,[new(d.apply(nn,[void 0,(m.Logins=g,m)]))])];case 6:r=v.sent().IdentityId,c=void 0===r?function(){throw new Qt("Response from Amazon Cognito contained no identity ID")}():r,e=c,h&&Promise.resolve(i.setItem(h,e)).catch((function(){})),v.label=7;case 7:return[2,(p=tn({client:o,customRoleArn:a,logins:u,identityId:e}))()]}}))}))};return function(){return p().catch((function(e){return(0,ee.__awaiter)(t,void 0,void 0,(function(){return(0,ee.__generator)(this,(function(t){throw h&&Promise.resolve(i.removeItem(h)).catch((function(){})),e}))}))}))}}var sn=n(7643),un=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,cn)},cn=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()};for(var ln=function(){function e(e){var t=(void 0===e?{}:e).requestTimeout;this.requestTimeout=t}return e.prototype.destroy=function(){},e.prototype.handle=function(e,t){var n=(void 0===t?{}:t).abortSignal,r=this.requestTimeout;if(null==n?void 0:n.aborted){var i=new Error("Request aborted");return i.name="AbortError",Promise.reject(i)}var o=e.path;if(e.query){var a=function(e){var t,n,r=[];try{for(var i=(0,ee.__values)(Object.keys(e).sort()),o=i.next();!o.done;o=i.next()){var a=o.value,s=e[a];if(a=un(a),Array.isArray(s))for(var u=0,c=s.length;u>=6;var c=i/4*3;o>>=a%8;for(var l=Math.floor(a/8),h=0;h>p)}}return new Uint8Array(n)}function bn(e){return new Promise((function(t,n){var r=new FileReader;r.onloadend=function(){var e;if(2!==r.readyState)return n(new Error("Reader aborted too early"));var i=null!==(e=r.result)&&void 0!==e?e:"",o=i.indexOf(","),a=o>-1?o+1:i.length;t(i.substring(a))},r.onabort=function(){return n(new Error("Read aborted"))},r.onerror=function(){return n(r.error)},r.readAsDataURL(e)}))}var wn={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},xn=function(e){return{applyToStack:function(t){t.add(function(e){return function(t,n){return function(r){return(0,ee.__awaiter)(void 0,void 0,void 0,(function(){var i;return(0,ee.__generator)(this,(function(o){return(null===(i=null==e?void 0:e.retryStrategy)||void 0===i?void 0:i.mode)&&(n.userAgent=(0,ee.__spread)(n.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(t,r)]}))}))}}}(e),wn)}}},Sn=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],_n=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],Cn=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],kn=[500,502,503,504],En=function(e){var t,n;return 429===(null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||_n.includes(e.name)||1==(null===(n=e.$retryable)||void 0===n?void 0:n.throttling)},An=n(4776),Pn=function(e,t){return Math.floor(Math.min(2e4,Math.random()*Math.pow(2,t)*e))},In=function(e){return!!e&&(function(e){return void 0!==e.$retryable}(e)||function(e){return Sn.includes(e.name)}(e)||En(e)||function(e){var t;return Cn.includes(e.name)||kn.includes((null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||0)}(e))},Tn=function(){function e(e,t){var n,r,i,o,a,s,u,c;this.maxAttemptsProvider=e,this.mode="standard",this.retryDecider=null!==(n=null==t?void 0:t.retryDecider)&&void 0!==n?n:In,this.delayDecider=null!==(r=null==t?void 0:t.delayDecider)&&void 0!==r?r:Pn,this.retryQuota=null!==(i=null==t?void 0:t.retryQuota)&&void 0!==i?i:(a=o=500,s=o,u=function(e){return"TimeoutError"===e.name?10:5},c=function(e){return u(e)<=s},Object.freeze({hasRetryTokens:c,retrieveRetryTokens:function(e){if(!c(e))throw new Error("No retry token available");var t=u(e);return s-=t,t},releaseRetryTokens:function(e){s+=null!=e?e:1,s=Math.min(s,a)}}))}return e.prototype.shouldRetry=function(e,t,n){return t>c]}t+="==".slice(0,4-s)}return t},bodyLengthChecker:function(e){if("string"==typeof e){for(var t=e.length,n=t-1;n>=0;n--){var r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2)}return t}return"number"==typeof e.byteLength?e.byteLength:"number"==typeof e.size?e.size:void 0},credentialDefaultProvider:function(e){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:(Zn={serviceId:Hn.serviceId,clientVersion:"3.6.1"},Vn=Zn.serviceId,zn=Zn.clientVersion,function(){return(0,ee.__awaiter)(void 0,void 0,void 0,(function(){var e,t,n,r,i,o,a,s,u;return(0,ee.__generator)(this,(function(c){return e=(null===(n=null===window||void 0===window?void 0:window.navigator)||void 0===n?void 0:n.userAgent)?Ln().parse(window.navigator.userAgent):void 0,t=[["aws-sdk-js",zn],["os/"+((null===(r=null==e?void 0:e.os)||void 0===r?void 0:r.name)||"other"),null===(i=null==e?void 0:e.os)||void 0===i?void 0:i.version],["lang/js"],["md/browser",(null!==(a=null===(o=null==e?void 0:e.browser)||void 0===o?void 0:o.name)&&void 0!==a?a:"unknown")+"_"+(null!==(u=null===(s=null==e?void 0:e.browser)||void 0===s?void 0:s.version)&&void 0!==u?u:"unknown")]],Vn&&t.push(["api/"+Vn,zn]),[2,t]}))}))}),maxAttempts:3,region:(Fn="Region is missing",function(){return Promise.reject(Fn)}),requestHandler:new ln,sha256:sn.Sha256,streamCollector:function(e){return"function"==typeof Blob&&e instanceof Blob?function(e){return(0,ee.__awaiter)(this,void 0,void 0,(function(){var t,n;return(0,ee.__generator)(this,(function(r){switch(r.label){case 0:return[4,bn(e)];case 1:return t=r.sent(),n=yn(t),[2,new Uint8Array(n)]}}))}))}(e):function(e){return(0,ee.__awaiter)(this,void 0,void 0,(function(){var t,n,r,i,o,a,s;return(0,ee.__generator)(this,(function(u){switch(u.label){case 0:t=new Uint8Array(0),n=e.getReader(),r=!1,u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return i=u.sent(),o=i.done,(a=i.value)&&(s=t,(t=new Uint8Array(s.length+a.length)).set(s),t.set(a,s.length)),r=o,[3,1];case 3:return[2,t]}}))}))}(e)},utf8Decoder:function(e){return"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var t=[],n=0,r=e.length;n>6|192,63&i|128);else if(n+1>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else t.push(i>>12|224,i>>6&63|128,63&i|128)}return Uint8Array.from(t)}(e)},utf8Encoder:function(e){return"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var t="",n=0,r=e.length;n=0&&!r.headers[":authority"]?(delete r.headers.host,r.headers[":authority"]=""):r.headers.host||(r.headers.host=r.hostname),[2,t(n)]):[2,t(n)]}))}))}}}(e),Yn)}}},Qn={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},er=function(e){return{applyToStack:function(e){e.add((function(e,t){return function(n){return(0,ee.__awaiter)(void 0,void 0,void 0,(function(){var r,i,o,a,s,u,c,l,h;return(0,ee.__generator)(this,(function(p){switch(p.label){case 0:return r=t.clientName,i=t.commandName,o=t.inputFilterSensitiveLog,a=t.logger,s=t.outputFilterSensitiveLog,[4,e(n)];case 1:return u=p.sent(),a?("function"==typeof a.info&&(c=u.output,l=c.$metadata,h=(0,ee.__rest)(c,["$metadata"]),a.info({clientName:r,commandName:i,input:o(n.input),output:s(h),metadata:l})),[2,u]):[2,u]}}))}))}}),Qn)}}},tr={},nr={},rr=0;rr<256;rr++){var ir=rr.toString(16).toLowerCase();1===ir.length&&(ir="0"+ir),tr[rr]=ir,nr[ir]=rr}function or(e){for(var t="",n=0;n-1&&delete e.headers[o]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e}function kr(e){return function(e){if("number"==typeof e)return new Date(1e3*e);if("string"==typeof e)return Number(e)?new Date(1e3*Number(e)):new Date(e);return e}(e).toISOString().replace(/\.\d{3}Z$/,"Z")}var Er=function(){function e(e){var t=e.applyChecksum,n=e.credentials,r=e.region,i=e.service,o=e.sha256,a=e.uriEscapePath,s=void 0===a||a;this.service=i,this.sha256=o,this.uriEscapePath=s,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=Ir(r),this.credentialProvider=Tr(n)}return e.prototype.presign=function(e,t){return void 0===t&&(t={}),(0,ee.__awaiter)(this,void 0,void 0,(function(){var n,r,i,o,a,s,u,c,l,h,p,f,d,g,m,v,y,b,w,x,S,_,C,k;return(0,ee.__generator)(this,(function(E){switch(E.label){case 0:return n=t.signingDate,r=void 0===n?new Date:n,i=t.expiresIn,o=void 0===i?3600:i,a=t.unsignableHeaders,s=t.unhoistableHeaders,u=t.signableHeaders,c=t.signingRegion,l=t.signingService,[4,this.credentialProvider()];case 1:return h=E.sent(),null==c?[3,2]:(f=c,[3,4]);case 2:return[4,this.regionProvider()];case 3:f=E.sent(),E.label=4;case 4:return p=f,d=Ar(r),g=d.longDate,m=d.shortDate,o>604800?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(v=mr(m,p,null!=l?l:this.service),y=function(e,t){var n,r,i;void 0===t&&(t={});var o="function"==typeof e.clone?e.clone():Sr(e),a=o.headers,s=o.query,u=void 0===s?{}:s;try{for(var c=(0,ee.__values)(Object.keys(a)),l=c.next();!l.done;l=c.next()){var h=l.value,p=h.toLowerCase();"x-amz-"!==p.substr(0,6)||(null===(i=t.unhoistableHeaders)||void 0===i?void 0:i.has(p))||(u[h]=a[h],delete a[h])}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return(0,ee.__assign)((0,ee.__assign)({},e),{headers:a,query:u})}(Cr(e),{unhoistableHeaders:s}),h.sessionToken&&(y.query["X-Amz-Security-Token"]=h.sessionToken),y.query["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",y.query["X-Amz-Credential"]=h.accessKeyId+"/"+v,y.query["X-Amz-Date"]=g,y.query["X-Amz-Expires"]=o.toString(10),b=yr(y,a,u),y.query["X-Amz-SignedHeaders"]=Pr(b),w=y.query,x="X-Amz-Signature",S=this.getSignature,_=[g,v,this.getSigningKey(h,p,m,l)],C=this.createCanonicalRequest,k=[y,b],[4,xr(e,this.sha256)]);case 5:return[4,S.apply(this,_.concat([C.apply(this,k.concat([E.sent()]))]))];case 6:return w[x]=E.sent(),[2,y]}}))}))},e.prototype.sign=function(e,t){return(0,ee.__awaiter)(this,void 0,void 0,(function(){return(0,ee.__generator)(this,(function(n){return"string"==typeof e?[2,this.signString(e,t)]:e.headers&&e.payload?[2,this.signEvent(e,t)]:[2,this.signRequest(e,t)]}))}))},e.prototype.signEvent=function(e,t){var n=e.headers,r=e.payload,i=t.signingDate,o=void 0===i?new Date:i,a=t.priorSignature,s=t.signingRegion,u=t.signingService;return(0,ee.__awaiter)(this,void 0,void 0,(function(){var e,t,i,c,l,h,p,f,d,g,m;return(0,ee.__generator)(this,(function(v){switch(v.label){case 0:return null==s?[3,1]:(t=s,[3,3]);case 1:return[4,this.regionProvider()];case 2:t=v.sent(),v.label=3;case 3:return e=t,i=Ar(o),c=i.shortDate,l=i.longDate,h=mr(c,e,null!=u?u:this.service),[4,xr({headers:{},body:r},this.sha256)];case 4:return p=v.sent(),(f=new this.sha256).update(n),g=or,[4,f.digest()];case 5:return d=g.apply(void 0,[v.sent()]),m=[fr,l,h,a,d,p].join("\n"),[2,this.signString(m,{signingDate:o,signingRegion:e,signingService:u})]}}))}))},e.prototype.signString=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,i=void 0===r?new Date:r,o=n.signingRegion,a=n.signingService;return(0,ee.__awaiter)(this,void 0,void 0,(function(){var t,n,r,s,u,c,l,h;return(0,ee.__generator)(this,(function(p){switch(p.label){case 0:return[4,this.credentialProvider()];case 1:return t=p.sent(),null==o?[3,2]:(r=o,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=p.sent(),p.label=4;case 4:return n=r,s=Ar(i).shortDate,l=(c=this.sha256).bind,[4,this.getSigningKey(t,n,s,a)];case 5:return(u=new(l.apply(c,[void 0,p.sent()]))).update(e),h=or,[4,u.digest()];case 6:return[2,h.apply(void 0,[p.sent()])]}}))}))},e.prototype.signRequest=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,i=void 0===r?new Date:r,o=n.signableHeaders,a=n.unsignableHeaders,s=n.signingRegion,u=n.signingService;return(0,ee.__awaiter)(this,void 0,void 0,(function(){var t,n,r,c,l,h,p,f,d,g,m;return(0,ee.__generator)(this,(function(v){switch(v.label){case 0:return[4,this.credentialProvider()];case 1:return t=v.sent(),null==s?[3,2]:(r=s,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=v.sent(),v.label=4;case 4:return n=r,c=Cr(e),l=Ar(i),h=l.longDate,p=l.shortDate,f=mr(p,n,null!=u?u:this.service),c.headers[ar]=h,t.sessionToken&&(c.headers[cr]=t.sessionToken),[4,xr(c,this.sha256)];case 5:return d=v.sent(),!function(e,t){var n,r;e=e.toLowerCase();try{for(var i=(0,ee.__values)(Object.keys(t)),o=i.next();!o.done;o=i.next()){if(e===o.value.toLowerCase())return!0}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1}("x-amz-content-sha256",c.headers)&&this.applyChecksum&&(c.headers["x-amz-content-sha256"]=d),g=yr(c,a,o),[4,this.getSignature(h,f,this.getSigningKey(t,n,p,u),this.createCanonicalRequest(c,g,d))];case 6:return m=v.sent(),c.headers.authorization="AWS4-HMAC-SHA256 Credential="+t.accessKeyId+"/"+f+", SignedHeaders="+Pr(g)+", Signature="+m,[2,c]}}))}))},e.prototype.createCanonicalRequest=function(e,t,n){var r=Object.keys(t).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+function(e){var t,n,r=e.query,i=void 0===r?{}:r,o=[],a={},s=function(e){if(e.toLowerCase()===ur)return"continue";o.push(e);var t=i[e];"string"==typeof t?a[e]=br(e)+"="+br(t):Array.isArray(t)&&(a[e]=t.slice(0).sort().reduce((function(t,n){return t.concat([br(e)+"="+br(n)])}),[]).join("&"))};try{for(var u=(0,ee.__values)(Object.keys(i).sort()),c=u.next();!c.done;c=u.next()){s(c.value)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return o.map((function(e){return a[e]})).filter((function(e){return e})).join("&")}(e)+"\n"+r.map((function(e){return e+":"+t[e]})).join("\n")+"\n\n"+r.join(";")+"\n"+n},e.prototype.createStringToSign=function(e,t,n){return(0,ee.__awaiter)(this,void 0,void 0,(function(){var r,i;return(0,ee.__generator)(this,(function(o){switch(o.label){case 0:return(r=new this.sha256).update(n),[4,r.digest()];case 1:return i=o.sent(),[2,"AWS4-HMAC-SHA256\n"+e+"\n"+t+"\n"+or(i)]}}))}))},e.prototype.getCanonicalPath=function(e){var t=e.path;return this.uriEscapePath?"/"+encodeURIComponent(t.replace(/^\//,"")).replace(/%2F/g,"/"):t},e.prototype.getSignature=function(e,t,n,r){return(0,ee.__awaiter)(this,void 0,void 0,(function(){var i,o,a,s,u;return(0,ee.__generator)(this,(function(c){switch(c.label){case 0:return[4,this.createStringToSign(e,t,r)];case 1:return i=c.sent(),s=(a=this.sha256).bind,[4,n];case 2:return(o=new(s.apply(a,[void 0,c.sent()]))).update(i),u=or,[4,o.digest()];case 3:return[2,u.apply(void 0,[c.sent()])]}}))}))},e.prototype.getSigningKey=function(e,t,n,r){return function(e,t,n,r,i){return(0,ee.__awaiter)(void 0,void 0,void 0,(function(){var o,a,s,u,c,l,h,p,f;return(0,ee.__generator)(this,(function(d){switch(d.label){case 0:return[4,vr(e,t.secretAccessKey,t.accessKeyId)];case 1:if(o=d.sent(),(a=n+":"+r+":"+i+":"+or(o)+":"+t.sessionToken)in dr)return[2,dr[a]];for(gr.push(a);gr.length>50;)delete dr[gr.shift()];s="AWS4"+t.secretAccessKey,d.label=2;case 2:d.trys.push([2,7,8,9]),u=(0,ee.__values)([n,r,i,"aws4_request"]),c=u.next(),d.label=3;case 3:return c.done?[3,6]:(l=c.value,[4,vr(e,s,l)]);case 4:s=d.sent(),d.label=5;case 5:return c=u.next(),[3,3];case 6:return[3,9];case 7:return h=d.sent(),p={error:h},[3,9];case 8:try{c&&!c.done&&(f=u.return)&&f.call(u)}finally{if(p)throw p.error}return[7];case 9:return[2,dr[a]=s]}}))}))}(this.sha256,e,n,t,r||this.service)},e}(),Ar=function(e){var t=kr(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.substr(0,8)}},Pr=function(e){return Object.keys(e).sort().join(";")},Ir=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e},Tr=function(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e};function Or(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}var Rr=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Lr=function(e){var t=(0,ee.__read)(e,2),n=t[0],r=t[1],i=n.indexOf("/"),o=n.substring(0,i),a=n.substring(i+1);return"api"===o&&(a=a.toLowerCase()),[o,a,r].filter((function(e){return e&&e.length>0})).map((function(e){return null==e?void 0:e.replace(Rr,"_")})).join("/")},Ur={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Mr=function(e){return{applyToStack:function(t){var n;t.add((n=e,function(e,t){return function(r){return(0,ee.__awaiter)(void 0,void 0,void 0,(function(){var i,o,a,s,u,c,l,h;return(0,ee.__generator)(this,(function(p){switch(p.label){case 0:return i=r.request,ht.isInstance(i)?(o=i.headers,a=(null===(l=null==t?void 0:t.userAgent)||void 0===l?void 0:l.map(Lr))||[],[4,n.defaultUserAgentProvider()]):[2,e(r)];case 1:return s=p.sent().map(Lr),u=(null===(h=null==n?void 0:n.customUserAgent)||void 0===h?void 0:h.map(Lr))||[],o["x-amz-user-agent"]=(0,ee.__spread)(s,a,u).join(" "),c=(0,ee.__spread)(s.filter((function(e){return e.startsWith("aws-sdk-")})),u).join(" "),"browser"!==n.runtime&&c&&(o["user-agent"]=o["user-agent"]?o["user-agent"]+" "+c:c),[2,e((0,ee.__assign)((0,ee.__assign)({},r),{request:i}))]}}))}))}}),Ur)}}},Nr=function(e){function t(t){var n,r,i=this,o=function(e){var t,n=this,r=Or(e.credentials||e.credentialDefaultProvider(e)),i=e.signingEscapePath,o=void 0===i||i,a=e.systemClockOffset,s=void 0===a?e.systemClockOffset||0:a,u=e.sha256;return t=e.signer?Or(e.signer):function(){return Or(e.region)().then((function(t){return(0,ee.__awaiter)(n,void 0,void 0,(function(){return(0,ee.__generator)(this,(function(n){switch(n.label){case 0:return[4,e.regionInfoProvider(t)];case 1:return[2,[n.sent()||{},t]]}}))}))})).then((function(t){var n=(0,ee.__read)(t,2),i=n[0],a=n[1],s=i.signingRegion,c=i.signingService;return e.signingRegion=e.signingRegion||s||a,e.signingName=e.signingName||c||e.serviceId,new Er({credentials:r,region:e.signingRegion,service:e.signingName,sha256:u,uriEscapePath:o})}))},(0,ee.__assign)((0,ee.__assign)({},e),{systemClockOffset:s,signingEscapePath:o,credentials:r,signer:t})}(function(e){var t;return(0,ee.__assign)((0,ee.__assign)({},e),{tls:null===(t=e.tls)||void 0===t||t,endpoint:e.endpoint?qn(e):function(){return Gn(e)},isCustomEndpoint:!!e.endpoint})}(function(e){if(!e.region)throw new Error("Region is missing");return(0,ee.__assign)((0,ee.__assign)({},e),{region:Kn(e.region)})}(re(re({},Wn),t)))),a=function(e){return(0,ee.__assign)((0,ee.__assign)({},e),{customUserAgent:"string"==typeof e.customUserAgent?[[e.customUserAgent]]:e.customUserAgent})}((r=On((n=o).maxAttempts),(0,ee.__assign)((0,ee.__assign)({},n),{maxAttempts:r,retryStrategy:n.retryStrategy||new Tn(r)})));return(i=e.call(this,a)||this).config=a,i.middlewareStack.use(xn(i.config)),i.middlewareStack.use(Jn(i.config)),i.middlewareStack.use(Xn(i.config)),i.middlewareStack.use(er(i.config)),i.middlewareStack.use(Mr(i.config)),i}return ne(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}($t),Dr=function(){return(Dr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1](new Date).getTime()?(Fr.debug("token not expired"),this._setCredentialsFromFederation({provider:t,token:r,user:n,identity_id:i,expires_at:o})):this._refreshHandlers[t]&&"function"==typeof this._refreshHandlers[t]?(Fr.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:this._refreshHandlers[t],provider:t,user:n})):(Fr.debug("no refresh handler for provider:",t),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var t=this,n=e.refreshHandler,r=e.provider,i=e.user;return j(n,[],1e4).then((function(e){return Fr.debug("refresh federated token sucessfully",e),t._setCredentialsFromFederation({provider:r,token:e.token,user:i,identity_id:e.identity_id,expires_at:e.expires_at})})).catch((function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||t.clear(),Fr.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)}))},e.prototype._isExpired=function(e){if(!e)return Fr.debug("no credentials for expiration check"),!0;Fr.debug("are these credentials expired?",e);var t=Date.now();return e.expiration.getTime()<=t},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){return jr(this,void 0,void 0,(function(){var e,t,n,r,i,o,a,s=this;return Br(this,(function(u){switch(u.label){case 0:return Fr.debug("setting credentials for guest"),e=this._config,t=e.identityPoolId,n=e.region,e.mandatorySignIn?[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")]:t?n?(i=this,[4,this._getGuestIdentityId()]):(Fr.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")]):(Fr.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);case 1:return r=i._identityId=u.sent(),o=new Nr({region:n,customUserAgent:X()}),a=void 0,a=r?tn({identityId:r,client:o})():function(){return jr(s,void 0,void 0,(function(){var e;return Br(this,(function(n){switch(n.label){case 0:return[4,o.send(new nn({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,tn({client:o,identityId:e})()]}}))}))}().catch((function(e){return jr(s,void 0,void 0,(function(){return Br(this,(function(t){throw e}))}))})),[2,this._loadCredentials(a,"guest",!1,null).then((function(e){return e})).catch((function(e){return jr(s,void 0,void 0,(function(){var n=this;return Br(this,(function(i){switch(i.label){case 0:return"ResourceNotFoundException"!==e.name||e.message!=="Identity '"+r+"' not found."?[3,2]:(Fr.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()]);case 1:return i.sent(),a=function(){return jr(n,void 0,void 0,(function(){var e;return Br(this,(function(n){switch(n.label){case 0:return[4,o.send(new nn({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,tn({client:o,identityId:e})()]}}))}))}().catch((function(e){return jr(n,void 0,void 0,(function(){return Br(this,(function(t){throw e}))}))})),[2,this._loadCredentials(a,"guest",!1,null)];case 2:return[2,e]}}))}))}))]}}))}))},e.prototype._setCredentialsFromFederation=function(e){var t=e.provider,n=e.token,r=e.identity_id,i={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[t]||t;if(!i)return Promise.reject("You must specify a federated provider");var o={};o[i]=n;var a=this._config,s=a.identityPoolId,u=a.region;if(!s)return Fr.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!u)return Fr.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c=new Nr({region:u,customUserAgent:X()}),l=void 0;r?l=tn({identityId:r,logins:o,client:c})():l=an({logins:o,identityPoolId:s,client:c})();return this._loadCredentials(l,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var t=this;Fr.debug("set credentials from session");var n=e.getIdToken().getJwtToken(),r=this._config,i=r.region,o=r.userPoolId,a=r.identityPoolId;if(!a)return Fr.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!i)return Fr.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var s={};s["cognito-idp."+i+".amazonaws.com/"+o]=n;var u=new Nr({region:i,customUserAgent:X()}),c=jr(t,void 0,void 0,(function(){var e,t,n,r,i,o,c,l,h,p;return Br(this,(function(f){switch(f.label){case 0:return[4,this._getGuestIdentityId()];case 1:return(e=f.sent())?[3,3]:[4,u.send(new nn({IdentityPoolId:a,Logins:s}))];case 2:n=f.sent().IdentityId,t=n,f.label=3;case 3:return[4,u.send(new Xt({IdentityId:e||t,Logins:s}))];case 4:return r=f.sent(),i=r.Credentials,o=i.AccessKeyId,c=i.Expiration,l=i.SecretKey,h=i.SessionToken,p=r.IdentityId,this._identityId=p,e?(Fr.debug("The guest identity "+e+" has been successfully linked to the logins"),e===p&&Fr.debug("The guest identity "+e+" has become the primary identity"),[4,this._removeGuestIdentityId()]):[3,6];case 5:f.sent(),f.label=6;case 6:return[2,{accessKeyId:o,secretAccessKey:l,sessionToken:h,expiration:c,identityId:p}]}}))})).catch((function(e){return jr(t,void 0,void 0,(function(){return Br(this,(function(t){throw e}))}))}));return this._loadCredentials(c,"userPool",!0,null)},e.prototype._loadCredentials=function(e,t,n,r){var i=this,o=this;return new Promise((function(a,s){e.then((function(e){return jr(i,void 0,void 0,(function(){var i,s,u,c,l;return Br(this,(function(h){switch(h.label){case 0:if(Fr.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),o._credentials=e,o._credentials.authenticated=n,o._credentials_source=t,o._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===t){i=Object.assign({id:this._credentials.identityId},r.user),s=r.provider,u=r.token,c=r.expires_at,l=r.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:s,token:u,user:i,expires_at:c,identity_id:l}))}catch(e){Fr.debug("Failed to put federated info into auth storage",e)}}return"guest"!==t?[3,2]:[4,this._setGuestIdentityId(e.identityId)];case 1:h.sent(),h.label=2;case 2:return a(o._credentials),[2]}}))}))})).catch((function(t){if(t)return Fr.debug("Failed to load credentials",e),Fr.debug("Error loading credentials",t),void s(t)}))}))},e.prototype.set=function(e,t){return"session"===t?this._setCredentialsFromSession(e):"federation"===t?this._setCredentialsFromFederation(e):"guest"===t?this._setCredentialsForGuest():(Fr.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return jr(this,void 0,void 0,(function(){return Br(this,(function(e){return this._credentials=null,this._credentials_source=null,Fr.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]}))}))},e.prototype._getGuestIdentityId=function(){return jr(this,void 0,void 0,(function(){var e,t;return Br(this,(function(n){switch(n.label){case 0:e=this._config.identityPoolId,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this._storageSync];case 2:return n.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(e))];case 3:return t=n.sent(),Fr.debug("Failed to get the cached guest identityId",t),[3,4];case 4:return[2]}}))}))},e.prototype._setGuestIdentityId=function(e){return jr(this,void 0,void 0,(function(){var t,n;return Br(this,(function(r){switch(r.label){case 0:t=this._config.identityPoolId,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._storageSync];case 2:return r.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(t),e),[3,4];case 3:return n=r.sent(),Fr.debug("Failed to cache guest identityId",n),[3,4];case 4:return[2]}}))}))},e.prototype._removeGuestIdentityId=function(){return jr(this,void 0,void 0,(function(){var e;return Br(this,(function(t){return e=this._config.identityPoolId,Fr.debug("removing "+this._getCognitoIdentityIdStorageKey(e)+" from storage"),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)),[2]}))}))},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);Q.dQ.register(Zr);var Vr=function(){return(Vr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&this.changeListeners.splice(t,1)},e}();var Jr=A().isBrowser,Yr=function(){function e(e){void 0===e&&(e={}),this.cookies=new $r,this.store=Jr?window.localStorage:Object.create(null),this.cookies=e.req?new $r(e.req.headers.cookie):new $r,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(new Array(this.length)).map((function(t,n){return e.key(n)})).forEach((function(t){return e.removeItem(t)}))},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,t){switch(this.setLocalItem(e,t),e.split(".").pop()){case"LastAuthUser":case"accessToken":case"refreshToken":case"idToken":Jr?this.setUniversalItem(e,t):this.setLocalItem(e,t)}},e.prototype.setLocalItem=function(e,t){this.store[e]=t},e.prototype.setUniversalItem=function(e,t){this.cookies.set(e,t,{path:"/",sameSite:!0,secure:"localhost"!==window.location.hostname})},e}();var Xr,Qr=function(){function e(e){var t=e||{},n=t.ValidationData,r=t.Username,i=t.Password,o=t.AuthParameters,a=t.ClientMetadata;this.validationData=n||{},this.authParameters=o||{},this.clientMetadata=a||{},this.username=r,this.password=i}var t=e.prototype;return t.getUsername=function(){return this.username},t.getPassword=function(){return this.password},t.getValidationData=function(){return this.validationData},t.getAuthParameters=function(){return this.authParameters},t.getClientMetadata=function(){return this.clientMetadata},e}(),ei=n(8764),ti=n(8249),ni=n.n(ti),ri=(n(4433),n(2153)),ii=n.n(ri),oi=n(8010),ai=n.n(oi);if("undefined"!=typeof window&&window.crypto&&(Xr=window.crypto),!Xr&&"undefined"!=typeof window&&window.msCrypto&&(Xr=window.msCrypto),!Xr&&void 0!==n.g&&n.g.crypto&&(Xr=n.g.crypto),!Xr)try{Xr=n(6249)}catch(e){}function si(){if(Xr){if("function"==typeof Xr.getRandomValues)try{return Xr.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof Xr.randomBytes)try{return Xr.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")}var ui=function(){function e(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length}var t=e.prototype;return t.random=function(t){for(var n=[],r=0;r>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")}(this)},e}();const ci=li;function li(e,t){null!=e&&this.fromString(e,t)}function hi(){return new li(null)}var pi;var fi="undefined"!=typeof navigator;fi&&"Microsoft Internet Explorer"==navigator.appName?(li.prototype.am=function(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var u=32767&this[e],c=this[e++]>>15,l=s*u+c*a;i=((u=a*u+((32767&l)<<15)+n[r]+(1073741823&i))>>>30)+(l>>>15)+s*c+(i>>>30),n[r++]=1073741823&u}return i},pi=30):fi&&"Netscape"!=navigator.appName?(li.prototype.am=function(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},pi=26):(li.prototype.am=function(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var u=16383&this[e],c=this[e++]>>14,l=s*u+c*a;i=((u=a*u+((16383&l)<<14)+n[r]+i)>>28)+(l>>14)+s*c,n[r++]=268435455&u}return i},pi=28),li.prototype.DB=pi,li.prototype.DM=(1<>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function xi(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t},xi.prototype.revert=function(e){var t=hi();return e.copyTo(t),this.reduce(t),t},xi.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},xi.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},xi.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},li.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},li.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},li.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;for(var r=e.length,i=!1,o=0;--r>=0;){var a=yi(e,r);a<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==o?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB))}this.clamp(),i&&li.ZERO.subTo(this,this)},li.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},li.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},li.prototype.drShiftTo=function(e,t){for(var n=e;n=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()},li.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,i=this.DB-r,o=(1<>r;for(var a=n+1;a>r;r>0&&(t[this.t-n-1]|=(this.s&o)<>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},li.prototype.multiplyTo=function(e,t){var n=this.abs(),r=e.abs(),i=n.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i=0;)e[n]=0;for(n=0;n=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},li.prototype.divRemTo=function(e,t,n){var r=e.abs();if(!(r.t<=0)){var i=this.abs();if(i.t0?(r.lShiftTo(u,o),i.lShiftTo(u,n)):(r.copyTo(o),i.copyTo(n));var c=o.t,l=o[c-1];if(0!=l){var h=l*(1<1?o[c-2]>>this.F2:0),p=this.FV/h,f=(1<=0&&(n[n.t++]=1,n.subTo(v,n)),li.ONE.dlShiftTo(c,v),v.subTo(o,o);o.t=0;){var y=n[--g]==l?this.DM:Math.floor(n[g]*p+(n[g-1]+d)*f);if((n[g]+=o.am(0,y,n,m,0,c))0&&n.rShiftTo(u,n),a<0&&li.ZERO.subTo(n,n)}}},li.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},li.prototype.addTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n>=this.DB;if(e.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},li.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}var n,r=(1<0)for(s>s)>0&&(i=!0,o=vi(n));a>=0;)s>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=vi(n));return i?o:"0"},li.prototype.negate=function(){var e=hi();return li.ZERO.subTo(this,e),e},li.prototype.abs=function(){return this.s<0?this.negate():this},li.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},li.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+wi(this[this.t-1]^this.s&this.DM)},li.prototype.mod=function(e){var t=hi();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(li.ZERO)>0&&e.subTo(t,t),t},li.prototype.equals=function(e){return 0==this.compareTo(e)},li.prototype.add=function(e){var t=hi();return this.addTo(e,t),t},li.prototype.subtract=function(e){var t=hi();return this.subTo(e,t),t},li.prototype.multiply=function(e){var t=hi();return this.multiplyTo(e,t),t},li.prototype.divide=function(e){var t=hi();return this.divRemTo(e,t,null),t},li.prototype.modPow=function(e,t,n){var r,i=e.bitLength(),o=bi(1),a=new xi(t);if(i<=0)return o;r=i<18?1:i<48?3:i<144?4:i<768?5:6;var s=new Array,u=3,c=r-1,l=(1<1){var h=hi();for(a.sqrTo(s[1],h);u<=l;)s[u]=hi(),a.mulTo(h,s[u-2],s[u]),u+=2}var p,f,d=e.t-1,g=!0,m=hi();for(i=wi(e[d])-1;d>=0;){for(i>=c?p=e[d]>>i-c&l:(p=(e[d]&(1<0&&(p|=e[d-1]>>this.DB+i-c)),u=r;0==(1&p);)p>>=1,--u;if((i-=u)<0&&(i+=this.DB,--d),g)s[p].copyTo(o),g=!1;else{for(;u>1;)a.sqrTo(o,m),a.sqrTo(m,o),u-=2;u>0?a.sqrTo(o,m):(f=o,o=m,m=f),a.mulTo(m,s[p],o)}for(;d>=0&&0==(e[d]&1<e)&&n}}(n))})((function(t){return new Promise((function(n,i){r.request(e,t,(function(e,t){e?i(e):n(t)}))}))}),[t],5e3).then((function(e){return n(null,e)})).catch((function(e){return n(e)}))},t.request=function(e,t,n){var r,i={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+e,"X-Amz-User-Agent":Wi.prototype.userAgent},o=Object.assign({},this.fetchOptions,{headers:i,method:"POST",mode:"cors",cache:"no-cache",body:JSON.stringify(t)});fetch(this.endpoint,o).then((function(e){return r=e,e}),(function(e){if(e instanceof TypeError)throw new Error("Network error");throw e})).then((function(e){return e.json().catch((function(){return{}}))})).then((function(e){if(r.ok)return n(null,e);e;var t=(e.__type||e.code).split("#").pop(),i=new Error(e.message||e.Message||null);return i.name=t,i.code=t,n(i)})).catch((function(e){if(r&&r.headers&&r.headers.get("x-amzn-errortype"))try{var t=r.headers.get("x-amzn-errortype").split(":")[0],i=new Error(r.status?r.status.toString():null);return i.code=t,i.name=t,i.statusCode=r.status,n(i)}catch(t){return n(e)}else e instanceof Error&&"Network error"===e.message&&(e.code="NetworkError");return n(e)}))},e}(),eo=function(){};Error;var to=function(){function e(e,t){var n=e||{},r=n.UserPoolId,i=n.ClientId,o=n.endpoint,a=n.fetchOptions,s=n.AdvancedSecurityDataCollectionFlag;if(!r||!i)throw new Error("Both UserPoolId and ClientId are required.");if(r.length>55||!/^[\w-]+_[0-9a-zA-Z]+$/.test(r))throw new Error("Invalid UserPoolId format.");var u=r.split("_")[0];this.userPoolId=r,this.clientId=i,this.client=new Qi(u,o,a),this.advancedSecurityDataCollectionFlag=!1!==s,this.storage=e.Storage||(new Fi).getStorage(),t&&(this.wrapRefreshSessionCallback=t)}var t=e.prototype;return t.getUserPoolId=function(){return this.userPoolId},t.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},t.getClientId=function(){return this.clientId},t.signUp=function(e,t,n,r,i,o){var a=this,s={ClientId:this.clientId,Username:e,Password:t,UserAttributes:n,ValidationData:r,ClientMetadata:o};this.getUserContextData(e)&&(s.UserContextData=this.getUserContextData(e)),this.client.request("SignUp",s,(function(t,n){if(t)return i(t,null);var r={Username:e,Pool:a,Storage:a.storage},o={user:new Vi(r),userConfirmed:n.UserConfirmed,userSub:n.UserSub,codeDeliveryDetails:n.CodeDeliveryDetails};return i(null,o)}))},t.getCurrentUser=function(){var e="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",t=this.storage.getItem(e);if(t){var n={Username:t,Pool:this,Storage:this.storage};return new Vi(n)}return null},t.getUserContextData=function(e){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){var t=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var n=t.getData(e,this.userPoolId,this.clientId);if(n)return{EncodedData:n}}return{}}},e}(),no=n(6808),ro=function(){function e(e){if(!e.domain)throw new Error("The domain of cookieStorage can not be undefined.");if(this.domain=e.domain,e.path?this.path=e.path:this.path="/",Object.prototype.hasOwnProperty.call(e,"expires")?this.expires=e.expires:this.expires=365,Object.prototype.hasOwnProperty.call(e,"secure")?this.secure=e.secure:this.secure=!0,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!["strict","lax","none"].includes(e.sameSite))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===e.sameSite&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=e.sameSite}else this.sameSite=null}var t=e.prototype;return t.setItem=function(e,t){var n={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(n.sameSite=this.sameSite),no.set(e,t,n),no.get(e)},t.getItem=function(e){return no.get(e)},t.removeItem=function(e){var t={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(t.sameSite=this.sameSite),no.remove(e,t)},t.clear=function(){for(var e=no.get(),t=Object.keys(e).length,n=0;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},lo="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",ho=function(e,t,n){d.dispatch("auth",{event:e,data:t,message:n},"Auth",lo)},po=new u.k("OAuth");const fo=function(){function e(e){var t=e.config,n=e.cognitoClientId,r=e.scopes,i=void 0===r?[]:r;if(this._urlOpener=t.urlOpener||oo,this._config=t,this._cognitoClientId=n,!this.isValidScopes(i))throw Error("scopes must be a String Array");this._scopes=i}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))},e.prototype.oauthSignIn=function(e,t,n,i,o,a){void 0===e&&(e="code"),void 0===o&&(o=r.Cognito);var s=this._generateState(32),u=a?s+"-"+a.split("").map((function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")})).join(""):s;!function(e){window.sessionStorage.setItem("oauth_state",e)}(u);var c,l=this._generateRandom(128);c=l,window.sessionStorage.setItem("ouath_pkce_key",c);var h=this._generateChallenge(l),p=this._scopes.join(" "),f="https://"+t+"/oauth2/authorize?"+Object.entries(ao(ao({redirect_uri:n,response_type:e,client_id:i,identity_provider:o,scope:p,state:u},"code"===e?{code_challenge:h}:{}),"code"===e?{code_challenge_method:"S256"}:{})).map((function(e){var t=co(e,2),n=t[0],r=t[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)})).join("&");po.debug("Redirecting to "+f),this._urlOpener(f,n)},e.prototype._handleCodeFlow=function(e){return so(this,void 0,void 0,(function(){var t,n,r,i,o,a,u,c,l,h,p,f,d,g;return uo(this,(function(m){switch(m.label){case 0:return t=((0,io.Qc)(e).query||"").split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n,r=co(t,2),i=r[0],o=r[1];return ao(ao({},e),((n={})[i]=o,n))}),{code:void 0}).code,n=(0,io.Qc)(e).pathname||"/",r=(0,io.Qc)(this._config.redirectSignIn).pathname||"/",t&&n===r?(i="https://"+this._config.domain+"/oauth2/token",ho("codeFlow",{},"Retrieving tokens from "+i),o=s(this._config)?this._cognitoClientId:this._config.clientID,a=s(this._config)?this._config.redirectSignIn:this._config.redirectUri,v=window.sessionStorage.getItem("ouath_pkce_key"),window.sessionStorage.removeItem("ouath_pkce_key"),c=ao({grant_type:"authorization_code",code:t,client_id:o,redirect_uri:a},(u=v)?{code_verifier:u}:{}),po.debug("Calling token endpoint: "+i+" with",c),l=Object.entries(c).map((function(e){var t=co(e,2),n=t[0],r=t[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)})).join("&"),[4,fetch(i,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:l})]):[2];case 1:return[4,m.sent().json()];case 2:if(h=m.sent(),p=h.access_token,f=h.refresh_token,d=h.id_token,g=h.error)throw new Error(g);return[2,{accessToken:p,refreshToken:f,idToken:d}]}var v}))}))},e.prototype._handleImplicitFlow=function(e){return so(this,void 0,void 0,(function(){var t,n,r;return uo(this,(function(i){return t=((0,io.Qc)(e).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n,r=co(t,2),i=r[0],o=r[1];return ao(ao({},e),((n={})[i]=o,n))}),{id_token:void 0,access_token:void 0}),n=t.id_token,r=t.access_token,ho("implicitFlow",{},"Got tokens from "+e),po.debug("Retrieving implicit tokens from "+e+" with"),[2,{accessToken:r,idToken:n,refreshToken:null}]}))}))},e.prototype.handleAuthResponse=function(e){return so(this,void 0,void 0,(function(){var t,n,r,i,o,a,s;return uo(this,(function(u){switch(u.label){case 0:if(u.trys.push([0,5,,6]),t=e?ao(ao({},((0,io.Qc)(e).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n=co(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})),((0,io.Qc)(e).query||"").split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n=co(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})):{},n=t.error,r=t.error_description,n)throw new Error(r);return i=this._validateState(t),po.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType?[3,2]:(o=[{}],[4,this._handleCodeFlow(e)]);case 1:return[2,ao.apply(void 0,[ao.apply(void 0,o.concat([u.sent()])),{state:i}])];case 2:return a=[{}],[4,this._handleImplicitFlow(e)];case 3:return[2,ao.apply(void 0,[ao.apply(void 0,a.concat([u.sent()])),{state:i}])];case 4:return[3,6];case 5:throw s=u.sent(),po.error("Error handling auth response.",s),s;case 6:return[2]}}))}))},e.prototype._validateState=function(e){if(e){var t,n=(t=window.sessionStorage.getItem("oauth_state"),window.sessionStorage.removeItem("oauth_state"),t),r=e.state;if(n&&n!==r)throw new Error("Invalid state in OAuth flow");return r}},e.prototype.signOut=function(){return so(this,void 0,void 0,(function(){var e,t,n;return uo(this,(function(r){return e="https://"+this._config.domain+"/logout?",t=s(this._config)?this._cognitoClientId:this._config.oauth.clientID,n=s(this._config)?this._config.redirectSignOut:this._config.returnTo,e+=Object.entries({client_id:t,logout_uri:encodeURIComponent(n)}).map((function(e){var t=co(e,2);return t[0]+"="+t[1]})).join("&"),ho("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+e),po.debug("Signing out from "+e),[2,this._urlOpener(e,n)]}))}))},e.prototype._generateState=function(e){for(var t="",n=e,r="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";n>0;--n)t+=r[Math.round(Math.random()*(r.length-1))];return t},e.prototype._generateChallenge=function(e){return this._base64URL(ii()(e))},e.prototype._base64URL=function(e){return e.toString(Ri()).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var t=new Uint8Array(e);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(t);else for(var n=0;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},ko=new u.k("AuthClass"),Eo="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Ao=function(e,t,n){d.dispatch("auth",{event:e,data:t,message:n},"Auth",Eo)},Po=new(function(){function e(e){var t=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.Credentials=Zr,this.wrapRefreshSessionCallback=function(e){return function(t,n){return n?Ao("tokenRefresh",void 0,"New token retrieved"):Ao("tokenRefresh_failure",t,"Failed to retrieve new token"),e(t,n)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),d.listen("auth",(function(e){switch(e.payload.event){case"signIn":t._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":t._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":t._storage.setItem("amplify-signin-with-hostedUI","true")}}))}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(e){var t=this;if(!e)return this._config||{};ko.debug("configure Auth");var n=Object.assign({},this._config,Wr.parseMobilehubConfig(e).Auth,e);this._config=n;var r=this._config,o=r.userPoolId,a=r.userPoolWebClientId,u=r.cookieStorage,c=r.oauth,l=r.region,h=r.identityPoolId,p=r.mandatorySignIn,f=r.refreshHandlers,d=r.identityPoolRegion,g=r.clientMetadata,m=r.endpoint;if(this._config.storage){if(!this._isValidAuthStorage(this._config.storage))throw ko.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=this._config.storage}else this._storage=u?new ro(u):e.ssr?new Yr:(new v).getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),o){var y={UserPoolId:o,ClientId:a,endpoint:m};y.Storage=this._storage,this.userPool=new to(y,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:p,region:d||l,userPoolId:o,identityPoolId:h,refreshHandlers:f,storage:this._storage});var b=c?s(this._config.oauth)?c:c.awsCognito:void 0;if(b){var w=Object.assign({cognitoClientId:a,UserPoolId:o,domain:b.domain,scopes:b.scope,redirectSignIn:b.redirectSignIn,redirectSignOut:b.redirectSignOut,responseType:b.responseType,Storage:this._storage,urlOpener:b.urlOpener,clientMetadata:g},b.options);this._oAuthHandler=new fo({scopes:w.scopes,config:w,cognitoClientId:w.cognitoClientId});var x={};!function(e){if(A().isBrowser&&window.location)e({url:window.location.href});else if(!A().isNode)throw new Error("Not supported")}((function(e){var n=e.url;x[n]||(x[n]=!0,t._handleAuthResponse(n))}))}(Ao("configured",null,"The Auth category has been configured successfully"),this.autoSignInInitiated||"function"!=typeof this._storage.getItem)||(this.isTrueStorageValue("amplify-polling-started")&&(Ao("autoSignIn_failure",null,i.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started"));return this._config},e.prototype.signUp=function(e){for(var t,n,r,o=this,a=[],s=1;s18e4?(clearInterval(r),Ao("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),t._storage.removeItem("amplify-auto-sign-in")):t.signInAfterUserConfirmed(e,null,r)}),5e3)},e.prototype.signInAfterUserConfirmed=function(e,t,n){return So(this,void 0,void 0,(function(){var r,i,o=this;return _o(this,(function(a){switch(a.label){case 0:r=this.createCognitoUser(e.getUsername()),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,r.authenticateUser(e,this.authCallbacks(r,(function(r){Ao("autoSignIn",r,e.getUsername()+" has signed in successfully"),t&&d.remove("auth",t),n&&(clearInterval(n),o._storage.removeItem("amplify-polling-started")),o._storage.removeItem("amplify-auto-sign-in")}),(function(e){ko.error(e),o._storage.removeItem("amplify-auto-sign-in")})))];case 2:return a.sent(),[3,4];case 3:return i=a.sent(),ko.error(i),[3,4];case 4:return[2]}}))}))},e.prototype.confirmSignUp=function(e,t,n){var r=this;if(!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(i.EmptyUsername);if(!t)return this.rejectAuthError(i.EmptyCode);var o,a=this.createCognitoUser(e),s=!n||"boolean"!=typeof n.forceAliasCreation||n.forceAliasCreation;return n&&n.clientMetadata?o=n.clientMetadata:this._config.clientMetadata&&(o=this._config.clientMetadata),new Promise((function(n,u){a.confirmRegistration(t,s,(function(t,o){t?u(t):(Ao("confirmSignUp",o,e+" has been confirmed successfully"),r.isTrueStorageValue("amplify-auto-sign-in")&&!r.autoSignInInitiated&&(Ao("autoSignIn_failure",null,i.AutoSignInError),r._storage.removeItem("amplify-auto-sign-in")),n(o))}),o)}))},e.prototype.isTrueStorageValue=function(e){var t=this._storage.getItem(e);return!!t&&"true"===t},e.prototype.resendSignUp=function(e,t){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(i.EmptyUsername);var n=this.createCognitoUser(e);return new Promise((function(e,r){n.resendConfirmationCode((function(t,n){t?r(t):e(n)}),t)}))},e.prototype.signIn=function(e,t,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var r=null,o=null,a={};if("string"==typeof e)r=e,o=t;else{if(!e.username)return this.rejectAuthError(i.InvalidUsername);void 0!==t&&ko.warn("The password should be defined under the first parameter object!"),r=e.username,o=e.password,a=e.validationData}if(!r)return this.rejectAuthError(i.EmptyUsername);var s=new Qr({Username:r,Password:o,ValidationData:a,ClientMetadata:n});return o?this.signInWithPassword(s):this.signInWithoutPassword(s)},e.prototype.authCallbacks=function(e,t,n){var r=this,i=this;return{onSuccess:function(o){return So(r,void 0,void 0,(function(){var r,a,s,u;return _o(this,(function(c){switch(c.label){case 0:ko.debug(o),delete e.challengeName,delete e.challengeParam,c.label=1;case 1:return c.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return c.sent(),[4,this.Credentials.set(o,"session")];case 3:return r=c.sent(),ko.debug("succeed to get cognito credentials",r),[3,9];case 4:return a=c.sent(),ko.debug("cannot get cognito credentials",a),[3,9];case 5:return c.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return s=c.sent(),i.user=s,Ao("signIn",s,"A user "+e.getUsername()+" has been signed in"),t(s),[3,8];case 7:return u=c.sent(),ko.error("Failed to get the signed in user",u),n(u),[3,8];case 8:return[7];case 9:return[2]}}))}))},onFailure:function(t){ko.debug("signIn failure",t),Ao("signIn_failure",t,e.getUsername()+" failed to signin"),n(t)},customChallenge:function(n){ko.debug("signIn custom challenge answer required"),e.challengeName="CUSTOM_CHALLENGE",e.challengeParam=n,t(e)},mfaRequired:function(n,r){ko.debug("signIn MFA required"),e.challengeName=n,e.challengeParam=r,t(e)},mfaSetup:function(n,r){ko.debug("signIn mfa setup",n),e.challengeName=n,e.challengeParam=r,t(e)},newPasswordRequired:function(n,r){ko.debug("signIn new password"),e.challengeName="NEW_PASSWORD_REQUIRED",e.challengeParam={userAttributes:n,requiredAttributes:r},t(e)},totpRequired:function(n,r){ko.debug("signIn totpRequired"),e.challengeName=n,e.challengeParam=r,t(e)},selectMFAType:function(n,r){ko.debug("signIn selectMFAType",n),e.challengeName=n,e.challengeParam=r,t(e)}}},e.prototype.signInWithPassword=function(e){var t=this;if(this.pendingSignIn)throw new Error("Pending sign-in attempt already in progress");var n=this.createCognitoUser(e.getUsername());return this.pendingSignIn=new Promise((function(r,i){n.authenticateUser(e,t.authCallbacks(n,(function(e){t.pendingSignIn=null,r(e)}),(function(e){t.pendingSignIn=null,i(e)})))})),this.pendingSignIn},e.prototype.signInWithoutPassword=function(e){var t=this,n=this.createCognitoUser(e.getUsername());return n.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise((function(r,i){n.initiateAuth(e,t.authCallbacks(n,r,i))}))},e.prototype.getMFAOptions=function(e){return new Promise((function(t,n){e.getMFAOptions((function(e,r){if(e)return ko.debug("get MFA Options failed",e),void n(e);ko.debug("get MFA options success",r),t(r)}))}))},e.prototype.getPreferredMFA=function(e,t){var n=this,r=this;return new Promise((function(i,o){var a=n._config.clientMetadata,s=!!t&&t.bypassCache;e.getUserData((function(t,a){return So(n,void 0,void 0,(function(){var n,s;return _o(this,(function(u){switch(u.label){case 0:if(!t)return[3,5];if(ko.debug("getting preferred mfa failed",t),!this.isSessionInvalid(t))return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return u.sent(),[3,4];case 3:return n=u.sent(),o(new Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+n.message)),[2];case 4:return o(t),[2];case 5:return(s=r._getMfaTypeFromUserData(a))?(i(s),[2]):(o("invalid MFA Type"),[2])}}))}))}),{bypassCache:s,clientMetadata:a})}))},e.prototype._getMfaTypeFromUserData=function(e){var t=null,n=e.PreferredMfaSetting;if(n)t=n;else{var r=e.UserMFASettingList;if(r)0===r.length?t="NOMFA":ko.debug("invalid case for getPreferredMFA",e);else t=e.MFAOptions?"SMS_MFA":"NOMFA"}return t},e.prototype._getUserData=function(e,t){var n=this;return new Promise((function(r,i){e.getUserData((function(t,o){return So(n,void 0,void 0,(function(){var n;return _o(this,(function(a){switch(a.label){case 0:if(!t)return[3,5];if(ko.debug("getting user data failed",t),!this.isSessionInvalid(t))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return a.sent(),[3,4];case 3:return n=a.sent(),i(new Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+n.message)),[2];case 4:return i(t),[2];case 5:r(o),a.label=6;case 6:return[2]}}))}))}),t)}))},e.prototype.setPreferredMFA=function(e,t){return So(this,void 0,void 0,(function(){var n,r,o,a,s,u,c=this;return _o(this,(function(l){switch(l.label){case 0:return n=this._config.clientMetadata,[4,this._getUserData(e,{bypassCache:!0,clientMetadata:n})];case 1:switch(r=l.sent(),o=null,a=null,t){case"TOTP":case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return a={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return o={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return s=r.UserMFASettingList,[4,this._getMfaTypeFromUserData(r)];case 5:if("NOMFA"===(u=l.sent()))return[2,Promise.resolve("No change for mfa type")];if("SMS_MFA"===u)o={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==u)return[2,this.rejectAuthError(i.InvalidMFA)];a={PreferredMfa:!1,Enabled:!1}}return s&&0!==s.length&&s.forEach((function(e){"SMS_MFA"===e?o={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===e&&(a={PreferredMfa:!1,Enabled:!1})})),[3,7];case 6:return ko.debug("no validmfa method provided"),[2,this.rejectAuthError(i.NoMFA)];case 7:return this,[2,new Promise((function(t,r){e.setUserMfaPreference(o,a,(function(i,o){if(i)return ko.debug("Set user mfa preference error",i),r(i);ko.debug("Set user mfa success",o),ko.debug("Caching the latest user data into local"),e.getUserData((function(n,i){return So(c,void 0,void 0,(function(){var i;return _o(this,(function(a){switch(a.label){case 0:if(!n)return[3,5];if(ko.debug("getting user data failed",n),!this.isSessionInvalid(n))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return a.sent(),[3,4];case 3:return i=a.sent(),r(new Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+i.message)),[2];case 4:return[2,r(n)];case 5:return[2,t(o)]}}))}))}),{bypassCache:!0,clientMetadata:n})}))}))]}}))}))},e.prototype.disableSMS=function(e){return new Promise((function(t,n){e.disableMFA((function(e,r){if(e)return ko.debug("disable mfa failed",e),void n(e);ko.debug("disable mfa succeed",r),t(r)}))}))},e.prototype.enableSMS=function(e){return new Promise((function(t,n){e.enableMFA((function(e,r){if(e)return ko.debug("enable mfa failed",e),void n(e);ko.debug("enable mfa succeed",r),t(r)}))}))},e.prototype.setupTOTP=function(e){return new Promise((function(t,n){e.associateSoftwareToken({onFailure:function(e){ko.debug("associateSoftwareToken failed",e),n(e)},associateSecretCode:function(e){ko.debug("associateSoftwareToken sucess",e),t(e)}})}))},e.prototype.verifyTotpToken=function(e,t){return ko.debug("verification totp token",e,t),new Promise((function(n,r){e.verifySoftwareToken(t,"My TOTP device",{onFailure:function(e){ko.debug("verifyTotpToken failed",e),r(e)},onSuccess:function(t){Ao("signIn",e,"A user "+e.getUsername()+" has been signed in"),ko.debug("verifyTotpToken success",t),n(t)}})}))},e.prototype.confirmSignIn=function(e,t,n,r){var o=this;if(void 0===r&&(r=this._config.clientMetadata),!t)return this.rejectAuthError(i.EmptyCode);var a=this;return new Promise((function(i,s){e.sendMFACode(t,{onSuccess:function(t){return So(o,void 0,void 0,(function(){var n,r;return _o(this,(function(o){switch(o.label){case 0:ko.debug(t),o.label=1;case 1:return o.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return o.sent(),[4,this.Credentials.set(t,"session")];case 3:return n=o.sent(),ko.debug("succeed to get cognito credentials",n),[3,6];case 4:return r=o.sent(),ko.debug("cannot get cognito credentials",r),[3,6];case 5:return a.user=e,Ao("signIn",e,"A user "+e.getUsername()+" has been signed in"),i(e),[7];case 6:return[2]}}))}))},onFailure:function(e){ko.debug("confirm signIn failure",e),s(e)}},n,r)}))},e.prototype.completeNewPassword=function(e,t,n,r){var o=this;if(void 0===n&&(n={}),void 0===r&&(r=this._config.clientMetadata),!t)return this.rejectAuthError(i.EmptyPassword);var a=this;return new Promise((function(i,s){e.completeNewPasswordChallenge(t,n,{onSuccess:function(t){return So(o,void 0,void 0,(function(){var n,r;return _o(this,(function(o){switch(o.label){case 0:ko.debug(t),o.label=1;case 1:return o.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return o.sent(),[4,this.Credentials.set(t,"session")];case 3:return n=o.sent(),ko.debug("succeed to get cognito credentials",n),[3,6];case 4:return r=o.sent(),ko.debug("cannot get cognito credentials",r),[3,6];case 5:return a.user=e,Ao("signIn",e,"A user "+e.getUsername()+" has been signed in"),i(e),[7];case 6:return[2]}}))}))},onFailure:function(e){ko.debug("completeNewPassword failure",e),Ao("completeNewPassword_failure",e,o.user+" failed to complete the new password flow"),s(e)},mfaRequired:function(t,n){ko.debug("signIn MFA required"),e.challengeName=t,e.challengeParam=n,i(e)},mfaSetup:function(t,n){ko.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=n,i(e)},totpRequired:function(t,n){ko.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=n,i(e)}},r)}))},e.prototype.sendCustomChallengeAnswer=function(e,t,n){var r=this;if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(i.EmptyChallengeResponse);return new Promise((function(i,o){e.sendCustomChallengeAnswer(t,r.authCallbacks(e,i,o),n)}))},e.prototype.deleteUserAttributes=function(e,t){var n=this;return new Promise((function(r,i){n.userSession(e).then((function(n){e.deleteAttributes(t,(function(e,t){return e?i(e):r(t)}))}))}))},e.prototype.deleteUser=function(){return So(this,void 0,void 0,(function(){var e,t,n=this;return _o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this._storageSync];case 1:return r.sent(),[3,3];case 2:throw e=r.sent(),ko.debug("Failed to sync cache info into memory",e),new Error(e);case 3:return t=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise((function(e,r){return So(n,void 0,void 0,(function(){var n,i=this;return _o(this,(function(o){if(this.userPool){if(!(n=this.userPool.getCurrentUser()))return ko.debug("Failed to get user from user pool"),[2,r(new Error("No current user."))];n.getSession((function(o,a){return So(i,void 0,void 0,(function(){var i,a=this;return _o(this,(function(s){switch(s.label){case 0:if(!o)return[3,5];if(ko.debug("Failed to get the user session",o),!this.isSessionInvalid(o))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(n)];case 2:return s.sent(),[3,4];case 3:return i=s.sent(),r(new Error("Session is invalid due to: "+o.message+" and failed to clean up invalid session: "+i.message)),[2];case 4:return[2,r(o)];case 5:n.deleteUser((function(i,o){if(i)r(i);else{Ao("userDeleted",o,"The authenticated user has been deleted."),n.signOut(),a.user=null;try{a.cleanCachedItems()}catch(e){ko.debug("failed to clear cached items")}t?a.oAuthSignOutRedirect(e,r):(Ao("signOut",a.user,"A user has been signed out"),e(o))}})),s.label=6;case 6:return[2]}}))}))}))}else ko.debug("no Congito User pool"),r(new Error("Cognito User pool does not exist"));return[2]}))}))}))]}}))}))},e.prototype.updateUserAttributes=function(e,t,n){void 0===n&&(n=this._config.clientMetadata);var r=[],i=this;return new Promise((function(o,a){i.userSession(e).then((function(i){for(var s in t)if("sub"!==s&&s.indexOf("_verified")<0){var u={Name:s,Value:t[s]};r.push(u)}e.updateAttributes(r,(function(e,t){return e?a(e):o(t)}),n)}))}))},e.prototype.userAttributes=function(e){var t=this;return new Promise((function(n,r){t.userSession(e).then((function(t){e.getUserAttributes((function(e,t){e?r(e):n(t)}))}))}))},e.prototype.verifiedContact=function(e){var t=this;return this.userAttributes(e).then((function(e){var n=t.attributesToObject(e),r={},i={};return n.email&&(n.email_verified?i.email=n.email:r.email=n.email),n.phone_number&&(n.phone_number_verified?i.phone_number=n.phone_number:r.phone_number=n.phone_number),{verified:i,unverified:r}}))},e.prototype.isErrorWithMessage=function(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"message")},e.prototype.isTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Access Token has been revoked"===e.message},e.prototype.isRefreshTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has been revoked"===e.message},e.prototype.isUserDisabledError=function(e){return this.isErrorWithMessage(e)&&"User is disabled."===e.message},e.prototype.isUserDoesNotExistError=function(e){return this.isErrorWithMessage(e)&&"User does not exist."===e.message},e.prototype.isRefreshTokenExpiredError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has expired"===e.message},e.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI")},e.prototype.isSessionInvalid=function(e){return this.isUserDisabledError(e)||this.isUserDoesNotExistError(e)||this.isTokenRevokedError(e)||this.isRefreshTokenRevokedError(e)||this.isRefreshTokenExpiredError(e)},e.prototype.cleanUpInvalidSession=function(e){return So(this,void 0,void 0,(function(){var t=this;return _o(this,(function(n){switch(n.label){case 0:e.signOut(),this.user=null,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return n.sent(),[3,4];case 3:return n.sent(),ko.debug("failed to clear cached items"),[3,4];case 4:return this.isSignedInHostedUI()?[2,new Promise((function(e,n){t.oAuthSignOutRedirect(e,n)}))]:(Ao("signOut",this.user,"A user has been signed out"),[2])}}))}))},e.prototype.currentUserPoolUser=function(e){var t=this;return this.userPool?new Promise((function(n,r){t._storageSync.then((function(){return So(t,void 0,void 0,(function(){var t,i,o=this;return _o(this,(function(a){switch(a.label){case 0:return this.isOAuthInProgress()?(ko.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise((function(e){var t=setTimeout((function(){ko.debug("OAuth signIn in progress timeout"),d.remove("auth",n),e()}),1e4);function n(r){var i=r.payload.event;"cognitoHostedUI"!==i&&"cognitoHostedUI_failure"!==i||(ko.debug("OAuth signIn resolved: "+i),clearTimeout(t),d.remove("auth",n),e())}d.listen("auth",n)}))]):[3,2];case 1:a.sent(),a.label=2;case 2:return(t=this.userPool.getCurrentUser())?(i=this._config.clientMetadata,t.getSession((function(i,a){return So(o,void 0,void 0,(function(){var o,s,u,c,l=this;return _o(this,(function(h){switch(h.label){case 0:if(!i)return[3,5];if(ko.debug("Failed to get the user session",i),!this.isSessionInvalid(i))return[3,4];h.label=1;case 1:return h.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return h.sent(),[3,4];case 3:return o=h.sent(),r(new Error("Session is invalid due to: "+i.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return r(i),[2];case 5:return(s=!!e&&e.bypassCache)?[4,this.Credentials.clear()]:[3,7];case 6:h.sent(),h.label=7;case 7:return u=this._config.clientMetadata,c=a.getAccessToken().decodePayload().scope,(void 0===c?"":c).split(" ").includes("aws.cognito.signin.user.admin")?(t.getUserData((function(e,i){return So(l,void 0,void 0,(function(){var o,a,s,u,c,l,h;return _o(this,(function(p){switch(p.label){case 0:if(!e)return[3,7];if(ko.debug("getting user data failed",e),!this.isSessionInvalid(e))return[3,5];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return p.sent(),[3,4];case 3:return o=p.sent(),r(new Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return r(e),[3,6];case 5:n(t),p.label=6;case 6:return[2];case 7:for(a=i.PreferredMfaSetting||"NOMFA",s=[],u=0;u{"use strict";n.d(t,{dQ:()=>a});var r=n(9719),i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},o=new r.k("Amplify"),a=new(function(){function e(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Geo=null,this.Logger=r.k,this.ServiceWorker=null}return e.prototype.register=function(e){o.debug("component registered in amplify",e),this._components.push(e),"function"==typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):o.debug("no getModuleName method for component",e),e.configure(this._config)},e.prototype.configure=function(e){var t=this;return e?(this._config=Object.assign(this._config,e),o.debug("amplify config",this._config),Object.entries(this._modules).forEach((function(e){var n=i(e,2),r=(n[0],n[1]);Object.keys(r).forEach((function(e){t._modules[e]&&(r[e]=t._modules[e])}))})),this._components.map((function(e){e.configure(t._config)})),this._config):this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map((function(t){t.addPluggable&&"function"==typeof t.addPluggable&&t.addPluggable(e)}))},e}())},9719:(e,t,n)=>{"use strict";n.d(t,{k:()=>u});var r,i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},a=function(){for(var e=[],t=0;t=l){var p=console.log.bind(console);t===r.ERROR&&console.error&&(p=console.error.bind(console)),t===r.WARN&&console.warn&&(p=console.warn.bind(console));var f="["+t+"] "+this._ts()+" "+this.name,d="";if(1===a.length&&"string"==typeof a[0])p(d=f+" - "+a[0]);else if(1===a.length)d=f+" "+a[0],p(f,a[0]);else if("string"==typeof a[0]){var g=a.slice(1);1===g.length&&(g=g[0]),d=f+" - "+a[0]+" "+g,p(f+" - "+a[0],g)}else d=f+" "+a,p(f,a);try{for(var m=i(this._pluggables),v=m.next();!v.done;v=m.next()){var y=v.value,b={message:d,timestamp:Date.now()};y.pushLogs([b])}}catch(e){n={error:e}}finally{try{v&&!v.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}},e.prototype.log=function(){for(var e=[],t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var n=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];t.isMsWindow=function(e){if(function(e){return"MSInputMethodContext"in e&&"msCrypto"in e}(e)&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,r=t.getRandomValues,i=t.subtle;return n.map((function(e){return i[e]})).concat(r).every((function(e){return"function"==typeof e}))}return!1}},87:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(655);r.__exportStar(n(8260),t),r.__exportStar(n(6665),t),r.__exportStar(n(5470),t),r.__exportStar(n(969),t),r.__exportStar(n(5287),t)},7333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_256=t.SHA_256_HMAC_ALGO=t.SHA_256_HASH=void 0,t.SHA_256_HASH={name:"SHA-256"},t.SHA_256_HMAC_ALGO={name:"HMAC",hash:t.SHA_256_HASH},t.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},2769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(3479),i=n(8889),o=n(1938),a=n(21),s=n(87),u=n(6495),c=function(){function e(e){(0,a.supportsWebCrypto)((0,u.locateWindow)())?this.hash=new i.Sha256(e):(0,s.isMsWindow)((0,u.locateWindow)())?this.hash=new r.Sha256(e):this.hash=new o.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update(e,t)},e.prototype.digest=function(){return this.hash.digest()},e}();t.Sha256=c},3479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(8036),i=n(7333),o=n(1772),a=n(6495),s=function(){function e(e){e?(this.operation=function(e){return new Promise((function(t,n){var r=(0,a.locateWindow)().msCrypto.subtle.importKey("raw",u(e),i.SHA_256_HMAC_ALGO,!1,["sign"]);r.oncomplete=function(){r.result&&t(r.result),n(new Error("ImportKey completed without importing key."))},r.onerror=function(){n(new Error("ImportKey failed to import key."))}}))}(e).then((function(e){return(0,a.locateWindow)().msCrypto.subtle.sign(i.SHA_256_HMAC_ALGO,e)})),this.operation.catch((function(){}))):this.operation=Promise.resolve((0,a.locateWindow)().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var t=this;(0,r.isEmptyData)(e)||(this.operation=this.operation.then((function(n){return n.onerror=function(){t.operation=Promise.reject(new Error("Error encountered updating hash"))},n.process(u(e)),n})),this.operation.catch((function(){})))},e.prototype.digest=function(){return this.operation.then((function(e){return new Promise((function(t,n){e.onerror=function(){n(new Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n(new Error("Error encountered finalizing hash"))},e.finish()}))}))},e}();function u(e){return"string"==typeof e?(0,o.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=s},7643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebCryptoSha256=t.Ie11Sha256=void 0,(0,n(655).__exportStar)(n(2769),t);var r=n(3479);Object.defineProperty(t,"Ie11Sha256",{enumerable:!0,get:function(){return r.Sha256}});var i=n(8889);Object.defineProperty(t,"WebCryptoSha256",{enumerable:!0,get:function(){return i.Sha256}})},8036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},8889:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(2037),i=n(7333),o=n(6495),a=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise((function(t,n){(0,o.locateWindow)().crypto.subtle.importKey("raw",(0,r.convertToBuffer)(e),i.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)})),this.key.catch((function(){})))}return e.prototype.update=function(e){if(!(0,r.isEmptyData)(e)){var t=(0,r.convertToBuffer)(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then((function(t){return(0,o.locateWindow)().crypto.subtle.sign(i.SHA_256_HMAC_ALGO,t,e.toHash).then((function(e){return new Uint8Array(e)}))})):(0,r.isEmptyData)(this.toHash)?Promise.resolve(i.EMPTY_DATA_SHA_256):Promise.resolve().then((function(){return(0,o.locateWindow)().crypto.subtle.digest(i.SHA_256_HASH,e.toHash)})).then((function(e){return Promise.resolve(new Uint8Array(e))}))},e}();t.Sha256=a},6867:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var r=n(1772),i="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:r.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?i(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},2037:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var r=n(6867);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return r.convertToBuffer}});var i=n(5355);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return i.isEmptyData}});var o=n(9921);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return o.numToUint8}});var a=n(4935);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})},5355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},9921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},4935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=function(e){if(!Array.from){for(var t=new Uint32Array(e.length);0{"use strict";n.r(t),n.d(t,{fromUtf8:()=>r,toUtf8:()=>i});const r=e=>"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):(e=>{const t=[];for(let n=0,r=e.length;n>6|192,63&r|128);else if(n+1>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)})(e),i=e=>"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):(e=>{let t="";for(let n=0,r=e.length;ne.toString(16)).join("%");t+=decodeURIComponent(i)}else t+=String.fromCharCode((15&r)<<12|(63&e[++n])<<6|63&e[++n])}return t})(e)},914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var r=n(9945),i=function(){function e(){this.state=Int32Array.from(r.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>r.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===r.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%r.BLOCK_SIZE>=r.BLOCK_SIZE-8){for(var i=this.bufferLength;i>>24&255,o[4*i+1]=this.state[i]>>>16&255,o[4*i+2]=this.state[i]>>>8&255,o[4*i+3]=this.state[i]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],i=t[1],o=t[2],a=t[3],s=t[4],u=t[5],c=t[6],l=t[7],h=0;h>>17|p<<15)^(p>>>19|p<<13)^p>>>10,d=((p=this.temp[h-15])>>>7|p<<25)^(p>>>18|p<<14)^p>>>3;this.temp[h]=(f+this.temp[h-7]|0)+(d+this.temp[h-16]|0)}var g=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&u^~s&c)|0)+(l+(r.KEY[h]+this.temp[h]|0)|0)|0,m=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&o^i&o)|0;l=c,c=u,u=s,s=a+g|0,a=o,o=i,i=n,n=g+m|0}t[0]+=n,t[1]+=i,t[2]+=o,t[3]+=a,t[4]+=s,t[5]+=u,t[6]+=c,t[7]+=l},e}();t.RawSha256=i},9945:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],t.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},1938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,n(655).__exportStar)(n(5430),t)},5430:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(655),i=n(9945),o=n(914),a=n(892),s=function(){function e(e){if(this.hash=new o.RawSha256,e){this.outer=new o.RawSha256;var t=function(e){var t=(0,a.convertToBuffer)(e);if(t.byteLength>i.BLOCK_SIZE){var n=new o.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(i.BLOCK_SIZE);return r.set(t),r}(e),n=new Uint8Array(i.BLOCK_SIZE);n.set(t);for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var r=n(6930),i="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:r.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?i(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},892:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var r=n(9145);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return r.convertToBuffer}});var i=n(7450);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return i.isEmptyData}});var o=n(639);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return o.numToUint8}});var a=n(7113);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})},7450:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},7113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=function(e){if(!Array.from){for(var t=new Uint32Array(e.length);0{"use strict";n.r(t),n.d(t,{fromUtf8:()=>r,toUtf8:()=>i});const r=e=>"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):(e=>{const t=[];for(let n=0,r=e.length;n>6|192,63&r|128);else if(n+1>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)})(e),i=e=>"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):(e=>{let t="";for(let n=0,r=e.length;ne.toString(16)).join("%");t+=decodeURIComponent(i)}else t+=String.fromCharCode((15&r)<<12|(63&e[++n])<<6|63&e[++n])}return t})(e)},21:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(655).__exportStar(n(7787),t)},7787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var r=n(655),i=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function o(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function a(e){return e&&i.every((function(t){return"function"==typeof e[t]}))}t.supportsWebCrypto=function(e){return!(!o(e)||"object"!=typeof e.crypto.subtle)&&a(e.crypto.subtle)},t.supportsSecureRandom=o,t.supportsSubtleCrypto=a,t.supportsZeroByteGCM=function(e){return r.__awaiter(this,void 0,void 0,(function(){var t;return r.__generator(this,(function(n){switch(n.label){case 0:if(!a(e))return[2,!1];n.label=1;case 1:return n.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=n.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===n.sent().byteLength];case 4:return n.sent(),[2,!1];case 5:return[2]}}))}))}},4776:(e,t,n)=>{var r=n(2694),i=n(9946),o=i;o.v1=r,o.v4=i,e.exports=o},8724:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},4488:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},2694:(e,t,n)=>{var r,i,o=n(4488),a=n(8724),s=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,l=t||[],h=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i;if(null==h||null==p){var f=o();null==h&&(h=r=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==p&&(p=i=16383&(f[6]<<8|f[7]))}var d=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:u+1,m=d-s+(g-u)/1e4;if(m<0&&void 0===e.clockseq&&(p=p+1&16383),(m<0||d>s)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,u=g,i=p;var v=(1e4*(268435455&(d+=122192928e5))+g)%4294967296;l[c++]=v>>>24&255,l[c++]=v>>>16&255,l[c++]=v>>>8&255,l[c++]=255&v;var y=d/4294967296*1e4&268435455;l[c++]=y>>>8&255,l[c++]=255&y,l[c++]=y>>>24&15|16,l[c++]=y>>>16&255,l[c++]=p>>>8|128,l[c++]=255&p;for(var b=0;b<6;++b)l[c+b]=h[b];return t||a(l)}},9946:(e,t,n)=>{var r=n(4488),i=n(8724);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},6495:(e,t,n)=>{"use strict";n.r(t),n.d(t,{locateWindow:()=>i});const r={};function i(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:r}},4720:(e,t,n)=>{"use strict";n.d(t,{Z:()=>I});var r=n(7462),i=n(5987),o=n(7363),a=n.n(o),s=n(1533),u=n(6010),c=n(7294),l=n(5192),h=n(4670),p=n(4896),f=n(2982),d=n(5245),g=n(7326),m=n(4578),v=n(220);function y(e,t){var n=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)})),n}function b(e,t,n){return null!=n[t]?n[t]:e.props[t]}function w(e,t,n){var r=y(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,o=t.center,s=void 0===o?a||t.pulsate:o,u=t.fakeElement,c=void 0!==u&&u;if("mousedown"===e.type&&v.current)v.current=!1;else{"touchstart"===e.type&&(v.current=!0);var l,h,p,f=c?null:w.current,d=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(d.width/2),h=Math.round(d.height/2);else{var g=e.touches?e.touches[0]:e,m=g.clientX,S=g.clientY;l=Math.round(m-d.left),h=Math.round(S-d.top)}if(s)(p=Math.sqrt((2*Math.pow(d.width,2)+Math.pow(d.height,2))/3))%2==0&&(p+=1);else{var _=2*Math.max(Math.abs((f?f.clientWidth:0)-l),l)+2,C=2*Math.max(Math.abs((f?f.clientHeight:0)-h),h)+2;p=Math.sqrt(Math.pow(_,2)+Math.pow(C,2))}e.touches?null===b.current&&(b.current=function(){x({pulsate:i,rippleX:l,rippleY:h,rippleSize:p,cb:n})},y.current=setTimeout((function(){b.current&&(b.current(),b.current=null)}),80)):x({pulsate:i,rippleX:l,rippleY:h,rippleSize:p,cb:n})}}),[a,x]),C=o.useCallback((function(){S({},{pulsate:!0})}),[S]),E=o.useCallback((function(e,t){if(clearTimeout(y.current),"touchend"===e.type&&b.current)return e.persist(),b.current(),b.current=null,void(y.current=setTimeout((function(){E(e,t)})));b.current=null,d((function(e){return e.length>0?e.slice(1):e})),m.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:C,start:S,stop:E}}),[C,S,E]),o.createElement("span",(0,r.Z)({className:(0,u.Z)(s.root,c),ref:w},l),o.createElement(_,{component:null,exit:!0},p))}));const A=(0,h.Z)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(E));var P=o.forwardRef((function(e,t){var n=e.action,a=e.buttonRef,h=e.centerRipple,f=void 0!==h&&h,d=e.children,g=e.classes,m=e.className,v=e.component,y=void 0===v?"button":v,b=e.disabled,w=void 0!==b&&b,x=e.disableRipple,S=void 0!==x&&x,_=e.disableTouchRipple,C=void 0!==_&&_,k=e.focusRipple,E=void 0!==k&&k,P=e.focusVisibleClassName,I=e.onBlur,T=e.onClick,O=e.onFocus,R=e.onFocusVisible,L=e.onKeyDown,U=e.onKeyUp,M=e.onMouseDown,N=e.onMouseLeave,D=e.onMouseUp,j=e.onTouchEnd,B=e.onTouchMove,F=e.onTouchStart,Z=e.onDragLeave,V=e.tabIndex,z=void 0===V?0:V,H=e.TouchRippleProps,W=e.type,q=void 0===W?"button":W,G=(0,i.Z)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),K=o.useRef(null);var $=o.useRef(null),J=o.useState(!1),Y=J[0],X=J[1];w&&Y&&X(!1);var Q=(0,p.Z)(),ee=Q.isFocusVisible,te=Q.onBlurVisible,ne=Q.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;return(0,l.Z)((function(r){return t&&t(r),!n&&$.current&&$.current[e](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){X(!0),K.current.focus()}}}),[]),o.useEffect((function(){Y&&E&&!S&&$.current.pulsate()}),[S,E,Y]);var ie=re("start",M),oe=re("stop",Z),ae=re("stop",D),se=re("stop",(function(e){Y&&e.preventDefault(),N&&N(e)})),ue=re("start",F),ce=re("stop",j),le=re("stop",B),he=re("stop",(function(e){Y&&(te(e),X(!1)),I&&I(e)}),!1),pe=(0,l.Z)((function(e){K.current||(K.current=e.currentTarget),ee(e)&&(X(!0),R&&R(e)),O&&O(e)})),fe=function(){var e=s.findDOMNode(K.current);return y&&"button"!==y&&!("A"===e.tagName&&e.href)},de=o.useRef(!1),ge=(0,l.Z)((function(e){E&&!de.current&&Y&&$.current&&" "===e.key&&(de.current=!0,e.persist(),$.current.stop(e,(function(){$.current.start(e)}))),e.target===e.currentTarget&&fe()&&" "===e.key&&e.preventDefault(),L&&L(e),e.target===e.currentTarget&&fe()&&"Enter"===e.key&&!w&&(e.preventDefault(),T&&T(e))})),me=(0,l.Z)((function(e){E&&" "===e.key&&$.current&&Y&&!e.defaultPrevented&&(de.current=!1,e.persist(),$.current.stop(e,(function(){$.current.pulsate(e)}))),U&&U(e),T&&e.target===e.currentTarget&&fe()&&" "===e.key&&!e.defaultPrevented&&T(e)})),ve=y;"button"===ve&&G.href&&(ve="a");var ye={};"button"===ve?(ye.type=q,ye.disabled=w):("a"===ve&&G.href||(ye.role="button"),ye["aria-disabled"]=w);var be=(0,c.Z)(a,t),we=(0,c.Z)(ne,K),xe=(0,c.Z)(be,we),Se=o.useState(!1),_e=Se[0],Ce=Se[1];o.useEffect((function(){Ce(!0)}),[]);var ke=_e&&!S&&!w;return o.createElement(ve,(0,r.Z)({className:(0,u.Z)(g.root,m,Y&&[g.focusVisible,P],w&&g.disabled),onBlur:he,onClick:T,onFocus:pe,onKeyDown:ge,onKeyUp:me,onMouseDown:ie,onMouseLeave:se,onMouseUp:ae,onDragLeave:oe,onTouchEnd:ce,onTouchMove:le,onTouchStart:ue,ref:xe,tabIndex:w?-1:z},ye,G),d,ke?o.createElement(A,(0,r.Z)({ref:$,center:f},H)):null)}));const I=(0,h.Z)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(P)},8623:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var r=n(7462),i=n(5987),o=n(4942),a=n(7363),s=n(6010),u=n(4670),c=n(3871),l=n(9143),h=n(885),p=n(8052),f=n(3291),d=n(8920),g=n(5653),m=n(7294),v={entering:{opacity:1},entered:{opacity:1}},y={enter:f.x9.enteringScreen,exit:f.x9.leavingScreen};const b=a.forwardRef((function(e,t){var n=e.children,o=e.disableStrictModeCompat,s=void 0!==o&&o,u=e.in,c=e.onEnter,l=e.onEntered,f=e.onEntering,b=e.onExit,w=e.onExited,x=e.onExiting,S=e.style,_=e.TransitionComponent,C=void 0===_?p.ZP:_,k=e.timeout,E=void 0===k?y:k,A=(0,i.Z)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),P=(0,d.Z)(),I=P.unstable_strictMode&&!s,T=a.useRef(null),O=(0,m.Z)(n.ref,t),R=(0,m.Z)(I?T:void 0,O),L=function(e){return function(t,n){if(e){var r=I?[T.current,t]:[t,n],i=(0,h.Z)(r,2),o=i[0],a=i[1];void 0===a?e(o):e(o,a)}}},U=L(f),M=L((function(e,t){(0,g.n)(e);var n=(0,g.C)({style:S,timeout:E},{mode:"enter"});e.style.webkitTransition=P.transitions.create("opacity",n),e.style.transition=P.transitions.create("opacity",n),c&&c(e,t)})),N=L(l),D=L(x),j=L((function(e){var t=(0,g.C)({style:S,timeout:E},{mode:"exit"});e.style.webkitTransition=P.transitions.create("opacity",t),e.style.transition=P.transitions.create("opacity",t),b&&b(e)})),B=L(w);return a.createElement(C,(0,r.Z)({appear:!0,in:u,nodeRef:I?T:void 0,onEnter:M,onEntered:N,onEntering:U,onExit:j,onExited:B,onExiting:D,timeout:E},A),(function(e,t){return a.cloneElement(n,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},v[e],S,n.props.style),ref:R},t))}))}));var w=a.forwardRef((function(e,t){var n=e.children,o=e.classes,u=e.className,c=e.invisible,l=void 0!==c&&c,h=e.open,p=e.transitionDuration,f=e.TransitionComponent,d=void 0===f?b:f,g=(0,i.Z)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return a.createElement(d,(0,r.Z)({in:h,timeout:p},g),a.createElement("div",{className:(0,s.Z)(o.root,u,l&&o.invisible),"aria-hidden":!0,ref:t},n))}));const x=(0,u.Z)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(w);var S=n(9895),_={enter:f.x9.enteringScreen,exit:f.x9.leavingScreen},C=a.forwardRef((function(e,t){var n=e.BackdropProps,o=e.children,u=e.classes,h=e.className,p=e.disableBackdropClick,f=void 0!==p&&p,d=e.disableEscapeKeyDown,g=void 0!==d&&d,m=e.fullScreen,v=void 0!==m&&m,y=e.fullWidth,w=void 0!==y&&y,C=e.maxWidth,k=void 0===C?"sm":C,E=e.onBackdropClick,A=e.onClose,P=e.onEnter,I=e.onEntered,T=e.onEntering,O=e.onEscapeKeyDown,R=e.onExit,L=e.onExited,U=e.onExiting,M=e.open,N=e.PaperComponent,D=void 0===N?S.Z:N,j=e.PaperProps,B=void 0===j?{}:j,F=e.scroll,Z=void 0===F?"paper":F,V=e.TransitionComponent,z=void 0===V?b:V,H=e.transitionDuration,W=void 0===H?_:H,q=e.TransitionProps,G=e["aria-describedby"],K=e["aria-labelledby"],$=(0,i.Z)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),J=a.useRef();return a.createElement(l.Z,(0,r.Z)({className:(0,s.Z)(u.root,h),BackdropComponent:x,BackdropProps:(0,r.Z)({transitionDuration:W},n),closeAfterTransition:!0},f?{disableBackdropClick:f}:{},{disableEscapeKeyDown:g,onEscapeKeyDown:O,onClose:A,open:M,ref:t},$),a.createElement(z,(0,r.Z)({appear:!0,in:M,timeout:W,onEnter:P,onEntering:T,onEntered:I,onExit:R,onExiting:U,onExited:L,role:"none presentation"},q),a.createElement("div",{className:(0,s.Z)(u.container,u["scroll".concat((0,c.Z)(Z))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===J.current&&(J.current=null,E&&E(e),!f&&A&&A(e,"backdropClick"))},onMouseDown:function(e){J.current=e.target}},a.createElement(D,(0,r.Z)({elevation:24,role:"dialog","aria-describedby":G,"aria-labelledby":K},B,{className:(0,s.Z)(u.paper,u["paperScroll".concat((0,c.Z)(Z))],u["paperWidth".concat((0,c.Z)(String(k)))],B.className,v&&u.paperFullScreen,w&&u.paperFullWidth)}),o))))}));const k=(0,u.Z)((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":(0,o.Z)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,o.Z)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,o.Z)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":(0,o.Z)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":(0,o.Z)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(C)},7812:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7462),i=n(5987),o=n(7363),a=n(6010),s=n(4670),u=n(9693),c=n(4720),l=n(3871),h=o.forwardRef((function(e,t){var n=e.edge,s=void 0!==n&&n,u=e.children,h=e.classes,p=e.className,f=e.color,d=void 0===f?"default":f,g=e.disabled,m=void 0!==g&&g,v=e.disableFocusRipple,y=void 0!==v&&v,b=e.size,w=void 0===b?"medium":b,x=(0,i.Z)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(c.Z,(0,r.Z)({className:(0,a.Z)(h.root,p,"default"!==d&&h["color".concat((0,l.Z)(d))],m&&h.disabled,"small"===w&&h["size".concat((0,l.Z)(w))],{start:h.edgeStart,end:h.edgeEnd}[s]),centerRipple:!0,focusRipple:!y,disabled:m,ref:t},x),o.createElement("span",{className:h.label},u))}));const p=(0,s.Z)((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,u.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,u.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,u.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(h)},9143:(e,t,n)=>{"use strict";n.d(t,{Z:()=>R});var r=n(5987),i=n(7462),o=n(7363),a=n(1533),s=n(5959),u=n(3869),c=n(626),l=n(4236),h=n(7294);var p="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;const f=o.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,s=void 0!==i&&i,u=e.onRendered,c=o.useState(null),f=c[0],d=c[1],g=(0,h.Z)(o.isValidElement(n)?n.ref:null,t);return p((function(){s||d(function(e){return e="function"==typeof e?e():e,a.findDOMNode(e)}(r)||document.body)}),[r,s]),p((function(){if(f&&!s)return(0,l.Z)(t,f),function(){(0,l.Z)(t,null)}}),[t,f,s]),p((function(){u&&(f||s)&&u()}),[u,f,s]),s?o.isValidElement(n)?o.cloneElement(n,{ref:g}):n:f?a.createPortal(n,f):f}));var d=n(2568),g=n(5192),m=n(2781),v=n(5671),y=n(3144),b=n(2982),w=n(5840),x=n(713);function S(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function _(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[t,n].concat((0,b.Z)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===a.indexOf(e.tagName)&&S(e,i)}))}function k(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function E(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,c.Z)(e);return t.body===e?(0,x.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var a=(0,w.Z)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(_(o)+a,"px"),n=(0,c.Z)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(_(e)+a,"px")}))}var s=o.parentElement,u="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;r.push({value:u.style.overflow,key:"overflow",el:u}),u.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var A=function(){function e(){(0,v.Z)(this,e),this.modals=[],this.containers=[]}return(0,y.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&S(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);C(t,e.mountNode,e.modalRef,r,!0);var i=k(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=k(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=E(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=k(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&S(e.modalRef,!0),C(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&S(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();const P=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,s=void 0!==i&&i,u=e.disableRestoreFocus,l=void 0!==u&&u,p=e.getDoc,f=e.isEnabled,d=e.open,g=o.useRef(),m=o.useRef(null),v=o.useRef(null),y=o.useRef(),b=o.useRef(null),w=o.useCallback((function(e){b.current=a.findDOMNode(e)}),[]),x=(0,h.Z)(t.ref,w),S=o.useRef();return o.useEffect((function(){S.current=d}),[d]),!S.current&&d&&"undefined"!=typeof window&&(y.current=p().activeElement),o.useEffect((function(){if(d){var e=(0,c.Z)(b.current);r||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!s&&f()&&!g.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():g.current=!1)},n=function(t){!s&&f()&&9===t.keyCode&&e.activeElement===b.current&&(g.current=!0,t.shiftKey?v.current.focus():m.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var i=setInterval((function(){t()}),50);return function(){clearInterval(i),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),l||(y.current&&y.current.focus&&y.current.focus(),y.current=null)}}}),[r,s,l,f,d]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelStart"}),o.cloneElement(t,{ref:x}),o.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelEnd"}))};var I={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}};const T=o.forwardRef((function(e,t){var n=e.invisible,a=void 0!==n&&n,s=e.open,u=(0,r.Z)(e,["invisible","open"]);return s?o.createElement("div",(0,i.Z)({"aria-hidden":!0,ref:t},u,{style:(0,i.Z)({},I.root,a?I.invisible:{},u.style)})):null}));var O=new A;const R=o.forwardRef((function(e,t){var n=(0,s.Z)(),l=(0,u.Z)({name:"MuiModal",props:(0,i.Z)({},e),theme:n}),p=l.BackdropComponent,v=void 0===p?T:p,y=l.BackdropProps,b=l.children,w=l.closeAfterTransition,x=void 0!==w&&w,_=l.container,C=l.disableAutoFocus,k=void 0!==C&&C,E=l.disableBackdropClick,A=void 0!==E&&E,I=l.disableEnforceFocus,R=void 0!==I&&I,L=l.disableEscapeKeyDown,U=void 0!==L&&L,M=l.disablePortal,N=void 0!==M&&M,D=l.disableRestoreFocus,j=void 0!==D&&D,B=l.disableScrollLock,F=void 0!==B&&B,Z=l.hideBackdrop,V=void 0!==Z&&Z,z=l.keepMounted,H=void 0!==z&&z,W=l.manager,q=void 0===W?O:W,G=l.onBackdropClick,K=l.onClose,$=l.onEscapeKeyDown,J=l.onRendered,Y=l.open,X=(0,r.Z)(l,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=o.useState(!0),ee=Q[0],te=Q[1],ne=o.useRef({}),re=o.useRef(null),ie=o.useRef(null),oe=(0,h.Z)(ie,t),ae=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(l),se=function(){return(0,c.Z)(re.current)},ue=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){q.mount(ue(),{disableScrollLock:F}),ie.current.scrollTop=0},le=(0,g.Z)((function(){var e=function(e){return e="function"==typeof e?e():e,a.findDOMNode(e)}(_)||se().body;q.add(ue(),e),ie.current&&ce()})),he=o.useCallback((function(){return q.isTopModal(ue())}),[q]),pe=(0,g.Z)((function(e){re.current=e,e&&(J&&J(),Y&&he()?ce():S(ie.current,!0))})),fe=o.useCallback((function(){q.remove(ue())}),[q]);if(o.useEffect((function(){return function(){fe()}}),[fe]),o.useEffect((function(){Y?le():ae&&x||fe()}),[Y,fe,ae,x,le]),!H&&!Y&&(!ae||ee))return null;var de=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:m.Z}),ge={};return void 0===b.props.tabIndex&&(ge.tabIndex=b.props.tabIndex||"-1"),ae&&(ge.onEnter=(0,d.Z)((function(){te(!1)}),b.props.onEnter),ge.onExited=(0,d.Z)((function(){te(!0),x&&fe()}),b.props.onExited)),o.createElement(f,{ref:pe,container:_,disablePortal:N},o.createElement("div",(0,i.Z)({ref:oe,onKeyDown:function(e){"Escape"===e.key&&he()&&($&&$(e),U||(e.stopPropagation(),K&&K(e,"escapeKeyDown")))},role:"presentation"},X,{style:(0,i.Z)({},de.root,!Y&&ee?de.hidden:{},X.style)}),V?null:o.createElement(v,(0,i.Z)({open:Y,onClick:function(e){e.target===e.currentTarget&&(G&&G(e),!A&&K&&K(e,"backdropClick"))}},y)),o.createElement(P,{disableEnforceFocus:R,disableAutoFocus:k,disableRestoreFocus:j,getDoc:se,isEnabled:he,open:Y},o.cloneElement(b,ge))))}))},9895:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(5987),i=n(7462),o=n(7363),a=n(6010),s=n(4670),u=o.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.component,c=void 0===u?"div":u,l=e.square,h=void 0!==l&&l,p=e.elevation,f=void 0===p?1:p,d=e.variant,g=void 0===d?"elevation":d,m=(0,r.Z)(e,["classes","className","component","square","elevation","variant"]);return o.createElement(c,(0,i.Z)({className:(0,a.Z)(n.root,s,"outlined"===g?n.outlined:n["elevation".concat(f)],!h&&n.rounded),ref:t},m))}));const c=(0,s.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,i.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(u)},9693:(e,t,n)=>{"use strict";n.d(t,{$n:()=>h,Fq:()=>c,_j:()=>l,mi:()=>s});var r=n(288);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.Z)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function h(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},433:(e,t,n)=>{"use strict";n.d(t,{Z:()=>J});var r=n(5987),i=n(5953),o=n(7462),a=["xs","sm","md","lg","xl"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,i=e.unit,s=void 0===i?"px":i,u=e.step,c=void 0===u?5:u,l=(0,r.Z)(e,["values","unit","step"]);function h(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var r=a.indexOf(t);return r===a.length-1?h(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[a[r+1]]?n[a[r+1]]:t)-c/100).concat(s,")")}return(0,o.Z)({keys:a,values:n,up:h,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?h("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-c/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return n[e]}},l)}var u=n(4942);function c(e,t,n){var r;return(0,o.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,o.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,u.Z)({},e.up("sm"),(0,o.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,u.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,u.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}var l=n(288);const h={black:"#000",white:"#fff"};const p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};const f={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};const d={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};const g={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};const m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};const v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};const y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};var b=n(9693),w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.white,default:p[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:h.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:p[800],default:"#303030"},action:{active:h.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function S(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,b.$n)(e.main,i):"dark"===t&&(e.dark=(0,b._j)(e.main,o)))}function _(e){var t=e.primary,n=void 0===t?{light:f[300],main:f[500],dark:f[700]}:t,a=e.secondary,s=void 0===a?{light:d.A200,main:d.A400,dark:d.A700}:a,u=e.error,c=void 0===u?{light:g[300],main:g[500],dark:g[700]}:u,_=e.warning,C=void 0===_?{light:m[300],main:m[500],dark:m[700]}:_,k=e.info,E=void 0===k?{light:v[300],main:v[500],dark:v[700]}:k,A=e.success,P=void 0===A?{light:y[300],main:y[500],dark:y[700]}:A,I=e.type,T=void 0===I?"light":I,O=e.contrastThreshold,R=void 0===O?3:O,L=e.tonalOffset,U=void 0===L?.2:L,M=(0,r.Z)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function N(e){return(0,b.mi)(e,x.text.primary)>=R?x.text.primary:w.text.primary}var D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,o.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,l.Z)(4,t));if("string"!=typeof e.main)throw new Error((0,l.Z)(5,JSON.stringify(e.main)));return S(e,"light",n,U),S(e,"dark",r,U),e.contrastText||(e.contrastText=N(e.main)),e},j={dark:x,light:w};return(0,i.Z)((0,o.Z)({common:h,type:T,primary:D(n),secondary:D(s,"A400","A200","A700"),error:D(c),warning:D(C),info:D(E),success:D(P),grey:p,contrastThreshold:R,getContrastText:N,augmentColor:D,tonalOffset:U},j[T]),M)}function C(e){return Math.round(1e5*e)/1e5}function k(e){return C(e)}var E={textTransform:"uppercase"};function A(e,t){var n="function"==typeof t?t(e):t,a=n.fontFamily,s=void 0===a?'"Roboto", "Helvetica", "Arial", sans-serif':a,u=n.fontSize,c=void 0===u?14:u,l=n.fontWeightLight,h=void 0===l?300:l,p=n.fontWeightRegular,f=void 0===p?400:p,d=n.fontWeightMedium,g=void 0===d?500:d,m=n.fontWeightBold,v=void 0===m?700:m,y=n.htmlFontSize,b=void 0===y?16:y,w=n.allVariants,x=n.pxToRem,S=(0,r.Z)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var _=c/14,A=x||function(e){return"".concat(e/b*_,"rem")},P=function(e,t,n,r,i){return(0,o.Z)({fontFamily:s,fontWeight:e,fontSize:A(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===s?{letterSpacing:"".concat(C(r/t),"em")}:{},i,w)},I={h1:P(h,96,1.167,-1.5),h2:P(h,60,1.2,-.5),h3:P(f,48,1.167,0),h4:P(f,34,1.235,.25),h5:P(f,24,1.334,0),h6:P(g,20,1.6,.15),subtitle1:P(f,16,1.75,.15),subtitle2:P(g,14,1.57,.1),body1:P(f,16,1.5,.15),body2:P(f,14,1.43,.15),button:P(g,14,1.75,.4,E),caption:P(f,12,1.66,.4),overline:P(f,12,2.66,1,E)};return(0,i.Z)((0,o.Z)({htmlFontSize:b,pxToRem:A,round:k,fontFamily:s,fontSize:c,fontWeightLight:h,fontWeightRegular:f,fontWeightMedium:g,fontWeightBold:v},I),S,{clone:!1})}function P(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const I=["none",P(0,2,1,-1,0,1,1,0,0,1,3,0),P(0,3,1,-2,0,2,2,0,0,1,5,0),P(0,3,3,-2,0,3,4,0,0,1,8,0),P(0,2,4,-1,0,4,5,0,0,1,10,0),P(0,3,5,-1,0,5,8,0,0,1,14,0),P(0,3,5,-1,0,6,10,0,0,1,18,0),P(0,4,5,-2,0,7,10,1,0,2,16,1),P(0,5,5,-3,0,8,10,1,0,3,14,2),P(0,5,6,-3,0,9,12,1,0,3,16,2),P(0,6,6,-3,0,10,14,1,0,4,18,3),P(0,6,7,-4,0,11,15,1,0,4,20,3),P(0,7,8,-4,0,12,17,2,0,5,22,4),P(0,7,8,-4,0,13,19,2,0,5,24,4),P(0,7,9,-4,0,14,21,2,0,5,26,4),P(0,8,9,-5,0,15,22,2,0,6,28,5),P(0,8,10,-5,0,16,24,2,0,6,30,5),P(0,8,11,-5,0,17,26,2,0,6,32,5),P(0,9,11,-5,0,18,28,2,0,7,34,6),P(0,9,12,-6,0,19,29,2,0,7,36,6),P(0,10,13,-6,0,20,31,3,0,8,38,7),P(0,10,13,-6,0,21,33,3,0,8,40,7),P(0,10,14,-6,0,22,35,3,0,8,42,7),P(0,11,14,-7,0,23,36,3,0,9,44,8),P(0,11,15,-7,0,24,38,3,0,9,46,8)];const T={borderRadius:4};var O=n(885),R=n(1002),L={xs:0,sm:600,md:960,lg:1280,xl:1920},U={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(L[e],"px)")}};const M=function(e,t){return t?(0,i.Z)(e,t,{clone:!1}):e};var N,D,j={m:"margin",p:"padding"},B={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},F={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Z=(N=function(e){if(e.length>2){if(!F[e])return[e];e=F[e]}var t=e.split(""),n=(0,O.Z)(t,2),r=n[0],i=n[1],o=j[r],a=B[i]||"";return Array.isArray(a)?a.map((function(e){return o+e})):[o+a]},D={},function(e){return void 0===D[e]&&(D[e]=N(e)),D[e]}),V=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function z(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function H(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function W(e){var t=z(e.theme);return Object.keys(e).map((function(n){if(-1===V.indexOf(n))return null;var r=H(Z(n),t),i=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||U;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===(0,R.Z)(t)){var i=e.theme.breakpoints||U;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}(e,i,r)})).reduce(M,{})}W.propTypes={},W.filterProps=V;function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=z({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,o=e.mixins,a=void 0===o?{}:o,u=e.palette,l=void 0===u?{}:u,h=e.spacing,p=e.typography,f=void 0===p?{}:p,d=(0,r.Z)(e,["breakpoints","mixins","palette","spacing","typography"]),g=_(l),m=s(n),v=q(h),y=(0,i.Z)({breakpoints:m,direction:"ltr",mixins:c(m,v,a),overrides:{},palette:g,props:{},shadows:I,typography:A(g,f),spacing:v,shape:T,transitions:G.ZP,zIndex:K.Z},d),b=arguments.length,w=new Array(b>1?b-1:0),x=1;x{"use strict";n.d(t,{ZP:()=>s,x9:()=>o});var r=n(5987),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}const s={easing:i,duration:o,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?o.standard:n,u=t.easing,c=void 0===u?i.easeInOut:u,l=t.delay,h=void 0===l?0:l;(0,r.Z)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:a(s)," ").concat(c," ").concat("string"==typeof h?h:a(h))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},8920:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5959),i=(n(7363),n(433));function o(){return(0,r.Z)()||i.Z}},4670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7462),i=n(5987),o=n(7363),a=n.n(o),s=n(8679),u=n.n(s),c=n(1314),l=n(3869),h=n(5959);const p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,s=t.withTheme,p=void 0!==s&&s,f=t.name,d=(0,i.Z)(t,["defaultTheme","withTheme","name"]);var g=f,m=(0,c.Z)(e,(0,r.Z)({defaultTheme:o,Component:n,name:f||n.displayName,classNamePrefix:g},d)),v=a().forwardRef((function(e,t){e.classes;var s,u=e.innerRef,c=(0,i.Z)(e,["classes","innerRef"]),d=m((0,r.Z)({},n.defaultProps,e)),g=c;return("string"==typeof f||p)&&(s=(0,h.Z)()||o,f&&(g=(0,l.Z)({theme:s,name:f,props:c})),p&&!g.theme&&(g.theme=s)),a().createElement(n,(0,r.Z)({ref:u||t,classes:d},g))}));return u()(v,n),v}};var f=n(433);const d=function(e,t){return p(e,(0,r.Z)({defaultTheme:f.Z},t))}},2781:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},5653:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,n:()=>r});var r=function(e){return e.scrollTop};function i(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}},3871:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(288);function i(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},2568:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;nr})},5209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7462),i=n(7363),o=n.n(i),a=n(5987),s=n(6010),u=n(4670),c=n(3871),l=i.forwardRef((function(e,t){var n=e.children,o=e.classes,u=e.className,l=e.color,h=void 0===l?"inherit":l,p=e.component,f=void 0===p?"svg":p,d=e.fontSize,g=void 0===d?"medium":d,m=e.htmlColor,v=e.titleAccess,y=e.viewBox,b=void 0===y?"0 0 24 24":y,w=(0,a.Z)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(f,(0,r.Z)({className:(0,s.Z)(o.root,u,"inherit"!==h&&o["color".concat((0,c.Z)(h))],"default"!==g&&"medium"!==g&&o["fontSize".concat((0,c.Z)(g))]),focusable:"false",viewBox:b,color:m,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:t},w),n,v?i.createElement("title",null,v):null)}));l.muiName="SvgIcon";const h=(0,u.Z)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(l);function p(e,t){var n=function(t,n){return o().createElement(h,(0,r.Z)({ref:n},t),e)};return n.muiName=h.muiName,o().memo(o().forwardRef(n))}},9437:(e,t,n)=>{"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;or})},5840:(e,t,n)=>{"use strict";function r(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,{Z:()=>r})},8731:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>r.Z,createChainedFunction:()=>i.Z,createSvgIcon:()=>o.Z,debounce:()=>a.Z,deprecatedPropType:()=>s,isMuiElement:()=>u.Z,ownerDocument:()=>c.Z,ownerWindow:()=>l.Z,requirePropFactory:()=>h,setRef:()=>p.Z,unstable_useId:()=>y,unsupportedProp:()=>f,useControlled:()=>d.Z,useEventCallback:()=>g.Z,useForkRef:()=>m.Z,useIsFocusVisible:()=>b.Z});var r=n(3871),i=n(2568),o=n(5209),a=n(9437);function s(e,t){return function(){return null}}var u=n(3711),c=n(626),l=n(713);function h(e){return function(){return null}}var p=n(4236);function f(e,t,n,r,i){return null}var d=n(2775),g=n(5192),m=n(7294),v=n(7363);function y(e){var t=v.useState(e),n=t[0],r=t[1],i=e||n;return v.useEffect((function(){null==n&&r("mui-".concat(Math.round(1e5*Math.random())))}),[n]),i}var b=n(4896)},3711:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7363);function i(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},626:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:()=>r})},713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(626);function i(e){return(0,r.Z)(e).defaultView||window}},4236:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:()=>r})},2775:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7363);function i(e){var t=e.controlled,n=e.default,i=(e.name,e.state,r.useRef(void 0!==t).current),o=r.useState(n),a=o[0],s=o[1];return[i?t:a,r.useCallback((function(e){i||s(e)}),[])]}},5192:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7363),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function o(e){var t=r.useRef(e);return i((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},7294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7363),i=n(4236);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,i.Z)(e,n),(0,i.Z)(t,n)}}),[e,t])}},4896:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7363),i=n(1533),o=!0,a=!1,s=null,u={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function l(){o=!1}function h(){"hidden"===this.visibilityState&&a&&(o=!0)}function p(e){var t,n,r,i=e.target;try{return i.matches(":focus-visible")}catch(e){}return o||(n=(t=i).type,!("INPUT"!==(r=t.tagName)||!u[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function f(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function d(){return{isFocusVisible:p,onBlurVisible:f,ref:r.useCallback((function(e){var t,n=i.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",l,!0),t.addEventListener("pointerdown",l,!0),t.addEventListener("touchstart",l,!0),t.addEventListener("visibilitychange",h,!0))}),[])}}},366:(e,t,n)=>{"use strict";var r=n(4836),i=n(6338);t.Z=void 0;var o=i(n(7363)),a=(0,r(n(2108)).default)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.Z=a},2108:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(8731)},3869:(e,t,n)=>{"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(t,{Z:()=>r})},1314:(e,t,n)=>{"use strict";n.d(t,{Z:()=>fn});var r=n(5987),i=n(7462),o=n(7363),a=n.n(o),s="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};const u="object"===("undefined"==typeof window?"undefined":s(window))&&"object"===("undefined"==typeof document?"undefined":s(document))&&9===document.nodeType;var c=n(3144),l=n(4578),h=n(7326),p=n(5245),f={}.constructor;function d(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(d);if(e.constructor!==f)return e;var t={};for(var n in e)t[n]=d(e[n]);return t}function g(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=d(t),o=r.plugins.onCreateRule(e,i,n);return o||(e[0],null)}var m=function(e,t){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,S="undefined"!=typeof CSS&&CSS.escape,_=function(e){return S?S(e):e.replace(x,"\\$1")},C=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),k=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=r.selector,a=r.scoped,s=r.sheet,u=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=u((0,h.Z)((0,h.Z)(i)),s),i.selectorText="."+_(i.id)),i}(0,l.Z)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=v(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,i.Z)({},e,{allowEmpty:!0}):e;return w(this.selectorText,this.style,n)},(0,c.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(C),E={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new k(e,t,n)}},A={indent:1,children:!0},P=/@([\w-]+)/,I=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(P);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new X((0,i.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=A);var t=y(e).linebreak;if(null==e.indent&&(e.indent=A.indent),null==e.children&&(e.children=A.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),T=/@media|@supports\s+/,O={onCreateRule:function(e,t,n){return T.test(e)?new I(e,t,n):null}},R={indent:1,children:!0},L=/@keyframes\s+([\w-]+)/,U=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(L);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var u in this.id=!1===o?this.name:_(s(this,a)),this.rules=new X((0,i.Z)({},n,{parent:this})),t)this.rules.add(u,t[u],(0,i.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=R);var t=y(e).linebreak;if(null==e.indent&&(e.indent=R.indent),null==e.children&&(e.children=R.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),M=/@keyframes\s+/,N=/\$([\w-]+)/g,D=function(e,t){return"string"==typeof e?e.replace(N,(function(e,n){return n in t?t[n]:e})):e},j=function(e,t,n){var r=e[t],i=D(r,n);i!==r&&(e[t]=i)},B={onCreateRule:function(e,t,n){return"string"==typeof e&&M.test(e)?new U(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&j(e,"animation-name",n.keyframes),"animation"in e&&j(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return D(e,r.keyframes);default:return e}}},F=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,i.Z)({},e,{allowEmpty:!0}):e;return w(this.key,this.style,n)},t}(C),Z={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new F(e,t,n):null}},V=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=y(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,p.Z)(t,["attached"]),i=y(r).linebreak,o="",a=0;a-1?r.substr(0,i-1):r;e.style.setProperty(t,o,i>-1?"important":"")}}catch(e){return!1}return!0},ce=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},le=function(e,t){return e.selectorText=t,e.selectorText===t},he=ae((function(){return document.querySelector("head")}));function pe(e){var t=te.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=he(),n=0;nn?n:t},me=function(){function e(e){this.getPropertyValue=se,this.setProperty=ue,this.removeProperty=ce,this.setSelector=le,this.hasInsertedRules=!1,this.cssRules=[],e&&te.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=fe();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=pe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else he().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n-1){var i=Mt[e];if(!Array.isArray(i))return ct+bt(i)in t&<+i;if(!r)return!1;for(var o=0;ot?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,a=void 0===o?"":o,s=""===a?"":"".concat(a,"-"),u=0,c=function(){return u+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==ke.indexOf(e.key))return"Mui-".concat(e.key);var o="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Ce]&&""===a?"".concat(o,"-").concat(c()):o}return"".concat(s).concat(i).concat(c())}}(),jss:Qt,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},tn=a().createContext(en);var nn=-1e9;function rn(){return nn+=1}var on=n(5953);function an(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var a=n.overrides[r],s=(0,i.Z)({},o);return Object.keys(a).forEach((function(e){s[e]=(0,on.Z)(s[e],a[e])})),s},options:{}}}const sn={};function un(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=(0,xe.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function cn(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!o.disableGeneration){var u=Se.get(o.sheetsManager,a,r);u||(u={refs:0,staticSheet:null,dynamicStyles:null},Se.set(o.sheetsManager,a,r,u));var c=(0,i.Z)({},a.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var l=o.sheetsRegistry;if(0===u.refs){var h;o.sheetsCache&&(h=Se.get(o.sheetsCache,a,r));var p=a.create(r,s);h||((h=o.jss.createStyleSheet(p,(0,i.Z)({link:!1},c))).attach(),o.sheetsCache&&Se.set(o.sheetsCache,a,r,h)),l&&l.add(h),u.staticSheet=h,u.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=e(i);a&&(n||(n={}),n[r]=a)}}return n}(p)}if(u.dynamicStyles){var f=o.jss.createStyleSheet(u.dynamicStyles,(0,i.Z)({link:!0},c));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=(0,xe.Z)({baseClasses:u.staticSheet.classes,newClasses:f.classes}),l&&l.add(f)}else n.classes=u.staticSheet.classes;u.refs+=1}}function ln(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function hn(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=Se.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(Se.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function pn(e,t){var n,r=a().useRef([]),i=a().useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),a().useEffect((function(){return function(){n&&n()}}),[i])}function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,s=t.Component,u=t.defaultTheme,c=void 0===u?sn:u,l=(0,r.Z)(t,["name","classNamePrefix","Component","defaultTheme"]),h=an(e),p=n||o||"makeStyles";h.options={index:rn(),name:n,meta:p,classNamePrefix:p};var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,_e.Z)()||c,r=(0,i.Z)({},a().useContext(tn),l),o=a().useRef(),u=a().useRef();pn((function(){var i={name:n,state:{},stylesCreator:h,stylesOptions:r,theme:t};return cn(i,e),u.current=!1,o.current=i,function(){hn(i)}}),[t,h]),a().useEffect((function(){u.current&&ln(o.current,e),u.current=!0}));var p=un(o.current,e.classes,s);return p};return f}},5835:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7462);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},5959:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7363),i=n.n(r);const o=i().createContext(null);function a(){return i().useContext(o)}},5953:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7462),i=n(1002);function o(e){return e&&"object"===(0,i.Z)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e?i[r]=a(e[r],t[r],n):i[r]=t[r])})),i}},288:(e,t,n)=>{"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;nr})},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),i=n(6026),o=n(5327),a=n(4097),s=n(4109),u=n(7985),c=n(5061);e.exports=function(e){return new Promise((function(t,l){var h=e.data,p=e.headers;r.isFormData(h)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",g=e.auth.password||"";p.Authorization="Basic "+btoa(d+":"+g)}var m=a(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),o(m,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};i(t,l,r),f=null}},f.onabort=function(){f&&(l(c("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){l(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(t,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n(4372),y=(e.withCredentials||u(m))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}if("setRequestHeader"in f&&r.forEach(p,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),l(e),f=null)})),void 0===h&&(h=null),f.send(h)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),i=n(1849),o=n(321),a=n(7185);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(n(5655));u.Axios=o,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(e){return Promise.all(e)},u.spread=n(8713),e.exports=u,e.exports.default=u},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),i=n(5327),o=n(782),a=n(3572),s=n(7185);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}})),e.exports=u},782:(e,t,n)=>{"use strict";var r=n(4867);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},4097:(e,t,n)=>{"use strict";var r=n(1793),i=n(7303);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},3572:(e,t,n)=>{"use strict";var r=n(4867),i=n(8527),o=n(6502),a=n(5655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,(function(e){void 0!==t[e]&&(n[e]=t[e])})),r.forEach(o,(function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])})),r.forEach(a,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}));var s=i.concat(o).concat(a),u=Object.keys(t).filter((function(e){return-1===s.indexOf(e)}));return r.forEach(u,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])})),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},8527:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},5655:(e,t,n)=>{"use strict";var r=n(4867),i=n(6016),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(s=n(5448)),s),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4867:(e,t,n)=>{"use strict";var r=n(1849),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n{"use strict";n.d(t,{Z:()=>L});var r,i,o,a,s,u,c,l,h,p,f,d,g=n(7363),m=n.n(g),v=n(5697),y=n.n(v),b=n(809),w=n(168),x=n(4910),S=n(2048),_=n.n(S),C=(0,x.ZP)(b.zx)(r||(r=(0,w.Z)(["\n width: fit-content;\n font-weight: 400;\n display: block;\n\n @media "," {\n width: 100%;\n padding: 10px 20px;\n }\n"])),b.Uh.tablet),k=x.ZP.button(i||(i=(0,w.Z)(["\n position: relative;\n width: fit-content;\n\n background: transparent;\n border: 0;\n outline: none;\n cursor: pointer;\n font-weight: 400;\n font-size: 16px;\n line-height: 20px;\n font-family: inter;\n transition: all 0.2s;\n text-decoration-line: underline;\n text-underline-offset: 3px;\n\n ","\n \n ","\n \n &:disabled {\n color: #ccc !important;\n border: 1px solid #ccc !important;\n background: #fff !important;\n }\n\n &:hover {\n opacity: 0.9;\n }\n\n @media "," {\n width: 100%;\n }\n"])),(function(e){return e.shadow?"box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);":""}),(function(e){return e.hasLinkArrow&&(0,x.iv)(o||(o=(0,w.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n "])))}),b.Uh.tablet),E=(0,x.ZP)(_())(a||(a=(0,w.Z)(["\n"]))),A=x.ZP.div(s||(s=(0,w.Z)(["\n display: flex;\n column-gap: 30px;\n\n @media "," {\n flex-direction: column;\n }\n"])),b.Uh.tablet),P=x.ZP.div(u||(u=(0,w.Z)(["\n display: flex;\n flex-direction: column;\n\n &, "," {\n gap: 25px;\n }\n\n width: fit-content;\n\n "," {\n p {\n white-space: nowrap;\n }\n }\n\n ","\n \n \n ","\n\n @media "," {\n margin: 0 auto;\n }\n\n @media "," {\n width: 100%;\n }\n\n ","\n"])),A,b.rA,(function(e){return e.centerAlignment&&(0,x.iv)(c||(c=(0,w.Z)(["\n align-items: center;\n "," {\n @media "," {\n width: 100%;\n }\n }\n "])),A,b.Uh.tablet)}),(function(e){return e.horizontal&&(0,x.iv)(l||(l=(0,w.Z)(["\n flex-direction: row;\n justify-content: center;\n align-items: center;\n flex-wrap: wrap;\n "," {\n align-items: center;\n margin-bottom: unset;\n p {\n margin-bottom: 5px;\n }\n }\n\n @media "," {\n flex-direction: column;\n }\n "])),b.rA,b.Uh.mobileL)}),b.Uh.tablet,b.Uh.mobileL,(function(e){return e.isHeader&&(0,x.iv)(h||(h=(0,w.Z)(["\n gap: unset;\n margin-left: auto;\n \n @media "," {\n width: unset;\n margin: unset;\n }\n\n "," {\n @media "," {\n width: 103px;\n padding: 0;\n font-size: 14px;\n height: 36px;\n margin: 0px;\n min-width: 70px;\n border-radius: 5px;\n }\n }\n "])),b.Uh.tablet,C,b.Uh.tablet)})),I=(0,x.ZP)(b.qt)(p||(p=(0,w.Z)(["\n margin: unset;\n @media "," {\n margin-top: unset;\n text-align: center;\n margin-bottom: 20px;\n }\n\n @media "," {\n padding-bottom: 20px;\n padding-top: 0;\n }\n"])),b.Uh.tablet,b.Uh.mobileL),T=(0,x.ZP)(b.kL)(f||(f=(0,w.Z)(["\n margin: unset;\n margin-left: 5px;\n @media "," {\n text-align: center;\n margin-bottom: 20px;\n margin-top: unset;\n }\n\n @media "," {\n padding-bottom: 20px;\n padding-top: 0;\n }\n"])),b.Uh.tablet,b.Uh.mobileL),O=x.ZP.img.attrs({src:"/Site/Media/ToothApps/Common/arrowLeft.svg"})(d||(d=(0,w.Z)(["\n transform: rotate(180deg) ;\n filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(34deg) brightness(136%) contrast(102%);\n width: 30px;\n margin-left: 10px;\n"]))),R=function(e){var t=e.isHeader,n=e.hasLinkArrow,r=e.actionButtonText,i=e.linkButtonText,o=e.phoneText,a=e.horizontal,s=e.centerAlignment,u=e.onActionButtonClick,c=e.onLinkButtonClick,l=e.onPhoneClick;return m().createElement(P,{isHeader:t,horizontal:a,centerAlignment:s},m().createElement(A,null,r&&m().createElement(C,{onClick:function(e){e.preventDefault(),u&&u()}},r),i&&m().createElement(k,{hasLinkArrow:n,type:"button",onClick:function(e){e.preventDefault(),c&&c()}},i,n&&m().createElement(O,null))),o&&m().createElement(E,{bindings:{phoneClick:l},jsx:o,blacklistedAttrs:[],components:{ContactText:I,ContactTextContainer:b.rA,ContactNumber:T}}))};R.propTypes={isHeader:y().bool,hasLinkArrow:y().bool,actionButtonText:y().string,linkButtonText:y().string,phoneText:y().string,horizontal:y().bool,centerAlignment:y().bool,onActionButtonClick:y().func,onLinkButtonClick:y().func,onPhoneClick:y().func};const L=R},3980:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(885),i=n(7363),o=n.n(i),a=n(5697),s=n.n(a),u=n(809),c=function(e){var t,n=e.containerRef,a=e.images,s=e.speed,c=(0,i.useRef)(null),l=(0,i.useState)(null),h=(0,r.Z)(l,2),p=h[0],f=h[1],d=(0,i.useState)(!0),g=(0,r.Z)(d,2),m=g[0],v=g[1],y=function(){v(!0)};return(0,i.useEffect)((function(){return window.addEventListener("resize",y),function(){window.removeEventListener("resize",y)}}),[]),(0,i.useEffect)((function(){var e,t;m&&(f(((null===(e=c.current)||void 0===e?void 0:e.scrollWidth)||0)>((null===(t=n.current)||void 0===t?void 0:t.clientWidth)||0)),v(!1))}),[m]),o().createElement(u.yE,{ref:c,isBannerAnimated:p&&!m,time:((null===(t=n.current)||void 0===t?void 0:t.clientWidth)||0)/s},null==a?void 0:a.map((function(e){return o().createElement(u.cW,{key:e.src,imagePath:e.src,width:e.width,height:e.height})})),p&&!m?null==a?void 0:a.map((function(e){return o().createElement(u.cW,{key:e.src,imagePath:e.src,width:e.width,height:e.height})})):null)};c.propTypes={containerRef:s().object,images:s().array,speed:s().number};const l=c},5111:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LiveChatVisibility:()=>k,default:()=>A});var r=n(7363),i=n.n(r),o=n(5697),a=n.n(o),s=n(8216);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||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.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>0,1):v.set(e,[]))},emit:function(e,t){var n=v.get(e);n&&n.slice().map((function(e){e(t)})),(n=v.get("*"))&&n.slice().map((function(n){n(e,t)}))}},b=y.emit.bind(null);function w(e){var t={isLoading:!1,desiredState:"unknown",currentEventHandlers:{onReady:e.onReady,onNewEvent:e.onNewEvent,onFormSubmitted:e.onFormSubmitted,onGreetingHidden:e.onGreetingHidden,onRatingSubmitted:e.onRatingSubmitted,onGreetingDisplayed:e.onGreetingDisplayed,onVisibilityChanged:e.onVisibilityChanged,onAvailabilityChanged:e.onAvailabilityChanged,onCustomerStatusChanged:e.onCustomerStatusChanged,onRichMessageButtonClicked:e.onRichMessageButtonClicked}},n=f();return function(e){var t=e.license,n=e.group,r=e.chatBetweenGroups,i=e.sessionVariables;if(window.__lc=window.__lc||{},"string"!=typeof t)throw new Error("[LiveChatWidget] The license property is required for initialization");window.__lc.license=Number(t),void 0!==n&&(window.__lc.group=Number(n)),void 0!==r&&(window.__lc.chat_between_groups=Boolean(r)),i instanceof Object&&(window.__lc.params=Object.entries(i).map((function(e){var t=l(e,2);return{name:t[0],value:t[1]}})))}(e),m(e.visibility),d("on",t.currentEventHandlers),g({name:e.customerName,email:e.customerEmail}),window.__lc.integration_name="@livechat/widget-core",{init:function(){var e=this;t.desiredState="loaded",t.isLoading||(window.LC_API=window.LC_API||{},window.LC_API.on_after_load=function(){t.isLoading=!1,"destroyed"===t.desiredState&&e.destroy(),t.desiredState="unknown"},b("init"),t.isLoading=!0,window.LiveChatWidget.init())},destroy:function(){var e;t.desiredState="destroyed",t.isLoading||(b("destroy"),null===(e=n.current)||void 0===e||e.remove(),window.LiveChatWidget.call("destroy"))},updateVisibility:function(e){m(e)},updateEventHandlers:function(e){d("off",t.currentEventHandlers),d("on",e),t.currentEventHandlers=function(e){for(var t=1;t{"use strict";n.d(t,{$7:()=>z,Eh:()=>ie,II:()=>G,Lt:()=>X,Nv:()=>re,S$:()=>q,Uh:()=>B,cW:()=>J,eT:()=>ne,f7:()=>ee,kL:()=>Z,lr:()=>te,qt:()=>V,rA:()=>F,sN:()=>Q,yE:()=>Y,zx:()=>W});var r,i,o,a,s,u,c,l,h,p,f,d,g,m,v,y,b,w,x,S,_,C,k,E,A,P,I=n(168),T=n(4910),O="320px",R="375px",L="425px",U="768px",M="1024px",N="1366px",D="1440px",j="2560px",B={mobileS:"(max-width: ".concat(O,")"),mobileM:"(max-width: ".concat(R,")"),mobileL:"(max-width: ".concat(L,")"),tablet:"(max-width: ".concat(U,")"),tabletLandscape:"(max-height: ".concat(U,") and (orientation: landscape)"),bigTablet:"(max-width: ".concat(M,") and (orientation: portrait)"),laptop:"(max-width: ".concat(M,")"),laptopL:"(max-width: ".concat(D,")"),fullHd:"(max-width: ".concat(N,") and (orientation: landscape)"),desktop:"(max-width: ".concat(j,")"),desktopL:"(max-width: ".concat(j,")"),mobileLLandscape:"(max-height: ".concat(L,") and (orientation: landscape)"),mobileMLandscape:"(max-height: ".concat(R,") and (orientation: landscape)"),mobileSLandscape:"(max-height: ".concat(O,") and (orientation: landscape)")},F=T.ZP.div(r||(r=(0,I.Z)(["\n display: flex;\n flex-direction: row;\n height: 100%;\n justify-content: flex-start;\n margin-bottom: 10px;\n\n @media "," {\n margin-top: 0px;\n justify-content: center\n }\n "])),B.tablet),Z=T.ZP.p(i||(i=(0,I.Z)(["\n cursor: pointer;\n font-size: 18px;\n max-height: 22px;\n line-height: 1.7;\n font-weight: 400;\n font-family: inter;\n text-align: left;\n margin: 20px 5px 0 5px;\n\n &:hover {\n opacity: 0.7;\n }\n \n @media ",", "," {\n margin: 0px 5px 0 5px;\n\n font-size: 16px;\n }\n\n @media "," {\n margin: 0px 5px 0 5px;\n\n }\n\n @media "," {\n margin: 20px 5px 0 5px;\n\n }\n\n @media "," {\n margin: 10px 5px 0 5px;\n\n }\n "])),B.tabletLandscape,B.bigTablet,B.laptopL,B.tablet,B.mobileL),V=T.ZP.p(o||(o=(0,I.Z)(["\n font-size: 18px;\n line-height: 1.7;\n max-height: 22px;\n font-weight: 400;\n font-family: inter;\n text-align: left;\n margin: 20px 0 0 0;\n\n @media ",", "," {\n margin-top: 0px;\n margin-bottom: 0px;\n font-size: 16px;\n }\n\n @media "," {\n margin-top: 0px;\n margin-bottom: 0px;\n }\n\n @media "," {\n margin: 20px 0;\n }\n\n @media "," {\n margin-top: 10px;\n }\n"])),B.tabletLandscape,B.bigTablet,B.laptopL,B.tablet,B.mobileL),z=T.ZP.div(a||(a=(0,I.Z)(["\n width: 500px;\n display: flex;\n \n @media "," {\n width: auto;\n }\n\n @media ",", "," {\n flex-direction: column;\n width: 100%;\n }\n"])),B.tablet,B.mobileL,B.tablet),H=(T.ZP.button(s||(s=(0,I.Z)(["\n position: relative;\n color: white;\n opacity: 1;\n background: #54a40a;\n padding: 10 25;\n border-radius: 30px;\n cursor: pointer;\n border: 0;\n"]))),T.ZP.button.attrs({"data-testid":"edit-btn"})(u||(u=(0,I.Z)(["\n position: relative;\n color: white;\n width: 35px;\n height: 35px;\n background: #0080C0;\n border-radius: 50%;\n border: none;\n font-size: 18px;\n margin-left: 38px;\n outline: none;\n"]))),T.ZP.img(c||(c=(0,I.Z)(["\n && {\n height: 25px;\n width: 25px;\n }\n"])))),W=((0,T.ZP)(H).attrs({src:"/Site/Media/ToothApps/VideoChat/timerRed.svg"})(l||(l=(0,I.Z)([""]))),(0,T.ZP)(H).attrs({src:"/Site/Media/ToothApps/VideoChat/timerOrange.svg"})(h||(h=(0,I.Z)([""]))),(0,T.ZP)(H).attrs({src:"/Site/Media/ToothApps/VideoChat/timerGray.svg"})(p||(p=(0,I.Z)([""]))),T.ZP.p(f||(f=(0,I.Z)(["\n margin: 20px 0;\n font-size:",";\n margin-left:",";\n line-height: 1.6;\n"])),(function(e){return e.size?e.size:16}),(function(e){return e.isLeft?"auto":"unset"})),T.ZP.button(d||(d=(0,I.Z)(["\n border: 0;\n outline: none;\n background: #F73F22;\n color: white;\n cursor: pointer;\n border-radius: 10px;\n font-weight: regular;\n font-size: 18px;\n font-family: inter;\n line-height: 26px;\n transition: all 0.2s;\n padding-left: 30px;\n padding-right: 30px;\n display: inline-block;\n height: 62px;\n min-width: 160px;\n\n ","\n ","\n ","\n ","\n &:disabled {\n color: #ccc !important;\n border: 1px solid #ccc !important;\n background: #fff !important;\n }\n\n &:hover {\n background: #E33C30;\n }\n\n @media "," {\n margin: auto;\n }\n\n @media "," {\n padding: 10px 20px;\n width: 70%;\n }\n"])),(function(e){return e.isCenter&&"margin: auto;"}),(function(e){return e.isRight&&"margin: 0 0 0 auto;"}),(function(e){return e.isLeft&&"margin: 0 auto 0 0 ;"}),(function(e){return e.shadow?"box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);":""}),B.tablet,B.mobileL)),q=T.ZP.div(g||(g=(0,I.Z)(["\n display: grid;\n grid-template-columns: 50% 50%;\n\n @media "," {\n grid-template-columns: 100%;\n }\n"])),B.tablet),G=T.ZP.input(m||(m=(0,I.Z)(["\n background: #FFFFFF;\n border: 1px solid #CCCCCC;\n box-sizing: border-box;\n border-radius: 10px;\n padding: 8px 14px;\n width: 100%;\n font-style: normal;\n font-weight: normal;\n font-size: 18px;\n line-height: 20px;\n font-family: inter;\n color: #202020;\n outline: none;\n &:disabled {\n border-color: #cecece;\n &::placeholder {\n color: #cecece;\n }\n }\n\n &::placeholder {\n color: #A8A8A8;\n }\n &.invalid {\n border-color: red;\n }\n"]))),K=(0,T.F4)(v||(v=(0,I.Z)(["\n from {\n transform: translate(0, 0);\n }\n\n to {\n transform: translate(-50%, 0);\n }\n"]))),$=T.ZP.img(y||(y=(0,I.Z)(["\n content: url(",");\n margin-right: 30px;\n\n @media "," {\n width: 100%;\n margin-right: 20px;\n }\n"])),(function(e){return e.imagePath}),B.mobileL),J=T.ZP.img(b||(b=(0,I.Z)(["\n content: url(",");\n margin-right: 40px;\n @media "," {\n margin-right: 20px;\n }\n"])),(function(e){return e.imagePath}),B.mobileL),Y=T.ZP.div(w||(w=(0,I.Z)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n \n ","\n\n "," {\n :last-child {\n ","\n }\n }\n"])),(function(e){return e.isBannerAnimated?(0,T.iv)(x||(x=(0,I.Z)(["\n animation: "," ","s linear infinite;\n position: absolute; \n top: 0px; \n left: 0px;\n "])),K,e.time):""}),$,(function(e){return e.isBannerAnimated?"":"margin-right: 0"})),X=T.ZP.div(S||(S=(0,I.Z)(["\n position: relative;\n display: inline-block;\n\n @media ",", "," {\n ","\n } \n"])),B.mobileL,B.tablet,(function(e){return e.isCenter&&"margin: auto;"})),Q=T.ZP.button(_||(_=(0,I.Z)(["\n color: black;\n padding: 7px 10px;\n text-decoration: none;\n background-color: white;\n border: 0;\n border-radius: 10px;\n width: 100%;\n display: grid;\n grid-template-columns: 20% 80%;\n\n &:hover {\n opacity: 0.9;\n background: #F1F0F0;\n }\n"]))),ee=T.ZP.img(C||(C=(0,I.Z)(["\n content: url(",");\n margin: auto;\n \n"])),(function(e){return e.imagePath})),te=T.ZP.img(k||(k=(0,I.Z)(["\n content: url(",");\n position: absolute;\n ","\n right: 50%;\n transform: ",";\n"])),(function(e){return e.imagePath}),(function(e){return e.isPositionDropdownUp?"bottom : -10px ;":"top : -10px ;"}),(function(e){return e.isPositionDropdownUp?" rotate(180deg) translateX(-50%)":"translateX(50%)"})),ne=T.ZP.p(E||(E=(0,I.Z)(["\n margin: auto auto 2px 10px;\n font-family: 'Montserrat';\n font-size: 20px;\n ","\n"])),(function(e){return e.active&&"color: #3D3D3D;font-weight: 600"})),re=T.ZP.div(A||(A=(0,I.Z)(["\n display: none;\n position: absolute;\n background: transparent;\n min-width: 232px;\n border-radius: 10px;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 1;\n left: -15px;\n ","\n @media (max-width:1025px){\n left: -30%;\n }\n @media ","{\n ","\n left: -45%;\n \n }\n &.show {\n display:block;\n\n .content-container {\n font-family: inter;\n background: white;\n border-radius: 10px;\n padding: 10px;\n }\n .dropdown-content-container {\n }\n }\n ","\n"])),(function(e){return e.isPositionDropdownUp?"bottom: 37px;":"top: 37px;"}),B.mobileL,(function(e){return e.isPositionDropdownUp?"bottom: 37px;":"top: 37px;"}),(function(e){return e.footerDropdown&&"left: -45%; @media (max-width:1025px){left:-45%};@media (max-width:769px){left:-20%}"})),ie=T.ZP.img(P||(P=(0,I.Z)(["\n content: url(",");\n height: 12px;\n width: 13px;\n margin-bottom: 2px;\n"])),(function(e){return e.imagePath}))},2436:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r,i,o,a,s,u,c,l=n(7363),h=n.n(l),p=n(5697),f=n.n(p),d=n(9477),g=n(168),m=n(4910),v=n(809),y=m.ZP.div(r||(r=(0,g.Z)(["\n background: #F1F0F0;\n color: black;\n width: 100%;\n height: auto;\n background-size: 100% 100%;\n position: relative;\n padding: 150px 100px 0;\n \n @media ",",",", "," {\n padding: 100px 50px 0;\n }\n\n @media "," {\n padding: 40px 20px 0;\n }\n"])),v.Uh.tabletLandscape,v.Uh.bigTablet,v.Uh.laptop,v.Uh.mobileL),b=m.ZP.div(i||(i=(0,g.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n"]))),w=m.ZP.img(o||(o=(0,g.Z)(["\n content: url(",");\n width: 100%;\n height: 100%;\n max-width: 1000px;\n padding-top: 50px;\n \n @media "," {\n width: 100%;\n height: 100%;\n }\n @media ",", "," {\n width: 100%;\n height: auto;\n object-fit: cover;\n object-position: center;\n }\n"])),(function(e){return e.imagePath}),v.Uh.mobileL,v.Uh.tabletLandscape,v.Uh.bigTablet),x=m.ZP.div(a||(a=(0,g.Z)(["\n font-size: 52px;\n font-weight: 500;\n font-family: Work Sans;\n padding-bottom: 20px;\n text-align: center;\n max-width: 1100px;\n\n @media ",", "," {\n font-size: 42px;\n }\n @media "," {\n font-size: 40px;\n }\n @media "," {\n font-size: 24px;\n }\n"])),v.Uh.tabletLandscape,v.Uh.bigTablet,v.Uh.tablet,v.Uh.mobileL),S=m.ZP.p(s||(s=(0,g.Z)(["\n font-size: 22px;\n font-weight: 400;\n line-height: 1.6;\n font-family: inter;\n padding-bottom: 30px;\n text-align: center;\n max-width: 1000px;\n\n @media "," {\n max-width: 800px;\n font-size: 20px;\n }\n\n @media ",", "," {\n max-width: 800px;\n font-size: 18px;\n }\n"])),v.Uh.laptop,v.Uh.tabletLandscape,v.Uh.bigTablet),_=m.ZP.div(u||(u=(0,g.Z)(["\n height: 450px;\n width: 100%;\n margin-bottom: 40px;\n @media ",", "," {\n height: 182px;\n }\n"])),v.Uh.mobileL,v.Uh.tablet),C=m.ZP.iframe(c||(c=(0,g.Z)(["\n height: 100%;\n width: 100%;\n border: none;\n"]))),k=function(e){var t=e.content,n=t.image,r=t.videoLink,i=t.title,o=t.text,a=t.buttonText,s=t.buttonUrl,u=t.buttonUrlSlug,c=void 0===u?"":u,l=t.buttonClickShouldOpenNewTab,p=void 0!==l&&l,f=t.linkText,g=t.linkUrl,m=t.phoneText,v=e.isVideoSection,k=e.onUrlClick,E=e.onPhoneClick;return h().createElement(y,null,h().createElement(b,null,(v&&r||!v)&&h().createElement(h().Fragment,null,i&&h().createElement(x,{dangerouslySetInnerHTML:{__html:i}}),o&&h().createElement(S,null,o),v&&r&&h().createElement(_,null,h().createElement(C,{src:r})),h().createElement(d.Z,{centerAlignment:!0,actionButtonText:a,linkButtonText:f,phoneText:m,onActionButtonClick:function(){k(s,c,p)},onLinkButtonClick:function(){k(g)},onPhoneClick:E})),h().createElement(w,{imagePath:n})))};k.propTypes={content:{image:f().string,videoLink:f().string,title:f().string,text:f().string,buttonText:f().string,buttonUrl:f().string,buttonUrlSlug:f().string,buttonClickShouldOpenNewTab:f().bool,linkText:f().string,linkUrl:f().string,phoneText:f().string},isVideoSection:f().bool,onUrlClick:f().func,onPhoneClick:f().func};const E=k},9460:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r,i,o=n(7363),a=n.n(o),s=n(5697),u=n.n(s),c=n(809),l=n(2048),h=n.n(l),p=n(9477),f=n(168),d=n(4910),g=d.ZP.div(r||(r=(0,f.Z)(["\nbackground: #2D1EAD;\ncolor: white;\nwidth: 100%;\ndisplay: block; \nfont-family: inter;\n \n@media "," {\n padding: 0 50px 0;\n margin-top: 30px;\n}\n \n@media "," {\n padding: 0 20px 0;\n}\n"])),c.Uh.tablet,c.Uh.mobileL),m=(0,d.ZP)(c.$7)(i||(i=(0,f.Z)(["\n margin-bottom: 20px;\n padding-bottom: 50px;\n\n @media "," {\n margin-bottom: 10px;\n }\n @media "," {\n margin-bottom: 0;\n padding-bottom: 40px;\n }\n"])),c.Uh.laptop,c.Uh.tablet),v=n(1105),y=function(e){var t=e.content,n=t.title,r=t.subtitle,i=t.text,o=t.image,s=t.imageMobile,u=t.buttonText,l=t.linkText,f=t.buttonUrl,d=t.buttonUrlSlug,y=void 0===d?"":d,b=t.buttonClickShouldOpenNewTab,w=void 0!==b&&b,x=t.linkUrl,S=t.phoneText,_=t.contactText,C=e.onUrlClick,k=e.onPhoneClick,E=matchMedia(c.Uh.mobileL).matches,A=matchMedia(c.Uh.tablet).matches;return a().createElement(g,null,a().createElement(v._W,null,a().createElement(v.lU,null,a().createElement(v.ti,null,a().createElement(h(),{jsx:n})),r&&a().createElement(v.Tk,null,r),a().createElement(v.tv,null,a().createElement(h(),{jsx:i})),a().createElement(m,null,(E||A)&&(o||s)&&a().createElement(v.Eb,{imagePath:s||o}),a().createElement(p.Z,{actionButtonText:u,linkButtonText:l,phoneText:S||_,onActionButtonClick:function(){C(f,y,w)},onLinkButtonClick:function(){C(x)},onPhoneClick:k}))),!E&&!A&&o&&a().createElement(v.Eb,{imagePath:o})))};y.propTypes={content:u().object,onUrlClick:u().func,onPhoneClick:u().func};const b=y},2348:(e,t,n)=>{"use strict";n.d(t,{$:()=>l,C:()=>h});var r=n(4942),i=n(573),o=n(1170),a=n(7784),s=n(6486);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.d(t,{Eb:()=>_,Ic:()=>x,Qj:()=>I,Te:()=>P,Tk:()=>E,_W:()=>S,c7:()=>b,he:()=>w,lU:()=>C,ti:()=>k,tv:()=>A});var r,i,o,a,s,u,c,l,h,p,f,d,g,m=n(168),v=n(4910),y=n(809),b=v.ZP.div(r||(r=(0,m.Z)(["\nbackground: #2D1EAD;\ncolor: white;\nwidth: 100%;\nposition: relative;\ndisplay: grid; \ngrid-template-rows: 1fr 200px;\nfont-family: inter;\n \n@media ",", "," {\n grid-template-rows: 1fr 250px;\n}\n\n@media "," {\n padding: 0 50px 0;\n margin-top: 30px;\n}\n\n \n@media "," {\n padding: 0 20px 0;\n}\n"])),y.Uh.laptop,y.Uh.laptopL,y.Uh.tablet,y.Uh.mobileL),w=v.ZP.div(i||(i=(0,m.Z)(["\n margin: 0 100px;\n display: grid;\n grid-template-rows: 30% 70%;\n\n @media ",", ",", ","{\n margin: 0 50px;\n }\n \n @media "," {\n margin: 0 0;\n }\n\n @media "," {\n margin: 0 0;\n }\n "])),y.Uh.tabletLandscape,y.Uh.bigTablet,y.Uh.laptop,y.Uh.tablet,y.Uh.mobileL),x=v.ZP.div(o||(o=(0,m.Z)(["\n padding-bottom: 80px;\n position: relative;\n overflow-y: hidden;\n overflow-x: hidden;\n\n @media "," {\n height: fit-content;\n }\n"])),y.Uh.mobileL),S=(v.ZP.div(a||(a=(0,m.Z)(["\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n"]))),v.ZP.div(s||(s=(0,m.Z)(["\n margin-left: 100px;\n display: grid;\n padding: 30px 0 0;\n grid-template-columns: 40% 60%;\n overflow: hidden;\n\n @media ",", ",", "," {\n margin-left: 50px;\n }\n \n @media "," {\n margin-left: 0;\n display: block;\n }\n\n @media "," {\n margin-left: 0;\n display: block;\n }\n"])),y.Uh.tabletLandscape,y.Uh.bigTablet,y.Uh.laptop,y.Uh.tablet,y.Uh.mobileL)),_=v.ZP.img(u||(u=(0,m.Z)(["\n content: url(",");\n display: block;\n width: 100%;\n height: auto;\n padding-top: 120px;\n align-self: end;\n \n @media ",", "," {\n width: 100%;\n height: auto;\n object-fit: cover;\n object-position: left center;\n }\n @media ","{\n width: 100%;\n height: auto;\n margin: 0 auto 30px auto;\n padding-top: 0;\n }\n @media "," {\n width: 80%;\n height: auto;\n margin: auto;\n padding-top: 0;\n padding-bottom: 10px;\n }\n @media ",","," {\n width: 80%;\n height: auto;\n padding-top: 0;\n }\n"])),(function(e){return e.imagePath}),y.Uh.tabletLandscape,y.Uh.bigTablet,y.Uh.tablet,y.Uh.mobileL,y.Uh.mobileM,y.Uh.mobileS),C=v.ZP.div(c||(c=(0,m.Z)(["\n align-items: left;\n display: flex;\n flex-direction: column;\n padding-top: 150px;\n\n @media "," {\n text-align: center;\n }\n\n @media "," {\n width: 100%;\n }\n\n @media "," {\n width: 100%;\n padding-top: 100px;\n }\n"])),y.Uh.tablet,y.Uh.mobileL,y.Uh.laptop),k=v.ZP.div(l||(l=(0,m.Z)(["\n font-weight: 600;\n font-size: 70px;\n line-height: 85px;\n font-family: Work Sans;\n padding-top: 140px;\n \n span {\n font-size: 32px;\n vertical-align: super;\n }\n \n @media ",", "," {\n font-size: 50px;\n line-height: 50px;\n }\n\n @media "," {\n padding-top: 100px;\n font-size: 50px;\n line-height: 50px;\n }\n\n @media ","{\n padding-top: 0;\n font-size: 50px;\n line-height: 50px;\n }\n\n @media "," {\n font-size: 30px;\n line-height: 40px;\n }\n"])),y.Uh.tabletLandscape,y.Uh.bigTablet,y.Uh.laptopL,y.Uh.tablet,y.Uh.mobileL),E=v.ZP.div(h||(h=(0,m.Z)(["\n font-weight: 300;\n font-size: 52px;\n line-height: 50px;\n font-family: Work Sans;\n padding: 20px 0;\n \n @media ",", ",", "," {\n font-size: 40px;\n line-height: 40px;\n }\n @media ","{\n font-size: 40px;\n line-height: 40px;\n }\n @media "," {\n font-size: 24px;\n line-height: 30px;\n }\n"])),y.Uh.tabletLandscape,y.Uh.bigTablet,y.Uh.laptopL,y.Uh.tablet,y.Uh.mobileL),A=v.ZP.div(p||(p=(0,m.Z)(["\n font-weight: 400;\n font-size: 24px;\n max-width: 600px;\n font-family: inter;\n padding: 50px 0; \n \n @media ",", ",","," {\n font-size: 20px;\n line-height: 1.6;\n padding: 30px 0;\n }\n @media ","{\n padding: 20px 0;\n font-size: 20px;\n line-height: 1.6;\n max-width: none;\n }\n @media "," {\n font-size: 16px;\n line-height: 1.6;\n padding: 10px 0;\n }\n"])),y.Uh.tabletLandscape,y.Uh.bigTablet,y.Uh.laptopL,y.Uh.tablet,y.Uh.mobileL),P=v.ZP.div(f||(f=(0,m.Z)([" \n font-weight: 400;\n font-size: 16px;\n line-height: 26px;\n font-family: inter;\n margin: auto auto 25px 0;\n\n @media ",", "," {\n margin: auto auto 0 0;\n }\n @media "," {\n margin: auto auto 20px 0;\n }\n"])),y.Uh.laptop,y.Uh.laptopL,y.Uh.mobileL),I=(v.ZP.div(d||(d=(0,m.Z)(["\n text-align: right;\n font-weight: 400;\n font-size: 18px;\n line-height: 26px;\n margin: auto 15 auto auto;\n"]))),v.ZP.button(g||(g=(0,m.Z)(["\n background: transparent;\n border: 0;\n outline: none;\n cursor: pointer;\n font-weight: 400;\n font-size: 16px;\n line-height: 20px;\n font-family: inter;\n transition: all 0.2s;\n text-decoration-line: underline;\n text-underline-offset: 3px;\n\n ","\n\n ","\n\n ","\n\n ","\n\n &:disabled {\n color: #ccc !important;\n border: 1px solid #ccc !important;\n background: #fff !important;\n }\n\n &:hover {\n opacity: 0.9;\n }\n\n"])),(function(e){return e.isCenter&&"margin: auto;"}),(function(e){return e.isRight&&"margin: 0 0 0 auto;"}),(function(e){return e.isLeft&&"margin: 0 auto 0 0 ;"}),(function(e){return e.shadow?"box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);":""})))},4456:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7363),i=n.n(r),o=n(5697),a=n.n(o),s=n(9477),u=n(2053),c=function(e){var t=e.content,n=e.onUrlClick,r=e.onPhoneClick;return i().createElement(u._r,null,t.title&&i().createElement(u.c7,{key:t.title,dangerouslySetInnerHTML:{__html:t.title}}),i().createElement(u.$4,null,t.steps.map((function(e){return i().createElement(u.om,{key:e.title},i().createElement(u.g_,null,i().createElement(u.Re,{src:e.image,height:e.imgHeight,width:e.imgWidth})),i().createElement(u.bl,null,e.title),i().createElement(u.Oz,null,e.text),i().createElement(u.qO,null,(e.buttonUrl||e.buttonUrlSlug)&&e.buttonText&&i().createElement(s.Z,{actionButtonText:e.buttonText,onActionButtonClick:function(){return n(e.buttonUrl,e.buttonUrlSlug,e.buttonClickShouldOpenNewTab)}})))}))),t.buttonText&&i().createElement(s.Z,{centerAlignment:!0,actionButtonText:t.buttonText,linkButtonText:t.linkText,phoneText:t.phoneText,onActionButtonClick:function(){return n(t.buttonUrl)},onLinkButtonClick:function(){return n(t.linkUrl)},onPhoneClick:r}))};c.propTypes={content:a().object,onUrlClick:a().func,onPhoneClick:a().func};const l=c},2053:(e,t,n)=>{"use strict";n.d(t,{$4:()=>v,Oz:()=>w,Re:()=>S,_r:()=>g,bl:()=>b,c7:()=>m,g_:()=>x,om:()=>y,qO:()=>_});var r,i,o,a,s,u,c,l,h,p=n(168),f=n(4910),d=n(809),g=f.ZP.div(r||(r=(0,p.Z)(["\n background: white;\n color: black;\n width: 100%;\n position: relative;\n display: flex; \n flex-direction: column;\n align-items: center;\n padding: 150px 100px;\n font-family: inter;\n\n @media ",", ",", "," {\n padding: 100px 50px;\n }\n \n @media "," {\n padding: 40px 20px;\n }\n"])),d.Uh.tabletLandscape,d.Uh.bigTablet,d.Uh.laptop,d.Uh.mobileL),m=f.ZP.div(i||(i=(0,p.Z)(["\n font-size: 52px;\n font-weight: 500;\n font-family: Work Sans;\n text-align: center;\n margin: 0 auto;\n margin-bottom: 100px;\n \n @media ",", ",", "," {\n max-width: 600px;\n font-size: 45px;\n margin-bottom: 0;\n padding-bottom: 40px;\n } \n\n @media "," {\n font-size: 40px;\n padding-bottom: 0px;\n margin-bottom: 0;\n }\n\n @media "," {\n font-size: 30px;\n display: block;\n margin-bottom: 0;\n }\n"])),d.Uh.tabletLandscape,d.Uh.bigTablet,d.Uh.laptop,d.Uh.tablet,d.Uh.mobileL),v=f.ZP.div(o||(o=(0,p.Z)(["\n display: flex;\n flex-wrap: wrap;\n gap: 50px;\n justify-content: center;\n margin-bottom: 50px;\n \n @media ",", ",", "," {\n padding: 0 5px;\n }\n\n @media ","{\n margin-top: 50px;\n }\n"])),d.Uh.tabletLandscape,d.Uh.bigTablet,d.Uh.laptop,d.Uh.tablet),y=f.ZP.div(a||(a=(0,p.Z)(["\n display: flex;\n width: 26%;\n flex-direction: column;\n align-items: center;\n min-width: 400px;\n background-color: #F1F0F0;\n padding: 50px 20px;\n border-radius: 5px;\n \n @media ","{\n min-width: fit-content;\n }\n @media ",", ",", "," {\n padding: 40px 5px;\n }\n"])),d.Uh.mobileL,d.Uh.tabletLandscape,d.Uh.bigTablet,d.Uh.laptop),b=f.ZP.div(s||(s=(0,p.Z)(["\n font-size: 36px;\n font-weight: 500;\n padding-top: 50px;\n font-family: Work Sans;\n vertical-text-align: bottom;\n text-align: center;\n grid-row: 2;\n grid-column: ",";\n\n @media ",", "," {\n font-size: 30px;\n padding-top: 40px;\n }\n\n @media "," {\n font-size: 24px;\n padding-top: 30px;\n }\n"])),(function(e){return e.gridColumn}),d.Uh.tabletLandscape,d.Uh.bigTablet,d.Uh.mobileL),w=f.ZP.div(u||(u=(0,p.Z)(["\n font-size: 22px;\n font-weight: 400;\n line-height: 1.6;\n text-align: center;\n padding: 20px 10px;\n max-width: 350px;\n margin: 0 auto;\n grid-row: 3;\n grid-column: ",";\n\n @media "," {\n font-size: 16px;\n padding: 30px 10px;\n }\n\n @media ",", "," {\n font-size: 18px;\n padding: 40px 10px;\n }\n\n @media "," {\n font-size: 20px;\n padding: 40px 10px;\n max-width: 600px;\n }\n"])),(function(e){return e.gridColumn}),d.Uh.mobileL,d.Uh.tabletLandscape,d.Uh.bigTablet,d.Uh.laptop),x=f.ZP.div(c||(c=(0,p.Z)(["\n display: flex;\n min-height: 150px;\n align-items: center;\n max-width: 90%;\n"]))),S=f.ZP.img(l||(l=(0,p.Z)(["\n width: ",";\n height: ",";\n margin: 0 auto 0;\n max-width: 100%;\n"])),(function(e){return e.width||"auto"}),(function(e){return e.height||"177px"})),_=f.ZP.div(h||(h=(0,p.Z)(["\n margin: auto auto 0;\n"])))},7064:(e,t,n)=>{"use strict";n.d(t,{Z:()=>j});var r,i,o,a,s,u,c,l,h,p,f,d,g,m=n(7363),v=n.n(m),y=n(5697),b=n.n(y),w=n(2048),x=n.n(w),S=n(809),_=n(9477),C=n(168),k=n(4910),E=(n(1105),k.ZP.img(r||(r=(0,C.Z)(["\n width: 100%;\n content: url(",");\n display: block;\n margin: 0 auto auto 0;\n\n @media "," {\n width: 100%;\n height: 100%;\n }\n \n @media ",", ",", "," {\n width: 100%;\n height: auto;\n object-fit: cover;\n object-position: right center;\n }\n\n ","\n ","\n\n @media ",", "," {\n padding: 0;\n }\n"])),(function(e){return e.imagePath}),S.Uh.mobileL,S.Uh.tabletLandscape,S.Uh.bigTablet,S.Uh.laptopL,(function(e){return e.isLeft&&"\n padding-right: 200px;\n\n @media ".concat(S.Uh.laptop," {\n padding-right: 50px;\n } \n @media ").concat(S.Uh.laptopL," {\n padding-right: 100px;\n } \n ")}),(function(e){return e.isRight&&"\n padding-left: 200px;\n\n @media ".concat(S.Uh.laptop," {\n padding-left: 50px;\n }\n @media ").concat(S.Uh.laptopL," {\n padding-left: 100px;\n } \n ")}),S.Uh.tablet,S.Uh.mobileL)),A=(0,k.ZP)(S.$7)(i||(i=(0,C.Z)(["\n width: 400px;\n"]))),P=(0,k.ZP)(S.S$)(o||(o=(0,C.Z)(["\n max-width: ",";\n margin: 0 auto;\n"])),(function(e){return"additionalContent"===e.type?"1400px":"1600px"})),I=k.ZP.div(a||(a=(0,C.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: start;\n width: 100%;\n\n @media "," {\n margin: 0 auto;\n }\n\n @media "," {\n padding: 0;\n width: 100%;\n }\n ","\n"])),S.Uh.tablet,S.Uh.mobileL,(function(e){var t=e.location;return t&&"left"===t&&(0,k.iv)(s||(s=(0,C.Z)(["\n margin-left: 150px;\n @media (max-width: 1420px) {\n margin: unset;\n }\n "])))})),T=k.ZP.h2(u||(u=(0,C.Z)(["\n margin-bottom: 25px;\n font-size: ",";\n font-weight: 500;\n line-height: 1.3; \n font-family: Work Sans;\n max-width: 660px;\n text-align: left; \n\n @media ",",",", "," {\n width: unset;\n font-size: 40px;\n }\n\n @media "," {\n text-align: center;\n width: 100%;\n }\n\n @media "," {\n margin: 25px 0 15px;\n font-size: 24px;\n text-align: center;\n width: unset;\n }\n"])),(function(e){return"additionalContent"===e.type?"28px":"48px"}),S.Uh.tabletLandscape,S.Uh.bigTablet,S.Uh.laptop,S.Uh.tablet,S.Uh.mobileL),O=k.ZP.p(c||(c=(0,C.Z)(["\n font-size: 22px;\n font-weight: 400;\n line-height: 1.7;\n font-family: inter;\n margin-bottom: 30px;\n text-align: left;\n max-width: 660px;\n white-space: pre-wrap;\n \n ","\n\n @media "," {\n margin: 10px 0 28px;\n font-size: 16px;\n line-height: 1.6;\n width: unset;\n }\n\n @media "," {\n text-align: center;\n }\n\n @media "," {\n font-size: 20px;\n line-height: 1.5;\n }\n\n @media ",", "," {\n font-size: 18px;\n line-height: 1.6;\n width: 100%;\n }\n\n \n"])),(function(e){var t=e.markerUrl;return t&&(0,k.iv)(l||(l=(0,C.Z)(["& > div div ul {\n padding-left: 0;\n list-style-type: none;\n text-align: left;\n\n & > li {\n padding: 5px 0 5px 5rem;\n background-image: url(",");\n background-position: 0 8px;\n background-size: 3rem 3rem;\n background-repeat: no-repeat;\n @media "," {\n padding-left: 4rem;\n background-position: 0 3px;\n }\n }\n }"])),t,S.Uh.laptop)}),S.Uh.mobileL,S.Uh.tablet,S.Uh.laptop,S.Uh.tabletLandscape,S.Uh.bigTablet),R=k.ZP.div(h||(h=(0,C.Z)(["\n margin: ",";\n width: ",";\n \n @media ",", "," {\n margin: 50px 0;\n }\n\n &:last-child {\n margin: 75px 0 0 0;\n\n @media ",", "," {\n margin: 50px 0 0 0;\n }\n }\n\n &:first-child {\n margin: 0 0 75px 0;\n\n @media ",", "," {\n margin: 0 0 50px 0;\n } \n }\n"])),(function(e){return"additionalContent"===e.type?"25px 0 75px":"75px 0"}),(function(e){return"additionalContent"===e.type&&"100%"}),S.Uh.tablet,S.Uh.mobileL,S.Uh.tablet,S.Uh.mobileL,S.Uh.tablet,S.Uh.mobileL),L=k.ZP.div(p||(p=(0,C.Z)(["\n margin: 100px 0 120px;\n min-height: 300px;\n @media (max-width: 1420px) {\n min-height: unset;\n margin-bottom: 0;\n }\n\n @media ",", "," {\n margin: 50px 0;\n }\n\n &:last-child {\n margin: 120px 0 0 0;\n\n @media ",", "," {\n margin: 50px 0 0;\n }\n }\n\n &:first-child {\n min-height: 390px;\n margin: 0 0 150px 0;\n @media (max-width: 1420px) {\n min-height: unset;\n }\n @media (max-width: 1420px) {\n margin: 0;\n }\n }\n"])),S.Uh.tablet,S.Uh.mobileL,S.Uh.tablet,S.Uh.mobileL),U=k.ZP.div(f||(f=(0,C.Z)(["\n display: grid;\n grid-template-columns: 1fr;\n grid-template-rows: 25% 27% 27% 25%;\n padding: 150px 0;\n @media (max-width: 1420px) {\n grid-template-rows: 21% 25% 24% 25%;\n padding: 90px 0 0;\n }\n @media "," {\n grid-template-rows: unset;\n padding: 0;\n }\n ","\n"])),S.Uh.mobileL,(function(e){var t=e.backgroundImageURL,n=e.isMobile;return t&&!n&&(0,k.iv)(d||(d=(0,C.Z)(["\n background-image: url(",");\n background-position: center center;\n background-repeat: no-repeat;\n @media (max-width: 1420px) {\n background-size: contain;\n }\n "])),t)})),M=k.ZP.div(g||(g=(0,C.Z)(["\n align-items: center;\n display: flex;\n flex-direction: column;\n padding-top: 50px;\n & > p{\n max-width: unset;\n text-align: center;\n }\n"]))),N=n(2053),D=function(e){var t=e.content,n=e.onUrlClick,r=e.onPhoneClick,i=matchMedia(S.Uh.mobileL).matches||matchMedia(S.Uh.tablet).matches;return v().createElement(N._r,null,t.items.map((function(e){return v().createElement(R,{type:e.type},"additionalContent"!==e.type?v().createElement(P,null,("left"===e.location||i)&&v().createElement(E,{isLeft:!0,imagePath:e.image}),v().createElement(I,null,v().createElement(T,null,v().createElement(x(),{jsx:e.title})),v().createElement(O,{markerUrl:null==e?void 0:e.listMarkerUrl},v().createElement(x(),{jsx:e.text})),!e.additionalContent&&v().createElement(A,null,e.buttonText&&v().createElement(_.Z,{actionButtonText:e.buttonText,linkButtonText:e.linkText,phoneText:e.phoneText,onActionButtonClick:function(){return n(e.buttonUrl,e.buttonUrlSlug,e.buttonClickShouldOpenNewTab)},onLinkButtonClick:function(){return n(e.linkUrl)},onPhoneClick:r}))),!("left"===e.location)&&!i&&v().createElement(E,{isRight:!0,imagePath:e.image})):v().createElement(U,{backgroundImageURL:e.backgroundImage,isMobile:i},e.items.map((function(t){return v().createElement(L,null,i&&v().createElement(E,{imagePath:t.image}),v().createElement(P,{type:e.type},"left"!==t.location&&!i&&v().createElement("div",null),v().createElement(I,{location:t.location},v().createElement(T,{type:e.type},t.title),v().createElement(O,{markerUrl:null==e?void 0:e.listMarkerUrl},v().createElement(x(),{jsx:t.text})))))}))),"additionalContent"===e.type&&v().createElement(M,null,v().createElement(O,null,v().createElement(x(),{jsx:e.text})),v().createElement(A,null,e.buttonText&&v().createElement(_.Z,{actionButtonText:e.buttonText,linkButtonText:e.linkText,phoneText:e.phoneText,onActionButtonClick:function(){return n(e.buttonUrl,e.buttonUrlSlug,e.buttonClickShouldOpenNewTab)},onLinkButtonClick:function(){return n(e.linkUrl)},onPhoneClick:r}))))})))};D.propTypes={content:b().object,onUrlClick:b().func,onPhoneClick:b().func};const j=D},4642:(e,t,n)=>{"use strict";n.d(t,{W:()=>u,m:()=>c});var r=n(5861),i=n(4687),o=n.n(i),a=n(2292),s=n(1158),u=function(e){return s.U.get("Cognito/LoadLoggedInUser",{headers:{Authorization:"Bearer ".concat(e)}})},c=function(){var e=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.x.get("common/me/mfa",{headers:{Authorization:"Bearer ".concat(t)}}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},2292:(e,t,n)=>{"use strict";n.d(t,{x:()=>p});var r=n(4942),i=n(9669),o=n.n(i);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return o().get("".concat(h,"/").concat(e),s({},t))},post:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o().post("".concat(h,"/").concat(e),t,s({},n))},put:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o().put("".concat(h,"/").concat(e),t,s({},n))},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o().delete("".concat(h,"/").concat(e),s({},t))},createCancellationToken:function(){return o().CancelToken.source()},isCancel:function(e){return o().isCancel(e)}}},1158:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var r=n(4942),i=n(9669),o=n.n(i);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return o().get("".concat(u,"/Site/").concat(e),s({},t))},post:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return o().post("".concat(u,"/").concat(r||"Site","/").concat(e),t,s({},n))},put:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o().put("".concat(u,"/Site/").concat(e),t,s({},n))},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o().delete("".concat(u,"/Site/").concat(e),s({},t))},createCancellationToken:function(){return o().CancelToken.source()},isCancel:function(e){return o().isCancel(e)}}},201:(e,t,n)=>{"use strict";n.d(t,{IV:()=>s});var r=n(6486),i=n(1170),o=window.location.origin,a=new RegExp("^(?:[a-z]+:)?//","i"),s=function(e,t){return a.test(e)?e:function(e,t){return e instanceof File?URL.createObjectURL(e):(0,i.fH)(e)?null:(0,r.startsWith)((0,r.toLower)(e),"media/")?"".concat(o,"/Site/").concat(e):(0,i.fH)(t)?e:t+e}(e,t)}},2297:(e,t,n)=>{"use strict";n.d(t,{Tg:()=>c,ZP:()=>s,rm:()=>u});var r=n(5861),i=n(4687),o=n.n(i),a=n(2292),s=(n(1158),function(){var e=(0,r.Z)(o().mark((function e(t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.x.post("common/me/settings",t,{headers:{Authorization:"Bearer ".concat(n)}}));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),u=function(e){return a.x.get("common/invitations/".concat(e))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.x.post("common/invitations/".concat(e,"/accept"),t)}},7487:(e,t,n)=>{"use strict";n.d(t,{$b:()=>r});n(6486);var r=function(e){return"string"!=typeof e?null:function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e)?JSON.parse(e):{url:e}}},8922:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(5671),i=n(3144),o=n(1170),a=function(){function e(t,n,i,o,a){if((0,r.Z)(this,e),!t)throw new Error("Code property cannot be null, empty or whitespace.");this.code=t,this.value=n,this.displayName=i,this.description=o,this.displayOrder=a}return(0,i.Z)(e,[{key:"isEqualTo",value:function(e){return null!=e&&(this.code===e.code&&this.value===e.value&&this.displayName===e.displayName&&this.description===e.description&&this.displayOrder===e.displayOrder)}},{key:"toString",value:function(){return this.displayName||this.value}},{key:"toJson",value:function(){return{Code:null==this.code?"":this.code,Value:null==this.value?"":this.value,Description:null==this.description?"":this.description,DisplayOrder:null==this.displayOrder?"":this.displayOrder}}}],[{key:"parseMany",value:function(t){return(0,o.kS)(t).map((function(t){return e.create(t)}))}},{key:"create",value:function(t){return t.Code&&t.Value?new e(t.Code,t.Value,t.DisplayName,t.Description,t.DisplayOrder):null}}]),e}();function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>o});var r=n(3144),i=n(5671),o=(0,r.Z)((function e(t){(0,i.Z)(this,e),this.id=t}))},1170:(e,t,n)=>{"use strict";n.d(t,{Ho:()=>l,UY:()=>u,fH:()=>r,gx:()=>i,kS:()=>c,pd:()=>h,sO:()=>s});var r=function(e){return null==e||""===e.trim()},i=function(e){if("string"!=typeof e)return!1;switch(e.toLowerCase().trim()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case null:return!1;default:return Boolean(e.trim())}},o=function(e){if(!e)return!1;var t=e.trim();return t.startsWith("{")&&t.endsWith("}")},a=function(e){if(!e)return!1;var t=e.trim();return t.startsWith("[")&&t.endsWith("]")},s=function(e){return o(e)||a(e)},u=function(e){if(!o(e))return null;try{return JSON.parse(e)}catch(e){return null}},c=function(e){if(!a(e))return[];try{return JSON.parse(e)}catch(e){return[]}},l=function(e,t){var n=u(e);return n&&t&&Array.isArray(n[t])?n[t]:[]},h=function(e,t){return e?t?e.replace(t,""):e:""}},1625:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(5671),i=n(3144),o=function(){function e(t,n,i,o){(0,r.Z)(this,e),this.code=t,this.name=n,this.value=i,this.permissions=o}return(0,i.Z)(e,[{key:"can",value:function(e){return null!=this.permissions&&this.permissions.includes(e)}},{key:"isEqualTo",value:function(e){return null!=e&&(this.code==e.code&&this.name==e.name&&this.value==e.value)}},{key:"toJson",value:function(){return{Code:null==this.code?"":this.code,Name:null==this.name?"":this.name,Value:null==this.value?"":this.value,Permissions:null==this.permissions?"":this.permissions}}}]),e}();function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Z:()=>E});var r=n(5671),i=n(3144),o=n(1170),a=function(){function e(t,n,i){(0,r.Z)(this,e),this.firstName=t,this.middleName=n,this.lastName=i}return(0,i.Z)(e,[{key:"getInitials",value:function(){var e="";return(0,o.fH)(this.firstName)||(e+=this.firstName[0]),(0,o.fH)(this.middleName)||(e+=this.middleName[0]),(0,o.fH)(this.lastName)||(e+=this.lastName[0]),e}}]),e}(),s=n(136),u=n(2963),c=n(1120),l=n(2212),h=/^(\{){0,1}[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}(\}){0,1}$/i,p=function(){function e(t){if((0,r.Z)(this,e),!t)throw new TypeError("Guid value should not be null");if(!1===e.isValidGuidString(t))throw new RangeError("Guid value should be a valid guid string");return this.value=t,this}return(0,i.Z)(e,[{key:"toString",value:function(){return this.value}},{key:"toJson",value:function(){return this.toString()}},{key:"isEqualTo",value:function(e){return!!e&&this.value.toLowerCase()===e.value.toLowerCase()}},{key:"hasValue",value:function(e){return this.value.toLowerCase()===e.toLowerCase()}}],[{key:"isValidGuidString",value:function(e){return h.test(e)}},{key:"new",value:function(){return new e("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})))}}]),e}();function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var i=(0,c.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var d=function(e){(0,s.Z)(n,e);var t=f(n);function n(e,i,o,a,s,u,c,l,h,p,f,d,g){var m;return(0,r.Z)(this,n),(m=t.call(this,e)).username=i,m.name=o,m.genderCode=a,m.cellPhone=s,m.countryIsoCode=u,m.regionIsoCode=c,m.cityId=l,m.birthday=h,m.photoUri=p,m.organizationLicenses=f,m.personalLicenses=d,m.isNew=g,m.password=null,m}return(0,i.Z)(n,[{key:"can",value:function(e,t){if(null==t)return null!=this.personalLicenses&&this.personalLicenses.some((function(t){return t.can(e)}));if(!this.hasLicenseFor(t))return!1;var n=this.getOrganizationLicenses(t);return null!=n&&n.some((function(t){return t.can(e)}))}},{key:"getOrganizationLicenses",value:function(e){return this.hasLicenseFor(e)?this.organizationLicenses[e]:[]}},{key:"hasLicenseFor",value:function(e){return null!=this.organizationLicenses&&this.organizationLicenses.hasOwnProperty(e)}},{key:"hasPersonalLicense",value:function(e){return null!=this.personalLicenses&&this.personalLicenses.some((function(t){return t.licenseType.code==e}))}},{key:"toJson",value:function(){return{Id:null==this.id?p.new():this.id.toJson(),firstName:null==this.name.firstName?"":this.name.firstName.trim(),lastName:null==this.name.lastName?"":this.name.lastName.trim(),username:null==this.username?"":this.username.trim(),password:this.password?this.password:null,genderCode:this.genderCode?this.genderCode:null,cellPhone:this.cellPhone?this.cellPhone:null,photoUri:this.photoUri?this.photoUri:null}}}]),n}(l.Z),g=function(){function e(t,n){(0,r.Z)(this,e),this.id1=t,this.id2=n}return(0,i.Z)(e,[{key:"isEqualTo",value:function(e){return this.id1.isEqualTo(e.id1)&&this.id2.isEqualTo(e.id2)}},{key:"toJson",value:function(){return{Id1:this.id1?this.id1.toJson():"",Id2:this.id2?this.id2.toJson():""}}}]),e}(),m=n(8922),v=n(6486),y=function(){var e=new Date;return new Date(e.getFullYear(),e.getMonth(),e.getDate())};var b=function(e){return new Date(e.getTime()-6e4*e.getTimezoneOffset())},w=n(1625);function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var i=(0,c.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var S=function(e){(0,s.Z)(n,e);var t=x(n);function n(e,i,o,a,s){var u,c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;return(0,r.Z)(this,n),(u=t.call(this,e)).licenseType=i,u.isSuspended=o,u.startDateTime=b(a),u.endDateTime=b(s),u.billingFrequency=c,u}return(0,i.Z)(n,[{key:"isEffective",value:function(){var e=(new Date).setUTCHours(0,0,0,0),t=this.startDateTime.setUTCHours(0,0,0,0),n=this.endDateTime.setUTCHours(0,0,0,0);return!this.isSuspended&&e>=t&&e<=n}},{key:"isOfType",value:function(e){return this.licenseType.isEqualTo(e)}},{key:"can",value:function(e){return this.licenseType.can(e)}},{key:"toJson",value:function(){return{Id:null==this.id?"":this.id.toJson(),LicenseType:null==this.licenseType?"":this.licenseType.toJson(),IsSuspended:null==this.isSuspended?"false":this.isSuspended,StartDateTime:null==this.startDateTime?"":this.startDateTime,EndDateTime:null==this.endDateTime?"":this.endDateTime,Restrictions:"",BillingFrequency:null==this.billingFrequency?"":this.billingFrequency.toJson()}}}]),n}(l.Z);function _(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";n.d(t,{Vu:()=>L,Yf:()=>k,cU:()=>C,jy:()=>A,mT:()=>E,Qe:()=>S,rO:()=>T,Kd:()=>I,GE:()=>_,GI:()=>P,Jx:()=>R,Ry:()=>O,of:()=>x,J$:()=>w,vJ:()=>y,F:()=>b});var r=n(5861),i=n(4687),o=n.n(i),a=n(7784),s=n(5387),u=n(6912),c=n(244),l=n(4642),h=n(9882),p=n(1598),f=n(5124),d=n(2292),g=function(e,t){return d.x.post("common/me/login",{Token:t},{headers:{Authorization:"Bearer ".concat(e)}})},m=function(e){return d.x.get("common/me/organizations",{headers:{Authorization:"Bearer ".concat(e)}})},v=(0,h.Z)(p.cL,p.X4,p.rP,p.Fx),y=v.setSignupDetails,b=v.setTotpDetails,w=v.setResetPasswordDetails,x=v.setIsLoadingMfa,S=function(e){return function(){var t=(0,r.Z)(o().mark((function t(n){var r,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n((0,c.Hz)({isLoadingUser:!0})),t.next=3,(0,l.W)(e);case 3:i=t.sent,n((0,c.Hz)({isLoadingUser:!1})),null!=i&&null!==(r=i.data)&&void 0!==r&&r.LoggedInUser&&(a=(new f.Z).create(i.data.LoggedInUser),n((0,c.zL)(a)));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},_=function(e){return function(){var t=window.localStorage.getItem("returnurl");t&&window.localStorage.removeItem("returnurl"),window.location.href="".concat(t?decodeURIComponent(t).replace("+","%20"):"/Site/Home").concat(e?"?".concat(e):"")}},C=function(e){return null==e?void 0:e.includes(" loginas ")},k=function(e){if(!C(e))return{};var t=e.split(" loginas ");return{impersonatingUser:t[0],impersonatedUser:t[1]}},E=function(){return function(e){e((0,c.Hz)({isOpenDefaultPage:!1,errorMessage:null}))}},A=function(e){return function(t,n){try{var r,i,o,u,c,l,h,p,f,d,g,m=n(),v=(0,a.eZ)(m),y=e?null==v||null===(r=v.Settings)||void 0===r||null===(i=r.Suite)||void 0===i||null===(o=i.Aws)||void 0===o||null===(u=o.Cognito)||void 0===u||null===(c=u.Configuration)||void 0===c||null===(l=c.Custom)||void 0===l?void 0:l.Value:null==v||null===(h=v.Settings)||void 0===h||null===(p=h.Suite)||void 0===p||null===(f=p.Aws)||void 0===f||null===(d=f.Cognito)||void 0===d||null===(g=d.Configuration)||void 0===g?void 0:g.Value;"local"===window.location.hostname.split(".").slice(0,-2).join(".")&&(y=function(e){return e?'{"Auth":{"region":"us-east-2","userPoolId":"us-east-2_EFx4psXCg","userPoolWebClientId":"1ml6af8irv46sq5v5ui4k9890j","cookieStorage":{"domain":".local.toothapps.com","secure":true},"authenticationFlowType":"CUSTOM_AUTH"}}':'{"Auth":{"region":"us-east-2","userPoolId":"us-east-2_EFx4psXCg","userPoolWebClientId":"7ougrc662tkm1sqpj8j3nhhiuk","cookieStorage":{"domain":".local.toothapps.com","secure":true},"authenticationFlowType":"USER_SRP_AUTH"}}'}(e));var b=JSON.parse(y);s.dQ.configure(b)}catch(e){console.log(e)}}},P=function(e,t){return(0,r.Z)(o().mark((function n(){var r;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=e.signInUserSession.accessToken.jwtToken,n.next=3,g(r,t);case 3:case"end":return n.stop()}}),n)})))},I=function(e){return function(){var t=(0,r.Z)(o().mark((function t(n){var r,i,a,s,u;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=(r=e||{}).user,a=r.shouldNextLoginBeSkipped,s=void 0!==a&&a,i){t.next=3;break}return t.abrupt("return");case 3:if(u=i.signInUserSession.accessToken.jwtToken){t.next=6;break}return t.abrupt("return");case 6:return t.next=8,n(S(u));case 8:if(!s){t.next=11;break}return t.next=11,n((0,c.fi)(s,u));case 11:return t.next=13,n(_());case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},T=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(){var t=(0,r.Z)(o().mark((function t(n){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n(x(!0)),t.prev=1,t.next=4,u.g.currentAuthenticatedUser();case 4:return r=t.sent,t.next=7,n(I({user:r,shouldNextLoginBeSkipped:e}));case 7:t.next=11;break;case 9:t.prev=9,t.t0=t.catch(1);case 11:return t.prev=11,n(x(!1)),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[1,9,11,14]])})));return function(e){return t.apply(this,arguments)}}()},O=function(){return function(){var e=(0,r.Z)(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.g.currentAuthenticatedUser();case 3:if(n=e.sent){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,u.g.setupTOTP(n);case 8:if(r=e.sent){e.next=11;break}return e.abrupt("return");case 11:t((0,c.Hz)({securityPage:"SetupMFA",isLiveChatVisible:!1})),t(b({setupCode:r})),e.next=17;break;case 15:e.prev=15,e.t0=e.catch(0);case 17:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(t){return e.apply(this,arguments)}}()},R=function(e){return function(t){t((0,c.Hz)({isSessionExpired:e}))}},L=function(){var e=(0,r.Z)(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.signInUserSession.accessToken.jwtToken,e.next=3,m(n);case 3:if((r=e.sent).data.IsSuccessful&&r.data.Value.length){e.next=6;break}return e.abrupt("return",!1);case 6:return e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},7073:(e,t,n)=>{"use strict";n.d(t,{B:()=>A,a:()=>E});var r=n(5861),i=n(4687),o=n.n(i),a=n(9339),s=n(244),u=n(6912),c=n(3144),l=n(5671),h=n(136),p=n(2963),f=n(1120),d=n(9611);function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function m(e,t,n){return(m=g()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,d.Z)(i,n.prototype),i}).apply(null,arguments)}function v(e){var t="function"==typeof Map?new Map:void 0;return(v=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return m(e,arguments,(0,f.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,d.Z)(r,e)})(e)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.Z)(e);if(t){var i=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,p.Z)(this,n)}}var b=function(e){(0,h.Z)(n,e);var t=y(n);function n(e){var r;return(0,l.Z)(this,n),(r=t.call(this,e)).code="NoOrganizationsException",r}return(0,c.Z)(n)}(v(Error)),w=n(4528),x=function(e,t,n){return function(){var i=(0,r.Z)(o().mark((function r(i,c){var l,h,p,f,d,g,m,v,y,x;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,i((0,a.jy)(!0)),r.next=4,u.g.signIn(t);case 4:if(f=r.sent){r.next=7;break}return r.abrupt("return");case 7:return r.next=9,(0,a.Vu)(f);case 9:if(r.sent){r.next=14;break}return r.next=13,u.g.signOut();case 13:throw new b;case 14:if(i((0,s.zL)({impersonatingUser:e,impersonatedUser:t})),"CUSTOM_USER_I"===(null===(l=f.challengeParam)||void 0===l?void 0:l.ChallengeAction)){r.next=17;break}return r.abrupt("return");case 17:return r.next=19,u.g.sendCustomChallengeAnswer(f,JSON.stringify({Username:e}));case 19:if(d=r.sent,"CUSTOM_USER_P"===(null===(h=d.challengeParam)||void 0===h?void 0:h.ChallengeAction)){r.next=22;break}return r.abrupt("return");case 22:return g=JSON.stringify({Username:e,Password:n}),m={Username:e},r.next=26,u.g.sendCustomChallengeAnswer(d,g,m);case 26:if(v=r.sent,"VERIFY_DEVICE"===(null===(p=v.challengeParam)||void 0===p?void 0:p.ChallengeAction)){r.next=29;break}return r.abrupt("return");case 29:i((0,s.Hz)({impersonatedUser:t,isOpenDefaultPage:!0,securityPage:"VerifyEmail",cognitoUser:v,isLiveChatVisible:!1})),r.next=37;break;case 32:r.prev=32,r.t0=r.catch(0),y=c(),x=(0,w.F5)(y),i((0,s.Hz)({errorMessage:x[r.t0.code]||r.t0.message}));case 37:case"end":return r.stop()}}),r,null,[[0,32]])})));return function(e,t){return i.apply(this,arguments)}}()},S=n(885),_=n(9093),C=n(3436),k=function(e,t){return function(){var n=(0,r.Z)(o().mark((function n(r,i){var c,l,h,p,f;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r((0,a.jy)(!1)),n.next=4,u.g.signIn(e,t);case 4:if(c=n.sent){n.next=7;break}return n.abrupt("return");case 7:return n.next=9,(0,a.Vu)(c);case 9:if(n.sent){n.next=14;break}return n.next=13,u.g.signOut();case 13:throw new b;case 14:if(r((0,s.zL)({username:e})),"NEW_PASSWORD_REQUIRED"!==c.challengeName){n.next=21;break}return n.next=18,u.g.forgotPassword(e);case 18:return r((0,s.Hz)({securityPage:"NewPasswordCognito",isForgotForm:!0,email:e,isLiveChatVisible:!1})),r((0,a.J$)({email:e})),n.abrupt("return");case 21:if("SOFTWARE_TOKEN_MFA"!==c.challengeName){n.next=24;break}return r((0,s.Hz)({securityPage:"VerifyMFA",cognitoUser:c,email:e,isLiveChatVisible:!1})),n.abrupt("return");case 24:return n.next=26,Promise.all([r((0,a.GI)(c,null)),(0,C.FJ)(c)]);case 26:if(l=n.sent,h=(0,S.Z)(l,2),!h[1]){n.next=33;break}return n.next=32,r((0,a.Ry)());case 32:return n.abrupt("return");case 33:return n.next=35,r((0,a.Kd)({user:c}));case 35:n.next=46;break;case 37:if(n.prev=37,n.t0=n.catch(0),"PasswordResetRequiredException"!==n.t0.code){n.next=43;break}return n.next=42,r((0,_.pp)(e));case 42:return n.abrupt("return");case 43:p=i(),f=(0,w.F5)(p),r((0,s.Hz)({errorMessage:f[n.t0.code]||n.t0.message}));case 46:case"end":return n.stop()}}),n,null,[[0,37]])})));return function(e,t){return n.apply(this,arguments)}}()},E=function(){return function(){var e=(0,r.Z)(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((0,a.jy)(!1)),e.prev=1,e.next=4,u.g.currentAuthenticatedUser();case 4:if(e.sent){e.next=9;break}t((0,s.Hz)({securityPage:"Login",isLiveChatVisible:!1})),e.next=17;break;case 9:return e.next=11,u.g.currentSession();case 11:return n=e.sent,r=n.getAccessToken().getJwtToken(),e.next=15,t((0,a.Qe)(r));case 15:return e.next=17,t((0,a.GE)());case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(1),t((0,s.Hz)({securityPage:"Login",isLiveChatVisible:!1}));case 22:case"end":return e.stop()}}),e,null,[[1,19]])})));return function(t){return e.apply(this,arguments)}}()},A=function(e,t){return function(){var n=(0,r.Z)(o().mark((function n(r){var i,s,u;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r((0,a.mT)()),!(0,a.cU)(e)){n.next=8;break}return i=(0,a.Yf)(e),s=i.impersonatingUser,u=i.impersonatedUser,n.next=6,r(x(s,u,t));case 6:n.next=10;break;case 8:return n.next=10,r(k(e,t));case 10:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}},3663:(e,t,n)=>{"use strict";n.d(t,{bE:()=>p,gB:()=>d,Bl:()=>f});var r=n(5861),i=n(4687),o=n.n(i),a=n(2297),s=n(244),u=n(7073),c=n(1163),l=n(2891),h=(0,n(7531).lX)(),p=function(e){return function(){var t=(0,r.Z)(o().mark((function t(n){var r,i,u,c,l,p,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.rm)(e);case 2:if(r=t.sent,i=r.data,u=i.IsSuccessful,c=i.ErrorCode,l=i.Value,n((0,s.Hz)({isLiveChatVisible:!1})),u){t.next=8;break}return h.push("/Marketing/Home/Error?code=".concat(c)),t.abrupt("return");case 8:if(!l.UserExists){t.next=16;break}return t.next=11,(0,a.Tg)(e);case 11:p=t.sent,p.data.IsSuccessful?(f={Name:l.OrganizationName,City:l.City,Region:l.Region,PostalCode:l.PostalCode},n((0,s.Hz)({addedOrganization:f})),h.push("/Marketing/Home/UserJoinedCompanyNotification")):h.push("/Marketing/Home/Error"),t.next=17;break;case 16:n((0,s.Hz)({securityPage:"ToothAppsCreateAccount",newUser:{FirstName:l.FirstName,LastName:l.LastName,Phone:l.Phone="",Email:l.Email,Organization:{LogoUrl:l.LogoUrl,City:l.City,Region:l.Region,PostalCode:l.PostalCode,Name:l.OrganizationName}},invitationId:e}));case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},f=function(e){return function(){var t=(0,r.Z)(o().mark((function t(n,r){var i,h,p,f,d,g,m,v,y,b,w;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n((0,s.Hz)({errorMessage:null})),i=r(),h=(0,c.hp)(i),p=(0,l.et)(i),f=e.username,d=e.password,g={Username:e.username,Password:e.password,FirstName:e.name.firstName,LastName:e.name.lastName},t.next=8,(0,a.Tg)(h,g);case 8:if(m=t.sent,v=(m||{}).data,y=v.IsSuccessful,b=v.Message,w=void 0===b?"":b,y){t.next=15;break}return t.next=13,n((0,s.Hz)({errorMessage:w}));case 13:t.next=22;break;case 15:if(!p){t.next=20;break}return t.next=18,n((0,s.Hz)({securityPage:null,isLiveChatVisible:!0}));case 18:t.next=22;break;case 20:return t.next=22,n((0,u.B)(f,d));case 22:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()},d=function(){return function(e){e((0,s.Hz)({addedOrganization:null})),e((0,u.a)())}}},3436:(e,t,n)=>{"use strict";n.d(t,{FJ:()=>d,hH:()=>f,np:()=>p});var r=n(5861),i=n(4687),o=n.n(i),a=n(1163),s=n(7784),u=n(244),c=n(9339),l=n(6912),h=n(4642),p=function(e){return function(){var t=(0,r.Z)(o().mark((function t(n,r){var i,h,p,f;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=r(),h=(0,a.Sh)(i),p=(0,s.NF)(i),t.prev=3,n((0,u.Hz)({errorMessage:null})),n((0,c.F)({isVerifyingTotp:!0})),t.next=8,l.g.confirmSignIn(h,e,"SOFTWARE_TOKEN_MFA");case 8:return f=t.sent,t.next=11,n((0,c.GI)(f,null));case 11:return t.next=13,n((0,c.Kd)({user:f}));case 13:n((0,c.F)({isVerifyingTotp:!1})),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(3),t.t0.message===(null==p?void 0:p.mfaSessionExpiredMessage)?n((0,u.Hz)({securityPage:"Login",errorMessage:null==p?void 0:p.sessionExpiredText,isLiveChatVisible:!1})):n((0,u.Hz)({errorMessage:t.t0.message})),n((0,c.F)({isVerifyingTotp:!1}));case 20:case"end":return t.stop()}}),t,null,[[3,16]])})));return function(e,n){return t.apply(this,arguments)}}()},f=function(e){return function(){var t=(0,r.Z)(o().mark((function t(n){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n((0,c.of)(!0)),t.prev=1,n((0,u.Hz)({errorMessage:null})),t.next=5,l.g.currentAuthenticatedUser();case 5:return r=t.sent,n((0,u.Hz)({errorMessage:null})),n((0,c.F)({isVerifyingTotp:!0})),t.next=10,l.g.verifyTotpToken(r,e);case 10:return t.next=12,l.g.setPreferredMFA(r,"TOTP");case 12:return t.next=14,n((0,c.rO)());case 14:n((0,c.F)({isVerifyingTotp:!1})),t.next=21;break;case 17:t.prev=17,t.t0=t.catch(1),n((0,u.Hz)({errorMessage:t.t0.message})),n((0,c.F)({isVerifyingTotp:!1}));case 21:return t.prev=21,n((0,c.of)(!1)),t.finish(21);case 24:case"end":return t.stop()}}),t,null,[[1,17,21,24]])})));return function(e){return t.apply(this,arguments)}}()},d=function(){var e=(0,r.Z)(o().mark((function e(t){var n,r,i,a,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.signInUserSession.accessToken.jwtToken,e.next=3,(0,h.m)(n);case 3:if((r=e.sent).data.IsSuccessful){e.next=6;break}return e.abrupt("return",!1);case 6:return i=r.data.Value,a=i.ShouldSkip,s=i.Type,e.abrupt("return",!a||"Required"===s);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},9093:(e,t,n)=>{"use strict";n.d(t,{J$:()=>f,V1:()=>g,pp:()=>d});var r=n(5861),i=n(4687),o=n.n(i),a=n(9882),s=(n(1163),n(6912)),u=n(9339),c=n(244),l=n(1598),h=n(2891),p=n(7784),f=(0,a.Z)(l.rP).setResetPasswordDetails,d=function(e){return function(){var t=(0,r.Z)(o().mark((function t(n){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n((0,u.jy)(!1)),n((0,c.Hz)({errorMessage:null})),t.next=5,s.g.forgotPassword(e);case 5:n((0,c.Hz)({securityPage:"NewPasswordCognito",isForgotForm:!0,email:e,isLiveChatVisible:!1})),n(f({email:e})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),n((0,c.Hz)({errorMessage:t.t0.message}));case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}()},g=function(e,t){return function(){var n=(0,r.Z)(o().mark((function n(r,i){var a,u,l;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r((0,c.Hz)({errorMessage:null})),a=i(),u=(0,h.$H)(a),l=(0,p.NF)(a),n.next=7,s.g.forgotPasswordSubmit(u,e.trim(),t.trim());case 7:"SUCCESS"!==n.sent&&r((0,c.Hz)({errorMessage:null==l?void 0:l.resetPasswordError})),r((0,c.Hz)({securityPage:"Login",isLiveChatVisible:!1})),r(f({})),n.next=16;break;case 13:n.prev=13,n.t0=n.catch(0),r((0,c.Hz)({errorMessage:n.t0.message}));case 16:case"end":return n.stop()}}),n,null,[[0,13]])})));return function(e,t){return n.apply(this,arguments)}}()}},244:(e,t,n)=>{"use strict";n.d(t,{Cm:()=>K,_J:()=>ee,fi:()=>X,Hz:()=>a,zL:()=>Y});var r=n(9882),i=n(1598),o=(0,r.Z)(i.cl).setConfig,a=function(e){return function(t){return t(o(e))}},s=n(2246),u=n(5861),c=n(4687),l=n.n(c),h=n(6486),p=n(8922),f=n(5671),d=n(3144),g=n(136),m=n(2963),v=n(1120),y=n(2212);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,v.Z)(e);if(t){var i=(0,v.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,m.Z)(this,n)}}var w=function(e){(0,g.Z)(n,e);var t=b(n);function n(e,r,i,o,a,s){var u;return(0,f.Z)(this,n),(u=t.call(this,e)).code=r,u.name=i,u.description=o,u.url=a,u.displayOrder=s,u}return(0,d.Z)(n)}(y.Z);function x(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=1;s-=1){var u={};u[o[s-1]]=(0,h.cloneDeep)(a),a=u}n=(0,h.merge)(n,a)}}return n},W=function(e){var t=JSON.parse(e),n={};n.Settings=H(t.Settings);var r=new N,i=r.createAll(t.Settings),o=r.createAll(t.Content);if(n.ContentRepository=new U(o),n.SettingRepository=new U(i),n.Content=H(t.Content),null!=t.StartUpData){var a,s=t.StartUpData.Countries,u=(0,h.get)(n.Settings,"Suite.Site.Phone.ValidationRegexp.Default.Value"),c=(0,h.get)(n.Settings,"Suite.Site.Phone.Mask.Default.Value");try{a=JSON.parse(c)}catch(e){a={regex:"^[A-Za-z0-9]+$",mask:""}}n.checkLists=(new I).createAll(t.StartUpData.CheckLists),n.licenseTypes=(new T.Z).createAll(t.StartUpData.OrganizationLicenseTypes),n.billingFrequencies=(new p.Z).createAll(t.StartUpData.LicenseBillingFrequencies),n.Countries=(s||[]).map((function(e){return new R(e,a,new RegExp(u))})),n.Networks=(new Z).createAll(t.StartUpData.Networks)}return n},q=function(){var e=(0,u.Z)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",V.x.get("common/startupdata",{transformResponse:W}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),G=(0,s.Z)(i.MN),K=function(){return function(e){return e(G({promise:q()}))}},$=n(2297),J=(0,r.Z)(i.PU).setUserProfile,Y=function(e){return function(t){return t(J(e))}},X=function(e,t){return(0,u.Z)(l().mark((function n(){var r;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={Key:"Saas.User.VerifyMFA.IsSkipped",Value:e},n.next=3,(0,$.ZP)(r,t);case 3:case"end":return n.stop()}}),n)})))},Q=n(1158),ee=function(e){return function(){return t=e,Q.U.post("Saas/Support/Contact",{formJson:JSON.stringify(t)});var t}}},1163:(e,t,n)=>{"use strict";n.d(t,{Fd:()=>u,O0:()=>c,OS:()=>h,Pm:()=>l,Sh:()=>o,Vc:()=>a,WI:()=>b,Zn:()=>d,fi:()=>g,fj:()=>f,gx:()=>m,hp:()=>y,iE:()=>i,vP:()=>s,vh:()=>v,y:()=>p});var r=n(573),i=function(e){return e.config},o=function(e){var t;return null===(t=e.config)||void 0===t?void 0:t.cognitoUser},a=(0,r.P1)(i,(function(e){return e.isLoading})),s=(0,r.P1)(i,(function(e){return e.isLoadingUser})),u=(0,r.P1)(i,(function(e){return e.isMfaLoading})),c=(0,r.P1)(i,(function(e){return e.isLoadingOrganization})),l=(0,r.P1)([i],(function(e){return(e||{}).errorMessage})),h=(0,r.P1)(i,(function(e){return e.isSearchPage})),p=(0,r.P1)(i,(function(e){return"OperaCreateAccount"===e.securityPage})),f=(0,r.P1)(i,(function(e){return e.isOriginalBackground})),d=((0,r.P1)(i,(function(e){return e.isOperaLogin})),(0,r.P1)(i,(function(e){return e.isDCALogin})),(0,r.P1)(i,(function(e){return e.networkUser}))),g=function(e){return(i(e)||{}).selectedOrganization};(0,r.P1)(i,(function(e){return e.selectedOrganization}));var m=(0,r.P1)(i,(function(e){return e.isMyOrganizationsPage})),v=(0,r.P1)(i,(function(e){return null==e?void 0:e.addedOrganization})),y=(0,r.P1)(i,(function(e){return null==e?void 0:e.invitationId})),b=(0,r.P1)(i,(function(e){return"Required"===(null==e?void 0:e.MfaRequirement)}))},4528:(e,t,n)=>{"use strict";n.d(t,{F5:()=>c,c$:()=>u,gh:()=>l,ms:()=>s});var r=n(573),i=n(6486),o=n(1170),a=n(7784),s=(0,r.P1)([a.Gw],(function(e){return"true"===(0,i.get)(e,"Suite.Search.AdvancedFilter.HideOnClickOutside.Value",!1)})),u=(0,r.P1)([a.Gw],(function(e){return(0,o.gx)((0,i.get)(e,"Suite.LogIn.IsCognitoLogin.Value"))})),c=(0,r.P1)([a.Gw],(function(e){var t=(0,i.get)(e,"Suite.LogIn.Errors.Value");if(!t)return{};try{return JSON.parse(t)}catch(e){return{}}})),l=(0,r.P1)([a.Gw],(function(e){return(0,o.UY)((0,i.get)(e,"Suite.Module.Default.Theme.Value"))||{}}))},7784:(e,t,n)=>{"use strict";n.d(t,{L5:()=>f,Zl:()=>v,G3:()=>y,NF:()=>x,he:()=>g,Gw:()=>d,eZ:()=>p,BZ:()=>b,rI:()=>w});var r=n(573),i=n(6486),o=n(5671),a=n(3144),s=n(1170),u=function(){function e(t){(0,o.Z)(this,e);var n=t||{},r=n.country,i=n.number;if(!r)throw new Error("country is not provided");this.country=r,this.number=e.formatNumber(i,r)}return(0,a.Z)(e,[{key:"CountryCode",get:function(){return this.country?this.country.isoCode:null}},{key:"PhoneNumber",get:function(){return this.number}},{key:"IsValid",get:function(){return this.country.validatePhoneNumber(this.number)}},{key:"withCountry",value:function(t){if(!t)throw new Error("incorrect or undefined country");return new e({country:t,number:this.number})}},{key:"withNumber",value:function(t){return new e({country:this.country,number:t})}},{key:"isEqual",value:function(t){return t instanceof e&&(this.CountryCode===t.CountryCode&&this.PhoneNumber===t.PhoneNumber)}},{key:"toJson",value:function(){return{country:this.CountryCode,number:this.PhoneNumber}}}],[{key:"parse",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"US";if(!n)throw new Error("countryMap is not provided");if((0,s.fH)(t))return new e({country:n.getCountryByIsoCode(r)});var i=(0,s.UY)(t),o=i?n.getCountryByIsoCode(i.country):n.getCountryByPhoneNumber(t),a=i?i.number:e.stripDialingCode(t,o);return new e({country:o||n.getCountryByIsoCode(r),number:a})}},{key:"stripDialingCode",value:function(e,t){if(!t)return e;var n=(0,s.pd)(e,/[+]/g);return n.startsWith(t.DialingCode)&&(n=n.slice(t.DialingCode.length+1,n.length)),n}},{key:"formatNumber",value:function(e,t){var n=(0,s.pd)(e,/[^A-Za-z0-9]/g);if(!t)return n;var r=t.dialingCode,i=void 0===r?null:r;if(!i)return n;var o=i.toString();return n.startsWith(o)?n.slice(o.length):n}}]),e}(),c=function(){function e(t,n){(0,o.Z)(this,e),this.countryMap=t,this.defaultCountry=n}return(0,a.Z)(e,[{key:"create",value:function(e){return u.parse(e,this.countryMap,this.defaultCountry)}}]),e}(),l=n(2982),h=function(){function e(t){(0,o.Z)(this,e),this.isoCodeCountryMap=(t||[]).reduce((function(e,t){return e[t.IsoCode]=t,e}),{}),this.dialingCodeCountryMap=(t||[]).reduce((function(e,t){return e.allDialingCodes||(e.allDialingCodes=[]),e.hasOwnProperty(t.DialingCode)||(e[t.DialingCode]=[]),t.IsDefaultForDialingCode?e[t.DialingCode]=[t].concat((0,l.Z)(e[t.DialingCode])):e[t.DialingCode].push(t),e.allDialingCodes.includes(t.DialingCode)||e.allDialingCodes.push(t.DialingCode),e}),{}),this.dialingCodeCountryMap.allDialingCodes=this.dialingCodeCountryMap.allDialingCodes?this.dialingCodeCountryMap.allDialingCodes.sort((function(e,t){return e-t})):[],this.dialingCodeCountryMap.allDialingCodeStrings=Object.keys(this.dialingCodeCountryMap),this.defaultDialingCode=this.isoCodeCountryMap.US?this.isoCodeCountryMap.US.dialingCode:null}return(0,a.Z)(e,[{key:"getCountryByIsoCode",value:function(e){return e&&this.isoCodeCountryMap.hasOwnProperty(e)?this.isoCodeCountryMap[e]:null}},{key:"hasCountryForDialingCode",value:function(e){return!!e&&this.dialingCodeCountryMap.hasOwnProperty(e)}},{key:"getCountriesByDialingCode",value:function(e){if(!e)return[];var t=this.dialingCodeCountryMap[e];return t||[]}},{key:"getCountryByDialingCode",value:function(e){var t=this.getCountriesByDialingCode(e)[0];return t||null}},{key:"getDialingCodes",value:function(){return this.dialingCodeCountryMap.allDialingCodes}},{key:"getDialingCodeStrings",value:function(){return this.dialingCodeCountryMap.allDialingCodeStrings}},{key:"getDialingCodeByPhoneNumber",value:function(e){if(!e)return null;var t=(0,s.pd)(e,/[^+A-Za-z0-9]/g);if(!t.startsWith("+"))return this.defaultDialingCode;t=(0,s.pd)(t,/[+]/g);var n=this.getDialingCodeStrings().find((function(e){return t.startsWith(e)}));return n?parseInt(n):null}},{key:"getCountryByPhoneNumber",value:function(e){if(!e)return null;var t=this.getDialingCodeByPhoneNumber(e),n=this.getCountryByDialingCode(t);return n&&n.validatePhoneNumber(e)?n:null}}]),e}(),p=function(e){return e.startupData},f=((0,r.P1)(p,(function(e){var t=e.checkLists?e.checkLists.find((function(e){return"Type"===e.code})):null;return t?t.items:[]})),(0,r.P1)(p,(function(e){return e.Content||{}}))),d=(0,r.P1)(p,(function(e){return e.Settings||{}})),g=(0,r.P1)(p,(function(e){var t=(e||{}).Networks;return void 0===t?[]:t})),m=(0,r.P1)((function(e){var t=(p(e)||{}).Countries;return void 0===t?[]:t}),(function(e){return new h(e)})),v=(0,r.P1)([f,d],(function(e,t){return!((0,i.isEmpty)(e)||(0,i.isEmpty)(t))})),y=(0,r.P1)(p,(function(e){return e.language?e.language:""})),b=(0,r.P1)([f],(function(e){return(0,i.has)(e,"Suite.Home.Testimonials.Value")?JSON.parse((0,i.get)(e,"Suite.Home.Testimonials.Value")):[]})),w=((0,r.P1)([d,m],(function(e,t){var n=(0,i.get)(e,"Suite.Site.Phone.Country.Default.Value")||"US";return new c(t,n)})),(0,r.P1)(p,(function(e){return e.ContentRepository})),(0,r.P1)([d],(function(e){return{logoPath:(0,i.get)(e,"Saas.Organization.Image.Path.Value"),phoneRegexp:(0,i.get)(e,"Suite.Site.Forms.Validation.PhoneRegexp.Value"),emailRegexp:(0,i.get)(e,"Suite.Site.Forms.Validation.EmailRegexp.Value"),passwordRequirements:(0,s.UY)((0,i.get)(e,"Suite.Site.Forms.Validation.Password.Value"))}}))),x=(0,r.P1)([f],(function(e){return{invalidCodeMessage:(0,i.get)(e,"Saas.Contact.Verification.InvalidCode.Message.Value"),sessionExpiredMessage:(0,i.get)(e,"Suite.LogIn.VerifyEmailForm.Seesion.Expired.Message.Value"),mfaSessionExpiredMessage:(0,i.get)(e,"Suite.LogIn.VerifyMFAForm.Seesion.Expired.Message.Value"),sessionExpiredText:(0,i.get)(e,"Suite.LogIn.VerifyEmailForm.Seesion.Expired.Text.Value"),validationMessage:(0,i.get)(e,"Suite.LogIn.ValidationMessage.Text.Value"),permissionMessage:(0,i.get)(e,"Suite.LogIn.PermissionMessage.Text.Value"),userAlreadyExistsMessage:(0,i.get)(e,"Suite.LogIn.OperaCreateAccountForm.UserAlreadyExistsErrorMessage.Text.Value"),resetPasswordError:(0,i.get)(e,"Suite.Login.ResetPassword.Error.Text.Value")}}))},2891:(e,t,n)=>{"use strict";n.d(t,{$H:()=>m,Lj:()=>d,SY:()=>a,T0:()=>g,av:()=>u,et:()=>o,gV:()=>v,jX:()=>f,vX:()=>s,yO:()=>h});var r=n(573),i=function(e){return e.user},o=function(e){var t;return null===(t=i(e))||void 0===t?void 0:t.profile},a=function(e){var t;return null===(t=o(e))||void 0===t?void 0:t.impersonatedUser},s=function(e){var t;return null===(t=o(e))||void 0===t?void 0:t.impersonatingUser},u=function(e){var t;return null===(t=i(e))||void 0===t?void 0:t.notAuthenticatedDetails},c=function(e){var t;return null===(t=i(e))||void 0===t?void 0:t.signupDetails},l=function(e){var t;return null===(t=i(e))||void 0===t?void 0:t.totpDetails},h=function(e){var t;return null===(t=i(e))||void 0===t?void 0:t.resetPasswordDetails},p=(0,r.P1)([c],(function(e){return e.userCreateData})),f=(0,r.P1)([c],(function(e){return e.isVerifyingContact})),d=(0,r.P1)([l],(function(e){return e.isVerifyingTotp})),g=(0,r.P1)([l],(function(e){return e.setupCode})),m=(0,r.P1)([h],(function(e){return e.email})),v=(0,r.P1)([o,p,s],(function(e,t,n){return(null==e?void 0:e.username)||(null==t?void 0:t.Username)||n}))},1598:(e,t,n)=>{"use strict";n.d(t,{Fx:()=>a,GA:()=>u,H6:()=>o,MN:()=>r,P6:()=>l,PU:()=>c,X4:()=>p,cL:()=>h,cl:()=>s,rP:()=>f,sD:()=>i});var r="GET_STARTUP_DATA",i="GET_STARTUP_DATA_PENDING",o="GET_STARTUP_DATA_FULFILLED",a="SET_IS_LOADING_MFA",s="SET_CONFIG",u="SET_IS_LOADING",c="SET_USER_PROFILE",l="SET_USER_NOTAUTH_DETAILS",h="SET_SIGNUP_DETAILS",p="SET_TOTP_DETAILS",f="SET_RESET_PASSWORD_DETAILS"},9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=u(e),a=o[0],s=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=0,h=s>0?a-4:a;for(n=0;n>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=0,s=r-i;as?s:a+16383));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,r){for(var i,o,a=[],s=t;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},1206:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,u=e.map([t,n],(function(t){var n=a-e.getVersionPrecision(t),r=t+new Array(n+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===s)return 0;a-=1}else if(u[0][a]1?i-1:0),a=1;a0){var a=Object.keys(n),u=s.default.find(a,(function(e){return t.isOS(e)}));if(u){var c=this.satisfies(n[u]);if(void 0!==c)return c}var l=s.default.find(a,(function(e){return t.isPlatform(e)}));if(l){var h=this.satisfies(n[l]);if(void 0!==h)return h}}if(o>0){var p=Object.keys(i),f=s.default.find(p,(function(e){return t.isBrowser(e,!0)}));if(void 0!==f)return this.compareVersion(i[f])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})},8764:(e,t,n)=>{"use strict";var r=n(9742),i=n(645),o=n(5826);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,p=0;pi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n),h=0;hi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return S(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function L(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function U(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function M(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return o||M(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,o){return o||M(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||O(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||O(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||O(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||O(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||O(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||O(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||O(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||O(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||O(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||O(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):U(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):U(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(e){return r.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 V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},6010:(e,t,n)=>{"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ti});const i=function(){for(var e,t,n=0,i="";n{"use strict";t.Q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},i=t||{},a=e.split(";"),s=i.decode||n,u=0;u>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},p=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},f=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},d=s.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*u,o);if(u){for(var h=0;h>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o>>6-a%4*2,c=s|u;r[o>>>2]|=c<<24-o%4*8,o++}return i.create(r,o)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},8010:function(e,t,n){var r;e.exports=(r=n(8249),n(2153),n(9824),r.HmacSHA256)},9824:function(e,t,n){var r,i,o,a;e.exports=(r=n(8249),o=(i=r).lib.Base,a=i.enc.Utf8,void(i.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),o=this._iKey=t.clone(),s=i.words,u=o.words,c=0;c>>2]|=e[i]<<24-i%4*8;t.call(this,r,n)}else t.apply(this,arguments)}).prototype=e}}(),r.lib.WordArray)},2153:function(e,t,n){var r;e.exports=(r=n(8249),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),u[i]=n(e.pow(r,1/3)),i++),r++}();var c=[],l=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],h=n[6],p=n[7],f=0;f<64;f++){if(f<16)c[f]=0|e[t+f];else{var d=c[f-15],g=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,m=c[f-2],v=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;c[f]=g+c[f-7]+v+c[f-16]}var y=r&i^r&o^i&o,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&h)+u[f]+c[f];p=h,h=l,l=s,s=a+w|0,a=o,o=i,i=r,r=w+(b+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+h|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(l),t.HmacSHA256=o._createHmacHelper(l)}(Math),r.SHA256)},7531:(e,t,n)=>{"use strict";n.d(t,{lX:()=>y,q_:()=>_,ob:()=>f,PP:()=>k,Ep:()=>p});var r=n(7462);function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,i=e.length;r=0;p--){var f=a[p];"."===f?o(a,p):".."===f?(o(a,p),h++):h&&(o(a,p),h--)}if(!c)for(;h--;h)a.unshift("..");!c||""===a[0]||a[0]&&i(a[0])||a.unshift("");var d=a.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};var s=n(8776);function u(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function l(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function f(e,t,n,i){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function d(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),h({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=f(e,t,g(),w.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,h({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(d){var i=f(n);i&&i!==d&&e(t,i,r)}var a=l(n);h&&(a=a.concat(h(n)));for(var s=u(t),g=u(n),m=0;m{t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,p=n?-1:1,f=e[t+h];for(h+=p,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+e[t+h],h+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+h],h+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,d=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+h>=1?p/u:p*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(t*u-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=d,s/=256,i-=8);for(a=a<0;e[n+f]=255&a,f+=d,a/=256,c-=8);e[n+f-d]|=128*g}},7145:(e,t)=>{"use strict";function n(e){return"object"!=typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}Object.defineProperty(t,"__esModule",{value:!0});var r="object"==typeof process&&!0;function i(e,t){if(!e){if(r)throw new Error("Invariant failed");throw new Error(t())}}t.invariant=i;var o=Object.prototype.hasOwnProperty,a=Array.prototype.splice,s=Object.prototype.toString;function u(e){return s.call(e).slice(8,-1)}var c=Object.assign||function(e,t){return l(t).forEach((function(n){o.call(t,n)&&(e[n]=t[n])})),e},l="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function h(e){return Array.isArray(e)?c(e.constructor(e.length),e):"Map"===u(e)?new Map(e):"Set"===u(e)?new Set(e):e&&"object"==typeof e?c(Object.create(Object.getPrototypeOf(e)),e):e}var p=function(){function e(){this.commands=c({},f),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return(new e).update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var n=this,r="function"==typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(r)||i(!Array.isArray(r),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),i("object"==typeof r&&null!==r,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(n.commands).join(", ")+"."}));var a=e;return l(r).forEach((function(t){if(o.call(n.commands,t)){var i=e===a;a=n.commands[t](r[t],a,r,e),i&&n.isEquals(a,e)&&(a=e)}else{var s="Map"===u(e)?n.update(e.get(t),r[t]):n.update(e[t],r[t]),c="Map"===u(a)?a.get(t):a[t];n.isEquals(s,c)&&(void 0!==s||o.call(e,t))||(a===e&&(a=h(e)),"Map"===u(a)?a.set(t,s):a[t]=s)}})),a},e}();t.Context=p;var f={$push:function(e,t,n){return g(t,n,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,n){return g(t,n,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,r,o){return function(e,t){i(Array.isArray(e),(function(){return"Expected $splice target to be an array; got "+n(e)})),v(t.$splice)}(t,r),e.forEach((function(e){v(e),t===o&&e.length&&(t=h(o)),a.apply(t,e)})),t},$set:function(e,t,n){return function(e){i(1===Object.keys(e).length,(function(){return"Cannot have more than one key in an object with $set"}))}(n),e},$toggle:function(e,t){m(e,"$toggle");var n=e.length?h(t):t;return e.forEach((function(e){n[e]=!t[e]})),n},$unset:function(e,t,n,r){return m(e,"$unset"),e.forEach((function(e){Object.hasOwnProperty.call(t,e)&&(t===r&&(t=h(r)),delete t[e])})),t},$add:function(e,t,n,r){return y(t,"$add"),m(e,"$add"),"Map"===u(t)?e.forEach((function(e){var n=e[0],i=e[1];t===r&&t.get(n)!==i&&(t=h(r)),t.set(n,i)})):e.forEach((function(e){t!==r||t.has(e)||(t=h(r)),t.add(e)})),t},$remove:function(e,t,n,r){return y(t,"$remove"),m(e,"$remove"),e.forEach((function(e){t===r&&t.has(e)&&(t=h(r)),t.delete(e)})),t},$merge:function(e,t,r,o){var a,s;return a=t,i((s=e)&&"object"==typeof s,(function(){return"update(): $merge expects a spec of type 'object'; got "+n(s)})),i(a&&"object"==typeof a,(function(){return"update(): $merge expects a target of type 'object'; got "+n(a)})),l(e).forEach((function(n){e[n]!==t[n]&&(t===o&&(t=h(o)),t[n]=e[n])})),t},$apply:function(e,t){var r;return i("function"==typeof(r=e),(function(){return"update(): expected spec of $apply to be a function; got "+n(r)+"."})),e(t)}},d=new p;function g(e,t,r){i(Array.isArray(e),(function(){return"update(): expected target of "+n(r)+" to be an array; got "+n(e)+"."})),m(t[r],r)}function m(e,t){i(Array.isArray(e),(function(){return"update(): expected spec of "+n(t)+" to be an array; got "+n(e)+". Did you forget to wrap your parameter in an array?"}))}function v(e){i(Array.isArray(e),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+n(e)+". Did you forget to wrap your parameters in an array?"}))}function y(e,t){var r=u(e);i("Map"===r||"Set"===r,(function(){return"update(): "+n(t)+" expects a target of type Set or Map; got "+n(r)}))}t.isEquals=d.update.isEquals,t.extend=d.extend,t.default=d.update,t.default.default=e.exports=c(t.default,t)},1143:e=>{"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},5826:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},204:(e,t,n)=>{e.exports=self.fetch||(self.fetch=n(5869).default||n(5869))},6808:(e,t,n)=>{var r,i;!function(o){if(void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i),!0,e.exports=o(),!!0){var a=window.Cookies,s=window.Cookies=o();s.noConflict=function(){return window.Cookies=a,s}}}((function(){function e(){for(var e=0,t={};e"']/g,D=RegExp(M.source),j=RegExp(N.source),B=/<%-([\s\S]+?)%>/g,F=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,q=RegExp(W.source),G=/^\s+/,K=/\s/,$=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Y=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Q=/[()=,{}\[\]\/\s]/,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ne=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,ue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,le=/['\n\r\u2028\u2029\\]/g,he="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fe="[\\ud800-\\udfff]",de="["+pe+"]",ge="["+he+"]",me="\\d+",ve="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",be="[^\\ud800-\\udfff"+pe+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",xe="[^\\ud800-\\udfff]",Se="(?:\\ud83c[\\udde6-\\uddff]){2}",_e="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ke="(?:"+ye+"|"+be+")",Ee="(?:"+Ce+"|"+be+")",Ae="(?:"+ge+"|"+we+")"+"?",Pe="[\\ufe0e\\ufe0f]?"+Ae+("(?:\\u200d(?:"+[xe,Se,_e].join("|")+")[\\ufe0e\\ufe0f]?"+Ae+")*"),Ie="(?:"+[ve,Se,_e].join("|")+")"+Pe,Te="(?:"+[xe+ge+"?",ge,Se,_e,fe].join("|")+")",Oe=RegExp("['’]","g"),Re=RegExp(ge,"g"),Le=RegExp(we+"(?="+we+")|"+Te+Pe,"g"),Ue=RegExp([Ce+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[de,Ce,"$"].join("|")+")",Ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[de,Ce+ke,"$"].join("|")+")",Ce+"?"+ke+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me,Ie].join("|"),"g"),Me=RegExp("[\\u200d\\ud800-\\udfff"+he+"\\ufe0e\\ufe0f]"),Ne=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,De=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],je=-1,Be={};Be[C]=Be[k]=Be[E]=Be[A]=Be[P]=Be[I]=Be["[object Uint8ClampedArray]"]=Be[T]=Be[O]=!0,Be[s]=Be[u]=Be[S]=Be[c]=Be[_]=Be[l]=Be[h]=Be[p]=Be[d]=Be[g]=Be[m]=Be[v]=Be[y]=Be[b]=Be[x]=!1;var Fe={};Fe[s]=Fe[u]=Fe[S]=Fe[_]=Fe[c]=Fe[l]=Fe[C]=Fe[k]=Fe[E]=Fe[A]=Fe[P]=Fe[d]=Fe[g]=Fe[m]=Fe[v]=Fe[y]=Fe[b]=Fe[w]=Fe[I]=Fe["[object Uint8ClampedArray]"]=Fe[T]=Fe[O]=!0,Fe[h]=Fe[p]=Fe[x]=!1;var Ze={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,ze=parseInt,He="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,We="object"==typeof self&&self&&self.Object===Object&&self,qe=He||We||Function("return this")(),Ge=t&&!t.nodeType&&t,Ke=Ge&&e&&!e.nodeType&&e,$e=Ke&&Ke.exports===Ge,Je=$e&&He.process,Ye=function(){try{var e=Ke&&Ke.require&&Ke.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(e){}}(),Xe=Ye&&Ye.isArrayBuffer,Qe=Ye&&Ye.isDate,et=Ye&&Ye.isMap,tt=Ye&&Ye.isRegExp,nt=Ye&&Ye.isSet,rt=Ye&&Ye.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function ot(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function ht(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function Ut(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function Mt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Nt=kt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),Dt=kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function jt(e){return"\\"+Ze[e]}function Bt(e){return Me.test(e)}function Ft(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Zt(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,i=0,a=[];++n",""":'"',"'":"'"});var $t=function e(t){var n,r=(t=null==t?qe:$t.defaults(qe.Object(),t,$t.pick(qe,De))).Array,K=t.Date,he=t.Error,pe=t.Function,fe=t.Math,de=t.Object,ge=t.RegExp,me=t.String,ve=t.TypeError,ye=r.prototype,be=pe.prototype,we=de.prototype,xe=t["__core-js_shared__"],Se=be.toString,_e=we.hasOwnProperty,Ce=0,ke=(n=/[^.]+$/.exec(xe&&xe.keys&&xe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ee=we.toString,Ae=Se.call(de),Pe=qe._,Ie=ge("^"+Se.call(_e).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=$e?t.Buffer:void 0,Le=t.Symbol,Me=t.Uint8Array,Ze=Te?Te.allocUnsafe:void 0,He=Zt(de.getPrototypeOf,de),We=de.create,Ge=we.propertyIsEnumerable,Ke=ye.splice,Je=Le?Le.isConcatSpreadable:void 0,Ye=Le?Le.iterator:void 0,vt=Le?Le.toStringTag:void 0,kt=function(){try{var e=eo(de,"defineProperty");return e({},"",{}),e}catch(e){}}(),Jt=t.clearTimeout!==qe.clearTimeout&&t.clearTimeout,Yt=K&&K.now!==qe.Date.now&&K.now,Xt=t.setTimeout!==qe.setTimeout&&t.setTimeout,Qt=fe.ceil,en=fe.floor,tn=de.getOwnPropertySymbols,nn=Te?Te.isBuffer:void 0,rn=t.isFinite,on=ye.join,an=Zt(de.keys,de),sn=fe.max,un=fe.min,cn=K.now,ln=t.parseInt,hn=fe.random,pn=ye.reverse,fn=eo(t,"DataView"),dn=eo(t,"Map"),gn=eo(t,"Promise"),mn=eo(t,"Set"),vn=eo(t,"WeakMap"),yn=eo(de,"create"),bn=vn&&new vn,wn={},xn=Po(fn),Sn=Po(dn),_n=Po(gn),Cn=Po(mn),kn=Po(vn),En=Le?Le.prototype:void 0,An=En?En.valueOf:void 0,Pn=En?En.toString:void 0;function In(e){if(Wa(e)&&!Ua(e)&&!(e instanceof Ln)){if(e instanceof Rn)return e;if(_e.call(e,"__wrapped__"))return Io(e)}return new Rn(e)}var Tn=function(){function e(){}return function(t){if(!Ha(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function On(){}function Rn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Ln(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Yn(e,t,n,r,i,o){var a,u=1&t,h=2&t,x=4&t;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!Ha(e))return e;var R=Ua(e);if(R){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&_e.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return yi(e,a)}else{var L=ro(e),U=L==p||L==f;if(ja(e))return pi(e,u);if(L==m||L==s||U&&!i){if(a=h||U?{}:oo(e),!u)return h?function(e,t){return bi(e,no(e),t)}(e,function(e,t){return e&&bi(t,Ss(t),e)}(a,e)):function(e,t){return bi(e,to(e),t)}(e,Gn(a,e))}else{if(!Fe[L])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case S:return fi(e);case c:case l:return new r(+e);case _:return function(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case C:case k:case E:case A:case P:case I:case"[object Uint8ClampedArray]":case T:case O:return di(e,n);case d:return new r;case g:case b:return new r(e);case v:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case w:return i=e,An?de(An.call(i)):{}}var i}(e,L,u)}}o||(o=new jn);var M=o.get(e);if(M)return M;o.set(e,a),Ja(e)?e.forEach((function(r){a.add(Yn(r,t,n,r,e,o))})):qa(e)&&e.forEach((function(r,i){a.set(i,Yn(r,t,n,i,e,o))}));var N=R?void 0:(x?h?Gi:qi:h?Ss:xs)(e);return at(N||e,(function(r,i){N&&(r=e[i=r]),Hn(a,i,Yn(r,t,n,i,e,o))})),a}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=de(e);r--;){var i=n[r],o=t[i],a=e[i];if(void 0===a&&!(i in e)||!o(a))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ve(i);return xo((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var i=-1,o=lt,a=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=pt(t,Tt(n))),r?(o=ht,a=!1):t.length>=200&&(o=Rt,a=!1,t=new Dn(t));e:for(;++i-1},Mn.prototype.set=function(e,t){var n=this.__data__,r=Wn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(dn||Mn),string:new Un}},Nn.prototype.delete=function(e){var t=Xi(this,e).delete(e);return this.size-=t?1:0,t},Nn.prototype.get=function(e){return Xi(this,e).get(e)},Nn.prototype.has=function(e){return Xi(this,e).has(e)},Nn.prototype.set=function(e,t){var n=Xi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Dn.prototype.add=Dn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Dn.prototype.has=function(e){return this.__data__.has(e)},jn.prototype.clear=function(){this.__data__=new Mn,this.size=0},jn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},jn.prototype.get=function(e){return this.__data__.get(e)},jn.prototype.has=function(e){return this.__data__.has(e)},jn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Mn){var r=n.__data__;if(!dn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Nn(r)}return n.set(e,t),this.size=n.size,this};var tr=Si(cr),nr=Si(lr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function ir(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?ar(s,t-1,n,r,i):ft(i,s):r||(i[i.length]=s)}return i}var sr=_i(),ur=_i(!0);function cr(e,t){return e&&sr(e,t,xs)}function lr(e,t){return e&&ur(e,t,xs)}function hr(e,t){return ct(t,(function(t){return Za(e[t])}))}function pr(e,t){for(var n=0,r=(t=ui(t,e)).length;null!=e&&nt}function mr(e,t){return null!=e&&_e.call(e,t)}function vr(e,t){return null!=e&&t in de(e)}function yr(e,t,n){for(var i=n?ht:lt,o=e[0].length,a=e.length,s=a,u=r(a),c=1/0,l=[];s--;){var h=e[s];s&&t&&(h=pt(h,Tt(t))),c=un(h.length,c),u[s]=!n&&(t||o>=120&&h.length>=120)?new Dn(s&&h):void 0}h=e[0];var p=-1,f=u[0];e:for(;++p=s)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function Ur(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&Ke.call(s,u,1),Ke.call(e,u,1);return e}function Nr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;so(i)?Ke.call(e,i,1):ei(e,i)}}return e}function Dr(e,t){return e+en(hn()*(t-e+1))}function jr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Br(e,t){return So(mo(e,t,Gs),e+"")}function Fr(e){return Fn(Ts(e))}function Zr(e,t){var n=Ts(e);return ko(n,Jn(t,0,n.length))}function Vr(e,t,n,r){if(!Ha(e))return e;for(var i=-1,o=(t=ui(t,e)).length,a=o-1,s=e;null!=s&&++io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i>>1,a=e[o];null!==a&&!Xa(a)&&(n?a<=t:a=200){var c=t?null:ji(e);if(c)return zt(c);a=!1,i=Rt,u=new Dn}else u=t?[]:s;e:for(;++r=r?e:qr(e,t,n)}var hi=Jt||function(e){return qe.clearTimeout(e)};function pi(e,t){if(t)return e.slice();var n=e.length,r=Ze?Ze(n):new e.constructor(n);return e.copy(r),r}function fi(e){var t=new e.constructor(e.byteLength);return new Me(t).set(new Me(e)),t}function di(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function gi(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=Xa(e),a=void 0!==t,s=null===t,u=t==t,c=Xa(t);if(!s&&!c&&!o&&e>t||o&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&e1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&uo(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=de(t);++r-1?i[o?t[a]:a]:void 0}}function Pi(e){return Wi((function(t){var n=t.length,r=n,o=Rn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ve(i);if(o&&!s&&"wrapper"==$i(a))var s=new Rn([],!0)}for(r=s?r:n;++r1&&b.reverse(),h&&cs))return!1;var c=o.get(e),l=o.get(t);if(c&&l)return c==t&&l==e;var h=-1,p=!0,f=2&n?new Dn:void 0;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!lt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Y):[]}(r),n)))}function Co(e){var t=0,n=0;return function(){var r=cn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ko(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,$o(e,n)}));function na(e){var t=In(e);return t.__chain__=!0,t}function ra(e,t){return t(e)}var ia=Wi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return $n(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Ln&&so(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ra,args:[i],thisArg:void 0}),new Rn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)}));var oa=wi((function(e,t,n){_e.call(e,n)?++e[n]:Kn(e,n,1)}));var aa=Ai(Lo),sa=Ai(Uo);function ua(e,t){return(Ua(e)?at:tr)(e,Yi(t,3))}function ca(e,t){return(Ua(e)?st:nr)(e,Yi(t,3))}var la=wi((function(e,t,n){_e.call(e,n)?e[n].push(t):Kn(e,n,[t])}));var ha=Br((function(e,t,n){var i=-1,o="function"==typeof t,a=Na(e)?r(e.length):[];return tr(e,(function(e){a[++i]=o?it(t,e,n):br(e,t,n)})),a})),pa=wi((function(e,t,n){Kn(e,n,t)}));function fa(e,t){return(Ua(e)?pt:Pr)(e,Yi(t,3))}var da=wi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ga=Br((function(e,t){if(null==e)return[];var n=t.length;return n>1&&uo(e,t[0],t[1])?t=[]:n>2&&uo(t[0],t[1],t[2])&&(t=[t[0]]),Lr(e,ar(t,1),[])})),ma=Yt||function(){return qe.Date.now()};function va(e,t,n){return t=n?void 0:t,Fi(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ya(e,t){var n;if("function"!=typeof t)throw new ve(i);return e=is(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ba=Br((function(e,t,n){var r=1;if(n.length){var i=Vt(n,Ji(ba));r|=32}return Fi(e,r,t,n,i)})),wa=Br((function(e,t,n){var r=3;if(n.length){var i=Vt(n,Ji(wa));r|=32}return Fi(t,r,e,n,i)}));function xa(e,t,n){var r,o,a,s,u,c,l=0,h=!1,p=!1,f=!0;if("function"!=typeof e)throw new ve(i);function d(t){var n=r,i=o;return r=o=void 0,l=t,s=e.apply(i,n)}function g(e){return l=e,u=xo(v,t),h?d(e):s}function m(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-l>=a}function v(){var e=ma();if(m(e))return y(e);u=xo(v,function(e){var n=t-(e-c);return p?un(n,a-(e-l)):n}(e))}function y(e){return u=void 0,f&&r?d(e):(r=o=void 0,s)}function b(){var e=ma(),n=m(e);if(r=arguments,o=this,c=e,n){if(void 0===u)return g(c);if(p)return hi(u),u=xo(v,t),d(c)}return void 0===u&&(u=xo(v,t)),s}return t=as(t)||0,Ha(n)&&(h=!!n.leading,a=(p="maxWait"in n)?sn(as(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){void 0!==u&&hi(u),l=0,r=c=o=u=void 0},b.flush=function(){return void 0===u?s:y(ma())},b}var Sa=Br((function(e,t){return Qn(e,1,t)})),_a=Br((function(e,t,n){return Qn(e,as(t)||0,n)}));function Ca(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ca.Cache||Nn),n}function ka(e){if("function"!=typeof e)throw new ve(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ca.Cache=Nn;var Ea=ci((function(e,t){var n=(t=1==t.length&&Ua(t[0])?pt(t[0],Tt(Yi())):pt(ar(t,1),Tt(Yi()))).length;return Br((function(r){for(var i=-1,o=un(r.length,n);++i=t})),La=wr(function(){return arguments}())?wr:function(e){return Wa(e)&&_e.call(e,"callee")&&!Ge.call(e,"callee")},Ua=r.isArray,Ma=Xe?Tt(Xe):function(e){return Wa(e)&&dr(e)==S};function Na(e){return null!=e&&za(e.length)&&!Za(e)}function Da(e){return Wa(e)&&Na(e)}var ja=nn||au,Ba=Qe?Tt(Qe):function(e){return Wa(e)&&dr(e)==l};function Fa(e){if(!Wa(e))return!1;var t=dr(e);return t==h||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ka(e)}function Za(e){if(!Ha(e))return!1;var t=dr(e);return t==p||t==f||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Va(e){return"number"==typeof e&&e==is(e)}function za(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ha(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Wa(e){return null!=e&&"object"==typeof e}var qa=et?Tt(et):function(e){return Wa(e)&&ro(e)==d};function Ga(e){return"number"==typeof e||Wa(e)&&dr(e)==g}function Ka(e){if(!Wa(e)||dr(e)!=m)return!1;var t=He(e);if(null===t)return!0;var n=_e.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Se.call(n)==Ae}var $a=tt?Tt(tt):function(e){return Wa(e)&&dr(e)==v};var Ja=nt?Tt(nt):function(e){return Wa(e)&&ro(e)==y};function Ya(e){return"string"==typeof e||!Ua(e)&&Wa(e)&&dr(e)==b}function Xa(e){return"symbol"==typeof e||Wa(e)&&dr(e)==w}var Qa=rt?Tt(rt):function(e){return Wa(e)&&za(e.length)&&!!Be[dr(e)]};var es=Mi(Ar),ts=Mi((function(e,t){return e<=t}));function ns(e){if(!e)return[];if(Na(e))return Ya(e)?qt(e):yi(e);if(Ye&&e[Ye])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ye]());var t=ro(e);return(t==d?Ft:t==y?zt:Ts)(e)}function rs(e){return e?(e=as(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function is(e){var t=rs(e),n=t%1;return t==t?n?t-n:t:0}function os(e){return e?Jn(is(e),0,4294967295):0}function as(e){if("number"==typeof e)return e;if(Xa(e))return NaN;if(Ha(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ha(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=It(e);var n=ie.test(e);return n||ae.test(e)?ze(e.slice(2),n?2:8):re.test(e)?NaN:+e}function ss(e){return bi(e,Ss(e))}function us(e){return null==e?"":Xr(e)}var cs=xi((function(e,t){if(po(t)||Na(t))bi(t,xs(t),e);else for(var n in t)_e.call(t,n)&&Hn(e,n,t[n])})),ls=xi((function(e,t){bi(t,Ss(t),e)})),hs=xi((function(e,t,n,r){bi(t,Ss(t),e,r)})),ps=xi((function(e,t,n,r){bi(t,xs(t),e,r)})),fs=Wi($n);var ds=Br((function(e,t){e=de(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&uo(t[0],t[1],i)&&(r=1);++n1),t})),bi(e,Gi(e),n),r&&(n=Yn(n,7,zi));for(var i=t.length;i--;)ei(n,t[i]);return n}));var Es=Wi((function(e,t){return null==e?{}:function(e,t){return Ur(e,t,(function(t,n){return vs(e,n)}))}(e,t)}));function As(e,t){if(null==e)return{};var n=pt(Gi(e),(function(e){return[e]}));return t=Yi(t),Ur(e,n,(function(e,n){return t(e,n[0])}))}var Ps=Bi(xs),Is=Bi(Ss);function Ts(e){return null==e?[]:Ot(e,xs(e))}var Os=ki((function(e,t,n){return t=t.toLowerCase(),e+(n?Rs(t):t)}));function Rs(e){return Fs(us(e).toLowerCase())}function Ls(e){return(e=us(e))&&e.replace(ue,Nt).replace(Re,"")}var Us=ki((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ms=ki((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ns=Ci("toLowerCase");var Ds=ki((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var js=ki((function(e,t,n){return e+(n?" ":"")+Fs(t)}));var Bs=ki((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Fs=Ci("toUpperCase");function Zs(e,t,n){return e=us(e),void 0===(t=n?void 0:t)?function(e){return Ne.test(e)}(e)?function(e){return e.match(Ue)||[]}(e):function(e){return e.match(X)||[]}(e):e.match(t)||[]}var Vs=Br((function(e,t){try{return it(e,void 0,t)}catch(e){return Fa(e)?e:new he(e)}})),zs=Wi((function(e,t){return at(t,(function(t){t=Ao(t),Kn(e,t,ba(e[t],e))})),e}));function Hs(e){return function(){return e}}var Ws=Pi(),qs=Pi(!0);function Gs(e){return e}function Ks(e){return Cr("function"==typeof e?e:Yn(e,1))}var $s=Br((function(e,t){return function(n){return br(n,e,t)}})),Js=Br((function(e,t){return function(n){return br(e,n,t)}}));function Ys(e,t,n){var r=xs(t),i=hr(t,r);null!=n||Ha(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=hr(t,xs(t)));var o=!(Ha(n)&&"chain"in n&&!n.chain),a=Za(e);return at(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=yi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ft([this.value()],arguments))})})),e}function Xs(){}var Qs=Ri(pt),eu=Ri(ut),tu=Ri(mt);function nu(e){return co(e)?Ct(Ao(e)):function(e){return function(t){return pr(t,e)}}(e)}var ru=Ui(),iu=Ui(!0);function ou(){return[]}function au(){return!1}var su=Oi((function(e,t){return e+t}),0),uu=Di("ceil"),cu=Oi((function(e,t){return e/t}),1),lu=Di("floor");var hu,pu=Oi((function(e,t){return e*t}),1),fu=Di("round"),du=Oi((function(e,t){return e-t}),0);return In.after=function(e,t){if("function"!=typeof t)throw new ve(i);return e=is(e),function(){if(--e<1)return t.apply(this,arguments)}},In.ary=va,In.assign=cs,In.assignIn=ls,In.assignInWith=hs,In.assignWith=ps,In.at=fs,In.before=ya,In.bind=ba,In.bindAll=zs,In.bindKey=wa,In.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ua(e)?e:[e]},In.chain=na,In.chunk=function(e,t,n){t=(n?uo(e,t,n):void 0===t)?1:sn(is(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=r(Qt(i/t));oi?0:i+n),(r=void 0===r||r>i?i:is(r))<0&&(r+=i),r=n>r?0:os(r);n>>0)?(e=us(e))&&("string"==typeof t||null!=t&&!$a(t))&&!(t=Xr(t))&&Bt(e)?li(qt(e),0,n):e.split(t,n):[]},In.spread=function(e,t){if("function"!=typeof e)throw new ve(i);return t=null==t?0:sn(is(t),0),Br((function(n){var r=n[t],i=li(n,0,t);return r&&ft(i,r),it(e,this,i)}))},In.tail=function(e){var t=null==e?0:e.length;return t?qr(e,1,t):[]},In.take=function(e,t,n){return e&&e.length?qr(e,0,(t=n||void 0===t?1:is(t))<0?0:t):[]},In.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,(t=r-(t=n||void 0===t?1:is(t)))<0?0:t,r):[]},In.takeRightWhile=function(e,t){return e&&e.length?ni(e,Yi(t,3),!1,!0):[]},In.takeWhile=function(e,t){return e&&e.length?ni(e,Yi(t,3)):[]},In.tap=function(e,t){return t(e),e},In.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ve(i);return Ha(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),xa(e,t,{leading:r,maxWait:t,trailing:o})},In.thru=ra,In.toArray=ns,In.toPairs=Ps,In.toPairsIn=Is,In.toPath=function(e){return Ua(e)?pt(e,Ao):Xa(e)?[e]:yi(Eo(us(e)))},In.toPlainObject=ss,In.transform=function(e,t,n){var r=Ua(e),i=r||ja(e)||Qa(e);if(t=Yi(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Ha(e)&&Za(o)?Tn(He(e)):{}}return(i?at:cr)(e,(function(e,r,i){return t(n,e,r,i)})),n},In.unary=function(e){return va(e,1)},In.union=Wo,In.unionBy=qo,In.unionWith=Go,In.uniq=function(e){return e&&e.length?Qr(e):[]},In.uniqBy=function(e,t){return e&&e.length?Qr(e,Yi(t,2)):[]},In.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},In.unset=function(e,t){return null==e||ei(e,t)},In.unzip=Ko,In.unzipWith=$o,In.update=function(e,t,n){return null==e?e:ti(e,t,si(n))},In.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ti(e,t,si(n),r)},In.values=Ts,In.valuesIn=function(e){return null==e?[]:Ot(e,Ss(e))},In.without=Jo,In.words=Zs,In.wrap=function(e,t){return Aa(si(t),e)},In.xor=Yo,In.xorBy=Xo,In.xorWith=Qo,In.zip=ea,In.zipObject=function(e,t){return oi(e||[],t||[],Hn)},In.zipObjectDeep=function(e,t){return oi(e||[],t||[],Vr)},In.zipWith=ta,In.entries=Ps,In.entriesIn=Is,In.extend=ls,In.extendWith=hs,Ys(In,In),In.add=su,In.attempt=Vs,In.camelCase=Os,In.capitalize=Rs,In.ceil=uu,In.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==t&&(t=(t=as(t))==t?t:0),Jn(as(e),t,n)},In.clone=function(e){return Yn(e,4)},In.cloneDeep=function(e){return Yn(e,5)},In.cloneDeepWith=function(e,t){return Yn(e,5,t="function"==typeof t?t:void 0)},In.cloneWith=function(e,t){return Yn(e,4,t="function"==typeof t?t:void 0)},In.conformsTo=function(e,t){return null==t||Xn(e,t,xs(t))},In.deburr=Ls,In.defaultTo=function(e,t){return null==e||e!=e?t:e},In.divide=cu,In.endsWith=function(e,t,n){e=us(e),t=Xr(t);var r=e.length,i=n=void 0===n?r:Jn(is(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},In.eq=Ta,In.escape=function(e){return(e=us(e))&&j.test(e)?e.replace(N,Dt):e},In.escapeRegExp=function(e){return(e=us(e))&&q.test(e)?e.replace(W,"\\$&"):e},In.every=function(e,t,n){var r=Ua(e)?ut:rr;return n&&uo(e,t,n)&&(t=void 0),r(e,Yi(t,3))},In.find=aa,In.findIndex=Lo,In.findKey=function(e,t){return yt(e,Yi(t,3),cr)},In.findLast=sa,In.findLastIndex=Uo,In.findLastKey=function(e,t){return yt(e,Yi(t,3),lr)},In.floor=lu,In.forEach=ua,In.forEachRight=ca,In.forIn=function(e,t){return null==e?e:sr(e,Yi(t,3),Ss)},In.forInRight=function(e,t){return null==e?e:ur(e,Yi(t,3),Ss)},In.forOwn=function(e,t){return e&&cr(e,Yi(t,3))},In.forOwnRight=function(e,t){return e&&lr(e,Yi(t,3))},In.get=ms,In.gt=Oa,In.gte=Ra,In.has=function(e,t){return null!=e&&io(e,t,mr)},In.hasIn=vs,In.head=No,In.identity=Gs,In.includes=function(e,t,n,r){e=Na(e)?e:Ts(e),n=n&&!r?is(n):0;var i=e.length;return n<0&&(n=sn(i+n,0)),Ya(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&wt(e,t,n)>-1},In.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:is(n);return i<0&&(i=sn(r+i,0)),wt(e,t,i)},In.inRange=function(e,t,n){return t=rs(t),void 0===n?(n=t,t=0):n=rs(n),function(e,t,n){return e>=un(t,n)&&e=-9007199254740991&&e<=9007199254740991},In.isSet=Ja,In.isString=Ya,In.isSymbol=Xa,In.isTypedArray=Qa,In.isUndefined=function(e){return void 0===e},In.isWeakMap=function(e){return Wa(e)&&ro(e)==x},In.isWeakSet=function(e){return Wa(e)&&"[object WeakSet]"==dr(e)},In.join=function(e,t){return null==e?"":on.call(e,t)},In.kebabCase=Us,In.last=Fo,In.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=is(n))<0?sn(r+i,0):un(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):bt(e,St,i,!0)},In.lowerCase=Ms,In.lowerFirst=Ns,In.lt=es,In.lte=ts,In.max=function(e){return e&&e.length?ir(e,Gs,gr):void 0},In.maxBy=function(e,t){return e&&e.length?ir(e,Yi(t,2),gr):void 0},In.mean=function(e){return _t(e,Gs)},In.meanBy=function(e,t){return _t(e,Yi(t,2))},In.min=function(e){return e&&e.length?ir(e,Gs,Ar):void 0},In.minBy=function(e,t){return e&&e.length?ir(e,Yi(t,2),Ar):void 0},In.stubArray=ou,In.stubFalse=au,In.stubObject=function(){return{}},In.stubString=function(){return""},In.stubTrue=function(){return!0},In.multiply=pu,In.nth=function(e,t){return e&&e.length?Rr(e,is(t)):void 0},In.noConflict=function(){return qe._===this&&(qe._=Pe),this},In.noop=Xs,In.now=ma,In.pad=function(e,t,n){e=us(e);var r=(t=is(t))?Wt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Li(en(i),n)+e+Li(Qt(i),n)},In.padEnd=function(e,t,n){e=us(e);var r=(t=is(t))?Wt(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=hn();return un(e+i*(t-e+Ve("1e-"+((i+"").length-1))),t)}return Dr(e,t)},In.reduce=function(e,t,n){var r=Ua(e)?dt:Et,i=arguments.length<3;return r(e,Yi(t,4),n,i,tr)},In.reduceRight=function(e,t,n){var r=Ua(e)?gt:Et,i=arguments.length<3;return r(e,Yi(t,4),n,i,nr)},In.repeat=function(e,t,n){return t=(n?uo(e,t,n):void 0===t)?1:is(t),jr(us(e),t)},In.replace=function(){var e=arguments,t=us(e[0]);return e.length<3?t:t.replace(e[1],e[2])},In.result=function(e,t,n){var r=-1,i=(t=ui(t,e)).length;for(i||(i=1,e=void 0);++r9007199254740991)return[];var n=4294967295,r=un(e,4294967295);e-=4294967295;for(var i=Pt(r,t=Yi(t));++n=o)return e;var s=n-Wt(r);if(s<1)return r;var u=a?li(a,0,s).join(""):e.slice(0,s);if(void 0===i)return u+r;if(a&&(s+=u.length-s),$a(i)){if(e.slice(s).search(i)){var c,l=u;for(i.global||(i=ge(i.source,us(ne.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var h=c.index;u=u.slice(0,void 0===h?s:h)}}else if(e.indexOf(Xr(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},In.unescape=function(e){return(e=us(e))&&D.test(e)?e.replace(M,Kt):e},In.uniqueId=function(e){var t=++Ce;return us(e)+t},In.upperCase=Bs,In.upperFirst=Fs,In.each=ua,In.eachRight=ca,In.first=No,Ys(In,(hu={},cr(In,(function(e,t){_e.call(In.prototype,t)||(hu[t]=e)})),hu),{chain:!1}),In.VERSION="4.17.21",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){In[e].placeholder=In})),at(["drop","take"],(function(e,t){Ln.prototype[e]=function(n){n=void 0===n?1:sn(is(n),0);var r=this.__filtered__&&!t?new Ln(this):this.clone();return r.__filtered__?r.__takeCount__=un(n,r.__takeCount__):r.__views__.push({size:un(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Ln.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Ln.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Yi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ln.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ln.prototype[e]=function(){return this.__filtered__?new Ln(this):this[n](1)}})),Ln.prototype.compact=function(){return this.filter(Gs)},Ln.prototype.find=function(e){return this.filter(e).head()},Ln.prototype.findLast=function(e){return this.reverse().find(e)},Ln.prototype.invokeMap=Br((function(e,t){return"function"==typeof e?new Ln(this):this.map((function(n){return br(n,e,t)}))})),Ln.prototype.reject=function(e){return this.filter(ka(Yi(e)))},Ln.prototype.slice=function(e,t){e=is(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ln(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=is(t))<0?n.dropRight(-t):n.take(t-e)),n)},Ln.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ln.prototype.toArray=function(){return this.take(4294967295)},cr(Ln.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=In[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(In.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Ln,u=a[0],c=s||Ua(t),l=function(e){var t=i.apply(In,ft([e],a));return r&&h?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var h=this.__chain__,p=!!this.__actions__.length,f=o&&!h,d=s&&!p;if(!o&&c){t=d?t:new Ln(this);var g=e.apply(t,a);return g.__actions__.push({func:ra,args:[l],thisArg:void 0}),new Rn(g,h)}return f&&d?e.apply(this,a):(g=this.thru(l),f?r?g.value()[0]:g.value():g)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);In.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ua(i)?i:[],e)}return this[n]((function(n){return t.apply(Ua(n)?n:[],e)}))}})),cr(Ln.prototype,(function(e,t){var n=In[t];if(n){var r=n.name+"";_e.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[Ii(void 0,2).name]=[{name:"wrapper",func:void 0}],Ln.prototype.clone=function(){var e=new Ln(this.__wrapped__);return e.__actions__=yi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yi(this.__views__),e},Ln.prototype.reverse=function(){if(this.__filtered__){var e=new Ln(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ln.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ua(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},In.prototype.plant=function(e){for(var t,n=this;n instanceof On;){var r=Io(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},In.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ln){var t=e;return this.__actions__.length&&(t=new Ln(this)),(t=t.reverse()).__actions__.push({func:ra,args:[Ho],thisArg:void 0}),new Rn(t,this.__chain__)}return this.thru(Ho)},In.prototype.toJSON=In.prototype.valueOf=In.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},In.prototype.first=In.prototype.head,Ye&&(In.prototype[Ye]=function(){return this}),In}();qe._=$t,void 0===(r=function(){return $t}.call(t,n,t,e))||(e.exports=r)}.call(this)},4779:(e,t,n)=>{var r=n(6173);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",l=t&&t.delimiter||"/";null!=(n=i.exec(e));){var h=n[0],p=n[1],f=n.index;if(s+=e.slice(a,f),a=f+h.length,p)s+=p[1];else{var d=e[a],g=n[2],m=n[3],v=n[4],y=n[5],b=n[6],w=n[7];s&&(r.push(s),s="");var x=null!=g&&null!=d&&d!==g,S="+"===b||"*"===b,_="?"===b||"*"===b,C=n[2]||l,k=v||y;r.push({name:m||o++,prefix:g||"",delimiter:C,optional:_,repeat:S,partial:x,asterisk:!!w,pattern:k?c(k):w?".*":"[^"+u(C)+"]+?"})}}return a{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2703:(e,t,n)=>{"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2587:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var c=0;c=0?(l=d.substr(0,g),h=d.substr(g+1)):(l=d,h=""),p=decodeURIComponent(l),f=decodeURIComponent(h),t(o,p)?Array.isArray(o[p])?o[p].push(f):o[p]=[o[p],f]:o[p]=f}return o}},2361:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,i){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[i]))})).join(n):i?encodeURIComponent(t(i))+r+encodeURIComponent(t(e)):""}},7673:(e,t,n)=>{"use strict";t.decode=t.parse=n(2587),t.encode=t.stringify=n(2361)},6082:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,d=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case h:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case m:case g:case u:return e;default:return t}}case i:return t}}}function S(e){return x(e)===h}t.AsyncMode=l,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||x(e)===l},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===s||e===a||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},9864:(e,t,n)=>{"use strict";e.exports=n(6082)},2048:function(e,t,n){var r;e.exports=(r=n(7363),(()=>{var e={977:(e,t,n)=>{"use strict";const r=n(325),i=/^[\da-fA-F]+$/,o=/^\d+$/,a=new WeakMap;function s(e){e=e.Parser.acorn||e;let t=a.get(e);if(!t){const n=e.tokTypes,r=e.TokContext,i=e.TokenType,o=new r("...",!0,!0),c={tc_oTag:o,tc_cTag:s,tc_expr:u},l={jsxName:new i("jsxName"),jsxText:new i("jsxText",{beforeExpr:!0}),jsxTagStart:new i("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new i("jsxTagEnd")};l.jsxTagStart.updateContext=function(){this.context.push(u),this.context.push(o),this.exprAllowed=!1},l.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===o&&e===n.slash||t===s?(this.context.pop(),this.exprAllowed=this.curContext()===u):this.exprAllowed=!0},t={tokContexts:c,tokTypes:l},a.set(e,t)}return t}function u(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?u(e.object)+"."+u(e.property):void 0:e}e.exports=function(e){return e=e||{},function(t){return function(e,t){const a=t.acorn||n(234),c=s(a),l=a.tokTypes,h=c.tokTypes,p=a.tokContexts,f=c.tokContexts.tc_oTag,d=c.tokContexts.tc_cTag,g=c.tokContexts.tc_expr,m=a.isNewLine,v=a.isIdentifierStart,y=a.isIdentifierChar;return class extends t{static get acornJsx(){return c}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let n=this.input.charCodeAt(this.pos);switch(n){case 60:case 123:return this.pos===this.start?60===n&&this.exprAllowed?(++this.pos,this.finishToken(h.jsxTagStart)):this.getTokenFromCode(n):(e+=this.input.slice(t,this.pos),this.finishToken(h.jsxText,e));case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===n?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:m(n)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",n=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let r=this.input.charCodeAt(this.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos):m(r)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!1),n=this.pos):++this.pos}return t+=this.input.slice(n,this.pos++),this.finishToken(l.string,t)}jsx_readEntity(){let e,t="",n=0,a=this.input[this.pos];"&"!==a&&this.raise(this.pos,"Entity must start with an ampersand");let s=++this.pos;for(;this.pos")}let a=i.name?"Element":"Fragment";return n["opening"+a]=i,n["closing"+a]=o,n.children=r,this.type===l.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSX"+a)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===h.jsxText?this.jsx_parseText():this.type===h.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===g)return this.jsx_readToken();if(t===f||t===d){if(v(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(h.jsxTagEnd);if((34===e||39===e)&&t==f)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(h.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==l.braceL){var t=this.curContext();t==f?this.context.push(p.b_expr):t==g?this.context.push(p.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==l.slash||e!==h.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(d),this.exprAllowed=!1}}}}({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects,autoCloseVoidElements:!!e.autoCloseVoidElements},t)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(n(234)).tokTypes},configurable:!0,enumerable:!0})},325:e=>{e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},234:function(e,t){!function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",r={5:n,"5module":n+" export import",6:n+" const class extends export import super"},i=/^in(stanceof)?$/,o="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",s=new RegExp("["+o+"]"),u=new RegExp("["+o+a+"]");o=a=null;var c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function h(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function p(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):!1!==t&&h(e,c)))}function f(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):!1!==t&&(h(e,c)||h(e,l)))))}var d=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new d(e,{beforeExpr:!0,binop:t})}var m={beforeExpr:!0},v={startsExpr:!0},y={};function b(e,t){return void 0===t&&(t={}),t.keyword=e,y[e]=new d(e,t)}var w={num:new d("num",v),regexp:new d("regexp",v),string:new d("string",v),name:new d("name",v),eof:new d("eof"),bracketL:new d("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new d("]"),braceL:new d("{",{beforeExpr:!0,startsExpr:!0}),braceR:new d("}"),parenL:new d("(",{beforeExpr:!0,startsExpr:!0}),parenR:new d(")"),comma:new d(",",m),semi:new d(";",m),colon:new d(":",m),dot:new d("."),question:new d("?",m),questionDot:new d("?."),arrow:new d("=>",m),template:new d("template"),invalidTemplate:new d("invalidTemplate"),ellipsis:new d("...",m),backQuote:new d("`",v),dollarBraceL:new d("${",{beforeExpr:!0,startsExpr:!0}),eq:new d("=",{beforeExpr:!0,isAssign:!0}),assign:new d("_=",{beforeExpr:!0,isAssign:!0}),incDec:new d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new d("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new d("**",{beforeExpr:!0}),coalesce:g("??",1),_break:b("break"),_case:b("case",m),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",m),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",m),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",v),_if:b("if"),_return:b("return",m),_switch:b("switch"),_throw:b("throw",m),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",v),_super:b("super",v),_class:b("class",v),_extends:b("extends",m),_export:b("export"),_import:b("import",v),_null:b("null",v),_true:b("true",v),_false:b("false",v),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},x=/\r\n?|\n|\u2028|\u2029/,S=new RegExp(x.source,"g");function _(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var C=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,E=Object.prototype,A=E.hasOwnProperty,P=E.toString;function I(e,t){return A.call(e,t)}var T=Array.isArray||function(e){return"[object Array]"===P.call(e)};function O(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var R=function(e,t){this.line=e,this.column=t};R.prototype.offset=function(e){return new R(this.line,this.column+e)};var L=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function U(e,t){for(var n=1,r=0;;){S.lastIndex=r;var i=S.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),T(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return T(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,o,a,s){var u={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(u.loc=new L(this,a,s)),e.ranges&&(u.range=[i,o]),t.push(u)}}(t,t.onComment)),t}function j(e,t){return 2|(e?4:0)|(t?8:0)}var B=function(e,n,i){this.options=e=D(e),this.sourceFile=e.sourceFile,this.keywords=O(r[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var o="";!0!==e.allowReserved&&(o=t[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(o+=" await")),this.reservedWords=O(o);var a=(o?o+" ":"")+t.strict;this.reservedWordsStrict=O(a),this.reservedWordsStrictBind=O(a+" "+t.strictBind),this.input=String(n),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(x).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=w.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},inNonArrowFunction:{configurable:!0}};B.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},F.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},F.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},F.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},F.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},F.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},F.inNonArrowFunction.get=function(){return(2&this.currentThisScope().flags)>0},B.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1))}e+=t[0].length,k.lastIndex=e,e+=k.exec(this.input)[0].length,";"===this.input[e]&&e++}},Z.eat=function(e){return this.type===e&&(this.next(),!0)},Z.isContextual=function(e){return this.type===w.name&&this.value===e&&!this.containsEsc},Z.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},Z.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Z.canInsertSemicolon=function(){return this.type===w.eof||this.type===w.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))},Z.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Z.semicolon=function(){this.eat(w.semi)||this.insertSemicolon()||this.unexpected()},Z.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Z.expect=function(e){this.eat(e)||this.unexpected()},Z.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},Z.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},Z.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},Z.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case w._class:return e&&this.unexpected(),this.parseClass(o,!0);case w._if:return this.parseIfStatement(o);case w._return:return this.parseReturnStatement(o);case w._switch:return this.parseSwitchStatement(o);case w._throw:return this.parseThrowStatement(o);case w._try:return this.parseTryStatement(o);case w._const:case w._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(o,r);case w._while:return this.parseWhileStatement(o);case w._with:return this.parseWithStatement(o);case w.braceL:return this.parseBlock(!0,o);case w.semi:return this.parseEmptyStatement(o);case w._export:case w._import:if(this.options.ecmaVersion>10&&i===w._import){k.lastIndex=this.pos;var a=k.exec(this.input),s=this.pos+a[0].length,u=this.input.charCodeAt(s);if(40===u||46===u)return this.parseExpressionStatement(o,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===w._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var c=this.value,l=this.parseExpression();return i===w.name&&"Identifier"===l.type&&this.eat(w.colon)?this.parseLabeledStatement(o,c,l,e):this.parseExpressionStatement(o,l)}},H.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(w.semi)||this.insertSemicolon()?e.label=null:this.type!==w.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(w.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},H.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterScope(0),this.expect(w.parenL),this.type===w.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===w._var||this.type===w._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===w._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=new z,a=this.parseExpression(!0,o);return this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===w._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,o),this.checkLValPattern(a),this.parseForIn(e,a)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))},H.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,K|(n?0:$),!1,t)},H.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(w._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},H.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(w.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},H.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(w.braceL),this.labels.push(q),this.enterScope(0);for(var n=!1;this.type!==w.braceR;)if(this.type===w._case||this.type===w._default){var r=this.type===w._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(w.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},H.parseThrowStatement=function(e){return this.next(),x.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var G=[];H.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===w._catch){var t=this.startNode();if(this.next(),this.eat(w.parenL)){t.param=this.parseBindingAtom();var n="Identifier"===t.param.type;this.enterScope(n?32:0),this.checkLValPattern(t.param,n?4:2),this.expect(w.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(w._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},H.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},H.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},H.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},H.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},H.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i=0;s--){var u=this.labels[s];if(u.statementStart!==e.start)break;u.statementStart=this.start,u.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},H.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},H.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(w.braceL),e&&this.enterScope(0);this.type!==w.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},H.parseFor=function(e,t){return e.init=t,this.expect(w.semi),e.test=this.type===w.semi?null:this.parseExpression(),this.expect(w.semi),e.update=this.type===w.parenR?null:this.parseExpression(),this.expect(w.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},H.parseForIn=function(e,t){var n=this.type===w._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(w.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},H.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(w.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===w._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(w.comma))break}return e},H.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var K=1,$=2;H.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===w.star&&t&$&&this.unexpected(),e.generator=this.eat(w.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&K&&(e.id=4&t&&this.type!==w.name?null:this.parseIdent(),!e.id||t&$||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(j(e.async,e.generator)),t&K||(e.id=this.type===w.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(e,t&K?"FunctionDeclaration":"FunctionExpression")},H.parseFunctionParams=function(e){this.expect(w.parenL),e.params=this.parseBindingList(w.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},H.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(w.braceL);this.type!==w.braceR;){var o=this.parseClassElement(null!==e.superClass);o&&(r.body.push(o),"MethodDefinition"===o.type&&"constructor"===o.kind&&(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},H.parseClassElement=function(e){var t=this;if(this.eat(w.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,o=t.startLoc;return!(!t.eatContextual(e)||(t.type===w.parenL||r&&t.canInsertSemicolon())&&(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,o),n.key.name=e,t.finishNode(n.key,"Identifier"),1))};n.kind="method",n.static=r("static");var i=this.eat(w.star),o=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(w.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var a=n.key,s=!1;return n.computed||n.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?n.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),i&&this.raise(a.start,"Constructor can't be a generator"),o&&this.raise(a.start,"Constructor can't be an async method"),n.kind="constructor",s=e),this.parseClassMethod(n,i,o,s),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},H.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,"MethodDefinition")},H.parseClassId=function(e,t){this.type===w.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},H.parseClassSuper=function(e){e.superClass=this.eat(w._extends)?this.parseExprSubscripts():null},H.parseExport=function(e,t){if(this.next(),this.eat(w.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==w.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(w._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===w._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,4|K,!1,n)}else if(this.type===w._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==w.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,a=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=8&&!o&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(w._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(w.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===w.name&&!o)return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(w.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[a],!0)}return a;case w.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case w.num:case w.string:return this.parseLiteral(this.value);case w._null:case w._true:case w._false:return(t=this.startNode()).value=this.type===w._null?null:this.type===w._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case w.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case w.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(w.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case w.braceL:return this.parseObj(!1,e);case w._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case w._class:return this.parseClass(this.startNode(),!1);case w._new:return this.parseNew();case w.backQuote:return this.parseTemplate();case w._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Y.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case w.parenL:return this.parseDynamicImport(e);case w.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Y.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(w.parenR)){var t=this.start;this.eat(w.comma)&&this.eat(w.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Y.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Y.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Y.parseParenExpression=function(){this.expect(w.parenL);var e=this.parseExpression();return this.expect(w.parenR),e},Y.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,a=this.start,s=this.startLoc,u=[],c=!0,l=!1,h=new z,p=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==w.parenR;){if(c?c=!1:this.expect(w.comma),i&&this.afterTrailingComma(w.parenR,!0)){l=!0;break}if(this.type===w.ellipsis){o=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===w.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,h,this.parseParenItem))}var d=this.start,g=this.startLoc;if(this.expect(w.parenR),e&&!this.canInsertSemicolon()&&this.eat(w.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=f,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(h,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?((t=this.startNodeAt(a,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,g)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(n,r);return m.expression=t,this.finishNode(m,"ParenthesizedExpression")}return t},Y.parseParenItem=function(e){return e},Y.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var X=[];Y.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(w.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===w._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),o&&"ImportExpression"===e.callee.type&&this.raise(r,"Cannot use new with import()"),this.eat(w.parenL)?e.arguments=this.parseExprList(w.parenR,this.options.ecmaVersion>=8,!1):e.arguments=X,this.finishNode(e,"NewExpression")},Y.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===w.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===w.backQuote,this.finishNode(n,"TemplateElement")},Y.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===w.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(w.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(w.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},Y.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===w.name||this.type===w.num||this.type===w.string||this.type===w.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===w.star)&&!x.test(this.input.slice(this.lastTokEnd,this.start))},Y.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(w.braceR);){if(r)r=!1;else if(this.expect(w.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(w.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},Y.parseProperty=function(e,t){var n,r,i,o,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(w.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===w.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===w.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===w.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(w.star)));var s=this.containsEsc;return this.parsePropertyName(a),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(a)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(w.star),this.parsePropertyName(a,t)):r=!1,this.parsePropertyValue(a,e,n,r,i,o,t,s),this.finishNode(a,"Property")},Y.parsePropertyValue=function(e,t,n,r,i,o,a,s){if((n||r)&&this.type===w.colon&&this.unexpected(),this.eat(w.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===w.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===w.comma||this.type===w.braceR||this.type===w.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===w.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Y.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(w.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(w.bracketR),e.key;e.computed=!1}return e.key=this.type===w.num||this.type===w.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Y.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Y.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|j(t,r.generator)|(n?128:0)),this.expect(w.parenL),r.params=this.parseBindingList(w.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(r,"FunctionExpression")},Y.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(16|j(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},Y.parseFunctionBody=function(e,t,n){var r=t&&this.type!==w.braceL,i=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!a||(o=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var s=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=s}this.exitScope()},Y.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var o=this.currentScope();r=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var s=this.scopeStack[a];if(s.lexical.indexOf(e)>-1&&!(32&s.flags&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){r=!0;break}if(s.var.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e],3&s.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},ee.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ee.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},ee.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var ne=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new L(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},re=B.prototype;function ie(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}re.startNode=function(){return new ne(this,this.start,this.startLoc)},re.startNodeAt=function(e,t){return new ne(this,e,t)},re.finishNode=function(e,t){return ie.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},re.finishNodeAt=function(e,t,n,r){return ie.call(this,e,t,n,r)},re.copyNode=function(e){var t=new ne(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var oe=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},ae={b_stat:new oe("{",!1),b_expr:new oe("{",!0),b_tmpl:new oe("${",!1),p_stat:new oe("(",!1),p_expr:new oe("(",!0),q_tmpl:new oe("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new oe("function",!1),f_expr:new oe("function",!0),f_expr_gen:new oe("function",!0,!1,null,!0),f_gen:new oe("function",!1,!1,null,!0)},se=B.prototype;se.initialContext=function(){return[ae.b_stat]},se.braceIsBlock=function(e){var t=this.curContext();return t===ae.f_expr||t===ae.f_stat||(e!==w.colon||t!==ae.b_stat&&t!==ae.b_expr?e===w._return||e===w.name&&this.exprAllowed?x.test(this.input.slice(this.lastTokEnd,this.start)):e===w._else||e===w.semi||e===w.eof||e===w.parenR||e===w.arrow||(e===w.braceL?t===ae.b_stat:e!==w._var&&e!==w._const&&e!==w.name&&!this.exprAllowed):!t.isExpr)},se.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},se.updateContext=function(e){var t,n=this.type;n.keyword&&e===w.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},w.parenR.updateContext=w.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===ae.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},w.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ae.b_stat:ae.b_expr),this.exprAllowed=!0},w.dollarBraceL.updateContext=function(){this.context.push(ae.b_tmpl),this.exprAllowed=!0},w.parenL.updateContext=function(e){var t=e===w._if||e===w._for||e===w._with||e===w._while;this.context.push(t?ae.p_stat:ae.p_expr),this.exprAllowed=!0},w.incDec.updateContext=function(){},w._function.updateContext=w._class.updateContext=function(e){!e.beforeExpr||e===w._else||e===w.semi&&this.curContext()!==ae.p_stat||e===w._return&&x.test(this.input.slice(this.lastTokEnd,this.start))||(e===w.colon||e===w.braceL)&&this.curContext()===ae.b_stat?this.context.push(ae.f_stat):this.context.push(ae.f_expr),this.exprAllowed=!1},w.backQuote.updateContext=function(){this.curContext()===ae.q_tmpl?this.context.pop():this.context.push(ae.q_tmpl),this.exprAllowed=!1},w.star.updateContext=function(e){if(e===w._function){var t=this.context.length-1;this.context[t]===ae.f_expr?this.context[t]=ae.f_expr_gen:this.context[t]=ae.f_gen}this.exprAllowed=!0},w.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==w.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ue="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ce=ue+" Extended_Pictographic",le={9:ue,10:ce,11:ce,12:ce+" EBase EComp EMod EPres ExtPict"},he="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",pe="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",fe=pe+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",de=fe+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ge={9:pe,10:fe,11:de,12:de+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},me={};function ve(e){var t=me[e]={binary:O(le[e]+" "+he),nonBinary:{General_Category:O(he),Script:O(ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}ve(9),ve(10),ve(11),ve(12);var ye=B.prototype,be=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=me[e.options.ecmaVersion>=12?12:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function we(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function xe(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Se(e){return e>=65&&e<=90||e>=97&&e<=122}function _e(e){return Se(e)||95===e}function Ce(e){return _e(e)||ke(e)}function ke(e){return e>=48&&e<=57}function Ee(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ae(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Pe(e){return e>=48&&e<=55}be.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},be.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},be.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!t&&!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},be.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i,o=n.charCodeAt(e);return!t&&!this.switchU||o<=55295||o>=57344||e+1>=r||(i=n.charCodeAt(e+1))<56320||i>57343?e+1:e+2},be.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},be.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},be.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},be.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},ye.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},ye.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},ye.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},ye.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},ye.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},ye.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},ye.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},ye.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},ye.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!xe(t)&&(e.lastIntValue=t,e.advance(),!0)},ye.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!xe(n);)e.advance();return e.pos!==t},ye.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},ye.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},ye.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},ye.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=we(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=we(e.lastIntValue);return!0}return!1},ye.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return p(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},ye.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return f(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},ye.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},ye.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},ye.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},ye.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},ye.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},ye.regexp_eatZero=function(e){return 48===e.current()&&!ke(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},ye.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},ye.regexp_eatControlLetter=function(e){var t=e.current();return!!Se(t)&&(e.lastIntValue=t%32,e.advance(),!0)},ye.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(i-55296)+(a-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&function(e){return e>=0&&e<=1114111}(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},ye.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},ye.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},ye.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},ye.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},ye.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){I(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},ye.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},ye.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";_e(t=e.current());)e.lastStringValue+=we(t),e.advance();return""!==e.lastStringValue},ye.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Ce(t=e.current());)e.lastStringValue+=we(t),e.advance();return""!==e.lastStringValue},ye.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},ye.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},ye.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},ye.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||Pe(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},ye.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},ye.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!ke(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},ye.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},ye.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;ke(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},ye.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ee(n=e.current());)e.lastIntValue=16*e.lastIntValue+Ae(n),e.advance();return e.pos!==t},ye.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},ye.regexp_eatOctalDigit=function(e){var t=e.current();return Pe(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},ye.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Te.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ie(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Te.getToken=function(){return this.next(),new Ie(this)},"undefined"!=typeof Symbol&&(Te[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===w.eof,value:t}}}}),Te.curContext=function(){return this.context[this.context.length-1]},Te.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(w.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Te.readToken=function(e){return p(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Te.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(S.lastIndex=n;(e=S.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},Te.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(w.ellipsis)):(++this.pos,this.finishToken(w.dot))},Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(w.assign,2):this.finishOp(w.slash,1)},Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?w.star:w.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=w.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(w.assign,n+1):this.finishOp(r,n)},Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(w.assign,3):this.finishOp(124===e?w.logicalOR:w.logicalAND,2):61===t?this.finishOp(w.assign,2):this.finishOp(124===e?w.bitwiseOR:w.bitwiseAND,1)},Te.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(w.assign,2):this.finishOp(w.bitwiseXOR,1)},Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!x.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(w.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(w.assign,2):this.finishOp(w.plusMin,1)},Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(w.assign,n+1):this.finishOp(w.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(w.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(w.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(w.arrow)):this.finishOp(61===e?w.eq:w.prefix,1)},Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(w.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(w.assign,3):this.finishOp(w.coalesce,2)}return this.finishOp(w.question,1)},Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(w.parenL);case 41:return++this.pos,this.finishToken(w.parenR);case 59:return++this.pos,this.finishToken(w.semi);case 44:return++this.pos,this.finishToken(w.comma);case 91:return++this.pos,this.finishToken(w.bracketL);case 93:return++this.pos,this.finishToken(w.bracketR);case 123:return++this.pos,this.finishToken(w.braceL);case 125:return++this.pos,this.finishToken(w.braceR);case 58:return++this.pos,this.finishToken(w.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(w.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(w.prefix,1)}this.raise(this.pos,"Unexpected character '"+Re(e)+"'")},Te.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Te.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(x.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(o);var s=this.regexpState||(this.regexpState=new be(this));s.reset(n,i,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,a)}catch(e){}return this.finishToken(w.regexp,{pattern:i,flags:a,value:u})},Te.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,i=n&&48===this.input.charCodeAt(this.pos),o=this.pos,a=0,s=0,u=0,c=null==t?1/0:t;u=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=e)break;s=l,a=a*e+h}}return r&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||null!=t&&this.pos-o!==t?null:a},Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=Oe(this.input.slice(t,this.pos)),++this.pos):p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(w.num,n)},Te.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===r){var i=Oe(this.input.slice(t,this.pos));return++this.pos,p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(w.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=function(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}(this.input.slice(t,this.pos),n);return this.finishToken(w.num,o)},Te.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Te.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(_(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(w.string,t)};var Le={};Te.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Le)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Le;this.raise(e,t)},Te.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==w.template&&this.type!==w.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(w.template,e)):36===n?(this.pos+=2,this.finishToken(w.dollarBraceL)):(++this.pos,this.finishToken(w.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(_(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return _(t)?"":String.fromCharCode(t)}},Te.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Te.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos{"use strict";n.r(t),n.d(t,{default:()=>vt});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:i,"5module":i+" export import",6:i+" const class extends export import super"},a=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",c=new RegExp("["+s+"]"),l=new RegExp("["+s+u+"]");s=u=null;var h=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],p=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function f(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&f(e,h)))}function g(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&(f(e,h)||f(e,p)))))}var m=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function v(e,t){return new m(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},w={};function x(e,t){return void 0===t&&(t={}),t.keyword=e,w[e]=new m(e,t)}var S={num:new m("num",b),regexp:new m("regexp",b),string:new m("string",b),name:new m("name",b),eof:new m("eof"),bracketL:new m("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new m("]"),braceL:new m("{",{beforeExpr:!0,startsExpr:!0}),braceR:new m("}"),parenL:new m("(",{beforeExpr:!0,startsExpr:!0}),parenR:new m(")"),comma:new m(",",y),semi:new m(";",y),colon:new m(":",y),dot:new m("."),question:new m("?",y),questionDot:new m("?."),arrow:new m("=>",y),template:new m("template"),invalidTemplate:new m("invalidTemplate"),ellipsis:new m("...",y),backQuote:new m("`",b),dollarBraceL:new m("${",{beforeExpr:!0,startsExpr:!0}),eq:new m("=",{beforeExpr:!0,isAssign:!0}),assign:new m("_=",{beforeExpr:!0,isAssign:!0}),incDec:new m("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new m("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),relational:v("/<=/>=",7),bitShift:v("<>/>>>",8),plusMin:new m("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:v("%",10),star:v("*",10),slash:v("/",10),starstar:new m("**",{beforeExpr:!0}),coalesce:v("??",1),_break:x("break"),_case:x("case",y),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",y),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",y),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",b),_if:x("if"),_return:x("return",y),_switch:x("switch"),_throw:x("throw",y),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",b),_super:x("super",b),_class:x("class",b),_extends:x("extends",y),_export:x("export"),_import:x("import",b),_null:x("null",b),_true:x("true",b),_false:x("false",b),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},_=/\r\n?|\n|\u2028|\u2029/,C=new RegExp(_.source,"g");function k(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var E=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,P=Object.prototype,I=P.hasOwnProperty,T=P.toString;function O(e,t){return I.call(e,t)}var R=Array.isArray||function(e){return"[object Array]"===T.call(e)};function L(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var U=function(e,t){this.line=e,this.column=t};U.prototype.offset=function(e){return new U(this.line,this.column+e)};var M=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function N(e,t){for(var n=1,r=0;;){C.lastIndex=r;var i=C.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),R(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return R(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,o,a,s){var u={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(u.loc=new M(this,a,s)),e.ranges&&(u.range=[i,o]),t.push(u)}}(t,t.onComment)),t}(e),this.sourceFile=e.sourceFile,this.keywords=L(o[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";!0!==e.allowReserved&&(i=r[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(i+=" await")),this.reservedWords=L(i);var a=(i?i+" ":"")+r.strict;this.reservedWordsStrict=L(a),this.reservedWordsStrictBind=L(a+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(_).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=S.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},Z={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},inNonArrowFunction:{configurable:!0}};F.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Z.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Z.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},Z.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},Z.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},Z.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Z.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Z.inNonArrowFunction.get=function(){return(2&this.currentThisScope().flags)>0},F.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1))}e+=t[0].length,A.lastIndex=e,e+=A.exec(this.input)[0].length,";"===this.input[e]&&e++}},V.eat=function(e){return this.type===e&&(this.next(),!0)},V.isContextual=function(e){return this.type===S.name&&this.value===e&&!this.containsEsc},V.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},V.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},V.canInsertSemicolon=function(){return this.type===S.eof||this.type===S.braceR||_.test(this.input.slice(this.lastTokEnd,this.start))},V.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},V.semicolon=function(){this.eat(S.semi)||this.insertSemicolon()||this.unexpected()},V.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},V.expect=function(e){this.eat(e)||this.unexpected()},V.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},V.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},V.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},V.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case S._class:return e&&this.unexpected(),this.parseClass(o,!0);case S._if:return this.parseIfStatement(o);case S._return:return this.parseReturnStatement(o);case S._switch:return this.parseSwitchStatement(o);case S._throw:return this.parseThrowStatement(o);case S._try:return this.parseTryStatement(o);case S._const:case S._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(o,r);case S._while:return this.parseWhileStatement(o);case S._with:return this.parseWithStatement(o);case S.braceL:return this.parseBlock(!0,o);case S.semi:return this.parseEmptyStatement(o);case S._export:case S._import:if(this.options.ecmaVersion>10&&i===S._import){A.lastIndex=this.pos;var a=A.exec(this.input),s=this.pos+a[0].length,u=this.input.charCodeAt(s);if(40===u||46===u)return this.parseExpressionStatement(o,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===S._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var c=this.value,l=this.parseExpression();return i===S.name&&"Identifier"===l.type&&this.eat(S.colon)?this.parseLabeledStatement(o,c,l,e):this.parseExpressionStatement(o,l)}},W.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(S.semi)||this.insertSemicolon()?e.label=null:this.type!==S.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(S.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(q),this.enterScope(0),this.expect(S.parenL),this.type===S.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===S._var||this.type===S._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===S._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===S._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=new H,a=this.parseExpression(!0,o);return this.type===S._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===S._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,o),this.checkLValPattern(a),this.parseForIn(e,a)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))},W.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,$|(n?0:J),!1,t)},W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(S._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},W.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(S.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},W.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(S.braceL),this.labels.push(G),this.enterScope(0);for(var n=!1;this.type!==S.braceR;)if(this.type===S._case||this.type===S._default){var r=this.type===S._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(S.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},W.parseThrowStatement=function(e){return this.next(),_.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var K=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===S._catch){var t=this.startNode();if(this.next(),this.eat(S.parenL)){t.param=this.parseBindingAtom();var n="Identifier"===t.param.type;this.enterScope(n?32:0),this.checkLValPattern(t.param,n?4:2),this.expect(S.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(S._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(q),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},W.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},W.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i=0;s--){var u=this.labels[s];if(u.statementStart!==e.start)break;u.statementStart=this.start,u.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},W.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(S.braceL),e&&this.enterScope(0);this.type!==S.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},W.parseFor=function(e,t){return e.init=t,this.expect(S.semi),e.test=this.type===S.semi?null:this.parseExpression(),this.expect(S.semi),e.update=this.type===S.parenR?null:this.parseExpression(),this.expect(S.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},W.parseForIn=function(e,t){var n=this.type===S._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(S.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},W.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(S.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===S._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===S._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(S.comma))break}return e},W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var $=1,J=2;W.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===S.star&&t&J&&this.unexpected(),e.generator=this.eat(S.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&$&&(e.id=4&t&&this.type!==S.name?null:this.parseIdent(),!e.id||t&J||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(B(e.async,e.generator)),t&$||(e.id=this.type===S.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(e,t&$?"FunctionDeclaration":"FunctionExpression")},W.parseFunctionParams=function(e){this.expect(S.parenL),e.params=this.parseBindingList(S.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},W.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(S.braceL);this.type!==S.braceR;){var o=this.parseClassElement(null!==e.superClass);o&&(r.body.push(o),"MethodDefinition"===o.type&&"constructor"===o.kind&&(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},W.parseClassElement=function(e){var t=this;if(this.eat(S.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,o=t.startLoc;return!(!t.eatContextual(e)||(t.type===S.parenL||r&&t.canInsertSemicolon())&&(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,o),n.key.name=e,t.finishNode(n.key,"Identifier"),1))};n.kind="method",n.static=r("static");var i=this.eat(S.star),o=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(S.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var a=n.key,s=!1;return n.computed||n.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?n.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),i&&this.raise(a.start,"Constructor can't be a generator"),o&&this.raise(a.start,"Constructor can't be an async method"),n.kind="constructor",s=e),this.parseClassMethod(n,i,o,s),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},W.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,"MethodDefinition")},W.parseClassId=function(e,t){this.type===S.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},W.parseClassSuper=function(e){e.superClass=this.eat(S._extends)?this.parseExprSubscripts():null},W.parseExport=function(e,t){if(this.next(),this.eat(S.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==S.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(S._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===S._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,4|$,!1,n)}else if(this.type===S._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==S.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,a=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=8&&!o&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(S._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(S.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===S.name&&!o)return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(S.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[a],!0)}return a;case S.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case S.num:case S.string:return this.parseLiteral(this.value);case S._null:case S._true:case S._false:return(t=this.startNode()).value=this.type===S._null?null:this.type===S._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case S.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case S.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(S.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case S.braceL:return this.parseObj(!1,e);case S._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case S._class:return this.parseClass(this.startNode(),!1);case S._new:return this.parseNew();case S.backQuote:return this.parseTemplate();case S._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},X.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case S.parenL:return this.parseDynamicImport(e);case S.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},X.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(S.parenR)){var t=this.start;this.eat(S.comma)&&this.eat(S.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},X.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},X.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},X.parseParenExpression=function(){this.expect(S.parenL);var e=this.parseExpression();return this.expect(S.parenR),e},X.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,a=this.start,s=this.startLoc,u=[],c=!0,l=!1,h=new H,p=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==S.parenR;){if(c?c=!1:this.expect(S.comma),i&&this.afterTrailingComma(S.parenR,!0)){l=!0;break}if(this.type===S.ellipsis){o=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===S.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,h,this.parseParenItem))}var d=this.start,g=this.startLoc;if(this.expect(S.parenR),e&&!this.canInsertSemicolon()&&this.eat(S.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=f,this.parseParenArrowList(n,r,u);u.length&&!l||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(h,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=f||this.awaitPos,u.length>1?((t=this.startNodeAt(a,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,g)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(n,r);return m.expression=t,this.finishNode(m,"ParenthesizedExpression")}return t},X.parseParenItem=function(e){return e},X.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Q=[];X.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(S.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===S._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),o&&"ImportExpression"===e.callee.type&&this.raise(r,"Cannot use new with import()"),this.eat(S.parenL)?e.arguments=this.parseExprList(S.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Q,this.finishNode(e,"NewExpression")},X.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===S.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===S.backQuote,this.finishNode(n,"TemplateElement")},X.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===S.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(S.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(S.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},X.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===S.name||this.type===S.num||this.type===S.string||this.type===S.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===S.star)&&!_.test(this.input.slice(this.lastTokEnd,this.start))},X.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(S.braceR);){if(r)r=!1;else if(this.expect(S.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(S.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},X.parseProperty=function(e,t){var n,r,i,o,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(S.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===S.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===S.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===S.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(S.star)));var s=this.containsEsc;return this.parsePropertyName(a),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(a)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(S.star),this.parsePropertyName(a,t)):r=!1,this.parsePropertyValue(a,e,n,r,i,o,t,s),this.finishNode(a,"Property")},X.parsePropertyValue=function(e,t,n,r,i,o,a,s){if((n||r)&&this.type===S.colon&&this.unexpected(),this.eat(S.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===S.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===S.comma||this.type===S.braceR||this.type===S.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===S.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},X.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(S.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(S.bracketR),e.key;e.computed=!1}return e.key=this.type===S.num||this.type===S.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},X.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},X.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|B(t,r.generator)|(n?128:0)),this.expect(S.parenL),r.params=this.parseBindingList(S.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(r,"FunctionExpression")},X.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(16|B(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},X.parseFunctionBody=function(e,t,n){var r=t&&this.type!==S.braceL,i=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!a||(o=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var s=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=s}this.exitScope()},X.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var o=this.currentScope();r=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var s=this.scopeStack[a];if(s.lexical.indexOf(e)>-1&&!(32&s.flags&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){r=!0;break}if(s.var.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e],3&s.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},te.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},te.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},te.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},te.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var re=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new M(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ie=F.prototype;function oe(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}ie.startNode=function(){return new re(this,this.start,this.startLoc)},ie.startNodeAt=function(e,t){return new re(this,e,t)},ie.finishNode=function(e,t){return oe.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ie.finishNodeAt=function(e,t,n,r){return oe.call(this,e,t,n,r)},ie.copyNode=function(e){var t=new re(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var ae=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},se={b_stat:new ae("{",!1),b_expr:new ae("{",!0),b_tmpl:new ae("${",!1),p_stat:new ae("(",!1),p_expr:new ae("(",!0),q_tmpl:new ae("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new ae("function",!1),f_expr:new ae("function",!0),f_expr_gen:new ae("function",!0,!1,null,!0),f_gen:new ae("function",!1,!1,null,!0)},ue=F.prototype;ue.initialContext=function(){return[se.b_stat]},ue.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat||(e!==S.colon||t!==se.b_stat&&t!==se.b_expr?e===S._return||e===S.name&&this.exprAllowed?_.test(this.input.slice(this.lastTokEnd,this.start)):e===S._else||e===S.semi||e===S.eof||e===S.parenR||e===S.arrow||(e===S.braceL?t===se.b_stat:e!==S._var&&e!==S._const&&e!==S.name&&!this.exprAllowed):!t.isExpr)},ue.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ue.updateContext=function(e){var t,n=this.type;n.keyword&&e===S.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},S.parenR.updateContext=S.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===se.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},S.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0},S.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0},S.parenL.updateContext=function(e){var t=e===S._if||e===S._for||e===S._with||e===S._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0},S.incDec.updateContext=function(){},S._function.updateContext=S._class.updateContext=function(e){!e.beforeExpr||e===S._else||e===S.semi&&this.curContext()!==se.p_stat||e===S._return&&_.test(this.input.slice(this.lastTokEnd,this.start))||(e===S.colon||e===S.braceL)&&this.curContext()===se.b_stat?this.context.push(se.f_stat):this.context.push(se.f_expr),this.exprAllowed=!1},S.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1},S.star.updateContext=function(e){if(e===S._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0},S.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==S.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ce="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",le=ce+" Extended_Pictographic",he={9:ce,10:le,11:le,12:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic EBase EComp EMod EPres ExtPict"},pe="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",fe="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",de=fe+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ge={9:fe,10:de,11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",12:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},me={};function ve(e){var t=me[e]={binary:L(he[e]+" "+pe),nonBinary:{General_Category:L(pe),Script:L(ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}ve(9),ve(10),ve(11),ve(12);var ye=F.prototype,be=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=me[e.options.ecmaVersion>=12?12:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function we(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function xe(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Se(e){return e>=65&&e<=90||e>=97&&e<=122}function _e(e){return Se(e)||95===e}function Ce(e){return _e(e)||ke(e)}function ke(e){return e>=48&&e<=57}function Ee(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ae(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Pe(e){return e>=48&&e<=55}be.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},be.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},be.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!t&&!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},be.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i,o=n.charCodeAt(e);return!t&&!this.switchU||o<=55295||o>=57344||e+1>=r||(i=n.charCodeAt(e+1))<56320||i>57343?e+1:e+2},be.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},be.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},be.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},be.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},ye.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},ye.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},ye.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},ye.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},ye.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},ye.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},ye.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},ye.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},ye.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!xe(t)&&(e.lastIntValue=t,e.advance(),!0)},ye.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!xe(n);)e.advance();return e.pos!==t},ye.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},ye.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},ye.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},ye.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=we(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=we(e.lastIntValue);return!0}return!1},ye.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return d(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},ye.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return g(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},ye.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},ye.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},ye.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},ye.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},ye.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},ye.regexp_eatZero=function(e){return 48===e.current()&&!ke(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},ye.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},ye.regexp_eatControlLetter=function(e){var t=e.current();return!!Se(t)&&(e.lastIntValue=t%32,e.advance(),!0)},ye.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n,r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(i&&o>=55296&&o<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=1024*(o-55296)+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=o}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(n=e.lastIntValue)>=0&&n<=1114111)return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1},ye.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},ye.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},ye.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},ye.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},ye.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){O(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},ye.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},ye.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";_e(t=e.current());)e.lastStringValue+=we(t),e.advance();return""!==e.lastStringValue},ye.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Ce(t=e.current());)e.lastStringValue+=we(t),e.advance();return""!==e.lastStringValue},ye.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},ye.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},ye.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},ye.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||Pe(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},ye.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},ye.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!ke(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},ye.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},ye.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;ke(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},ye.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ee(n=e.current());)e.lastIntValue=16*e.lastIntValue+Ae(n),e.advance();return e.pos!==t},ye.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},ye.regexp_eatOctalDigit=function(e){var t=e.current();return Pe(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},ye.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Te.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ie(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Te.getToken=function(){return this.next(),new Ie(this)},"undefined"!=typeof Symbol&&(Te[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===S.eof,value:t}}}}),Te.curContext=function(){return this.context[this.context.length-1]},Te.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(S.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Te.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Te.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(C.lastIndex=n;(e=C.exec(this.input))&&e.index8&&e<14||e>=5760&&E.test(String.fromCharCode(e))))break e;++this.pos}}},Te.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(S.ellipsis)):(++this.pos,this.finishToken(S.dot))},Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(S.assign,2):this.finishOp(S.slash,1)},Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?S.star:S.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=S.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(S.assign,n+1):this.finishOp(r,n)},Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(S.assign,3):this.finishOp(124===e?S.logicalOR:S.logicalAND,2):61===t?this.finishOp(S.assign,2):this.finishOp(124===e?S.bitwiseOR:S.bitwiseAND,1)},Te.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(S.assign,2):this.finishOp(S.bitwiseXOR,1)},Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!_.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(S.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(S.assign,2):this.finishOp(S.plusMin,1)},Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(S.assign,n+1):this.finishOp(S.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(S.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(S.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(S.arrow)):this.finishOp(61===e?S.eq:S.prefix,1)},Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(S.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(S.assign,3):this.finishOp(S.coalesce,2)}return this.finishOp(S.question,1)},Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(S.parenL);case 41:return++this.pos,this.finishToken(S.parenR);case 59:return++this.pos,this.finishToken(S.semi);case 44:return++this.pos,this.finishToken(S.comma);case 91:return++this.pos,this.finishToken(S.bracketL);case 93:return++this.pos,this.finishToken(S.bracketR);case 123:return++this.pos,this.finishToken(S.braceL);case 125:return++this.pos,this.finishToken(S.braceR);case 58:return++this.pos,this.finishToken(S.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(S.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(S.prefix,1)}this.raise(this.pos,"Unexpected character '"+Re(e)+"'")},Te.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Te.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(_.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(o);var s=this.regexpState||(this.regexpState=new be(this));s.reset(n,i,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,a)}catch(e){}return this.finishToken(S.regexp,{pattern:i,flags:a,value:u})},Te.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,i=n&&48===this.input.charCodeAt(this.pos),o=this.pos,a=0,s=0,u=0,c=null==t?1/0:t;u=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=e)break;s=l,a=a*e+h}}return r&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||null!=t&&this.pos-o!==t?null:a},Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=Oe(this.input.slice(t,this.pos)),++this.pos):d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(S.num,n)},Te.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===r){var i=Oe(this.input.slice(t,this.pos));return++this.pos,d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(S.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,a=(o=this.input.slice(t,this.pos),n?parseInt(o,8):parseFloat(o.replace(/_/g,"")));return this.finishToken(S.num,a)},Te.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Te.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(k(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(S.string,t)};var Le={};Te.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Le)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Le;this.raise(e,t)},Te.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==S.template&&this.type!==S.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(S.template,e)):36===n?(this.pos+=2,this.finishToken(S.dollarBraceL)):(++this.pos,this.finishToken(S.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(k(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return k(t)?"":String.fromCharCode(t)}},Te.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Te.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos1&&void 0!==arguments[1]?arguments[1]:16,t=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""),n=0;return t.split("").forEach((function(e){n=(n<<5)-n+e.charCodeAt(0),n&=n})),Math.abs(n).toString(e)}(Math.random().toString())};function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function We(e){for(var t=1;t0?e[0].toUpperCase()+e.slice(1):e})).join(""),r))}),{});case"object":return e;default:return}};function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n".concat(t,""),i=[];try{i=(i=n.parse(r,{ecmaVersion:"latest"})).body[0].expression.children||[]}catch(t){return e.props.showWarnings&&console.warn(t),e.props.onError&&e.props.onError(t),e.props.renderError?e.props.renderError({error:String(t)}):null}return i.map((function(t){return ht(ut(e),ft).call(ut(e),t)})).filter(Boolean)}}),ft.set(ut(e),{writable:!0,value:function(t,n){switch(t.type){case"JSXAttribute":return null===t.value||ht(ut(e),ft).call(ut(e),t.value,n);case"JSXElement":case"JSXFragment":return ht(ut(e),mt).call(ut(e),t,n);case"JSXExpressionContainer":return ht(ut(e),ft).call(ut(e),t.expression,n);case"JSXText":var r=e.props.disableKeyGeneration?void 0:ze();return e.props.disableFragments?t.value:De().createElement(Ne.Fragment,{key:r},t.value);case"ArrayExpression":return t.elements.map((function(t){return ht(ut(e),ft).call(ut(e),t,n)}));case"BinaryExpression":switch(t.operator){case"-":return ht(ut(e),ft).call(ut(e),t.left)-ht(ut(e),ft).call(ut(e),t.right);case"!=":return ht(ut(e),ft).call(ut(e),t.left)!=ht(ut(e),ft).call(ut(e),t.right);case"!==":return ht(ut(e),ft).call(ut(e),t.left)!==ht(ut(e),ft).call(ut(e),t.right);case"*":return ht(ut(e),ft).call(ut(e),t.left)*ht(ut(e),ft).call(ut(e),t.right);case"**":return Math.pow(ht(ut(e),ft).call(ut(e),t.left),ht(ut(e),ft).call(ut(e),t.right));case"/":return ht(ut(e),ft).call(ut(e),t.left)/ht(ut(e),ft).call(ut(e),t.right);case"%":return ht(ut(e),ft).call(ut(e),t.left)%ht(ut(e),ft).call(ut(e),t.right);case"+":return ht(ut(e),ft).call(ut(e),t.left)+ht(ut(e),ft).call(ut(e),t.right);case"<":return ht(ut(e),ft).call(ut(e),t.left)":return ht(ut(e),ft).call(ut(e),t.left)>ht(ut(e),ft).call(ut(e),t.right);case">=":return ht(ut(e),ft).call(ut(e),t.left)>=ht(ut(e),ft).call(ut(e),t.right)}return;case"CallExpression":var i=ht(ut(e),ft).call(ut(e),t.callee);return void 0===i?void e.props.onError(new Error("The expression '".concat(t.callee,"' could not be resolved, resulting in an undefined return value."))):i.apply(void 0,nt(t.arguments.map((function(n){return ht(ut(e),ft).call(ut(e),n,t.callee)}))));case"ConditionalExpression":return ht(ut(e),ft).call(ut(e),t.test)?ht(ut(e),ft).call(ut(e),t.consequent):ht(ut(e),ft).call(ut(e),t.alternate);case"ExpressionStatement":return ht(ut(e),ft).call(ut(e),t.expression);case"Identifier":return n&&t.name in n?n[t.name]:(e.props.bindings||{})[t.name];case"Literal":return t.value;case"LogicalExpression":var o=ht(ut(e),ft).call(ut(e),t.left);return"||"===t.operator&&o?o:!!("&&"===t.operator&&o||"||"===t.operator&&!o)&&ht(ut(e),ft).call(ut(e),t.right);case"MemberExpression":return ht(ut(e),dt).call(ut(e),t,n);case"ObjectExpression":var a={};return t.properties.forEach((function(t){a[t.key.name||t.key.value]=ht(ut(e),ft).call(ut(e),t.value)})),a;case"TemplateElement":return t.value.cooked;case"TemplateLiteral":return[].concat(nt(t.expressions),nt(t.quasis)).sort((function(e,t){return e.start is blacklisted, and will not be rendered."))),null;if(""!==f&&!Ye(o,f)){if(a)return s(new Error("The component <".concat(f,"> is unrecognized, and will not be rendered."))),e.props.renderUnrecognized(f);if(!i&&document.createElement(f)instanceof HTMLUnknownElement)return s(new Error("The tag <".concat(f,"> is unrecognized in this browser, and will not be rendered."))),e.props.renderUnrecognized(f)}var y="JSXElement"===t.type?Ye(o,f):Ne.Fragment;(y||Ze(f))&&(m=c.map((function(t){return ht(ut(e),ft).call(ut(e),t,n)})),y||Ve(f)||(m=m.filter((function(e){return"string"!=typeof e||!/^\s*$/.test(e)}))),0===m.length?m=void 0:1===m.length?m=tt(m,1)[0]:m.length>1&&!e.props.disableKeyGeneration&&(m=m.map((function(e,t){return null==e||!e.type||null!=e&&e.key?e:et(et({},e),{},{key:e.key||t})}))));var b={key:e.props.disableKeyGeneration?void 0:ze()};p.forEach((function(t){if("JSXAttribute"===t.type){var r=t.name.name,i=je[r]||r,o=ht(ut(e),ft).call(ut(e),t,n);0===d.filter((function(e){return e.test(i)})).length&&(b[i]=o)}else if("JSXSpreadAttribute"===t.type&&"Identifier"===t.argument.type||"MemberExpression"===t.argument.type){var a=ht(ut(e),ft).call(ut(e),t.argument,n);"object"===Xe(a)&&Object.keys(a).forEach((function(e){var t=je[e]||e;0===d.filter((function(e){return e.test(t)})).length&&(b[t]=a[e])}))}})),"string"==typeof b.style&&(b.style=Ke(b.style));var w=f.toLowerCase();return"option"===w&&(m=m.props.children),De().createElement(y||w,b,m)}}),lt(ut(e),"render",(function(){var t=(e.props.jsx||"").trim().replace(/]*)>/g,"");e.ParsedChildren=ht(ut(e),pt).call(ut(e),t);var n=nt(new Set(["jsx-parser"].concat(nt(String(e.props.className).split(" "))))).filter(Boolean).join(" ");return e.props.renderInWrapper?De().createElement("div",{className:n},e.ParsedChildren):De().createElement(De().Fragment,null,e.ParsedChildren)})),e}return n}(De().Component);lt(vt,"displayName","JsxParser"),lt(vt,"defaultProps",{allowUnknownElements:!0,autoCloseVoidElements:!1,bindings:{},blacklistedAttrs:[/^on.+/i],blacklistedTags:["script"],className:"",components:{},componentsOnly:!1,disableFragments:!1,disableKeyGeneration:!1,jsx:"",onError:function(){},showWarnings:!1,renderError:void 0,renderInWrapper:!0,renderUnrecognized:function(){return null}})},297:e=>{"use strict";e.exports=r}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}return 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.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(272)})())},8216:(e,t,n)=>{"use strict";n.d(t,{zt:()=>h,$j:()=>H});var r=n(7363),i=n.n(r),o=i().createContext(null);var a=function(e){e()},s=function(){return a};var u={notify:function(){},get:function(){return[]}};function c(e,t){var n,r=u;function i(){a.onStateChange&&a.onStateChange()}function o(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){var e=s(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var a={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=u)},getListeners:function(){return r}};return a}var l="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;const h=function(e){var t=e.store,n=e.context,a=e.children,s=(0,r.useMemo)((function(){var e=c(t);return{store:t,subscription:e}}),[t]),u=(0,r.useMemo)((function(){return t.getState()}),[t]);l((function(){var e=s.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,u]);var h=n||o;return i().createElement(h.Provider,{value:s},a)};var p=n(7462),f=n(5245),d=n(8679),g=n.n(d),m=n(2973),v=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],y=["reactReduxForwardedRef"],b=[],w=[null,null];function x(e,t){var n=e[1];return[t.payload,n+1]}function S(e,t,n){l((function(){return e.apply(void 0,t)}),n)}function _(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function C(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,h=null,p=function(){if(!l){var e,n,p=t.getState();try{e=r(p,i.current)}catch(e){n=e,h=e}n||(h=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,h)throw h}}}var k=function(){return[null,0]};function E(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,u=n.methodName,l=void 0===u?"connectAdvanced":u,h=n.renderCountProp,d=void 0===h?void 0:h,E=n.shouldHandleStateChanges,A=void 0===E||E,P=n.storeKey,I=void 0===P?"store":P,T=(n.withRef,n.forwardRef),O=void 0!==T&&T,R=n.context,L=void 0===R?o:R,U=(0,f.Z)(n,v),M=L;return function(t){var n=t.displayName||t.name||"Component",o=s(n),a=(0,p.Z)({},U,{getDisplayName:s,methodName:l,renderCountProp:d,shouldHandleStateChanges:A,storeKey:I,displayName:o,wrappedComponentName:n,WrappedComponent:t}),u=U.pure;var h=u?r.useMemo:function(e){return e()};function v(n){var o=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,f.Z)(n,y);return[n.context,e,t]}),[n]),s=o[0],u=o[1],l=o[2],d=(0,r.useMemo)((function(){return s&&s.Consumer&&(0,m.isContextConsumer)(i().createElement(s.Consumer,null))?s:M}),[s,M]),g=(0,r.useContext)(d),v=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(g)&&Boolean(g.store);var E=v?n.store:g.store,P=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(E)}),[E]),I=(0,r.useMemo)((function(){if(!A)return w;var e=c(E,v?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[E,v,g]),T=I[0],O=I[1],R=(0,r.useMemo)((function(){return v?g:(0,p.Z)({},g,{subscription:T})}),[v,g,T]),L=(0,r.useReducer)(x,b,k),U=L[0][0],N=L[1];if(U&&U.error)throw U.error;var D=(0,r.useRef)(),j=(0,r.useRef)(l),B=(0,r.useRef)(),F=(0,r.useRef)(!1),Z=h((function(){return B.current&&l===j.current?B.current:P(E.getState(),l)}),[E,U,l]);S(_,[j,D,F,l,Z,B,O]),S(C,[A,E,T,P,j,D,F,B,O,N],[E,T,P]);var V=(0,r.useMemo)((function(){return i().createElement(t,(0,p.Z)({},Z,{ref:u}))}),[u,t,Z]);return(0,r.useMemo)((function(){return A?i().createElement(d.Provider,{value:R},V):V}),[d,V,R])}var E=u?i().memo(v):v;if(E.WrappedComponent=t,E.displayName=v.displayName=o,O){var P=i().forwardRef((function(e,t){return i().createElement(E,(0,p.Z)({},e,{reactReduxForwardedRef:t}))}));return P.displayName=o,P.WrappedComponent=t,g()(P,t)}return g()(E,t)}}function A(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function P(e,t){if(A(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function V(e,t){return e===t}function z(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?E:n,i=t.mapStateToPropsFactories,o=void 0===i?L:i,a=t.mapDispatchToPropsFactories,s=void 0===a?R:a,u=t.mergePropsFactories,c=void 0===u?M:u,l=t.selectorFactory,h=void 0===l?B:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,d=a.areStatesEqual,g=void 0===d?V:d,m=a.areOwnPropsEqual,v=void 0===m?P:m,y=a.areStatePropsEqual,b=void 0===y?P:y,w=a.areMergedPropsEqual,x=void 0===w?P:w,S=(0,f.Z)(a,F),_=Z(e,o,"mapStateToProps"),C=Z(t,s,"mapDispatchToProps"),k=Z(n,c,"mergeProps");return r(h,(0,p.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:C,initMergeProps:k,pure:l,areStatesEqual:g,areOwnPropsEqual:v,areStatePropsEqual:b,areMergedPropsEqual:x},S))}}const H=z();var W,q=n(1533);W=q.unstable_batchedUpdates,a=W},8359:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,u=60110,c=60112,l=60113,h=60120,p=60115,f=60116,d=60121,g=60122,m=60117,v=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),u=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),h=b("react.suspense_list"),p=b("react.memo"),f=b("react.lazy"),d=b("react.block"),g=b("react.server.block"),m=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case l:case h:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case p:case s:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return w(e)===u}},2973:(e,t,n)=>{"use strict";e.exports=n(8359)},3727:(e,t,n)=>{"use strict";n.d(t,{VK:()=>h});var r=n(6550),i=n(4578),o=n(7363),a=n.n(o),s=n(7531),u=n(7462),c=n(5245),l=n(8776),h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i{"use strict";n.d(t,{AW:()=>E,EN:()=>L,F0:()=>S,LX:()=>k,UO:()=>M,rs:()=>R,s6:()=>x});var r=n(4578),i=n(7363),o=n.n(i),a=n(5697),s=n.n(a),u=n(7531),c=n(8776),l=n(7462),h=n(4779),p=n.n(h),f=(n(9864),n(5245)),d=n(8679),g=n.n(d),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function v(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var y=o().createContext||function(e,t){var n,i,a="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",u=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),i=0;i{"use strict";n.d(t,{ZP:()=>f});var r=n(5245),i=n(4578),o=n(7363),a=n.n(o),s=n(1533),u=n.n(s);const c=!1;var l=n(220),h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),"entering"===t){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:u().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[u().findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||c?this.safeSetState({status:"entered"},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u().findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(l.Z.Provider,{value:null},"function"==typeof n?n(e,i):a().cloneElement(a().Children.only(n),i))},t}(a().Component);function p(){}h.contextType=l.Z,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:p,onEntering:p,onEntered:p,onExit:p,onExiting:p,onExited:p},h.UNMOUNTED="unmounted",h.EXITED="exited",h.ENTERING="entering",h.ENTERED="entered",h.EXITING="exiting";const f=h},220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7363);const i=n.n(r)().createContext(null)},8863:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,z:()=>r});var r="/",i="||"},2246:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(1143),i=n.n(r),o=n(8928),a=n(5546);const s=function(e){return null===e};function u(e,t,n){void 0===t&&(t=a.Z),i()((0,o.Z)(t)||s(t),"Expected payloadCreator to be a function, undefined or null");var r=s(t)||t===a.Z?a.Z:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i{"use strict";n.d(t,{Z:()=>S});var r=n(1143),i=n.n(r),o=n(2868),a=n(8928),s=n(5546);const u=function(e){return Array.isArray(e)},c=function(e){return"string"==typeof e};var l=n(403);const h=function(e){return e[e.length-1]};var p=n(6189),f=n.n(p);const d=function(e){return-1===e.indexOf("/")?f()(e):e.split("/").map(f()).join("/")},g=function(e,t){return e.reduce((function(e,n){return t(e,n)}),{})};const m=(0,n(7599).Z)(o.Z);var v=n(8863);function y(e,t){var n=void 0===t?{}:t,r=n.namespace,i=void 0===r?v.z:r,o=n.prefix;var a={};return Object.getOwnPropertyNames(e).forEach((function(t){var n=o?t.replace(""+o+i,""):t;return function t(n,r,i){var o=d(i.shift());0===i.length?r[o]=e[n]:(r[o]||(r[o]={}),t(n,r[o],i))}(t,a,n.split(i))})),a}var b=n(2246);function w(e){for(var t=1;t1?t-1:0),r=1;r{"use strict";n.d(t,{Z:()=>a});var r=n(8863),i=n(1777),o=n(3366);const a=function(e){return function t(n,a,s,u){var c=void 0===a?{}:a,l=c.namespace,h=void 0===l?r.z:l,p=c.prefix;return void 0===s&&(s={}),void 0===u&&(u=""),(0,i.Z)(n).forEach((function(i){var a=function(e){return u||!p||p&&new RegExp("^"+p+h).test(e)?e:""+p+h+e}(function(e){var t;if(!u)return e;var n=e.toString().split(r.L),i=u.split(r.L);return(t=[]).concat.apply(t,i.map((function(e){return n.map((function(t){return""+e+h+t}))}))).join(r.L)}(i)),c=(0,o.Z)(i,n);e(c)?t(c,{namespace:h,prefix:p},s,a):s[a]=c})),s}}},3366:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4612);function i(e,t){return(0,r.Z)(t)?t.get(e):t[e]}},5546:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){return e}},8928:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){return"function"==typeof e}},4612:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){return"undefined"!=typeof Map&&e instanceof Map}},403:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){return null==e}},2868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},1777:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4612);function i(e){if((0,r.Z)(e))return Array.from(e.keys());if("undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys)return Reflect.ownKeys(e);var t=Object.getOwnPropertyNames(e);return"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e))),t}},573:(e,t,n)=>{"use strict";n.d(t,{P1:()=>s,zB:()=>u});var r=function(e,t){return e===t};function i(e,t){var n,i,o="object"==typeof t?t:{equalityCheck:t},a=o.equalityCheck,s=void 0===a?r:a,u=o.maxSize,c=void 0===u?1:u,l=o.resultEqualityCheck,h=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i-1){var i=n[r];return r>0&&(n.splice(r,1),n.unshift(i)),i.value}return"NOT_FOUND"}return{get:r,put:function(t,i){"NOT_FOUND"===r(t)&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(c,h);function f(){var t=p.get(arguments);if("NOT_FOUND"===t){if(t=e.apply(null,arguments),l){var n=p.getEntries(),r=n.find((function(e){return l(e.value,t)}));r&&(t=r.value)}p.put(arguments,t)}return t}return f.clearCache=function(){return p.clear()},f}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{"use strict";n.d(t,{f6:()=>ut,iv:()=>Me,ZP:()=>yt,F4:()=>vt});var r=n(1746),i=n.n(r),o=n(1427),a=n.n(o),s=n(7363),u=n.n(s);const c={animationIterationCount: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};var l=n(9864),h=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function p(e,t){if(e.length!==t.length)return!1;for(var n=0;n1?r-1:0),o=1;o0?" Additional arguments: "+i.join(", "):"")));return D(a)}return N(t,e),t}(Error),K=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,$=function(e){var t=""+(e||""),n=[];return t.replace(K,(function(e,t,r){return n.push({componentId:t,matchIndex:r}),e})),n.map((function(e,r){var i=e.componentId,o=e.matchIndex,a=n[r+1];return{componentId:i,cssFromDOM:a?t.slice(o,a.matchIndex):t.slice(o)}}))},J=/^\s*\/\/.*$/gm,Y=new(i())({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),X=new(i())({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),Q=[],ee=function(e){if(-2===e){var t=Q;return Q=[],t}},te=a()((function(e){Q.push(e)})),ne=void 0,re=void 0,ie=void 0,oe=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf(re)&&n.slice(t-re.length,t)!==re?"."+ne:e};X.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(re)>0&&(n[0]=n[0].replace(ie,oe))},te,ee]),Y.use([te,ee]);var ae=function(e){return Y("",e)};function se(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",i=e.join("").replace(J,""),o=t&&n?n+" "+t+" { "+i+" }":i;return ne=r,re=t,ie=new RegExp("\\"+re+"\\b","g"),X(n||!t?"":t,o)}var ue=function(){return n.nc},ce=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},le=function(e,t){e[t]=Object.create(null)},he=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},pe=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},fe=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,n=0;n"+e()+""}},ye=function(e,t){return function(){var n,r=((n={})[H]=pe(t),n["data-styled-version"]="4.4.1",n),i=ue();return i&&(r.nonce=i),u().createElement("style",M({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},be=function(e){return function(){return Object.keys(e)}},we=function(e,t){return e.createTextNode(ge(t))},xe=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,o=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},a=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ge(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=M({},e[n]);return t}(r),n=Object.create(null);for(var o in i)n[o]=[i[o][0]];return e(t,n)},css:a,getIds:be(i),hasNameForId:he(r),insertMarker:o,insertRules:function(e,t,n){o(e)[0]+=t.join(" "),ce(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",le(r,e))},sealed:!1,styleTag:null,toElement:ye(a,r),toHTML:ve(a,r)}},Se=function(e,t,n,r,i){if(W&&!n){var o=function(e,t,n){var r=document;e?r=e.ownerDocument:t&&(r=t.ownerDocument);var i=r.createElement("style");i.setAttribute(H,""),i.setAttribute("data-styled-version","4.4.1");var o=ue();if(o&&i.setAttribute("nonce",o),i.appendChild(r.createTextNode("")),e&&!t)e.appendChild(i);else{if(!t||!e||!t.parentNode)throw new G(6);t.parentNode.insertBefore(i,n?t:t.nextSibling)}return i}(e,t,r);return q?function(e,t){var n=Object.create(null),r=Object.create(null),i=void 0!==t,o=!1,a=function(t){var i=r[t];return void 0!==i?i:(r[t]=we(e.ownerDocument,t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},s=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new G(5)},css:s,getIds:be(r),hasNameForId:he(n),insertMarker:a,insertRules:function(e,r,s){for(var u=a(e),c=[],l=r.length,h=0;h0&&(o=!0,t().insertRules(e+"-import",c))},removeRules:function(a){var s=r[a];if(void 0!==s){var u=we(e.ownerDocument,a);e.replaceChild(u,s),r[a]=u,le(n,a),i&&o&&t().removeRules(a+"-import")}},sealed:!1,styleTag:e,toElement:ye(s,n),toHTML:ve(s,n)}}(o,i):function(e,t){var n=Object.create(null),r=Object.create(null),i=[],o=void 0!==t,a=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),le(n,e),r[e])},u=function(){var t=fe(e).cssRules,n="";for(var o in r){n+=ge(o);for(var a=r[o],s=me(i,a),u=s-i[a];u0&&(a=!0,t().insertRules(r+"-import",d)),i[l]+=f,ce(n,r,c)},removeRules:function(s){var u=r[s];if(void 0!==u&&!1!==e.isConnected){var c=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}(fe(e),me(i,u)-1,c),i[u]=0,le(n,s),o&&a&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:ye(u,n),toHTML:ve(u,n)}}(o,i)}return xe()},_e=/\s+/,Ce=void 0;Ce=W?q?40:1e3:-1;var ke=0,Ee=void 0,Ae=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];L(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=Se(t.target,n?n.styleTag:null,t.forceServer,!0)},ke+=1,this.id=ke,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!W||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+H+'][data-styled-version="4.4.1"]'),i=r.length;if(!i)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];Ee=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),r=e.clone(),i=0;i1?t-1:0),r=1;r=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var De=function(e){return String.fromCharCode(e+(e>25?39:97))};function je(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=De(n%52)+t;return De(n%52)+t}function Be(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:F,r=!!n&&e.theme===n.theme,i=e.theme&&!r?e.theme:t||n.theme;return i},He=/[[\].#*$><+~=|^:(),"'`-]+/g,We=/(^-|-$)/g;function qe(e){return e.replace(He,"-").replace(We,"")}function Ge(e){return"string"==typeof e&&!0}var Ke={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},$e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Je=((Fe={})[l.ForwardRef]={$$typeof:!0,render:!0},Fe),Ye=Object.defineProperty,Xe=Object.getOwnPropertyNames,Qe=Object.getOwnPropertySymbols,et=void 0===Qe?function(){return[]}:Qe,tt=Object.getOwnPropertyDescriptor,nt=Object.getPrototypeOf,rt=Object.prototype,it=Array.prototype;function ot(e,t,n){if("string"!=typeof t){var r=nt(t);r&&r!==rt&&ot(e,r,n);for(var i=it.concat(Xe(t),et(t)),o=Je[e.$$typeof]||Ke,a=Je[t.$$typeof]||Ke,s=i.length,u=void 0,c=void 0;s--;)if(c=i[s],!($e[c]||n&&n[c]||a&&a[c]||o&&o[c])&&(u=tt(t,c)))try{Ye(e,c,u)}catch(e){}return e}return e}var at=(0,s.createContext)(),st=at.Consumer,ut=function(e){function t(n){L(this,t);var r=D(this,e.call(this,n));return r.getContext=f(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}return N(t,e),t.prototype.render=function(){return this.props.children?u().createElement(at.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return u().createElement(at.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(Z(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":R(e)))throw new G(8);return M({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)},t}(s.Component),ct=(function(){function e(){L(this,e),this.masterSheet=Ae.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new G(2);return u().createElement(ht,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new G(3)}}(),(0,s.createContext)()),lt=ct.Consumer,ht=function(e){function t(n){L(this,t);var r=D(this,e.call(this,n));return r.getContext=f(r.getContext),r}return N(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new Ae(t);throw new G(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return u().createElement(ct.Provider,{value:this.getContext(n,r)},t)},t}(s.Component),pt={};var ft=function(e){function t(){L(this,t);var n=D(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return N(t,e),t.prototype.render=function(){return u().createElement(lt,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ae.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():u().createElement(st,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,i=(t.displayName,t.foldedComponentIds),o=t.styledComponentId,a=t.target,u=void 0;u=n.isStatic?this.generateAndInjectStyles(F,this.props):this.generateAndInjectStyles(ze(this.props,e,r)||F,this.props);var c=this.props.as||this.attrs.as||a,l=Ge(c),h={},p=M({},this.props,this.attrs),f=void 0;for(f in p)"forwardedComponent"!==f&&"as"!==f&&("forwardedRef"===f?h.ref=p[f]:"forwardedAs"===f?h.as=p[f]:l&&!g(f)||(h[f]=p[f]));return this.props.style&&this.attrs.style&&(h.style=M({},this.attrs.style,this.props.style)),h.className=Array.prototype.concat(i,o,u!==o?u:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),(0,s.createElement)(c,h)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,i=M({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t,n=e,o=!1,a=void 0,s=void 0;for(s in Z(n)&&(n=n(i),o=!0),n)a=n[s],o||!Z(a)||(t=a)&&t.prototype&&t.prototype.isReactComponent||z(a)||(a=a(i)),r.attrs[s]=a,i[s]=a})),i):i},t.prototype.generateAndInjectStyles=function(e,t){var n=t.forwardedComponent,r=n.attrs,i=n.componentStyle;n.warnTooManyClasses;return i.isStatic&&!r.length?i.generateAndInjectStyles(F,this.styleSheet):i.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},t}(s.Component);function dt(e,t,n){var r=z(e),i=!Ge(e),o=t.displayName,a=void 0===o?function(e){return Ge(e)?"styled."+e:"Styled("+V(e)+")"}(e):o,s=t.componentId,c=void 0===s?function(e,t,n){var r="string"!=typeof t?"sc":qe(t),i=(pt[r]||0)+1;pt[r]=i;var o=r+"-"+e.generateName(r+i);return n?n+"-"+o:o}(Ve,t.displayName,t.parentComponentId):s,l=t.ParentComponent,h=void 0===l?ft:l,p=t.attrs,f=void 0===p?B:p,d=t.displayName&&t.componentId?qe(t.displayName)+"-"+t.componentId:t.componentId||c,g=r&&e.attrs?Array.prototype.concat(e.attrs,f).filter(Boolean):f,m=new Ve(r?e.componentStyle.rules.concat(n):n,g,d),v=void 0,y=function(e,t){return u().createElement(h,M({},e,{forwardedComponent:v,forwardedRef:t}))};return y.displayName=a,(v=u().forwardRef(y)).displayName=a,v.attrs=g,v.componentStyle=m,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):B,v.styledComponentId=d,v.target=r?e.target:e,v.withComponent=function(e){var r=t.componentId,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["componentId"]),o=r&&r+"-"+(Ge(e)?e:qe(V(e)));return dt(e,M({},i,{attrs:g,componentId:o,ParentComponent:h}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?T(e.defaultProps,t):t}}),v.toString=function(){return"."+v.styledComponentId},i&&ot(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var gt=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F;if(!(0,l.isValidElementType)(n))throw new G(1,String(n));var i=function(){return t(n,r,Me.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,M({},r,i))},i.attrs=function(i){return e(t,n,M({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(dt,e)};["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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){gt[e]=gt(e)}));!function(){function e(t,n){L(this,e),this.rules=t,this.componentId=n,this.isStatic=Be(t,B),Ae.master.hasId(n)||Ae.master.deferredInject(n,[])}e.prototype.createStyles=function(e,t){var n=se(Ue(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}();W&&(window.scCGSHMRCache={});var mt=function(e){return e.replace(/\s|\\n/g,"")};function vt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,u,c,l,h){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===h?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},1746:e=>{e.exports=function e(t){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,i=/: */g,o=/zoo|gra/,a=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,u=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,l=/,\r+?/g,h=/([\t\r\n ])*\f?&/g,p=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,f=/\W+/g,d=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,m=/:(read-only)/g,v=/\s+(?=[{\];=:>])/g,y=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,w=/\s{2,}/g,x=/([^\(])(:+) */g,S=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,k=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,P=/([^-])(image-set\()/,I="-webkit-",T="-moz-",O="-ms-",R=59,L=125,U=123,M=40,N=41,D=10,j=13,B=32,F=45,Z=42,V=44,z=58,H=47,W=1,q=1,G=0,K=1,$=1,J=1,Y=0,X=0,Q=0,ee=[],te=[],ne=0,re=null,ie=0,oe=1,ae="",se="",ue="";function ce(e,t,i,o,a){for(var s,u,l=0,h=0,p=0,f=0,v=0,y=0,b=0,w=0,S=0,C=0,k=0,E=0,A=0,P=0,T=0,O=0,Y=0,te=0,re=0,he=i.length,ve=he-1,ye="",be="",we="",xe="",Se="",_e="";T0&&(be=be.replace(r,"")),be.trim().length>0)){switch(b){case B:case 9:case R:case j:case D:break;default:be+=i.charAt(T)}b=R}if(1===Y)switch(b){case U:case L:case R:case 34:case 39:case M:case N:case V:Y=0;case 9:case j:case D:case B:break;default:for(Y=0,re=T,v=b,T--,b=R;re0&&(++T,b=v);case U:re=he}}switch(b){case U:for(v=(be=be.trim()).charCodeAt(0),k=1,re=++T;T0&&(be=be.replace(r,"")),y=be.charCodeAt(1)){case 100:case 109:case 115:case F:s=t;break;default:s=ee}if(re=(we=ce(t,s,we,y,a+1)).length,Q>0&&0===re&&(re=be.length),ne>0&&(u=ge(3,we,s=le(ee,be,te),t,q,W,re,y,a,o),be=s.join(""),void 0!==u&&0===(re=(we=u.trim()).length)&&(y=0,we="")),re>0)switch(y){case 115:be=be.replace(_,de);case 100:case 109:case F:we=be+"{"+we+"}";break;case 107:we=(be=be.replace(d,"$1 $2"+(oe>0?ae:"")))+"{"+we+"}",we=1===$||2===$&&fe("@"+we,3)?"@"+I+we+"@"+we:"@"+we;break;default:we=be+we,112===o&&(xe+=we,we="")}else we="";break;default:we=ce(t,le(t,be,te),we,o,a+1)}Se+=we,E=0,Y=0,P=0,O=0,te=0,A=0,be="",we="",b=i.charCodeAt(++T);break;case L:case R:if((re=(be=(O>0?be.replace(r,""):be).trim()).length)>1)switch(0===P&&((v=be.charCodeAt(0))===F||v>96&&v<123)&&(re=(be=be.replace(" ",":")).length),ne>0&&void 0!==(u=ge(1,be,t,e,q,W,xe.length,o,a,o))&&0===(re=(be=u.trim()).length)&&(be="\0\0"),v=be.charCodeAt(0),y=be.charCodeAt(1),v){case 0:break;case 64:if(105===y||99===y){_e+=be+i.charAt(T);break}default:if(be.charCodeAt(re-1)===z)break;xe+=pe(be,v,y,be.charCodeAt(2))}E=0,Y=0,P=0,O=0,te=0,be="",b=i.charCodeAt(++T)}}switch(b){case j:case D:if(h+f+p+l+X===0)switch(C){case N:case 39:case 34:case 64:case 126:case 62:case Z:case 43:case H:case F:case z:case V:case R:case U:case L:break;default:P>0&&(Y=1)}h===H?h=0:K+E===0&&107!==o&&be.length>0&&(O=1,be+="\0"),ne*ie>0&&ge(0,be,t,e,q,W,xe.length,o,a,o),W=1,q++;break;case R:case L:if(h+f+p+l===0){W++;break}default:switch(W++,ye=i.charAt(T),b){case 9:case B:if(f+l+h===0)switch(w){case V:case z:case 9:case B:ye="";break;default:b!==B&&(ye=" ")}break;case 0:ye="\\0";break;case 12:ye="\\f";break;case 11:ye="\\v";break;case 38:f+h+l===0&&K>0&&(te=1,O=1,ye="\f"+ye);break;case 108:if(f+h+l+G===0&&P>0)switch(T-P){case 2:112===w&&i.charCodeAt(T-3)===z&&(G=w);case 8:111===S&&(G=S)}break;case z:f+h+l===0&&(P=T);break;case V:h+p+f+l===0&&(O=1,ye+="\r");break;case 34:case 39:0===h&&(f=f===b?0:0===f?b:f);break;case 91:f+h+p===0&&l++;break;case 93:f+h+p===0&&l--;break;case N:f+h+l===0&&p--;break;case M:if(f+h+l===0){if(0===E)switch(2*w+3*S){case 533:break;default:k=0,E=1}p++}break;case 64:h+p+f+l+P+A===0&&(A=1);break;case Z:case H:if(f+l+p>0)break;switch(h){case 0:switch(2*b+3*i.charCodeAt(T+1)){case 235:h=H;break;case 220:re=T,h=Z}break;case Z:b===H&&w===Z&&re+2!==T&&(33===i.charCodeAt(re+2)&&(xe+=i.substring(re,T+1)),ye="",h=0)}}if(0===h){if(K+f+l+A===0&&107!==o&&b!==R)switch(b){case V:case 126:case 62:case 43:case N:case M:if(0===E){switch(w){case 9:case B:case D:case j:ye+="\0";break;default:ye="\0"+ye+(b===V?"":"\0")}O=1}else switch(b){case M:P+7===T&&108===w&&(P=0),E=++k;break;case N:0==(E=--k)&&(O=1,ye+="\0")}break;case 9:case B:switch(w){case 0:case U:case L:case R:case V:case 12:case 9:case B:case D:case j:break;default:0===E&&(O=1,ye+="\0")}}be+=ye,b!==B&&9!==b&&(C=b)}}S=w,w=b,T++}if(re=xe.length,Q>0&&0===re&&0===Se.length&&0===t[0].length==0&&(109!==o||1===t.length&&(K>0?se:ue)===t[0])&&(re=t.join(",").length+2),re>0){if(s=0===K&&107!==o?function(e){for(var t,n,i=0,o=e.length,a=Array(o);i1)){if(p=u.charCodeAt(u.length-1),f=n.charCodeAt(0),t="",0!==l)switch(p){case Z:case 126:case 62:case 43:case B:case M:break;default:t=" "}switch(f){case 38:n=t+se;case 126:case 62:case 43:case B:case N:case M:break;case 91:n=t+n+se;break;case z:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(J>0){n=t+n.substring(8,h-1);break}default:(l<1||s[l-1].length<1)&&(n=t+se+n)}break;case V:t="";default:n=h>1&&n.indexOf(":")>0?t+n.replace(x,"$1"+se+"$2"):t+n+se}u+=n}a[i]=u.replace(r,"").trim()}return a}(t):t,ne>0&&void 0!==(u=ge(2,xe,s,e,q,W,re,o,a,o))&&0===(xe=u).length)return _e+xe+Se;if(xe=s.join(",")+"{"+xe+"}",$*G!=0){switch(2!==$||fe(xe,2)||(G=0),G){case 111:xe=xe.replace(m,":-moz-$1")+xe;break;case 112:xe=xe.replace(g,"::"+I+"input-$1")+xe.replace(g,"::-moz-$1")+xe.replace(g,":-ms-input-$1")+xe}G=0}}return _e+xe+Se}function le(e,t,n){var r=t.trim().split(l),i=r,o=r.length,a=e.length;switch(a){case 0:case 1:for(var s=0,u=0===a?"":e[0]+" ";s0&&K>0)return i.replace(p,"$1").replace(h,"$1"+ue);break;default:return e.trim()+i.replace(h,"$1"+e.trim())}default:if(n*K>0&&i.indexOf("\f")>0)return i.replace(h,(e.charCodeAt(0)===z?"":"$1")+e.trim())}return e+i}function pe(e,t,n,r){var c,l=0,h=e+";",p=2*t+3*n+4*r;if(944===p)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),i=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*oe){case 0:break;case F:if(110!==e.charCodeAt(10))break;default:var o=i.split((i="",s)),a=0;for(n=0,t=o.length;a64&&h<90||h>96&&h<123||95===h||h===F&&c.charCodeAt(1)!==F))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=ae}}l[n++]=c}i+=(0===a?"":",")+l.join(" ")}}return i=r+i+";",1===$||2===$&&fe(i,1)?I+i+i:i}(h);if(0===$||2===$&&!fe(h,1))return h;switch(p){case 1015:return 97===h.charCodeAt(10)?I+h+h:h;case 951:return 116===h.charCodeAt(3)?I+h+h:h;case 963:return 110===h.charCodeAt(5)?I+h+h:h;case 1009:if(100!==h.charCodeAt(4))break;case 969:case 942:return I+h+h;case 978:return I+h+T+h+h;case 1019:case 983:return I+h+T+h+O+h+h;case 883:return h.charCodeAt(8)===F?I+h+h:h.indexOf("image-set(",11)>0?h.replace(P,"$1"+I+"$2")+h:h;case 932:if(h.charCodeAt(4)===F)switch(h.charCodeAt(5)){case 103:return I+"box-"+h.replace("-grow","")+I+h+O+h.replace("grow","positive")+h;case 115:return I+h+O+h.replace("shrink","negative")+h;case 98:return I+h+O+h.replace("basis","preferred-size")+h}return I+h+O+h+h;case 964:return I+h+O+"flex-"+h+h;case 1023:if(99!==h.charCodeAt(8))break;return c=h.substring(h.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),I+"box-pack"+c+I+h+O+"flex-pack"+c+h;case 1005:return o.test(h)?h.replace(i,":"+I)+h.replace(i,":"+T)+h:h;case 1e3:switch(l=(c=h.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(l)){case 226:c=h.replace(S,"tb");break;case 232:c=h.replace(S,"tb-rl");break;case 220:c=h.replace(S,"lr");break;default:return h}return I+h+O+c+h;case 1017:if(-1===h.indexOf("sticky",9))return h;case 975:switch(l=(h=e).length-10,p=(c=(33===h.charCodeAt(l)?h.substring(0,l):h).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:h=h.replace(c,I+c)+";"+h;break;case 207:case 102:h=h.replace(c,I+(p>102?"inline-":"")+"box")+";"+h.replace(c,I+c)+";"+h.replace(c,O+c+"box")+";"+h}return h+";";case 938:if(h.charCodeAt(5)===F)switch(h.charCodeAt(6)){case 105:return c=h.replace("-items",""),I+h+I+"box-"+c+O+"flex-"+c+h;case 115:return I+h+O+"flex-item-"+h.replace(k,"")+h;default:return I+h+O+"flex-line-pack"+h.replace("align-content","").replace(k,"")+h}break;case 973:case 989:if(h.charCodeAt(3)!==F||122===h.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?pe(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):h.replace(c,I+c)+h.replace(c,T+c.replace("fill-",""))+h;break;case 962:if(h=I+h+(102===h.charCodeAt(5)?O+h:"")+h,n+r===211&&105===h.charCodeAt(13)&&h.indexOf("transform",10)>0)return h.substring(0,h.indexOf(";",27)+1).replace(a,"$1"+I+"$2")+h}return h}function fe(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),i=e.substring(n+1,e.length-1);return re(2!==t?r:r.replace(E,"$1"),i,t)}function de(e,t){var n=pe(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(C," or ($1)").substring(4):"("+t+")"}function ge(e,t,n,r,i,o,a,s,u,c){for(var l,h=0,p=t;h0&&(ae=i.replace(f,91===o?"":"-")),o=1,1===K?ue=i:se=i;var a,s=[ue];ne>0&&void 0!==(a=ge(-1,n,s,s,q,W,0,0,0,0))&&"string"==typeof a&&(n=a);var u=ce(ee,s,n,0,0);return ne>0&&void 0!==(a=ge(-2,u,s,s,q,W,u.length,0,0,0))&&"string"!=typeof(u=a)&&(o=0),ae="",ue="",se="",G=0,q=1,W=1,Y*o==0?u:u.replace(r,"").replace(v,"").replace(y,"$1").replace(b,"$1").replace(w," ")}return ye.use=function e(t){switch(t){case void 0:case null:ne=te.length=0;break;default:if("function"==typeof t)te[ne++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n{var r=n(7966);e.exports=function(e){return r(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}},1788:e=>{e.exports=function(e){return t.test(e)?e.toLowerCase():n.test(e)?(function(e){return e.replace(i,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():r.test(e)?function(e){return e.replace(o,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var t=/\s/,n=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;var i=/[\W_]+(.|$)/g;var o=/(.)([A-Z]+)/g},7966:(e,t,n)=>{var r=n(1788);e.exports=function(e){return r(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}},655:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>o,__asyncDelegator:()=>w,__asyncGenerator:()=>b,__asyncValues:()=>x,__await:()=>y,__awaiter:()=>l,__classPrivateFieldGet:()=>k,__classPrivateFieldSet:()=>E,__createBinding:()=>p,__decorate:()=>s,__exportStar:()=>f,__extends:()=>i,__generator:()=>h,__importDefault:()=>C,__importStar:()=>_,__makeTemplateObject:()=>S,__metadata:()=>c,__param:()=>u,__read:()=>g,__rest:()=>a,__spread:()=>m,__spreadArrays:()=>v,__values:()=>d});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function h(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=d(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function E(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},5869:(e,t,n)=>{"use strict";function r(e,t){return t=t||{},new Promise((function(n,r){var i=new XMLHttpRequest,o=[],a=[],s={},u=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:u,headers:{keys:function(){return o},entries:function(){return a},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){o.push(t=t.toLowerCase()),a.push([t,n]),s[t]=s[t]?s[t]+","+n:n})),n(u())},i.onerror=r,i.withCredentials="include"==t.credentials,t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)}))}n.r(t),n.d(t,{default:()=>r})},2511:function(e,t,n){var r;e=n.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=/^xn--/,c=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,f=String.fromCharCode;function d(e){throw RangeError(h[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function m(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(l,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)})).join("")}function b(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))}function x(e){var t,n,r,i,o,a,u,c,l,h,f,g=[],m=e.length,v=0,b=128,x=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r=128&&d("not-basic"),g.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=m&&d("invalid-input"),((c=(f=e.charCodeAt(i++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||c>p((s-v)/a))&&d("overflow"),v+=c*a,!(c<(l=u<=x?1:u>=x+26?26:u-x));u+=36)a>p(s/(h=36-l))&&d("overflow"),a*=h;x=w(v-o,t=g.length+1,0==o),p(v/t)>s-b&&d("overflow"),b+=p(v/t),v%=t,g.splice(v++,0,b)}return y(g)}function S(e){var t,n,r,i,o,a,u,c,l,h,g,m,y,x,S,_=[];for(m=(e=v(e)).length,t=128,n=0,o=72,a=0;a=t&&gp((s-n)/(y=r+1))&&d("overflow"),n+=(u-t)*y,t=u,a=0;as&&d("overflow"),g==t){for(c=n,l=36;!(c<(h=l<=o?1:l>=o+26?26:l-o));l+=36)S=c-h,x=36-h,_.push(f(b(h+S%x,0))),c=p(S/x);_.push(f(b(c,0))),o=w(n,y,r==i),n=0,++r}++n,++t}return _.join("")}a={version:"1.3.2",ucs2:{decode:v,encode:y},decode:x,encode:S,toASCII:function(e){return m(e,(function(e){return c.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return m(e,(function(e){return u.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},8575:(e,t,n)=>{"use strict";var r=n(2511),i=n(2502);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.Qc=b;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),h=["%","/","?",";","#"].concat(l),p=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(7673);function b(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o127?L+="x":L+=R[U];if(!L.match(f)){var N=T.slice(0,A),D=T.slice(A+1),j=R.match(d);j&&(N.push(j[1]),D.unshift(j[2])),D.length&&(b="/"+D.join(".")+b),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=r.toASCII(this.hostname));var B=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+B,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!g[S])for(A=0,O=l.length;A0)&&n.host.split("@"))&&(n.auth=I.shift(),n.host=n.hostname=I.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=_.slice(-1)[0],E=(n.host||e.host||_.length>1)&&("."===k||".."===k)||""===k,A=0,P=_.length;P>=0;P--)"."===(k=_[P])?_.splice(P,1):".."===k?(_.splice(P,1),A++):A&&(_.splice(P,1),A--);if(!x&&!S)for(;A--;A)_.unshift("..");!x||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),E&&"/"!==_.join("/").substr(-1)&&_.push("");var I,T=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=T?"":_.length?_.shift():"",(I=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=I.shift(),n.host=n.hostname=I.shift()));return(x=x||n.host&&_.length)&&!T&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},2502:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},7363:e=>{"use strict";e.exports=React},1533:e=>{"use strict";e.exports=ReactDOM},6249:()=>{},2480:()=>{},4836:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6338:(e,t,n)=>{var r=n(8698).default;function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o},e.exports.__esModule=!0,e.exports.default=e.exports},7061:(e,t,n)=>{var r=n(8698).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),s=new P(r||[]);return a(o,"_invoke",{value:C(e,n,s)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d={};function g(){}function m(){}function v(){}var y={};h(y,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(I([])));w&&w!==n&&o.call(w,u)&&(y=w);var x=v.prototype=g.prototype=Object.create(y);function S(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var n;a(this,"_invoke",{value:function(i,a){function s(){return new t((function(n,s){!function n(i,a,s,u){var c=f(e[i],e,a);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==r(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(h).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,u)}))}u(c.arg)}(i,a,n,s)}))}return n=n?n.then(s,s):s()}})}function C(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function k(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function I(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},8698:e=>{function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4687:(e,t,n)=>{var r=n(7061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},7326:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},5861:(e,t,n)=>{"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}}n.d(t,{Z:()=>i})},5671:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},3144:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;ni})},4942:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},7462:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},1120:(e,t,n)=>{"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:()=>r})},136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9611);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},4578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},5987:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(5245);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},5245:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,{Z:()=>r})},2963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1002),i=n(7326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},9611:(e,t,n)=>{"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:()=>r})},885:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||(0,r.Z)(e,t)||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.")}()}},168:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},2982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(907);var i=n(181);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1002:(e,t,n)=>{"use strict";function r(e){return(r="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})(e)}n.d(t,{Z:()=>r})},181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r="Invariant failed";function i(e,t){if(!e)throw new Error(r)}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=t,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>e+".bundle.js?v=1.88",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},r.l=(t,n,i,o)=>{if(e[t])e[t].push(n);else{var a,s;if(void 0!==i)for(var u=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(p);var i=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(r)),n)return n(r)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),s&&document.head.appendChild(a)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={177:0};r.f.j=(t,n)=>{var i=r.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((n,r)=>i=e[t]=[n,r]);n.push(i[2]=o);var a=r.p+r.u(t),s=new Error;r.l(a,n=>{if(r.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var i,o,[a,s,u]=n,c=0;if(a.some(t=>0!==e[t])){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(u)u(r)}for(t&&t(n);c{"use strict";var e=r(7363),t=r.n(e),n=r(1533),i=r(5861),o=r(4687),a=r.n(o),s=r(4942);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=[A,P,I],n=e.promiseTypeSuffixes||t,r=void 0===e.promiseTypeDelimiter?"_":e.promiseTypeDelimiter;return function(e){var t=e.dispatch;return function(e){return function(i){var o,a;if(!i.payload)return e(i);var s=i.payload;if(S(s))o=s;else if(S(s.promise))o=s.promise,a=s.data;else{if("function"!=typeof s&&"function"!=typeof s.promise)return e(i);if(o=s.promise?s.promise():s(),a=s.promise?s.data:void 0,!S(o))return e(k({},i,{payload:o}))}var u=i.type,c=i.meta,l=_(n,3),h=l[0],p=l[1],f=l[2],d=function(e,t){return k({type:[u,t?f:p].join(r)},null==e?{}:{payload:e},{},void 0!==c?{meta:c}:{},{},t?{error:!0}:{})};return e(k({type:[u,h].join(r)},void 0!==a?{payload:a}:{},{},void 0!==c?{meta:c}:{})),o.then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=d(e,!1);return t(n),{value:e,action:n}}),(function(e){var n=d(e,!0);throw t(n),e}))}}}}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch;return"function"==typeof t?T()({dispatch:t}):(process&&process.env,null)}const R=function(){for(var e=arguments.length,t=Array(e),n=0;n2?n-2:0),a=2;a0};const de=function(){var e=(0,i.Z)(a().mark((function e(){var t,n,r,i,o,s,u,c,l,h;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=v(w,O),n=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||m,r=ce(window.location.search),i=r.invitationid,(o=r.returnurl)&&window.localStorage.setItem("returnurl",o),s=(0,he.gx)(r.sessionexpired),u=r.source&&["toothservice","deviceactivationerror","redirectunauthorized","toothsites"].includes(r.source)||r.operaloginerror||o||s,c=window.location.toString(),fe(c,r)&&(l=c.substring(0,c.indexOf("?")),window.history.replaceState({},document.title,l)),h=g(ae,n(t)),e.next=12,h.dispatch((0,se.Cm)());case 12:if(!u){e.next=16;break}return s&&h.dispatch((0,pe.Jx)(!0)),e.next=16,h.dispatch((0,le.a)());case 16:if(!i){e.next=19;break}return e.next=19,h.dispatch((0,ue.bE)(i));case 19:return e.abrupt("return",h);case 20:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();var ge=r(8216),me=r(6550),ve=r(3727),ye=r(5671),be=r(3144),we=r(136),xe=r(2963),Se=r(1120),_e=r(5697),Ce=r.n(_e);function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Se.Z)(e);if(t){var i=(0,Se.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,xe.Z)(this,n)}}var Ee=function(e){(0,we.Z)(n,e);var t=ke(n);function n(){return(0,ye.Z)(this,n),t.apply(this,arguments)}return(0,be.Z)(n,[{key:"componentDidUpdate",value:function(e){this.props.location.pathname!==e.location.pathname&&window.scrollTo(0,0)}},{key:"render",value:function(){return this.props.children}}]),n}(t().Component);Ee.propTypes={location:Ce().object,children:Ce().object};const Ae=(0,me.EN)(Ee);var Pe={},Ie=r(7326);function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t=0||(i[n]=e[n]);return i}(n,["excludeScrollbar"]);return t.prototype&&t.prototype.isReactComponent?r.ref=this.getRef:r.wrappedRef=this.getRef,r.disableOnClickOutside=this.disableOnClickOutside,r.enableOnClickOutside=this.enableOnClickOutside,(0,e.createElement)(t,r)},u}(e.Component),i.displayName="OnClickOutside("+a+")",i.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:r&&r.excludeScrollbar||!1,outsideClickIgnoreClass:"ignore-react-onclickoutside",preventDefault:!1,stopPropagation:!1},i.getClass=function(){return t.getClass?t.getClass():t},o};var We=r(4670),qe=r(7462),Ge=r(5987),Ke=r(6010),$e=e.forwardRef((function(t,n){var r=t.classes,i=t.className,o=t.component,a=void 0===o?"div":o,s=t.disableGutters,u=void 0!==s&&s,c=t.variant,l=void 0===c?"regular":c,h=(0,Ge.Z)(t,["classes","className","component","disableGutters","variant"]);return e.createElement(a,(0,qe.Z)({className:(0,Ke.Z)(r.root,r[l],i,!u&&r.gutters),ref:n},h))}));const Je=(0,We.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:(0,s.Z)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})($e);var Ye=r(3871),Xe=r(9895),Qe=e.forwardRef((function(t,n){var r=t.classes,i=t.className,o=t.color,a=void 0===o?"primary":o,s=t.position,u=void 0===s?"fixed":s,c=(0,Ge.Z)(t,["classes","className","color","position"]);return e.createElement(Xe.Z,(0,qe.Z)({square:!0,component:"header",elevation:4,className:(0,Ke.Z)(r.root,r["position".concat((0,Ye.Z)(u))],r["color".concat((0,Ye.Z)(a))],i,"fixed"===u&&"mui-fixed"),ref:n},c))}));const et=(0,We.Z)((function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(Qe);var tt,nt,rt,it,ot,at,st,ut,ct,lt,ht,pt,ft,dt,gt,mt,vt,yt=r(809),bt=r(168),wt=r(4910),xt=r(2048),St=r.n(xt),_t=wt.ZP.div(tt||(tt=(0,bt.Z)(["\nbackground: #2D1EAD;\ncolor: white;\nwidth: 100%;\nfont-family: inter;\n\n@media ","{\n padding: 5px;\n}\n\n@media ","{\n padding: 10px 20px 10px;\n}\n"])),yt.Uh.mobileL,yt.Uh.tablet),Ct=wt.ZP.div(nt||(nt=(0,bt.Z)(["\n margin: 0 100px;\n display: flex;\n flex-direction: column;\n\n @media ",", ",", "," {\n margin: 0 50px;\n }\n\n @media ",", "," {\n margin: 5px 5px 15px 0px;\n padding: 0;\n flex-direction: row;\n justify-content: space-between;\n }\n"])),yt.Uh.tabletLandscape,yt.Uh.bigTablet,yt.Uh.laptop,yt.Uh.mobileL,yt.Uh.tablet),kt=wt.ZP.div(rt||(rt=(0,bt.Z)(["\n display: grid;\n grid-template-columns: 1fr auto;\n padding: 10px 0;\n @media ",", "," {\n padding: 5px 0;\n grid-gap: 10px;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet),Et=wt.ZP.div(it||(it=(0,bt.Z)(["\n display: grid;\n grid-template-columns: 1fr 3fr 1fr;\n padding-bottom: 20px;\n @media ",", "," {\n display: block;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet),At=wt.ZP.div(ot||(ot=(0,bt.Z)(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n @media ",", "," {\n margin: auto 10px;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet),Pt=wt.ZP.img(at||(at=(0,bt.Z)(["\n content: url(",");\n width: 240px;\n height: 44px;\n margin: auto 0;\n\n &:hover {\n opacity: 0.9;\n cursor: pointer;\n }\n\n @media "," {\n width: 220px;\n height: auto;\n }\n\n @media (max-width: 780px) {\n width: 210px;\n height: auto;\n }\n\n @media ",", "," {\n width: 35%;\n margin: -5px 10px;\n }\n"])),(function(e){return e.imagePath}),yt.Uh.laptop,yt.Uh.mobileL,yt.Uh.tablet),It=wt.ZP.img(st||(st=(0,bt.Z)(["\n content: url(",");\n width: 19px;\n height: 24px;\n margin: auto;\n\n @media ",", "," {\n margin: 0;\n }\n"])),(function(e){return e.imagePath}),yt.Uh.mobileL,yt.Uh.tablet),Tt=wt.ZP.img(ut||(ut=(0,bt.Z)(["\n content: url(",");\n width: 19px;\n height: 28px;\n margin: auto;\n\n @media ",", "," {\n width: 100%;\n margin-top: -2px;\n }\n"])),(function(e){return e.imagePath}),yt.Uh.mobileL,yt.Uh.tablet),Ot=wt.ZP.div(ct||(ct=(0,bt.Z)(["\n text-align: center;\n margin: auto 10px;\n font-size: 14px;\n font-weight: regular;\n\n @media ",", "," {\n padding: 0;\n margin-bottom: 20px;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet),Rt=(0,wt.ZP)(St())(lt||(lt=(0,bt.Z)(["\n height: 40px;\n"]))),Lt=wt.ZP.div(ht||(ht=(0,bt.Z)(["\n display: flex;\n flex-direction: row;\n height: 100%;\n justify-content: flex-end;\n"]))),Ut=wt.ZP.div(pt||(pt=(0,bt.Z)(["\n text-align: right;\n font-weight: regular;\n font-size: 14px;\n line-height: 26px;\n margin: auto 5 auto auto;\n"]))),Mt=wt.ZP.div(ft||(ft=(0,bt.Z)(["\n cursor: pointer;\n text-align: right;\n font-weight: regular;\n font-size: 14px;\n line-height: 26px;\n margin: auto 15 auto 0;\n\n &:hover {\n opacity: 0.9;\n }\n"]))),Nt=(0,wt.ZP)(yt.zx)(dt||(dt=(0,bt.Z)(["\n margin: auto 0 auto auto;\n font-size: 16px;\n font-weight: 400;\n display: block;\n\n @media ",", "," {\n margin: 0px;\n min-width: 70px;\n width: 103px;\n height: 36px;\n font-size: 14px;\n padding: 0;\n border-radius: 5px;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet),Dt=(0,wt.ZP)(Nt).attrs({as:"a"})(gt||(gt=(0,bt.Z)(["\n &&& {\n color: white;\n text-decoration: none;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n"]))),jt=wt.ZP.button(mt||(mt=(0,bt.Z)(["\n border: 0;\n background: #2D1EAD;\n outline: none;\n cursor: pointer;\n font-weight: 400;\n font-size: 16px;\n line-height: 26px;\n transition: all 0.2s;\n height: unset;\n width: auto;\n display: block;\n margin: 0 30px;\n\n ","\n\n ","\n\n ","\n\n ","\n\n &:disabled {\n color: #ccc !important;\n border: 1px solid #ccc !important;\n background: #fff !important;\n }\n\n &:hover {\n opacity: 0.9;\n }\n\n @media "," {\n margin: 0 4px;\n }\n\n @media "," {\n margin: 0 20px 0;\n padding: 0;\n width: unset;\n font-weight: 500;\n font-size: 14px;\n }\n\n @media "," {\n margin: 0 10px;\n padding: 0;\n width: unset;\n font-weight: 500;\n font-size: 14px;\n }\n\n @media "," {\n margin: 0 5px 0;\n }\n"])),(function(e){return e.isCenter&&"margin: auto;"}),(function(e){return e.isRight&&"margin: 0 0 0 auto;"}),(function(e){return e.isLeft&&"margin: 0 auto 0 0 ;"}),(function(e){return e.shadow?"box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);":""}),yt.Uh.laptop,yt.Uh.tablet,yt.Uh.mobileL,yt.Uh.mobileS),Bt=wt.ZP.button(vt||(vt=(0,bt.Z)(["\n background: #2D1EAD;\n border: 0;\n outline: none;\n cursor: pointer;\n font-weight: 400;\n font-size: 14px;\n line-height: 26px;\n transition: all 0.2s;\n height: 40px;\n width: auto;\n display: grid;\n grid-template-columns: 40% 60%;\n\n ","\n\n ","\n\n ","\n\n ","\n\n &:disabled {\n color: #ccc !important;\n border: 1px solid #ccc !important;\n background: #fff !important;\n }\n\n &:hover {\n opacity: 0.9;\n }\n\n @media ",", "," {\n padding: 10px 20px;\n width: 70%;\n }\n"])),(function(e){return e.isCenter&&"margin: auto;"}),(function(e){return e.isRight&&"margin: 0 0 0 auto;"}),(function(e){return e.isLeft&&"margin: 0 auto 0 0 ;"}),(function(e){return e.shadow?"box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);":""}),yt.Uh.mobileL,yt.Uh.tablet);var Ft=function(e){var n=e.items,r=e.handleButtonClick,i=e.name;return t().createElement(yt.Lt,{className:"dropdown"},t().createElement(jt,{className:"dropbtn",onClick:function(){return function(e){document.getElementById(e).classList.toggle("show")}(i)}},"".concat(n.buttonText," "),t().createElement(yt.Eh,{className:"dropbtn-arrow",imagePath:n.arrow,alt:""})),t().createElement(yt.Nv,{id:i,className:"dropdown-content"},t().createElement(ve.VK,null,t().createElement("div",{className:"dropdown-content-container"},!(0===n.length)&&t().createElement(yt.lr,{imagePath:n.polygon}),t().createElement("div",{className:"content-container"},n.items.map((function(e){return e.text&&t().createElement(me.rs,{key:e.text},t().createElement(me.AW,{path:e.buttonUrl},t().createElement(yt.sN,{onClick:function(){return r(e.buttonUrl)}},t().createElement(yt.f7,{imagePath:e.activeImage}),t().createElement(yt.eT,{active:!0},e.text))),t().createElement(me.AW,null,t().createElement(yt.sN,{onClick:function(){return r(e.buttonUrl)}},t().createElement(yt.f7,{imagePath:e.inactiveImage}),t().createElement(yt.eT,null,e.text))))})))))))};Ft.propTypes={menuContent:Ce().object,handleButtonClick:Ce().func};const Zt=Ft;var Vt=r(9477),zt=r(573),Ht=r(1163),Wt=r(7784),qt=r(4528),Gt=r(2891),Kt=(0,zt.P1)([Wt.L5],(function(e){return(0,he.UY)((0,Le.get)(e,"Suite.MarketingPage.Solution.Dropdown.Items.Value"))||{}}));function $t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Se.Z)(e);if(t){var i=(0,Se.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,xe.Z)(this,n)}}window.onclick=function(e){if(!e.target.matches(".dropbtn")&&!e.target.matches(".dropbtn-arrow")){var t,n=document.getElementsByClassName("dropdown-content");for(t=0;t850&&o.setState({isMenuDisplay:!0})})),(0,s.Z)((0,Ie.Z)(o),"handleWindowScroll",(function(e){var t;null!==(t=e.target)&&void 0!==t&&t.scrollTop?o.setState({headerElevation:4}):o.setState({headerElevation:0})})),(0,s.Z)((0,Ie.Z)(o),"handleClickOutside",(function(){var e=o.props,t=e.isSearchPage,n=e.isExpanded,r=e.onToggleShowAllFilters,i=e.isHideFiltersOnClickOutside;t&&n&&i&&r()})),(0,s.Z)((0,Ie.Z)(o),"handleFreeTrialClick",(0,i.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.location.href="/go";case 1:case"end":return e.stop()}}),e)})))),(0,s.Z)((0,Ie.Z)(o),"handleLogoClick",(function(){window.location.href="/"})),(0,s.Z)((0,Ie.Z)(o),"handlePhoneClick",(function(){var e=o.props.phone;window.open("tel: ".concat(e))})),(0,s.Z)((0,Ie.Z)(o),"handleGetDemoOpen",(function(){var e=o.props,t=e.match;e.history.push("".concat(t.url,"/getDemo"))})),(0,s.Z)((0,Ie.Z)(o),"handlePartnersOpen",(function(){var e=o.props,t=e.match;e.history.push("".concat(t.url,"/partners"))})),(0,s.Z)((0,Ie.Z)(o),"handleLoginClick",(0,i.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,o.props.onOpenLogin)();case 2:case"end":return e.stop()}}),e)})))),(0,s.Z)((0,Ie.Z)(o),"handleButtonClick",(function(e,t){if(t){var n=o.props,r=n.match;n.history.push("".concat(r.url+t))}else window.location.href=e})),(0,s.Z)((0,Ie.Z)(o),"renderForMobile",(function(){var e=o.props,n=e.content,r=n.mainSectionImagePath,i=n.phoneImagePath,a=n.loginImagePath,s=n.loginText,u=n.demoPopupLink,c=n.startedButtonText,l=n.viewButtonText,h=n.pricingButtonText,p=n.patnersButtonText,f=e.classes,d=e.match,g=e.items,m=o.state.headerElevation;return t().createElement(et,{elevation:m,classes:f,"background-color":"#2D1EAD",position:"fixed"},t().createElement(Je,{"background-color":"#2D1EAD",disableGutters:!0},t().createElement(_t,null,t().createElement(Ct,null,t().createElement(Pt,{onClick:o.handleLogoClick,imagePath:r,alt:""}),t().createElement(kt,null,t().createElement(Tt,{onClick:o.handlePhoneClick,imagePath:i}),t().createElement(It,{onClick:o.handleLoginClick,imagePath:a,alt:s})),t().createElement(me.rs,null,t().createElement(me.AW,{path:"".concat(d.url,"/getDemo")},t().createElement(Dt,{href:u,target:"_blank",isRight:!0},c)),t().createElement(me.AW,null,t().createElement(Vt.Z,{isHeader:!0,actionButtonText:l,onActionButtonClick:o.handleGetDemoOpen})))),t().createElement(At,null,t().createElement(Zt,{items:g,handleButtonClick:o.handleButtonClick,name:"HeaderDropdown"}),t().createElement(jt,{onClick:o.handleFreeTrialClick},h),t().createElement(jt,{onClick:o.handlePartnersOpen},p)))))})),o.state={isMenuDisplay:!0,headerElevation:0,isMobile:matchMedia(yt.Uh.mobileL).matches,isTablet:matchMedia(yt.Uh.tablet).matches},o.googleAnalytics=new Re,o}return(0,be.Z)(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.setConfig;e.isCameFromDirectLink&&t({securityPage:"Login",isLiveChatVisible:!1}),window.addEventListener("resize",this.handleResizeWindow),window.addEventListener("scroll",this.handleWindowScroll,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResizeWindow),window.removeEventListener("scroll",this.handleWindowScroll,!0)}},{key:"render",value:function(){var e=this.props,n=e.isOriginalBackground,r=e.content,i=r.mainSectionImagePath,o=r.loginImagePath,a=r.loginText,s=r.demoPopupLink,u=r.startedButtonText,c=r.viewButtonText,l=r.pricingButtonText,h=r.patnersButtonText,p=r.contactText,f=e.location.pathname,d=e.match,g=e.classes,m=e.items,v=this.state,y=v.headerElevation,b=v.isMobile,w=v.isTablet,x=n?"header header-basic":"header",S=(0,Le.values)(Pe);return S.push({path:"/Home/NotFound"}),(0,Le.find)((0,Le.values)(S),(function(e){return(0,Le.lowerCase)(f)===(0,Le.lowerCase)(e.path)}))&&(x+=" header-resources"),b||w?this.renderForMobile():t().createElement("div",{className:x},t().createElement(et,{elevation:y,classes:g,"background-color":"#2D1EAD",position:"fixed"},t().createElement(Je,{"background-color":"#2D1EAD",disableGutters:!0},t().createElement(_t,null,t().createElement(Ct,null,t().createElement(kt,null,t().createElement(Rt,{bindings:{phoneClick:this.handlePhoneClick},jsx:p,blacklistedAttrs:[],components:{ContactText:Ut,ContactTextContainer:Lt,ContactNumber:Mt}}),t().createElement(Bt,{onClick:this.handleLoginClick},t().createElement(It,{imagePath:o,alt:a}),t().createElement(Ot,null,a))),t().createElement(Et,null,t().createElement(Pt,{onClick:this.handleLogoClick,imagePath:i,alt:""}),t().createElement(At,null,t().createElement(Zt,{items:m,handleButtonClick:this.handleButtonClick,name:"HeaderDropdown"}),t().createElement(jt,{onClick:this.handleFreeTrialClick},l),t().createElement(jt,{onClick:this.handlePartnersOpen},h)),t().createElement(me.rs,null,t().createElement(me.AW,{path:"".concat(d.url,"/getDemo")},t().createElement(Dt,{href:s,target:"_blank",isRight:!0},u)),t().createElement(me.AW,{path:"".concat(d.url,"/offer")},t().createElement(Dt,{href:s,target:"_blank",isRight:!0},u)),t().createElement(me.AW,null,t().createElement(Vt.Z,{isHeader:!0,actionButtonText:c,onActionButtonClick:this.handleGetDemoOpen})))))))))}}]),r}(e.Component);Jt.propTypes={phone:Ce().string,setConfig:Ce().func,location:Ce().object,content:Ce().object,isOriginalBackground:Ce().bool,isHideFiltersOnClickOutside:Ce().bool,isSearchPage:Ce().bool,isExpanded:Ce().bool,isCameFromDirectLink:Ce().bool,onToggleShowAllFilters:Ce().func,match:Ce().object,history:Ce().object,classes:Ce().object,items:Ce().object,onOpenLogin:Ce().func};var Yt=function(){var e=(0,zt.P1)([Ht.fi,Wt.Gw],(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if((0,Le.isEmpty)(e))return null;var r=null!=t&&"true"===(0,Le.get)(t.SearchableSites.Organization[e.getLicenseTypeCode()],"Details.IsClickable.Value"),i=null!=n&&null!=e.id&&(n.can("UO",e.id.value)||n.can("UO"));return r||i?e.postalCode:null})),t=(0,zt.P1)([Wt.L5],(function(e){return{logoMobilePath:(0,Le.get)(e,"Suite.Site.Logo.Mobile.Path.Value"),logoPath:(0,Le.get)(e,"Suite.Site.Logo.Path.Value")}})),n=(0,zt.P1)([Wt.L5,Ht.Zn],(function(e,t){return t?"".concat((0,Le.get)(e,"Suite.LogIn.OperaCreateAccountForm.BroughtBy.Image.BasePath.Value")+t.networkId,".png"):""})),r=(0,zt.P1)([Wt.L5],(function(e){return{mainSectionImagePath:(0,Le.get)(e,"Suite.MarketingPage.MainSection.Image.Path.Value"),phoneImagePath:(0,Le.get)(e,"Suite.MarketingPage.MainSection.Phone.Image.Path.Value"),loginImagePath:(0,Le.get)(e,"Suite.MarketingPage.MainSection.Login.Image.Path.Value"),demoPopupLink:(0,Le.get)(e,"Suite.MarketingPage.DemoPopup.Button.Link.Value"),startedButtonText:(0,Le.get)(e,"Suite.MarketingPage.GetDemoSection.HeaderButton.Text.Value"),viewButtonText:(0,Le.get)(e,"Suite.MarketingPage.Button.View.Value"),pricingButtonText:(0,Le.get)(e,"Suite.MarketingPage.Button.Pricing.Value"),patnersButtonText:(0,Le.get)(e,"Suite.MarketingPage.Button.Partners.Value"),contactText:(0,Le.get)(e,"Suite.MarketingPage.CallTodayLink.Text.Value"),loginText:(0,Le.get)(e,"Suite.MarketingPage.Button.Login.Value")}})),i=(0,zt.P1)([Ht.iE],(function(e){return e&&"Login"===e.securityPage||"OperaCreateAccount"===e.securityPage||"VerifyEmail"===e.securityPage})),o=(0,zt.P1)([Wt.Gw],(function(e){return(0,Le.get)(e,"Suite.MicroService.Token.SystemCode.Value")})),a=(0,zt.P1)([Wt.Gw],(function(e){return(0,Le.get)(e,"Suite.Marketing.PhoneNumber.Value")}));return(0,zt.zB)({user:Gt.et,networkUser:Ht.Zn,content:r,settings:Wt.Gw,isOriginalBackground:Ht.fj,isHideFiltersOnClickOutside:qt.ms,isSearchPage:Ht.OS,isCreateAccountPage:Ht.y,selectedOrganizationZip:e,isLoadingUser:Ht.vP,isLoadingOrganization:Ht.O0,isMyOrganizationsPage:Ht.gx,broughtByImagePath:n,isSecurityPage:i,systemCode:o,leftContent:t,phone:a,items:Kt,isCameFromDirectLink:function(){var e=window.localStorage.getItem("shouldOpenLoginForm");return window.localStorage.removeItem("shouldOpenLoginForm"),!!JSON.parse(e)}})};const Xt=(0,me.EN)((0,ge.$j)(Yt,(function(e){return{setConfig:function(t){return e((0,se.Hz)(t))},onOpenLogin:function(){return e((0,le.a)())}}}))((0,We.Z)({root:{left:0,width:"100vw"}})(He(Jt))));var Qt=r(3980),en=r(2348),tn=r(1105),nn=r(9460),rn=function(n){var r=n.content.solutionsText,i=n.settings.imageBannerSpeed,o=n.images,a=n.headerContent,s=n.onPhoneClick,u=n.onUrlClick,c=(0,e.useRef)(null),l=(0,e.useRef)(null);return(0,e.useEffect)((function(){l.current&&l.current.scrollIntoView()})),t().createElement(tn.c7,{ref:l},t().createElement(nn.Z,{content:a,onPhoneClick:s,onUrlClick:u}),t().createElement(tn.he,null,t().createElement(tn.Te,null,r),t().createElement(tn.Ic,{ref:c},t().createElement(Qt.Z,{images:o,containerRef:c,speed:i}))))};rn.propTypes={content:Ce().object,headerContent:Ce().object,settings:Ce().object,images:Ce().array,onPhoneClick:Ce().func,onUrlClick:Ce().func};var on=en.C;const an=(0,ge.$j)(on)(rn);var sn,un,cn,ln,hn,pn,fn,dn,gn,mn=r(4456),vn=r(2436),yn=r(7064);var bn=wt.ZP.div(sn||(sn=(0,bt.Z)(["\n background: #F7F7F7;\n color: black;\n padding: 150px 100px;\n display: grid;\n font-family: inter;\n /* grid-template-columns: 80px 1fr 80px; */\n align-items: center;\n\n @media ",", "," {\n padding: 100px 50px;\n /* grid-template-columns: 60px 1fr 60px; */\n }\n\n @media "," {\n padding: 50px 50px;\n }\n\n @media "," {\n padding: 100px 50px;\n }\n\n @media "," {\n padding: 50px 20px;\n /* grid-template-columns: 20px 1fr 20px; */\n }\n"])),yt.Uh.tabletLandscape,yt.Uh.bigTablet,yt.Uh.laptop,yt.Uh.tablet,yt.Uh.mobileL),wn=wt.ZP.div(un||(un=(0,bt.Z)(["\n display: grid;\n grid-template-columns: 35% 65%;\n max-width: 1600px;\n margin: 0 auto;\n \n @media ",", "," {\n display: block;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet),xn=wt.ZP.img(cn||(cn=(0,bt.Z)(["\n content: url(",");\n min-width: 0;\n min-height: 0;\n max-width: 100%;\n \n @media ",", "," {\n margin-left: 15px;\n width: 100%;\n height: auto;\n }\n @media "," {\n width: 100%;\n height: auto;\n object-fit: cover;\n object-position: center;\n margin-left: 0px;\n }\n"])),(function(e){return e.imagePath}),yt.Uh.mobileL,yt.Uh.tablet,yt.Uh.tabletLandscape),Sn=wt.ZP.div(ln||(ln=(0,bt.Z)(["\n font-size: 22px;\n font-weight: 400;\n font-family: inter;\n line-height: 1.7;\n \n @media ",", "," {\n margin-left: 0;\n font-size: 16px;\n }\n @media ",", "," {\n font-size: 20px;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet,yt.Uh.tabletLandscape,yt.Uh.bigTablet),_n=wt.ZP.div(hn||(hn=(0,bt.Z)(["\n font-size: 22px;\n font-weight: 600;\n line-height: 1.7;\n padding-top: 22px;\n\n @media ",", "," {\n font-size: 20px;\n }\n"])),yt.Uh.tabletLandscape,yt.Uh.bigTablet),Cn=wt.ZP.div(pn||(pn=(0,bt.Z)(["\n font-size: 18px;\n font-weight: 400;\n line-height: 1.7;\n \n"]))),kn=wt.ZP.div(fn||(fn=(0,bt.Z)(["\n padding-left: 50px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n @media ",", "," {\n padding-left: 0;\n padding-top: 20px;\n }\n @media "," {\n padding-left: 30px;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet,yt.Uh.tabletLandscape),En=(wt.ZP.button(dn||(dn=(0,bt.Z)(["\nborder: 0;\noutline: none;\nbackground: #2D1EAD;\ncolor: white;\ncursor: pointer;\nborder-radius: 100px;\ntransition: all 0.2s;\nwidth: 65px;\nheight: 65px;\ndisplay: grid;\nalign-items: center;\n\nvisibility: collapse;\n\n","\n\n","\n\n","\n\n","\n\n&:disabled {\n color: #ccc !important;\n border: 1px solid #ccc !important;\n background: #fff !important;\n}\n\n&:hover {\n opacity: 0.9;\n}\n\n@media "," {\n margin: auto;\n}\n\n@media ",", "," {\n padding: 0;\n width: 30px;\n height: 30px;\n}\n"])),(function(e){return e.isCenter&&"margin: auto;"}),(function(e){return e.isRight&&"margin: 0 0 0 auto;"}),(function(e){return e.isLeft&&"margin: 0 auto 0 0 ;"}),(function(e){return e.shadow?"box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);":""}),yt.Uh.tablet,yt.Uh.mobileL,yt.Uh.tablet),wt.ZP.div(gn||(gn=(0,bt.Z)(["\n font-weight: 500;\n font-size: 35px;\n line-height: 26px;\n @media ",", "," {\n font-size: 20px;\n }\n"])),yt.Uh.mobileL,yt.Uh.tablet),function(e){var n=e.content,r=n.doctorText,i=n.doctorName,o=n.doctorPosition,a=n.doctorImage;return t().createElement(bn,null,t().createElement(wn,null,t().createElement(xn,{imagePath:a}),t().createElement(kn,null,t().createElement(Sn,null,r),t().createElement(_n,null,i),t().createElement(Cn,null,o))))});En.propTypes={content:Ce().object};var An=function(){var e=(0,zt.P1)([Wt.L5],(function(e){return{doctorText:(0,Le.get)(e,"Suite.MarketingPage.DoctorSection.Text.Value"),doctorName:(0,Le.get)(e,"Suite.MarketingPage.DoctorSection.Name.Value"),doctorPosition:(0,Le.get)(e,"Suite.MarketingPage.DoctorSection.Position.Value"),doctorImage:(0,Le.get)(e,"Suite.MarketingPage.DoctorSection.Image.Path.Value")}}));return(0,zt.zB)({content:e})};const Pn=(0,ge.$j)(An)(En);function In(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Se.Z)(e);if(t){var i=(0,Se.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,xe.Z)(this,n)}}var Tn=t().lazy((function(){return r.e(793).then(r.bind(r,5793))})),On=t().lazy((function(){return r.e(458).then(r.bind(r,7458))})),Rn=t().lazy((function(){return r.e(174).then(r.bind(r,3174))})),Ln=t().lazy((function(){return Promise.all([r.e(298),r.e(238),r.e(339)]).then(r.bind(r,3339))})),Un=t().lazy((function(){return r.e(851).then(r.bind(r,851))})),Mn=t().lazy((function(){return r.e(14).then(r.bind(r,6014))})),Nn=t().lazy((function(){return r.e(58).then(r.bind(r,1058))})),Dn=t().lazy((function(){return r.e(873).then(r.bind(r,6873))})),jn=t().lazy((function(){return r.e(552).then(r.bind(r,6552))})),Bn=function(n){(0,we.Z)(i,n);var r=In(i);function i(){var e;(0,ye.Z)(this,i);for(var t=arguments.length,n=new Array(t),o=0;o2&&void 0!==arguments[2]&&arguments[2];if(n){var i=e.props,o=i.match,a=i.history;r?window.open(n,"_blank"):a.push("".concat(o.url+n))}else r?window.open(t,"_blank"):window.location.href=t})),e}return(0,be.Z)(i,[{key:"render",value:function(){var n=this,r=this.props,i=r.content,o=r.offerPages,a=r.isDemoPopupOpened,s=r.match,u=r.steps,c=r.togetherContent,l=r.getStartedContent,h=r.demoPopupIFrameLink,p=r.solutions,f=r.solutionsSections,d=matchMedia(yt.Uh.mobileL).matches;return t().createElement(t().Fragment,null,a&&t().createElement(e.Suspense,{fallback:t().createElement("div",null)},t().createElement(Tn,{isOpened:a,content:i,onPopupClose:this.handleDemoPopupClose,webinarPopupIFrameLink:h})),t().createElement(e.Suspense,{fallback:t().createElement("div",null)},t().createElement(me.rs,null,t().createElement(me.AW,{path:"".concat(s.url,"/contactUs"),component:Ln},t().createElement(Ln,null)),t().createElement(me.AW,{path:"".concat(s.url,"/getDemo")},t().createElement(Un,{isMobile:d,onUrlClick:this.handleUrlClick,onPhoneClick:this.handlePhoneClick,onDemoPopupOpen:this.handleDemoPopupOpen}),t().createElement(Pn,null)),t().createElement(me.AW,{path:"".concat(s.url,"/moreNewPatients")},t().createElement(Nn,null)),t().createElement(me.AW,{path:"".concat(s.url,"/moreNewPatients-tyop")},t().createElement(Nn,{isThankYouPage:!0})),t().createElement(me.AW,{path:"".concat(s.url,"/offer")},t().createElement(Rn,{onUrlClick:this.handleOfferButtonClick,isMobile:d}),t().createElement(Pn,null)),p.map((function(e){return t().createElement(me.AW,{path:"".concat(s.url,"/solutions/").concat(e.urlSlug)},t().createElement(jn,{sectionsContent:f[e.name],onUrlClick:n.handleUrlClick,handleGetDemoOpen:n.handleGetDemoOpen,onPhoneClick:n.handlePhoneClick}))})),o.map((function(e){return t().createElement(me.AW,{path:"".concat(s.url,"/solutions/").concat(e.urlSlug)},t().createElement(jn,{sectionsContent:e.pageSections,isMobile:d,onUrlClick:n.handleUrlClick,handleGetDemoOpen:n.handleGetDemoOpen,onPhoneClick:n.handlePhoneClick}))})),t().createElement(me.AW,{path:"".concat(s.url,"/partners")},t().createElement(Mn,{onPhoneClick:this.handlePhoneClick,handleContactUsOpen:this.handleContactUsOpen})),t().createElement(me.AW,null,t().createElement(an,{onUrlClick:this.handleUrlClick,onPhoneClick:this.handlePhoneClick}),t().createElement(mn.Z,{content:u,onUrlClick:this.handleUrlClick,onPhoneClick:this.handlePhoneClick}),t().createElement(vn.Z,{content:l,onPhoneClick:this.handlePhoneClick,onUrlClick:this.handleUrlClick}),t().createElement(yn.Z,{content:c,onUrlClick:this.handleUrlClick,onPhoneClick:this.handlePhoneClick}),t().createElement(Pn,null))),t().createElement(e.Suspense,{fallback:t().createElement("div",null)},t().createElement(On,{handlePricingClick:this.handlePricingClick,handlePrivacyPolicyClick:this.handlePrivacyPolicyClick,handleTermsClick:this.handleTermsClick,handleContactUsOpen:this.handleContactUsOpen,onUrlClick:this.handleUrlClick,handlePartnersClick:this.handlePartnersOpen}),t().createElement(Dn,{isMobile:d,onPhoneClick:this.handlePhoneClick}))))}}]),i}(t().Component);Bn.propTypes={content:Ce().object,offerPages:{urlSlug:Ce().string,pageSections:Ce().object},solutionsSections:Ce().object,solutions:Ce().array,phone:Ce().string,isDemoPopupOpened:Ce().bool,match:Ce().object,history:Ce().object,setConfig:Ce().func,steps:Ce().object,togetherContent:Ce().object,getStartedContent:Ce().object,demoPopupIFrameLink:Ce().string};var Fn=function(){var e=(0,zt.P1)([Ht.iE],(function(e){return e.isDemoPopupOpened})),t=(0,zt.P1)([Wt.L5],(function(e){return(0,he.UY)((0,Le.get)(e,"Suite.MarketingPage.Home.GetStartedSection.Value"))})),n=(0,zt.P1)([Wt.L5],(function(e){return(0,he.UY)((0,Le.get)(e,"Suite.MarketingPage.Home.TogetherSection.Value"))})),r=(0,zt.P1)([Wt.L5],(function(e){return(0,he.UY)((0,Le.get)(e,"Suite.MarketingPage.Solutions.StepsSection.Value"))})),i=(0,zt.P1)([Wt.Gw],(function(e){return(0,Le.get)(e,"Suite.Marketing.PhoneNumber.Value")})),o=(0,zt.P1)([Wt.L5],(function(e){return(0,Le.get)(e,"Suite.MarketingPage.MoreNewPatients.Popup.Link.Value")})),a=(0,zt.P1)([Wt.L5],(function(e){return(0,he.kS)((0,Le.get)(e,"Suite.MarketingPage.Solutions.Value"))||[]})),s=(0,zt.P1)([Wt.L5],(function(e){return(0,he.UY)((0,Le.get)(e,"Suite.Solutions.Sections.Content.Value"))||{}})),u=(0,zt.P1)([Wt.L5],(function(e){return(0,he.kS)((0,Le.get)(e,"Suite.MarketingPage.OfferPages.Content.Value"))}));return(0,zt.zB)({content:Wt.L5,offerPages:u,phone:i,demoPopupIFrameLink:o,isDemoPopupOpened:e,steps:r,togetherContent:n,getStartedContent:t,solutions:a,solutionsSections:s})};const Zn=(0,me.EN)((0,ge.$j)(Fn,(function(e){return{setConfig:function(t){return e((0,se.Hz)(t))}}}))(Bn));function Vn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Se.Z)(e);if(t){var i=(0,Se.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,xe.Z)(this,n)}}var zn=function(){return null},Hn=function(e){(0,we.Z)(r,e);var n=Vn(r);function r(e){var t;return(0,ye.Z)(this,r),t=n.call(this,e),(0,s.Z)((0,Ie.Z)(t),"handleScrollToTop",(function(e){var n=t.props,r=n.setConfig;n.config.isOriginalBackground===e&&r({isOriginalBackground:!e})})),t.googleAnalytics=new Re,t}return(0,be.Z)(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.setConfig,n=e.onPageDidMount;t({isOriginalBackground:!0}),this.googleAnalytics.setHomePage(),n&&n()}},{key:"render",value:function(){var e=this.props,n=e.selectedComponent,r=e.components,i=e.user,o=e.location,a=e.history,s=(e.setConfig,(0,Le.find)(r,{id:null==n?void 0:n.id})),u=(null==s?void 0:s.component)||zn;return t().createElement(t().Fragment,null,t().createElement(Xt,{location:o,history:a,components:r,selectedComponent:n}),i?t().createElement("div",null,t().createElement(u,{user:i,componentModel:s})):t().createElement(Zn,null))}}]),r}(t().Component);Hn.propTypes={config:Ce().object,setConfig:Ce().func,components:Ce().array,selectedComponent:Ce().object,user:Ce().object,location:Ce().object,history:Ce().object,onPageDidMount:Ce().func};var Wn=function(){return(0,zt.zB)({config:Ht.iE,content:Wt.L5,selectedOrganization:Ht.fi})};const qn=(0,me.EN)((0,ge.$j)(Wn,(function(e){return{setConfig:function(t){return e((0,se.Hz)(t))}}}))(Hn));var Gn=r(5111);function Kn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Se.Z)(e);if(t){var i=(0,Se.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,xe.Z)(this,n)}}var $n=t().lazy((function(){return Promise.all([r.e(298),r.e(701),r.e(906)]).then(r.bind(r,6906))})),Jn=t().lazy((function(){return Promise.resolve().then(r.bind(r,5111))})),Yn=function(n){(0,we.Z)(i,n);var r=Kn(i);function i(n){var o;return(0,ye.Z)(this,i),o=r.call(this,n),(0,s.Z)((0,Ie.Z)(o),"setPageOffset",(function(){var e=document.getElementById("header"),t=document.getElementById("home");if(null!=e&&null!=t){var n=e.clientHeight;t.style["margin-top"]="".concat(n,"px"),t.style.height="calc(100% - ".concat(n,"px)")}})),(0,s.Z)((0,Ie.Z)(o),"renderLiveChat",(function(){var n=o.props,r=n.config,i=n.liveChatLicenseId;if((0,he.fH)(i))return null;var a=r.isLiveChatVisible?Gn.LiveChatVisibility.MINIMIZED:Gn.LiveChatVisibility.HIDDEN;return t().createElement(e.Suspense,{fallback:t().createElement("div",null)},t().createElement(Jn,{visibility:a,licenseId:i}))})),o.googleAnalytics=new Re,o}return(0,be.Z)(i,[{key:"componentDidMount",value:function(){var e=this.props;e.location.search.queryString,e.components}},{key:"componentDidUpdate",value:function(){this.setPageOffset()}},{key:"render",value:function(){var n=this,r=this.props,i=r.children,o=r.isLoaded,a=r.config,s=r.location,u=r.isCognitoLogin,c=r.theme;if(!o)return t().createElement("h3",null);var l=(0,Le.includes)((0,Le.toLower)(s.pathname),"legal");return t().createElement(wt.f6,{theme:c},t().createElement("div",{id:"home",className:"home withAllFilters",ref:function(e){null!=e&&(n.home=e)}},this.renderLiveChat(),i,a.securityPage?t().createElement(e.Suspense,{fallback:t().createElement("div",null)},t().createElement($n,{config:a,isLegal:l,isCognitoLogin:u})):null))}}]),i}(t().Component);Yn.propTypes={config:Ce().object,theme:Ce().object,children:Ce().oneOfType([Ce().array,Ce().object]),isLoaded:Ce().bool,isCognitoLogin:Ce().bool,components:Ce().array,location:Ce().object,liveChatLicenseId:Ce().string};var Xn=function(){var e=(0,zt.P1)([Ht.iE],(function(e){return e.isDoingAutoLoginWithOpera})),t=(0,zt.P1)([Wt.Gw],(function(e){return(0,Le.get)(e,"Suite.LiveChat.LicenseId.Value")||""}));return(0,zt.zB)({config:Ht.iE,isLoaded:Wt.Zl,isLoading:Ht.Vc,isCognitoLogin:qt.c$,content:Wt.L5,language:Wt.G3,testimonials:Wt.BZ,isDoingAutoLoginWithOpera:e,liveChatLicenseId:t,theme:qt.gh})};const Qn=(0,me.EN)((0,ge.$j)(Xn,(function(e){return{setConfig:function(t){return e((0,se.Hz)(t))}}}))(Yn));function er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Se.Z)(e);if(t){var i=(0,Se.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,xe.Z)(this,n)}}var tr=function(e){(0,we.Z)(r,e);var n=er(r);function r(){return(0,ye.Z)(this,r),n.apply(this,arguments)}return(0,be.Z)(r,[{key:"componentDidMount",value:function(){(0,this.props.setConfig)({isOriginalBackground:!1})}},{key:"render",value:function(){var e=this.props,n=e.content,r=e.textFirstPart,i=e.textSecondPart;return t().createElement("div",{className:"no-results-block"},t().createElement("div",{className:"text-center firstPart"},r||(0,Le.get)(n,"Suite.NotFound.Page.Text.First.Value")),t().createElement("div",{className:"text-center secondPart"},i||(0,Le.get)(n,"Suite.NotFound.Page.Text.Second.Value")),t().createElement("div",{className:"no-results-image"}))}}]),r}(t().Component);tr.propTypes={content:Ce().object,textFirstPart:Ce().string,textSecondPart:Ce().string,setConfig:Ce().func};var nr=function(){return(0,zt.zB)({config:Ht.iE,content:Wt.L5})};const rr=(0,me.EN)((0,ge.$j)(nr,(function(e){return{setConfig:function(t){return e((0,se.Hz)(t))}}}))(tr));var ir,or,ar,sr,ur,cr,lr,hr,pr,fr,dr,gr=wt.ZP.div(ir||(ir=(0,bt.Z)(["\n background: #E5E5E5;\n min-height: 100vh;\n"]))),mr=wt.ZP.header(or||(or=(0,bt.Z)(["\n padding: 24px 15px;\n\n @media "," {\n padding: 15px;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n"])),yt.Uh.mobileL),vr=wt.ZP.img(ar||(ar=(0,bt.Z)(["\n height: 34px;\n padding-right: 7px;\n\n @media "," {\n padding: 0;\n height: 25px;\n }\n"])),yt.Uh.mobileL),yr=wt.ZP.div(sr||(sr=(0,bt.Z)(["\n padding-top: 180px;\n\n @media "," {\n padding: 0;\n }\n"])),yt.Uh.mobileL),br=wt.ZP.div(ur||(ur=(0,bt.Z)(["\n height: 448px;\n background: #FFFFFF;\n border-radius: 10px;\n width: 60%;\n margin: 0 auto;\n display: flex;\n flex-direction: row;\n overflow: hidden;\n\n @media "," {\n width: 90%;\n }\n\n @media "," {\n width: 100%;\n border-radius: 0;\n display: flex;\n flex-direction: column;\n height: auto;\n min-height: calc(100vh - 80px);\n }\n"])),yt.Uh.tablet,yt.Uh.mobileL),wr=wt.ZP.div(cr||(cr=(0,bt.Z)(["\n background: #F4FCFF;\n width: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n\n @media "," {\n width: 100%;\n }\n"])),yt.Uh.mobileL),xr=wt.ZP.img.attrs({src:"/Marketing/Media/ToothApps/Authentication/deviceActivationErrorImage.svg"})(lr||(lr=(0,bt.Z)(["\n max-width: 100%;\n"]))),Sr=wt.ZP.div(hr||(hr=(0,bt.Z)(['\n text-align: center;\n font-family: "Montserrat";\n padding: 100px 6% 0;\n width: 50%;\n\n @media '," {\n width: 100%;\n padding: 0 6%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n flex-grow: 1;\n }\n"])),yt.Uh.mobileL),_r=wt.ZP.h2(pr||(pr=(0,bt.Z)(["\n font-weight: 500;\n font-size: 24px;\n color: #0080C0;\n margin-bottom: 18px;\n"]))),Cr=wt.ZP.p(fr||(fr=(0,bt.Z)(["\n font-size: 16px;\n line-height: 28px;\n color: #575757;\n margin-bottom: 27px;\n"]))),kr=wt.ZP.a(dr||(dr=(0,bt.Z)(["\n background: rgb(67,136,242);\n border-radius: 10px;\n font-weight: 600;\n font-size: 16px;\n color: #FFFFFF;\n display: block;\n padding: 11px 0;\n width: 100%;\n outline: none;\n cursor: pointer;\n text-decoration: none;\n\n :hover {\n background: rgba(67,136,242,0.9);\n text-decoration: none;\n color: #FFFFFF;\n }\n"])));var Er=function(e){var n=e.content,r=n.taLogoUrl,i=n.broughtByOperaLogoUrl,o=n.title,a=n.messageText,s=n.buttonText;return t().createElement(gr,null,t().createElement(mr,null,t().createElement(vr,{src:r,alt:""}),t().createElement(vr,{src:i,alt:""})),t().createElement(yr,null,t().createElement(br,null,t().createElement(wr,null,t().createElement(xr,null)),t().createElement(Sr,null,t().createElement(_r,null,o),t().createElement(Cr,null,a),t().createElement(kr,{href:"".concat(window.location.origin,"/?source=deviceActivationError")},s)))))};Er.propTypes={content:Ce().object};var Ar=function(){var e=(0,zt.P1)([Wt.L5],(function(e){return{taLogoUrl:(0,Le.get)(e,"Suite.Site.Logo.Path.Value"),broughtByOperaLogoUrl:(0,Le.get)(e,"Suite.Network.BroughtBy.OperaDDS.Image.Path.Value"),title:(0,Le.get)(e,"Suite.DeviceActivationErrorPage.Title.Value"),messageText:(0,Le.get)(e,"Suite.DeviceActivationErrorPage.Message.Text.Value"),buttonText:(0,Le.get)(e,"Suite.DeviceActivationErrorPage.Button.Text.Value")}}));return(0,zt.zB)({content:e})};const Pr=(0,ge.$j)(Ar)(Er);var Ir=r(366),Tr=r(201),Or=r(7487);var Rr,Lr,Ur,Mr,Nr,Dr,jr,Br,Fr,Zr,Vr,zr,Hr=r(7812),Wr=r(8623),qr=(0,wt.ZP)(Hr.Z)(Rr||(Rr=(0,bt.Z)(["\n position: absolute !important;\n top: 12px;\n right: 12px;\n color: #CBCBCB;\n"]))),Gr=(0,wt.ZP)(Wr.Z)(Lr||(Lr=(0,bt.Z)(["\n .MuiPaper-root {\n height: 430px;\n width: 1000px;\n max-width: calc(100% - 64px);\n flex-direction: row;\n overflow: visible;\n border: 1px solid #DBDBDB;\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);\n border-radius: 10px;\n \n @media (max-width: 930px) {\n width: 500px;\n }\n }\n"]))),Kr=wt.ZP.div(Ur||(Ur=(0,bt.Z)(["\n position: relative;\n width: 500px;\n background: #F4FCFF;\n border-top-left-radius: 10px;\n border-bottom-left-radius: 10px;\n \n @media (max-width: 930px) {\n display: none;\n }\n"]))),$r=wt.ZP.img(Mr||(Mr=(0,bt.Z)(["\n position: absolute;\n left: 50%;\n margin-left: -174px;\n margin-top: -70px;\n"]))),Jr=wt.ZP.div(Nr||(Nr=(0,bt.Z)(["\n width: 500px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 50px 50px 70px;\n\n @media "," {\n padding: 40px 35px 60px;\n }\n\n @media "," {\n padding: 40px 25px 60px;\n }\n\n @media "," {\n padding: 40px 20px 60px;\n }\n"])),yt.Uh.mobileL,yt.Uh.mobileM,yt.Uh.mobileS),Yr=wt.ZP.div(Dr||(Dr=(0,bt.Z)(["\n font-style: normal;\n font-weight: 500;\n font-size: 24px;\n line-height: 160%;\n text-align: center;\n color: ",";\n\n @media "," {\n font-size: 20px;\n }\n\n @media "," {\n font-size: 18px;\n }\n"])),(function(e){var t,n=e.theme;return null==n||null===(t=n.title)||void 0===t?void 0:t.color}),yt.Uh.mobileL,yt.Uh.mobileM),Xr=wt.ZP.div(jr||(jr=(0,bt.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n font-size: 14px;\n line-height: 160%;\n text-align: center;\n"]))),Qr=wt.ZP.div(Br||(Br=(0,bt.Z)([" \n height: 70px;\n margin-bottom: 15px;\n"]))),ei=wt.ZP.img(Fr||(Fr=(0,bt.Z)([" \n height: 100%;\n"]))),ti=wt.ZP.div(Zr||(Zr=(0,bt.Z)(["\n color: ",";\n"])),(function(e){var t,n=e.theme;return null==n||null===(t=n.text)||void 0===t?void 0:t.color})),ni=wt.ZP.div(Vr||(Vr=(0,bt.Z)(["\n color: #A8A8A8;\n"]))),ri=wt.ZP.div(zr||(zr=(0,bt.Z)(["\n padding: 10px 0px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n font-family: ",";\n background: ",";\n font-size: ",";\n color: ",";\n font-weight: ",";\n border-radius: ",";\n\n &:hover {\n background: ",";\n }\n\n @media "," {\n font-size: 16px;\n padding: 6px 0px;\n }\n\n @media "," {\n font-size: 14px;\n padding: 5px 0px;\n }\n"])),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.fontFamily}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.backgroundColor}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.fontSize}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.textColor}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.fontWeight}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.borderRadius}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.hoveredBackgroundColor}),yt.Uh.mobileL,yt.Uh.mobileS),ii=function(e){var n=e.addedOrganization,r=e.content,i=r.titleText,o=r.buttonText,a=r.imagePath,s=e.settings,u=e.orgLogoUrl,c=e.history,l=e.onClosePopup;if(!n)return null;var h=n.Name,p=n.City,f=n.Region,d=n.PostalCode,g=function(){c.push("/Home"),l()};return t().createElement(wt.f6,{theme:s.theme},t().createElement(Gr,{open:!0,onClose:g,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",maxWidth:"lg",fullWidth:!0},t().createElement(qr,{"aria-label":"Close",onClick:g},t().createElement(Ir.Z,null)),t().createElement(Kr,null,t().createElement($r,{src:a})),t().createElement(Jr,null,t().createElement(Yr,null,i.replace("{name}",h)),t().createElement(Xr,null,t().createElement(Qr,null,t().createElement(ei,{src:u})),t().createElement(ti,null,h),t().createElement(ni,null,p,", ",f,", ",d)),t().createElement(ri,{onClick:g},o.slice(0,-1)))))};ii.propTypes={addedOrganization:Ce().object,settings:Ce().object,orgLogoUrl:Ce().string,content:Ce().shape({titleText:Ce().string,buttonText:Ce().string,imagePath:Ce().string}),history:Ce().object,onClosePopup:Ce().func};var oi=function(){var e=(0,zt.P1)([Wt.Gw],(function(e){return(0,Le.get)(e,"Saas.Organization.Image.Path.Value")})),t=(0,zt.P1)([Wt.L5],(function(e){return{titleText:(0,Le.get)(e,"Suite.UserJoinedCompany.Window.Title.Text.Value"),buttonText:(0,Le.get)(e,"Suite.UserJoinedCompany.Window.ActionButton.Text.Value"),imagePath:(0,Le.get)(e,"Suite.UserJoinedCompany.Window.Image.Path.Value")}})),n=(0,zt.P1)([Wt.Gw],(function(e){return{theme:JSON.parse((0,Le.get)(e,"Suite.Module.Default.Theme.Value")||"{}")}})),r=(0,zt.P1)([Ht.vh,e,Wt.L5],(function(e,t,n){var r,i=(e||{}).LogoUrl,o=(0,Le.get)(n,"Suite.MarketingPage.DefaultOrganizationLogo.Path.Value");return(0,Tr.IV)(null===(r=(0,Or.$b)(i))||void 0===r?void 0:r.url,t)||o}));return(0,zt.zB)({addedOrganization:Ht.vh,content:t,settings:n,orgLogoUrl:r})};const ai=(0,me.EN)((0,ge.$j)(oi,(function(e){return{onClosePopup:function(){return e((0,ue.gB)())}}}))(ii));var si,ui,ci,li,hi,pi,fi,di,gi;var mi=(0,wt.ZP)(Wr.Z)(si||(si=(0,bt.Z)(["\n .MuiPaper-root {\n min-height: 430px;\n width: 1000px;\n max-width: calc(100% - 64px);\n flex-direction: row;\n overflow: visible;\n border: 1px solid #DBDBDB;\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);\n border-radius: 10px;\n \n @media (max-width: 930px) {\n width: 500px;\n }\n }\n"]))),vi=(0,wt.ZP)(Hr.Z)(ui||(ui=(0,bt.Z)(["\n position: absolute !important;\n top: 12px;\n right: 12px;\n color: #CBCBCB;\n"]))),yi=wt.ZP.div(ci||(ci=(0,bt.Z)(["\n position: relative;\n width: 500px;\n background: #F4FCFF;\n border-top-left-radius: 10px;\n border-bottom-left-radius: 10px;\n\n @media (max-width: 930px) {\n display: none;\n }\n"]))),bi=wt.ZP.img(li||(li=(0,bt.Z)(["\n position: absolute;\n left: 50%;\n margin-left: -174px;\n margin-top: -70px;\n"]))),wi=wt.ZP.div(hi||(hi=(0,bt.Z)(["\n width: 500px;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 20px;\n align-items: center;\n text-align: center;\n padding: 50px 48px 70px;\n"]))),xi=wt.ZP.img.attrs({height:100,alt:"warning"})(pi||(pi=(0,bt.Z)([""]))),Si=wt.ZP.div(fi||(fi=(0,bt.Z)(["\n font-style: normal;\n font-weight: 500;\n font-size: 24px;\n line-height: 160%;\n text-align: center;\n"]))),_i=wt.ZP.div(di||(di=(0,bt.Z)(["\n text-align: center;\n"]))),Ci=wt.ZP.div(gi||(gi=(0,bt.Z)(["\n margin-top: auto;\n width: 100%;\n height: 45px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n font-family: ",";\n background: ",";\n font-size: ",";\n color: ",";\n font-weight: ",";\n border-radius: ",";\n \n &:hover {\n background: ",";\n }\n"])),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.fontFamily}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.backgroundColor}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.fontSize}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.textColor}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.fontWeight}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.borderRadius}),(function(e){var t,n=e.theme;return null==n||null===(t=n.primaryButton)||void 0===t?void 0:t.hoveredBackgroundColor})),ki=function(n){var r,i,o=n.content,a=n.settings,s=n.history,u=n.setConfig,c=o.invitationExpiredImage,l=o.invitationExpiredTitle,h=o.invitationExpiredMessage,p=o.invitationConfirmedTitle,f=o.invitationConfirmedMessage,d=o.invitationConfirmedButtonText,g=o.warningIconPath,m=(0,e.useMemo)((function(){var e=ce(s.location.search).code;return u({isLiveChatVisible:!1}),null==e?void 0:e.toUpperCase()}),[]);"ERROR_INVITE_ALREADY_USED"===m?(r=p,i=f):(r=l,i=h);var v=function(){u({isLiveChatVisible:!0}),s.push("/Home")};return t().createElement(wt.f6,{theme:a.theme},t().createElement(mi,{open:!0,onClose:v,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",maxWidth:"lg",fullWidth:!0},t().createElement(vi,{"aria-label":"Close",onClick:v},t().createElement(Ir.Z,null)),t().createElement(yi,null,t().createElement(bi,{src:c})),t().createElement(wi,null,t().createElement(xi,{src:g}),t().createElement(Si,null,r),t().createElement(_i,null,i),"ERROR_INVITE_ALREADY_USED"===m&&t().createElement(Ci,{onClick:function(){u({securityPage:"Login",isLiveChatVisible:!1}),s.push("/Home")}},d))))};ki.propTypes={content:Ce().object,settings:Ce().object,history:Ce().object,setConfig:Ce().func};var Ei=function(){var e=(0,zt.P1)([Wt.L5],(function(e){return{invitationExpiredImage:(0,Le.get)(e,"Suite.UserInvitation.Error.InvitationExpired.Image.Path.Value"),invitationExpiredTitle:(0,Le.get)(e,"Suite.UserInvitation.Error.InvitationExpired.Title.Value"),invitationExpiredMessage:(0,Le.get)(e,"Suite.UserInvitation.Error.InvitationExpired.Message.Value"),invitationConfirmedTitle:(0,Le.get)(e,"Suite.UserInvitation.Error.InvitationConfirmed.Title.Value"),invitationConfirmedMessage:(0,Le.get)(e,"Suite.UserInvitation.Error.InvitationConfirmed.Message.Value"),invitationConfirmedButtonText:(0,Le.get)(e,"Suite.UserInvitation.Error.InvitationConfirmed.Button.Text.Value"),warningIconPath:(0,Le.get)(e,"Suite.UserInvitation.Error.InvitationExpired.Icon.Path.Value")}})),t=(0,zt.P1)([Wt.Gw],(function(e){return{theme:JSON.parse((0,Le.get)(e,"Suite.Module.Default.Theme.Value")||"{}")}}));return(0,zt.zB)({content:e,settings:t})};const Ai=(0,me.EN)((0,ge.$j)(Ei,(function(e){return{setConfig:function(t){return e((0,se.Hz)(t))}}}))(ki));var Pi=function(){return t().createElement(Ae,null,t().createElement(Qn,null,t().createElement(me.rs,null,t().createElement(me.AW,{name:"resetPassword",exact:!0,path:"/Home/ResetPassword",component:qn}),t().createElement(me.AW,{name:"UserJoinedCompany",exact:!0,path:"/Home/UserJoinedCompanyNotification",component:ai}),t().createElement(me.AW,{name:"Error",exact:!0,path:"/Home/Error",component:Ai}),t().createElement(me.AW,{name:"home",path:"/Home",component:qn}),t().createElement(me.AW,{exact:!0,path:"/Home/DeviceActivationError",component:Pr}),t().createElement(me.AW,{name:"notFound",exact:!0,path:"/Home/NotFound",component:rr}))))};const Ii=function(e){var n=e.store;return t().createElement(ge.zt,{store:n},t().createElement(ve.VK,{basename:"/Marketing"},t().createElement(Pi,null)))};var Ti=document.getElementById("home-react");de().then((function(e){try{!function(e){(0,n.render)(t().createElement(Ii,{store:e}),Ti)}(e)}catch(e){e instanceof URIError&&(window.location.href="/Marketing/Home/NotFound")}}))})()})(); //# sourceMappingURL=home.bundle.js.map