@flarehr/apollo-benefits-onboarding 1.44.79 → 1.45.80
Sign up to get free protection for your applications and to get access to all the features.
Binary file
|
package/dist/assets/get-app.jpg
CHANGED
Binary file
|
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see benefits-onboarding.js.LICENSE.txt */
|
2
|
-
(()=>{var e={669:(e,t,n)=>{e.exports=n(609)},448:(e,t,n)=>{"use strict";var r=n(867),o=n(26),i=n(372),a=n(327),l=n(97),c=n(109),s=n(985),u=n(874),f=n(648),d=n(644),p=n(205);e.exports=function(e){return new Promise((function(t,n){var h,m=e.data,y=e.headers,v=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete y["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+_)}var x=l(e.baseURL,e.url);function k(){if(b){var r="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,i={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};o((function(e){t(e),g()}),(function(e){n(e),g()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=k:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(k)},b.onabort=function(){b&&(n(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new f(t,r.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,b)),b=null},r.isStandardBrowserEnv()){var O=(e.withCredentials||s(x))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;O&&(y[e.xsrfHeaderName]=O)}"setRequestHeader"in b&&r.forEach(y,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete y[t]:b.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(n(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var E=p(x);E&&-1===["http","https","file"].indexOf(E)?n(new f("Unsupported protocol "+E+":",f.ERR_BAD_REQUEST,e)):b.send(m)}))}},609:(e,t,n)=>{"use strict";var r=n(867),o=n(849),i=n(321),a=n(185),l=function e(t){var n=new i(t),l=o(i.prototype.request,n);return r.extend(l,i.prototype,n),r.extend(l,n),l.create=function(n){return e(a(t,n))},l}(n(546));l.Axios=i,l.CanceledError=n(644),l.CancelToken=n(972),l.isCancel=n(502),l.VERSION=n(288).version,l.toFormData=n(675),l.AxiosError=n(648),l.Cancel=l.CanceledError,l.all=function(e){return Promise.all(e)},l.spread=n(713),l.isAxiosError=n(268),e.exports=l,e.exports.default=l},972:(e,t,n)=>{"use strict";var r=n(644);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},644:(e,t,n)=>{"use strict";var r=n(648);function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(867).inherits(o,r,{__CANCEL__:!0}),e.exports=o},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(867),o=n(327),i=n(782),a=n(572),l=n(185),c=n(97),s=n(875),u=s.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=l(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&s.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(c),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;r.length;){var p=r.shift(),h=r.shift();try{d=p(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;c.length;)i=i.then(c.shift(),c.shift());return i},f.prototype.getUri=function(e){e=l(this.defaults,e);var t=c(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,n){return this.request(l(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(l(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},648:(e,t,n)=>{"use strict";var r=n(867);function o(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,n,a,l,c){var s=Object.create(i);return r.toFlatObject(e,s,(function(e){return e!==Error.prototype})),o.call(s,e.message,t,n,a,l),s.name=e.name,c&&Object.assign(s,c),s},e.exports=o},782:(e,t,n)=>{"use strict";var r=n(867);function o(){this.handlers=[]}o.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},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},97:(e,t,n)=>{"use strict";var r=n(793),o=n(303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},572:(e,t,n)=>{"use strict";var r=n(867),o=n(527),i=n(502),a=n(546),l=n(644);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new l}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){t=t||{};var n={};function o(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(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function l(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var s={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=s[e]||i,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},26:(e,t,n)=>{"use strict";var r=n(648);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},527:(e,t,n)=>{"use strict";var r=n(867),o=n(546);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},546:(e,t,n)=>{"use strict";var r=n(867),o=n(16),i=n(648),a=n(874),l=n(675),c={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,f={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(448)),u),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,i=r.isObject(e),a=t&&t["Content-Type"];if((n=r.isFileList(e))||i&&"multipart/form-data"===a){var c=this.env&&this.env.FormData;return l(n?{"files[]":e}:e,c&&new c)}return i||"application/json"===a?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i.from(e,i.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){f.headers[e]=r.merge(c)})),e.exports=f},874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:e=>{e.exports={version:"0.27.2"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},327:(e,t,n)=>{"use strict";var r=n(867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var l=e.indexOf("#");-1!==l&&(e=e.slice(0,l)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,n)=>{"use strict";var r=n(867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var l=[];l.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),r.isString(o)&&l.push("path="+o),r.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},985:(e,t,n)=>{"use strict";var r=n(867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},623:e=>{e.exports=null},109:(e,t,n)=>{"use strict";var r=n(867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){t=t||new FormData;var n=[];function o(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,a){if(r.isPlainObject(i)||r.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),r.forEach(i,(function(n,i){if(!r.isUndefined(n)){var l,c=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(r.endsWith(i,"{}"))n=JSON.stringify(n);else if(r.endsWith(i,"[]")&&(l=r.toArray(n)))return void l.forEach((function(e){!r.isUndefined(e)&&t.append(c,o(e))}));e(n,c)}})),n.pop()}else t.append(a,o(i))}(e),t}},875:(e,t,n)=>{"use strict";var r=n(288).version,o=n(648),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 a={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,l){if(!1===e)throw new o(i(r," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,l)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],l=t[a];if(l){var c=e[a],s=void 0===c||l(c,a,e);if(!0!==s)throw new o("option "+a+" must be "+s,o.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},867:(e,t,n)=>{"use strict";var r,o=n(849),i=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=i.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function c(e){return Array.isArray(e)}function s(e){return void 0===e}var u=l("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=l("Date"),h=l("File"),m=l("Blob"),y=l("FileList");function v(e){return"[object Function]"===i.call(e)}var g=l("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),c(e))for(var n=0,r=e.length;n<r;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 w,_=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:c,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:s,isDate:p,isFile:h,isBlob:m,isFunction:v,isStream:function(e){return f(e)&&v(e.pipe)},isURLSearchParams:g,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:b,merge:function e(){var t={};function n(n,r){d(t[r])&&d(n)?t[r]=e(t[r],n):d(n)?t[r]=e({},n):c(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)b(arguments[r],n);return t},extend:function(e,t,n){return b(t,(function(t,r){e[r]=n&&"function"==typeof t?o(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},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,i,a={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=r[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(s(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:_,isFileList:y}},383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(81),o=n.n(r),i=n(645),a=n.n(i)()(o());a.push([e.id,'/*! tailwindcss v3.1.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}span a{color:var(--fl-color-primary)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.left-0{left:0}.bottom-0{bottom:0}.right-0{right:0}.z-50{z-index:50}.my-auto{margin-bottom:auto;margin-top:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-2{margin-left:.5rem;margin-right:.5rem}.ml-3{margin-left:.75rem}.mt-20{margin-top:5rem}.mt-8{margin-top:2rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-4{margin-top:1rem}.mt-2{margin-top:.5rem}.ml-1{margin-left:.25rem}.mt-5{margin-top:1.25rem}.mt-1{margin-top:.25rem}.mb-1{margin-bottom:.25rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-4{height:1rem}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-\\[1\\.5rem\\]{height:1.5rem}.h-\\[1\\.25rem\\]{height:1.25rem}.h-full{height:100%}.h-16{height:4rem}.h-7{height:1.75rem}.h-\\[90\\%\\]{height:90%}.w-full{width:100%}.w-4{width:1rem}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-\\[2\\.75rem\\]{width:2.75rem}.w-\\[1\\.25rem\\]{width:1.25rem}.w-16{width:4rem}.w-7{width:1.75rem}.max-w-\\[59\\.5rem\\]{max-width:59.5rem}.max-w-\\[40rem\\]{max-width:40rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-full{max-width:100%}.shrink-0{flex-shrink:0}.translate-x-\\[1\\.25rem\\]{--tw-translate-x:1.25rem}.translate-x-0,.translate-x-\\[1\\.25rem\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.-translate-y-6{--tw-translate-y:-1.5rem}.-translate-y-6,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-3{gap:.75rem}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.break-words{overflow-wrap:break-word}.rounded-md{border-radius:.375rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-0{border-width:0}.border-transparent{border-color:transparent}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.fill-white{fill:#fff}.fill-gray-200{fill:#e5e7eb}.fill-primary-base{fill:var(--fl-color-primary)}.p-2{padding:.5rem}.p-4{padding:1rem}.px-px{padding-left:1px;padding-right:1px}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.py-0{padding-bottom:0;padding-top:0}.pt-6{padding-top:1.5rem}.pb-8{padding-bottom:2rem}.pl-3{padding-left:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-8{line-height:2rem}.leading-7{line-height:1.75rem}.leading-6{line-height:1.5rem}.tracking-wide{letter-spacing:.025em}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.accent-primary-base{accent-color:var(--fl-color-primary)}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-10{opacity:.1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-0,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-gray-200{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-300{transition-delay:.3s}.duration-200{transition-duration:.2s}.duration-700{transition-duration:.7s}.duration-\\[600ms\\]{transition-duration:.6s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\\:bg-sky-50\\/50:hover{background-color:rgba(240,249,255,.5)}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-primary-focus:focus{--tw-ring-color:var(--fl-color-primary-focus)}.focus\\:ring-gray-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:ring-white:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))}.focus-visible\\:ring-gray-500:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(107 114 128/var(--tw-ring-opacity))}.focus-visible\\:ring-opacity-75:focus-visible{--tw-ring-opacity:0.75}.disabled\\:cursor-text:disabled{cursor:text}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.disabled\\:px-0:disabled{padding-left:0;padding-right:0}.disabled\\:text-gray-300:disabled{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.disabled\\:text-gray-600:disabled{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.disabled\\:opacity-75:disabled{opacity:.75}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}@media (min-width:768px){.md\\:mt-0{margin-top:0}.md\\:mt-14{margin-top:3.5rem}.md\\:mt-3{margin-top:.75rem}.md\\:mt-6{margin-top:1.5rem}.md\\:mt-11{margin-top:2.75rem}.md\\:block{display:block}.md\\:grid{display:grid}.md\\:hidden{display:none}.md\\:w-auto{width:auto}.md\\:w-\\[300px\\]{width:300px}.md\\:w-full{width:100%}.md\\:w-\\[240px\\]{width:240px}.md\\:max-w-\\[27\\.5rem\\]{max-width:27.5rem}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:justify-between{justify-content:space-between}.md\\:p-6{padding:1.5rem}.md\\:py-24{padding-bottom:6rem;padding-top:6rem}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\\:leading-9{line-height:2.25rem}.md\\:leading-7{line-height:1.75rem}.md\\:transition-none{transition-property:none}}',""]);const l=a},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(a[c]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},856:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=Object.entries,s=Object.setPrototypeOf,u=Object.isFrozen,f=Object.getPrototypeOf,d=Object.getOwnPropertyDescriptor,p=Object.freeze,h=Object.seal,m=Object.create,y="undefined"!=typeof Reflect&&Reflect,v=y.apply,g=y.construct;v||(v=function(e,t,n){return e.apply(t,n)}),p||(p=function(e){return e}),h||(h=function(e){return e}),g||(g=function(e,t){return r(e,i(t))});var b,w=R(Array.prototype.forEach),_=R(Array.prototype.pop),x=R(Array.prototype.push),k=R(String.prototype.toLowerCase),O=R(String.prototype.toString),E=R(String.prototype.match),N=R(String.prototype.replace),C=R(String.prototype.indexOf),S=R(String.prototype.trim),T=R(RegExp.prototype.test),A=(b=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return g(b,t)});function R(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return v(e,t,r)}}function P(e,t,n){n=n||k,s&&s(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var i=n(o);i!==o&&(u(t)||(t[r]=i),o=i)}e[o]=!0}return e}function j(e){var t,n=m(null),r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw i}}}}(c(e));try{for(r.s();!(t=r.n()).done;){var i=o(t.value,2),l=i[0],s=i[1];n[l]=s}}catch(e){r.e(e)}finally{r.f()}return n}function L(e,t){for(;null!==e;){var n=d(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=f(e)}return function(e){return console.warn("fallback value for",e),null}}var D=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),U=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=p(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z=p(["#text"]),H=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),W=p(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=p(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=h(/<%[\w\W]*|[\w\W]*%>/gm),Y=h(/\${[\w\W]*}/gm),Z=h(/^data-[\-\w.\u00B7-\uFFFF]/),K=h(/^aria-[\-\w]+$/),J=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=h(/^(?:\w+script|data):/i),Q=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=h(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),r=function(e){return t(e)};if(r.version="3.0.1",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;var o=n.document,a=n.document,l=n.DocumentFragment,s=n.HTMLTemplateElement,u=n.Node,f=n.Element,d=n.NodeFilter,h=n.NamedNodeMap,m=void 0===h?n.NamedNodeMap||n.MozNamedAttrMap:h,y=n.HTMLFormElement,v=n.DOMParser,g=n.trustedTypes,b=f.prototype,R=L(b,"cloneNode"),re=L(b,"nextSibling"),oe=L(b,"childNodes"),ie=L(b,"parentNode");if("function"==typeof s){var ae=a.createElement("template");ae.content&&ae.content.ownerDocument&&(a=ae.content.ownerDocument)}var le=ne(g,o),ce=le?le.createHTML(""):"",se=a,ue=se.implementation,fe=se.createNodeIterator,de=se.createDocumentFragment,pe=se.getElementsByTagName,he=o.importNode,me={};r.isSupported="function"==typeof c&&"function"==typeof ie&&ue&&void 0!==ue.createHTMLDocument;var ye,ve,ge=q,be=$,we=Y,_e=Z,xe=K,ke=X,Oe=Q,Ee=J,Ne=null,Ce=P({},[].concat(i(D),i(I),i(U),i(M),i(z))),Se=null,Te=P({},[].concat(i(H),i(W),i(V),i(G))),Ae=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Re=null,Pe=null,je=!0,Le=!0,De=!1,Ie=!0,Ue=!1,Fe=!1,Me=!1,Be=!1,ze=!1,He=!1,We=!1,Ve=!0,Ge=!1,qe="user-content-",$e=!0,Ye=!1,Ze={},Ke=null,Je=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,Qe=P({},["audio","video","img","source","image","track"]),et=null,tt=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),nt="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",it=ot,at=!1,lt=null,ct=P({},[nt,rt,ot],O),st=["application/xhtml+xml","text/html"],ut="text/html",ft=null,dt=a.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(t){ft&&ft===t||(t&&"object"===e(t)||(t={}),t=j(t),ye=ye=-1===st.indexOf(t.PARSER_MEDIA_TYPE)?ut:t.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===ye?O:k,Ne="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS,ve):Ce,Se="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR,ve):Te,lt="ALLOWED_NAMESPACES"in t?P({},t.ALLOWED_NAMESPACES,O):ct,et="ADD_URI_SAFE_ATTR"in t?P(j(tt),t.ADD_URI_SAFE_ATTR,ve):tt,Xe="ADD_DATA_URI_TAGS"in t?P(j(Qe),t.ADD_DATA_URI_TAGS,ve):Qe,Ke="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS,ve):Je,Re="FORBID_TAGS"in t?P({},t.FORBID_TAGS,ve):{},Pe="FORBID_ATTR"in t?P({},t.FORBID_ATTR,ve):{},Ze="USE_PROFILES"in t&&t.USE_PROFILES,je=!1!==t.ALLOW_ARIA_ATTR,Le=!1!==t.ALLOW_DATA_ATTR,De=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ue=t.SAFE_FOR_TEMPLATES||!1,Fe=t.WHOLE_DOCUMENT||!1,ze=t.RETURN_DOM||!1,He=t.RETURN_DOM_FRAGMENT||!1,We=t.RETURN_TRUSTED_TYPE||!1,Be=t.FORCE_BODY||!1,Ve=!1!==t.SANITIZE_DOM,Ge=t.SANITIZE_NAMED_PROPS||!1,$e=!1!==t.KEEP_CONTENT,Ye=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,it=t.NAMESPACE||ot,Ae=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ue&&(Le=!1),He&&(ze=!0),Ze&&(Ne=P({},i(z)),Se=[],!0===Ze.html&&(P(Ne,D),P(Se,H)),!0===Ze.svg&&(P(Ne,I),P(Se,W),P(Se,G)),!0===Ze.svgFilters&&(P(Ne,U),P(Se,W),P(Se,G)),!0===Ze.mathMl&&(P(Ne,M),P(Se,V),P(Se,G))),t.ADD_TAGS&&(Ne===Ce&&(Ne=j(Ne)),P(Ne,t.ADD_TAGS,ve)),t.ADD_ATTR&&(Se===Te&&(Se=j(Se)),P(Se,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&P(et,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&(Ke===Je&&(Ke=j(Ke)),P(Ke,t.FORBID_CONTENTS,ve)),$e&&(Ne["#text"]=!0),Fe&&P(Ne,["html","head","body"]),Ne.table&&(P(Ne,["tbody"]),delete Re.tbody),p&&p(t),ft=t)},mt=P({},["mi","mo","mn","ms","mtext"]),yt=P({},["foreignobject","desc","title","annotation-xml"]),vt=P({},["title","style","font","a","script"]),gt=P({},I);P(gt,U),P(gt,F);var bt=P({},M);P(bt,B);var wt=function(e){var t=ie(e);t&&t.tagName||(t={namespaceURI:it,tagName:"template"});var n=k(e.tagName),r=k(t.tagName);return!!lt[e.namespaceURI]&&(e.namespaceURI===rt?t.namespaceURI===ot?"svg"===n:t.namespaceURI===nt?"svg"===n&&("annotation-xml"===r||mt[r]):Boolean(gt[n]):e.namespaceURI===nt?t.namespaceURI===ot?"math"===n:t.namespaceURI===rt?"math"===n&&yt[r]:Boolean(bt[n]):e.namespaceURI===ot?!(t.namespaceURI===rt&&!yt[r])&&!(t.namespaceURI===nt&&!mt[r])&&!bt[n]&&(vt[n]||!gt[n]):!("application/xhtml+xml"!==ye||!lt[e.namespaceURI]))},_t=function(e){x(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},xt=function(e,t){try{x(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){x(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(ze||He)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},kt=function(e){var t,n;if(Be)e="<remove></remove>"+e;else{var r=E(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ye&&it===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=le?le.createHTML(e):e;if(it===ot)try{t=(new v).parseFromString(o,ye)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(it,"template",null);try{t.documentElement.innerHTML=at?ce:o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),it===ot?pe.call(t,Fe?"html":"body")[0]:Fe?t.documentElement:i},Ot=function(e){return fe.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},Et=function(e){return e instanceof y&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof m)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(t){return"object"===e(u)?t instanceof u:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Ct=function(e,t,n){me[e]&&w(me[e],(function(e){e.call(r,t,n,ft)}))},St=function(e){var t;if(Ct("beforeSanitizeElements",e,null),Et(e))return _t(e),!0;var n=ve(e.nodeName);if(Ct("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&(!Nt(e.content)||!Nt(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return _t(e),!0;if(!Ne[n]||Re[n]){if(!Re[n]&&At(n)){if(Ae.tagNameCheck instanceof RegExp&&T(Ae.tagNameCheck,n))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))return!1}if($e&&!Ke[n]){var o=ie(e)||e.parentNode,i=oe(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(R(i[a],!0),re(e))}return _t(e),!0}return e instanceof f&&!wt(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n||!T(/<\/no(script|embed)/i,e.innerHTML)?(Ue&&3===e.nodeType&&(t=e.textContent,t=N(t,ge," "),t=N(t,be," "),t=N(t,we," "),e.textContent!==t&&(x(r.removed,{element:e.cloneNode()}),e.textContent=t)),Ct("afterSanitizeElements",e,null),!1):(_t(e),!0)},Tt=function(e,t,n){if(Ve&&("id"===t||"name"===t)&&(n in a||n in dt))return!1;if(Le&&!Pe[t]&&T(_e,t));else if(je&&T(xe,t));else if(!Se[t]||Pe[t]){if(!(At(e)&&(Ae.tagNameCheck instanceof RegExp&&T(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&T(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&T(Ae.tagNameCheck,n)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))))return!1}else if(et[t]);else if(T(Ee,N(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==C(n,"data:")||!Xe[e])if(De&&!T(ke,N(n,Oe,"")));else if(n)return!1;return!0},At=function(e){return e.indexOf("-")>0},Rt=function(t){var n,o,i,a;Ct("beforeSanitizeAttributes",t,null);var l=t.attributes;if(l){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};for(a=l.length;a--;){var s=n=l[a],u=s.name,f=s.namespaceURI;if(o="value"===u?n.value:S(n.value),i=ve(u),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,Ct("uponSanitizeAttribute",t,c),o=c.attrValue,!c.forceKeepAttr&&(xt(u,t),c.keepAttr))if(Ie||!T(/\/>/i,o)){Ue&&(o=N(o,ge," "),o=N(o,be," "),o=N(o,we," "));var d=ve(t.nodeName);if(Tt(d,i,o)){if(!Ge||"id"!==i&&"name"!==i||(xt(u,t),o=qe+o),le&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(d,i)){case"TrustedHTML":o=le.createHTML(o);break;case"TrustedScriptURL":o=le.createScriptURL(o)}try{f?t.setAttributeNS(f,u,o):t.setAttribute(u,o),_(r.removed)}catch(e){}}}else xt(u,t)}Ct("afterSanitizeAttributes",t,null)}},Pt=function e(t){var n,r=Ot(t);for(Ct("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ct("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof l&&e(n.content),Rt(n));Ct("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){var t,n,i,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((at=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Me||ht(c),r.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){var s=ve(e.nodeName);if(!Ne[s]||Re[s])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof u)1===(n=(t=kt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?t=n:t.appendChild(n);else{if(!ze&&!Ue&&!Fe&&-1===e.indexOf("<"))return le&&We?le.createHTML(e):e;if(!(t=kt(e)))return ze?null:We?ce:""}t&&Be&&_t(t.firstChild);for(var f=Ot(Ye?e:t);i=f.nextNode();)St(i)||(i.content instanceof l&&Pt(i.content),Rt(i));if(Ye)return e;if(ze){if(He)for(a=de.call(t.ownerDocument);t.firstChild;)a.appendChild(t.firstChild);else a=t;return(Se.shadowroot||Se.shadowrootmod)&&(a=he.call(o,a,!0)),a}var d=Fe?t.outerHTML:t.innerHTML;return Fe&&Ne["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&T(ee,t.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+d),Ue&&(d=N(d,ge," "),d=N(d,be," "),d=N(d,we," ")),le&&We?le.createHTML(d):d},r.setConfig=function(e){ht(e),Me=!0},r.clearConfig=function(){ft=null,Me=!1},r.isValidAttribute=function(e,t,n){ft||ht({});var r=ve(e),o=ve(t);return Tt(r,o,n)},r.addHook=function(e,t){"function"==typeof t&&(me[e]=me[e]||[],x(me[e],t))},r.removeHook=function(e){if(me[e])return _(me[e])},r.removeHooks=function(e){me[e]&&(me[e]=[])},r.removeAllHooks=function(){me={}},r}()}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var r={};(()=>{"use strict";n.d(r,{I:()=>Zr});var e,t,o,i,a,l,c={},s=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function p(t,n,r){var o,i,a,l={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=n[a];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===l[a]&&(l[a]=t.defaultProps[a]);return h(t,l,o,i,null)}function h(e,n,r,i,a){var l={type:e,props:n,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=t.vnode&&t.vnode(l),l}function m(e){return e.children}function y(e,t){this.props=e,this.context=t}function v(e,t){if(null==t)return e.__?v(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?v(e):null}function g(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 g(e)}}function b(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!w.__r++||a!==t.debounceRendering)&&((a=t.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-t.__v.__b})),i=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,T(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?v(o):i,o.__h),A(n,o),o.__e!=i&&g(o)))}))}function _(e,t,n,r,o,i,a,l,u,f){var d,p,y,g,b,w,_,k=r&&r.__k||s,E=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(g=n.__k[d]=null==(g=t[d])||"boolean"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?h(null,g,null,null,g):Array.isArray(g)?h(m,{children:g},null,null,null):g.__b>0?h(g.type,g.props,g.key,null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(y=k[d])||y&&g.key==y.key&&g.type===y.type)k[d]=void 0;else for(p=0;p<E;p++){if((y=k[p])&&g.key==y.key&&g.type===y.type){k[p]=void 0;break}y=null}T(e,g,y=y||c,o,i,a,l,u,f),b=g.__e,(p=g.ref)&&y.ref!=p&&(_||(_=[]),y.ref&&_.push(y.ref,null,g),_.push(p,g.__c||b,g)),null!=b?(null==w&&(w=b),"function"==typeof g.type&&g.__k===y.__k?g.__d=u=x(g,u,e):u=O(e,g,y,k,b,u),"function"==typeof n.type&&(n.__d=u)):u&&y.__e==u&&u.parentNode!=e&&(u=v(y))}for(n.__e=w,d=E;d--;)null!=k[d]&&("function"==typeof n.type&&null!=k[d].__e&&k[d].__e==n.__d&&(n.__d=v(r,d+1)),j(k[d],k[d]));if(_)for(d=0;d<_.length;d++)P(_[d],_[++d],_[++d])}function x(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?x(r,t,n):O(n,r,r,o,r.__e,t));return t}function k(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){k(e,t)})):t.push(e)),t}function O(e,t,n,r,o,i){var a,l,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(l=i,c=0;(l=l.nextSibling)&&c<r.length;c+=2)if(l==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function E(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||u.test(t)?n:n+"px"}function N(e,t,n,r,o){var i;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||E(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||E(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?S:C,i):e.removeEventListener(t,i?S:C,i);else if("dangerouslySetInnerHTML"!==t){if(o)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 C(e){this.l[e.type+!1](t.event?t.event(e):e)}function S(e){this.l[e.type+!0](t.event?t.event(e):e)}function T(e,n,r,o,i,a,l,c,s){var u,d,p,h,v,g,b,w,x,k,O,E,N,C=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(s=r.__h,c=n.__e=r.__e,n.__h=null,a=[c]),(u=t.__b)&&u(n);try{e:if("function"==typeof C){if(w=n.props,x=(u=C.contextType)&&o[u.__c],k=u?x?x.props.value:u.__:o,r.__c?b=(d=n.__c=r.__c).__=d.__E:("prototype"in C&&C.prototype.render?n.__c=d=new C(w,k):(n.__c=d=new y(w,k),d.constructor=C,d.render=L),x&&x.sub(d),d.props=w,d.state||(d.state={}),d.context=k,d.__n=o,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=C.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,C.getDerivedStateFromProps(w,d.__s))),h=d.props,v=d.state,p)null==C.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==C.getDerivedStateFromProps&&w!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(w,k),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(w,d.__s,k)||n.__v===r.__v){d.props=w,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&l.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(w,d.__s,k),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,v,g)}))}if(d.context=k,d.props=w,d.__v=n,d.__P=e,O=t.__r,E=0,"prototype"in C&&C.prototype.render)d.state=d.__s,d.__d=!1,O&&O(n),u=d.render(d.props,d.state,d.context);else do{d.__d=!1,O&&O(n),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++E<25);d.state=d.__s,null!=d.getChildContext&&(o=f(f({},o),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(g=d.getSnapshotBeforeUpdate(h,v)),N=null!=u&&u.type===m&&null==u.key?u.props.children:u,_(e,Array.isArray(N)?N:[N],n,r,o,i,a,l,c,s),d.base=n.__e,n.__h=null,d.__h.length&&l.push(d),b&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=R(r.__e,n,r,o,i,a,l,s);(u=t.diffed)&&u(n)}catch(e){n.__v=null,(s||null!=a)&&(n.__e=c,n.__h=!!s,a[a.indexOf(c)]=null),t.__e(e,n,r)}}function A(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function R(t,n,r,o,i,a,l,s){var u,f,p,h=r.props,m=n.props,y=n.type,g=0;if("svg"===y&&(i=!0),null!=a)for(;g<a.length;g++)if((u=a[g])&&"setAttribute"in u==!!y&&(y?u.localName===y:3===u.nodeType)){t=u,a[g]=null;break}if(null==t){if(null===y)return document.createTextNode(m);t=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,m.is&&m),a=null,s=!1}if(null===y)h===m||s&&t.data===m||(t.data=m);else{if(a=a&&e.call(t.childNodes),f=(h=r.props||c).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!s){if(null!=a)for(h={},g=0;g<t.attributes.length;g++)h[t.attributes[g].name]=t.attributes[g].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||N(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||N(e,i,t[i],n[i],r)}(t,m,h,i,s),p)n.__k=[];else if(g=n.props.children,_(t,Array.isArray(g)?g:[g],n,r,o,i&&"foreignObject"!==y,a,l,a?a[0]:r.__k&&v(r,0),s),null!=a)for(g=a.length;g--;)null!=a[g]&&d(a[g]);s||("value"in m&&void 0!==(g=m.value)&&(g!==t.value||"progress"===y&&!g||"option"===y&&g!==h.value)&&N(t,"value",g,h.value,!1),"checked"in m&&void 0!==(g=m.checked)&&g!==t.checked&&N(t,"checked",g,h.checked,!1))}return t}function P(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function j(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||P(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&j(o[i],n,"function"!=typeof e.type);r||null==e.__e||d(e.__e),e.__e=e.__d=void 0}function L(e,t,n){return this.constructor(e,n)}function D(n,r,o){var i,a,l;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],T(r,n=(!i&&o||r).__k=p(m,null,[n]),a||c,c,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:a?a.__e:r.firstChild,i),A(l,n)}function I(e,t){D(e,t,I)}function U(t,n,r){var o,i,a,l=f({},t.props);for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=n[a];return arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),h(t.type,l,o||t.key,i||t.ref,null)}function F(e,t){var n={__c:t="__cC"+l++,__: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(b)},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}function M(){return(M=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}).apply(this,arguments)}function B(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,["context","children"]);return U(t,n)}function z(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=p(B,M({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],o={},i=0,a=t.attributes,l=t.childNodes;for(i=a.length;i--;)"slot"!==a[i].name&&(o[a[i].name]=a[i].value,o[H(a[i].name)]=a[i].value);for(i=l.length;i--;){var c=e(l[i],null),s=l[i].slot;s?o[s]=p(G,{name:s},c):r[i]=c}var u=n?p(G,null,r):r;return p(n||t.nodeName.toLowerCase(),o,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?I:D)(this._vdom,this._root)}function H(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function W(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[H(e)]=n,this._vdom=U(this._vdom,r),D(this._vdom,this._root)}}function V(){D(this._vdom=null,this._root)}function G(e,t){var n=this;return p("slot",M({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}e=s.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},o=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),b(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},y.prototype.render=m,i=[],w.__r=0,l=0;var q=0;function $(e,n,r,o,i){var a,l,c={};for(l in n)"ref"==l?a=n[l]:c[l]=n[l];var s={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--q,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===c[l]&&(c[l]=a[l]);return t.vnode&&t.vnode(s),s}var Y,Z,K,J,X=0,Q=[],ee=[],te=t.__b,ne=t.__r,re=t.diffed,oe=t.__c,ie=t.unmount;function ae(e,n){t.__h&&t.__h(Z,e,X||n),X=0;var r=Z.__H||(Z.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:ee}),r.__[e]}function le(e){return X=1,ce(we,e)}function ce(e,t,n){var r=ae(Y++,2);return r.t=e,r.__c||(r.__=[n?n(t):we(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=Z),r.__}function se(e,n){var r=ae(Y++,3);!t.__s&&be(r.__H,n)&&(r.__=e,r.u=n,Z.__H.__h.push(r))}function ue(e,n){var r=ae(Y++,4);!t.__s&&be(r.__H,n)&&(r.__=e,r.u=n,Z.__h.push(r))}function fe(e){return X=5,de((function(){return{current:e}}),[])}function de(e,t){var n=ae(Y++,7);return be(n.__H,t)?(n.__V=e(),n.u=t,n.__h=e,n.__V):n.__}function pe(e,t){return X=8,de((function(){return e}),t)}function he(e){var t=Z.context[e.__c],n=ae(Y++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Z)),t.props.value):e.__}function me(){for(var e;e=Q.shift();)if(e.__P)try{e.__H.__h.forEach(ve),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){Z=null,te&&te(e)},t.__r=function(e){ne&&ne(e),Y=0;var t=(Z=e.__c).__H;t&&(K===Z?(t.__h=[],Z.__h=[],t.__.forEach((function(e){e.__V=ee,e.u=void 0}))):(t.__h.forEach(ve),t.__h.forEach(ge),t.__h=[])),K=Z},t.diffed=function(e){re&&re(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==Q.push(n)&&J===t.requestAnimationFrame||((J=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ye&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ye&&(t=requestAnimationFrame(n))})(me)),n.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.__V!==ee&&(e.__=e.__V),e.u=void 0,e.__V=ee}))),K=Z=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(ve),e.__h=e.__h.filter((function(e){return!e.__||ge(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),oe&&oe(e,n)},t.unmount=function(e){ie&&ie(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{ve(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ye="function"==typeof requestAnimationFrame;function ve(e){var t=Z,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Z=t}function ge(e){var t=Z;e.__c=e.__(),Z=t}function be(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}var _e=function(){return _e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_e.apply(this,arguments)};const xe=function(e){return $("svg",_e({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"lg"===e.size?"h-10 w-10":"h-5 w-5"},{children:[$("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",class:"light"===e.theme?"fill-white":"fill-gray-200","fill-opacity":"light"===e.theme?"0.3":"1"}),$("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",class:"light"===e.theme?"fill-white":"fill-primary-base"})]}))};var ke=F({offers:[],employerName:"",email:"",isComplete:!1,isAppEnabled:!1,flareAppIdentity:{status:"Unregistered"},featureFlags:{flareAppIdentity:!1}}),Oe=n(383),Ee=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};var Ne=function(){return Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ne.apply(this,arguments)};const Ce=function(e){var t=le(!1),n=t[0],r=t[1];return $("button",Ne({type:"button",class:"".concat(e.class," inline-flex items-center justify-center px-10 py-2 border border-transparent text-base font-medium rounded-md shadow-sm text-white disabled:text-gray-300 bg-primary-base hover:bg-primary-hover disabled:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus w-full md:w-auto"),disabled:e.disabled,onClick:function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(t){switch(t.label){case 0:if(!e.onClickPromise||n)return[3,5];r(!0),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.onClickPromise()];case 2:case 3:return t.sent(),[3,4];case 4:r(!1),t.label=5;case 5:return[2]}}))}))}},{children:[$("div",Ne({class:"relative ".concat(n?"invisible":"")},{children:e.children})),n&&$("div",Ne({class:"absolute animate-spin"},{children:$(xe,{theme:"light"})}))]}))};var Se=function(){return Se=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Se.apply(this,arguments)};const Te=function(e){var t=e.className,n=e.onClick,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","onClick"]),o=le(!1),i=o[0],a=o[1],l=pe((function(){if(!i)return a(!0),n().finally((function(){a(!1)}))}),[i,n]);return $("button",Se({className:"inline-flex items-center justify-center px-2 text-primary-base rounded-md bg-transparent hover:bg-sky-50/50 focus:ring-2 focus:ring-primary-focus ".concat(null!=t?t:""),onClick:l},r,{children:[$("div",Se({class:"relative ".concat(i?"invisible":"")},{children:r.children})),i&&$("div",Se({class:"absolute animate-spin"},{children:$(xe,{theme:"primary"})}))]}))};var Ae=function(){return Ae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ae.apply(this,arguments)};const Re=function(e){var t=e.className,n=e.label,r=e.allowedKeyPattern,o=e.onChange,i=e.value,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","label","allowedKeyPattern","onChange","value"]),l=pe((function(e){r.test(e.key)||e.preventDefault()}),[r]);return $(m,{children:[$("label",Ae({class:"font-medium text-sm text-gray-900 text-left"},{children:$("span",{children:n})})),$("input",Ae({type:"text",className:"p-2 border-0 ring-2 ring-gray-200 focus:outline-none focus-visible:ring-gray-500 text-base font-medium rounded-md shadow-sm w-full ".concat(t),value:i,onKeyPress:l,onChange:function(e){return o(e.currentTarget.value)}},a))]})};var Pe=function(){return Pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pe.apply(this,arguments)};const je=function(e){var t=e.className,n=e.children;return $("h1",Pe({className:"text-2xl md:text-3xl font-bold ".concat(null!=t?t:"")},{children:n}))};var Le=function(){return Le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Le.apply(this,arguments)};const De=function(e){var t=e.className,n=e.children;return $("h3",Le({class:"text-base md:text-lg text-gray-600 ".concat(null!=t?t:"")},{children:n}))},Ie=function(e){var t=le(e),n=t[0],r=t[1],o=fe(),i=pe((function(){clearInterval(o.current)}),[]);return se((function(){return i}),[i]),{countdown:n,restart:pe((function(){var t=e;clearInterval(o.current),o.current=setInterval((function(){t<0?clearInterval(o.current):r(t--)}),1e3)}),[e])}};function Ue(e,t){for(var n in t)e[n]=t[n];return e}function Fe(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 Me(e){this.props=e}(Me.prototype=new y).isPureReactComponent=!0,Me.prototype.shouldComponentUpdate=function(e,t){return Fe(this.props,e)||Fe(this.state,t)};var Be=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Be&&Be(e)};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function He(e){function t(t){var n=Ue({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=ze,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var We=function(e,t){return null==e?null:k(k(e).map(t))},Ve={map:We,forEach:We,count:function(e){return e?k(e).length:0},only:function(e){var t=k(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:k},Ge=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Ge(e,t,n,r)};var qe=t.unmount;function $e(){this.__u=0,this.t=null,this.__b=null}function Ye(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),qe&&qe(e)},($e.prototype=new y).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ye(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var l=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;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({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){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=Ue({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&p(m,null,e.fallback);return o&&(o.__h=null),[p(m,null,t.__a?null:e.children),o]};var Ke=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]}};function Je(e){return this.getChildContext=function(){return e.context},e.children}function Xe(e){var t=this,n=e.i;t.componentWillUnmount=function(){D(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,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),D(p(Je,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(Ze.prototype=new y).__a=function(e){var t=this,n=Ye(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ke(t,e,r)):o()};n?n(i):i()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=k(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},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ke(e,n,t)}))};var Qe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,et=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|shape|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,tt="undefined"!=typeof document,nt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(y.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var rt=t.event;function ot(){}function it(){return this.cancelBubble}function at(){return this.defaultPrevented}t.event=function(e){return rt&&(e=rt(e)),e.persist=ot,e.isPropagationStopped=it,e.isDefaultPrevented=at,e.nativeEvent=e};var lt,ct={configurable:!0,get:function(){return this.class}},st=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];tt&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!nt(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&et.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=k(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=k(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,n.class!=n.className&&(ct.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ct))}e.$$typeof=Qe,st&&st(e)};var ut=t.__r;t.__r=function(e){ut&&ut(e),lt=e.__c};var ft={ReactCurrentDispatcher:{current:{readContext:function(e){return lt.__n[e.__c].props.value}}}};function dt(e){return!!e&&e.$$typeof===Qe}function pt(e){return dt(e)?U.apply(null,arguments):e}function ht(e){e()}const mt={useState:le,useReducer:ce,useEffect:se,useLayoutEffect:ue,useInsertionEffect:ue,useTransition:function(){return[!1,ht]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=le(t),r=n[0],o=n[1];return se((function(){return e((function(){o(t())}))}),[e,t]),r},startTransition:ht,useRef:fe,useImperativeHandle:function(e,t,n){X=6,ue((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:de,useCallback:pe,useContext:he,useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:Ve,render:function(e,t,n){return null==t.__k&&(t.textContent=""),D(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return I(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,t){var n=p(Xe,{__v:e,i:t});return n.containerInfo=t,n},createElement:p,createContext:F,createFactory:function(e){return p.bind(null,e)},cloneElement:pt,createRef:function(){return{current:null}},Fragment:m,isValidElement:dt,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:y,PureComponent:Me,memo:function(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:Fe(this.props,e)}function r(t){return this.shouldComponentUpdate=n,p(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:He,flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:$e,SuspenseList:Ze,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return p(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ft};function yt(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,yt),r}var vt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(vt||{}),gt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(gt||{});function bt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a}){let l=_t(t,e);if(i)return wt(l,n,r,a);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=l;if(e)return wt(t,n,r,a)}if(1&c){let{unmount:e=!0,...t}=l;return yt(e?0:1,{0:()=>null,1:()=>wt({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return wt(l,n,r,a)}function wt(e,t={},n,r){let{as:o=n,children:i,refName:a="ref",...l}=Ot(e,["unmount","static"]),c=void 0!==e.ref?{[a]:e.ref}:{},s="function"==typeof i?i(t):i;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let u={};if(o===m&&Object.keys(kt(l)).length>0){if(!dt(s)||Array.isArray(s)&&s.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return pt(s,Object.assign({},_t(s.props,kt(Ot(l,["ref"]))),u,c))}return p(o,Object.assign({},Ot(l,["ref"]),o!==m&&c,o!==m&&u),s)}function _t(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let o=n[e];for(let e of o){if(t.defaultPrevented)return;e(t,...r)}}});return t}function xt(e){var t;return Object.assign(He(e),{displayName:null!=(t=e.displayName)?t:e.name})}function kt(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Ot(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}let Et=F(null);Et.displayName="OpenClosedContext";var Nt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Nt||{});function Ct(){return he(Et)}function St({value:e,children:t}){return mt.createElement(Et.Provider,{value:e},t)}let Tt="undefined"!=typeof window?ue:se,At={serverHandoffComplete:!1};function Rt(){let[e,t]=le(At.serverHandoffComplete);return se((()=>{!0!==e&&t(!0)}),[e]),se((()=>{!1===At.serverHandoffComplete&&(At.serverHandoffComplete=!0)}),[]),e}var Pt;let jt=0;function Lt(){return++jt}let Dt=null!=(Pt=mt.useId)?Pt:function(){let e=Rt(),[t,n]=mt.useState(e?Lt:null);return Tt((()=>{null===t&&n(Lt())}),[t]),null!=t?""+t:void 0};function It(){let e=fe(!1);return Tt((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Ut(e){let t=fe(e);return Tt((()=>{t.current=e}),[e]),t}let Ft=function(e){let t=Ut(e);return mt.useCallback(((...e)=>t.current(...e)),[t])},Mt=Symbol();function Bt(...e){let t=fe(e);se((()=>{t.current=e}),[e]);let n=Ft((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Mt])))?void 0:n}function zt(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add((()=>e.removeEventListener(t,r,o)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>n.requestAnimationFrame((()=>n.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return n.add((()=>clearTimeout(t)))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}function Ht(e,...t){e&&t.length>0&&e.classList.add(...t)}function Wt(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Vt=(e=>(e.Ended="ended",e.Cancelled="cancelled",e))(Vt||{});function Gt({container:e,direction:t,classes:n,events:r,onStart:o,onStop:i}){let a=It(),l=function(){let[e]=le(zt);return se((()=>()=>e.dispose()),[e]),e}(),c=Ut(t),s=Ft((()=>yt(c.current,{enter:()=>r.current.beforeEnter(),leave:()=>r.current.beforeLeave(),idle:()=>{}}))),u=Ft((()=>yt(c.current,{enter:()=>r.current.afterEnter(),leave:()=>r.current.afterLeave(),idle:()=>{}})));Tt((()=>{let t=zt();l.add(t.dispose);let r=e.current;if(r&&"idle"!==c.current&&a.current)return t.dispose(),s(),o.current(c.current),t.add(function(e,t,n,r){let o=n?"enter":"leave",i=zt(),a=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{},l=yt(o,{enter:()=>t.enter,leave:()=>t.leave}),c=yt(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),s=yt(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Wt(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Ht(e,...l,...s),i.nextFrame((()=>{Wt(e,...s),Ht(e,...c),function(e,t){let n=zt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[i,a]=[r,o].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(i+a!==0){let r=[];r.push(n.addEventListener(e,"transitionrun",(o=>{o.target===o.currentTarget&&(r.splice(0).forEach((e=>e())),r.push(n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t("ended"),r.splice(0).forEach((e=>e())))})),n.addEventListener(e,"transitioncancel",(e=>{e.target===e.currentTarget&&(t("cancelled"),r.splice(0).forEach((e=>e())))}))))})))}else t("ended");n.add((()=>t("cancelled"))),n.dispose}(e,(n=>("ended"===n&&(Wt(e,...l),Ht(e,...t.entered)),a(n))))})),i.dispose}(r,n.current,"enter"===c.current,(e=>{t.dispose(),yt(e,{[Vt.Ended](){u(),i.current(c.current)},[Vt.Cancelled]:()=>{}})}))),t.dispose}),[t])}function qt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let $t=F(null);$t.displayName="TransitionContext";var Yt=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Yt||{});let Zt=F(null);function Kt(e){return"children"in e?Kt(e.children):e.current.filter((({state:e})=>"visible"===e)).length>0}function Jt(e){let t=Ut(e),n=fe([]),r=It(),o=Ft(((e,o=gt.Hidden)=>{let i=n.current.findIndex((({id:t})=>t===e));-1!==i&&(yt(o,{[gt.Unmount](){n.current.splice(i,1)},[gt.Hidden](){n.current[i].state="hidden"}}),function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{var e;!Kt(n)&&r.current&&(null==(e=t.current)||e.call(t))})))})),i=Ft((e=>{let t=n.current.find((({id:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({id:e,state:"visible"}),()=>o(e,gt.Unmount)}));return de((()=>({children:n,register:i,unregister:o})),[i,o,n])}function Xt(){}Zt.displayName="NestingContext";let Qt=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function en(e){var t;let n={};for(let r of Qt)n[r]=null!=(t=e[r])?t:Xt;return n}let tn=vt.RenderStrategy,nn=xt((function(e,t){let{beforeEnter:n,afterEnter:r,beforeLeave:o,afterLeave:i,enter:a,enterFrom:l,enterTo:c,entered:s,leave:u,leaveFrom:f,leaveTo:d,...p}=e,h=fe(null),m=Bt(h,t),[y,v]=le("visible"),g=p.unmount?gt.Unmount:gt.Hidden,{show:b,appear:w,initial:_}=function(){let e=he($t);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:x,unregister:k}=function(){let e=he(Zt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),O=fe(null),E=Dt();se((()=>{if(E)return x(E)}),[x,E]),se((()=>{if(g===gt.Hidden&&E){if(b&&"visible"!==y)return void v("visible");yt(y,{hidden:()=>k(E),visible:()=>x(E)})}}),[y,E,x,k,b,g]);let N=Ut({enter:qt(a),enterFrom:qt(l),enterTo:qt(c),entered:qt(s),leave:qt(u),leaveFrom:qt(f),leaveTo:qt(d)}),C=function(e){let t=fe(en(e));return se((()=>{t.current=en(e)}),[e]),t}({beforeEnter:n,afterEnter:r,beforeLeave:o,afterLeave:i}),S=Rt();se((()=>{if(S&&"visible"===y&&null===h.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[h,y,S]);let T=_&&!w,A=!S||T||O.current===b?"idle":b?"enter":"leave",R=fe(!1),P=Jt((()=>{R.current||(v("hidden"),k(E))}));Gt({container:h,classes:N,events:C,direction:A,onStart:Ut((()=>{R.current=!0})),onStop:Ut((e=>{R.current=!1,"leave"===e&&!Kt(P)&&(v("hidden"),k(E))}))}),se((()=>{!T||(g===gt.Hidden?O.current=null:O.current=b)}),[b,T,y]);let j=p,L={ref:m};return mt.createElement(Zt.Provider,{value:P},mt.createElement(St,{value:yt(y,{visible:Nt.Open,hidden:Nt.Closed})},bt({ourProps:L,theirProps:j,defaultTag:"div",features:tn,visible:"visible"===y,name:"Transition.Child"})))})),rn=xt((function(e,t){let{show:n,appear:r=!1,unmount:o,...i}=e,a=fe(null),l=Bt(a,t);Rt();let c=Ct();if(void 0===n&&null!==c&&(n=yt(c,{[Nt.Open]:!0,[Nt.Closed]:!1})),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[s,u]=le(n?"visible":"hidden"),f=Jt((()=>{u("hidden")})),[d,p]=le(!0),h=fe([n]);Tt((()=>{!1!==d&&h.current[h.current.length-1]!==n&&(h.current.push(n),p(!1))}),[h,n]);let y=de((()=>({show:n,appear:r,initial:d})),[n,r,d]);se((()=>{if(n)u("visible");else if(Kt(f)){let e=a.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[n,f]);let v={unmount:o};return mt.createElement(Zt.Provider,{value:f},mt.createElement($t.Provider,{value:y},bt({ourProps:{...v,as:m,children:mt.createElement(nn,{ref:l,...v,...i})},theirProps:{},defaultTag:m,features:tn,visible:"visible"===s,name:"Transition"})))})),on=xt((function(e,t){let n=null!==he($t),r=null!==Ct();return mt.createElement(mt.Fragment,null,!n&&r?mt.createElement(rn,{ref:t,...e}):mt.createElement(nn,{ref:t,...e}))})),an=Object.assign(rn,{Child:on,Root:rn});var ln=function(){return ln=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ln.apply(this,arguments)},cn=function(e){var t=e.children,n=mt.Children.toArray(t),r=n.find((function(e){return e.type===sn})),o=n.find((function(e){return e.type===un}));return $(an,ln({appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",ln({class:"mt-20 md:mt-0 flex flex-col text-center items-center max-w-[40rem] mx-auto"},{children:[$(an,ln({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:r&&$("div",ln({class:"flex items-center h-full"},{children:r}))})),$(an,ln({appear:!0,show:!0,enter:"transition delay-300 duration-[600ms] ease-out",enterFrom:"opacity-0 -translate-y-6",enterTo:"opacity-100 translate-y-0",class:"opacity-0 -translate-y-6"},{children:o&&$("div",ln({class:"flex items-center h-full"},{children:o}))}))]}))}))},sn=function(e){return $(m,{children:e.children})},un=function(e){return $(m,{children:e.children})};cn.Top=sn,cn.Bottom=un;const fn=cn,dn=function(){var e=le(""),t=e[0],n=e[1];return{otp:{valid:de((function(){return 6===t.length}),[t.length]),code:t},setOtp:n}};var pn=function(){return pn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pn.apply(this,arguments)};const hn=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children"]);return $("dialog",pn({className:"z-50 w-full h-full absolute top-0 left-0 bottom-0 right-0"},n,{children:t}))};var mn=function(){return mn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},mn.apply(this,arguments)};const yn=function(e){var t=e.open;return $(hn,mn({open:t},{children:$("div",mn({className:"flex flex-col gap-5 items-center justify-center text-center mt-20"},{children:[$("span",mn({class:"animate-spin"},{children:$(xe,{size:"lg"})})),$(je,{children:"Linking your account"}),$("div",{children:[$(De,{children:"This can take up to 30 seconds."}),$(De,{children:"Please don't navigate away or refresh your browser."})]})]}))}))};var vn=function(){return vn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vn.apply(this,arguments)};const gn=function(e){var t=e.phoneNumber,n=e.onVerify,r=e.onResendOtp,o=e.onSuccess,i=dn(),a=i.otp,l=i.setOtp,c=le(!1),s=c[0],u=c[1],f=le(""),d=f[0],p=f[1],h=Ie(60),y=h.countdown,v=h.restart;se(v,[v]);var g=pe((function(){return u(!0),p(""),n(a.code).then((function(){o()})).catch(p).finally((function(){u(!1)}))}),[o,n,a.code]),b=pe((function(){return p(""),r().then(v).catch(p)}),[r,v]);return $(m,{children:[$(yn,{open:s}),$(fn,{children:[$(fn.Top,{children:$("div",vn({className:"flex flex-col gap-5"},{children:[$(je,{children:"Looks like you already have a Flare Benefits account"}),$(De,{children:["An SMS verification code has been sent to the number ",t,"."]})]}))}),$(fn.Bottom,{children:$("div",vn({className:"mt-5 md:w-[300px] text-left"},{children:[$(Re,{allowedKeyPattern:/[0-9]/,minLength:6,maxLength:6,inputMode:"numeric",className:"mt-1 mb-1 w-full",label:"Enter your verification code",onChange:l}),d&&$("span",vn({className:"text-xs text-rose-500"},{children:d})),$("p",vn({class:"mt-2 text-center text-xs text-gray-600 disabled:opacity-75 "},{children:["Didn't get the code?",$(Te,vn({disabled:0!==y,className:"underline mx-2 disabled:text-gray-600 disabled:hover:bg-transparent disabled:cursor-text disabled:px-0",onClick:b},{children:"Resend SMS"})),0!==y&&$(m,{children:["in ",y," secs"]})]})),$(Ce,vn({class:"mt-5 md:w-full",disabled:!a.valid,onClickPromise:g},{children:"Continue"}))]}))})]})]})};var bn=n(669),wn=n.n(bn),_n=crypto.randomUUID();const xn=function(e){return window.addEventListener(_n,e),function(){return window.removeEventListener(_n,e)}},kn=function(){window.dispatchEvent(new Event(_n))};var On,En=function(){return En=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},En.apply(this,arguments)},Nn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))},Cn=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};!function(e){e[e.Auth_SessionExpired=0]="Auth_SessionExpired"}(On||(On={}));var Sn=function(e){var t,n;throw"Auth_SessionExpired"===(null===(n=null===(t=e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.code)&&kn(),e},Tn=function(){function e(){}return e.initClient=function(e,t,n){this.axiosInstance=wn().create({baseURL:"".concat(e,"/benefits-onboarding/backend"),headers:{Authorization:"Bearer ".concat(t)}}),this.axiosInstance.interceptors.response.use((function(e){return e}),Sn),this.sourceId=n},e.init=function(){return Nn(this,void 0,void 0,(function(){return Cn(this,(function(e){switch(e.label){case 0:return[4,this.axiosInstance.post("/init",{source:"Onboarding",sourceId:this.sourceId})];case 1:return[2,e.sent().data]}}))}))},e.command=function(e){return Nn(this,void 0,void 0,(function(){return Cn(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.post("/command",En({source:"Onboarding",sourceId:this.sourceId},e))];case 1:return t.sent(),[2]}}))}))},e.GetClient=function(){return e.axiosInstance},e}(),An=function(e){switch(e){case"sign-up-viewed":return Tn.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}});case"sign-up-completed":return Tn.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:!0,featureName:"",treatmentName:"",template:"Eoi"}});case"sign-up-declined":return Tn.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:!1,featureName:"",treatmentName:"",template:"Eoi"}})}};const Rn=function(){return{trace:An}};var Pn=/^04\d{1,14}/,jn=/^\+[1-9]\d{1,14}/,Ln=function(e){return jn.test(e)};var Dn=function(){return Dn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Dn.apply(this,arguments)};const In=function(e){var t=e.onSubmit,n=e.onDecline,r=Rn().trace,o=le(""),i=o[0],a=o[1],l=function(){var e=le(""),t=e[0],n=e[1],r=de((function(){return t.replace(/ /g,"")}),[t]),o=de((function(){return Ln(r)||(e=r,Pn.test(e));var e}),[r]),i=de((function(){return Ln(r)?r:"+".concat("61").concat(r.replace(/^0+/,""))}),[r]),a=de((function(){return e=r,t=0,"#### ### ### ### ### ### ###".replace(/#/g,(function(){var n;return null!==(n=e[t++])&&void 0!==n?n:""})).trim();var e,t}),[r]);return{setPhoneNumber:n,phoneNumber:{valid:o,formatted:i,masked:a}}}(),c=l.setPhoneNumber,s=l.phoneNumber;se((function(){r("sign-up-viewed")}),[]);var u=pe((function(){return a(""),t(s).then((function(){return r("sign-up-completed")})).catch(a)}),[s,t,r]),f=pe((function(){return r("sign-up-declined").then(n)}),[n,r]);return $(fn,{children:[$(fn.Top,{children:$("div",Dn({className:"flex flex-col gap-5"},{children:[$(je,{children:"Create your Flare Benefits account"}),$(De,{children:"Confirm your mobile number below to create your Flare Benefits account"})]}))}),$(fn.Bottom,{children:$("div",Dn({className:"mt-5 md:w-[300px] text-left"},{children:[$(Re,{allowedKeyPattern:/[+0-9]/,inputMode:"numeric",className:"mt-1 mb-1 w-full",label:"Australian Mobile Number",value:s.masked,onChange:c}),i&&$("span",Dn({className:"text-xs text-rose-500"},{children:i})),$("div",{children:$("span",Dn({className:"mt-5 font-medium text-sm text-gray-900 text-center"},{children:["By creating your account you confirm you have read and agree to Flare Benefits"," ",$("a",Dn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:" Terms of Use "})),"and",$("a",Dn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:" Privacy Policy"})),"."," "]}))}),$(Ce,Dn({class:"mt-5 md:w-full",disabled:!s.valid,onClickPromise:u},{children:"Create account"})),$(Ce,Dn({class:"mt-5 md:w-full bg-white hover:bg-gray-100 focus:ring-gray-200 border-0 shadow-none text-gray-700 border-gray-300",onClickPromise:f},{children:"No thanks"}))]}))})]})};var Un;function Fn(){return Fn=Object.assign?Object.assign.bind():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},Fn.apply(this,arguments)}const Mn=function(e){return p("svg",Fn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),Un||(Un=p("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0z",clipRule:"evenodd"})))};var Bn=function(){return Bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bn.apply(this,arguments)};const zn=function(e){var t=e.onContinue;return $(fn,{children:[$(fn.Top,{children:$("div",Bn({className:"h-16 w-16 flex items-center justify-center rounded-full bg-blue-50 text-primary-base"},{children:$(Mn,{className:"h-7 w-7"})}))}),$(fn.Bottom,{children:$("div",Bn({className:"mt-5 flex flex-col items-center gap-5 text-center"},{children:[$(je,{children:"You now have access to Flare Benefits"}),$(De,{children:"With your benefits account, you now have access to a range of exclusive benefits through your workplace."}),$(Ce,Bn({class:"mt-5 w-full md:w-[240px]",onClickPromise:function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(e){return t(),[2]}))}))}},{children:"Set up your benefits"}))]}))})]})};var Hn;function Wn(){return Wn=Object.assign?Object.assign.bind():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},Wn.apply(this,arguments)}const Vn=function(e){return p("svg",Wn({xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,fill:"currentColor"},e),Hn||(Hn=p("path",{d:"m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"})))};var Gn=function(){return Gn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Gn.apply(this,arguments)};const qn=function(e){var t=e.open;return $(hn,Gn({open:t},{children:$("div",Gn({className:"flex flex-col gap-5 items-center justify-center text-center mt-20"},{children:[$("span",Gn({class:"animate-spin"},{children:$(xe,{size:"lg"})})),$(je,{children:"Creating your account"}),$("div",{children:[$(De,{children:"This can take up to 30 seconds."}),$(De,{children:"Please don't navigate away or refresh your browser."})]})]}))}))};var $n=function(){return $n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$n.apply(this,arguments)};const Yn=function(e){var t=e.phoneNumber,n=e.onVerify,r=e.onResendOtp,o=e.onGoBack,i=dn(),a=i.otp,l=i.setOtp,c=le(!1),s=c[0],u=c[1],f=le(""),d=f[0],p=f[1],h=Ie(60),y=h.countdown,v=h.restart;se(v,[v]);var g=pe((function(){return u(!0),p(""),n(a.code).catch(p).finally((function(){u(!1)}))}),[n,a.code]),b=pe((function(){return p(""),r().then(v).catch(p)}),[r,v]);return $(m,{children:[$(qn,{open:s}),$(fn,{children:[$(fn.Top,{children:$("div",$n({className:"flex flex-col gap-5"},{children:[$(je,{children:"Verify your mobile number"}),$(De,{children:["An SMS verification code has been sent to the number ",t,"."]})]}))}),$(fn.Bottom,{children:$("div",$n({className:"mt-5 md:w-[300px] text-left"},{children:[$(Re,{allowedKeyPattern:/[0-9]/,inputMode:"numeric",minLength:6,maxLength:6,className:"mt-1 mb-1 w-full",label:"Enter your verification code",onChange:l}),d&&$("span",$n({className:"text-xs text-rose-500"},{children:d})),$("p",$n({class:"mt-2 text-center text-xs text-gray-600 disabled:opacity-75 "},{children:["Didn't get the code?",$(Te,$n({disabled:0!==y,className:"underline mx-2 disabled:text-gray-600 disabled:hover:bg-transparent disabled:cursor-text disabled:px-0",onClick:b},{children:"Resend SMS"})),0!==y&&$(m,{children:["in ",y," secs"]})]})),$(Ce,$n({class:"mt-5 md:w-full",disabled:!a.valid,onClickPromise:g},{children:"Continue"})),$(Ce,$n({class:"mt-5 md:w-full bg-white hover:bg-gray-100 focus:ring-gray-200 border-0 shadow-none text-gray-700 border-gray-300",onClickPromise:function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(e){return o(),[2]}))}))}},{children:$("span",$n({className:"flex gap-3"},{children:[$(Vn,{}),"Back"]}))}))]}))})]})]})},Zn=function(e){var t=e.onSignUp,n=e.onVerify,r=e.onResendOtp,o=e.onSuccess,i=e.onDecline,a=le(""),l=a[0],c=a[1],s=function(e){var t=le(1),n=t[0],r=t[1],o=pe((function(){var e=n-1;e>=1&&r(e)}),[n]),i=pe((function(){var t=n+1;t<=e&&r(t)}),[n,e]);return{step:n,goBack:o,goNext:i}}(3),u=s.step,f=s.goBack,d=s.goNext,p=pe((function(e){return t(e.formatted).then((function(){c(e.masked),d()}))}),[d,t]),h=pe((function(e){return n(e).then((function(){d()}))}),[d,n]);return $(m,{children:[1===u&&$(In,{onSubmit:p,onDecline:i}),2===u&&$(Yn,{phoneNumber:l,onVerify:h,onResendOtp:r,onGoBack:f}),3===u&&$(zn,{onContinue:o})]})};var Kn,Jn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))},Xn=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};!function(e){e.Auth_AccountDisabled="Sorry, your account has been deactivated. Please contact Flare if there are any issues.",e.Auth_AccountLocked="Sorry, your account is currently locked due to too many attempts. Please try again later.",e.Auth_Unregistered="Sorry, we are currently experiencing some issues. Please try again later.",e.Auth_InvalidVerificationCode="Your one time passcode doesn't look right. Please try again with a new one time passcode.",e.Auth_SessionExpired="Sorry, looks like your session has expired. Please try again.",e.Validation_InvalidPhoneNumber="Please enter a valid Australian mobile number beginning with 04."}(Kn||(Kn={}));var Qn=function(e){var t,n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data,r=Kn[null==n?void 0:n.code];throw null!=r?r:"Sorry, we are currently experiencing some issues. Please try again later."};const er=function(e){var t=e.onComplete,n=he(ke).flareAppIdentity,r={signUp:function(e){return Jn(void 0,void 0,void 0,(function(){return Xn(this,(function(t){switch(t.label){case 0:return[4,Tn.GetClient().post("auth/signUp",{mobileNumber:e}).catch(Qn)];case 1:return t.sent(),[2]}}))}))},verifyOtp:function(e){return Jn(void 0,void 0,void 0,(function(){return Xn(this,(function(t){switch(t.label){case 0:return[4,Tn.GetClient().post("auth/verify",{otp:e}).catch(Qn)];case 1:return t.sent(),[2]}}))}))},resendOtp:function(){return Jn(void 0,void 0,void 0,(function(){return Xn(this,(function(e){switch(e.label){case 0:return[4,Tn.GetClient().post("auth/resend").catch(Qn)];case 1:return e.sent(),[2]}}))}))}},o=r.signUp,i=r.verifyOtp,a=r.resendOtp;return $(m,{children:["RegisteredButNotWorkplaceLinked"===(null==n?void 0:n.status)&&$(gn,{phoneNumber:n.maskedPhoneNumber,onVerify:i,onResendOtp:a,onSuccess:t}),"Unregistered"===(null==n?void 0:n.status)&&$(Zn,{onSignUp:o,onVerify:i,onResendOtp:a,onSuccess:t,onDecline:t})]})},tr=n.p+"assets/intro.png";var nr=function(){return nr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nr.apply(this,arguments)},rr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))},or=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const ir=function(e){var t=he(ke).featureFlags,n=le(!0),r=n[0],o=n[1];return se((function(){t.flareAppIdentity||rr(void 0,void 0,void 0,(function(){return or(this,(function(e){switch(e.label){case 0:return[4,Tn.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}})];case 1:return e.sent(),[2]}}))}))}),[]),$(fn,{children:[$(fn.Top,{children:$("img",{class:"max-w-[30rem] w-full",src:tr})}),$(fn.Bottom,{children:$("div",{children:[$("h3",nr({class:"mt-8 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:"Finish setting up your workplace benefits"})),$("p",nr({class:"mt-3 text-lg leading-7 text-gray-600"},{children:"Because your workplace uses Flare you have access to a range of exclusive benefits that can save you thousands of dollars every year on your car, private health insurance, weekly grocery shop and more."})),!t.flareAppIdentity&&$("div",nr({class:"flex items-center text-left mt-6"},{children:[$("input",{class:"accent-primary-base h-4 w-4",type:"checkbox",name:"membership",checked:r,onChange:function(e){var t;return o(null===(t=e.target)||void 0===t?void 0:t.checked)}}),$("label",nr({class:"font-medium text-sm text-gray-900 ml-3",for:"membership"},{children:$("span",{children:["I would like to be contacted about the latest benefits from Flare and agree to the"," ",$("a",nr({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:"privacy policy"})),"."]})}))]})),$(Ce,nr({class:"mt-8",onClickPromise:function(){return rr(void 0,void 0,void 0,(function(){return or(this,(function(n){switch(n.label){case 0:return[4,Tn.command({eventType:"Started"})];case 1:return n.sent(),t.flareAppIdentity?[3,3]:[4,Tn.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:r,featureName:"",treatmentName:"",template:"Eoi"}})];case 2:n.sent(),n.label=3;case 3:return e.onStepComplete(),[2]}}))}))}},{children:"Continue"}))]})})]})};var ar=n(856),lr=n.n(ar),cr=function(){return cr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},cr.apply(this,arguments)},sr=function(e){var t=e.children,n=mt.Children.toArray(t),r=n.find((function(e){return e.type===ur})),o=n.find((function(e){return e.type===fr}));return $(an,cr({appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",cr({class:"md:grid md:grid-cols-2 max-w-[59.5rem] mx-auto"},{children:[$(an,cr({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:r&&$("div",cr({class:"flex items-center h-full"},{children:r}))})),$(an,cr({appear:!0,show:!0,enter:"transition delay-300 duration-[600ms] ease-out",enterFrom:"opacity-0 -translate-y-6",enterTo:"opacity-100 translate-y-0",class:"opacity-0 -translate-y-6"},{children:o&&$("div",cr({class:"flex items-center h-full"},{children:o}))}))]}))}))},ur=function(e){return $(m,{children:e.children})},fr=function(e){return $(m,{children:e.children})};sr.Left=ur,sr.Right=fr;const dr=sr;var pr;function hr(){return hr=Object.assign?Object.assign.bind():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},hr.apply(this,arguments)}const mr=function(e){return p("svg",hr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2},e),pr||(pr=p("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19 9-7 7-7-7"})))};var yr=function(){return yr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},yr.apply(this,arguments)};const vr=function(e){return $(an,yr({appear:!0,show:!0,enter:"transition duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",yr({class:"w-full border border-gray-200 rounded-lg shadow-sm p-4 pl-3 md:p-6 space-y-2"},{children:e.items.map((function(e,t){return $("div",yr({class:"flex space-x-1"},{children:[$("span",{children:$(Mn,{class:"h-5 w-5 fill-primary-base"})}),$("span",yr({class:"text-sm leading-5 text-gray-600"},{children:e}))]}),t)}))}))}))};var gr=function(){return gr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},gr.apply(this,arguments)};const br=function(e){var t=le(!1),n=t[0],r=t[1];return $("div",gr({class:e.class},{children:n?$(vr,{items:e.items}):$("button",gr({type:"button",class:"w-full inline-flex justify-center items-center px-4 py-3 border border-gray-200 shadow-sm text-sm font-medium rounded-md text-primary-base bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus",onClick:function(){return r(!0)}},{children:["Learn more",$("span",gr({class:"ml-1"},{children:$(mr,{class:"h-4 w-4"})}))]}))}))};var wr=function(){return wr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wr.apply(this,arguments)},_r=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))},xr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const kr=function(e){var t,n,r,o;se((function(){_r(void 0,void 0,void 0,(function(){return xr(this,(function(t){switch(t.label){case 0:return[4,Tn.command({offerName:e.step.name,eventType:"OfferViewed",data:wr({},e.step.metadata)})];case 1:return t.sent(),[2]}}))}))}),[e.step.name]);var i=function(t){return _r(void 0,void 0,void 0,(function(){return xr(this,(function(n){switch(n.label){case 0:return[4,Tn.command({offerName:e.step.name,eventType:"OfferProgressed",data:wr(wr({},e.step.metadata),{template:"Eoi",accepted:t})})];case 1:return n.sent(),[2,(t?e.primaryButton:e.secondaryButton).onClick()]}}))}))};return $(dr,{children:[$(dr.Left,{children:$("div",{children:[$("div",wr({class:"flex justify-between md:block text-xs tracking-wide"},{children:$("span",wr({class:"relative px-3 py-0.5 text-primary-base font-semibold"},{children:[e.stepNumber.current," OF ",e.stepNumber.total,$("span",{class:"absolute left-0 rounded-xl bg-primary-base opacity-10 w-full h-[90%]"})]}))})),$(an,wr({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:e.step.content.mobileImageUrl,loading:"lazy"}),$("div",wr({class:"md:max-w-[27.5rem]"},{children:[$("h3",wr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:e.step.content.title})),$("p",wr({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:e.step.content.description})),e.step.content.details&&$("div",wr({class:"mt-6 hidden md:block"},{children:$(vr,{items:e.step.content.details})}))]})),e.step.content.details&&$(br,{class:"mt-6 md:hidden",items:e.step.content.details}),e.children&&e.children,$("div",wr({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:[$(Ce,wr({class:null!==(t=e.primaryButton.class)&&void 0!==t?t:"",onClickPromise:function(){return i(!0)}},{children:null!==(n=e.primaryButton.text)&&void 0!==n?n:"Next"})),(null===(r=e.secondaryButton)||void 0===r?void 0:r.text)&&$(Ce,wr({class:null!==(o=e.secondaryButton.class)&&void 0!==o?o:"bg-white hover:bg-gray-100 focus:ring-gray-200 border-0 shadow-none text-gray-700 border-gray-300",onClickPromise:function(){return i(!1)}},{children:e.secondaryButton.text}))]})),e.step.content.terms&&$("div",wr({class:"flex flex-col gap-3 mt-6 text-gray-600 text-xs"},{children:e.step.content.terms.map((function(e,t){return $("span",{dangerouslySetInnerHTML:{__html:lr().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(dr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})};var Or=function(){return Or=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Or.apply(this,arguments)},Er=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))},Nr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const Cr=function(e){var t,n;return se((function(){Er(void 0,void 0,void 0,(function(){return Nr(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,Tn.command({offerName:e.step.name,eventType:"OfferViewed",data:Or({},e.step.metadata)})]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))}),[e.step]),$(dr,{children:[$(dr.Left,{children:$("div",{children:[$("div",Or({class:"flex justify-between md:block text-xs tracking-wide"},{children:$("span",Or({class:"relative px-3 py-0.5 text-primary-base font-semibold"},{children:[e.stepNumber.current," OF ",e.stepNumber.total,$("span",{class:"absolute left-0 rounded-xl bg-primary-base opacity-10 w-full h-[90%]"})]}))})),$(an,Or({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:e.step.content.mobileImageUrl,loading:"lazy"}),$("div",Or({class:"md:max-w-[27.5rem]"},{children:[$("h3",Or({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:e.step.content.title})),$("p",Or({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:e.step.content.description})),e.step.content.details&&$("div",Or({class:"mt-6 hidden md:block"},{children:$(vr,{items:e.step.content.details})}))]})),e.step.content.details&&$(br,{class:"mt-6 md:hidden",items:e.step.content.details}),e.children&&e.children,$("div",Or({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:$(Ce,Or({class:null!==(t=e.primaryButton.class)&&void 0!==t?t:"",onClickPromise:function(){return Er(void 0,void 0,void 0,(function(){return Nr(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,Tn.command({offerName:e.step.name,eventType:"OfferProgressed",data:Or(Or({},e.step.metadata),{template:"Simple"})})]:[3,2];case 1:t.sent(),t.label=2;case 2:return e.primaryButton.onClick(),[2]}}))}))}},{children:null!==(n=e.primaryButton.text)&&void 0!==n?n:"Next"}))})),e.step.content.terms&&$("div",Or({class:"flex flex-col gap-3 mt-6 text-gray-600 text-xs "},{children:e.step.content.terms.map((function(e,t){return $("span",{dangerouslySetInnerHTML:{__html:lr().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(dr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})},Sr=function(e){switch(e.marketPlaceOffer.content.template){case"Eoi":return $(kr,{stepNumber:e.stepNumber,step:e.marketPlaceOffer,primaryButton:{text:e.marketPlaceOffer.content.acceptButton,onClick:e.onStepComplete},secondaryButton:{text:e.marketPlaceOffer.content.declineButton,onClick:e.onStepComplete}});case"Simple":return $(Cr,{stepNumber:e.stepNumber,step:e.marketPlaceOffer,primaryButton:{text:e.marketPlaceOffer.content.acceptButton,onClick:e.onStepComplete}});default:return function(e){throw new Error("ERROR! Reached forbidden guard function with unexpected value: ".concat(JSON.stringify(e)))}(e.marketPlaceOffer.content.template)}},Tr=n.p+"assets/get-app.jpg";var Ar;function Rr(){return Rr=Object.assign?Object.assign.bind():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},Rr.apply(this,arguments)}const Pr=function(e){return p("svg",Rr({width:36,height:42,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ar||(Ar=p("path",{d:"M29.74 21.874c0-3.357 1.574-5.806 4.628-7.71-1.759-2.45-4.35-3.72-7.774-3.992-3.332-.272-6.94 1.814-8.236 1.814-1.389 0-4.535-1.723-7.034-1.723-5.182.09-10.642 3.99-10.642 12.064 0 2.359.37 4.808 1.295 7.348 1.203 3.356 5.46 11.52 9.902 11.339 2.314 0 3.98-1.633 7.034-1.633 2.961 0 4.442 1.633 7.033 1.633 4.535 0 8.422-7.439 9.532-10.795-6.015-2.812-5.737-8.164-5.737-8.345ZM24.559 6.997C27.057 4.094 26.78 1.373 26.78.375c-2.22.181-4.812 1.542-6.293 3.175-1.666 1.814-2.591 4.082-2.406 6.531 2.406.182 4.627-.998 6.478-3.084Z",fill:"#9CA3AF"})))};var jr;function Lr(){return Lr=Object.assign?Object.assign.bind():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},Lr.apply(this,arguments)}const Dr=function(e){return p("svg",Lr({width:37,height:40,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),jr||(jr=p("path",{d:"M24.106 18.84 6.786 1.882l22.023 12.375-4.703 4.583ZM2.318.89C1.299 1.423.594 2.416.594 3.639v33.687c0 1.222.705 2.215 1.724 2.674l20.064-19.556L2.318.89Zm33.31 17.264-4.625-2.598-5.172 4.89 5.172 4.965 4.703-2.598c1.41-1.07 1.41-3.59-.079-4.66ZM6.784 39.007 28.81 26.708l-4.703-4.583-17.32 16.882Z",fill:"#9CA3AF"})))},Ir=n.p+"assets/get-app-mobile.jpg";var Ur=function(){return Ur=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ur.apply(this,arguments)},Fr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))},Mr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const Br=function(e){var t,n;se((function(){Fr(void 0,void 0,void 0,(function(){return Mr(this,(function(e){switch(e.label){case 0:return[4,Tn.command({eventType:"SummaryViewed",summaryVariant:"app"})];case 1:return e.sent(),[2]}}))}))}),[]);var r={imageUrl:Tr,mobileImageUrl:Ir,title:"Check your email",description:"We’ve sent an email to ".concat(e.email," with instructions on how to download and activate the Flare App and Card.")},o={text:"Continue",class:"mt-6 md:mt-14",onClick:function(){return Fr(void 0,void 0,void 0,(function(){var e,t;return Mr(this,(function(n){switch(n.label){case 0:return[4,Tn.command({eventType:"Completed"})];case 1:return n.sent(),e=document.querySelector(Zr),t=new CustomEvent("step-completion",{bubbles:!0}),null==e||e.dispatchEvent(t),[4,new Promise((function(e){return setTimeout(e,1e4)}))];case 2:return n.sent(),[2]}}))}))}};return $(dr,{children:[$(dr.Left,{children:$("div",{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:r.mobileImageUrl,loading:"lazy"}),$("div",Ur({class:"md:max-w-[27.5rem]"},{children:[$("h3",Ur({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:r.title})),$("p",Ur({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:r.description}))]})),$("div",Ur({class:"mt-6 flex space-x-6"},{children:[$(Pr,{}),$(Dr,{})]})),$(Ce,Ur({class:null!==(t=o.class)&&void 0!==t?t:"",onClickPromise:o.onClick},{children:null!==(n=o.text)&&void 0!==n?n:"Next"}))]})}),$(dr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},zr=n.p+"assets/all-set.jpg",Hr=n.p+"assets/all-set-mobile.jpg";var Wr=function(){return Wr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wr.apply(this,arguments)},Vr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))},Gr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const qr=function(){var e,t;se((function(){Vr(void 0,void 0,void 0,(function(){return Gr(this,(function(e){switch(e.label){case 0:return[4,Tn.command({eventType:"SummaryViewed",summaryVariant:"generic"})];case 1:return e.sent(),[2]}}))}))}),[]);var n=he(ke).flareAppIdentity,r={imageUrl:zr,mobileImageUrl:Hr,title:"You're all set!",description:"RegisteredAndWorkplaceLinked"===n.status?"You’ve already connected this employer with your Flare Benefits account. Simply continue and review the details you have provided to complete your onboarding.":"Simply continue and review the details you have provided to complete your onboarding."},o={text:"Continue",class:"mt-6 md:mt-6",onClick:function(){return Vr(void 0,void 0,void 0,(function(){var e,t;return Gr(this,(function(n){switch(n.label){case 0:return[4,Tn.command({eventType:"Completed"})];case 1:return n.sent(),e=document.querySelector(Zr),t=new CustomEvent("step-completion",{bubbles:!0}),null==e||e.dispatchEvent(t),[4,new Promise((function(e){return setTimeout(e,1e4)}))];case 2:return n.sent(),[2]}}))}))}};return $(dr,{children:[$(dr.Left,{children:$("div",{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:r.mobileImageUrl,loading:"lazy"}),$("div",Wr({class:"md:max-w-[27.5rem]"},{children:[$("h3",Wr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:r.title})),$("p",Wr({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:r.description}))]})),$("div",Wr({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:$(Ce,Wr({class:null!==(e=o.class)&&void 0!==e?e:"",onClickPromise:o.onClick},{children:null!==(t=o.text)&&void 0!==t?t:"Next"}))}))]})}),$(dr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},$r=function(){var e=he(ke),t=e.employerName,n=e.email,r=e.offers,o=function(e,t,n,r,o){var i=function(e,t,n,r,o){var i=n?"SummaryApp":"SummaryGeneric";switch(!0){case t:return[i];case o.flareAppIdentity&&"RegisteredAndWorkplaceLinked"===r.status:return["Introduction","SummaryGeneric"];case o.flareAppIdentity&&"Unregistered"===r.status:return Ee(Ee(["Introduction","FlareAppIdentity"],e.map((function(e){return e.name})),!0),[i],!1);case o.flareAppIdentity&&"RegisteredButNotWorkplaceLinked"===r.status:return["Introduction","FlareAppIdentity",i];default:return Ee(Ee(["Introduction"],e.map((function(e){return e.name})),!0),[i],!1)}}(e,t,n,r,o),a=le(i[0]),l=a[0],c=a[1],s=de((function(){var t=e.find((function(e){return e.name===l}));return t?{screenName:"MarketplaceOffer",offerName:t.name}:{screenName:l}}),[l,e]);return{current:s,goNext:function(){try{var e=i.findIndex((function(e){return e===l})),t=i[e+1];c(t)}catch(e){}}}}(r,e.isComplete,e.isAppEnabled,e.flareAppIdentity,e.featureFlags),i=o.current,a=o.goNext;switch(i.screenName){case"Introduction":return $(ir,{employerName:t,onStepComplete:a});case"FlareAppIdentity":return $(er,{onComplete:a});case"MarketplaceOffer":return $(Sr,{stepNumber:{current:r.findIndex((function(e){return e.name===i.offerName}))+1,total:r.length},marketPlaceOffer:r.find((function(e){return e.name===i.offerName})),onStepComplete:a});case"SummaryApp":return $(Br,{email:n});case"SummaryGeneric":return $(qr,{});default:return $(m,{})}};var Yr=function(){return Yr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Yr.apply(this,arguments)},Zr="benefits-onboarding";!function(e,t,n,r){function o(){var t=Reflect.construct(HTMLElement,[],o);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:"open"}):t,t}(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=z,o.prototype.attributeChangedCallback=W,o.prototype.disconnectedCallback=V,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach((function(e){Object.defineProperty(o.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=typeof t;null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define(t||e.tagName||e.displayName||e.name,o)}((function(e){var t=le(),n=t[0],r=t[1],o=le(0),i=o[0],a=o[1];se((function(){return xn((function(){l().then((function(){return a(i+1)}))}))}),[i]),se((function(){l()}),[]);var l=function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){var t,n;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(o){switch(o.label){case 0:return t={backendUrl:e["backend-url"],accessToken:e["access-token"],workflowsInstanceId:e["workflows-instance-id"]},Tn.initClient(t.backendUrl,t.accessToken,t.workflowsInstanceId),[4,Tn.init()];case 1:return n=o.sent(),r((a=(i=n).offers.some((function(e){return"Perks"===e.name})),l=i.flareAppIdentity?i.flareAppIdentity.workplaceLinked?{status:"RegisteredAndWorkplaceLinked"}:{status:"RegisteredButNotWorkplaceLinked",maskedPhoneNumber:i.flareAppIdentity.maskedMobileNumber}:{status:"Unregistered"},Yr(Yr({},i),{isAppEnabled:a,flareAppIdentity:l}))),[2]}var i,a,l}))}))};return $(m,{children:[$("style",{children:Oe.Z.toString()}),$("div",Yr({class:"font-inter pt-6 pb-8 md:py-24 px-px"},{children:n?$(ke.Provider,Yr({value:n},{children:$($r,{})})):$("div",Yr({class:"flex justify-center"},{children:$("span",Yr({class:"animate-spin"},{children:$(xe,{size:"lg"})}))}))}),i)]})}),Zr,[],{shadow:!0})})()})();
|
2
|
+
(()=>{var e={669:(e,t,n)=>{e.exports=n(609)},448:(e,t,n)=>{"use strict";var r=n(867),o=n(26),i=n(372),a=n(327),l=n(97),s=n(109),c=n(985),u=n(874),f=n(648),d=n(644),p=n(205);e.exports=function(e){return new Promise((function(t,n){var h,m=e.data,y=e.headers,v=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete y["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+_)}var x=l(e.baseURL,e.url);function k(){if(b){var r="getAllResponseHeaders"in b?s(b.getAllResponseHeaders()):null,i={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};o((function(e){t(e),g()}),(function(e){n(e),g()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=k:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(k)},b.onabort=function(){b&&(n(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new f(t,r.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,b)),b=null},r.isStandardBrowserEnv()){var O=(e.withCredentials||c(x))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;O&&(y[e.xsrfHeaderName]=O)}"setRequestHeader"in b&&r.forEach(y,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete y[t]:b.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(n(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var E=p(x);E&&-1===["http","https","file"].indexOf(E)?n(new f("Unsupported protocol "+E+":",f.ERR_BAD_REQUEST,e)):b.send(m)}))}},609:(e,t,n)=>{"use strict";var r=n(867),o=n(849),i=n(321),a=n(185),l=function e(t){var n=new i(t),l=o(i.prototype.request,n);return r.extend(l,i.prototype,n),r.extend(l,n),l.create=function(n){return e(a(t,n))},l}(n(546));l.Axios=i,l.CanceledError=n(644),l.CancelToken=n(972),l.isCancel=n(502),l.VERSION=n(288).version,l.toFormData=n(675),l.AxiosError=n(648),l.Cancel=l.CanceledError,l.all=function(e){return Promise.all(e)},l.spread=n(713),l.isAxiosError=n(268),e.exports=l,e.exports.default=l},972:(e,t,n)=>{"use strict";var r=n(644);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},644:(e,t,n)=>{"use strict";var r=n(648);function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(867).inherits(o,r,{__CANCEL__:!0}),e.exports=o},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(867),o=n(327),i=n(782),a=n(572),l=n(185),s=n(97),c=n(875),u=c.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=l(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,s=[];if(this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(s),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;r.length;){var p=r.shift(),h=r.shift();try{d=p(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;s.length;)i=i.then(s.shift(),s.shift());return i},f.prototype.getUri=function(e){e=l(this.defaults,e);var t=s(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,n){return this.request(l(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(l(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},648:(e,t,n)=>{"use strict";var r=n(867);function o(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,n,a,l,s){var c=Object.create(i);return r.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,n,a,l),c.name=e.name,s&&Object.assign(c,s),c},e.exports=o},782:(e,t,n)=>{"use strict";var r=n(867);function o(){this.handlers=[]}o.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},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},97:(e,t,n)=>{"use strict";var r=n(793),o=n(303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},572:(e,t,n)=>{"use strict";var r=n(867),o=n(527),i=n(502),a=n(546),l=n(644);function s(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new l}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){t=t||{};var n={};function o(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(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function l(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function s(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);r.isUndefined(o)&&t!==s||(n[e]=o)})),n}},26:(e,t,n)=>{"use strict";var r=n(648);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},527:(e,t,n)=>{"use strict";var r=n(867),o=n(546);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},546:(e,t,n)=>{"use strict";var r=n(867),o=n(16),i=n(648),a=n(874),l=n(675),s={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,f={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(448)),u),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,i=r.isObject(e),a=t&&t["Content-Type"];if((n=r.isFileList(e))||i&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return l(n?{"files[]":e}:e,s&&new s)}return i||"application/json"===a?(c(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i.from(e,i.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){f.headers[e]=r.merge(s)})),e.exports=f},874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:e=>{e.exports={version:"0.27.2"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},327:(e,t,n)=>{"use strict";var r=n(867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var l=e.indexOf("#");-1!==l&&(e=e.slice(0,l)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,n)=>{"use strict";var r=n(867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var l=[];l.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),r.isString(o)&&l.push("path="+o),r.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},985:(e,t,n)=>{"use strict";var r=n(867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},623:e=>{e.exports=null},109:(e,t,n)=>{"use strict";var r=n(867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){t=t||new FormData;var n=[];function o(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,a){if(r.isPlainObject(i)||r.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),r.forEach(i,(function(n,i){if(!r.isUndefined(n)){var l,s=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(r.endsWith(i,"{}"))n=JSON.stringify(n);else if(r.endsWith(i,"[]")&&(l=r.toArray(n)))return void l.forEach((function(e){!r.isUndefined(e)&&t.append(s,o(e))}));e(n,s)}})),n.pop()}else t.append(a,o(i))}(e),t}},875:(e,t,n)=>{"use strict";var r=n(288).version,o=n(648),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 a={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,l){if(!1===e)throw new o(i(r," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,l)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],l=t[a];if(l){var s=e[a],c=void 0===s||l(s,a,e);if(!0!==c)throw new o("option "+a+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},867:(e,t,n)=>{"use strict";var r,o=n(849),i=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=i.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function s(e){return Array.isArray(e)}function c(e){return void 0===e}var u=l("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=l("Date"),h=l("File"),m=l("Blob"),y=l("FileList");function v(e){return"[object Function]"===i.call(e)}var g=l("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var w,_=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:s,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:c,isDate:p,isFile:h,isBlob:m,isFunction:v,isStream:function(e){return f(e)&&v(e.pipe)},isURLSearchParams:g,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:b,merge:function e(){var t={};function n(n,r){d(t[r])&&d(n)?t[r]=e(t[r],n):d(n)?t[r]=e({},n):s(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)b(arguments[r],n);return t},extend:function(e,t,n){return b(t,(function(t,r){e[r]=n&&"function"==typeof t?o(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},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,i,a={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=r[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:_,isFileList:y}},383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(81),o=n.n(r),i=n(645),a=n.n(i)()(o());a.push([e.id,'/*! tailwindcss v3.1.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}span a{color:var(--fl-color-primary)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.left-0{left:0}.bottom-0{bottom:0}.right-0{right:0}.z-50{z-index:50}.my-auto{margin-bottom:auto;margin-top:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-2{margin-left:.5rem;margin-right:.5rem}.ml-3{margin-left:.75rem}.mt-20{margin-top:5rem}.mt-8{margin-top:2rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-4{margin-top:1rem}.mt-2{margin-top:.5rem}.ml-1{margin-left:.25rem}.mt-5{margin-top:1.25rem}.mt-1{margin-top:.25rem}.mb-1{margin-bottom:.25rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-4{height:1rem}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-\\[1\\.5rem\\]{height:1.5rem}.h-\\[1\\.25rem\\]{height:1.25rem}.h-full{height:100%}.h-16{height:4rem}.h-7{height:1.75rem}.h-\\[90\\%\\]{height:90%}.w-full{width:100%}.w-4{width:1rem}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-\\[2\\.75rem\\]{width:2.75rem}.w-\\[1\\.25rem\\]{width:1.25rem}.w-16{width:4rem}.w-7{width:1.75rem}.max-w-\\[59\\.5rem\\]{max-width:59.5rem}.max-w-\\[40rem\\]{max-width:40rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-full{max-width:100%}.shrink-0{flex-shrink:0}.translate-x-\\[1\\.25rem\\]{--tw-translate-x:1.25rem}.translate-x-0,.translate-x-\\[1\\.25rem\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.-translate-y-6{--tw-translate-y:-1.5rem}.-translate-y-6,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-3{gap:.75rem}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.break-words{overflow-wrap:break-word}.rounded-md{border-radius:.375rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-0{border-width:0}.border-transparent{border-color:transparent}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.fill-white{fill:#fff}.fill-gray-200{fill:#e5e7eb}.fill-primary-base{fill:var(--fl-color-primary)}.p-2{padding:.5rem}.p-4{padding:1rem}.px-px{padding-left:1px;padding-right:1px}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.py-0{padding-bottom:0;padding-top:0}.pt-6{padding-top:1.5rem}.pb-8{padding-bottom:2rem}.pl-3{padding-left:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-8{line-height:2rem}.leading-7{line-height:1.75rem}.leading-6{line-height:1.5rem}.tracking-wide{letter-spacing:.025em}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.accent-primary-base{accent-color:var(--fl-color-primary)}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-10{opacity:.1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-0,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-gray-200{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-300{transition-delay:.3s}.duration-200{transition-duration:.2s}.duration-700{transition-duration:.7s}.duration-\\[600ms\\]{transition-duration:.6s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\\:bg-sky-50\\/50:hover{background-color:rgba(240,249,255,.5)}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-primary-focus:focus{--tw-ring-color:var(--fl-color-primary-focus)}.focus\\:ring-gray-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:ring-white:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))}.focus-visible\\:ring-gray-500:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(107 114 128/var(--tw-ring-opacity))}.focus-visible\\:ring-opacity-75:focus-visible{--tw-ring-opacity:0.75}.disabled\\:cursor-text:disabled{cursor:text}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.disabled\\:px-0:disabled{padding-left:0;padding-right:0}.disabled\\:text-gray-300:disabled{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.disabled\\:text-gray-600:disabled{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.disabled\\:opacity-75:disabled{opacity:.75}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}@media (min-width:768px){.md\\:mt-0{margin-top:0}.md\\:mt-14{margin-top:3.5rem}.md\\:mt-3{margin-top:.75rem}.md\\:mt-6{margin-top:1.5rem}.md\\:mt-11{margin-top:2.75rem}.md\\:block{display:block}.md\\:grid{display:grid}.md\\:hidden{display:none}.md\\:w-auto{width:auto}.md\\:w-\\[300px\\]{width:300px}.md\\:w-full{width:100%}.md\\:w-\\[240px\\]{width:240px}.md\\:max-w-\\[27\\.5rem\\]{max-width:27.5rem}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:justify-between{justify-content:space-between}.md\\:p-6{padding:1.5rem}.md\\:py-24{padding-bottom:6rem;padding-top:6rem}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\\:leading-9{line-height:2.25rem}.md\\:leading-7{line-height:1.75rem}.md\\:transition-none{transition-property:none}}',""]);const l=a},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},856:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=Object.entries,c=Object.setPrototypeOf,u=Object.isFrozen,f=Object.getPrototypeOf,d=Object.getOwnPropertyDescriptor,p=Object.freeze,h=Object.seal,m=Object.create,y="undefined"!=typeof Reflect&&Reflect,v=y.apply,g=y.construct;v||(v=function(e,t,n){return e.apply(t,n)}),p||(p=function(e){return e}),h||(h=function(e){return e}),g||(g=function(e,t){return r(e,i(t))});var b,w=R(Array.prototype.forEach),_=R(Array.prototype.pop),x=R(Array.prototype.push),k=R(String.prototype.toLowerCase),O=R(String.prototype.toString),E=R(String.prototype.match),N=R(String.prototype.replace),S=R(String.prototype.indexOf),C=R(String.prototype.trim),T=R(RegExp.prototype.test),A=(b=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return g(b,t)});function R(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return v(e,t,r)}}function P(e,t,n){n=n||k,c&&c(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var i=n(o);i!==o&&(u(t)||(t[r]=i),o=i)}e[o]=!0}return e}function j(e){var t,n=m(null),r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){s=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw i}}}}(s(e));try{for(r.s();!(t=r.n()).done;){var i=o(t.value,2),l=i[0],c=i[1];n[l]=c}}catch(e){r.e(e)}finally{r.f()}return n}function L(e,t){for(;null!==e;){var n=d(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=f(e)}return function(e){return console.warn("fallback value for",e),null}}var D=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),U=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=p(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z=p(["#text"]),H=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),W=p(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=p(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=h(/<%[\w\W]*|[\w\W]*%>/gm),Y=h(/\${[\w\W]*}/gm),Z=h(/^data-[\-\w.\u00B7-\uFFFF]/),J=h(/^aria-[\-\w]+$/),K=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=h(/^(?:\w+script|data):/i),Q=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=h(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),r=function(e){return t(e)};if(r.version="3.0.1",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;var o=n.document,a=n.document,l=n.DocumentFragment,c=n.HTMLTemplateElement,u=n.Node,f=n.Element,d=n.NodeFilter,h=n.NamedNodeMap,m=void 0===h?n.NamedNodeMap||n.MozNamedAttrMap:h,y=n.HTMLFormElement,v=n.DOMParser,g=n.trustedTypes,b=f.prototype,R=L(b,"cloneNode"),re=L(b,"nextSibling"),oe=L(b,"childNodes"),ie=L(b,"parentNode");if("function"==typeof c){var ae=a.createElement("template");ae.content&&ae.content.ownerDocument&&(a=ae.content.ownerDocument)}var le=ne(g,o),se=le?le.createHTML(""):"",ce=a,ue=ce.implementation,fe=ce.createNodeIterator,de=ce.createDocumentFragment,pe=ce.getElementsByTagName,he=o.importNode,me={};r.isSupported="function"==typeof s&&"function"==typeof ie&&ue&&void 0!==ue.createHTMLDocument;var ye,ve,ge=q,be=$,we=Y,_e=Z,xe=J,ke=X,Oe=Q,Ee=K,Ne=null,Se=P({},[].concat(i(D),i(U),i(I),i(M),i(z))),Ce=null,Te=P({},[].concat(i(H),i(W),i(V),i(G))),Ae=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Re=null,Pe=null,je=!0,Le=!0,De=!1,Ue=!0,Ie=!1,Fe=!1,Me=!1,Be=!1,ze=!1,He=!1,We=!1,Ve=!0,Ge=!1,qe="user-content-",$e=!0,Ye=!1,Ze={},Je=null,Ke=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,Qe=P({},["audio","video","img","source","image","track"]),et=null,tt=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),nt="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml",it=ot,at=!1,lt=null,st=P({},[nt,rt,ot],O),ct=["application/xhtml+xml","text/html"],ut="text/html",ft=null,dt=a.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(t){ft&&ft===t||(t&&"object"===e(t)||(t={}),t=j(t),ye=ye=-1===ct.indexOf(t.PARSER_MEDIA_TYPE)?ut:t.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===ye?O:k,Ne="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS,ve):Se,Ce="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR,ve):Te,lt="ALLOWED_NAMESPACES"in t?P({},t.ALLOWED_NAMESPACES,O):st,et="ADD_URI_SAFE_ATTR"in t?P(j(tt),t.ADD_URI_SAFE_ATTR,ve):tt,Xe="ADD_DATA_URI_TAGS"in t?P(j(Qe),t.ADD_DATA_URI_TAGS,ve):Qe,Je="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS,ve):Ke,Re="FORBID_TAGS"in t?P({},t.FORBID_TAGS,ve):{},Pe="FORBID_ATTR"in t?P({},t.FORBID_ATTR,ve):{},Ze="USE_PROFILES"in t&&t.USE_PROFILES,je=!1!==t.ALLOW_ARIA_ATTR,Le=!1!==t.ALLOW_DATA_ATTR,De=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ue=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ie=t.SAFE_FOR_TEMPLATES||!1,Fe=t.WHOLE_DOCUMENT||!1,ze=t.RETURN_DOM||!1,He=t.RETURN_DOM_FRAGMENT||!1,We=t.RETURN_TRUSTED_TYPE||!1,Be=t.FORCE_BODY||!1,Ve=!1!==t.SANITIZE_DOM,Ge=t.SANITIZE_NAMED_PROPS||!1,$e=!1!==t.KEEP_CONTENT,Ye=t.IN_PLACE||!1,Ee=t.ALLOWED_URI_REGEXP||Ee,it=t.NAMESPACE||ot,Ae=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&pt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(Le=!1),He&&(ze=!0),Ze&&(Ne=P({},i(z)),Ce=[],!0===Ze.html&&(P(Ne,D),P(Ce,H)),!0===Ze.svg&&(P(Ne,U),P(Ce,W),P(Ce,G)),!0===Ze.svgFilters&&(P(Ne,I),P(Ce,W),P(Ce,G)),!0===Ze.mathMl&&(P(Ne,M),P(Ce,V),P(Ce,G))),t.ADD_TAGS&&(Ne===Se&&(Ne=j(Ne)),P(Ne,t.ADD_TAGS,ve)),t.ADD_ATTR&&(Ce===Te&&(Ce=j(Ce)),P(Ce,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&P(et,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&(Je===Ke&&(Je=j(Je)),P(Je,t.FORBID_CONTENTS,ve)),$e&&(Ne["#text"]=!0),Fe&&P(Ne,["html","head","body"]),Ne.table&&(P(Ne,["tbody"]),delete Re.tbody),p&&p(t),ft=t)},mt=P({},["mi","mo","mn","ms","mtext"]),yt=P({},["foreignobject","desc","title","annotation-xml"]),vt=P({},["title","style","font","a","script"]),gt=P({},U);P(gt,I),P(gt,F);var bt=P({},M);P(bt,B);var wt=function(e){var t=ie(e);t&&t.tagName||(t={namespaceURI:it,tagName:"template"});var n=k(e.tagName),r=k(t.tagName);return!!lt[e.namespaceURI]&&(e.namespaceURI===rt?t.namespaceURI===ot?"svg"===n:t.namespaceURI===nt?"svg"===n&&("annotation-xml"===r||mt[r]):Boolean(gt[n]):e.namespaceURI===nt?t.namespaceURI===ot?"math"===n:t.namespaceURI===rt?"math"===n&&yt[r]:Boolean(bt[n]):e.namespaceURI===ot?!(t.namespaceURI===rt&&!yt[r])&&!(t.namespaceURI===nt&&!mt[r])&&!bt[n]&&(vt[n]||!gt[n]):!("application/xhtml+xml"!==ye||!lt[e.namespaceURI]))},_t=function(e){x(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},xt=function(e,t){try{x(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){x(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ce[e])if(ze||He)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},kt=function(e){var t,n;if(Be)e="<remove></remove>"+e;else{var r=E(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ye&&it===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=le?le.createHTML(e):e;if(it===ot)try{t=(new v).parseFromString(o,ye)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(it,"template",null);try{t.documentElement.innerHTML=at?se:o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),it===ot?pe.call(t,Fe?"html":"body")[0]:Fe?t.documentElement:i},Ot=function(e){return fe.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},Et=function(e){return e instanceof y&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof m)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(t){return"object"===e(u)?t instanceof u:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},St=function(e,t,n){me[e]&&w(me[e],(function(e){e.call(r,t,n,ft)}))},Ct=function(e){var t;if(St("beforeSanitizeElements",e,null),Et(e))return _t(e),!0;var n=ve(e.nodeName);if(St("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&(!Nt(e.content)||!Nt(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return _t(e),!0;if(!Ne[n]||Re[n]){if(!Re[n]&&At(n)){if(Ae.tagNameCheck instanceof RegExp&&T(Ae.tagNameCheck,n))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))return!1}if($e&&!Je[n]){var o=ie(e)||e.parentNode,i=oe(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(R(i[a],!0),re(e))}return _t(e),!0}return e instanceof f&&!wt(e)?(_t(e),!0):"noscript"!==n&&"noembed"!==n||!T(/<\/no(script|embed)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(t=e.textContent,t=N(t,ge," "),t=N(t,be," "),t=N(t,we," "),e.textContent!==t&&(x(r.removed,{element:e.cloneNode()}),e.textContent=t)),St("afterSanitizeElements",e,null),!1):(_t(e),!0)},Tt=function(e,t,n){if(Ve&&("id"===t||"name"===t)&&(n in a||n in dt))return!1;if(Le&&!Pe[t]&&T(_e,t));else if(je&&T(xe,t));else if(!Ce[t]||Pe[t]){if(!(At(e)&&(Ae.tagNameCheck instanceof RegExp&&T(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&T(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&T(Ae.tagNameCheck,n)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))))return!1}else if(et[t]);else if(T(Ee,N(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==S(n,"data:")||!Xe[e])if(De&&!T(ke,N(n,Oe,"")));else if(n)return!1;return!0},At=function(e){return e.indexOf("-")>0},Rt=function(t){var n,o,i,a;St("beforeSanitizeAttributes",t,null);var l=t.attributes;if(l){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ce};for(a=l.length;a--;){var c=n=l[a],u=c.name,f=c.namespaceURI;if(o="value"===u?n.value:C(n.value),i=ve(u),s.attrName=i,s.attrValue=o,s.keepAttr=!0,s.forceKeepAttr=void 0,St("uponSanitizeAttribute",t,s),o=s.attrValue,!s.forceKeepAttr&&(xt(u,t),s.keepAttr))if(Ue||!T(/\/>/i,o)){Ie&&(o=N(o,ge," "),o=N(o,be," "),o=N(o,we," "));var d=ve(t.nodeName);if(Tt(d,i,o)){if(!Ge||"id"!==i&&"name"!==i||(xt(u,t),o=qe+o),le&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(d,i)){case"TrustedHTML":o=le.createHTML(o);break;case"TrustedScriptURL":o=le.createScriptURL(o)}try{f?t.setAttributeNS(f,u,o):t.setAttribute(u,o),_(r.removed)}catch(e){}}}else xt(u,t)}St("afterSanitizeAttributes",t,null)}},Pt=function e(t){var n,r=Ot(t);for(St("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)St("uponSanitizeShadowNode",n,null),Ct(n)||(n.content instanceof l&&e(n.content),Rt(n));St("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){var t,n,i,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((at=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Me||ht(s),r.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){var c=ve(e.nodeName);if(!Ne[c]||Re[c])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof u)1===(n=(t=kt("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?t=n:t.appendChild(n);else{if(!ze&&!Ie&&!Fe&&-1===e.indexOf("<"))return le&&We?le.createHTML(e):e;if(!(t=kt(e)))return ze?null:We?se:""}t&&Be&&_t(t.firstChild);for(var f=Ot(Ye?e:t);i=f.nextNode();)Ct(i)||(i.content instanceof l&&Pt(i.content),Rt(i));if(Ye)return e;if(ze){if(He)for(a=de.call(t.ownerDocument);t.firstChild;)a.appendChild(t.firstChild);else a=t;return(Ce.shadowroot||Ce.shadowrootmod)&&(a=he.call(o,a,!0)),a}var d=Fe?t.outerHTML:t.innerHTML;return Fe&&Ne["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&T(ee,t.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+d),Ie&&(d=N(d,ge," "),d=N(d,be," "),d=N(d,we," ")),le&&We?le.createHTML(d):d},r.setConfig=function(e){ht(e),Me=!0},r.clearConfig=function(){ft=null,Me=!1},r.isValidAttribute=function(e,t,n){ft||ht({});var r=ve(e),o=ve(t);return Tt(r,o,n)},r.addHook=function(e,t){"function"==typeof t&&(me[e]=me[e]||[],x(me[e],t))},r.removeHook=function(e){if(me[e])return _(me[e])},r.removeHooks=function(e){me[e]&&(me[e]=[])},r.removeAllHooks=function(){me={}},r}()}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var r={};(()=>{"use strict";n.d(r,{I:()=>qr});var e,t,o,i,a,l,s={},c=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function p(t,n,r){var o,i,a,l={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=n[a];if(arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===l[a]&&(l[a]=t.defaultProps[a]);return h(t,l,o,i,null)}function h(e,n,r,i,a){var l={type:e,props:n,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=t.vnode&&t.vnode(l),l}function m(e){return e.children}function y(e,t){this.props=e,this.context=t}function v(e,t){if(null==t)return e.__?v(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?v(e):null}function g(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 g(e)}}function b(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!w.__r++||a!==t.debounceRendering)&&((a=t.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-t.__v.__b})),i=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,T(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?v(o):i,o.__h),A(n,o),o.__e!=i&&g(o)))}))}function _(e,t,n,r,o,i,a,l,u,f){var d,p,y,g,b,w,_,k=r&&r.__k||c,E=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(g=n.__k[d]=null==(g=t[d])||"boolean"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?h(null,g,null,null,g):Array.isArray(g)?h(m,{children:g},null,null,null):g.__b>0?h(g.type,g.props,g.key,null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(y=k[d])||y&&g.key==y.key&&g.type===y.type)k[d]=void 0;else for(p=0;p<E;p++){if((y=k[p])&&g.key==y.key&&g.type===y.type){k[p]=void 0;break}y=null}T(e,g,y=y||s,o,i,a,l,u,f),b=g.__e,(p=g.ref)&&y.ref!=p&&(_||(_=[]),y.ref&&_.push(y.ref,null,g),_.push(p,g.__c||b,g)),null!=b?(null==w&&(w=b),"function"==typeof g.type&&g.__k===y.__k?g.__d=u=x(g,u,e):u=O(e,g,y,k,b,u),"function"==typeof n.type&&(n.__d=u)):u&&y.__e==u&&u.parentNode!=e&&(u=v(y))}for(n.__e=w,d=E;d--;)null!=k[d]&&("function"==typeof n.type&&null!=k[d].__e&&k[d].__e==n.__d&&(n.__d=v(r,d+1)),j(k[d],k[d]));if(_)for(d=0;d<_.length;d++)P(_[d],_[++d],_[++d])}function x(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?x(r,t,n):O(n,r,r,o,r.__e,t));return t}function k(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){k(e,t)})):t.push(e)),t}function O(e,t,n,r,o,i){var a,l,s;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(l=i,s=0;(l=l.nextSibling)&&s<r.length;s+=2)if(l==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function E(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||u.test(t)?n:n+"px"}function N(e,t,n,r,o){var i;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||E(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||E(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?C:S,i):e.removeEventListener(t,i?C:S,i);else if("dangerouslySetInnerHTML"!==t){if(o)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 S(e){this.l[e.type+!1](t.event?t.event(e):e)}function C(e){this.l[e.type+!0](t.event?t.event(e):e)}function T(e,n,r,o,i,a,l,s,c){var u,d,p,h,v,g,b,w,x,k,O,E,N,S=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,s=n.__e=r.__e,n.__h=null,a=[s]),(u=t.__b)&&u(n);try{e:if("function"==typeof S){if(w=n.props,x=(u=S.contextType)&&o[u.__c],k=u?x?x.props.value:u.__:o,r.__c?b=(d=n.__c=r.__c).__=d.__E:("prototype"in S&&S.prototype.render?n.__c=d=new S(w,k):(n.__c=d=new y(w,k),d.constructor=S,d.render=L),x&&x.sub(d),d.props=w,d.state||(d.state={}),d.context=k,d.__n=o,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=S.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,S.getDerivedStateFromProps(w,d.__s))),h=d.props,v=d.state,p)null==S.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==S.getDerivedStateFromProps&&w!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(w,k),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(w,d.__s,k)||n.__v===r.__v){d.props=w,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&l.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(w,d.__s,k),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,v,g)}))}if(d.context=k,d.props=w,d.__v=n,d.__P=e,O=t.__r,E=0,"prototype"in S&&S.prototype.render)d.state=d.__s,d.__d=!1,O&&O(n),u=d.render(d.props,d.state,d.context);else do{d.__d=!1,O&&O(n),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++E<25);d.state=d.__s,null!=d.getChildContext&&(o=f(f({},o),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(g=d.getSnapshotBeforeUpdate(h,v)),N=null!=u&&u.type===m&&null==u.key?u.props.children:u,_(e,Array.isArray(N)?N:[N],n,r,o,i,a,l,s,c),d.base=n.__e,n.__h=null,d.__h.length&&l.push(d),b&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=R(r.__e,n,r,o,i,a,l,c);(u=t.diffed)&&u(n)}catch(e){n.__v=null,(c||null!=a)&&(n.__e=s,n.__h=!!c,a[a.indexOf(s)]=null),t.__e(e,n,r)}}function A(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function R(t,n,r,o,i,a,l,c){var u,f,p,h=r.props,m=n.props,y=n.type,g=0;if("svg"===y&&(i=!0),null!=a)for(;g<a.length;g++)if((u=a[g])&&"setAttribute"in u==!!y&&(y?u.localName===y:3===u.nodeType)){t=u,a[g]=null;break}if(null==t){if(null===y)return document.createTextNode(m);t=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,m.is&&m),a=null,c=!1}if(null===y)h===m||c&&t.data===m||(t.data=m);else{if(a=a&&e.call(t.childNodes),f=(h=r.props||s).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!c){if(null!=a)for(h={},g=0;g<t.attributes.length;g++)h[t.attributes[g].name]=t.attributes[g].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||N(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||N(e,i,t[i],n[i],r)}(t,m,h,i,c),p)n.__k=[];else if(g=n.props.children,_(t,Array.isArray(g)?g:[g],n,r,o,i&&"foreignObject"!==y,a,l,a?a[0]:r.__k&&v(r,0),c),null!=a)for(g=a.length;g--;)null!=a[g]&&d(a[g]);c||("value"in m&&void 0!==(g=m.value)&&(g!==t.value||"progress"===y&&!g||"option"===y&&g!==h.value)&&N(t,"value",g,h.value,!1),"checked"in m&&void 0!==(g=m.checked)&&g!==t.checked&&N(t,"checked",g,h.checked,!1))}return t}function P(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function j(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||P(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&j(o[i],n,"function"!=typeof e.type);r||null==e.__e||d(e.__e),e.__e=e.__d=void 0}function L(e,t,n){return this.constructor(e,n)}function D(n,r,o){var i,a,l;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,l=[],T(r,n=(!i&&o||r).__k=p(m,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,l,!i&&o?o:a?a.__e:r.firstChild,i),A(l,n)}function U(e,t){D(e,t,U)}function I(t,n,r){var o,i,a,l=f({},t.props);for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=n[a];return arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),h(t.type,l,o||t.key,i||t.ref,null)}function F(e,t){var n={__c:t="__cC"+l++,__: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(b)},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}function M(){return(M=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}).apply(this,arguments)}function B(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,["context","children"]);return I(t,n)}function z(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=p(B,M({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],o={},i=0,a=t.attributes,l=t.childNodes;for(i=a.length;i--;)"slot"!==a[i].name&&(o[a[i].name]=a[i].value,o[H(a[i].name)]=a[i].value);for(i=l.length;i--;){var s=e(l[i],null),c=l[i].slot;c?o[c]=p(G,{name:c},s):r[i]=s}var u=n?p(G,null,r):r;return p(n||t.nodeName.toLowerCase(),o,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?U:D)(this._vdom,this._root)}function H(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function W(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[H(e)]=n,this._vdom=I(this._vdom,r),D(this._vdom,this._root)}}function V(){D(this._vdom=null,this._root)}function G(e,t){var n=this;return p("slot",M({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}e=c.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},o=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),b(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},y.prototype.render=m,i=[],w.__r=0,l=0;var q=0;function $(e,n,r,o,i){var a,l,s={};for(l in n)"ref"==l?a=n[l]:s[l]=n[l];var c={type:e,props:s,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--q,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===s[l]&&(s[l]=a[l]);return t.vnode&&t.vnode(c),c}var Y,Z,J,K,X=0,Q=[],ee=[],te=t.__b,ne=t.__r,re=t.diffed,oe=t.__c,ie=t.unmount;function ae(e,n){t.__h&&t.__h(Z,e,X||n),X=0;var r=Z.__H||(Z.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:ee}),r.__[e]}function le(e){return X=1,se(we,e)}function se(e,t,n){var r=ae(Y++,2);return r.t=e,r.__c||(r.__=[n?n(t):we(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=Z),r.__}function ce(e,n){var r=ae(Y++,3);!t.__s&&be(r.__H,n)&&(r.__=e,r.u=n,Z.__H.__h.push(r))}function ue(e,n){var r=ae(Y++,4);!t.__s&&be(r.__H,n)&&(r.__=e,r.u=n,Z.__h.push(r))}function fe(e){return X=5,de((function(){return{current:e}}),[])}function de(e,t){var n=ae(Y++,7);return be(n.__H,t)?(n.__V=e(),n.u=t,n.__h=e,n.__V):n.__}function pe(e,t){return X=8,de((function(){return e}),t)}function he(e){var t=Z.context[e.__c],n=ae(Y++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Z)),t.props.value):e.__}function me(){for(var e;e=Q.shift();)if(e.__P)try{e.__H.__h.forEach(ve),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){Z=null,te&&te(e)},t.__r=function(e){ne&&ne(e),Y=0;var t=(Z=e.__c).__H;t&&(J===Z?(t.__h=[],Z.__h=[],t.__.forEach((function(e){e.__V=ee,e.u=void 0}))):(t.__h.forEach(ve),t.__h.forEach(ge),t.__h=[])),J=Z},t.diffed=function(e){re&&re(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==Q.push(n)&&K===t.requestAnimationFrame||((K=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ye&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ye&&(t=requestAnimationFrame(n))})(me)),n.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.__V!==ee&&(e.__=e.__V),e.u=void 0,e.__V=ee}))),J=Z=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(ve),e.__h=e.__h.filter((function(e){return!e.__||ge(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),oe&&oe(e,n)},t.unmount=function(e){ie&&ie(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{ve(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ye="function"==typeof requestAnimationFrame;function ve(e){var t=Z,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Z=t}function ge(e){var t=Z;e.__c=e.__(),Z=t}function be(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}var _e=function(){return _e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_e.apply(this,arguments)};const xe=function(e){return $("svg",_e({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"lg"===e.size?"h-10 w-10":"h-5 w-5"},{children:[$("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",class:"light"===e.theme?"fill-white":"fill-gray-200","fill-opacity":"light"===e.theme?"0.3":"1"}),$("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",class:"light"===e.theme?"fill-white":"fill-primary-base"})]}))};var ke={offers:[],isComplete:!1,isAppEnabled:!1,identity:{email:"",phoneNumber:"",registrationStatus:"Unregistered"},workplace:{employerName:"",linkingStatus:"Unlinked"},featureFlags:{unifiedCustomerRegistration:!1},updateIdentity:function(e){return{}}},Oe=F(ke),Ee=n(383),Ne=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};var Se=function(){return Se=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Se.apply(this,arguments)};const Ce=function(e){var t=le(!1),n=t[0],r=t[1];return $("button",Se({type:"button",class:"".concat(e.class," inline-flex items-center justify-center px-10 py-2 border border-transparent text-base font-medium rounded-md shadow-sm text-white disabled:text-gray-300 bg-primary-base hover:bg-primary-hover disabled:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus w-full md:w-auto"),disabled:e.disabled,onClick:function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(t){switch(t.label){case 0:if(!e.onClickPromise||n)return[3,5];r(!0),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.onClickPromise()];case 2:case 3:return t.sent(),[3,4];case 4:r(!1),t.label=5;case 5:return[2]}}))}))}},{children:[$("div",Se({class:"relative ".concat(n?"invisible":"")},{children:e.children})),n&&$("div",Se({class:"absolute animate-spin"},{children:$(xe,{theme:"light"})}))]}))};var Te=function(){return Te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Te.apply(this,arguments)};const Ae=function(e){var t=e.className,n=e.label,r=e.allowedKeyPattern,o=e.onChange,i=e.value,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","label","allowedKeyPattern","onChange","value"]),l=pe((function(e){r.test(e.key)||e.preventDefault()}),[r]);return $(m,{children:[$("label",Te({class:"font-medium text-sm text-gray-900 text-left"},{children:$("span",{children:n})})),$("input",Te({type:"text",className:"p-2 border-0 ring-2 ring-gray-200 focus:outline-none focus-visible:ring-gray-500 text-base font-medium rounded-md shadow-sm w-full ".concat(t),value:i,onKeyPress:l,onChange:function(e){return o(e.currentTarget.value)}},a))]})};var Re=function(){return Re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Re.apply(this,arguments)};const Pe=function(e){var t=e.className,n=e.children;return $("h1",Re({className:"text-2xl md:text-3xl font-bold ".concat(null!=t?t:"")},{children:n}))};var je=function(){return je=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},je.apply(this,arguments)};const Le=function(e){var t=e.className,n=e.children;return $("h3",je({class:"text-base md:text-lg text-gray-600 ".concat(null!=t?t:"")},{children:n}))};var De=n(669),Ue=n.n(De),Ie=crypto.randomUUID();const Fe=function(e){return window.addEventListener(Ie,e),function(){return window.removeEventListener(Ie,e)}},Me=function(){window.dispatchEvent(new Event(Ie))};var Be,ze=function(){return ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ze.apply(this,arguments)},He=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},We=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};!function(e){e[e.Auth_SessionExpired=0]="Auth_SessionExpired"}(Be||(Be={}));var Ve=function(e){var t,n;throw"Auth_SessionExpired"===(null===(n=null===(t=e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.code)&&Me(),e},Ge=function(){function e(){}return e.initClient=function(e,t,n){this.axiosInstance=Ue().create({baseURL:"".concat(e,"/benefits-onboarding/backend"),headers:{Authorization:"Bearer ".concat(t)}}),this.axiosInstance.interceptors.response.use((function(e){return e}),Ve),this.sourceId=n},e.init=function(){return He(this,void 0,void 0,(function(){return We(this,(function(e){switch(e.label){case 0:return[4,this.axiosInstance.post("/init",{source:"Onboarding",sourceId:this.sourceId})];case 1:return[2,e.sent().data]}}))}))},e.command=function(e){return He(this,void 0,void 0,(function(){return We(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.post("/command",ze({source:"Onboarding",sourceId:this.sourceId},e))];case 1:return t.sent(),[2]}}))}))},e.GetClient=function(){return e.axiosInstance},e}(),qe=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},$e=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},Ye=function(e){switch(e){case"sign-up-viewed":return Ge.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}});case"sign-up-completed":return qe(void 0,void 0,void 0,(function(){return $e(this,(function(e){switch(e.label){case 0:return[4,Ge.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:!0,featureName:"",treatmentName:"",template:"Eoi"}})];case 1:return e.sent(),[4,Ge.command({eventType:"CustomerRegistrationCompleted",isRegistered:!0})];case 2:return e.sent(),[2]}}))}));case"sign-up-declined":return qe(void 0,void 0,void 0,(function(){return $e(this,(function(e){switch(e.label){case 0:return[4,Ge.command({eventType:"CustomerRegistrationCompleted",isRegistered:!1})];case 1:return e.sent(),[4,Ge.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:!1,featureName:"",treatmentName:"",template:"Eoi"}})];case 2:return e.sent(),[2]}}))}))}};const Ze=function(){return{trace:Ye}};function Je(e,t){for(var n in t)e[n]=t[n];return e}function Ke(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 Xe(e){this.props=e}(Xe.prototype=new y).isPureReactComponent=!0,Xe.prototype.shouldComponentUpdate=function(e,t){return Ke(this.props,e)||Ke(this.state,t)};var Qe=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Qe&&Qe(e)};var et="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function tt(e){function t(t){var n=Je({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=et,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var nt=function(e,t){return null==e?null:k(k(e).map(t))},rt={map:nt,forEach:nt,count:function(e){return e?k(e).length:0},only:function(e){var t=k(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:k},ot=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ot(e,t,n,r)};var it=t.unmount;function at(){this.__u=0,this.t=null,this.__b=null}function lt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function st(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),it&&it(e)},(at.prototype=new y).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=lt(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=a;var l=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;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({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},s=!0===t.__h;r.__u++||s||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},at.prototype.componentWillUnmount=function(){this.t=[]},at.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){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=Je({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&p(m,null,e.fallback);return o&&(o.__h=null),[p(m,null,t.__a?null:e.children),o]};var ct=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]}};function ut(e){return this.getChildContext=function(){return e.context},e.children}function ft(e){var t=this,n=e.i;t.componentWillUnmount=function(){D(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,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),D(p(ut,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(st.prototype=new y).__a=function(e){var t=this,n=lt(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ct(t,e,r)):o()};n?n(i):i()}},st.prototype.render=function(e){this.u=null,this.o=new Map;var t=k(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},st.prototype.componentDidUpdate=st.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ct(e,n,t)}))};var dt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,pt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|shape|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ht="undefined"!=typeof document,mt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(y.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var yt=t.event;function vt(){}function gt(){return this.cancelBubble}function bt(){return this.defaultPrevented}t.event=function(e){return yt&&(e=yt(e)),e.persist=vt,e.isPropagationStopped=gt,e.isDefaultPrevented=bt,e.nativeEvent=e};var wt,_t={configurable:!0,get:function(){return this.class}},xt=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];ht&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!mt(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&pt.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=k(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=k(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,n.class!=n.className&&(_t.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",_t))}e.$$typeof=dt,xt&&xt(e)};var kt=t.__r;t.__r=function(e){kt&&kt(e),wt=e.__c};var Ot={ReactCurrentDispatcher:{current:{readContext:function(e){return wt.__n[e.__c].props.value}}}};function Et(e){return!!e&&e.$$typeof===dt}function Nt(e){return Et(e)?I.apply(null,arguments):e}function St(e){e()}const Ct={useState:le,useReducer:se,useEffect:ce,useLayoutEffect:ue,useInsertionEffect:ue,useTransition:function(){return[!1,St]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=le(t),r=n[0],o=n[1];return ce((function(){return e((function(){o(t())}))}),[e,t]),r},startTransition:St,useRef:fe,useImperativeHandle:function(e,t,n){X=6,ue((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:de,useCallback:pe,useContext:he,useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:rt,render:function(e,t,n){return null==t.__k&&(t.textContent=""),D(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return U(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,t){var n=p(ft,{__v:e,i:t});return n.containerInfo=t,n},createElement:p,createContext:F,createFactory:function(e){return p.bind(null,e)},cloneElement:Nt,createRef:function(){return{current:null}},Fragment:m,isValidElement:Et,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:y,PureComponent:Xe,memo:function(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:Ke(this.props,e)}function r(t){return this.shouldComponentUpdate=n,p(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:tt,flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:at,SuspenseList:st,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return p(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ot};function Tt(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Tt),r}var At=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(At||{}),Rt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Rt||{});function Pt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a}){let l=Lt(t,e);if(i)return jt(l,n,r,a);let s=null!=o?o:0;if(2&s){let{static:e=!1,...t}=l;if(e)return jt(t,n,r,a)}if(1&s){let{unmount:e=!0,...t}=l;return Tt(e?0:1,{0:()=>null,1:()=>jt({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return jt(l,n,r,a)}function jt(e,t={},n,r){let{as:o=n,children:i,refName:a="ref",...l}=It(e,["unmount","static"]),s=void 0!==e.ref?{[a]:e.ref}:{},c="function"==typeof i?i(t):i;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let u={};if(o===m&&Object.keys(Ut(l)).length>0){if(!Et(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return Nt(c,Object.assign({},Lt(c.props,Ut(It(l,["ref"]))),u,s))}return p(o,Object.assign({},It(l,["ref"]),o!==m&&s,o!==m&&u),c)}function Lt(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let o=n[e];for(let e of o){if(t.defaultPrevented)return;e(t,...r)}}});return t}function Dt(e){var t;return Object.assign(tt(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Ut(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function It(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}let Ft=F(null);Ft.displayName="OpenClosedContext";var Mt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Mt||{});function Bt(){return he(Ft)}function zt({value:e,children:t}){return Ct.createElement(Ft.Provider,{value:e},t)}let Ht="undefined"!=typeof window?ue:ce,Wt={serverHandoffComplete:!1};function Vt(){let[e,t]=le(Wt.serverHandoffComplete);return ce((()=>{!0!==e&&t(!0)}),[e]),ce((()=>{!1===Wt.serverHandoffComplete&&(Wt.serverHandoffComplete=!0)}),[]),e}var Gt;let qt=0;function $t(){return++qt}let Yt=null!=(Gt=Ct.useId)?Gt:function(){let e=Vt(),[t,n]=Ct.useState(e?$t:null);return Ht((()=>{null===t&&n($t())}),[t]),null!=t?""+t:void 0};function Zt(){let e=fe(!1);return Ht((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Jt(e){let t=fe(e);return Ht((()=>{t.current=e}),[e]),t}let Kt=function(e){let t=Jt(e);return Ct.useCallback(((...e)=>t.current(...e)),[t])},Xt=Symbol();function Qt(...e){let t=fe(e);ce((()=>{t.current=e}),[e]);let n=Kt((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Xt])))?void 0:n}function en(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add((()=>e.removeEventListener(t,r,o)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>n.requestAnimationFrame((()=>n.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return n.add((()=>clearTimeout(t)))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}function tn(e,...t){e&&t.length>0&&e.classList.add(...t)}function nn(e,...t){e&&t.length>0&&e.classList.remove(...t)}var rn=(e=>(e.Ended="ended",e.Cancelled="cancelled",e))(rn||{});function on({container:e,direction:t,classes:n,events:r,onStart:o,onStop:i}){let a=Zt(),l=function(){let[e]=le(en);return ce((()=>()=>e.dispose()),[e]),e}(),s=Jt(t),c=Kt((()=>Tt(s.current,{enter:()=>r.current.beforeEnter(),leave:()=>r.current.beforeLeave(),idle:()=>{}}))),u=Kt((()=>Tt(s.current,{enter:()=>r.current.afterEnter(),leave:()=>r.current.afterLeave(),idle:()=>{}})));Ht((()=>{let t=en();l.add(t.dispose);let r=e.current;if(r&&"idle"!==s.current&&a.current)return t.dispose(),c(),o.current(s.current),t.add(function(e,t,n,r){let o=n?"enter":"leave",i=en(),a=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{},l=Tt(o,{enter:()=>t.enter,leave:()=>t.leave}),s=Tt(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Tt(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return nn(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),tn(e,...l,...c),i.nextFrame((()=>{nn(e,...c),tn(e,...s),function(e,t){let n=en();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[i,a]=[r,o].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(i+a!==0){let r=[];r.push(n.addEventListener(e,"transitionrun",(o=>{o.target===o.currentTarget&&(r.splice(0).forEach((e=>e())),r.push(n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t("ended"),r.splice(0).forEach((e=>e())))})),n.addEventListener(e,"transitioncancel",(e=>{e.target===e.currentTarget&&(t("cancelled"),r.splice(0).forEach((e=>e())))}))))})))}else t("ended");n.add((()=>t("cancelled"))),n.dispose}(e,(n=>("ended"===n&&(nn(e,...l),tn(e,...t.entered)),a(n))))})),i.dispose}(r,n.current,"enter"===s.current,(e=>{t.dispose(),Tt(e,{[rn.Ended](){u(),i.current(s.current)},[rn.Cancelled]:()=>{}})}))),t.dispose}),[t])}function an(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let ln=F(null);ln.displayName="TransitionContext";var sn=(e=>(e.Visible="visible",e.Hidden="hidden",e))(sn||{});let cn=F(null);function un(e){return"children"in e?un(e.children):e.current.filter((({state:e})=>"visible"===e)).length>0}function fn(e){let t=Jt(e),n=fe([]),r=Zt(),o=Kt(((e,o=Rt.Hidden)=>{let i=n.current.findIndex((({id:t})=>t===e));-1!==i&&(Tt(o,{[Rt.Unmount](){n.current.splice(i,1)},[Rt.Hidden](){n.current[i].state="hidden"}}),function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{var e;!un(n)&&r.current&&(null==(e=t.current)||e.call(t))})))})),i=Kt((e=>{let t=n.current.find((({id:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({id:e,state:"visible"}),()=>o(e,Rt.Unmount)}));return de((()=>({children:n,register:i,unregister:o})),[i,o,n])}function dn(){}cn.displayName="NestingContext";let pn=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function hn(e){var t;let n={};for(let r of pn)n[r]=null!=(t=e[r])?t:dn;return n}let mn=At.RenderStrategy,yn=Dt((function(e,t){let{beforeEnter:n,afterEnter:r,beforeLeave:o,afterLeave:i,enter:a,enterFrom:l,enterTo:s,entered:c,leave:u,leaveFrom:f,leaveTo:d,...p}=e,h=fe(null),m=Qt(h,t),[y,v]=le("visible"),g=p.unmount?Rt.Unmount:Rt.Hidden,{show:b,appear:w,initial:_}=function(){let e=he(ln);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:x,unregister:k}=function(){let e=he(cn);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),O=fe(null),E=Yt();ce((()=>{if(E)return x(E)}),[x,E]),ce((()=>{if(g===Rt.Hidden&&E){if(b&&"visible"!==y)return void v("visible");Tt(y,{hidden:()=>k(E),visible:()=>x(E)})}}),[y,E,x,k,b,g]);let N=Jt({enter:an(a),enterFrom:an(l),enterTo:an(s),entered:an(c),leave:an(u),leaveFrom:an(f),leaveTo:an(d)}),S=function(e){let t=fe(hn(e));return ce((()=>{t.current=hn(e)}),[e]),t}({beforeEnter:n,afterEnter:r,beforeLeave:o,afterLeave:i}),C=Vt();ce((()=>{if(C&&"visible"===y&&null===h.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[h,y,C]);let T=_&&!w,A=!C||T||O.current===b?"idle":b?"enter":"leave",R=fe(!1),P=fn((()=>{R.current||(v("hidden"),k(E))}));on({container:h,classes:N,events:S,direction:A,onStart:Jt((()=>{R.current=!0})),onStop:Jt((e=>{R.current=!1,"leave"===e&&!un(P)&&(v("hidden"),k(E))}))}),ce((()=>{!T||(g===Rt.Hidden?O.current=null:O.current=b)}),[b,T,y]);let j=p,L={ref:m};return Ct.createElement(cn.Provider,{value:P},Ct.createElement(zt,{value:Tt(y,{visible:Mt.Open,hidden:Mt.Closed})},Pt({ourProps:L,theirProps:j,defaultTag:"div",features:mn,visible:"visible"===y,name:"Transition.Child"})))})),vn=Dt((function(e,t){let{show:n,appear:r=!1,unmount:o,...i}=e,a=fe(null),l=Qt(a,t);Vt();let s=Bt();if(void 0===n&&null!==s&&(n=Tt(s,{[Mt.Open]:!0,[Mt.Closed]:!1})),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,u]=le(n?"visible":"hidden"),f=fn((()=>{u("hidden")})),[d,p]=le(!0),h=fe([n]);Ht((()=>{!1!==d&&h.current[h.current.length-1]!==n&&(h.current.push(n),p(!1))}),[h,n]);let y=de((()=>({show:n,appear:r,initial:d})),[n,r,d]);ce((()=>{if(n)u("visible");else if(un(f)){let e=a.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&u("hidden")}else u("hidden")}),[n,f]);let v={unmount:o};return Ct.createElement(cn.Provider,{value:f},Ct.createElement(ln.Provider,{value:y},Pt({ourProps:{...v,as:m,children:Ct.createElement(yn,{ref:l,...v,...i})},theirProps:{},defaultTag:m,features:mn,visible:"visible"===c,name:"Transition"})))})),gn=Dt((function(e,t){let n=null!==he(ln),r=null!==Bt();return Ct.createElement(Ct.Fragment,null,!n&&r?Ct.createElement(vn,{ref:t,...e}):Ct.createElement(yn,{ref:t,...e}))})),bn=Object.assign(vn,{Child:gn,Root:vn});var wn=function(){return wn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wn.apply(this,arguments)},_n=function(e){var t=e.children,n=Ct.Children.toArray(t),r=n.find((function(e){return e.type===xn})),o=n.find((function(e){return e.type===kn}));return $(bn,wn({appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",wn({class:"mt-20 md:mt-0 flex flex-col text-center items-center max-w-[40rem] mx-auto"},{children:[$(bn,wn({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:r&&$("div",wn({class:"flex items-center h-full"},{children:r}))})),$(bn,wn({appear:!0,show:!0,enter:"transition delay-300 duration-[600ms] ease-out",enterFrom:"opacity-0 -translate-y-6",enterTo:"opacity-100 translate-y-0",class:"opacity-0 -translate-y-6"},{children:o&&$("div",wn({class:"flex items-center h-full"},{children:o}))}))]}))}))},xn=function(e){return $(m,{children:e.children})},kn=function(e){return $(m,{children:e.children})};_n.Top=xn,_n.Bottom=kn;const On=_n;var En=/^04\d{1,14}/,Nn=/^\+[1-9]\d{1,14}/,Sn=function(e){return Nn.test(e)};var Cn=function(){return Cn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Cn.apply(this,arguments)};const Tn=function(e){var t=e.phoneNumber,n=e.onSubmit,r=e.onDecline,o=Ze().trace,i=le(""),a=i[0],l=i[1],s=function(e){var t=le(null!=e?e:""),n=t[0],r=t[1],o=de((function(){return n.replace(/ /g,"")}),[n]),i=de((function(){return Sn(o)||(e=o,En.test(e));var e}),[o]),a=de((function(){return Sn(o)?o:"+".concat("61").concat(o.replace(/^0+/,""))}),[o]),l=de((function(){return e=o,t=0,"#### ### ### ### ### ### ###".replace(/#/g,(function(){var n;return null!==(n=e[t++])&&void 0!==n?n:""})).trim();var e,t}),[o]);return{setPhoneNumber:r,phoneNumber:{valid:i,formatted:a,masked:l}}}(t),c=s.setPhoneNumber,u=s.phoneNumber;ce((function(){o("sign-up-viewed")}),[]);var f=pe((function(){return l(""),n(u).then((function(){return o("sign-up-completed")})).catch(l)}),[u,n,o]),d=pe((function(){return o("sign-up-declined").then(r)}),[r,o]);return $(On,{children:[$(On.Top,{children:$("div",Cn({className:"flex flex-col gap-5"},{children:[$(Pe,{children:"Create your Flare Benefits account"}),$(Le,{children:"Confirm your mobile number below to create your Flare Benefits account"})]}))}),$(On.Bottom,{children:$("div",Cn({className:"mt-5 md:w-[300px] text-left"},{children:[$(Ae,{allowedKeyPattern:/[+0-9]/,inputMode:"numeric",className:"mt-1 mb-1 w-full",label:"Australian Mobile Number",value:u.masked,onChange:c}),a&&$("span",Cn({className:"text-xs text-rose-500"},{children:a})),$("div",{children:$("span",Cn({className:"mt-5 font-medium text-sm text-gray-900 text-center"},{children:["By creating your account you confirm you have read and agree to Flare Benefits"," ",$("a",Cn({href:"https://www.flarehr.com/flare-app-terms-and-conditions/",target:"_blank",rel:"noreferrer"},{children:" Terms of Use "})),"and",$("a",Cn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:" Privacy Policy"})),"."," "]}))}),$(Ce,Cn({class:"mt-5 md:w-full",disabled:!u.valid,onClickPromise:f},{children:"Create account"})),$(Ce,Cn({class:"mt-5 md:w-full bg-white hover:bg-gray-100 focus:ring-gray-200 border-0 shadow-none text-gray-700 border-gray-300",onClickPromise:d},{children:"No thanks"}))]}))})]})};var An;function Rn(){return Rn=Object.assign?Object.assign.bind():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},Rn.apply(this,arguments)}const Pn=function(e){return p("svg",Rn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),An||(An=p("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0z",clipRule:"evenodd"})))};var jn=function(){return jn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},jn.apply(this,arguments)};const Ln=function(e){var t=e.onContinue;return $(On,{children:[$(On.Top,{children:$("div",jn({className:"h-16 w-16 flex items-center justify-center rounded-full bg-blue-50 text-primary-base"},{children:$(Pn,{className:"h-7 w-7"})}))}),$(On.Bottom,{children:$("div",jn({className:"mt-5 flex flex-col items-center gap-5 text-center"},{children:[$(Pe,{children:"You now have access to Flare Benefits"}),$(Le,{children:"With your benefits account, you now have access to a range of exclusive benefits through your workplace."}),$(Ce,jn({class:"mt-5 w-full md:w-[240px]",onClickPromise:function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(e){return t(),[2]}))}))}},{children:"Set up your benefits"}))]}))})]})};var Dn;function Un(){return Un=Object.assign?Object.assign.bind():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},Un.apply(this,arguments)}const In=function(e){return p("svg",Un({xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,fill:"currentColor"},e),Dn||(Dn=p("path",{d:"m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"})))};var Fn=function(){return Fn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Fn.apply(this,arguments)};const Mn=function(e){var t=e.className,n=e.onClick,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","onClick"]),o=le(!1),i=o[0],a=o[1],l=pe((function(){if(!i)return a(!0),n().finally((function(){a(!1)}))}),[i,n]);return $("button",Fn({className:"inline-flex items-center justify-center px-2 text-primary-base rounded-md bg-transparent hover:bg-sky-50/50 focus:ring-2 focus:ring-primary-focus ".concat(null!=t?t:""),onClick:l},r,{children:[$("div",Fn({class:"relative ".concat(i?"invisible":"")},{children:r.children})),i&&$("div",Fn({class:"absolute animate-spin"},{children:$(xe,{theme:"primary"})}))]}))};var Bn=function(){return Bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bn.apply(this,arguments)};const zn=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children"]);return $("dialog",Bn({className:"z-50 w-full h-full absolute top-0 left-0 bottom-0 right-0"},n,{children:t}))};var Hn=function(){return Hn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Hn.apply(this,arguments)};const Wn=function(e){var t=e.open;return $(zn,Hn({open:t},{children:$("div",Hn({className:"flex flex-col gap-5 items-center justify-center text-center mt-20"},{children:[$("span",Hn({class:"animate-spin"},{children:$(xe,{size:"lg"})})),$(Pe,{children:"Creating your account"}),$("div",{children:[$(Le,{children:"This can take up to 30 seconds."}),$(Le,{children:"Please don't navigate away or refresh your browser."})]})]}))}))};var Vn=function(){return Vn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Vn.apply(this,arguments)};const Gn=function(e){var t=e.phoneNumber,n=e.onVerify,r=e.onResendOtp,o=e.onGoBack,i=function(){var e=le(""),t=e[0],n=e[1];return{otp:{valid:de((function(){return 6===t.length}),[t.length]),code:t},setOtp:n}}(),a=i.otp,l=i.setOtp,s=le(!1),c=s[0],u=s[1],f=le(""),d=f[0],p=f[1],h=function(e){var t=le(e),n=t[0],r=t[1],o=fe(),i=pe((function(){clearInterval(o.current)}),[]);return ce((function(){return i}),[i]),{countdown:n,restart:pe((function(){var t=e;clearInterval(o.current),o.current=setInterval((function(){t<0?clearInterval(o.current):r(t--)}),1e3)}),[e])}}(60),y=h.countdown,v=h.restart;ce(v,[v]);var g=pe((function(){return u(!0),p(""),n(a.code).catch(p).finally((function(){u(!1)}))}),[n,a.code]),b=pe((function(){return p(""),r().then(v).catch(p)}),[r,v]);return $(m,{children:[$(Wn,{open:c}),$(On,{children:[$(On.Top,{children:$("div",Vn({className:"flex flex-col gap-5"},{children:[$(Pe,{children:"Verify your mobile number"}),$(Le,{children:["An SMS verification code has been sent to the number ",t,"."]})]}))}),$(On.Bottom,{children:$("div",Vn({className:"mt-5 md:w-[300px] text-left"},{children:[$(Ae,{allowedKeyPattern:/[0-9]/,inputMode:"numeric",minLength:6,maxLength:6,className:"mt-1 mb-1 w-full",label:"Enter your verification code",onChange:l}),d&&$("span",Vn({className:"text-xs text-rose-500"},{children:d})),$("p",Vn({class:"mt-2 text-center text-xs text-gray-600 disabled:opacity-75 "},{children:["Didn't get the code?",$(Mn,Vn({disabled:0!==y,className:"underline mx-2 disabled:text-gray-600 disabled:hover:bg-transparent disabled:cursor-text disabled:px-0",onClick:b},{children:"Resend SMS"})),0!==y&&$(m,{children:["in ",y," secs"]})]})),$(Ce,Vn({class:"mt-5 md:w-full",disabled:!a.valid,onClickPromise:g},{children:"Continue"})),$(Ce,Vn({class:"mt-5 md:w-full bg-white hover:bg-gray-100 focus:ring-gray-200 border-0 shadow-none text-gray-700 border-gray-300",onClickPromise:function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(e){return o(),[2]}))}))}},{children:$("span",Vn({className:"flex gap-3"},{children:[$(In,{}),"Back"]}))}))]}))})]})]})},qn=function(e){var t=e.phoneNumber,n=e.onSignUp,r=e.onVerify,o=e.onResendOtp,i=e.onSuccess,a=e.onDecline,l=le(null!=t?t:""),s=l[0],c=l[1],u=function(e){var t=le(1),n=t[0],r=t[1],o=pe((function(){var e=n-1;e>=1&&r(e)}),[n]),i=pe((function(){var t=n+1;t<=e&&r(t)}),[n,e]);return{step:n,goBack:o,goNext:i}}(3),f=u.step,d=u.goBack,p=u.goNext,h=pe((function(e){return n(e.formatted).then((function(){c(e.masked),p()}))}),[p,n]),y=pe((function(e){return r(e).then((function(){p()}))}),[p,r]);return $(m,{children:[1===f&&$(Tn,{phoneNumber:s,onSubmit:h,onDecline:a}),2===f&&$(Gn,{phoneNumber:s,onVerify:y,onResendOtp:o,onGoBack:d}),3===f&&$(Ln,{onContinue:i})]})};var $n,Yn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},Zn=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};!function(e){e.Auth_AccountDisabled="Sorry, your account has been deactivated. Please contact Flare if there are any issues.",e.Auth_AccountLocked="Sorry, your account is currently locked due to too many attempts. Please try again later.",e.Auth_Unregistered="Sorry, we are currently experiencing some issues. Please try again later.",e.Auth_InvalidVerificationCode="Your one time passcode doesn't look right. Please try again with a new one time passcode.",e.Auth_SessionExpired="Sorry, looks like your session has expired. Please try again.",e.Validation_InvalidPhoneNumber="Please enter a valid Australian mobile number beginning with 04."}($n||($n={}));var Jn=function(e){var t,n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data,r=$n[null==n?void 0:n.code];throw null!=r?r:"Sorry, we are currently experiencing some issues. Please try again later."};const Kn=function(e){var t=e.onSuccess,n=e.onDecline,r=he(Oe).identity.phoneNumber,o={signUp:function(e){return Yn(void 0,void 0,void 0,(function(){return Zn(this,(function(t){switch(t.label){case 0:return[4,Ge.GetClient().post("auth/signUp",{mobileNumber:e}).catch(Jn)];case 1:return t.sent(),[2]}}))}))},verifyOtp:function(e){return Yn(void 0,void 0,void 0,(function(){return Zn(this,(function(t){switch(t.label){case 0:return[4,Ge.GetClient().post("auth/verify",{otp:e}).catch(Jn)];case 1:return t.sent(),[2]}}))}))},resendOtp:function(){return Yn(void 0,void 0,void 0,(function(){return Zn(this,(function(e){switch(e.label){case 0:return[4,Ge.GetClient().post("auth/resend").catch(Jn)];case 1:return e.sent(),[2]}}))}))}};return $(m,{children:$(qn,{phoneNumber:r,onSignUp:o.signUp,onVerify:o.verifyOtp,onResendOtp:o.resendOtp,onSuccess:t,onDecline:n})})},Xn=n.p+"assets/intro.png";var Qn=function(){return Qn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Qn.apply(this,arguments)},er=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},tr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const nr=function(e){var t=he(Oe).featureFlags,n=le(!0),r=n[0],o=n[1];return ce((function(){t.unifiedCustomerRegistration||er(void 0,void 0,void 0,(function(){return tr(this,(function(e){switch(e.label){case 0:return[4,Ge.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}})];case 1:return e.sent(),[2]}}))}))}),[]),$(On,{children:[$(On.Top,{children:$("img",{class:"max-w-[30rem] w-full",src:Xn})}),$(On.Bottom,{children:$("div",{children:[$("h3",Qn({class:"mt-8 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:"Finish setting up your workplace benefits"})),$("p",Qn({class:"mt-3 text-lg leading-7 text-gray-600"},{children:"Because your workplace uses Flare you have access to a range of exclusive benefits that can save you thousands of dollars every year on your car, private health insurance, weekly grocery shop and more."})),!t.unifiedCustomerRegistration&&$("div",Qn({class:"flex items-center text-left mt-6"},{children:[$("input",{class:"accent-primary-base h-4 w-4",type:"checkbox",name:"membership",checked:r,onChange:function(e){var t;return o(null===(t=e.target)||void 0===t?void 0:t.checked)}}),$("label",Qn({class:"font-medium text-sm text-gray-900 ml-3",for:"membership"},{children:$("span",{children:["I would like to be contacted about the latest benefits from Flare and agree to the"," ",$("a",Qn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:"privacy policy"})),"."]})}))]})),$(Ce,Qn({class:"mt-8",onClickPromise:function(){return er(void 0,void 0,void 0,(function(){return tr(this,(function(n){switch(n.label){case 0:return[4,Ge.command({eventType:"Started"})];case 1:return n.sent(),t.unifiedCustomerRegistration?[3,3]:[4,Ge.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:r,featureName:"",treatmentName:"",template:"Eoi"}})];case 2:n.sent(),n.label=3;case 3:return e.onStepComplete(),[2]}}))}))}},{children:"Continue"}))]})})]})};var rr=n(856),or=n.n(rr),ir=function(){return ir=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ir.apply(this,arguments)},ar=function(e){var t=e.children,n=Ct.Children.toArray(t),r=n.find((function(e){return e.type===lr})),o=n.find((function(e){return e.type===sr}));return $(bn,ir({appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",ir({class:"md:grid md:grid-cols-2 max-w-[59.5rem] mx-auto"},{children:[$(bn,ir({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:r&&$("div",ir({class:"flex items-center h-full"},{children:r}))})),$(bn,ir({appear:!0,show:!0,enter:"transition delay-300 duration-[600ms] ease-out",enterFrom:"opacity-0 -translate-y-6",enterTo:"opacity-100 translate-y-0",class:"opacity-0 -translate-y-6"},{children:o&&$("div",ir({class:"flex items-center h-full"},{children:o}))}))]}))}))},lr=function(e){return $(m,{children:e.children})},sr=function(e){return $(m,{children:e.children})};ar.Left=lr,ar.Right=sr;const cr=ar;var ur;function fr(){return fr=Object.assign?Object.assign.bind():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},fr.apply(this,arguments)}const dr=function(e){return p("svg",fr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2},e),ur||(ur=p("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19 9-7 7-7-7"})))};var pr=function(){return pr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},pr.apply(this,arguments)};const hr=function(e){return $(bn,pr({appear:!0,show:!0,enter:"transition duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",pr({class:"w-full border border-gray-200 rounded-lg shadow-sm p-4 pl-3 md:p-6 space-y-2"},{children:e.items.map((function(e,t){return $("div",pr({class:"flex space-x-1"},{children:[$("span",{children:$(Pn,{class:"h-5 w-5 fill-primary-base"})}),$("span",pr({class:"text-sm leading-5 text-gray-600"},{children:e}))]}),t)}))}))}))};var mr=function(){return mr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},mr.apply(this,arguments)};const yr=function(e){var t=le(!1),n=t[0],r=t[1];return $("div",mr({class:e.class},{children:n?$(hr,{items:e.items}):$("button",mr({type:"button",class:"w-full inline-flex justify-center items-center px-4 py-3 border border-gray-200 shadow-sm text-sm font-medium rounded-md text-primary-base bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus",onClick:function(){return r(!0)}},{children:["Learn more",$("span",mr({class:"ml-1"},{children:$(dr,{class:"h-4 w-4"})}))]}))}))};var vr=function(){return vr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vr.apply(this,arguments)},gr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},br=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const wr=function(e){var t,n,r,o;ce((function(){gr(void 0,void 0,void 0,(function(){return br(this,(function(t){switch(t.label){case 0:return[4,Ge.command({offerName:e.step.name,eventType:"OfferViewed",data:vr({},e.step.metadata)})];case 1:return t.sent(),[2]}}))}))}),[e.step.name]);var i=function(t){return gr(void 0,void 0,void 0,(function(){return br(this,(function(n){switch(n.label){case 0:return[4,Ge.command({offerName:e.step.name,eventType:"OfferProgressed",data:vr(vr({},e.step.metadata),{template:"Eoi",accepted:t})})];case 1:return n.sent(),[2,(t?e.primaryButton:e.secondaryButton).onClick()]}}))}))};return $(cr,{children:[$(cr.Left,{children:$("div",{children:[$("div",vr({class:"flex justify-between md:block text-xs tracking-wide"},{children:$("span",vr({class:"relative px-3 py-0.5 text-primary-base font-semibold"},{children:[e.stepNumber.current," OF ",e.stepNumber.total,$("span",{class:"absolute left-0 rounded-xl bg-primary-base opacity-10 w-full h-[90%]"})]}))})),$(bn,vr({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:e.step.content.mobileImageUrl,loading:"lazy"}),$("div",vr({class:"md:max-w-[27.5rem]"},{children:[$("h3",vr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:e.step.content.title})),$("p",vr({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:e.step.content.description})),e.step.content.details&&$("div",vr({class:"mt-6 hidden md:block"},{children:$(hr,{items:e.step.content.details})}))]})),e.step.content.details&&$(yr,{class:"mt-6 md:hidden",items:e.step.content.details}),e.children&&e.children,$("div",vr({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:[$(Ce,vr({class:null!==(t=e.primaryButton.class)&&void 0!==t?t:"",onClickPromise:function(){return i(!0)}},{children:null!==(n=e.primaryButton.text)&&void 0!==n?n:"Next"})),(null===(r=e.secondaryButton)||void 0===r?void 0:r.text)&&$(Ce,vr({class:null!==(o=e.secondaryButton.class)&&void 0!==o?o:"bg-white hover:bg-gray-100 focus:ring-gray-200 border-0 shadow-none text-gray-700 border-gray-300",onClickPromise:function(){return i(!1)}},{children:e.secondaryButton.text}))]})),e.step.content.terms&&$("div",vr({class:"flex flex-col gap-3 mt-6 text-gray-600 text-xs"},{children:e.step.content.terms.map((function(e,t){return $("span",{dangerouslySetInnerHTML:{__html:or().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(cr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})};var _r=function(){return _r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_r.apply(this,arguments)},xr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},kr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const Or=function(e){var t,n;return ce((function(){xr(void 0,void 0,void 0,(function(){return kr(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,Ge.command({offerName:e.step.name,eventType:"OfferViewed",data:_r({},e.step.metadata)})]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))}),[e.step]),$(cr,{children:[$(cr.Left,{children:$("div",{children:[$("div",_r({class:"flex justify-between md:block text-xs tracking-wide"},{children:$("span",_r({class:"relative px-3 py-0.5 text-primary-base font-semibold"},{children:[e.stepNumber.current," OF ",e.stepNumber.total,$("span",{class:"absolute left-0 rounded-xl bg-primary-base opacity-10 w-full h-[90%]"})]}))})),$(bn,_r({appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",class:"-translate-y-6"},{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:e.step.content.mobileImageUrl,loading:"lazy"}),$("div",_r({class:"md:max-w-[27.5rem]"},{children:[$("h3",_r({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:e.step.content.title})),$("p",_r({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:e.step.content.description})),e.step.content.details&&$("div",_r({class:"mt-6 hidden md:block"},{children:$(hr,{items:e.step.content.details})}))]})),e.step.content.details&&$(yr,{class:"mt-6 md:hidden",items:e.step.content.details}),e.children&&e.children,$("div",_r({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:$(Ce,_r({class:null!==(t=e.primaryButton.class)&&void 0!==t?t:"",onClickPromise:function(){return xr(void 0,void 0,void 0,(function(){return kr(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,Ge.command({offerName:e.step.name,eventType:"OfferProgressed",data:_r(_r({},e.step.metadata),{template:"Simple"})})]:[3,2];case 1:t.sent(),t.label=2;case 2:return e.primaryButton.onClick(),[2]}}))}))}},{children:null!==(n=e.primaryButton.text)&&void 0!==n?n:"Next"}))})),e.step.content.terms&&$("div",_r({class:"flex flex-col gap-3 mt-6 text-gray-600 text-xs "},{children:e.step.content.terms.map((function(e,t){return $("span",{dangerouslySetInnerHTML:{__html:or().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(cr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})},Er=function(e){switch(e.marketPlaceOffer.content.template){case"Eoi":return $(wr,{stepNumber:e.stepNumber,step:e.marketPlaceOffer,primaryButton:{text:e.marketPlaceOffer.content.acceptButton,onClick:e.onStepComplete},secondaryButton:{text:e.marketPlaceOffer.content.declineButton,onClick:e.onStepComplete}});case"Simple":return $(Or,{stepNumber:e.stepNumber,step:e.marketPlaceOffer,primaryButton:{text:e.marketPlaceOffer.content.acceptButton,onClick:e.onStepComplete}});default:return function(e){throw new Error("ERROR! Reached forbidden guard function with unexpected value: ".concat(JSON.stringify(e)))}(e.marketPlaceOffer.content.template)}},Nr=n.p+"assets/get-app.jpg";var Sr;function Cr(){return Cr=Object.assign?Object.assign.bind():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},Cr.apply(this,arguments)}const Tr=function(e){return p("svg",Cr({width:36,height:42,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Sr||(Sr=p("path",{d:"M29.74 21.874c0-3.357 1.574-5.806 4.628-7.71-1.759-2.45-4.35-3.72-7.774-3.992-3.332-.272-6.94 1.814-8.236 1.814-1.389 0-4.535-1.723-7.034-1.723-5.182.09-10.642 3.99-10.642 12.064 0 2.359.37 4.808 1.295 7.348 1.203 3.356 5.46 11.52 9.902 11.339 2.314 0 3.98-1.633 7.034-1.633 2.961 0 4.442 1.633 7.033 1.633 4.535 0 8.422-7.439 9.532-10.795-6.015-2.812-5.737-8.164-5.737-8.345ZM24.559 6.997C27.057 4.094 26.78 1.373 26.78.375c-2.22.181-4.812 1.542-6.293 3.175-1.666 1.814-2.591 4.082-2.406 6.531 2.406.182 4.627-.998 6.478-3.084Z",fill:"#9CA3AF"})))};var Ar;function Rr(){return Rr=Object.assign?Object.assign.bind():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},Rr.apply(this,arguments)}const Pr=function(e){return p("svg",Rr({width:37,height:40,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ar||(Ar=p("path",{d:"M24.106 18.84 6.786 1.882l22.023 12.375-4.703 4.583ZM2.318.89C1.299 1.423.594 2.416.594 3.639v33.687c0 1.222.705 2.215 1.724 2.674l20.064-19.556L2.318.89Zm33.31 17.264-4.625-2.598-5.172 4.89 5.172 4.965 4.703-2.598c1.41-1.07 1.41-3.59-.079-4.66ZM6.784 39.007 28.81 26.708l-4.703-4.583-17.32 16.882Z",fill:"#9CA3AF"})))},jr=n.p+"assets/get-app-mobile.jpg";var Lr=function(){return Lr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Lr.apply(this,arguments)},Dr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},Ur=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const Ir=function(){var e,t;ce((function(){Dr(void 0,void 0,void 0,(function(){return Ur(this,(function(e){switch(e.label){case 0:return[4,Ge.command({eventType:"SummaryViewed",summaryVariant:"app"})];case 1:return e.sent(),[2]}}))}))}),[]);var n=he(Oe).identity,r=Lr(Lr({},function(e){switch(e.registrationStatus){case"RegistrationAbandoned":return{title:"Join your workplace",description:"We’ve sent an email to ".concat(e.email," with instructions on how join your workplace. This will enable you to access all your workplace benefits through the Flare app in the future.")};case"NewlyRegistered":return{title:"Join your workplace’s benefits program",description:"We’ve sent an email to ".concat(e.email," with instructions on how to download the Flare app - where your company’s benefits live.")};default:return{title:"Check your email",description:"We’ve sent an email to ".concat(e.email," with instructions on how to download and activate the Flare App and Card.")}}}(n)),{imageUrl:Nr,mobileImageUrl:jr}),o={text:"Continue",class:"mt-6 md:mt-14",onClick:function(){return Dr(void 0,void 0,void 0,(function(){var e,t;return Ur(this,(function(n){switch(n.label){case 0:return[4,Ge.command({eventType:"Completed"})];case 1:return n.sent(),e=document.querySelector(qr),t=new CustomEvent("step-completion",{bubbles:!0}),null==e||e.dispatchEvent(t),[4,new Promise((function(e){return setTimeout(e,1e4)}))];case 2:return n.sent(),[2]}}))}))}};return $(cr,{children:[$(cr.Left,{children:$("div",{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:r.mobileImageUrl,loading:"lazy"}),$("div",Lr({class:"md:max-w-[27.5rem]"},{children:[$("h3",Lr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:r.title})),$("p",Lr({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:r.description}))]})),$("div",Lr({class:"mt-6 flex space-x-6"},{children:[$(Tr,{}),$(Pr,{})]})),$(Ce,Lr({class:null!==(e=o.class)&&void 0!==e?e:"",onClickPromise:o.onClick},{children:null!==(t=o.text)&&void 0!==t?t:"Next"}))]})}),$(cr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},Fr=n.p+"assets/all-set.jpg",Mr=n.p+"assets/all-set-mobile.jpg";var Br=function(){return Br=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Br.apply(this,arguments)},zr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},Hr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};const Wr=function(){var e,t;ce((function(){zr(void 0,void 0,void 0,(function(){return Hr(this,(function(e){switch(e.label){case 0:return[4,Ge.command({eventType:"SummaryViewed",summaryVariant:"generic"})];case 1:return e.sent(),[2]}}))}))}),[]);var n=he(Oe).workplace,r={imageUrl:Fr,mobileImageUrl:Mr,title:"You're all set!",description:"PreviouslyLinked"===n.linkingStatus?"You’ve already connected this employer with your Flare Benefits account. Simply continue and review the details you have provided to complete your onboarding.":"Simply continue and review the details you have provided to complete your onboarding."},o={text:"Continue",class:"mt-6 md:mt-6",onClick:function(){return zr(void 0,void 0,void 0,(function(){var e,t;return Hr(this,(function(n){switch(n.label){case 0:return[4,Ge.command({eventType:"Completed"})];case 1:return n.sent(),e=document.querySelector(qr),t=new CustomEvent("step-completion",{bubbles:!0}),null==e||e.dispatchEvent(t),[4,new Promise((function(e){return setTimeout(e,1e4)}))];case 2:return n.sent(),[2]}}))}))}};return $(cr,{children:[$(cr.Left,{children:$("div",{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:r.mobileImageUrl,loading:"lazy"}),$("div",Br({class:"md:max-w-[27.5rem]"},{children:[$("h3",Br({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:r.title})),$("p",Br({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:r.description}))]})),$("div",Br({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:$(Ce,Br({class:null!==(e=o.class)&&void 0!==e?e:"",onClickPromise:o.onClick},{children:null!==(t=o.text)&&void 0!==t?t:"Next"}))}))]})}),$(cr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},Vr=function(){var e=he(Oe),t=e.offers,n=e.isComplete,r=e.isAppEnabled,o=e.identity,i=e.workplace,a=e.featureFlags,l=e.updateIdentity,s=function(e,t,n,r,o,i){var a=function(e,t,n,r,o,i){var a=i.unifiedCustomerRegistration,l=n?"SummaryApp":"SummaryGeneric";if(t)return[l];if(!a)return Ne(Ne(["Introduction"],e.map((function(e){return e.name})),!0),[l],!1);switch(!0){case"PreviouslyLinked"===o.linkingStatus:return["Introduction","SummaryGeneric"];case"Unregistered"===r.registrationStatus:case"PreviouslyRegistered"===r.registrationStatus&&"Unlinked"===o.linkingStatus:return["Introduction","FlareAppIdentity"];case"PreviouslyRegistered"===r.registrationStatus&&"NewlyLinked"===o.linkingStatus:return[l];case"NewlyRegistered"===r.registrationStatus:return Ne(Ne([],e.map((function(e){return e.name})),!0),[l],!1);case"RegistrationAbandoned"===r.registrationStatus:return[l];default:return[]}}(e,t,n,r,o,i),l=le(a[0]),s=l[0],c=l[1],u=de((function(){var t=e.find((function(e){return e.name===s}));return t?{screenName:"MarketplaceOffer",offerName:t.name}:{screenName:s}}),[s,e]);return a.some((function(e){return e===s}))||c(a[0]),{current:u,goNext:function(){try{var e=a.findIndex((function(e){return e===s})),t=a[e+1];c(t)}catch(e){}}}}(t,n,r,o,i,a),c=s.current,u=s.goNext,f=pe((function(){l(!0)}),[l]),d=pe((function(){l(!1)}),[l]);switch(c.screenName){case"Introduction":return $(nr,{employerName:i.employerName,onStepComplete:u});case"FlareAppIdentity":return $(Kn,{onSuccess:f,onDecline:d});case"MarketplaceOffer":return $(Er,{stepNumber:{current:t.findIndex((function(e){return e.name===c.offerName}))+1,total:t.length},marketPlaceOffer:t.find((function(e){return e.name===c.offerName})),onStepComplete:u});case"SummaryApp":return $(Ir,{});case"SummaryGeneric":return $(Wr,{});default:return $(m,{})}};var Gr=function(){return Gr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Gr.apply(this,arguments)},qr="benefits-onboarding";!function(e,t,n,r){function o(){var t=Reflect.construct(HTMLElement,[],o);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:"open"}):t,t}(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=z,o.prototype.attributeChangedCallback=W,o.prototype.disconnectedCallback=V,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach((function(e){Object.defineProperty(o.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=typeof t;null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define(t||e.tagName||e.displayName||e.name,o)}((function(e){var t=le(),n=t[0],r=t[1],o=le(0),i=o[0],a=o[1];ce((function(){return Fe((function(){l().then((function(){return a(i+1)}))}))}),[i]),ce((function(){l()}),[]);var l=function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){var t,n;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(o){switch(o.label){case 0:return t={backendUrl:e["backend-url"],accessToken:e["access-token"],workflowsInstanceId:e["workflows-instance-id"]},Ge.initClient(t.backendUrl,t.accessToken,t.workflowsInstanceId),[4,Ge.init()];case 1:return n=o.sent(),r(function(e){var t,n=e.offers.some((function(e){return"Perks"===e.name})),r=e.identity.isRegistered?"PreviouslyRegistered":"Unregistered",o={email:e.identity.email,phoneNumber:null!==(t=e.identity.phoneNumber)&&void 0!==t?t:"",registrationStatus:r},i=e.workplace.isLinkedWithIdentity?"PreviouslyLinked":"Unlinked",a={employerName:e.workplace.employerName,linkingStatus:i};return Gr(Gr(Gr({},ke),e),{isAppEnabled:n,identity:o,workplace:a})}(n)),[2]}}))}))},s=pe((function(e){if(n){var t=n.identity,o=n.workplace,i=e?"Unregistered"===t.registrationStatus?"NewlyRegistered":t.registrationStatus:"RegistrationAbandoned",a=e?"Unlinked"===o.linkingStatus?"NewlyLinked":o.linkingStatus:"Unlinked";r(Gr(Gr({},n),{identity:Gr(Gr({},t),{registrationStatus:i}),workplace:Gr(Gr({},o),{linkingStatus:a})}))}}),[n]);return $(m,{children:[$("style",{children:Ee.Z.toString()}),$("div",Gr({class:"font-inter pt-6 pb-8 md:py-24 px-px"},{children:n?$(Oe.Provider,Gr({value:Gr(Gr({},n),{updateIdentity:s})},{children:$(Vr,{})})):$("div",Gr({class:"flex justify-center"},{children:$("span",Gr({class:"animate-spin"},{children:$(xe,{size:"lg"})}))}))}),i)]})}),qr,[],{shadow:!0})})()})();
|