@flarehr/apollo-customer-workplace-link 1.2.13202 → 1.2.13234
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/bundle.esm.js +2 -2
- package/build/bundle.esm.js.map +1 -1
- package/build/bundle.js +1 -1
- package/build/bundle.js.map +1 -1
- package/package.json +1 -1
package/build/bundle.esm.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
p {
|
|
11
11
|
${0}
|
|
12
12
|
}
|
|
13
|
-
`),(()=>({display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",marginTop:"6rem",marginBottom:"6rem",width:"100%"})),(()=>({fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"600",marginBottom:"0.5rem"})),(()=>({fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"400",marginTop:"0px",marginBottom:"0px"})));t.a=()=>Object(r.h)(h,null,Object(r.h)(l,{src:o.a}),Object(r.h)("h1",null,"Something went wrong!"),Object(r.h)("p",null,"We’re having some difficulties."),Object(r.h)("p",null,"Please try again shortly."))},"98EO":function(e,t,n){"use strict";(function(e){var r=n("paZ/"),i=n("hosL"),o=n("QRet"),s=n("gjG8"),a=n("FIkf"),u=n("1kmk"),c=n("vBmG"),l=n("qtd4"),h=n("fWrg"),d=n("aWKI"),f=n("UfLo"),A=n("8NER");Object(r.b)(i.h);t.a=t=>{const n={backendUrl:t["backend-url"],apolloAccessToken:t["access-token"]},r=
|
|
13
|
+
`),(()=>({display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",marginTop:"6rem",marginBottom:"6rem",width:"100%"})),(()=>({fontSize:"1.25rem",lineHeight:"1.75rem",fontWeight:"600",marginBottom:"0.5rem"})),(()=>({fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"400",marginTop:"0px",marginBottom:"0px"})));t.a=()=>Object(r.h)(h,null,Object(r.h)(l,{src:o.a}),Object(r.h)("h1",null,"Something went wrong!"),Object(r.h)("p",null,"We’re having some difficulties."),Object(r.h)("p",null,"Please try again shortly."))},"98EO":function(e,t,n){"use strict";(function(e){var r=n("paZ/"),i=n("hosL"),o=n("QRet"),s=n("gjG8"),a=n("FIkf"),u=n("1kmk"),c=n("vBmG"),l=n("qtd4"),h=n("fWrg"),d=n("aWKI"),f=n("UfLo"),A=n("8NER");Object(r.b)(i.h);t.a=t=>{const n={backendUrl:t["backend-url"],apolloAccessToken:t["access-token"]},r=Object(o.j)(!1),[p,g]=Object(o.k)("Initializing");return Object(a.a)((async e=>{if(n.backendUrl)try{const t=await(async(e,t)=>{await Object(u.c)(e.backendUrl);const{googleCloud:n,googleIdentityEnabled:r}=await Object(u.b)(e.apolloAccessToken,t);return Object(d.b)(n),{googleIdentityEnabled:r}})(n,e);r.current=t.googleIdentityEnabled,g("Initialized")}catch(e){g("Error")}}),[n.backendUrl]),Object(i.h)(e,null,"Initializing"===p&&Object(i.h)(f.a,{isActive:!0}),"Error"===p&&Object(i.h)(A.a,null),"Initialized"===p&&Object(i.h)("div",{id:"preact_root"},Object(i.h)(c.b,null),Object(i.h)(h.a,null,r.current?Object(i.h)(l.a,n):Object(i.h)(s.a,n))))}}).call(this,n("hosL").Fragment)},"98Op":function(e){for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},"B0/y":function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.RedirectRequestHandler=void 0;var o=n("WrvZ"),s=n("5hdk"),a=n("fxKM"),u=n("sS3n"),c=n("wZHQ"),l=n("LOV3"),h=n("Sh+/"),d=function(e){return e+"_appauth_authorization_request"},f=function(e){return e+"_appauth_authorization_service_configuration"},A="appauth_current_authorization_request",p=function(e){function t(t,n,r,i){void 0===t&&(t=new h.LocalStorageBackend),void 0===n&&(n=new l.BasicQueryStringUtils),void 0===r&&(r=window.location),void 0===i&&(i=new u.DefaultCrypto);var o=e.call(this,n,i)||this;return o.storageBackend=t,o.locationLike=r,o}return i(t,e),t.prototype.performAuthorizationRequest=function(e,t){var n=this,r=this.crypto.generateRandom(10);Promise.all([this.storageBackend.setItem(A,r),t.toJson().then((function(e){return n.storageBackend.setItem(d(r),JSON.stringify(e))})),this.storageBackend.setItem(f(r),JSON.stringify(e.toJson()))]).then((function(){var r=n.buildRequestUrl(e,t);c.log("Making a request to ",t,r),n.locationLike.assign(r)}))},t.prototype.completeAuthorizationRequest=function(){var e=this;return this.storageBackend.getItem(A).then((function(t){return t?e.storageBackend.getItem(d(t)).then((function(e){return JSON.parse(e)})).then((function(e){return new o.AuthorizationRequest(e)})).then((function(n){var r=""+e.locationLike.origin+e.locationLike.pathname,i=e.utils.parse(e.locationLike,!0),o=i.state,s=i.code,u=i.error;c.log("Potential authorization request ",r,i,o,s,u);var l=null,h=null;if(o===n.state){if(u)h=new a.AuthorizationError({error:u,error_description:i.error_description,error_uri:i.error_uri,state:o});else l=new a.AuthorizationResponse({code:s,state:o});return Promise.all([e.storageBackend.removeItem(A),e.storageBackend.removeItem(d(t)),e.storageBackend.removeItem(f(t))]).then((function(){return c.log("Delivering authorization response"),{request:n,response:l,error:h}}))}return c.log("Mismatched request (state and request_uri) dont match."),Promise.resolve(null)})):null}))},t}(s.AuthorizationRequestHandler);t.RedirectRequestHandler=p},C6iT:function(e,t,n){"use strict";(function(e){var r=n("l8WD"),i=n("VB+g"),o=n("Fx85");t.a=({onClick:t,disabled:n,children:s})=>{const a=Object(r.useRef)(!0),[u,c]=Object(r.useState)(!1);return Object(r.useEffect)((()=>()=>{a.current=!1}),[]),e(o.a,{onClick:()=>{c(!0),t().finally((()=>{a.current&&c(!1)}))},disabled:n,"data-loading":u},u&&e(i.b,null),s)}}).call(this,n("hosL").h)},FIkf:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("czhI"),i=n.n(r),o=n("QRet");const s=(e,t,n)=>{Object(o.d)((()=>{const t=i.a.CancelToken.source();return e(t),()=>{n&&n(),t.cancel()}}),t)}},Fx85:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u}));var r=n("paZ/");let i,o,s=e=>e;const a=Object(r.c)("button")(i||(i=s`
|
|
14
14
|
${0}
|
|
15
15
|
|
|
16
16
|
& > .span {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
`));t.a=({isActive:e,className:t})=>Object(r.h)(i.a,null,Object(r.h)(a,{className:t},e&&Object(r.h)(i.c,{role:"alert"},"Loading..."),Object(r.h)(u,{className:e?"is-active":"","aria-hidden":!0})))},"VB+g":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("paZ/");let i;const o=Object(r.c)("div")(i||(i=(e=>e)`
|
|
88
88
|
${0}
|
|
89
|
-
`),(()=>({width:"1.5rem",height:"1.5rem",borderWidth:"2px",animation:"spin 1s linear infinite",borderRadius:"9999px",borderColor:"currentColor",borderTopColor:"rgba(0, 0, 0, 0)",borderLeftColor:"rgba(0, 0, 0, 0)"})));t.b=o},WAZ4:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n("1PO9"),i=n("hosL"),o=n("QRet"),s=n("ue2Z"),a=n("aWKI");const u=e=>{switch(e.code){case r.a.CAPTCHA_CHECK_FAILED:return s.a.INVALID_RECAPTCHA;case r.a.INVALID_PHONE_NUMBER:case r.a.MISSING_PHONE_NUMBER:return s.a.INVALID_PHONE_NUMBER;case r.a.USER_DISABLED:return s.a.INVALID_ACCOUNT;case r.a.INVALID_IDP_RESPONSE:case r.a.INVALID_CODE:case r.a.INVALID_SESSION_INFO:return s.a.INVALID_OTP;default:throw e.message}},c=Object(i.createContext)({authState:{state:"idle"},init:()=>{},sendOtp:async()=>!0,resendOtp:async()=>!0,verifyOtp:async()=>!0}),l=({children:t})=>{const n=(()=>{const[e,t]=Object(o.k)({state:"idle"}),n=Object(o.j)(null),i=Object(o.j)(""),s=Object(o.j)("");return{authState:e,init:e=>{n.current||(n.current=new r.c(e,{size:"invisible"},Object(a.a)()))},sendOtp:async e=>{if(!n.current)throw Error("[Sign in]: RecaptchaVerifier has not been initialized yet, please call init()");s.current=e,t({state:"sending"});try{const o=new r.b(Object(a.a)()),s=await o.verifyPhoneNumber(e,n.current);return i.current=s,t({state:"sent",phoneNumber:e}),!0}catch(e){return t({state:"error",occuredWhen:"sending",error:u(e)}),!1}},verifyOtp:async e=>{if(!i.current)throw Error("[Sign in]: Please verify phone number first and then verify OTP.");t({state:"verifying"});try{const n=r.b.credential(i.current,e);return await Object(r.f)(Object(a.a)(),n),t({state:"verified"}),!0}catch(e){return t({state:"error",occuredWhen:"verifying",error:u(e)}),!1}},resendOtp:async()=>{if(!s.current||!n.current)throw Error("[Sign in]: Please verify phone number first and then resend OTP.");t({state:"resending"});try{const e=new r.b(Object(a.a)()),o=await e.verifyPhoneNumber(s.current,n.current);return i.current=o,t({state:"sent",phoneNumber:s.current}),!0}catch(e){return t({state:"error",occuredWhen:"resending",error:u(e)}),!1}}}})();return e(c.Provider,{value:n},t)};t.b=c}).call(this,n("hosL").h)},WMFz:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenError=t.TokenResponse=t.nowInSeconds=void 0;t.nowInSeconds=function(){return Math.round((new Date).getTime()/1e3)};var n=function(){function e(e){this.accessToken=e.access_token,this.tokenType=e.token_type||"bearer",e.expires_in&&(this.expiresIn=parseInt(e.expires_in,10)),this.refreshToken=e.refresh_token,this.scope=e.scope,this.idToken=e.id_token,this.issuedAt=e.issued_at||t.nowInSeconds()}return e.prototype.toJson=function(){var e;return{access_token:this.accessToken,id_token:this.idToken,refresh_token:this.refreshToken,scope:this.scope,token_type:this.tokenType,issued_at:this.issuedAt,expires_in:null===(e=this.expiresIn)||void 0===e?void 0:e.toString()}},e.prototype.isValid=function(e){return void 0===e&&(e=-600),!this.expiresIn||t.nowInSeconds()<this.issuedAt+this.expiresIn+e},e}();t.TokenResponse=n;var r=function(){function e(e){this.error=e.error,this.errorDescription=e.error_description,this.errorUri=e.error_uri}return e.prototype.toJson=function(){return{error:this.error,error_description:this.errorDescription,error_uri:this.errorUri}},e}();t.TokenError=r},WrvZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationRequest=void 0;var r=n("sS3n"),i=n("wZHQ"),o=function(){function e(t,n,i){void 0===n&&(n=new r.DefaultCrypto),void 0===i&&(i=!0),this.crypto=n,this.usePkce=i,this.clientId=t.client_id,this.redirectUri=t.redirect_uri,this.scope=t.scope,this.responseType=t.response_type||e.RESPONSE_TYPE_CODE,this.state=t.state||function(e){return e.generateRandom(10)}(n),this.extras=t.extras,this.internal=t.internal}return e.prototype.setupCodeVerifier=function(){var e=this;if(this.usePkce){var t=this.crypto.generateRandom(128);return this.crypto.deriveChallenge(t).catch((function(e){i.log("Unable to generate PKCE challenge. Not using PKCE",e)})).then((function(n){n&&(e.internal=e.internal||{},e.internal.code_verifier=t,e.extras=e.extras||{},e.extras.code_challenge=n,e.extras.code_challenge_method="S256")}))}return Promise.resolve()},e.prototype.toJson=function(){var e=this;return this.setupCodeVerifier().then((function(){return{response_type:e.responseType,client_id:e.clientId,redirect_uri:e.redirectUri,scope:e.scope,state:e.state,extras:e.extras,internal:e.internal}}))},e.RESPONSE_TYPE_TOKEN="token",e.RESPONSE_TYPE_CODE="code",e}();t.AuthorizationRequest=o},XbQM:function(e,t,n){"use strict";(function(e,r){var i=n("QRet"),o=n("WAZ4"),s=n("cWc2"),a=n("7V6f"),u=n("/KrD"),c=n("hZXd"),l=n("rOe0");const h="INVISIBLE_RECAPTCHA_VERIFIER_ID";var d;!function(e){e[e.PhoneNumber=0]="PhoneNumber",e[e.OTP=1]="OTP",e[e.Verifying=2]="Verifying"}(d||(d={}));const f=()=>{const{authState:t,init:n}=Object(s.a)(),[o,f]=Object(i.k)(d.PhoneNumber);return Object(i.d)((()=>{n(h)}),[n]),Object(i.d)((()=>{"sent"===t.state?f(d.OTP):"verifying"===t.state?f(d.Verifying):"error"===t.state&&"verifying"===t.occuredWhen&&f(d.OTP)}),[t,f]),e(r,null,e(l.d,{src:"https://www.flarehr.com/wp-content/uploads/2022/03/flare-logo.svg",alt:"Flare Logo"}),o===d.PhoneNumber&&e(u.a,null),o===d.OTP&&e(a.a,null),o===d.Verifying&&e(c.a,null),e("div",{id:h}))};t.a=()=>e(o.a,null,e(f,null))}).call(this,n("hosL").h,n("hosL").Fragment)},Zrjs:function(e,t,n){"use strict";var r=n("ovh1");e.exports=function(e,t){function n(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(i){return r.isUndefined(t[i])?r.isUndefined(e[i])?void 0:n(void 0,e[i]):n(e[i],t[i])}function o(e){if(!r.isUndefined(t[e]))return n(void 0,t[e])}function s(i){return r.isUndefined(t[i])?r.isUndefined(e[i])?void 0:n(void 0,e[i]):n(void 0,t[i])}function a(r){return r in t?n(e[r],t[r]):r in e?n(void 0,e[r]):void 0}t=t||{};var u={},c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,n=t(e);r.isUndefined(n)&&t!==a||(u[e]=n)})),u}},aECo:function(e,t,n){"use strict";var r=n("2KG9");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},aWKI:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=n("xsHj");Object(r.f)("firebase","9.16.0","app");var i=n("1PO9");let o=null,s=null;const a=e=>{s=e};t.a=()=>{if(!o){if(!s)throw"App hasn't been initialized yet. Avoid use getAuth() when not inizialized.";const e=Object(r.e)(s);o=Object(i.d)(e),o.setPersistence(i.e)}return o}},bRtl:function(e,t,n){"use strict";function r(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i,o=n("ovh1"),s=n("71kK"),a=n("OmE2"),u={"Content-Type":"application/x-www-form-urlencoded"},c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(i=n("zf4f")),i),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(r(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=!(t&&t.silentJSONParsing)&&"json"===this.responseType;if(n||t&&t.forcedJSONParsing&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){c.headers[e]=o.merge(u)})),e.exports=c},cON5:function(e,t,n){"use strict";var r=n("ovh1");e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},cWc2:function(e,t,n){"use strict";var r=n("QRet"),i=n("WAZ4");t.a=()=>Object(r.b)(i.b)},czhI:function(e,t,n){e.exports=n("TDIH")},e5jZ:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},fWrg:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("paZ/");const i=Object(r.c)("div")([{display:"flex",alignItems:"center",justifyContent:"center"}])},"fwl+":function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n("ovh1");e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var s=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},fxKM:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationError=t.AuthorizationResponse=void 0;var n=function(){function e(e){this.code=e.code,this.state=e.state}return e.prototype.toJson=function(){return{code:this.code,state:this.state}},e}();t.AuthorizationResponse=n;var r=function(){function e(e){this.error=e.error,this.errorDescription=e.error_description,this.errorUri=e.error_uri,this.state=e.state}return e.prototype.toJson=function(){return{error:this.error,error_description:this.errorDescription,error_uri:this.errorUri,state:this.state}},e}();t.AuthorizationError=r},gjG8:function(e,t,n){"use strict";var r=n("hosL"),i=n("QRet"),o=n("UNwp"),s=n("FIkf"),a=n("1kmk"),u=n("WrvZ"),c=n("5hdk"),l=n("B0/y"),h=n("QWY8"),d=n("sS3n"),f=n("OEJh"),A=n("JPIm"),p=n("uFtE");let g;const m=async(e,t)=>{const n=await h.AuthorizationServiceConfiguration.fetchFromIssuer(e,t);return g=n,n},M=async(e,t,n,r,i)=>{const o={};t&&(o.code_verifier=t);const s=new A.TokenRequest({client_id:r.clientId,redirect_uri:r.redirectUri,grant_type:A.GRANT_TYPE_AUTHORIZATION_CODE,code:e,refresh_token:void 0,extras:o});return await n.performTokenRequest(i,s)},v=e=>{if(e&&e.isValid())return e.accessToken},y=async e=>{try{const t=await e.storageBackend.getItem("appauth_current_authorization_request"),n=t&&await e.storageBackend.getItem((e=>`${e}_appauth_authorization_service_configuration`)(t));if(n){const e=JSON.parse(n);g=new h.AuthorizationServiceConfiguration(e)}return!0}catch(e){return!1}};var I=n("UfLo"),w=n("yKF6"),E=n("8NER"),D=n("vHwa");let N;!function(e){e[e.Loading=0]="Loading",e[e.Redirecting=1]="Redirecting",e[e.Returning=2]="Returning",e[e.Error=3]="Error",e[e.Complete=4]="Complete"}(N||(N={}));t.a=({apolloAccessToken:e})=>{const[t,n]=Object(i.k)(N.Loading),[h,A]=Object(i.k)(!1),[T,L]=Object(i.k)(),C=e=>{console.error(`[Link Workplace]: ${e}`)};Object(s.a)((async t=>{const r=e=>{C(e),n(N.Error)},i=await(async(e,t,n)=>{const r=new c.AuthorizationNotifier,i=new l.RedirectRequestHandler,o=new f.FetchRequestor,s=new p.BaseTokenRequestHandler(o);return i.setAuthorizationNotifier(r),r.setAuthorizationListener((async(r,i,o)=>{if(e(),await new Promise((e=>setTimeout(e,1e3))),o)return n(`[AuthListener]: Auth response error received: ${o.errorDescription}`);if(!i)return await t();let a;if(r.internal&&r.internal.code_verifier&&(a=r.internal.code_verifier),!g)return n("[AuthListener]: OIDC configuration not found");try{const e=await M(i.code,a,s,r,g),o=v(e);return o&&i.state?await t(o,i.state):n("[AuthListener]: Could not resolve access token or state")}catch(e){return n(`[AuthListener]: Token code exchange failed: ${e}`)}})),{authorizationHandler:i,tokenHandler:s,requestor:o}})((()=>n(N.Returning)),(async(i,s)=>{if(!i||!s)return n(N.Redirecting);try{const r=Object(o.a)(e);await Object(a.a)(i,s,r.sub,t),n(N.Complete)}catch(e){r(`Error when trying to establish workplace link: ${e}`)}}),r);L(i)}),[]),Object(s.a)((async()=>{T&&(await(async e=>{await y(e),await e.completeAuthorizationRequestIfPossible()})(T.authorizationHandler),await new Promise((e=>setTimeout(e,1e3))),A(!0))}),[T]),Object(i.d)((()=>{T&&t===N.Loading&&h&&n(N.Redirecting)}),[T,t,h]),Object(s.a)((async r=>{if(T&&t===N.Redirecting)try{const t=await Object(a.d)(e,r);if(t.isEstablished)return n(N.Complete);if(t.linkRequest){const e={openIdConnectUrl:t.linkRequest.openIdConnectUrl,clientId:t.linkRequest.clientId,redirectUri:Object(D.b)(),scope:`${t.linkRequest.clientId} openid`,state:t.linkRequest.linkRequestId};await(async(e,t,n)=>{const r=await m(n.openIdConnectUrl,e),i=new u.AuthorizationRequest({client_id:n.clientId,redirect_uri:n.redirectUri,scope:n.scope,response_type:u.AuthorizationRequest.RESPONSE_TYPE_CODE,state:n.state,extras:{response_mode:"fragment",prompt:"login",option:"signup"}},new d.DefaultCrypto,!0);t.performAuthorizationRequest(r,i)})(T.requestor,null==T?void 0:T.authorizationHandler,e)}else C("Invalid response when requesting a workplace link"),n(N.Error)}catch(e){C(`Could not redirect to OIDC provider: ${e}`),n(N.Error)}}),[T,t]),Object(i.d)((()=>{t===N.Complete&&Object(D.a)()}),[t]);const b=t==N.Loading||t==N.Redirecting||t==N.Returning;return Object(r.h)(r.Fragment,null,b&&Object(r.h)(I.a,{isActive:b}),t==N.Error&&Object(r.h)(E.a,null),t==N.Complete&&Object(r.h)(w.a,null))}},guUT:function(e,t,n){"use strict";function r(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new u("canceled")}var i=n("ovh1"),o=n("4OlW"),s=n("e5jZ"),a=n("bRtl"),u=n("tImM");e.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return r(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(r(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},h1Um:function(e,t,n){"use strict";var r=n("Rzld"),i=n("hUM7");e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},hUM7:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},hZXd:function(e,t,n){"use strict";(function(e){var r=n("VB+g"),i=n("rOe0");t.a=()=>e(i.e,null,e(r.b,{className:"spin"}),e(i.f,null,"Please wait while we process your information."))}).call(this,n("hosL").h)},hosL:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e){var t=e.parentNode;t&&t.removeChild(e)}function o(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?j.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return s(e,a,r,i,null)}function s(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++_:i};return null==i&&null!=k.vnode&&k.vnode(o),o}function a(){return{current:null}}function u(e){return e.children}function c(e,t){this.props=e,this.context=t}function l(e,t){if(null==t)return e.__?l(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?l(e):null}function h(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return h(e)}}function d(e){(!e.__d&&(e.__d=!0)&&z.push(e)&&!f.__r++||P!==k.debounceRendering)&&((P=k.debounceRendering)||R)(f)}function f(){for(var e;f.__r=z.length;)e=z.sort((function(e,t){return e.__v.__b-t.__v.__b})),z=[],e.some((function(e){var t,n,i,o,s,a;e.__d&&(s=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(i=r({},o)).__v=o.__v+1,w(a,o,i,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[s]:null,n,null==s?l(o):s,o.__h),E(n,o),o.__e!=s&&h(o)))}))}function A(e,t,n,r,i,o,a,c,h,d){var f,A,g,M,v,y,I,E=r&&r.__k||Q,D=E.length;for(n.__k=[],f=0;f<t.length;f++)if(null!=(M=n.__k[f]=null==(M=t[f])||"boolean"==typeof M?null:"string"==typeof M||"number"==typeof M||"bigint"==typeof M?s(null,M,null,null,M):Array.isArray(M)?s(u,{children:M},null,null,null):M.__b>0?s(M.type,M.props,M.key,null,M.__v):M)){if(M.__=n,M.__b=n.__b+1,null===(g=E[f])||g&&M.key==g.key&&M.type===g.type)E[f]=void 0;else for(A=0;A<D;A++){if((g=E[A])&&M.key==g.key&&M.type===g.type){E[A]=void 0;break}g=null}w(e,M,g=g||B,i,o,a,c,h,d),v=M.__e,(A=M.ref)&&g.ref!=A&&(I||(I=[]),g.ref&&I.push(g.ref,null,M),I.push(A,M.__c||v,M)),null!=v?(null==y&&(y=v),"function"==typeof M.type&&M.__k===g.__k?M.__d=h=p(M,h,e):h=m(e,M,g,E,v,h),"function"==typeof n.type&&(n.__d=h)):h&&g.__e==h&&h.parentNode!=e&&(h=l(g))}for(n.__e=y,f=D;f--;)null!=E[f]&&("function"==typeof n.type&&null!=E[f].__e&&E[f].__e==n.__d&&(n.__d=l(r,f+1)),T(E[f],E[f]));if(I)for(f=0;f<I.length;f++)N(I[f],I[++f],I[++f])}function p(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?p(r,t,n):m(n,r,r,i,r.__e,t));return t}function g(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){g(e,t)})):t.push(e)),t}function m(e,t,n,r,i,o){var s,a,u;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,u=0;(a=a.nextSibling)&&u<r.length;u+=2)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function M(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||Y.test(t)?n:n+"px"}function v(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?I:y,o):e.removeEventListener(t,o?I:y,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function y(e){this.l[e.type+!1](k.event?k.event(e):e)}function I(e){this.l[e.type+!0](k.event?k.event(e):e)}function w(e,t,n,i,o,s,a,l,h){var d,f,p,g,m,M,v,y,I,w,E,N=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(h=n.__h,l=t.__e=n.__e,t.__h=null,s=[l]),(d=k.__b)&&d(t);try{e:if("function"==typeof N){if(y=t.props,I=(d=N.contextType)&&i[d.__c],w=d?I?I.props.value:d.__:i,n.__c?v=(f=t.__c=n.__c).__=f.__E:("prototype"in N&&N.prototype.render?t.__c=f=new N(y,w):(t.__c=f=new c(y,w),f.constructor=N,f.render=L),I&&I.sub(f),f.props=y,f.state||(f.state={}),f.context=w,f.__n=i,p=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=N.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=r({},f.__s)),r(f.__s,N.getDerivedStateFromProps(y,f.__s))),g=f.props,m=f.state,p)null==N.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==N.getDerivedStateFromProps&&y!==g&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(y,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(y,f.__s,w)||t.__v===n.__v){f.props=y,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(y,f.__s,w),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(g,m,M)}))}f.context=w,f.props=y,f.state=f.__s,(d=k.__r)&&d(t),f.__d=!1,f.__v=t,f.__P=e,d=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(i=r(r({},i),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(M=f.getSnapshotBeforeUpdate(g,m)),E=null!=d&&d.type===u&&null==d.key?d.props.children:d,A(e,Array.isArray(E)?E:[E],t,n,i,o,s,a,l,h),f.base=t.__e,t.__h=null,f.__h.length&&a.push(f),v&&(f.__E=f.__=null),f.__e=!1}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=D(n.__e,t,n,i,o,s,a,h);(d=k.diffed)&&d(t)}catch(e){t.__v=null,(h||null!=s)&&(t.__e=l,t.__h=!!h,s[s.indexOf(l)]=null),k.__e(e,t,n)}}function E(e,t){k.__c&&k.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){k.__e(e,t.__v)}}))}function D(e,t,n,r,o,s,a,u){var c,h,d,f=n.props,p=t.props,g=t.type,m=0;if("svg"===g&&(o=!0),null!=s)for(;m<s.length;m++)if((c=s[m])&&(c===e||(g?c.localName==g:3==c.nodeType))){e=c,s[m]=null;break}if(null==e){if(null===g)return document.createTextNode(p);e=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),s=null,u=!1}if(null===g)f===p||u&&e.data===p||(e.data=p);else{if(s=s&&j.call(e.childNodes),h=(f=n.props||B).dangerouslySetInnerHTML,d=p.dangerouslySetInnerHTML,!u){if(null!=s)for(f={},m=0;m<e.attributes.length;m++)f[e.attributes[m].name]=e.attributes[m].value;(d||h)&&(d&&(h&&d.__html==h.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||v(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||v(e,o,t[o],n[o],r)}(e,p,f,o,u),d)t.__k=[];else if(m=t.props.children,A(e,Array.isArray(m)?m:[m],t,n,r,o&&"foreignObject"!==g,s,a,s?s[0]:n.__k&&l(n,0),u),null!=s)for(m=s.length;m--;)null!=s[m]&&i(s[m]);u||("value"in p&&void 0!==(m=p.value)&&(m!==e.value||"progress"===g&&!m)&&v(e,"value",m,f.value,!1),"checked"in p&&void 0!==(m=p.checked)&&m!==e.checked&&v(e,"checked",m,f.checked,!1))}return e}function N(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){k.__e(e,n)}}function T(e,t,n){var r,o;if(k.unmount&&k.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||N(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){k.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&T(r[o],t,"function"!=typeof e.type);n||null==e.__e||i(e.__e),e.__e=e.__d=void 0}function L(e,t,n){return this.constructor(e,n)}function C(e,t,n){var r,i,s;k.__&&k.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,s=[],w(t,e=(!r&&n||t).__k=o(u,null,[e]),i||B,B,void 0!==t.ownerSVGElement,!r&&n?[n]:i?null:t.firstChild?j.call(t.childNodes):null,s,!r&&n?n:i?i.__e:t.firstChild,r),E(s,e)}function b(e,t){C(e,t,b)}function O(e,t,n){var i,o,a,u=r({},e.props);for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:u[a]=t[a];return arguments.length>2&&(u.children=arguments.length>3?j.call(arguments,2):n),s(e.type,u,i||e.key,o||e.ref,null)}function S(e,t){var n={__c:t="__cC"+U++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(d)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}n.r(t),n.d(t,"render",(function(){return C})),n.d(t,"hydrate",(function(){return b})),n.d(t,"createElement",(function(){return o})),n.d(t,"h",(function(){return o})),n.d(t,"Fragment",(function(){return u})),n.d(t,"createRef",(function(){return a})),n.d(t,"isValidElement",(function(){return x})),n.d(t,"Component",(function(){return c})),n.d(t,"cloneElement",(function(){return O})),n.d(t,"createContext",(function(){return S})),n.d(t,"toChildArray",(function(){return g})),n.d(t,"options",(function(){return k}));var j,k,_,x,z,R,P,U,B={},Q=[],Y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;j=Q.slice,k={__e:function(e,t){for(var n,r,i;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),i=n.__d),i)return n.__E=n}catch(t){e=t}throw e}},_=0,x=function(e){return null!=e&&void 0===e.constructor},c.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=r({},this.state),"function"==typeof e&&(e=e(r({},n),this.props)),e&&r(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),d(this))},c.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),d(this))},c.prototype.render=u,z=[],R="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f.__r=0,U=0},i0F7:function(e,t,n){"use strict";function r(){this.handlers=[]}var i=n("ovh1");r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},keIi:function(e,t,n){"use strict";var r=n("4jJt").version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],u=void 0===a||s(a,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},l8WD:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function o(e){this.props=e}function s(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:i(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Object(T.createElement)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}function a(e){function t(t,n){var i=r({},t);return delete i.ref,e(i,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=C,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}function u(){this.__u=0,this.t=null,this.__b=null}function c(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function l(e){function t(t){if(n||(n=e()).then((function(e){r=e.default||e}),(function(e){i=e})),i)throw i;if(!r)throw n;return Object(T.createElement)(r,t)}var n,r,i;return t.displayName="Lazy",t.__f=!0,t}function h(){this.u=null,this.o=null}function d(e){return this.getChildContext=function(){return e.context},e.children}function f(e){var t=this,n=e.i;t.componentWillUnmount=function(){Object(T.render)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Object(T.render)(Object(T.createElement)(d,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function A(e,t){return Object(T.createElement)(f,{__v:e,i:t})}function p(e,t,n){return null==t.__k&&(t.textContent=""),Object(T.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function g(e,t,n){return Object(T.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}function m(){}function M(){return this.cancelBubble}function v(){return this.defaultPrevented}function y(e){return T.createElement.bind(null,e)}function I(e){return!!e&&e.$$typeof===_}function w(e){return I(e)?T.cloneElement.apply(null,arguments):e}function E(e){return!!e.__k&&(Object(T.render)(null,e),!0)}function D(e){return e&&(e.base||1===e.nodeType&&e)||null}n.r(t),n.d(t,"version",(function(){return J})),n.d(t,"Children",(function(){return O})),n.d(t,"render",(function(){return p})),n.d(t,"hydrate",(function(){return g})),n.d(t,"unmountComponentAtNode",(function(){return E})),n.d(t,"createPortal",(function(){return A})),n.d(t,"createFactory",(function(){return y})),n.d(t,"cloneElement",(function(){return w})),n.d(t,"isValidElement",(function(){return I})),n.d(t,"findDOMNode",(function(){return D})),n.d(t,"PureComponent",(function(){return o})),n.d(t,"memo",(function(){return s})),n.d(t,"forwardRef",(function(){return a})),n.d(t,"flushSync",(function(){return V})),n.d(t,"unstable_batchedUpdates",(function(){return H})),n.d(t,"StrictMode",(function(){return W})),n.d(t,"Suspense",(function(){return u})),n.d(t,"SuspenseList",(function(){return h})),n.d(t,"lazy",(function(){return l})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return F}));var N=n("QRet");n.d(t,"useState",(function(){return N.k})),n.d(t,"useReducer",(function(){return N.i})),n.d(t,"useEffect",(function(){return N.d})),n.d(t,"useLayoutEffect",(function(){return N.g})),n.d(t,"useRef",(function(){return N.j})),n.d(t,"useImperativeHandle",(function(){return N.f})),n.d(t,"useMemo",(function(){return N.h})),n.d(t,"useCallback",(function(){return N.a})),n.d(t,"useContext",(function(){return N.b})),n.d(t,"useDebugValue",(function(){return N.c})),n.d(t,"useErrorBoundary",(function(){return N.e}));var T=n("hosL");n.d(t,"createElement",(function(){return T.createElement})),n.d(t,"createContext",(function(){return T.createContext})),n.d(t,"createRef",(function(){return T.createRef})),n.d(t,"Fragment",(function(){return T.Fragment})),n.d(t,"Component",(function(){return T.Component})),(o.prototype=new T.Component).isPureReactComponent=!0,o.prototype.shouldComponentUpdate=function(e,t){return i(this.props,e)||i(this.state,t)};var L=T.options.__b;T.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),L&&L(e)};var C="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,b=function(e,t){return null==e?null:Object(T.toChildArray)(Object(T.toChildArray)(e).map(t))},O={map:b,forEach:b,count:function(e){return e?Object(T.toChildArray)(e).length:0},only:function(e){var t=Object(T.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:T.toChildArray},S=T.options.__e;T.options.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);S(e,t,n)};var j=T.options.unmount;T.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),j&&j(e)},(u.prototype=new T.Component).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=c(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},u=!0===t.__h;r.__u++||u||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(s,s)},u.prototype.componentWillUnmount=function(){this.t=[]},u.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=r({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,i)}))),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__e&&Object(T.createElement)(T.Fragment,null,e.fallback);return o&&(o.__h=null),[Object(T.createElement)(T.Fragment,null,t.__e?null:e.children),o]};var k=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(h.prototype=new T.Component).__e=function(e){var t=this,n=c(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),k(t,e,r)):i()};n?n(o):o()}},h.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(T.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},h.prototype.componentDidUpdate=h.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){k(e,n,t)}))};var _="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,x=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,z="undefined"!=typeof document,R=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};T.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(T.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var P=T.options.event;T.options.event=function(e){return P&&(e=P(e)),e.persist=m,e.isPropagationStopped=M,e.isDefaultPrevented=v,e.nativeEvent=e};var U,B={configurable:!0,get:function(){return this.class}},Q=T.options.vnode;T.options.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var s=n[o];z&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!R(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():i&&x.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===s&&(s=void 0),r[o]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(T.toChildArray)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Object(T.toChildArray)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(B.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",B)),e.$$typeof=_,Q&&Q(e)};var Y=T.options.__r;T.options.__r=function(e){Y&&Y(e),U=e.__c};var F={ReactCurrentDispatcher:{current:{readContext:function(e){return U.__n[e.__c].props.value}}}},J="17.0.2",H=function(e,t){return e(t)},V=function(e,t){return e(t)},W=T.Fragment;t.default={useState:N.k,useReducer:N.i,useEffect:N.d,useLayoutEffect:N.g,useRef:N.j,useImperativeHandle:N.f,useMemo:N.h,useCallback:N.a,useContext:N.b,useDebugValue:N.c,version:"17.0.2",Children:O,render:p,hydrate:g,unmountComponentAtNode:E,createPortal:A,createElement:T.createElement,createContext:T.createContext,createFactory:y,cloneElement:w,createRef:T.createRef,Fragment:T.Fragment,isValidElement:I,findDOMNode:D,Component:T.Component,PureComponent:o,memo:s,forwardRef:a,flushSync:V,unstable_batchedUpdates:H,StrictMode:T.Fragment,Suspense:u,SuspenseList:h,lazy:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:F}},"lA+w":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppAuthError=void 0,t.AppAuthError=function(e,t){this.message=e,this.extras=t}},lVTs:function(e,t,n){function r(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var i=n("61Rr"),o=n("s+BS"),s=n("5wDt"),a=n("LmYF"),u=n("ISih"),c=r.prototype;c.addData=function(e){var t=new i(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),n=new s,r=0,i=0;i<t.length;i++)r+=t[i].dataCount;for(i=0;i<this.dataList.length;i++){var u=this.dataList[i];n.put(u.mode,4),n.put(u.getLength(),a.getLengthInBits(u.mode,e)),u.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},c.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,s=0;s<this.modules[i].length;s++){var a=1*s;this.modules[i][s]&&(r.beginFill(0,100),r.moveTo(a,o),r.lineTo(a+1,o),r.lineTo(a+1,o+1),r.lineTo(a,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][i+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},c.setupTypeNumber=function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},c.setupTypeInfo=function(e,t){for(var n=a.getBCHTypeInfo(this.errorCorrectLevel<<3|t),r=0;r<15;r++){var i=!e&&1==(n>>r&1);r<6?this.modules[r][8]=i:r<8?this.modules[r+1][8]=i:this.modules[this.moduleCount-15+r][8]=i}for(r=0;r<15;r++){i=!e&&1==(n>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=i:r<9?this.modules[8][15-r-1+1]=i:this.modules[8][15-r-1]=i}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[r][s-u]){var c=!1;o<e.length&&(c=1==(e[o]>>>i&1)),a.getMask(t,r,s-u)&&(c=!c),this.modules[r][s-u]=c,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},r.PAD0=236,r.PAD1=17,r.createData=function(e,t,n){for(var i=o.getRSBlocks(e,t),u=new s,c=0;c<n.length;c++){var l=n[c];u.put(l.mode,4),u.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(u)}var h=0;for(c=0;c<i.length;c++)h+=i[c].dataCount;if(u.getLengthInBits()>8*h)throw new Error("code length overflow. ("+u.getLengthInBits()+">"+8*h+")");for(u.getLengthInBits()+4<=8*h&&u.put(0,4);u.getLengthInBits()%8!=0;)u.putBit(!1);for(;!(u.getLengthInBits()>=8*h||(u.put(r.PAD0,8),u.getLengthInBits()>=8*h));)u.put(r.PAD1,8);return r.createBytes(u,i)},r.createBytes=function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),s=new Array(t.length),c=0;c<t.length;c++){var l=t[c].dataCount,h=t[c].totalCount-l;r=Math.max(r,l),i=Math.max(i,h),o[c]=new Array(l);for(var d=0;d<o[c].length;d++)o[c][d]=255&e.buffer[d+n];n+=l;var f=a.getErrorCorrectPolynomial(h),A=new u(o[c],f.getLength()-1).mod(f);s[c]=new Array(f.getLength()-1);for(d=0;d<s[c].length;d++){var p=d+A.getLength()-s[c].length;s[c][d]=p>=0?A.get(p):0}}var g=0;for(d=0;d<t.length;d++)g+=t[d].totalCount;var m=new Array(g),M=0;for(d=0;d<r;d++)for(c=0;c<t.length;c++)d<o[c].length&&(m[M++]=o[c][d]);for(d=0;d<i;d++)for(c=0;c<t.length;c++)d<s[c].length&&(m[M++]=s[c][d]);return m},e.exports=r},li6C:function(e,t,n){"use strict";function r(e){o.forEach((t=>{t.setLogLevel(e)}))}function i(e,t){for(const n of o){let r=null;t&&t.level&&(r=a[t.level]),n.userLogHandler=null===e?null:(t,n,...i)=>{const o=i.map((e=>{if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(e){return null}})).filter((e=>e)).join(" ");n>=(null!=r?r:t.logLevel)&&e({level:s[n].toLowerCase(),message:o,args:i,type:t.name})}}}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i}));const o=[];var s;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(s||(s={}));const a={debug:s.DEBUG,verbose:s.VERBOSE,info:s.INFO,warn:s.WARN,error:s.ERROR,silent:s.SILENT},u=s.INFO,c={[s.DEBUG]:"log",[s.VERBOSE]:"log",[s.INFO]:"info",[s.WARN]:"warn",[s.ERROR]:"error"},l=(e,t,...n)=>{if(t<e.logLevel)return;const r=(new Date).toISOString(),i=c[t];if(!i)throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`);console[i](`[${r}] ${e.name}:`,...n)};class h{constructor(e){this.name=e,this._logLevel=u,this._logHandler=l,this._userLogHandler=null,o.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in s))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?a[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,s.DEBUG,...e),this._logHandler(this,s.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,s.VERBOSE,...e),this._logHandler(this,s.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,s.INFO,...e),this._logHandler(this,s.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,s.WARN,...e),this._logHandler(this,s.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,s.ERROR,...e),this._logHandler(this,s.ERROR,...e)}}},mdyV:function(e,t,n){"use strict";n.r(t);var r=n("hosL");const{h:i,render:o,hydrate:s}=r,a=e=>e&&e.default?e.default:e;if("function"==typeof a(n("/hs+"))){let e=document.getElementById("preact_root")||document.body.firstElementChild,t=()=>{let t=a(n("/hs+")),r={};const s=document.querySelector('[type="__PREACT_CLI_DATA__"]');s&&(r=JSON.parse(decodeURI(s.innerHTML)).preRenderData||r);r.url&&(u=r.url);var u;e=o(i(t,{CLI_DATA:{preRenderData:r}}),document.body,e)};0,t()}},"oLW/":function(e){e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},ovh1:function(e,t,n){"use strict";function r(e){return"[object Array]"===l.call(e)}function i(e){return void 0===e}function o(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==l.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function a(e){return"[object Function]"===l.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var c=n("5QbJ"),l=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:function(e){return"[object ArrayBuffer]"===l.call(e)},isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isPlainObject:s,isUndefined:i,isDate:function(e){return"[object Date]"===l.call(e)},isFile:function(e){return"[object File]"===l.call(e)},isBlob:function(e){return"[object Blob]"===l.call(e)},isFunction:a,isStream:function(e){return o(e)&&a(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){function t(t,i){n[i]=s(n[i])&&s(t)?e(n[i],t):s(t)?e({},t):r(t)?t.slice():t}for(var n={},i=0,o=arguments.length;i<o;i++)u(arguments[i],t);return n},extend:function(e,t,n){return u(t,(function(t,r){e[r]=n&&"function"==typeof t?c(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},pCvA:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t},"paZ/":function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function i(e){let t=this||{},n=e.call?e(t.p):e;return m(n.unshift?n.raw?M(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>n?r(e,n.call?n(t.p):n):e),{}):n,h(t.target),t.g,t.o,t.k)}function o(e,t,n,r){A.p=t,a=e,u=n,c=r}function s(e,t){let n=this||{};return function(){function o(l,h){let d=r({},l),f=d.className||o.className;n.p=r({theme:u&&u()},d),n.o=/ *go\d+/.test(f),d.className=i.apply(n,s)+(f?" "+f:""),t&&(d.ref=h);let A=d.as||e;return delete d.as,c&&A[0]&&c(d),a(A,d)}let s=arguments;return t?t(o):o}}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s}));let a,u,c,l={data:""},h=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||r((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||l,d=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,f=/\/\*[^]*?\*\/|\s\s+|\n/g,A=(e,t)=>{let n,r="",i="",o="";for(let s in e){let a=e[s];"object"==typeof a?(n=t?t.replace(/([^,])+/g,(e=>s.replace(/([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):s,i+="@"==s[0]?"f"==s[1]?A(a,s):s+"{"+A(a,"k"==s[1]?"":t)+"}":A(a,n)):"@"==s[0]&&"i"==s[1]?r=s+" "+a+";":(s=s.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=A.p?A.p(s,a):s+":"+a+";")}return o[0]?(n=t?t+"{"+o+"}":o,r+n+i):r+i},p={},g=e=>{let t="";for(let n in e)t+=n+("object"==typeof e[n]?g(e[n]):e[n]);return t},m=(e,t,n,r,i)=>{let o="object"==typeof e?g(e):e,s=p[o]||(p[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(o));if(!p[s]){let t="object"==typeof e?e:(e=>{let t,n=[{}];for(;t=d.exec(e.replace(f,""));)t[4]&&n.shift(),t[3]?n.unshift(n[0][t[3]]=n[0][t[3]]||{}):t[4]||(n[0][t[1]]=t[2]);return n[0]})(e);p[s]=A(i?{["@keyframes "+s]:t}:t,n?"":"."+s)}return((e,t,n)=>{-1==t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(p[s],t,r),s},M=(e,t,n)=>e.reduce(((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":A(e,""):!1===e?"":e}return e+r+(null==o?"":o)}),"");i.bind({g:1}),i.bind({k:1})},qtd4:function(e,t,n){"use strict";(function(e){var r,i=n("UNwp"),o=n("QRet"),s=n("FIkf"),a=n("1kmk"),u=n("vHwa"),c=n("yKF6"),l=n("8NER"),h=n("XbQM"),d=n("UfLo"),f=n("tJLs"),A=n("GGjp");!function(e){e[e.Requesting=0]="Requesting",e[e.Authenticating=1]="Authenticating",e[e.Authenticated=2]="Authenticated",e[e.Establishing=3]="Establishing",e[e.Error=4]="Error",e[e.Complete=5]="Complete"}(r||(r={}));t.a=t=>{const{idToken:n}=Object(A.a)(),[p,g]=Object(o.k)(r.Authenticating),{apolloAccessToken:m}=t,[M,v]=Object(o.k)("");Object(s.a)((async e=>{try{switch(p){case r.Requesting:await(async e=>{try{var t,n;const r=await Object(a.d)(m,e);return v(null!==(t=null===(n=r.linkRequest)||void 0===n?void 0:n.linkRequestId)&&void 0!==t?t:""),{isEstablished:r.isEstablished}}catch(e){throw`[Link Workplace]: Error when requesting a workplace link: ${e}`}})(e).then((e=>{g(e.isEstablished?r.Complete:r.Authenticating)}));break;case r.Authenticating:n&&g(r.Authenticated);break;case r.Authenticated:g(r.Establishing);break;case r.Establishing:await(async(e,t)=>{const{sub:r}=Object(i.a)(m);try{return await Object(a.a)(n,e,r,t)}catch(e){throw`[Link Workplace]: Error when trying to establish workplace link: ${e}`}})(M,e),g(r.Complete);break;case r.Complete:Object(u.a)()}}catch(e){console.log(e),g(r.Error)}}),[p,n]);const y=void 0===p||p==r.Requesting||p==r.Establishing;return e(f.a,null,y&&e(d.a,{isActive:y}),p===r.Authenticating&&e(h.a,null),p===r.Error&&e(l.a,null),p===r.Complete&&e(c.a,null))}}).call(this,n("hosL").h)},rOe0:function(e,t,n){"use strict";n.d(t,"d",(function(){return A})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return M})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return y})),n.d(t,"a",(function(){return I})),n.d(t,"e",(function(){return w}));var r=n("paZ/");let i,o,s,a,u,c,l,h,d,f=e=>e;const A=Object(r.c)("img")(i||(i=f`
|
|
89
|
+
`),(()=>({width:"1.5rem",height:"1.5rem",borderWidth:"2px",animation:"spin 1s linear infinite",borderRadius:"9999px",borderColor:"currentColor",borderTopColor:"rgba(0, 0, 0, 0)",borderLeftColor:"rgba(0, 0, 0, 0)"})));t.b=o},WAZ4:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n("1PO9"),i=n("hosL"),o=n("QRet"),s=n("ue2Z"),a=n("aWKI");const u=e=>{switch(e.code){case r.a.CAPTCHA_CHECK_FAILED:return s.a.INVALID_RECAPTCHA;case r.a.INVALID_PHONE_NUMBER:case r.a.MISSING_PHONE_NUMBER:return s.a.INVALID_PHONE_NUMBER;case r.a.USER_DISABLED:return s.a.INVALID_ACCOUNT;case r.a.INVALID_IDP_RESPONSE:case r.a.INVALID_CODE:case r.a.INVALID_SESSION_INFO:return s.a.INVALID_OTP;default:throw e.message}},c=Object(i.createContext)({authState:{state:"idle"},init:()=>{},sendOtp:async()=>!0,resendOtp:async()=>!0,verifyOtp:async()=>!0}),l=({children:t})=>{const n=(()=>{const[e,t]=Object(o.k)({state:"idle"}),n=Object(o.j)(null),i=Object(o.j)(""),s=Object(o.j)("");return{authState:e,init:e=>{n.current||(n.current=new r.c(e,{size:"invisible"},Object(a.a)()))},sendOtp:async e=>{if(!n.current)throw Error("[Sign in]: RecaptchaVerifier has not been initialized yet, please call init()");s.current=e,t({state:"sending"});try{const o=new r.b(Object(a.a)()),s=await o.verifyPhoneNumber(e,n.current);return i.current=s,t({state:"sent",phoneNumber:e}),!0}catch(e){return t({state:"error",occuredWhen:"sending",error:u(e)}),!1}},verifyOtp:async e=>{if(!i.current)throw Error("[Sign in]: Please verify phone number first and then verify OTP.");t({state:"verifying"});try{const n=r.b.credential(i.current,e);return await Object(r.f)(Object(a.a)(),n),t({state:"verified"}),!0}catch(e){return t({state:"error",occuredWhen:"verifying",error:u(e)}),!1}},resendOtp:async()=>{if(!s.current||!n.current)throw Error("[Sign in]: Please verify phone number first and then resend OTP.");t({state:"resending"});try{const e=new r.b(Object(a.a)()),o=await e.verifyPhoneNumber(s.current,n.current);return i.current=o,t({state:"sent",phoneNumber:s.current}),!0}catch(e){return t({state:"error",occuredWhen:"resending",error:u(e)}),!1}}}})();return e(c.Provider,{value:n},t)};t.b=c}).call(this,n("hosL").h)},WMFz:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenError=t.TokenResponse=t.nowInSeconds=void 0;t.nowInSeconds=function(){return Math.round((new Date).getTime()/1e3)};var n=function(){function e(e){this.accessToken=e.access_token,this.tokenType=e.token_type||"bearer",e.expires_in&&(this.expiresIn=parseInt(e.expires_in,10)),this.refreshToken=e.refresh_token,this.scope=e.scope,this.idToken=e.id_token,this.issuedAt=e.issued_at||t.nowInSeconds()}return e.prototype.toJson=function(){var e;return{access_token:this.accessToken,id_token:this.idToken,refresh_token:this.refreshToken,scope:this.scope,token_type:this.tokenType,issued_at:this.issuedAt,expires_in:null===(e=this.expiresIn)||void 0===e?void 0:e.toString()}},e.prototype.isValid=function(e){return void 0===e&&(e=-600),!this.expiresIn||t.nowInSeconds()<this.issuedAt+this.expiresIn+e},e}();t.TokenResponse=n;var r=function(){function e(e){this.error=e.error,this.errorDescription=e.error_description,this.errorUri=e.error_uri}return e.prototype.toJson=function(){return{error:this.error,error_description:this.errorDescription,error_uri:this.errorUri}},e}();t.TokenError=r},WrvZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationRequest=void 0;var r=n("sS3n"),i=n("wZHQ"),o=function(){function e(t,n,i){void 0===n&&(n=new r.DefaultCrypto),void 0===i&&(i=!0),this.crypto=n,this.usePkce=i,this.clientId=t.client_id,this.redirectUri=t.redirect_uri,this.scope=t.scope,this.responseType=t.response_type||e.RESPONSE_TYPE_CODE,this.state=t.state||function(e){return e.generateRandom(10)}(n),this.extras=t.extras,this.internal=t.internal}return e.prototype.setupCodeVerifier=function(){var e=this;if(this.usePkce){var t=this.crypto.generateRandom(128);return this.crypto.deriveChallenge(t).catch((function(e){i.log("Unable to generate PKCE challenge. Not using PKCE",e)})).then((function(n){n&&(e.internal=e.internal||{},e.internal.code_verifier=t,e.extras=e.extras||{},e.extras.code_challenge=n,e.extras.code_challenge_method="S256")}))}return Promise.resolve()},e.prototype.toJson=function(){var e=this;return this.setupCodeVerifier().then((function(){return{response_type:e.responseType,client_id:e.clientId,redirect_uri:e.redirectUri,scope:e.scope,state:e.state,extras:e.extras,internal:e.internal}}))},e.RESPONSE_TYPE_TOKEN="token",e.RESPONSE_TYPE_CODE="code",e}();t.AuthorizationRequest=o},XbQM:function(e,t,n){"use strict";(function(e,r){var i=n("QRet"),o=n("WAZ4"),s=n("cWc2"),a=n("7V6f"),u=n("/KrD"),c=n("hZXd"),l=n("rOe0");const h="INVISIBLE_RECAPTCHA_VERIFIER_ID";var d;!function(e){e[e.PhoneNumber=0]="PhoneNumber",e[e.OTP=1]="OTP",e[e.Verifying=2]="Verifying"}(d||(d={}));const f=()=>{const{authState:t,init:n}=Object(s.a)(),[o,f]=Object(i.k)(d.PhoneNumber);return Object(i.d)((()=>{n(h)}),[n]),Object(i.d)((()=>{"sent"===t.state?f(d.OTP):"verifying"===t.state?f(d.Verifying):"error"===t.state&&"verifying"===t.occuredWhen&&f(d.OTP)}),[t,f]),e(r,null,e(l.d,{src:"https://www.flarehr.com/wp-content/uploads/2022/03/flare-logo.svg",alt:"Flare Logo"}),o===d.PhoneNumber&&e(u.a,null),o===d.OTP&&e(a.a,null),o===d.Verifying&&e(c.a,null),e("div",{id:h}))};t.a=()=>e(o.a,null,e(f,null))}).call(this,n("hosL").h,n("hosL").Fragment)},Zrjs:function(e,t,n){"use strict";var r=n("ovh1");e.exports=function(e,t){function n(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(i){return r.isUndefined(t[i])?r.isUndefined(e[i])?void 0:n(void 0,e[i]):n(e[i],t[i])}function o(e){if(!r.isUndefined(t[e]))return n(void 0,t[e])}function s(i){return r.isUndefined(t[i])?r.isUndefined(e[i])?void 0:n(void 0,e[i]):n(void 0,t[i])}function a(r){return r in t?n(e[r],t[r]):r in e?n(void 0,e[r]):void 0}t=t||{};var u={},c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,n=t(e);r.isUndefined(n)&&t!==a||(u[e]=n)})),u}},aECo:function(e,t,n){"use strict";var r=n("2KG9");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},aWKI:function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=n("xsHj");Object(r.f)("firebase","9.16.0","app");var i=n("1PO9");let o=null,s=null;const a=e=>{s=e};t.a=()=>{if(!o){if(!s)throw"App hasn't been initialized yet. Avoid use getAuth() when not inizialized.";const e=Object(r.e)(s);o=Object(i.d)(e),o.setPersistence(i.e)}return o}},bRtl:function(e,t,n){"use strict";function r(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i,o=n("ovh1"),s=n("71kK"),a=n("OmE2"),u={"Content-Type":"application/x-www-form-urlencoded"},c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(i=n("zf4f")),i),transformRequest:[function(e,t){return s(t,"Accept"),s(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(r(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=!(t&&t.silentJSONParsing)&&"json"===this.responseType;if(n||t&&t.forcedJSONParsing&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){c.headers[e]=o.merge(u)})),e.exports=c},cON5:function(e,t,n){"use strict";var r=n("ovh1");e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}},cWc2:function(e,t,n){"use strict";var r=n("QRet"),i=n("WAZ4");t.a=()=>Object(r.b)(i.b)},czhI:function(e,t,n){e.exports=n("TDIH")},e5jZ:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},fWrg:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("paZ/");const i=Object(r.c)("div")([{display:"flex",alignItems:"center",justifyContent:"center"}])},"fwl+":function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n("ovh1");e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var s=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},fxKM:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationError=t.AuthorizationResponse=void 0;var n=function(){function e(e){this.code=e.code,this.state=e.state}return e.prototype.toJson=function(){return{code:this.code,state:this.state}},e}();t.AuthorizationResponse=n;var r=function(){function e(e){this.error=e.error,this.errorDescription=e.error_description,this.errorUri=e.error_uri,this.state=e.state}return e.prototype.toJson=function(){return{error:this.error,error_description:this.errorDescription,error_uri:this.errorUri,state:this.state}},e}();t.AuthorizationError=r},gjG8:function(e,t,n){"use strict";var r=n("hosL"),i=n("QRet"),o=n("UNwp"),s=n("FIkf"),a=n("1kmk"),u=n("WrvZ"),c=n("5hdk"),l=n("B0/y"),h=n("QWY8"),d=n("sS3n"),f=n("OEJh"),A=n("JPIm"),p=n("uFtE");let g;const m=async(e,t)=>{const n=await h.AuthorizationServiceConfiguration.fetchFromIssuer(e,t);return g=n,n},M=async(e,t,n,r,i)=>{const o={};t&&(o.code_verifier=t);const s=new A.TokenRequest({client_id:r.clientId,redirect_uri:r.redirectUri,grant_type:A.GRANT_TYPE_AUTHORIZATION_CODE,code:e,refresh_token:void 0,extras:o});return await n.performTokenRequest(i,s)},v=e=>{if(e&&e.isValid())return e.accessToken},y=async e=>{try{const t=await e.storageBackend.getItem("appauth_current_authorization_request"),n=t&&await e.storageBackend.getItem((e=>`${e}_appauth_authorization_service_configuration`)(t));if(n){const e=JSON.parse(n);g=new h.AuthorizationServiceConfiguration(e)}return!0}catch(e){return!1}};var I=n("UfLo"),w=n("yKF6"),E=n("8NER"),D=n("vHwa");let N;!function(e){e[e.Loading=0]="Loading",e[e.Redirecting=1]="Redirecting",e[e.Returning=2]="Returning",e[e.Error=3]="Error",e[e.Complete=4]="Complete"}(N||(N={}));t.a=({apolloAccessToken:e})=>{const[t,n]=Object(i.k)(N.Loading),[h,A]=Object(i.k)(!1),[T,L]=Object(i.k)(),C=e=>{console.error(`[Link Workplace]: ${e}`)};Object(s.a)((async t=>{const r=e=>{C(e),n(N.Error)},i=await(async(e,t,n)=>{const r=new c.AuthorizationNotifier,i=new l.RedirectRequestHandler,o=new f.FetchRequestor,s=new p.BaseTokenRequestHandler(o);return i.setAuthorizationNotifier(r),r.setAuthorizationListener((async(r,i,o)=>{if(e(),await new Promise((e=>setTimeout(e,1e3))),o)return n(`[AuthListener]: Auth response error received: ${o.errorDescription}`);if(!i)return await t();let a;if(r.internal&&r.internal.code_verifier&&(a=r.internal.code_verifier),!g)return n("[AuthListener]: OIDC configuration not found");try{const e=await M(i.code,a,s,r,g),o=v(e);return o&&i.state?await t(o,i.state):n("[AuthListener]: Could not resolve access token or state")}catch(e){return n(`[AuthListener]: Token code exchange failed: ${e}`)}})),{authorizationHandler:i,tokenHandler:s,requestor:o}})((()=>n(N.Returning)),(async(i,s)=>{if(!i||!s)return n(N.Redirecting);try{const r=Object(o.a)(e);await Object(a.a)(i,s,r.sub,t),n(N.Complete)}catch(e){r(`Error when trying to establish workplace link: ${e}`)}}),r);L(i)}),[]),Object(s.a)((async()=>{T&&(await(async e=>{await y(e),await e.completeAuthorizationRequestIfPossible()})(T.authorizationHandler),await new Promise((e=>setTimeout(e,1e3))),A(!0))}),[T]),Object(i.d)((()=>{T&&t===N.Loading&&h&&n(N.Redirecting)}),[T,t,h]),Object(s.a)((async r=>{if(T&&t===N.Redirecting)try{const t=await Object(a.d)(e,r);if(t.isEstablished)return n(N.Complete);if(t.linkRequest){const e={openIdConnectUrl:t.linkRequest.openIdConnectUrl,clientId:t.linkRequest.clientId,redirectUri:Object(D.b)(),scope:`${t.linkRequest.clientId} openid`,state:t.linkRequest.linkRequestId};await(async(e,t,n)=>{const r=await m(n.openIdConnectUrl,e),i=new u.AuthorizationRequest({client_id:n.clientId,redirect_uri:n.redirectUri,scope:n.scope,response_type:u.AuthorizationRequest.RESPONSE_TYPE_CODE,state:n.state,extras:{response_mode:"fragment",prompt:"login",option:"signup"}},new d.DefaultCrypto,!0);t.performAuthorizationRequest(r,i)})(T.requestor,null==T?void 0:T.authorizationHandler,e)}else C("Invalid response when requesting a workplace link"),n(N.Error)}catch(e){C(`Could not redirect to OIDC provider: ${e}`),n(N.Error)}}),[T,t]),Object(i.d)((()=>{t===N.Complete&&Object(D.a)()}),[t]);const b=t==N.Loading||t==N.Redirecting||t==N.Returning;return Object(r.h)(r.Fragment,null,b&&Object(r.h)(I.a,{isActive:b}),t==N.Error&&Object(r.h)(E.a,null),t==N.Complete&&Object(r.h)(w.a,null))}},guUT:function(e,t,n){"use strict";function r(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new u("canceled")}var i=n("ovh1"),o=n("4OlW"),s=n("e5jZ"),a=n("bRtl"),u=n("tImM");e.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return r(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(r(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},h1Um:function(e,t,n){"use strict";var r=n("Rzld"),i=n("hUM7");e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},hUM7:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},hZXd:function(e,t,n){"use strict";(function(e){var r=n("VB+g"),i=n("rOe0");t.a=()=>e(i.e,null,e(r.b,{className:"spin"}),e(i.f,null,"Please wait while we process your information."))}).call(this,n("hosL").h)},hosL:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e){var t=e.parentNode;t&&t.removeChild(e)}function o(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?j.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return s(e,a,r,i,null)}function s(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++_:i};return null==i&&null!=k.vnode&&k.vnode(o),o}function a(){return{current:null}}function u(e){return e.children}function c(e,t){this.props=e,this.context=t}function l(e,t){if(null==t)return e.__?l(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?l(e):null}function h(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return h(e)}}function d(e){(!e.__d&&(e.__d=!0)&&z.push(e)&&!f.__r++||P!==k.debounceRendering)&&((P=k.debounceRendering)||R)(f)}function f(){for(var e;f.__r=z.length;)e=z.sort((function(e,t){return e.__v.__b-t.__v.__b})),z=[],e.some((function(e){var t,n,i,o,s,a;e.__d&&(s=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(i=r({},o)).__v=o.__v+1,w(a,o,i,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[s]:null,n,null==s?l(o):s,o.__h),E(n,o),o.__e!=s&&h(o)))}))}function A(e,t,n,r,i,o,a,c,h,d){var f,A,g,M,v,y,I,E=r&&r.__k||Q,D=E.length;for(n.__k=[],f=0;f<t.length;f++)if(null!=(M=n.__k[f]=null==(M=t[f])||"boolean"==typeof M?null:"string"==typeof M||"number"==typeof M||"bigint"==typeof M?s(null,M,null,null,M):Array.isArray(M)?s(u,{children:M},null,null,null):M.__b>0?s(M.type,M.props,M.key,null,M.__v):M)){if(M.__=n,M.__b=n.__b+1,null===(g=E[f])||g&&M.key==g.key&&M.type===g.type)E[f]=void 0;else for(A=0;A<D;A++){if((g=E[A])&&M.key==g.key&&M.type===g.type){E[A]=void 0;break}g=null}w(e,M,g=g||B,i,o,a,c,h,d),v=M.__e,(A=M.ref)&&g.ref!=A&&(I||(I=[]),g.ref&&I.push(g.ref,null,M),I.push(A,M.__c||v,M)),null!=v?(null==y&&(y=v),"function"==typeof M.type&&M.__k===g.__k?M.__d=h=p(M,h,e):h=m(e,M,g,E,v,h),"function"==typeof n.type&&(n.__d=h)):h&&g.__e==h&&h.parentNode!=e&&(h=l(g))}for(n.__e=y,f=D;f--;)null!=E[f]&&("function"==typeof n.type&&null!=E[f].__e&&E[f].__e==n.__d&&(n.__d=l(r,f+1)),T(E[f],E[f]));if(I)for(f=0;f<I.length;f++)N(I[f],I[++f],I[++f])}function p(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?p(r,t,n):m(n,r,r,i,r.__e,t));return t}function g(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){g(e,t)})):t.push(e)),t}function m(e,t,n,r,i,o){var s,a,u;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,u=0;(a=a.nextSibling)&&u<r.length;u+=2)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function M(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||Y.test(t)?n:n+"px"}function v(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?I:y,o):e.removeEventListener(t,o?I:y,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function y(e){this.l[e.type+!1](k.event?k.event(e):e)}function I(e){this.l[e.type+!0](k.event?k.event(e):e)}function w(e,t,n,i,o,s,a,l,h){var d,f,p,g,m,M,v,y,I,w,E,N=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(h=n.__h,l=t.__e=n.__e,t.__h=null,s=[l]),(d=k.__b)&&d(t);try{e:if("function"==typeof N){if(y=t.props,I=(d=N.contextType)&&i[d.__c],w=d?I?I.props.value:d.__:i,n.__c?v=(f=t.__c=n.__c).__=f.__E:("prototype"in N&&N.prototype.render?t.__c=f=new N(y,w):(t.__c=f=new c(y,w),f.constructor=N,f.render=L),I&&I.sub(f),f.props=y,f.state||(f.state={}),f.context=w,f.__n=i,p=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=N.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=r({},f.__s)),r(f.__s,N.getDerivedStateFromProps(y,f.__s))),g=f.props,m=f.state,p)null==N.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==N.getDerivedStateFromProps&&y!==g&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(y,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(y,f.__s,w)||t.__v===n.__v){f.props=y,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(y,f.__s,w),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(g,m,M)}))}f.context=w,f.props=y,f.state=f.__s,(d=k.__r)&&d(t),f.__d=!1,f.__v=t,f.__P=e,d=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(i=r(r({},i),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(M=f.getSnapshotBeforeUpdate(g,m)),E=null!=d&&d.type===u&&null==d.key?d.props.children:d,A(e,Array.isArray(E)?E:[E],t,n,i,o,s,a,l,h),f.base=t.__e,t.__h=null,f.__h.length&&a.push(f),v&&(f.__E=f.__=null),f.__e=!1}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=D(n.__e,t,n,i,o,s,a,h);(d=k.diffed)&&d(t)}catch(e){t.__v=null,(h||null!=s)&&(t.__e=l,t.__h=!!h,s[s.indexOf(l)]=null),k.__e(e,t,n)}}function E(e,t){k.__c&&k.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){k.__e(e,t.__v)}}))}function D(e,t,n,r,o,s,a,u){var c,h,d,f=n.props,p=t.props,g=t.type,m=0;if("svg"===g&&(o=!0),null!=s)for(;m<s.length;m++)if((c=s[m])&&(c===e||(g?c.localName==g:3==c.nodeType))){e=c,s[m]=null;break}if(null==e){if(null===g)return document.createTextNode(p);e=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),s=null,u=!1}if(null===g)f===p||u&&e.data===p||(e.data=p);else{if(s=s&&j.call(e.childNodes),h=(f=n.props||B).dangerouslySetInnerHTML,d=p.dangerouslySetInnerHTML,!u){if(null!=s)for(f={},m=0;m<e.attributes.length;m++)f[e.attributes[m].name]=e.attributes[m].value;(d||h)&&(d&&(h&&d.__html==h.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||v(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||v(e,o,t[o],n[o],r)}(e,p,f,o,u),d)t.__k=[];else if(m=t.props.children,A(e,Array.isArray(m)?m:[m],t,n,r,o&&"foreignObject"!==g,s,a,s?s[0]:n.__k&&l(n,0),u),null!=s)for(m=s.length;m--;)null!=s[m]&&i(s[m]);u||("value"in p&&void 0!==(m=p.value)&&(m!==e.value||"progress"===g&&!m)&&v(e,"value",m,f.value,!1),"checked"in p&&void 0!==(m=p.checked)&&m!==e.checked&&v(e,"checked",m,f.checked,!1))}return e}function N(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){k.__e(e,n)}}function T(e,t,n){var r,o;if(k.unmount&&k.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||N(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){k.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&T(r[o],t,"function"!=typeof e.type);n||null==e.__e||i(e.__e),e.__e=e.__d=void 0}function L(e,t,n){return this.constructor(e,n)}function C(e,t,n){var r,i,s;k.__&&k.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,s=[],w(t,e=(!r&&n||t).__k=o(u,null,[e]),i||B,B,void 0!==t.ownerSVGElement,!r&&n?[n]:i?null:t.firstChild?j.call(t.childNodes):null,s,!r&&n?n:i?i.__e:t.firstChild,r),E(s,e)}function b(e,t){C(e,t,b)}function O(e,t,n){var i,o,a,u=r({},e.props);for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:u[a]=t[a];return arguments.length>2&&(u.children=arguments.length>3?j.call(arguments,2):n),s(e.type,u,i||e.key,o||e.ref,null)}function S(e,t){var n={__c:t="__cC"+U++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(d)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}n.r(t),n.d(t,"render",(function(){return C})),n.d(t,"hydrate",(function(){return b})),n.d(t,"createElement",(function(){return o})),n.d(t,"h",(function(){return o})),n.d(t,"Fragment",(function(){return u})),n.d(t,"createRef",(function(){return a})),n.d(t,"isValidElement",(function(){return x})),n.d(t,"Component",(function(){return c})),n.d(t,"cloneElement",(function(){return O})),n.d(t,"createContext",(function(){return S})),n.d(t,"toChildArray",(function(){return g})),n.d(t,"options",(function(){return k}));var j,k,_,x,z,R,P,U,B={},Q=[],Y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;j=Q.slice,k={__e:function(e,t){for(var n,r,i;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),i=n.__d),i)return n.__E=n}catch(t){e=t}throw e}},_=0,x=function(e){return null!=e&&void 0===e.constructor},c.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=r({},this.state),"function"==typeof e&&(e=e(r({},n),this.props)),e&&r(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),d(this))},c.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),d(this))},c.prototype.render=u,z=[],R="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f.__r=0,U=0},i0F7:function(e,t,n){"use strict";function r(){this.handlers=[]}var i=n("ovh1");r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},keIi:function(e,t,n){"use strict";var r=n("4jJt").version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],u=void 0===a||s(a,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},l8WD:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function o(e){this.props=e}function s(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:i(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Object(T.createElement)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}function a(e){function t(t,n){var i=r({},t);return delete i.ref,e(i,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=C,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}function u(){this.__u=0,this.t=null,this.__b=null}function c(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function l(e){function t(t){if(n||(n=e()).then((function(e){r=e.default||e}),(function(e){i=e})),i)throw i;if(!r)throw n;return Object(T.createElement)(r,t)}var n,r,i;return t.displayName="Lazy",t.__f=!0,t}function h(){this.u=null,this.o=null}function d(e){return this.getChildContext=function(){return e.context},e.children}function f(e){var t=this,n=e.i;t.componentWillUnmount=function(){Object(T.render)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Object(T.render)(Object(T.createElement)(d,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function A(e,t){return Object(T.createElement)(f,{__v:e,i:t})}function p(e,t,n){return null==t.__k&&(t.textContent=""),Object(T.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function g(e,t,n){return Object(T.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}function m(){}function M(){return this.cancelBubble}function v(){return this.defaultPrevented}function y(e){return T.createElement.bind(null,e)}function I(e){return!!e&&e.$$typeof===_}function w(e){return I(e)?T.cloneElement.apply(null,arguments):e}function E(e){return!!e.__k&&(Object(T.render)(null,e),!0)}function D(e){return e&&(e.base||1===e.nodeType&&e)||null}n.r(t),n.d(t,"version",(function(){return J})),n.d(t,"Children",(function(){return O})),n.d(t,"render",(function(){return p})),n.d(t,"hydrate",(function(){return g})),n.d(t,"unmountComponentAtNode",(function(){return E})),n.d(t,"createPortal",(function(){return A})),n.d(t,"createFactory",(function(){return y})),n.d(t,"cloneElement",(function(){return w})),n.d(t,"isValidElement",(function(){return I})),n.d(t,"findDOMNode",(function(){return D})),n.d(t,"PureComponent",(function(){return o})),n.d(t,"memo",(function(){return s})),n.d(t,"forwardRef",(function(){return a})),n.d(t,"flushSync",(function(){return V})),n.d(t,"unstable_batchedUpdates",(function(){return H})),n.d(t,"StrictMode",(function(){return W})),n.d(t,"Suspense",(function(){return u})),n.d(t,"SuspenseList",(function(){return h})),n.d(t,"lazy",(function(){return l})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return F}));var N=n("QRet");n.d(t,"useState",(function(){return N.k})),n.d(t,"useReducer",(function(){return N.i})),n.d(t,"useEffect",(function(){return N.d})),n.d(t,"useLayoutEffect",(function(){return N.g})),n.d(t,"useRef",(function(){return N.j})),n.d(t,"useImperativeHandle",(function(){return N.f})),n.d(t,"useMemo",(function(){return N.h})),n.d(t,"useCallback",(function(){return N.a})),n.d(t,"useContext",(function(){return N.b})),n.d(t,"useDebugValue",(function(){return N.c})),n.d(t,"useErrorBoundary",(function(){return N.e}));var T=n("hosL");n.d(t,"createElement",(function(){return T.createElement})),n.d(t,"createContext",(function(){return T.createContext})),n.d(t,"createRef",(function(){return T.createRef})),n.d(t,"Fragment",(function(){return T.Fragment})),n.d(t,"Component",(function(){return T.Component})),(o.prototype=new T.Component).isPureReactComponent=!0,o.prototype.shouldComponentUpdate=function(e,t){return i(this.props,e)||i(this.state,t)};var L=T.options.__b;T.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),L&&L(e)};var C="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,b=function(e,t){return null==e?null:Object(T.toChildArray)(Object(T.toChildArray)(e).map(t))},O={map:b,forEach:b,count:function(e){return e?Object(T.toChildArray)(e).length:0},only:function(e){var t=Object(T.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:T.toChildArray},S=T.options.__e;T.options.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);S(e,t,n)};var j=T.options.unmount;T.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),j&&j(e)},(u.prototype=new T.Component).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=c(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},u=!0===t.__h;r.__u++||u||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(s,s)},u.prototype.componentWillUnmount=function(){this.t=[]},u.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=r({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,i)}))),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__e&&Object(T.createElement)(T.Fragment,null,e.fallback);return o&&(o.__h=null),[Object(T.createElement)(T.Fragment,null,t.__e?null:e.children),o]};var k=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(h.prototype=new T.Component).__e=function(e){var t=this,n=c(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),k(t,e,r)):i()};n?n(o):o()}},h.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(T.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},h.prototype.componentDidUpdate=h.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){k(e,n,t)}))};var _="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,x=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,z="undefined"!=typeof document,R=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};T.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(T.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var P=T.options.event;T.options.event=function(e){return P&&(e=P(e)),e.persist=m,e.isPropagationStopped=M,e.isDefaultPrevented=v,e.nativeEvent=e};var U,B={configurable:!0,get:function(){return this.class}},Q=T.options.vnode;T.options.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var s=n[o];z&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!R(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():i&&x.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===s&&(s=void 0),r[o]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(T.toChildArray)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Object(T.toChildArray)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(B.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",B)),e.$$typeof=_,Q&&Q(e)};var Y=T.options.__r;T.options.__r=function(e){Y&&Y(e),U=e.__c};var F={ReactCurrentDispatcher:{current:{readContext:function(e){return U.__n[e.__c].props.value}}}},J="17.0.2",H=function(e,t){return e(t)},V=function(e,t){return e(t)},W=T.Fragment;t.default={useState:N.k,useReducer:N.i,useEffect:N.d,useLayoutEffect:N.g,useRef:N.j,useImperativeHandle:N.f,useMemo:N.h,useCallback:N.a,useContext:N.b,useDebugValue:N.c,version:"17.0.2",Children:O,render:p,hydrate:g,unmountComponentAtNode:E,createPortal:A,createElement:T.createElement,createContext:T.createContext,createFactory:y,cloneElement:w,createRef:T.createRef,Fragment:T.Fragment,isValidElement:I,findDOMNode:D,Component:T.Component,PureComponent:o,memo:s,forwardRef:a,flushSync:V,unstable_batchedUpdates:H,StrictMode:T.Fragment,Suspense:u,SuspenseList:h,lazy:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:F}},"lA+w":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppAuthError=void 0,t.AppAuthError=function(e,t){this.message=e,this.extras=t}},lVTs:function(e,t,n){function r(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var i=n("61Rr"),o=n("s+BS"),s=n("5wDt"),a=n("LmYF"),u=n("ISih"),c=r.prototype;c.addData=function(e){var t=new i(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),n=new s,r=0,i=0;i<t.length;i++)r+=t[i].dataCount;for(i=0;i<this.dataList.length;i++){var u=this.dataList[i];n.put(u.mode,4),n.put(u.getLength(),a.getLengthInBits(u.mode,e)),u.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},c.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,s=0;s<this.modules[i].length;s++){var a=1*s;this.modules[i][s]&&(r.beginFill(0,100),r.moveTo(a,o),r.lineTo(a+1,o),r.lineTo(a+1,o+1),r.lineTo(a,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][i+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},c.setupTypeNumber=function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},c.setupTypeInfo=function(e,t){for(var n=a.getBCHTypeInfo(this.errorCorrectLevel<<3|t),r=0;r<15;r++){var i=!e&&1==(n>>r&1);r<6?this.modules[r][8]=i:r<8?this.modules[r+1][8]=i:this.modules[this.moduleCount-15+r][8]=i}for(r=0;r<15;r++){i=!e&&1==(n>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=i:r<9?this.modules[8][15-r-1+1]=i:this.modules[8][15-r-1]=i}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[r][s-u]){var c=!1;o<e.length&&(c=1==(e[o]>>>i&1)),a.getMask(t,r,s-u)&&(c=!c),this.modules[r][s-u]=c,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},r.PAD0=236,r.PAD1=17,r.createData=function(e,t,n){for(var i=o.getRSBlocks(e,t),u=new s,c=0;c<n.length;c++){var l=n[c];u.put(l.mode,4),u.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(u)}var h=0;for(c=0;c<i.length;c++)h+=i[c].dataCount;if(u.getLengthInBits()>8*h)throw new Error("code length overflow. ("+u.getLengthInBits()+">"+8*h+")");for(u.getLengthInBits()+4<=8*h&&u.put(0,4);u.getLengthInBits()%8!=0;)u.putBit(!1);for(;!(u.getLengthInBits()>=8*h||(u.put(r.PAD0,8),u.getLengthInBits()>=8*h));)u.put(r.PAD1,8);return r.createBytes(u,i)},r.createBytes=function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),s=new Array(t.length),c=0;c<t.length;c++){var l=t[c].dataCount,h=t[c].totalCount-l;r=Math.max(r,l),i=Math.max(i,h),o[c]=new Array(l);for(var d=0;d<o[c].length;d++)o[c][d]=255&e.buffer[d+n];n+=l;var f=a.getErrorCorrectPolynomial(h),A=new u(o[c],f.getLength()-1).mod(f);s[c]=new Array(f.getLength()-1);for(d=0;d<s[c].length;d++){var p=d+A.getLength()-s[c].length;s[c][d]=p>=0?A.get(p):0}}var g=0;for(d=0;d<t.length;d++)g+=t[d].totalCount;var m=new Array(g),M=0;for(d=0;d<r;d++)for(c=0;c<t.length;c++)d<o[c].length&&(m[M++]=o[c][d]);for(d=0;d<i;d++)for(c=0;c<t.length;c++)d<s[c].length&&(m[M++]=s[c][d]);return m},e.exports=r},li6C:function(e,t,n){"use strict";function r(e){o.forEach((t=>{t.setLogLevel(e)}))}function i(e,t){for(const n of o){let r=null;t&&t.level&&(r=a[t.level]),n.userLogHandler=null===e?null:(t,n,...i)=>{const o=i.map((e=>{if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(e){return null}})).filter((e=>e)).join(" ");n>=(null!=r?r:t.logLevel)&&e({level:s[n].toLowerCase(),message:o,args:i,type:t.name})}}}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i}));const o=[];var s;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(s||(s={}));const a={debug:s.DEBUG,verbose:s.VERBOSE,info:s.INFO,warn:s.WARN,error:s.ERROR,silent:s.SILENT},u=s.INFO,c={[s.DEBUG]:"log",[s.VERBOSE]:"log",[s.INFO]:"info",[s.WARN]:"warn",[s.ERROR]:"error"},l=(e,t,...n)=>{if(t<e.logLevel)return;const r=(new Date).toISOString(),i=c[t];if(!i)throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`);console[i](`[${r}] ${e.name}:`,...n)};class h{constructor(e){this.name=e,this._logLevel=u,this._logHandler=l,this._userLogHandler=null,o.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in s))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?a[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,s.DEBUG,...e),this._logHandler(this,s.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,s.VERBOSE,...e),this._logHandler(this,s.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,s.INFO,...e),this._logHandler(this,s.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,s.WARN,...e),this._logHandler(this,s.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,s.ERROR,...e),this._logHandler(this,s.ERROR,...e)}}},mdyV:function(e,t,n){"use strict";n.r(t);var r=n("hosL");const{h:i,render:o,hydrate:s}=r,a=e=>e&&e.default?e.default:e;if("function"==typeof a(n("/hs+"))){let e=document.getElementById("preact_root")||document.body.firstElementChild,t=()=>{let t=a(n("/hs+")),r={};const s=document.querySelector('[type="__PREACT_CLI_DATA__"]');s&&(r=JSON.parse(decodeURI(s.innerHTML)).preRenderData||r);r.url&&(u=r.url);var u;e=o(i(t,{CLI_DATA:{preRenderData:r}}),document.body,e)};0,t()}},"oLW/":function(e){e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},ovh1:function(e,t,n){"use strict";function r(e){return"[object Array]"===l.call(e)}function i(e){return void 0===e}function o(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==l.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function a(e){return"[object Function]"===l.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var c=n("5QbJ"),l=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:function(e){return"[object ArrayBuffer]"===l.call(e)},isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isPlainObject:s,isUndefined:i,isDate:function(e){return"[object Date]"===l.call(e)},isFile:function(e){return"[object File]"===l.call(e)},isBlob:function(e){return"[object Blob]"===l.call(e)},isFunction:a,isStream:function(e){return o(e)&&a(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){function t(t,i){n[i]=s(n[i])&&s(t)?e(n[i],t):s(t)?e({},t):r(t)?t.slice():t}for(var n={},i=0,o=arguments.length;i<o;i++)u(arguments[i],t);return n},extend:function(e,t,n){return u(t,(function(t,r){e[r]=n&&"function"==typeof t?c(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},pCvA:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t},"paZ/":function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function i(e){let t=this||{},n=e.call?e(t.p):e;return m(n.unshift?n.raw?M(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>n?r(e,n.call?n(t.p):n):e),{}):n,h(t.target),t.g,t.o,t.k)}function o(e,t,n,r){A.p=t,a=e,u=n,c=r}function s(e,t){let n=this||{};return function(){function o(l,h){let d=r({},l),f=d.className||o.className;n.p=r({theme:u&&u()},d),n.o=/ *go\d+/.test(f),d.className=i.apply(n,s)+(f?" "+f:""),t&&(d.ref=h);let A=d.as||e;return delete d.as,c&&A[0]&&c(d),a(A,d)}let s=arguments;return t?t(o):o}}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s}));let a,u,c,l={data:""},h=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||r((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||l,d=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,f=/\/\*[^]*?\*\/|\s\s+|\n/g,A=(e,t)=>{let n,r="",i="",o="";for(let s in e){let a=e[s];"object"==typeof a?(n=t?t.replace(/([^,])+/g,(e=>s.replace(/([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):s,i+="@"==s[0]?"f"==s[1]?A(a,s):s+"{"+A(a,"k"==s[1]?"":t)+"}":A(a,n)):"@"==s[0]&&"i"==s[1]?r=s+" "+a+";":(s=s.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=A.p?A.p(s,a):s+":"+a+";")}return o[0]?(n=t?t+"{"+o+"}":o,r+n+i):r+i},p={},g=e=>{let t="";for(let n in e)t+=n+("object"==typeof e[n]?g(e[n]):e[n]);return t},m=(e,t,n,r,i)=>{let o="object"==typeof e?g(e):e,s=p[o]||(p[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(o));if(!p[s]){let t="object"==typeof e?e:(e=>{let t,n=[{}];for(;t=d.exec(e.replace(f,""));)t[4]&&n.shift(),t[3]?n.unshift(n[0][t[3]]=n[0][t[3]]||{}):t[4]||(n[0][t[1]]=t[2]);return n[0]})(e);p[s]=A(i?{["@keyframes "+s]:t}:t,n?"":"."+s)}return((e,t,n)=>{-1==t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(p[s],t,r),s},M=(e,t,n)=>e.reduce(((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?"."+t:e&&"object"==typeof e?e.props?"":A(e,""):!1===e?"":e}return e+r+(null==o?"":o)}),"");i.bind({g:1}),i.bind({k:1})},qtd4:function(e,t,n){"use strict";(function(e){var r,i=n("UNwp"),o=n("QRet"),s=n("FIkf"),a=n("1kmk"),u=n("vHwa"),c=n("yKF6"),l=n("8NER"),h=n("XbQM"),d=n("UfLo"),f=n("tJLs"),A=n("GGjp");!function(e){e[e.Requesting=0]="Requesting",e[e.Authenticating=1]="Authenticating",e[e.Authenticated=2]="Authenticated",e[e.Establishing=3]="Establishing",e[e.Error=4]="Error",e[e.Complete=5]="Complete"}(r||(r={}));t.a=t=>{const{idToken:n}=Object(A.a)(),[p,g]=Object(o.k)(r.Requesting),{apolloAccessToken:m}=t,[M,v]=Object(o.k)("");Object(s.a)((async e=>{try{switch(p){case r.Requesting:await(async e=>{try{var t,n;const r=await Object(a.d)(m,e);return v(null!==(t=null===(n=r.linkRequest)||void 0===n?void 0:n.linkRequestId)&&void 0!==t?t:""),{isEstablished:r.isEstablished}}catch(e){throw`[Link Workplace]: Error when requesting a workplace link: ${e}`}})(e).then((e=>{g(e.isEstablished?r.Complete:r.Authenticating)}));break;case r.Authenticating:n&&g(r.Authenticated);break;case r.Authenticated:g(r.Establishing);break;case r.Establishing:await(async(e,t)=>{const{sub:r}=Object(i.a)(m);try{return await Object(a.a)(n,e,r,t)}catch(e){throw`[Link Workplace]: Error when trying to establish workplace link: ${e}`}})(M,e),g(r.Complete);break;case r.Complete:Object(u.a)()}}catch(e){console.log(e),g(r.Error)}}),[p,n]);const y=void 0===p||p==r.Requesting||p==r.Establishing;return e(f.a,null,y&&e(d.a,{isActive:y}),p===r.Authenticating&&e(h.a,null),p===r.Error&&e(l.a,null),p===r.Complete&&e(c.a,null))}}).call(this,n("hosL").h)},rOe0:function(e,t,n){"use strict";n.d(t,"d",(function(){return A})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return M})),n.d(t,"h",(function(){return v})),n.d(t,"i",(function(){return y})),n.d(t,"a",(function(){return I})),n.d(t,"e",(function(){return w}));var r=n("paZ/");let i,o,s,a,u,c,l,h,d,f=e=>e;const A=Object(r.c)("img")(i||(i=f`
|
|
90
90
|
${0}
|
|
91
91
|
min-width: 150px;
|
|
92
92
|
max-width: 200px;
|