@flarehr/apollo-benefits-onboarding 0.1.3014 → 0.1.3015
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
|
|
1
|
-
var __defProp=Object.defineProperty,__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateAdd=(e,t,n)=>t.has(e)?__typeError("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),__privateSet=(e,t,n,r)=>(__accessCheck(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t,n,r,o,i,a,s,l,c,d,u,p,f,m,h={},g=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function b(e,t){for(var n in t)e[n]=t[n];return e}function w(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return x(e,a,r,o,null)}function x(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++c:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(i),i}function k(){return{current:null}}function C(e){return e.children}function E(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+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?S(e):null}function N(e,t,n){var r,o=e.__v,i=o.__e,a=e.__P;if(a)return(r=b({},o)).__v=o.__v+1,l.vnode&&l.vnode(r),M(a,r,o,e.__n,void 0!==a.ownerSVGElement,32&o.__u?[i]:null,t,null==i?S(o):i,!!(32&o.__u),n),r.__v=o.__v,r.__.__k[r.__i]=r,r.__d=void 0,r.__e!=i&&T(r),r}function T(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 T(e)}}function A(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!O.__r++||u!==l.debounceRendering)&&((u=l.debounceRendering)||p)(O)}function O(){var e,t,n,r=[],o=[];for(d.sort(f);e=d.shift();)e.__d&&(n=d.length,t=N(e,r,o)||t,0===n||d.length>n?(D(r,t,o),o.length=r.length=0,t=void 0,d.sort(f)):t&&l.__c&&l.__c(t,g));t&&D(r,t,o),O.__r=0}function R(e,t,n,r,o,i,a,s,l,c,d){var u,p,f,m,_,b=r&&r.__k||g,w=t.length;for(n.__d=l,function(e,t,n){var r,o,i,a,s,l=t.length,c=n.length,d=c,u=0;for(e.__k=[],r=0;r<l;r++)null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?x(null,o,null,null,o):y(o)?x(C,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?x(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=I(o,n,a=r+u,d),o.__i=s,i=null,-1!==s&&(d--,(i=n[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&u--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?u++:s>a?d>l-a?u+=s-a:u--:u=s<a&&s==a-1?s-a:0,s!==r+u&&(o.__u|=65536))):(i=n[r])&&null==i.key&&i.__e&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=S(i)),H(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<c;r++)null!=(i=n[r])&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=S(i)),H(i,i))}(n,t,b),l=n.__d,u=0;u<w;u++)null!=(f=n.__k[u])&&"boolean"!=typeof f&&"function"!=typeof f&&(p=-1===f.__i?h:b[f.__i]||h,f.__i=u,M(e,f,p,o,i,a,s,l,c,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&z(p.ref,null,f),d.push(f.ref,f.__c||m,f)),null==_&&null!=m&&(_=m),65536&f.__u||p.__k===f.__k?l=P(f,l,e):"function"==typeof f.type&&void 0!==f.__d?l=f.__d:m&&(l=m.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=_}function P(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=P(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function L(e,t){return t=t||[],null==e||"boolean"==typeof e||(y(e)?e.some((function(e){L(e,t)})):t.push(e)),t}function I(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&o==l.key&&i===l.type)return n;if(r>(null!=l&&0==(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function U(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||_.test(t)?n:n+"px"}function F(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||U(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||U(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?B:j,i)):e.removeEventListener(t,i?B:j,i);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(a){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function j(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(l.event?l.event(e):e)}}function B(e){if(this.l)return this.l[e.type+!0](l.event?l.event(e):e)}function M(e,t,n,r,o,i,a,c,d,u){var p,f,m,g,_,v,x,k,N,T,A,O,P,L,I,U=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(d=!!(32&n.__u),i=[c=t.__e=n.__e]),(p=l.__b)&&p(t);e:if("function"==typeof U)try{if(k=t.props,N=(p=U.contextType)&&r[p.__c],T=p?N?N.props.value:p.__:r,n.__c?x=(f=t.__c=n.__c).__=f.__E:("prototype"in U&&U.prototype.render?t.__c=f=new U(k,T):(t.__c=f=new E(k,T),f.constructor=U,f.render=q),N&&N.sub(f),f.props=k,f.state||(f.state={}),f.context=T,f.__n=r,m=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=U.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,U.getDerivedStateFromProps(k,f.__s))),g=f.props,_=f.state,f.__v=t,m)null==U.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==U.getDerivedStateFromProps&&k!==g&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(k,T),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(k,f.__s,T)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=k,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),A=0;A<f._sb.length;A++)f.__h.push(f._sb[A]);f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(k,f.__s,T),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(g,_,v)}))}if(f.context=T,f.props=k,f.__P=e,f.__e=!1,O=l.__r,P=0,"prototype"in U&&U.prototype.render){for(f.state=f.__s,f.__d=!1,O&&O(t),p=f.render(f.props,f.state,f.context),L=0;L<f._sb.length;L++)f.__h.push(f._sb[L]);f._sb=[]}else do{f.__d=!1,O&&O(t),p=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++P<25);f.state=f.__s,null!=f.getChildContext&&(r=b(b({},r),f.getChildContext())),m||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(g,_)),R(e,y(I=null!=p&&p.type===C&&null==p.key?p.props.children:p)?I:[I],t,n,r,o,i,a,c,d,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),x&&(f.__E=f.__=null)}catch(j){t.__v=null,d||null!=i?(t.__e=c,t.__u|=d?160:32,i[i.indexOf(c)]=null):(t.__e=n.__e,t.__k=n.__k),l.__e(j,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,o,i,a,l,c){var d,u,p,f,m,g,_,b=n.props,v=t.props,x=t.type;if("svg"===x&&(o=!0),null!=i)for(d=0;d<i.length;d++)if((m=i[d])&&"setAttribute"in m==!!x&&(x?m.localName===x:3===m.nodeType)){e=m,i[d]=null;break}if(null==e){if(null===x)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,v.is&&v),i=null,l=!1}if(null===x)b===v||l&&e.data===v||(e.data=v);else{if(i=i&&s.call(e.childNodes),b=n.props||h,!l&&null!=i)for(b={},d=0;d<e.attributes.length;d++)b[(m=e.attributes[d]).name]=m.value;for(d in b)m=b[d],"children"==d||("dangerouslySetInnerHTML"==d?p=m:"key"===d||d in v||F(e,d,null,m,o));for(d in v)m=v[d],"children"==d?f=m:"dangerouslySetInnerHTML"==d?u=m:"value"==d?g=m:"checked"==d?_=m:"key"===d||l&&"function"!=typeof m||b[d]===m||F(e,d,m,b[d],o);if(u)l||p&&(u.__html===p.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(p&&(e.innerHTML=""),R(e,y(f)?f:[f],t,n,r,o&&"foreignObject"!==x,i,a,i?i[0]:n.__k&&S(n,0),l,c),null!=i)for(d=i.length;d--;)null!=i[d]&&w(i[d]);l||(d="value",void 0!==g&&(g!==e[d]||"progress"===x&&!g||"option"===x&&g!==b[d])&&F(e,d,g,b[d],!1),d="checked",void 0!==_&&_!==e[d]&&F(e,d,_,b[d],!1))}return e}(n.__e,t,n,r,o,i,a,d,u);(p=l.diffed)&&p(t)}function D(e,t,n){for(var r=0;r<n.length;r++)z(n[r],n[++r],n[++r]);l.__c&&l.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(n){l.__e(n,t.__v)}}))}function z(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(r){l.__e(r,n)}}function H(e,t,n){var r,o;if(l.unmount&&l.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||z(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){l.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&H(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||w(e.__e),e.__=e.__e=e.__d=void 0}function q(e,t,n){return this.constructor(e,n)}function W(e,t,n){var r,o,i,a;l.__&&l.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],a=[],M(t,e=(!r&&n||t).__k=v(C,null,[e]),o||h,h,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?s.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),e.__d=void 0,D(i,e,a)}function V(e,t){W(e,t,V)}function $(e,t,n){var r,o,i,a,l=b({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==i?r=t[i]:"ref"==i?o=t[i]:l[i]=void 0===t[i]&&void 0!==a?a[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?s.call(arguments,2):n),x(e.type,l,r||e.key,o||e.ref,null)}function G(e,t){var n={__c:t="__cC"+m++,__: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((function(e){e.__e=!0,A(e)}))},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 Y(){return(Y=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}).apply(this,arguments)}s=g.slice,l={__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(s){e=s}throw e}},c=0,E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=b({},this.state),"function"==typeof e&&(e=e(b({},n),this.props)),e&&b(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),A(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},E.prototype.render=C,d=[],p="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,m=0;var Z=["context","children"];function J(e){return this.getChildContext=function(){return e.context},$(e.children,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,Z))}function X(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=v(J,Y({},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,s=t.childNodes;for(i=a.length;i--;)"slot"!==a[i].name&&(o[a[i].name]=a[i].value,o[K(a[i].name)]=a[i].value);for(i=s.length;i--;){var l=e(s[i],null),c=s[i].slot;c?o[c]=v(te,{name:c},l):r[i]=l}var d=n?v(te,null,r):r;return v(n||t.nodeName.toLowerCase(),o,d)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?V:W)(this._vdom,this._root)}function K(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function Q(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[K(e)]=n,this._vdom=$(this._vdom,r),W(this._vdom,this._root)}}function ee(){W(this._vdom=null,this._root)}function te(e,t){var n=this;return v("slot",Y({},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)}}))}var ne=(e=>(e.BenefitsExisting="BenefitsExisting",e.AppInvite="AppInvite",e.BenefitsOnboarding="BenefitsOnboarding",e))(ne||{});const re=""+("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__dirname+"/assets/intro_allowance_experiment-Bit4myCA.png").href:new URL("assets/intro_allowance_experiment-Bit4myCA.png","undefined"==typeof document?location.href:document.currentScript&&"SCRIPT"===document.currentScript.tagName.toUpperCase()&&document.currentScript.src||document.baseURI).href),oe=""+("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__dirname+"/assets/intro_allowance_experiment-DyP_CJyB.png").href:new URL("assets/intro_allowance_experiment-DyP_CJyB.png","undefined"==typeof document?location.href:document.currentScript&&"SCRIPT"===document.currentScript.tagName.toUpperCase()&&document.currentScript.src||document.baseURI).href);class ie extends Error{}function ae(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return atob(t)}}ie.prototype.name="InvalidTokenError";const se=crypto.randomUUID?crypto.randomUUID():crypto.getRandomValues(new Uint32Array(5)).join("-"),le=e=>(window.addEventListener(se,e),()=>window.removeEventListener(se,e)),ce=()=>{window.dispatchEvent(new Event(se))};function de(e,t){return function(){return e.apply(t,arguments)}}const{toString:ue}=Object.prototype,{getPrototypeOf:pe}=Object,fe=(e=>t=>{const n=ue.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),me=e=>(e=e.toLowerCase(),t=>fe(t)===e),he=e=>t=>typeof t===e,{isArray:ge}=Array,_e=he("undefined");const ye=me("ArrayBuffer");const be=he("string"),we=he("function"),ve=he("number"),xe=e=>null!==e&&"object"==typeof e,ke=e=>{if("object"!==fe(e))return!1;const t=pe(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Ce=me("Date"),Ee=me("File"),Se=me("Blob"),Ne=me("FileList"),Te=me("URLSearchParams"),[Ae,Oe,Re,Pe]=["ReadableStream","Request","Response","Headers"].map(me);function Le(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),ge(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Ie(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Fe=e=>!_e(e)&&e!==Ue;const je=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&pe(Uint8Array)),Be=me("HTMLFormElement"),Me=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),De=me("RegExp"),ze=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Le(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)};const He=me("AsyncFunction"),qe=(We="function"==typeof setImmediate,Ve=we(Ue.postMessage),We?setImmediate:Ve?($e=`axios@${Math.random()}`,Ge=[],Ue.addEventListener("message",(({source:e,data:t})=>{e===Ue&&t===$e&&Ge.length&&Ge.shift()()}),!1),e=>{Ge.push(e),Ue.postMessage($e,"*")}):e=>setTimeout(e));var We,Ve,$e,Ge;const Ye="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Ue):"undefined"!=typeof process&&process.nextTick||qe,Ze={isArray:ge,isArrayBuffer:ye,isBuffer:function(e){return null!==e&&!_e(e)&&null!==e.constructor&&!_e(e.constructor)&&we(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||we(e.append)&&("formdata"===(t=fe(e))||"object"===t&&we(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ye(e.buffer),t},isString:be,isNumber:ve,isBoolean:e=>!0===e||!1===e,isObject:xe,isPlainObject:ke,isReadableStream:Ae,isRequest:Oe,isResponse:Re,isHeaders:Pe,isUndefined:_e,isDate:Ce,isFile:Ee,isBlob:Se,isRegExp:De,isFunction:we,isStream:e=>xe(e)&&we(e.pipe),isURLSearchParams:Te,isTypedArray:je,isFileList:Ne,forEach:Le,merge:function e(){const{caseless:t}=Fe(this)&&this||{},n={},r=(r,o)=>{const i=t&&Ie(n,o)||o;ke(n[i])&&ke(r)?n[i]=e(n[i],r):ke(r)?n[i]=e({},r):ge(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Le(arguments[o],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Le(t,((t,r)=>{n&&we(t)?e[r]=de(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&pe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:fe,kindOfTest:me,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(ge(e))return e;let t=e.length;if(!ve(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Be,hasOwnProperty:Me,hasOwnProp:Me,reduceDescriptors:ze,freezeMethods:e=>{ze(e,((t,n)=>{if(we(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];we(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return ge(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ie,global:Ue,isContextDefined:Fe,isSpecCompliantForm:function(e){return!!(e&&we(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(xe(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=ge(e)?[]:{};return Le(e,((e,t)=>{const i=n(e,r+1);!_e(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:He,isThenable:e=>e&&(xe(e)||we(e))&&we(e.then)&&we(e.catch),setImmediate:qe,asap:Ye};function Je(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Ze.inherits(Je,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:Ze.toJSONObject(this.config),code:this.code,status:this.status}}});const Xe=Je.prototype,Ke={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ke[e]={value:e}})),Object.defineProperties(Je,Ke),Object.defineProperty(Xe,"isAxiosError",{value:!0}),Je.from=(e,t,n,r,o,i)=>{const a=Object.create(Xe);return Ze.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Je.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function Qe(e){return Ze.isPlainObject(e)||Ze.isArray(e)}function et(e){return Ze.endsWith(e,"[]")?e.slice(0,-2):e}function tt(e,t,n){return e?e.concat(t).map((function(e,t){return e=et(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const nt=Ze.toFlatObject(Ze,{},null,(function(e){return/^is[A-Z]/.test(e)}));function rt(e,t,n){if(!Ze.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Ze.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ze.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ze.isSpecCompliantForm(t);if(!Ze.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ze.isDate(e))return e.toISOString();if(!s&&Ze.isBlob(e))throw new Je("Blob is not supported. Use a Buffer instead.");return Ze.isArrayBuffer(e)||Ze.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Ze.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ze.isArray(e)&&function(e){return Ze.isArray(e)&&!e.some(Qe)}(e)||(Ze.isFileList(e)||Ze.endsWith(n,"[]"))&&(s=Ze.toArray(e)))return n=et(n),s.forEach((function(e,r){!Ze.isUndefined(e)&&null!==e&&t.append(!0===a?tt([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Qe(e)||(t.append(tt(o,n,i),l(e)),!1)}const d=[],u=Object.assign(nt,{defaultVisitor:c,convertValue:l,isVisitable:Qe});if(!Ze.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Ze.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),Ze.forEach(n,(function(n,i){!0===(!(Ze.isUndefined(n)||null===n)&&o.call(t,n,Ze.isString(i)?i.trim():i,r,u))&&e(n,r?r.concat(i):[i])})),d.pop()}}(e),t}function ot(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function it(e,t){this._pairs=[],e&&rt(e,this,t)}const at=it.prototype;function st(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(e,t,n){if(!t)return e;const r=n&&n.encode||st;Ze.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Ze.isURLSearchParams(t)?t.toString():new it(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}at.append=function(e,t){this._pairs.push([e,t])},at.toString=function(e){const t=e?function(t){return e.call(this,t,ot)}:ot;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class ct{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ze.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ut={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:it,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pt="undefined"!=typeof window&&"undefined"!=typeof document,ft="object"==typeof navigator&&navigator||void 0,mt=pt&&(!ft||["ReactNative","NativeScript","NS"].indexOf(ft.product)<0),ht="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,gt=pt&&window.location.href||"http://localhost",_t={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pt,hasStandardBrowserEnv:mt,hasStandardBrowserWebWorkerEnv:ht,navigator:ft,origin:gt},Symbol.toStringTag,{value:"Module"})),...ut};function yt(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Ze.isArray(r)?r.length:i,s)return Ze.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&Ze.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Ze.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(Ze.isFormData(e)&&Ze.isFunction(e.entries)){const n={};return Ze.forEachEntry(e,((e,r)=>{t(function(e){return Ze.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const bt={transitional:dt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Ze.isObject(e);o&&Ze.isHTMLForm(e)&&(e=new FormData(e));if(Ze.isFormData(e))return r?JSON.stringify(yt(e)):e;if(Ze.isArrayBuffer(e)||Ze.isBuffer(e)||Ze.isStream(e)||Ze.isFile(e)||Ze.isBlob(e)||Ze.isReadableStream(e))return e;if(Ze.isArrayBufferView(e))return e.buffer;if(Ze.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return rt(e,new _t.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return _t.isNode&&Ze.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Ze.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return rt(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Ze.isString(e))try{return(t||JSON.parse)(e),Ze.trim(e)}catch(Ci){if("SyntaxError"!==Ci.name)throw Ci}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||bt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Ze.isResponse(e)||Ze.isReadableStream(e))return e;if(e&&Ze.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(Ci){if(n){if("SyntaxError"===Ci.name)throw Je.from(Ci,Je.ERR_BAD_RESPONSE,this,null,this.response);throw Ci}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_t.classes.FormData,Blob:_t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ze.forEach(["delete","get","head","post","put","patch"],(e=>{bt.headers[e]={}}));const wt=Ze.toObjectSet(["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"]),vt=Symbol("internals");function xt(e){return e&&String(e).trim().toLowerCase()}function kt(e){return!1===e||null==e?e:Ze.isArray(e)?e.map(kt):String(e)}function Ct(e,t,n,r,o){return Ze.isFunction(r)?r.call(this,t,n):(o&&(t=n),Ze.isString(t)?Ze.isString(r)?-1!==t.indexOf(r):Ze.isRegExp(r)?r.test(t):void 0:void 0)}class Et{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=xt(t);if(!o)throw new Error("header name must be a non-empty string");const i=Ze.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=kt(e))}const i=(e,t)=>Ze.forEach(e,((e,n)=>o(e,n,t)));if(Ze.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Ze.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&wt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Ze.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=xt(e)){const n=Ze.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Ze.isFunction(t))return t.call(this,e,n);if(Ze.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=xt(e)){const n=Ze.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ct(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=xt(e)){const o=Ze.findKey(n,e);!o||t&&!Ct(0,n[o],o,t)||(delete n[o],r=!0)}}return Ze.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Ct(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Ze.forEach(this,((r,o)=>{const i=Ze.findKey(n,o);if(i)return t[i]=kt(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=kt(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ze.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Ze.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[vt]=this[vt]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=xt(e);t[r]||(!function(e,t){const n=Ze.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Ze.isArray(e)?e.forEach(r):r(e),this}}function St(e,t){const n=this||bt,r=t||n,o=Et.from(r.headers);let i=r.data;return Ze.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Nt(e){return!(!e||!e.__CANCEL__)}function Tt(e,t,n){Je.call(this,null==e?"canceled":e,Je.ERR_CANCELED,t,n),this.name="CanceledError"}function At(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Et.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ze.reduceDescriptors(Et.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Ze.freezeMethods(Et),Ze.inherits(Tt,Je,{__CANCEL__:!0});const Ot=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let d=a,u=0;for(;d!==i;)u+=n[d++],d%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const p=c&&l-c;return p?Math.round(1e3*u/p):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),i-s)))},()=>n&&a(n)]}((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Rt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Pt=e=>(...t)=>Ze.asap((()=>e(...t))),Lt=_t.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_t.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_t.origin),_t.navigator&&/(msie|trident)/i.test(_t.navigator.userAgent)):()=>!0,It=_t.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Ze.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ze.isString(r)&&a.push("path="+r),Ze.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ut(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&r||0==n?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ft=e=>e instanceof Et?{...e}:e;function jt(e,t){t=t||{};const n={};function r(e,t,n,r){return Ze.isPlainObject(e)&&Ze.isPlainObject(t)?Ze.merge.call({caseless:r},e,t):Ze.isPlainObject(t)?Ze.merge({},t):Ze.isArray(t)?t.slice():t}function o(e,t,n,o){return Ze.isUndefined(t)?Ze.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Ze.isUndefined(t))return r(void 0,t)}function a(e,t){return Ze.isUndefined(t)?Ze.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(Ft(e),Ft(t),0,!0)};return Ze.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);Ze.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Bt=e=>{const t=jt({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=Et.from(s),t.url=lt(Ut(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Ze.isFormData(r))if(_t.hasStandardBrowserEnv||_t.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(_t.hasStandardBrowserEnv&&(o&&Ze.isFunction(o)&&(o=o(t)),o||!1!==o&&Lt(t.url))){const e=i&&a&&It.read(a);e&&s.set(i,e)}return t},Mt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Bt(e);let o=r.data;const i=Et.from(r.headers).normalize();let a,s,l,c,d,{responseType:u,onUploadProgress:p,onDownloadProgress:f}=r;function m(){c&&c(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function g(){if(!h)return;const r=Et.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());At((function(e){t(e),m()}),(function(e){n(e),m()}),{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(g)},h.onabort=function(){h&&(n(new Je("Request aborted",Je.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new Je("Network Error",Je.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||dt;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Je(t,o.clarifyTimeoutError?Je.ETIMEDOUT:Je.ECONNABORTED,e,h)),h=null},void 0===o&&i.setContentType(null),"setRequestHeader"in h&&Ze.forEach(i.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),Ze.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),u&&"json"!==u&&(h.responseType=r.responseType),f&&([l,d]=Ot(f,!0),h.addEventListener("progress",l)),p&&h.upload&&([s,c]=Ot(p),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{h&&(n(!t||t.type?new Tt(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const _=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);_&&-1===_t.protocols.indexOf(_)?n(new Je("Unsupported protocol "+_+":",Je.ERR_BAD_REQUEST,e)):h.send(o||null)}))},Dt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Je?t:new Tt(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Je(`timeout ${t} of ms exceeded`,Je.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=()=>Ze.asap(a),s}},zt=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Ht=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},qt=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Ht(e))yield*zt(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},Wt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Vt=Wt&&"function"==typeof ReadableStream,$t=Wt&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Gt=(e,...t)=>{try{return!!e(...t)}catch(Ci){return!1}},Yt=Vt&&Gt((()=>{let e=!1;const t=new Request(_t.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Zt=Vt&&Gt((()=>Ze.isReadableStream(new Response("").body))),Jt={stream:Zt&&(e=>e.body)};var Xt;Wt&&(Xt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Jt[e]&&(Jt[e]=Ze.isFunction(Xt[e])?t=>t[e]():(t,n)=>{throw new Je(`Response type '${e}' is not supported`,Je.ERR_NOT_SUPPORT,n)})})));const Kt=async(e,t)=>{const n=Ze.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Ze.isBlob(e))return e.size;if(Ze.isSpecCompliantForm(e)){const t=new Request(_t.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Ze.isArrayBufferView(e)||Ze.isArrayBuffer(e)?e.byteLength:(Ze.isURLSearchParams(e)&&(e+=""),Ze.isString(e)?(await $t(e)).byteLength:void 0)})(t):n},Qt={http:null,xhr:Mt,fetch:Wt&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:d,withCredentials:u="same-origin",fetchOptions:p}=Bt(e);c=c?(c+"").toLowerCase():"text";let f,m=Dt([o,i&&i.toAbortSignal()],a);const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(l&&Yt&&"get"!==n&&"head"!==n&&0!==(g=await Kt(d,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Ze.isFormData(r)&&(e=n.headers.get("content-type"))&&d.setContentType(e),n.body){const[e,t]=Rt(g,Ot(Pt(l)));r=qt(n.body,65536,e,t)}}Ze.isString(u)||(u=u?"include":"omit");const o="credentials"in Request.prototype;f=new Request(t,{...p,signal:m,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:o?u:void 0});let i=await fetch(f);const a=Zt&&("stream"===c||"response"===c);if(Zt&&(s||a&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Ze.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&Rt(t,Ot(Pt(s),!0))||[];i=new Response(qt(i.body,65536,n,(()=>{r&&r(),h&&h()})),e)}c=c||"text";let _=await Jt[Ze.findKey(Jt,c)||"text"](i,e);return!a&&h&&h(),await new Promise(((t,n)=>{At(t,n,{data:_,headers:Et.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:f})}))}catch(_){if(h&&h(),_&&"TypeError"===_.name&&/fetch/i.test(_.message))throw Object.assign(new Je("Network Error",Je.ERR_NETWORK,e,f),{cause:_.cause||_});throw Je.from(_,_&&_.code,e,f)}})};Ze.forEach(Qt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Ci){}Object.defineProperty(e,"adapterName",{value:t})}}));const en=e=>`- ${e}`,tn=e=>Ze.isFunction(e)||null===e||!1===e,nn=e=>{e=Ze.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!tn(n)&&(r=Qt[(t=String(n)).toLowerCase()],void 0===r))throw new Je(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Je("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(en).join("\n"):" "+en(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function rn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tt(null,e)}function on(e){rn(e),e.headers=Et.from(e.headers),e.data=St.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return nn(e.adapter||bt.adapter)(e).then((function(t){return rn(e),t.data=St.call(e,e.transformResponse,t),t.headers=Et.from(t.headers),t}),(function(t){return Nt(t)||(rn(e),t&&t.response&&(t.response.data=St.call(e,e.transformResponse,t.response),t.response.headers=Et.from(t.response.headers))),Promise.reject(t)}))}const an="1.8.3",sn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{sn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ln={};sn.transitional=function(e,t,n){function r(e,t){return"[Axios v1.8.3] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Je(r(o," has been removed"+(t?" in "+t:"")),Je.ERR_DEPRECATED);return t&&!ln[o]&&(ln[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},sn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const cn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Je("options must be an object",Je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Je("option "+i+" must be "+n,Je.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Je("Unknown option "+i,Je.ERR_BAD_OPTION)}},validators:sn},dn=cn.validators;class un{constructor(e){this.defaults=e,this.interceptors={request:new ct,response:new ct}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Ci){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=jt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&cn.assertOptions(n,{silentJSONParsing:dn.transitional(dn.boolean),forcedJSONParsing:dn.transitional(dn.boolean),clarifyTimeoutError:dn.transitional(dn.boolean)},!1),null!=r&&(Ze.isFunction(r)?t.paramsSerializer={serialize:r}:cn.assertOptions(r,{encode:dn.function,serialize:dn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),cn.assertOptions(t,{baseUrl:dn.spelling("baseURL"),withXsrfToken:dn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Ze.merge(o.common,o[t.method]);o&&Ze.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Et.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let d,u=0;if(!s){const e=[on.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),d=e.length,c=Promise.resolve(t);u<d;)c=c.then(e[u++],e[u++]);return c}d=a.length;let p=t;for(u=0;u<d;){const e=a[u++],t=a[u++];try{p=e(p)}catch(f){t.call(this,f);break}}try{c=on.call(this,p)}catch(f){return Promise.reject(f)}for(u=0,d=l.length;u<d;)c=c.then(l[u++],l[u++]);return c}getUri(e){return lt(Ut((e=jt(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Ze.forEach(["delete","get","head","options"],(function(e){un.prototype[e]=function(t,n){return this.request(jt(n||{},{method:e,url:t,data:(n||{}).data}))}})),Ze.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(jt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}un.prototype[e]=t(),un.prototype[e+"Form"]=t(!0)}));class pn{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Tt(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new pn((function(t){e=t})),cancel:e}}}const fn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(fn).forEach((([e,t])=>{fn[t]=e}));const mn=function e(t){const n=new un(t),r=de(un.prototype.request,n);return Ze.extend(r,un.prototype,n,{allOwnKeys:!0}),Ze.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(jt(t,n))},r}(bt);mn.Axios=un,mn.CanceledError=Tt,mn.CancelToken=pn,mn.isCancel=Nt,mn.VERSION=an,mn.toFormData=rt,mn.AxiosError=Je,mn.Cancel=mn.CanceledError,mn.all=function(e){return Promise.all(e)},mn.spread=function(e){return function(t){return e.apply(null,t)}},mn.isAxiosError=function(e){return Ze.isObject(e)&&!0===e.isAxiosError},mn.mergeConfig=jt,mn.AxiosHeaders=Et,mn.formToJSON=e=>yt(Ze.isHTMLForm(e)?new FormData(e):e),mn.getAdapter=nn,mn.HttpStatusCode=fn,mn.default=mn;class hn{constructor(){__privateAdd(this,e)}initClient(t,n){__privateSet(this,e,mn.create({baseURL:`${this.url(t)}/backend`,allowAbsoluteUrls:!1})),n&&__privateGet(this,e).interceptors.request.use(n)}getClient(){return __privateGet(this,e)}}e=new WeakMap;const gn={backend:new class extends hn{constructor(){super(...arguments),__publicField(this,"getIdToken",(()=>this.getClient().get("v1.0/auth/token").then((e=>e.data.token))))}url(e){return`${e}/flare-app-identity`}}};let _n;class yn{constructor(){__privateAdd(this,t),__privateAdd(this,n),__privateAdd(this,r),__privateAdd(this,o,(async e=>(_n||(_n=await gn.backend.getIdToken()),e.headers.Authorization=`Bearer ${_n}`,e)))}initClient(e,i,a){__privateSet(this,n,e),__privateSet(this,r,i),__privateSet(this,t,mn.create({baseURL:`${this.url(e)}/workplace-backend`,headers:{"X-PROFILE-ID":i},allowAbsoluteUrls:!1})),__privateGet(this,t).interceptors.request.use(__privateGet(this,o)),a&&__privateGet(this,t).interceptors.request.use(a)}getClient(){return __privateGet(this,t)}async getIdToken(){return _n||(_n=await gn.backend.getIdToken()),_n}getBaseUrl(){return __privateGet(this,n)}getProfileId(){return __privateGet(this,r)}}t=new WeakMap,n=new WeakMap,r=new WeakMap,o=new WeakMap;const bn=e=>{var t,n;throw"Auth_SessionExpired"===(null==(n=null==(t=e.response)?void 0:t.data)?void 0:n.code)&&ce(),e};let wn=(a=class extends yn{constructor(){super(...arguments),__publicField(this,"_canceledSignal"),__privateAdd(this,i,(async e=>e))}get canceledSignal(){if(!this._canceledSignal){const e=new AbortController;e.abort(),this._canceledSignal=e.signal}return this._canceledSignal}url(e){return`${e}/benefits-onboarding`}initClient(e,t,n){super.initClient(e,t,n),this.getClient().interceptors.request.use(__privateGet(this,i))}async track(e,t,n){await this.getClient().post("/v1.0/analytics/track",{event:e,properties:t},{params:n}).catch((e=>{}))}},i=new WeakMap,a);const vn={backend:new class extends hn{constructor(){super(...arguments),__publicField(this,"sourceId")}url(e){return`${e}/benefits-onboarding`}initClient(e,t,n){super.initClient(e,t),this.getClient().interceptors.response.use((e=>e),bn),this.sourceId=n}async init(){return this.getClient().post("/init",{source:"Onboarding",sourceId:this.sourceId}).then((e=>e.data))}command(e,t){return this.getClient().post("/command",{source:"Onboarding",sourceId:this.sourceId,...e},{params:t})}},workplaceBackend:new wn};const xn={workplaceBackend:new class extends yn{url(e){return`${e}/benefits-plan`}getAllowanceProductsStatus(e){return this.getClient().get("/v2.0/allowance/products/status",{params:{activityIds:e.join(",")}}).then((e=>e.data))}}},kn=(e,t)=>e,Cn=(e,t)=>n=>(n.params={...n.params??{},client:e.client,source:e.source,channel:e.channel},t&&n.headers.setAuthorization(`Bearer ${t}`),n),En=(e,t,n)=>{const r=function(e,t){if("string"!=typeof e)throw new ie("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,r=e.split(".")[n];if("string"!=typeof r)throw new ie(`Invalid token specified: missing part #${n+1}`);let o;try{o=ae(r)}catch(Ci){throw new ie(`Invalid token specified: invalid base64 for part #${n+1} (${Ci.message})`)}try{return JSON.parse(o)}catch(Ci){throw new ie(`Invalid token specified: invalid json for part #${n+1} (${Ci.message})`)}}(t).sub,o=Cn(n,t),i=Cn(n),a=kn(e),s=kn(e),l=kn(e);vn.backend.initClient(a,o,n.workflowsInstanceId),vn.workplaceBackend.initClient(a,r,i),gn.backend.initClient(s,o),xn.workplaceBackend.initClient(l,r,i)};var Sn,Nn,Tn,An,On=0,Rn=[],Pn=[],Ln=l,In=Ln.__b,Un=Ln.__r,Fn=Ln.diffed,jn=Ln.__c,Bn=Ln.unmount,Mn=Ln.__;function Dn(e,t){Ln.__h&&Ln.__h(Nn,e,On||t),On=0;var n=Nn.__H||(Nn.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Pn}),n.__[e]}function zn(e){return On=1,Hn(or,e)}function Hn(e,t,n){var r=Dn(Sn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):or(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Nn,!Nn.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};Nn.u=!0;var i=Nn.shouldComponentUpdate,a=Nn.componentWillUpdate;Nn.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},Nn.shouldComponentUpdate=o}return r.__N||r.__}function qn(e,t){var n=Dn(Sn++,3);!Ln.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,Nn.__H.__h.push(n))}function Wn(e,t){var n=Dn(Sn++,4);!Ln.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,Nn.__h.push(n))}function Vn(e){return On=5,Gn((function(){return{current:e}}),[])}function $n(e,t,n){On=6,Wn((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))}function Gn(e,t){var n=Dn(Sn++,7);return rr(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Yn(e,t){return On=8,Gn((function(){return e}),t)}function Zn(e){var t=Nn.context[e.__c],n=Dn(Sn++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Nn)),t.props.value):e.__}function Jn(e,t){Ln.useDebugValue&&Ln.useDebugValue(t?t(e):e)}function Xn(){var e=Dn(Sn++,11);if(!e.__){for(var t=Nn.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Kn(){for(var e;e=Rn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(tr),e.__H.__h.forEach(nr),e.__H.__h=[]}catch(t){e.__H.__h=[],Ln.__e(t,e.__v)}}Ln.__b=function(e){Nn=null,In&&In(e)},Ln.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Mn&&Mn(e,t)},Ln.__r=function(e){Un&&Un(e),Sn=0;var t=(Nn=e.__c).__H;t&&(Tn===Nn?(t.__h=[],Nn.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Pn,e.__N=e.i=void 0}))):(t.__h.forEach(tr),t.__h.forEach(nr),t.__h=[],Sn=0)),Tn=Nn},Ln.diffed=function(e){Fn&&Fn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Rn.push(t)&&An===Ln.requestAnimationFrame||((An=Ln.requestAnimationFrame)||er)(Kn)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Pn&&(e.__=e.__V),e.i=void 0,e.__V=Pn}))),Tn=Nn=null},Ln.__c=function(e,t){t.some((function(e){try{e.__h.forEach(tr),e.__h=e.__h.filter((function(e){return!e.__||nr(e)}))}catch(Vi){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Ln.__e(Vi,e.__v)}})),jn&&jn(e,t)},Ln.unmount=function(e){Bn&&Bn(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{tr(e)}catch(n){t=n}})),n.__H=void 0,t&&Ln.__e(t,n.__v))};var Qn="function"==typeof requestAnimationFrame;function er(e){var t,n=function(){clearTimeout(r),Qn&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Qn&&(t=requestAnimationFrame(n))}function tr(e){var t=Nn,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Nn=t}function nr(e){var t=Nn;e.__c=e.__(),Nn=t}function rr(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function or(e,t){return"function"==typeof t?t(e):t}function ir(e,t){for(var n in t)e[n]=t[n];return e}function ar(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 sr(e,t){this.props=e,this.context=t}function lr(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:ar(this.props,e)}function r(t){return this.shouldComponentUpdate=n,v(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(sr.prototype=new E).isPureReactComponent=!0,sr.prototype.shouldComponentUpdate=function(e,t){return ar(this.props,e)||ar(this.state,t)};var cr=l.__b;l.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),cr&&cr(e)};var dr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ur(e){function t(t){var n=ir({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=dr,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var pr=function(e,t){return null==e?null:L(L(e).map(t))},fr={map:pr,forEach:pr,count:function(e){return e?L(e).length:0},only:function(e){var t=L(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:L},mr=l.__e;l.__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);mr(e,t,n,r)};var hr=l.unmount;function gr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=ir({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return gr(e,t,n)}))),e}function _r(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return _r(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function yr(){this.__u=0,this.t=null,this.__b=null}function br(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function wr(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 v(n,o)}return o.displayName="Lazy",o.__f=!0,o}function vr(){this.u=null,this.o=null}l.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),hr&&hr(e)},(yr.prototype=new E).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=br(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=_r(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},yr.prototype.componentWillUnmount=function(){this.t=[]},yr.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]=gr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&v(C,null,e.fallback);return o&&(o.__u&=-33),[v(C,null,t.__a?null:e.children),o]};var xr=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 kr(e){return this.getChildContext=function(){return e.context},e.children}function Cr(e){var t=this,n=e.i;t.componentWillUnmount=function(){W(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),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)}}),W(v(kr,{context:t.context},e.__v),t.l)}function Er(e,t){var n=v(Cr,{__v:e,i:t});return n.containerInfo=t,n}(vr.prototype=new E).__a=function(e){var t=this,n=br(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xr(t,e,r)):o()};n?n(i):i()}},vr.prototype.render=function(e){this.u=null,this.o=new Map;var t=L(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},vr.prototype.componentDidUpdate=vr.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){xr(e,n,t)}))};var Sr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Nr=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Tr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ar=/[A-Z0-9]/g,Or="undefined"!=typeof document,Rr=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Pr(e,t,n){return null==t.__k&&(t.textContent=""),W(e,t),"function"==typeof n&&n(),e?e.__c:null}function Lr(e,t,n){return V(e,t),"function"==typeof n&&n(),e?e.__c:null}E.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ir=l.event;function Ur(){}function Fr(){return this.cancelBubble}function jr(){return this.defaultPrevented}l.event=function(e){return Ir&&(e=Ir(e)),e.persist=Ur,e.isPropagationStopped=Fr,e.isDefaultPrevented=jr,e.nativeEvent=e};var Br,Mr={enumerable:!1,configurable:!0,get:function(){return this.class}},Dr=l.vnode;l.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Or&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===a&&"no"===i?i=!1:"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Rr(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":Tr.test(o)?o=a:-1===n.indexOf("-")&&Nr.test(o)?o=o.replace(Ar,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=L(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=L(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Mr)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Sr,Dr&&Dr(e)};var zr=l.__r;l.__r=function(e){zr&&zr(e),Br=e.__c};var Hr=l.diffed;l.diffed=function(e){Hr&&Hr(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Br=null};var qr={ReactCurrentDispatcher:{current:{readContext:function(e){return Br.__n[e.__c].props.value}}}};function Wr(e){return v.bind(null,e)}function Vr(e){return!!e&&e.$$typeof===Sr}function $r(e){return Vr(e)&&e.type===C}function Gr(e){return Vr(e)?$.apply(null,arguments):e}function Yr(e){return!!e.__k&&(W(null,e),!0)}function Zr(e){return e&&(e.base||1===e.nodeType&&e)||null}var Jr=function(e,t){return e(t)},Xr=function(e,t){return e(t)},Kr=C;function Qr(e){e()}function eo(e){return e}function to(){return[!1,Qr]}var no=Wn,ro=Vr;function oo(e,t){var n=t(),r=zn({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Wn((function(){o.__=n,o.v=t,io(o)&&i({h:o})}),[e,n,t]),qn((function(){return io(o)&&i({h:o}),e((function(){io(o)&&i({h:o})}))}),[e]),n}function io(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(a){return!0}}var ao={useState:zn,useId:Xn,useReducer:Hn,useEffect:qn,useLayoutEffect:Wn,useInsertionEffect:no,useTransition:to,useDeferredValue:eo,useSyncExternalStore:oo,startTransition:Qr,useRef:Vn,useImperativeHandle:$n,useMemo:Gn,useCallback:Yn,useContext:Zn,useDebugValue:Jn,version:"17.0.2",Children:fr,render:Pr,hydrate:Lr,unmountComponentAtNode:Yr,createPortal:Er,createElement:v,createContext:G,createFactory:Wr,cloneElement:Gr,createRef:k,Fragment:C,isValidElement:Vr,isElement:ro,isFragment:$r,findDOMNode:Zr,Component:E,PureComponent:sr,memo:lr,forwardRef:ur,flushSync:Xr,unstable_batchedUpdates:Jr,StrictMode:Kr,Suspense:yr,SuspenseList:vr,lazy:wr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr};const so=Object.freeze(Object.defineProperty({__proto__:null,Children:fr,Component:E,Fragment:C,PureComponent:sr,StrictMode:Kr,Suspense:yr,SuspenseList:vr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr,cloneElement:Gr,createContext:G,createElement:v,createFactory:Wr,createPortal:Er,createRef:k,default:ao,findDOMNode:Zr,flushSync:Xr,forwardRef:ur,hydrate:Lr,isElement:ro,isFragment:$r,isValidElement:Vr,lazy:wr,memo:lr,render:Pr,startTransition:Qr,unmountComponentAtNode:Yr,unstable_batchedUpdates:Jr,useCallback:Yn,useContext:Zn,useDebugValue:Jn,useDeferredValue:eo,useEffect:qn,useErrorBoundary:function(e){var t=Dn(Sn++,10),n=zn();return t.__=e,Nn.componentDidCatch||(Nn.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:Xn,useImperativeHandle:$n,useInsertionEffect:no,useLayoutEffect:Wn,useMemo:Gn,useReducer:Hn,useRef:Vn,useState:zn,useSyncExternalStore:oo,useTransition:to,version:"17.0.2"},Symbol.toStringTag,{value:"Module"})),lo=e=>v("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},v("g",{clipPath:"url(#clip0_2383_2245)"},v("path",{d:"M0.639604 38.9047C1.28749 39.5526 2.27104 39.7271 3.10223 39.3416L25.6608 29.6293C26.7649 29.1174 27.0229 27.663 26.1624 26.8024L12.7907 13.4307C11.9301 12.57 10.4757 12.8281 9.96369 13.9323L0.202679 36.442C-0.182768 37.2732 -0.00828658 38.2568 0.639604 38.9047Z",fill:"#FFE266"}),v("path",{d:"M19.4314 27.5018L2.84876 34.6411C2.2627 34.9129 1.57431 34.8051 1.09874 34.3757L0.202679 36.4421C-0.182768 37.2734 -0.00828658 38.2568 0.639604 38.9047C1.28749 39.5526 2.27104 39.7271 3.10223 39.3416L25.4444 29.7226C24.9297 29.5162 19.5151 27.463 19.4314 27.5018Z",fill:"#EFAA66"}),v("path",{d:"M26.3181 28.7173C27.8596 27.1758 25.6184 22.4355 21.3124 18.1295C17.0064 13.8234 12.2661 11.5823 10.7246 13.1238C9.18318 14.6652 11.4243 19.4055 15.7303 23.7115C20.0364 28.0176 24.7767 30.2587 26.3181 28.7173Z",fill:"#FFE266"}),v("path",{d:"M22.4126 26.7308C23.4237 25.7197 21.7859 22.4424 18.7543 19.4109C15.7228 16.3793 12.4455 14.7415 11.4344 15.7526C10.4232 16.7638 12.0611 20.0411 15.0926 23.0726C18.1242 26.1042 21.4014 27.742 22.4126 26.7308Z",fill:"#EFAA66"}),v("path",{d:"M24.9319 30.0073C22.4747 30.0073 18.6692 27.78 15.1683 24.2792C11.9894 21.1002 9.81107 17.5992 9.48367 15.1424C9.42522 14.7034 9.73353 14.3002 10.1725 14.2417C10.6111 14.1834 11.0148 14.4916 11.0732 14.9306C11.3522 17.0232 13.4048 20.2477 16.3024 23.1452C20.0047 26.8476 23.4188 28.4618 25.0232 28.4018C25.4652 28.3857 25.8386 28.7288 25.8563 29.1713C25.8738 29.6137 25.5294 29.9868 25.0868 30.0043C25.0359 30.0062 24.984 30.0073 24.9319 30.0073Z",fill:"#D0844B"}),v("path",{d:"M16.3577 17.6285C16.1695 17.4403 16.0243 17.2039 15.9436 16.9306L15.2021 14.4208C14.922 13.473 15.1748 12.4576 15.8616 11.7708L17.2095 10.4229C17.8963 9.73605 18.9118 9.48339 19.8596 9.76347L22.5594 10.5255L21.6488 7.2768C21.3908 6.40351 21.8896 5.48644 22.7629 5.22841C23.6362 4.97037 24.5532 5.4692 24.8113 6.34249L25.5528 8.85226C25.8328 9.80012 25.5801 10.8156 24.8934 11.5023L23.5455 12.8502C22.8587 13.5369 21.8432 13.7896 20.8955 13.5096L18.1681 12.6202L19.1061 15.9963C19.3642 16.8696 18.8653 17.7866 17.9921 18.0447C17.3919 18.222 16.771 18.0419 16.3577 17.6285Z",fill:"#CAB4EF"}),v("path",{d:"M22.5594 10.5256L19.8596 9.76358C19.0449 9.52286 18.1805 9.67602 17.5176 10.1598C17.7032 10.902 17.9393 11.8894 18.168 12.6202L20.8954 13.5096C21.7487 13.7617 22.6567 13.5819 23.3305 13.0424C23.0918 12.2954 22.7865 11.2761 22.5594 10.5256Z",fill:"#A183E2"}),v("path",{d:"M26.8006 16.4551C26.9888 16.6433 27.2253 16.7885 27.4985 16.8692L30.0083 17.6106C30.956 17.8906 31.9715 17.638 32.6583 16.9512L34.0062 15.6033C34.693 14.9164 34.9457 13.901 34.6656 12.9532L33.9036 10.2534L37.1523 11.1639C38.0256 11.4219 38.9427 10.9231 39.2008 10.0498C39.4588 9.17651 38.96 8.25944 38.0867 8.00141L35.5769 7.25994C34.6291 6.97994 33.6136 7.23268 32.9269 7.91938L31.579 9.26728C30.8922 9.95406 30.6396 10.9695 30.9196 11.9173L31.8089 14.6447L28.4328 13.7066C27.5595 13.4486 26.6425 13.9474 26.3844 14.8207C26.2071 15.4209 26.3872 16.0418 26.8006 16.4551Z",fill:"#F7C4DB"}),v("path",{d:"M34.6649 12.9532L33.9029 10.2533C33.1175 10.0841 32.0186 9.8675 31.2346 9.69165C30.8149 10.3375 30.692 11.1496 30.9189 11.9173L31.8082 14.6447C32.6214 14.8455 33.4818 14.984 34.2625 15.3037C34.7512 14.6396 34.9067 13.7713 34.6649 12.9532Z",fill:"#EF8BBD"}),v("path",{d:"M30.639 2.8965C30.1162 3.4193 29.2684 3.4193 28.7456 2.8965C28.2228 2.3737 28.2228 1.52599 28.7456 1.00319C29.2684 0.480383 30.1162 0.480383 30.639 1.00319C31.1618 1.52607 31.1618 2.3737 30.639 2.8965Z",fill:"#FFA585"}),v("path",{d:"M32.6591 25.138C33.3985 25.138 33.9979 24.5386 33.9979 23.7992C33.9979 23.0598 33.3985 22.4604 32.6591 22.4604C31.9197 22.4604 31.3203 23.0598 31.3203 23.7992C31.3203 24.5386 31.9197 25.138 32.6591 25.138Z",fill:"#78EAC4"}),v("path",{d:"M25.3352 24.9889C24.8124 25.5117 23.9647 25.5117 23.4419 24.9889C22.9191 24.4661 22.9191 23.6184 23.4419 23.0956C23.9647 22.5728 24.8124 22.5728 25.3352 23.0956C25.858 23.6185 25.858 24.4661 25.3352 24.9889Z",fill:"#78EAC4"}),v("path",{d:"M25.3352 24.9889C24.8124 25.5117 23.9647 25.5117 23.4419 24.9889C22.9191 24.4661 22.9191 23.6184 23.4419 23.0956C23.9647 22.5728 24.8124 22.5728 25.3352 23.0956C25.858 23.6185 25.858 24.4661 25.3352 24.9889Z",fill:"#8BB6EF"}),v("path",{d:"M7.28893 28.9138C7.18316 28.9138 7.07556 28.8927 6.97228 28.8482C6.5655 28.6731 6.37771 28.2014 6.55291 27.7946L7.56837 25.4361C7.74349 25.0294 8.2153 24.8413 8.62191 25.0167C9.02869 25.1919 9.21648 25.6635 9.04128 26.0703L8.02582 28.4288C7.8952 28.7322 7.59956 28.9138 7.28893 28.9138Z",fill:"white"}),v("path",{d:"M9.44127 23.916C9.33551 23.916 9.22798 23.895 9.12454 23.8505C8.71785 23.6753 8.53005 23.2037 8.70526 22.7968L9.01477 22.0779C9.18989 21.6713 9.66137 21.4832 10.0684 21.6586C10.4751 21.8337 10.6629 22.3054 10.4878 22.7122L10.1782 23.4312C10.0475 23.7344 9.75182 23.916 9.44127 23.916Z",fill:"white"}),v("path",{d:"M15.7341 0.651858L16.3927 2.50396C16.4209 2.58326 16.4767 2.64613 16.5472 2.67788L18.1927 3.41926C18.4251 3.52399 18.4251 3.89436 18.1927 3.99916L16.5472 4.74054C16.4767 4.7723 16.4209 4.83516 16.3927 4.91438L15.7341 6.76648C15.6411 7.02813 15.3119 7.02813 15.2189 6.76648L14.5603 4.91438C14.532 4.83508 14.4762 4.77222 14.4057 4.74054L12.7603 3.99916C12.5278 3.89444 12.5278 3.52407 12.7603 3.41926L14.4057 2.67788C14.4762 2.64613 14.532 2.58326 14.5603 2.50396L15.2189 0.651858C15.3119 0.390136 15.6411 0.390136 15.7341 0.651858Z",fill:"#F7C4DB"}),v("path",{d:"M38.0472 17.3018L38.5357 18.6756C38.5567 18.7344 38.598 18.781 38.6503 18.8046L39.8709 19.3545C40.0434 19.4322 40.0434 19.7069 39.8709 19.7846L38.6503 20.3345C38.598 20.3581 38.5567 20.4047 38.5357 20.4635L38.0472 21.8373C37.9781 22.0314 37.734 22.0314 37.665 21.8373L37.1764 20.4635C37.1555 20.4047 37.1141 20.3581 37.0618 20.3345L35.8413 19.7846C35.6688 19.7069 35.6688 19.4322 35.8413 19.3545L37.0618 18.8046C37.1141 18.781 37.1555 18.7344 37.1764 18.6756L37.665 17.3018C37.734 17.1077 37.9781 17.1077 38.0472 17.3018Z",fill:"#CAB4EF"}),v("path",{d:"M28.9622 6.95622C29.3048 6.95622 29.5826 6.67847 29.5826 6.33584C29.5826 5.99321 29.3048 5.71545 28.9622 5.71545C28.6196 5.71545 28.3418 5.99321 28.3418 6.33584C28.3418 6.67847 28.6196 6.95622 28.9622 6.95622Z",fill:"#78EAC4"}),v("path",{d:"M38.3556 2.49627C38.4328 1.86823 37.9862 1.29654 37.3581 1.21937C36.73 1.14221 36.1583 1.58878 36.0811 2.21683C36.004 2.84487 36.4506 3.41656 37.0787 3.49373C37.7068 3.57089 38.2785 3.12432 38.3556 2.49627Z",fill:"#8BB6EF"})),v("defs",null,v("clipPath",{id:"clip0_2383_2245"},v("rect",{width:40,height:40,fill:"white"}))));var co=0;function uo(e,t,n,r,o,i){var a,s,c={};for(s in t)"ref"==s?a=t[s]:c[s]=t[s];var d={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--co,__i:-1,__u:0,__source:o,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===c[s]&&(c[s]=a[s]);return l.vnode&&l.vnode(d),d}const po={isFetching:!1,isInitialized:!1,offers:[],isAppEnabled:!1,identity:{email:"",phoneNumber:"",verifiedPhoneNumber:""},featureFlags:{marketplaceScheme:{scheme:"promotion"},marketplaceSubNavigation:!1},hostInformation:{channel:"",client:"",source:"",experiment:"",treatment:"",workflowsJourneyType:ne.BenefitsOnboarding,workflowsInstanceId:""},updateIdentity:e=>Promise.resolve(),getIdentityRegistrationStatus:()=>"Unregistered",getWorkplaceLinkingStatus:()=>"Unlinked",offersProgress:{update:()=>({}),hasCompletedAnyOffers:()=>!1,isOfferCompleted:()=>!1,isOfferProgressed:()=>!1,canOfferSkipToEstimate:()=>!1}},fo=G(po),mo=({children:e,...t})=>{const[n,r]=zn(!1),[o,i]=zn(!1),[a,s]=zn(),l=Vn("Unregistered"),c=Vn("Unlinked"),d=Vn({}),u=Gn((()=>"allowance"===(null==a?void 0:a.featureFlags.marketplaceScheme)),[null==a?void 0:a.featureFlags.marketplaceScheme]),p=Gn((()=>a?(e=>{const t=e.find((e=>"Perks"===e.name));return t?[...e.filter((e=>e!==t)).slice(0,4),t]:e.slice(0,5)})(a.offers):[]),[a]),f=Yn((()=>l.current),[]),m=Yn((()=>c.current),[]),h=Yn((()=>Object.entries(d.current).some((e=>"Perks"!==e[0]&&e[1].isCompleted))),[]),g=Yn(((e,t,n)=>{d.current[e]={isEnrolled:t,isCompleted:n}}),[]),_=Yn((e=>{e.offers.filter((e=>void 0!==e.isAccepted)).forEach((e=>{const t="Assessment"!==e.content.template||void 0;g(e.name,!!e.isAccepted,t)}))}),[g]),y=Yn((async()=>{if(!u)return;const e=p.filter((e=>"Assessment"===e.content.template));e.length<=0||(r(!0),await xn.workplaceBackend.getAllowanceProductsStatus(e.map((e=>e.content.assessmentId))).then((t=>{t.filter((e=>!!e.status)).forEach((t=>{const n=e.find((e=>e.content.assessmentId===t.activityId)).name;g(n,!0,!0)}))})).catch(),r(!1))}),[u,p,g]),b=Yn((e=>{var t;return!0===(null==(t=d.current[e])?void 0:t.isCompleted)}),[d]),w=Yn((e=>!!d.current[e]),[d]),v=Yn((e=>u&&b(e)),[u,b]),x=Yn((async e=>{e?("Unregistered"===l.current&&(l.current="NewlyRegistered"),"Unlinked"===c.current&&(c.current="NewlyLinked"),await y()):l.current="RegistrationAbandoned"}),[y]),k=Gn((()=>{return e=(null==a?void 0:a.identity.email)??"",t=h(),{joinBenefits:{desktopImageUrl:re,mobileImageUrl:oe,title:"Your workplace benefits program",description:"Your employer has partnered with Flare Benefits to give you exclusive access to savings and perks from Australia's most-loved brands.",specialBanner:{title:"Flare Benefits Allowance",icon:uo(lo,{}),subTitle:uo("span",{children:["As an additional bonus, you have been allocated an allowance of up to ",uo("b",{children:"$1,300"})," as part of your benefits program. Set up your benefits today to be eligible."]})},buttonText:"Get Started"},setUpBenefits:{title:"Unlock your $1,300 Flare Benefits Allowance",description:"You've been allocated up to $1,300 for reimbursement as part of your Flare Benefits Allowance. Make your selections today, to be eligible for reimbursement later.",buttonText:"Set up your benefits",progress:{title:"See how it works",steps:[{title:"Join your workplace benefits program",completed:!0},{title:"Select the benefits you want to include as part of your allowance.",completed:!1},{title:"Purchase or switch to an eligible product",completed:!1},{title:"Keep your product for 90 days and we'll send you a Flare gift card",completed:!1}]},termsAndConditions:()=>uo("div",{className:"flex flex-col gap-2",children:uo("span",{children:["Allowance offer expires today.",uo("br",{})," Exclusions and limitations apply. See full"," ",uo("a",{target:"_blank",rel:"noreferrer",href:"https://www.flarehr.com/flare-benefits-allowance-terms",children:"T&Cs"}),"."]})})},summary:t?{title:"Congratulations, you've unlocked your benefits allowance",description:`We've sent an email to ${e} with more information about your benefits program and how you can get reimbursed as part of your allowance`,buttonText:"Finish benefits setup",progress:{title:"How this works",steps:[{title:"Join your workplace benefits program",completed:!0},{title:"Complete your benefits setup today",completed:!0},{title:"Purchase or switch to an eligible product within 30 days",description:"Make sure you make an eligible purchase within the first 30 days.",completed:!1},{title:"Qualify for reimbursement within 90 days and we'll send you a Flare gift card",completed:!1}]}}:{title:"You're all set!",description:"You've finished setting up your benefits plan. Continue to review your details and finish up your workplace onboarding.",buttonText:"Finish benefits setup"}};var e,t}),[null==a?void 0:a.identity.email,h]),C=Gn((()=>{if(!a)return po;const e=a.offers.some((e=>"Perks"===e.name));l.current=a.identity.isRegistered?"PreviouslyRegistered":"Unregistered",c.current=a.workplace.isLinkedWithIdentity?"PreviouslyLinked":"Unlinked";const r={email:a.identity.email,phoneNumber:a.identity.phoneNumber??"",verifiedPhoneNumber:a.identity.verifiedPhoneNumber??""};return{isFetching:n,isInitialized:o,offers:p,isAppEnabled:e,identity:r,featureFlags:{marketplaceScheme:"promotion"===a.featureFlags.marketplaceScheme?{scheme:"promotion"}:{scheme:"allowance",content:k},marketplaceSubNavigation:a.featureFlags.marketplaceSubNavigation},hostInformation:{...t.hostInformation,treatment:a.featureFlags.marketplaceScheme},updateIdentity:x,getIdentityRegistrationStatus:f,getWorkplaceLinkingStatus:m,offersProgress:{hasCompletedAnyOffers:h,update:g,isOfferCompleted:b,isOfferProgressed:w,canOfferSkipToEstimate:v}}}),[a,n,o,p,k,t.hostInformation,x,f,m,h,g,b,w,v]);return qn((()=>{(async()=>{const e=await vn.backend.init();s(e),_(e),i(!0)})()}),[_]),uo(fo.Provider,{value:C,children:e})},ho=e=>{const t=null==e?void 0:e.match(/^(https:\/\/)?(test|autodev|sandbox)?-?partner\.flarehr\.com$/);return t&&t[2]?t[2]:"prod"};const go={init(e){!function(e){try{return t=window,n=document,r="clarity",o="script",i=e,void(n.getElementById("clarity-script")||(t[r]=t[r]||function(){(t[r].q=t[r].q||[]).push(arguments)},(a=n.createElement(o)).async=1,a.src="https://www.clarity.ms/tag/"+i+"?ref=npm",a.id="clarity-script",(s=n.getElementsByTagName(o)[0]).parentNode.insertBefore(a,s)))}catch(l){return}var t,n,r,o,i,a,s}(e)},setTag(e,t){window.clarity("set",e,t)},identify(e,t,n,r){window.clarity("identify",e,t,n,r)},consent(e=!0){window.clarity("consent",e)},upgrade(e){window.clarity("upgrade",e)},event(e){window.clarity("event",e)}},_o=({children:e})=>uo(C,{children:e}),yo=({children:e})=>uo(C,{children:e}),bo=({open:e,children:t})=>{const n=Gn((()=>ao.Children.toArray(t).find((e=>e.type===_o))),[t]),r=Gn((()=>ao.Children.toArray(t).find((e=>e.type===yo))),[t]),[o,i]=zn(!e);return qn((()=>{let t;return e?i(!1):t=setTimeout((()=>{i(!0)}),200),()=>{t&&clearTimeout(t)}}),[e]),uo("div",{hidden:o,children:uo("div",{className:"z-50 fixed flex items-center justify-center w-screen h-screen inset-0 bg-white overflow-hidden transition-opacity "+(e?"ease-out duration-300 opacity-100":"ease-in duration-200 opacity-0"),children:[n,uo("div",{className:"mt-4",children:r})]})})},wo=e=>uo("span",{className:"inline-flex",children:uo("span",{className:"animate-spin",children:uo("svg",{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:[uo("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"}),uo("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"})]})})}),vo='/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-size:1em;font-variation-settings:normal}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-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;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}dialog{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%}[hidden]{display:none}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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{bottom:0;top:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-50{z-index:50}.m-0{margin:0}.m-0\\.5{margin:.125rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-10{margin-right:2.5rem}.mr-3{margin-right:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[90\\%\\]{height:90%}.h-full{height:100%}.h-screen{height:100vh}.max-h-10{max-height:2.5rem}.max-h-12{max-height:3rem}.max-h-4{max-height:1rem}.max-h-6{max-height:1.5rem}.max-h-8{max-height:2rem}.min-h-12{min-height:3rem}.min-h-4{min-height:1rem}.min-h-6{min-height:1.5rem}.min-h-8{min-height:2rem}.w-10{width:2.5rem}.w-16{width:4rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.w-screen{width:100vw}.min-w-10{min-width:2.5rem}.min-w-4{min-width:1rem}.min-w-6{min-width:1.5rem}.min-w-8{min-width:2rem}.max-w-10{max-width:2.5rem}.max-w-20{max-width:5rem}.max-w-4{max-width:1rem}.max-w-6{max-width:1.5rem}.max-w-8{max-width:2rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[40rem\\]{max-width:40rem}.max-w-\\[59\\.5rem\\]{max-width:59.5rem}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.-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)) skew(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}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-auto{cursor:auto}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.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))}.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)))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.break-words{overflow-wrap:break-word}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.\\!border-0{border-width:0!important}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.\\!border-gray-300{--tw-border-opacity:1!important;border-color:rgb(209 213 219/var(--tw-border-opacity))!important}.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))}.border-primary-base{border-color:var(--fl-color-primary)}.border-transparent{border-color:transparent}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-teal-50{--tw-bg-opacity:1;background-color:rgb(240 253 250/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.fill-gray-200{fill:#e5e7eb}.fill-primary-base{fill:var(--fl-color-primary)}.fill-white{fill:#fff}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-px{padding-left:1px;padding-right:1px}.py-0{padding-bottom:0;padding-top:0}.py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.\\!text-gray-700{--tw-text-opacity:1!important;color:rgb(55 65 81/var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.accent-primary-base{accent-color:var(--fl-color-primary)}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.\\!shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.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)}.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);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-gray-200{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-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-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-300{transition-delay:.3s}.duration-1000{transition-duration:1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.duration-\\[600ms\\]{transition-duration:.6s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-4:after{content:var(--tw-content);left:1rem}.after\\:top-8:after{content:var(--tw-content);top:2rem}.after\\:inline-block:after{content:var(--tw-content);display:inline-block}.after\\:h-\\[calc\\(100\\%-theme\\(height\\.8\\)\\)\\]:after{content:var(--tw-content);height:calc(100% - 2rem)}.after\\:w-0:after{content:var(--tw-content);width:0}.after\\:w-0\\.5:after{content:var(--tw-content);width:.125rem}.after\\:bg-gray-300:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.after\\:bg-primary-base:after{background-color:var(--fl-color-primary);content:var(--tw-content)}.after\\:content-\\[\\\'\\\'\\]:after{--tw-content:"";content:var(--tw-content)}.hover\\:\\!bg-gray-100:hover{--tw-bg-opacity:1!important;background-color:rgb(243 244 246/var(--tw-bg-opacity))!important}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\\:bg-sky-50\\/50:hover{background-color:#f0f9ff80}.hover\\:before\\:absolute:hover:before{content:var(--tw-content);position:absolute}.hover\\:before\\:h-16:hover:before{content:var(--tw-content);height:4rem}.hover\\:before\\:w-16:hover:before{content:var(--tw-content);width:4rem}.hover\\:before\\:cursor-default:hover:before{content:var(--tw-content);cursor:default}.hover\\:before\\:cursor-pointer:hover:before{content:var(--tw-content);cursor:pointer}.hover\\:before\\:content-\\[\\\'\\\'\\]:hover:before{--tw-content:"";content:var(--tw-content)}.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-gray-200:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.focus\\:ring-primary-focus:focus{--tw-ring-color:var(--fl-color-primary-focus)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring-gray-500:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(107 114 128/var(--tw-ring-opacity))}.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\\:mb-4{margin-bottom:1rem}.md\\:mt-11{margin-top:2.75rem}.md\\:mt-14{margin-top:3.5rem}.md\\:mt-3{margin-top:.75rem}.md\\:mt-6{margin-top:1.5rem}.md\\:block{display:block}.md\\:grid{display:grid}.md\\:hidden{display:none}.md\\:w-\\[240px\\]{width:240px}.md\\:w-\\[300px\\]{width:300px}.md\\:w-auto{width:auto}.md\\:w-full{width:100%}.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}.md\\:leading-7,.md\\:text-lg{line-height:1.75rem}.md\\:leading-9{line-height:2.25rem}.md\\:transition-none{transition-property:none}}@media (min-width:1024px){.lg\\:w-3\\/4{width:75%}}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:absolute:not(:last-child):after{position:absolute}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:left-10:not(:last-child):after{left:2.5rem}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:top-3:not(:last-child):after{top:.75rem}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:w-10:not(:last-child):after{width:2.5rem}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:border-b-2:not(:last-child):after{border-bottom-width:2px}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:border-solid:not(:last-child):after{border-style:solid}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:border-gray-200:not(:last-child):after{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:content-\\[\\"\\"\\]:not(:last-child):after{--tw-content:"";content:var(--tw-content)}';const xo=e=>{const[t,n]=zn(!1);return uo("button",{"data-testid":e.testId,type:"button",class:`${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:async()=>{if(e.onClickPromise&&!t){n(!0);try{await e.onClickPromise()}catch(r){}n(!1)}},children:[uo("div",{class:""+(t?"invisible":""),children:e.children}),t&&uo("div",{class:"absolute",children:uo(wo,{theme:"light"})})]})},ko=({title:e,className:t,children:n,...r})=>{var o;const[i,a]=zn(!1),s=Vn(null);return uo("div",{className:`border border-2 border-gray-300 p-2 rounded-md overflow-hidden w-full ${t??""}`,...r,children:[uo("div",{className:"mx-2 flex justify-between cursor-pointer",onClick:Yn((()=>{a(!i)}),[i]),children:[uo("span",{className:"text-base text-left font-semibold text-primary-base",children:e}),uo("span",{className:"text-base text-left font-semibold text-gray-500",children:i?"-":"+"})]}),uo("div",{ref:s,className:"flex justify-center transition-all ease-in-out duration-1000",style:{height:i?`${(null==(o=null==s?void 0:s.current)?void 0:o.scrollHeight)??0}px`:"0px",opacity:i?1:0},children:n})]})},Co=e=>{qn(e,[])};function Eo(){return Eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Eo.apply(null,arguments)}function So(e,t){return(So=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function No(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))}"function"==typeof SuppressedError&&SuppressedError;
|
1
|
+
var __defProp=Object.defineProperty,__typeError=e=>{throw TypeError(e)},__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),__accessCheck=(e,t,n)=>t.has(e)||__typeError("Cannot "+n),__privateGet=(e,t,n)=>(__accessCheck(e,t,"read from private field"),n?n.call(e):t.get(e)),__privateAdd=(e,t,n)=>t.has(e)?__typeError("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),__privateSet=(e,t,n,r)=>(__accessCheck(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t,n,r,o,i,a,s,l,c,d,u,p,f,m,h={},g=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function b(e,t){for(var n in t)e[n]=t[n];return e}function w(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return x(e,a,r,o,null)}function x(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++c:o,__i:-1,__u:0};return null==o&&null!=l.vnode&&l.vnode(i),i}function k(){return{current:null}}function C(e){return e.children}function E(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+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?S(e):null}function N(e,t,n){var r,o=e.__v,i=o.__e,a=e.__P;if(a)return(r=b({},o)).__v=o.__v+1,l.vnode&&l.vnode(r),M(a,r,o,e.__n,void 0!==a.ownerSVGElement,32&o.__u?[i]:null,t,null==i?S(o):i,!!(32&o.__u),n),r.__v=o.__v,r.__.__k[r.__i]=r,r.__d=void 0,r.__e!=i&&T(r),r}function T(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 T(e)}}function A(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!O.__r++||u!==l.debounceRendering)&&((u=l.debounceRendering)||p)(O)}function O(){var e,t,n,r=[],o=[];for(d.sort(f);e=d.shift();)e.__d&&(n=d.length,t=N(e,r,o)||t,0===n||d.length>n?(D(r,t,o),o.length=r.length=0,t=void 0,d.sort(f)):t&&l.__c&&l.__c(t,g));t&&D(r,t,o),O.__r=0}function R(e,t,n,r,o,i,a,s,l,c,d){var u,p,f,m,_,b=r&&r.__k||g,w=t.length;for(n.__d=l,function(e,t,n){var r,o,i,a,s,l=t.length,c=n.length,d=c,u=0;for(e.__k=[],r=0;r<l;r++)null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?x(null,o,null,null,o):y(o)?x(C,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?x(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=I(o,n,a=r+u,d),o.__i=s,i=null,-1!==s&&(d--,(i=n[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&u--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?u++:s>a?d>l-a?u+=s-a:u--:u=s<a&&s==a-1?s-a:0,s!==r+u&&(o.__u|=65536))):(i=n[r])&&null==i.key&&i.__e&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=S(i)),H(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<c;r++)null!=(i=n[r])&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=S(i)),H(i,i))}(n,t,b),l=n.__d,u=0;u<w;u++)null!=(f=n.__k[u])&&"boolean"!=typeof f&&"function"!=typeof f&&(p=-1===f.__i?h:b[f.__i]||h,f.__i=u,M(e,f,p,o,i,a,s,l,c,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&z(p.ref,null,f),d.push(f.ref,f.__c||m,f)),null==_&&null!=m&&(_=m),65536&f.__u||p.__k===f.__k?l=P(f,l,e):"function"==typeof f.type&&void 0!==f.__d?l=f.__d:m&&(l=m.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=_}function P(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=P(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function L(e,t){return t=t||[],null==e||"boolean"==typeof e||(y(e)?e.some((function(e){L(e,t)})):t.push(e)),t}function I(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&o==l.key&&i===l.type)return n;if(r>(null!=l&&0==(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function U(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||_.test(t)?n:n+"px"}function F(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||U(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||U(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?B:j,i)):e.removeEventListener(t,i?B:j,i);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(a){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function j(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(l.event?l.event(e):e)}}function B(e){if(this.l)return this.l[e.type+!0](l.event?l.event(e):e)}function M(e,t,n,r,o,i,a,c,d,u){var p,f,m,g,_,v,x,k,N,T,A,O,P,L,I,U=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(d=!!(32&n.__u),i=[c=t.__e=n.__e]),(p=l.__b)&&p(t);e:if("function"==typeof U)try{if(k=t.props,N=(p=U.contextType)&&r[p.__c],T=p?N?N.props.value:p.__:r,n.__c?x=(f=t.__c=n.__c).__=f.__E:("prototype"in U&&U.prototype.render?t.__c=f=new U(k,T):(t.__c=f=new E(k,T),f.constructor=U,f.render=q),N&&N.sub(f),f.props=k,f.state||(f.state={}),f.context=T,f.__n=r,m=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=U.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=b({},f.__s)),b(f.__s,U.getDerivedStateFromProps(k,f.__s))),g=f.props,_=f.state,f.__v=t,m)null==U.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==U.getDerivedStateFromProps&&k!==g&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(k,T),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(k,f.__s,T)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=k,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),A=0;A<f._sb.length;A++)f.__h.push(f._sb[A]);f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(k,f.__s,T),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(g,_,v)}))}if(f.context=T,f.props=k,f.__P=e,f.__e=!1,O=l.__r,P=0,"prototype"in U&&U.prototype.render){for(f.state=f.__s,f.__d=!1,O&&O(t),p=f.render(f.props,f.state,f.context),L=0;L<f._sb.length;L++)f.__h.push(f._sb[L]);f._sb=[]}else do{f.__d=!1,O&&O(t),p=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++P<25);f.state=f.__s,null!=f.getChildContext&&(r=b(b({},r),f.getChildContext())),m||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(g,_)),R(e,y(I=null!=p&&p.type===C&&null==p.key?p.props.children:p)?I:[I],t,n,r,o,i,a,c,d,u),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),x&&(f.__E=f.__=null)}catch(j){t.__v=null,d||null!=i?(t.__e=c,t.__u|=d?160:32,i[i.indexOf(c)]=null):(t.__e=n.__e,t.__k=n.__k),l.__e(j,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,o,i,a,l,c){var d,u,p,f,m,g,_,b=n.props,v=t.props,x=t.type;if("svg"===x&&(o=!0),null!=i)for(d=0;d<i.length;d++)if((m=i[d])&&"setAttribute"in m==!!x&&(x?m.localName===x:3===m.nodeType)){e=m,i[d]=null;break}if(null==e){if(null===x)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,v.is&&v),i=null,l=!1}if(null===x)b===v||l&&e.data===v||(e.data=v);else{if(i=i&&s.call(e.childNodes),b=n.props||h,!l&&null!=i)for(b={},d=0;d<e.attributes.length;d++)b[(m=e.attributes[d]).name]=m.value;for(d in b)m=b[d],"children"==d||("dangerouslySetInnerHTML"==d?p=m:"key"===d||d in v||F(e,d,null,m,o));for(d in v)m=v[d],"children"==d?f=m:"dangerouslySetInnerHTML"==d?u=m:"value"==d?g=m:"checked"==d?_=m:"key"===d||l&&"function"!=typeof m||b[d]===m||F(e,d,m,b[d],o);if(u)l||p&&(u.__html===p.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(p&&(e.innerHTML=""),R(e,y(f)?f:[f],t,n,r,o&&"foreignObject"!==x,i,a,i?i[0]:n.__k&&S(n,0),l,c),null!=i)for(d=i.length;d--;)null!=i[d]&&w(i[d]);l||(d="value",void 0!==g&&(g!==e[d]||"progress"===x&&!g||"option"===x&&g!==b[d])&&F(e,d,g,b[d],!1),d="checked",void 0!==_&&_!==e[d]&&F(e,d,_,b[d],!1))}return e}(n.__e,t,n,r,o,i,a,d,u);(p=l.diffed)&&p(t)}function D(e,t,n){for(var r=0;r<n.length;r++)z(n[r],n[++r],n[++r]);l.__c&&l.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(n){l.__e(n,t.__v)}}))}function z(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(r){l.__e(r,n)}}function H(e,t,n){var r,o;if(l.unmount&&l.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||z(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){l.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&H(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||w(e.__e),e.__=e.__e=e.__d=void 0}function q(e,t,n){return this.constructor(e,n)}function W(e,t,n){var r,o,i,a;l.__&&l.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],a=[],M(t,e=(!r&&n||t).__k=v(C,null,[e]),o||h,h,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?s.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),e.__d=void 0,D(i,e,a)}function V(e,t){W(e,t,V)}function $(e,t,n){var r,o,i,a,l=b({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==i?r=t[i]:"ref"==i?o=t[i]:l[i]=void 0===t[i]&&void 0!==a?a[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?s.call(arguments,2):n),x(e.type,l,r||e.key,o||e.ref,null)}function G(e,t){var n={__c:t="__cC"+m++,__: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((function(e){e.__e=!0,A(e)}))},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 Y(){return(Y=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}).apply(this,arguments)}s=g.slice,l={__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(s){e=s}throw e}},c=0,E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=b({},this.state),"function"==typeof e&&(e=e(b({},n),this.props)),e&&b(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),A(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},E.prototype.render=C,d=[],p="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},O.__r=0,m=0;var Z=["context","children"];function J(e){return this.getChildContext=function(){return e.context},$(e.children,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,Z))}function X(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=v(J,Y({},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,s=t.childNodes;for(i=a.length;i--;)"slot"!==a[i].name&&(o[a[i].name]=a[i].value,o[K(a[i].name)]=a[i].value);for(i=s.length;i--;){var l=e(s[i],null),c=s[i].slot;c?o[c]=v(te,{name:c},l):r[i]=l}var d=n?v(te,null,r):r;return v(n||t.nodeName.toLowerCase(),o,d)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?V:W)(this._vdom,this._root)}function K(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function Q(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[K(e)]=n,this._vdom=$(this._vdom,r),W(this._vdom,this._root)}}function ee(){W(this._vdom=null,this._root)}function te(e,t){var n=this;return v("slot",Y({},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)}}))}var ne=(e=>(e.BenefitsExisting="BenefitsExisting",e.AppInvite="AppInvite",e.BenefitsOnboarding="BenefitsOnboarding",e))(ne||{});const re=""+("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__dirname+"/assets/intro_allowance_experiment-Bit4myCA.png").href:new URL("assets/intro_allowance_experiment-Bit4myCA.png","undefined"==typeof document?location.href:document.currentScript&&"SCRIPT"===document.currentScript.tagName.toUpperCase()&&document.currentScript.src||document.baseURI).href),oe=""+("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__dirname+"/assets/intro_allowance_experiment-DyP_CJyB.png").href:new URL("assets/intro_allowance_experiment-DyP_CJyB.png","undefined"==typeof document?location.href:document.currentScript&&"SCRIPT"===document.currentScript.tagName.toUpperCase()&&document.currentScript.src||document.baseURI).href);class ie extends Error{}function ae(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return atob(t)}}ie.prototype.name="InvalidTokenError";const se=crypto.randomUUID?crypto.randomUUID():crypto.getRandomValues(new Uint32Array(5)).join("-"),le=e=>(window.addEventListener(se,e),()=>window.removeEventListener(se,e)),ce=()=>{window.dispatchEvent(new Event(se))};function de(e,t){return function(){return e.apply(t,arguments)}}const{toString:ue}=Object.prototype,{getPrototypeOf:pe}=Object,fe=(e=>t=>{const n=ue.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),me=e=>(e=e.toLowerCase(),t=>fe(t)===e),he=e=>t=>typeof t===e,{isArray:ge}=Array,_e=he("undefined");const ye=me("ArrayBuffer");const be=he("string"),we=he("function"),ve=he("number"),xe=e=>null!==e&&"object"==typeof e,ke=e=>{if("object"!==fe(e))return!1;const t=pe(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Ce=me("Date"),Ee=me("File"),Se=me("Blob"),Ne=me("FileList"),Te=me("URLSearchParams"),[Ae,Oe,Re,Pe]=["ReadableStream","Request","Response","Headers"].map(me);function Le(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),ge(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Ie(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Fe=e=>!_e(e)&&e!==Ue;const je=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&pe(Uint8Array)),Be=me("HTMLFormElement"),Me=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),De=me("RegExp"),ze=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Le(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)};const He=me("AsyncFunction"),qe=(We="function"==typeof setImmediate,Ve=we(Ue.postMessage),We?setImmediate:Ve?($e=`axios@${Math.random()}`,Ge=[],Ue.addEventListener("message",(({source:e,data:t})=>{e===Ue&&t===$e&&Ge.length&&Ge.shift()()}),!1),e=>{Ge.push(e),Ue.postMessage($e,"*")}):e=>setTimeout(e));var We,Ve,$e,Ge;const Ye="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Ue):"undefined"!=typeof process&&process.nextTick||qe,Ze={isArray:ge,isArrayBuffer:ye,isBuffer:function(e){return null!==e&&!_e(e)&&null!==e.constructor&&!_e(e.constructor)&&we(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||we(e.append)&&("formdata"===(t=fe(e))||"object"===t&&we(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ye(e.buffer),t},isString:be,isNumber:ve,isBoolean:e=>!0===e||!1===e,isObject:xe,isPlainObject:ke,isReadableStream:Ae,isRequest:Oe,isResponse:Re,isHeaders:Pe,isUndefined:_e,isDate:Ce,isFile:Ee,isBlob:Se,isRegExp:De,isFunction:we,isStream:e=>xe(e)&&we(e.pipe),isURLSearchParams:Te,isTypedArray:je,isFileList:Ne,forEach:Le,merge:function e(){const{caseless:t}=Fe(this)&&this||{},n={},r=(r,o)=>{const i=t&&Ie(n,o)||o;ke(n[i])&&ke(r)?n[i]=e(n[i],r):ke(r)?n[i]=e({},r):ge(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Le(arguments[o],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Le(t,((t,r)=>{n&&we(t)?e[r]=de(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&pe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:fe,kindOfTest:me,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(ge(e))return e;let t=e.length;if(!ve(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Be,hasOwnProperty:Me,hasOwnProp:Me,reduceDescriptors:ze,freezeMethods:e=>{ze(e,((t,n)=>{if(we(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];we(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return ge(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ie,global:Ue,isContextDefined:Fe,isSpecCompliantForm:function(e){return!!(e&&we(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(xe(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=ge(e)?[]:{};return Le(e,((e,t)=>{const i=n(e,r+1);!_e(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:He,isThenable:e=>e&&(xe(e)||we(e))&&we(e.then)&&we(e.catch),setImmediate:qe,asap:Ye};function Je(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Ze.inherits(Je,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:Ze.toJSONObject(this.config),code:this.code,status:this.status}}});const Xe=Je.prototype,Ke={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ke[e]={value:e}})),Object.defineProperties(Je,Ke),Object.defineProperty(Xe,"isAxiosError",{value:!0}),Je.from=(e,t,n,r,o,i)=>{const a=Object.create(Xe);return Ze.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Je.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function Qe(e){return Ze.isPlainObject(e)||Ze.isArray(e)}function et(e){return Ze.endsWith(e,"[]")?e.slice(0,-2):e}function tt(e,t,n){return e?e.concat(t).map((function(e,t){return e=et(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const nt=Ze.toFlatObject(Ze,{},null,(function(e){return/^is[A-Z]/.test(e)}));function rt(e,t,n){if(!Ze.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Ze.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ze.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ze.isSpecCompliantForm(t);if(!Ze.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ze.isDate(e))return e.toISOString();if(!s&&Ze.isBlob(e))throw new Je("Blob is not supported. Use a Buffer instead.");return Ze.isArrayBuffer(e)||Ze.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Ze.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ze.isArray(e)&&function(e){return Ze.isArray(e)&&!e.some(Qe)}(e)||(Ze.isFileList(e)||Ze.endsWith(n,"[]"))&&(s=Ze.toArray(e)))return n=et(n),s.forEach((function(e,r){!Ze.isUndefined(e)&&null!==e&&t.append(!0===a?tt([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Qe(e)||(t.append(tt(o,n,i),l(e)),!1)}const d=[],u=Object.assign(nt,{defaultVisitor:c,convertValue:l,isVisitable:Qe});if(!Ze.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Ze.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),Ze.forEach(n,(function(n,i){!0===(!(Ze.isUndefined(n)||null===n)&&o.call(t,n,Ze.isString(i)?i.trim():i,r,u))&&e(n,r?r.concat(i):[i])})),d.pop()}}(e),t}function ot(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function it(e,t){this._pairs=[],e&&rt(e,this,t)}const at=it.prototype;function st(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(e,t,n){if(!t)return e;const r=n&&n.encode||st;Ze.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Ze.isURLSearchParams(t)?t.toString():new it(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}at.append=function(e,t){this._pairs.push([e,t])},at.toString=function(e){const t=e?function(t){return e.call(this,t,ot)}:ot;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class ct{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ze.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ut={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:it,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pt="undefined"!=typeof window&&"undefined"!=typeof document,ft="object"==typeof navigator&&navigator||void 0,mt=pt&&(!ft||["ReactNative","NativeScript","NS"].indexOf(ft.product)<0),ht="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,gt=pt&&window.location.href||"http://localhost",_t={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pt,hasStandardBrowserEnv:mt,hasStandardBrowserWebWorkerEnv:ht,navigator:ft,origin:gt},Symbol.toStringTag,{value:"Module"})),...ut};function yt(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&Ze.isArray(r)?r.length:i,s)return Ze.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&Ze.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Ze.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(Ze.isFormData(e)&&Ze.isFunction(e.entries)){const n={};return Ze.forEachEntry(e,((e,r)=>{t(function(e){return Ze.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const bt={transitional:dt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Ze.isObject(e);o&&Ze.isHTMLForm(e)&&(e=new FormData(e));if(Ze.isFormData(e))return r?JSON.stringify(yt(e)):e;if(Ze.isArrayBuffer(e)||Ze.isBuffer(e)||Ze.isStream(e)||Ze.isFile(e)||Ze.isBlob(e)||Ze.isReadableStream(e))return e;if(Ze.isArrayBufferView(e))return e.buffer;if(Ze.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return rt(e,new _t.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return _t.isNode&&Ze.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Ze.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return rt(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Ze.isString(e))try{return(t||JSON.parse)(e),Ze.trim(e)}catch(Ci){if("SyntaxError"!==Ci.name)throw Ci}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||bt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Ze.isResponse(e)||Ze.isReadableStream(e))return e;if(e&&Ze.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(Ci){if(n){if("SyntaxError"===Ci.name)throw Je.from(Ci,Je.ERR_BAD_RESPONSE,this,null,this.response);throw Ci}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_t.classes.FormData,Blob:_t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ze.forEach(["delete","get","head","post","put","patch"],(e=>{bt.headers[e]={}}));const wt=Ze.toObjectSet(["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"]),vt=Symbol("internals");function xt(e){return e&&String(e).trim().toLowerCase()}function kt(e){return!1===e||null==e?e:Ze.isArray(e)?e.map(kt):String(e)}function Ct(e,t,n,r,o){return Ze.isFunction(r)?r.call(this,t,n):(o&&(t=n),Ze.isString(t)?Ze.isString(r)?-1!==t.indexOf(r):Ze.isRegExp(r)?r.test(t):void 0:void 0)}class Et{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=xt(t);if(!o)throw new Error("header name must be a non-empty string");const i=Ze.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=kt(e))}const i=(e,t)=>Ze.forEach(e,((e,n)=>o(e,n,t)));if(Ze.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Ze.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&wt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Ze.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=xt(e)){const n=Ze.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Ze.isFunction(t))return t.call(this,e,n);if(Ze.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=xt(e)){const n=Ze.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ct(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=xt(e)){const o=Ze.findKey(n,e);!o||t&&!Ct(0,n[o],o,t)||(delete n[o],r=!0)}}return Ze.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Ct(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Ze.forEach(this,((r,o)=>{const i=Ze.findKey(n,o);if(i)return t[i]=kt(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=kt(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ze.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Ze.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[vt]=this[vt]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=xt(e);t[r]||(!function(e,t){const n=Ze.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Ze.isArray(e)?e.forEach(r):r(e),this}}function St(e,t){const n=this||bt,r=t||n,o=Et.from(r.headers);let i=r.data;return Ze.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Nt(e){return!(!e||!e.__CANCEL__)}function Tt(e,t,n){Je.call(this,null==e?"canceled":e,Je.ERR_CANCELED,t,n),this.name="CanceledError"}function At(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Et.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ze.reduceDescriptors(Et.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Ze.freezeMethods(Et),Ze.inherits(Tt,Je,{__CANCEL__:!0});const Ot=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let d=a,u=0;for(;d!==i;)u+=n[d++],d%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const p=c&&l-c;return p?Math.round(1e3*u/p):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),i-s)))},()=>n&&a(n)]}((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Rt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Pt=e=>(...t)=>Ze.asap((()=>e(...t))),Lt=_t.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_t.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_t.origin),_t.navigator&&/(msie|trident)/i.test(_t.navigator.userAgent)):()=>!0,It=_t.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Ze.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ze.isString(r)&&a.push("path="+r),Ze.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ut(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&r||0==n?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ft=e=>e instanceof Et?{...e}:e;function jt(e,t){t=t||{};const n={};function r(e,t,n,r){return Ze.isPlainObject(e)&&Ze.isPlainObject(t)?Ze.merge.call({caseless:r},e,t):Ze.isPlainObject(t)?Ze.merge({},t):Ze.isArray(t)?t.slice():t}function o(e,t,n,o){return Ze.isUndefined(t)?Ze.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Ze.isUndefined(t))return r(void 0,t)}function a(e,t){return Ze.isUndefined(t)?Ze.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(Ft(e),Ft(t),0,!0)};return Ze.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);Ze.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Bt=e=>{const t=jt({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=Et.from(s),t.url=lt(Ut(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Ze.isFormData(r))if(_t.hasStandardBrowserEnv||_t.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(_t.hasStandardBrowserEnv&&(o&&Ze.isFunction(o)&&(o=o(t)),o||!1!==o&&Lt(t.url))){const e=i&&a&&It.read(a);e&&s.set(i,e)}return t},Mt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Bt(e);let o=r.data;const i=Et.from(r.headers).normalize();let a,s,l,c,d,{responseType:u,onUploadProgress:p,onDownloadProgress:f}=r;function m(){c&&c(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function g(){if(!h)return;const r=Et.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());At((function(e){t(e),m()}),(function(e){n(e),m()}),{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(g)},h.onabort=function(){h&&(n(new Je("Request aborted",Je.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new Je("Network Error",Je.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||dt;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Je(t,o.clarifyTimeoutError?Je.ETIMEDOUT:Je.ECONNABORTED,e,h)),h=null},void 0===o&&i.setContentType(null),"setRequestHeader"in h&&Ze.forEach(i.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),Ze.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),u&&"json"!==u&&(h.responseType=r.responseType),f&&([l,d]=Ot(f,!0),h.addEventListener("progress",l)),p&&h.upload&&([s,c]=Ot(p),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{h&&(n(!t||t.type?new Tt(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const _=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);_&&-1===_t.protocols.indexOf(_)?n(new Je("Unsupported protocol "+_+":",Je.ERR_BAD_REQUEST,e)):h.send(o||null)}))},Dt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Je?t:new Tt(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Je(`timeout ${t} of ms exceeded`,Je.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=()=>Ze.asap(a),s}},zt=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Ht=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},qt=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Ht(e))yield*zt(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},Wt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Vt=Wt&&"function"==typeof ReadableStream,$t=Wt&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Gt=(e,...t)=>{try{return!!e(...t)}catch(Ci){return!1}},Yt=Vt&&Gt((()=>{let e=!1;const t=new Request(_t.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Zt=Vt&&Gt((()=>Ze.isReadableStream(new Response("").body))),Jt={stream:Zt&&(e=>e.body)};var Xt;Wt&&(Xt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Jt[e]&&(Jt[e]=Ze.isFunction(Xt[e])?t=>t[e]():(t,n)=>{throw new Je(`Response type '${e}' is not supported`,Je.ERR_NOT_SUPPORT,n)})})));const Kt=async(e,t)=>{const n=Ze.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Ze.isBlob(e))return e.size;if(Ze.isSpecCompliantForm(e)){const t=new Request(_t.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Ze.isArrayBufferView(e)||Ze.isArrayBuffer(e)?e.byteLength:(Ze.isURLSearchParams(e)&&(e+=""),Ze.isString(e)?(await $t(e)).byteLength:void 0)})(t):n},Qt={http:null,xhr:Mt,fetch:Wt&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:d,withCredentials:u="same-origin",fetchOptions:p}=Bt(e);c=c?(c+"").toLowerCase():"text";let f,m=Dt([o,i&&i.toAbortSignal()],a);const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(l&&Yt&&"get"!==n&&"head"!==n&&0!==(g=await Kt(d,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Ze.isFormData(r)&&(e=n.headers.get("content-type"))&&d.setContentType(e),n.body){const[e,t]=Rt(g,Ot(Pt(l)));r=qt(n.body,65536,e,t)}}Ze.isString(u)||(u=u?"include":"omit");const o="credentials"in Request.prototype;f=new Request(t,{...p,signal:m,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:o?u:void 0});let i=await fetch(f);const a=Zt&&("stream"===c||"response"===c);if(Zt&&(s||a&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Ze.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&Rt(t,Ot(Pt(s),!0))||[];i=new Response(qt(i.body,65536,n,(()=>{r&&r(),h&&h()})),e)}c=c||"text";let _=await Jt[Ze.findKey(Jt,c)||"text"](i,e);return!a&&h&&h(),await new Promise(((t,n)=>{At(t,n,{data:_,headers:Et.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:f})}))}catch(_){if(h&&h(),_&&"TypeError"===_.name&&/fetch/i.test(_.message))throw Object.assign(new Je("Network Error",Je.ERR_NETWORK,e,f),{cause:_.cause||_});throw Je.from(_,_&&_.code,e,f)}})};Ze.forEach(Qt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Ci){}Object.defineProperty(e,"adapterName",{value:t})}}));const en=e=>`- ${e}`,tn=e=>Ze.isFunction(e)||null===e||!1===e,nn=e=>{e=Ze.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!tn(n)&&(r=Qt[(t=String(n)).toLowerCase()],void 0===r))throw new Je(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Je("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(en).join("\n"):" "+en(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function rn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tt(null,e)}function on(e){rn(e),e.headers=Et.from(e.headers),e.data=St.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return nn(e.adapter||bt.adapter)(e).then((function(t){return rn(e),t.data=St.call(e,e.transformResponse,t),t.headers=Et.from(t.headers),t}),(function(t){return Nt(t)||(rn(e),t&&t.response&&(t.response.data=St.call(e,e.transformResponse,t.response),t.response.headers=Et.from(t.response.headers))),Promise.reject(t)}))}const an="1.8.3",sn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{sn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ln={};sn.transitional=function(e,t,n){function r(e,t){return"[Axios v1.8.3] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Je(r(o," has been removed"+(t?" in "+t:"")),Je.ERR_DEPRECATED);return t&&!ln[o]&&(ln[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},sn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const cn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Je("options must be an object",Je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Je("option "+i+" must be "+n,Je.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Je("Unknown option "+i,Je.ERR_BAD_OPTION)}},validators:sn},dn=cn.validators;class un{constructor(e){this.defaults=e,this.interceptors={request:new ct,response:new ct}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Ci){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=jt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&cn.assertOptions(n,{silentJSONParsing:dn.transitional(dn.boolean),forcedJSONParsing:dn.transitional(dn.boolean),clarifyTimeoutError:dn.transitional(dn.boolean)},!1),null!=r&&(Ze.isFunction(r)?t.paramsSerializer={serialize:r}:cn.assertOptions(r,{encode:dn.function,serialize:dn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),cn.assertOptions(t,{baseUrl:dn.spelling("baseURL"),withXsrfToken:dn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Ze.merge(o.common,o[t.method]);o&&Ze.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Et.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let d,u=0;if(!s){const e=[on.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),d=e.length,c=Promise.resolve(t);u<d;)c=c.then(e[u++],e[u++]);return c}d=a.length;let p=t;for(u=0;u<d;){const e=a[u++],t=a[u++];try{p=e(p)}catch(f){t.call(this,f);break}}try{c=on.call(this,p)}catch(f){return Promise.reject(f)}for(u=0,d=l.length;u<d;)c=c.then(l[u++],l[u++]);return c}getUri(e){return lt(Ut((e=jt(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Ze.forEach(["delete","get","head","options"],(function(e){un.prototype[e]=function(t,n){return this.request(jt(n||{},{method:e,url:t,data:(n||{}).data}))}})),Ze.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(jt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}un.prototype[e]=t(),un.prototype[e+"Form"]=t(!0)}));class pn{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Tt(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new pn((function(t){e=t})),cancel:e}}}const fn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(fn).forEach((([e,t])=>{fn[t]=e}));const mn=function e(t){const n=new un(t),r=de(un.prototype.request,n);return Ze.extend(r,un.prototype,n,{allOwnKeys:!0}),Ze.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(jt(t,n))},r}(bt);mn.Axios=un,mn.CanceledError=Tt,mn.CancelToken=pn,mn.isCancel=Nt,mn.VERSION=an,mn.toFormData=rt,mn.AxiosError=Je,mn.Cancel=mn.CanceledError,mn.all=function(e){return Promise.all(e)},mn.spread=function(e){return function(t){return e.apply(null,t)}},mn.isAxiosError=function(e){return Ze.isObject(e)&&!0===e.isAxiosError},mn.mergeConfig=jt,mn.AxiosHeaders=Et,mn.formToJSON=e=>yt(Ze.isHTMLForm(e)?new FormData(e):e),mn.getAdapter=nn,mn.HttpStatusCode=fn,mn.default=mn;class hn{constructor(){__privateAdd(this,e)}initClient(t,n){__privateSet(this,e,mn.create({baseURL:`${this.url(t)}/backend`,allowAbsoluteUrls:!1})),n&&__privateGet(this,e).interceptors.request.use(n)}getClient(){return __privateGet(this,e)}}e=new WeakMap;const gn={backend:new class extends hn{constructor(){super(...arguments),__publicField(this,"getIdToken",(()=>this.getClient().get("v1.0/auth/token").then((e=>e.data.token))))}url(e){return`${e}/flare-app-identity`}}};let _n;class yn{constructor(){__privateAdd(this,t),__privateAdd(this,n),__privateAdd(this,r),__privateAdd(this,o,(async e=>(_n||(_n=await gn.backend.getIdToken()),e.headers.Authorization=`Bearer ${_n}`,e)))}initClient(e,i,a){__privateSet(this,n,e),__privateSet(this,r,i),__privateSet(this,t,mn.create({baseURL:`${this.url(e)}/workplace-backend`,headers:{"X-PROFILE-ID":i},allowAbsoluteUrls:!1})),__privateGet(this,t).interceptors.request.use(__privateGet(this,o)),a&&__privateGet(this,t).interceptors.request.use(a)}getClient(){return __privateGet(this,t)}async getIdToken(){return _n||(_n=await gn.backend.getIdToken()),_n}getBaseUrl(){return __privateGet(this,n)}getProfileId(){return __privateGet(this,r)}}t=new WeakMap,n=new WeakMap,r=new WeakMap,o=new WeakMap;const bn=e=>{var t,n;throw"Auth_SessionExpired"===(null==(n=null==(t=e.response)?void 0:t.data)?void 0:n.code)&&ce(),e};let wn=(a=class extends yn{constructor(){super(...arguments),__publicField(this,"_canceledSignal"),__privateAdd(this,i,(async e=>e))}get canceledSignal(){if(!this._canceledSignal){const e=new AbortController;e.abort(),this._canceledSignal=e.signal}return this._canceledSignal}url(e){return`${e}/benefits-onboarding`}initClient(e,t,n){super.initClient(e,t,n),this.getClient().interceptors.request.use(__privateGet(this,i))}async track(e,t,n){await this.getClient().post("/v1.0/analytics/track",{event:e,properties:t},{params:n}).catch((e=>{console.log(e)}))}},i=new WeakMap,a);const vn={backend:new class extends hn{constructor(){super(...arguments),__publicField(this,"sourceId")}url(e){return`${e}/benefits-onboarding`}initClient(e,t,n){super.initClient(e,t),this.getClient().interceptors.response.use((e=>e),bn),this.sourceId=n}async init(){return this.getClient().post("/init",{source:"Onboarding",sourceId:this.sourceId}).then((e=>(e.data.featureFlags.marketplaceScheme="promotion",e.data)))}command(e,t){return this.getClient().post("/command",{source:"Onboarding",sourceId:this.sourceId,...e},{params:t})}},workplaceBackend:new wn};const xn={workplaceBackend:new class extends yn{url(e){return`${e}/benefits-plan`}getAllowanceProductsStatus(e){return this.getClient().get("/v2.0/allowance/products/status",{params:{activityIds:e.join(",")}}).then((e=>e.data))}}},kn=(e,t)=>e,Cn=(e,t)=>n=>(n.params={...n.params??{},client:e.client,source:e.source,channel:e.channel},t&&n.headers.setAuthorization(`Bearer ${t}`),n),En=(e,t,n)=>{const r=function(e,t){if("string"!=typeof e)throw new ie("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,r=e.split(".")[n];if("string"!=typeof r)throw new ie(`Invalid token specified: missing part #${n+1}`);let o;try{o=ae(r)}catch(Ci){throw new ie(`Invalid token specified: invalid base64 for part #${n+1} (${Ci.message})`)}try{return JSON.parse(o)}catch(Ci){throw new ie(`Invalid token specified: invalid json for part #${n+1} (${Ci.message})`)}}(t).sub,o=Cn(n,t),i=Cn(n),a=kn(e),s=kn(e),l=kn(e);vn.backend.initClient(a,o,n.workflowsInstanceId),vn.workplaceBackend.initClient(a,r,i),gn.backend.initClient(s,o),xn.workplaceBackend.initClient(l,r,i)};var Sn,Nn,Tn,An,On=0,Rn=[],Pn=[],Ln=l,In=Ln.__b,Un=Ln.__r,Fn=Ln.diffed,jn=Ln.__c,Bn=Ln.unmount,Mn=Ln.__;function Dn(e,t){Ln.__h&&Ln.__h(Nn,e,On||t),On=0;var n=Nn.__H||(Nn.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Pn}),n.__[e]}function zn(e){return On=1,Hn(or,e)}function Hn(e,t,n){var r=Dn(Sn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):or(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Nn,!Nn.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};Nn.u=!0;var i=Nn.shouldComponentUpdate,a=Nn.componentWillUpdate;Nn.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},Nn.shouldComponentUpdate=o}return r.__N||r.__}function qn(e,t){var n=Dn(Sn++,3);!Ln.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,Nn.__H.__h.push(n))}function Wn(e,t){var n=Dn(Sn++,4);!Ln.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,Nn.__h.push(n))}function Vn(e){return On=5,Gn((function(){return{current:e}}),[])}function $n(e,t,n){On=6,Wn((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))}function Gn(e,t){var n=Dn(Sn++,7);return rr(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Yn(e,t){return On=8,Gn((function(){return e}),t)}function Zn(e){var t=Nn.context[e.__c],n=Dn(Sn++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Nn)),t.props.value):e.__}function Jn(e,t){Ln.useDebugValue&&Ln.useDebugValue(t?t(e):e)}function Xn(){var e=Dn(Sn++,11);if(!e.__){for(var t=Nn.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Kn(){for(var e;e=Rn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(tr),e.__H.__h.forEach(nr),e.__H.__h=[]}catch(t){e.__H.__h=[],Ln.__e(t,e.__v)}}Ln.__b=function(e){Nn=null,In&&In(e)},Ln.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Mn&&Mn(e,t)},Ln.__r=function(e){Un&&Un(e),Sn=0;var t=(Nn=e.__c).__H;t&&(Tn===Nn?(t.__h=[],Nn.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Pn,e.__N=e.i=void 0}))):(t.__h.forEach(tr),t.__h.forEach(nr),t.__h=[],Sn=0)),Tn=Nn},Ln.diffed=function(e){Fn&&Fn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Rn.push(t)&&An===Ln.requestAnimationFrame||((An=Ln.requestAnimationFrame)||er)(Kn)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Pn&&(e.__=e.__V),e.i=void 0,e.__V=Pn}))),Tn=Nn=null},Ln.__c=function(e,t){t.some((function(e){try{e.__h.forEach(tr),e.__h=e.__h.filter((function(e){return!e.__||nr(e)}))}catch(Vi){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Ln.__e(Vi,e.__v)}})),jn&&jn(e,t)},Ln.unmount=function(e){Bn&&Bn(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{tr(e)}catch(n){t=n}})),n.__H=void 0,t&&Ln.__e(t,n.__v))};var Qn="function"==typeof requestAnimationFrame;function er(e){var t,n=function(){clearTimeout(r),Qn&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Qn&&(t=requestAnimationFrame(n))}function tr(e){var t=Nn,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Nn=t}function nr(e){var t=Nn;e.__c=e.__(),Nn=t}function rr(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function or(e,t){return"function"==typeof t?t(e):t}function ir(e,t){for(var n in t)e[n]=t[n];return e}function ar(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 sr(e,t){this.props=e,this.context=t}function lr(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:ar(this.props,e)}function r(t){return this.shouldComponentUpdate=n,v(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(sr.prototype=new E).isPureReactComponent=!0,sr.prototype.shouldComponentUpdate=function(e,t){return ar(this.props,e)||ar(this.state,t)};var cr=l.__b;l.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),cr&&cr(e)};var dr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ur(e){function t(t){var n=ir({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=dr,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var pr=function(e,t){return null==e?null:L(L(e).map(t))},fr={map:pr,forEach:pr,count:function(e){return e?L(e).length:0},only:function(e){var t=L(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:L},mr=l.__e;l.__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);mr(e,t,n,r)};var hr=l.unmount;function gr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=ir({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return gr(e,t,n)}))),e}function _r(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return _r(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function yr(){this.__u=0,this.t=null,this.__b=null}function br(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function wr(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 v(n,o)}return o.displayName="Lazy",o.__f=!0,o}function vr(){this.u=null,this.o=null}l.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),hr&&hr(e)},(yr.prototype=new E).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=br(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=_r(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},yr.prototype.componentWillUnmount=function(){this.t=[]},yr.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]=gr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&v(C,null,e.fallback);return o&&(o.__u&=-33),[v(C,null,t.__a?null:e.children),o]};var xr=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 kr(e){return this.getChildContext=function(){return e.context},e.children}function Cr(e){var t=this,n=e.i;t.componentWillUnmount=function(){W(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),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)}}),W(v(kr,{context:t.context},e.__v),t.l)}function Er(e,t){var n=v(Cr,{__v:e,i:t});return n.containerInfo=t,n}(vr.prototype=new E).__a=function(e){var t=this,n=br(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xr(t,e,r)):o()};n?n(i):i()}},vr.prototype.render=function(e){this.u=null,this.o=new Map;var t=L(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},vr.prototype.componentDidUpdate=vr.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){xr(e,n,t)}))};var Sr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Nr=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Tr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ar=/[A-Z0-9]/g,Or="undefined"!=typeof document,Rr=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Pr(e,t,n){return null==t.__k&&(t.textContent=""),W(e,t),"function"==typeof n&&n(),e?e.__c:null}function Lr(e,t,n){return V(e,t),"function"==typeof n&&n(),e?e.__c:null}E.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ir=l.event;function Ur(){}function Fr(){return this.cancelBubble}function jr(){return this.defaultPrevented}l.event=function(e){return Ir&&(e=Ir(e)),e.persist=Ur,e.isPropagationStopped=Fr,e.isDefaultPrevented=jr,e.nativeEvent=e};var Br,Mr={enumerable:!1,configurable:!0,get:function(){return this.class}},Dr=l.vnode;l.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Or&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===a&&"no"===i?i=!1:"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Rr(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":Tr.test(o)?o=a:-1===n.indexOf("-")&&Nr.test(o)?o=o.replace(Ar,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=L(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=L(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Mr)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Sr,Dr&&Dr(e)};var zr=l.__r;l.__r=function(e){zr&&zr(e),Br=e.__c};var Hr=l.diffed;l.diffed=function(e){Hr&&Hr(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Br=null};var qr={ReactCurrentDispatcher:{current:{readContext:function(e){return Br.__n[e.__c].props.value}}}};function Wr(e){return v.bind(null,e)}function Vr(e){return!!e&&e.$$typeof===Sr}function $r(e){return Vr(e)&&e.type===C}function Gr(e){return Vr(e)?$.apply(null,arguments):e}function Yr(e){return!!e.__k&&(W(null,e),!0)}function Zr(e){return e&&(e.base||1===e.nodeType&&e)||null}var Jr=function(e,t){return e(t)},Xr=function(e,t){return e(t)},Kr=C;function Qr(e){e()}function eo(e){return e}function to(){return[!1,Qr]}var no=Wn,ro=Vr;function oo(e,t){var n=t(),r=zn({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Wn((function(){o.__=n,o.v=t,io(o)&&i({h:o})}),[e,n,t]),qn((function(){return io(o)&&i({h:o}),e((function(){io(o)&&i({h:o})}))}),[e]),n}function io(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(a){return!0}}var ao={useState:zn,useId:Xn,useReducer:Hn,useEffect:qn,useLayoutEffect:Wn,useInsertionEffect:no,useTransition:to,useDeferredValue:eo,useSyncExternalStore:oo,startTransition:Qr,useRef:Vn,useImperativeHandle:$n,useMemo:Gn,useCallback:Yn,useContext:Zn,useDebugValue:Jn,version:"17.0.2",Children:fr,render:Pr,hydrate:Lr,unmountComponentAtNode:Yr,createPortal:Er,createElement:v,createContext:G,createFactory:Wr,cloneElement:Gr,createRef:k,Fragment:C,isValidElement:Vr,isElement:ro,isFragment:$r,findDOMNode:Zr,Component:E,PureComponent:sr,memo:lr,forwardRef:ur,flushSync:Xr,unstable_batchedUpdates:Jr,StrictMode:Kr,Suspense:yr,SuspenseList:vr,lazy:wr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr};const so=Object.freeze(Object.defineProperty({__proto__:null,Children:fr,Component:E,Fragment:C,PureComponent:sr,StrictMode:Kr,Suspense:yr,SuspenseList:vr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr,cloneElement:Gr,createContext:G,createElement:v,createFactory:Wr,createPortal:Er,createRef:k,default:ao,findDOMNode:Zr,flushSync:Xr,forwardRef:ur,hydrate:Lr,isElement:ro,isFragment:$r,isValidElement:Vr,lazy:wr,memo:lr,render:Pr,startTransition:Qr,unmountComponentAtNode:Yr,unstable_batchedUpdates:Jr,useCallback:Yn,useContext:Zn,useDebugValue:Jn,useDeferredValue:eo,useEffect:qn,useErrorBoundary:function(e){var t=Dn(Sn++,10),n=zn();return t.__=e,Nn.componentDidCatch||(Nn.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:Xn,useImperativeHandle:$n,useInsertionEffect:no,useLayoutEffect:Wn,useMemo:Gn,useReducer:Hn,useRef:Vn,useState:zn,useSyncExternalStore:oo,useTransition:to,version:"17.0.2"},Symbol.toStringTag,{value:"Module"})),lo=e=>v("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},v("g",{clipPath:"url(#clip0_2383_2245)"},v("path",{d:"M0.639604 38.9047C1.28749 39.5526 2.27104 39.7271 3.10223 39.3416L25.6608 29.6293C26.7649 29.1174 27.0229 27.663 26.1624 26.8024L12.7907 13.4307C11.9301 12.57 10.4757 12.8281 9.96369 13.9323L0.202679 36.442C-0.182768 37.2732 -0.00828658 38.2568 0.639604 38.9047Z",fill:"#FFE266"}),v("path",{d:"M19.4314 27.5018L2.84876 34.6411C2.2627 34.9129 1.57431 34.8051 1.09874 34.3757L0.202679 36.4421C-0.182768 37.2734 -0.00828658 38.2568 0.639604 38.9047C1.28749 39.5526 2.27104 39.7271 3.10223 39.3416L25.4444 29.7226C24.9297 29.5162 19.5151 27.463 19.4314 27.5018Z",fill:"#EFAA66"}),v("path",{d:"M26.3181 28.7173C27.8596 27.1758 25.6184 22.4355 21.3124 18.1295C17.0064 13.8234 12.2661 11.5823 10.7246 13.1238C9.18318 14.6652 11.4243 19.4055 15.7303 23.7115C20.0364 28.0176 24.7767 30.2587 26.3181 28.7173Z",fill:"#FFE266"}),v("path",{d:"M22.4126 26.7308C23.4237 25.7197 21.7859 22.4424 18.7543 19.4109C15.7228 16.3793 12.4455 14.7415 11.4344 15.7526C10.4232 16.7638 12.0611 20.0411 15.0926 23.0726C18.1242 26.1042 21.4014 27.742 22.4126 26.7308Z",fill:"#EFAA66"}),v("path",{d:"M24.9319 30.0073C22.4747 30.0073 18.6692 27.78 15.1683 24.2792C11.9894 21.1002 9.81107 17.5992 9.48367 15.1424C9.42522 14.7034 9.73353 14.3002 10.1725 14.2417C10.6111 14.1834 11.0148 14.4916 11.0732 14.9306C11.3522 17.0232 13.4048 20.2477 16.3024 23.1452C20.0047 26.8476 23.4188 28.4618 25.0232 28.4018C25.4652 28.3857 25.8386 28.7288 25.8563 29.1713C25.8738 29.6137 25.5294 29.9868 25.0868 30.0043C25.0359 30.0062 24.984 30.0073 24.9319 30.0073Z",fill:"#D0844B"}),v("path",{d:"M16.3577 17.6285C16.1695 17.4403 16.0243 17.2039 15.9436 16.9306L15.2021 14.4208C14.922 13.473 15.1748 12.4576 15.8616 11.7708L17.2095 10.4229C17.8963 9.73605 18.9118 9.48339 19.8596 9.76347L22.5594 10.5255L21.6488 7.2768C21.3908 6.40351 21.8896 5.48644 22.7629 5.22841C23.6362 4.97037 24.5532 5.4692 24.8113 6.34249L25.5528 8.85226C25.8328 9.80012 25.5801 10.8156 24.8934 11.5023L23.5455 12.8502C22.8587 13.5369 21.8432 13.7896 20.8955 13.5096L18.1681 12.6202L19.1061 15.9963C19.3642 16.8696 18.8653 17.7866 17.9921 18.0447C17.3919 18.222 16.771 18.0419 16.3577 17.6285Z",fill:"#CAB4EF"}),v("path",{d:"M22.5594 10.5256L19.8596 9.76358C19.0449 9.52286 18.1805 9.67602 17.5176 10.1598C17.7032 10.902 17.9393 11.8894 18.168 12.6202L20.8954 13.5096C21.7487 13.7617 22.6567 13.5819 23.3305 13.0424C23.0918 12.2954 22.7865 11.2761 22.5594 10.5256Z",fill:"#A183E2"}),v("path",{d:"M26.8006 16.4551C26.9888 16.6433 27.2253 16.7885 27.4985 16.8692L30.0083 17.6106C30.956 17.8906 31.9715 17.638 32.6583 16.9512L34.0062 15.6033C34.693 14.9164 34.9457 13.901 34.6656 12.9532L33.9036 10.2534L37.1523 11.1639C38.0256 11.4219 38.9427 10.9231 39.2008 10.0498C39.4588 9.17651 38.96 8.25944 38.0867 8.00141L35.5769 7.25994C34.6291 6.97994 33.6136 7.23268 32.9269 7.91938L31.579 9.26728C30.8922 9.95406 30.6396 10.9695 30.9196 11.9173L31.8089 14.6447L28.4328 13.7066C27.5595 13.4486 26.6425 13.9474 26.3844 14.8207C26.2071 15.4209 26.3872 16.0418 26.8006 16.4551Z",fill:"#F7C4DB"}),v("path",{d:"M34.6649 12.9532L33.9029 10.2533C33.1175 10.0841 32.0186 9.8675 31.2346 9.69165C30.8149 10.3375 30.692 11.1496 30.9189 11.9173L31.8082 14.6447C32.6214 14.8455 33.4818 14.984 34.2625 15.3037C34.7512 14.6396 34.9067 13.7713 34.6649 12.9532Z",fill:"#EF8BBD"}),v("path",{d:"M30.639 2.8965C30.1162 3.4193 29.2684 3.4193 28.7456 2.8965C28.2228 2.3737 28.2228 1.52599 28.7456 1.00319C29.2684 0.480383 30.1162 0.480383 30.639 1.00319C31.1618 1.52607 31.1618 2.3737 30.639 2.8965Z",fill:"#FFA585"}),v("path",{d:"M32.6591 25.138C33.3985 25.138 33.9979 24.5386 33.9979 23.7992C33.9979 23.0598 33.3985 22.4604 32.6591 22.4604C31.9197 22.4604 31.3203 23.0598 31.3203 23.7992C31.3203 24.5386 31.9197 25.138 32.6591 25.138Z",fill:"#78EAC4"}),v("path",{d:"M25.3352 24.9889C24.8124 25.5117 23.9647 25.5117 23.4419 24.9889C22.9191 24.4661 22.9191 23.6184 23.4419 23.0956C23.9647 22.5728 24.8124 22.5728 25.3352 23.0956C25.858 23.6185 25.858 24.4661 25.3352 24.9889Z",fill:"#78EAC4"}),v("path",{d:"M25.3352 24.9889C24.8124 25.5117 23.9647 25.5117 23.4419 24.9889C22.9191 24.4661 22.9191 23.6184 23.4419 23.0956C23.9647 22.5728 24.8124 22.5728 25.3352 23.0956C25.858 23.6185 25.858 24.4661 25.3352 24.9889Z",fill:"#8BB6EF"}),v("path",{d:"M7.28893 28.9138C7.18316 28.9138 7.07556 28.8927 6.97228 28.8482C6.5655 28.6731 6.37771 28.2014 6.55291 27.7946L7.56837 25.4361C7.74349 25.0294 8.2153 24.8413 8.62191 25.0167C9.02869 25.1919 9.21648 25.6635 9.04128 26.0703L8.02582 28.4288C7.8952 28.7322 7.59956 28.9138 7.28893 28.9138Z",fill:"white"}),v("path",{d:"M9.44127 23.916C9.33551 23.916 9.22798 23.895 9.12454 23.8505C8.71785 23.6753 8.53005 23.2037 8.70526 22.7968L9.01477 22.0779C9.18989 21.6713 9.66137 21.4832 10.0684 21.6586C10.4751 21.8337 10.6629 22.3054 10.4878 22.7122L10.1782 23.4312C10.0475 23.7344 9.75182 23.916 9.44127 23.916Z",fill:"white"}),v("path",{d:"M15.7341 0.651858L16.3927 2.50396C16.4209 2.58326 16.4767 2.64613 16.5472 2.67788L18.1927 3.41926C18.4251 3.52399 18.4251 3.89436 18.1927 3.99916L16.5472 4.74054C16.4767 4.7723 16.4209 4.83516 16.3927 4.91438L15.7341 6.76648C15.6411 7.02813 15.3119 7.02813 15.2189 6.76648L14.5603 4.91438C14.532 4.83508 14.4762 4.77222 14.4057 4.74054L12.7603 3.99916C12.5278 3.89444 12.5278 3.52407 12.7603 3.41926L14.4057 2.67788C14.4762 2.64613 14.532 2.58326 14.5603 2.50396L15.2189 0.651858C15.3119 0.390136 15.6411 0.390136 15.7341 0.651858Z",fill:"#F7C4DB"}),v("path",{d:"M38.0472 17.3018L38.5357 18.6756C38.5567 18.7344 38.598 18.781 38.6503 18.8046L39.8709 19.3545C40.0434 19.4322 40.0434 19.7069 39.8709 19.7846L38.6503 20.3345C38.598 20.3581 38.5567 20.4047 38.5357 20.4635L38.0472 21.8373C37.9781 22.0314 37.734 22.0314 37.665 21.8373L37.1764 20.4635C37.1555 20.4047 37.1141 20.3581 37.0618 20.3345L35.8413 19.7846C35.6688 19.7069 35.6688 19.4322 35.8413 19.3545L37.0618 18.8046C37.1141 18.781 37.1555 18.7344 37.1764 18.6756L37.665 17.3018C37.734 17.1077 37.9781 17.1077 38.0472 17.3018Z",fill:"#CAB4EF"}),v("path",{d:"M28.9622 6.95622C29.3048 6.95622 29.5826 6.67847 29.5826 6.33584C29.5826 5.99321 29.3048 5.71545 28.9622 5.71545C28.6196 5.71545 28.3418 5.99321 28.3418 6.33584C28.3418 6.67847 28.6196 6.95622 28.9622 6.95622Z",fill:"#78EAC4"}),v("path",{d:"M38.3556 2.49627C38.4328 1.86823 37.9862 1.29654 37.3581 1.21937C36.73 1.14221 36.1583 1.58878 36.0811 2.21683C36.004 2.84487 36.4506 3.41656 37.0787 3.49373C37.7068 3.57089 38.2785 3.12432 38.3556 2.49627Z",fill:"#8BB6EF"})),v("defs",null,v("clipPath",{id:"clip0_2383_2245"},v("rect",{width:40,height:40,fill:"white"}))));var co=0;function uo(e,t,n,r,o,i){var a,s,c={};for(s in t)"ref"==s?a=t[s]:c[s]=t[s];var d={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--co,__i:-1,__u:0,__source:o,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===c[s]&&(c[s]=a[s]);return l.vnode&&l.vnode(d),d}const po={isFetching:!1,isInitialized:!1,offers:[],isAppEnabled:!1,identity:{email:"",phoneNumber:"",verifiedPhoneNumber:""},featureFlags:{marketplaceScheme:{scheme:"promotion"},marketplaceSubNavigation:!1},hostInformation:{channel:"",client:"",source:"",experiment:"",treatment:"",workflowsJourneyType:ne.BenefitsOnboarding,workflowsInstanceId:""},updateIdentity:e=>Promise.resolve(),getIdentityRegistrationStatus:()=>"Unregistered",getWorkplaceLinkingStatus:()=>"Unlinked",offersProgress:{update:()=>({}),hasCompletedAnyOffers:()=>!1,isOfferCompleted:()=>!1,isOfferProgressed:()=>!1,canOfferSkipToEstimate:()=>!1}},fo=G(po),mo=({children:e,...t})=>{const[n,r]=zn(!1),[o,i]=zn(!1),[a,s]=zn(),l=Vn("Unregistered"),c=Vn("Unlinked"),d=Vn({}),u=Gn((()=>"allowance"===(null==a?void 0:a.featureFlags.marketplaceScheme)),[null==a?void 0:a.featureFlags.marketplaceScheme]),p=Gn((()=>a?(e=>{const t=e.find((e=>"Perks"===e.name));return t?[...e.filter((e=>e!==t)).slice(0,4),t]:e.slice(0,5)})(a.offers):[]),[a]),f=Yn((()=>l.current),[]),m=Yn((()=>c.current),[]),h=Yn((()=>Object.entries(d.current).some((e=>"Perks"!==e[0]&&e[1].isCompleted))),[]),g=Yn(((e,t,n)=>{d.current[e]={isEnrolled:t,isCompleted:n}}),[]),_=Yn((e=>{e.offers.filter((e=>void 0!==e.isAccepted)).forEach((e=>{const t="Assessment"!==e.content.template||void 0;g(e.name,!!e.isAccepted,t)}))}),[g]),y=Yn((async()=>{if(!u)return;const e=p.filter((e=>"Assessment"===e.content.template));e.length<=0||(r(!0),await xn.workplaceBackend.getAllowanceProductsStatus(e.map((e=>e.content.assessmentId))).then((t=>{t.filter((e=>!!e.status)).forEach((t=>{const n=e.find((e=>e.content.assessmentId===t.activityId)).name;g(n,!0,!0)}))})).catch(),r(!1))}),[u,p,g]),b=Yn((e=>{var t;return!0===(null==(t=d.current[e])?void 0:t.isCompleted)}),[d]),w=Yn((e=>!!d.current[e]),[d]),v=Yn((e=>u&&b(e)),[u,b]),x=Yn((async e=>{e?("Unregistered"===l.current&&(l.current="NewlyRegistered"),"Unlinked"===c.current&&(c.current="NewlyLinked"),await y()):l.current="RegistrationAbandoned"}),[y]),k=Gn((()=>{return e=(null==a?void 0:a.identity.email)??"",t=h(),{joinBenefits:{desktopImageUrl:re,mobileImageUrl:oe,title:"Your workplace benefits program",description:"Your employer has partnered with Flare Benefits to give you exclusive access to savings and perks from Australia's most-loved brands.",specialBanner:{title:"Flare Benefits Allowance",icon:uo(lo,{}),subTitle:uo("span",{children:["As an additional bonus, you have been allocated an allowance of up to ",uo("b",{children:"$1,300"})," as part of your benefits program. Set up your benefits today to be eligible."]})},buttonText:"Get Started"},setUpBenefits:{title:"Unlock your $1,300 Flare Benefits Allowance",description:"You've been allocated up to $1,300 for reimbursement as part of your Flare Benefits Allowance. Make your selections today, to be eligible for reimbursement later.",buttonText:"Set up your benefits",progress:{title:"See how it works",steps:[{title:"Join your workplace benefits program",completed:!0},{title:"Select the benefits you want to include as part of your allowance.",completed:!1},{title:"Purchase or switch to an eligible product",completed:!1},{title:"Keep your product for 90 days and we'll send you a Flare gift card",completed:!1}]},termsAndConditions:()=>uo("div",{className:"flex flex-col gap-2",children:uo("span",{children:["Allowance offer expires today.",uo("br",{})," Exclusions and limitations apply. See full"," ",uo("a",{target:"_blank",rel:"noreferrer",href:"https://www.flarehr.com/flare-benefits-allowance-terms",children:"T&Cs"}),"."]})})},summary:t?{title:"Congratulations, you've unlocked your benefits allowance",description:`We've sent an email to ${e} with more information about your benefits program and how you can get reimbursed as part of your allowance`,buttonText:"Finish benefits setup",progress:{title:"How this works",steps:[{title:"Join your workplace benefits program",completed:!0},{title:"Complete your benefits setup today",completed:!0},{title:"Purchase or switch to an eligible product within 30 days",description:"Make sure you make an eligible purchase within the first 30 days.",completed:!1},{title:"Qualify for reimbursement within 90 days and we'll send you a Flare gift card",completed:!1}]}}:{title:"You're all set!",description:"You've finished setting up your benefits plan. Continue to review your details and finish up your workplace onboarding.",buttonText:"Finish benefits setup"}};var e,t}),[null==a?void 0:a.identity.email,h]),C=Gn((()=>{if(!a)return po;const e=a.offers.some((e=>"Perks"===e.name));l.current=a.identity.isRegistered?"PreviouslyRegistered":"Unregistered",c.current=a.workplace.isLinkedWithIdentity?"PreviouslyLinked":"Unlinked";const r={email:a.identity.email,phoneNumber:a.identity.phoneNumber??"",verifiedPhoneNumber:a.identity.verifiedPhoneNumber??""};return{isFetching:n,isInitialized:o,offers:p,isAppEnabled:e,identity:r,featureFlags:{marketplaceScheme:"promotion"===a.featureFlags.marketplaceScheme?{scheme:"promotion"}:{scheme:"allowance",content:k},marketplaceSubNavigation:a.featureFlags.marketplaceSubNavigation},hostInformation:{...t.hostInformation,treatment:a.featureFlags.marketplaceScheme},updateIdentity:x,getIdentityRegistrationStatus:f,getWorkplaceLinkingStatus:m,offersProgress:{hasCompletedAnyOffers:h,update:g,isOfferCompleted:b,isOfferProgressed:w,canOfferSkipToEstimate:v}}}),[a,n,o,p,k,t.hostInformation,x,f,m,h,g,b,w,v]);return qn((()=>{(async()=>{const e=await vn.backend.init();s(e),_(e),i(!0)})()}),[_]),uo(fo.Provider,{value:C,children:e})},ho=e=>{const t=null==e?void 0:e.match(/^(https:\/\/)?(test|autodev|sandbox)?-?partner\.flarehr\.com$/);return t&&t[2]?t[2]:"prod"};const go={init(e){!function(e){try{return t=window,n=document,r="clarity",o="script",i=e,void(n.getElementById("clarity-script")||(t[r]=t[r]||function(){(t[r].q=t[r].q||[]).push(arguments)},(a=n.createElement(o)).async=1,a.src="https://www.clarity.ms/tag/"+i+"?ref=npm",a.id="clarity-script",(s=n.getElementsByTagName(o)[0]).parentNode.insertBefore(a,s)))}catch(l){return}var t,n,r,o,i,a,s}(e)},setTag(e,t){window.clarity("set",e,t)},identify(e,t,n,r){window.clarity("identify",e,t,n,r)},consent(e=!0){window.clarity("consent",e)},upgrade(e){window.clarity("upgrade",e)},event(e){window.clarity("event",e)}},_o=({children:e})=>uo(C,{children:e}),yo=({children:e})=>uo(C,{children:e}),bo=({open:e,children:t})=>{const n=Gn((()=>ao.Children.toArray(t).find((e=>e.type===_o))),[t]),r=Gn((()=>ao.Children.toArray(t).find((e=>e.type===yo))),[t]),[o,i]=zn(!e);return qn((()=>{let t;return e?i(!1):t=setTimeout((()=>{i(!0)}),200),()=>{t&&clearTimeout(t)}}),[e]),uo("div",{hidden:o,children:uo("div",{className:"z-50 fixed flex items-center justify-center w-screen h-screen inset-0 bg-white overflow-hidden transition-opacity "+(e?"ease-out duration-300 opacity-100":"ease-in duration-200 opacity-0"),children:[n,uo("div",{className:"mt-4",children:r})]})})},wo=e=>uo("span",{className:"inline-flex",children:uo("span",{className:"animate-spin",children:uo("svg",{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:[uo("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"}),uo("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"})]})})}),vo='/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-size:1em;font-variation-settings:normal}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-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;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}dialog{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%}[hidden]{display:none}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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{bottom:0;top:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.z-50{z-index:50}.m-0{margin:0}.m-0\\.5{margin:.125rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-10{margin-right:2.5rem}.mr-3{margin-right:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[90\\%\\]{height:90%}.h-full{height:100%}.h-screen{height:100vh}.max-h-10{max-height:2.5rem}.max-h-12{max-height:3rem}.max-h-4{max-height:1rem}.max-h-6{max-height:1.5rem}.max-h-8{max-height:2rem}.min-h-12{min-height:3rem}.min-h-4{min-height:1rem}.min-h-6{min-height:1.5rem}.min-h-8{min-height:2rem}.w-10{width:2.5rem}.w-16{width:4rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.w-screen{width:100vw}.min-w-10{min-width:2.5rem}.min-w-4{min-width:1rem}.min-w-6{min-width:1.5rem}.min-w-8{min-width:2rem}.max-w-10{max-width:2.5rem}.max-w-20{max-width:5rem}.max-w-4{max-width:1rem}.max-w-6{max-width:1.5rem}.max-w-8{max-width:2rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[40rem\\]{max-width:40rem}.max-w-\\[59\\.5rem\\]{max-width:59.5rem}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.-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)) skew(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}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-auto{cursor:auto}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.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))}.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)))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.break-words{overflow-wrap:break-word}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.\\!border-0{border-width:0!important}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.\\!border-gray-300{--tw-border-opacity:1!important;border-color:rgb(209 213 219/var(--tw-border-opacity))!important}.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))}.border-primary-base{border-color:var(--fl-color-primary)}.border-transparent{border-color:transparent}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-teal-50{--tw-bg-opacity:1;background-color:rgb(240 253 250/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.fill-gray-200{fill:#e5e7eb}.fill-primary-base{fill:var(--fl-color-primary)}.fill-white{fill:#fff}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-px{padding-left:1px;padding-right:1px}.py-0{padding-bottom:0;padding-top:0}.py-0\\.5{padding-bottom:.125rem;padding-top:.125rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.\\!text-gray-700{--tw-text-opacity:1!important;color:rgb(55 65 81/var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-rose-500{--tw-text-opacity:1;color:rgb(244 63 94/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.accent-primary-base{accent-color:var(--fl-color-primary)}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.\\!shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.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)}.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);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-gray-200{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-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-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-300{transition-delay:.3s}.duration-1000{transition-duration:1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.duration-\\[600ms\\]{transition-duration:.6s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-4:after{content:var(--tw-content);left:1rem}.after\\:top-8:after{content:var(--tw-content);top:2rem}.after\\:inline-block:after{content:var(--tw-content);display:inline-block}.after\\:h-\\[calc\\(100\\%-theme\\(height\\.8\\)\\)\\]:after{content:var(--tw-content);height:calc(100% - 2rem)}.after\\:w-0:after{content:var(--tw-content);width:0}.after\\:w-0\\.5:after{content:var(--tw-content);width:.125rem}.after\\:bg-gray-300:after{content:var(--tw-content);--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.after\\:bg-primary-base:after{background-color:var(--fl-color-primary);content:var(--tw-content)}.after\\:content-\\[\\\'\\\'\\]:after{--tw-content:"";content:var(--tw-content)}.hover\\:\\!bg-gray-100:hover{--tw-bg-opacity:1!important;background-color:rgb(243 244 246/var(--tw-bg-opacity))!important}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\\:bg-sky-50\\/50:hover{background-color:#f0f9ff80}.hover\\:before\\:absolute:hover:before{content:var(--tw-content);position:absolute}.hover\\:before\\:h-16:hover:before{content:var(--tw-content);height:4rem}.hover\\:before\\:w-16:hover:before{content:var(--tw-content);width:4rem}.hover\\:before\\:cursor-default:hover:before{content:var(--tw-content);cursor:default}.hover\\:before\\:cursor-pointer:hover:before{content:var(--tw-content);cursor:pointer}.hover\\:before\\:content-\\[\\\'\\\'\\]:hover:before{--tw-content:"";content:var(--tw-content)}.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-gray-200:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))!important}.focus\\:ring-primary-focus:focus{--tw-ring-color:var(--fl-color-primary-focus)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring-gray-500:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(107 114 128/var(--tw-ring-opacity))}.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\\:mb-4{margin-bottom:1rem}.md\\:mt-11{margin-top:2.75rem}.md\\:mt-14{margin-top:3.5rem}.md\\:mt-3{margin-top:.75rem}.md\\:mt-6{margin-top:1.5rem}.md\\:block{display:block}.md\\:grid{display:grid}.md\\:hidden{display:none}.md\\:w-\\[240px\\]{width:240px}.md\\:w-\\[300px\\]{width:300px}.md\\:w-auto{width:auto}.md\\:w-full{width:100%}.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}.md\\:leading-7,.md\\:text-lg{line-height:1.75rem}.md\\:leading-9{line-height:2.25rem}.md\\:transition-none{transition-property:none}}@media (min-width:1024px){.lg\\:w-3\\/4{width:75%}}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:absolute:not(:last-child):after{position:absolute}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:left-10:not(:last-child):after{left:2.5rem}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:top-3:not(:last-child):after{top:.75rem}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:w-10:not(:last-child):after{width:2.5rem}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:border-b-2:not(:last-child):after{border-bottom-width:2px}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:border-solid:not(:last-child):after{border-style:solid}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:border-gray-200:not(:last-child):after{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.\\[\\&\\:not\\(\\:last-child\\)\\:after\\]\\:content-\\[\\"\\"\\]:not(:last-child):after{--tw-content:"";content:var(--tw-content)}';const xo=e=>{const[t,n]=zn(!1);return uo("button",{"data-testid":e.testId,type:"button",class:`${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:async()=>{if(e.onClickPromise&&!t){n(!0);try{await e.onClickPromise()}catch(r){}n(!1)}},children:[uo("div",{class:""+(t?"invisible":""),children:e.children}),t&&uo("div",{class:"absolute",children:uo(wo,{theme:"light"})})]})},ko=({title:e,className:t,children:n,...r})=>{var o;const[i,a]=zn(!1),s=Vn(null);return uo("div",{className:`border border-2 border-gray-300 p-2 rounded-md overflow-hidden w-full ${t??""}`,...r,children:[uo("div",{className:"mx-2 flex justify-between cursor-pointer",onClick:Yn((()=>{a(!i)}),[i]),children:[uo("span",{className:"text-base text-left font-semibold text-primary-base",children:e}),uo("span",{className:"text-base text-left font-semibold text-gray-500",children:i?"-":"+"})]}),uo("div",{ref:s,className:"flex justify-center transition-all ease-in-out duration-1000",style:{height:i?`${(null==(o=null==s?void 0:s.current)?void 0:o.scrollHeight)??0}px`:"0px",opacity:i?1:0},children:n})]})},Co=e=>{qn(e,[])};function Eo(){return Eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Eo.apply(null,arguments)}function So(e,t){return(So=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function No(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))}"function"==typeof SuppressedError&&SuppressedError;
|
2
2
|
/*!
|
3
3
|
* content-type
|
4
4
|
* Copyright(c) 2015 Douglas Christopher Wilson
|