@flarehr/apollo-benefits-onboarding 1.40.72 → 1.41.73
Sign up to get free protection for your applications and to get access to all the features.
@@ -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}.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}.ml-2{margin-left:.5rem}.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-\\[15rem\\]{max-width:15rem}.max-w-full{max-width:100%}.max-w-\\[30rem\\]{max-width:30rem}.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\\:bg-gray-100:disabled{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.disabled\\:text-gray-300:disabled{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}@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-\\[240px\\]{width:240px}.md\\:w-full{width:100%}.md\\:w-\\[300px\\]{width:300px}.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=P(Array.prototype.forEach),_=P(Array.prototype.pop),x=P(Array.prototype.push),k=P(String.prototype.toLowerCase),O=P(String.prototype.toString),E=P(String.prototype.match),N=P(String.prototype.replace),C=P(String.prototype.indexOf),S=P(String.prototype.trim),T=P(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 P(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 R(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 P(n.get);if("function"==typeof n.value)return P(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,P=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=R({},[].concat(i(D),i(I),i(U),i(M),i(z))),Se=null,Te=R({},[].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}})),Pe=null,Re=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=R({},["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=R({},["audio","video","img","source","image","track"]),et=null,tt=R({},["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=R({},[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?R({},t.ALLOWED_TAGS,ve):Ce,Se="ALLOWED_ATTR"in t?R({},t.ALLOWED_ATTR,ve):Te,lt="ALLOWED_NAMESPACES"in t?R({},t.ALLOWED_NAMESPACES,O):ct,et="ADD_URI_SAFE_ATTR"in t?R(j(tt),t.ADD_URI_SAFE_ATTR,ve):tt,Xe="ADD_DATA_URI_TAGS"in t?R(j(Qe),t.ADD_DATA_URI_TAGS,ve):Qe,Ke="FORBID_CONTENTS"in t?R({},t.FORBID_CONTENTS,ve):Je,Pe="FORBID_TAGS"in t?R({},t.FORBID_TAGS,ve):{},Re="FORBID_ATTR"in t?R({},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=R({},i(z)),Se=[],!0===Ze.html&&(R(Ne,D),R(Se,H)),!0===Ze.svg&&(R(Ne,I),R(Se,W),R(Se,G)),!0===Ze.svgFilters&&(R(Ne,U),R(Se,W),R(Se,G)),!0===Ze.mathMl&&(R(Ne,M),R(Se,V),R(Se,G))),t.ADD_TAGS&&(Ne===Ce&&(Ne=j(Ne)),R(Ne,t.ADD_TAGS,ve)),t.ADD_ATTR&&(Se===Te&&(Se=j(Se)),R(Se,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&R(et,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&(Ke===Je&&(Ke=j(Ke)),R(Ke,t.FORBID_CONTENTS,ve)),$e&&(Ne["#text"]=!0),Fe&&R(Ne,["html","head","body"]),Ne.table&&(R(Ne,["tbody"]),delete Pe.tbody),p&&p(t),ft=t)},mt=R({},["mi","mo","mn","ms","mtext"]),yt=R({},["foreignobject","desc","title","annotation-xml"]),vt=R({},["title","style","font","a","script"]),gt=R({},I);R(gt,U),R(gt,F);var bt=R({},M);R(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]||Pe[n]){if(!Pe[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(P(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&&!Re[t]&&T(_e,t));else if(je&&T(xe,t));else if(!Se[t]||Re[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},Pt=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)}},Rt=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),Pt(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]||Pe[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&&Rt(i.content),Pt(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:()=>Xr});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++)R(_[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=P(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 P(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 R(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||R(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 Pe=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 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 je=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 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}))};function Ie(e,t){for(var n in t)e[n]=t[n];return e}function Ue(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 Fe(e){this.props=e}(Fe.prototype=new y).isPureReactComponent=!0,Fe.prototype.shouldComponentUpdate=function(e,t){return Ue(this.props,e)||Ue(this.state,t)};var Me=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Me&&Me(e)};var Be="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ze(e){function t(t){var n=Ie({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Be,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var He=function(e,t){return null==e?null:k(k(e).map(t))},We={map:He,forEach:He,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},Ve=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);Ve(e,t,n,r)};var Ge=t.unmount;function qe(){this.__u=0,this.t=null,this.__b=null}function $e(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ye(){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),Ge&&Ge(e)},(qe.prototype=new y).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=$e(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)},qe.prototype.componentWillUnmount=function(){this.t=[]},qe.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=Ie({},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 Ze=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 Ke(e){return this.getChildContext=function(){return e.context},e.children}function Je(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(Ke,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(Ye.prototype=new y).__a=function(e){var t=this,n=$e(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ze(t,e,r)):o()};n?n(i):i()}},Ye.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},Ye.prototype.componentDidUpdate=Ye.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ze(e,n,t)}))};var Xe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Qe=/^(?: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]/,et="undefined"!=typeof document,tt=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 nt=t.event;function rt(){}function ot(){return this.cancelBubble}function it(){return this.defaultPrevented}t.event=function(e){return nt&&(e=nt(e)),e.persist=rt,e.isPropagationStopped=ot,e.isDefaultPrevented=it,e.nativeEvent=e};var at,lt={configurable:!0,get:function(){return this.class}},ct=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];et&&"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)&&!tt(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&&Qe.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&&(lt.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",lt))}e.$$typeof=Xe,ct&&ct(e)};var st=t.__r;t.__r=function(e){st&&st(e),at=e.__c};var ut={ReactCurrentDispatcher:{current:{readContext:function(e){return at.__n[e.__c].props.value}}}};function ft(e){return!!e&&e.$$typeof===Xe}function dt(e){return ft(e)?U.apply(null,arguments):e}function pt(e){e()}const ht={useState:le,useReducer:ce,useEffect:se,useLayoutEffect:ue,useInsertionEffect:ue,useTransition:function(){return[!1,pt]},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:pt,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:We,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(Je,{__v:e,i:t});return n.containerInfo=t,n},createElement:p,createContext:F,createFactory:function(e){return p.bind(null,e)},cloneElement:dt,createRef:function(){return{current:null}},Fragment:m,isValidElement:ft,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:y,PureComponent:Fe,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:Ue(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:ze,flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:qe,SuspenseList:Ye,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:ut};function mt(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,mt),r}var yt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(yt||{}),vt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(vt||{});function gt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a}){let l=wt(t,e);if(i)return bt(l,n,r,a);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=l;if(e)return bt(t,n,r,a)}if(1&c){let{unmount:e=!0,...t}=l;return mt(e?0:1,{0:()=>null,1:()=>bt({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return bt(l,n,r,a)}function bt(e,t={},n,r){let{as:o=n,children:i,refName:a="ref",...l}=kt(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(xt(l)).length>0){if(!ft(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 dt(s,Object.assign({},wt(s.props,xt(kt(l,["ref"]))),u,c))}return p(o,Object.assign({},kt(l,["ref"]),o!==m&&c,o!==m&&u),s)}function wt(...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 _t(e){var t;return Object.assign(ze(e),{displayName:null!=(t=e.displayName)?t:e.name})}function xt(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function kt(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}let Ot=F(null);Ot.displayName="OpenClosedContext";var Et=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Et||{});function Nt(){return he(Ot)}function Ct({value:e,children:t}){return ht.createElement(Ot.Provider,{value:e},t)}let St="undefined"!=typeof window?ue:se,Tt={serverHandoffComplete:!1};function At(){let[e,t]=le(Tt.serverHandoffComplete);return se((()=>{!0!==e&&t(!0)}),[e]),se((()=>{!1===Tt.serverHandoffComplete&&(Tt.serverHandoffComplete=!0)}),[]),e}var Pt;let Rt=0;function jt(){return++Rt}let Lt=null!=(Pt=ht.useId)?Pt:function(){let e=At(),[t,n]=ht.useState(e?jt:null);return St((()=>{null===t&&n(jt())}),[t]),null!=t?""+t:void 0};function Dt(){let e=fe(!1);return St((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function It(e){let t=fe(e);return St((()=>{t.current=e}),[e]),t}let Ut=function(e){let t=It(e);return ht.useCallback(((...e)=>t.current(...e)),[t])},Ft=Symbol();function Mt(...e){let t=fe(e);se((()=>{t.current=e}),[e]);let n=Ut((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[Ft])))?void 0:n}function Bt(){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 zt(e,...t){e&&t.length>0&&e.classList.add(...t)}function Ht(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Wt=(e=>(e.Ended="ended",e.Cancelled="cancelled",e))(Wt||{});function Vt({container:e,direction:t,classes:n,events:r,onStart:o,onStop:i}){let a=Dt(),l=function(){let[e]=le(Bt);return se((()=>()=>e.dispose()),[e]),e}(),c=It(t),s=Ut((()=>mt(c.current,{enter:()=>r.current.beforeEnter(),leave:()=>r.current.beforeLeave(),idle:()=>{}}))),u=Ut((()=>mt(c.current,{enter:()=>r.current.afterEnter(),leave:()=>r.current.afterLeave(),idle:()=>{}})));St((()=>{let t=Bt();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=Bt(),a=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{},l=mt(o,{enter:()=>t.enter,leave:()=>t.leave}),c=mt(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),s=mt(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Ht(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),zt(e,...l,...s),i.nextFrame((()=>{Ht(e,...s),zt(e,...c),function(e,t){let n=Bt();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&&(Ht(e,...l),zt(e,...t.entered)),a(n))))})),i.dispose}(r,n.current,"enter"===c.current,(e=>{t.dispose(),mt(e,{[Wt.Ended](){u(),i.current(c.current)},[Wt.Cancelled]:()=>{}})}))),t.dispose}),[t])}function Gt(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let qt=F(null);qt.displayName="TransitionContext";var $t=(e=>(e.Visible="visible",e.Hidden="hidden",e))($t||{});let Yt=F(null);function Zt(e){return"children"in e?Zt(e.children):e.current.filter((({state:e})=>"visible"===e)).length>0}function Kt(e){let t=It(e),n=fe([]),r=Dt(),o=Ut(((e,o=vt.Hidden)=>{let i=n.current.findIndex((({id:t})=>t===e));-1!==i&&(mt(o,{[vt.Unmount](){n.current.splice(i,1)},[vt.Hidden](){n.current[i].state="hidden"}}),function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{var e;!Zt(n)&&r.current&&(null==(e=t.current)||e.call(t))})))})),i=Ut((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,vt.Unmount)}));return de((()=>({children:n,register:i,unregister:o})),[i,o,n])}function Jt(){}Yt.displayName="NestingContext";let Xt=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Qt(e){var t;let n={};for(let r of Xt)n[r]=null!=(t=e[r])?t:Jt;return n}let en=yt.RenderStrategy,tn=_t((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=Mt(h,t),[y,v]=le("visible"),g=p.unmount?vt.Unmount:vt.Hidden,{show:b,appear:w,initial:_}=function(){let e=he(qt);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(Yt);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=Lt();se((()=>{if(E)return x(E)}),[x,E]),se((()=>{if(g===vt.Hidden&&E){if(b&&"visible"!==y)return void v("visible");mt(y,{hidden:()=>k(E),visible:()=>x(E)})}}),[y,E,x,k,b,g]);let N=It({enter:Gt(a),enterFrom:Gt(l),enterTo:Gt(c),entered:Gt(s),leave:Gt(u),leaveFrom:Gt(f),leaveTo:Gt(d)}),C=function(e){let t=fe(Qt(e));return se((()=>{t.current=Qt(e)}),[e]),t}({beforeEnter:n,afterEnter:r,beforeLeave:o,afterLeave:i}),S=At();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",P=fe(!1),R=Kt((()=>{P.current||(v("hidden"),k(E))}));Vt({container:h,classes:N,events:C,direction:A,onStart:It((()=>{P.current=!0})),onStop:It((e=>{P.current=!1,"leave"===e&&!Zt(R)&&(v("hidden"),k(E))}))}),se((()=>{!T||(g===vt.Hidden?O.current=null:O.current=b)}),[b,T,y]);let j=p,L={ref:m};return ht.createElement(Yt.Provider,{value:R},ht.createElement(Ct,{value:mt(y,{visible:Et.Open,hidden:Et.Closed})},gt({ourProps:L,theirProps:j,defaultTag:"div",features:en,visible:"visible"===y,name:"Transition.Child"})))})),nn=_t((function(e,t){let{show:n,appear:r=!1,unmount:o,...i}=e,a=fe(null),l=Mt(a,t);At();let c=Nt();if(void 0===n&&null!==c&&(n=mt(c,{[Et.Open]:!0,[Et.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=Kt((()=>{u("hidden")})),[d,p]=le(!0),h=fe([n]);St((()=>{!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(Zt(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 ht.createElement(Yt.Provider,{value:f},ht.createElement(qt.Provider,{value:y},gt({ourProps:{...v,as:m,children:ht.createElement(tn,{ref:l,...v,...i})},theirProps:{},defaultTag:m,features:en,visible:"visible"===s,name:"Transition"})))})),rn=_t((function(e,t){let n=null!==he(qt),r=null!==Nt();return ht.createElement(ht.Fragment,null,!n&&r?ht.createElement(nn,{ref:t,...e}):ht.createElement(tn,{ref:t,...e}))})),on=Object.assign(nn,{Child:rn,Root:nn});var an=function(){return an=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},an.apply(this,arguments)},ln=function(e){var t=e.children,n=ht.Children.toArray(t),r=n.find((function(e){return e.type===cn})),o=n.find((function(e){return e.type===sn}));return $(on,an({appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",an({class:"mt-20 md:mt-0 flex flex-col text-center items-center max-w-[40rem] mx-auto"},{children:[$(on,an({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",an({class:"flex items-center h-full"},{children:r}))})),$(on,an({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",an({class:"flex items-center h-full"},{children:o}))}))]}))}))},cn=function(e){return $(m,{children:e.children})},sn=function(e){return $(m,{children:e.children})};ln.Top=cn,ln.Bottom=sn;const un=ln,fn=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 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 pn=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",dn({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 mn=function(e){var t=e.open;return $(pn,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"})})),$(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 yn=function(){return yn=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},yn.apply(this,arguments)};const vn=function(e){var t=e.phoneNumber,n=e.onVerify,r=e.onResendOtp,o=e.onSuccess,i=fn(),a=i.otp,l=i.setOtp,c=le(!1),s=c[0],u=c[1],f=le(""),d=f[0],p=f[1],h=pe((function(){return u(!0),p(""),n(a.code).then((function(){o()})).catch(p).finally((function(){u(!1)}))}),[o,n,a.code]),y=pe((function(){return p(""),r().catch(p)}),[r]);return $(m,{children:[$(mn,{open:s}),$(un,{children:[$(un.Top,{children:$("div",yn({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,"."]})]}))}),$(un.Bottom,{children:$("div",yn({className:"mt-5 md:w-[240px] text-left"},{children:[$(Pe,{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",yn({className:"text-xs text-rose-500"},{children:d})),$("p",yn({class:"mt-2 text-center text-xs text-gray-600"},{children:["Didn't get the code?",$(Te,yn({className:"underline ml-2",onClick:y},{children:"Resend SMS"}))]})),$(Ce,yn({class:"mt-5 md:w-full",disabled:!a.valid,onClickPromise:h},{children:"Continue"}))]}))})]})]})};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)},bn=function(e){var t=e.value,n=e.onChange,r=e.className,o=e.children,i=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,["value","onChange","className","children"]),a=ht.Children.toArray(o).find((function(e){return e.type===wn})),l=crypto.randomUUID();return $("div",gn({className:"flex items-center text-left ".concat(null!=r?r:"")},{children:[$("input",gn({id:l,class:"accent-primary-base h-4 w-4",type:"checkbox",checked:t,onChange:function(e){return n(e.currentTarget.checked)}},i)),a&&$("label",gn({for:l,className:"font-medium text-sm text-gray-900 ml-3 }"},{children:a}))]}))},wn=function(e){return $(m,{children:e.children})};bn.Label=wn;const _n=bn;var xn=n(669),kn=n.n(xn),On=crypto.randomUUID();const En=function(e){return window.addEventListener(On,e),function(){return window.removeEventListener(On,e)}},Nn=function(){window.dispatchEvent(new Event(On))};var Cn,Sn=function(){return Sn=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},Sn.apply(this,arguments)},Tn=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())}))},An=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"}(Cn||(Cn={}));var Pn=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.error)&&Nn(),e},Rn=function(){function e(){}return e.initClient=function(e,t,n){this.axiosInstance=kn().create({baseURL:"".concat(e,"/benefits-onboarding/backend"),headers:{Authorization:"Bearer ".concat(t)}}),this.axiosInstance.interceptors.response.use((function(e){return e}),Pn),this.sourceId=n},e.init=function(){return Tn(this,void 0,void 0,(function(){return An(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 Tn(this,void 0,void 0,(function(){return An(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.post("/command",Sn({source:"Onboarding",sourceId:this.sourceId},e))];case 1:return t.sent(),[2]}}))}))},e.GetClient=function(){return e.axiosInstance},e}(),jn=function(e){switch(e){case"sign-up-viewed":return Rn.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}});case"sign-up-completed":return Rn.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:!0,featureName:"",treatmentName:"",template:"Eoi"}})}};const Ln=function(){return{trace:jn}};var Dn=/^04\d{1,14}/,In=/^\+[1-9]\d{1,14}/,Un=function(e){return In.test(e)};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.onSubmit,n=e.onDecline,r=Ln().trace,o=le(!0),i=o[0],a=o[1],l=le(""),c=l[0],s=l[1],u=function(){var e=le(""),t=e[0],n=e[1],r=de((function(){return t.replace(/ /g,"")}),[t]),o=de((function(){return Un(r)||(e=r,Dn.test(e));var e}),[r]),i=de((function(){return Un(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}}}(),f=u.setPhoneNumber,d=u.phoneNumber;se((function(){r("sign-up-viewed")}),[]);var p=pe((function(){return s(""),t(d).then((function(){return r("sign-up-completed")})).catch(s)}),[d,t,r]);return $(un,{children:[$(un.Top,{children:$("div",Fn({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"})]}))}),$(un.Bottom,{children:$("div",Fn({className:"mt-5 md:w-[300px] text-left"},{children:[$(Pe,{allowedKeyPattern:/[+0-9]/,inputMode:"numeric",className:"mt-1 mb-1 w-full",label:"Australian Mobile Number",value:d.masked,onChange:f}),c&&$("span",Fn({className:"text-xs text-rose-500"},{children:c})),$(_n,Fn({className:"mt-5",value:i,onChange:a},{children:$(_n.Label,{children:$("span",{children:["I have read and agree to Flare Benefits",$("a",Fn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:" Terms of Use "})),"and",$("a",Fn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:" Privacy Policy"})),"."]})})})),$(Ce,Fn({class:"mt-5 md:w-full",disabled:!d.valid||!i,onClickPromise:p},{children:"Create account"})),$(Ce,Fn({class:"invisible 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 n(),[2]}))}))}},{children:"No thanks"}))]}))})]})};var Bn;function zn(){return zn=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},zn.apply(this,arguments)}const Hn=function(e){return p("svg",zn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),Bn||(Bn=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 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)};const Vn=function(e){var t=e.onContinue;return $(un,{children:[$(un.Top,{children:$("div",Wn({className:"h-16 w-16 flex items-center justify-center rounded-full bg-blue-50 text-primary-base"},{children:$(Hn,{className:"h-7 w-7"})}))}),$(un.Bottom,{children:$("div",Wn({className:"mt-5 flex flex-col items-center gap-5 text-center"},{children:[$(je,{children:"You now have access to Flare Benefits"}),$(De,{children:"We’ve sent an email with further instructions including how to download the Flare Benefits app to your phone."}),$(Ce,Wn({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:"Continue to Benefits"}))]}))})]})};var Gn;function qn(){return qn=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},qn.apply(this,arguments)}const $n=function(e){return p("svg",qn({xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,fill:"currentColor"},e),Gn||(Gn=p("path",{d:"m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"})))};var Yn=function(){return Yn=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},Yn.apply(this,arguments)};const Zn=function(e){var t=e.open;return $(pn,Yn({open:t},{children:$("div",Yn({className:"flex flex-col gap-5 items-center justify-center text-center mt-20"},{children:[$("span",Yn({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 Kn=function(){return Kn=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},Kn.apply(this,arguments)};const Jn=function(e){var t=e.phoneNumber,n=e.onVerify,r=e.onResendOtp,o=e.onGoBack,i=fn(),a=i.otp,l=i.setOtp,c=le(!1),s=c[0],u=c[1],f=le(""),d=f[0],p=f[1],h=pe((function(){return u(!0),p(""),n(a.code).catch(p).finally((function(){u(!1)}))}),[n,a.code]),y=pe((function(){return p(""),r().catch(p)}),[r]);return $(m,{children:[$(Zn,{open:s}),$(un,{children:[$(un.Top,{children:$("div",Kn({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,"."]})]}))}),$(un.Bottom,{children:$("div",Kn({className:"mt-5 md:w-[240px] text-left"},{children:[$(Pe,{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",Kn({className:"text-xs text-rose-500"},{children:d})),$("p",Kn({class:"mt-2 text-center text-xs text-gray-600"},{children:["Didn't get the code?",$(Te,Kn({className:"underline ml-2",onClick:y},{children:"Resend SMS"}))]})),$(Ce,Kn({class:"mt-5 md:w-full",disabled:!a.valid,onClickPromise:h},{children:"Continue"})),$(Ce,Kn({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",Kn({className:"flex gap-3"},{children:[$($n,{}),"Back"]}))}))]}))})]})]})},Xn=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&&$(Mn,{onSubmit:p,onDecline:i}),2===u&&$(Jn,{phoneNumber:l,onVerify:h,onResendOtp:r,onGoBack:f}),3===u&&$(Vn,{onContinue:o})]})};var Qn,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())}))},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])}}};!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."}(Qn||(Qn={}));var nr=function(e){var t,n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data,r=Qn[null==n?void 0:n.error];throw null!=r?r:"Sorry, your account is currently locked due to too many attempts. Please try again later."};const rr=function(e){var t=e.onComplete,n=e.onAbandon,r=he(ke).flareAppIdentity,o={signUp:function(e){return er(void 0,void 0,void 0,(function(){return tr(this,(function(t){switch(t.label){case 0:return[4,Rn.GetClient().post("auth/signUp",{mobileNumber:e}).catch(nr)];case 1:return t.sent(),[2]}}))}))},verifyOtp:function(e){return er(void 0,void 0,void 0,(function(){return tr(this,(function(t){switch(t.label){case 0:return[4,Rn.GetClient().post("auth/verify",{otp:e}).catch(nr)];case 1:return t.sent(),[2]}}))}))},resendOtp:function(){return er(void 0,void 0,void 0,(function(){return tr(this,(function(e){switch(e.label){case 0:return[4,Rn.GetClient().post("auth/resend").catch(nr)];case 1:return e.sent(),[2]}}))}))}},i=o.signUp,a=o.verifyOtp,l=o.resendOtp;return $(m,{children:["RegisteredButNotWorkplaceLinked"===(null==r?void 0:r.status)&&$(vn,{phoneNumber:r.maskedPhoneNumber,onVerify:a,onResendOtp:l,onSuccess:t}),"Unregistered"===(null==r?void 0:r.status)&&$(Xn,{onSignUp:i,onVerify:a,onResendOtp:l,onSuccess:t,onDecline:n})]})},or=n.p+"assets/intro.jpg";var 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,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())}))},lr=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=he(ke).featureFlags,n=le(!0),r=n[0],o=n[1];return se((function(){t.flareAppIdentity||ar(void 0,void 0,void 0,(function(){return lr(this,(function(e){switch(e.label){case 0:return[4,Rn.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}})];case 1:return e.sent(),[2]}}))}))}),[]),$(un,{children:[$(un.Top,{children:$("img",{class:"max-w-[15rem] w-full",src:or})}),$(un.Bottom,{children:$("div",{children:[$("h3",ir({class:"mt-8 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:"Finish setting up your workplace benefits"})),$("p",ir({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",ir({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",ir({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",ir({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:"privacy policy"})),"."]})}))]})),$(Ce,ir({class:"mt-8",onClickPromise:function(){return ar(void 0,void 0,void 0,(function(){return lr(this,(function(n){switch(n.label){case 0:return[4,Rn.command({eventType:"Started"})];case 1:return n.sent(),t.flareAppIdentity?[3,3]:[4,Rn.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:"Set up your benefits"}))]})})]})};var sr=n(856),ur=n.n(sr),fr=function(){return fr=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},fr.apply(this,arguments)},dr=function(e){var t=e.children,n=ht.Children.toArray(t),r=n.find((function(e){return e.type===pr})),o=n.find((function(e){return e.type===hr}));return $(on,fr({appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",fr({class:"md:grid md:grid-cols-2 max-w-[59.5rem] mx-auto"},{children:[$(on,fr({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",fr({class:"flex items-center h-full"},{children:r}))})),$(on,fr({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",fr({class:"flex items-center h-full"},{children:o}))}))]}))}))},pr=function(e){return $(m,{children:e.children})},hr=function(e){return $(m,{children:e.children})};dr.Left=pr,dr.Right=hr;const mr=dr;var yr;function vr(){return vr=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},vr.apply(this,arguments)}const gr=function(e){return p("svg",vr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2},e),yr||(yr=p("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19 9-7 7-7-7"})))};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)};const wr=function(e){return $(on,br({appear:!0,show:!0,enter:"transition duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",br({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",br({class:"flex space-x-1"},{children:[$("span",{children:$(Hn,{class:"h-5 w-5 fill-primary-base"})}),$("span",br({class:"text-sm leading-5 text-gray-600"},{children:e}))]}),t)}))}))}))};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)};const xr=function(e){var t=le(!1),n=t[0],r=t[1];return $("div",_r({class:e.class},{children:n?$(wr,{items:e.items}):$("button",_r({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",_r({class:"ml-1"},{children:$(gr,{class:"h-4 w-4"})}))]}))}))};var kr=function(){return kr=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},kr.apply(this,arguments)},Or=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())}))},Er=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,n,r,o;se((function(){Or(void 0,void 0,void 0,(function(){return Er(this,(function(t){switch(t.label){case 0:return[4,Rn.command({offerName:e.step.name,eventType:"OfferViewed",data:kr({},e.step.metadata)})];case 1:return t.sent(),[2]}}))}))}),[e.step.name]);var i=function(t){return Or(void 0,void 0,void 0,(function(){return Er(this,(function(n){switch(n.label){case 0:return[4,Rn.command({offerName:e.step.name,eventType:"OfferProgressed",data:kr(kr({},e.step.metadata),{template:"Eoi",accepted:t})})];case 1:return n.sent(),[2,(t?e.primaryButton:e.secondaryButton).onClick()]}}))}))};return $(mr,{children:[$(mr.Left,{children:$("div",{children:[$("div",kr({class:"flex justify-between md:block text-xs tracking-wide"},{children:$("span",kr({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%]"})]}))})),$(on,kr({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",kr({class:"md:max-w-[27.5rem]"},{children:[$("h3",kr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:e.step.content.title})),$("p",kr({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",kr({class:"mt-6 hidden md:block"},{children:$(wr,{items:e.step.content.details})}))]})),e.step.content.details&&$(xr,{class:"mt-6 md:hidden",items:e.step.content.details}),e.children&&e.children,$("div",kr({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:[$(Ce,kr({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,kr({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",kr({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:ur().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(mr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})};var 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,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())}))},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 Ar=function(e){var t,n;return se((function(){Sr(void 0,void 0,void 0,(function(){return Tr(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,Rn.command({offerName:e.step.name,eventType:"OfferViewed",data:Cr({},e.step.metadata)})]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))}),[e.step]),$(mr,{children:[$(mr.Left,{children:$("div",{children:[$("div",Cr({class:"flex justify-between md:block text-xs tracking-wide"},{children:$("span",Cr({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%]"})]}))})),$(on,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:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:e.step.content.mobileImageUrl,loading:"lazy"}),$("div",Cr({class:"md:max-w-[27.5rem]"},{children:[$("h3",Cr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:e.step.content.title})),$("p",Cr({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",Cr({class:"mt-6 hidden md:block"},{children:$(wr,{items:e.step.content.details})}))]})),e.step.content.details&&$(xr,{class:"mt-6 md:hidden",items:e.step.content.details}),e.children&&e.children,$("div",Cr({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:$(Ce,Cr({class:null!==(t=e.primaryButton.class)&&void 0!==t?t:"",onClickPromise:function(){return Sr(void 0,void 0,void 0,(function(){return Tr(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,Rn.command({offerName:e.step.name,eventType:"OfferProgressed",data:Cr(Cr({},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",Cr({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:ur().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(mr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})},Pr=function(e){switch(e.marketPlaceOffer.content.template){case"Eoi":return $(Nr,{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 $(Ar,{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)}},Rr=n.p+"assets/get-app.jpg";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:36,height:42,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),jr||(jr=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 Ir;function Ur(){return Ur=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},Ur.apply(this,arguments)}const Fr=function(e){return p("svg",Ur({width:37,height:40,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ir||(Ir=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"})))},Mr=n.p+"assets/get-app-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{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())}))},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(e){var t,n;se((function(){zr(void 0,void 0,void 0,(function(){return Hr(this,(function(e){switch(e.label){case 0:return[4,Rn.command({eventType:"SummaryViewed",summaryVariant:"app"})];case 1:return e.sent(),[2]}}))}))}),[]);var r={imageUrl:Rr,mobileImageUrl:Mr,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 zr(void 0,void 0,void 0,(function(){var e,t;return Hr(this,(function(n){switch(n.label){case 0:return[4,Rn.command({eventType:"Completed"})];case 1:return n.sent(),e=document.querySelector(Xr),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 $(mr,{children:[$(mr.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:"mt-6 flex space-x-6"},{children:[$(Dr,{}),$(Fr,{})]})),$(Ce,Br({class:null!==(t=o.class)&&void 0!==t?t:"",onClickPromise:o.onClick},{children:null!==(n=o.text)&&void 0!==n?n:"Next"}))]})}),$(mr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},Vr=n.p+"assets/all-set.jpg",Gr=n.p+"assets/all-set-mobile.jpg";var qr=function(){return qr=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},qr.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())}))},Yr=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 Zr=function(){var e,t;se((function(){$r(void 0,void 0,void 0,(function(){return Yr(this,(function(e){switch(e.label){case 0:return[4,Rn.command({eventType:"SummaryViewed",summaryVariant:"generic"})];case 1:return e.sent(),[2]}}))}))}),[]);var n=he(ke).flareAppIdentity,r={imageUrl:Vr,mobileImageUrl:Gr,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 $r(void 0,void 0,void 0,(function(){var e,t;return Yr(this,(function(n){switch(n.label){case 0:return[4,Rn.command({eventType:"Completed"})];case 1:return n.sent(),e=document.querySelector(Xr),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 $(mr,{children:[$(mr.Left,{children:$("div",{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:r.mobileImageUrl,loading:"lazy"}),$("div",qr({class:"md:max-w-[27.5rem]"},{children:[$("h3",qr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:r.title})),$("p",qr({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:r.description}))]})),$("div",qr({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:$(Ce,qr({class:null!==(e=o.class)&&void 0!==e?e:"",onClickPromise:o.onClick},{children:null!==(t=o.text)&&void 0!==t?t:"Next"}))}))]})}),$(mr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},Kr=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 $(cr,{employerName:t,onStepComplete:a});case"FlareAppIdentity":return $(rr,{onComplete:a,onAbandon:function(){}});case"MarketplaceOffer":return $(Pr,{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 $(Wr,{email:n});case"SummaryGeneric":return $(Zr,{});default:return $(m,{})}};var Jr=function(){return Jr=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},Jr.apply(this,arguments)},Xr="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 En((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"]},Rn.initClient(t.backendUrl,t.accessToken,t.workflowsInstanceId),[4,Rn.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"},Jr(Jr({},i),{isAppEnabled:a,flareAppIdentity:l}))),[2]}var i,a,l}))}))};return $(m,{children:[$("style",{children:Oe.Z.toString()}),$("div",Jr({class:"font-inter pt-6 pb-8 md:py-24 px-px"},{children:n?$(ke.Provider,Jr({value:n},{children:$(Kr,{})})):$("div",Jr({class:"flex justify-center"},{children:$("span",Jr({class:"animate-spin"},{children:$(xe,{size:"lg"})}))}))}),i)]})}),Xr,[],{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),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-\\[15rem\\]{max-width:15rem}.max-w-full{max-width:100%}.max-w-\\[30rem\\]{max-width:30rem}.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=P(Array.prototype.forEach),_=P(Array.prototype.pop),x=P(Array.prototype.push),k=P(String.prototype.toLowerCase),O=P(String.prototype.toString),E=P(String.prototype.match),N=P(String.prototype.replace),C=P(String.prototype.indexOf),S=P(String.prototype.trim),T=P(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 P(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 R(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 P(n.get);if("function"==typeof n.value)return P(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,P=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=R({},[].concat(i(D),i(I),i(U),i(M),i(z))),Se=null,Te=R({},[].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}})),Pe=null,Re=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=R({},["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=R({},["audio","video","img","source","image","track"]),et=null,tt=R({},["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=R({},[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?R({},t.ALLOWED_TAGS,ve):Ce,Se="ALLOWED_ATTR"in t?R({},t.ALLOWED_ATTR,ve):Te,lt="ALLOWED_NAMESPACES"in t?R({},t.ALLOWED_NAMESPACES,O):ct,et="ADD_URI_SAFE_ATTR"in t?R(j(tt),t.ADD_URI_SAFE_ATTR,ve):tt,Xe="ADD_DATA_URI_TAGS"in t?R(j(Qe),t.ADD_DATA_URI_TAGS,ve):Qe,Ke="FORBID_CONTENTS"in t?R({},t.FORBID_CONTENTS,ve):Je,Pe="FORBID_TAGS"in t?R({},t.FORBID_TAGS,ve):{},Re="FORBID_ATTR"in t?R({},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=R({},i(z)),Se=[],!0===Ze.html&&(R(Ne,D),R(Se,H)),!0===Ze.svg&&(R(Ne,I),R(Se,W),R(Se,G)),!0===Ze.svgFilters&&(R(Ne,U),R(Se,W),R(Se,G)),!0===Ze.mathMl&&(R(Ne,M),R(Se,V),R(Se,G))),t.ADD_TAGS&&(Ne===Ce&&(Ne=j(Ne)),R(Ne,t.ADD_TAGS,ve)),t.ADD_ATTR&&(Se===Te&&(Se=j(Se)),R(Se,t.ADD_ATTR,ve)),t.ADD_URI_SAFE_ATTR&&R(et,t.ADD_URI_SAFE_ATTR,ve),t.FORBID_CONTENTS&&(Ke===Je&&(Ke=j(Ke)),R(Ke,t.FORBID_CONTENTS,ve)),$e&&(Ne["#text"]=!0),Fe&&R(Ne,["html","head","body"]),Ne.table&&(R(Ne,["tbody"]),delete Pe.tbody),p&&p(t),ft=t)},mt=R({},["mi","mo","mn","ms","mtext"]),yt=R({},["foreignobject","desc","title","annotation-xml"]),vt=R({},["title","style","font","a","script"]),gt=R({},I);R(gt,U),R(gt,F);var bt=R({},M);R(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]||Pe[n]){if(!Pe[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(P(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&&!Re[t]&&T(_e,t));else if(je&&T(xe,t));else if(!Se[t]||Re[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},Pt=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)}},Rt=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),Pt(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]||Pe[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&&Rt(i.content),Pt(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:()=>Qr});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++)R(_[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=P(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 P(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 R(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||R(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 Pe=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 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 je=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 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 Pt(){let[e,t]=le(At.serverHandoffComplete);return se((()=>{!0!==e&&t(!0)}),[e]),se((()=>{!1===At.serverHandoffComplete&&(At.serverHandoffComplete=!0)}),[]),e}var Rt;let jt=0;function Lt(){return++jt}let Dt=null!=(Rt=mt.useId)?Rt:function(){let e=Pt(),[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=Pt();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",P=fe(!1),R=Jt((()=>{P.current||(v("hidden"),k(E))}));Gt({container:h,classes:N,events:C,direction:A,onStart:Ut((()=>{P.current=!0})),onStop:Ut((e=>{P.current=!1,"leave"===e&&!Kt(R)&&(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:R},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);Pt();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:[$(Pe,{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=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)},wn=function(e){var t=e.value,n=e.onChange,r=e.className,o=e.children,i=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,["value","onChange","className","children"]),a=mt.Children.toArray(o).find((function(e){return e.type===_n})),l=crypto.randomUUID();return $("div",bn({className:"flex items-center text-left ".concat(null!=r?r:"")},{children:[$("input",bn({id:l,class:"accent-primary-base h-4 w-4",type:"checkbox",checked:t,onChange:function(e){return n(e.currentTarget.checked)}},i)),a&&$("label",bn({for:l,className:"font-medium text-sm text-gray-900 ml-3 }"},{children:a}))]}))},_n=function(e){return $(m,{children:e.children})};wn.Label=_n;const xn=wn;var kn=n(669),On=n.n(kn),En=crypto.randomUUID();const Nn=function(e){return window.addEventListener(En,e),function(){return window.removeEventListener(En,e)}},Cn=function(){window.dispatchEvent(new Event(En))};var Sn,Tn=function(){return Tn=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},Tn.apply(this,arguments)},An=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())}))},Pn=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"}(Sn||(Sn={}));var Rn=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.error)&&Cn(),e},jn=function(){function e(){}return e.initClient=function(e,t,n){this.axiosInstance=On().create({baseURL:"".concat(e,"/benefits-onboarding/backend"),headers:{Authorization:"Bearer ".concat(t)}}),this.axiosInstance.interceptors.response.use((function(e){return e}),Rn),this.sourceId=n},e.init=function(){return An(this,void 0,void 0,(function(){return Pn(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 An(this,void 0,void 0,(function(){return Pn(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.post("/command",Tn({source:"Onboarding",sourceId:this.sourceId},e))];case 1:return t.sent(),[2]}}))}))},e.GetClient=function(){return e.axiosInstance},e}(),Ln=function(e){switch(e){case"sign-up-viewed":return jn.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}});case"sign-up-completed":return jn.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:!0,featureName:"",treatmentName:"",template:"Eoi"}});case"sign-up-declined":return jn.command({eventType:"OfferProgressed",offerName:"Membership",data:{accepted:!1,featureName:"",treatmentName:"",template:"Eoi"}})}};const Dn=function(){return{trace:Ln}};var In=/^04\d{1,14}/,Un=/^\+[1-9]\d{1,14}/,Fn=function(e){return Un.test(e)};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 Bn=function(e){var t=e.onSubmit,n=e.onDecline,r=Dn().trace,o=le(!0),i=o[0],a=o[1],l=le(""),c=l[0],s=l[1],u=function(){var e=le(""),t=e[0],n=e[1],r=de((function(){return t.replace(/ /g,"")}),[t]),o=de((function(){return Fn(r)||(e=r,In.test(e));var e}),[r]),i=de((function(){return Fn(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}}}(),f=u.setPhoneNumber,d=u.phoneNumber;se((function(){r("sign-up-viewed")}),[]);var p=pe((function(){return s(""),t(d).then((function(){return r("sign-up-completed")})).catch(s)}),[d,t,r]),h=pe((function(){return r("sign-up-declined").then(n)}),[n,r]);return $(fn,{children:[$(fn.Top,{children:$("div",Mn({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",Mn({className:"mt-5 md:w-[300px] text-left"},{children:[$(Pe,{allowedKeyPattern:/[+0-9]/,inputMode:"numeric",className:"mt-1 mb-1 w-full",label:"Australian Mobile Number",value:d.masked,onChange:f}),c&&$("span",Mn({className:"text-xs text-rose-500"},{children:c})),$(xn,Mn({className:"mt-5",value:i,onChange:a},{children:$(xn.Label,{children:$("span",{children:["I have read and agree to Flare Benefits",$("a",Mn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:" Terms of Use "})),"and",$("a",Mn({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:" Privacy Policy"})),"."]})})})),$(Ce,Mn({class:"mt-5 md:w-full",disabled:!d.valid||!i,onClickPromise:p},{children:"Create account"})),$(Ce,Mn({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:h},{children:"No thanks"}))]}))})]})};var zn;function Hn(){return Hn=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},Hn.apply(this,arguments)}const Wn=function(e){return p("svg",Hn({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),zn||(zn=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 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.onContinue;return $(fn,{children:[$(fn.Top,{children:$("div",Vn({className:"h-16 w-16 flex items-center justify-center rounded-full bg-blue-50 text-primary-base"},{children:$(Wn,{className:"h-7 w-7"})}))}),$(fn.Bottom,{children:$("div",Vn({className:"mt-5 flex flex-col items-center gap-5 text-center"},{children:[$(je,{children:"You now have access to Flare Benefits"}),$(De,{children:"We’ve sent an email with further instructions including how to download the Flare Benefits app to your phone."}),$(Ce,Vn({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:"Continue to Benefits"}))]}))})]})};var qn;function $n(){return $n=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},$n.apply(this,arguments)}const Yn=function(e){return p("svg",$n({xmlns:"http://www.w3.org/2000/svg",height:24,viewBox:"0 -960 960 960",width:24,fill:"currentColor"},e),qn||(qn=p("path",{d:"m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z"})))};var Zn=function(){return Zn=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},Zn.apply(this,arguments)};const Kn=function(e){var t=e.open;return $(hn,Zn({open:t},{children:$("div",Zn({className:"flex flex-col gap-5 items-center justify-center text-center mt-20"},{children:[$("span",Zn({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 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 Xn=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:[$(Kn,{open:s}),$(fn,{children:[$(fn.Top,{children:$("div",Jn({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",Jn({className:"mt-5 md:w-[300px] text-left"},{children:[$(Pe,{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",Jn({className:"text-xs text-rose-500"},{children:d})),$("p",Jn({class:"mt-2 text-center text-xs text-gray-600 disabled:opacity-75 "},{children:["Didn't get the code?",$(Te,Jn({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,Jn({class:"mt-5 md:w-full",disabled:!a.valid,onClickPromise:g},{children:"Continue"})),$(Ce,Jn({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",Jn({className:"flex gap-3"},{children:[$(Yn,{}),"Back"]}))}))]}))})]})]})},Qn=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&&$(Bn,{onSubmit:p,onDecline:i}),2===u&&$(Xn,{phoneNumber:l,onVerify:h,onResendOtp:r,onGoBack:f}),3===u&&$(Gn,{onContinue:o})]})};var er,tr=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])}}};!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."}(er||(er={}));var rr=function(e){var t,n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data,r=er[null==n?void 0:n.error];throw null!=r?r:"Sorry, we are currently experiencing some issues. Please try again later."};const or=function(e){var t=e.onComplete,n=he(ke).flareAppIdentity,r={signUp:function(e){return tr(void 0,void 0,void 0,(function(){return nr(this,(function(t){switch(t.label){case 0:return[4,jn.GetClient().post("auth/signUp",{mobileNumber:e}).catch(rr)];case 1:return t.sent(),[2]}}))}))},verifyOtp:function(e){return tr(void 0,void 0,void 0,(function(){return nr(this,(function(t){switch(t.label){case 0:return[4,jn.GetClient().post("auth/verify",{otp:e}).catch(rr)];case 1:return t.sent(),[2]}}))}))},resendOtp:function(){return tr(void 0,void 0,void 0,(function(){return nr(this,(function(e){switch(e.label){case 0:return[4,jn.GetClient().post("auth/resend").catch(rr)];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)&&$(Qn,{onSignUp:o,onVerify:i,onResendOtp:a,onSuccess:t,onDecline:t})]})},ir=n.p+"assets/intro.jpg";var ar=function(){return ar=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},ar.apply(this,arguments)},lr=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())}))},cr=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 sr=function(e){var t=he(ke).featureFlags,n=le(!0),r=n[0],o=n[1];return se((function(){t.flareAppIdentity||lr(void 0,void 0,void 0,(function(){return cr(this,(function(e){switch(e.label){case 0:return[4,jn.command({eventType:"OfferViewed",offerName:"Membership",data:{featureName:"",treatmentName:""}})];case 1:return e.sent(),[2]}}))}))}),[]),$(fn,{children:[$(fn.Top,{children:$("img",{class:"max-w-[15rem] w-full",src:ir})}),$(fn.Bottom,{children:$("div",{children:[$("h3",ar({class:"mt-8 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:"Finish setting up your workplace benefits"})),$("p",ar({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",ar({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",ar({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",ar({href:"https://www.flarehr.com/privacy-policy/",target:"_blank",rel:"noreferrer"},{children:"privacy policy"})),"."]})}))]})),$(Ce,ar({class:"mt-8",onClickPromise:function(){return lr(void 0,void 0,void 0,(function(){return cr(this,(function(n){switch(n.label){case 0:return[4,jn.command({eventType:"Started"})];case 1:return n.sent(),t.flareAppIdentity?[3,3]:[4,jn.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:"Set up your benefits"}))]})})]})};var ur=n(856),fr=n.n(ur),dr=function(){return dr=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},dr.apply(this,arguments)},pr=function(e){var t=e.children,n=mt.Children.toArray(t),r=n.find((function(e){return e.type===hr})),o=n.find((function(e){return e.type===mr}));return $(an,dr({appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",dr({class:"md:grid md:grid-cols-2 max-w-[59.5rem] mx-auto"},{children:[$(an,dr({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",dr({class:"flex items-center h-full"},{children:r}))})),$(an,dr({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",dr({class:"flex items-center h-full"},{children:o}))}))]}))}))},hr=function(e){return $(m,{children:e.children})},mr=function(e){return $(m,{children:e.children})};pr.Left=hr,pr.Right=mr;const yr=pr;var vr;function gr(){return gr=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},gr.apply(this,arguments)}const br=function(e){return p("svg",gr({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2},e),vr||(vr=p("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19 9-7 7-7-7"})))};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)};const _r=function(e){return $(an,wr({appear:!0,show:!0,enter:"transition duration-300 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",class:"opacity-0"},{children:$("div",wr({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",wr({class:"flex space-x-1"},{children:[$("span",{children:$(Wn,{class:"h-5 w-5 fill-primary-base"})}),$("span",wr({class:"text-sm leading-5 text-gray-600"},{children:e}))]}),t)}))}))}))};var xr=function(){return xr=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},xr.apply(this,arguments)};const kr=function(e){var t=le(!1),n=t[0],r=t[1];return $("div",xr({class:e.class},{children:n?$(_r,{items:e.items}):$("button",xr({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",xr({class:"ml-1"},{children:$(br,{class:"h-4 w-4"})}))]}))}))};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,r,o;se((function(){Er(void 0,void 0,void 0,(function(){return Nr(this,(function(t){switch(t.label){case 0:return[4,jn.command({offerName:e.step.name,eventType:"OfferViewed",data:Or({},e.step.metadata)})];case 1:return t.sent(),[2]}}))}))}),[e.step.name]);var i=function(t){return Er(void 0,void 0,void 0,(function(){return Nr(this,(function(n){switch(n.label){case 0:return[4,jn.command({offerName:e.step.name,eventType:"OfferProgressed",data:Or(Or({},e.step.metadata),{template:"Eoi",accepted:t})})];case 1:return n.sent(),[2,(t?e.primaryButton:e.secondaryButton).onClick()]}}))}))};return $(yr,{children:[$(yr.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:$(_r,{items:e.step.content.details})}))]})),e.step.content.details&&$(kr,{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 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,Or({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",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:fr().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(yr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})};var Sr=function(){return Sr=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},Sr.apply(this,arguments)},Tr=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())}))},Ar=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 Pr=function(e){var t,n;return se((function(){Tr(void 0,void 0,void 0,(function(){return Ar(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,jn.command({offerName:e.step.name,eventType:"OfferViewed",data:Sr({},e.step.metadata)})]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))}),[e.step]),$(yr,{children:[$(yr.Left,{children:$("div",{children:[$("div",Sr({class:"flex justify-between md:block text-xs tracking-wide"},{children:$("span",Sr({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,Sr({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",Sr({class:"md:max-w-[27.5rem]"},{children:[$("h3",Sr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:e.step.content.title})),$("p",Sr({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",Sr({class:"mt-6 hidden md:block"},{children:$(_r,{items:e.step.content.details})}))]})),e.step.content.details&&$(kr,{class:"mt-6 md:hidden",items:e.step.content.details}),e.children&&e.children,$("div",Sr({class:"flex flex-col md:flex-row md:justify-between gap-4 md:max-w-[27.5rem] mt-6 md:mt-11"},{children:$(Ce,Sr({class:null!==(t=e.primaryButton.class)&&void 0!==t?t:"",onClickPromise:function(){return Tr(void 0,void 0,void 0,(function(){return Ar(this,(function(t){switch(t.label){case 0:return"name"in e.step?[4,jn.command({offerName:e.step.name,eventType:"OfferProgressed",data:Sr(Sr({},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",Sr({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:fr().sanitize(e,{ADD_ATTR:["target"]})}},t)}))}))]}))]})}),$(yr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:e.step.content.imageUrl,loading:"lazy"})})]})},Rr=function(e){switch(e.marketPlaceOffer.content.template){case"Eoi":return $(Cr,{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 $(Pr,{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)}},jr=n.p+"assets/get-app.jpg";var Lr;function Dr(){return Dr=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},Dr.apply(this,arguments)}const Ir=function(e){return p("svg",Dr({width:36,height:42,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Lr||(Lr=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 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 Mr=function(e){return p("svg",Fr({width:37,height:40,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ur||(Ur=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"})))},Br=n.p+"assets/get-app-mobile.jpg";var zr=function(){return zr=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},zr.apply(this,arguments)},Hr=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())}))},Wr=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 Vr=function(e){var t,n;se((function(){Hr(void 0,void 0,void 0,(function(){return Wr(this,(function(e){switch(e.label){case 0:return[4,jn.command({eventType:"SummaryViewed",summaryVariant:"app"})];case 1:return e.sent(),[2]}}))}))}),[]);var r={imageUrl:jr,mobileImageUrl:Br,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 Hr(void 0,void 0,void 0,(function(){var e,t;return Wr(this,(function(n){switch(n.label){case 0:return[4,jn.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 $(yr,{children:[$(yr.Left,{children:$("div",{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:r.mobileImageUrl,loading:"lazy"}),$("div",zr({class:"md:max-w-[27.5rem]"},{children:[$("h3",zr({class:"mt-8 md:mt-3 text-2xl md:text-3xl leading-8 md:leading-9 font-bold"},{children:r.title})),$("p",zr({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:r.description}))]})),$("div",zr({class:"mt-6 flex space-x-6"},{children:[$(Ir,{}),$(Mr,{})]})),$(Ce,zr({class:null!==(t=o.class)&&void 0!==t?t:"",onClickPromise:o.onClick},{children:null!==(n=o.text)&&void 0!==n?n:"Next"}))]})}),$(yr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},Gr=n.p+"assets/all-set.jpg",qr=n.p+"assets/all-set-mobile.jpg";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)},Yr=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())}))},Zr=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(){var e,t;se((function(){Yr(void 0,void 0,void 0,(function(){return Zr(this,(function(e){switch(e.label){case 0:return[4,jn.command({eventType:"SummaryViewed",summaryVariant:"generic"})];case 1:return e.sent(),[2]}}))}))}),[]);var n=he(ke).flareAppIdentity,r={imageUrl:Gr,mobileImageUrl:qr,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 Yr(void 0,void 0,void 0,(function(){var e,t;return Zr(this,(function(n){switch(n.label){case 0:return[4,jn.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 $(yr,{children:[$(yr.Left,{children:$("div",{children:[$("img",{class:"mt-4 max-w-full w-full mx-auto md:hidden",src:r.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:r.title})),$("p",$r({class:"mt-2 text-base md:text-lg leading-6 md:leading-7 text-gray-600 break-words"},{children:r.description}))]})),$("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!==(e=o.class)&&void 0!==e?e:"",onClickPromise:o.onClick},{children:null!==(t=o.text)&&void 0!==t?t:"Next"}))}))]})}),$(yr.Right,{children:$("img",{class:"max-w-[30rem] w-full hidden md:block",src:r.imageUrl,loading:"lazy"})})]})},Jr=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 $(sr,{employerName:t,onStepComplete:a});case"FlareAppIdentity":return $(or,{onComplete:a});case"MarketplaceOffer":return $(Rr,{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 $(Vr,{email:n});case"SummaryGeneric":return $(Kr,{});default:return $(m,{})}};var Xr=function(){return Xr=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},Xr.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];se((function(){return Nn((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"]},jn.initClient(t.backendUrl,t.accessToken,t.workflowsInstanceId),[4,jn.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"},Xr(Xr({},i),{isAppEnabled:a,flareAppIdentity:l}))),[2]}var i,a,l}))}))};return $(m,{children:[$("style",{children:Oe.Z.toString()}),$("div",Xr({class:"font-inter pt-6 pb-8 md:py-24 px-px"},{children:n?$(ke.Provider,Xr({value:n},{children:$(Jr,{})})):$("div",Xr({class:"flex justify-center"},{children:$("span",Xr({class:"animate-spin"},{children:$(xe,{size:"lg"})}))}))}),i)]})}),Qr,[],{shadow:!0})})()})();
|