@flarehr/workflows-app 4.12.1 → 4.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/workflows-app.css +2 -2
- package/dist/workflows-app.js +1 -1
- package/package.json +2 -3
package/dist/workflows-app.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see workflows-app.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={694:(e,t,n)=>{"use strict";var r=n(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},556:(e,t,n)=>{e.exports=n(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,i,o,a,s={},c=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function u(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function d(t,n,r){var i,o,a,s={};for(a in n)"key"==a?i=n[a]:"ref"==a?o=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return h(t,s,i,o,null)}function h(e,n,i,o,a){var s={type:e,props:n,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++r:a};return null==a&&null!=t.vnode&&t.vnode(s),s}function p(e){return e.children}function m(e,t){this.props=e,this.context=t}function $(e,t){if(null==t)return e.__?$(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?$(e):null}function g(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return g(e)}}function w(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!v.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||setTimeout)(v)}function v(){for(var e;v.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-t.__v.__b})),i=[],e.some((function(e){var t,n,r,i,o,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=u({},i)).__v=i.__v+1,A(a,i,r,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?$(i):o,i.__h),E(n,i),i.__e!=o&&g(i)))}))}function y(e,t,n,r,i,o,a,l,u,f){var d,m,g,w,v,y,_,x=r&&r.__k||c,k=x.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(w=n.__k[d]=null==(w=t[d])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?h(null,w,null,null,w):Array.isArray(w)?h(p,{children:w},null,null,null):w.__b>0?h(w.type,w.props,w.key,null,w.__v):w)){if(w.__=n,w.__b=n.__b+1,null===(g=x[d])||g&&w.key==g.key&&w.type===g.type)x[d]=void 0;else for(m=0;m<k;m++){if((g=x[m])&&w.key==g.key&&w.type===g.type){x[m]=void 0;break}g=null}A(e,w,g=g||s,i,o,a,l,u,f),v=w.__e,(m=w.ref)&&g.ref!=m&&(_||(_=[]),g.ref&&_.push(g.ref,null,w),_.push(m,w.__c||v,w)),null!=v?(null==y&&(y=v),"function"==typeof w.type&&w.__k===g.__k?w.__d=u=b(w,u,e):u=C(e,w,g,x,v,u),"function"==typeof n.type&&(n.__d=u)):u&&g.__e==u&&u.parentNode!=e&&(u=$(g))}for(n.__e=y,d=k;d--;)null!=x[d]&&("function"==typeof n.type&&null!=x[d].__e&&x[d].__e==n.__d&&(n.__d=$(r,d+1)),T(x[d],x[d]));if(_)for(d=0;d<_.length;d++)N(_[d],_[++d],_[++d])}function b(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?b(r,t,n):C(n,r,r,i,r.__e,t));return t}function _(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){_(e,t)})):t.push(e)),t}function C(e,t,n,r,i,o){var a,s,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(s=o,c=0;(s=s.nextSibling)&&c<r.length;c+=2)if(s==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function x(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||l.test(t)?n:n+"px"}function k(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||x(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||x(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?I:S,o):e.removeEventListener(t,o?I:S,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function S(e){this.l[e.type+!1](t.event?t.event(e):e)}function I(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,i,o,a,s,c,l){var f,d,h,$,g,w,v,b,_,C,x,k,S,I=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(l=r.__h,c=n.__e=r.__e,n.__h=null,a=[c]),(f=t.__b)&&f(n);try{e:if("function"==typeof I){if(b=n.props,_=(f=I.contextType)&&i[f.__c],C=f?_?_.props.value:f.__:i,r.__c?v=(d=n.__c=r.__c).__=d.__E:("prototype"in I&&I.prototype.render?n.__c=d=new I(b,C):(n.__c=d=new m(b,C),d.constructor=I,d.render=P),_&&_.sub(d),d.props=b,d.state||(d.state={}),d.context=C,d.__n=i,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=I.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=u({},d.__s)),u(d.__s,I.getDerivedStateFromProps(b,d.__s))),$=d.props,g=d.state,h)null==I.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==I.getDerivedStateFromProps&&b!==$&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,C)||n.__v===r.__v){d.props=b,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate($,g,w)}))}if(d.context=C,d.props=b,d.__v=n,d.__P=e,x=t.__r,k=0,"prototype"in I&&I.prototype.render)d.state=d.__s,d.__d=!1,x&&x(n),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,x&&x(n),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(i=u(u({},i),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(w=d.getSnapshotBeforeUpdate($,g)),S=null!=f&&f.type===p&&null==f.key?f.props.children:f,y(e,Array.isArray(S)?S:[S],n,r,i,o,a,s,c,l),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),v&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=O(r.__e,n,r,i,o,a,s,l);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(l||null!=a)&&(n.__e=c,n.__h=!!l,a[a.indexOf(c)]=null),t.__e(e,n,r)}}function E(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function O(t,n,r,i,o,a,c,l){var u,d,h,p=r.props,m=n.props,g=n.type,w=0;if("svg"===g&&(o=!0),null!=a)for(;w<a.length;w++)if((u=a[w])&&"setAttribute"in u==!!g&&(g?u.localName===g:3===u.nodeType)){t=u,a[w]=null;break}if(null==t){if(null===g)return document.createTextNode(m);t=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),a=null,l=!1}if(null===g)p===m||l&&t.data===m||(t.data=m);else{if(a=a&&e.call(t.childNodes),d=(p=r.props||s).dangerouslySetInnerHTML,h=m.dangerouslySetInnerHTML,!l){if(null!=a)for(p={},w=0;w<t.attributes.length;w++)p[t.attributes[w].name]=t.attributes[w].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||k(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||k(e,o,t[o],n[o],r)}(t,m,p,o,l),h)n.__k=[];else if(w=n.props.children,y(t,Array.isArray(w)?w:[w],n,r,i,o&&"foreignObject"!==g,a,c,a?a[0]:r.__k&&$(r,0),l),null!=a)for(w=a.length;w--;)null!=a[w]&&f(a[w]);l||("value"in m&&void 0!==(w=m.value)&&(w!==t.value||"progress"===g&&!w||"option"===g&&w!==p.value)&&k(t,"value",w,p.value,!1),"checked"in m&&void 0!==(w=m.checked)&&w!==t.checked&&k(t,"checked",w,p.checked,!1))}return t}function N(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function T(e,n,r){var i,o;if(t.unmount&&t.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||N(i,null,n)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){t.__e(e,n)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&T(i[o],n,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function M(n,r,i){var o,a,c;t.__&&t.__(n,r),a=(o="function"==typeof i)?null:i&&i.__k||r.__k,c=[],A(r,n=(!o&&i||r).__k=d(p,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!o&&i?[i]:a?null:r.firstChild?e.call(r.childNodes):null,c,!o&&i?i:a?a.__e:r.firstChild,o),E(c,n)}function D(e,t){M(e,t,D)}function R(t,n,r){var i,o,a,s=u({},t.props);for(a in n)"key"==a?i=n[a]:"ref"==a?o=n[a]:s[a]=n[a];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),h(t.type,s,i||t.key,o||t.ref,null)}e=c.slice,t={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},r=0,m.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof e&&(e=e(u({},n),this.props)),e&&u(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},m.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},m.prototype.render=p,i=[],v.__r=0,a=0;var B,L,j,W,U=0,F=[],z=[],H=t.__b,G=t.__r,V=t.diffed,Z=t.__c,q=t.unmount;function Y(e,n){t.__h&&t.__h(L,e,U||n),U=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:z}),r.__[e]}function J(e){return U=1,X(ae,e)}function X(e,t,n){var r=Y(B++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ae(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=L,!L.u)){L.u=!0;var i=L.shouldComponentUpdate;L.shouldComponentUpdate=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&&(!i||i.call(this,e,t,n))}}return r.__N||r.__}function K(e,n){var r=Y(B++,3);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,L.__H.__h.push(r))}function Q(e,n){var r=Y(B++,4);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,L.__h.push(r))}function ee(e,t){var n=Y(B++,7);return oe(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=F.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ie),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){L=null,H&&H(e)},t.__r=function(e){G&&G(e),B=0;var t=(L=e.__c).__H;t&&(j===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(ie),t.__h=[])),j=L},t.diffed=function(e){V&&V(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==F.push(n)&&W===t.requestAnimationFrame||((W=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ne&&(t=requestAnimationFrame(n))})(te)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==z&&(e.__=e.__V),e.i=void 0,e.__V=z}))),j=L=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Z&&Z(e,n)},t.unmount=function(e){q&&q(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function ie(e){var t=L;e.__c=e.__(),L=t}function oe(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ae(e,t){return"function"==typeof t?t(e):t}function se(e,t){for(var n in t)e[n]=t[n];return e}function ce(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 le(e){this.props=e}(le.prototype=new m).isPureReactComponent=!0,le.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var ue=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ue&&ue(e)};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,t){return null==e?null:_(_(e).map(t))},he={map:de,forEach:de,count:function(e){return e?_(e).length:0},only:function(e){var t=_(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:_},pe=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);pe(e,t,n,r)};var me=t.unmount;function $e(){this.__u=0,this.t=null,this.__b=null}function ge(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function we(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),me&&me(e)},($e.prototype=new m).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ge(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=se({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&d(p,null,e.fallback);return i&&(i.__h=null),[d(p,null,t.__a?null:e.children),i]};var ve=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 ye(e){return this.getChildContext=function(){return e.context},e.children}function be(e){var t=this,n=e.i;t.componentWillUnmount=function(){M(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),M(d(ye,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(we.prototype=new m).__a=function(e){var t=this,n=ge(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),ve(t,e,r)):i()};n?n(o):o()}},we.prototype.render=function(e){this.u=null,this.o=new Map;var t=_(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},we.prototype.componentDidUpdate=we.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ve(e,n,t)}))};var _e="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ce=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|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]/,xe="undefined"!=typeof document,ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Se(e,t,n){return null==t.__k&&(t.textContent=""),M(e,t),"function"==typeof n&&n(),e?e.__c:null}m.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(m.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ie=t.event;function Ae(){}function Ee(){return this.cancelBubble}function Oe(){return this.defaultPrevented}t.event=function(e){return Ie&&(e=Ie(e)),e.persist=Ae,e.isPropagationStopped=Ee,e.isDefaultPrevented=Oe,e.nativeEvent=e};var Ne,Te={configurable:!0,get:function(){return this.class}},Pe=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var a=n[o];xe&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==a||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!ke(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&Ce.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=_(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=_(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Te.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Te))}e.$$typeof=_e,Pe&&Pe(e)};var Me=t.__r;t.__r=function(e){Me&&Me(e),Ne=e.__c};var De={ReactCurrentDispatcher:{current:{readContext:function(e){return Ne.__n[e.__c].props.value}}}};function Re(e){return!!e&&e.$$typeof===_e}function Be(e){e()}const Le={useState:J,useReducer:X,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,Be]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=J({s:{__:n,h:t}}),i=r[0].s,o=r[1];return Q((function(){i.__=n,i.h=t,i.__!==t()&&o({s:i})}),[e,n,t]),K((function(){return i.__!==i.h()&&o({s:i}),e((function(){i.__!==i.h()&&o({s:i})}))}),[e]),n},startTransition:Be,useRef:function(e){return U=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){U=6,Q((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:ee,useCallback:function(e,t){return U=8,ee((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=Y(B++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:he,render:Se,hydrate:function(e,t,n){return D(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(M(null,e),!0)},createPortal:function(e,t){var n=d(be,{__v:e,i:t});return n.containerInfo=t,n},createElement:d,createContext:function(e,t){var n={__c:t="__cC"+a++,__: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(w)},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},createFactory:function(e){return d.bind(null,e)},cloneElement:function(e){return Re(e)?R.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:p,isValidElement:Re,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:m,PureComponent:le,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,d(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=se({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=fe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:p,Suspense:$e,SuspenseList:we,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:De};function je(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function We(e){return"function"==typeof e.GetHashCode}function Ue(e){return null!=e&&"function"==typeof e.Dispose}function Fe(e){Ue(e)&&e.Dispose()}function ze(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}class He{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ge(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new He(e[Symbol.iterator]())}function Ve(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Ze{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function qe(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function Ye(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Je(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Xe{static id(e){return Xe.idMap.has(e)||Xe.idMap.set(e,++Xe.count),Xe.idMap.get(e)}}function Ke(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function Qe(e){return 2654435761*e|0}function et(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function tt(e){var t;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Qe(e);case"string":return Ke(e);default:if(We(e))return e.GetHashCode();if(je(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=tt(e[r]);return et(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object){const t=Object.values(e).map((e=>tt(e)));return et(t)}return Qe(Xe.id(e))}}function nt(e){return null==e?0:We(e)?e.GetHashCode():Qe(Xe.id(e))}function rt(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function it(e,t){return rt(e,t,ot)}function ot(e,t){var n;return e===t||(null==e?null==t:null!=t&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):je(e)?je(t)&&it(e,t):e instanceof Date?t instanceof Date&&0===at(e,t):(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let i=0;i<n.length;i++)if(n[i]!==r[i]||!ot(e[n[i]],t[r[i]]))return!1;return!0}(e,t)))}function at(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Ye(e),r=t.getTime()+Ye(t)),n===r?0:n<r?-1:1}function st(e,t){return e===t?0:e<t?-1:1}function ct(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=n(e[r],t[r]),0!==i)return i;return 0}(e,t,lt)}function lt(e,t){var n;return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):je(e)?je(t)?ct(e,t):-1:e instanceof Date?t instanceof Date?at(e,t):-1:(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let i=0,o=0;i<n.length;i++){const a=n[i];if(a!==r[i])return a<r[i]?-1:1;if(o=lt(e[a],t[a]),0!==o)return o}return 0}(e,t):-1}function ut(e,t,n){return e(t,n)>0?t:n}function ft(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Xe.idMap=new WeakMap,Xe.count=0;const dt=Symbol("curried");function ht(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[dt]=t,n}function pt(e,t,n){return r=>1===t?n(...e.concat([r])):pt(e.concat([r]),t-1,n)}function mt(e,t){return null==t||1===t.length?t:dt in t?t[dt]:pt([],e,t)}function $t(e,t,n){if(null!=t){if(dt in t){t=t[dt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return pt(n,e,t)}}function gt(e,t=0){var n,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=gt(r);else{if(100===t){n+="; ...";break}n+="; "+gt(r)}t++}return n+"]"}(e);{const i=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return i===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+gt(n,t+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class wt{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n="",r=!0;return 1===t.length?(n=gt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>gt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>tt(e)));return e.splice(0,0,Qe(this.tag)),et(e)}Equals(e){return this===e||!!ze(this,e)&&this.tag===e.tag&&it(this.fields,e.fields)}CompareTo(e){return this===e?0:ze(this,e)?this.tag===e.tag?ct(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class vt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+gt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>tt(e)));return et(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(ze(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!ot(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(ze(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=lt(e[n[r]],t[n[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class yt{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class bt{constructor(e){this.message=e}}function _t(e){return function(e){return e instanceof bt||e instanceof Error}(e)?e:new Error(String(e))}class Ct{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return tt(this.value)}Equals(e){return null!=e&&ot(this.value,e instanceof Ct?e.value:e)}CompareTo(e){return null==e?1:lt(this.value,e instanceof Ct?e.value:e)}}function xt(e){return null==e||e instanceof Ct?new Ct(e):e}function kt(e){if(null==e)throw new Error("Option has no value");return e instanceof Ct?e.value:e}function St(e){return null==e?void 0:e}function It(e){return null==e?[]:[kt(e)]}function At(e,t){return null!=e?kt(e):t}function Et(e,t){return null!=t?xt(e(kt(t))):void 0}function Ot(e,t){return null!=t?e(kt(t)):void 0}function Nt(){return e=lt,{Compare:(t,n)=>e(t,n)};var e}function Tt(e,t){return"function"==typeof e?new e(t):new Array(t)}function Pt(e,t,n,r){const i=0|t;return e.fill(r,i,i+n)}function Mt(e,t,n){const r=0|t.length,i=Tt(n,r);for(let n=0;n<=r-1;n++)i[n]=e(t[n]);return i}function Dt(e,t,n){return n.reduce(e,t)}function Rt(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,i=!0;const o=0|t.length,a=0|n.length;if(o>a)return!1;if(o<a)return!1;for(;r<o&&i;)i=e(t[r],n[r]),r=r+1|0;return i}}function Bt(e,t){return e<0||e>=t.length?void 0:xt(t[e])}function Lt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+qe(~~(e/36e5),2)+":"+qe(n,2)}function jt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Wt(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const i=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?i%100:i;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const o=n?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}function Ut(e,t,n){return null!=e.offset?function(e,t){var n,r,i;const o=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Lt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Wt(o,t,!0);switch(t){case"D":case"d":return jt(o,"first");case"T":case"t":return jt(o,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Lt(t)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return Wt(e,t,n);switch(t){case"D":case"d":return n?jt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?jt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return qe(e.getFullYear(),4)+"-"+qe(e.getMonth()+1,2)+"-"+qe(e.getDate(),2)+"T"+qe(e.getHours(),2)+":"+qe(e.getMinutes(),2)+":"+qe(e.getSeconds(),2)+"."+qe(e.getMilliseconds(),3)+(t?Lt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function Ft(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function zt(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const i=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=i){let e,t=0;if(null!=i[2]){const e=i[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=i[3]&&"PM"===i[3].toUpperCase()&&(t+=720)}if(null!=i[4]){if(null!=i[1])e=new Date(i[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===i[4])r="Z";else{let e=60*parseInt(i[5],10)+parseInt(i[6]||"0",10);"-"===i[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=i[1])e=new Date(i[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function Ht(e,t){try{return t.contents=function(e,t=!1){const[n,r]=zt(e),i=null!=r?t&&"Z"===r?1:2:0;return Ft(n.getTime(),i)}(e),!0}catch(e){return!1}}function Gt(){return function(e,t,n,r=0,i=0,o=0,a=0,s){const c=1===s?Date.UTC(e,t-1,n,r,i,o,a):new Date(e,t-1,n,r,i,o,a).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const l=Ft(c,s);return e<=99&&l.setFullYear(e,t-1,n),l}(Vt(e=Ft(Date.now(),2)),function(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}(e),function(e){return 1===e.kind?e.getUTCDate():e.getDate()}(e),0,0,0,0,e.kind);var e}function Vt(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const Zt=Symbol("numeric");function qt(e){return"number"==typeof e||(null==e?void 0:e[Zt])}function Yt(e,t){return"number"==typeof e?e*t:e[Zt]().multiply(t)}function Jt(e,t){return"number"==typeof e?e.toFixed(t):e[Zt]().toFixed(t)}function Xt(e,t){return"number"==typeof e?e.toPrecision(t):e[Zt]().toPrecision(t)}function Kt(e,t){return"number"==typeof e?e.toExponential(t):e[Zt]().toExponential(t)}function Qt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Zt]().toHex()}function en(e,t=0){if(0!=(-284&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function tn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function nn(e,t,n=0){if(null==t)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let i,o=-1;for(;null!=(i=e.exec(t));)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}const rn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,on=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,an=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function sn(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function cn(e,t,n){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==t?0:-1:null==t?1:4===(i=n)||5===i?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t));var i}function ln(e){return{input:e,cont:(t=e,e=>{rn.lastIndex=0;const n=[],r=[];let i=0,o=rn.exec(t);for(;o;){const e=o.index+(o[1]||"").length;n.push(t.substring(i,e).replace(/%%/g,"%")),r.push(o),i=rn.lastIndex,rn.lastIndex-=1,o=rn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(i).replace(/%%/g,"%")),mn(e,n,r))})};var t}function un(e,t){let n=0,r=0,i="";on.lastIndex=0;let o=on.exec(e);for(;o;){const a=o.index+(o[1]||"").length;i+=e.substring(r,a).replace(/%%/g,"%");const[,,s,c,l,u]=o;r=on.lastIndex,i+=pn(t[n++],s,c,l,u),on.lastIndex=r-1,o=on.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function fn(e,t){return"string"==typeof t?e(t):t.cont(e)}function dn(e){return fn((e=>e),e)}function hn(e){return fn((e=>{throw new Error(e)}),e)}function pn(e,t,n,r,i){let o="";if(t=t||"",i=i||"",qt(e))switch("x"!==i.toLowerCase()&&(sn(e,0)?(e=Yt(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=Jt(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Xt(e,r):Xt(e);break;case"e":case"E":e=null!=r?Kt(e,r):Kt(e);break;case"x":e=Qt(e);break;case"X":e=Qt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Ut(e):gt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=o+e;else{const r=t.indexOf("0")>=0,i=t.indexOf("-")>=0,a=i||!r?" ":"0";e="0"===a?o+(e=yn(e,n-o.length,a,i)):yn(o+e,n,a,i)}return e}function mn(e,t,n,r="",i=-1){return(...o)=>{let a=r;const s=t.slice(),c=n.slice();for(const e of o){const[,,t,n,r,o]=c[0];let l=n;if(i>=0)l=i,i=-1;else if("*"===l){if(e<0)throw new Error("Non-negative number required");i=e;continue}a+=s[0],a+=pn(e,t,l,r,o),s.splice(0,1),c.splice(0,1)}return 0===c.length?(a+=s[0],e(a)):mn(e,s,c,a,i)}}function $n(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(an,((e,n,r,i,o,a)=>{if(n<0||n>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let s=t[n];if(qt(s))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":s=Jt(s,o=null!=o?o:2);break;case"g":case"G":s=null!=o?Xt(s,o):Xt(s);break;case"e":case"E":s=null!=o?Kt(s,o):Kt(s);break;case"p":case"P":o=null!=o?o:2,s=Jt(Yt(s,100),o)+" %";break;case"d":case"D":s=null!=o?bn(String(s),o,"0"):String(s);break;case"x":case"X":s=null!=o?bn(Qt(s),o,"0"):Qt(s),"X"===i&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{sn(s,0)&&(s=Yt(s,-1),e="-"),r=null==r?"":r.substring(1),s=Jt(s,Math.max(r.length,0));let[i,o]=s.split(".");o||(o=""),i=bn(i,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>o.length?o=function(e,t,n){return yn(e,t,"0",!0)}(o,a):a<o.length&&(o=o.substring(0,a)+o.substring(a).replace(/0+$/,"")),n.indexOf(",")>0){const e=i.length%3,t=Math.floor(i.length/3);let n=e>0?i.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=i.substr(e+3*r,3)+(r<t-1?",":"");i=n}return o.length>0?i+"."+o:i})),s=e+s}}else s=s instanceof Date?Ut(s,a||i):gt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=yn(String(s),Math.abs(r)," ",r<0)),s}))}function gn(e){return"string"!=typeof e||0===e.length}function wn(e){return"string"!=typeof e||/^\s*$/.test(e)}function vn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function yn(e,t,n,r){n=n||" ",t-=e.length;for(let i=0;i<t;i++)e=r?e+n:n+e;return e}function bn(e,t,n){return yn(e,t,n)}function _n(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const i=1==(1&r),o=2==(2&r);t=(t=t||[]).filter((e=>e)).map(tn),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const t=s.exec(e);if(null===t){const t=o?e.substring(l).trim():e.substring(l);(!i||t.length>0)&&a.push(t),c=!1}else{const r=o?e.substring(l,t.index).trim():e.substring(l,t.index);(!i||r.length>0)&&(null!=n&&a.length+1===n?(a.push(o?e.substring(l).trim():e.substring(l)),c=!1):a.push(r)),l=s.lastIndex}}while(c);return a}function Cn(e,t){return t.split("").filter((t=>e(t))).join("")}function xn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const kn="Collection was empty.";class Sn extends vt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+vn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],a=i[1];if(ot(n.head,r.head)){e=o,t=a;continue e}return!1}return!1}return null==i[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,i=t,o=n,a=o.tail;if(null==a)return 0|i;{const s=a;if(r>18)return 0|i;e=r+1,t=(i<<1)+tt(o.head)+631*r,n=s}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],a=i[1],s=0|lt(n.head,r.head);if(0===s){e=o,t=a;continue e}return 0|s}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return new In(this)}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ge(this)}}class In{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=t;return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function An(){return new Sn(null,void 0)}function En(e,t){return new Sn(e,t)}function On(e){return null==e.tail}function Nn(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=r}})(0,e)}function Tn(e){if(null!=e.tail)return e.head;throw new Error(kn+"\\nParameter name: list")}function Pn(e){const t=e.tail;if(null!=t)return t;throw new Error(kn+"\\nParameter name: list")}function Mn(){return An()}function Dn(e,t){return En(e,t)}function Rn(e){return En(e,An())}function Bn(e){return On(e)}function Ln(e){return Nn(e)}function jn(e){return Tn(e)}function Wn(e){return Pn(e)}function Un(e){const t=0|Nn(e),n=Pt(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,i=t;if(On(i))break;n[r]=Tn(i),e=r+1,t=Pn(i)}})(0,e),n}function Fn(e,t,n){let r=t,i=n;for(;!On(i);)r=e(r,Tn(i)),i=Pn(i);return r}function zn(e){return Fn(((e,t)=>En(t,e)),An(),e)}function Hn(e,t){Fn(((t,n)=>{e(n)}),void 0,t)}function Gn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=En(e[t],n);return n}function Vn(e){return Gn(e,An())}function Zn(e,t){return Fn(((e,t)=>En(t,e)),t,zn(e))}function qn(e,t){const n=An(),r=Fn(((t,n)=>{const r=new Sn(e(n),void 0);return t.tail=r,r}),n,t),i=An();return r.tail=i,Pn(n)}function Yn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(On(n))return;{const r=e(Tn(n));if(null==r){t=Pn(n);continue e}return r}}})(t)}((t=>e(t)?xt(t):void 0),t)}function Jn(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(On(i))return;if(e(Tn(i)))return r;t=r+1,n=Pn(i)}})(0,t)}function Xn(e,t){const n=An(),r=Fn(((t,n)=>{if(e(n)){const e=new Sn(n,void 0);return t.tail=e,e}return t}),n,t),i=An();return r.tail=i,Pn(n)}function Kn(e,t,n){return null!=Jn((t=>n.Equals(e,t)),t)}function Qn(e,t){return null!=Jn(e,t)}const er="Enumeration already finished.",tr="Enumeration has not started. Call MoveNext.",nr="The input sequence has an insufficient number of elements.";function rr(){throw new Error(tr)}function ir(){throw new Error(er)}class or{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=Ge(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=gt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Fe(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class ar{constructor(e,t,n){this.current=e,this.next=t,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function sr(e,t,n){return new ar(e,t,n)}function cr(e,t,n){let r,i=!1,o=xt(e());const a=()=>{if(null!=o){const e=kt(o);try{n(e)}finally{o=void 0}}},s=()=>{try{a()}finally{r=void 0}};return sr((()=>(i||rr(),null!=r?kt(r):ir())),(()=>{if(i||(i=!0),null!=o){const e=kt(o);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function lr(e){return function(e){return new or(e)}(e)}function ur(e){return t="source",null==e&&function(e){throw new Error(e)}(t),Ge(e);var t}function fr(e){return lr((()=>Ge(e())))}function dr(e){return lr((()=>function(e){let t,n,r,i=!1,o=!1;const a=()=>{if(o=!0,null!=n){const e=n;try{Fe(e)}finally{n=void 0}}if(null!=t){const e=t;try{Fe(e)}finally{t=void 0}}};return sr((()=>(i?o&&ir():rr(),null!=r?kt(r):ir())),(()=>{let s;if(i||(i=!0),o)return!1;{let i;for(;null==i;){const o=[t,n];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=xt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{Fe(e)}finally{n=void 0}}else{const e=o[0];e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=Ge(s)):(a(),i=!1)}else t=Ge(e)}return kt(i)}}),(()=>{o||a()}))}(e)))}function hr(){return fr((()=>new Array(0)))}function pr(e){return fr((()=>function(e,t){const n=Tt(void 0,1);return n[0]=e,n}(e)))}function mr(e){return e instanceof Sn?Un(e):Array.from(e)}function $r(e){return je(e)?Vn(e):e instanceof Sn?e:function(e){let t,n;if(je(e))return Vn(e);if(e instanceof Sn)return e;{const r=An();let i=r;const o=Ge(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();t=i,n=new Sn(e,void 0),t.tail=n,i=n}}finally{Fe(o)}const a=i,s=An();return a.tail=s,Pn(r)}}(e)}function gr(e,t,n){return lr((()=>{let r=-1;return cr(e,(e=>(r=r+1|0,t(r,e))),n)}))}function wr(e,t){return dr([e,t])}function vr(e,t,n){const r=ur(t);try{let t=!1;for(;!t&&r["System.Collections.IEnumerator.MoveNext"]();)t=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Fe(r)}}function yr(e,t,n){const r=ur(n);try{let n=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Fe(r)}}function br(e,t){yr(((t,n)=>{e(n)}),void 0,t)}function _r(e,t){return n=()=>ur(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?xt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{Fe(e)},lr((()=>cr(n,r,i)));var n,r,i}function Cr(e){return fr((()=>function(e){return e.slice().reverse()}(mr(e))))}function xr(e,t){return lr((()=>{const n=ur(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(nr+"\\nParameter name: source");return function(e,t){return sr((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Fe(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Fe(n),e}}))}function kr(e,t){return fr((()=>dr(_r(e,t))))}Symbol.iterator;const Sr={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Ir(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}function Ar(e,t=Sr.None){const n={},r=t;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,t,r){e=function(e,t){switch(t){case Sr.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Sr.SnakeCase:return Ir(e,"_");case Sr.SnakeCaseAllCaps:return Ir(e,"_").toUpperCase();case Sr.KebabCase:return Ir(e,"-");case Sr.None:default:return e}}(e,t),n[e]=r}for(let t of e){let e=Sr.None;if(null==t&&i(t),t instanceof wt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:i(t);break;case 1:o(t[0],e,!0);break;case 2:const n=t[1];o(t[0],e,n);break;default:o(t[0],e,t.slice(1))}else"string"==typeof t?o(t,e,!0):i(t)}return n}function Er(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}var Or,Nr,Tr;function Pr(){return Pr=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},Pr.apply(this,arguments)}const Mr=function(e){return d("svg",Pr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Or||(Or=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Nr||(Nr=d("path",{d:"M9 24h21M23 17l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Tr||(Tr=d("path",{d:"M23 9h12a3 3 0 0 1 3 3v24a3 3 0 0 1-3 3H23",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Dr,Rr,Br,Lr;function jr(){return jr=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},jr.apply(this,arguments)}const Wr=function(e){return d("svg",jr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dr||(Dr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Rr||(Rr=d("path",{d:"M18 18.782V15a6.018 6.018 0 0 1 6-6 6.018 6.018 0 0 1 6 6v3.783",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Br||(Br=d("path",{d:"M24 39c6.075 0 11-4.925 11-11s-4.925-11-11-11-11 4.925-11 11 4.925 11 11 11Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Lr||(Lr=d("path",{d:"M24 30v3M24 30a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Ur,Fr,zr,Hr,Gr;function Vr(){return Vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vr.apply(this,arguments)}const Zr=function(e){return d("svg",Vr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ur||(Ur=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Fr||(Fr=d("path",{d:"M24 9v13",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),zr||(zr=d("path",{d:"M32 19h.235a3 3 0 0 1 2.622 1.543L39 28v7a3 3 0 0 1-3 3H12a3 3 0 0 1-3-3v-7l4.143-7.457A3 3 0 0 1 15.765 19H16",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Hr||(Hr=d("path",{d:"m29 17-5 5-5-5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Gr||(Gr=d("path",{d:"M39 28H29v3H19v-3H9",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var qr,Yr,Jr,Xr,Kr,Qr;function ei(){return ei=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},ei.apply(this,arguments)}const ti=function(e){return d("svg",ei({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),qr||(qr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Yr||(Yr=d("path",{d:"M24 18v6h-6",stroke:"#212121",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Jr||(Jr=d("path",{d:"M32 39a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Xr||(Xr=d("path",{d:"M21.982 35.84c-.092.538-.605.904-1.135.772a12.999 12.999 0 1 1 15.767-15.758c.132.53-.234 1.043-.773 1.134-.54.092-1.046-.272-1.185-.8A11.02 11.02 0 1 0 21.18 34.653c.528.14.892.647.8 1.185Z",fill:"#111827"})),Kr||(Kr=d("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",d:"M32 29v3"})),Qr||(Qr=d("circle",{cx:32,cy:35,r:1,fill:"currentColor"})))};var ni,ri,ii;function oi(){return oi=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},oi.apply(this,arguments)}const ai=function(e){return d("svg",oi({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ni||(ni=d("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"})),ri||(ri=d("g",{clipPath:"url(#error_svg__a)"},d("path",{d:"M24 15v12",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 34a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",fill:"#DC2626"}),d("path",{d:"M30.213 9H17.787L9 17.787v12.426L17.787 39h12.426L39 30.213V17.787L30.213 9Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))),ii||(ii=d("defs",null,d("clipPath",{id:"error_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};var si,ci,li;function ui(){return ui=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},ui.apply(this,arguments)}const fi=function(e){return d("svg",ui({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),si||(si=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),ci||(ci=d("g",{clipPath:"url(#completed_svg__a)",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},d("path",{d:"m17 25 4 4 10-10",stroke:"currentColor"}),d("path",{d:"M24 39c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15Z",stroke:"#111827"}))),li||(li=d("defs",null,d("clipPath",{id:"completed_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};function di(e){return $r(fr((()=>wr(pr(["className","text-primary-base"]),fr((()=>e))))))}function hi(e){const t=Ar(di(e),1);return d(Mr,t)}function pi(e){const t=Ar(di(e),1);return d(Zr,t)}function mi(e){const t=Ar(di(e),1);return d(ai,t)}function $i(e){const t=Ar(di(e),1);return d(fi,t)}const gi=Le;var wi,vi;function yi(){return yi=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},yi.apply(this,arguments)}const bi=function(e){return d("svg",yi({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wi||(wi=d("path",{d:"M21.6 12a9.6 9.6 0 1 1-19.2 0 9.6 9.6 0 0 1 19.2 0ZM4.797 12a7.203 7.203 0 1 0 14.406 0 7.203 7.203 0 0 0-14.406 0Z",fill:"#fff",fillOpacity:.3})),vi||(vi=d("path",{d:"M12 3.6c0-.663.54-1.208 1.197-1.125a9.6 9.6 0 0 1 8.329 8.328c.082.658-.463 1.197-1.126 1.197-.662 0-1.19-.541-1.3-1.195A7.202 7.202 0 0 0 13.196 4.9C12.54 4.79 12 4.263 12 3.6Z",fill:"#fff"})))};var _i,Ci;function xi(){return xi=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},xi.apply(this,arguments)}const ki=function(e){return d("svg",xi({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),_i||(_i=d("g",{clipPath:"url(#spinner-large_svg__a)",fill:"currentColor"},d("path",{d:"M48 24c0 13.255-10.745 24-24 24S0 37.255 0 24 10.745 0 24 0s24 10.745 24 24ZM2.997 24C2.997 35.6 12.4 45.003 24 45.003S45.003 35.6 45.003 24 35.6 2.997 24 2.997 2.997 12.4 2.997 24Z",fillOpacity:.3}),d("path",{d:"M24 1.5c0-.828.672-1.505 1.499-1.453A24 24 0 0 1 47.953 22.5c.052.827-.625 1.499-1.453 1.499-.828 0-1.494-.672-1.553-1.499A21.002 21.002 0 0 0 25.498 3.054C24.672 2.994 24 2.328 24 1.5Z"}))),Ci||(Ci=d("defs",null,d("clipPath",{id:"spinner-large_svg__a"},d("path",{fill:"#fff",d:"M0 0h48v48H0z"})))))};function Si(e){const t=Ar(e,1);return d(ki,t)}function Ii(e){return d("h1",{className:"mt-4 mb-4 sm:mb-8 text-2xl sm:text-3xl font-semibold text-gray-900",children:e})}function Ai(e){let t;const n=Ot((e=>e.Phone),e.Support),r=Ot((e=>e.Email),e.Support);return d("p",ft(Vn([["className","text-sm text-gray-900 whitespace-pre-wrap leading-5"],(t=$r(fr((()=>{let t;return wr(pr((t=`Need help? Contact ${At(e.CompanyName,"your employer")}`,d("span",{children:[t]}))),fr((()=>{let e;return wr((e=[n,r],null==e[0]&&null==e[1]?pr(d("span",{children:["for assistance"]})):wr(pr(d("span",{children:[" at "]})),fr((()=>{let e,t,i;return wr((e=n,null==e?pr(null):(t=e,pr((i=`${t}`,d("span",{children:[i]}))))),fr((()=>{let e;return wr((e=[n,r],pr(null!=e[0]&&null!=e[1]?d("span",{children:[" or "]}):null)),fr((()=>pr(null==r?null:d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${r}`,children:r})))))})))})))),fr((()=>pr(d("span",{children:["."]})))))})))}))),["children",gi.Children.toArray(Array.from(t))])])))}function Ei(e,t,n,r){let i;return d("button",ft(Vn([["className",`w-full sm:w-[240px] ${n?"bg-primary-dark":"bg-primary-base"} text-primary-text font-semibold text-base rounded-md flex items-center justify-center h-[42px] hover:bg-primary-hover ${At(e,"")}`],["type","button"],["onClick",e=>{t()}],["disabled",n],(i=$r(fr((()=>n?pr(function(e){const t=Ar([["className","animate-spin"]],1);return d(bi,t)}()):r))),["children",gi.Children.toArray(Array.from(i))])])))}const Oi=Si([["className","text-primary-base animate-spin"]]),Ni=(e,t)=>{K((()=>{const t=e();return()=>{t.Dispose()}}),t)},Ti=e=>{Q((()=>{const t=e();return()=>{t.Dispose()}}))};function Pi(e){return{Dispose(){e()}}}function Mi(e){return gi.useState(e)}function Di(e){var t;t=e,K((()=>{const e=t();return()=>{e.Dispose()}}))}function Ri(e,t){Ni(e,t)}function Bi(e){Li(e,[])}function Li(e,t){Ni((t=>(e(),Pi((()=>{})))),t)}function ji(e){return gi.useRef(e)}function Wi(e,t){const n=At(t,[]);return gi.useMemo(e,n)}function Ui(e){const t=ji(e),n=function(e,n){const r=At([],[]);return gi.useCallback((e=>t.current(e)),r)}();var r;return r=()=>{t.current=e},Ti((e=>(r(),Pi((()=>{}))))),n}function Fi(e){return gi.useState(e)}function zi(e,t,n){const r=[mi([]),Ii(e),d("p",{className:"text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8",children:t}),At(n,null)];return d(p,{},...r)}function Hi(e,t,n){return zi(e,t,Et((e=>{let t;return d("div",ft(Vn([["className","mt-8"],(t=[Ai(e)],["children",gi.Children.toArray(Array.from(t))])])))}),n))}function Gi(e){let t;const n=e.reissueMagicLink,r=Fi(!1);return zi("Too many Invalid Codes","We’ve temporarily locked mobile authentication for your account because you made too many attempts with an invalid security code.",d("div",ft(Vn([["className","mt-1 sm:mt-8 text-base leading-7 text-gray-900 whitespace-pre-wrap"],(t=[d("span",{children:["Please wait 30 minutes before trying again, or "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{r[0]||(r[1](!0),n())},children:"sign in with email instead"}),d("span",{children:["."]})],["children",gi.Children.toArray(Array.from(t))])]))))}function Vi(e){return Hi("That link doesn’t look right","It looks like the link is incorrect or incomplete. We recommend going back to your invitation email and trying again.",e)}function Zi(){return zi("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)}const qi=d("div",ft(Vn([["className","w-full sm:max-w-[640px] mt-10 sm:mt-14 text-xs text-gray-500 text-center whitespace-pre-wrap space-y-4"],(()=>{let e,t,n;const r=[(e=Vn([d("span",{children:["Flare provides workplace solutions to Australian businesses and their employees. All information collected is treated in accordance with our "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/security",target:"_blank",rel:"noreferrer",children:"security standards"}),d("span",{children:[" and "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/privacy-policy",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})),(t=`Copyright © ${n=Gt(),Vt(n)} Flare. ABN 46 607 120 892.`,d("p",{children:[t]}))];return["children",gi.Children.toArray(Array.from(r))]})()])));function Yi(){let e,t;return d("div",ft(Vn([["className",vn(" ",["fade-in","min-h-full flex flex-col justify-between w-full sm:w-[640px] mx-auto text-center"])],(e=[d("div",ft(Vn([["className","flex flex-col mt-10 mx-4 sm:mt-20 justify-center items-center"],(t=[Si([["className","h-12 w-12 text-primary-base animate-spin"]]),d("h1",{className:"mt-4 font-bold text-2xl leading-7 sm:text-3xl text-gray-900",children:"Authenticating your account"}),d("p",{className:"mt-6 sm:mt-8 text-lg leading-7 text-gray-900",children:"This may take a few seconds, please don’t close this window."})],["children",gi.Children.toArray(Array.from(t))])]))),d("div",{className:"mb-6 sm:mb-8 px-4",children:gi.Children.toArray([qi])})],["children",gi.Children.toArray(Array.from(e))])])))}const Ji=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Xi=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Ki=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Qi(e){function t(e){return e.replace(Xi,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ji.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+tn(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(Xi.test(n))return t(n);if(Ki.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function eo(e,t){try{return t.contents=Qi(e),!0}catch(e){return!1}}class to{constructor(e,t){const n=new yt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=Ge(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();co(n.contents,e[0],e[1])}}finally{Fe(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return Ge(this)}GetEnumerator(){return Ge(dr(this.hashMap.values()))}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){co(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){io(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=ro(this,e[0]);let n;switch(n=null!=t&&ot(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},yr(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|oo(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=ro(this,e[0]);return null!=t&&(ot(t[1],e[1])&&uo(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){co(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return lo(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return ao(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){so(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return mr(fr((()=>_r((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return uo(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=ro(this,e);if(null!=n){const e=n;return t.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return mr(fr((()=>_r((e=>e[1]),e))))}get size(){return 0|oo(this)}clear(){io(this)}delete(e){return uo(this,e)}entries(){return _r((e=>[e[0],e[1]]),this)}get(e){return ao(this,e)}has(e){return lo(this,e)}keys(){return _r((e=>e[0]),this)}set(e,t){return so(this,e,t),this}values(){return _r((e=>e[1]),this)}forEach(e,t){const n=this;br((t=>{e(t[1],t[0],n)}),n)}}function no(e,t){const n=0|e.comparer.GetHashCode(t);let r,i=null;return r=[(o=e.hashMap,a=n,s=new yt((()=>i),(e=>{i=e})),!!o.has(a)&&(s.contents=o.get(a),!0)),i],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n[0])))]:[!1,n,-1];var o,a,s}function ro(e,t){const n=no(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Er(e.hashMap,n[1])[n[2]];case 1:return}}function io(e){e.hashMap.clear()}function oo(e){let t=0,n=Ge(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Fe(n)}return 0|t}function ao(e,t){const n=ro(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function so(e,t,n){const r=no(e,t);r[0]?r[2]>-1?Er(e.hashMap,r[1])[r[2]]=[t,n]:Er(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function co(e,t,n){const r=no(e,t);if(r[0]){if(r[2]>-1){const e=$n("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}Er(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function lo(e,t){const n=no(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function uo(e,t){const n=no(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Er(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class fo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function ho(e,t){return 0===t.tag?new fo(0,e(t.fields[0])):new fo(1,t.fields[0])}function po(e,t){return 0===t.tag?e(t.fields[0]):new fo(1,t.fields[0])}class mo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class $o extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function go(e,t){return gn(t)?new fo(1,dn(ln("%s cannot be null or empty"))(e)):new fo(0,t)}function wo(e){const t=function(e){let t;const n=function(e,t){const n=function(e,t,n=0){return e.lastIndex=n,e.exec(t)}(en(".*?@(.*)"),t);return null!=n?Wn($r(fr((()=>_r((e=>e||""),n))))):void 0}(0,e);switch(t=null!=n?Bn(n)?1:Bn(Wn(n))?0:1:1,t){case 0:return e;case 1:return}}(e);return null!=t?new fo(0,t):new fo(1,"Email is not in the correct format")}const vo=e=>({tag:"ok",value:e}),yo=e=>({tag:"error",error:e});class bo{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,t){switch(t){case 1:return bo.isAbsoluteUri(e)?vo(new bo({original:e,value:new URL(e),kind:t})):yo("Invalid URI: The format of the URI could not be determined.");case 2:return bo.isAbsoluteUri(e)?yo("URI is not a relative path."):vo(new bo({original:e,value:e,kind:t}));case 0:return bo.isAbsoluteUri(e)?vo(new bo({original:e,value:new URL(e),kind:1})):vo(new bo({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?yo("Base URI should have Absolute kind"):"string"==typeof t?vo(new bo({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?vo(new bo({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):vo(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?yo("Kind must be specified when the baseUri is a string."):bo.tryCreateWithKind(e,t):"number"==typeof t?yo("Kind should not be specified when the baseUri is an absolute Uri."):bo.tryCreateWithBase(e,t)}static create(e,t=1){const n=bo.tryCreateImpl(e,t);switch(n.tag){case"ok":return n.value;case"error":throw new Error(n.error);default:return n}}static tryCreate(e,t=1,n){const r=bo.tryCreateImpl(e,t);switch(r.tag){case"ok":return n.contents=r.value,!0;case"error":return!1;default:return r}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return 1===this.uri.kind}get absoluteUri(){return this.asUrl().href}get scheme(){const e=this.asUrl().protocol;return e.slice(0,e.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const e=this.asUrl();return e.pathname+e.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}class _o extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function Co(e){return new _o(0,e)}function xo(e){return e.fields[0]}class ko extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function So(e){return function(e){return!wn(e)}(e)?new fo(0,new ko(0,e)):new fo(1,"Invalid invite code format.")}class Io extends vt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Ao extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class Eo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class Oo extends vt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class No extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class To extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}const Po=e=>ho((e=>new No(0,e)),po(wo,go("Email",e)));function Mo(e){return e.fields[0]}const Do=e=>ho((e=>new To(0,e)),go("Phone",e));function Ro(e){return e.fields[0]}function Bo(e){return wn(e)?new fo(1,"Invalid company name."):new fo(0,new Eo(0,e))}function Lo(e){return e.fields[0]}function jo(e){return function(e){try{const t=bo.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(e)[0]?new fo(0,new Ao(0,e)):new fo(1,"Invalid logo url.")}function Wo(e){return e.fields[0]}class Uo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}class Fo extends vt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class zo extends vt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class Ho extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class Go extends vt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const Vo=new Go(new Ho(0,"personal-details"),"Personal Details","apollo-personal-details-app"),Zo=new Go(new Ho(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),qo=new Go(new Ho(0,"bank"),"Bank","bank-component"),Yo=new Go(new Ho(0,"tax"),"Tax","tax-component"),Jo=new Go(new Ho(0,"super"),"Super","super-selection-app"),Xo=new Go(new Ho(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),Ko=new Ho(0,"benefits-onboarding"),Qo=new Go(Ko,"Benefits","benefits-onboarding"),ea=new Go(new Ho(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),ta=new Go(new Ho(0,"Benefits-Discrete"),"Benefits","benefits-onboarding");function na(e){return new Ho(0,e)}function ra(e){return e.fields[0]}class ia extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class oa extends vt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const aa=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000000")),"onboarding-default",Vn([qo,Yo,Jo])),sa=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000001")),"PEBTS",Vn([Vo,Zo,qo,Yo,Jo])),ca=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000002")),"PS",Vn([Vo,Jo])),la=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000003")),"BS",Vn([qo,Jo])),ua=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000004")),"Super",Rn(Jo)),fa=new oa(new ia(0,Qi("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Rn(Xo)),da=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000005")),"Tax",Rn(Yo)),ha=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000006")),"PBTS",Vn([Vo,qo,Yo,Jo])),pa=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Vn([Vo,Zo,qo,Yo,Jo,ea])),ma=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000008")),"PEBSPo",Vn([Vo,Zo,qo,Jo,ea])),$a=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000009")),"PESPo",Vn([Vo,Zo,Jo,ea])),ga=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000010")),"PETSPo",Vn([Vo,Zo,Yo,Jo,ea])),wa=new oa(new ia(0,Qi("00000000-0000-0000-0002-000000000000")),"Bo",Rn(ta)),va=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000011")),"PETS",Vn([Vo,Zo,Yo,Jo])),ya=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000012")),"PEBS",Vn([Vo,Zo,qo,Jo])),ba=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000013")),"PES",Vn([Vo,Zo,Jo])),_a=new oa(new ia(0,Qi("00000000-0000-0000-0000-000000000014")),"PBTSPo",Vn([Vo,qo,Yo,Jo,ea])),Ca=new to([[aa.Id,aa],[sa.Id,sa],[ca.Id,ca],[la.Id,la],[ua.Id,ua],[fa.Id,fa],[da.Id,da],[ha.Id,ha],[pa.Id,pa],[ma.Id,ma],[$a.Id,$a],[ga.Id,ga],[wa.Id,wa],[va.Id,va],[ya.Id,ya],[ba.Id,ba],[_a.Id,_a]],{Equals:ot,GetHashCode:nt});class xa extends vt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class ka extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Sa extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function Ia(e){return new Sa(0,e)}function Aa(e){return e.fields[0]}class Ea extends vt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Oa extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class Na extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class Ta extends vt{constructor(e,t,n,r,i,o,a,s,c,l,u){super(),this.Id=e,this.Configuration=t,this.DateCreated=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=a,this.StepsConfiguration=s,this.JourneyType=c,this.IsBenefitsStepEnabled=l,this.PaySetupComplete=u}}class Pa extends vt{constructor(e){super(),this.BenefitsOnboarding=e}}class Ma extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Da extends vt{constructor(e){super(),this.Category=e}}class Ra extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}function Ba(e,t,n){const r=Yn((t=>0===function(...e){switch(e.length){case 2:return cn(e[0],e[1],!1);case 3:return cn(e[0],e[1],e[2]);case 4:return cn(e[0],e[1],!0===e[2]);case 5:return cn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return cn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return cn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!0===e[5]);default:throw new Error("String.compare: Unsupported number of parameters")}}(t.ComponentTagName,e,5)),$r(fr((()=>wr(n.Configuration.Steps,fr((()=>t?pr(Qo):hr()))))))),i=dn(un("Invalid ComponentTagName %A%P()",[e])),o=r;return null==o?new fo(1,i):new fo(0,o)}function La(e){const t=e.Status;switch(t.tag){case 0:case 2:case 3:return;default:return On(n=Xn((e=>!Qn((t=>ot(e.Id,t[0])),t.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:xt(Tn(n))}var n}function ja(){return St(document.getElementById("external-loading-page-container"))}function Wa(){return null!=ja()}var Ua,Fa=[],za="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Ua||(Ua={}));var Ha,Ga=function(e){return Object.freeze(e)},Va=function(e,t){this.inlineSize=e,this.blockSize=t,Ga(this)},Za=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ga(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),qa=function(e){return e instanceof SVGElement&&"getBBox"in e},Ya=function(e){if(qa(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||e.getClientRects().length)},Ja=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Xa="undefined"!=typeof window?window:{},Ka=new WeakMap,Qa=/auto|scroll/,es=/^tb|vertical/,ts=/msie|trident/i.test(Xa.navigator&&Xa.navigator.userAgent),ns=function(e){return parseFloat(e||"0")},rs=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Va((n?t:e)||0,(n?e:t)||0)},is=Ga({devicePixelContentBoxSize:rs(),borderBoxSize:rs(),contentBoxSize:rs(),contentRect:new Za(0,0,0,0)}),os=function(e,t){if(void 0===t&&(t=!1),Ka.has(e)&&!t)return Ka.get(e);if(Ya(e))return Ka.set(e,is),is;var n=getComputedStyle(e),r=qa(e)&&e.ownerSVGElement&&e.getBBox(),i=!ts&&"border-box"===n.boxSizing,o=es.test(n.writingMode||""),a=!r&&Qa.test(n.overflowY||""),s=!r&&Qa.test(n.overflowX||""),c=r?0:ns(n.paddingTop),l=r?0:ns(n.paddingRight),u=r?0:ns(n.paddingBottom),f=r?0:ns(n.paddingLeft),d=r?0:ns(n.borderTopWidth),h=r?0:ns(n.borderRightWidth),p=r?0:ns(n.borderBottomWidth),m=f+l,$=c+u,g=(r?0:ns(n.borderLeftWidth))+h,w=d+p,v=s?e.offsetHeight-w-e.clientHeight:0,y=a?e.offsetWidth-g-e.clientWidth:0,b=i?m+g:0,_=i?$+w:0,C=r?r.width:ns(n.width)-b-y,x=r?r.height:ns(n.height)-_-v,k=C+m+y+g,S=x+$+v+w,I=Ga({devicePixelContentBoxSize:rs(Math.round(C*devicePixelRatio),Math.round(x*devicePixelRatio),o),borderBoxSize:rs(k,S,o),contentBoxSize:rs(C,x,o),contentRect:new Za(f,c,C,x)});return Ka.set(e,I),I},as=function(e,t,n){var r=os(e,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Ua.DEVICE_PIXEL_CONTENT_BOX:return a;case Ua.BORDER_BOX:return i;default:return o}},ss=function(e){var t=os(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Ga([t.borderBoxSize]),this.contentBoxSize=Ga([t.contentBoxSize]),this.devicePixelContentBoxSize=Ga([t.devicePixelContentBoxSize])},cs=function(e){if(Ya(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},ls=function(){var e=1/0,t=[];Fa.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new ss(t.target),i=cs(t.target);r.push(n),t.lastReportedSize=as(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},us=function(e){Fa.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(cs(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},fs=[],ds=0,hs={attributes:!0,characterData:!0,childList:!0,subtree:!0},ps=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ms=function(e){return void 0===e&&(e=0),Date.now()+e},$s=!1,gs=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!$s){$s=!0;var n,r=ms(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(us(t);Fa.some((function(e){return e.activeTargets.length>0}));)t=ls(),us(t);return Fa.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:za}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=za),window.dispatchEvent(e)),t>0}()}finally{if($s=!1,e=r-ms(),!ds)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!Ha){var t=0,n=document.createTextNode("");new MutationObserver((function(){return fs.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Ha=function(){n.textContent="".concat(t?t--:t++)}}fs.push(e),Ha()}((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,hs)};document.body?t():Xa.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ps.forEach((function(t){return Xa.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),ps.forEach((function(t){return Xa.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),ws=new gs,vs=function(e){!ds&&e>0&&ws.start(),!(ds+=e)&&ws.stop()},ys=function(){function e(e,t){this.target=e,this.observedBox=t||Ua.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=as(this.target,this.observedBox,!0);return e=this.target,qa(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),bs=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},_s=new WeakMap,Cs=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},xs=function(){function e(){}return e.connect=function(e,t){var n=new bs(e,t);_s.set(e,n)},e.observe=function(e,t,n){var r=_s.get(e),i=0===r.observationTargets.length;Cs(r.observationTargets,t)<0&&(i&&Fa.push(r),r.observationTargets.push(new ys(t,n&&n.box)),vs(1),ws.schedule())},e.unobserve=function(e,t){var n=_s.get(e),r=Cs(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&Fa.splice(Fa.indexOf(n),1),n.observationTargets.splice(r,1),vs(-1))},e.disconnect=function(e){var t=this,n=_s.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),ks=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");xs.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ja(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");xs.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Ja(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");xs.unobserve(this,e)},e.prototype.disconnect=function(){xs.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Ss{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}Dispose(){}}class Is extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Is.prototype)}}class As{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>As.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Es(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Is);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(_t(e))}}));else try{e(t)}catch(e){t.onError(_t(e))}}}const Os=new class{Bind(e,t){return function(e,t){return Es((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(_t(e))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}(e,t)}Combine(e,t){return this.Bind(e,(()=>t))}Delay(e){return Es((t=>e()(t)))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While((()=>!r.done),this.Delay((()=>{const e=t(r.value);return r=n.next(),e})))}Return(e){return function(e){return Es((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Es((n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})}))}TryWith(e,t){return Es((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(_t(e))}}})}))}Using(e,t){return this.TryFinally(t(e),(()=>e.Dispose()))}While(e,t){return e()?this.Bind(t,(()=>this.While(e,t))):this.Return(void 0)}Zero(){return Es((e=>e.onSuccess(void 0)))}};function Ns(e){}const Ts=new Ss;function Ps(e){return Es((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new mo(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new mo(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}function Ms(e){return Es((t=>e([t.onSuccess,t.onError,t.onCancel])))}function Ds(e){return Es((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new Is)}))}))}function Rs(e,t){return function(e,t){return Bs(e,t)}(e,t)}function Bs(e,t,n,r,i){"function"!=typeof t&&(i=t,t=void 0);const o=new As;e({onSuccess:t||Ns,onError:n||Ns,onCancel:r||Ns,cancelToken:i||Ts,trampoline:o})}class Ls extends vt{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function js(e){return new Ls(Aa(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function Ws(e){Wa()||window.parent.postMessage(e,"*")}function Us(){Ws(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function Fs(e,t){Ws(function(e,t){const n={type:"workflowSubmitSuccess",sender:"flare"};return n.workflow=js(e),n.profileId=xo(t),n}(e,t))}function zs(e){Wa()&&function(e,t){Rs(Os.Delay((()=>Os.Bind(Ds(e),(()=>(function(){let e,t;const n=ja();br((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),It(n))}(),Ws({type:"appReady",sender:"flare"}),Us(),Os.Zero()))))))}(e)}function Hs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hs(Object(n),!0).forEach((function(t){qs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vs(e){return Vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vs(e)}function Zs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ys(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||Xs(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Js(e){return function(e){if(Array.isArray(e))return Ks(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xs(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xs(e,t){if(e){if("string"==typeof e)return Ks(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ks(e,t):void 0}}function Ks(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Qs=function(){},ec={},tc={},nc=null,rc={mark:Qs,measure:Qs};try{"undefined"!=typeof window&&(ec=window),"undefined"!=typeof document&&(tc=document),"undefined"!=typeof MutationObserver&&(nc=MutationObserver),"undefined"!=typeof performance&&(rc=performance)}catch(c){}var ic=(ec.navigator||{}).userAgent,oc=void 0===ic?"":ic,ac=ec,sc=tc,cc=nc,lc=rc,uc=(ac.document,!!sc.documentElement&&!!sc.head&&"function"==typeof sc.addEventListener&&"function"==typeof sc.createElement),fc=~oc.indexOf("MSIE")||~oc.indexOf("Trident/"),dc="___FONT_AWESOME___",hc="fa",pc="svg-inline--fa",mc="data-fa-i2svg",$c="data-fa-pseudo-element",gc="data-fa-pseudo-element-pending",wc="data-prefix",vc="data-icon",yc="fontawesome-i2svg",bc="async",_c=["HTML","HEAD","STYLE","SCRIPT"],Cc=function(){try{return!0}catch(e){return!1}}(),xc={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},kc={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Sc={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Ic={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Ac=/fa[srltdbk]?[\-\ ]/,Ec="fa-layers-text",Oc=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Nc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Tc=[1,2,3,4,5,6,7,8,9,10],Pc=Tc.concat([11,12,13,14,15,16,17,18,19,20]),Mc=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Dc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Rc=[].concat(Js(Object.keys(kc)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Dc.GROUP,Dc.SWAP_OPACITY,Dc.PRIMARY,Dc.SECONDARY]).concat(Tc.map((function(e){return"".concat(e,"x")}))).concat(Pc.map((function(e){return"w-".concat(e)}))),Bc=ac.FontAwesomeConfig||{};sc&&"function"==typeof sc.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=Ys(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=sc.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(Bc[r]=i)}));var Lc=Gs(Gs({},{familyPrefix:hc,styleDefault:"solid",replacementClass:pc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Bc);Lc.autoReplaceSvg||(Lc.observeMutations=!1);var jc={};Object.keys(Lc).forEach((function(e){Object.defineProperty(jc,e,{enumerable:!0,set:function(t){Lc[e]=t,Wc.forEach((function(e){return e(jc)}))},get:function(){return Lc[e]}})})),ac.FontAwesomeConfig=jc;var Wc=[],Uc=16,Fc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},zc="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Hc(){for(var e=12,t="";e-- >0;)t+=zc[62*Math.random()|0];return t}function Gc(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Vc(e){return e.classList?Gc(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Zc(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function qc(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Yc(e){return e.size!==Fc.size||e.x!==Fc.x||e.y!==Fc.y||e.rotate!==Fc.rotate||e.flipX||e.flipY}var Jc=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Xc(){var e=hc,t=pc,n=jc.familyPrefix,r=jc.replacementClass,i=Jc;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var Kc=!1;function Qc(){jc.autoAddCss&&!Kc&&(function(e){if(e&&uc){var t=sc.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=sc.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}sc.head.insertBefore(t,r)}}(Xc()),Kc=!0)}var el={mixout:function(){return{dom:{css:Xc,insertCss:Qc}}},hooks:function(){return{beforeDOMElementCreation:function(){Qc()},beforeI2svg:function(){Qc()}}}},tl=ac||{};tl[dc]||(tl[dc]={}),tl[dc].styles||(tl[dc].styles={}),tl[dc].hooks||(tl[dc].hooks={}),tl[dc].shims||(tl[dc].shims=[]);var nl=tl[dc],rl=[],il=!1;function ol(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?Zc(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Zc(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(ol).join(""),"</").concat(t,">")}function al(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}uc&&((il=(sc.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(sc.readyState))||sc.addEventListener("DOMContentLoaded",(function e(){sc.removeEventListener("DOMContentLoaded",e),il=1,rl.map((function(e){return e()}))})));var sl=function(e,t,n,r){var i,o,a,s=Object.keys(e),c=s.length,l=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<c;i++)a=l(a,e[o=s[i]],o,e);return a};function cl(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function ll(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function ul(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=ll(t);"function"!=typeof nl.hooks.addPack||r?nl.styles[e]=Gs(Gs({},nl.styles[e]||{}),i):nl.hooks.addPack(e,ll(t)),"fas"===e&&ul("fa",t)}var fl=nl.styles,dl=nl.shims,hl=Object.values(Sc),pl=null,ml={},$l={},gl={},wl={},vl={},yl=Object.keys(xc);var bl,_l=function(){var e=function(e){return sl(fl,(function(t,n,r){return t[r]=sl(n,e,{}),t}),{})};ml=e((function(e,t,n){if(t[3]&&(e[t[3]]=n),t[2]){var r=t[2].filter((function(e){return"number"==typeof e}));r.forEach((function(t){e[t.toString(16)]=n}))}return e})),$l=e((function(e,t,n){if(e[n]=n,t[2]){var r=t[2].filter((function(e){return"string"==typeof e}));r.forEach((function(t){e[t]=n}))}return e})),vl=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in fl||jc.autoFetchSvg,n=sl(dl,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});gl=n.names,wl=n.unicodes,pl=Al(jc.styleDefault)};function Cl(e,t){return(ml[e]||{})[t]}function xl(e,t){return(vl[e]||{})[t]}function kl(e){return gl[e]||{prefix:null,iconName:null}}function Sl(){return pl}bl=function(e){pl=Al(e.styleDefault)},Wc.push(bl),_l();var Il=function(){return{prefix:null,iconName:null,rest:[]}};function Al(e){var t=xc[e],n=kc[e]||kc[t],r=e in nl.styles?e:null;return n||r||null}function El(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==t&&t,r=null,i=e.reduce((function(e,t){var i=function(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~Rc.indexOf(n))?null:o}(jc.familyPrefix,t);if(fl[t]?(t=hl.includes(t)?Ic[t]:t,r=t,e.prefix=t):yl.indexOf(t)>-1?(r=t,e.prefix=Al(t)):i?e.iconName=i:t!==jc.replacementClass&&e.rest.push(t),!n&&e.prefix&&e.iconName){var o="fa"===r?kl(e.iconName):{},a=xl(e.prefix,e.iconName);o.prefix&&(r=null),e.iconName=o.iconName||a||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||fl.far||!fl.fas||jc.autoFetchSvg||(e.prefix="fas")}return e}),Il());return"fa"!==i.prefix&&"fa"!==r||(i.prefix=Sl()||"fas"),i}var Ol=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=Gs(Gs({},e.definitions[t]||{}),i[t]),ul(t,i[t]);var n=Sc[t];n&&ul(n,i[t]),_l()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&Zs(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Nl=[],Tl={},Pl={},Ml=Object.keys(Pl);function Dl(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(Tl[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function Rl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Tl[e]||[]).forEach((function(e){e.apply(null,n)}))}function Bl(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Pl[e]?Pl[e].apply(null,t):void 0}function Ll(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Sl();if(t)return t=xl(n,t)||t,al(jl.definitions,n,t)||al(nl.styles,n,t)}var jl=new Ol,Wl={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return uc?(Rl("beforeI2svg",e),Bl("pseudoElements2svg",e),Bl("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===jc.autoReplaceSvg&&(jc.autoReplaceSvg=!0),jc.observeMutations=!0,e=function(){Fl({autoReplaceSvgRoot:n}),Rl("watch",t)},uc&&(il?setTimeout(e,0):rl.push(e))}},Ul={noAuto:function(){jc.autoReplaceSvg=!1,jc.observeMutations=!1,Rl("noAuto")},config:jc,dom:Wl,parse:{icon:function(e){if(null===e)return null;if("object"===Vs(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:xl(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Al(e[0]);return{prefix:n,iconName:xl(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(jc.familyPrefix,"-"))>-1||e.match(Ac))){var r=El(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Sl(),iconName:xl(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Sl();return{prefix:i,iconName:xl(i,e)||e}}}},library:jl,findIconDefinition:Ll,toHtml:ol},Fl=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?sc:e;(Object.keys(nl.styles).length>0||jc.autoFetchSvg)&&uc&&jc.autoReplaceSvg&&Ul.dom.i2svg({node:t})};function zl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ol(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(uc){var t=sc.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Hl(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,c=e.title,l=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,p=r.found?r:n,m=p.width,$=p.height,g="fak"===i,w=[jc.replacementClass,o?"".concat(jc.familyPrefix,"-").concat(o):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),v={children:[],attributes:Gs(Gs({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:w,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat($)})},y=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(m/$*16*.0625,"em")}:{};h&&(v.attributes[mc]=""),c&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||Hc())},children:[c]}),delete v.attributes.title);var b=Gs(Gs({},v),{},{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:a,symbol:s,styles:Gs(Gs({},y),f.styles)}),_=r.found&&n.found?Bl("generateAbstractMask",b)||{children:[],attributes:{}}:Bl("generateAbstractIcon",b)||{children:[],attributes:{}},C=_.children,x=_.attributes;return b.children=C,b.attributes=x,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?"".concat(t,"-").concat(jc.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Gs(Gs({},i),{},{id:a}),children:r}]}]}(b):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(Yc(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=qc(Gs(Gs({},o),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(b)}function Gl(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,c=void 0!==s&&s,l=Gs(Gs(Gs({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});c&&(l[mc]="");var u=Gs({},a.styles);Yc(i)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,c="";return c+=s&&fc?"translate(".concat(t.x/Uc-r/2,"em, ").concat(t.y/Uc-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/Uc,"em), calc(-50% + ").concat(t.y/Uc,"em)) "):"translate(".concat(t.x/Uc,"em, ").concat(t.y/Uc,"em) "),(c+="scale(".concat(t.size/Uc*(t.flipX?-1:1),", ").concat(t.size/Uc*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=qc(u);f.length>0&&(l.style=f);var d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}var Vl=nl.styles;function Zl(e){var t=e[0],n=e[1],r=Ys(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(jc.familyPrefix,"-").concat(Dc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(jc.familyPrefix,"-").concat(Dc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(jc.familyPrefix,"-").concat(Dc.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var ql={found:!1,width:512,height:512};function Yl(e,t){var n=t;return"fa"===t&&null!==jc.styleDefault&&(t=Sl()),new Promise((function(r,i){if(Bl("missingIconAbstract"),"fa"===n){var o=kl(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Vl[t]&&Vl[t][e])return r(Zl(Vl[t][e]));!function(e,t){Cc||jc.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Gs(Gs({},ql),{},{icon:jc.showMissingIcons&&e&&Bl("missingIconAbstract")||{}}))}))}var Jl=function(){},Xl=jc.measurePerformance&&lc&&lc.mark&&lc.measure?lc:{mark:Jl,measure:Jl},Kl='FA "6.1.2"',Ql=function(e){Xl.mark("".concat(Kl," ").concat(e," ends")),Xl.measure("".concat(Kl," ").concat(e),"".concat(Kl," ").concat(e," begins"),"".concat(Kl," ").concat(e," ends"))},eu={begin:function(e){return Xl.mark("".concat(Kl," ").concat(e," begins")),function(){return Ql(e)}},end:Ql},tu=function(){};function nu(e){return"string"==typeof(e.getAttribute?e.getAttribute(mc):null)}function ru(e){return sc.createElementNS("http://www.w3.org/2000/svg",e)}function iu(e){return sc.createElement(e)}function ou(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?ru:iu:t;if("string"==typeof e)return sc.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(ou(e,{ceFn:n}))})),r}var au={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(ou(e),t)})),null===t.getAttribute(mc)&&jc.keepOriginalSource){var n=sc.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~Vc(t).indexOf(jc.replacementClass))return au.replace(e);var r=new RegExp("".concat(jc.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===jc.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return ol(e)})).join("\n");t.setAttribute(mc,""),t.innerHTML=o}};function su(e){e()}function cu(e,t){var n="function"==typeof t?t:tu;if(0===e.length)n();else{var r=su;jc.mutateApproach===bc&&(r=ac.requestAnimationFrame||su),r((function(){var t=!0===jc.autoReplaceSvg?au.replace:au[jc.autoReplaceSvg]||au.replace,r=eu.begin("mutate");e.map(t),r(),n()}))}}var lu=!1;function uu(){lu=!0}function fu(){lu=!1}var du=null;function hu(e){if(cc&&jc.observeMutations){var t=e.treeCallback,n=void 0===t?tu:t,r=e.nodeCallback,i=void 0===r?tu:r,o=e.pseudoElementsCallback,a=void 0===o?tu:o,s=e.observeMutationsRoot,c=void 0===s?sc:s;du=new cc((function(e){if(!lu){var t=Sl();Gc(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!nu(e.addedNodes[0])&&(jc.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&jc.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&nu(e.target)&&~Mc.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(wc):null,n=e.getAttribute?e.getAttribute(vc):null;return t&&n}(e.target)){var r=El(Vc(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(wc,o||t),s&&e.target.setAttribute(vc,s)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(jc.replacementClass)&&i(e.target);var c}))}})),uc&&du.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function pu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=El(Vc(e));return a.prefix||(a.prefix=Sl()),r&&i&&(a.prefix=r,a.iconName=i),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,($l[t]||{})[n]||Cl(a.prefix,cl(e.innerText)))),!a.iconName&&jc.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}(e),r=n.iconName,i=n.prefix,o=n.rest,a=function(e){var t=Gc(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return jc.autoA11y&&(n?t["aria-labelledby"]="".concat(jc.replacementClass,"-title-").concat(r||Hc()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),s=Dl("parseNodeAttributes",{},e),c=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return Gs({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Fc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:a}},s)}var mu=nl.styles;function $u(e){var t="nest"===jc.autoReplaceSvg?pu(e,{styleParser:!1}):pu(e);return~t.extra.classes.indexOf(Ec)?Bl("generateLayersText",e,t):Bl("generateSvgReplacementMutation",e,t)}function gu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!uc)return Promise.resolve();var n=sc.documentElement.classList,r=function(e){return n.add("".concat(yc,"-").concat(e))},i=function(e){return n.remove("".concat(yc,"-").concat(e))},o=jc.autoFetchSvg?Object.keys(xc):Object.keys(mu);o.includes("fa")||o.push("fa");var a=[".".concat(Ec,":not([").concat(mc,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(mc,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Gc(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var c=eu.begin("onTree"),l=s.reduce((function(e,t){try{var n=$u(t);n&&e.push(n)}catch(e){Cc||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(l).then((function(n){cu(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function wu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;$u(e).then((function(e){e&&cu([e],t)}))}var vu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Fc:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,c=t.maskId,l=void 0===c?null:c,u=t.title,f=void 0===u?null:u,d=t.titleId,h=void 0===d?null:d,p=t.classes,m=void 0===p?[]:p,$=t.attributes,g=void 0===$?{}:$,w=t.styles,v=void 0===w?{}:w;if(e){var y=e.prefix,b=e.iconName,_=e.icon;return zl(Gs({type:"icon"},e),(function(){return Rl("beforeDOMElementCreation",{iconDefinition:e,params:t}),jc.autoA11y&&(f?g["aria-labelledby"]="".concat(jc.replacementClass,"-title-").concat(h||Hc()):(g["aria-hidden"]="true",g.focusable="false")),Hl({icons:{main:Zl(_),mask:s?Zl(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:b,transform:Gs(Gs({},Fc),r),symbol:o,title:f,maskId:l,titleId:h,extra:{attributes:g,styles:v,classes:m}})}))}},yu={mixout:function(){return{icon:(e=vu,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Ll(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Ll(i||{})),e(r,Gs(Gs({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=gu,e.nodeCallback=wu,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?sc:t,r=e.callback;return gu(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,c=t.mask,l=t.maskId,u=t.extra;return new Promise((function(t,f){Promise.all([Yl(n,o),c.iconName?Yl(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Ys(c,2),d=f[0],h=f[1];t([e,Hl({icons:{main:d,mask:h},prefix:o,iconName:n,transform:a,symbol:s,maskId:l,title:r,titleId:i,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=qc(e.styles);return a.length>0&&(r.style=a),Yc(o)&&(t=Bl("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},bu={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return zl({type:"layer"},(function(){Rl("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(jc.familyPrefix,"-layers")].concat(Js(r)).join(" ")},children:n}]}))}}}},_u={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,c=t.styles,l=void 0===c?{}:c;return zl({type:"counter",content:e},(function(){return Rl("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,i=Gs(Gs(Gs({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=qc(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:["".concat(jc.familyPrefix,"-layers-counter")].concat(Js(o))}})}))}}}},Cu={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Fc:n,i=t.title,o=void 0===i?null:i,a=t.classes,s=void 0===a?[]:a,c=t.attributes,l=void 0===c?{}:c,u=t.styles,f=void 0===u?{}:u;return zl({type:"text",content:e},(function(){return Rl("beforeDOMElementCreation",{content:e,params:t}),Gl({content:e,transform:Gs(Gs({},Fc),r),title:o,extra:{attributes:l,styles:f,classes:["".concat(jc.familyPrefix,"-layers-text")].concat(Js(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(fc){var s=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/s,a=c.height/s}return jc.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Gl({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},xu=new RegExp('"',"ug"),ku=[1105920,1112319];function Su(e,t){var n="".concat(gc).concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,a,s,c=Gc(e.children).filter((function(e){return e.getAttribute($c)===t}))[0],l=ac.getComputedStyle(e,t),u=l.getPropertyValue("font-family").match(Oc),f=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(c&&!u)return e.removeChild(c),r();if(u&&"none"!==d&&""!==d){var h=l.getPropertyValue("content"),p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?kc[u[2].toLowerCase()]:Nc[f],m=function(e){var t=e.replace(xu,""),n=function(e,t){var n,r=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i}(t),r=n>=ku[0]&&n<=ku[1],i=2===t.length&&t[0]===t[1];return{value:cl(i?t[0]:t),isSecondary:r||i}}(h),$=m.value,g=m.isSecondary,w=u[0].startsWith("FontAwesome"),v=Cl(p,$),y=v;if(w){var b=(a=wl[o=$],s=Cl("fas",o),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});b.iconName&&b.prefix&&(v=b.iconName,p=b.prefix)}if(!v||g||c&&c.getAttribute(wc)===p&&c.getAttribute(vc)===y)r();else{e.setAttribute(n,y),c&&e.removeChild(c);var _={iconName:null,title:null,titleId:null,prefix:null,transform:Fc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=_.extra;C.attributes[$c]=t,Yl(v,p).then((function(i){var o=Hl(Gs(Gs({},_),{},{icons:{main:i,mask:Il()},prefix:p,iconName:y,extra:C,watchable:!0})),a=sc.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=o.map((function(e){return ol(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Iu(e){return Promise.all([Su(e,"::before"),Su(e,"::after")])}function Au(e){return!(e.parentNode===document.head||~_c.indexOf(e.tagName.toUpperCase())||e.getAttribute($c)||e.parentNode&&"svg"===e.parentNode.tagName)}function Eu(e){if(uc)return new Promise((function(t,n){var r=Gc(e.querySelectorAll("*")).filter(Au).map(Iu),i=eu.begin("searchPseudoElements");uu(),Promise.all(r).then((function(){i(),fu(),t()})).catch((function(){i(),fu(),n()}))}))}var Ou=!1,Nu=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Tu={mixout:function(){return{parse:{transform:function(e){return Nu(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Nu(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),l={outer:o,inner:{transform:"".concat(a," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:Gs({},l.outer),children:[{tag:"g",attributes:Gs({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Gs(Gs({},t.icon.attributes),l.path)}]}]}}}},Pu={x:0,y:0,width:"100%",height:"100%"};function Mu(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Du,Ru={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?El(n.split(" ").map((function(e){return e.trim()}))):Il();return r.prefix||(r.prefix=Sl()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,s=e.transform,c=i.width,l=i.icon,u=o.width,f=o.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:c}),h={tag:"rect",attributes:Gs(Gs({},Pu),{},{fill:"white"})},p=l.children?{children:l.children.map(Mu)}:{},m={tag:"g",attributes:Gs({},d.inner),children:[Mu(Gs({tag:l.tag,attributes:Gs(Gs({},l.attributes),d.path)},p))]},$={tag:"g",attributes:Gs({},d.outer),children:[m]},g="mask-".concat(a||Hc()),w="clip-".concat(a||Hc()),v={tag:"mask",attributes:Gs(Gs({},Pu),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,$]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(t=f,"g"===t.tag?t.children:[t])},v]};return n.push(y,{tag:"rect",attributes:Gs({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},Pu)}),{children:n,attributes:r}}}},Bu={provides:function(e){var t=!1;ac.matchMedia&&(t=ac.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Gs(Gs({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=Gs(Gs({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Gs(Gs({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:Gs(Gs({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Gs(Gs({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:Gs(Gs({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Gs(Gs({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Gs(Gs({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Gs(Gs({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Lu=[el,yu,bu,_u,Cu,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Eu,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?sc:t;jc.searchPseudoElements&&Eu(n)}}},{mixout:function(){return{dom:{unwatch:function(){uu(),Ou=!0}}}},hooks:function(){return{bootstrap:function(){hu(Dl("mutationObserverCallbacks",{}))},noAuto:function(){du&&du.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Ou?fu():hu(Dl("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Tu,Ru,Bu,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];Du={mixoutsTo:Ul}.mixoutsTo,Nl=Lu,Tl={},Object.keys(Pl).forEach((function(e){-1===Ml.indexOf(e)&&delete Pl[e]})),Nl.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(Du[e]=t[e]),"object"===Vs(t[e])&&Object.keys(t[e]).forEach((function(n){Du[e]||(Du[e]={}),Du[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Tl[e]||(Tl[e]=[]),Tl[e].push(n[e])}))}e.provides&&e.provides(Pl)}));var ju=Ul.parse,Wu=Ul.icon,Uu=n(556),Fu=n.n(Uu);function zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zu(Object(n),!0).forEach((function(t){Vu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gu(e){return Gu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gu(e)}function Vu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return function(e){if(Array.isArray(e))return qu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qu(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Yu(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var Ju=["style"],Xu=!1;try{Xu=!0}catch(c){}function Ku(e){return e&&"object"===Gu(e)&&e.prefix&&e.iconName&&e.icon?e:ju.icon?ju.icon(e):null===e?null:e&&"object"===Gu(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Qu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Vu({},e,t):{}}var ef=Le.forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,c=e.maskId,l=Ku(n),u=Qu("classes",[].concat(Zu(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,c=e.spin,l=e.spinPulse,u=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,p=e.border,m=e.listItem,$=e.flip,g=e.size,w=e.rotation,v=e.pull,y=(Vu(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":c,"fa-spin-reverse":u,"fa-spin-pulse":l,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":p,"fa-li":m,"fa-flip":!0===$,"fa-flip-horizontal":"horizontal"===$||"both"===$,"fa-flip-vertical":"vertical"===$||"both"===$},"fa-".concat(g),null!=g),Vu(t,"fa-rotate-".concat(w),null!=w&&0!==w),Vu(t,"fa-pull-".concat(v),null!=v),Vu(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(y).map((function(e){return y[e]?e:null})).filter((function(e){return e}))}(e)),Zu(o.split(" ")))),f=Qu("transform","string"==typeof e.transform?ju.transform(e.transform):e.transform),d=Qu("mask",Ku(r)),h=Wu(l,Hu(Hu(Hu(Hu({},u),f),d),{},{symbol:i,title:a,titleId:s,maskId:c}));if(!h)return function(){var e;!Xu&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var p=h.abstract,m={ref:t};return Object.keys(e).forEach((function(t){ef.defaultProps.hasOwnProperty(t)||(m[t]=e[t])})),tf(p[0],m)}));ef.displayName="FontAwesomeIcon",ef.propTypes={beat:Fu().bool,border:Fu().bool,beatFade:Fu().bool,bounce:Fu().bool,className:Fu().string,fade:Fu().bool,flash:Fu().bool,mask:Fu().oneOfType([Fu().object,Fu().array,Fu().string]),maskId:Fu().string,fixedWidth:Fu().bool,inverse:Fu().bool,flip:Fu().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Fu().oneOfType([Fu().object,Fu().array,Fu().string]),listItem:Fu().bool,pull:Fu().oneOf(["right","left"]),pulse:Fu().bool,rotation:Fu().oneOf([0,90,180,270]),shake:Fu().bool,size:Fu().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Fu().bool,spinPulse:Fu().bool,spinReverse:Fu().bool,symbol:Fu().oneOfType([Fu().bool,Fu().string]),title:Fu().string,titleId:Fu().string,transform:Fu().oneOfType([Fu().string,Fu().object]),swapOpacity:Fu().bool},ef.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var tf=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Yu(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Yu(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,Ju);return o.attrs.style=Hu(Hu({},o.attrs.style),s),t.apply(void 0,[n.tag,Hu(Hu({},o.attrs),c)].concat(Zu(i)))}.bind(null,Le.createElement),nf={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"]},rf={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256-.0078C260.7-.0081 265.2 1.008 269.4 2.913L457.7 82.79C479.7 92.12 496.2 113.8 496 139.1C495.5 239.2 454.7 420.7 282.4 503.2C265.7 511.1 246.3 511.1 229.6 503.2C57.25 420.7 16.49 239.2 15.1 139.1C15.87 113.8 32.32 92.12 54.3 82.79L242.7 2.913C246.8 1.008 251.4-.0081 256-.0078V-.0078zM256 444.8C393.1 378 431.1 230.1 432 141.4L256 66.77L256 444.8z"]};function of(e,t){return d(ef,e,...t)}const af=of({icon:{prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"]}},[]),sf=(of({icon:rf,size:"5x"},[]),of({icon:nf,size:"5x"},[]));function cf(){let e,t,n,r,i,o,a,s;return Bi((()=>{zs(0)})),d("div",ft(Vn([["className",vn(" ",["h-screen","fade-in"])],(e=[d("div",ft(Vn([["className",vn(" ",["h-full","flex","justify-center","items-center"])],(t=[d("div",ft(Vn([["className",vn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[d("div",ft(Rn((r=[d("div",ft(Vn([["className",vn(" ",["fade-in"])],(i=[d("i",{className:vn(" ",["text-red-600"]),children:gi.Children.toArray([sf])}),d("h4",{className:vn(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:vn(" ",["mt-3","mb-5","text-gray-500"]),children:"Your invite has expired. Reach out to your employer to get another one."})],["children",gi.Children.toArray(Array.from(i))])]))),d("p",ft(Vn([["className",vn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(o=[(a=`Flare HR Pty Ltd © 2015-${s=Gt(),Vt(s)}`,d("small",{children:[a]}))],["children",gi.Children.toArray(Array.from(o))])])))],["children",gi.Children.toArray(Array.from(r))]))))],["children",gi.Children.toArray(Array.from(n))])])))],["children",gi.Children.toArray(Array.from(t))])])))],["children",gi.Children.toArray(Array.from(e))])])))}const lf=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,t){let n,r;void 0===t?(n=null,r=e):(n=e,r=t),this.delegates.forEach((e=>1===e.length?e(r):e(n,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const t="function"==typeof e?e:e.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}},uf=class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new lf}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}};class ff{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function df(e,t,n){Hn((n=>{try{n(t)}catch(t){e(t)}}),n)}function hf(){return Mn()}function pf(e,t){return qn((t=>n=>{t((t=>{n(e(t))}))}),t)}function mf(e){return function(e){const t=An();let n=t;const r=e=>{n=Fn(((e,t)=>{const n=new Sn(t,void 0);return e.tail=n,n}),n,e)};if(je(e))e.forEach(r);else if(e instanceof Sn)Hn(r,e);else{const t=Ge(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Fe(t)}}const i=n,o=An();return i.tail=o,Pn(t)}(e)}function $f(e){return Rn(e)}function gf(e){return Rn((t=>{t(e)}))}function wf(e,t,n,r,i){return Rn((o=>{e(Os.Delay((()=>Os.Bind(Ps(t(n)),(e=>{const t=e;return o(1===t.tag?i(t.fields[0]):r(t.fields[0])),Os.Zero()})))))}))}function vf(e,t,n,r){return Rn((i=>{e(Os.Delay((()=>Os.Bind(Ps(t(n)),(e=>{const t=e;return 0===t.tag?(i(r(t.fields[0])),Os.Zero()):Os.Zero()})))))}))}function yf(e){!function(e,t){let n,r=new uf(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new ff(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}(0,(t=>{Rs(e)}))}function bf(e,t,n,r,i){const o=function(e,t,n,r){const i=0|lt(e,n);if(0===i)throw new Error("The step of a range cannot be zero");const o=i>0;return n=>{const i=0|lt(n,t);return o&&i<=0||!o&&i>=0?[n,r(n,e)]:void 0}}(t,n,r,i);return fr((()=>{return t=o,n=e,lr((()=>function(e,t){let n,r=t;return sr((()=>{if(null!=n){const e=n[0];return n[1],e}return rr()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}function _f(e,t,n){return bf(e,t,n,0,((e,t)=>e+t))}class Cf extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class xf{constructor(e){this.state=new Cf(0,Pt(new Array(ut(st,e,10)),0,ut(st,e,10),null),0)}}function kf(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],i=t.fields[0],o=(r+1)%i.length|0;return e.state=o===n?new Cf(0,i,n):new Cf(1,i,n,o),xt(i[r])}}class Sf extends vt{constructor(e,t,n,r,i,o,a){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=a}}function If(e,t,n){return new Sf(e,t,(e=>hf()),n,ht(2,(e=>{const t=$t(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(xt(t),n)}),ht(2,(e=>e)))}function Af(e,t){return new Sf(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function Ef(e,t){const n=t.init(e),r=n[0],i=new xf(10);let o=!1,a=r;const s=$t(1,t.syncDispatch,[e=>{if(o)!function(e,t){const n=e.state;if(1===n.tag){const o=0|n.fields[1],a=0|n.fields[2],s=n.fields[0];s[o]=t;const c=(o+1)%s.length|0;e.state=c===a?new Cf(1,(r=a,i=s,Array.from(fr((()=>wr(xr(r,i),fr((()=>{return wr((e=r,t=i,gr((()=>ur(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return xt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(nr+"\\nParameter name: source")}}),(e=>{Fe(e)}))),fr((()=>kr((e=>pr(null)),_f(0,1,i.length)))));var e,t}))))))),s.length,0):new Cf(1,s,c,a)}else{const r=0|n.fields[1],i=n.fields[0];i[r]=t;const o=(r+1)%i.length|0;e.state=new Cf(1,i,o,r)}var r,i}(i,e);else{o=!0;let n=xt(e);for(;null!=n;){const e=kt(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),df((n=>{t.onError([dn(ln("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([dn(ln("Unable to process the message: %A"))(e),n])}n=kf(i)}o=!1}}]);t.setState(r,s),df((e=>{t.onError(["Error intitializing:",e])}),s,mf(Vn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),hf()}})(),n[1]])))}class Of{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function Nf(){return new Of}function Tf(e,t,n,r){Ef(t,Af(((e,t)=>{!function(e,t,n){e.state=xt(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const i=function(e){return e.state}(n);if(null!=i)return kt(i);throw new Error("Elmish program has not initialized")}function Pf(e,t){return function(e,t,n){const r=Mi(Nf)[0],i=Mi((()=>Tf(e,t,r))),o=i[1];return Ri((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Tf(e,t,r)),Pi((()=>{!function(e){const t=e.state;if(null!=t){const e=kt(t);Ue(e)&&Fe(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),At(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,o),[i[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function Mf(e,t,n){return Pf((()=>If(e,t,((e,t)=>{}))),n)}class Df{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Rf{constructor(e,t,n,r,i,o,a){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=i,this.cases=o,this.enumCases=a}toString(){return Qf(this)}GetHashCode(){return Lf(this)}Equals(e){return jf(this,e)}}function Bf(e){return null!=e.generics?e.generics:[]}function Lf(e){return et([Ke(e.fullname),...Bf(e).map(Lf)])}function jf(e,t){return""===e.fullname?""===t.fullname&&rt(ld(e),ld(t),(([e,t],[n,r])=>e===n&&jf(t,r))):e.fullname===t.fullname&&rt(Bf(e),Bf(t),jf)}function Wf(e,t,n,r){return new Rf(e,t,n,r)}function Uf(e,t,n,r){return new Rf(e,t,n,void 0,r)}function Ff(...e){return new Rf("",void 0,void 0,void 0,(()=>e))}function zf(e,t,n,r){const i=new Rf(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Df(i,n,e[n],t)))}));return i}function Hf(...e){return new Rf("System.Tuple`"+e.length,e)}function Gf(e){return new Rf("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Vf(e){return new Rf("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Zf=new Rf("System.Object"),qf=(new Rf("Microsoft.FSharp.Core.Unit"),new Rf("System.Char"),new Rf("System.String")),Yf=new Rf("System.Boolean"),Jf=(new Rf("System.SByte"),new Rf("System.Byte"),new Rf("System.Int16"),new Rf("System.UInt16"),new Rf("System.Int32")),Xf=(new Rf("System.UInt32"),new Rf("System.Single"),new Rf("System.Double"));function Kf(e){if(Array.isArray(e))return e[0];if(e instanceof Rf){const t=td(e);if(null!=t)return Kf(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Qf(e){const t=td(e);return null!=t?Qf(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Qf(e))).join(",")+"]"}function ed(e){return null!=td(e)}function td(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function nd(e){return null!=e.generics&&e.generics.length>0}function rd(e){return null!=e.enumCases&&e.enumCases.length>0}function id(e){return null==e.generics?e:new Rf(e.fullname,e.generics.map((()=>Zf)))}function od(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function ad(e){if(rd(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function sd(e,t){const n=parseInt(t,10);return function(e,t){if(null!=e.enumCases){if("string"==typeof t){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(n)?t:n)[1]}function cd(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function ld(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function ud(e){if(hd(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function fd(e){return e instanceof Rf?null!=e.cases:e instanceof wt}function dd(e){return e instanceof Rf?null!=e.fields:e instanceof vt}function hd(e){return e.fullname.startsWith("System.Tuple")}function pd(e){return null==e.fields?[]:e.fields}new Rf("System.Decimal");class md extends vt{constructor(e,t){super(),this.Email=e,this.Phone=t}}function $d(e){return new md(Et(Mo,e.Email),Et(Ro,e.Phone))}class gd extends vt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}function wd(){return Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],gd,(()=>[["CompanyName",Gf(qf)],["Logo",Gf(qf)],["Support",Gf(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],md,(()=>[["Email",Gf(qf)],["Phone",Gf(qf)]])))]]))}function vd(e){return new gd(Et(Lo,e.CompanyName),Et(Wo,e.Logo),Et($d,e.Support))}class yd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite"]}}function bd(){return zf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteJourneyTypeDto",[],yd,(()=>[[["Item",Cd()]],[["Item",Cd()]],[["Item",Cd()]]]))}class _d extends vt{constructor(e){super(),this.Category=e}}function Cd(){return Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],_d,(()=>[["Category",Gf(qf)]]))}class xd extends vt{constructor(e){super(),this.MagicCode=e}}class kd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function Sd(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].Branding;case 7:return}}function Id(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].JourneyType;case 7:return}}class Ad extends vt{constructor(e,t){super(),this.CssOverrides=e,this.Outcome=t}}class Ed extends vt{constructor(e,t){super(),this.MagicCode=e,this.IsChange=t}}class Od extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","MagicCodeIssuingThrottled","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Nd extends vt{constructor(e){super(),this.Outcome=e}}class Td extends vt{constructor(e,t){super(),this.MagicCode=e,this.IsResend=t}}class Pd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeIssued","OneTimeCodeOptionNotAvailable","OneTimeCodeLocked","OneTimeCodeIssuingThrottled","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Md extends vt{constructor(e){super(),this.Outcome=e}}class Dd extends vt{constructor(e){super(),this.OneTimeCode=0|e}}class Rd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeMatched","OneTimeCodeFailed","OneTimeCodeExpired","OneTimeCodeNotCurrentlyIssued","OneTimeCodeAlreadyUsed","OneTimeCodeLocked","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Bd extends vt{constructor(e){super(),this.Outcome=e}}class Ld extends vt{constructor(e,t){super(),this.MagicCode=e,this.IsPassThrough=t}}class jd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Wd extends vt{constructor(e){super(),this.Outcome=e}}class Ud extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Fd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class zd extends vt{constructor(e,t){super(),this.InviteToken=e,this.MagicCode=t}}class Hd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}class Gd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}}class Vd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}class Zd extends vt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.Page=t,this.Branding=n,this.JourneyType=r}}class qd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToAuthCodeExchange"]}}const Yd=(()=>{try{if("undefined"!=typeof window&&"function"==typeof window.addEventListener){const e={passive:!0};window.addEventListener("testPassiveEventSupport",(e=>{}),e),window.removeEventListener("testPassiveEventSupport",(e=>{}))}}catch(e){}return!1})();function Jd(e){return Et((e=>e.passive&&!Yd?{capture:e.capture,once:e.once,passive:!1}:e),e)}function Xd(e){return Ot((e=>e.capture?{capture:!0}:void 0),e)}function Kd(e,t){return 0===t.indexOf(e)?t:void 0}function Qd(e,t){return function(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}(t,e)?t:void 0}function eh(e,t){return function(e){return 1===e?e=>{let t,n,r,i,o,a;return t=Kd("/",e),null!=t?(n=t,"#"+n):(r=Kd("#/",e),null!=r?(i=r,i):(o=Kd("#",e),null!=o?(a=o,"#/"+xn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=Kd("/",e),null!=t?(n=t,n):"/"+e}}(t)(vn("/",qn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function th(e,t,n){1===t?history.pushState(void 0,"",eh(e,n)):history.replaceState(void 0,"",eh(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function nh(e,t){return function(e,t){let n,r;const i=An();let o=i,a=t;for(;!On(a);){let t=e(Tn(a));for(;!On(t);)n=o,r=new Sn(Tn(t),void 0),n.tail=r,o=r,t=Pn(t);a=Pn(a)}const s=o,c=An();return s.tail=c,Pn(i)}((e=>{if(wn(e))return Mn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+tn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Mn();if(null!=Kd("?",t))return Rn(t);{const e=t.split("?");if(Rt(((e,t)=>e===t),e,null)||1!==e.length){if(Rt(((e,t)=>e===t),e,null)||2!==e.length)return Mn();if(""===e[1]){const t=e[0];return Rn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Vn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Rn(decodeURIComponent(t))}}}}),Vn(_n(null!=Kd("#",e)?xn(e,1,e.length-1):1!==t||null==Qd("#",e)&&null==Qd("#/",e)?e:"",["/"],null,0)))}const rh=function(e,t,n,r){const i=gi.memo(e,ht(2,At(mt(2,n),null)));return br((t=>{e.displayName=t}),It(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return gi.createElement(i,t)}}((e=>{const t=Ui((t=>{const n=At(e.onUrlChanged,(e=>{}));!function(e,t,n){t(nh(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(At(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,i=Wi((()=>Jd(r)),[r]),o=Wi((()=>Xd(r)),[r]),a=Wi((()=>e=>{n(e)}),[n]);Di(Ui((()=>{if(null==i)window.addEventListener(e,a);else{const t=i;window.addEventListener(e,a,t)}return Pi((()=>{if(null==o)window.removeEventListener(e,a);else{const t=o;window.removeEventListener(e,a,t)}}))})))}else{const e="popstate",n=t,r=void 0,i=Wi((()=>Jd(r)),[r]),o=Wi((()=>Xd(r)),[r]),a=Wi((()=>e=>{n(e)}),[n]);Di(Ui((()=>{if(null==i)window.addEventListener(e,a);else{const t=i;window.addEventListener(e,a,t)}return Pi((()=>{if(null==o)window.removeEventListener(e,a);else{const t=o;window.removeEventListener(e,a,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,i=void 0,o=Wi((()=>Jd(i)),[i]),a=Wi((()=>Xd(i)),[i]),s=Wi((()=>e=>{r(e)}),[r]);Di(Ui((()=>{if(null==o)window.addEventListener(n,s);else{const e=o;window.addEventListener(n,s,e)}return Pi((()=>{if(null==a)window.removeEventListener(n,s);else{const e=a;window.removeEventListener(n,s,e)}}))})));const c=e.application;return null==c?null:c}),void 0,void 0,void 0);function ih(e){try{const t=new URLSearchParams(e);return $r(fr((()=>_r((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class oh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const ah=document.getElementById("workflows-app"),sh=ah.getAttribute("data-identity-url"),ch=ah.getAttribute("data-backend-url"),lh=Vn(["workflows","app"]),uh=Vn(["workflows","embed","v1.0","app"]),fh="apollo-workflows-app";class dh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function hh(e){switch(e.tag){case 0:default:return eh(uh,2);case 1:return eh(lh,2)}}!function(e){const t=Vn(_n(e,["."],null,0));let n;switch(n=Bn(t)?4:"autodev-partner"===jn(t)?0:"test-partner"===jn(t)?1:"partner"===jn(t)?2:"sandbox-partner"===jn(t)?3:4,n){case 0:return new fo(0,new oh(0));case 1:return new fo(0,new oh(1));case 2:return new fo(0,new oh(2));case 3:return new fo(0,new oh(3));case 4:new fo(1,"Invalid environment")}}(bo.create(ch).host);class ph extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class mh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class $h extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class gh extends vt{constructor(e,t,n,r,i,o,a,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=a,this.content=s}}class wh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class vh extends vt{constructor(e,t,n,r,i,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=i,this.content=o}}class yh{constructor(e,t){this.k=e,this.v=t}}function bh(e,t){return new yh(e,t)}function _h(e){return e.k}function Ch(e){return e.v}class xh extends yh{constructor(e,t,n,r,i){super(e,t),this.left=n,this.right=r,this.h=0|i}}function kh(e,t,n,r,i){return new xh(e,t,n,r,i)}function Sh(e){return e.left}function Ih(e){return e.right}function Ah(e){return e.h}function Eh(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof xh){e=Eh(n+1,Sh(r)),t=Ih(r);continue e}return n+1|0}return 0|n}}function Oh(e){return Eh(0,e)}function Nh(e,t,n,r){let i,o;i=null!=e?e instanceof xh?Ah(e):1:0,o=null!=r?r instanceof xh?Ah(r):1:0;const a=0|(i<o?o:i);return 0===a?bh(t,n):kh(t,n,e,r,a+1)}function Th(e,t,n,r){let i,o,a,s,c,l;if(c=null!=e?e instanceof xh?Ah(e):1:0,l=null!=r?r instanceof xh?Ah(r):1:0,l>c+2){const a=kt(r);if(a instanceof xh){if(i=Sh(a),(null!=i?(o=i,o instanceof xh?Ah(o):1):0)>c+1){const r=kt(Sh(a));if(r instanceof xh)return Nh(Nh(e,t,n,Sh(r)),_h(r),Ch(r),Nh(Ih(r),_h(a),Ch(a),Ih(a)));throw new Error("internal error: Map.rebalance")}return Nh(Nh(e,t,n,Sh(a)),_h(a),Ch(a),Ih(a))}throw new Error("internal error: Map.rebalance")}if(c>l+2){const i=kt(e);if(i instanceof xh){if(a=Ih(i),(null!=a?(s=a,s instanceof xh?Ah(s):1):0)>l+1){const e=kt(Ih(i));if(e instanceof xh)return Nh(Nh(Sh(i),_h(i),Ch(i),Sh(e)),_h(e),Ch(e),Nh(Ih(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Nh(Sh(i),_h(i),Ch(i),Nh(Ih(i),t,n,r))}throw new Error("internal error: Map.rebalance")}return Nh(e,t,n,r)}function Ph(e,t,n,r){if(null!=r){const i=r,o=0|e.Compare(t,_h(i));return i instanceof xh?o<0?Th(Ph(e,t,n,Sh(i)),_h(i),Ch(i),Ih(i)):0===o?kh(t,n,Sh(i),Ih(i),Ah(i)):Th(Sh(i),_h(i),Ch(i),Ph(e,t,n,Ih(i))):o<0?kh(t,n,void 0,r,2):0===o?bh(t,n):kh(t,n,r,void 0,2)}return bh(t,n)}function Mh(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,a=0|r.Compare(i,_h(o));if(0===a)return xt(Ch(o));if(o instanceof xh){e=r,t=i,n=a<0?Sh(o):Ih(o);continue e}return}return}}function Dh(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof xh){Dh(n,Sh(r)),n(_h(r),Ch(r)),e=n,t=Ih(r);continue e}n(_h(r),Ch(r))}break}}function Rh(e,t){Dh(e,t)}function Bh(e,t){if(null!=t){const n=t;if(n instanceof xh){const t=Bh(e,Sh(n)),r=e(_h(n),Ch(n)),i=Bh(e,Ih(n));return kh(_h(n),r,t,i,Ah(n))}return bh(_h(n),e(_h(n),Ch(n)))}}function Lh(e,t){return Bh(e,t)}function jh(e,t){let n;for(let r=0;r<=t.length-1;r++){const i=t[r];n=Ph(e,i[0],i[1],n)}return n}class Wh extends vt{constructor(e,t){super(),this.stack=e,this.started=t}}function Uh(e){e:for(;;){const t=e;if(Bn(t))return Mn();{const n=Wn(t),r=jn(t);if(null!=r){const i=r;if(i instanceof xh){e=Gn([Sh(i),bh(_h(i),Ch(i)),Ih(i)],n);continue e}return t}e=n;continue e}}}function Fh(e){return new Wh(Uh(Rn(e)),!1)}function zh(e){if(e.started){const t=e.stack;if(Bn(t))return function(){throw new Error("enumeration already finished")}();if(null!=jn(t)){const e=jn(t);if(e instanceof xh)throw new Error("Please report error: Map iterator, unexpected stack for current");return[_h(e),Ch(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function Hh(e){let t=Fh(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>zh(t),"System.Collections.IEnumerator.get_Current":()=>zh(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Bn(t))return!1;if(null!=jn(t)){if(jn(t)instanceof xh)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Uh(Wn(t)),!Bn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Bn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Fh(e)},Dispose(){}}}class Gh{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const r=Ge(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,tt(e[0])),n=0|t(n,tt(e[1]))}}finally{Fe(r)}return 0|n}(this)}Equals(e){if(!(e instanceof Gh))return!1;{const t=Ge(this);try{const n=Ge(e);try{const e=()=>{const r=t["System.Collections.IEnumerator.MoveNext"]();if(r===n["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=t["System.Collections.Generic.IEnumerator`1.get_Current"](),i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!ot(r[0],i[0])||!ot(r[1],i[1]))&&e()}return!0}return!1};return e()}finally{Fe(n)}}finally{Fe(t)}}}toString(){return"map ["+vn("; ",_r((e=>$n("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return Hh(this.tree)}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Hh(this.tree)}CompareTo(e){const t=this;if(e instanceof Gh)return 0|function(e,t,n){const r=ur(t);try{const t=ur(n);try{let n=0,i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&i&&o;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:i?1:o?-1:0)}finally{Fe(t)}}finally{Fe(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:lt(e[1],n[1]))}),t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Jh(this,e[0])&&ot(qh(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;Rh(((e,n)=>{t[r]=[e,n],r=r+1|0}),e)}(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Yh(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Yh(this)}get size(){return 0|Yh(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return _r((e=>[e[0],e[1]]),this)}get(e){return qh(this,e)}has(e){return Jh(this,e)}keys(){return _r((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return _r((e=>e[1]),this)}forEach(e,t){const n=this;br((t=>{e(t[1],t[0],n)}),n)}}function Vh(e,t){return new Gh(e,t)}function Zh(e){const t=Nt();return Vh(t,function(e,t){if(je(t))return jh(e,t);if(t instanceof Sn)return function(e,t){return Fn(((t,n)=>Ph(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=Ge(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;{const a=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Ph(r,a[0],a[1],i),n=o}}}(e,void 0,n)}finally{Fe(n)}}}(t,e))}function qh(e,t){return function(e,t,n){const r=Mh(e,t,n);if(null==r)throw new Error;return kt(r)}(e.comparer,t,e.tree)}function Yh(e){return Oh(e.tree)}function Jh(e,t){return function(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,a=0|r.Compare(i,_h(o));if(o instanceof xh){if(a<0){e=r,t=i,n=Sh(o);continue e}if(0===a)return!0;e=r,t=i,n=Ih(o);continue e}return 0===a}return!1}}(e.comparer,t,e.tree)}function Xh(e,t,n){return function(e,t,n){return Vh(e.comparer,Ph(e.comparer,t,n,e.tree))}(n,e,t)}function Kh(e,t){return function(e,t){return Mh(e.comparer,t,e.tree)}(t,e)}function Qh(e,t){return function(e,t){return Vh(e.comparer,Lh(t,e.tree))}(t,e)}function ep(){return Gh.empty}function tp(e){return new mh(0,"Content-Type",e)}Gh.empty=Vh(Nt(),void 0);const np=new gh("",new ph(0),Mn(),!1,void 0,void 0,void 0,new $h(0));function rp(e,t){return gn(t)?[t]:_n(t,[e],null,0)}function ip(e){return new gh(e,np.method,np.headers,np.withCredentials,np.overridenMimeType,np.overridenResponseType,np.timeout,np.content)}function op(e,t){return new gh(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function ap(e,t){return new gh(t.url,t.method,Zn(t.headers,Rn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function sp(e,t){return new gh(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function cp(e){return Ms((t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,i,o,a,s,c;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",i=0|n.status,o=n.responseType,s=n.responseType,a=""===s||"text"===s?new wh(0,n.responseText):new wh("arraybuffer"===s?2:"blob"===s?1:3,n.response),c=function(e){const t=Nt();return Vh(t,jh(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const i=e(t[n]);if(null!=i){const e=kt(i);r.push(e)}}return r}((e=>{const t=Vn(rp(":",e));return Bn(t)?void 0:[jn(t).toLocaleLowerCase(),vn(":",Wn(t)).trim()]}),rp("\r\n",n.getAllResponseHeaders()))),new vh(i,e,o,n.responseURL,c,a)))};const r=Ge(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{Fe(r)}n.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;n.overrideMimeType(e)}const o=e.overridenResponseType;null==o||(1===o.tag?n.responseType="blob":2===o.tag?n.responseType="arraybuffer":n.responseType="text");const a=e.timeout;if(null==a);else{const e=0|a;n.timeout=0|e}const s=e.content;switch(s.tag){case 1:case 3:case 2:n.send(xt(s.fields[0]));break;default:n.send()}}))}new vh(0,"","","",ep(),new wh(0,""));var lp=null;try{lp=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(c){}function up(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function fp(e){return!0===(e&&e.__isLong__)}up.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},up.prototype.Equals=function(e){return Lp(this,e)},up.prototype.CompareTo=function(e){return Fp(this,e)},up.prototype.toString=function(e){return Mp(this,e)},up.prototype.toJSON=function(){return Mp(this)},up.prototype[Zt]=function(){const e=this;return{multiply:t=>Vp(e,t),toPrecision:t=>String(e)+(0).toPrecision(t).substr(1),toExponential:t=>String(e)+(0).toExponential(t).substr(1),toFixed:t=>String(e)+(0).toFixed(t).substr(1),toHex:()=>{return Mp(e.unsigned?e:function(e,t,n){return n?function(e,t){return new up(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}(e,t):function(e,t){return new up(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}(e,t)}((t=e,n?function(e){var t=e.high,n=e.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(t):function(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]}(t)),!0),16);var t,n}}},up.prototype.__isLong__,Object.defineProperty(up.prototype,"__isLong__",{value:!0});var dp={},hp={};function pp(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=hp[e])?r:(n=$p(e,(0|e)<0?-1:0,!0),i&&(hp[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=dp[e])?r:(n=$p(e,e<0?-1:0,!1),i&&(dp[e]=n),n)}function mp(e,t){if(isNaN(e))return t?kp:xp;if(t){if(e<0)return kp;if(e>=bp)return Op}else{if(e<=-_p)return Np;if(e+1>=_p)return Ep}return e<0?zp(mp(-e,t)):$p(e%yp|0,e/yp|0,t)}function $p(e,t,n){return new up(e,t,n)}var gp=Math.pow;function wp(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return xp;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return zp(wp(e.substring(1),t,n));for(var i=mp(gp(n,8)),o=xp,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);o=Hp(s<8?Vp(o,mp(gp(n,s))):o=Vp(o,i),mp(c))}return o.unsigned=t,o}function vp(e,t){return"number"==typeof e?mp(e,t):"string"==typeof e?wp(e,t):$p(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var yp=4294967296,bp=yp*yp,_p=bp/2,Cp=pp(1<<24),xp=pp(0),kp=pp(0,!0),Sp=pp(1),Ip=pp(1,!0),Ap=pp(-1),Ep=$p(-1,2147483647,!1),Op=$p(-1,-1,!0),Np=$p(0,-2147483648,!1);function Tp(e){return e.unsigned?e.low>>>0:e.low}function Pp(e){return e.unsigned?(e.high>>>0)*yp+(e.low>>>0):e.high*yp+(e.low>>>0)}function Mp(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(Dp(e))return"0";if(Rp(e)){if(Lp(e,Np)){var n=mp(t),r=Zp(e,n),i=Gp(Vp(r,n),e);return Mp(r,t)+Tp(i).toString(t)}return"-"+Mp(zp(e),t)}for(var o=mp(gp(t,6),e.unsigned),a=e,s="";;){var c=Zp(a,o),l=(Tp(Gp(a,Vp(c,o)))>>>0).toString(t);if(Dp(a=c))return l+s;for(;l.length<6;)l="0"+l;s=""+l+s}}function Dp(e){return 0===e.high&&0===e.low}function Rp(e){return!e.unsigned&&e.high<0}function Bp(e){return 1==(1&e.low)}function Lp(e,t){return fp(t)||(t=vp(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function jp(e,t){return Fp(e,t)<0}function Wp(e,t){return Fp(e,t)>0}function Up(e,t){return Fp(e,t)>=0}function Fp(e,t){if(fp(t)||(t=vp(t)),Lp(e,t))return 0;var n=Rp(e),r=Rp(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:Rp(Gp(e,t))?-1:1}function zp(e){return!e.unsigned&&Lp(e,Np)?Np:Hp(function(e){return $p(~e.low,~e.high,e.unsigned)}(e),Sp)}function Hp(e,t){fp(t)||(t=vp(t));var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,a=t.high>>>16,s=65535&t.high,c=t.low>>>16,l=0,u=0,f=0,d=0;return f+=(d+=o+(65535&t.low))>>>16,u+=(f+=i+c)>>>16,l+=(u+=r+s)>>>16,l+=n+a,$p((f&=65535)<<16|(d&=65535),(l&=65535)<<16|(u&=65535),e.unsigned)}function Gp(e,t){return fp(t)||(t=vp(t)),Hp(e,zp(t))}function Vp(e,t){if(Dp(e))return e.unsigned?kp:xp;if(fp(t)||(t=vp(t)),lp)return $p(lp.mul(e.low,e.high,t.low,t.high),lp.get_high(),e.unsigned);if(Dp(t))return e.unsigned?kp:xp;if(Lp(e,Np))return Bp(t)?Np:xp;if(Lp(t,Np))return Bp(e)?Np:xp;if(Rp(e))return Rp(t)?Vp(zp(e),zp(t)):zp(Vp(zp(e),t));if(Rp(t))return zp(Vp(e,zp(t)));if(jp(e,Cp)&&jp(t,Cp))return mp(Pp(e)*Pp(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,a=t.high>>>16,s=65535&t.high,c=t.low>>>16,l=65535&t.low,u=0,f=0,d=0,h=0;return d+=(h+=o*l)>>>16,f+=(d+=i*l)>>>16,d&=65535,f+=(d+=o*c)>>>16,u+=(f+=r*l)>>>16,f&=65535,u+=(f+=i*c)>>>16,f&=65535,u+=(f+=o*s)>>>16,u+=n*l+r*c+i*s+o*a,$p((d&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),e.unsigned)}function Zp(e,t){if(fp(t)||(t=vp(t)),Dp(t))throw Error("division by zero");var n,r,i;if(lp)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?$p((e.unsigned?lp.div_u:lp.div_s)(e.low,e.high,t.low,t.high),lp.get_high(),e.unsigned):e;if(Dp(e))return e.unsigned?kp:xp;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:$p(e.low,e.high,!0)}(t)),Wp(t,e))return kp;if(Wp(t,function(e,t){if(fp(t)&&(t=Tp(t)),0==(t&=63))return e;var n=e.high;return t<32?$p(e.low>>>t|n<<32-t,n>>>t,e.unsigned):$p(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return Ip;i=kp}else{if(Lp(e,Np))return Lp(t,Sp)||Lp(t,Ap)?Np:Lp(t,Np)?Sp:Lp(n=function(e,t){return fp(t)&&(t=Tp(t)),0==(t&=63)?e:t<32?$p(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):$p(0,e.low<<t-32,e.unsigned)}(Zp(function(e,t){return fp(t)&&(t=Tp(t)),0==(t&=63)?e:t<32?$p(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):$p(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),xp)?Rp(t)?Sp:Ap:i=Hp(n,Zp(r=Gp(e,Vp(t,n)),t));if(Lp(t,Np))return e.unsigned?kp:xp;if(Rp(e))return Rp(t)?Zp(zp(e),zp(t)):zp(Zp(zp(e),t));if(Rp(t))return zp(Zp(e,zp(t)));i=xp}for(r=e;Up(r,t);){n=Math.max(1,Math.floor(Pp(r)/Pp(t)));for(var o=Math.ceil(Math.log(n)/Math.LN2),a=o<=48?1:gp(2,o-48),s=mp(n),c=Vp(s,t);Rp(c)||Wp(c,r);)c=Vp(s=mp(n-=a,e.unsigned),t);Dp(s)&&(s=Sp),i=Hp(i,s),r=Gp(r,c)}return i}const qp=Zp,Yp=Pp;function Jp(e){return e<0?Math.ceil(e):Math.floor(e)}function Xp(e=0,t=0,n=0,r=0,i=0){switch(arguments.length){case 1:return Yp(qp(arguments[0],1e4));case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],i=0}return 864e5*e+36e5*t+6e4*n+1e3*r+i}function Kp(e,t){try{return t.contents=function(e){const t=e.search("\\."),n=e.search("\\:");if(-1===t&&-1===n){const t=parseInt(e,0);if(isNaN(t))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return Xp(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,i=0;const o=null!=t[1]&&"-"===t[1]?-1:1,a=+t[4],s=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(i=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return o*Xp(n,a,s,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class Qp extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class em extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class tm{constructor(){this.cache=new Map([])}}function nm(){return new tm}function rm(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function im(e,t){switch(e.tag){case 2:return function(e,t,n,r,i=0){if("string"==typeof e){const n=e;e=en(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,i)+t.substring(i).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],i=arguments.length,o="string"!=typeof arguments[i-1];let a=o?i-3:i-2;for(let e=0;e<a;e++)t.push(arguments[e]);t.index=arguments[a++],t.input=arguments[a++],o&&(t.groups=arguments[a]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let o;const a=t.substring(i),s=nn(e,a),c=nn.length>r?(o=s[r-1],a.substring(0,o.index+o[0].length)):a;return t.substring(0,i)+c.replace(e,n)+t.substring(i+c.length)}return t.replace(e,n)}(rm(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return rm(t)}}function om(e){return e}nm(),nm();const am=null;function sm(e){return Array.from(e)}function cm(e){return Ut(e,"O")}function lm(e){return function(e,t="c",n){if(-1===["c","g","G"].indexOf(t))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return Jp(e/864e5)}(e)),i=Math.abs(function(e){return Jp(e%864e5/36e5)}(e)),o=Math.abs(function(e){return Jp(e%36e5/6e4)}(e)),a=Math.abs(function(e){return Jp(e%6e4/1e3)}(e)),s=Math.abs(function(e){return Jp(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?i:qe(i,2)}:${qe(o,2)}:${qe(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+qe(s,3):"."+function(e,t,n){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(s):""}`}(e)}function um(){return null}function fm(e){return Ut(e,"O")}function dm(e,t){return JSON.stringify(t,ht(2,null),xt(e))}function hm(e,t,n,r){const i=new yt(null);let o;const a=Qf(r);let s;if(o=""===a?e:Xh(a,i,e),dd(r)){const e=Mt((e=>{const r=im(t,Kf(e)),i=pm(o,t,n,e[1]);return t=>o=>{const a=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=a)&&(o[r]=i(a)),o}}),ld(r));s=t=>yr(((e,n)=>n(t)(e)),{},e)}else{if(!fd(r)){let e;const t=Qf(r);throw e=dn(ln("Cannot generate auto encoder for %s. Please pass an extra encoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(t),new Error(e)}s=e=>{const i=function(e,t){const n=cd(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),a=i[0],s=i[1],c=0|s.length;if(0===c)return Kf(a);{const e=0|c,r=pd(a),i=Pt(new Array(e+1),0,e+1,null);i[0]=Kf(a);for(let a=1;a<=e;a++){const e=pm(o,t,n,r[a-1][1]);i[a]=e(s[a-1])}return i}}}return i.contents=s,s}function pm(e,t,n,r){const i=Qf(r),o=Kh(i,e);if(null==o){if(ed(r)){const i=pm(e,t,n,td(r));return e=>sm(_r(i,e))}if(rd(r)){const e=Qf(od(r));if("System.SByte"===e)return e=>e;if("System.Byte"===e)return e=>e;if("System.Int16"===e)return e=>e;if("System.UInt16"===e)return e=>e;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Qf(r);return hn(ln("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\n\nIf you can't use one of these types, please pass an extra encoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders\n "))(e)}}if(nd(r)){if(hd(r)){const i=Mt((r=>pm(e,t,n,r)),ud(r));return e=>{return sm((t=(e,t)=>i[e](t),n=e,gr((()=>ur(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?xt(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Fe(e)}))));var t,n}}{const i=Qf(id(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new Ze((()=>{return i=pm(e,t,n,Bf(r)[0]),e=>{return n=()=>am,null!=(t=Et(i,e))?kt(t):n();var t,n};var i}));return e=>null==e?am:i.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===i||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===i||"System.Collections.Generic.IEnumerable`1[System.Object]"===i){const i=pm(e,t,n,Bf(r)[0]);return e=>sm(_r(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=Bf(r)[0],o=pm(e,t,n,Bf(r)[1]);if("System.String"===Qf(i)||"System.Guid"===Qf(i))return e=>yr(((e,t)=>{const n=t;return e[n[0]]=o(n[1]),e}),{},e);{let r;const a=pm(e,t,n,i);return r=a,e=>sm(_r((e=>{const t=e;return[r(t[0]),o(t[1])]}),e))}}return hm(e,t,n,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?um:"System.String"===i?e=>e:"System.Char"===i?e=>e:"System.SByte"===i?e=>e:"System.Byte"===i?e=>e:"System.Int16"===i?e=>e:"System.UInt16"===i?e=>e:"System.Int32"===i?e=>e:"System.UInt32"===i?e=>e:"System.Double"===i?e=>e:"System.Single"===i?e=>e:"System.DateTime"===i?fm:"System.DateTimeOffset"===i?cm:"System.TimeSpan"===i?lm:"System.Guid"===i?om:"System.Object"===i?e=>e:hm(e,t,n,r)}{const e=o;return t=>e.contents(t)}}function mm(e,t,n,r){const i=At(t,new em(0)),o=At(r,!0);return pm(function(e){return null!=e?Qh(((e,t)=>new yt(t[0])),e.Coders):ep()}(n),i,o,e)}var $m;function gm(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function wm(e,t,n,r,i){const o=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,i]=r;n=n||function(e,t){if(t&$m.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t);const o=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!o.test(i))return function(e,t){const[,n,r,i]=e;return{sign:n||"",prefix:r||"",digits:i,radix:t}}(r,n)}return null}(e,t,i);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[t,i]=gm(!0,r);!n&&10!==o.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[a,s]=gm(n,r);if(e>=a&&e<=s)return e}}throw new Error("Input string was not in a correct format.")}function vm(e,t,n,r,i){try{return i.contents=wm(e,t,n,r),!0}catch(e){return!1}}function ym(e,t){!function(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(t);const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function bm(e,t){try{return t.contents=function(e){const[t,n]=zt(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return ym(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}($m||($m={}));class _m{constructor(e){this.k=e}}function Cm(e){return new _m(e)}function xm(e){return e.k}class km extends _m{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Sm(e,t,n,r){return new km(e,t,n,r)}function Im(e){return e.left}function Am(e){return e.right}function Em(e){return e.h}function Om(e,t){e:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof km){e=Im(r),t=Om(Am(r),n+1);continue e}return n+1|0}return 0|n}}function Nm(e){return Om(e,0)}function Tm(e,t,n){let r,i;r=null!=e?e instanceof km?Em(e):1:0,i=null!=n?n instanceof km?Em(n):1:0;const o=0|(r<i?i:r);return 0===o?Cm(t):Sm(t,e,n,o+1)}function Pm(e,t,n){let r,i,o,a,s,c;if(s=null!=e?e instanceof km?Em(e):1:0,c=null!=n?n instanceof km?Em(n):1:0,c>s+2){const o=kt(n);if(o instanceof km){if(r=Im(o),(null!=r?(i=r,i instanceof km?Em(i):1):0)>s+1){const n=kt(Im(o));if(n instanceof km)return Tm(Tm(e,t,Im(n)),xm(n),Tm(Am(n),xm(o),Am(o)));throw new Error("internal error: Set.rebalance")}return Tm(Tm(e,t,Im(o)),xm(o),Am(o))}throw new Error("internal error: Set.rebalance")}if(s>c+2){const r=kt(e);if(r instanceof km){if(o=Am(r),(null!=o?(a=o,a instanceof km?Em(a):1):0)>c+1){const e=kt(Am(r));if(e instanceof km)return Tm(Tm(Im(r),xm(r),Im(e)),xm(e),Tm(Am(e),t,n));throw new Error("internal error: Set.rebalance")}return Tm(Im(r),xm(r),Tm(Am(r),t,n))}throw new Error("internal error: Set.rebalance")}return Tm(e,t,n)}function Mm(e,t,n){if(null!=n){const r=n,i=0|e.Compare(t,xm(r));if(r instanceof km)return i<0?Pm(Mm(e,t,Im(r)),xm(r),Am(r)):0===i?n:Pm(Im(r),xm(r),Mm(e,t,Am(r)));{const i=0|e.Compare(t,xm(r));return i<0?Sm(t,void 0,n,2):0===i?n:Sm(t,n,void 0,2)}}return Cm(t)}function Dm(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,a=0|r.Compare(i,xm(o));if(o instanceof km){if(a<0){e=r,t=i,n=Im(o);continue e}if(0===a)return!0;e=r,t=i,n=Am(o);continue e}return 0===a}return!1}}function Rm(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof km){Rm(n,Im(r)),n(xm(r)),e=n,t=Am(r);continue e}n(xm(r))}break}}class Bm extends vt{constructor(e,t){super(),this.stack=e,this.started=t}}function Lm(e){e:for(;;){const t=e;if(Bn(t))return Mn();{const n=jn(t),r=Wn(t);if(null!=n){const i=n;if(i instanceof km){e=Gn([Im(i),Cm(xm(i)),Am(i)],r);continue e}return t}e=r;continue e}}}function jm(e){return new Bm(Lm(Rn(e)),!1)}function Wm(e){if(e.started){const t=e.stack;if(Bn(t))return function(){throw new Error("Enumeration already started")}();if(null!=jn(t))return xm(jn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Um(e){let t=jm(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Wm(t),"System.Collections.IEnumerator.get_Current":()=>Wm(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Bn(t))return!1;if(null!=jn(t)){if(jn(t)instanceof km)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Lm(Wn(t)),!Bn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Bn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=jm(e)},Dispose(){}}}function Fm(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,i=t,o=n,a=[i,o];if(Bn(a[0]))return Bn(a[1])?0:-1;if(Bn(a[1]))return 1;if(null!=jn(a[1]))if(null!=jn(a[0])){const s=jn(a[0]),c=jn(a[1]);if(s instanceof km)if(null==Im(s)){if(!(c instanceof km)){const i=0|r.Compare(xm(s),xm(c));if(0!==i)return 0|i;e=r,t=Dn(Am(s),Wn(a[0])),n=Dn(void 0,Wn(a[1]));continue e}if(null==Im(c)){const i=0|r.Compare(xm(s),xm(c));if(0!==i)return 0|i;e=r,t=Dn(Am(s),Wn(a[0])),n=Dn(Am(c),Wn(a[1]));continue e}{const a=[i,o];let s,c,l,u,f;switch(Bn(a[0])?Bn(a[1])?s=2:null!=jn(a[1])?(s=1,u=Wn(a[1]),f=jn(a[1])):s=2:null!=jn(a[0])?(s=0,c=Wn(a[0]),l=jn(a[0])):Bn(a[1])?s=2:null!=jn(a[1])?(s=1,u=Wn(a[1]),f=jn(a[1])):s=2,s){case 0:if(l instanceof km){e=r,t=Gn([Im(l),Sm(xm(l),void 0,Am(l),0)],c),n=o;continue e}e=r,t=Gn([void 0,Cm(xm(l))],c),n=o;continue e;case 1:if(f instanceof km){e=r,t=i,n=Gn([Im(f),Sm(xm(f),void 0,Am(f),0)],u);continue e}e=r,t=i,n=Gn([void 0,Cm(xm(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[i,o];let s,c,l,u,f;switch(Bn(a[0])?Bn(a[1])?s=2:null!=jn(a[1])?(s=1,u=Wn(a[1]),f=jn(a[1])):s=2:null!=jn(a[0])?(s=0,c=Wn(a[0]),l=jn(a[0])):Bn(a[1])?s=2:null!=jn(a[1])?(s=1,u=Wn(a[1]),f=jn(a[1])):s=2,s){case 0:if(l instanceof km){e=r,t=Gn([Im(l),Sm(xm(l),void 0,Am(l),0)],c),n=o;continue e}e=r,t=Gn([void 0,Cm(xm(l))],c),n=o;continue e;case 1:if(f instanceof km){e=r,t=i,n=Gn([Im(f),Sm(xm(f),void 0,Am(f),0)],u);continue e}e=r,t=i,n=Gn([void 0,Cm(xm(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof km)){const i=0|r.Compare(xm(s),xm(c));if(0!==i)return 0|i;e=r,t=Wn(a[0]),n=Wn(a[1]);continue e}if(null==Im(c)){const i=0|r.Compare(xm(s),xm(c));if(0!==i)return 0|i;e=r,t=Dn(void 0,Wn(a[0])),n=Dn(Am(c),Wn(a[1]));continue e}{const a=[i,o];let s,c,l,u,f;switch(Bn(a[0])?Bn(a[1])?s=2:null!=jn(a[1])?(s=1,u=Wn(a[1]),f=jn(a[1])):s=2:null!=jn(a[0])?(s=0,c=Wn(a[0]),l=jn(a[0])):Bn(a[1])?s=2:null!=jn(a[1])?(s=1,u=Wn(a[1]),f=jn(a[1])):s=2,s){case 0:if(l instanceof km){e=r,t=Gn([Im(l),Sm(xm(l),void 0,Am(l),0)],c),n=o;continue e}e=r,t=Gn([void 0,Cm(xm(l))],c),n=o;continue e;case 1:if(f instanceof km){e=r,t=i,n=Gn([Im(f),Sm(xm(f),void 0,Am(f),0)],u);continue e}e=r,t=i,n=Gn([void 0,Cm(xm(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{jn(a[1]);const s=[i,o];let c,l,u,f,d;switch(Bn(s[0])?Bn(s[1])?c=2:null!=jn(s[1])?(c=1,f=Wn(s[1]),d=jn(s[1])):c=2:null!=jn(s[0])?(c=0,l=Wn(s[0]),u=jn(s[0])):Bn(s[1])?c=2:null!=jn(s[1])?(c=1,f=Wn(s[1]),d=jn(s[1])):c=2,c){case 0:if(u instanceof km){e=r,t=Gn([Im(u),Sm(xm(u),void 0,Am(u),0)],l),n=o;continue e}e=r,t=Gn([void 0,Cm(xm(u))],l),n=o;continue e;case 1:if(d instanceof km){e=r,t=i,n=Gn([Im(d),Sm(xm(d),void 0,Am(d),0)],f);continue e}e=r,t=i,n=Gn([void 0,Cm(xm(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==jn(a[0])){e=r,t=Wn(a[0]),n=Wn(a[1]);continue e}{jn(a[0]);const s=[i,o];let c,l,u,f,d;switch(Bn(s[0])?Bn(s[1])?c=2:null!=jn(s[1])?(c=1,f=Wn(s[1]),d=jn(s[1])):c=2:null!=jn(s[0])?(c=0,l=Wn(s[0]),u=jn(s[0])):Bn(s[1])?c=2:null!=jn(s[1])?(c=1,f=Wn(s[1]),d=jn(s[1])):c=2,c){case 0:if(u instanceof km){e=r,t=Gn([Im(u),Sm(xm(u),void 0,Am(u),0)],l),n=o;continue e}e=r,t=Gn([void 0,Cm(xm(u))],l),n=o;continue e;case 1:if(d instanceof km){e=r,t=i,n=Gn([Im(d),Sm(xm(d),void 0,Am(d),0)],f);continue e}e=r,t=i,n=Gn([void 0,Cm(xm(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Rn(t),Rn(n))}function zm(e,t,n){let r=n;Rm((e=>{t[r]=e,r=r+1|0}),e)}function Hm(e,t){if(je(t))return function(e,t){return Dt(((t,n)=>Mm(e,n,t)),void 0,t)}(e,t);if(t instanceof Sn)return function(e,t){return Fn(((t,n)=>Mm(e,n,t)),void 0,t)}(e,t);{const n=Ge(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;e=r,t=Mm(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),n=o}}(e,void 0,n)}finally{Fe(n)}}}class Gm{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=Ge(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|tt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{Fe(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof Gm&&0===Fm(Vm(this),Zm(this),Zm(e))}toString(){return"set ["+vn("; ",_r((e=>gt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|Fm(Vm(this),Zm(this),Zm(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Dm(Vm(this),e,Zm(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){zm(Zm(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|qm(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|qm(this)}GetEnumerator(){return Um(Zm(this))}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Um(Zm(this))}get size(){return 0|qm(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return function(e,t){return Dm(Vm(e),t,Zm(e))}(this,e)}keys(){return _r((e=>e),this)}values(){return _r((e=>e),this)}entries(){return _r((e=>[e,e]),this)}forEach(e,t){const n=this;br((t=>{e(t,t,n)}),n)}}function Vm(e){return e.comparer}function Zm(e){return e.tree}function qm(e){return Nm(Zm(e))}function Ym(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?"\n":" ")+JSON.stringify(t,null,4)}catch(t){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function Jm(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new fo(1,function(e,t){const n=2===t.tag?Ym(t.fields[0],t.fields[1],!0):1===t.tag?Ym(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?Ym(t.fields[0],t.fields[1],!0):4===t.tag?Ym(t.fields[0],t.fields[1],!0)+"\nNode `"+t.fields[2]+"` is unkown.":5===t.tag?"Expecting "+t.fields[0]+".\n"+JSON.stringify(t.fields[1],null,4):7===t.tag?"The following errors were found:\n\n"+vn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:Ym(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new fo(0,r.fields[0])}function Xm(e,t){try{return Jm("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new fo(1,"Given an invalid JSON: "+e.message);throw e}}function Km(e,t){return"string"==typeof t?new fo(0,t):new fo(1,[e,new Qp(0,"a string",t)])}const Qm=e=>t=>{const n="a sbyte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new fo(0,(e+128&255)-128):new fo(1,[r,new Qp(1,n,e,"Value was either too large or too small for "+n)]):new fo(1,[r,new Qp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[vm(i,511,!1,8,new yt((()=>t),(e=>{t=0|e}))),t],e[0]?new fo(0,e[1]):new fo(1,[r,new Qp(0,n,i)])}return new fo(1,[r,new Qp(0,n,i)])},e$=e=>t=>{const n="a byte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new fo(0,255&e):new fo(1,[r,new Qp(1,n,e,"Value was either too large or too small for "+n)]):new fo(1,[r,new Qp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[vm(i,511,!0,8,new yt((()=>t),(e=>{t=e}))),t],e[0]?new fo(0,e[1]):new fo(1,[r,new Qp(0,n,i)])}return new fo(1,[r,new Qp(0,n,i)])},t$=e=>t=>{const n="an int16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new fo(0,(e+32768&65535)-32768):new fo(1,[r,new Qp(1,n,e,"Value was either too large or too small for "+n)]):new fo(1,[r,new Qp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[vm(i,511,!1,16,new yt((()=>t),(e=>{t=0|e}))),t],e[0]?new fo(0,e[1]):new fo(1,[r,new Qp(0,n,i)])}return new fo(1,[r,new Qp(0,n,i)])},n$=e=>t=>{const n="an uint16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new fo(0,65535&e):new fo(1,[r,new Qp(1,n,e,"Value was either too large or too small for "+n)]):new fo(1,[r,new Qp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[vm(i,511,!0,16,new yt((()=>t),(e=>{t=e}))),t],e[0]?new fo(0,e[1]):new fo(1,[r,new Qp(0,n,i)])}return new fo(1,[r,new Qp(0,n,i)])},r$=e=>t=>{const n="an int",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new fo(0,~~e):new fo(1,[r,new Qp(1,n,e,"Value was either too large or too small for "+n)]):new fo(1,[r,new Qp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[vm(i,511,!1,32,new yt((()=>t),(e=>{t=0|e}))),t],e[0]?new fo(0,e[1]):new fo(1,[r,new Qp(0,n,i)])}return new fo(1,[r,new Qp(0,n,i)])},i$=e=>t=>{const n="an uint32",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new fo(0,e>>>0):new fo(1,[r,new Qp(1,n,e,"Value was either too large or too small for "+n)]):new fo(1,[r,new Qp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[vm(i,511,!0,32,new yt((()=>t),(e=>{t=e}))),t],e[0]?new fo(0,e[1]):new fo(1,[r,new Qp(0,n,i)])}return new fo(1,[r,new Qp(0,n,i)])};function o$(e,t,n,r){let i;const o=n+".["+Je(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(o,n[e]):new fo(1,[o,new Qp(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(i=n.length,Je(i)+"` entries"),r)])}return new fo(1,[o,new Qp(0,"an array",r)])}function a$(e,t,n){if(Array.isArray(n)){let r=-1;return ho(zn,Dt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Je(r)+"]",i);return 0===o.tag?new fo(0,Dn(o.fields[0],n.fields[0])):new fo(1,o.fields[0])}return n}),new fo(0,Mn()),n))}return new fo(1,[t,new Qp(0,"a list",n)])}function s$(e,t,n){if(Array.isArray(n)){let r=-1;const i=n;return Dt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=n.fields[0],a=e(t+".["+Je(r)+"]",i);return 0===a.tag?(o[r]=a.fields[0],new fo(0,o)):new fo(1,a.fields[0])}return n}),new fo(0,Pt(new Array(i.length),0,i.length,null)),i)}return new fo(1,[t,new Qp(0,"an array",n)])}function c$(e,t,n,r){const i=t(n,r);return 0===i.tag?e(i.fields[0],n,r):new fo(1,i.fields[0])}function l$(e,t){let n;const r=e;return n=e=>t=>o$(0,r,e,t),e=>r=>c$(ht(3,(e=>{let n;const r=t;return n=e=>t=>o$(1,r,e,t),t=>r=>c$(((t,n,r)=>new fo(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function u$(e){return Zh(e)}function f$(e){return function(e,t){return new Gm(e,t)}(t={Compare:lt},Hm(t,e));var t}function d$(e,t,n,r){let i;const o=t.length+e|0;if(o!==r.length)return new fo(1,[n,new Qp(6,(i=0|r.length,dn(ln("Expected array of length %i but got %i"))(o)(i)))]);{let i=new fo(0,Mn());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const a=i.fields[0],s=dn(ln("%s[%i]"))(n)(o),c=t[o-e],l=r[o];i=ho((e=>Dn(e,a)),c(s)(l))}return ho(zn,i)}}function h$(e,t,n,r,i,o){const a=function(e,t){return t.find((e=>Kf(e)===r))}(0,cd(n));if(null!=a){const n=a,r=Mt((n=>m$(e,t,!1,n[1])),pd(n));return ho((e=>function(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}(n,Un(e))),0===r.length&&o.length<=1?new fo(0,Mn()):d$(1,r,i,o))}return new fo(1,[i,new Qp(6,"Cannot find case "+r+" in "+Qf(n))])}function p$(e,t,n,r){const i=new yt(null);let o;const a=Qf(r);let s;if(o=""===a?e:Xh(a,i,e),dd(r)){const e=Mt((e=>[im(t,Kf(e)),m$(o,t,!1,e[1])]),ld(r));s=t=>n=>ho((e=>function(e,t){const n=ld(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce(((e,[n,r],i)=>(e[n]=t[i],e)),{})}(r,Un(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new fo(1,[t,new Qp(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ht(2,(e=>{const r=e[0];return i=>0===i.tag?ho((e=>Dn(e,i.fields[0])),e[1](t+"."+r)(n[r])):i})),e,new fo(0,Mn()))}(e,t,n))}else if(fd(r))s=e=>n=>{if("string"==typeof n)return h$(o,t,r,n,e,[]);if(Array.isArray(n)){const i=n;return po((n=>h$(o,t,r,n,e,i)),Km(e+"[0]",i[0]))}return new fo(1,[e,new Qp(0,"a string or array",n)])};else{if(!n){let e;const t=Qf(r);throw e=dn(ln("Cannot generate auto decoder for %s. Please pass an extra decoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(t),new Error(e)}s=e=>t=>new fo(1,[e,new Qp(2,"an extra coder for "+Qf(r),t)])}return i.contents=s,s}function m$(e,t,n,r){let i,o,a,s;const c=Qf(r),l=Kh(c,e);if(null==l){if(ed(r)){const n=m$(e,t,!1,td(r));return e=>t=>s$(ht(2,n),e,t)}if(rd(r)){const e=Qf(od(r));if("System.SByte"===e)return e=>t=>{const n=r,i=e,o=t,a=Qm(i)(o);if(1===a.tag)return new fo(1,a.fields[0]);{const e=a.fields[0];return vr(e,ad(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new fo(0,sd(n,e.toString())):new fo(1,[i,new Qp(1,Qf(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,i=e,o=t,a=e$(i)(o);if(1===a.tag)return new fo(1,a.fields[0]);{const e=a.fields[0];return vr(e,ad(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new fo(0,sd(n,e.toString())):new fo(1,[i,new Qp(1,Qf(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,i=e,o=t,a=t$(i)(o);if(1===a.tag)return new fo(1,a.fields[0]);{const e=a.fields[0];return vr(e,ad(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new fo(0,sd(n,e.toString(s))):new fo(1,[i,new Qp(1,Qf(n),o,"Unkown value provided for the enum")])}var s};if("System.UInt16"===e)return e=>t=>{const n=r,i=e,o=t,a=n$(i)(o);if(1===a.tag)return new fo(1,a.fields[0]);{const e=a.fields[0];return vr(e,ad(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new fo(0,sd(n,e.toString())):new fo(1,[i,new Qp(1,Qf(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,i=e,o=t,a=r$(i)(o);if(1===a.tag)return new fo(1,a.fields[0]);{const e=a.fields[0];return vr(e,ad(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new fo(0,sd(n,Je(e))):new fo(1,[i,new Qp(1,Qf(n),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,i=e,o=t,a=i$(i)(o);if(1===a.tag)return new fo(1,a.fields[0]);{const e=a.fields[0];return vr(e,ad(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new fo(0,sd(n,e.toString())):new fo(1,[i,new Qp(1,Qf(n),o,"Unkown value provided for the enum")])}};{const e=Qf(r),t=hn(ln("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>t(e)}}if(nd(r)){if(hd(r)){const n=Mt((n=>m$(e,t,!1,n)),ud(r));return e=>t=>Array.isArray(t)?ho((e=>Un(e)),d$(0,n,e,t)):new fo(1,[e,new Qp(0,"an array",t)])}{const c=Qf(id(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=m$(e,t,!0,Bf(r)[0]),e=>t=>{return n=ht(2,i),r=e,null==(o=t)?new fo(0,void 0):ho(xt,n(r,o));var n,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=m$(e,t,!1,Bf(r)[0]),e=>t=>a$(ht(2,o),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return a=m$(e,t,!1,Bf(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return ho(Cr,Dt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Je(r)+"]",i);return 0===o.tag?new fo(0,wr([o.fields[0]],n.fields[0])):new fo(1,o.fields[0])}return n}),new fo(0,[]),n))}return new fo(1,[t,new Qp(0,"a seq",n)])}(ht(2,a),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const n=m$(e,t,!1,Bf(r)[0]),i=m$(e,t,!1,Bf(r)[1]);let o;const a=Vn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new fo(1,[n,new Qp(0,"an object",r)]):yr(((i,o)=>{if(0===i.tag){const a=e(n,o);if(0===a.tag){const e=t(n+"."+o,r[o]);return 0===e.tag?new fo(0,Dn([a.fields[0],e.fields[0]],i.fields[0])):new fo(1,e.fields[0])}return new fo(1,a.fields[0])}return i}),new fo(0,Mn()),Object.keys(r))}(ht(2,n),ht(2,i),e,t),(s=l$(ht(2,n),ht(2,i)),e=>t=>a$(ht(2,s),e,t))]);return o=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const i=e,o=t;if(Bn(i))return new fo(1,[n,new Qp(7,o)]);{const a=Jm(n,ht(2,jn(i)),r);if(1===a.tag){e=Wn(i),t=Zn(o,Rn(a.fields[0]));continue e}return new fo(0,a.fields[0])}}})(a,Mn());var n,r},e=>t=>function(e,t,n,r){const i=t(n,r);return 1===i.tag?new fo(1,i.fields[0]):new fo(0,e(i.fields[0]))}(u$,ht(2,o),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const n=m$(e,t,!1,Bf(r)[0]);return e=>t=>{const r=s$(ht(2,n),e,t);return 0===r.tag?new fo(0,f$(r.fields[0])):new fo(1,r.fields[0])}}return p$(e,t,n,r)}}return"System.Boolean"===c?e=>t=>{return n=e,"boolean"==typeof(r=t)?new fo(0,r):new fo(1,[n,new Qp(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===c?e=>t=>{return n=e,null==(r=t)?new fo(0,void 0):new fo(1,[n,new Qp(0,"null",r)]);var n,r}:"System.String"===c?e=>t=>Km(e,t):"System.Char"===c?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new fo(0,n[0]):new fo(1,[e,new Qp(0,"a single character string",t)])}return new fo(1,[e,new Qp(0,"a char",t)])}(e,t):"System.SByte"===c?Qm:"System.Byte"===c?e$:"System.Int16"===c?t$:"System.UInt16"===c?n$:"System.Int32"===c?r$:"System.UInt32"===c?i$:"System.Double"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new fo(0,r):new fo(1,[n,new Qp(0,"a float",r)]);var n,r}:"System.Single"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new fo(0,r):new fo(1,[n,new Qp(0,"a float32",r)]);var n,r}:"System.DateTime"===c?e=>t=>function(e,t){if("string"==typeof t){let r,i=Ft(-621355968e5,0);return r=[Ht(t,new yt((()=>i),(e=>{i=e}))),i],r[0]?new fo(0,1===(n=r[1]).kind?n:Ft(n.getTime(),1)):new fo(1,[e,new Qp(0,"a datetime",t)])}var n;return new fo(1,[e,new Qp(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=ym(-621355968e5,0);return n=[bm(t,new yt((()=>r),(e=>{r=e}))),r],n[0]?new fo(0,n[1]):new fo(1,[e,new Qp(0,"a datetimeoffset",t)])}return new fo(1,[e,new Qp(0,"a datetime",t)])}(e,t):"System.TimeSpan"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Kp(t,new yt((()=>r),(e=>{r=e}))),r],n[0]?new fo(0,n[1]):new fo(1,[e,new Qp(0,"a timespan",t)])}return new fo(1,[e,new Qp(0,"a timespan",t)])}(e,t):"System.Guid"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[eo(t,new yt((()=>r),(e=>{r=e}))),r],n[0]?new fo(0,n[1]):new fo(1,[e,new Qp(0,"a guid",t)])}return new fo(1,[e,new Qp(0,"a guid",t)])}(e,t):"System.Object"===c?e=>e=>new fo(0,e):p$(e,t,n,r)}{const e=l;return t=>n=>e.contents(t)(n)}}function $$(e,t,n){const r=At(t,new em(0));return m$(function(e){return null!=e?Qh(((e,t)=>new yt(t[1])),e.Coders):ep()}(n),r,!1,e)}class g${constructor(e){this.magicLink=e,this.backendUrl=`${ch}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function w$(e,t){return Os.Delay((()=>{let e;const n=cp(t);return e=Os.Bind(n,(e=>Os.Return(new fo(0,e)))),Os.Bind(e,(e=>{const n=e;if(1===n.tag)return Os.Return(new fo(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){let e;const n=Ds(2e3);return e=Os.Bind(n,(()=>Os.Return(new fo(0,x$0027_1)))),Os.Bind(e,(e=>{const n=e;if(1===n.tag)return Os.Return(new fo(1,n.fields[0]));{const e=cp(t);return Os.Bind(e,(e=>Os.Return(new fo(0,e))))}}))}return Os.Return(new fo(0,e))}}))}))}class v$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function y$(e){return new v$(0,e)}class b$ extends vt{constructor(e,t,n,r,i,o){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=i,this.token_type=o}}function _$(){return Uf("Workflows.UI.Auth.Types.Credentials",[],b$,(()=>[["id_token",qf],["access_token",qf],["expires_in",Xf],["refresh_token",Gf(qf)],["scope",qf],["token_type",qf]]))}class C$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn","SignInWithCurrentAuth","NavigateToOnboarding"]}}function x$(){return[new Zd(Mn(),new Gd(0),void 0,new yd(0,new _d(void 0))),gf(new qd(1,new Fd(0)))]}function k$(e,t,n,r,i){let o,a,s,c;const l=function(e){return new g$(e)}(e);if(1===r.tag){if(1===r.fields[0].tag){if(1===r.fields[0].fields[0].tag)return[i,gf(new qd(0,new Gd(6,new Hd(5))))];{let e;const t=r.fields[0].fields[0].fields[0].Outcome;switch(t.tag){case 1:{const n=t.fields[0],r=[n.IsInitialMagicLinkUsed,n.OneTimeCodeOptionAvailable];e=r[0]?r[1]?new qd(0,new Gd(1,n.FirstName,new Vd(1))):new qd(0,new Gd(1,n.FirstName,new Vd(0))):r[1]?new qd(3,!1,new Fd(0)):new qd(0,new Gd(4));break}case 4:e=new qd(0,new Gd(5));break;case 2:case 7:e=new qd(0,new Gd(6,new Hd(2)));break;case 3:e=new qd(0,new Gd(6,new Hd(4)));break;case 5:e=new qd(0,new Gd(6,new Hd(3)));break;case 6:e=new qd(0,new Gd(6,new Hd(1)));break;default:{const r=t.fields[0];r.IsInitialMagicLinkUsed?(n(y$(r.AuthCode)),e=new qd(0,new Gd(1,r.FirstName,new Vd(2)))):e=new qd(6,r.AuthCode)}}return[new Zd(r.fields[0].fields[0].fields[0].CssOverrides,i.Page,Sd(r.fields[0].fields[0].fields[0].Outcome),At(Id(r.fields[0].fields[0].fields[0].Outcome),i.JourneyType)),gf(e)]}}return[i,wf((e=>{yf(e)}),(()=>function(e){return Os.Delay((()=>{let t,n;const r=w$(0,(t=op(new ph(1),ip(`${e.backendUrl}/magic-link/validate`)),sp(new $h(1,(n=new xd(e.magicLink.MagicCode),dm(0,mm(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],xd,(()=>[["MagicCode",qf]])),new em(1),void 0,void 0)(n)))),t)));return Os.Bind(r,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Xm(ht(2,$$(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],Ad,(()=>[["CssOverrides",Vf(qf)],["Outcome",zf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],kd,(()=>[[["Item",Ff(["AuthCode",qf],["Branding",Gf(wd())],["FirstName",qf],["IsInitialMagicLinkUsed",Yf],["JourneyType",bd()])]],[["Item",Ff(["Branding",Gf(wd())],["FirstName",qf],["IsInitialMagicLinkUsed",Yf],["JourneyType",bd()],["OneTimeCodeOptionAvailable",Yf])]],[["Item",Ff(["Branding",Gf(wd())],["JourneyType",bd()])]],[["Item",Ff(["Branding",Gf(wd())],["JourneyType",bd()])]],[["Item",Ff(["Branding",Gf(wd())],["JourneyType",bd()])]],[["Item",Ff(["Branding",Gf(wd())],["JourneyType",bd()])]],[["Item",Ff(["Branding",Gf(wd())],["JourneyType",bd()])]],[]]))]])),new em(1),void 0)),n.responseText):new fo(1,"Unexpected response from backend"),Os.Return(e)}}))}))}(l)),void 0,(e=>new qd(1,new Fd(1,e))),(e=>new qd(1,new Fd(1,new fo(1,e.message)))))]}return 2===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,gf(new qd(0,new Gd(6,new Hd(5))))]:[i,gf(new qd(0,(o=r.fields[1].fields[0].fields[0].Outcome,2===o.tag?new Gd(2,o.fields[0].MaskedEmail):1===o.tag||5===o.tag?new Gd(6,new Hd(2)):3===o.tag?new Gd(6,new Hd(4)):4===o.tag?new Gd(6,new Hd(1)):6===o.tag?new Gd(5):7===o.tag?new Gd(6,new Hd(3)):new Gd(2,o.fields[0].MaskedEmail))))]:[i,wf((e=>{yf(e)}),(e=>function(e,t){return Os.Delay((()=>{let n,r;const i=w$(0,(n=op(new ph(1),ip(`${e.backendUrl}/magic-link/reissue`)),sp(new $h(1,(r=new Ed(e.magicLink.MagicCode,t),dm(0,mm(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],Ed,(()=>[["MagicCode",qf],["IsChange",Yf]])),new em(1),void 0,void 0)(r)))),n)));return Os.Bind(i,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Xm(ht(2,$$(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],Nd,(()=>[["Outcome",zf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],Od,(()=>[[["Item",Ff(["MaskedEmail",qf])]],[],[["Item",Ff(["MaskedEmail",qf])]],[],[],[],[],[]]))]])),new em(1),void 0)),n.responseText):new fo(1,"Unexpected response from backend"),Os.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new qd(2,r.fields[0],new Fd(1,e))),(e=>new qd(2,r.fields[0],new Fd(1,new fo(1,e.message)))))]:3===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,gf(new qd(0,new Gd(6,new Hd(5))))]:[i,gf(new qd(0,(a=r.fields[1].fields[0].fields[0].Outcome,1===a.tag?new Gd(4):2===a.tag?new Gd(6,new Hd(0)):3===a.tag?r.fields[0]?i.Page:new Gd(3,a.fields[0].MaskedPhone):4===a.tag||7===a.tag?new Gd(6,new Hd(2)):5===a.tag?new Gd(6,new Hd(4)):6===a.tag?new Gd(6,new Hd(1)):8===a.tag?new Gd(5):9===a.tag?new Gd(6,new Hd(3)):r.fields[0]?i.Page:new Gd(3,a.fields[0].MaskedPhone))))]:[i,wf((e=>{yf(e)}),(e=>function(e,t){return Os.Delay((()=>{let n,r;const i=w$(0,(n=op(new ph(1),ip(`${e.backendUrl}/one-time-code/issue`)),sp(new $h(1,(r=new Td(e.magicLink.MagicCode,t),dm(0,mm(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],Td,(()=>[["MagicCode",qf],["IsResend",Yf]])),new em(1),void 0,void 0)(r)))),n)));return Os.Bind(i,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Xm(ht(2,$$(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],Md,(()=>[["Outcome",zf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],Pd,(()=>[[["Item",Ff(["MaskedPhone",qf])]],[],[],[["Item",Ff(["MaskedPhone",qf])]],[],[],[],[],[],[]]))]])),new em(1),void 0)),n.responseText):new fo(1,"Unexpected response from backend"),Os.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new qd(3,r.fields[0],new Fd(1,e))),(e=>new qd(3,r.fields[0],new Fd(1,new fo(1,e.message)))))]:4===r.tag?1===r.fields[2].tag?1===r.fields[2].fields[0].tag?[i,gf(new qd(0,new Gd(6,new Hd(5))))]:[i,(s=r.fields[2].fields[0].fields[0].Outcome,1===s.tag?s.fields[0].RemainingAttempts>0?(r.fields[1]({AttemptsRemaining:s.fields[0].RemainingAttempts}),hf()):gf(new qd(0,new Gd(6,new Hd(0)))):5===s.tag?gf(new qd(0,new Gd(6,new Hd(0)))):2===s.tag||3===s.tag||4===s.tag?(r.fields[1]({AttemptsRemaining:void 0}),hf()):6===s.tag?gf(new qd(0,new Gd(6,new Hd(4)))):7===s.tag?gf(new qd(0,new Gd(6,new Hd(1)))):8===s.tag?gf(new qd(0,new Gd(6,new Hd(2)))):9===s.tag?gf(new qd(0,new Gd(5))):10===s.tag?gf(new qd(0,new Gd(6,new Hd(0)))):gf(new qd(6,s.fields[0].AuthCode)))]:[i,wf((e=>{yf(e)}),(e=>function(e,t){return Os.Delay((()=>{let n,r;const i=w$(0,(n=op(new ph(1),ip(`${e.backendUrl}/one-time-code/validate`)),sp(new $h(1,(r=new Dd(t),dm(0,mm(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],Dd,(()=>[["OneTimeCode",Jf]])),new em(1),void 0,void 0)(r)))),n)));return Os.Bind(i,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Xm(ht(2,$$(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],Bd,(()=>[["Outcome",zf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],Rd,(()=>[[["Item",Ff(["AuthCode",qf])]],[["Item",Ff(["RemainingAttempts",Jf])]],[],[],[],[],[],[],[],[],[]]))]])),new em(1),void 0)),n.responseText):new fo(1,"Unexpected response from backend"),Os.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new qd(4,r.fields[0],r.fields[1],new Fd(1,e))),(e=>new qd(4,r.fields[0],r.fields[1],new Fd(1,new fo(1,e.message)))))]:5===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,gf(new qd(0,new Gd(6,new Hd(5))))]:[i,gf((c=r.fields[1].fields[0].fields[0].Outcome,1===c.tag||4===c.tag?new qd(0,new Gd(6,new Hd(2))):2===c.tag?new qd(0,new Gd(6,new Hd(4))):3===c.tag?new qd(0,new Gd(6,new Hd(1))):5===c.tag?new qd(0,new Gd(5)):6===c.tag?new qd(0,new Gd(6,new Hd(0))):1===r.fields[0].tag?new qd(3,!1,new Fd(0)):2===r.fields[0].tag?new qd(6,void 0):new qd(2,!1,new Fd(0))))]:[i,wf((e=>{yf(e)}),(e=>function(e,t){return Os.Delay((()=>{let n,r;const i=w$(0,(n=op(new ph(1),ip(`${e.backendUrl}/progress`)),sp(new $h(1,(r=new Ld(e.magicLink.MagicCode,t),dm(0,mm(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],Ld,(()=>[["MagicCode",qf],["IsPassThrough",Yf]])),new em(1),void 0,void 0)(r)))),n)));return Os.Bind(i,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Xm(ht(2,$$(Uf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],Wd,(()=>[["Outcome",zf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],jd,(()=>[[],[],[],[],[],[],[]]))]])),new em(1),void 0)),n.responseText):new fo(1,"Unexpected response from backend"),Os.Return(e)}}))}))}(l,e)),1!==r.fields[0].tag&&2===r.fields[0].tag,(e=>new qd(5,r.fields[0],new Fd(1,e))),(e=>new qd(5,r.fields[0],new Fd(1,new fo(1,e.message)))))]:6===r.tag?(t(Et(y$,r.fields[0])),[i,hf()]):[new Zd(i.CssOverrides,r.fields[0],i.Branding,i.JourneyType),hf()]}const S$=function(){const e=[..."#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$I%$)L$$%%$$P$$$%$%$$+>''%.)&%$%%.$$$%C$-8-'%$$$*$$)%%$'%-&%$1$$$$A>%|.$1-D,%$&$%$%9'$,$&$(%2$<&%$$.X8$5.2$C$Y$$$$&+'$%$*-%%-$$2$%$+%%%9$*$$&'%$$&'%%%%$$+$'%$&%%-%%)$$$$$%%$$)'%%9$*$%$%$%%$$&%'%%&&$*'$$*-%&$$-%$$,$&$9$*$%$(%$$&($%$$%$%$2%%%-$$*$)$$%$+%%%9$*$%$(%$$$$$'%%%%$*%$'%$&%%-$$)-$$$)&&$'&%$$$%&%&&&/'%$%&&$&$%$)$1-&)$$($&$+$&$:$3&$&'$&$'*%$&(%%%-*$*$$$%$+$&$:$-$(%$$$$($$%$%%*%*$$%%%-$%0%%,$&$L%$&'$&$&$$$'&$*&%%-,$)$$%$5&;$,$$%*&$'&&$$$+)-%%$/S$%*'$)$+$-%H%$$$($;$$$-$%,$%($$$)%-%'C$&2$$&%)--$$$$$$$$$$%+$G'1$($%(.$G$+$)$%('%HN%'$)$%%%$-))%%'&$&%*&'0$%%)$$$-&$%I$$($%N$$&Ŭ$'%*$$$'%L$'%D$'%*$$$'%2$\\$'%f%&,7&3-)y%)%$ʏ$$4$=$$&n&&+*0$'&.5&%,5%/0$&$%/W%$*+$%.&$&$$$%-)-))$'&$$-)F$X*(%E$$(i-B$&'%&'%$)&'$&%-A%(.O'=)-$&E:%%$%%X$$$*$$$$%+)-%$-)-)*$)%1$%b'$R$$($$($%*'-*-,,&%$A$'%%$&%-O$$%&$$&%+'G++%%&(-&&-A)%,*N%&++&$0$*'$)$%$%$(Ob0$EH]$($$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,+)%)%++++)%)%+$$$$$$$$++1%++++++($%'$$$&&$%'$&'%%'$&+(&%&$%'$%$.()%$$$%$$$+$$($,$$'%&$$$.$$$-$($-$$%)&$$$-&$$$0&C30'$&/2%$'$%$&%&$$$%$()$$$$$$'$$'$'$%%%($'$$%$$3F$$'$%'((%'$%$%$*$B%%$$$Bį+$$$$7%*$$t$A<K)h<.8_q9Ú$,$Y+$ě$$$$$$$$$$$$$$AO($$B$$$$$$$$$$3ģ¦$$$$$$$$$$$$$$$$$$$$$$b$$$$C$$ĥS8%)J%C$R$R$$$&%$$$$$$'$$%$)%&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%)$$$$&$$('$%I$$($%[*$$1$:,*$*$*$*$*$*$*$*$C%$$$$&$$$$$,$%$$$$%$$$$$$$$$$($-%'$$$0%$P=$|/ù=/'$&$$$$$$$$$$$$$$%$$$$$$$$$$%$,'%$(%&$$$%$y%%%%$$}$&$(N$$%'-CG/3B$-A+$2C-J2ţ᧣c删&8$Қ&Z,K)%į$&3-%7$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$&$-$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%i-%)+:,%$$$$$$$$$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+$$$$%$$$$$$$$$$%$$$$$$$$&$$$$$$$$$$$$$$$$$$$$($($$$$$$$$$$$%$$'$$$M$$$%$*$&$'$:%%$'$&)%$$)W'+%U3%+%-)5)&$$%$-?+%:.%.$@&&$R$%'%%&0$$-'%($$,-($L)%%%%,&$+$$%-%'3$)&$$$$U$$&%%(%$$$;%$%.$%%%$%$$-)%)%),*$*$N$',$%'sF%$%$%$$$%-)⯇/:'T'ࠣᤣƑ%I*/(($$-$0$($$$%$%$34Ǝ$$3c%YK/$$%3*$$$)3$%%$$$$$$$$$$$$$$$$%$$'&&$'$$$$$$$&$$&$$$%'($ª%$$&$&$$$$$$%-%&%=$$$$$$=$$$$$$$$$%-$P%B&)%)%)%&&%$$$%$$'%-&%%/$=$6$%$2%1E(&'P&,X'4%&$0&$RP$¥@&T2$>'C',7$+$(I((A$$G'+$(MKKq%-)G'G'K+W.$³Ś,9-+»)%$$O$%&$%:$$+:%*B+,S6$%((9)&$=($c['%%3%Q$&$%(''$&$@%&'$,*,*@%$@&C+$?%'(*,Y&*9%+6(+5*'/*slZV0V*)G'+-ʼnB$M$%$%%q@-$+9.'(y8*7:,$$$X2*'7-2&$P&'%%%$'.$%<*-)&G($+$-'$%$+F$%$,%$S&,%'''$$$-$$$&$7.5$<&&%$$%)$d*$$$'$2$-$)R$&+(-)%%$+%%%9$*$%$($%$%$'%%%&%$)$((%%*&(®X&+%&$$'(-%$$$&AS&)$$'%$%%$$+-ÉR&'%'%$%:'%ES&+%$$%&$.-)06N$$$%)$$$*-Y>%&%'$('-%&$ãO&,$%$CC-,/+%$%+$%$;)$%%%$$$$$$$&,-i+%J&'%%'$$$$$>$-K)$$'+$+$)%&Q0$%&$(@\\Ī,$H$*$)$$$(--6&%A%9$$*$%$%l*$%$I)&$$%$*$$+-))$%$C($%$%$$$$*-ř6%%%Ú$28+'40$ν$(.çђ$,ɪ⇜ɜ*B$-'%A%($-S*(''$$--$*$8(6˓CC:'n'$$Z*'0c%$$$.%1+ӹM,⌚łT&4'+Ưध(0&,*-%$%$'ę-J%_%&&)++%*A'^:e&$½7/z,<ª===*$5==$$%%$%%%'$+'$$$*$.==%$'%+$*$=%$'$($$&*$============?%<$<$)<$<$)<$<$)<$<$)<$<$)$$%UȣZ'U+$1$%(2($2ճ*$4%*$%$(øP&**%-'$$ƓO'-($ԣè%,*LEE*$'-'%̴^$&$'oP$2å'$>$%$$%$$-$'$$$$)$'$$$$$$&$%$$%$$$$$$$$$$%$$%'$*$'$'$$$-$4(&$($4W%ıO'/2%2$2$H-0Ä[@0O',*%1)½Ğ(˻+0&0&/|*/7/'[+-)K+A%%q$u$ª/1%(&&(*,<**,&0*L¶$ZH-Щ꜁Eၘ.ā%ᚥ1ᵔూɁ፮$A£ē︳𐀡%𐀡"].map((e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35})),t=[..."1.;=;78;<;6;+;<;#7;8>5>$7<8<1.;=?;>?'9<2?>?<->$;>-':-;#<#$<$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'#$'#%$#%$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'$&>&>&>&>&>(#$#$&>#$@&$;#@>#;#@#@#$#@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$<#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?(*#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@&;$;6@?=@(6(;(;(;(@'@';@2<;=;?(;2@;'&'(+;'(';'(2?(&(?('+'?';@2'('(@'('@+'(&?;&@(='(&(&(&(@;@'(@;@'@'@'@(2()'()(')()()'('(;+;&'()@'@'@'@'@'@'@(')(@)@)('@)@'@'(@+'=-?=';(@()@'@'@'@'@'@'@'@(@)(@(@(@(@'@'@+('(;@()@'@'@'@'@'@'@(')(@()@)(@'@'(@+;=@'(@()@'@'@'@'@'@'@(')()(@)@)(@()@'@'(@+?'-@('@'@'@'@'@'@'@'@'@'@)()@)@)(@'@)@+-?=?@()('@'@'@'@'()@(@(@(@'@'(@+@;-?'();'@'@'@'@'@(')()@()@)(@)@'@'(@+@'@()'@'@'(')(@)@)('?@')-'(@+-?'@()@'@'@'@'@'@(@)(@(@)@+@);@'('(@='&(;+;@'@'@'@'@'@'('('@'@&@(@+@'@'?;?;?(?+-?(?(?(7878)'@'@()(;('(@(@?(?@?;?;@')()()()('+;')('(')')'('()()(')+)(?#@#@#@$;&$'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@(;-@'?@#@$@6'?;'.'78@';,'@'@'(@'(;@'(@'@'@(@'()()()(;&;='(@+@-@;6;(2@+@'&'@'('('@'@'@()()@)()(@?@;+'@'@'@'@+-@?'()(@;')()(@()()()(@(+@+@;&;@(*(@()'()()()()'@+;?(?@()')()()('+'()()()()@;')()(@;+@'+'&;$@#@#;@(;()('('(')('@$&$&$&(@(#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657878787878787878;78;5;@;6787878;<6<@;=;@'@'@2@;=;78;<;6;+;<;#7;8>5>$7<8<78;78;'&'&'@'@'@'@'@=<>?=@?<?@2?@'@'@'@'@'@'@'@;@-@?,-?-?@?@?@?(@'@'@(-@'-@',',@'(@'@;'@';,@#$'@+@#@$@'@'@;@'@'@'@'@'@'@'@'@'@;-'?-'@-@'@'@-'-@;'@;@'@-'-@-'(@(@('@'@'@(@(-@;@'-;'-@'?'(@-;@'@;'@-'@-'@;@-@'@#@$@-'(@+@-@'@(6@'@'-'@'(-;@'-@'@)()'(;@-+@()')()(;2;@2@'@+@('()(@+;')'@'(;'@()')()';(;)(+';';@-@'@')()()(;(@'@'@'@'@';@'()(@+@()@'@'@'@'@'@'@(')()@)@)@'@)@')@(@(@')()()(';+;@;('@')()()()(';'@+@')(@)()(;'(@')()()(;'@+@;@'()()()('@+@'@()()(@+-;?@')()(;@#$+-@'@'@'@'@')@)@()(')')(;@+@'@')(@()(';')@'('()'(;(@'()('()(;';@'@'@')(@()(';@+-@;'@(@)()()(@'@'@'(@(@(@('(@+@'@'@')@(@)()('@+@'();@'@-?=?@;'@,@;@'@'@2@'@'@'@+@;@'@(;@'(;?&;?@+@-@'@'@#$-;@'@(')@(&@&;&(@)@'@'@'@'@'@'@'@'@'@'@'@?(;2@?@?@?)(?)2(?(?(?@?(?@-@?@-@#$#$@$#$#@#@#@#@#@#$@$@$@$#$#@#@#@#@$#@#@#@#@#@$#$#$#$#$#$#$@#<$<$#<$<$#<$<$#<$<$#<$<$#$@+?(?(?(?(?;@(@(@(@(@(@(@(@'@(&@+@'?@'(+@=@'@-(@#$(&@+@;@-?-=-@-?-@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@<@?@?@?@?@?@?@-?@?@?@?@?@?@?>?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@+@'@'@'@'@'@'@'@2@2@(@4@4@"].map((e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35})),n=new Uint32Array(e),r=new Uint8Array(t);for(let e=1;e<n.length;++e)n[e]+=n[e-1];return e=>{let t=n.length,i=0;for(;t-i>1;){const r=Math.floor((t+i)/2),o=n[r];if(e<o)t=r;else{if(e===o){t=i=r;break}o<e&&(i=r)}}return r[i]}}();const I$=e=>function(e,t){const n=1<<function(e,t){const n=function(e,t){if(t>=0&&t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}(e,t);return S$(n)}(e,0);return 0!=(256&n)}(e);class A$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue","SetReissueLinkInProgress"]}}class E$ extends vt{constructor(e,t,n,r,i,o){super(),this.AttemptsRemaining=e,this.CodeInvalid=t,this.CodeInputValue=n,this.ResendTimer=r,this.SignInInProgress=i,this.ReissueLinkInProgress=o}}function O$(){return[new E$(void 0,!1,"",void 0,!1,!1),hf()]}function N$(e){"one-time-code-input"===e.target.id||"Enter"!==e.key&&document.getElementById("one-time-code-input").focus()}const T$={Dispose(){document.removeEventListener("keypress",(e=>{N$(e)})),document.removeEventListener("paste",(e=>{N$(e)}))}};function P$(e){const t=e.reissueLink,n=e.reissueOneTimeCode,r=e.validateOneTimeCode,i=e.maskedPhone,o=Mf(O$,((e,t)=>function(e,t,n){let r;switch(t.tag){case 1:{const r=Cn(I$,n.CodeInputValue);return 6===r.length?(e([wm(r,511,!1,32),t.fields[0]]),[new E$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,!0,n.ReissueLinkInProgress),hf()]):[n,gf(new A$(3,!0))]}case 2:return[new E$(t.fields[0],n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),gf(new A$(3,!0))];case 3:{const e=t.fields[0];return[new E$(n.AttemptsRemaining,e,e?"":n.CodeInputValue,n.ResendTimer,!1,n.ReissueLinkInProgress),hf()]}case 4:return[new E$(n.AttemptsRemaining,n.CodeInvalid,t.fields[0],n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),hf()];case 5:return[new E$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,!0),hf()];default:{const e=vf((e=>{yf(e)}),(()=>Os.Delay((()=>Os.Bind(Ds(1e3),(()=>Os.Return()))))),void 0,(()=>new A$(0)));let t;const i=n.ResendTimer;return t=null!=i?i>0?(r=0|i,[r-1,e]):[void 0,hf()]:[20,e],[new E$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,t[0],n.SignInInProgress,n.ReissueLinkInProgress),t[1]]}}}(r,e,t))),a=o[0],s=o[1];Ri((()=>(document.addEventListener("keypress",(e=>{N$(e)})),document.addEventListener("paste",(e=>{N$(e)})),T$)),new Array(0));const c=()=>{s(new A$(1,(e=>{s(new A$(2,e.AttemptsRemaining))})))},l=$r(fr((()=>wr(pr(function(e){const t=Ar(di([]),1);return d(Wr,t)}()),fr((()=>wr(pr(Ii("Enter your security code")),fr((()=>{let e,r;return wr(pr(d("div",ft(Vn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(e=[(r=Vn([d("span",{children:["We’ve sent a security code to your mobile number ending in •••"]}),d("span",{className:"font-semibold",children:Cn(I$,i)}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(r))})),d("p",{children:["Enter your code to sign in."]})],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(pr(d("div",ft(Vn([["className","mt-8 flex relative"],(e=$r(fr((()=>{let e;return wr(pr(d("input",ft(Vn([["className","absolute w-full h-full peer z-10 opacity-0"],["id","one-time-code-input"],["type","text"],["autoComplete","one-time-code"],["maxLength",6],["onClick",e=>{const t=e.target;t.selectionStart=0|a.CodeInputValue.length,t.selectionEnd=0|a.CodeInputValue.length,s(new A$(3,!1))}],["onChange",e=>{const t=Cn(I$,e.target.value);s(new A$(4,t)),6===t.length&&c()}],(e=a.CodeInputValue,["ref",t=>{null==t||ot(t.value,e)||(t.value=e)}])])))),fr((()=>kr((e=>{const t=Et((e=>e),Bt(e,a.CodeInputValue.split(""))),n=Et((e=>e),Bt(e-1,a.CodeInputValue.split("")));return pr(d("div",{key:e,className:vn(" ",$r(fr((()=>wr(pr("flex justify-center items-center text-xl w-10 h-12 rounded-md ring-inset ring-1 transition ease-in"),fr((()=>wr(a.CodeInvalid?pr("ring-red-600"):pr("ring-gray-400"),fr((()=>wr(pr(2===e?"mr-4":5===e?"":"mr-2"),fr((()=>null!=t||null!=n||0===e?pr("peer-focus:ring-2 peer-focus:ring-primary-base"):hr()))))))))))))),children:At(t,"")}))}),_f(0,1,5)))))}))),["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(a.CodeInvalid?pr(d("p",ft(Vn([["className","w-[288px] text-red-600 mt-2 leading-5"],(e=$r(fr((()=>wr(pr("The code you entered is invalid"),fr((()=>{let e,t;return wr((e=a.AttemptsRemaining,null==e?pr(null):(t=0|e,pr(`, you have ${t} attempts remaining`))),fr((()=>wr(pr("."),fr((()=>null==a.AttemptsRemaining?pr(" Try again or click on the link below to resend the code."):pr(null)))))))})))))),["children",gi.Children.toArray(Array.from(e))])])))):hr(),fr((()=>wr(pr(Ei("sm:w-[288px] mt-6",c,a.SignInInProgress,[d("span",{children:["Continue"]})])),fr((()=>{let e;return pr(d("div",ft(Vn([["className","mt-8 sm:mt-14 text-sm text-gray-900 whitespace-pre-wrap leading-5 space-y-4"],(e=$r(fr((()=>{let e,r,i,o;return wr((e=a.ResendTimer,null!=e?(r=0|e,pr((i=`Message sent. Wait ${r} seconds before trying again.`,d("p",{children:[i]})))):pr((o=Vn([d("span",{children:["Didn’t get the code? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{n(),s(new A$(0))},children:"Resend message"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(o))})))),fr((()=>{let e;return pr((e=Vn([d("span",{children:["Still having trouble? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{a.ReissueLinkInProgress||(s(new A$(5)),t())},children:"Sign in with email instead"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})))})))}))),["children",gi.Children.toArray(Array.from(e))])]))))}))))))})))})))})))))))));return d(p,{},...l)}function M$(e){const t=e.reissueLink,n=e.brandingOption,r=Fi(!1),i=$r(fr((()=>wr(pr(function(e){const t=Ar(di([]),1);return d(ti,t)}()),fr((()=>wr(pr(Ii("Access link timed-out")),fr((()=>{let e;return wr(pr(d("div",ft(Vn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(e=[d("p",{children:["Your 5-minute temporary access link has timed-out."]}),d("p",{children:["Get a new link to continue."]})],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>wr(pr(Ei("mt-8 mb-8 sm:mb-14",(()=>{r[1](!0),t()}),r[0],[d("span",{children:["Get a new link"]})])),fr((()=>pr(null==n?null:Ai(n))))))))})))))))));return d(p,{},...i)}function D$(e,t){const n=At(Ot((e=>e.CompanyName),e),"your employer"),r=$r(fr((()=>wr(pr($i([])),fr((()=>wr(pr(Ii("You’re all done")),fr((()=>{let r,i;return wr(pr(d("div",ft(Vn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(r=[(i=`Your ${t} is now complete and your pay information has now been submitted to ${n}.`,d("p",{children:[i]})),d("p",{children:["You can now close this window."]})],["children",gi.Children.toArray(Array.from(r))])])))),fr((()=>pr(null==e?null:Ai(e)))))})))))))));return d(p,{},...r)}function R$(){let e,t,n,r,i,o,a,s,c;return d("div",ft(Vn([["className","flex lg:min-w-[1024px] xl:min-w-[1280px] max-w-screen-xl justify-center"],(e=[d("div",ft(Vn([["className","flex flex-col justify-center items-center"],(t=[$i([]),Ii("You’re all set!"),d("div",ft(Vn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(n=[d("p",{children:["Access your exclusive benefits by downloading the Flare app."]}),d("div",ft(Vn([["className","hidden lg:flex justify-center lg:py-8"],(r=[d("img",{className:"h-40",src:"/workflows/app/app-invite/qr.png"})],["children",gi.Children.toArray(Array.from(r))])]))),d("div",ft(Vn([["className","flex items-center justify-center lg:hidden"],(i=[d("img",{className:"w-[280px]",src:"/workflows/app/app-invite/completed.png"})],["children",gi.Children.toArray(Array.from(i))])]))),d("p",ft(Vn([["className","font-semibold pt-5 lg:pt-0"],(o=[d("span",{className:"lg:hidden",children:"Download the Flare App"}),d("span",{className:"hidden lg:block",children:"Scan to download"})],["children",gi.Children.toArray(Array.from(o))])]))),d("p",{children:"Available on iOS and Android"})],["children",gi.Children.toArray(Array.from(n))])]))),d("div",ft(Vn([["className","flex space-x-6"],(a=[d("a",ft(Vn([["href","https://apps.apple.com/us/app/flare/id1587276031"],["target","_blank"],["rel","noreferrer"],(s=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/app-store.png"})],["children",gi.Children.toArray(Array.from(s))])]))),d("a",ft(Vn([["href","https://play.google.com/store/apps/details?id=com.flarehr.payandbenefits"],["target","_blank"],["rel","noreferrer"],(c=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/google-play.png"})],["children",gi.Children.toArray(Array.from(c))])])))],["children",gi.Children.toArray(Array.from(a))])])))],["children",gi.Children.toArray(Array.from(t))])]))),d("img",{className:"hidden lg:block w-[640px]",src:"/workflows/app/app-invite/completed.png"})],["children",gi.Children.toArray(Array.from(e))])])))}function B$(e){const t=e.startAuthCodeExchangeBackground,n=e.navigateAuthCodeExchangePage,r=e.magicLink,i=Mf(x$,((e,i)=>k$(r,n,t,e,i))),o=i[0],a=i[1],s=$r(fr((()=>wr(_r((e=>d("style",{children:[e]})),o.CssOverrides),fr((()=>{const e=o.Page;if(1===e.tag)return pr(function(e,t,n,r){const i=Fi(!1),o=Et((e=>d("span",{className:"font-semibold",children:`${e}`})),Ot((e=>e.CompanyName),t)),a=1===n.tag?`Hi, ${e}`:2===n.tag?`${e}, join your workplace benefits program`:`Welcome, ${e}`,s=$r(fr((()=>{let e,t;return wr((e=n,1===e.tag?pr(hi([])):2===e.tag?pr(d("div",ft(Vn([["className","sm:w-[700px]"],(t=[d("img",{src:"/workflows/app/app-invite/welcome.png"})],["children",gi.Children.toArray(Array.from(t))])])))):pr(hi([]))),fr((()=>wr(pr(Ii(a)),fr((()=>{let e;return wr(pr(d("div",ft(Vn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(e=$r(fr((()=>1===n.tag?wr(pr(At(o,d("span",{children:["Your employer"]}))),fr((()=>wr(pr(d("span",{children:[" has requested additional information from you."]})),fr((()=>pr(d("p",{children:["Sign in to complete your information request."]})))))))):2===n.tag?pr(d("p",{children:["Your employer has partnered with Flare Benefits to give you exclusive access to savings and perks from Australia’s most-loved brands, plus special offers to help you save on bigger expenses like household utilities, health insurance and more."]})):wr(pr(d("p",{children:["Congratulations on the new role!"]})),fr((()=>{let e;return pr((e=Vn([d("span",{children:["Sign in to complete your onboarding with "]}),At(o,d("span",{children:["your employer"]})),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})))})))))),["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return pr(Ei(void 0,(()=>{i[1](!0),r()}),i[0],[(e=1===n.tag?"Sign in":2===n.tag?"Continue":"Sign in",d("span",{children:[e]}))]))})))}))))))})));return d(p,{},...s)}(e.fields[0],o.Branding,o.JourneyType,(()=>{a(new qd(5,e.fields[1],new Fd(0)))})));if(2===e.tag)return pr(function(e,t){let n,r,i;const o=[pi([]),Ii("Check your inbox"),d("div",ft(Vn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(n=[(r=Vn([d("span",{children:["We’ve sent a temporary access link to "]}),d("span",{className:"font-semibold",children:(a=e,s="*",c="•",a.replace(new RegExp(tn(s),"g"),c))}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(r))})),d("p",{children:["Click the link to confirm your email address and sign in. The link is valid for 5 minutes."]})],["children",gi.Children.toArray(Array.from(n))])]))),d("div",ft(Vn([["className","text-sm text-gray-900 whitespace-pre-wrap mt-10 sm:mt-14 space-y-4 leading-5"],(i=$r(fr((()=>wr(pr(d("p",{children:["Can’t see the email? Check your spam folder."]})),fr((()=>pr(null==t?null:Ai(t)))))))),["children",gi.Children.toArray(Array.from(i))])])))];var a,s,c;return d(p,{},...o)}(e.fields[0],o.Branding));if(3===e.tag)return pr(d(P$,{maskedPhone:e.fields[0],validateOneTimeCode:e=>{a(new qd(4,e[0],e[1],new Fd(0)))},reissueOneTimeCode:()=>{a(new qd(3,!0,new Fd(0)))},reissueLink:()=>{a(new qd(2,!0,new Fd(0)))}}));if(4===e.tag)return pr(d(M$,{brandingOption:o.Branding,reissueLink:()=>{a(new qd(2,!1,new Fd(0)))}}));if(5!==e.tag)return 6===e.tag?1===e.fields[0].tag?pr(zi("You don’t have access","It seems that you’re not authorised to access our application. If you believe this is an error, please contact your employer for assistance.",void 0)):0===e.fields[0].tag?pr(d(Gi,{reissueMagicLink:()=>{a(new qd(2,!0,new Fd(0)))}})):5===e.fields[0].tag?pr(Zi()):2===e.fields[0].tag?pr(Vi(o.Branding)):3===e.fields[0].tag?pr(Hi("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",o.Branding)):pr(Hi("Invite expired","Your invite has now expired and you no longer have access.",o.Branding)):pr(Oi);switch(o.JourneyType.tag){case 1:default:return pr(D$(o.Branding,function(e){switch(e.tag){case 1:return"information request";case 2:return"workflow";default:return"onboarding"}}(o.JourneyType)));case 2:return pr(R$())}}))))));return d(p,{},...s)}function L$(e){let t,n;const r=e.startAuthCodeExchangeBackground,i=e.navigateAuthCodeExchangePage,o=e.inviteCode;return Bi((()=>{zs(0)})),d("div",ft(Vn([["className","min-h-full flex flex-col items-center justify-between w-full mx-auto text-center pt-8 sm:pt-20 pb-6 sm:pb-8 px-4 bg-white"],(t=[d("div",ft(Vn([["className","flex flex-col items-center justify-center sm:max-w-[640px]"],(n=$r(fr((()=>{const e=function(e){const t=_n(e,["."],null,0);if(Rt(((e,t)=>e===t),t,null)||2!==t.length)return new fo(1,"Invalid link");{const e=t[1];return new fo(0,new zd(t[0],e))}}(o);return 0===e.tag?pr(d(B$,{magicLink:e.fields[0],navigateAuthCodeExchangePage:i,startAuthCodeExchangeBackground:r})):pr(Vi(void 0))}))),["children",gi.Children.toArray(Array.from(n))])]))),qi],["children",gi.Children.toArray(Array.from(t))])])))}class j$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","LegacyInvite","InviteV2","AuthCodeExchange","AuthCodeExchangeWithCurrentAuth","NotFound","LoggedOut"]}}function W$(e){const t=ih(e);if(null!=t)return Et((e=>e[1]),Yn((e=>"code"===e[0]),t))}function U$(e){let t,n,r,i,o,a,s;const c=function(e){let t,n,r;switch(Bn(e)?t=2:"workflows"===jn(e)?Bn(Wn(e))?t=2:"app"===jn(Wn(e))?(t=0,n=Wn(Wn(e))):"embed"===jn(Wn(e))?Bn(Wn(Wn(e)))?t=2:"v1.0"===jn(Wn(Wn(e)))?(t=1,r=Wn(Wn(Wn(e)))):t=2:t=2:t=2,t){case 0:return new $o(1,n);case 1:return new $o(0,r);case 2:return new $o(2,void 0)}}(e);return 1===c.tag?[Bn(c.fields[0])?Bn(c.fields[0])?new j$(0):(i=ih(jn(c.fields[0])),null!=i?Bn(i)?new j$(0):"invite-code"===jn(i)[0]&&Bn(Wn(i))&&Bn(Wn(c.fields[0]))?(o=jn(i)[1],new j$(2,o)):new j$(0):new j$(0)):(t=ih(jn(c.fields[0])),null!=t?Bn(t)?Bn(c.fields[0])?new j$(0):(i=ih(jn(c.fields[0])),null!=i?Bn(i)?new j$(0):"invite-code"===jn(i)[0]&&Bn(Wn(i))&&Bn(Wn(c.fields[0]))?(o=jn(i)[1],new j$(2,o)):new j$(0):new j$(0)):"invite"===jn(t)[0]&&Bn(Wn(t))&&Bn(Wn(c.fields[0]))?(n=jn(t)[1],r=So(n),1===r.tag?new j$(5):new j$(1)):Bn(c.fields[0])?new j$(0):(i=ih(jn(c.fields[0])),null!=i?Bn(i)?new j$(0):"invite-code"===jn(i)[0]&&Bn(Wn(i))&&Bn(Wn(c.fields[0]))?(o=jn(i)[1],new j$(2,o)):new j$(0):new j$(0)):Bn(c.fields[0])?new j$(0):(i=ih(jn(c.fields[0])),null!=i?Bn(i)?new j$(0):"invite-code"===jn(i)[0]&&Bn(Wn(i))&&Bn(Wn(c.fields[0]))?(o=jn(i)[1],new j$(2,o)):new j$(0):new j$(0))),new dh(1)]:2===c.tag?[new j$(5),new dh(2)]:[Bn(c.fields[0])||Bn(Wn(c.fields[0]))?new j$(0):(a=W$(jn(Wn(c.fields[0]))),null!=a&&Bn(Wn(Wn(c.fields[0])))?(s=a,new j$(3,y$(s))):new j$(0)),new dh(0)]}class F$ extends vt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class z$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","NavigateAuthCodeExchangePageWithCurrentAuth","AuthMsg","StartAuthCodeExchangeBackground","DisplayLoggedOut"]}}function H$(){let e;return Bi((()=>{zs(0)})),d("div",ft(Vn([["className",vn(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:vn(" ",["text-2xl"]),children:"You have been logged out of your onboarding due to inactivity"}),d("br",{}),d("p",{children:["To continue your onboarding, please find your onboarding invite email and click the link again."]})],["children",gi.Children.toArray(Array.from(e))])])))}function G$(e){this.message=e}G$.prototype=new Error,G$.prototype.name="InvalidCharacterError";var V$="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new G$("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?a+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function Z$(e){this.message=e}Z$.prototype=new Error,Z$.prototype.name="InvalidTokenError";class q$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Y$(e,t){switch(t.tag){case 1:return new q$(1);case 3:return new q$(3,t.fields[0]);case 2:try{return new q$(2,e(t.fields[0]))}catch(e){return new q$(3,e)}default:return new q$(0)}}function J$(e){return function(e,t){return function(e,t,n){e:for(;;){const r=e,i=t,o=n;if(Bn(o)){const e=r;return 1===e.tag?new fo(1,e.fields[0]):new fo(0,zn(e.fields[0]))}{let a;const s=i(jn(o));if(1===s.tag)a=new fo(1,s.fields[0]);else{const e=r;a=1===e.tag?new fo(1,e.fields[0]):new fo(0,Dn(s.fields[0],e.fields[0]))}if(1===a.tag)return a;e=a,t=i,n=Wn(o);continue e}}}(new fo(0,Mn()),e,t)}((e=>e),e)}class X$ extends vt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class K$ extends vt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Q$ extends vt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class eg extends vt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class tg extends vt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function ng(e){return new fo(0,new Go(na(e.Id),e.DisplayName,e.ComponentTagName))}class rg extends vt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class ig extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class og extends vt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class ag extends vt{constructor(e,t){super(),this.Name=e,this.Value=t}}function sg(e){return function(e,t){const n=wn(r=e)?new fo(1,"Tag name is empty"):r.length<100?new fo(0,new Oa(0,r)):new fo(1,"Tag name is too long");var r,i;if(1===n.tag)return new fo(1,n.fields[0]);{const e=wn(i=t)?new fo(1,"Tag value is empty"):i.length<100?new fo(0,new Na(0,i)):new fo(1,"Tag value is too long");return 1===e.tag?new fo(1,e.fields[0]):new fo(0,new Ea(n.fields[0],e.fields[0]))}}(e.Name,e.Value)}class cg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}class lg extends vt{constructor(e){super(),this.BenefitsOnboarding=e}}class ug extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class fg extends vt{constructor(e){super(),this.Category=e}}function dg(){return Uf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],fg,(()=>[["Category",Gf(qf)]]))}function hg(e){return new Da(e.Category)}class pg extends vt{constructor(e,t,n,r,i,o,a,s,c,l,u){super(),this.Id=0|e,this.DateCreated=t,this.Configuration=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=a,this.StepsConfiguration=s,this.JourneyType=c,this.IsBenefitsStepEnabled=l,this.PaySetupComplete=u}}function mg(){return Uf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],pg,(()=>[["Id",Jf],["DateCreated",Wf("System.DateTime")],["Configuration",Uf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],og,(()=>[["Id",Wf("System.Guid")],["Name",qf],["Steps",Vf(Uf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],tg,(()=>[["Id",qf],["DisplayName",qf],["ComponentTagName",qf]])))]]))],["Status",zf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],ig,(()=>[[],[["Item",Uf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],rg,(()=>[["ActivatedDates",Vf(Wf("System.DateTime"))],["CompletedSteps",Vf(Hf(qf,Wf("System.DateTime")))]]))]],[["Item",Wf("System.DateTime")]],[["Item",Wf("System.DateTime")]]]))],["Invite",Gf(Uf("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],eg,(()=>[["Code",qf],["DateIssued",Wf("System.DateTime")],["SecondFactor",Gf(Uf("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],Q$,(()=>[["Code",qf],["DateIssued",Wf("System.DateTime")],["NumberOfAttempts",Jf],["DateOfLastAttempt",Gf(Wf("System.DateTime"))]])))],["Branding",Gf(Uf("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],X$,(()=>[["CompanyName",Gf(qf)],["Logo",Gf(qf)],["Support",Gf(Uf("Workflows.Business.Aggregates.CommonDto.SupportDto",[],K$,(()=>[["Email",Gf(qf)],["Phone",Gf(qf)]])))]])))]])))],["Tags",Gf(Vf(Uf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],ag,(()=>[["Name",qf],["Value",qf]]))))],["Creator",Gf(qf)],["StepsConfiguration",Gf(Uf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],lg,(()=>[["BenefitsOnboarding",Gf(Ff(["Show",zf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],cg,(()=>[[],[]]))]))]])))],["JourneyType",Gf(zf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],ug,(()=>[[["Item",dg()]],[["Item",dg()]],[["Item",dg()]],[["Item",dg()]],[["Item",dg()]]])))],["IsBenefitsStepEnabled",Gf(Yf)],["PaySetupComplete",Gf(Yf)]]))}function $g(e){let t,n;const r=function(e){const t=J$(qn(ng,e.Steps));if(1===t.tag)return new fo(1,t.fields[0]);{const n=function(e){const t=new ia(0,e);return vr(t,Ca.keys(),{Equals:ot,GetHashCode:nt})?new fo(0,t):new fo(1,dn(un("Invalid Type %A%P()",[e])))}(e.Id);return 1===n.tag?new fo(1,n.fields[0]):new fo(0,new oa(n.fields[0],e.Name,t.fields[0]))}}(e.Configuration);if(1===r.tag)return new fo(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const t=function(e){const t=J$(qn((e=>new fo(0,[na(e[0]),e[1]])),e.CompletedSteps));return 1===t.tag?new fo(1,t.fields[0]):new fo(0,new xa(e.ActivatedDates,t.fields[0]))}(e.fields[0]);return 1===t.tag?new fo(1,t.fields[0]):new fo(0,new ka(1,t.fields[0]))}case 2:return new fo(0,new ka(2,e.fields[0]));case 3:return new fo(0,new ka(3,e.fields[0]));default:return new fo(0,new ka(0))}}(e.Status);if(1===o.tag)return new fo(1,o.fields[0]);{const r=o.fields[0];let a;if(1===r.tag){const e=r.fields[0],t=J$(qn((e=>{const t=[e[0],e[1]],n=t[0];return Qn((e=>ot(e.Id,n)),i.Steps)?new fo(0,[n,t[1]]):new fo(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));a=1===t.tag?new fo(1,t.fields[0]):new fo(0,new ka(1,new xa(e.ActivatedDates,t.fields[0])))}else a=new fo(0,r);if(1===a.tag)return new fo(1,a.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const t=So(e.Code);if(1===t.tag)return new fo(1,t.fields[0]);{let n;const r=e.SecondFactor;let i;n=null==r?void 0:function(e){return new Fo((t=e.Code,new Uo(0,t)),e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt);var t}(r);const o=e.Branding;if(null!=o){const e=function(e){let t;const n=e.Logo;if(null!=n){const e=jo(n);t=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else t=new fo(0,void 0);if(1===t.tag)return new fo(1,t.fields[0]);{let n;const r=e.CompanyName;if(null!=r){const e=Bo(r);n=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else n=new fo(0,void 0);if(1===n.tag)return new fo(1,n.fields[0]);{let r;const i=e.Support;if(null!=i){const e=function(e){let t;const n=e.Email;if(null!=n){const e=Po(n);t=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else t=new fo(0,void 0);if(1===t.tag)return new fo(1,t.fields[0]);{let n;const r=e.Phone;if(null!=r){const e=Do(r);n=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else n=new fo(0,void 0);return 1===n.tag?new fo(1,n.fields[0]):new fo(0,new Oo(t.fields[0],n.fields[0]))}}(i);r=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else r=new fo(0,void 0);return 1===r.tag?new fo(1,r.fields[0]):new fo(0,new Io(n.fields[0],t.fields[0],r.fields[0]))}}}(o);i=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else i=new fo(0,void 0);return 1===i.tag?new fo(1,i.fields[0]):new fo(0,new zo(t.fields[0],e.DateIssued,n,i.fields[0]))}}(o);r=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else r=new fo(0,void 0);if(1===r.tag)return new fo(1,r.fields[0]);{let o;const s=e.Tags;if(null!=s){const e=J$(qn(sg,s));o=1===e.tag?new fo(1,e.fields[0]):new fo(0,e.fields[0])}else o=new fo(0,void 0);return 1===o.tag?new fo(1,o.fields[0]):new fo(0,new Ta(Ia(e.Id),i,e.DateCreated,a.fields[0],r.fields[0],o.fields[0],(t=e.Creator,null==t?void 0:Co(t)),(n=e.StepsConfiguration,null==n?void 0:function(e){let t,n;return new Pa((t=e.BenefitsOnboarding,null==t?void 0:(n=t,{Show:1===n.Show.tag?new Ra(1):new Ra(0)})))}(n)),function(e){if(null==e)return new Ma(0,new Da(void 0));if(1===e.tag){const t=e.fields[0];return new Ma(1,hg(t))}if(2===e.tag){const t=e.fields[0];return new Ma(2,hg(t))}if(3===e.tag){const t=e.fields[0];return new Ma(3,hg(t))}if(4===e.tag){const t=e.fields[0];return new Ma(4,hg(t))}{const t=e.fields[0];return new Ma(0,hg(t))}}(e.JourneyType),e.IsBenefitsStepEnabled,e.PaySetupComplete))}}}}}class gg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}class wg extends vt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n,this.Branding=r}}class vg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}const yg=$g;class bg extends vt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n,this.Branding=r}}class _g extends vt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Cg extends vt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class xg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class kg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies","DiscreteBenefits"]}}class Sg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function Ig(e){return ot(e,Vo)?new fo(0,new kg(0)):ot(e,Zo)?new fo(0,new kg(1)):ot(e,qo)?new fo(0,new kg(2)):ot(e,Yo)?new fo(0,new kg(3)):ot(e,Jo)?new fo(0,new kg(4)):ot(e,Xo)?new fo(0,new kg(5)):ot(e,ea)?new fo(0,new kg(7)):ot(e,ta)?new fo(0,new kg(8)):new fo(1,"Invalid step")}function Ag(e){switch(e.tag){case 1:return Zo;case 2:return qo;case 3:return Yo;case 4:return Jo;case 5:return Xo;case 6:return Qo;case 7:return ea;case 8:return ta;default:return Vo}}function Eg(e){switch(e.tag){case 1:return"Emergency Contacts";case 2:return"Bank Details";case 3:return"Tax Details";case 4:return"Super Selection";case 5:return Xo.DisplayName;case 6:return Qo.DisplayName;case 7:return"Fair Work";case 8:return ta.DisplayName;default:return"Personal Details"}}function Og(e,t){const n=J$(qn(Ig,e.Configuration.Steps));return 1===n.tag?new fo(1,n.fields[0]):new fo(0,(r=t,i=n.fields[0],0===r.tag?i:Zn(i,Rn(new kg(6)))));var r,i}function Ng(e,t){const n=J$(qn(Ig,function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Mn();default:{const n=qn((e=>e[0]),t.fields[0].CompletedSteps);return Xn((e=>Kn(e.Id,n,{Equals:ot,GetHashCode:nt})),e.Configuration.Steps)}}}(e)));return 1===n.tag?new fo(1,n.fields[0]):new fo(0,(r=t,i=n.fields[0],2===r.tag?Zn(i,Rn(new kg(6))):i));var r,i}class Tg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class Pg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class Mg extends vt{constructor(e,t,n,r,i,o){super(),this.ProfileId=e,this.ProcessInstanceId=t,this.ProcessInstance=n,this.CurrentView=r,this.CssOverrides=i,this.BenefitsOnboarding=o}}function Dg(e,t){return Os.Delay((()=>{const n=ap((r=dn(ln("Bearer %s"))(e),new mh(0,"Authorization",r)),t);var r;let i;const o=cp(n);return i=Os.Bind(o,(e=>Os.Return(new fo(0,e)))),Os.Bind(i,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=cp(n);return Os.Bind(e,(e=>Os.Return(new fo(0,e))))}return Os.Return(new fo(0,e))}}))}))}function Rg(e,t,n){return Os.Delay((()=>{let r,i;const o=Dg(n,(r=sp(new $h(1,(i=Rn(function(e){return 1===e.tag?new vg(1):new vg(0,ra(e.fields[0]))}(e)),dm(0,mm(Vf(zf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],vg,(()=>[[["Item",qf]],[],[["Item",Yf]],[["Item",Yf]],[["Item",Yf]]]))),new em(1),void 0,void 0)(i)))),op(new ph(1),ip(function(e){const t=0|Aa(e);return dn(ln("%s/workflows/backend/%i"))(ch)(t)}(t)))),ap(tp("application/json"),r)));return Os.Bind(o,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Xm(ht(2,$$(mg(),new em(1),void 0)),e.responseText);return t=1===n.tag?new fo(1,n.fields[0]):yg(n.fields[0]),Os.Return(t)}return Os.Return(new fo(1,"Unexpected response from backend"))}}))}))}function Bg(e,t){return Os.Delay((()=>{const n=Dg(t,op(new ph(1),ip(function(e){const t=0|Aa(e);return dn(ln("%s/workflows/backend/process-instances/%i/activate"))(ch)(t)}(e))));return Os.Bind(n,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Xm(ht(2,$$(Uf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],bg,(()=>[["CssOverrides",Vf(qf)],["ProcessInstanceDto",mg()],["IsBenefitsEnabled",Yf],["Branding",Gf(Uf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Branding",[],_g,(()=>[["CompanyName",Gf(qf)],["Logo",Gf(qf)],["Support",Gf(Uf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Support",[],Cg,(()=>[["Email",Gf(qf)],["Phone",Gf(qf)]])))]])))]])),new em(1),void 0)),e.responseText);return t=1===n.tag?new fo(1,n.fields[0]):new fo(0,function(e){let t,n;return new wg(e.CssOverrides,(t=$g(e.ProcessInstanceDto),1===t.tag?(()=>{throw new Error(t.fields[0])})():t.fields[0]),e.IsBenefitsEnabled,(n=e.Branding,null==n?void 0:function(e){let t,n,r,i,o,a,s,c,l,u,f,d,h,p,m,$,g,w;return new Io((r=e.CompanyName,n=null==r?void 0:Bo(r),t=null!=n?(i=n,1===i.tag?new fo(1,i.fields[0]):new fo(0,i.fields[0])):new fo(0,void 0),1===t.tag?void 0:t.fields[0]),(s=e.Logo,a=null==s?void 0:jo(s),o=null!=a?(c=a,1===c.tag?new fo(1,c.fields[0]):new fo(0,c.fields[0])):new fo(0,void 0),1===o.tag?void 0:o.fields[0]),(l=e.Support,null==l?void 0:(u=l,new Oo((h=u.Email,d=null==h?void 0:Po(h),f=null!=d?(p=d,1===p.tag?new fo(1,p.fields[0]):new fo(0,p.fields[0])):new fo(0,void 0),1===f.tag?void 0:f.fields[0]),(g=u.Phone,$=null==g?void 0:Do(g),m=null!=$?(w=$,1===w.tag?new fo(1,w.fields[0]):new fo(0,w.fields[0])):new fo(0,void 0),1===m.tag?void 0:m.fields[0])))))}(n)))}(n.fields[0])),Os.Return(t)}return Os.Return(new fo(1,"Unexpected response from backend"))}}))}))}function Lg(e,t,n,r){let i,o,a,s,c,l,u,f,d,h,p,m;switch(n.tag){case 1:{const e=n.fields[0];return[new Mg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(i=Ag(e.fields[0]),ot(i.Id,Qo.Id)?gf(new Pg(5,r.ProcessInstanceId,new xg(1))):gf(new Pg(5,r.ProcessInstanceId,new xg(0,ra(i.Id))))):hf()]}case 5:return yf(function(e,t,n){let r;const i=Os.Delay((()=>{let r;return Dg(e,(r=sp(new $h(1,dm(0,mm(Vf(zf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],xg,(()=>[[["Item",qf]],[],[]]))),new em(1),void 0,void 0)(Rn(n)))),op(new ph(1),ip(function(e){const t=0|Aa(e);return dn(ln("%s/workflows/backend/process-instances/%i/analytics-events"))(ch)(t)}(t)))),ap(tp("application/json"),r)))}));return r=Os.Bind(i,(e=>{let t;const n=e;return t=1===n.tag?new fo(1,n.fields[0]):new fo(0,void n.fields[0]),Os.Return(t)})),Os.Bind(r,(e=>{let t;const n=e;return t=1===n.tag?void 0:n.fields[0],Os.Return(t)}))}(e,n.fields[0],n.fields[1])),[r,hf()];case 2:{const e=r.ProcessInstance;let t,i;switch(2===e.tag&&0===e.fields[0].tag?(t=0,i=e.fields[0].fields[0]):t=1,t){case 0:return[r,(o=n.fields[0].target,a=!ot(r.BenefitsOnboarding,new Sg(0)),s=Ba(o.tagName,a,i),1===s.tag?hf():ot(s.fields[0].Id,Ko)?gf(new Pg(7)):gf(new Pg(3,s.fields[0].Id,new q$(0))))];case 1:return[r,hf()]}}case 7:{const e=r.ProcessInstance;let t,n;switch(2===e.tag&&0===e.fields[0].tag?ot(r.BenefitsOnboarding,new Sg(0))?t=1:(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[new Mg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new Sg(2)),mf(Vn([gf(new Pg(5,r.ProcessInstanceId,new xg(2))),(u=[n,r.BenefitsOnboarding],l=Og(u[0],u[1]),c=1===l.tag?new fo(1,l.fields[0]):new fo(0,(f=l.fields[0],gf(new Pg(1,new Tg(3,f,f))))),1===c.tag?gf(new Pg(1,new Tg(4,c.fields[0]))):c.fields[0])]))];case 1:return[r,hf()]}}case 3:{const t=n.fields[0],i=n.fields[1];switch(i.tag){case 1:return[r,hf()];case 2:{const e=i.fields[0];let n,o;const a=e;if(1===a.tag)o=new fo(1,a.fields[0]);else{const e=a.fields[0],t=La(e);let n;const i=[e,r.BenefitsOnboarding];if(n=Ng(i[0],i[1]),1===n.tag)o=new fo(1,n.fields[0]);else{const i=n.fields[0];let a;const s=[e,r.BenefitsOnboarding];if(a=Og(s[0],s[1]),1===a.tag)o=new fo(1,a.fields[0]);else{const e=a.fields[0];if(1===Ln(e))o=new fo(0,new Pg(4,new q$(0)));else{const n=[t,r.BenefitsOnboarding];if(null==n[0])if(1===n[1].tag){const t=new kg(6);o=new fo(0,new Pg(1,new Tg(2,t,t,i,e)))}else o=new fo(0,new Pg(1,new Tg(3,i,e)));else{const t=Ig(n[0]);o=1===t.tag?new fo(1,t.fields[0]):new fo(0,(d=t.fields[0],new Pg(1,new Tg(2,d,d,i,e))))}}}}}n=1===o.tag?new Pg(1,new Tg(4,o.fields[0])):o.fields[0];const s=e;return 1===s.tag?s.fields[0]:function(e,t,n){const r=function(e,t){const n=Yn((t=>ot(t.Id,e)),t.Configuration.Steps),r=dn(un("Invalid ProcessStep Id %A%P()",[e])),i=n;return null==i?new fo(1,r):new fo(0,i)}(e,t);1===r.tag||Ws(function(e,t,n,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=js(n),i.profileId=xo(r),i.step={name:t,type:ra(e)},i}(e,r.fields[0].DisplayName,t,n))}(t,s.fields[0],r.ProfileId),[new Mg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),gf(n)]}case 3:return[new Mg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),gf(new Pg(1,new Tg(4,i.fields[0].message)))];default:return[r,wf((e=>{yf(e)}),(e=>function(e,t,n){return Rg(new gg(0,t),e,n)}(r.ProcessInstanceId,t,e)),e,(e=>new Pg(3,t,new q$(2,e))),(e=>new Pg(3,t,new q$(3,e))))]}}case 4:{const i=n.fields[0];switch(i.tag){case 1:return[r,hf()];case 2:{const e=i.fields[0];if(1===e.tag)return[new Mg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),gf(new Pg(1,new Tg(4,e.fields[0])))];{const n=e.fields[0];return Fs(n,r.ProfileId),[new Mg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(h=[t,(p=[n,r.BenefitsOnboarding],g=p[0],w=p[1],Ln(g.Configuration.Steps)+(0===w.tag?0:1))],1===h[0].tag?1===h[1]?hf():gf(new Pg(1,new Tg(5))):hf())]}}case 3:return[new Mg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),gf(new Pg(1,new Tg(4,i.fields[0].message)))];default:{const t=r.ProcessInstance;let n,i;switch(2===t.tag&&0===t.fields[0].tag&&2===t.fields[0].fields[0].Status.tag?(n=0,i=t.fields[0].fields[0]):n=1,n){case 0:return Fs(i,r.ProfileId),[r,hf()];case 1:return[r,wf((e=>{yf(e)}),(e=>function(e,t){return Rg(new gg(1),e,t)}(r.ProcessInstanceId,e)),e,(e=>new Pg(4,new q$(2,e))),(e=>new Pg(4,new q$(3,e))))]}}}}case 6:return[r,(m=window.location.pathname+"/"+window.location.search+window.location.hash,$f((e=>{th(Rn(m),1,2)})))];default:{const e=n.fields[0];let t;switch(e.tag){case 3:t=[r,gf(new Pg(1,new Tg(4,e.fields[0].message)))];break;case 0:case 1:t=[r,hf()];break;default:{let n,i;const o=e.fields[0];if(1===o.tag)i=new fo(1,o.fields[0]);else{const e=o.fields[0],t=($=e.IsBenefitsEnabled,new Sg($?1:0));let n;const a=[e.ProcessInstance,t];if(n=Ng(a[0],a[1]),1===n.tag)i=new fo(1,n.fields[0]);else{const o=n.fields[0];let a;const s=[e.ProcessInstance,t];if(a=Og(s[0],s[1]),1===a.tag)i=new fo(1,a.fields[0]);else{const n=a.fields[0],s=e=>{const t=[ah.clientWidth<640,Ln(n)];return 1===t[1]?(document.title=Eg(e),new Tg(2,e,e,o,n)):new Tg(t[0]?1:2,e,e,o,n)};let c;const l=[La(e.ProcessInstance),t];if(null==l[0])c=1===l[1].tag?new fo(0,s(new kg(6))):new fo(0,new Tg(3,o,n));else{const e=Ig(l[0]);c=1===e.tag?new fo(1,e.fields[0]):new fo(0,s(e.fields[0]))}i=1===c.tag?new fo(1,c.fields[0]):new fo(0,[new Mg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,e.CssOverrides,t),c.fields[0]])}}}n=1===i.tag?[r,new Tg(4,i.fields[0])]:i.fields[0],t=[n[0],gf(new Pg(1,n[1]))]}}const i=t[0];return[new Mg(i.ProfileId,i.ProcessInstanceId,Y$((e=>{const t=e;return 1===t.tag?new fo(1,t.fields[0]):new fo(0,t.fields[0].ProcessInstance)}),e),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),t[1]]}}var $,g,w}var jg;function Wg(){return Wg=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},Wg.apply(this,arguments)}const Ug=function(e){return d("svg",Wg({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),jg||(jg=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var Fg,zg,Hg;function Gg(){return Gg=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},Gg.apply(this,arguments)}const Vg=function(e){return d("svg",Gg({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Fg||(Fg=d("path",{d:"M11.208 17.438a3.635 3.635 0 1 0 0-7.271 3.635 3.635 0 0 0 0 7.27Zm0-5.857a2.229 2.229 0 1 1 0 4.457 2.229 2.229 0 0 1 0-4.457ZM11.208 18.78a5.455 5.455 0 0 0-3.952 1.653c-1.054 1.076-1.631 2.538-1.631 4.127a.705.705 0 0 0 .703.703h9.76a.705.705 0 0 0 .703-.703c0-1.589-.577-3.051-1.632-4.127a5.455 5.455 0 0 0-3.951-1.652ZM7.08 23.858c.12-.92.535-1.775 1.182-2.44a4.142 4.142 0 0 1 5.892 0 4.322 4.322 0 0 1 1.181 2.44H7.08Z",fill:"#000"})),zg||(zg=d("path",{d:"M31.36 5.273H4.64A3.517 3.517 0 0 0 1.126 8.79v17.86a3.517 3.517 0 0 0 3.516 3.515h26.718a3.517 3.517 0 0 0 3.516-3.516V8.79a3.517 3.517 0 0 0-3.516-3.516Zm2.109 21.375a2.116 2.116 0 0 1-2.11 2.11H4.641a2.116 2.116 0 0 1-2.11-2.11V8.79a2.116 2.116 0 0 1 2.11-2.11h26.718a2.116 2.116 0 0 1 2.11 2.11v17.86Z",fill:"#000"})),Hg||(Hg=d("path",{d:"M29.63 17.016h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 21.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 12.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406Z",fill:"#000"})))};var Zg,qg;function Yg(){return Yg=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},Yg.apply(this,arguments)}const Jg=function(e){return d("svg",Yg({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Zg||(Zg=d("g",{clipPath:"url(#icon-emergency-contacts_svg__a)",fill:"#000"},d("path",{d:"M30.223 24.427c-.204-.15-5.051-3.656-9.3-2.538a.528.528 0 0 0-.272.174c-.078.095-1.718 2.102-2.065 3.967a9.392 9.392 0 0 1-1.224-.462c-.979-.444-2.476-1.305-4.055-2.884-.907-.907-1.66-1.825-2.238-2.73a.528.528 0 0 0-.89.568c.62.969 1.421 1.948 2.382 2.908 3.286 3.286 6.286 3.757 6.412 3.775a.527.527 0 0 0 .604-.522c0-.378.106-.802.27-1.231 1.318.114 5.928.678 9.431 3.139-.465 1.981-1.643 3.71-3.38 4.893-2.258 1.54-5.028 1.871-7.6.91-3.69-1.378-7.087-3.602-10.093-6.608C5.2 24.78 2.976 21.385 1.596 17.692c-.96-2.572-.628-5.342.912-7.6C3.69 8.354 5.418 7.176 7.4 6.711c2.461 3.503 3.025 8.113 3.14 9.432-.43.164-.854.27-1.232.27a.527.527 0 0 0-.528.54c.002.062.024.637.388 1.594a.527.527 0 1 0 .986-.374 6.108 6.108 0 0 1-.237-.76c1.876-.33 3.915-1.996 4.01-2.074a.528.528 0 0 0 .175-.273c1.117-4.247-2.388-9.095-2.538-9.3a.527.527 0 0 0-.355-.21c-.676-.091-1.36-.132-2.032-.12-3.068.05-5.816 1.53-7.541 4.06C-.1 12.043-.474 15.164.608 18.06c1.433 3.835 3.738 7.358 6.85 10.47 3.115 3.115 6.638 5.42 10.472 6.852 1.09.407 2.21.608 3.321.608a9.27 9.27 0 0 0 5.242-1.636c2.53-1.725 4.011-4.473 4.062-7.541.01-.672-.03-1.356-.121-2.032a.528.528 0 0 0-.211-.355ZM9.193 6.491c.545-.008 1.098.02 1.646.083.594.879 3.037 4.76 2.283 8.06-.347.27-.922.675-1.566 1.03-.174-1.698-.807-5.756-3.008-9.137.213-.02.428-.032.645-.036Zm11.133 17.944c.356-.644.76-1.22 1.032-1.566 3.3-.754 7.18 1.69 8.059 2.282.063.55.091 1.102.083 1.646a8.672 8.672 0 0 1-.036.646c-3.381-2.201-7.44-2.834-9.138-3.008Z"}),d("path",{d:"M26.97.009c-4.98 0-9.03 4.05-9.03 9.03 0 2.346.885 4.549 2.5 6.236-.175.716-.438 1.628-.781 2.366a1.34 1.34 0 0 0 .109 1.333 1.347 1.347 0 0 0 1.207.593c1.116-.07 2.669-.435 3.898-1.744a9.03 9.03 0 0 0 8.912-2.86.528.528 0 0 0-.796-.693 7.975 7.975 0 0 1-8.156 2.454.528.528 0 0 0-.547.171c-1.02 1.227-2.399 1.558-3.376 1.619a.299.299 0 0 1-.27-.134.293.293 0 0 1-.025-.293c.429-.922.737-2.062.92-2.856a.528.528 0 0 0-.145-.496 7.914 7.914 0 0 1-2.395-5.696c0-4.398 3.577-7.975 7.975-7.975 4.397 0 7.975 3.577 7.975 7.975a7.882 7.882 0 0 1-.855 3.596.527.527 0 1 0 .94.477c.644-1.27.97-2.64.97-4.073 0-4.98-4.051-9.03-9.03-9.03Z"}),d("path",{d:"M31.554 6.184h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 8.71h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 11.236h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055Z"}))),qg||(qg=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var Xg,Kg,Qg;function ew(){return ew=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},ew.apply(this,arguments)}const tw=function(e){return d("svg",ew({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Xg||(Xg=d("path",{d:"M18.47 19.647a.562.562 0 0 0-.202-.007 1.343 1.343 0 0 1-1.188-1.33.59.59 0 0 0-1.18 0 2.526 2.526 0 0 0 1.857 2.431v.591a.59.59 0 0 0 1.18 0v-.555a2.521 2.521 0 0 0-.516-4.99 1.34 1.34 0 1 1 1.34-1.34.59.59 0 0 0 1.182 0 2.526 2.526 0 0 0-2.005-2.468v-.538a.59.59 0 0 0-1.181 0v.573a2.522 2.522 0 0 0 .664 4.954 1.34 1.34 0 0 1 .049 2.68Z",fill:"#000"})),Kg||(Kg=d("path",{d:"M9.858 16.423a8.563 8.563 0 1 0 8.563-8.562 8.573 8.573 0 0 0-8.563 8.562Zm8.563-7.381a7.382 7.382 0 1 1-7.382 7.381 7.39 7.39 0 0 1 7.382-7.381Z",fill:"#000"})),Qg||(Qg=d("path",{d:"m29.895 26.442-4.626 2.186a3.768 3.768 0 0 0-3.212-1.982l-4.27-.118a4.51 4.51 0 0 1-1.94-.5l-.435-.226a7.664 7.664 0 0 0-7.1.008l.028-.985a.59.59 0 0 0-.574-.607l-4.683-.128a.59.59 0 0 0-.606.574l-.283 10.275a.59.59 0 0 0 .574.607l4.683.129h.016a.59.59 0 0 0 .59-.575l.014-.491 1.216-.651a2.086 2.086 0 0 1 1.557-.17l7.265 2.038a7.779 7.779 0 0 0 1.635.174 7.879 7.879 0 0 0 3.29-.718.561.561 0 0 0 .074-.04l10.533-6.813a.59.59 0 0 0 .193-.787 2.983 2.983 0 0 0-3.94-1.2ZM3.39 34.382l.25-9.096 3.502.097-.25 9.095-3.502-.096Zm19.112-.155a6.695 6.695 0 0 1-4.094.457l-7.245-2.034a3.266 3.266 0 0 0-2.434.267l-.622.333.167-6.048a6.491 6.491 0 0 1 6.594-.351l.434.225c.76.392 1.597.608 2.452.633l4.27.117a2.59 2.59 0 0 1 2.462 2.064l-6.361-.175a.59.59 0 0 0-.033 1.18l7.02.194h.016a.59.59 0 0 0 .59-.575 3.746 3.746 0 0 0-.057-.766l4.745-2.242.014-.006a1.804 1.804 0 0 1 2.04.285l-9.958 6.442ZM19.012 6.2V.59a.59.59 0 0 0-1.182 0V6.2a.59.59 0 0 0 1.182 0ZM23.44 6.2V3.543a.59.59 0 0 0-1.18 0V6.2a.59.59 0 0 0 1.18 0ZM14.583 6.2V3.543a.59.59 0 0 0-1.181 0V6.2a.59.59 0 0 0 1.18 0Z",fill:"#000"})))};var nw,rw;function iw(){return iw=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},iw.apply(this,arguments)}const ow=function(e){return d("svg",iw({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),nw||(nw=d("path",{d:"M16.9 5.158a1.92 1.92 0 0 0-.006-.012c-.109-.208-.363-.343-.648-.343h-.001c-.286 0-.54.135-.648.344l-.005.01-2.406 4.995c-.109.227.035.48.322.567.287.086.608-.028.717-.254l.463-.961h3.098l.457.96c.085.175.296.284.52.284.066 0 .132-.01.197-.029.287-.085.432-.339.323-.566L16.9 5.158ZM15.11 8.625l1.133-2.352 1.122 2.352h-2.255ZM23.533 7.596l1.871-2.1c.177-.199.117-.473-.134-.613s-.598-.092-.774.106l-1.642 1.843-1.639-1.842c-.177-.199-.523-.247-.774-.107s-.312.414-.135.612l1.868 2.1-2.191 2.46c-.177.199-.117.473.134.613.097.054.21.08.32.08a.61.61 0 0 0 .454-.187l1.963-2.202 1.959 2.202a.61.61 0 0 0 .455.187.66.66 0 0 0 .319-.08c.251-.14.311-.414.135-.612l-2.189-2.46ZM12.271 4.803H8.733c-.307 0-.556.197-.556.44 0 .242.25.439.556.439H9.94v4.626c0 .243.249.44.556.44.307 0 .556-.197.556-.44V5.682h1.22c.307 0 .556-.197.556-.44 0-.242-.25-.439-.556-.439ZM6.648 22.468c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.1.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44s-.249-.44-.556-.44c-.338 0-.478-.1-.733-.283-.3-.217-.712-.513-1.48-.513-.769 0-1.18.296-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.101-.732-.284-.3-.217-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.439.555.439ZM6.648 24.233c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.44-.556-.44-.338 0-.478-.1-.733-.283-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.44.555.44ZM7.38 26.282c.301.217.713.513 1.481.513.768 0 1.18-.296 1.48-.513.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.217.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.439-.556-.439-.338 0-.478-.1-.733-.284-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44s.248.44.555.44c.338 0 .478.1.733.283Z",fill:"#000"})),rw||(rw=d("path",{d:"M33.415 10.084a.357.357 0 0 0-.008-.039c-.343-2.034-1.647-3.067-3.908-4.638-.03-.343-.061-.668-.094-.984-.116-1.157-1.262-2.086-2.724-2.21-1.12-.093-2.25-.171-3.359-.232-2.168-.943-4.308-1.624-6.197-1.97a.699.699 0 0 0-.25 0c-1.891.347-4.031 1.028-6.196 1.97-1.129.062-2.259.14-3.36.233-1.462.123-2.607 1.052-2.724 2.208-.032.319-.063.643-.094.984-2.29 1.591-3.424 2.5-3.91 4.647a.337.337 0 0 0-.005.029v.005a63.15 63.15 0 0 0 0 17.158c.172 1.257 1.45 2.24 3.039 2.34.366.023.732.045 1.097.065.013 0 3.521.116 1.427.116.289 0 1.676.078 1.725-.465.022-.242-.559-.395-.865-.412-.362-.02-2.933-.158-3.297-.18-1.051-.066-1.899-.716-2.02-1.548v-.003c-.159-1.438 1.85-4.039 5.12-6.628.216-.172.216-.45-.001-.622a.664.664 0 0 0-.786.001c-1.775 1.406-3.595 3.17-4.619 4.796a62.456 62.456 0 0 1 .044-12.533c.805.986 1.999 1.93 2.864 2.55.206.148.421.298.635.442.065.045.132.089.2.133l.011.008a36.255 36.255 0 0 0 4.472 2.503c2.531 1.194 5.035 2.039 7.243 2.443a.7.7 0 0 0 .25 0c2.248-.412 4.797-1.278 7.371-2.504a37.96 37.96 0 0 0 1.767-.9 33.745 33.745 0 0 0 2.807-1.696c.206-.139.413-.284.616-.43.866-.62 2.06-1.564 2.864-2.55.435 4.166.449 8.365.044 12.534-1.024-1.625-2.844-3.39-4.619-4.796a.664.664 0 0 0-.786 0c-.217.171-.217.45 0 .621 3.269 2.589 5.278 5.19 5.119 6.628v.006c-.123.83-.97 1.48-2.02 1.545-7.72.48-15.552.541-23.279.18-.307-.015-.57.17-.587.412-.018.243.215.45.522.465a215.472 215.472 0 0 0 23.431-.181c1.589-.1 2.867-1.083 3.04-2.34.78-5.694.78-11.468 0-17.162ZM17 .89c1.1.21 2.29.538 3.524.97a115.812 115.812 0 0 0-7.049 0A24.836 24.836 0 0 1 17 .892ZM1.689 10.193c.354-1.553 1.01-2.299 2.708-3.533a92.655 92.655 0 0 0-.267 6.705c-1.613-1.296-2.528-2.47-2.441-3.172Zm28.182 3.171a91.19 91.19 0 0 0-.059-2.977c-.009-.243-.266-.434-.571-.427-.307.007-.549.21-.54.452.045 1.25.064 2.524.057 3.787-.136.096-.273.191-.41.284a32.633 32.633 0 0 1-2.713 1.64c-.555.3-1.13.594-1.713.87-2.426 1.157-4.817 1.978-6.922 2.378-2.066-.393-4.414-1.192-6.798-2.318a35.088 35.088 0 0 1-4.328-2.421l-.012-.008-.188-.127c-.146-.098-.29-.197-.431-.297a91.783 91.783 0 0 1 .46-9.707c.074-.736.803-1.327 1.733-1.405a114.117 114.117 0 0 1 19.128 0c.93.078 1.66.669 1.733 1.405a92.098 92.098 0 0 1 .325 4.17c.014.242.276.43.58.42.306-.011.544-.216.53-.459-.035-.654-.08-1.31-.13-1.963 1.736 1.261 2.468 2.065 2.708 3.523.096.7-.82 1.878-2.44 3.18Z",fill:"#000"})))};var aw,sw,cw;function lw(){return lw=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},lw.apply(this,arguments)}const uw=function(e){return d("svg",lw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),aw||(aw=d("path",{d:"M29.707 19.027a.524.524 0 0 0-.524.524.666.666 0 0 1-1.33 0 .524.524 0 1 0-1.048 0c0 .945.769 1.713 1.713 1.713.945 0 1.713-.768 1.713-1.713a.524.524 0 0 0-.524-.523Z",fill:"#000"})),sw||(sw=d("path",{d:"m34.625 19.113-1.475-.472a.617.617 0 0 1-.398-.404 9.507 9.507 0 0 0-1.394-2.757c-.28-.383-.59-.75-.93-1.098a13 13 0 0 0 .32-2.968c-.022-1.335-.29-2.118-.816-2.394-.284-.148-1.147-.6-5.82 1.539a1.7 1.7 0 0 0-.31.184 20.386 20.386 0 0 0-.961-.233l-.119-.024c.379-.827.6-1.726.641-2.654a.524.524 0 1 0-1.046-.046 6.087 6.087 0 0 1-3.989 5.45 15.196 15.196 0 0 0-4.217 0 6.066 6.066 0 0 1-2.207-1.41 6.063 6.063 0 0 1-1.787-4.315c0-1.63.635-3.163 1.787-4.316a6.063 6.063 0 0 1 4.316-1.787c1.63 0 3.163.634 4.315 1.787.463.463.846.992 1.138 1.571a.524.524 0 1 0 .936-.471 7.143 7.143 0 0 0-1.333-1.84A7.104 7.104 0 0 0 16.22.36c-1.91 0-3.706.744-5.057 2.094A7.104 7.104 0 0 0 9.07 7.511c0 1.91.744 3.705 2.094 5.056.39.39.814.725 1.262 1.005a14.8 14.8 0 0 0-.968.287.524.524 0 0 0 .332.994 14.06 14.06 0 0 1 8.862 0 .524.524 0 1 0 .332-.994 14.74 14.74 0 0 0-.969-.287 7.148 7.148 0 0 0 2.175-2.126 19.451 19.451 0 0 1 .99.219l-.016.069c-.256 1.212-.239 2.284.05 3.187a3.792 3.792 0 0 0 1.389 1.953c.78.571 1.724.818 2.578.818.643 0 1.236-.14 1.672-.386.492-.28.905-.867 1.231-1.75a8.458 8.458 0 0 1 1.67 2.995c.162.517.565.923 1.078 1.088l1.474.472c.387.124.647.48.647.886v2.446c0 .406-.26.762-.646.886l-2.376.76a1.62 1.62 0 0 0-.906.737c-.934 1.613-2.401 2.947-4.362 3.967a.821.821 0 0 0-.43.579L25.47 34.4a.236.236 0 0 1-.231.191h-2.474a.235.235 0 0 1-.231-.191l-.422-2.227a.823.823 0 0 0-.936-.662 21.909 21.909 0 0 1-5.665.107.83.83 0 0 0-.908.666l-.4 2.116a.236.236 0 0 1-.231.191h-2.475a.236.236 0 0 1-.231-.193l-.733-3.805a.822.822 0 0 0-.422-.572C6.768 28.237 5 25.256 5 21.4c0-1.948.426-3.671 1.266-5.12.785-1.354 1.93-2.472 3.406-3.325a.524.524 0 0 0-.525-.907c-2.86 1.654-4.585 4.207-5.06 7.449l-.152-.014a2.61 2.61 0 0 0-.192-1.046c-.303-.755-.928-1.3-1.59-1.389-.522-.07-1.019.152-1.364.607-.5.66-.418 1.184-.262 1.506.264.543.942.928 2.068 1.17a2.05 2.05 0 0 1-.102.14c-.665.834-1.449 1.018-1.958 1.035a.55.55 0 0 0-.536.548v.002c0 .294.232.534.526.547.037.002.077.003.117.003.644 0 1.678-.237 2.67-1.482.157-.197.285-.404.383-.618l.285.03v-.001c-.018.284-.028.572-.028.865 0 2.181.52 4.127 1.546 5.782.945 1.525 2.3 2.775 4.025 3.714l.713 3.7a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.44 1.26-1.044l.362-1.913a23.016 23.016 0 0 0 5.528-.104l.382 2.017a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.439 1.26-1.044l.742-3.923c2.093-1.107 3.67-2.561 4.69-4.323a.572.572 0 0 1 .318-.262l2.376-.761A1.973 1.973 0 0 0 36 23.442v-2.445c0-.863-.553-1.62-1.375-1.884Zm-5.004-6.227c-.201 1.725-.742 3.2-1.286 3.508-.618.35-2.044.417-3.115-.366-1.072-.784-1.429-2.194-1.032-4.078a.632.632 0 0 1 .36-.438c2.623-1.2 4.135-1.594 4.697-1.594.084 0 .147.01.19.026.168.18.39 1.202.186 2.942Zm-28.15 5.817c-.054-.112.074-.308.155-.415.129-.17.247-.205.336-.205a.39.39 0 0 1 .053.004c.241.032.579.297.757.741.043.105.097.278.11.495-.725-.15-1.289-.367-1.411-.62Z",fill:"#000"})),cw||(cw=d("path",{d:"M16.729 6.91V5.035c.646.046.887.342 1.108.342.277 0 .407-.35.407-.526 0-.453-.887-.647-1.515-.665v-.25c0-.11-.139-.212-.277-.212-.157 0-.268.101-.268.212v.268c-.878.092-1.755.554-1.755 1.718 0 1.182.923 1.515 1.755 1.81v2.17c-.942-.073-1.192-.72-1.497-.72-.23 0-.424.305-.424.527 0 .452.776 1.071 1.92 1.09v.286c0 .11.112.212.269.212.138 0 .277-.101.277-.212v-.314c.997-.139 1.68-.767 1.68-1.903 0-1.256-.877-1.662-1.68-1.958Zm-.49-.175c-.49-.185-.887-.379-.887-.905 0-.48.37-.712.887-.776v1.68Zm.434 3.15v-1.95c.453.194.813.453.813 1.035 0 .526-.314.822-.813.914Z",fill:"#000"})))};var fw,dw;function hw(){return hw=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},hw.apply(this,arguments)}const pw=function(e){return d("svg",hw({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fw||(fw=d("g",{clipPath:"url(#icon-benefits-onboarding_svg__a)",fill:"#000"},d("path",{d:"m20.195 4.67-2.8-4a.4.4 0 0 0-.328-.17h-8.8a.4.4 0 0 0-.328.17l-2.8 4a.4.4 0 0 0 .045.513l7.2 7.2a.399.399 0 0 0 .566 0l7.2-7.2a.4.4 0 0 0 .045-.512Zm-7.528 6.864-6.68-6.68L8.475 1.3h8.384l2.487 3.554-6.68 6.68Z"}),d("path",{d:"M19.467 4.5h-14v.8h14v-.8Z"}),d("path",{d:"m15.094 4.755-2.427 6.241-2.427-6.241-.746.29 2.8 7.2a.4.4 0 0 0 .745 0l2.8-7.2-.745-.29Z"}),d("path",{d:"M16.695.752 15.37 4.065 12.995.67c-.15-.214-.506-.214-.656 0L9.964 4.065 8.638.752l-.742.297 1.6 4a.4.4 0 0 0 .699.08l2.472-3.531 2.473 3.531a.399.399 0 0 0 .698-.08l1.6-4-.742-.297ZM3.467 4.5h-2.8v.8h2.8v-.8ZM2.889.567l-.444.665 2.4 1.6.444-.665-2.4-1.6ZM4.846 6.968l-2.4 1.6.443.666 2.4-1.6-.443-.666ZM24.667 4.5h-2.8v.8h2.8v-.8ZM22.446.568l-2.4 1.6.443.665 2.4-1.6-.443-.665ZM20.49 6.965l-.444.666 2.4 1.6.444-.666-2.4-1.6ZM23.962 13.816a1.598 1.598 0 0 0-1.786.003L16.542 17.7h-6.475a.6.6 0 0 1 0-1.2h3.002c1.371 0 2.532-.98 2.761-2.336l.064-.4a.4.4 0 0 0-.395-.464H8.415c-.442 0-.877.15-1.226.42l-3.168 2.464.492.632 3.167-2.464c.21-.162.47-.252.735-.252h6.613a1.994 1.994 0 0 1-1.96 1.6h-3c-.773 0-1.4.628-1.4 1.4 0 .772.627 1.4 1.4 1.4h6.6a.4.4 0 0 0 .226-.07l5.732-3.95a.798.798 0 0 1 1.241.656v.347a.8.8 0 0 1-.335.646l-6.225 4.395-10.315 1.983.15.786 10.4-2a.406.406 0 0 0 .156-.066l6.297-4.445c.418-.298.67-.783.672-1.298v-.35a1.6 1.6 0 0 0-.706-1.318Z"}),d("path",{d:"m7.825 23.121-4-8a.402.402 0 0 0-.58-.154l-2.4 1.6a.4.4 0 0 0-.178.333v7.2c0 .221.18.4.4.4h4.8a.404.404 0 0 0 .18-.042l1.6-.8a.4.4 0 0 0 .178-.537Zm-2.052.579H1.467v-6.586l1.845-1.23 3.618 7.237-1.157.579Z"}),d("path",{d:"M3.467 20.5c-.662 0-1.2.538-1.2 1.2 0 .662.538 1.2 1.2 1.2.662 0 1.2-.538 1.2-1.2 0-.662-.538-1.2-1.2-1.2Zm0 1.6a.4.4 0 1 1 0-.8.4.4 0 0 1 0 .8Z"}))),dw||(dw=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};var mw,$w,gw,ww,vw,yw,bw;function _w(){return _w=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},_w.apply(this,arguments)}const Cw=function(e){return d("svg",_w({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),mw||(mw=d("path",{d:"M41.05 0h310.02c21.81 2.11 37.24 17.71 37.38 39.75q.11 19.22-.01 38.3a.26.25-33.3 0 0 .49.1q7.85-18.24 15.66-36.33 4.37-10.1 16.29-9.43a.75.73 12.7 0 0 .71-.44c2.76-6.27 5.51-14.07 9.06-18.94Q439.35 1.07 455.34 0h1.44c18.05 1.24 31.23 16.62 29.09 34.48-.8 6.71-4.67 14.42-7.67 21.09a1.01 1-70.6 0 0 .66 1.38q8.11 2.11 7.01 10.55-.06.5.41.7 8.39 3.53 16.73 7.21c5.53 2.44 6.45 6.58 4.09 12.1q-29.71 69.25-59.54 138.44-1.67 3.87-3.72 5.24c-4.44 2.98-11.56-.34-11.86-5.78q-.13-2.24 1.68-6.43 28.3-65.84 56.57-131.58a.58.57 23.3 0 0-.31-.76L480 82.5q-.57-.23-.82.33-73.05 169.3-145.96 338.76-1.88 4.37-2.97 5.4-22.77 21.45-45.61 42.83-5.3 4.95-8.64 6.14c-8.08 2.86-17.9-1.38-21.36-9.18q-1.41-3.15-1.47-9.29-.34-31.81-.11-63.23a7.4 7.34 57.2 0 1 .61-2.89q58.89-136.45 118.22-273.79 1.04-2.4 1.04-5.02.12-33.22.07-66.47-.02-10.51-1.56-14.9c-3.56-10.2-12.95-15.69-23.69-15.69H48.81q-9.55.01-13.83 1.47C23.74 20.81 19.06 30.52 19.05 42Q19 254.41 19 466.81c.01 12.68 2.82 23.72 15.87 28.13q4.67 1.57 16.93 1.57 145.45-.03 290.89 0 9.49.01 13.95-1.43 11.34-3.64 14.96-14.94 1.45-4.52 1.43-14.46-.07-50.37-.01-100.73c.01-11.76 15.46-11.97 15.47.83q.04 50.76-.01 101.52-.01 11.03-1.44 16.13c-4.6 16.42-19.1 27.42-36.11 28.57H41.19c-17.03-1.1-31.64-12.26-36.15-28.58q-1.53-5.56-1.53-19.11-.02-211.78.04-423.56C3.56 18.17 18.5 2.21 41.05 0Zm395.38 38.46 26.56 11.49a.68.68 0 0 0 .9-.35l5.35-12.37a15.64 15.08-66.6 0 0-7.63-20.35l-.13-.05a15.64 15.08-66.6 0 0-20.05 8.36l-5.35 12.37a.68.68 0 0 0 .35.9Zm31.6 31.214a.54.54 0 0 0-.281-.71L419.493 48.08a.54.54 0 0 0-.71.282L356.51 192.267a.54.54 0 0 0 .281.71l48.256 20.882a.54.54 0 0 0 .71-.282L468.03 69.673Zm-68.852 159.068a.47.47 0 0 0-.246-.617l-48.42-20.853a.47.47 0 0 0-.618.245l-78.572 182.44a.47.47 0 0 0 .246.618l48.42 20.853a.47.47 0 0 0 .618-.245l78.572-182.44ZM268.84 460.47a.5.5 0 0 0 .24.42l1.15.68a.5.5 0 0 0 .59-.07l39.08-36.7a.5.5 0 0 0-.15-.82l-40.54-17.53a.5.5 0 0 0-.7.47l.33 53.55Z"})),$w||($w=d("path",{d:"M273.75 81.24V59.5q0-.75-.75-.75H117.11a.4.39 0 0 0-.4.39l.03 21.93q0 .71.71.71 41.6-.03 81.33-.03c1.97 0 6.09-.08 8 .66 6.18 2.41 6.73 11.55.78 14.19q-1.98.88-6.87.88-40.38.04-80.76.02c-14.59-.01-18.86-4.77-18.92-19.02q-.06-14.55 0-20.21c.11-10.44 6.57-15.02 16.12-15.02q77.68 0 155.37.01c11.34 0 16.69 4.56 16.73 16.07q.03 10.39.03 20.76c.01 13.14-5.3 17.37-18.07 17.4q-14.96.03-29.94 0c-9.3-.03-11.48-12.56-2.99-15.23q1.41-.45 6.24-.45 14.36.01 28.74-.06.51-.01.51-.51Z"})),gw||(gw=d("rect",{x:66.34,y:129.52,width:259.34,height:15.72,rx:7.8})),ww||(ww=d("rect",{x:66.48,y:178.5,width:259.2,height:15.74,rx:7.8})),vw||(vw=d("rect",{x:66.35,y:227.51,width:203.38,height:15.72,rx:7.78})),yw||(yw=d("rect",{x:66.34,y:276.52,width:112.62,height:15.48,rx:7.61})),bw||(bw=d("path",{d:"M62.69 442.31c-4.05-2.49-4.18-6.83-2.39-11.05q10.01-23.68 36-26c15.84-1.42 25.16 5.95 37.55 15.52 15.22 11.75 29.77 9.57 40.42-6.61q2.43-3.69 3.4-4.47c6.74-5.44 15.31 2.52 11.07 10.33-13.5 24.83-40.22 31.34-63.03 13.98-5.31-4.04-11.55-9.66-17.25-11.65-11.66-4.09-24.89-.23-31.63 10.48-3.23 5.14-5.29 14.92-14.14 9.47Z"})))};class xw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Height","Width"]}}function kw(e){const t=Ar(e,1);return d(Ug,t)}class Sw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class Iw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ToBeCompleted","CompletedAll"]}}function Aw(e){let t,n;if(1===e.tag?(t=0,n=e.fields[2]):(t=0,n=e.fields[3]),0===t)return n}function Ew(e,t){const n=t.state;return 1===n.tag?ot(n.fields[0],e)?new Sw(2):new Sw(1):function(e,t,n,r){let i;switch(i=Kn(e,r,{Equals:ot,GetHashCode:nt})?ot(t,e)?1:ot(n,e)?2:3:ot(t,e)?0:ot(n,e)?2:4,i){case 0:return new Sw(0);case 1:return new Sw(2);case 2:return new Sw(3);case 3:return new Sw(1);case 4:return new Sw(4)}}(e,n.fields[0],n.fields[1],n.fields[2])}function Ow(e,t,n){let r;t.dispatch((r=t.state,1===r.tag?new Pg(1,new Tg(2,e,void 0,r.fields[1],r.fields[2])):new Pg(1,new Tg(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function Nw(e,t){switch(t.tag){case 1:return function(e){const t=Ar(e,1);return d(Jg,t)}([new xw(0,e),new xw(1,e)]);case 2:return function(e){const t=Ar(e,1);return d(tw,t)}([new xw(0,e),new xw(1,e)]);case 3:return function(e){const t=Ar(e,1);return d(ow,t)}([new xw(0,e),new xw(1,e)]);case 4:return function(e){const t=Ar(e,1);return d(uw,t)}([new xw(0,e),new xw(1,e)]);case 5:return null;case 6:case 8:return function(e){const t=Ar(e,1);return d(pw,t)}([new xw(0,e),new xw(1,e)]);case 7:return function(e){const t=Ar(e,1);return d(Cw,t)}([new xw(0,e),new xw(1,e)]);default:return function(e){const t=Ar(e,1);return d(Vg,t)}([new xw(0,e),new xw(1,e)])}}function Tw(e){const t=$r(fr((()=>{const t=Aw(e.state);return wr(_r((n=>function(e,t,n){return d("div",ft($r(fr((()=>wr(pr(["className",vn(" ",["grid","grid-cols-12","mb-3","items-center"])]),fr((()=>{let r,i,o,a,s,c;return wr(pr((r=[d("div",ft(Vn([["className",vn(" ",["col-span-2","sm:col-span-3"])],(i=$r(fr((()=>{let r;return wr(pr(d("div",ft(Vn([["className",vn(" ",$r(fr((()=>{switch(Ew(e,t).tag){case 4:default:return pr("fl-step-tick-to-complete");case 0:return pr("fl-step-tick-active");case 1:case 2:return pr("fl-step-tick-complete-or-editing")}}))))],(r=[kw([["className",vn(" ",$r(fr((()=>wr(pr("-mt-2"),fr((()=>wr(pr("scale-75"),fr((()=>wr(pr("inline-block"),fr((()=>{switch(Ew(e,t).tag){case 4:case 0:default:return pr("invisible");case 1:case 2:return pr("visible")}})))))))))))))]])],["children",gi.Children.toArray(Array.from(r))])])))),fr((()=>n?hr():pr(d("div",{className:vn(" ",["fl-step-tick-progress-bar"])})))))}))),["children",gi.Children.toArray(Array.from(i))])]))),d("div",ft(Vn([["className",vn(" ",["col-span-10","sm:col-span-9"])],(o=[d("button",ft(Vn([["className",vn(" ",$r(fr((()=>wr(pr("whitespace-nowrap"),fr((()=>wr(pr("border"),fr((()=>wr(pr("inline-flex"),fr((()=>wr(pr("w-full"),fr((()=>wr(pr("rounded-md"),fr((()=>wr(pr("items-center"),fr((()=>{switch(Ew(e,t).tag){case 3:case 1:return pr("fl-step-btn-ready-or-complete");case 0:case 2:return pr("fl-step-btn-active-or-editing");default:return pr(dn(ln("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(a=[d("span",ft(Vn([["className",vn(" ",["mx-3","inline-block"])],(s=[Nw(36,e)],["children",gi.Children.toArray(Array.from(s))])]))),(c=Eg(e),d("span",{children:[c]}))],["children",gi.Children.toArray(Array.from(a))])])))],["children",gi.Children.toArray(Array.from(o))])])))],["children",gi.Children.toArray(Array.from(r))])),fr((()=>ot(Ew(e,t),new Sw(4))?hr():pr(["onClick",n=>{Ow(e,t)}]))))}))))))))}(n,e,ot(n,function(e){const t=function(e){e:for(;;){const t=e;if(On(t))return;{const n=Pn(t);if(On(n))return xt(Tn(t));e=n;continue e}}}(e);if(null==t)throw new Error(kn);return kt(t)}(t)))),t),fr((()=>1===e.state.tag?pr(d("button",{className:vn(" ",["inline-flex","items-center","justify-center","px-4","py-2","border","border-transparent","shadow-sm","text-sm","font-medium","rounded-md","text-primary-text","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-primary-focus","bg-primary-base","hover:bg-primary-hover","w-full","mt-8"]),children:"Submit",onClick:t=>{e.dispatch(new Pg(4,new q$(0)))}})):pr(null))))})));return d("div",{children:gi.Children.toArray(Array.from(t))})}function Pw(e){return!(Ln(Aw(e.state))<=3)}function Mw(e){return Pw(e)?25:36}function Dw(e,t){return Pw(e)?wr(["text-xs"],t):t}function Rw(e){let t;return d("div",ft(Vn([["className",vn(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(t=$r(fr((()=>_r((t=>function(e,t){let n;return d("div",ft(Vn([["className",vn(" ",["grow","mx-1"])],(n=[d("button",ft($r(fr((()=>wr(pr(["className",vn(" ",$r(fr((()=>wr(pr("whitespace-nowrap"),fr((()=>wr(pr("border"),fr((()=>wr(pr("inline-flex"),fr((()=>wr(pr("items-center"),fr((()=>wr(pr("justify-center"),fr((()=>wr(pr("w-full"),fr((()=>wr(pr("rounded-md"),fr((()=>{switch(Ew(e,t).tag){case 3:case 1:return pr("fl-step-btn-ready-or-complete");case 0:case 2:return pr("fl-step-btn-active-or-editing");default:return pr(dn(ln("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),fr((()=>{let n,r;return wr(pr((n=[d("span",ft(Vn([["className",vn(" ",["md:mr-2","inline-block"])],(r=[Nw(Mw(t),e)],["children",gi.Children.toArray(Array.from(r))])]))),d("span",{children:Eg(e),className:vn(" ",Dw(t,["hidden","md:inline-block"]))})],["children",gi.Children.toArray(Array.from(n))])),fr((()=>ot(Ew(e,t),new Sw(4))?hr():pr(["onClick",n=>{Ow(e,t)}]))))}))))))))],["children",gi.Children.toArray(Array.from(n))])])))}(t,e)),Aw(e.state))))),["children",gi.Children.toArray(Array.from(t))])])))}function Bw(e){let t,n,r;const i=e.dispatch,o=e.allSteps,a=e.completedSteps,s=e.readyToCompleteStep,c=e.step;return d("div",ft(Vn([["className",vn(" ",["grid","grid-cols-12","mb-1"])],(t=[d("div",{className:vn(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:gi.Children.toArray([af]),onClick:e=>{i(new Pg(1,function(e,t,n,r){return null==t?new Tg(3,n,r):new Tg(1,e,t,n,r)}(c,s,a,o)))}}),d("div",ft(Vn([["className",vn(" ",["col-span-8","text-center"])],(n=[(r=Eg(c),d("b",{children:[r]}))],["children",gi.Children.toArray(Array.from(n))])]))),d("div",{className:vn(" ",["col-span-2"])})],["children",gi.Children.toArray(Array.from(t))])])))}class Lw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class jw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class Ww extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function Uw(e){const t=e.children,n=e.effect,r=e.props,i=e.step;return Bi(n),d(1===i.tag?Zo.ComponentTagName:2===i.tag?qo.ComponentTagName:3===i.tag?Yo.ComponentTagName:4===i.tag?Jo.ComponentTagName:5===i.tag?Xo.ComponentTagName:6===i.tag?Qo.ComponentTagName:7===i.tag?ea.ComponentTagName:8===i.tag?ta.ComponentTagName:Vo.ComponentTagName,Ar(r,1),...t)}function Fw(e){let t,n,r;return d("div",ft(Vn([["className",vn(" ",["text-center"])],(t=[d("h4",{className:vn(" ",["text-2xl","mb-2"]),children:"Well done!"}),d("p",ft(Vn([["className",vn(" ",["mb-2"])],(n=["You've completed all the steps below.",d("br",{}),"You can review and edit your information by clicking the relevant step, or press Submit to continue."],["children",gi.Children.toArray(Array.from(n))])]))),d("div",ft(Vn([["className",vn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left","p-3"])],(r=[d(Tw,e)],["children",gi.Children.toArray(Array.from(r))])])))],["children",gi.Children.toArray(Array.from(t))])])))}function zw(e){let t;const n=e.accessToken,r=e.appMode,i=function(e,t,n){return Pf((()=>If((()=>e),t,((e,t)=>{}))),[])}(function(e){const t=function(e,t){if("string"!=typeof e)throw new Z$("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(V$(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return V$(t)}}(e.split(".")[n]))}catch(e){throw new Z$("Invalid token specified: "+e.message)}}(e);return[new Mg(Co(t.sub),Ia(t.workflow.instanceId),new q$(0),new Tg(0),Mn(),new Sg(0)),hf()]}(n),((e,t)=>Lg(n,r,e,t))),o=i[0],a=i[1];Li(function(e,t){const n=ji(new Ss(!1));return Ri((()=>Pi((()=>{n.current.cancel()}))),[]),Ui((r=>{var i;null!=(i=n.current)&&i.isCancelled||Rs(Os.Delay((()=>Os.TryWith(Os.Delay((()=>(t(new q$(1)),Os.Bind(e(r),(e=>(t(new q$(2,e)),Os.Zero())))))),(e=>(t(new q$(3,e)),Os.Zero()))))),n.current)}))}((()=>function(e,t){return Bg(e,t)}(o.ProcessInstanceId,n)),(e=>{a(new Pg(0,e))})),[]),Li((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{Us()})):new ks((()=>{Us()}))).observe(document.body)}),[]),Li((()=>{const e=[o.ProcessInstance,o.CurrentView];let t;switch(t=2===e[0].tag?2!==e[1].tag||4!==e[1].fields[0].tag&&5!==e[1].fields[0].tag?1:0:2,t){case 0:case 2:break;case 1:th(Rn(hh(r)),2,2)}}),[o.CurrentView,o.ProcessInstance]),Bi((()=>{window.addEventListener("step-completion",(e=>{a(new Pg(2,e))}))}));const s=o.ProcessInstance;let c,l;switch(1===s.tag?c=0:2===s.tag?1===s.fields[0].tag?c=2:(c=1,l=s.fields[0].fields[0]):c=3===s.tag?2:0,c){case 0:return d("div",{children:["Please wait..."]});case 1:{const e=Ot((e=>Et(vd,e.Branding)),l.Invite);return d("div",ft(Vn([["className",vn(" ",["max-w-7xl","mx-auto","pb-2"])],(t=$r(fr((()=>wr(_r((e=>d("style",{children:[e]})),o.CssOverrides),fr((()=>{let t,i,s,c,u,f;const h=o.CurrentView;switch(h.tag){case 1:{const e=h.fields[0],n=h.fields[1],r=h.fields[2],i=h.fields[3];return wr(pr(d("div",ft(Vn([["className",vn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(t=[d(Tw,{dispatch:a,state:null==n?new Iw(1,e,r,i):new Iw(0,e,n,r,i)})],["children",gi.Children.toArray(Array.from(t))])])))),fr((()=>(zs(0),hr()))))}case 2:{const e=h.fields[0],t=h.fields[1],s=h.fields[2],c=h.fields[3];return pr((i=$r(fr((()=>{let i;return wr(Ln(c)>1?pr(d("div",ft(Vn([["className",vn(" ",["pt-2","relative"])],(i=[d(Bw,{step:e,readyToCompleteStep:t,completedSteps:s,allSteps:c,dispatch:a}),d(Rw,{dispatch:a,state:null==t?new Iw(1,e,s,c):new Iw(0,e,t,s,c)})],["children",gi.Children.toArray(Array.from(i))])])))):hr(),fr((()=>{let t,i;return pr(d("div",ft(Vn([["className",vn(" ",["grid","grid-cols-12","px-1"])],(t=[d("div",ft(Vn([["className",vn(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(i=$r(fr((()=>4===e.tag?pr(d(Uw,{step:new kg(4),props:[new Lw(1,n),new Lw(0,dn(ln("%s/super-selection/backend/v1.0/"))(ch)),new jw(0,hh(r))],effect:()=>{a(new Pg(6)),zs(2500)},children:[]})):pr(d(Uw,{step:e,props:[new Lw(1,n),new Lw(0,ch),new Ww(0,Je(Aa(o.ProcessInstanceId)))],effect:()=>{zs(1500)},children:[]}))))),["children",gi.Children.toArray(Array.from(i))])])))],["children",gi.Children.toArray(Array.from(t))])]))))})))}))),d("div",{children:gi.Children.toArray(Array.from(i))})))}case 3:return wr(pr(d("div",ft(Vn([["className",vn(" ",["pt-5","px-4"])],(s=[d(Fw,{dispatch:a,state:new Iw(1,void 0,h.fields[0],h.fields[1])})],["children",gi.Children.toArray(Array.from(s))])])))),fr((()=>(zs(0),hr()))));case 4:return wr(pr(d("div",{className:vn(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),fr((()=>(zs(0),hr()))));case 5:switch(l.JourneyType.tag){case 1:return pr(d("div",ft(Vn([["className",vn(" ",["mt-5","px-4"])],(c=[D$(e,"information request")],["children",gi.Children.toArray(Array.from(c))])]))));case 2:return pr(d("div",ft(Vn([["className",vn(" ",["mt-5","px-4"])],(u=[R$()],["children",gi.Children.toArray(Array.from(u))])]))));case 3:case 4:return pr(Zi());default:return pr(d("div",ft(Vn([["className",vn(" ",["mt-5","px-4"])],(f=[D$(e,"onboarding")],["children",gi.Children.toArray(Array.from(f))])]))))}default:return pr(d("div",{children:["Please wait..."]}))}})))))),["children",gi.Children.toArray(Array.from(t))])])))}case 2:return Zi()}}class Hw extends vt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Gw extends m{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function Vw(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent(fh),i=encodeURIComponent((o=new dh(0),`${window.location.protocol}//${window.location.host}${hh(o)}`));var o;return Os.Delay((()=>{let e,t,o;const a=cp((t=op(new ph(1),ip(`${sh}/connect/token`)),e=ap(tp("application/x-www-form-urlencoded"),t),sp(new $h(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${i}`),e)));return o=Os.Bind(a,(e=>Os.Return(new fo(0,e)))),Os.Bind(o,(e=>{const t=e;if(1===t.tag)return Os.Return(new fo(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=Xm(ht(2,$$(_$(),void 0,void 0)),e.responseText);return Os.Return(t)}return Os.Return(new fo(1,"Unexpected result from backend"))}}))}))}function Zw(e){return Ds(e)}function qw(e,t){return Os.Delay((()=>{let e;return Os.Bind((r=[(e=Vw(0,t),Os.Bind(e,(e=>Os.Return(e)))),Os.Delay((()=>Os.Bind(Zw(2e3),(()=>Os.Return()))))],n=()=>function(e){return Ms((t=>e.then(t[0]).catch((e=>(e instanceof Is?t[2]:t[1])(e)))))}(Promise.all(Array.from(r,(e=>{return t=e,new Promise(((e,r)=>Bs(t,e,r,r,n||Ts)));var t,n})))),Es((e=>n()(e)))),(e=>Os.Return(e[0])));var n,r}))}function Yw(){const e=St(window.sessionStorage.getItem("credentials"));if(null!=e){const t=e,n=Xm(ht(2,$$(_$(),void 0,void 0)),t);return 1===n.tag?void 0:n.fields[0]}}function Jw(e,t){return pf((e=>new z$(3,e)),gf(new C$(0,new Fd(0),e,t)))}function Xw(e){return Jw(e,!1)}const Kw=d("div",ft(Vn([["className","flex flex-col justify-center items-center pt-10"],(()=>{const e=[Zi()];return["children",gi.Children.toArray(Array.from(e))]})()])));var Qw;!function(e){Ef(void 0,e)}(("workflows-app",Qw=If((function(){const e=U$(nh(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new F$(t,new Ud(0),n);switch(t.tag){case 4:case 1:case 2:case 5:case 6:return[r,hf()];case 0:{const e=[n,Yw()];let t;switch(t=0===e[0].tag||2===e[0].tag||null==e[1]?1:0,t){case 0:return[new F$(r.CurrentPage,new Ud(2,new fo(0,e[1])),r.AppMode),hf()];case 1:return[r,gf(new z$(5))]}}default:return[r,Xw(t.fields[0])]}}),(function(e,t){switch(e.tag){case 1:{const n=e.fields[0];return[new F$(new j$(3,n),t.Credentials,t.AppMode),Xw(n)]}case 2:return[new F$(new j$(4),t.Credentials,t.AppMode),pf((e=>new z$(3,e)),gf(new C$(1)))];case 3:{const n=function(e,t,n){let r;return 1===e.tag?1===t.tag?[t,vf((e=>{yf(e)}),Zw,1e3,(()=>new C$(1)))]:2===t.tag?1===t.fields[0].tag?[t,hf()]:[t,vf((e=>{yf(e)}),Zw,2e3,(()=>new C$(2)))]:[new Ud(2,new fo(1,"No current authenticated user")),hf()]:2===e.tag?[t,(r=window.location.pathname,$f((e=>{th(Rn(r),1,2)})))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Ud(2,new fo(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),hf()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Ud(2,new fo(0,e.fields[0].fields[0].fields[0])),e.fields[2]?hf():gf(new C$(2))]):[new Ud(1),wf((e=>{yf(e)}),(e=>qw(e[0],e[1])),[n,e.fields[1]],(t=>{const n=[new Fd(1,t),e.fields[1],e.fields[2]];return new C$(0,n[0],n[1],n[2])}),(t=>{const n=[new Fd(1,new fo(1,t.message)),e.fields[1],e.fields[2]];return new C$(0,n[0],n[1],n[2])}))]}(e.fields[0],t.Credentials,t.AppMode),r=n[0],i=[r,t.AppMode];let o,a;return 2===i[0].tag&&0===i[0].fields[0].tag&&1===i[1].tag?(o=0,a=i[0].fields[0].fields[0]):o=1,0===o&&function(e){let t;const n=["credentials",(t=new b$(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),dm(0,mm(_$(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(a),[new F$(t.CurrentPage,r,t.AppMode),pf((e=>new z$(3,e)),n[1])]}case 4:return[t,(n=e.fields[0],Jw(n,!0))];case 5:return[new F$(new j$(6),t.Credentials,t.AppMode),hf()];default:{const n=U$(e.fields[0])[0],r=new F$(n,t.Credentials,t.AppMode);return 3===n.tag?[r,Xw(n.fields[0])]:[r,hf()]}}var n}),(function(e,t){let n;const r=d("div",ft(Vn([["className",vn(" ",$r(fr((()=>wr(pr("workflows-app"),fr((()=>wr(pr("font-inter"),fr((()=>function(e){switch(e.CurrentPage.tag){case 1:case 5:case 6:default:return Mn();case 3:case 4:case 2:return Vn(["bg-white","h-full"])}}(e)))))))))))],(n=$r(fr((()=>wr(pr(function(e){switch(e.tag){case 0:default:return null;case 1:return d("style",{children:["\n html {\n height: 100%;\n }\n body {\n height: 100%;\n }\n #workflows-app {\n height: 100%;\n }"]})}}(e.AppMode)),fr((()=>{const n=e.CurrentPage;switch(n.tag){case 3:case 4:{const t=e.Credentials;let n;switch(n=2===t.tag&&1===t.fields[0].tag?0:1,n){case 0:return pr(Kw);case 1:return pr(d(Yi,null))}}case 1:return pr(d(cf,null));case 2:return pr(d(L$,{inviteCode:n.fields[0],navigateAuthCodeExchangePage:e=>{t(null==e?new z$(2):new z$(1,e))},startAuthCodeExchangeBackground:e=>{t(new z$(4,e))}}));case 5:return pr(d("h1",{children:["Not found"]}));case 6:return pr(d(H$,null));default:{const t=e.Credentials;let n,r;switch(2===t.tag&&0===t.fields[0].tag?(n=0,r=t.fields[0].fields[0]):n=1,n){case 0:return pr(d(zw,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return pr(Kw)}}}})))))),["children",gi.Children.toArray(Array.from(n))])])));return rh({hashMode:2,onUrlChanged:e=>{t(new z$(0,e))},application:d(p,{},r)})})),function(e,t,n){return Af(((r,i)=>{Se(e((e=>t=>e===t),function(e){return mt(2,e.view)}(n),r,i),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const i=new Hw(n,(()=>t(n,r)),e);return d(Gw,i)}(ht(2,e),ht(2,t),n,r)),"workflows-app",Qw)))})()})();
|
|
2
|
+
(()=>{var e={694:(e,t,n)=>{"use strict";var r=n(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},556:(e,t,n)=>{e.exports=n(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,i,o,s,a={},l=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function u(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function d(t,n,r){var i,o,s,a={};for(s in n)"key"==s?i=n[s]:"ref"==s?o=n[s]:a[s]=n[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return h(t,a,i,o,null)}function h(e,n,i,o,s){var a={type:e,props:n,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++r:s};return null==s&&null!=t.vnode&&t.vnode(a),a}function m(e){return e.children}function p(e,t){this.props=e,this.context=t}function $(e,t){if(null==t)return e.__?$(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?$(e):null}function g(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return g(e)}}function w(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!y.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||setTimeout)(y)}function y(){for(var e;y.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-t.__v.__b})),i=[],e.some((function(e){var t,n,r,i,o,s;e.__d&&(o=(i=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=u({},i)).__v=i.__v+1,A(s,i,r,t.__n,void 0!==s.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?$(i):o,i.__h),E(n,i),i.__e!=o&&g(i)))}))}function v(e,t,n,r,i,o,s,c,u,f){var d,p,g,w,y,v,C,x=r&&r.__k||l,k=x.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(w=n.__k[d]=null==(w=t[d])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?h(null,w,null,null,w):Array.isArray(w)?h(m,{children:w},null,null,null):w.__b>0?h(w.type,w.props,w.key,null,w.__v):w)){if(w.__=n,w.__b=n.__b+1,null===(g=x[d])||g&&w.key==g.key&&w.type===g.type)x[d]=void 0;else for(p=0;p<k;p++){if((g=x[p])&&w.key==g.key&&w.type===g.type){x[p]=void 0;break}g=null}A(e,w,g=g||a,i,o,s,c,u,f),y=w.__e,(p=w.ref)&&g.ref!=p&&(C||(C=[]),g.ref&&C.push(g.ref,null,w),C.push(p,w.__c||y,w)),null!=y?(null==v&&(v=y),"function"==typeof w.type&&w.__k===g.__k?w.__d=u=b(w,u,e):u=_(e,w,g,x,y,u),"function"==typeof n.type&&(n.__d=u)):u&&g.__e==u&&u.parentNode!=e&&(u=$(g))}for(n.__e=v,d=k;d--;)null!=x[d]&&("function"==typeof n.type&&null!=x[d].__e&&x[d].__e==n.__d&&(n.__d=$(r,d+1)),P(x[d],x[d]));if(C)for(d=0;d<C.length;d++)O(C[d],C[++d],C[++d])}function b(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?b(r,t,n):_(n,r,r,i,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function _(e,t,n,r,i,o){var s,a,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,l=0;(a=a.nextSibling)&&l<r.length;l+=2)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function x(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||c.test(t)?n:n+"px"}function k(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||x(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||x(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?I:S,o):e.removeEventListener(t,o?I:S,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function S(e){this.l[e.type+!1](t.event?t.event(e):e)}function I(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,i,o,s,a,l,c){var f,d,h,$,g,w,y,b,C,_,x,k,S,I=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,l=n.__e=r.__e,n.__h=null,s=[l]),(f=t.__b)&&f(n);try{e:if("function"==typeof I){if(b=n.props,C=(f=I.contextType)&&i[f.__c],_=f?C?C.props.value:f.__:i,r.__c?y=(d=n.__c=r.__c).__=d.__E:("prototype"in I&&I.prototype.render?n.__c=d=new I(b,_):(n.__c=d=new p(b,_),d.constructor=I,d.render=T),C&&C.sub(d),d.props=b,d.state||(d.state={}),d.context=_,d.__n=i,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=I.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=u({},d.__s)),u(d.__s,I.getDerivedStateFromProps(b,d.__s))),$=d.props,g=d.state,h)null==I.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==I.getDerivedStateFromProps&&b!==$&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,_),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,_)||n.__v===r.__v){d.props=b,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,_),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate($,g,w)}))}if(d.context=_,d.props=b,d.__v=n,d.__P=e,x=t.__r,k=0,"prototype"in I&&I.prototype.render)d.state=d.__s,d.__d=!1,x&&x(n),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,x&&x(n),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(i=u(u({},i),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(w=d.getSnapshotBeforeUpdate($,g)),S=null!=f&&f.type===m&&null==f.key?f.props.children:f,v(e,Array.isArray(S)?S:[S],n,r,i,o,s,a,l,c),d.base=n.__e,n.__h=null,d.__h.length&&a.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==s&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=N(r.__e,n,r,i,o,s,a,c);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(c||null!=s)&&(n.__e=l,n.__h=!!c,s[s.indexOf(l)]=null),t.__e(e,n,r)}}function E(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function N(t,n,r,i,o,s,l,c){var u,d,h,m=r.props,p=n.props,g=n.type,w=0;if("svg"===g&&(o=!0),null!=s)for(;w<s.length;w++)if((u=s[w])&&"setAttribute"in u==!!g&&(g?u.localName===g:3===u.nodeType)){t=u,s[w]=null;break}if(null==t){if(null===g)return document.createTextNode(p);t=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),s=null,c=!1}if(null===g)m===p||c&&t.data===p||(t.data=p);else{if(s=s&&e.call(t.childNodes),d=(m=r.props||a).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!c){if(null!=s)for(m={},w=0;w<t.attributes.length;w++)m[t.attributes[w].name]=t.attributes[w].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||k(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||k(e,o,t[o],n[o],r)}(t,p,m,o,c),h)n.__k=[];else if(w=n.props.children,v(t,Array.isArray(w)?w:[w],n,r,i,o&&"foreignObject"!==g,s,l,s?s[0]:r.__k&&$(r,0),c),null!=s)for(w=s.length;w--;)null!=s[w]&&f(s[w]);c||("value"in p&&void 0!==(w=p.value)&&(w!==t.value||"progress"===g&&!w||"option"===g&&w!==m.value)&&k(t,"value",w,m.value,!1),"checked"in p&&void 0!==(w=p.checked)&&w!==t.checked&&k(t,"checked",w,m.checked,!1))}return t}function O(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function P(e,n,r){var i,o;if(t.unmount&&t.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||O(i,null,n)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){t.__e(e,n)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&P(i[o],n,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function T(e,t,n){return this.constructor(e,n)}function D(n,r,i){var o,s,l;t.__&&t.__(n,r),s=(o="function"==typeof i)?null:i&&i.__k||r.__k,l=[],A(r,n=(!o&&i||r).__k=d(m,null,[n]),s||a,a,void 0!==r.ownerSVGElement,!o&&i?[i]:s?null:r.firstChild?e.call(r.childNodes):null,l,!o&&i?i:s?s.__e:r.firstChild,o),E(l,n)}function M(e,t){D(e,t,M)}function L(t,n,r){var i,o,s,a=u({},t.props);for(s in n)"key"==s?i=n[s]:"ref"==s?o=n[s]:a[s]=n[s];return arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),h(t.type,a,i||t.key,o||t.ref,null)}e=l.slice,t={__e:function(e,t,n,r){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(t){e=t}throw e}},r=0,p.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof e&&(e=e(u({},n),this.props)),e&&u(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},p.prototype.render=m,i=[],y.__r=0,s=0;var B,j,R,W,U=0,F=[],G=[],H=t.__b,V=t.__r,z=t.diffed,Y=t.__c,q=t.unmount;function J(e,n){t.__h&&t.__h(j,e,U||n),U=0;var r=j.__H||(j.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:G}),r.__[e]}function Z(e){return U=1,K(se,e)}function K(e,t,n){var r=J(B++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):se(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=j,!j.u)){j.u=!0;var i=j.shouldComponentUpdate;j.shouldComponentUpdate=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 s=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),!!s&&(!i||i.call(this,e,t,n))}}return r.__N||r.__}function X(e,n){var r=J(B++,3);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,j.__H.__h.push(r))}function Q(e,n){var r=J(B++,4);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,j.__h.push(r))}function ee(e,t){var n=J(B++,7);return oe(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=F.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ie),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){j=null,H&&H(e)},t.__r=function(e){V&&V(e),B=0;var t=(j=e.__c).__H;t&&(R===j?(t.__h=[],j.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=G,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(ie),t.__h=[])),R=j},t.diffed=function(e){z&&z(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==F.push(n)&&W===t.requestAnimationFrame||((W=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ne&&(t=requestAnimationFrame(n))})(te)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==G&&(e.__=e.__V),e.i=void 0,e.__V=G}))),R=j=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Y&&Y(e,n)},t.unmount=function(e){q&&q(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=j,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),j=t}function ie(e){var t=j;e.__c=e.__(),j=t}function oe(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function se(e,t){return"function"==typeof t?t(e):t}function ae(e,t){for(var n in t)e[n]=t[n];return e}function le(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 ce(e){this.props=e}(ce.prototype=new p).isPureReactComponent=!0,ce.prototype.shouldComponentUpdate=function(e,t){return le(this.props,e)||le(this.state,t)};var ue=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ue&&ue(e)};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,t){return null==e?null:C(C(e).map(t))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},me=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);me(e,t,n,r)};var pe=t.unmount;function $e(){this.__u=0,this.t=null,this.__b=null}function ge(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function we(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),pe&&pe(e)},($e.prototype=new p).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ge(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=ae({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&d(m,null,e.fallback);return i&&(i.__h=null),[d(m,null,t.__a?null:e.children),i]};var ye=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 ve(e){return this.getChildContext=function(){return e.context},e.children}function be(e){var t=this,n=e.i;t.componentWillUnmount=function(){D(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),D(d(ve,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(we.prototype=new p).__a=function(e){var t=this,n=ge(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),ye(t,e,r)):i()};n?n(o):o()}},we.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(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},we.prototype.componentDidUpdate=we.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ye(e,n,t)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,_e=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|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]/,xe="undefined"!=typeof document,ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Se(e,t,n){return null==t.__k&&(t.textContent=""),D(e,t),"function"==typeof n&&n(),e?e.__c:null}p.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(p.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ie=t.event;function Ae(){}function Ee(){return this.cancelBubble}function Ne(){return this.defaultPrevented}t.event=function(e){return Ie&&(e=Ie(e)),e.persist=Ae,e.isPropagationStopped=Ee,e.isDefaultPrevented=Ne,e.nativeEvent=e};var Oe,Pe={configurable:!0,get:function(){return this.class}},Te=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var s=n[o];xe&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!ke(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&_e.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=C(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=C(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Pe.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Pe))}e.$$typeof=Ce,Te&&Te(e)};var De=t.__r;t.__r=function(e){De&&De(e),Oe=e.__c};var Me={ReactCurrentDispatcher:{current:{readContext:function(e){return Oe.__n[e.__c].props.value}}}};function Le(e){return!!e&&e.$$typeof===Ce}function Be(e){e()}const je={useState:Z,useReducer:K,useEffect:X,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,Be]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Z({s:{__:n,h:t}}),i=r[0].s,o=r[1];return Q((function(){i.__=n,i.h=t,i.__!==t()&&o({s:i})}),[e,n,t]),X((function(){return i.__!==i.h()&&o({s:i}),e((function(){i.__!==i.h()&&o({s:i})}))}),[e]),n},startTransition:Be,useRef:function(e){return U=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){U=6,Q((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:ee,useCallback:function(e,t){return U=8,ee((function(){return e}),t)},useContext:function(e){var t=j.context[e.__c],n=J(B++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(j)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:he,render:Se,hydrate:function(e,t,n){return M(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,t){var n=d(be,{__v:e,i:t});return n.containerInfo=t,n},createElement:d,createContext:function(e,t){var n={__c:t="__cC"+s++,__: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(w)},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},createFactory:function(e){return d.bind(null,e)},cloneElement:function(e){return Le(e)?L.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Le,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ce,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:le(this.props,e)}function r(t){return this.shouldComponentUpdate=n,d(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=ae({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=fe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:$e,SuspenseList:we,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Me};function Re(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function We(e){return"function"==typeof e.GetHashCode}function Ue(e){return null!=e&&"function"==typeof e.Dispose}function Fe(e){Ue(e)&&e.Dispose()}function Ge(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}class He{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ve(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new He(e[Symbol.iterator]())}function ze(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Ye{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function qe(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function Je(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Ze(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Ke{static id(e){return Ke.idMap.has(e)||Ke.idMap.set(e,++Ke.count),Ke.idMap.get(e)}}function Xe(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function Qe(e){return 2654435761*e|0}function et(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function tt(e){var t;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Qe(e);case"string":return Xe(e);default:if(We(e))return e.GetHashCode();if(Re(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=tt(e[r]);return et(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object){const t=Object.values(e).map((e=>tt(e)));return et(t)}return Qe(Ke.id(e))}}function nt(e){return null==e?0:We(e)?e.GetHashCode():Qe(Ke.id(e))}function rt(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function it(e,t){return rt(e,t,ot)}function ot(e,t){var n;return e===t||(null==e?null==t:null!=t&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):Re(e)?Re(t)&&it(e,t):e instanceof Date?t instanceof Date&&0===st(e,t):(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let i=0;i<n.length;i++)if(n[i]!==r[i]||!ot(e[n[i]],t[r[i]]))return!1;return!0}(e,t)))}function st(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Je(e),r=t.getTime()+Je(t)),n===r?0:n<r?-1:1}function at(e,t){return e===t?0:e<t?-1:1}function lt(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=n(e[r],t[r]),0!==i)return i;return 0}(e,t,ct)}function ct(e,t){var n;return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):Re(e)?Re(t)?lt(e,t):-1:e instanceof Date?t instanceof Date?st(e,t):-1:(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let i=0,o=0;i<n.length;i++){const s=n[i];if(s!==r[i])return s<r[i]?-1:1;if(o=ct(e[s],t[s]),0!==o)return o}return 0}(e,t):-1}function ut(e,t,n){return e(t,n)>0?t:n}function ft(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Ke.idMap=new WeakMap,Ke.count=0;const dt=Symbol("curried");function ht(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[dt]=t,n}function mt(e,t,n){return r=>1===t?n(...e.concat([r])):mt(e.concat([r]),t-1,n)}function pt(e,t){return null==t||1===t.length?t:dt in t?t[dt]:mt([],e,t)}function $t(e,t,n){if(null!=t){if(dt in t){t=t[dt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return mt(n,e,t)}}function gt(e,t=0){var n,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=gt(r);else{if(100===t){n+="; ...";break}n+="; "+gt(r)}t++}return n+"]"}(e);{const i=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return i===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+gt(n,t+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class wt{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n="",r=!0;return 1===t.length?(n=gt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>gt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>tt(e)));return e.splice(0,0,Qe(this.tag)),et(e)}Equals(e){return this===e||!!Ge(this,e)&&this.tag===e.tag&&it(this.fields,e.fields)}CompareTo(e){return this===e?0:Ge(this,e)?this.tag===e.tag?lt(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+gt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>tt(e)));return et(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(Ge(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!ot(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(Ge(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=ct(e[n[r]],t[n[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class vt{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class bt{constructor(e){this.message=e}}function Ct(e){return function(e){return e instanceof bt||e instanceof Error}(e)?e:new Error(String(e))}class _t{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return tt(this.value)}Equals(e){return null!=e&&ot(this.value,e instanceof _t?e.value:e)}CompareTo(e){return null==e?1:ct(this.value,e instanceof _t?e.value:e)}}function xt(e){return null==e||e instanceof _t?new _t(e):e}function kt(e){if(null==e)throw new Error("Option has no value");return e instanceof _t?e.value:e}function St(e){return null==e?void 0:e}function It(e){return null==e?[]:[kt(e)]}function At(e,t){return null!=e?kt(e):t}function Et(e,t){return null==e?t:e}function Nt(e,t){return null!=t?xt(e(kt(t))):void 0}function Ot(e,t){return null!=t?e(kt(t)):void 0}function Pt(){return e=ct,{Compare:(t,n)=>e(t,n)};var e}function Tt(e,t){return"function"==typeof e?new e(t):new Array(t)}function Dt(e,t,n,r){const i=0|t;return e.fill(r,i,i+n)}function Mt(e,t,n){const r=0|t.length,i=Tt(n,r);for(let n=0;n<=r-1;n++)i[n]=e(t[n]);return i}function Lt(e,t,n){return n.reduce(e,t)}function Bt(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,i=!0;const o=0|t.length,s=0|n.length;if(o>s)return!1;if(o<s)return!1;for(;r<o&&i;)i=e(t[r],n[r]),r=r+1|0;return i}}function jt(e,t){return e<0||e>=t.length?void 0:xt(t[e])}function Rt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+qe(~~(e/36e5),2)+":"+qe(n,2)}function Wt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Ut(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const i=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?i%100:i;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const o=n?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}function Ft(e,t,n){return null!=e.offset?function(e,t){var n,r,i;const o=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Rt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Ut(o,t,!0);switch(t){case"D":case"d":return Wt(o,"first");case"T":case"t":return Wt(o,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Rt(t)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return Ut(e,t,n);switch(t){case"D":case"d":return n?Wt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Wt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return qe(e.getFullYear(),4)+"-"+qe(e.getMonth()+1,2)+"-"+qe(e.getDate(),2)+"T"+qe(e.getHours(),2)+":"+qe(e.getMinutes(),2)+":"+qe(e.getSeconds(),2)+"."+qe(e.getMilliseconds(),3)+(t?Rt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function Gt(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Ht(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const i=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=i){let e,t=0;if(null!=i[2]){const e=i[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=i[3]&&"PM"===i[3].toUpperCase()&&(t+=720)}if(null!=i[4]){if(null!=i[1])e=new Date(i[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===i[4])r="Z";else{let e=60*parseInt(i[5],10)+parseInt(i[6]||"0",10);"-"===i[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=i[1])e=new Date(i[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function Vt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=Ht(e),i=null!=r?t&&"Z"===r?1:2:0;return Gt(n.getTime(),i)}(e),!0}catch(e){return!1}}function zt(){return function(e,t,n,r=0,i=0,o=0,s=0,a){const l=1===a?Date.UTC(e,t-1,n,r,i,o,s):new Date(e,t-1,n,r,i,o,s).getTime();if(isNaN(l))throw new Error("The parameters describe an unrepresentable Date.");const c=Gt(l,a);return e<=99&&c.setFullYear(e,t-1,n),c}(Yt(e=Gt(Date.now(),2)),function(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}(e),function(e){return 1===e.kind?e.getUTCDate():e.getDate()}(e),0,0,0,0,e.kind);var e}function Yt(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const qt=Symbol("numeric");function Jt(e){return"number"==typeof e||(null==e?void 0:e[qt])}function Zt(e,t){return"number"==typeof e?e*t:e[qt]().multiply(t)}function Kt(e,t){return"number"==typeof e?e.toFixed(t):e[qt]().toFixed(t)}function Xt(e,t){return"number"==typeof e?e.toPrecision(t):e[qt]().toPrecision(t)}function Qt(e,t){return"number"==typeof e?e.toExponential(t):e[qt]().toExponential(t)}function en(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[qt]().toHex()}function tn(e,t=0){if(0!=(-284&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function nn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function rn(e,t,n=0){if(null==t)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let i,o=-1;for(;null!=(i=e.exec(t));)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}const on=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,sn=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,an=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function ln(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function cn(e,t,n){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==t?0:-1:null==t?1:4===(i=n)||5===i?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t));var i}function un(e){return{input:e,cont:(t=e,e=>{on.lastIndex=0;const n=[],r=[];let i=0,o=on.exec(t);for(;o;){const e=o.index+(o[1]||"").length;n.push(t.substring(i,e).replace(/%%/g,"%")),r.push(o),i=on.lastIndex,on.lastIndex-=1,o=on.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(i).replace(/%%/g,"%")),$n(e,n,r))})};var t}function fn(e,t){let n=0,r=0,i="";sn.lastIndex=0;let o=sn.exec(e);for(;o;){const s=o.index+(o[1]||"").length;i+=e.substring(r,s).replace(/%%/g,"%");const[,,a,l,c,u]=o;r=sn.lastIndex,i+=pn(t[n++],a,l,c,u),sn.lastIndex=r-1,o=sn.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function dn(e,t){return"string"==typeof t?e(t):t.cont(e)}function hn(e){return dn((e=>e),e)}function mn(e){return dn((e=>{throw new Error(e)}),e)}function pn(e,t,n,r,i){let o="";if(t=t||"",i=i||"",Jt(e))switch("x"!==i.toLowerCase()&&(ln(e,0)?(e=Zt(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=Kt(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Xt(e,r):Xt(e);break;case"e":case"E":e=null!=r?Qt(e,r):Qt(e);break;case"x":e=en(e);break;case"X":e=en(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Ft(e):gt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=o+e;else{const r=t.indexOf("0")>=0,i=t.indexOf("-")>=0,s=i||!r?" ":"0";e="0"===s?o+(e=bn(e,n-o.length,s,i)):bn(o+e,n,s,i)}return e}function $n(e,t,n,r="",i=-1){return(...o)=>{let s=r;const a=t.slice(),l=n.slice();for(const e of o){const[,,t,n,r,o]=l[0];let c=n;if(i>=0)c=i,i=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");i=e;continue}s+=a[0],s+=pn(e,t,c,r,o),a.splice(0,1),l.splice(0,1)}return 0===l.length?(s+=a[0],e(s)):$n(e,a,l,s,i)}}function gn(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(an,((e,n,r,i,o,s)=>{if(n<0||n>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let a=t[n];if(Jt(a))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":a=Kt(a,o=null!=o?o:2);break;case"g":case"G":a=null!=o?Xt(a,o):Xt(a);break;case"e":case"E":a=null!=o?Qt(a,o):Qt(a);break;case"p":case"P":o=null!=o?o:2,a=Kt(Zt(a,100),o)+" %";break;case"d":case"D":a=null!=o?Cn(String(a),o,"0"):String(a);break;case"x":case"X":a=null!=o?Cn(en(a),o,"0"):en(a),"X"===i&&(a=a.toUpperCase());break;default:if(s){let e="";a=s.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{ln(a,0)&&(a=Zt(a,-1),e="-"),r=null==r?"":r.substring(1),a=Kt(a,Math.max(r.length,0));let[i,o]=a.split(".");o||(o=""),i=Cn(i,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const s=r.replace(/#+$/,"").length;if(s>o.length?o=function(e,t,n){return bn(e,t,"0",!0)}(o,s):s<o.length&&(o=o.substring(0,s)+o.substring(s).replace(/0+$/,"")),n.indexOf(",")>0){const e=i.length%3,t=Math.floor(i.length/3);let n=e>0?i.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=i.substr(e+3*r,3)+(r<t-1?",":"");i=n}return o.length>0?i+"."+o:i})),a=e+a}}else a=a instanceof Date?Ft(a,s||i):gt(a);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(a=bn(String(a),Math.abs(r)," ",r<0)),a}))}function wn(e){return"string"!=typeof e||0===e.length}function yn(e){return"string"!=typeof e||/^\s*$/.test(e)}function vn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function bn(e,t,n,r){n=n||" ",t-=e.length;for(let i=0;i<t;i++)e=r?e+n:n+e;return e}function Cn(e,t,n){return bn(e,t,n)}function _n(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const i=1==(1&r),o=2==(2&r);t=(t=t||[]).filter((e=>e)).map(nn),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,c=0;do{const t=a.exec(e);if(null===t){const t=o?e.substring(c).trim():e.substring(c);(!i||t.length>0)&&s.push(t),l=!1}else{const r=o?e.substring(c,t.index).trim():e.substring(c,t.index);(!i||r.length>0)&&(null!=n&&s.length+1===n?(s.push(o?e.substring(c).trim():e.substring(c)),l=!1):s.push(r)),c=a.lastIndex}}while(l);return s}function xn(e,t){return t.split("").filter((t=>e(t))).join("")}function kn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const Sn="Collection was empty.",In="An index satisfying the predicate was not found in the collection.";class An extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+vn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1];if(ot(n.head,r.head)){e=o,t=s;continue e}return!1}return!1}return null==i[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,i=t,o=n,s=o.tail;if(null==s)return 0|i;{const a=s;if(r>18)return 0|i;e=r+1,t=(i<<1)+tt(o.head)+631*r,n=a}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1],a=0|ct(n.head,r.head);if(0===a){e=o,t=s;continue e}return 0|a}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return new En(this)}[Symbol.iterator](){return ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ve(this)}}class En{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=t;return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function Nn(){return new An(null,void 0)}function On(e,t){return new An(e,t)}function Pn(e){return null==e.tail}function Tn(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=r}})(0,e)}function Dn(e){if(null!=e.tail)return e.head;throw new Error(Sn+"\\nParameter name: list")}function Mn(e){const t=e.tail;if(null!=t)return t;throw new Error(Sn+"\\nParameter name: list")}function Ln(){return Nn()}function Bn(e,t){return On(e,t)}function jn(e){return On(e,Nn())}function Rn(e){return Pn(e)}function Wn(e){return Tn(e)}function Un(e){return Dn(e)}function Fn(e){return Mn(e)}function Gn(e){const t=function(e){e:for(;;){const t=e;if(Pn(t))return;{const n=Mn(t);if(Pn(n))return xt(Dn(t));e=n;continue e}}}(e);if(null==t)throw new Error(Sn);return kt(t)}function Hn(e){const t=0|Tn(e),n=Dt(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,i=t;if(Pn(i))break;n[r]=Dn(i),e=r+1,t=Mn(i)}})(0,e),n}function Vn(e,t,n){let r=t,i=n;for(;!Pn(i);)r=e(r,Dn(i)),i=Mn(i);return r}function zn(e){return Vn(((e,t)=>On(t,e)),Nn(),e)}function Yn(e,t){Vn(((t,n)=>{e(n)}),void 0,t)}function qn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=On(e[t],n);return n}function Jn(e){return qn(e,Nn())}function Zn(e){const t=Nn();let n=t;const r=e=>{n=Vn(((e,t)=>{const n=new An(t,void 0);return e.tail=n,n}),n,e)};if(Re(e))e.forEach(r);else if(e instanceof An)Yn(r,e);else{const t=Ve(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Fe(t)}}const i=n,o=Nn();return i.tail=o,Mn(t)}function Kn(e,t){return Vn(((e,t)=>On(t,e)),t,zn(e))}function Xn(e,t){const n=Nn(),r=Vn(((t,n)=>{const r=new An(e(n),void 0);return t.tail=r,r}),n,t),i=Nn();return r.tail=i,Mn(n)}function Qn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(Pn(n))return;{const r=e(Dn(n));if(null==r){t=Mn(n);continue e}return r}}})(t)}((t=>e(t)?xt(t):void 0),t)}function er(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Pn(i))return;if(e(Dn(i)))return r;t=r+1,n=Mn(i)}})(0,t)}function tr(e,t){const n=Nn(),r=Vn(((t,n)=>{if(e(n)){const e=new An(n,void 0);return t.tail=e,e}return t}),n,t),i=Nn();return r.tail=i,Mn(n)}function nr(e,t){return null!=er(e,t)}const rr="Enumeration already finished.",ir="Enumeration has not started. Call MoveNext.",or="The input sequence has an insufficient number of elements.";function sr(){throw new Error(ir)}function ar(){throw new Error(rr)}class lr{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=Ve(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=gt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Fe(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class cr{constructor(e,t,n){this.current=e,this.next=t,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function ur(e,t,n){return new cr(e,t,n)}function fr(e,t,n){let r,i=!1,o=xt(e());const s=()=>{if(null!=o){const e=kt(o);try{n(e)}finally{o=void 0}}},a=()=>{try{s()}finally{r=void 0}};return ur((()=>(i||sr(),null!=r?kt(r):ar())),(()=>{if(i||(i=!0),null!=o){const e=kt(o);let n;try{n=t(e)}catch(e){throw a(),e}return null!=n?(r=n,!0):(a(),!1)}return!1}),s)}function dr(e){return function(e){return new lr(e)}(e)}function hr(e){return t="source",null==e&&function(e){throw new Error(e)}(t),Ve(e);var t}function mr(e){return dr((()=>Ve(e())))}function pr(e){return dr((()=>function(e){let t,n,r,i=!1,o=!1;const s=()=>{if(o=!0,null!=n){const e=n;try{Fe(e)}finally{n=void 0}}if(null!=t){const e=t;try{Fe(e)}finally{t=void 0}}};return ur((()=>(i?o&&ar():sr(),null!=r?kt(r):ar())),(()=>{let a;if(i||(i=!0),o)return!1;{let i;for(;null==i;){const o=[t,n];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=xt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{Fe(e)}finally{n=void 0}}else{const e=o[0];e["System.Collections.IEnumerator.MoveNext"]()?(a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=Ve(a)):(s(),i=!1)}else t=Ve(e)}return kt(i)}}),(()=>{o||s()}))}(e)))}function $r(){return mr((()=>new Array(0)))}function gr(e){return mr((()=>function(e,t){const n=Tt(void 0,1);return n[0]=e,n}(e)))}function wr(e){return e instanceof An?Hn(e):Array.from(e)}function yr(e){return Re(e)?Jn(e):e instanceof An?e:function(e){let t,n;if(Re(e))return Jn(e);if(e instanceof An)return e;{const r=Nn();let i=r;const o=Ve(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();t=i,n=new An(e,void 0),t.tail=n,i=n}}finally{Fe(o)}const s=i,a=Nn();return s.tail=a,Mn(r)}}(e)}function vr(e,t,n){return dr((()=>{let r=-1;return fr(e,(e=>(r=r+1|0,t(r,e))),n)}))}function br(e,t){return pr([e,t])}function Cr(e,t,n){const r=hr(t);try{let t=!1;for(;!t&&r["System.Collections.IEnumerator.MoveNext"]();)t=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Fe(r)}}function _r(e,t,n){const r=hr(n);try{let n=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Fe(r)}}function xr(e,t){_r(((t,n)=>{e(n)}),void 0,t)}function kr(e,t){return n=()=>hr(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?xt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{Fe(e)},dr((()=>fr(n,r,i)));var n,r,i}function Sr(e){return mr((()=>function(e){return e.slice().reverse()}(wr(e))))}function Ir(e,t){return dr((()=>{const n=hr(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(or+"\\nParameter name: source");return function(e,t){return ur((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Fe(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Fe(n),e}}))}function Ar(e,t){return mr((()=>pr(kr(e,t))))}Symbol.iterator;const Er={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Nr(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}function Or(e,t=Er.None){const n={},r=t;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,t,r){e=function(e,t){switch(t){case Er.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Er.SnakeCase:return Nr(e,"_");case Er.SnakeCaseAllCaps:return Nr(e,"_").toUpperCase();case Er.KebabCase:return Nr(e,"-");case Er.None:default:return e}}(e,t),n[e]=r}for(let t of e){let e=Er.None;if(null==t&&i(t),t instanceof wt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:i(t);break;case 1:o(t[0],e,!0);break;case 2:const n=t[1];o(t[0],e,n);break;default:o(t[0],e,t.slice(1))}else"string"==typeof t?o(t,e,!0):i(t)}return n}function Pr(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}var Tr,Dr,Mr;function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lr.apply(this,arguments)}const Br=function(e){return d("svg",Lr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Tr||(Tr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Dr||(Dr=d("path",{d:"M9 24h21M23 17l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Mr||(Mr=d("path",{d:"M23 9h12a3 3 0 0 1 3 3v24a3 3 0 0 1-3 3H23",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var jr,Rr,Wr,Ur;function Fr(){return Fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fr.apply(this,arguments)}const Gr=function(e){return d("svg",Fr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),jr||(jr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Rr||(Rr=d("path",{d:"M18 18.782V15a6.018 6.018 0 0 1 6-6 6.018 6.018 0 0 1 6 6v3.783",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Wr||(Wr=d("path",{d:"M24 39c6.075 0 11-4.925 11-11s-4.925-11-11-11-11 4.925-11 11 4.925 11 11 11Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Ur||(Ur=d("path",{d:"M24 30v3M24 30a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Hr,Vr,zr,Yr,qr;function Jr(){return Jr=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},Jr.apply(this,arguments)}const Zr=function(e){return d("svg",Jr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Hr||(Hr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Vr||(Vr=d("path",{d:"M24 9v13",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),zr||(zr=d("path",{d:"M32 19h.235a3 3 0 0 1 2.622 1.543L39 28v7a3 3 0 0 1-3 3H12a3 3 0 0 1-3-3v-7l4.143-7.457A3 3 0 0 1 15.765 19H16",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Yr||(Yr=d("path",{d:"m29 17-5 5-5-5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),qr||(qr=d("path",{d:"M39 28H29v3H19v-3H9",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Kr,Xr,Qr,ei,ti,ni;function ri(){return ri=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},ri.apply(this,arguments)}const ii=function(e){return d("svg",ri({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Kr||(Kr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Xr||(Xr=d("path",{d:"M24 18v6h-6",stroke:"#212121",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Qr||(Qr=d("path",{d:"M32 39a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),ei||(ei=d("path",{d:"M21.982 35.84c-.092.538-.605.904-1.135.772a12.999 12.999 0 1 1 15.767-15.758c.132.53-.234 1.043-.773 1.134-.54.092-1.046-.272-1.185-.8A11.02 11.02 0 1 0 21.18 34.653c.528.14.892.647.8 1.185Z",fill:"#111827"})),ti||(ti=d("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",d:"M32 29v3"})),ni||(ni=d("circle",{cx:32,cy:35,r:1,fill:"currentColor"})))};var oi,si,ai;function li(){return li=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},li.apply(this,arguments)}const ci=function(e){return d("svg",li({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),oi||(oi=d("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"})),si||(si=d("g",{clipPath:"url(#error_svg__a)"},d("path",{d:"M24 15v12",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 34a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",fill:"#DC2626"}),d("path",{d:"M30.213 9H17.787L9 17.787v12.426L17.787 39h12.426L39 30.213V17.787L30.213 9Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))),ai||(ai=d("defs",null,d("clipPath",{id:"error_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};var ui,fi,di;function hi(){return hi=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},hi.apply(this,arguments)}const mi=function(e){return d("svg",hi({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ui||(ui=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),fi||(fi=d("g",{clipPath:"url(#completed_svg__a)",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},d("path",{d:"m17 25 4 4 10-10",stroke:"currentColor"}),d("path",{d:"M24 39c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15Z",stroke:"#111827"}))),di||(di=d("defs",null,d("clipPath",{id:"completed_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};function pi(e){return yr(mr((()=>br(gr(["className","text-primary-base"]),mr((()=>e))))))}function $i(e){const t=Or(pi(e),1);return d(Br,t)}function gi(e){const t=Or(pi(e),1);return d(Zr,t)}function wi(e){const t=Or(pi(e),1);return d(ci,t)}function yi(e){const t=Or(pi(e),1);return d(mi,t)}const vi=je;var bi,Ci;function _i(){return _i=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},_i.apply(this,arguments)}const xi=function(e){return d("svg",_i({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),bi||(bi=d("path",{d:"M21.6 12a9.6 9.6 0 1 1-19.2 0 9.6 9.6 0 0 1 19.2 0ZM4.797 12a7.203 7.203 0 1 0 14.406 0 7.203 7.203 0 0 0-14.406 0Z",fill:"#fff",fillOpacity:.3})),Ci||(Ci=d("path",{d:"M12 3.6c0-.663.54-1.208 1.197-1.125a9.6 9.6 0 0 1 8.329 8.328c.082.658-.463 1.197-1.126 1.197-.662 0-1.19-.541-1.3-1.195A7.202 7.202 0 0 0 13.196 4.9C12.54 4.79 12 4.263 12 3.6Z",fill:"#fff"})))};var ki,Si;function Ii(){return Ii=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},Ii.apply(this,arguments)}const Ai=function(e){return d("svg",Ii({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),ki||(ki=d("g",{clipPath:"url(#spinner-large_svg__a)",fill:"currentColor"},d("path",{d:"M48 24c0 13.255-10.745 24-24 24S0 37.255 0 24 10.745 0 24 0s24 10.745 24 24ZM2.997 24C2.997 35.6 12.4 45.003 24 45.003S45.003 35.6 45.003 24 35.6 2.997 24 2.997 2.997 12.4 2.997 24Z",fillOpacity:.3}),d("path",{d:"M24 1.5c0-.828.672-1.505 1.499-1.453A24 24 0 0 1 47.953 22.5c.052.827-.625 1.499-1.453 1.499-.828 0-1.494-.672-1.553-1.499A21.002 21.002 0 0 0 25.498 3.054C24.672 2.994 24 2.328 24 1.5Z"}))),Si||(Si=d("defs",null,d("clipPath",{id:"spinner-large_svg__a"},d("path",{fill:"#fff",d:"M0 0h48v48H0z"})))))};function Ei(e){const t=Or(e,1);return d(Ai,t)}function Ni(e){return d("h1",{className:"mt-4 mb-4 sm:mb-8 text-2xl sm:text-3xl font-semibold text-gray-900",children:e})}function Oi(e){let t;const n=Ot((e=>e.Phone),e.Support),r=Ot((e=>e.Email),e.Support);return d("p",ft(Jn([["className","text-sm text-gray-900 whitespace-pre-wrap leading-5"],(t=yr(mr((()=>{let t;return br(gr((t=`Need help? Contact ${At(e.CompanyName,"your employer")}`,d("span",{children:[t]}))),mr((()=>{let e;return br((e=[n,r],null==e[0]&&null==e[1]?gr(d("span",{children:["for assistance"]})):br(gr(d("span",{children:[" at "]})),mr((()=>{let e,t,i;return br((e=n,null==e?gr(null):(t=e,gr((i=`${t}`,d("span",{children:[i]}))))),mr((()=>{let e;return br((e=[n,r],gr(null!=e[0]&&null!=e[1]?d("span",{children:[" or "]}):null)),mr((()=>gr(null==r?null:d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${r}`,children:r})))))})))})))),mr((()=>gr(d("span",{children:["."]})))))})))}))),["children",vi.Children.toArray(Array.from(t))])])))}function Pi(e,t,n,r){let i;return d("button",ft(Jn([["className",`w-full sm:w-[240px] ${n?"bg-primary-dark":"bg-primary-base"} text-primary-text font-semibold text-base rounded-md flex items-center justify-center h-[42px] hover:bg-primary-hover ${At(e,"")}`],["type","button"],["onClick",e=>{t()}],["disabled",n],(i=yr(mr((()=>n?gr(function(e){const t=Or([["className","animate-spin"]],1);return d(xi,t)}()):r))),["children",vi.Children.toArray(Array.from(i))])])))}const Ti=Ei([["className","text-primary-base animate-spin"]]),Di=e=>{X((()=>{const t=e();return()=>{t.Dispose()}}))},Mi=(e,t)=>{X((()=>{const t=e();return()=>{t.Dispose()}}),t)},Li=e=>{Q((()=>{const t=e();return()=>{t.Dispose()}}))};function Bi(e){return{Dispose(){e()}}}function ji(e){return vi.useState(e)}function Ri(e){Di(e)}function Wi(e,t){Mi(e,t)}function Ui(e){Fi(e,[])}function Fi(e,t){Mi((t=>(e(),Bi((()=>{})))),t)}function Gi(e){return vi.useRef(e)}function Hi(e,t){const n=At(t,[]);return vi.useMemo(e,n)}function Vi(e){const t=Gi(e),n=function(e,n){const r=At([],[]);return vi.useCallback((e=>t.current(e)),r)}();var r;return r=()=>{t.current=e},Li((e=>(r(),Bi((()=>{}))))),n}function zi(e){return vi.useState(e)}function Yi(e,t,n){const r=[wi([]),Ni(e),d("p",{className:"text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8",children:t}),At(n,null)];return d(m,{},...r)}function qi(e,t,n){return Yi(e,t,Nt((e=>{let t;return d("div",ft(Jn([["className","mt-8"],(t=[Oi(e)],["children",vi.Children.toArray(Array.from(t))])])))}),n))}function Ji(e){let t;const n=e.reissueMagicLink,r=zi(!1);return Yi("Too many Invalid Codes","We’ve temporarily locked mobile authentication for your account because you made too many attempts with an invalid security code.",d("div",ft(Jn([["className","mt-1 sm:mt-8 text-base leading-7 text-gray-900 whitespace-pre-wrap"],(t=[d("span",{children:["Please wait 30 minutes before trying again, or "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{r[0]||(r[1](!0),n())},children:"sign in with email instead"}),d("span",{children:["."]})],["children",vi.Children.toArray(Array.from(t))])]))))}function Zi(e){return qi("That link doesn’t look right","It looks like the link is incorrect or incomplete. We recommend going back to your invitation email and trying again.",e)}function Ki(){return Yi("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)}const Xi=d("div",ft(Jn([["className","w-full sm:max-w-[640px] mt-10 sm:mt-14 text-xs text-gray-500 text-center whitespace-pre-wrap space-y-4"],(()=>{let e,t,n;const r=[(e=Jn([d("span",{children:["Flare provides workplace solutions to Australian businesses and their employees. All information collected is treated in accordance with our "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/security",target:"_blank",rel:"noreferrer",children:"security standards"}),d("span",{children:[" and "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/privacy-policy",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),d("span",{children:["."]})]),d("p",{children:vi.Children.toArray(Array.from(e))})),(t=`Copyright © ${n=zt(),Yt(n)} Flare. ABN 46 607 120 892.`,d("p",{children:[t]}))];return["children",vi.Children.toArray(Array.from(r))]})()])));function Qi(){let e,t;return d("div",ft(Jn([["className",vn(" ",["fade-in","min-h-full flex flex-col justify-between w-full sm:w-[640px] mx-auto text-center"])],(e=[d("div",ft(Jn([["className","flex flex-col mt-10 mx-4 sm:mt-20 justify-center items-center"],(t=[Ei([["className","h-12 w-12 text-primary-base animate-spin"]]),d("h1",{className:"mt-4 font-bold text-2xl leading-7 sm:text-3xl text-gray-900",children:"Authenticating your account"}),d("p",{className:"mt-6 sm:mt-8 text-lg leading-7 text-gray-900",children:"This may take a few seconds, please don’t close this window."})],["children",vi.Children.toArray(Array.from(t))])]))),d("div",{className:"mb-6 sm:mb-8 px-4",children:vi.Children.toArray([Xi])})],["children",vi.Children.toArray(Array.from(e))])])))}const eo=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,to=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,no=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function ro(e){function t(e){return e.replace(to,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(eo.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+nn(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(to.test(n))return t(n);if(no.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function io(e,t){try{return t.contents=ro(e),!0}catch(e){return!1}}class oo{constructor(e,t){const n=new vt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=Ve(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();ho(n.contents,e[0],e[1])}}finally{Fe(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return Ve(this)}GetEnumerator(){return Ve(pr(this.hashMap.values()))}[Symbol.iterator](){return ze(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){ho(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){lo(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=ao(this,e[0]);let n;switch(n=null!=t&&ot(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},_r(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|co(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=ao(this,e[0]);return null!=t&&(ot(t[1],e[1])&&po(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){ho(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return mo(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return uo(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){fo(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return wr(mr((()=>kr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return po(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=ao(this,e);if(null!=n){const e=n;return t.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return wr(mr((()=>kr((e=>e[1]),e))))}get size(){return 0|co(this)}clear(){lo(this)}delete(e){return po(this,e)}entries(){return kr((e=>[e[0],e[1]]),this)}get(e){return uo(this,e)}has(e){return mo(this,e)}keys(){return kr((e=>e[0]),this)}set(e,t){return fo(this,e,t),this}values(){return kr((e=>e[1]),this)}forEach(e,t){const n=this;xr((t=>{e(t[1],t[0],n)}),n)}}function so(e,t){const n=0|e.comparer.GetHashCode(t);let r,i=null;return r=[(o=e.hashMap,s=n,a=new vt((()=>i),(e=>{i=e})),!!o.has(s)&&(a.contents=o.get(s),!0)),i],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n[0])))]:[!1,n,-1];var o,s,a}function ao(e,t){const n=so(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Pr(e.hashMap,n[1])[n[2]];case 1:return}}function lo(e){e.hashMap.clear()}function co(e){let t=0,n=Ve(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Fe(n)}return 0|t}function uo(e,t){const n=ao(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function fo(e,t,n){const r=so(e,t);r[0]?r[2]>-1?Pr(e.hashMap,r[1])[r[2]]=[t,n]:Pr(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function ho(e,t,n){const r=so(e,t);if(r[0]){if(r[2]>-1){const e=gn("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}Pr(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function mo(e,t){const n=so(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function po(e,t){const n=so(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Pr(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class $o extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function go(e,t){return 0===t.tag?new $o(0,e(t.fields[0])):new $o(1,t.fields[0])}function wo(e,t){return 0===t.tag?e(t.fields[0]):new $o(1,t.fields[0])}class yo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class vo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function bo(e,t){return wn(t)?new $o(1,hn(un("%s cannot be null or empty"))(e)):new $o(0,t)}function Co(e){const t=function(e){let t;const n=function(e,t){const n=function(e,t,n=0){return e.lastIndex=n,e.exec(t)}(tn(".*?@(.*)"),t);return null!=n?Fn(yr(mr((()=>kr((e=>e||""),n))))):void 0}(0,e);switch(t=null!=n?Rn(n)?1:Rn(Fn(n))?0:1:1,t){case 0:return e;case 1:return}}(e);return null!=t?new $o(0,t):new $o(1,"Email is not in the correct format")}const _o=e=>({tag:"ok",value:e}),xo=e=>({tag:"error",error:e});class ko{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,t){switch(t){case 1:return ko.isAbsoluteUri(e)?_o(new ko({original:e,value:new URL(e),kind:t})):xo("Invalid URI: The format of the URI could not be determined.");case 2:return ko.isAbsoluteUri(e)?xo("URI is not a relative path."):_o(new ko({original:e,value:e,kind:t}));case 0:return ko.isAbsoluteUri(e)?_o(new ko({original:e,value:new URL(e),kind:1})):_o(new ko({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?xo("Base URI should have Absolute kind"):"string"==typeof t?_o(new ko({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?_o(new ko({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):_o(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?xo("Kind must be specified when the baseUri is a string."):ko.tryCreateWithKind(e,t):"number"==typeof t?xo("Kind should not be specified when the baseUri is an absolute Uri."):ko.tryCreateWithBase(e,t)}static create(e,t=1){const n=ko.tryCreateImpl(e,t);switch(n.tag){case"ok":return n.value;case"error":throw new Error(n.error);default:return n}}static tryCreate(e,t=1,n){const r=ko.tryCreateImpl(e,t);switch(r.tag){case"ok":return n.contents=r.value,!0;case"error":return!1;default:return r}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return 1===this.uri.kind}get absoluteUri(){return this.asUrl().href}get scheme(){const e=this.asUrl().protocol;return e.slice(0,e.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const e=this.asUrl();return e.pathname+e.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}class So extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function Io(e){return new So(0,e)}function Ao(e){return e.fields[0]}class Eo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function No(e){return function(e){return!yn(e)}(e)?new $o(0,new Eo(0,e)):new $o(1,"Invalid invite code format.")}class Oo extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Po extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class To extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class Do extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Mo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class Lo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}const Bo=e=>go((e=>new Mo(0,e)),wo(Co,bo("Email",e)));function jo(e){return e.fields[0]}const Ro=e=>go((e=>new Lo(0,e)),bo("Phone",e));function Wo(e){return e.fields[0]}function Uo(e){return yn(e)?new $o(1,"Invalid company name."):new $o(0,new To(0,e))}function Fo(e){return e.fields[0]}function Go(e){return function(e){try{const t=ko.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(e)[0]?new $o(0,new Po(0,e)):new $o(1,"Invalid logo url.")}function Ho(e){return e.fields[0]}class Vo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}class zo extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class Yo extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class qo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class Jo extends yt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const Zo=new Jo(new qo(0,"personal-details"),"Personal Details","apollo-personal-details-app"),Ko=new Jo(new qo(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),Xo=new Jo(new qo(0,"bank"),"Bank","bank-component"),Qo=new Jo(new qo(0,"tax"),"Tax","tax-component"),es=new Jo(new qo(0,"super"),"Super","super-selection-app"),ts=new Jo(new qo(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),ns=new qo(0,"benefits-onboarding"),rs=new Jo(ns,"Benefits","benefits-onboarding"),is=new Jo(new qo(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),os=new Jo(new qo(0,"Benefits-Discrete"),"Benefits","benefits-onboarding");function ss(e){return new qo(0,e)}function as(e){return e.fields[0]}class ls extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class cs extends yt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const us=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000000")),"onboarding-default",Jn([Xo,Qo,es])),fs=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000001")),"PEBTS",Jn([Zo,Ko,Xo,Qo,es])),ds=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000002")),"PS",Jn([Zo,es])),hs=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000003")),"BS",Jn([Xo,es])),ms=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000004")),"Super",jn(es)),ps=new cs(new ls(0,ro("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",jn(ts)),$s=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000005")),"Tax",jn(Qo)),gs=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000006")),"PBTS",Jn([Zo,Xo,Qo,es])),ws=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Jn([Zo,Ko,Xo,Qo,es,is])),ys=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000008")),"PEBSPo",Jn([Zo,Ko,Xo,es,is])),vs=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000009")),"PESPo",Jn([Zo,Ko,es,is])),bs=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000010")),"PETSPo",Jn([Zo,Ko,Qo,es,is])),Cs=new cs(new ls(0,ro("00000000-0000-0000-0002-000000000000")),"Bo",jn(os)),_s=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000011")),"PETS",Jn([Zo,Ko,Qo,es])),xs=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000012")),"PEBS",Jn([Zo,Ko,Xo,es])),ks=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000013")),"PES",Jn([Zo,Ko,es])),Ss=new cs(new ls(0,ro("00000000-0000-0000-0000-000000000014")),"PBTSPo",Jn([Zo,Xo,Qo,es,is])),Is=new oo([[us.Id,us],[fs.Id,fs],[ds.Id,ds],[hs.Id,hs],[ms.Id,ms],[ps.Id,ps],[$s.Id,$s],[gs.Id,gs],[ws.Id,ws],[ys.Id,ys],[vs.Id,vs],[bs.Id,bs],[Cs.Id,Cs],[_s.Id,_s],[xs.Id,xs],[ks.Id,ks],[Ss.Id,Ss]],{Equals:ot,GetHashCode:nt});function As(e){return e.fields[0]}class Es extends yt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class Ns extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}function Os(e){return 2===e.tag}class Ps extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function Ts(e){return new Ps(0,e)}function Ds(e){return e.fields[0]}class Ms extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Ls extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class Bs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class js extends yt{constructor(e,t,n,r,i,o,s,a,l,c,u){super(),this.Id=e,this.Configuration=t,this.DateCreated=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=l,this.IsBenefitsStepEnabled=c,this.PaySetupComplete=u}}class Rs extends yt{constructor(e){super(),this.BenefitsOnboarding=e}}class Ws extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Us extends yt{constructor(e){super(),this.Category=e}}class Fs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}function Gs(){return St(document.getElementById("external-loading-page-container"))}function Hs(){return null!=Gs()}class Vs{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}Dispose(){}}class zs extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,zs.prototype)}}class Ys{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Ys.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function qs(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new zs);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(Ct(e))}}));else try{e(t)}catch(e){t.onError(Ct(e))}}}const Js=new class{Bind(e,t){return function(e,t){return qs((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(Ct(e))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}(e,t)}Combine(e,t){return this.Bind(e,(()=>t))}Delay(e){return qs((t=>e()(t)))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While((()=>!r.done),this.Delay((()=>{const e=t(r.value);return r=n.next(),e})))}Return(e){return function(e){return qs((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return qs((n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})}))}TryWith(e,t){return qs((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(Ct(e))}}})}))}Using(e,t){return this.TryFinally(t(e),(()=>e.Dispose()))}While(e,t){return e()?this.Bind(t,(()=>this.While(e,t))):this.Return(void 0)}Zero(){return qs((e=>e.onSuccess(void 0)))}};function Zs(e){}const Ks=new Vs;function Xs(e){return qs((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new yo(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new yo(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}function Qs(e){return qs((t=>e([t.onSuccess,t.onError,t.onCancel])))}function ea(e){return qs((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new zs)}))}))}function ta(e,t){return function(e,t){return na(e,t)}(e,t)}function na(e,t,n,r,i){"function"!=typeof t&&(i=t,t=void 0);const o=new Ys;e({onSuccess:t||Zs,onError:n||Zs,onCancel:r||Zs,cancelToken:i||Ks,trampoline:o})}class ra extends yt{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function ia(e){Hs()||window.parent.postMessage(e,"*")}function oa(e){ia(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function sa(e,t,n){const r=function(e,t){const n=Qn((t=>ot(t.Id,e)),t.Configuration.Steps),r=hn(fn("Invalid ProcessStep Id %A%P()",[e])),i=n;return null==i?new $o(1,r):new $o(0,i)}(e,t);1===r.tag||ia(function(e,t,n,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=function(e){return new ra(Ds(e.Id),e.Configuration.Name,As(e.Configuration.Id))}(n),i.profileId=Ao(r),i.step={name:t,type:as(e)},i}(e,r.fields[0].DisplayName,t,n))}function aa(e,t,n,r){ia(function(e,t,n,r){const i={type:"workflowSubmitSuccess",sender:"flare"};return i.workflow=new ra(Ds(e),t,As(n)),i.profileId=Ao(r),i}(e,t,n,r))}function la(e){Hs()&&function(e,t){ta(Js.Delay((()=>Js.Bind(ea(e),(()=>(function(){let e,t;const n=Gs();xr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),It(n))}(),ia({type:"appReady",sender:"flare"}),oa(),Js.Zero()))))))}(e)}function ca(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ua(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(n),!0).forEach((function(t){ha(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ca(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fa(e){return fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fa(e)}function da(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ha(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return o}}(e,t)||$a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pa(e){return function(e){if(Array.isArray(e))return ga(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $a(e,t){if(e){if("string"==typeof e)return ga(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ga(e,t):void 0}}function ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var wa=function(){},ya={},va={},ba=null,Ca={mark:wa,measure:wa};try{"undefined"!=typeof window&&(ya=window),"undefined"!=typeof document&&(va=document),"undefined"!=typeof MutationObserver&&(ba=MutationObserver),"undefined"!=typeof performance&&(Ca=performance)}catch(l){}var _a=(ya.navigator||{}).userAgent,xa=void 0===_a?"":_a,ka=ya,Sa=va,Ia=ba,Aa=Ca,Ea=(ka.document,!!Sa.documentElement&&!!Sa.head&&"function"==typeof Sa.addEventListener&&"function"==typeof Sa.createElement),Na=~xa.indexOf("MSIE")||~xa.indexOf("Trident/"),Oa="___FONT_AWESOME___",Pa="fa",Ta="svg-inline--fa",Da="data-fa-i2svg",Ma="data-fa-pseudo-element",La="data-fa-pseudo-element-pending",Ba="data-prefix",ja="data-icon",Ra="fontawesome-i2svg",Wa="async",Ua=["HTML","HEAD","STYLE","SCRIPT"],Fa=function(){try{return!0}catch(e){return!1}}(),Ga={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},Ha={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Va={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},za={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Ya=/fa[srltdbk]?[\-\ ]/,qa="fa-layers-text",Ja=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Za={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Ka=[1,2,3,4,5,6,7,8,9,10],Xa=Ka.concat([11,12,13,14,15,16,17,18,19,20]),Qa=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],el={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},tl=[].concat(pa(Object.keys(Ha)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",el.GROUP,el.SWAP_OPACITY,el.PRIMARY,el.SECONDARY]).concat(Ka.map((function(e){return"".concat(e,"x")}))).concat(Xa.map((function(e){return"w-".concat(e)}))),nl=ka.FontAwesomeConfig||{};Sa&&"function"==typeof Sa.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=ma(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Sa.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(nl[r]=i)}));var rl=ua(ua({},{familyPrefix:Pa,styleDefault:"solid",replacementClass:Ta,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),nl);rl.autoReplaceSvg||(rl.observeMutations=!1);var il={};Object.keys(rl).forEach((function(e){Object.defineProperty(il,e,{enumerable:!0,set:function(t){rl[e]=t,ol.forEach((function(e){return e(il)}))},get:function(){return rl[e]}})})),ka.FontAwesomeConfig=il;var ol=[],sl=16,al={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},ll="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function cl(){for(var e=12,t="";e-- >0;)t+=ll[62*Math.random()|0];return t}function ul(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function fl(e){return e.classList?ul(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function dl(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function hl(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ml(e){return e.size!==al.size||e.x!==al.x||e.y!==al.y||e.rotate!==al.rotate||e.flipX||e.flipY}var pl=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function $l(){var e=Pa,t=Ta,n=il.familyPrefix,r=il.replacementClass,i=pl;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(r))}return i}var gl=!1;function wl(){il.autoAddCss&&!gl&&(function(e){if(e&&Ea){var t=Sa.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Sa.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}Sa.head.insertBefore(t,r)}}($l()),gl=!0)}var yl={mixout:function(){return{dom:{css:$l,insertCss:wl}}},hooks:function(){return{beforeDOMElementCreation:function(){wl()},beforeI2svg:function(){wl()}}}},vl=ka||{};vl[Oa]||(vl[Oa]={}),vl[Oa].styles||(vl[Oa].styles={}),vl[Oa].hooks||(vl[Oa].hooks={}),vl[Oa].shims||(vl[Oa].shims=[]);var bl=vl[Oa],Cl=[],_l=!1;function xl(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?dl(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(dl(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(xl).join(""),"</").concat(t,">")}function kl(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Ea&&((_l=(Sa.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Sa.readyState))||Sa.addEventListener("DOMContentLoaded",(function e(){Sa.removeEventListener("DOMContentLoaded",e),_l=1,Cl.map((function(e){return e()}))})));var Sl=function(e,t,n,r){var i,o,s,a=Object.keys(e),l=a.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,s=e[a[0]]):(i=0,s=n);i<l;i++)s=c(s,e[o=a[i]],o,e);return s};function Il(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function Al(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function El(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=Al(t);"function"!=typeof bl.hooks.addPack||r?bl.styles[e]=ua(ua({},bl.styles[e]||{}),i):bl.hooks.addPack(e,Al(t)),"fas"===e&&El("fa",t)}var Nl=bl.styles,Ol=bl.shims,Pl=Object.values(Va),Tl=null,Dl={},Ml={},Ll={},Bl={},jl={},Rl=Object.keys(Ga);var Wl,Ul=function(){var e=function(e){return Sl(Nl,(function(t,n,r){return t[r]=Sl(n,e,{}),t}),{})};Dl=e((function(e,t,n){if(t[3]&&(e[t[3]]=n),t[2]){var r=t[2].filter((function(e){return"number"==typeof e}));r.forEach((function(t){e[t.toString(16)]=n}))}return e})),Ml=e((function(e,t,n){if(e[n]=n,t[2]){var r=t[2].filter((function(e){return"string"==typeof e}));r.forEach((function(t){e[t]=n}))}return e})),jl=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Nl||il.autoFetchSvg,n=Sl(Ol,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});Ll=n.names,Bl=n.unicodes,Tl=Yl(il.styleDefault)};function Fl(e,t){return(Dl[e]||{})[t]}function Gl(e,t){return(jl[e]||{})[t]}function Hl(e){return Ll[e]||{prefix:null,iconName:null}}function Vl(){return Tl}Wl=function(e){Tl=Yl(e.styleDefault)},ol.push(Wl),Ul();var zl=function(){return{prefix:null,iconName:null,rest:[]}};function Yl(e){var t=Ga[e],n=Ha[e]||Ha[t],r=e in bl.styles?e:null;return n||r||null}function ql(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==t&&t,r=null,i=e.reduce((function(e,t){var i=function(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~tl.indexOf(n))?null:o}(il.familyPrefix,t);if(Nl[t]?(t=Pl.includes(t)?za[t]:t,r=t,e.prefix=t):Rl.indexOf(t)>-1?(r=t,e.prefix=Yl(t)):i?e.iconName=i:t!==il.replacementClass&&e.rest.push(t),!n&&e.prefix&&e.iconName){var o="fa"===r?Hl(e.iconName):{},s=Gl(e.prefix,e.iconName);o.prefix&&(r=null),e.iconName=o.iconName||s||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||Nl.far||!Nl.fas||il.autoFetchSvg||(e.prefix="fas")}return e}),zl());return"fa"!==i.prefix&&"fa"!==r||(i.prefix=Vl()||"fas"),i}var Jl=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=ua(ua({},e.definitions[t]||{}),i[t]),El(t,i[t]);var n=Va[t];n&&El(n,i[t]),Ul()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,s=r.icon,a=s[2];e[i]||(e[i]={}),a.length>0&&a.forEach((function(t){"string"==typeof t&&(e[i][t]=s)})),e[i][o]=s})),e}}],n&&da(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Zl=[],Kl={},Xl={},Ql=Object.keys(Xl);function ec(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(Kl[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function tc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Kl[e]||[]).forEach((function(e){e.apply(null,n)}))}function nc(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Xl[e]?Xl[e].apply(null,t):void 0}function rc(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Vl();if(t)return t=Gl(n,t)||t,kl(ic.definitions,n,t)||kl(bl.styles,n,t)}var ic=new Jl,oc={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ea?(tc("beforeI2svg",e),nc("pseudoElements2svg",e),nc("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===il.autoReplaceSvg&&(il.autoReplaceSvg=!0),il.observeMutations=!0,e=function(){ac({autoReplaceSvgRoot:n}),tc("watch",t)},Ea&&(_l?setTimeout(e,0):Cl.push(e))}},sc={noAuto:function(){il.autoReplaceSvg=!1,il.observeMutations=!1,tc("noAuto")},config:il,dom:oc,parse:{icon:function(e){if(null===e)return null;if("object"===fa(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Gl(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Yl(e[0]);return{prefix:n,iconName:Gl(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(il.familyPrefix,"-"))>-1||e.match(Ya))){var r=ql(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Vl(),iconName:Gl(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Vl();return{prefix:i,iconName:Gl(i,e)||e}}}},library:ic,findIconDefinition:rc,toHtml:xl},ac=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Sa:e;(Object.keys(bl.styles).length>0||il.autoFetchSvg)&&Ea&&il.autoReplaceSvg&&sc.dom.i2svg({node:t})};function lc(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return xl(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Ea){var t=Sa.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function cc(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,s=e.transform,a=e.symbol,l=e.title,c=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:n,p=m.width,$=m.height,g="fak"===i,w=[il.replacementClass,o?"".concat(il.familyPrefix,"-").concat(o):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),y={children:[],attributes:ua(ua({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:w,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat($)})},v=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/$*16*.0625,"em")}:{};h&&(y.attributes[Da]=""),l&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||cl())},children:[l]}),delete y.attributes.title);var b=ua(ua({},y),{},{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:s,symbol:a,styles:ua(ua({},v),f.styles)}),C=r.found&&n.found?nc("generateAbstractMask",b)||{children:[],attributes:{}}:nc("generateAbstractIcon",b)||{children:[],attributes:{}},_=C.children,x=C.attributes;return b.children=_,b.attributes=x,a?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,s=!0===o?"".concat(t,"-").concat(il.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ua(ua({},i),{},{id:s}),children:r}]}]}(b):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(ml(s)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};i.style=hl(ua(ua({},o),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(b)}function uc(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,a=e.watchable,l=void 0!==a&&a,c=ua(ua(ua({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});l&&(c[Da]="");var u=ua({},s.styles);ml(i)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,s=e.startCentered,a=void 0!==s&&s,l="";return l+=a&&Na?"translate(".concat(t.x/sl-r/2,"em, ").concat(t.y/sl-o/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/sl,"em), calc(-50% + ").concat(t.y/sl,"em)) "):"translate(".concat(t.x/sl,"em, ").concat(t.y/sl,"em) "),(l+="scale(".concat(t.size/sl*(t.flipX?-1:1),", ").concat(t.size/sl*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=hl(u);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}var fc=bl.styles;function dc(e){var t=e[0],n=e[1],r=ma(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(il.familyPrefix,"-").concat(el.GROUP)},children:[{tag:"path",attributes:{class:"".concat(il.familyPrefix,"-").concat(el.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(il.familyPrefix,"-").concat(el.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var hc={found:!1,width:512,height:512};function mc(e,t){var n=t;return"fa"===t&&null!==il.styleDefault&&(t=Vl()),new Promise((function(r,i){if(nc("missingIconAbstract"),"fa"===n){var o=Hl(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&fc[t]&&fc[t][e])return r(dc(fc[t][e]));!function(e,t){Fa||il.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(ua(ua({},hc),{},{icon:il.showMissingIcons&&e&&nc("missingIconAbstract")||{}}))}))}var pc=function(){},$c=il.measurePerformance&&Aa&&Aa.mark&&Aa.measure?Aa:{mark:pc,measure:pc},gc='FA "6.1.2"',wc=function(e){$c.mark("".concat(gc," ").concat(e," ends")),$c.measure("".concat(gc," ").concat(e),"".concat(gc," ").concat(e," begins"),"".concat(gc," ").concat(e," ends"))},yc={begin:function(e){return $c.mark("".concat(gc," ").concat(e," begins")),function(){return wc(e)}},end:wc},vc=function(){};function bc(e){return"string"==typeof(e.getAttribute?e.getAttribute(Da):null)}function Cc(e){return Sa.createElementNS("http://www.w3.org/2000/svg",e)}function _c(e){return Sa.createElement(e)}function xc(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Cc:_c:t;if("string"==typeof e)return Sa.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(xc(e,{ceFn:n}))})),r}var kc={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(xc(e),t)})),null===t.getAttribute(Da)&&il.keepOriginalSource){var n=Sa.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~fl(t).indexOf(il.replacementClass))return kc.replace(e);var r=new RegExp("".concat(il.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===il.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return xl(e)})).join("\n");t.setAttribute(Da,""),t.innerHTML=o}};function Sc(e){e()}function Ic(e,t){var n="function"==typeof t?t:vc;if(0===e.length)n();else{var r=Sc;il.mutateApproach===Wa&&(r=ka.requestAnimationFrame||Sc),r((function(){var t=!0===il.autoReplaceSvg?kc.replace:kc[il.autoReplaceSvg]||kc.replace,r=yc.begin("mutate");e.map(t),r(),n()}))}}var Ac=!1;function Ec(){Ac=!0}function Nc(){Ac=!1}var Oc=null;function Pc(e){if(Ia&&il.observeMutations){var t=e.treeCallback,n=void 0===t?vc:t,r=e.nodeCallback,i=void 0===r?vc:r,o=e.pseudoElementsCallback,s=void 0===o?vc:o,a=e.observeMutationsRoot,l=void 0===a?Sa:a;Oc=new Ia((function(e){if(!Ac){var t=Vl();ul(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!bc(e.addedNodes[0])&&(il.searchPseudoElements&&s(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&il.searchPseudoElements&&s(e.target.parentNode),"attributes"===e.type&&bc(e.target)&&~Qa.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Ba):null,n=e.getAttribute?e.getAttribute(ja):null;return t&&n}(e.target)){var r=ql(fl(e.target)),o=r.prefix,a=r.iconName;e.target.setAttribute(Ba,o||t),a&&e.target.setAttribute(ja,a)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(il.replacementClass)&&i(e.target);var l}))}})),Ea&&Oc.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Tc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",s=ql(fl(e));return s.prefix||(s.prefix=Vl()),r&&i&&(s.prefix=r,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&o.length>0&&(s.iconName=(t=s.prefix,n=e.innerText,(Ml[t]||{})[n]||Fl(s.prefix,Il(e.innerText)))),!s.iconName&&il.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}(e),r=n.iconName,i=n.prefix,o=n.rest,s=function(e){var t=ul(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return il.autoA11y&&(n?t["aria-labelledby"]="".concat(il.replacementClass,"-title-").concat(r||cl()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=ec("parseNodeAttributes",{},e),l=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return ua({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:al,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s}},a)}var Dc=bl.styles;function Mc(e){var t="nest"===il.autoReplaceSvg?Tc(e,{styleParser:!1}):Tc(e);return~t.extra.classes.indexOf(qa)?nc("generateLayersText",e,t):nc("generateSvgReplacementMutation",e,t)}function Lc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ea)return Promise.resolve();var n=Sa.documentElement.classList,r=function(e){return n.add("".concat(Ra,"-").concat(e))},i=function(e){return n.remove("".concat(Ra,"-").concat(e))},o=il.autoFetchSvg?Object.keys(Ga):Object.keys(Dc);o.includes("fa")||o.push("fa");var s=[".".concat(qa,":not([").concat(Da,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(Da,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=ul(e.querySelectorAll(s))}catch(e){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var l=yc.begin("onTree"),c=a.reduce((function(e,t){try{var n=Mc(t);n&&e.push(n)}catch(e){Fa||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Ic(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function Bc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Mc(e).then((function(e){e&&Ic([e],t)}))}var jc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?al:n,i=t.symbol,o=void 0!==i&&i,s=t.mask,a=void 0===s?null:s,l=t.maskId,c=void 0===l?null:l,u=t.title,f=void 0===u?null:u,d=t.titleId,h=void 0===d?null:d,m=t.classes,p=void 0===m?[]:m,$=t.attributes,g=void 0===$?{}:$,w=t.styles,y=void 0===w?{}:w;if(e){var v=e.prefix,b=e.iconName,C=e.icon;return lc(ua({type:"icon"},e),(function(){return tc("beforeDOMElementCreation",{iconDefinition:e,params:t}),il.autoA11y&&(f?g["aria-labelledby"]="".concat(il.replacementClass,"-title-").concat(h||cl()):(g["aria-hidden"]="true",g.focusable="false")),cc({icons:{main:dc(C),mask:a?dc(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:b,transform:ua(ua({},al),r),symbol:o,title:f,maskId:c,titleId:h,extra:{attributes:g,styles:y,classes:p}})}))}},Rc={mixout:function(){return{icon:(e=jc,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:rc(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:rc(i||{})),e(r,ua(ua({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Lc,e.nodeCallback=Bc,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Sa:t,r=e.callback;return Lc(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,s=t.transform,a=t.symbol,l=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,f){Promise.all([mc(n,o),l.iconName?mc(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var f=ma(l,2),d=f[0],h=f[1];t([e,cc({icons:{main:d,mask:h},prefix:o,iconName:n,transform:s,symbol:a,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,s=hl(e.styles);return s.length>0&&(r.style=s),ml(o)&&(t=nc("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},Wc={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return lc({type:"layer"},(function(){tc("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(il.familyPrefix,"-layers")].concat(pa(r)).join(" ")},children:n}]}))}}}},Uc={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,s=t.attributes,a=void 0===s?{}:s,l=t.styles,c=void 0===l?{}:l;return lc({type:"counter",content:e},(function(){return tc("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,i=ua(ua(ua({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=hl(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}({content:e.toString(),title:r,extra:{attributes:a,styles:c,classes:["".concat(il.familyPrefix,"-layers-counter")].concat(pa(o))}})}))}}}},Fc={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?al:n,i=t.title,o=void 0===i?null:i,s=t.classes,a=void 0===s?[]:s,l=t.attributes,c=void 0===l?{}:l,u=t.styles,f=void 0===u?{}:u;return lc({type:"text",content:e},(function(){return tc("beforeDOMElementCreation",{content:e,params:t}),uc({content:e,transform:ua(ua({},al),r),title:o,extra:{attributes:c,styles:f,classes:["".concat(il.familyPrefix,"-layers-text")].concat(pa(a))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,s=null;if(Na){var a=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();o=l.width/a,s=l.height/a}return il.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,uc({content:e.innerHTML,width:o,height:s,transform:r,title:n,extra:i,watchable:!0})])}}},Gc=new RegExp('"',"ug"),Hc=[1105920,1112319];function Vc(e,t){var n="".concat(La).concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,s,a,l=ul(e.children).filter((function(e){return e.getAttribute(Ma)===t}))[0],c=ka.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(Ja),f=c.getPropertyValue("font-weight"),d=c.getPropertyValue("content");if(l&&!u)return e.removeChild(l),r();if(u&&"none"!==d&&""!==d){var h=c.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Ha[u[2].toLowerCase()]:Za[f],p=function(e){var t=e.replace(Gc,""),n=function(e,t){var n,r=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i}(t),r=n>=Hc[0]&&n<=Hc[1],i=2===t.length&&t[0]===t[1];return{value:Il(i?t[0]:t),isSecondary:r||i}}(h),$=p.value,g=p.isSecondary,w=u[0].startsWith("FontAwesome"),y=Fl(m,$),v=y;if(w){var b=(s=Bl[o=$],a=Fl("fas",o),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});b.iconName&&b.prefix&&(y=b.iconName,m=b.prefix)}if(!y||g||l&&l.getAttribute(Ba)===m&&l.getAttribute(ja)===v)r();else{e.setAttribute(n,v),l&&e.removeChild(l);var C={iconName:null,title:null,titleId:null,prefix:null,transform:al,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},_=C.extra;_.attributes[Ma]=t,mc(y,m).then((function(i){var o=cc(ua(ua({},C),{},{icons:{main:i,mask:zl()},prefix:m,iconName:v,extra:_,watchable:!0})),s=Sa.createElement("svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return xl(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function zc(e){return Promise.all([Vc(e,"::before"),Vc(e,"::after")])}function Yc(e){return!(e.parentNode===document.head||~Ua.indexOf(e.tagName.toUpperCase())||e.getAttribute(Ma)||e.parentNode&&"svg"===e.parentNode.tagName)}function qc(e){if(Ea)return new Promise((function(t,n){var r=ul(e.querySelectorAll("*")).filter(Yc).map(zc),i=yc.begin("searchPseudoElements");Ec(),Promise.all(r).then((function(){i(),Nc(),t()})).catch((function(){i(),Nc(),n()}))}))}var Jc=!1,Zc=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Kc={mixout:function(){return{parse:{transform:function(e){return Zc(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Zc(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),a="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(s," ").concat(a," ").concat(l)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:ua({},c.outer),children:[{tag:"g",attributes:ua({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:ua(ua({},t.icon.attributes),c.path)}]}]}}}},Xc={x:0,y:0,width:"100%",height:"100%"};function Qc(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var eu,tu={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?ql(n.split(" ").map((function(e){return e.trim()}))):zl();return r.prefix||(r.prefix=Vl()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,s=e.maskId,a=e.transform,l=i.width,c=i.icon,u=o.width,f=o.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:a,containerWidth:u,iconWidth:l}),h={tag:"rect",attributes:ua(ua({},Xc),{},{fill:"white"})},m=c.children?{children:c.children.map(Qc)}:{},p={tag:"g",attributes:ua({},d.inner),children:[Qc(ua({tag:c.tag,attributes:ua(ua({},c.attributes),d.path)},m))]},$={tag:"g",attributes:ua({},d.outer),children:[p]},g="mask-".concat(s||cl()),w="clip-".concat(s||cl()),y={tag:"mask",attributes:ua(ua({},Xc),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,$]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(t=f,"g"===t.tag?t.children:[t])},y]};return n.push(v,{tag:"rect",attributes:ua({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},Xc)}),{children:n,attributes:r}}}},nu={provides:function(e){var t=!1;ka.matchMedia&&(t=ka.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:ua(ua({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=ua(ua({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:ua(ua({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:ua(ua({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ua(ua({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:ua(ua({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ua(ua({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:ua(ua({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ua(ua({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},ru=[yl,Rc,Wc,Uc,Fc,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=qc,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Sa:t;il.searchPseudoElements&&qc(n)}}},{mixout:function(){return{dom:{unwatch:function(){Ec(),Jc=!0}}}},hooks:function(){return{bootstrap:function(){Pc(ec("mutationObserverCallbacks",{}))},noAuto:function(){Oc&&Oc.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Jc?Nc():Pc(ec("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Kc,tu,nu,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];eu={mixoutsTo:sc}.mixoutsTo,Zl=ru,Kl={},Object.keys(Xl).forEach((function(e){-1===Ql.indexOf(e)&&delete Xl[e]})),Zl.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(eu[e]=t[e]),"object"===fa(t[e])&&Object.keys(t[e]).forEach((function(n){eu[e]||(eu[e]={}),eu[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Kl[e]||(Kl[e]=[]),Kl[e].push(n[e])}))}e.provides&&e.provides(Xl)}));var iu=sc.parse,ou=sc.icon,su=n(556),au=n.n(su);function lu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lu(Object(n),!0).forEach((function(t){fu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uu(e){return uu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uu(e)}function fu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function du(e){return function(e){if(Array.isArray(e))return hu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return hu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hu(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mu(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var pu=["style"],$u=!1;try{$u=!0}catch(l){}function gu(e){return e&&"object"===uu(e)&&e.prefix&&e.iconName&&e.icon?e:iu.icon?iu.icon(e):null===e?null:e&&"object"===uu(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function wu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?fu({},e,t):{}}var yu=je.forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,s=e.title,a=e.titleId,l=e.maskId,c=gu(n),u=wu("classes",[].concat(du(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,s=e.shake,a=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,m=e.border,p=e.listItem,$=e.flip,g=e.size,w=e.rotation,y=e.pull,v=(fu(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":s,"fa-flash":a,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":m,"fa-li":p,"fa-flip":!0===$,"fa-flip-horizontal":"horizontal"===$||"both"===$,"fa-flip-vertical":"vertical"===$||"both"===$},"fa-".concat(g),null!=g),fu(t,"fa-rotate-".concat(w),null!=w&&0!==w),fu(t,"fa-pull-".concat(y),null!=y),fu(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(v).map((function(e){return v[e]?e:null})).filter((function(e){return e}))}(e)),du(o.split(" ")))),f=wu("transform","string"==typeof e.transform?iu.transform(e.transform):e.transform),d=wu("mask",gu(r)),h=ou(c,cu(cu(cu(cu({},u),f),d),{},{symbol:i,title:s,titleId:a,maskId:l}));if(!h)return function(){var e;!$u&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=h.abstract,p={ref:t};return Object.keys(e).forEach((function(t){yu.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),vu(m[0],p)}));yu.displayName="FontAwesomeIcon",yu.propTypes={beat:au().bool,border:au().bool,beatFade:au().bool,bounce:au().bool,className:au().string,fade:au().bool,flash:au().bool,mask:au().oneOfType([au().object,au().array,au().string]),maskId:au().string,fixedWidth:au().bool,inverse:au().bool,flip:au().oneOf([!0,!1,"horizontal","vertical","both"]),icon:au().oneOfType([au().object,au().array,au().string]),listItem:au().bool,pull:au().oneOf(["right","left"]),pulse:au().bool,rotation:au().oneOf([0,90,180,270]),shake:au().bool,size:au().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:au().bool,spinPulse:au().bool,spinReverse:au().bool,symbol:au().oneOfType([au().bool,au().string]),title:au().string,titleId:au().string,transform:au().oneOfType([au().string,au().object]),swapOpacity:au().bool},yu.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var vu=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=mu(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[mu(t)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,pu);return o.attrs.style=cu(cu({},o.attrs.style),a),t.apply(void 0,[n.tag,cu(cu({},o.attrs),l)].concat(du(i)))}.bind(null,je.createElement),bu={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"]},Cu={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256-.0078C260.7-.0081 265.2 1.008 269.4 2.913L457.7 82.79C479.7 92.12 496.2 113.8 496 139.1C495.5 239.2 454.7 420.7 282.4 503.2C265.7 511.1 246.3 511.1 229.6 503.2C57.25 420.7 16.49 239.2 15.1 139.1C15.87 113.8 32.32 92.12 54.3 82.79L242.7 2.913C246.8 1.008 251.4-.0081 256-.0078V-.0078zM256 444.8C393.1 378 431.1 230.1 432 141.4L256 66.77L256 444.8z"]};function _u(e,t){return d(yu,e,...t)}_u({icon:{prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"]}},[]),_u({icon:Cu,size:"5x"},[]);const xu=_u({icon:bu,size:"5x"},[]);function ku(){let e,t,n,r,i,o,s,a;return Ui((()=>{la(0)})),d("div",ft(Jn([["className",vn(" ",["h-screen","fade-in"])],(e=[d("div",ft(Jn([["className","h-full flex justify-center items-center"],(t=[d("div",ft(Jn([["className","border rounded-lg shadow-md sm:max-w-md p-8 text-center"],(n=[d("div",ft(jn((r=[d("div",ft(Jn([["className",vn(" ",["fade-in"])],(i=[d("i",{className:"text-red-600",children:vi.Children.toArray([xu])}),d("h4",{className:"text-2xl my-4 text-red-600",children:"This doesn't look right"}),d("p",{className:"mt-3 mb-5 text-gray-500",children:"Your invite has expired. Reach out to your employer to get another one."})],["children",vi.Children.toArray(Array.from(i))])]))),d("p",ft(Jn([["className","mt-16 text-gray-400 text-right text-x"],(o=[(s=`Flare HR Pty Ltd © 2015-${a=zt(),Yt(a)}`,d("small",{children:[s]}))],["children",vi.Children.toArray(Array.from(o))])])))],["children",vi.Children.toArray(Array.from(r))]))))],["children",vi.Children.toArray(Array.from(n))])])))],["children",vi.Children.toArray(Array.from(t))])])))],["children",vi.Children.toArray(Array.from(e))])])))}const Su=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,t){let n,r;void 0===t?(n=null,r=e):(n=e,r=t),this.delegates.forEach((e=>1===e.length?e(r):e(n,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const t="function"==typeof e?e:e.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}},Iu=class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new Su}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}};class Au{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function Eu(e,t,n){Yn((n=>{try{n(t)}catch(t){e(t)}}),n)}function Nu(){return Ln()}function Ou(e,t){return Xn((t=>n=>{t((t=>{n(e(t))}))}),t)}function Pu(e){return Zn(e)}function Tu(e){return jn(e)}function Du(e){return jn((t=>{t(e)}))}function Mu(e,t,n,r,i){return jn((o=>{e(Js.Delay((()=>Js.Bind(Xs(t(n)),(e=>{const t=e;return o(1===t.tag?i(t.fields[0]):r(t.fields[0])),Js.Zero()})))))}))}function Lu(e,t,n,r){return jn((i=>{e(Js.Delay((()=>Js.Bind(Xs(t(n)),(e=>{const t=e;return 0===t.tag?(i(r(t.fields[0])),Js.Zero()):Js.Zero()})))))}))}function Bu(e){!function(e,t){let n,r=new Iu(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new Au(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}(0,(t=>{ta(e)}))}function ju(e,t,n,r,i){const o=function(e,t,n,r){const i=0|ct(e,n);if(0===i)throw new Error("The step of a range cannot be zero");const o=i>0;return n=>{const i=0|ct(n,t);return o&&i<=0||!o&&i>=0?[n,r(n,e)]:void 0}}(t,n,r,i);return mr((()=>{return t=o,n=e,dr((()=>function(e,t){let n,r=t;return ur((()=>{if(null!=n){const e=n[0];return n[1],e}return sr()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}function Ru(e,t,n){return ju(e,t,n,0,((e,t)=>e+t))}class Wu extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Uu{constructor(e){this.state=new Wu(0,Dt(new Array(ut(at,e,10)),0,ut(at,e,10),null),0)}}function Fu(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],i=t.fields[0],o=(r+1)%i.length|0;return e.state=o===n?new Wu(0,i,n):new Wu(1,i,n,o),xt(i[r])}}class Gu extends yt{constructor(e,t,n,r,i,o,s){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=s}}function Hu(e,t,n){return new Gu(e,t,(e=>Nu()),n,ht(2,(e=>{const t=$t(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(xt(t),n)}),ht(2,(e=>e)))}function Vu(e,t){return new Gu(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function zu(e,t){const n=t.init(e),r=n[0],i=new Uu(10);let o=!1,s=r;const a=$t(1,t.syncDispatch,[e=>{if(o)!function(e,t){const n=e.state;if(1===n.tag){const o=0|n.fields[1],s=0|n.fields[2],a=n.fields[0];a[o]=t;const l=(o+1)%a.length|0;e.state=l===s?new Wu(1,(r=s,i=a,Array.from(mr((()=>br(Ir(r,i),mr((()=>{return br((e=r,t=i,vr((()=>hr(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return xt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(or+"\\nParameter name: source")}}),(e=>{Fe(e)}))),mr((()=>Ar((e=>gr(null)),Ru(0,1,i.length)))));var e,t}))))))),a.length,0):new Wu(1,a,l,s)}else{const r=0|n.fields[1],i=n.fields[0];i[r]=t;const o=(r+1)%i.length|0;e.state=new Wu(1,i,o,r)}var r,i}(i,e);else{o=!0;let n=xt(e);for(;null!=n;){const e=kt(n);try{const n=t.update(e,s),r=n[0];t.setState(r,a),Eu((n=>{t.onError([hn(un("Error in command while handling: %A"))(e),n])}),a,n[1]),s=r}catch(n){t.onError([hn(un("Unable to process the message: %A"))(e),n])}n=Fu(i)}o=!1}}]);t.setState(r,a),Eu((e=>{t.onError(["Error intitializing:",e])}),a,Pu(Jn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),Nu()}})(),n[1]])))}class Yu{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function qu(){return new Yu}function Ju(e,t,n,r){zu(t,Vu(((e,t)=>{!function(e,t,n){e.state=xt(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const i=function(e){return e.state}(n);if(null!=i)return kt(i);throw new Error("Elmish program has not initialized")}function Zu(e,t){return function(e,t,n){const r=ji(qu)[0],i=ji((()=>Ju(e,t,r))),o=i[1];return Wi((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Ju(e,t,r)),Bi((()=>{!function(e){const t=e.state;if(null!=t){const e=kt(t);Ue(e)&&Fe(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),At(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,o),[i[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function Ku(e,t,n){return Zu((()=>Hu(e,t,((e,t)=>{}))),n)}class Xu{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Qu{constructor(e,t,n,r,i,o,s){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=i,this.cases=o,this.enumCases=s}toString(){return gf(this)}GetHashCode(){return tf(this)}Equals(e){return nf(this,e)}}function ef(e){return null!=e.generics?e.generics:[]}function tf(e){return et([Xe(e.fullname),...ef(e).map(tf)])}function nf(e,t){return""===e.fullname?""===t.fullname&&rt(If(e),If(t),(([e,t],[n,r])=>e===n&&nf(t,r))):e.fullname===t.fullname&&rt(ef(e),ef(t),nf)}function rf(e,t,n,r){return new Qu(e,t,n,r)}function of(e,t,n,r){return new Qu(e,t,n,void 0,r)}function sf(...e){return new Qu("",void 0,void 0,void 0,(()=>e))}function af(e,t,n,r){const i=new Qu(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Xu(i,n,e[n],t)))}));return i}function lf(...e){return new Qu("System.Tuple`"+e.length,e)}function cf(e){return new Qu("Microsoft.FSharp.Core.FSharpOption`1",[e])}function uf(e){return new Qu("Microsoft.FSharp.Collections.FSharpList`1",[e])}const ff=new Qu("System.Object"),df=(new Qu("Microsoft.FSharp.Core.Unit"),new Qu("System.Char"),new Qu("System.String")),hf=new Qu("System.Boolean"),mf=(new Qu("System.SByte"),new Qu("System.Byte"),new Qu("System.Int16"),new Qu("System.UInt16"),new Qu("System.Int32")),pf=(new Qu("System.UInt32"),new Qu("System.Single"),new Qu("System.Double"));function $f(e){if(Array.isArray(e))return e[0];if(e instanceof Qu){const t=yf(e);if(null!=t)return $f(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function gf(e){const t=yf(e);return null!=t?gf(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>gf(e))).join(",")+"]"}function wf(e){return null!=yf(e)}function yf(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function vf(e){return null!=e.generics&&e.generics.length>0}function bf(e){return null!=e.enumCases&&e.enumCases.length>0}function Cf(e){return null==e.generics?e:new Qu(e.fullname,e.generics.map((()=>ff)))}function _f(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function xf(e){if(bf(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function kf(e,t){const n=parseInt(t,10);return function(e,t){if(null!=e.enumCases){if("string"==typeof t){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(n)?t:n)[1]}function Sf(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function If(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Af(e){if(Of(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Ef(e){return e instanceof Qu?null!=e.cases:e instanceof wt}function Nf(e){return e instanceof Qu?null!=e.fields:e instanceof yt}function Of(e){return e.fullname.startsWith("System.Tuple")}function Pf(e){return null==e.fields?[]:e.fields}new Qu("System.Decimal");class Tf extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}function Df(e){return new Tf(Nt(jo,e.Email),Nt(Wo,e.Phone))}class Mf extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}function Lf(){return of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],Mf,(()=>[["CompanyName",cf(df)],["Logo",cf(df)],["Support",cf(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],Tf,(()=>[["Email",cf(df)],["Phone",cf(df)]])))]]))}function Bf(e){return new Mf(Nt(Fo,e.CompanyName),Nt(Ho,e.Logo),Nt(Df,e.Support))}class jf extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite"]}}function Rf(){return af("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteJourneyTypeDto",[],jf,(()=>[[["Item",Uf()]],[["Item",Uf()]],[["Item",Uf()]]]))}class Wf extends yt{constructor(e){super(),this.Category=e}}function Uf(){return of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],Wf,(()=>[["Category",cf(df)]]))}class Ff extends yt{constructor(e){super(),this.MagicCode=e}}class Gf extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function Hf(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].Branding;case 7:return}}function Vf(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].JourneyType;case 7:return}}class zf extends yt{constructor(e,t){super(),this.CssOverrides=e,this.Outcome=t}}class Yf extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsChange=t}}class qf extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","MagicCodeIssuingThrottled","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Jf extends yt{constructor(e){super(),this.Outcome=e}}class Zf extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsResend=t}}class Kf extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeIssued","OneTimeCodeOptionNotAvailable","OneTimeCodeLocked","OneTimeCodeIssuingThrottled","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Xf extends yt{constructor(e){super(),this.Outcome=e}}class Qf extends yt{constructor(e){super(),this.OneTimeCode=0|e}}class ed extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeMatched","OneTimeCodeFailed","OneTimeCodeExpired","OneTimeCodeNotCurrentlyIssued","OneTimeCodeAlreadyUsed","OneTimeCodeLocked","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class td extends yt{constructor(e){super(),this.Outcome=e}}class nd extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsPassThrough=t}}class rd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class id extends yt{constructor(e){super(),this.Outcome=e}}class od extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class sd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class ad extends yt{constructor(e,t){super(),this.InviteToken=e,this.MagicCode=t}}class ld extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}class cd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}}class ud extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}class fd extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.Page=t,this.Branding=n,this.JourneyType=r}}class dd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToAuthCodeExchange"]}}const hd=(()=>{try{if("undefined"!=typeof window&&"function"==typeof window.addEventListener){const e={passive:!0};window.addEventListener("testPassiveEventSupport",(e=>{}),e),window.removeEventListener("testPassiveEventSupport",(e=>{}))}}catch(e){}return!1})();function md(e){return Nt((e=>e.passive&&!hd?{capture:e.capture,once:e.once,passive:!1}:e),e)}function pd(e){return Ot((e=>e.capture?{capture:!0}:void 0),e)}function $d(e,t){return 0===t.indexOf(e)?t:void 0}function gd(e,t){return function(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}(t,e)?t:void 0}function wd(e,t){return function(e){return 1===e?e=>{let t,n,r,i,o,s;return t=$d("/",e),null!=t?(n=t,"#"+n):(r=$d("#/",e),null!=r?(i=r,i):(o=$d("#",e),null!=o?(s=o,"#/"+kn(s,1,s.length-1)):"#/"+e))}:e=>{let t,n;return t=$d("/",e),null!=t?(n=t,n):"/"+e}}(t)(vn("/",Xn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function yd(e,t,n){1===t?history.pushState(void 0,"",wd(e,n)):history.replaceState(void 0,"",wd(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function vd(e,t){return function(e,t){let n,r;const i=Nn();let o=i,s=t;for(;!Pn(s);){let t=e(Dn(s));for(;!Pn(t);)n=o,r=new An(Dn(t),void 0),n.tail=r,o=r,t=Mn(t);s=Mn(s)}const a=o,l=Nn();return a.tail=l,Mn(i)}((e=>{if(yn(e))return Ln();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+nn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Ln();if(null!=$d("?",t))return jn(t);{const e=t.split("?");if(Bt(((e,t)=>e===t),e,null)||1!==e.length){if(Bt(((e,t)=>e===t),e,null)||2!==e.length)return Ln();if(""===e[1]){const t=e[0];return jn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Jn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return jn(decodeURIComponent(t))}}}}),Jn(_n(null!=$d("#",e)?kn(e,1,e.length-1):1!==t||null==gd("#",e)&&null==gd("#/",e)?e:"",["/"],null,0)))}const bd=function(e,t,n,r){const i=vi.memo(e,ht(2,At(pt(2,n),null)));return xr((t=>{e.displayName=t}),It(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return vi.createElement(i,t)}}((e=>{const t=Vi((t=>{const n=At(e.onUrlChanged,(e=>{}));!function(e,t,n){t(vd(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(At(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,i=Hi((()=>md(r)),[r]),o=Hi((()=>pd(r)),[r]),s=Hi((()=>e=>{n(e)}),[n]);Ri(Vi((()=>{if(null==i)window.addEventListener(e,s);else{const t=i;window.addEventListener(e,s,t)}return Bi((()=>{if(null==o)window.removeEventListener(e,s);else{const t=o;window.removeEventListener(e,s,t)}}))})))}else{const e="popstate",n=t,r=void 0,i=Hi((()=>md(r)),[r]),o=Hi((()=>pd(r)),[r]),s=Hi((()=>e=>{n(e)}),[n]);Ri(Vi((()=>{if(null==i)window.addEventListener(e,s);else{const t=i;window.addEventListener(e,s,t)}return Bi((()=>{if(null==o)window.removeEventListener(e,s);else{const t=o;window.removeEventListener(e,s,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,i=void 0,o=Hi((()=>md(i)),[i]),s=Hi((()=>pd(i)),[i]),a=Hi((()=>e=>{r(e)}),[r]);Ri(Vi((()=>{if(null==o)window.addEventListener(n,a);else{const e=o;window.addEventListener(n,a,e)}return Bi((()=>{if(null==s)window.removeEventListener(n,a);else{const e=s;window.removeEventListener(n,a,e)}}))})));const l=e.application;return null==l?null:l}),void 0,void 0,void 0);function Cd(e){try{const t=new URLSearchParams(e);return yr(mr((()=>kr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class _d extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const xd=document.getElementById("workflows-app"),kd=xd.getAttribute("data-identity-url"),Sd=xd.getAttribute("data-backend-url"),Id=Jn(["workflows","app"]),Ad=Jn(["workflows","embed","v1.0","app"]),Ed="apollo-workflows-app";class Nd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function Od(e){switch(e.tag){case 0:default:return wd(Ad,2);case 1:return wd(Id,2)}}!function(e){const t=Jn(_n(e,["."],null,0));let n;switch(n=Rn(t)?4:"autodev-partner"===Un(t)?0:"test-partner"===Un(t)?1:"partner"===Un(t)?2:"sandbox-partner"===Un(t)?3:4,n){case 0:return new $o(0,new _d(0));case 1:return new $o(0,new _d(1));case 2:return new $o(0,new _d(2));case 3:return new $o(0,new _d(3));case 4:new $o(1,"Invalid environment")}}(ko.create(Sd).host);class Pd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Td extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Dd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Md extends yt{constructor(e,t,n,r,i,o,s,a){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=s,this.content=a}}class Ld extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Bd extends yt{constructor(e,t,n,r,i,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=i,this.content=o}}class jd{constructor(e,t){this.k=e,this.v=t}}function Rd(e,t){return new jd(e,t)}function Wd(e){return e.k}function Ud(e){return e.v}class Fd extends jd{constructor(e,t,n,r,i){super(e,t),this.left=n,this.right=r,this.h=0|i}}function Gd(e,t,n,r,i){return new Fd(e,t,n,r,i)}function Hd(e){return e.left}function Vd(e){return e.right}function zd(e){return e.h}function Yd(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Fd){e=Yd(n+1,Hd(r)),t=Vd(r);continue e}return n+1|0}return 0|n}}function qd(e){return Yd(0,e)}function Jd(e,t,n,r){let i,o;i=null!=e?e instanceof Fd?zd(e):1:0,o=null!=r?r instanceof Fd?zd(r):1:0;const s=0|(i<o?o:i);return 0===s?Rd(t,n):Gd(t,n,e,r,s+1)}function Zd(e,t,n,r){let i,o,s,a,l,c;if(l=null!=e?e instanceof Fd?zd(e):1:0,c=null!=r?r instanceof Fd?zd(r):1:0,c>l+2){const s=kt(r);if(s instanceof Fd){if(i=Hd(s),(null!=i?(o=i,o instanceof Fd?zd(o):1):0)>l+1){const r=kt(Hd(s));if(r instanceof Fd)return Jd(Jd(e,t,n,Hd(r)),Wd(r),Ud(r),Jd(Vd(r),Wd(s),Ud(s),Vd(s)));throw new Error("internal error: Map.rebalance")}return Jd(Jd(e,t,n,Hd(s)),Wd(s),Ud(s),Vd(s))}throw new Error("internal error: Map.rebalance")}if(l>c+2){const i=kt(e);if(i instanceof Fd){if(s=Vd(i),(null!=s?(a=s,a instanceof Fd?zd(a):1):0)>c+1){const e=kt(Vd(i));if(e instanceof Fd)return Jd(Jd(Hd(i),Wd(i),Ud(i),Hd(e)),Wd(e),Ud(e),Jd(Vd(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Jd(Hd(i),Wd(i),Ud(i),Jd(Vd(i),t,n,r))}throw new Error("internal error: Map.rebalance")}return Jd(e,t,n,r)}function Kd(e,t,n,r){if(null!=r){const i=r,o=0|e.Compare(t,Wd(i));return i instanceof Fd?o<0?Zd(Kd(e,t,n,Hd(i)),Wd(i),Ud(i),Vd(i)):0===o?Gd(t,n,Hd(i),Vd(i),zd(i)):Zd(Hd(i),Wd(i),Ud(i),Kd(e,t,n,Vd(i))):o<0?Gd(t,n,void 0,r,2):0===o?Rd(t,n):Gd(t,n,r,void 0,2)}return Rd(t,n)}function Xd(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,Wd(o));if(0===s)return xt(Ud(o));if(o instanceof Fd){e=r,t=i,n=s<0?Hd(o):Vd(o);continue e}return}return}}function Qd(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Fd){Qd(n,Hd(r)),n(Wd(r),Ud(r)),e=n,t=Vd(r);continue e}n(Wd(r),Ud(r))}break}}function eh(e,t){Qd(e,t)}function th(e,t){if(null!=t){const n=t;if(n instanceof Fd){const t=th(e,Hd(n)),r=e(Wd(n),Ud(n)),i=th(e,Vd(n));return Gd(Wd(n),r,t,i,zd(n))}return Rd(Wd(n),e(Wd(n),Ud(n)))}}function nh(e,t){return th(e,t)}function rh(e,t){let n;for(let r=0;r<=t.length-1;r++){const i=t[r];n=Kd(e,i[0],i[1],n)}return n}class ih extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function oh(e){e:for(;;){const t=e;if(Rn(t))return Ln();{const n=Fn(t),r=Un(t);if(null!=r){const i=r;if(i instanceof Fd){e=qn([Hd(i),Rd(Wd(i),Ud(i)),Vd(i)],n);continue e}return t}e=n;continue e}}}function sh(e){return new ih(oh(jn(e)),!1)}function ah(e){if(e.started){const t=e.stack;if(Rn(t))return function(){throw new Error("enumeration already finished")}();if(null!=Un(t)){const e=Un(t);if(e instanceof Fd)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Wd(e),Ud(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function lh(e){let t=sh(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ah(t),"System.Collections.IEnumerator.get_Current":()=>ah(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Rn(t))return!1;if(null!=Un(t)){if(Un(t)instanceof Fd)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=oh(Fn(t)),!Rn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Rn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=sh(e)},Dispose(){}}}class ch{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const r=Ve(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,tt(e[0])),n=0|t(n,tt(e[1]))}}finally{Fe(r)}return 0|n}(this)}Equals(e){if(!(e instanceof ch))return!1;{const t=Ve(this);try{const n=Ve(e);try{const e=()=>{const r=t["System.Collections.IEnumerator.MoveNext"]();if(r===n["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=t["System.Collections.Generic.IEnumerator`1.get_Current"](),i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!ot(r[0],i[0])||!ot(r[1],i[1]))&&e()}return!0}return!1};return e()}finally{Fe(n)}}finally{Fe(t)}}}toString(){return"map ["+vn("; ",kr((e=>gn("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return lh(this.tree)}[Symbol.iterator](){return ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return lh(this.tree)}CompareTo(e){const t=this;if(e instanceof ch)return 0|function(e,t,n){const r=hr(t);try{const t=hr(n);try{let n=0,i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&i&&o;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:i?1:o?-1:0)}finally{Fe(t)}}finally{Fe(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:ct(e[1],n[1]))}),t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return mh(this,e[0])&&ot(dh(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;eh(((e,n)=>{t[r]=[e,n],r=r+1|0}),e)}(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|hh(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|hh(this)}get size(){return 0|hh(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return kr((e=>[e[0],e[1]]),this)}get(e){return dh(this,e)}has(e){return mh(this,e)}keys(){return kr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return kr((e=>e[1]),this)}forEach(e,t){const n=this;xr((t=>{e(t[1],t[0],n)}),n)}}function uh(e,t){return new ch(e,t)}function fh(e){const t=Pt();return uh(t,function(e,t){if(Re(t))return rh(e,t);if(t instanceof An)return function(e,t){return Vn(((t,n)=>Kd(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=Ve(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;{const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Kd(r,s[0],s[1],i),n=o}}}(e,void 0,n)}finally{Fe(n)}}}(t,e))}function dh(e,t){return function(e,t,n){const r=Xd(e,t,n);if(null==r)throw new Error;return kt(r)}(e.comparer,t,e.tree)}function hh(e){return qd(e.tree)}function mh(e,t){return function(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,Wd(o));if(o instanceof Fd){if(s<0){e=r,t=i,n=Hd(o);continue e}if(0===s)return!0;e=r,t=i,n=Vd(o);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function ph(e,t,n){return function(e,t,n){return uh(e.comparer,Kd(e.comparer,t,n,e.tree))}(n,e,t)}function $h(e,t){return function(e,t){return Xd(e.comparer,t,e.tree)}(t,e)}function gh(e,t){return function(e,t){return uh(e.comparer,nh(t,e.tree))}(t,e)}function wh(){return ch.empty}function yh(e){return new Td(0,"Content-Type",e)}ch.empty=uh(Pt(),void 0);const vh=new Md("",new Pd(0),Ln(),!1,void 0,void 0,void 0,new Dd(0));function bh(e,t){return wn(t)?[t]:_n(t,[e],null,0)}function Ch(e){return new Md(e,vh.method,vh.headers,vh.withCredentials,vh.overridenMimeType,vh.overridenResponseType,vh.timeout,vh.content)}function _h(e,t){return new Md(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function xh(e,t){return new Md(t.url,t.method,Kn(t.headers,jn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function kh(e,t){return new Md(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function Sh(e){return Qs((t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,i,o,s,a,l;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",i=0|n.status,o=n.responseType,a=n.responseType,s=""===a||"text"===a?new Ld(0,n.responseText):new Ld("arraybuffer"===a?2:"blob"===a?1:3,n.response),l=function(e){const t=Pt();return uh(t,rh(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const i=e(t[n]);if(null!=i){const e=kt(i);r.push(e)}}return r}((e=>{const t=Jn(bh(":",e));return Rn(t)?void 0:[Un(t).toLocaleLowerCase(),vn(":",Fn(t)).trim()]}),bh("\r\n",n.getAllResponseHeaders()))),new Bd(i,e,o,n.responseURL,l,s)))};const r=Ve(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{Fe(r)}n.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;n.overrideMimeType(e)}const o=e.overridenResponseType;null==o||(1===o.tag?n.responseType="blob":2===o.tag?n.responseType="arraybuffer":n.responseType="text");const s=e.timeout;if(null==s);else{const e=0|s;n.timeout=0|e}const a=e.content;switch(a.tag){case 1:case 3:case 2:n.send(xt(a.fields[0]));break;default:n.send()}}))}new Bd(0,"","","",wh(),new Ld(0,""));var Ih=null;try{Ih=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(l){}function Ah(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Eh(e){return!0===(e&&e.__isLong__)}Ah.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Ah.prototype.Equals=function(e){return nm(this,e)},Ah.prototype.CompareTo=function(e){return sm(this,e)},Ah.prototype.toString=function(e){return Xh(this,e)},Ah.prototype.toJSON=function(){return Xh(this)},Ah.prototype[qt]=function(){const e=this;return{multiply:t=>um(e,t),toPrecision:t=>String(e)+(0).toPrecision(t).substr(1),toExponential:t=>String(e)+(0).toExponential(t).substr(1),toFixed:t=>String(e)+(0).toFixed(t).substr(1),toHex:()=>{return Xh(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Ah(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}(e,t):function(e,t){return new Ah(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}(e,t)}((t=e,n?function(e){var t=e.high,n=e.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(t):function(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]}(t)),!0),16);var t,n}}},Ah.prototype.__isLong__,Object.defineProperty(Ah.prototype,"__isLong__",{value:!0});var Nh={},Oh={};function Ph(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=Oh[e])?r:(n=Dh(e,(0|e)<0?-1:0,!0),i&&(Oh[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=Nh[e])?r:(n=Dh(e,e<0?-1:0,!1),i&&(Nh[e]=n),n)}function Th(e,t){if(isNaN(e))return t?Gh:Fh;if(t){if(e<0)return Gh;if(e>=Rh)return qh}else{if(e<=-Wh)return Jh;if(e+1>=Wh)return Yh}return e<0?am(Th(-e,t)):Dh(e%jh|0,e/jh|0,t)}function Dh(e,t,n){return new Ah(e,t,n)}var Mh=Math.pow;function Lh(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Fh;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return am(Lh(e.substring(1),t,n));for(var i=Th(Mh(n,8)),o=Fh,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),l=parseInt(e.substring(s,s+a),n);o=lm(a<8?um(o,Th(Mh(n,a))):o=um(o,i),Th(l))}return o.unsigned=t,o}function Bh(e,t){return"number"==typeof e?Th(e,t):"string"==typeof e?Lh(e,t):Dh(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var jh=4294967296,Rh=jh*jh,Wh=Rh/2,Uh=Ph(1<<24),Fh=Ph(0),Gh=Ph(0,!0),Hh=Ph(1),Vh=Ph(1,!0),zh=Ph(-1),Yh=Dh(-1,2147483647,!1),qh=Dh(-1,-1,!0),Jh=Dh(0,-2147483648,!1);function Zh(e){return e.unsigned?e.low>>>0:e.low}function Kh(e){return e.unsigned?(e.high>>>0)*jh+(e.low>>>0):e.high*jh+(e.low>>>0)}function Xh(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(Qh(e))return"0";if(em(e)){if(nm(e,Jh)){var n=Th(t),r=fm(e,n),i=cm(um(r,n),e);return Xh(r,t)+Zh(i).toString(t)}return"-"+Xh(am(e),t)}for(var o=Th(Mh(t,6),e.unsigned),s=e,a="";;){var l=fm(s,o),c=(Zh(cm(s,um(l,o)))>>>0).toString(t);if(Qh(s=l))return c+a;for(;c.length<6;)c="0"+c;a=""+c+a}}function Qh(e){return 0===e.high&&0===e.low}function em(e){return!e.unsigned&&e.high<0}function tm(e){return 1==(1&e.low)}function nm(e,t){return Eh(t)||(t=Bh(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function rm(e,t){return sm(e,t)<0}function im(e,t){return sm(e,t)>0}function om(e,t){return sm(e,t)>=0}function sm(e,t){if(Eh(t)||(t=Bh(t)),nm(e,t))return 0;var n=em(e),r=em(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:em(cm(e,t))?-1:1}function am(e){return!e.unsigned&&nm(e,Jh)?Jh:lm(function(e){return Dh(~e.low,~e.high,e.unsigned)}(e),Hh)}function lm(e,t){Eh(t)||(t=Bh(t));var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=t.high>>>16,a=65535&t.high,l=t.low>>>16,c=0,u=0,f=0,d=0;return f+=(d+=o+(65535&t.low))>>>16,u+=(f+=i+l)>>>16,c+=(u+=r+a)>>>16,c+=n+s,Dh((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(u&=65535),e.unsigned)}function cm(e,t){return Eh(t)||(t=Bh(t)),lm(e,am(t))}function um(e,t){if(Qh(e))return e.unsigned?Gh:Fh;if(Eh(t)||(t=Bh(t)),Ih)return Dh(Ih.mul(e.low,e.high,t.low,t.high),Ih.get_high(),e.unsigned);if(Qh(t))return e.unsigned?Gh:Fh;if(nm(e,Jh))return tm(t)?Jh:Fh;if(nm(t,Jh))return tm(e)?Jh:Fh;if(em(e))return em(t)?um(am(e),am(t)):am(um(am(e),t));if(em(t))return am(um(e,am(t)));if(rm(e,Uh)&&rm(t,Uh))return Th(Kh(e)*Kh(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=t.high>>>16,a=65535&t.high,l=t.low>>>16,c=65535&t.low,u=0,f=0,d=0,h=0;return d+=(h+=o*c)>>>16,f+=(d+=i*c)>>>16,d&=65535,f+=(d+=o*l)>>>16,u+=(f+=r*c)>>>16,f&=65535,u+=(f+=i*l)>>>16,f&=65535,u+=(f+=o*a)>>>16,u+=n*c+r*l+i*a+o*s,Dh((d&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),e.unsigned)}function fm(e,t){if(Eh(t)||(t=Bh(t)),Qh(t))throw Error("division by zero");var n,r,i;if(Ih)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?Dh((e.unsigned?Ih.div_u:Ih.div_s)(e.low,e.high,t.low,t.high),Ih.get_high(),e.unsigned):e;if(Qh(e))return e.unsigned?Gh:Fh;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:Dh(e.low,e.high,!0)}(t)),im(t,e))return Gh;if(im(t,function(e,t){if(Eh(t)&&(t=Zh(t)),0==(t&=63))return e;var n=e.high;return t<32?Dh(e.low>>>t|n<<32-t,n>>>t,e.unsigned):Dh(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return Vh;i=Gh}else{if(nm(e,Jh))return nm(t,Hh)||nm(t,zh)?Jh:nm(t,Jh)?Hh:nm(n=function(e,t){return Eh(t)&&(t=Zh(t)),0==(t&=63)?e:t<32?Dh(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):Dh(0,e.low<<t-32,e.unsigned)}(fm(function(e,t){return Eh(t)&&(t=Zh(t)),0==(t&=63)?e:t<32?Dh(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):Dh(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),Fh)?em(t)?Hh:zh:i=lm(n,fm(r=cm(e,um(t,n)),t));if(nm(t,Jh))return e.unsigned?Gh:Fh;if(em(e))return em(t)?fm(am(e),am(t)):am(fm(am(e),t));if(em(t))return am(fm(e,am(t)));i=Fh}for(r=e;om(r,t);){n=Math.max(1,Math.floor(Kh(r)/Kh(t)));for(var o=Math.ceil(Math.log(n)/Math.LN2),s=o<=48?1:Mh(2,o-48),a=Th(n),l=um(a,t);em(l)||im(l,r);)l=um(a=Th(n-=s,e.unsigned),t);Qh(a)&&(a=Hh),i=lm(i,a),r=cm(r,l)}return i}const dm=fm,hm=Kh;function mm(e){return e<0?Math.ceil(e):Math.floor(e)}function pm(e=0,t=0,n=0,r=0,i=0){switch(arguments.length){case 1:return hm(dm(arguments[0],1e4));case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],i=0}return 864e5*e+36e5*t+6e4*n+1e3*r+i}function $m(e,t){try{return t.contents=function(e){const t=e.search("\\."),n=e.search("\\:");if(-1===t&&-1===n){const t=parseInt(e,0);if(isNaN(t))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return pm(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,i=0;const o=null!=t[1]&&"-"===t[1]?-1:1,s=+t[4],a=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(i=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return o*pm(n,s,a,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class gm extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class wm extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class ym{constructor(){this.cache=new Map([])}}function vm(){return new ym}function bm(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Cm(e,t){switch(e.tag){case 2:return function(e,t,n,r,i=0){if("string"==typeof e){const n=e;e=tn(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,i)+t.substring(i).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],i=arguments.length,o="string"!=typeof arguments[i-1];let s=o?i-3:i-2;for(let e=0;e<s;e++)t.push(arguments[e]);t.index=arguments[s++],t.input=arguments[s++],o&&(t.groups=arguments[s]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let o;const s=t.substring(i),a=rn(e,s),l=rn.length>r?(o=a[r-1],s.substring(0,o.index+o[0].length)):s;return t.substring(0,i)+l.replace(e,n)+t.substring(i+l.length)}return t.replace(e,n)}(bm(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return bm(t)}}function _m(e){return e}vm(),vm();const xm=null;function km(e){return Array.from(e)}function Sm(e){return Ft(e,"O")}function Im(e){return function(e,t="c",n){if(-1===["c","g","G"].indexOf(t))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return mm(e/864e5)}(e)),i=Math.abs(function(e){return mm(e%864e5/36e5)}(e)),o=Math.abs(function(e){return mm(e%36e5/6e4)}(e)),s=Math.abs(function(e){return mm(e%6e4/1e3)}(e)),a=Math.abs(function(e){return mm(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?i:qe(i,2)}:${qe(o,2)}:${qe(s,2)}${0!==a||"c"!==t&&"g"!==t?"g"===t?"."+qe(a,3):"."+function(e,t,n){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(a):""}`}(e)}function Am(){return null}function Em(e){return Ft(e,"O")}function Nm(e,t){return JSON.stringify(t,ht(2,null),xt(e))}function Om(e,t,n,r){const i=new vt(null);let o;const s=gf(r);let a;if(o=""===s?e:ph(s,i,e),Nf(r)){const e=Mt((e=>{const r=Cm(t,$f(e)),i=Pm(o,t,n,e[1]);return t=>o=>{const s=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=s)&&(o[r]=i(s)),o}}),If(r));a=t=>_r(((e,n)=>n(t)(e)),{},e)}else{if(!Ef(r)){let e;const t=gf(r);throw e=hn(un("Cannot generate auto encoder for %s. Please pass an extra encoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(t),new Error(e)}a=e=>{const i=function(e,t){const n=Sf(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),s=i[0],a=i[1],l=0|a.length;if(0===l)return $f(s);{const e=0|l,r=Pf(s),i=Dt(new Array(e+1),0,e+1,null);i[0]=$f(s);for(let s=1;s<=e;s++){const e=Pm(o,t,n,r[s-1][1]);i[s]=e(a[s-1])}return i}}}return i.contents=a,a}function Pm(e,t,n,r){const i=gf(r),o=$h(i,e);if(null==o){if(wf(r)){const i=Pm(e,t,n,yf(r));return e=>km(kr(i,e))}if(bf(r)){const e=gf(_f(r));if("System.SByte"===e)return e=>e;if("System.Byte"===e)return e=>e;if("System.Int16"===e)return e=>e;if("System.UInt16"===e)return e=>e;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=gf(r);return mn(un("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\n\nIf you can't use one of these types, please pass an extra encoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders\n "))(e)}}if(vf(r)){if(Of(r)){const i=Mt((r=>Pm(e,t,n,r)),Af(r));return e=>{return km((t=(e,t)=>i[e](t),n=e,vr((()=>hr(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?xt(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Fe(e)}))));var t,n}}{const i=gf(Cf(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new Ye((()=>{return i=Pm(e,t,n,ef(r)[0]),e=>{return n=()=>xm,null!=(t=Nt(i,e))?kt(t):n();var t,n};var i}));return e=>null==e?xm:i.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===i||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===i||"System.Collections.Generic.IEnumerable`1[System.Object]"===i){const i=Pm(e,t,n,ef(r)[0]);return e=>km(kr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=ef(r)[0],o=Pm(e,t,n,ef(r)[1]);if("System.String"===gf(i)||"System.Guid"===gf(i))return e=>_r(((e,t)=>{const n=t;return e[n[0]]=o(n[1]),e}),{},e);{let r;const s=Pm(e,t,n,i);return r=s,e=>km(kr((e=>{const t=e;return[r(t[0]),o(t[1])]}),e))}}return Om(e,t,n,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?Am:"System.String"===i?e=>e:"System.Char"===i?e=>e:"System.SByte"===i?e=>e:"System.Byte"===i?e=>e:"System.Int16"===i?e=>e:"System.UInt16"===i?e=>e:"System.Int32"===i?e=>e:"System.UInt32"===i?e=>e:"System.Double"===i?e=>e:"System.Single"===i?e=>e:"System.DateTime"===i?Em:"System.DateTimeOffset"===i?Sm:"System.TimeSpan"===i?Im:"System.Guid"===i?_m:"System.Object"===i?e=>e:Om(e,t,n,r)}{const e=o;return t=>e.contents(t)}}function Tm(e,t,n,r){const i=At(t,new wm(0)),o=At(r,!0);return Pm(function(e){return null!=e?gh(((e,t)=>new vt(t[0])),e.Coders):wh()}(n),i,o,e)}var Dm;function Mm(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Lm(e,t,n,r,i){const o=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,i]=r;n=n||function(e,t){if(t&Dm.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t);const o=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!o.test(i))return function(e,t){const[,n,r,i]=e;return{sign:n||"",prefix:r||"",digits:i,radix:t}}(r,n)}return null}(e,t,i);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[t,i]=Mm(!0,r);!n&&10!==o.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[s,a]=Mm(n,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}function Bm(e,t,n,r,i){try{return i.contents=Lm(e,t,n,r),!0}catch(e){return!1}}function jm(e,t){!function(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(t);const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function Rm(e,t){try{return t.contents=function(e){const[t,n]=Ht(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return jm(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Dm||(Dm={}));class Wm{constructor(e){this.k=e}}function Um(e){return new Wm(e)}function Fm(e){return e.k}class Gm extends Wm{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Hm(e,t,n,r){return new Gm(e,t,n,r)}function Vm(e){return e.left}function zm(e){return e.right}function Ym(e){return e.h}function qm(e,t){e:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Gm){e=Vm(r),t=qm(zm(r),n+1);continue e}return n+1|0}return 0|n}}function Jm(e){return qm(e,0)}function Zm(e,t,n){let r,i;r=null!=e?e instanceof Gm?Ym(e):1:0,i=null!=n?n instanceof Gm?Ym(n):1:0;const o=0|(r<i?i:r);return 0===o?Um(t):Hm(t,e,n,o+1)}function Km(e,t,n){let r,i,o,s,a,l;if(a=null!=e?e instanceof Gm?Ym(e):1:0,l=null!=n?n instanceof Gm?Ym(n):1:0,l>a+2){const o=kt(n);if(o instanceof Gm){if(r=Vm(o),(null!=r?(i=r,i instanceof Gm?Ym(i):1):0)>a+1){const n=kt(Vm(o));if(n instanceof Gm)return Zm(Zm(e,t,Vm(n)),Fm(n),Zm(zm(n),Fm(o),zm(o)));throw new Error("internal error: Set.rebalance")}return Zm(Zm(e,t,Vm(o)),Fm(o),zm(o))}throw new Error("internal error: Set.rebalance")}if(a>l+2){const r=kt(e);if(r instanceof Gm){if(o=zm(r),(null!=o?(s=o,s instanceof Gm?Ym(s):1):0)>l+1){const e=kt(zm(r));if(e instanceof Gm)return Zm(Zm(Vm(r),Fm(r),Vm(e)),Fm(e),Zm(zm(e),t,n));throw new Error("internal error: Set.rebalance")}return Zm(Vm(r),Fm(r),Zm(zm(r),t,n))}throw new Error("internal error: Set.rebalance")}return Zm(e,t,n)}function Xm(e,t,n){if(null!=n){const r=n,i=0|e.Compare(t,Fm(r));if(r instanceof Gm)return i<0?Km(Xm(e,t,Vm(r)),Fm(r),zm(r)):0===i?n:Km(Vm(r),Fm(r),Xm(e,t,zm(r)));{const i=0|e.Compare(t,Fm(r));return i<0?Hm(t,void 0,n,2):0===i?n:Hm(t,n,void 0,2)}}return Um(t)}function Qm(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,Fm(o));if(o instanceof Gm){if(s<0){e=r,t=i,n=Vm(o);continue e}if(0===s)return!0;e=r,t=i,n=zm(o);continue e}return 0===s}return!1}}function ep(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Gm){ep(n,Vm(r)),n(Fm(r)),e=n,t=zm(r);continue e}n(Fm(r))}break}}class tp extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function np(e){e:for(;;){const t=e;if(Rn(t))return Ln();{const n=Un(t),r=Fn(t);if(null!=n){const i=n;if(i instanceof Gm){e=qn([Vm(i),Um(Fm(i)),zm(i)],r);continue e}return t}e=r;continue e}}}function rp(e){return new tp(np(jn(e)),!1)}function ip(e){if(e.started){const t=e.stack;if(Rn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Un(t))return Fm(Un(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function op(e){let t=rp(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ip(t),"System.Collections.IEnumerator.get_Current":()=>ip(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Rn(t))return!1;if(null!=Un(t)){if(Un(t)instanceof Gm)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=np(Fn(t)),!Rn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Rn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=rp(e)},Dispose(){}}}function sp(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,i=t,o=n,s=[i,o];if(Rn(s[0]))return Rn(s[1])?0:-1;if(Rn(s[1]))return 1;if(null!=Un(s[1]))if(null!=Un(s[0])){const a=Un(s[0]),l=Un(s[1]);if(a instanceof Gm)if(null==Vm(a)){if(!(l instanceof Gm)){const i=0|r.Compare(Fm(a),Fm(l));if(0!==i)return 0|i;e=r,t=Bn(zm(a),Fn(s[0])),n=Bn(void 0,Fn(s[1]));continue e}if(null==Vm(l)){const i=0|r.Compare(Fm(a),Fm(l));if(0!==i)return 0|i;e=r,t=Bn(zm(a),Fn(s[0])),n=Bn(zm(l),Fn(s[1]));continue e}{const s=[i,o];let a,l,c,u,f;switch(Rn(s[0])?Rn(s[1])?a=2:null!=Un(s[1])?(a=1,u=Fn(s[1]),f=Un(s[1])):a=2:null!=Un(s[0])?(a=0,l=Fn(s[0]),c=Un(s[0])):Rn(s[1])?a=2:null!=Un(s[1])?(a=1,u=Fn(s[1]),f=Un(s[1])):a=2,a){case 0:if(c instanceof Gm){e=r,t=qn([Vm(c),Hm(Fm(c),void 0,zm(c),0)],l),n=o;continue e}e=r,t=qn([void 0,Um(Fm(c))],l),n=o;continue e;case 1:if(f instanceof Gm){e=r,t=i,n=qn([Vm(f),Hm(Fm(f),void 0,zm(f),0)],u);continue e}e=r,t=i,n=qn([void 0,Um(Fm(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const s=[i,o];let a,l,c,u,f;switch(Rn(s[0])?Rn(s[1])?a=2:null!=Un(s[1])?(a=1,u=Fn(s[1]),f=Un(s[1])):a=2:null!=Un(s[0])?(a=0,l=Fn(s[0]),c=Un(s[0])):Rn(s[1])?a=2:null!=Un(s[1])?(a=1,u=Fn(s[1]),f=Un(s[1])):a=2,a){case 0:if(c instanceof Gm){e=r,t=qn([Vm(c),Hm(Fm(c),void 0,zm(c),0)],l),n=o;continue e}e=r,t=qn([void 0,Um(Fm(c))],l),n=o;continue e;case 1:if(f instanceof Gm){e=r,t=i,n=qn([Vm(f),Hm(Fm(f),void 0,zm(f),0)],u);continue e}e=r,t=i,n=qn([void 0,Um(Fm(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(l instanceof Gm)){const i=0|r.Compare(Fm(a),Fm(l));if(0!==i)return 0|i;e=r,t=Fn(s[0]),n=Fn(s[1]);continue e}if(null==Vm(l)){const i=0|r.Compare(Fm(a),Fm(l));if(0!==i)return 0|i;e=r,t=Bn(void 0,Fn(s[0])),n=Bn(zm(l),Fn(s[1]));continue e}{const s=[i,o];let a,l,c,u,f;switch(Rn(s[0])?Rn(s[1])?a=2:null!=Un(s[1])?(a=1,u=Fn(s[1]),f=Un(s[1])):a=2:null!=Un(s[0])?(a=0,l=Fn(s[0]),c=Un(s[0])):Rn(s[1])?a=2:null!=Un(s[1])?(a=1,u=Fn(s[1]),f=Un(s[1])):a=2,a){case 0:if(c instanceof Gm){e=r,t=qn([Vm(c),Hm(Fm(c),void 0,zm(c),0)],l),n=o;continue e}e=r,t=qn([void 0,Um(Fm(c))],l),n=o;continue e;case 1:if(f instanceof Gm){e=r,t=i,n=qn([Vm(f),Hm(Fm(f),void 0,zm(f),0)],u);continue e}e=r,t=i,n=qn([void 0,Um(Fm(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Un(s[1]);const a=[i,o];let l,c,u,f,d;switch(Rn(a[0])?Rn(a[1])?l=2:null!=Un(a[1])?(l=1,f=Fn(a[1]),d=Un(a[1])):l=2:null!=Un(a[0])?(l=0,c=Fn(a[0]),u=Un(a[0])):Rn(a[1])?l=2:null!=Un(a[1])?(l=1,f=Fn(a[1]),d=Un(a[1])):l=2,l){case 0:if(u instanceof Gm){e=r,t=qn([Vm(u),Hm(Fm(u),void 0,zm(u),0)],c),n=o;continue e}e=r,t=qn([void 0,Um(Fm(u))],c),n=o;continue e;case 1:if(d instanceof Gm){e=r,t=i,n=qn([Vm(d),Hm(Fm(d),void 0,zm(d),0)],f);continue e}e=r,t=i,n=qn([void 0,Um(Fm(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Un(s[0])){e=r,t=Fn(s[0]),n=Fn(s[1]);continue e}{Un(s[0]);const a=[i,o];let l,c,u,f,d;switch(Rn(a[0])?Rn(a[1])?l=2:null!=Un(a[1])?(l=1,f=Fn(a[1]),d=Un(a[1])):l=2:null!=Un(a[0])?(l=0,c=Fn(a[0]),u=Un(a[0])):Rn(a[1])?l=2:null!=Un(a[1])?(l=1,f=Fn(a[1]),d=Un(a[1])):l=2,l){case 0:if(u instanceof Gm){e=r,t=qn([Vm(u),Hm(Fm(u),void 0,zm(u),0)],c),n=o;continue e}e=r,t=qn([void 0,Um(Fm(u))],c),n=o;continue e;case 1:if(d instanceof Gm){e=r,t=i,n=qn([Vm(d),Hm(Fm(d),void 0,zm(d),0)],f);continue e}e=r,t=i,n=qn([void 0,Um(Fm(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,jn(t),jn(n))}function ap(e,t,n){let r=n;ep((e=>{t[r]=e,r=r+1|0}),e)}function lp(e,t){if(Re(t))return function(e,t){return Lt(((t,n)=>Xm(e,n,t)),void 0,t)}(e,t);if(t instanceof An)return function(e,t){return Vn(((t,n)=>Xm(e,n,t)),void 0,t)}(e,t);{const n=Ve(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;e=r,t=Xm(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),n=o}}(e,void 0,n)}finally{Fe(n)}}}class cp{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=Ve(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|tt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{Fe(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof cp&&0===sp(up(this),fp(this),fp(e))}toString(){return"set ["+vn("; ",kr((e=>gt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|sp(up(this),fp(this),fp(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Qm(up(this),e,fp(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){ap(fp(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|dp(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|dp(this)}GetEnumerator(){return op(fp(this))}[Symbol.iterator](){return ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return op(fp(this))}get size(){return 0|dp(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return function(e,t){return Qm(up(e),t,fp(e))}(this,e)}keys(){return kr((e=>e),this)}values(){return kr((e=>e),this)}entries(){return kr((e=>[e,e]),this)}forEach(e,t){const n=this;xr((t=>{e(t,t,n)}),n)}}function up(e){return e.comparer}function fp(e){return e.tree}function dp(e){return Jm(fp(e))}function hp(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?"\n":" ")+JSON.stringify(t,null,4)}catch(t){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function mp(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new $o(1,function(e,t){const n=2===t.tag?hp(t.fields[0],t.fields[1],!0):1===t.tag?hp(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?hp(t.fields[0],t.fields[1],!0):4===t.tag?hp(t.fields[0],t.fields[1],!0)+"\nNode `"+t.fields[2]+"` is unkown.":5===t.tag?"Expecting "+t.fields[0]+".\n"+JSON.stringify(t.fields[1],null,4):7===t.tag?"The following errors were found:\n\n"+vn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:hp(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new $o(0,r.fields[0])}function pp(e,t){try{return mp("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new $o(1,"Given an invalid JSON: "+e.message);throw e}}function $p(e,t){return"string"==typeof t?new $o(0,t):new $o(1,[e,new gm(0,"a string",t)])}const gp=e=>t=>{const n="a sbyte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new $o(0,(e+128&255)-128):new $o(1,[r,new gm(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new gm(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Bm(i,511,!1,8,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new gm(0,n,i)])}return new $o(1,[r,new gm(0,n,i)])},wp=e=>t=>{const n="a byte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new $o(0,255&e):new $o(1,[r,new gm(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new gm(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Bm(i,511,!0,8,new vt((()=>t),(e=>{t=e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new gm(0,n,i)])}return new $o(1,[r,new gm(0,n,i)])},yp=e=>t=>{const n="an int16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new $o(0,(e+32768&65535)-32768):new $o(1,[r,new gm(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new gm(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Bm(i,511,!1,16,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new gm(0,n,i)])}return new $o(1,[r,new gm(0,n,i)])},vp=e=>t=>{const n="an uint16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new $o(0,65535&e):new $o(1,[r,new gm(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new gm(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Bm(i,511,!0,16,new vt((()=>t),(e=>{t=e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new gm(0,n,i)])}return new $o(1,[r,new gm(0,n,i)])},bp=e=>t=>{const n="an int",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new $o(0,~~e):new $o(1,[r,new gm(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new gm(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Bm(i,511,!1,32,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new gm(0,n,i)])}return new $o(1,[r,new gm(0,n,i)])},Cp=e=>t=>{const n="an uint32",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new $o(0,e>>>0):new $o(1,[r,new gm(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new gm(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Bm(i,511,!0,32,new vt((()=>t),(e=>{t=e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new gm(0,n,i)])}return new $o(1,[r,new gm(0,n,i)])};function _p(e,t,n,r){let i;const o=n+".["+Ze(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(o,n[e]):new $o(1,[o,new gm(5,"a longer array. Need index `"+Ze(e)+"` but there are only `"+(i=n.length,Ze(i)+"` entries"),r)])}return new $o(1,[o,new gm(0,"an array",r)])}function xp(e,t,n){if(Array.isArray(n)){let r=-1;return go(zn,Lt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Ze(r)+"]",i);return 0===o.tag?new $o(0,Bn(o.fields[0],n.fields[0])):new $o(1,o.fields[0])}return n}),new $o(0,Ln()),n))}return new $o(1,[t,new gm(0,"a list",n)])}function kp(e,t,n){if(Array.isArray(n)){let r=-1;const i=n;return Lt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=n.fields[0],s=e(t+".["+Ze(r)+"]",i);return 0===s.tag?(o[r]=s.fields[0],new $o(0,o)):new $o(1,s.fields[0])}return n}),new $o(0,Dt(new Array(i.length),0,i.length,null)),i)}return new $o(1,[t,new gm(0,"an array",n)])}function Sp(e,t,n,r){const i=t(n,r);return 0===i.tag?e(i.fields[0],n,r):new $o(1,i.fields[0])}function Ip(e,t){let n;const r=e;return n=e=>t=>_p(0,r,e,t),e=>r=>Sp(ht(3,(e=>{let n;const r=t;return n=e=>t=>_p(1,r,e,t),t=>r=>Sp(((t,n,r)=>new $o(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function Ap(e){return fh(e)}function Ep(e){return function(e,t){return new cp(e,t)}(t={Compare:ct},lp(t,e));var t}function Np(e,t,n,r){let i;const o=t.length+e|0;if(o!==r.length)return new $o(1,[n,new gm(6,(i=0|r.length,hn(un("Expected array of length %i but got %i"))(o)(i)))]);{let i=new $o(0,Ln());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const s=i.fields[0],a=hn(un("%s[%i]"))(n)(o),l=t[o-e],c=r[o];i=go((e=>Bn(e,s)),l(a)(c))}return go(zn,i)}}function Op(e,t,n,r,i,o){const s=function(e,t){return t.find((e=>$f(e)===r))}(0,Sf(n));if(null!=s){const n=s,r=Mt((n=>Tp(e,t,!1,n[1])),Pf(n));return go((e=>function(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}(n,Hn(e))),0===r.length&&o.length<=1?new $o(0,Ln()):Np(1,r,i,o))}return new $o(1,[i,new gm(6,"Cannot find case "+r+" in "+gf(n))])}function Pp(e,t,n,r){const i=new vt(null);let o;const s=gf(r);let a;if(o=""===s?e:ph(s,i,e),Nf(r)){const e=Mt((e=>[Cm(t,$f(e)),Tp(o,t,!1,e[1])]),If(r));a=t=>n=>go((e=>function(e,t){const n=If(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce(((e,[n,r],i)=>(e[n]=t[i],e)),{})}(r,Hn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new $o(1,[t,new gm(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ht(2,(e=>{const r=e[0];return i=>0===i.tag?go((e=>Bn(e,i.fields[0])),e[1](t+"."+r)(n[r])):i})),e,new $o(0,Ln()))}(e,t,n))}else if(Ef(r))a=e=>n=>{if("string"==typeof n)return Op(o,t,r,n,e,[]);if(Array.isArray(n)){const i=n;return wo((n=>Op(o,t,r,n,e,i)),$p(e+"[0]",i[0]))}return new $o(1,[e,new gm(0,"a string or array",n)])};else{if(!n){let e;const t=gf(r);throw e=hn(un("Cannot generate auto decoder for %s. Please pass an extra decoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(t),new Error(e)}a=e=>t=>new $o(1,[e,new gm(2,"an extra coder for "+gf(r),t)])}return i.contents=a,a}function Tp(e,t,n,r){let i,o,s,a;const l=gf(r),c=$h(l,e);if(null==c){if(wf(r)){const n=Tp(e,t,!1,yf(r));return e=>t=>kp(ht(2,n),e,t)}if(bf(r)){const e=gf(_f(r));if("System.SByte"===e)return e=>t=>{const n=r,i=e,o=t,s=gp(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return Cr(e,xf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,kf(n,e.toString())):new $o(1,[i,new gm(1,gf(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,i=e,o=t,s=wp(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return Cr(e,xf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,kf(n,e.toString())):new $o(1,[i,new gm(1,gf(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,i=e,o=t,s=yp(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return Cr(e,xf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,kf(n,e.toString(a))):new $o(1,[i,new gm(1,gf(n),o,"Unkown value provided for the enum")])}var a};if("System.UInt16"===e)return e=>t=>{const n=r,i=e,o=t,s=vp(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return Cr(e,xf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,kf(n,e.toString())):new $o(1,[i,new gm(1,gf(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,i=e,o=t,s=bp(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return Cr(e,xf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,kf(n,Ze(e))):new $o(1,[i,new gm(1,gf(n),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,i=e,o=t,s=Cp(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return Cr(e,xf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,kf(n,e.toString())):new $o(1,[i,new gm(1,gf(n),o,"Unkown value provided for the enum")])}};{const e=gf(r),t=mn(un("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>t(e)}}if(vf(r)){if(Of(r)){const n=Mt((n=>Tp(e,t,!1,n)),Af(r));return e=>t=>Array.isArray(t)?go((e=>Hn(e)),Np(0,n,e,t)):new $o(1,[e,new gm(0,"an array",t)])}{const l=gf(Cf(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===l)return i=Tp(e,t,!0,ef(r)[0]),e=>t=>{return n=ht(2,i),r=e,null==(o=t)?new $o(0,void 0):go(xt,n(r,o));var n,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===l)return o=Tp(e,t,!1,ef(r)[0]),e=>t=>xp(ht(2,o),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===l)return s=Tp(e,t,!1,ef(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return go(Sr,Lt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Ze(r)+"]",i);return 0===o.tag?new $o(0,br([o.fields[0]],n.fields[0])):new $o(1,o.fields[0])}return n}),new $o(0,[]),n))}return new $o(1,[t,new gm(0,"a seq",n)])}(ht(2,s),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===l){const n=Tp(e,t,!1,ef(r)[0]),i=Tp(e,t,!1,ef(r)[1]);let o;const s=Jn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new $o(1,[n,new gm(0,"an object",r)]):_r(((i,o)=>{if(0===i.tag){const s=e(n,o);if(0===s.tag){const e=t(n+"."+o,r[o]);return 0===e.tag?new $o(0,Bn([s.fields[0],e.fields[0]],i.fields[0])):new $o(1,e.fields[0])}return new $o(1,s.fields[0])}return i}),new $o(0,Ln()),Object.keys(r))}(ht(2,n),ht(2,i),e,t),(a=Ip(ht(2,n),ht(2,i)),e=>t=>xp(ht(2,a),e,t))]);return o=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const i=e,o=t;if(Rn(i))return new $o(1,[n,new gm(7,o)]);{const s=mp(n,ht(2,Un(i)),r);if(1===s.tag){e=Fn(i),t=Kn(o,jn(s.fields[0]));continue e}return new $o(0,s.fields[0])}}})(s,Ln());var n,r},e=>t=>function(e,t,n,r){const i=t(n,r);return 1===i.tag?new $o(1,i.fields[0]):new $o(0,e(i.fields[0]))}(Ap,ht(2,o),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===l){const n=Tp(e,t,!1,ef(r)[0]);return e=>t=>{const r=kp(ht(2,n),e,t);return 0===r.tag?new $o(0,Ep(r.fields[0])):new $o(1,r.fields[0])}}return Pp(e,t,n,r)}}return"System.Boolean"===l?e=>t=>{return n=e,"boolean"==typeof(r=t)?new $o(0,r):new $o(1,[n,new gm(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===l?e=>t=>{return n=e,null==(r=t)?new $o(0,void 0):new $o(1,[n,new gm(0,"null",r)]);var n,r}:"System.String"===l?e=>t=>$p(e,t):"System.Char"===l?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new $o(0,n[0]):new $o(1,[e,new gm(0,"a single character string",t)])}return new $o(1,[e,new gm(0,"a char",t)])}(e,t):"System.SByte"===l?gp:"System.Byte"===l?wp:"System.Int16"===l?yp:"System.UInt16"===l?vp:"System.Int32"===l?bp:"System.UInt32"===l?Cp:"System.Double"===l?e=>t=>{return n=e,"number"==typeof(r=t)?new $o(0,r):new $o(1,[n,new gm(0,"a float",r)]);var n,r}:"System.Single"===l?e=>t=>{return n=e,"number"==typeof(r=t)?new $o(0,r):new $o(1,[n,new gm(0,"a float32",r)]);var n,r}:"System.DateTime"===l?e=>t=>function(e,t){if("string"==typeof t){let r,i=Gt(-621355968e5,0);return r=[Vt(t,new vt((()=>i),(e=>{i=e}))),i],r[0]?new $o(0,1===(n=r[1]).kind?n:Gt(n.getTime(),1)):new $o(1,[e,new gm(0,"a datetime",t)])}var n;return new $o(1,[e,new gm(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===l?e=>t=>function(e,t){if("string"==typeof t){let n,r=jm(-621355968e5,0);return n=[Rm(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new $o(0,n[1]):new $o(1,[e,new gm(0,"a datetimeoffset",t)])}return new $o(1,[e,new gm(0,"a datetime",t)])}(e,t):"System.TimeSpan"===l?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[$m(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new $o(0,n[1]):new $o(1,[e,new gm(0,"a timespan",t)])}return new $o(1,[e,new gm(0,"a timespan",t)])}(e,t):"System.Guid"===l?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[io(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new $o(0,n[1]):new $o(1,[e,new gm(0,"a guid",t)])}return new $o(1,[e,new gm(0,"a guid",t)])}(e,t):"System.Object"===l?e=>e=>new $o(0,e):Pp(e,t,n,r)}{const e=c;return t=>n=>e.contents(t)(n)}}function Dp(e,t,n){const r=At(t,new wm(0));return Tp(function(e){return null!=e?gh(((e,t)=>new vt(t[1])),e.Coders):wh()}(n),r,!1,e)}class Mp{constructor(e){this.magicLink=e,this.backendUrl=`${Sd}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function Lp(e,t){return Js.Delay((()=>{let e;const n=Sh(t);return e=Js.Bind(n,(e=>Js.Return(new $o(0,e)))),Js.Bind(e,(e=>{const n=e;if(1===n.tag)return Js.Return(new $o(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){let e;const n=ea(2e3);return e=Js.Bind(n,(()=>Js.Return(new $o(0,x$0027_1)))),Js.Bind(e,(e=>{const n=e;if(1===n.tag)return Js.Return(new $o(1,n.fields[0]));{const e=Sh(t);return Js.Bind(e,(e=>Js.Return(new $o(0,e))))}}))}return Js.Return(new $o(0,e))}}))}))}class Bp extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function jp(e){return new Bp(0,e)}class Rp extends yt{constructor(e,t,n,r,i,o){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=i,this.token_type=o}}function Wp(){return of("Workflows.UI.Auth.Types.Credentials",[],Rp,(()=>[["id_token",df],["access_token",df],["expires_in",pf],["refresh_token",cf(df)],["scope",df],["token_type",df]]))}class Up extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn","SignInWithCurrentAuth","NavigateToOnboarding"]}}function Fp(){return[new fd(Ln(),new cd(0),void 0,new jf(0,new Wf(void 0))),Du(new dd(1,new sd(0)))]}function Gp(e,t,n,r,i){let o,s,a,l;const c=function(e){return new Mp(e)}(e);if(1===r.tag){if(1===r.fields[0].tag){if(1===r.fields[0].fields[0].tag)return[i,Du(new dd(0,new cd(6,new ld(5))))];{let e;const t=r.fields[0].fields[0].fields[0].Outcome;switch(t.tag){case 1:{const n=t.fields[0],r=[n.IsInitialMagicLinkUsed,n.OneTimeCodeOptionAvailable];e=r[0]?r[1]?new dd(0,new cd(1,n.FirstName,new ud(1))):new dd(0,new cd(1,n.FirstName,new ud(0))):r[1]?new dd(3,!1,new sd(0)):new dd(0,new cd(4));break}case 4:e=new dd(0,new cd(5));break;case 2:case 7:e=new dd(0,new cd(6,new ld(2)));break;case 3:e=new dd(0,new cd(6,new ld(4)));break;case 5:e=new dd(0,new cd(6,new ld(3)));break;case 6:e=new dd(0,new cd(6,new ld(1)));break;default:{const r=t.fields[0];r.IsInitialMagicLinkUsed?(n(jp(r.AuthCode)),e=new dd(0,new cd(1,r.FirstName,new ud(2)))):e=new dd(6,r.AuthCode)}}return[new fd(r.fields[0].fields[0].fields[0].CssOverrides,i.Page,Hf(r.fields[0].fields[0].fields[0].Outcome),At(Vf(r.fields[0].fields[0].fields[0].Outcome),i.JourneyType)),Du(e)]}}return[i,Mu((e=>{Bu(e)}),(()=>function(e){return Js.Delay((()=>{let t,n;const r=Lp(0,(t=_h(new Pd(1),Ch(`${e.backendUrl}/magic-link/validate`)),kh(new Dd(1,(n=new Ff(e.magicLink.MagicCode),Nm(0,Tm(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],Ff,(()=>[["MagicCode",df]])),new wm(1),void 0,void 0)(n)))),t)));return Js.Bind(r,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?pp(ht(2,Dp(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],zf,(()=>[["CssOverrides",uf(df)],["Outcome",af("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],Gf,(()=>[[["Item",sf(["AuthCode",df],["Branding",cf(Lf())],["FirstName",df],["IsInitialMagicLinkUsed",hf],["JourneyType",Rf()])]],[["Item",sf(["Branding",cf(Lf())],["FirstName",df],["IsInitialMagicLinkUsed",hf],["JourneyType",Rf()],["OneTimeCodeOptionAvailable",hf])]],[["Item",sf(["Branding",cf(Lf())],["JourneyType",Rf()])]],[["Item",sf(["Branding",cf(Lf())],["JourneyType",Rf()])]],[["Item",sf(["Branding",cf(Lf())],["JourneyType",Rf()])]],[["Item",sf(["Branding",cf(Lf())],["JourneyType",Rf()])]],[["Item",sf(["Branding",cf(Lf())],["JourneyType",Rf()])]],[]]))]])),new wm(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Js.Return(e)}}))}))}(c)),void 0,(e=>new dd(1,new sd(1,e))),(e=>new dd(1,new sd(1,new $o(1,e.message)))))]}return 2===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,Du(new dd(0,new cd(6,new ld(5))))]:[i,Du(new dd(0,(o=r.fields[1].fields[0].fields[0].Outcome,2===o.tag?new cd(2,o.fields[0].MaskedEmail):1===o.tag||5===o.tag?new cd(6,new ld(2)):3===o.tag?new cd(6,new ld(4)):4===o.tag?new cd(6,new ld(1)):6===o.tag?new cd(5):7===o.tag?new cd(6,new ld(3)):new cd(2,o.fields[0].MaskedEmail))))]:[i,Mu((e=>{Bu(e)}),(e=>function(e,t){return Js.Delay((()=>{let n,r;const i=Lp(0,(n=_h(new Pd(1),Ch(`${e.backendUrl}/magic-link/reissue`)),kh(new Dd(1,(r=new Yf(e.magicLink.MagicCode,t),Nm(0,Tm(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],Yf,(()=>[["MagicCode",df],["IsChange",hf]])),new wm(1),void 0,void 0)(r)))),n)));return Js.Bind(i,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?pp(ht(2,Dp(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],Jf,(()=>[["Outcome",af("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],qf,(()=>[[["Item",sf(["MaskedEmail",df])]],[],[["Item",sf(["MaskedEmail",df])]],[],[],[],[],[]]))]])),new wm(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Js.Return(e)}}))}))}(c,e)),r.fields[0],(e=>new dd(2,r.fields[0],new sd(1,e))),(e=>new dd(2,r.fields[0],new sd(1,new $o(1,e.message)))))]:3===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,Du(new dd(0,new cd(6,new ld(5))))]:[i,Du(new dd(0,(s=r.fields[1].fields[0].fields[0].Outcome,1===s.tag?new cd(4):2===s.tag?new cd(6,new ld(0)):3===s.tag?r.fields[0]?i.Page:new cd(3,s.fields[0].MaskedPhone):4===s.tag||7===s.tag?new cd(6,new ld(2)):5===s.tag?new cd(6,new ld(4)):6===s.tag?new cd(6,new ld(1)):8===s.tag?new cd(5):9===s.tag?new cd(6,new ld(3)):r.fields[0]?i.Page:new cd(3,s.fields[0].MaskedPhone))))]:[i,Mu((e=>{Bu(e)}),(e=>function(e,t){return Js.Delay((()=>{let n,r;const i=Lp(0,(n=_h(new Pd(1),Ch(`${e.backendUrl}/one-time-code/issue`)),kh(new Dd(1,(r=new Zf(e.magicLink.MagicCode,t),Nm(0,Tm(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],Zf,(()=>[["MagicCode",df],["IsResend",hf]])),new wm(1),void 0,void 0)(r)))),n)));return Js.Bind(i,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?pp(ht(2,Dp(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],Xf,(()=>[["Outcome",af("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],Kf,(()=>[[["Item",sf(["MaskedPhone",df])]],[],[],[["Item",sf(["MaskedPhone",df])]],[],[],[],[],[],[]]))]])),new wm(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Js.Return(e)}}))}))}(c,e)),r.fields[0],(e=>new dd(3,r.fields[0],new sd(1,e))),(e=>new dd(3,r.fields[0],new sd(1,new $o(1,e.message)))))]:4===r.tag?1===r.fields[2].tag?1===r.fields[2].fields[0].tag?[i,Du(new dd(0,new cd(6,new ld(5))))]:[i,(a=r.fields[2].fields[0].fields[0].Outcome,1===a.tag?a.fields[0].RemainingAttempts>0?(r.fields[1]({AttemptsRemaining:a.fields[0].RemainingAttempts}),Nu()):Du(new dd(0,new cd(6,new ld(0)))):5===a.tag?Du(new dd(0,new cd(6,new ld(0)))):2===a.tag||3===a.tag||4===a.tag?(r.fields[1]({AttemptsRemaining:void 0}),Nu()):6===a.tag?Du(new dd(0,new cd(6,new ld(4)))):7===a.tag?Du(new dd(0,new cd(6,new ld(1)))):8===a.tag?Du(new dd(0,new cd(6,new ld(2)))):9===a.tag?Du(new dd(0,new cd(5))):10===a.tag?Du(new dd(0,new cd(6,new ld(0)))):Du(new dd(6,a.fields[0].AuthCode)))]:[i,Mu((e=>{Bu(e)}),(e=>function(e,t){return Js.Delay((()=>{let n,r;const i=Lp(0,(n=_h(new Pd(1),Ch(`${e.backendUrl}/one-time-code/validate`)),kh(new Dd(1,(r=new Qf(t),Nm(0,Tm(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],Qf,(()=>[["OneTimeCode",mf]])),new wm(1),void 0,void 0)(r)))),n)));return Js.Bind(i,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?pp(ht(2,Dp(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],td,(()=>[["Outcome",af("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],ed,(()=>[[["Item",sf(["AuthCode",df])]],[["Item",sf(["RemainingAttempts",mf])]],[],[],[],[],[],[],[],[],[]]))]])),new wm(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Js.Return(e)}}))}))}(c,e)),r.fields[0],(e=>new dd(4,r.fields[0],r.fields[1],new sd(1,e))),(e=>new dd(4,r.fields[0],r.fields[1],new sd(1,new $o(1,e.message)))))]:5===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,Du(new dd(0,new cd(6,new ld(5))))]:[i,Du((l=r.fields[1].fields[0].fields[0].Outcome,1===l.tag||4===l.tag?new dd(0,new cd(6,new ld(2))):2===l.tag?new dd(0,new cd(6,new ld(4))):3===l.tag?new dd(0,new cd(6,new ld(1))):5===l.tag?new dd(0,new cd(5)):6===l.tag?new dd(0,new cd(6,new ld(0))):1===r.fields[0].tag?new dd(3,!1,new sd(0)):2===r.fields[0].tag?new dd(6,void 0):new dd(2,!1,new sd(0))))]:[i,Mu((e=>{Bu(e)}),(e=>function(e,t){return Js.Delay((()=>{let n,r;const i=Lp(0,(n=_h(new Pd(1),Ch(`${e.backendUrl}/progress`)),kh(new Dd(1,(r=new nd(e.magicLink.MagicCode,t),Nm(0,Tm(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],nd,(()=>[["MagicCode",df],["IsPassThrough",hf]])),new wm(1),void 0,void 0)(r)))),n)));return Js.Bind(i,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?pp(ht(2,Dp(of("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],id,(()=>[["Outcome",af("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],rd,(()=>[[],[],[],[],[],[],[]]))]])),new wm(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Js.Return(e)}}))}))}(c,e)),1!==r.fields[0].tag&&2===r.fields[0].tag,(e=>new dd(5,r.fields[0],new sd(1,e))),(e=>new dd(5,r.fields[0],new sd(1,new $o(1,e.message)))))]:6===r.tag?(t(Nt(jp,r.fields[0])),[i,Nu()]):[new fd(i.CssOverrides,r.fields[0],i.Branding,i.JourneyType),Nu()]}const Hp=function(){const e=[..."#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$I%$)L$$%%$$P$$$%$%$$+>''%.)&%$%%.$$$%C$-8-'%$$$*$$)%%$'%-&%$1$$$$A>%|.$1-D,%$&$%$%9'$,$&$(%2$<&%$$.X8$5.2$C$Y$$$$&+'$%$*-%%-$$2$%$+%%%9$*$$&'%$$&'%%%%$$+$'%$&%%-%%)$$$$$%%$$)'%%9$*$%$%$%%$$&%'%%&&$*'$$*-%&$$-%$$,$&$9$*$%$(%$$&($%$$%$%$2%%%-$$*$)$$%$+%%%9$*$%$(%$$$$$'%%%%$*%$'%$&%%-$$)-$$$)&&$'&%$$$%&%&&&/'%$%&&$&$%$)$1-&)$$($&$+$&$:$3&$&'$&$'*%$&(%%%-*$*$$$%$+$&$:$-$(%$$$$($$%$%%*%*$$%%%-$%0%%,$&$L%$&'$&$&$$$'&$*&%%-,$)$$%$5&;$,$$%*&$'&&$$$+)-%%$/S$%*'$)$+$-%H%$$$($;$$$-$%,$%($$$)%-%'C$&2$$&%)--$$$$$$$$$$%+$G'1$($%(.$G$+$)$%('%HN%'$)$%%%$-))%%'&$&%*&'0$%%)$$$-&$%I$$($%N$$&Ŭ$'%*$$$'%L$'%D$'%*$$$'%2$\\$'%f%&,7&3-)y%)%$ʏ$$4$=$$&n&&+*0$'&.5&%,5%/0$&$%/W%$*+$%.&$&$$$%-)-))$'&$$-)F$X*(%E$$(i-B$&'%&'%$)&'$&%-A%(.O'=)-$&E:%%$%%X$$$*$$$$%+)-%$-)-)*$)%1$%b'$R$$($$($%*'-*-,,&%$A$'%%$&%-O$$%&$$&%+'G++%%&(-&&-A)%,*N%&++&$0$*'$)$%$%$(Ob0$EH]$($$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,+)%)%++++)%)%+$$$$$$$$++1%++++++($%'$$$&&$%'$&'%%'$&+(&%&$%'$%$.()%$$$%$$$+$$($,$$'%&$$$.$$$-$($-$$%)&$$$-&$$$0&C30'$&/2%$'$%$&%&$$$%$()$$$$$$'$$'$'$%%%($'$$%$$3F$$'$%'((%'$%$%$*$B%%$$$Bį+$$$$7%*$$t$A<K)h<.8_q9Ú$,$Y+$ě$$$$$$$$$$$$$$AO($$B$$$$$$$$$$3ģ¦$$$$$$$$$$$$$$$$$$$$$$b$$$$C$$ĥS8%)J%C$R$R$$$&%$$$$$$'$$%$)%&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%)$$$$&$$('$%I$$($%[*$$1$:,*$*$*$*$*$*$*$*$C%$$$$&$$$$$,$%$$$$%$$$$$$$$$$($-%'$$$0%$P=$|/ù=/'$&$$$$$$$$$$$$$$%$$$$$$$$$$%$,'%$(%&$$$%$y%%%%$$}$&$(N$$%'-CG/3B$-A+$2C-J2ţ᧣c删&8$Қ&Z,K)%į$&3-%7$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$&$-$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%i-%)+:,%$$$$$$$$$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+$$$$%$$$$$$$$$$%$$$$$$$$&$$$$$$$$$$$$$$$$$$$$($($$$$$$$$$$$%$$'$$$M$$$%$*$&$'$:%%$'$&)%$$)W'+%U3%+%-)5)&$$%$-?+%:.%.$@&&$R$%'%%&0$$-'%($$,-($L)%%%%,&$+$$%-%'3$)&$$$$U$$&%%(%$$$;%$%.$%%%$%$$-)%)%),*$*$N$',$%'sF%$%$%$$$%-)⯇/:'T'ࠣᤣƑ%I*/(($$-$0$($$$%$%$34Ǝ$$3c%YK/$$%3*$$$)3$%%$$$$$$$$$$$$$$$$%$$'&&$'$$$$$$$&$$&$$$%'($ª%$$&$&$$$$$$%-%&%=$$$$$$=$$$$$$$$$%-$P%B&)%)%)%&&%$$$%$$'%-&%%/$=$6$%$2%1E(&'P&,X'4%&$0&$RP$¥@&T2$>'C',7$+$(I((A$$G'+$(MKKq%-)G'G'K+W.$³Ś,9-+»)%$$O$%&$%:$$+:%*B+,S6$%((9)&$=($c['%%3%Q$&$%(''$&$@%&'$,*,*@%$@&C+$?%'(*,Y&*9%+6(+5*'/*slZV0V*)G'+-ʼnB$M$%$%%q@-$+9.'(y8*7:,$$$X2*'7-2&$P&'%%%$'.$%<*-)&G($+$-'$%$+F$%$,%$S&,%'''$$$-$$$&$7.5$<&&%$$%)$d*$$$'$2$-$)R$&+(-)%%$+%%%9$*$%$($%$%$'%%%&%$)$((%%*&(®X&+%&$$'(-%$$$&AS&)$$'%$%%$$+-ÉR&'%'%$%:'%ES&+%$$%&$.-)06N$$$%)$$$*-Y>%&%'$('-%&$ãO&,$%$CC-,/+%$%+$%$;)$%%%$$$$$$$&,-i+%J&'%%'$$$$$>$-K)$$'+$+$)%&Q0$%&$(@\\Ī,$H$*$)$$$(--6&%A%9$$*$%$%l*$%$I)&$$%$*$$+-))$%$C($%$%$$$$*-ř6%%%Ú$28+'40$ν$(.çђ$,ɪ⇜ɜ*B$-'%A%($-S*(''$$--$*$8(6˓CC:'n'$$Z*'0c%$$$.%1+ӹM,⌚łT&4'+Ưध(0&,*-%$%$'ę-J%_%&&)++%*A'^:e&$½7/z,<ª===*$5==$$%%$%%%'$+'$$$*$.==%$'%+$*$=%$'$($$&*$============?%<$<$)<$<$)<$<$)<$<$)<$<$)$$%UȣZ'U+$1$%(2($2ճ*$4%*$%$(øP&**%-'$$ƓO'-($ԣè%,*LEE*$'-'%̴^$&$'oP$2å'$>$%$$%$$-$'$$$$)$'$$$$$$&$%$$%$$$$$$$$$$%$$%'$*$'$'$$$-$4(&$($4W%ıO'/2%2$2$H-0Ä[@0O',*%1)½Ğ(˻+0&0&/|*/7/'[+-)K+A%%q$u$ª/1%(&&(*,<**,&0*L¶$ZH-Щ꜁Eၘ.ā%ᚥ1ᵔూɁ፮$A£ē︳𐀡%𐀡"].map((e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35})),t=[..."1.;=;78;<;6;+;<;#7;8>5>$7<8<1.;=?;>?'9<2?>?<->$;>-':-;#<#$<$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'#$'#%$#%$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'$&>&>&>&>&>(#$#$&>#$@&$;#@>#;#@#@#$#@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$<#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?(*#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@&;$;6@?=@(6(;(;(;(@'@';@2<;=;?(;2@;'&'(+;'(';'(2?(&(?('+'?';@2'('(@'('@+'(&?;&@(='(&(&(&(@;@'(@;@'@'@'@(2()'()(')()()'('(;+;&'()@'@'@'@'@'@'@(')(@)@)('@)@'@'(@+'=-?=';(@()@'@'@'@'@'@'@'@(@)(@(@(@(@'@'@+('(;@()@'@'@'@'@'@'@(')(@()@)(@'@'(@+;=@'(@()@'@'@'@'@'@'@(')()(@)@)(@()@'@'(@+?'-@('@'@'@'@'@'@'@'@'@'@)()@)@)(@'@)@+-?=?@()('@'@'@'@'()@(@(@(@'@'(@+@;-?'();'@'@'@'@'@(')()@()@)(@)@'@'(@+@'@()'@'@'(')(@)@)('?@')-'(@+-?'@()@'@'@'@'@'@(@)(@(@)@+@);@'('(@='&(;+;@'@'@'@'@'@'('('@'@&@(@+@'@'?;?;?(?+-?(?(?(7878)'@'@()(;('(@(@?(?@?;?;@')()()()('+;')('(')')'('()()(')+)(?#@#@#@$;&$'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@(;-@'?@#@$@6'?;'.'78@';,'@'@'(@'(;@'(@'@'@(@'()()()(;&;='(@+@-@;6;(2@+@'&'@'('('@'@'@()()@)()(@?@;+'@'@'@'@+-@?'()(@;')()(@()()()(@(+@+@;&;@(*(@()'()()()()'@+;?(?@()')()()('+'()()()()@;')()(@;+@'+'&;$@#@#;@(;()('('(')('@$&$&$&(@(#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657878787878787878;78;5;@;6787878;<6<@;=;@'@'@2@;=;78;<;6;+;<;#7;8>5>$7<8<78;78;'&'&'@'@'@'@'@=<>?=@?<?@2?@'@'@'@'@'@'@'@;@-@?,-?-?@?@?@?(@'@'@(-@'-@',',@'(@'@;'@';,@#$'@+@#@$@'@'@;@'@'@'@'@'@'@'@'@'@;-'?-'@-@'@'@-'-@;'@;@'@-'-@-'(@(@('@'@'@(@(-@;@'-;'-@'?'(@-;@'@;'@-'@-'@;@-@'@#@$@-'(@+@-@'@(6@'@'-'@'(-;@'-@'@)()'(;@-+@()')()(;2;@2@'@+@('()(@+;')'@'(;'@()')()';(;)(+';';@-@'@')()()(;(@'@'@'@'@';@'()(@+@()@'@'@'@'@'@'@(')()@)@)@'@)@')@(@(@')()()(';+;@;('@')()()()(';'@+@')(@)()(;'(@')()()(;'@+@;@'()()()('@+@'@()()(@+-;?@')()(;@#$+-@'@'@'@'@')@)@()(')')(;@+@'@')(@()(';')@'('()'(;(@'()('()(;';@'@'@')(@()(';@+-@;'@(@)()()(@'@'@'(@(@(@('(@+@'@'@')@(@)()('@+@'();@'@-?=?@;'@,@;@'@'@2@'@'@'@+@;@'@(;@'(;?&;?@+@-@'@'@#$-;@'@(')@(&@&;&(@)@'@'@'@'@'@'@'@'@'@'@'@?(;2@?@?@?)(?)2(?(?(?@?(?@-@?@-@#$#$@$#$#@#@#@#@#@#$@$@$@$#$#@#@#@#@$#@#@#@#@#@$#$#$#$#$#$#$@#<$<$#<$<$#<$<$#<$<$#<$<$#$@+?(?(?(?(?;@(@(@(@(@(@(@(@'@(&@+@'?@'(+@=@'@-(@#$(&@+@;@-?-=-@-?-@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@<@?@?@?@?@?@?@-?@?@?@?@?@?@?>?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@+@'@'@'@'@'@'@'@2@2@(@4@4@"].map((e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35})),n=new Uint32Array(e),r=new Uint8Array(t);for(let e=1;e<n.length;++e)n[e]+=n[e-1];return e=>{let t=n.length,i=0;for(;t-i>1;){const r=Math.floor((t+i)/2),o=n[r];if(e<o)t=r;else{if(e===o){t=i=r;break}o<e&&(i=r)}}return r[i]}}();const Vp=e=>function(e,t){const n=1<<function(e,t){const n=function(e,t){if(t>=0&&t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}(e,t);return Hp(n)}(e,0);return 0!=(256&n)}(e);class zp extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue","SetReissueLinkInProgress"]}}class Yp extends yt{constructor(e,t,n,r,i,o){super(),this.AttemptsRemaining=e,this.CodeInvalid=t,this.CodeInputValue=n,this.ResendTimer=r,this.SignInInProgress=i,this.ReissueLinkInProgress=o}}function qp(){return[new Yp(void 0,!1,"",void 0,!1,!1),Nu()]}function Jp(e){"one-time-code-input"===e.target.id||"Enter"!==e.key&&document.getElementById("one-time-code-input").focus()}const Zp={Dispose(){document.removeEventListener("keypress",(e=>{Jp(e)})),document.removeEventListener("paste",(e=>{Jp(e)}))}};function Kp(e){const t=e.reissueLink,n=e.reissueOneTimeCode,r=e.validateOneTimeCode,i=e.maskedPhone,o=Ku(qp,((e,t)=>function(e,t,n){let r;switch(t.tag){case 1:{const r=xn(Vp,n.CodeInputValue);return 6===r.length?(e([Lm(r,511,!1,32),t.fields[0]]),[new Yp(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,!0,n.ReissueLinkInProgress),Nu()]):[n,Du(new zp(3,!0))]}case 2:return[new Yp(t.fields[0],n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),Du(new zp(3,!0))];case 3:{const e=t.fields[0];return[new Yp(n.AttemptsRemaining,e,e?"":n.CodeInputValue,n.ResendTimer,!1,n.ReissueLinkInProgress),Nu()]}case 4:return[new Yp(n.AttemptsRemaining,n.CodeInvalid,t.fields[0],n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),Nu()];case 5:return[new Yp(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,!0),Nu()];default:{const e=Lu((e=>{Bu(e)}),(()=>Js.Delay((()=>Js.Bind(ea(1e3),(()=>Js.Return()))))),void 0,(()=>new zp(0)));let t;const i=n.ResendTimer;return t=null!=i?i>0?(r=0|i,[r-1,e]):[void 0,Nu()]:[20,e],[new Yp(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,t[0],n.SignInInProgress,n.ReissueLinkInProgress),t[1]]}}}(r,e,t))),s=o[0],a=o[1];Wi((()=>(document.addEventListener("keypress",(e=>{Jp(e)})),document.addEventListener("paste",(e=>{Jp(e)})),Zp)),new Array(0));const l=()=>{a(new zp(1,(e=>{a(new zp(2,e.AttemptsRemaining))})))},c=yr(mr((()=>br(gr(function(e){const t=Or(pi([]),1);return d(Gr,t)}()),mr((()=>br(gr(Ni("Enter your security code")),mr((()=>{let e,r;return br(gr(d("div",ft(Jn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(e=[(r=Jn([d("span",{children:["We’ve sent a security code to your mobile number ending in •••"]}),d("span",{className:"font-semibold",children:xn(Vp,i)}),d("span",{children:["."]})]),d("p",{children:vi.Children.toArray(Array.from(r))})),d("p",{children:["Enter your code to sign in."]})],["children",vi.Children.toArray(Array.from(e))])])))),mr((()=>{let e;return br(gr(d("div",ft(Jn([["className","mt-8 flex relative"],(e=yr(mr((()=>{let e;return br(gr(d("input",ft(Jn([["className","absolute w-full h-full peer z-10 opacity-0"],["id","one-time-code-input"],["type","text"],["autoComplete","one-time-code"],["maxLength",6],["onClick",e=>{const t=e.target;t.selectionStart=0|s.CodeInputValue.length,t.selectionEnd=0|s.CodeInputValue.length,a(new zp(3,!1))}],["onChange",e=>{const t=xn(Vp,e.target.value);a(new zp(4,t)),6===t.length&&l()}],(e=s.CodeInputValue,["ref",t=>{null==t||ot(t.value,e)||(t.value=e)}])])))),mr((()=>Ar((e=>{const t=Nt((e=>e),jt(e,s.CodeInputValue.split(""))),n=Nt((e=>e),jt(e-1,s.CodeInputValue.split("")));return gr(d("div",{key:e,className:vn(" ",yr(mr((()=>br(gr("flex justify-center items-center text-xl w-10 h-12 rounded-md ring-inset ring-1 transition ease-in"),mr((()=>br(s.CodeInvalid?gr("ring-red-600"):gr("ring-gray-400"),mr((()=>br(gr(2===e?"mr-4":5===e?"":"mr-2"),mr((()=>null!=t||null!=n||0===e?gr("peer-focus:ring-2 peer-focus:ring-primary-base"):$r()))))))))))))),children:At(t,"")}))}),Ru(0,1,5)))))}))),["children",vi.Children.toArray(Array.from(e))])])))),mr((()=>{let e;return br(s.CodeInvalid?gr(d("p",ft(Jn([["className","w-[288px] text-red-600 mt-2 leading-5"],(e=yr(mr((()=>br(gr("The code you entered is invalid"),mr((()=>{let e,t;return br((e=s.AttemptsRemaining,null==e?gr(null):(t=0|e,gr(`, you have ${t} attempts remaining`))),mr((()=>br(gr("."),mr((()=>null==s.AttemptsRemaining?gr(" Try again or click on the link below to resend the code."):gr(null)))))))})))))),["children",vi.Children.toArray(Array.from(e))])])))):$r(),mr((()=>br(gr(Pi("sm:w-[288px] mt-6",l,s.SignInInProgress,[d("span",{children:["Continue"]})])),mr((()=>{let e;return gr(d("div",ft(Jn([["className","mt-8 sm:mt-14 text-sm text-gray-900 whitespace-pre-wrap leading-5 space-y-4"],(e=yr(mr((()=>{let e,r,i,o;return br((e=s.ResendTimer,null!=e?(r=0|e,gr((i=`Message sent. Wait ${r} seconds before trying again.`,d("p",{children:[i]})))):gr((o=Jn([d("span",{children:["Didn’t get the code? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{n(),a(new zp(0))},children:"Resend message"}),d("span",{children:["."]})]),d("p",{children:vi.Children.toArray(Array.from(o))})))),mr((()=>{let e;return gr((e=Jn([d("span",{children:["Still having trouble? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{s.ReissueLinkInProgress||(a(new zp(5)),t())},children:"Sign in with email instead"}),d("span",{children:["."]})]),d("p",{children:vi.Children.toArray(Array.from(e))})))})))}))),["children",vi.Children.toArray(Array.from(e))])]))))}))))))})))})))})))))))));return d(m,{},...c)}function Xp(e){const t=e.reissueLink,n=e.brandingOption,r=zi(!1),i=yr(mr((()=>br(gr(function(e){const t=Or(pi([]),1);return d(ii,t)}()),mr((()=>br(gr(Ni("Access link timed-out")),mr((()=>{let e;return br(gr(d("div",ft(Jn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(e=[d("p",{children:["Your 5-minute temporary access link has timed-out."]}),d("p",{children:["Get a new link to continue."]})],["children",vi.Children.toArray(Array.from(e))])])))),mr((()=>br(gr(Pi("mt-8 mb-8 sm:mb-14",(()=>{r[1](!0),t()}),r[0],[d("span",{children:["Get a new link"]})])),mr((()=>gr(null==n?null:Oi(n))))))))})))))))));return d(m,{},...i)}function Qp(e,t){const n=At(Ot((e=>e.CompanyName),e),"your employer"),r=yr(mr((()=>br(gr(yi([])),mr((()=>br(gr(Ni("You’re all done")),mr((()=>{let r,i;return br(gr(d("div",ft(Jn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(r=[(i=`Your ${t} is now complete and your pay information has now been submitted to ${n}.`,d("p",{children:[i]})),d("p",{children:["You can now close this window."]})],["children",vi.Children.toArray(Array.from(r))])])))),mr((()=>gr(null==e?null:Oi(e)))))})))))))));return d(m,{},...r)}function e$(){let e,t,n,r,i,o,s,a,l;return d("div",ft(Jn([["className","flex lg:min-w-[1024px] xl:min-w-[1280px] max-w-screen-xl justify-center"],(e=[d("div",ft(Jn([["className","flex flex-col justify-center items-center"],(t=[yi([]),Ni("You’re all set!"),d("div",ft(Jn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(n=[d("p",{children:["Access your exclusive benefits by downloading the Flare app."]}),d("div",ft(Jn([["className","hidden lg:flex justify-center lg:py-8"],(r=[d("img",{className:"h-40",src:"/workflows/app/app-invite/qr.png"})],["children",vi.Children.toArray(Array.from(r))])]))),d("div",ft(Jn([["className","flex items-center justify-center lg:hidden"],(i=[d("img",{className:"w-[280px]",src:"/workflows/app/app-invite/completed.png"})],["children",vi.Children.toArray(Array.from(i))])]))),d("p",ft(Jn([["className","font-semibold pt-5 lg:pt-0"],(o=[d("span",{className:"lg:hidden",children:"Download the Flare App"}),d("span",{className:"hidden lg:block",children:"Scan to download"})],["children",vi.Children.toArray(Array.from(o))])]))),d("p",{children:"Available on iOS and Android"})],["children",vi.Children.toArray(Array.from(n))])]))),d("div",ft(Jn([["className","flex space-x-6"],(s=[d("a",ft(Jn([["href","https://apps.apple.com/us/app/flare/id1587276031"],["target","_blank"],["rel","noreferrer"],(a=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/app-store.png"})],["children",vi.Children.toArray(Array.from(a))])]))),d("a",ft(Jn([["href","https://play.google.com/store/apps/details?id=com.flarehr.payandbenefits"],["target","_blank"],["rel","noreferrer"],(l=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/google-play.png"})],["children",vi.Children.toArray(Array.from(l))])])))],["children",vi.Children.toArray(Array.from(s))])])))],["children",vi.Children.toArray(Array.from(t))])]))),d("img",{className:"hidden lg:block w-[640px]",src:"/workflows/app/app-invite/completed.png"})],["children",vi.Children.toArray(Array.from(e))])])))}function t$(e){const t=e.startAuthCodeExchangeBackground,n=e.navigateAuthCodeExchangePage,r=e.magicLink,i=Ku(Fp,((e,i)=>Gp(r,n,t,e,i))),o=i[0],s=i[1],a=yr(mr((()=>br(kr((e=>d("style",{children:[e]})),o.CssOverrides),mr((()=>{const e=o.Page;if(1===e.tag)return gr(function(e,t,n,r){const i=zi(!1),o=Nt((e=>d("span",{className:"font-semibold",children:`${e}`})),Ot((e=>e.CompanyName),t)),s=1===n.tag?`Hi, ${e}`:2===n.tag?`${e}, join your workplace benefits program`:`Welcome, ${e}`,a=yr(mr((()=>{let e,t;return br((e=n,1===e.tag?gr($i([])):2===e.tag?gr(d("div",ft(Jn([["className","sm:w-[700px]"],(t=[d("img",{src:"/workflows/app/app-invite/welcome.png"})],["children",vi.Children.toArray(Array.from(t))])])))):gr($i([]))),mr((()=>br(gr(Ni(s)),mr((()=>{let e;return br(gr(d("div",ft(Jn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(e=yr(mr((()=>1===n.tag?br(gr(At(o,d("span",{children:["Your employer"]}))),mr((()=>br(gr(d("span",{children:[" has requested additional information from you."]})),mr((()=>gr(d("p",{children:["Sign in to complete your information request."]})))))))):2===n.tag?gr(d("p",{children:["Your employer has partnered with Flare Benefits to give you exclusive access to savings and perks from Australia’s most-loved brands, plus special offers to help you save on bigger expenses like household utilities, health insurance and more."]})):br(gr(d("p",{children:["Congratulations on the new role!"]})),mr((()=>{let e;return gr((e=Jn([d("span",{children:["Sign in to complete your onboarding with "]}),At(o,d("span",{children:["your employer"]})),d("span",{children:["."]})]),d("p",{children:vi.Children.toArray(Array.from(e))})))})))))),["children",vi.Children.toArray(Array.from(e))])])))),mr((()=>{let e;return gr(Pi(void 0,(()=>{i[1](!0),r()}),i[0],[(e=1===n.tag?"Sign in":2===n.tag?"Continue":"Sign in",d("span",{children:[e]}))]))})))}))))))})));return d(m,{},...a)}(e.fields[0],o.Branding,o.JourneyType,(()=>{s(new dd(5,e.fields[1],new sd(0)))})));if(2===e.tag)return gr(function(e,t){let n,r,i;const o=[gi([]),Ni("Check your inbox"),d("div",ft(Jn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(n=[(r=Jn([d("span",{children:["We’ve sent a temporary access link to "]}),d("span",{className:"font-semibold",children:(s=e,a="*",l="•",s.replace(new RegExp(nn(a),"g"),l))}),d("span",{children:["."]})]),d("p",{children:vi.Children.toArray(Array.from(r))})),d("p",{children:["Click the link to confirm your email address and sign in. The link is valid for 5 minutes."]})],["children",vi.Children.toArray(Array.from(n))])]))),d("div",ft(Jn([["className","text-sm text-gray-900 whitespace-pre-wrap mt-10 sm:mt-14 space-y-4 leading-5"],(i=yr(mr((()=>br(gr(d("p",{children:["Can’t see the email? Check your spam folder."]})),mr((()=>gr(null==t?null:Oi(t)))))))),["children",vi.Children.toArray(Array.from(i))])])))];var s,a,l;return d(m,{},...o)}(e.fields[0],o.Branding));if(3===e.tag)return gr(d(Kp,{maskedPhone:e.fields[0],validateOneTimeCode:e=>{s(new dd(4,e[0],e[1],new sd(0)))},reissueOneTimeCode:()=>{s(new dd(3,!0,new sd(0)))},reissueLink:()=>{s(new dd(2,!0,new sd(0)))}}));if(4===e.tag)return gr(d(Xp,{brandingOption:o.Branding,reissueLink:()=>{s(new dd(2,!1,new sd(0)))}}));if(5!==e.tag)return 6===e.tag?1===e.fields[0].tag?gr(Yi("You don’t have access","It seems that you’re not authorised to access our application. If you believe this is an error, please contact your employer for assistance.",void 0)):0===e.fields[0].tag?gr(d(Ji,{reissueMagicLink:()=>{s(new dd(2,!0,new sd(0)))}})):5===e.fields[0].tag?gr(Ki()):2===e.fields[0].tag?gr(Zi(o.Branding)):3===e.fields[0].tag?gr(qi("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",o.Branding)):gr(qi("Invite expired","Your invite has now expired and you no longer have access.",o.Branding)):gr(Ti);switch(o.JourneyType.tag){case 1:default:return gr(Qp(o.Branding,function(e){switch(e.tag){case 1:return"information request";case 2:return"workflow";default:return"onboarding"}}(o.JourneyType)));case 2:return gr(e$())}}))))));return d(m,{},...a)}function n$(e){let t,n;const r=e.startAuthCodeExchangeBackground,i=e.navigateAuthCodeExchangePage,o=e.inviteCode;return Ui((()=>{la(0)})),d("div",ft(Jn([["className","min-h-full flex flex-col items-center justify-between w-full mx-auto text-center pt-8 sm:pt-20 pb-6 sm:pb-8 px-4 bg-white"],(t=[d("div",ft(Jn([["className","flex flex-col items-center justify-center sm:max-w-[640px]"],(n=yr(mr((()=>{const e=function(e){const t=_n(e,["."],null,0);if(Bt(((e,t)=>e===t),t,null)||2!==t.length)return new $o(1,"Invalid link");{const e=t[1];return new $o(0,new ad(t[0],e))}}(o);return 0===e.tag?gr(d(t$,{magicLink:e.fields[0],navigateAuthCodeExchangePage:i,startAuthCodeExchangeBackground:r})):gr(Zi(void 0))}))),["children",vi.Children.toArray(Array.from(n))])]))),Xi],["children",vi.Children.toArray(Array.from(t))])])))}class r$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","LegacyInvite","InviteV2","AuthCodeExchange","AuthCodeExchangeWithCurrentAuth","NotFound","LoggedOut"]}}function i$(e){const t=Cd(e);if(null!=t)return Nt((e=>e[1]),Qn((e=>"code"===e[0]),t))}function o$(e){let t,n,r,i,o,s,a;const l=function(e){let t,n,r;switch(Rn(e)?t=2:"workflows"===Un(e)?Rn(Fn(e))?t=2:"app"===Un(Fn(e))?(t=0,n=Fn(Fn(e))):"embed"===Un(Fn(e))?Rn(Fn(Fn(e)))?t=2:"v1.0"===Un(Fn(Fn(e)))?(t=1,r=Fn(Fn(Fn(e)))):t=2:t=2:t=2,t){case 0:return new vo(1,n);case 1:return new vo(0,r);case 2:return new vo(2,void 0)}}(e);return 1===l.tag?[Rn(l.fields[0])?Rn(l.fields[0])?new r$(0):(i=Cd(Un(l.fields[0])),null!=i?Rn(i)?new r$(0):"invite-code"===Un(i)[0]&&Rn(Fn(i))&&Rn(Fn(l.fields[0]))?(o=Un(i)[1],new r$(2,o)):new r$(0):new r$(0)):(t=Cd(Un(l.fields[0])),null!=t?Rn(t)?Rn(l.fields[0])?new r$(0):(i=Cd(Un(l.fields[0])),null!=i?Rn(i)?new r$(0):"invite-code"===Un(i)[0]&&Rn(Fn(i))&&Rn(Fn(l.fields[0]))?(o=Un(i)[1],new r$(2,o)):new r$(0):new r$(0)):"invite"===Un(t)[0]&&Rn(Fn(t))&&Rn(Fn(l.fields[0]))?(n=Un(t)[1],r=No(n),1===r.tag?new r$(5):new r$(1)):Rn(l.fields[0])?new r$(0):(i=Cd(Un(l.fields[0])),null!=i?Rn(i)?new r$(0):"invite-code"===Un(i)[0]&&Rn(Fn(i))&&Rn(Fn(l.fields[0]))?(o=Un(i)[1],new r$(2,o)):new r$(0):new r$(0)):Rn(l.fields[0])?new r$(0):(i=Cd(Un(l.fields[0])),null!=i?Rn(i)?new r$(0):"invite-code"===Un(i)[0]&&Rn(Fn(i))&&Rn(Fn(l.fields[0]))?(o=Un(i)[1],new r$(2,o)):new r$(0):new r$(0))),new Nd(1)]:2===l.tag?[new r$(5),new Nd(2)]:[Rn(l.fields[0])||Rn(Fn(l.fields[0]))?new r$(0):(s=i$(Un(Fn(l.fields[0]))),null!=s&&Rn(Fn(Fn(l.fields[0])))?(a=s,new r$(3,jp(a))):new r$(0)),new Nd(0)]}class s$ extends yt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class a$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","NavigateAuthCodeExchangePageWithCurrentAuth","AuthMsg","StartAuthCodeExchangeBackground","DisplayLoggedOut"]}}function l$(){let e;return Ui((()=>{la(0)})),d("div",ft(Jn([["className","w-full sm:max-w-md mt-5 mx-1 text-center mx-auto"],(e=[d("h4",{className:"text-2xl",children:"You have been logged out of your onboarding due to inactivity"}),d("br",{}),d("p",{children:["To continue your onboarding, please find your onboarding invite email and click the link again."]})],["children",vi.Children.toArray(Array.from(e))])])))}function c$(e){this.message=e}c$.prototype=new Error,c$.prototype.name="InvalidCharacterError";var u$="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new c$("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,s="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?s+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function f$(e){this.message=e}f$.prototype=new Error,f$.prototype.name="InvalidTokenError";class d$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function h$(e,t){switch(t.tag){case 1:return new d$(1);case 3:return new d$(3,t.fields[0]);case 2:try{return new d$(2,e(t.fields[0]))}catch(e){return new d$(3,e)}default:return new d$(0)}}function m$(e){return function(e,t){return function(e,t,n){e:for(;;){const r=e,i=t,o=n;if(Rn(o)){const e=r;return 1===e.tag?new $o(1,e.fields[0]):new $o(0,zn(e.fields[0]))}{let s;const a=i(Un(o));if(1===a.tag)s=new $o(1,a.fields[0]);else{const e=r;s=1===e.tag?new $o(1,e.fields[0]):new $o(0,Bn(a.fields[0],e.fields[0]))}if(1===s.tag)return s;e=s,t=i,n=Fn(o);continue e}}}(new $o(0,Ln()),e,t)}((e=>e),e)}class p$ extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class $$ extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class g$ extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class w$ extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class y$ extends yt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function v$(e){return new $o(0,new Jo(ss(e.Id),e.DisplayName,e.ComponentTagName))}class b$ extends yt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class C$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class _$ extends yt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class x$ extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}function k$(e){return function(e,t){const n=yn(r=e)?new $o(1,"Tag name is empty"):r.length<100?new $o(0,new Ls(0,r)):new $o(1,"Tag name is too long");var r,i;if(1===n.tag)return new $o(1,n.fields[0]);{const e=yn(i=t)?new $o(1,"Tag value is empty"):i.length<100?new $o(0,new Bs(0,i)):new $o(1,"Tag value is too long");return 1===e.tag?new $o(1,e.fields[0]):new $o(0,new Ms(n.fields[0],e.fields[0]))}}(e.Name,e.Value)}class S$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}class I$ extends yt{constructor(e){super(),this.BenefitsOnboarding=e}}class A$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class E$ extends yt{constructor(e){super(),this.Category=e}}function N$(){return of("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],E$,(()=>[["Category",cf(df)]]))}function O$(e){return new Us(e.Category)}class P$ extends yt{constructor(e,t,n,r,i,o,s,a,l,c,u){super(),this.Id=0|e,this.DateCreated=t,this.Configuration=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=l,this.IsBenefitsStepEnabled=c,this.PaySetupComplete=u}}function T$(){return of("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],P$,(()=>[["Id",mf],["DateCreated",rf("System.DateTime")],["Configuration",of("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],_$,(()=>[["Id",rf("System.Guid")],["Name",df],["Steps",uf(of("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],y$,(()=>[["Id",df],["DisplayName",df],["ComponentTagName",df]])))]]))],["Status",af("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],C$,(()=>[[],[["Item",of("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],b$,(()=>[["ActivatedDates",uf(rf("System.DateTime"))],["CompletedSteps",uf(lf(df,rf("System.DateTime")))]]))]],[["Item",rf("System.DateTime")]],[["Item",rf("System.DateTime")]]]))],["Invite",cf(of("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],w$,(()=>[["Code",df],["DateIssued",rf("System.DateTime")],["SecondFactor",cf(of("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],g$,(()=>[["Code",df],["DateIssued",rf("System.DateTime")],["NumberOfAttempts",mf],["DateOfLastAttempt",cf(rf("System.DateTime"))]])))],["Branding",cf(of("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],p$,(()=>[["CompanyName",cf(df)],["Logo",cf(df)],["Support",cf(of("Workflows.Business.Aggregates.CommonDto.SupportDto",[],$$,(()=>[["Email",cf(df)],["Phone",cf(df)]])))]])))]])))],["Tags",cf(uf(of("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],x$,(()=>[["Name",df],["Value",df]]))))],["Creator",cf(df)],["StepsConfiguration",cf(of("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],I$,(()=>[["BenefitsOnboarding",cf(sf(["Show",af("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],S$,(()=>[[],[]]))]))]])))],["JourneyType",cf(af("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],A$,(()=>[[["Item",N$()]],[["Item",N$()]],[["Item",N$()]],[["Item",N$()]],[["Item",N$()]]])))],["IsBenefitsStepEnabled",cf(hf)],["PaySetupComplete",cf(hf)]]))}function D$(e){let t,n;const r=function(e){const t=m$(Xn(v$,e.Steps));if(1===t.tag)return new $o(1,t.fields[0]);{const n=function(e){const t=new ls(0,e);return Cr(t,Is.keys(),{Equals:ot,GetHashCode:nt})?new $o(0,t):new $o(1,hn(fn("Invalid Type %A%P()",[e])))}(e.Id);return 1===n.tag?new $o(1,n.fields[0]):new $o(0,new cs(n.fields[0],e.Name,t.fields[0]))}}(e.Configuration);if(1===r.tag)return new $o(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const t=function(e){const t=m$(Xn((e=>new $o(0,[ss(e[0]),e[1]])),e.CompletedSteps));return 1===t.tag?new $o(1,t.fields[0]):new $o(0,new Es(e.ActivatedDates,t.fields[0]))}(e.fields[0]);return 1===t.tag?new $o(1,t.fields[0]):new $o(0,new Ns(1,t.fields[0]))}case 2:return new $o(0,new Ns(2,e.fields[0]));case 3:return new $o(0,new Ns(3,e.fields[0]));default:return new $o(0,new Ns(0))}}(e.Status);if(1===o.tag)return new $o(1,o.fields[0]);{const r=o.fields[0];let s;if(1===r.tag){const e=r.fields[0],t=m$(Xn((e=>{const t=[e[0],e[1]],n=t[0];return nr((e=>ot(e.Id,n)),i.Steps)?new $o(0,[n,t[1]]):new $o(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));s=1===t.tag?new $o(1,t.fields[0]):new $o(0,new Ns(1,new Es(e.ActivatedDates,t.fields[0])))}else s=new $o(0,r);if(1===s.tag)return new $o(1,s.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const t=No(e.Code);if(1===t.tag)return new $o(1,t.fields[0]);{let n;const r=e.SecondFactor;let i;n=null==r?void 0:function(e){return new zo((t=e.Code,new Vo(0,t)),e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt);var t}(r);const o=e.Branding;if(null!=o){const e=function(e){let t;const n=e.Logo;if(null!=n){const e=Go(n);t=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else t=new $o(0,void 0);if(1===t.tag)return new $o(1,t.fields[0]);{let n;const r=e.CompanyName;if(null!=r){const e=Uo(r);n=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else n=new $o(0,void 0);if(1===n.tag)return new $o(1,n.fields[0]);{let r;const i=e.Support;if(null!=i){const e=function(e){let t;const n=e.Email;if(null!=n){const e=Bo(n);t=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else t=new $o(0,void 0);if(1===t.tag)return new $o(1,t.fields[0]);{let n;const r=e.Phone;if(null!=r){const e=Ro(r);n=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else n=new $o(0,void 0);return 1===n.tag?new $o(1,n.fields[0]):new $o(0,new Do(t.fields[0],n.fields[0]))}}(i);r=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else r=new $o(0,void 0);return 1===r.tag?new $o(1,r.fields[0]):new $o(0,new Oo(n.fields[0],t.fields[0],r.fields[0]))}}}(o);i=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else i=new $o(0,void 0);return 1===i.tag?new $o(1,i.fields[0]):new $o(0,new Yo(t.fields[0],e.DateIssued,n,i.fields[0]))}}(o);r=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else r=new $o(0,void 0);if(1===r.tag)return new $o(1,r.fields[0]);{let o;const a=e.Tags;if(null!=a){const e=m$(Xn(k$,a));o=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else o=new $o(0,void 0);return 1===o.tag?new $o(1,o.fields[0]):new $o(0,new js(Ts(e.Id),i,e.DateCreated,s.fields[0],r.fields[0],o.fields[0],(t=e.Creator,null==t?void 0:Io(t)),(n=e.StepsConfiguration,null==n?void 0:function(e){let t,n;return new Rs((t=e.BenefitsOnboarding,null==t?void 0:(n=t,{Show:1===n.Show.tag?new Fs(1):new Fs(0)})))}(n)),function(e){if(null==e)return new Ws(0,new Us(void 0));if(1===e.tag){const t=e.fields[0];return new Ws(1,O$(t))}if(2===e.tag){const t=e.fields[0];return new Ws(2,O$(t))}if(3===e.tag){const t=e.fields[0];return new Ws(3,O$(t))}if(4===e.tag){const t=e.fields[0];return new Ws(4,O$(t))}{const t=e.fields[0];return new Ws(0,O$(t))}}(e.JourneyType),e.IsBenefitsStepEnabled,e.PaySetupComplete))}}}}}class M$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}class L$ extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n,this.Branding=r}}class B$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}const j$=D$;class R$ extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n,this.Branding=r}}class W$ extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class U$ extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class F$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class G$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies","DiscreteBenefits"]}}class H$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function V$(e){return new H$(e?1:0)}class z$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Completed","Disabled","Active","Locked","CompletedAndDisabled"]}}function Y$(e){return ot(e,Zo)?new $o(0,new G$(0)):ot(e,Ko)?new $o(0,new G$(1)):ot(e,Xo)?new $o(0,new G$(2)):ot(e,Qo)?new $o(0,new G$(3)):ot(e,es)?new $o(0,new G$(4)):ot(e,ts)?new $o(0,new G$(5)):ot(e,is)?new $o(0,new G$(7)):ot(e,os)?new $o(0,new G$(8)):new $o(1,"Invalid step")}function q$(e){switch(e.tag){case 1:return Ko;case 2:return Xo;case 3:return Qo;case 4:return es;case 5:return ts;case 6:return rs;case 7:return is;case 8:return os;default:return Zo}}function J$(e){switch(e.tag){case 1:return"Emergency contacts";case 2:return"Bank details";case 3:return"Tax declaration";case 4:return"Super nomination";case 5:return ts.DisplayName;case 6:return"Workplace benefits";case 7:return"Fair Work";case 8:return os.DisplayName;default:return"Employee profile"}}function Z$(e){switch(e.tag){case 1:return Ko;case 2:return Xo;case 3:return Qo;case 4:return es;case 5:return ts;case 6:return rs;case 7:return is;case 8:return os;default:return Zo}}class K$ extends yt{constructor(e,t){super(),this.Id=e,this.Status=t}}function X$(e){return J$(e.Id)}function Q$(e){return 1===e.Id.tag?e:void 0}function eg(e,t){const n=At(e.PaySetupComplete,!1);let r;const i=m$(Xn(Y$,e.Configuration.Steps));if(r=1===i.tag?new $o(1,i.fields[0]):new $o(0,function(e,t){return 0===e.tag?t:Kn(t,jn(new G$(6)))}(t,i.fields[0])),1===r.tag)return new $o(1,r.fields[0]);{const t=m$(Xn(Y$,function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Ln();default:{const n=Xn((e=>e[0]),t.fields[0].CompletedSteps);return tr((e=>{return t=e.Id,r={Equals:ot,GetHashCode:nt},null!=er((e=>r.Equals(t,e)),n);var t,r}),e.Configuration.Steps)}}}(e)));return 1===t.tag?new $o(1,t.fields[0]):new $o(0,(o=Xn((e=>n&&function(e){switch(e.tag){case 1:case 2:case 3:case 4:case 7:default:return!0;case 5:case 6:case 8:return!1}}(e.Id)&&ot(e.Status,new z$(0))?new K$(e.Id,new z$(4)):e),Xn((e=>nr((t=>ot(t,e.Id)),t.fields[0])?new K$(e.Id,new z$(0)):e),Xn((e=>ot(e.Id,new G$(6))&&!n?new K$(e.Id,new z$(3)):e),Xn((e=>new K$(e,new z$(1))),r.fields[0])))),((e,t)=>{for(;;){const n=e,r=t;if(Rn(n))return r;if(ot(Un(n).Status,new z$(2)))return Zn([r,jn(Un(n)),Fn(n)]);if(ot(Un(n).Status,new z$(1)))return Zn([r,jn(new K$(Un(n).Id,new z$(2))),Fn(n)]);e=Fn(n),t=Kn(r,jn(Un(n)))}})(o,Ln())))}var o}class tg extends yt{constructor(e,t,n,r,i,o,s,a,l,c,u){super(),this.AppMode=e,this.JourneyType=t,this.Branding=n,this.IsBenefitsStepEnabled=r,this.IsPaySetupCompatible=i,this.IsPaySetupComplete=o,this.Status=s,this.ProcessInstanceId=a,this.InstanceName=l,this.ProcessConfigId=c,this.Steps=u}}function ng(e){switch(e.Status.tag){case 3:case 0:return!1;case 1:return At(e.PaySetupComplete,!1);default:return!0}}function rg(e,t){let n;const r=[t,V$(e.IsBenefitsStepEnabled)];return n=eg(r[0],r[1]),1===n.tag?new $o(1,n.fields[0]):new $o(0,new tg(e.AppMode,e.JourneyType,e.Branding,e.IsBenefitsStepEnabled,e.IsPaySetupCompatible,ng(t),t.Status,e.ProcessInstanceId,e.InstanceName,e.ProcessConfigId,n.fields[0]))}class ig extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","PaySetupCompleteConfirmation","Oops","AllDone"]}}class og extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ChangeCurrentView","CloseStepListView","StepCompletionEventCallback","CompleteStep","ConfirmPaySetupComplete","ResumePaySetup","CompletePaySetup","PaySetupCompleted","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep","CommandSuccess","CommandFailure"]}}class sg extends yt{constructor(e,t,n,r,i,o){super(),this.ProfileId=e,this.ProcessInstanceId=t,this.WorkflowDetail=n,this.CurrentView=r,this.CssOverrides=i,this.BenefitsOnboarding=o}}function ag(e){switch(e.tag){case 1:return"Information request";case 2:return"Workflow";case 3:case 4:return"Benefits Onboarding";default:return"Onboarding"}}function lg(e){return e<640?xt(void 0):void 0}function cg(e){return((e,t)=>{e:for(;;){const r=e,i=t;let o,s,a,l;if(Rn(r))o=0;else{const e=0===(n=Un(r)).Id.tag?n:void 0;if(null!=e)if(Rn(Fn(r)))o=2;else{const t=Q$(Un(Fn(r)));null!=t?(o=1,s=t,a=e,l=Fn(Fn(r))):o=2}else o=2}switch(o){case 0:return i;case 1:e=l,t=Kn(i,jn(ot(s.Status,new z$(2))?new K$(a.Id,new z$(2)):a));continue e;case 2:if(Rn(r))throw new Error("Match failure");e=Fn(r),t=Kn(i,jn(Un(r)));continue e}break}var n})(e,Ln())}function ug(e){let t;return d("div",ft(Jn([["className","absolute inset-0 min-h-full flex flex-col items-center justify-between w-full mx-auto text-center pt-8 sm:pt-20 pb-6 sm:pb-8 px-4 bg-white"],(t=[d("div",{className:"mt-5 px-4 flex flex-col items-center justify-center sm:max-w-[640px]",children:vi.Children.toArray([e])}),Xi],["children",vi.Children.toArray(Array.from(t))])])))}function fg(e,t,n){return At(Et(Et(function(e){return Os(e.Status)?new og(1,new ig(5)):void 0}(t),function(e,t){const n=2===e.tag?e.fields[0]:void 0;let r;if(null==n)r=void 0;else{const e=n;r=Ot((e=>function(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Pn(i))return;if(r===e)return xt(Dn(i));t=r+1,n=Mn(i)}})(0,t)}(e+1,t.Steps)),er((t=>ot(e,t)),t.Steps))}const i=Nt((e=>new og(1,new ig(2,e))),Qn((e=>ot(e.Status,new z$(2))),t.Steps)),o=[n,r];let s,a,l;switch(null!=o[0]&&null!=o[1]?(s=0,a=o[0],l=o[1]):s=1,s){case 0:return ot(l.Status,new z$(3))?void 0:new og(1,new ig(2,l));case 1:return i}}(e,t)),function(e,t){const n=[e.IsPaySetupCompatible&&!e.IsPaySetupComplete&&1!==Wn(e.Steps),t];let r;switch(r=!n[0]||1!==n[1].tag&&0!==n[1].tag?1:0,r){case 0:return new og(5,{Branding:e.Branding,InjectedBenefits:e.IsBenefitsStepEnabled});case 1:return}}(t,n)),new og(9,new d$(0)))}function dg(e,t){return Js.Delay((()=>{const n=xh((r=hn(un("Bearer %s"))(e),new Td(0,"Authorization",r)),t);var r;let i;const o=Sh(n);return i=Js.Bind(o,(e=>Js.Return(new $o(0,e)))),Js.Bind(i,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=Sh(n);return Js.Bind(e,(e=>Js.Return(new $o(0,e))))}return Js.Return(new $o(0,e))}}))}))}function hg(e,t,n){return Js.Delay((()=>{let r,i;const o=dg(n,(r=kh(new Dd(1,(i=jn(function(e){switch(e.tag){case 1:return new B$(1,as(e.fields[0]));case 2:return new B$(2);case 3:return new B$(3,e.fields[0]);case 4:return new B$(4,e.fields[0]);case 5:return new B$(5,e.fields[0]);default:return new B$(0,as(e.fields[0]))}}(e)),Nm(0,Tm(uf(af("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],B$,(()=>[[["Item",df]],[["Item",df]],[],[["Item",hf]],[["Item",hf]],[["Item",hf]]]))),new wm(1),void 0,void 0)(i)))),_h(new Pd(1),Ch(function(e){const t=0|Ds(e);return hn(un("%s/workflows/backend/%i"))(Sd)(t)}(t)))),xh(yh("application/json"),r)));return Js.Bind(o,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=pp(ht(2,Dp(T$(),new wm(1),void 0)),e.responseText);return t=1===n.tag?new $o(1,n.fields[0]):j$(n.fields[0]),Js.Return(t)}return Js.Return(new $o(1,"Unexpected response from backend"))}}))}))}function mg(e,t){return Js.Delay((()=>{const n=dg(t,_h(new Pd(1),Ch(function(e){const t=0|Ds(e);return hn(un("%s/workflows/backend/process-instances/%i/activate"))(Sd)(t)}(e))));return Js.Bind(n,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=pp(ht(2,Dp(of("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],R$,(()=>[["CssOverrides",uf(df)],["ProcessInstanceDto",T$()],["IsBenefitsEnabled",hf],["Branding",cf(of("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Branding",[],W$,(()=>[["CompanyName",cf(df)],["Logo",cf(df)],["Support",cf(of("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Support",[],U$,(()=>[["Email",cf(df)],["Phone",cf(df)]])))]])))]])),new wm(1),void 0)),e.responseText);return t=1===n.tag?new $o(1,n.fields[0]):new $o(0,function(e){let t,n;return new L$(e.CssOverrides,(t=D$(e.ProcessInstanceDto),1===t.tag?(()=>{throw new Error(t.fields[0])})():t.fields[0]),e.IsBenefitsEnabled,(n=e.Branding,null==n?void 0:function(e){let t,n,r,i,o,s,a,l,c,u,f,d,h,m,p,$,g,w;return new Oo((r=e.CompanyName,n=null==r?void 0:Uo(r),t=null!=n?(i=n,1===i.tag?new $o(1,i.fields[0]):new $o(0,i.fields[0])):new $o(0,void 0),1===t.tag?void 0:t.fields[0]),(a=e.Logo,s=null==a?void 0:Go(a),o=null!=s?(l=s,1===l.tag?new $o(1,l.fields[0]):new $o(0,l.fields[0])):new $o(0,void 0),1===o.tag?void 0:o.fields[0]),(c=e.Support,null==c?void 0:(u=c,new Do((h=u.Email,d=null==h?void 0:Bo(h),f=null!=d?(m=d,1===m.tag?new $o(1,m.fields[0]):new $o(0,m.fields[0])):new $o(0,void 0),1===f.tag?void 0:f.fields[0]),(g=u.Phone,$=null==g?void 0:Ro(g),p=null!=$?(w=$,1===w.tag?new $o(1,w.fields[0]):new $o(0,w.fields[0])):new $o(0,void 0),1===p.tag?void 0:p.fields[0])))))}(n)))}(n.fields[0])),Js.Return(t)}return Js.Return(new $o(1,"Unexpected response from backend"))}}))}))}function pg(e,t,n,r){let i,o,s,a,l,c,u,f,d,h,m;switch(n.tag){case 1:{const e=n.fields[0];return[new sg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(i=q$(e.fields[0].Id),ot(i.Id,rs.Id)?Du(new og(10,r.ProcessInstanceId,new F$(1))):Du(new og(10,r.ProcessInstanceId,new F$(0,as(i.Id))))):Nu()]}case 2:{const e=r.WorkflowDetail;let t,n;switch(2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[r,Du(fg(r.CurrentView,n,r.BenefitsOnboarding))];case 1:return[r,Nu()]}}case 10:return Bu(function(e,t,n){let r;const i=Js.Delay((()=>{let r;return dg(e,(r=kh(new Dd(1,Nm(0,Tm(uf(af("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],F$,(()=>[[["Item",df]],[],[]]))),new wm(1),void 0,void 0)(jn(n)))),_h(new Pd(1),Ch(function(e){const t=0|Ds(e);return hn(un("%s/workflows/backend/process-instances/%i/analytics-events"))(Sd)(t)}(t)))),xh(yh("application/json"),r)))}));return r=Js.Bind(i,(e=>{let t;const n=e;return t=1===n.tag?new $o(1,n.fields[0]):new $o(0,void n.fields[0]),Js.Return(t)})),Js.Bind(r,(e=>{let t;const n=e;return t=1===n.tag?void 0:n.fields[0],Js.Return(t)}))}(e,n.fields[0],n.fields[1])),[r,Nu()];case 3:{const e=r.WorkflowDetail;let t,i;switch(2===e.tag&&0===e.fields[0].tag?(t=0,i=e.fields[0].fields[0]):t=1,t){case 0:return[r,(o=n.fields[0].target,s=Qn((e=>0===function(...e){switch(e.length){case 2:return cn(e[0],e[1],!1);case 3:return cn(e[0],e[1],e[2]);case 4:return cn(e[0],e[1],!0===e[2]);case 5:return cn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return cn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return cn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!0===e[5]);default:throw new Error("String.compare: Unsupported number of parameters")}}(Z$(e.Id).ComponentTagName,o.tagName,5)),i.Steps),null==s?Nu():ot(s.Id,new G$(6))?(a=s,Du(new og(12))):(l=s,Du(new og(4,(p=l,Z$(p.Id).Id),new d$(0)))))];case 1:return[r,Nu()]}}case 12:{const e=r.WorkflowDetail;let t;switch(t=2===e.tag&&0===e.fields[0].tag?ot(r.BenefitsOnboarding,new H$(0))?1:0:1,t){case 0:return[new sg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,r.CurrentView,r.CssOverrides,new H$(2)),Pu(Jn([Du(new og(10,r.ProcessInstanceId,new F$(2))),Du(new og(9,new d$(0))),Du(new og(1,new ig(5)))]))];case 1:return[r,Nu()]}}case 4:{const t=n.fields[0],i=n.fields[1];switch(i.tag){case 1:return[r,Nu()];case 2:{const e=i.fields[0],n=e;let o;1===n.tag?n.fields[0]:sa(t,n.fields[0],r.ProfileId);const s=r.WorkflowDetail;let a,l;switch(2===s.tag&&0===s.fields[0].tag?(a=0,l=s.fields[0].fields[0]):a=1,a){case 0:o=new d$(2,(c=e,1===c.tag?new $o(1,c.fields[0]):rg(l,c.fields[0])));break;case 1:o=r.WorkflowDetail}return[new sg(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Du(2===o.tag?1===o.fields[0].tag?new og(1,new ig(4,o.fields[0].fields[0])):fg(r.CurrentView,o.fields[0].fields[0],r.BenefitsOnboarding):3===o.tag?new og(1,new ig(4,o.fields[0].message)):new og(1,new ig(4,"Process Instance not resolved")))]}case 3:{const e=i.fields[0];return[new sg(r.ProfileId,r.ProcessInstanceId,new d$(3,e),r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Du(new og(1,new ig(4,e.message)))]}default:return[r,Mu((e=>{Bu(e)}),(e=>function(e,t,n){return hg(new M$(1,t),e,n)}(r.ProcessInstanceId,t,e)),e,(e=>new og(4,t,new d$(2,e))),(e=>new og(4,t,new d$(3,e))))]}}case 5:return[new sg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,new ig(3),r.CssOverrides,r.BenefitsOnboarding),Mu((e=>{Bu(e)}),(t=>function(e,t,n){return hg(new M$(3,n),e,t)}(r.ProcessInstanceId,e,t)),n.fields[0].InjectedBenefits,(e=>new og(13)),(e=>new og(14,e)))];case 6:return[r,Pu(Jn([Mu((e=>{Bu(e)}),(t=>function(e,t,n){return hg(new M$(5,n),e,t)}(r.ProcessInstanceId,e,t)),n.fields[0].InjectedBenefits,(e=>new og(13)),(e=>new og(14,e))),(u=r.WorkflowDetail,2===u.tag&&0===u.fields[0].tag?Du(new og(1,new ig(2,Gn(tr((e=>!!ot(e.Status,new z$(0))||ot(e.Status,new z$(4))),u.fields[0].fields[0].Steps))))):Du(new og(1,new ig(4,"Process Instance not resolved"))))]))];case 7:return[r,Mu((e=>{Bu(e)}),(t=>function(e,t,n){return hg(new M$(4,n),e,t)}(r.ProcessInstanceId,e,t)),n.fields[0].InjectedBenefits,(e=>new og(8,e)),(e=>new og(14,e)))];case 8:{let e;const t=r.WorkflowDetail;let i,o;switch(2===t.tag&&0===t.fields[0].tag?(i=0,o=t.fields[0].fields[0]):i=1,i){case 0:e=new d$(2,(f=n.fields[0],1===f.tag?new $o(1,f.fields[0]):rg(o,f.fields[0])));break;case 1:e=r.WorkflowDetail}return[new sg(r.ProfileId,r.ProcessInstanceId,e,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Du(2===e.tag?1===e.fields[0].tag?new og(1,new ig(4,e.fields[0].fields[0])):fg(r.CurrentView,e.fields[0].fields[0],r.BenefitsOnboarding):3===e.tag?new og(1,new ig(4,e.fields[0].message)):new og(1,new ig(4,"Process Instance not resolved")))]}case 9:{const t=n.fields[0];if(1===t.tag)return[r,Nu()];if(2===t.tag)return 1===t.fields[0].tag?[new sg(r.ProfileId,r.ProcessInstanceId,new d$(2,new $o(1,t.fields[0].fields[0])),r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Du(new og(1,new ig(4,t.fields[0].fields[0])))]:(aa(t.fields[0].fields[0].Id,t.fields[0].fields[0].Configuration.Name,t.fields[0].fields[0].Configuration.Id,r.ProfileId),[new sg(r.ProfileId,r.ProcessInstanceId,h$((e=>{const n=e;return 1===n.tag?new $o(1,n.fields[0]):rg(n.fields[0],t.fields[0].fields[0])}),r.WorkflowDetail),r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Du(new og(1,new ig(5)))]);if(3===t.tag)return[new sg(r.ProfileId,r.ProcessInstanceId,new d$(3,t.fields[0]),r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Du(new og(1,new ig(4,t.fields[0].message)))];{const t=r.WorkflowDetail;let n,i;switch(2===t.tag&&0===t.fields[0].tag&&Os(t.fields[0].fields[0].Status)?(n=0,i=t.fields[0].fields[0]):n=1,n){case 0:return aa(i.ProcessInstanceId,i.InstanceName,i.ProcessConfigId,r.ProfileId),[r,Nu()];case 1:return[r,Mu((e=>{Bu(e)}),(e=>function(e,t){return hg(new M$(2),e,t)}(r.ProcessInstanceId,e)),e,(e=>new og(9,new d$(2,e))),(e=>new og(9,new d$(3,e))))]}}}case 11:return[r,(d=window.location.pathname+"/"+window.location.search+window.location.hash,Tu((e=>{yd(jn(d),1,2)})))];case 13:case 14:return[r,Nu()];default:{const e=n.fields[0];let i;switch(e.tag){case 3:i=[r,Du(new og(1,new ig(4,e.fields[0].message)))];break;case 0:case 1:i=[r,Nu()];break;default:{let n,o;const s=e.fields[0];if(1===s.tag)o=new $o(1,s.fields[0]);else{const e=s.fields[0],n=V$(e.IsBenefitsEnabled);let i;const a=[e.ProcessInstance,n];if(i=eg(a[0],a[1]),1===i.tag)o=new $o(1,i.fields[0]);else{const s=i.fields[0],a=function(e,t){let n;const r=[t.ProcessInstance,V$(t.IsBenefitsEnabled)];return n=eg(r[0],r[1]),1===n.tag?new $o(1,n.fields[0]):new $o(0,new tg(e,t.ProcessInstance.JourneyType,t.Branding,t.IsBenefitsEnabled,!ot(i=t.ProcessInstance.Configuration,Cs)&&!ot(i,ps),ng(t.ProcessInstance),t.ProcessInstance.Status,t.ProcessInstance.Id,t.ProcessInstance.Configuration.Name,t.ProcessInstance.Configuration.Id,n.fields[0]));var i}(t,e);if(1===a.tag)o=new $o(1,a.fields[0]);else{const t=a.fields[0],i=Os(e.ProcessInstance.Status);let l;const c=Qn((e=>ot(e.Status,new z$(2))),s);l=null==c?t.IsPaySetupComplete?new $o(0,i?new ig(5):new ig(4,"Something went wrong")):new $o(0,new ig(3)):new $o(0,(h=c,m=[xd.clientWidth,Wn(s)],1===m[1]?(document.title=X$(h),new ig(2,h)):null!=lg(m[0])?new ig(1):new ig(2,h))),o=1===l.tag?new $o(1,l.fields[0]):new $o(0,[new sg(r.ProfileId,r.ProcessInstanceId,new d$(2,new $o(0,t)),r.CurrentView,e.CssOverrides,n),l.fields[0]])}}}n=1===o.tag?[r,new ig(4,o.fields[0])]:o.fields[0],i=[n[0],Du(new og(1,n[1]))]}}return[i[0],i[1]]}}var p}const $g=d("div",ft(Jn([["className","text-primary-base"],(()=>{let e,t;const n=[d("svg",ft(Jn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(e=jn(d("g",ft(jn((t=Jn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),d("path",{d:"M20.3018 11.7811L13.9959 18.0829L11.6982 15.7867C11.5092 15.6043 11.2561 15.5033 10.9933 15.5056C10.7306 15.5079 10.4793 15.6132 10.2935 15.7989C10.1077 15.9845 10.0023 16.2357 10 16.4983C9.99775 16.7608 10.0988 17.0138 10.2813 17.2026L13.2874 20.2068C13.4754 20.3945 13.7302 20.5 13.9959 20.5C14.2616 20.5 14.5164 20.3945 14.7043 20.2068L21.7187 13.1971C21.9012 13.0082 22.0022 12.7553 22 12.4927C21.9977 12.2301 21.8923 11.979 21.7065 11.7933C21.5207 11.6076 21.2694 11.5023 21.0067 11.5C20.7439 11.4978 20.4908 11.5987 20.3018 11.7811Z",fill:"white"})]),["children",vi.Children.toArray(Array.from(t))]))))),["children",vi.Children.toArray(Array.from(e))])])))];return["children",vi.Children.toArray(Array.from(n))]})()]))),gg=d("div",ft(Jn([["className","text-primary-base"],(()=>{let e,t;const n=[d("svg",ft(Jn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(e=jn(d("g",ft(jn((t=Jn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"currentColor",strokeWidth:2}),d("path",{d:"M16.616 12.6769L11.146 18.1459C11.0908 18.2022 11.0497 18.2707 11.026 18.3459L10.026 21.3459C10.0018 21.4208 9.99555 21.5004 10.0079 21.5781C10.0202 21.6559 10.0507 21.7296 10.0969 21.7934C10.1431 21.8571 10.2036 21.909 10.2737 21.9449C10.3438 21.9808 10.4213 21.9997 10.5 21.9999C10.5538 22.0002 10.6072 21.9914 10.658 21.9739L13.658 20.9739C13.7332 20.9503 13.8017 20.9091 13.858 20.8539L19.327 15.3839L16.616 12.6769Z",fill:"currentColor"}),d("path",{d:"M21.8545 12.146L19.8545 10.146C19.808 10.0994 19.7529 10.0625 19.6921 10.0373C19.6314 10.0121 19.5663 9.99908 19.5005 9.99908C19.4347 9.99908 19.3696 10.0121 19.3089 10.0373C19.2481 10.0625 19.1929 10.0994 19.1465 10.146L17.6775 11.616L20.3845 14.323L21.8545 12.854C21.9011 12.8075 21.938 12.7524 21.9632 12.6916C21.9884 12.6309 22.0014 12.5657 22.0014 12.5C22.0014 12.4342 21.9884 12.3691 21.9632 12.3083C21.938 12.2476 21.9011 12.1924 21.8545 12.146Z",fill:"currentColor"})]),["children",vi.Children.toArray(Array.from(t))]))))),["children",vi.Children.toArray(Array.from(e))])])))];return["children",vi.Children.toArray(Array.from(n))]})()]))),wg=d("svg",ft(Jn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Jn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2}),d("path",{d:"M15 13C15 12.7348 15.1054 12.4804 15.2929 12.2929C15.4804 12.1054 15.7348 12 16 12C16.2652 12 16.5196 12.1054 16.7071 12.2929C16.8946 12.4804 17 12.7348 17 13V15H19V13C19 12.2044 18.6839 11.4413 18.1213 10.8787C17.5587 10.3161 16.7956 10 16 10C15.2044 10 14.4413 10.3161 13.8787 10.8787C13.3161 11.4413 13 12.2044 13 13V15H15V13Z",fill:"#9CA3AF"}),d("path",{d:"M19.6 16H12.4C11.9029 16 11.5 16.3731 11.5 16.8333V20.1667C11.5 20.6269 11.9029 21 12.4 21H19.6C20.0971 21 20.5 20.6269 20.5 20.1667V16.8333C20.5 16.3731 20.0971 16 19.6 16Z",fill:"#9CA3AF"})]),["children",vi.Children.toArray(Array.from(e))])))));return["children",vi.Children.toArray(Array.from(t))]})()]))),yg=d("svg",ft(Jn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Jn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2})]),["children",vi.Children.toArray(Array.from(e))])))));return["children",vi.Children.toArray(Array.from(t))]})()]))),vg=d("svg",ft(Jn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Jn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2}),d("path",{d:"M20.3018 11.7811L13.9959 18.0829L11.6982 15.7867C11.5092 15.6043 11.2561 15.5033 10.9933 15.5056C10.7306 15.5079 10.4793 15.6132 10.2935 15.7989C10.1077 15.9845 10.0023 16.2357 10 16.4983C9.99775 16.7608 10.0988 17.0138 10.2813 17.2026L13.2874 20.2068C13.4754 20.3945 13.7302 20.5 13.9959 20.5C14.2616 20.5 14.5164 20.3945 14.7043 20.2068L21.7187 13.1971C21.9012 13.0082 22.0022 12.7553 22 12.4927C21.9977 12.2301 21.8923 11.979 21.7065 11.7933C21.5207 11.6076 21.2694 11.5023 21.0067 11.5C20.7439 11.4978 20.4908 11.5987 20.3018 11.7811Z",fill:"#D1D5DB"})]),["children",vi.Children.toArray(Array.from(e))])))));return["children",vi.Children.toArray(Array.from(t))]})()])));function bg(e,t){let n;return d("div",ft(Jn([["className","w-full h-6 rounded justify-start items-center inline-flex"],(n=[d("div",{className:vn(" ",[e,"text-lg font-medium leading-normal"]),children:t})],["children",vi.Children.toArray(Array.from(n))])])))}function Cg(e){switch(e.Status.tag){case 0:return function(e){return bg("text-gray-900",e)}(X$(e));case 1:case 3:case 4:return function(e){return bg("text-gray-500",e)}(X$(e));default:return function(e){return bg("text-primary-base",e)}(X$(e))}}function _g(e){let t;return d("div",ft(Jn([["className","w-8 h-6 flex-col justify-center items-center inline-flex"],(t=[d("div",{className:vn(" ",[e,"w-0.5 h-6 relative"])})],["children",vi.Children.toArray(Array.from(t))])])))}const xg=_g("bg-gray-300"),kg=_g("bg-primary-base");function Sg(e){const t=[ot(e.Id,new G$(6)),e.Status];let n;switch(n=t[0]?2:0===t[1].tag?0:2===t[1].tag?1:2,n){case 0:case 1:return kg;case 2:return xg}}function Ig(e,t){const n=!!ot(t.Status,new z$(0))||ot(t.Status,new z$(2));return d("div",ft(yr(mr((()=>br(gr(["className",vn(" ",yr(mr((()=>br(gr("h-8 justify-start items-center gap-4 inline-flex"),mr((()=>gr(n?"cursor-pointer":"cursor-default"))))))))]),mr((()=>br(n?gr(["onClick",n=>{e(new og(1,new ig(2,t)))}]):$r(),mr((()=>{let e,n,r;return gr((e=[d("div",ft(Jn([["className","w-8 h-8 relative"],(n=yr(mr((()=>{const e=t.Status;return 0===e.tag?gr($g):1===e.tag?gr(yg):3===e.tag?ot(t.Id,new G$(6))?gr(wg):gr(yg):4===e.tag?gr(vg):gr(gg)}))),["children",vi.Children.toArray(Array.from(n))])]))),d("div",ft(Jn([["className","rounded justify-start items-center flex"],(r=[Cg(t)],["children",vi.Children.toArray(Array.from(r))])])))],["children",vi.Children.toArray(Array.from(e))]))})))))))))))}function Ag(e){let t,n,r=!1,i=0;const o=Ve(e.Steps);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();switch(e.Id.tag){case 0:case 1:r=!!ot(e.Status,new z$(0))||ot(e.Status,new z$(4));break;default:(ot(e.Status,new z$(0))||ot(e.Status,new z$(4)))&&(i=i+1|0)}}}finally{Fe(o)}n=i+(r?1:0);const s=0|Wn(cg(e.Steps)),a=e=>d("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:e});return d("div",ft(Jn([["className","w-full px-6 py-4 bg-white border-b border-gray-300 flex-col justify-start items-start inline-flex cursor-default"],(t=yr(mr((()=>{let t,r;return br((t=e.Branding,ot(e.AppMode,new Nd(0))?gr(null):null!=t&&null!=t.CompanyName?(r=t.CompanyName,gr(a(Fo(r)))):gr(a(ag(e.JourneyType)))),mr((()=>gr(d("div",{className:"text-center text-gray-900 text-base font-semibold leading-normal",children:`${n}/${s} sections complete`})))))}))),["children",vi.Children.toArray(Array.from(t))])])))}function Eg(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Rn(r))return i;if(Rn(Fn(r)))return Kn(i,jn(Ig(e,Un(r))));t=Bn(Un(Fn(r)),Fn(Fn(r))),n=Kn(i,Jn([Ig(e,Un(r)),Sg(Un(Fn(r)))]))}})(cg(t.Steps),Ln())}class Ng extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class Og extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class Pg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function Tg(e){const t=e.children,n=e.effect,r=e.props,i=e.step;return Ui(n),d(1===i.tag?Ko.ComponentTagName:2===i.tag?Xo.ComponentTagName:3===i.tag?Qo.ComponentTagName:4===i.tag?es.ComponentTagName:5===i.tag?ts.ComponentTagName:6===i.tag?rs.ComponentTagName:7===i.tag?is.ComponentTagName:8===i.tag?os.ComponentTagName:Zo.ComponentTagName,Or(r,1),...t)}class Dg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Mobile","MobileLandscape","Tablet","Desktop","WideScreen"]}}const Mg=new class extends yt{constructor(e,t,n,r){super(),this.MobileLandscape=0|e,this.Tablet=0|t,this.Desktop=0|n,this.WideScreen=0|r}}(576,768,1024,1216);function Lg(e){const t=ji((()=>window.matchMedia(e).matches));return Wi((()=>{const n=window.matchMedia(e),r=()=>{t[1](n.matches)};return r(),n.addListener(r),Bi((()=>{n.removeListener(r)}))}),[e]),t[0]}const Bg=d("svg",ft(Jn([["fill","none"],["height",16],["viewBox","0 0 16 16"],["width",16],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Jn([d("rect",{width:16,height:16,fill:"white"}),d("path",{d:"M15 6.99992H3.41403L6.70703 3.70692C6.88919 3.51832 6.98998 3.26571 6.9877 3.00352C6.98543 2.74132 6.88026 2.49051 6.69485 2.3051C6.50944 2.11969 6.25863 2.01452 5.99643 2.01224C5.73423 2.00997 5.48163 2.11076 5.29303 2.29292L0.293031 7.29292C0.10556 7.48045 0.000244141 7.73475 0.000244141 7.99992C0.000244141 8.26508 0.10556 8.51939 0.293031 8.70692L5.29303 13.7069C5.38528 13.8024 5.49562 13.8786 5.61763 13.931C5.73963 13.9834 5.87085 14.011 6.00363 14.0122C6.13641 14.0133 6.26809 13.988 6.39098 13.9377C6.51388 13.8875 6.62553 13.8132 6.71943 13.7193C6.81332 13.6254 6.88757 13.5138 6.93785 13.3909C6.98813 13.268 7.01343 13.1363 7.01228 13.0035C7.01113 12.8707 6.98354 12.7395 6.93113 12.6175C6.87872 12.4955 6.80254 12.3852 6.70703 12.2929L3.41403 8.99992H15C15.2652 8.99992 15.5196 8.89456 15.7071 8.70703C15.8947 8.51949 16 8.26514 16 7.99992C16 7.7347 15.8947 7.48035 15.7071 7.29281C15.5196 7.10528 15.2652 6.99992 15 6.99992Z",fill:"#212121"})]),["children",vi.Children.toArray(Array.from(e))])))));return["children",vi.Children.toArray(Array.from(t))]})()])));function jg(e,t,n){let r,i,o,s,a;const l=function(e,t){const r=er((e=>ot(e.Id,n.Id)),t);if(null==r)throw new Error(In);return 0|r}(0,t)/Wn(t)*100;let c;a=hn(un("%.0f%%"))(l);const u=function(e,t){const n=function(e,t){return function(e,t){return(n=>{for(;;){const r=n;if(r<0)return;if(e(t[r]))return r;n=r-1}})(t.length-1)}(e,Hn(t))}(e,t);if(null==n)throw new Error(In);return 0|n}((e=>!!ot(e.Status,new z$(2))||ot(e.Status,new z$(0))),t)/Wn(t)*100;c=hn(un("%.0f%%"))(u);const f=ot(n.Id,new G$(1))?J$(new G$(0)):X$(n);return d("div",ft(Jn([["className","h-20 w-full px-6 py-4 bg-white border-b border-gray-300 flex-col justify-start items-start gap-3 inline-flex sticky left-0 right-0 top-0 z-50"],(r=[d("div",ft(Jn([["className","self-stretch justify-start items-center gap-3 inline-flex"],(i=[d("div",{className:"w-4 h-4 cursor-pointer",onClick:t=>{e(new og(1,new ig(1)))},children:vi.Children.toArray([Bg])}),d("div",{className:"text-center text-gray-900 text-base font-semibold leading-normal",children:f})],["children",vi.Children.toArray(Array.from(i))])]))),d("div",ft(Jn([["className","w-full h-2 relative rounded-sm"],(o=[d("div",{className:"w-full h-0.5 left-0 top-[3px] absolute bg-gray-300 rounded-sm"}),d("div",ft(Jn([["className","w-full left-0 top-0 absolute"],(s=[d("div",{className:"h-0.5 left-0 top-[3px] absolute bg-primary-base rounded-sm",style:{width:c}}),d("div",{className:"w-2 h-2 top-0 absolute bg-primary-base rounded-full",style:{left:a}})],["children",vi.Children.toArray(Array.from(s))])])))],["children",vi.Children.toArray(Array.from(o))])])))],["children",vi.Children.toArray(Array.from(r))])])))}const Rg=d("div",ft(Jn([["className","relative h-4 w-2 z-50"],(()=>{const e=[d("div",{className:"absolute left-0 top-1 h-2 w-2 rounded-full bg-primary-base"})];return["children",vi.Children.toArray(Array.from(e))]})()]))),Wg=d("div",{className:"relative h-0.5 w-2 bg-gray-300"}),Ug=d("div",{className:"relative h-0.5 w-2 bg-primary-base"}),Fg=d("div",ft(Jn([["className","w-4 h-4 relative"],(()=>{let e;const t=[d("svg",ft(Jn([["fill","none"],["height",16],["viewBox","0 0 16 16"],["width",16],["xmlns","http://www.w3.org/2000/svg"],(e=Jn([d("path",{d:"M7 5C7 4.73478 7.10536 4.48043 7.29289 4.29289C7.48043 4.10536 7.73478 4 8 4C8.26522 4 8.51957 4.10536 8.70711 4.29289C8.89464 4.48043 9 4.73478 9 5V7H11V5C11 4.20435 10.6839 3.44129 10.1213 2.87868C9.55871 2.31607 8.79565 2 8 2C7.20435 2 6.44129 2.31607 5.87868 2.87868C5.31607 3.44129 5 4.20435 5 5V7H7V5Z",fill:"#9CA3AF"}),d("path",{d:"M11.6 8H4.4C3.90294 8 3.5 8.3731 3.5 8.83333V12.1667C3.5 12.6269 3.90294 13 4.4 13H11.6C12.0971 13 12.5 12.6269 12.5 12.1667V8.83333C12.5 8.3731 12.0971 8 11.6 8Z",fill:"#9CA3AF"})]),["children",vi.Children.toArray(Array.from(e))])])))];return["children",vi.Children.toArray(Array.from(t))]})()])));function Gg(e,t,n){let r;switch(r=e?0:0===n.tag||4===n.tag?2:3===n.tag?t?3:4:1===n.tag?4:1,r){case 0:return Rg;case 1:case 2:return Ug;case 3:return Fg;case 4:return Wg}}const Hg=d("div",{className:"relative h-0.5 w-full"}),Vg=d("div",{className:"relative h-0.5 w-full bg-gray-300"}),zg=d("div",{className:"relative h-0.5 w-full bg-primary-base"});function Yg(e){let t;switch(t=null==e?1:0===e.tag||4===e.tag?0:2,t){case 0:return zg;case 1:return Hg;case 2:return Vg}}function qg(e){let t,n;return d("div",ft(Jn([["className","inline-flex h-11 w-10 flex-col items-center justify-start"],(t=[d("div",ft(Jn([["className","inline-flex h-4 items-center justify-center self-stretch"],(n=[d("div",{className:vn(" ",[e,"relative h-0.5 w-10"])})],["children",vi.Children.toArray(Array.from(n))])])))],["children",vi.Children.toArray(Array.from(t))])])))}const Jg=qg("bg-gray-300"),Zg=qg("bg-primary-base");function Kg(e){switch(e.tag){case 0:case 4:return Zg;default:return Jg}}function Xg(e,t,n,r){const i=!e&&(!!ot(n.Status,new z$(0))||ot(n.Status,new z$(2))),o=e?"text-primary-base":ot(n.Status,new z$(2))||ot(n.Status,new z$(0))?"text-gray-900 group-hover:text-primary-base":"text-gray-500",s=d("div",{className:"absolute inset-0 group-hover:bg-primary-base group-hover:opacity-10 rounded"});return d("div",ft(yr(mr((()=>br(gr(["className",vn(" ",yr(mr((()=>br(gr("h-11 flex-col justify-start items-center inline-flex"),mr((()=>gr(i?"cursor-pointer":"cursor-default"))))))))]),mr((()=>br(i?gr(["onClick",$t(1,t,[n])]):$r(),mr((()=>{let e,t;return gr((e=[d("div",{className:"h-4 inline-flex items-center justify-center self-stretch",children:vi.Children.toArray(Array.from(r))}),d("div",ft(Jn([["className","relative group h-7 px-2 py-1 justify-center items-center gap-2 inline-flex"],(t=yr(mr((()=>br(gr(i?s:null),mr((()=>{return gr(d("div",{className:vn(" ",[o,"text-sm font-medium leading-tight whitespace-nowrap"]),children:(e=n,function(e){switch(e.tag){case 1:return"Contacts";case 2:return"Bank";case 3:return"Tax";case 4:return"Super";case 5:return ts.DisplayName;case 6:return"Benefits";case 7:return"Fair Work";case 8:return os.DisplayName;default:return"Profile"}}(e.Id))}));var e})))))),["children",vi.Children.toArray(Array.from(t))])])))],["children",vi.Children.toArray(Array.from(e))]))})))))))))))}function Qg(e,t,n){const r=ot(n.Id,new G$(1))?new G$(0):n.Id,i=(t,n)=>{e(new og(1,new ig(2,t)))};return((e,t,n)=>{e:for(;;){const o=e,s=t,a=n;if(Rn(o))return a;if(Rn(Fn(o))){const e=Yg(s),t=ot(Un(o).Id,r);return Kn(a,jn(Xg(t,i,Un(o),Jn([e,Gg(t,ot(Un(o).Id,new G$(6)),Un(o).Status),Hg]))))}{const l=Yg(s),c=ot(Un(o).Id,r);e=Fn(o),t=Un(o).Status,n=Kn(a,Jn([Xg(c,i,Un(o),Jn([l,Gg(c,ot(Un(o).Id,new G$(6)),Un(o).Status),Yg(Un(o).Status)])),Kg(Un(o).Status)]));continue e}}})(cg(t),void 0,Ln())}function ew(e){let t;const n=e.body,r=e.currentStep,i=e.detail,o=e.dispatch,s=function(e){const t=function(e){return["(max-width: "+e.MobileLandscape+"px)","(max-width: "+e.Tablet+"px)","(max-width: "+e.Desktop+"px)","(max-width: "+e.WideScreen+"px)"]}(At(void 0,Mg)),n=[Lg(t[0]),Lg(t[1]),Lg(t[2]),Lg(t[3])];return new Dg(n[0]?0:n[1]?1:n[2]?2:n[3]?3:4)}();return d("div",ft(Jn([["className","w-full flex-col justify-start items-center inline-flex bg-white"],(t=yr(mr((()=>br(1===Wn(i.Steps)?gr(null):0===s.tag?gr(jg(o,i.Steps,r)):gr(function(e,t,n){let r,i;const o=d("div",{className:"hidden lg:inline text-gray-500 text-sm font-medium leading-tight",children:ag(t.JourneyType)}),s=Nt(Fo,Ot((e=>e.CompanyName),t.Branding)),a=d("div",ft(Jn([["className","grow shrink basis-0 flex-col justify-start items-start inline-flex"],(r=[o,At(Nt((e=>d("div",{className:"hidden lg:inline text-center text-gray-900 text-base font-semibold leading-normal",children:e})),s),null)],["children",vi.Children.toArray(Array.from(r))])]))),l=d("div",{className:"grow shrink basis-0"});return d("div",ft(Jn([["className","w-full h-20 px-8 py-4 bg-white border-b border-gray-300 justify-between items-center inline-flex sticky left-0 right-0 top-0 z-50"],(i=yr(mr((()=>br(ot(t.AppMode,new Nd(0))?gr(l):gr(a),mr((()=>{let r;return br(gr(d("div",ft(Jn([["className","bg-white justify-center items-start flex"],(r=Qg(e,t.Steps,n),["children",vi.Children.toArray(Array.from(r))])])))),mr((()=>gr(d("div",{className:"grow shrink basis-0"})))))})))))),["children",vi.Children.toArray(Array.from(i))])])))}(o,i,r)),mr((()=>gr(d("div",{className:"p-4",children:n})))))))),["children",vi.Children.toArray(Array.from(t))])])))}var tw,nw;function rw(){return rw=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},rw.apply(this,arguments)}const iw=function(e){return d("svg",rw({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),tw||(tw=d("path",{d:"M16 16v14M11 21l5-5 5 5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),nw||(nw=d("path",{d:"M11 29H4a3 3 0 0 1-3-3V2h11l3 5h16v19a3 3 0 0 1-3 3h-7",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var ow;function sw(){return sw=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},sw.apply(this,arguments)}const aw=function(e){return d("svg",sw({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ow||(ow=d("path",{d:"M19.7 4.3c-.4-.4-1-.4-1.4 0L12 10.6 5.7 4.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4l6.3 6.3-6.3 6.3c-.4.4-.4 1 0 1.4.2.2.4.3.7.3.3 0 .5-.1.7-.3l6.3-6.3 6.3 6.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L13.4 12l6.3-6.3c.4-.4.4-1 0-1.4Z",fill:"#9CA3AF"})))};function lw(e){const t=Or(e,1);return d(iw,t)}function cw(e){const t=Or(e,1);return d(aw,t)}function uw(e,t,n,r,i){let o,s,a,l,c,u,f,h,m,p,$,g,w,y;return v=d("div",ft(Jn([["className","w-full h-full md:pb-8 bg-white flex-col justify-start items-start md:items-center inline-flex"],(o=[d("div",ft(Jn([["className","w-full md:self-stretch h-10 p-4 bg-white border-gray-200 flex-col justify-start items-end gap-4 flex"],(s=[d("div",ft(Jn([["className","w-6 h-6 relative cursor-pointer"],["onClick",e=>{i(new og(6,{InjectedBenefits:r}))}],(a=[cw([])],["children",vi.Children.toArray(Array.from(a))])])))],["children",vi.Children.toArray(Array.from(s))])]))),d("div",ft(Jn([["className","w-full md:w-[560px] grow shrink basis-0 px-4 md:px-0 pb-8 md:pb-0 bg-white flex-col justify-between md:justify-start items-center md:gap-14 flex"],(l=[d("div",ft(Jn([["className","self-stretch h-64 md:h-56 flex-col justify-start items-center gap-8 flex"],(c=[d("div",ft(Jn([["className","self-stretch h-64 flex-col justify-start items-center gap-6 flex"],(u=[d("div",ft(Jn([["className","self-stretch h-24 flex-col justify-start items-center gap-4 flex"],(f=[d("div",ft(Jn([["className","w-12 h-12 relative rounded-lg"],(h=[d("div",{className:"w-12 h-12 relative bg-primary-base opacity-10 rounded-lg"}),d("div",ft(Jn([["className","w-8 h-8 left-2 top-2 absolute"],(m=[d("div",ft(Jn([["className","w-7 h-7 left-px top-0.5 absolute"],(p=[lw([["className","text-primary-base"]])],["children",vi.Children.toArray(Array.from(p))])])))],["children",vi.Children.toArray(Array.from(m))])])))],["children",vi.Children.toArray(Array.from(h))])]))),d("div",{className:"self-stretch text-center text-gray-900 text-2xl md:text-3xl font-bold leading-7 md:leading-9",children:e})],["children",vi.Children.toArray(Array.from(f))])]))),d("div",ft(Jn([["className","self-stretch h-40 md:h-24 flex-col justify-start items-center gap-3 md:gap-4 flex"],($=[d("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:t}),d("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:n})],["children",vi.Children.toArray(Array.from($))])])))],["children",vi.Children.toArray(Array.from(u))])])))],["children",vi.Children.toArray(Array.from(c))])]))),d("div",ft(Jn([["className","self-stretch h-24 flex-col justify-start items-center gap-4 flex cursor-pointer"],["onClick",e=>{i(new og(7,{InjectedBenefits:r}))}],(g=[d("div",ft(Jn([["className","self-stretch md:self-auto md:w-60 px-4 py-2 bg-primary-base hover:bg-primary-hover rounded-md shadow justify-center items-center inline-flex"],(w=[d("div",{className:"text-white text-base font-semibold leading-normal",children:"Submit and continue"})],["children",vi.Children.toArray(Array.from(w))])]))),d("div",ft(Jn([["className","self-stretch md:self-auto md:w-60 px-4 py-2 bg-secondary-light hover:bg-secondary-hover rounded-md shadow justify-center items-center inline-flex cursor-pointer"],["onClick",e=>{i(new og(6,{InjectedBenefits:r}))}],(y=[d("div",{className:"text-primary-dark text-base font-semibold leading-normal",children:"Keep editing"})],["children",vi.Children.toArray(Array.from(y))])])))],["children",vi.Children.toArray(Array.from(g))])])))],["children",vi.Children.toArray(Array.from(l))])])))],["children",vi.Children.toArray(Array.from(o))])]))),d("div",{className:"absolute inset-0",children:vi.Children.toArray([v])});var v}function fw(e){let t,n;const r=e.dispatch;return uw("Before you continue",(t=Ot((e=>e.CompanyName),e.branding),null==t?"You’ll need to submit your pay information to your employer before you can access your workplace benefits.":(n=t,`You’ll need to submit your pay information to ${Fo(n)} before you can access your workplace benefits.`)),"Once you submit, you’ll be unable to view or edit your details.",!0,r)}function dw(e){let t,n;const r=e.dispatch;return uw("Submit your details",(t=Ot((e=>e.CompanyName),e.branding),null==t?"You’ll need to submit your pay information to your employer to continue.":(n=t,`You’ll need to submit your pay information to ${Fo(n)} to continue.`)),"Once you submit, you’ll be unable to view or edit your details.",!1,r)}function hw(e,t){let n;return d("div",ft(Jn([["className",vn(" ",["animate-pulse w-full relative",e,t])],(n=[d("div",{className:vn(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",vi.Children.toArray(Array.from(n))])])))}const mw=hw("h-9","max-w-96"),pw=hw("h-6","max-w-96"),$w=hw("h-80","max-w-96"),gw=hw("h-10","max-w-48"),ww=(()=>{let e,t;const n=[d("div",ft(Jn([["className","w-full h-full px-8 py-20 bg-white rounded border border-zinc-200 flex-col justify-start items-center gap-10 inline-flex"],(e=[d("div",ft(Jn([["className","max-w-96 w-full flex-col justify-start items-center gap-6 flex"],(t=[mw,d("div",{className:"self-stretch h-14 flex-col justify-start items-center gap-2 flex",children:vi.Children.toArray([pw,pw])})],["children",vi.Children.toArray(Array.from(t))])]))),$w,gw],["children",vi.Children.toArray(Array.from(e))])])))];return d(m,{},...n)})();function yw(e){let t;const n=e.accessToken,r=e.appMode,i=function(e,t,n){return Zu((()=>Hu((()=>e),t,((e,t)=>{}))),[])}(function(e){const t=function(e,t){if("string"!=typeof e)throw new f$("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(u$(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return u$(t)}}(e.split(".")[n]))}catch(e){throw new f$("Invalid token specified: "+e.message)}}(e);return[new sg(Io(t.sub),Ts(t.workflow.instanceId),new d$(0),new ig(0),Ln(),new H$(0)),Nu()]}(n),((e,t)=>pg(n,r,e,t))),o=i[0],s=i[1];Fi(function(e,t){const n=Gi(new Vs(!1));return Wi((()=>Bi((()=>{n.current.cancel()}))),[]),Vi((r=>{var i;null!=(i=n.current)&&i.isCancelled||ta(Js.Delay((()=>Js.TryWith(Js.Delay((()=>(t(new d$(1)),Js.Bind(e(r),(e=>(t(new d$(2,e)),Js.Zero())))))),(e=>(t(new d$(3,e)),Js.Zero()))))),n.current)}))}((()=>function(e,t){return mg(e,t)}(o.ProcessInstanceId,n)),(e=>{s(new og(0,e))})),[]),Fi((()=>{new ResizeObserver((e=>{oa()})).observe(document.body)}),[]),Fi((()=>{const e=[o.WorkflowDetail,o.CurrentView];let t;switch(t=2===e[0].tag?2===e[1].tag?ot(e[1].fields[0].Id,new G$(4))?0:ot(e[1].fields[0].Id,new G$(5))?1:2:2:3,t){case 0:case 1:case 3:break;case 2:yd(jn(Od(r)),2,2)}}),[o.CurrentView,o.WorkflowDetail]),Ui((()=>{window.addEventListener("step-completion",(e=>{s(new og(3,e))}))}));const a=o.WorkflowDetail;let l,c;switch(1===a.tag?l=0:2===a.tag?1===a.fields[0].tag?l=2:(l=1,c=a.fields[0].fields[0]):l=3===a.tag?2:0,l){case 0:return d("div",{children:["Please wait..."]});case 1:return d("div",ft(Jn([["className","w-full mx-auto pb-2 bg-white"],(t=yr(mr((()=>br(kr((e=>d("style",{children:[e]})),o.CssOverrides),mr((()=>{const e=o.CurrentView;switch(e.tag){case 1:return br(gr(function(e,t){let n,r,i;const o=Gi(void 0);return Ri((()=>{const t=new ResizeObserver((t=>{for(let n=0;n<=t.length-1;n++)null!=lg(t[n].contentRect.width)||e(new og(2))}));return xr((e=>{t.observe(e)}),It(o.current)),{Dispose(){xr((e=>{t.unobserve(e)}),It(o.current))}}})),d("div",ft(Jn([["ref",o],["className","absolute inset-0"],(n=[d("div",ft(Jn([["className","w-full h-full bg-white flex-col justify-start items-start inline-flex"],(r=[Ag(t),d("div",ft(Jn([["className","p-6 bg-white flex-col justify-start items-start inline-flex"],(i=Eg(e,t),["children",vi.Children.toArray(Array.from(i))])])))],["children",vi.Children.toArray(Array.from(r))])])))],["children",vi.Children.toArray(Array.from(n))])])))}(s,c)),mr((()=>(la(0),$r()))));case 2:{const t=e.fields[0];let i;const a=t.Id;return i=4===a.tag?d(Tg,{step:new G$(4),props:[new Ng(1,n),new Ng(0,`${Sd}/super-selection/backend/v1.0/`),new Og(0,Od(r))],effect:()=>{s(new og(11)),la(2500)},children:[]}):d(Tg,{step:a,props:[new Ng(1,n),new Ng(0,Sd),new Pg(0,Ze(Ds(o.ProcessInstanceId)))],effect:()=>{la(1500)},children:[]}),gr(d(ew,{dispatch:s,detail:c,currentStep:t,body:i}))}case 3:return br(c.IsBenefitsStepEnabled?gr(d(fw,{branding:c.Branding,dispatch:s})):gr(d(dw,{branding:c.Branding,dispatch:s})),mr((()=>(la(0),$r()))));case 4:return br(gr(d("div",{className:"text-center mt-5",children:"We had an issue. Please try again shortly."})),mr((()=>(la(0),$r()))));case 5:{const e=Nt(Bf,c.Branding),t=[c.AppMode,c.JourneyType];let n;switch(n=0===t[0].tag?0:1===t[1].tag?2:2===t[1].tag?3:3===t[1].tag||4===t[1].tag?4:1,n){case 0:return gr(ww);case 1:return gr(ug(Qp(e,"onboarding")));case 2:return gr(ug(Qp(e,"information request")));case 3:return gr(ug(e$()));case 4:return gr(ug(Ki()))}}default:return gr(d("div",{children:["Please wait..."]}))}})))))),["children",vi.Children.toArray(Array.from(t))])])));case 2:return ug(Ki())}}class vw extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class bw extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function Cw(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent(Ed),i=encodeURIComponent((o=new Nd(0),`${window.location.protocol}//${window.location.host}${Od(o)}`));var o;return Js.Delay((()=>{let e,t,o;const s=Sh((t=_h(new Pd(1),Ch(`${kd}/connect/token`)),e=xh(yh("application/x-www-form-urlencoded"),t),kh(new Dd(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${i}`),e)));return o=Js.Bind(s,(e=>Js.Return(new $o(0,e)))),Js.Bind(o,(e=>{const t=e;if(1===t.tag)return Js.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=pp(ht(2,Dp(Wp(),void 0,void 0)),e.responseText);return Js.Return(t)}return Js.Return(new $o(1,"Unexpected result from backend"))}}))}))}function _w(e){return ea(e)}function xw(e,t){return Js.Delay((()=>{let e;return Js.Bind((r=[(e=Cw(0,t),Js.Bind(e,(e=>Js.Return(e)))),Js.Delay((()=>Js.Bind(_w(2e3),(()=>Js.Return()))))],n=()=>function(e){return Qs((t=>e.then(t[0]).catch((e=>(e instanceof zs?t[2]:t[1])(e)))))}(Promise.all(Array.from(r,(e=>{return t=e,new Promise(((e,r)=>na(t,e,r,r,n||Ks)));var t,n})))),qs((e=>n()(e)))),(e=>Js.Return(e[0])));var n,r}))}function kw(){const e=St(window.sessionStorage.getItem("credentials"));if(null!=e){const t=e,n=pp(ht(2,Dp(Wp(),void 0,void 0)),t);return 1===n.tag?void 0:n.fields[0]}}function Sw(e,t){return Ou((e=>new a$(3,e)),Du(new Up(0,new sd(0),e,t)))}function Iw(e){return Sw(e,!1)}const Aw=d("div",ft(Jn([["className","flex flex-col justify-center items-center pt-10"],(()=>{const e=[Ki()];return["children",vi.Children.toArray(Array.from(e))]})()])));var Ew;!function(e){zu(void 0,e)}(("workflows-app",Ew=Hu((function(){const e=o$(vd(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new s$(t,new od(0),n);switch(t.tag){case 4:case 1:case 2:case 5:case 6:return[r,Nu()];case 0:{const e=[n,kw()];let t;switch(t=0===e[0].tag||2===e[0].tag||null==e[1]?1:0,t){case 0:return[new s$(r.CurrentPage,new od(2,new $o(0,e[1])),r.AppMode),Nu()];case 1:return[r,Du(new a$(5))]}}default:return[r,Iw(t.fields[0])]}}),(function(e,t){switch(e.tag){case 1:{const n=e.fields[0];return[new s$(new r$(3,n),t.Credentials,t.AppMode),Iw(n)]}case 2:return[new s$(new r$(4),t.Credentials,t.AppMode),Ou((e=>new a$(3,e)),Du(new Up(1)))];case 3:{const n=function(e,t,n){let r;return 1===e.tag?1===t.tag?[t,Lu((e=>{Bu(e)}),_w,1e3,(()=>new Up(1)))]:2===t.tag?1===t.fields[0].tag?[t,Nu()]:[t,Lu((e=>{Bu(e)}),_w,2e3,(()=>new Up(2)))]:[new od(2,new $o(1,"No current authenticated user")),Nu()]:2===e.tag?[t,(r=window.location.pathname,Tu((e=>{yd(jn(r),1,2)})))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new od(2,new $o(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),Nu()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new od(2,new $o(0,e.fields[0].fields[0].fields[0])),e.fields[2]?Nu():Du(new Up(2))]):[new od(1),Mu((e=>{Bu(e)}),(e=>xw(e[0],e[1])),[n,e.fields[1]],(t=>{const n=[new sd(1,t),e.fields[1],e.fields[2]];return new Up(0,n[0],n[1],n[2])}),(t=>{const n=[new sd(1,new $o(1,t.message)),e.fields[1],e.fields[2]];return new Up(0,n[0],n[1],n[2])}))]}(e.fields[0],t.Credentials,t.AppMode),r=n[0],i=[r,t.AppMode];let o,s;return 2===i[0].tag&&0===i[0].fields[0].tag&&1===i[1].tag?(o=0,s=i[0].fields[0].fields[0]):o=1,0===o&&function(e){let t;const n=["credentials",(t=new Rp(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),Nm(0,Tm(Wp(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(s),[new s$(t.CurrentPage,r,t.AppMode),Ou((e=>new a$(3,e)),n[1])]}case 4:return[t,(n=e.fields[0],Sw(n,!0))];case 5:return[new s$(new r$(6),t.Credentials,t.AppMode),Nu()];default:{const n=o$(e.fields[0])[0],r=new s$(n,t.Credentials,t.AppMode);return 3===n.tag?[r,Iw(n.fields[0])]:[r,Nu()]}}var n}),(function(e,t){let n;const r=d("div",ft(Jn([["className",vn(" ",yr(mr((()=>br(gr("workflows-app"),mr((()=>br(gr("font-inter"),mr((()=>function(e){switch(e.CurrentPage.tag){case 1:case 5:case 6:default:return Ln();case 3:case 4:case 2:return jn("bg-white h-full")}}(e)))))))))))],(n=yr(mr((()=>br(gr(function(e){switch(e.tag){case 0:default:return null;case 1:return d("style",{children:["\n html {\n height: 100%;\n }\n body {\n height: 100%;\n }\n #workflows-app {\n height: 100%;\n }"]})}}(e.AppMode)),mr((()=>{const n=e.CurrentPage;switch(n.tag){case 3:case 4:{const t=e.Credentials;let n;switch(n=2===t.tag&&1===t.fields[0].tag?0:1,n){case 0:return gr(Aw);case 1:return gr(d(Qi,null))}}case 1:return gr(d(ku,null));case 2:return gr(d(n$,{inviteCode:n.fields[0],navigateAuthCodeExchangePage:e=>{t(null==e?new a$(2):new a$(1,e))},startAuthCodeExchangeBackground:e=>{t(new a$(4,e))}}));case 5:return gr(d("h1",{children:["Not found"]}));case 6:return gr(d(l$,null));default:{const t=e.Credentials;let n,r;switch(2===t.tag&&0===t.fields[0].tag?(n=0,r=t.fields[0].fields[0]):n=1,n){case 0:return gr(d(yw,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return gr(Aw)}}}})))))),["children",vi.Children.toArray(Array.from(n))])])));return bd({hashMode:2,onUrlChanged:e=>{t(new a$(0,e))},application:d(m,{},r)})})),function(e,t,n){return Vu(((r,i)=>{Se(e((e=>t=>e===t),function(e){return pt(2,e.view)}(n),r,i),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const i=new vw(n,(()=>t(n,r)),e);return d(bw,i)}(ht(2,e),ht(2,t),n,r)),"workflows-app",Ew)))})()})();
|