@flarehr/workflows-app 3.45.0 → 3.47.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 +7 -6
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={703:(e,t,n)=>{"use strict";var r=n(414);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}},697:(e,t,n)=>{e.exports=n(703)()},414: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=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function l(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 m(e){return e.children}function p(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(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?g(e):null}function w(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 w(e)}}function v(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,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=l({},i)).__v=i.__v+1,A(a,i,r,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?g(i):o,i.__h),O(n,i),i.__e!=o&&w(i)))}))}function b(e,t,n,r,i,o,a,u,l,f){var d,p,w,v,y,b,C,k=r&&r.__k||c,S=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(v=n.__k[d]=null==(v=t[d])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?h(null,v,null,null,v):Array.isArray(v)?h(m,{children:v},null,null,null):v.__b>0?h(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(w=k[d])||w&&v.key==w.key&&v.type===w.type)k[d]=void 0;else for(p=0;p<S;p++){if((w=k[p])&&v.key==w.key&&v.type===w.type){k[p]=void 0;break}w=null}A(e,v,w=w||s,i,o,a,u,l,f),y=v.__e,(p=v.ref)&&w.ref!=p&&(C||(C=[]),w.ref&&C.push(w.ref,null,v),C.push(p,v.__c||y,v)),null!=y?(null==b&&(b=y),"function"==typeof v.type&&v.__k===w.__k?v.__d=l=_(v,l,e):l=x(e,v,w,k,y,l),"function"==typeof n.type&&(n.__d=l)):l&&w.__e==l&&l.parentNode!=e&&(l=g(w))}for(n.__e=b,d=S;d--;)null!=k[d]&&("function"==typeof n.type&&null!=k[d].__e&&k[d].__e==n.__d&&(n.__d=g(r,d+1)),M(k[d],k[d]));if(C)for(d=0;d<C.length;d++)N(C[d],C[++d],C[++d])}function _(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?_(r,t,n):x(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 x(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 k(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||u.test(t)?n:n+"px"}function S(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||k(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||k(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?E:I,o):e.removeEventListener(t,o?E:I,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 I(e){this.l[e.type+!1](t.event?t.event(e):e)}function E(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,i,o,a,s,c,u){var f,d,h,g,w,v,y,_,C,x,k,S,I,E=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(u=r.__h,c=n.__e=r.__e,n.__h=null,a=[c]),(f=t.__b)&&f(n);try{e:if("function"==typeof E){if(_=n.props,C=(f=E.contextType)&&i[f.__c],x=f?C?C.props.value:f.__:i,r.__c?y=(d=n.__c=r.__c).__=d.__E:("prototype"in E&&E.prototype.render?n.__c=d=new E(_,x):(n.__c=d=new p(_,x),d.constructor=E,d.render=P),C&&C.sub(d),d.props=_,d.state||(d.state={}),d.context=x,d.__n=i,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=E.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,E.getDerivedStateFromProps(_,d.__s))),g=d.props,w=d.state,h)null==E.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==E.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,x),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,x)||n.__v===r.__v){d.props=_,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(_,d.__s,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,w,v)}))}if(d.context=x,d.props=_,d.__v=n,d.__P=e,k=t.__r,S=0,"prototype"in E&&E.prototype.render)d.state=d.__s,d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++S<25);d.state=d.__s,null!=d.getChildContext&&(i=l(l({},i),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(g,w)),I=null!=f&&f.type===m&&null==f.key?f.props.children:f,b(e,Array.isArray(I)?I:[I],n,r,i,o,a,s,c,u),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=T(r.__e,n,r,i,o,a,s,u);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(u||null!=a)&&(n.__e=c,n.__h=!!u,a[a.indexOf(c)]=null),t.__e(e,n,r)}}function O(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 T(t,n,r,i,o,a,c,u){var l,d,h,m=r.props,p=n.props,w=n.type,v=0;if("svg"===w&&(o=!0),null!=a)for(;v<a.length;v++)if((l=a[v])&&"setAttribute"in l==!!w&&(w?l.localName===w:3===l.nodeType)){t=l,a[v]=null;break}if(null==t){if(null===w)return document.createTextNode(p);t=o?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,p.is&&p),a=null,u=!1}if(null===w)m===p||u&&t.data===p||(t.data=p);else{if(a=a&&e.call(t.childNodes),d=(m=r.props||s).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!u){if(null!=a)for(m={},v=0;v<t.attributes.length;v++)m[t.attributes[v].name]=t.attributes[v].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||S(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]||S(e,o,t[o],n[o],r)}(t,p,m,o,u),h)n.__k=[];else if(v=n.props.children,b(t,Array.isArray(v)?v:[v],n,r,i,o&&"foreignObject"!==w,a,c,a?a[0]:r.__k&&g(r,0),u),null!=a)for(v=a.length;v--;)null!=a[v]&&f(a[v]);u||("value"in p&&void 0!==(v=p.value)&&(v!==t.value||"progress"===w&&!v||"option"===w&&v!==m.value)&&S(t,"value",v,m.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==t.checked&&S(t,"checked",v,m.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 M(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]&&M(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 D(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(m,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),O(c,n)}function R(e,t){D(e,t,R)}function B(t,n,r){var i,o,a,s=l({},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,p.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=l({},this.state),"function"==typeof e&&(e=e(l({},n),this.props)),e&&l(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),v(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},p.prototype.render=m,i=[],y.__r=0,a=0;var L,j,U,F,z=0,G=[],H=[],W=t.__b,V=t.__r,Z=t.diffed,q=t.__c,$=t.unmount;function Y(e,n){t.__h&&t.__h(j,e,z||n),z=0;var r=j.__H||(j.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:H}),r.__[e]}function J(e){return z=1,X(ae,e)}function X(e,t,n){var r=Y(L++,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=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 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(L++,3);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,j.__H.__h.push(r))}function Q(e,n){var r=Y(L++,4);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,j.__h.push(r))}function ee(e,t){var n=Y(L++,7);return oe(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=G.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,W&&W(e)},t.__r=function(e){V&&V(e),L=0;var t=(j=e.__c).__H;t&&(U===j?(t.__h=[],j.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=H,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(ie),t.__h=[])),U=j},t.diffed=function(e){Z&&Z(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==G.push(n)&&F===t.requestAnimationFrame||((F=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!==H&&(e.__=e.__V),e.i=void 0,e.__V=H}))),U=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)}})),q&&q(e,n)},t.unmount=function(e){$&&$(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 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 ue(e){this.props=e}(ue.prototype=new p).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var le=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),le&&le(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 ge(){this.__u=0,this.t=null,this.__b=null}function we(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ve(){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)},(ge.prototype=new p).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=we(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)},ge.prototype.componentWillUnmount=function(){this.t=[]},ge.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(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 be(e){return this.getChildContext=function(){return e.context},e.children}function _e(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(be,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ve.prototype=new p).__a=function(e){var t=this,n=we(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()}},ve.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},ve.prototype.componentDidUpdate=ve.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,xe=/^(?: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]/,ke="undefined"!=typeof document,Se=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Ie(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 Ee=t.event;function Ae(){}function Oe(){return this.cancelBubble}function Te(){return this.defaultPrevented}t.event=function(e){return Ee&&(e=Ee(e)),e.persist=Ae,e.isPropagationStopped=Oe,e.isDefaultPrevented=Te,e.nativeEvent=e};var Ne,Me={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];ke&&"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)&&!Se(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&&xe.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=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&&(Me.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Me))}e.$$typeof=Ce,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Ne=e.__c};var Re={ReactCurrentDispatcher:{current:{readContext:function(e){return Ne.__n[e.__c].props.value}}}};function Be(e){return!!e&&e.$$typeof===Ce}function Le(e){e()}const je={useState:J,useReducer:X,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,Le]},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:Le,useRef:function(e){return z=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){z=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 z=8,ee((function(){return e}),t)},useContext:function(e){var t=j.context[e.__c],n=Y(L++,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:Ie,hydrate:function(e,t,n){return R(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(_e,{__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(v)},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 Be(e)?B.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Be,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ue,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:m,Suspense:ge,SuspenseList:ve,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:Re};function Ue(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Fe(e){return"function"==typeof e.GetHashCode}function ze(e){return null!=e&&"function"==typeof e.Dispose}function Ge(e){ze(e)&&e.Dispose()}function He(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 We{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 We(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 qe{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 $e(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(Fe(e))return e.GetHashCode();if(Ue(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:Fe(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):Ue(e)?Ue(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,ut)}function ut(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):Ue(e)?Ue(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=ut(e[a],t[a]),0!==o)return o}return 0}(e,t):-1}function lt(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 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 gt(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 wt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+$e(~~(e/36e5),2)+":"+$e(n,2)}function vt(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 yt(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 bt(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," ")+wt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return yt(o,t,!0);switch(t){case"D":case"d":return vt(o,"first");case"T":case"t":return vt(o,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+wt(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 yt(e,t,n);switch(t){case"D":case"d":return n?vt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?vt(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 $e(e.getFullYear(),4)+"-"+$e(e.getMonth()+1,2)+"-"+$e(e.getDate(),2)+"T"+$e(e.getHours(),2)+":"+$e(e.getMinutes(),2)+":"+$e(e.getSeconds(),2)+"."+$e(e.getMilliseconds(),3)+(t?wt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function _t(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Ct(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 xt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=Ct(e),i=null!=r?t&&"Z"===r?1:2:0;return _t(n.getTime(),i)}(e),!0}catch(e){return!1}}function kt(){return function(e){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 u=_t(c,s);return e<=99&&u.setFullYear(e,t-1,n),u}(St(e),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)}(_t(Date.now(),2))}function St(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const It=Symbol("numeric");function Et(e){return"number"==typeof e||(null==e?void 0:e[It])}function At(e,t){return"number"==typeof e?e*t:e[It]().multiply(t)}function Ot(e,t){return"number"==typeof e?e.toFixed(t):e[It]().toFixed(t)}function Tt(e,t){return"number"==typeof e?e.toPrecision(t):e[It]().toPrecision(t)}function Nt(e,t){return"number"==typeof e?e.toExponential(t):e[It]().toExponential(t)}function Mt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[It]().toHex()}function Pt(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 Dt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Rt(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}function Bt(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+=Bt(r);else{if(100===t){n+="; ...";break}n+="; "+Bt(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+" = "+Bt(n,t+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class Lt{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=Bt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>Bt(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||!!He(this,e)&&this.tag===e.tag&&it(this.fields,e.fields)}CompareTo(e){return this===e?0:He(this,e)?this.tag===e.tag?ct(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class jt{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+" = "+Bt(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(He(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(He(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=ut(e[n[r]],t[n[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class Ut{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)}}function Ft(e){return function(e){return e instanceof class{constructor(e){this.message=e}}||e instanceof Error}(e)?e:new Error(String(e))}const zt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Gt=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,Ht=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Wt(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function Vt(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 Zt(e){return{input:e,cont:(t=e,e=>{zt.lastIndex=0;const n=[],r=[];let i=0,o=zt.exec(t);for(;o;){const e=o.index+(o[1]||"").length;n.push(t.substring(i,e).replace(/%%/g,"%")),r.push(o),i=zt.lastIndex,zt.lastIndex-=1,o=zt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(i).replace(/%%/g,"%")),Kt(e,n,r))})};var t}function qt(e,t){let n=0,r=0,i="";Gt.lastIndex=0;let o=Gt.exec(e);for(;o;){const a=o.index+(o[1]||"").length;i+=e.substring(r,a).replace(/%%/g,"%");const[,,s,c,u,l]=o;r=Gt.lastIndex,i+=Xt(t[n++],s,c,u,l),Gt.lastIndex=r-1,o=Gt.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function $t(e,t){return"string"==typeof t?e(t):t.cont(e)}function Yt(e){return $t((e=>e),e)}function Jt(e){return $t((e=>{throw new Error(e)}),e)}function Xt(e,t,n,r,i){let o="";if(t=t||"",i=i||"",Et(e))switch("x"!==i.toLowerCase()&&(Wt(e,0)?(e=At(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=Ot(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Tt(e,r):Tt(e);break;case"e":case"E":e=null!=r?Nt(e,r):Nt(e);break;case"x":e=Mt(e);break;case"X":e=Mt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?bt(e):Bt(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=rn(e,n-o.length,a,i)):rn(o+e,n,a,i)}return e}function Kt(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 u=n;if(i>=0)u=i,i=-1;else if("*"===u){if(e<0)throw new Error("Non-negative number required");i=e;continue}a+=s[0],a+=Xt(e,t,u,r,o),s.splice(0,1),c.splice(0,1)}return 0===c.length?(a+=s[0],e(a)):Kt(e,s,c,a,i)}}function Qt(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(Ht,((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(Et(s))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":s=Ot(s,o=null!=o?o:2);break;case"g":case"G":s=null!=o?Tt(s,o):Tt(s);break;case"e":case"E":s=null!=o?Nt(s,o):Nt(s);break;case"p":case"P":o=null!=o?o:2,s=Ot(At(s,100),o)+" %";break;case"d":case"D":s=null!=o?on(String(s),o,"0"):String(s);break;case"x":case"X":s=null!=o?on(Mt(s),o,"0"):Mt(s),"X"===i&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{Wt(s,0)&&(s=At(s,-1),e="-"),r=null==r?"":r.substring(1),s=Ot(s,Math.max(r.length,0));let[i,o]=s.split(".");o||(o=""),i=on(i,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>o.length?o=function(e,t,n){return rn(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?bt(s,a||i):Bt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=rn(String(s),Math.abs(r)," ",r<0)),s}))}function en(e){return"string"!=typeof e||0===e.length}function tn(e){return"string"!=typeof e||/^\s*$/.test(e)}function nn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function rn(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 on(e,t,n){return rn(e,t,n)}function an(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(Dt),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let c=!0,u=0;do{const t=s.exec(e);if(null===t){const t=o?e.substring(u).trim():e.substring(u);(!i||t.length>0)&&a.push(t),c=!1}else{const r=o?e.substring(u,t.index).trim():e.substring(u,t.index);(!i||r.length>0)&&(null!=n&&a.length+1===n?(a.push(o?e.substring(u).trim():e.substring(u)),c=!1):a.push(r)),u=s.lastIndex}}while(c);return a}function sn(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)}class cn{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 cn?e.value:e)}CompareTo(e){return null==e?1:ut(this.value,e instanceof cn?e.value:e)}}function un(e){return null==e||e instanceof cn?new cn(e):e}function ln(e){if(null==e)throw new Error("Option has no value");return e instanceof cn?e.value:e}function fn(e){return null==e?void 0:e}function dn(e){return null==e?[]:[ln(e)]}function hn(e,t){return null!=e?ln(e):t}function mn(e,t){return null!=t?un(e(ln(t))):void 0}function pn(){return e=ut,{Compare:(t,n)=>e(t,n)};var e}function gn(e,t){return"function"==typeof e?new e(t):new Array(t)}function wn(e,t,n,r){const i=0|t;return e.fill(r,i,i+n)}function vn(e,t,n){const r=0|t.length,i=gn(n,r);for(let n=0;n<=r-1;n++)i[n]=e(t[n]);return i}function yn(e,t,n){return n.reduce(e,t)}function bn(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}}class _n extends jt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+nn("; ",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|ut(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 Cn(this)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ve(this)}}class Cn{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 xn(){return new _n(null,void 0)}function kn(e,t){return new _n(e,t)}function Sn(e){return null==e.tail}function In(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 En(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function An(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function On(){return xn()}function Tn(e,t){return kn(e,t)}function Nn(e){return kn(e,xn())}function Mn(e){return Sn(e)}function Pn(e){return In(e)}function Dn(e){return En(e)}function Rn(e){return An(e)}function Bn(e){const t=0|In(e),n=wn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,i=t;if(Sn(i))break;n[r]=En(i),e=r+1,t=An(i)}})(0,e),n}function Ln(e,t,n){let r=t,i=n;for(;!Sn(i);)r=e(r,En(i)),i=An(i);return r}function jn(e){return Ln(((e,t)=>kn(t,e)),xn(),e)}function Un(e,t){Ln(((t,n)=>{e(n)}),void 0,t)}function Fn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=kn(e[t],n);return n}function zn(e){return Fn(e,xn())}function Gn(e,t){return Ln(((e,t)=>kn(t,e)),t,jn(e))}function Hn(e,t){const n=xn(),r=Ln(((t,n)=>{const r=new _n(e(n),void 0);return t.tail=r,r}),n,t),i=xn();return r.tail=i,An(n)}function Wn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(Sn(n))return;{const r=e(En(n));if(null==r){t=An(n);continue e}return r}}})(t)}((t=>e(t)?un(t):void 0),t)}function Vn(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Sn(i))return;if(e(En(i)))return r;t=r+1,n=An(i)}})(0,t)}function Zn(e,t){const n=xn(),r=Ln(((t,n)=>{if(e(n)){const e=new _n(n,void 0);return t.tail=e,e}return t}),n,t),i=xn();return r.tail=i,An(n)}function qn(e,t,n){return null!=Vn((t=>n.Equals(e,t)),t)}function $n(e,t){return null!=Vn(e,t)}const Yn="The input sequence has an insufficient number of elements.";function Jn(){throw new Error("Enumeration has not started. Call MoveNext.")}function Xn(){throw new Error("Enumeration already finished.")}class Kn{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+=Bt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Ge(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Qn{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 er(e,t,n){return new Qn(e,t,n)}function tr(e,t,n){let r,i=!1,o=un(e());const a=()=>{if(null!=o){const e=ln(o);try{n(e)}finally{o=void 0}}},s=()=>{try{a()}finally{r=void 0}};return er((()=>(i||Jn(),null!=r?ln(r):Xn())),(()=>{if(i||(i=!0),null!=o){const e=ln(o);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function nr(e){return function(e){return new Kn(e)}(e)}function rr(e){return t="source",null==e&&function(e){throw new Error(e)}(t),Ve(e);var t}function ir(e){return nr((()=>Ve(e())))}function or(e){return nr((()=>function(e){let t,n,r,i=!1,o=!1;const a=()=>{if(o=!0,null!=n){const e=n;try{Ge(e)}finally{n=void 0}}if(null!=t){const e=t;try{Ge(e)}finally{t=void 0}}};return er((()=>(i?o&&Xn():Jn(),null!=r?ln(r):Xn())),(()=>{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=un(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{Ge(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=Ve(s)):(a(),i=!1)}else t=Ve(e)}return ln(i)}}),(()=>{o||a()}))}(e)))}function ar(){return ir((()=>new Array(0)))}function sr(e){return ir((()=>function(e,t){const n=gn(void 0,1);return n[0]=e,n}(e)))}function cr(e){return e instanceof _n?Bn(e):Array.from(e)}function ur(e){return Ue(e)?zn(e):e instanceof _n?e:function(e){let t,n;if(Ue(e))return zn(e);if(e instanceof _n)return e;{const r=xn();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 _n(e,void 0),t.tail=n,i=n}}finally{Ge(o)}const a=i,s=xn();return a.tail=s,An(r)}}(e)}function lr(e,t,n){return nr((()=>{let r=-1;return tr(e,(e=>(r=r+1|0,t(r,e))),n)}))}function fr(e,t){return or([e,t])}function dr(e,t,n){const r=rr(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{Ge(r)}}function hr(e,t,n){const r=rr(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{Ge(r)}}function mr(e,t){hr(((t,n)=>{e(n)}),void 0,t)}function pr(e,t){return n=()=>rr(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?un(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{Ge(e)},nr((()=>tr(n,r,i)));var n,r,i}class gr{constructor(e,t){this.cleanup=e,this.res=t}Dispose(){this.cleanup()}GetEnumerator(){return getEnumerator(this.res)}[Symbol.iterator](){return toIterator(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return getEnumerator(this.res)}}function wr(e){return ir((()=>function(e){return e.slice().reverse()}(cr(e))))}function vr(e,t){return nr((()=>{const n=rr(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Yn+"\\nParameter name: source");return function(e,t){return er((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Ge(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Ge(n),e}}))}const yr=je;function br(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 _r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?br(Object(n),!0).forEach((function(t){kr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):br(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cr(e){return Cr="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},Cr(e)}function xr(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 kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sr(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)||Er(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 Ir(e){return function(e){if(Array.isArray(e))return Ar(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Er(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 Er(e,t){if(e){if("string"==typeof e)return Ar(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)?Ar(e,t):void 0}}function Ar(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 Or=function(){},Tr={},Nr={},Mr=null,Pr={mark:Or,measure:Or};try{"undefined"!=typeof window&&(Tr=window),"undefined"!=typeof document&&(Nr=document),"undefined"!=typeof MutationObserver&&(Mr=MutationObserver),"undefined"!=typeof performance&&(Pr=performance)}catch(c){}var Dr=(Tr.navigator||{}).userAgent,Rr=void 0===Dr?"":Dr,Br=Tr,Lr=Nr,jr=Mr,Ur=Pr,Fr=(Br.document,!!Lr.documentElement&&!!Lr.head&&"function"==typeof Lr.addEventListener&&"function"==typeof Lr.createElement),zr=~Rr.indexOf("MSIE")||~Rr.indexOf("Trident/"),Gr="svg-inline--fa",Hr="data-fa-i2svg",Wr="data-fa-pseudo-element",Vr="data-prefix",Zr="data-icon",qr="fontawesome-i2svg",$r=["HTML","HEAD","STYLE","SCRIPT"],Yr=function(){try{return!0}catch(e){return!1}}(),Jr={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"},Xr={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Kr={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Qr={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},ei=/fa[srltdbk]?[\-\ ]/,ti="fa-layers-text",ni=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,ri={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},ii=[1,2,3,4,5,6,7,8,9,10],oi=ii.concat([11,12,13,14,15,16,17,18,19,20]),ai=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],si="duotone-group",ci="primary",ui="secondary",li=[].concat(Ir(Object.keys(Xr)),["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",si,"swap-opacity",ci,ui]).concat(ii.map((function(e){return"".concat(e,"x")}))).concat(oi.map((function(e){return"w-".concat(e)}))),fi=Br.FontAwesomeConfig||{};Lr&&"function"==typeof Lr.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=Sr(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Lr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(fi[r]=i)}));var di=_r(_r({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:Gr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),fi);di.autoReplaceSvg||(di.observeMutations=!1);var hi={};Object.keys(di).forEach((function(e){Object.defineProperty(hi,e,{enumerable:!0,set:function(t){di[e]=t,mi.forEach((function(e){return e(hi)}))},get:function(){return di[e]}})})),Br.FontAwesomeConfig=hi;var mi=[],pi=16,gi={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function wi(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function vi(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function yi(e){return e.classList?vi(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function bi(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function _i(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Ci(e){return e.size!==gi.size||e.x!==gi.x||e.y!==gi.y||e.rotate!==gi.rotate||e.flipX||e.flipY}function xi(){var e="fa",t=Gr,n=hi.familyPrefix,r=hi.replacementClass,i=':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}';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 ki=!1;function Si(){hi.autoAddCss&&!ki&&(function(e){if(e&&Fr){var t=Lr.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Lr.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)}Lr.head.insertBefore(t,r)}}(xi()),ki=!0)}var Ii={mixout:function(){return{dom:{css:xi,insertCss:Si}}},hooks:function(){return{beforeDOMElementCreation:function(){Si()},beforeI2svg:function(){Si()}}}},Ei=Br||{};Ei.___FONT_AWESOME___||(Ei.___FONT_AWESOME___={}),Ei.___FONT_AWESOME___.styles||(Ei.___FONT_AWESOME___.styles={}),Ei.___FONT_AWESOME___.hooks||(Ei.___FONT_AWESOME___.hooks={}),Ei.___FONT_AWESOME___.shims||(Ei.___FONT_AWESOME___.shims=[]);var Ai=Ei.___FONT_AWESOME___,Oi=[],Ti=!1;function Ni(e){Fr&&(Ti?setTimeout(e,0):Oi.push(e))}function Mi(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?bi(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(bi(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(Mi).join(""),"</").concat(t,">")}function Pi(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Fr&&((Ti=(Lr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Lr.readyState))||Lr.addEventListener("DOMContentLoaded",(function e(){Lr.removeEventListener("DOMContentLoaded",e),Ti=1,Oi.map((function(e){return e()}))})));var Di=function(e,t,n,r){var i,o,a,s=Object.keys(e),c=s.length,u=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=u(a,e[o=s[i]],o,e);return a};function Ri(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 Bi(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 Li(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Bi(t);"function"!=typeof Ai.hooks.addPack||i?Ai.styles[e]=_r(_r({},Ai.styles[e]||{}),o):Ai.hooks.addPack(e,Bi(t)),"fas"===e&&Li("fa",t)}var ji=Ai.styles,Ui=Ai.shims,Fi=Object.values(Kr),zi=null,Gi={},Hi={},Wi={},Vi={},Zi={},qi=Object.keys(Jr);function $i(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~li.indexOf(n))?null:o}var Yi,Ji=function(){var e=function(e){return Di(ji,(function(t,n,r){return t[r]=Di(n,e,{}),t}),{})};Gi=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})),Hi=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})),Zi=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 ji||hi.autoFetchSvg,n=Di(Ui,(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:{}});Wi=n.names,Vi=n.unicodes,zi=to(hi.styleDefault)};function Xi(e,t){return(Gi[e]||{})[t]}function Ki(e,t){return(Zi[e]||{})[t]}function Qi(e){return Wi[e]||{prefix:null,iconName:null}}function eo(){return zi}function to(e){var t=Xr[e]||Xr[Jr[e]],n=e in Ai.styles?e:null;return t||n||null}function no(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,i=null,o=e.reduce((function(e,t){var n=$i(hi.familyPrefix,t);if(ji[t]?(t=Fi.includes(t)?Qr[t]:t,i=t,e.prefix=t):qi.indexOf(t)>-1?(i=t,e.prefix=to(t)):n?e.iconName=n:t!==hi.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var o="fa"===i?Qi(e.iconName):{},a=Ki(e.prefix,e.iconName);o.prefix&&(i=null),e.iconName=o.iconName||a||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||ji.far||!ji.fas||hi.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==o.prefix&&"fa"!==i||(o.prefix=eo()||"fas"),o}Yi=function(e){zi=to(e.styleDefault)},mi.push(Yi),Ji();var ro=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]=_r(_r({},e.definitions[t]||{}),i[t]),Li(t,i[t]);var n=Kr[t];n&&Li(n,i[t]),Ji()}))}},{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&&xr(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),io=[],oo={},ao={},so=Object.keys(ao);function co(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];var o=oo[e]||[];return o.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function uo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=oo[e]||[];i.forEach((function(e){e.apply(null,n)}))}function lo(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ao[e]?ao[e].apply(null,t):void 0}function fo(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||eo();if(t)return t=Ki(n,t)||t,Pi(ho.definitions,n,t)||Pi(Ai.styles,n,t)}var ho=new ro,mo={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Fr?(uo("beforeI2svg",e),lo("pseudoElements2svg",e),lo("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===hi.autoReplaceSvg&&(hi.autoReplaceSvg=!0),hi.observeMutations=!0,Ni((function(){go({autoReplaceSvgRoot:t}),uo("watch",e)}))}},po={noAuto:function(){hi.autoReplaceSvg=!1,hi.observeMutations=!1,uo("noAuto")},config:hi,dom:mo,parse:{icon:function(e){if(null===e)return null;if("object"===Cr(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ki(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=to(e[0]);return{prefix:n,iconName:Ki(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(hi.familyPrefix,"-"))>-1||e.match(ei))){var r=no(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||eo(),iconName:Ki(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=eo();return{prefix:i,iconName:Ki(i,e)||e}}}},library:ho,findIconDefinition:fo,toHtml:Mi},go=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Lr:t;(Object.keys(Ai.styles).length>0||hi.autoFetchSvg)&&Fr&&hi.autoReplaceSvg&&po.dom.i2svg({node:n})};function wo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Mi(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Fr){var t=Lr.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function vo(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,u=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:n,p=m.width,g=m.height,w="fak"===i,v=[hi.replacementClass,o?"".concat(hi.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:_r(_r({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=w&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};h&&(y.attributes[Hr]=""),c&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(l||wi())},children:[c]}),delete y.attributes.title);var _=_r(_r({},y),{},{prefix:i,iconName:o,main:n,mask:r,maskId:u,transform:a,symbol:s,styles:_r(_r({},b),f.styles)}),C=r.found&&n.found?lo("generateAbstractMask",_)||{children:[],attributes:{}}:lo("generateAbstractIcon",_)||{children:[],attributes:{}},x=C.children,k=C.attributes;return _.children=x,_.attributes=k,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(hi.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_r(_r({},i),{},{id:a}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(Ci(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=_i(_r(_r({},o),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(_)}function yo(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,u=_r(_r(_r({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});c&&(u[Hr]="");var l=_r({},a.styles);Ci(i)&&(l.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&&zr?"translate(".concat(t.x/pi-r/2,"em, ").concat(t.y/pi-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/pi,"em), calc(-50% + ").concat(t.y/pi,"em)) "):"translate(".concat(t.x/pi,"em, ").concat(t.y/pi,"em) "),(c+="scale(".concat(t.size/pi*(t.flipX?-1:1),", ").concat(t.size/pi*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=_i(l);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function bo(e){var t=e.content,n=e.title,r=e.extra,i=_r(_r(_r({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=_i(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}var _o=Ai.styles;function Co(e){var t=e[0],n=e[1],r=Sr(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(hi.familyPrefix,"-").concat(si)},children:[{tag:"path",attributes:{class:"".concat(hi.familyPrefix,"-").concat(ui),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(hi.familyPrefix,"-").concat(ci),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var xo={found:!1,width:512,height:512};function ko(e,t){var n=t;return"fa"===t&&null!==hi.styleDefault&&(t=eo()),new Promise((function(r,i){if(lo("missingIconAbstract"),"fa"===n){var o=Qi(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&_o[t]&&_o[t][e])return r(Co(_o[t][e]));!function(e,t){Yr||hi.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(_r(_r({},xo),{},{icon:hi.showMissingIcons&&e&&lo("missingIconAbstract")||{}}))}))}var So=function(){},Io=hi.measurePerformance&&Ur&&Ur.mark&&Ur.measure?Ur:{mark:So,measure:So},Eo='FA "6.1.2"',Ao=function(e){return Io.mark("".concat(Eo," ").concat(e," begins")),function(){return function(e){Io.mark("".concat(Eo," ").concat(e," ends")),Io.measure("".concat(Eo," ").concat(e),"".concat(Eo," ").concat(e," begins"),"".concat(Eo," ").concat(e," ends"))}(e)}},Oo=function(){};function To(e){return"string"==typeof(e.getAttribute?e.getAttribute(Hr):null)}function No(e){return Lr.createElementNS("http://www.w3.org/2000/svg",e)}function Mo(e){return Lr.createElement(e)}function Po(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?No:Mo:n;if("string"==typeof e)return Lr.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){i.setAttribute(t,e.attributes[t])}));var o=e.children||[];return o.forEach((function(e){i.appendChild(Po(e,{ceFn:r}))})),i}var Do={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Po(e),t)})),null===t.getAttribute(Hr)&&hi.keepOriginalSource){var n=Lr.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(~yi(t).indexOf(hi.replacementClass))return Do.replace(e);var r=new RegExp("".concat(hi.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===hi.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 Mi(e)})).join("\n");t.setAttribute(Hr,""),t.innerHTML=o}};function Ro(e){e()}function Bo(e,t){var n="function"==typeof t?t:Oo;if(0===e.length)n();else{var r=Ro;"async"===hi.mutateApproach&&(r=Br.requestAnimationFrame||Ro),r((function(){var t=!0===hi.autoReplaceSvg?Do.replace:Do[hi.autoReplaceSvg]||Do.replace,r=Ao("mutate");e.map(t),r(),n()}))}}var Lo=!1;function jo(){Lo=!0}function Uo(){Lo=!1}var Fo=null;function zo(e){if(jr&&hi.observeMutations){var t=e.treeCallback,n=void 0===t?Oo:t,r=e.nodeCallback,i=void 0===r?Oo:r,o=e.pseudoElementsCallback,a=void 0===o?Oo:o,s=e.observeMutationsRoot,c=void 0===s?Lr:s;Fo=new jr((function(e){if(!Lo){var t=eo();vi(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!To(e.addedNodes[0])&&(hi.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&hi.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&To(e.target)&&~ai.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Vr):null,n=e.getAttribute?e.getAttribute(Zr):null;return t&&n}(e.target)){var r=no(yi(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(Vr,o||t),s&&e.target.setAttribute(Zr,s)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(hi.replacementClass)&&i(e.target);var c}))}})),Fr&&Fo.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Go(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}function Ho(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=no(yi(e));return a.prefix||(a.prefix=eo()),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,(Hi[t]||{})[n]||Xi(a.prefix,Ri(e.innerText)))),!a.iconName&&hi.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Wo(e){var t=vi(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 hi.autoA11y&&(n?t["aria-labelledby"]="".concat(hi.replacementClass,"-title-").concat(r||wi()):(t["aria-hidden"]="true",t.focusable="false")),t}function Vo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Ho(e),r=n.iconName,i=n.prefix,o=n.rest,a=Wo(e),s=co("parseNodeAttributes",{},e),c=t.styleParser?Go(e):[];return _r({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:gi,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:a}},s)}var Zo=Ai.styles;function qo(e){var t="nest"===hi.autoReplaceSvg?Vo(e,{styleParser:!1}):Vo(e);return~t.extra.classes.indexOf(ti)?lo("generateLayersText",e,t):lo("generateSvgReplacementMutation",e,t)}function $o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Fr)return Promise.resolve();var n=Lr.documentElement.classList,r=function(e){return n.add("".concat(qr,"-").concat(e))},i=function(e){return n.remove("".concat(qr,"-").concat(e))},o=hi.autoFetchSvg?Object.keys(Jr):Object.keys(Zo);o.includes("fa")||o.push("fa");var a=[".".concat(ti,":not([").concat(Hr,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(Hr,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=vi(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var c=Ao("onTree"),u=s.reduce((function(e,t){try{var n=qo(t);n&&e.push(n)}catch(e){Yr||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(u).then((function(n){Bo(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function Yo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;qo(e).then((function(e){e&&Bo([e],t)}))}var Jo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?gi:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,c=t.maskId,u=void 0===c?null:c,l=t.title,f=void 0===l?null:l,d=t.titleId,h=void 0===d?null:d,m=t.classes,p=void 0===m?[]:m,g=t.attributes,w=void 0===g?{}:g,v=t.styles,y=void 0===v?{}:v;if(e){var b=e.prefix,_=e.iconName,C=e.icon;return wo(_r({type:"icon"},e),(function(){return uo("beforeDOMElementCreation",{iconDefinition:e,params:t}),hi.autoA11y&&(f?w["aria-labelledby"]="".concat(hi.replacementClass,"-title-").concat(h||wi()):(w["aria-hidden"]="true",w.focusable="false")),vo({icons:{main:Co(C),mask:s?Co(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:_r(_r({},gi),r),symbol:o,title:f,maskId:u,titleId:h,extra:{attributes:w,styles:y,classes:p}})}))}},Xo={mixout:function(){return{icon:(e=Jo,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:fo(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:fo(i||{})),e(r,_r(_r({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=$o,e.nodeCallback=Yo,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Lr:t,r=e.callback;return $o(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,u=t.maskId,l=t.extra;return new Promise((function(t,f){Promise.all([ko(n,o),c.iconName?ko(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Sr(c,2),d=f[0],h=f[1];t([e,vo({icons:{main:d,mask:h},prefix:o,iconName:n,transform:a,symbol:s,maskId:u,title:r,titleId:i,extra:l,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=_i(e.styles);return a.length>0&&(r.style=a),Ci(o)&&(t=lo("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},Ko={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 wo({type:"layer"},(function(){uo("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(hi.familyPrefix,"-layers")].concat(Ir(r)).join(" ")},children:n}]}))}}}},Qo={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,u=void 0===c?{}:c;return wo({type:"counter",content:e},(function(){return uo("beforeDOMElementCreation",{content:e,params:t}),bo({content:e.toString(),title:r,extra:{attributes:s,styles:u,classes:["".concat(hi.familyPrefix,"-layers-counter")].concat(Ir(o))}})}))}}}},ea={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?gi:n,i=t.title,o=void 0===i?null:i,a=t.classes,s=void 0===a?[]:a,c=t.attributes,u=void 0===c?{}:c,l=t.styles,f=void 0===l?{}:l;return wo({type:"text",content:e},(function(){return uo("beforeDOMElementCreation",{content:e,params:t}),yo({content:e,transform:_r(_r({},gi),r),title:o,extra:{attributes:u,styles:f,classes:["".concat(hi.familyPrefix,"-layers-text")].concat(Ir(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(zr){var s=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/s,a=c.height/s}return hi.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,yo({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},ta=new RegExp('"',"ug"),na=[1105920,1112319];function ra(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,a,s,c=vi(e.children).filter((function(e){return e.getAttribute(Wr)===t}))[0],u=Br.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(ni),f=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(c&&!l)return e.removeChild(c),r();if(l&&"none"!==d&&""!==d){var h=u.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Xr[l[2].toLowerCase()]:ri[f],p=function(e){var t=e.replace(ta,""),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>=na[0]&&n<=na[1],i=2===t.length&&t[0]===t[1];return{value:Ri(i?t[0]:t),isSecondary:r||i}}(h),g=p.value,w=p.isSecondary,v=l[0].startsWith("FontAwesome"),y=Xi(m,g),b=y;if(v){var _=(a=Vi[o=g],s=Xi("fas",o),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(y=_.iconName,m=_.prefix)}if(!y||w||c&&c.getAttribute(Vr)===m&&c.getAttribute(Zr)===b)r();else{e.setAttribute(n,b),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:gi,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=C.extra;x.attributes[Wr]=t,ko(y,m).then((function(i){var o=vo(_r(_r({},C),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:b,extra:x,watchable:!0})),a=Lr.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=o.map((function(e){return Mi(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function ia(e){return Promise.all([ra(e,"::before"),ra(e,"::after")])}function oa(e){return!(e.parentNode===document.head||~$r.indexOf(e.tagName.toUpperCase())||e.getAttribute(Wr)||e.parentNode&&"svg"===e.parentNode.tagName)}function aa(e){if(Fr)return new Promise((function(t,n){var r=vi(e.querySelectorAll("*")).filter(oa).map(ia),i=Ao("searchPseudoElements");jo(),Promise.all(r).then((function(){i(),Uo(),t()})).catch((function(){i(),Uo(),n()}))}))}var sa=!1,ca=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})},ua={mixout:function(){return{parse:{transform:function(e){return ca(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=ca(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)"),u={outer:o,inner:{transform:"".concat(a," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:_r({},u.outer),children:[{tag:"g",attributes:_r({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:_r(_r({},t.icon.attributes),u.path)}]}]}}}},la={x:0,y:0,width:"100%",height:"100%"};function fa(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 da,ha={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?no(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=eo()),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,u=i.icon,l=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:l,iconWidth:c}),h={tag:"rect",attributes:_r(_r({},la),{},{fill:"white"})},m=u.children?{children:u.children.map(fa)}:{},p={tag:"g",attributes:_r({},d.inner),children:[fa(_r({tag:u.tag,attributes:_r(_r({},u.attributes),d.path)},m))]},g={tag:"g",attributes:_r({},d.outer),children:[p]},w="mask-".concat(a||wi()),v="clip-".concat(a||wi()),y={tag:"mask",attributes:_r(_r({},la),{},{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=f,"g"===t.tag?t.children:[t])},y]};return n.push(b,{tag:"rect",attributes:_r({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(w,")")},la)}),{children:n,attributes:r}}}},ma={provides:function(e){var t=!1;Br.matchMedia&&(t=Br.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:_r(_r({},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=_r(_r({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:_r(_r({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:_r(_r({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_r(_r({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:_r(_r({},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:_r(_r({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:_r(_r({},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:_r(_r({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},pa=[Ii,Xo,Ko,Qo,ea,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=aa,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Lr:t;hi.searchPseudoElements&&aa(n)}}},{mixout:function(){return{dom:{unwatch:function(){jo(),sa=!0}}}},hooks:function(){return{bootstrap:function(){zo(co("mutationObserverCallbacks",{}))},noAuto:function(){Fo&&Fo.disconnect()},watch:function(e){var t=e.observeMutationsRoot;sa?Uo():zo(co("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ua,ha,ma,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];da={mixoutsTo:po}.mixoutsTo,io=pa,oo={},Object.keys(ao).forEach((function(e){-1===so.indexOf(e)&&delete ao[e]})),io.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(da[e]=t[e]),"object"===Cr(t[e])&&Object.keys(t[e]).forEach((function(n){da[e]||(da[e]={}),da[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){oo[e]||(oo[e]=[]),oo[e].push(n[e])}))}e.provides&&e.provides(ao)}));var ga=po.parse,wa=po.icon,va=n(697),ya=n.n(va);function ba(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 _a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ba(Object(n),!0).forEach((function(t){xa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ca(e){return Ca="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},Ca(e)}function xa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(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}function Sa(e){return function(e){if(Array.isArray(e))return Ia(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 Ia(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)?Ia(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 Ia(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 Ea(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 Aa=["style"];function Oa(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Ea(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}),{})}var Ta=!1;try{Ta=!0}catch(c){}function Na(e){return e&&"object"===Ca(e)&&e.prefix&&e.iconName&&e.icon?e:ga.icon?ga.icon(e):null===e?null:e&&"object"===Ca(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 Ma(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?xa({},e,t):{}}var Pa=je.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,u=Na(n),l=Ma("classes",[].concat(Sa(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,u=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,m=e.border,p=e.listItem,g=e.flip,w=e.size,v=e.rotation,y=e.pull,b=(xa(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":l,"fa-spin-pulse":u,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":m,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(w),null!=w),xa(t,"fa-rotate-".concat(v),null!=v&&0!==v),xa(t,"fa-pull-".concat(y),null!=y),xa(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map((function(e){return b[e]?e:null})).filter((function(e){return e}))}(e)),Sa(o.split(" ")))),f=Ma("transform","string"==typeof e.transform?ga.transform(e.transform):e.transform),d=Ma("mask",Na(r)),h=wa(u,_a(_a(_a(_a({},l),f),d),{},{symbol:i,title:a,titleId:s,maskId:c}));if(!h)return function(){var e;!Ta&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=h.abstract,p={ref:t};return Object.keys(e).forEach((function(t){Pa.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Da(m[0],p)}));Pa.displayName="FontAwesomeIcon",Pa.propTypes={beat:ya().bool,border:ya().bool,beatFade:ya().bool,bounce:ya().bool,className:ya().string,fade:ya().bool,flash:ya().bool,mask:ya().oneOfType([ya().object,ya().array,ya().string]),maskId:ya().string,fixedWidth:ya().bool,inverse:ya().bool,flip:ya().oneOf([!0,!1,"horizontal","vertical","both"]),icon:ya().oneOfType([ya().object,ya().array,ya().string]),listItem:ya().bool,pull:ya().oneOf(["right","left"]),pulse:ya().bool,rotation:ya().oneOf([0,90,180,270]),shake:ya().bool,size:ya().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ya().bool,spinPulse:ya().bool,spinReverse:ya().bool,symbol:ya().oneOfType([ya().bool,ya().string]),title:ya().string,titleId:ya().string,transform:ya().oneOfType([ya().string,ya().object]),swapOpacity:ya().bool},Pa.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 Da=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=Oa(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ea(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=ka(r,Aa);return o.attrs.style=_a(_a({},o.attrs.style),s),t.apply(void 0,[n.tag,_a(_a({},o.attrs),c)].concat(Sa(i)))}.bind(null,je.createElement),Ra={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"]},Ba={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 La(e,t){return d(Pa,e,...t)}const ja=La({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"]}},[]),Ua=La({icon:Ba,size:"5x"},[]),Fa=La({icon:Ra,size:"5x"},[]);class za{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 Ga extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ga.prototype)}}class Ha{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Ha.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Wa(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Ga);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(Ft(e))}}));else try{e(t)}catch(e){t.onError(Ft(e))}}}const Va=new class{Bind(e,t){return function(e,t){return Wa((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(Ft(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 Wa((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 Wa((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Wa((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 Wa((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(Ft(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 Wa((e=>e.onSuccess(void 0)))}};class Za extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function qa(e,t){return 0===t.tag?new Za(0,e(t.fields[0])):new Za(1,t.fields[0])}function $a(e,t){return 0===t.tag?e(t.fields[0]):new Za(1,t.fields[0])}class Ya extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class Ja extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function Xa(e){}function Ka(e){const t=new za("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{t.cancel()}),e),t}function Qa(e){e.cancel()}const es=new za;function ts(e){return Wa((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new Ga)}))}))}function ns(e,t){return function(e,t){return function(e,t,n,r,i){"function"!=typeof t&&(i=t,t=void 0);const o=new Ha;e({onSuccess:t||Xa,onError:n||Xa,onCancel:r||Xa,cancelToken:i||es,trampoline:o})}(e,t)}(e,t)}const rs=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)}};class is{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function os(e,t){let n,r=new 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 rs}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}}(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new is(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function as(e,t,n){Un((n=>{try{n(t)}catch(t){e(t)}}),n)}function ss(){return On()}function cs(e,t){return Hn((t=>n=>{t((t=>{n(e(t))}))}),t)}function us(e){return function(e){const t=xn();let n=t;const r=e=>{n=Ln(((e,t)=>{const n=new _n(t,void 0);return e.tail=n,n}),n,e)};if(Ue(e))e.forEach(r);else if(e instanceof _n)Un(r,e);else{const t=Ve(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ge(t)}}const i=n,o=xn();return i.tail=o,An(t)}(e)}function ls(e){return Nn(e)}function fs(e){return Nn((t=>{t(e)}))}function ds(e,t,n,r,i){return Nn((o=>{e(Va.Delay((()=>{return Va.Bind((e=t(n),Wa((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new Ya(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new Ya(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))),(e=>{const t=e;return o(1===t.tag?i(t.fields[0]):r(t.fields[0])),Va.Zero()}));var e})))}))}function hs(e){os(0,(t=>{ns(e)}))}function ms(e,t,n,r,i){const o=function(e,t,n,r){const i=0|ut(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|ut(n,t);return o&&i<=0||!o&&i>=0?[n,r(n,e)]:void 0}}(t,n,r,i);return ir((()=>{return t=o,n=e,nr((()=>function(e,t){let n,r=t;return er((()=>{if(null!=n){const e=n[0];return n[1],e}return Jn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class ps extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class gs{constructor(e){this.state=new ps(0,wn(new Array(lt(st,e,10)),0,lt(st,e,10),null),0)}}function ws(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 ps(0,i,n):new ps(1,i,n,o),un(i[r])}}class vs extends jt{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 ys(e,t,n){return new vs(e,t,(e=>ss()),n,ht(2,(e=>{const t=gt(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(un(t),n)}),ht(2,(e=>e)))}function bs(e,t){return new vs(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function _s(e,t){const n=t.init(e),r=n[0],i=new gs(10);let o=!1,a=r;const s=gt(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 ps(1,(r=a,i=s,Array.from(ir((()=>fr(vr(r,i),ir((()=>{return fr((e=r,t=i,lr((()=>rr(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return un(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Yn+"\\nParameter name: source")}}),(e=>{Ge(e)}))),ir((()=>{return t=e=>sr(null),e=i.length,n=ms(0,1,e,0,((e,t)=>e+t)),ir((()=>or(pr(t,n))));var e,t,n})));var e,t}))))))),s.length,0):new ps(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 ps(1,i,o,r)}var r,i}(i,e);else{o=!0;let n=un(e);for(;null!=n;){const e=ln(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),as((n=>{t.onError([Yt(Zt("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([Yt(Zt("Unable to process the message: %A"))(e),n])}n=ws(i)}o=!1}}]);t.setState(r,s),as((e=>{t.onError(["Error intitializing:",e])}),s,us(zn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),ss()}})(),n[1]])))}const Cs=(e,t)=>{K((()=>{const t=e();return()=>{t.Dispose()}}),t)};function xs(e){return{Dispose(){e()}}}function ks(e){return yr.useState(e)}function Ss(e){var t;t=e,K((()=>{const e=t();return()=>{e.Dispose()}}))}function Is(e,t){Cs(e,t)}function Es(e){Os(e,[])}function As(e){Is(e,[])}function Os(e,t){Cs((t=>(e(),xs((()=>{})))),t)}function Ts(e){return yr.useRef(e)}function Ns(e,t){const n=hn(t,[]);return yr.useMemo(e,n)}function Ms(e){const t=Ts(e),n=function(e,n){const r=hn([],[]);return yr.useCallback((e=>t.current(e)),r)}();var r,i;return r=()=>{t.current=e},i=e=>(r(),xs((()=>{}))),Q((()=>{const e=i();return()=>{e.Dispose()}})),n}class Ps{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function Ds(){return new Ps}function Rs(e,t,n,r){_s(t,bs(((e,t)=>{!function(e,t,n){e.state=un(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 ln(i);throw new Error("Elmish program has not initialized")}function Bs(e,t){return function(e,t,n){const r=ks(Ds)[0],i=ks((()=>Rs(e,t,r))),o=i[1];return Is((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Rs(e,t,r)),xs((()=>{!function(e){const t=e.state;if(null!=t){const e=ln(t);ze(e)&&Ge(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),hn(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 Ls(e,t,n){return Bs((()=>ys((()=>e),t,((e,t)=>{}))),n)}class js extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Us(e,t){switch(t.tag){case 1:return new js(1);case 3:return new js(3,t.fields[0]);case 2:try{return new js(2,e(t.fields[0]))}catch(e){return new js(3,e)}default:return new js(0)}}function Fs(e,t){const n=function(e){return yr.useState(e)}(new js(0)),r=n[1];let i;const o=Ts(Ka()),a=Ts(o.current);As((()=>xs((()=>{Qa(o.current)})))),i=a;const s=Va.Delay((()=>Va.TryWith(Va.Delay((()=>(r(new js(1)),Va.Bind(e,(e=>(r(new js(2,e)),Va.Zero())))))),(e=>(r(new js(3,e)),Va.Zero())))));return Os((()=>{ns(s,i.current)}),t),n[0]}function zs(e,t){const n=Ts(Ka());return As((()=>xs((()=>{Qa(n.current)})))),Ms((r=>{var i;null!=(i=n.current)&&i.isCancelled||ns(Va.Delay((()=>Va.TryWith(Va.Delay((()=>(t(new js(1)),Va.Bind(e(r),(e=>(t(new js(2,e)),Va.Zero())))))),(e=>(t(new js(3,e)),Va.Zero()))))),n.current)}))}var Gs=null;try{Gs=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 Hs(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Ws(e){return!0===(e&&e.__isLong__)}Hs.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Hs.prototype.Equals=function(e){return wc(this,e)},Hs.prototype.CompareTo=function(e){return _c(this,e)},Hs.prototype.toString=function(e){return hc(this,e)},Hs.prototype.toJSON=function(){return hc(this)},Hs.prototype[It]=function(){const e=this;return{multiply:t=>Sc(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 hc(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Hs(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 Hs(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}}},Hs.prototype.__isLong__,Object.defineProperty(Hs.prototype,"__isLong__",{value:!0});var Vs={},Zs={};function qs(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=Zs[e])?r:(n=Ys(e,(0|e)<0?-1:0,!0),i&&(Zs[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=Vs[e])?r:(n=Ys(e,e<0?-1:0,!1),i&&(Vs[e]=n),n)}function $s(e,t){if(isNaN(e))return t?ic:rc;if(t){if(e<0)return ic;if(e>=ec)return uc}else{if(e<=-tc)return lc;if(e+1>=tc)return cc}return e<0?Cc($s(-e,t)):Ys(e%Qs|0,e/Qs|0,t)}function Ys(e,t,n){return new Hs(e,t,n)}var Js=Math.pow;function Xs(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return rc;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 Cc(Xs(e.substring(1),t,n));for(var i=$s(Js(n,8)),o=rc,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);o=xc(s<8?Sc(o,$s(Js(n,s))):o=Sc(o,i),$s(c))}return o.unsigned=t,o}function Ks(e,t){return"number"==typeof e?$s(e,t):"string"==typeof e?Xs(e,t):Ys(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var Qs=4294967296,ec=Qs*Qs,tc=ec/2,nc=qs(1<<24),rc=qs(0),ic=qs(0,!0),oc=qs(1),ac=qs(1,!0),sc=qs(-1),cc=Ys(-1,2147483647,!1),uc=Ys(-1,-1,!0),lc=Ys(0,-2147483648,!1);function fc(e){return e.unsigned?e.low>>>0:e.low}function dc(e){return e.unsigned?(e.high>>>0)*Qs+(e.low>>>0):e.high*Qs+(e.low>>>0)}function hc(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(mc(e))return"0";if(pc(e)){if(wc(e,lc)){var n=$s(t),r=Ic(e,n),i=kc(Sc(r,n),e);return hc(r,t)+fc(i).toString(t)}return"-"+hc(Cc(e),t)}for(var o=$s(Js(t,6),e.unsigned),a=e,s="";;){var c=Ic(a,o),u=(fc(kc(a,Sc(c,o)))>>>0).toString(t);if(mc(a=c))return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}}function mc(e){return 0===e.high&&0===e.low}function pc(e){return!e.unsigned&&e.high<0}function gc(e){return 1==(1&e.low)}function wc(e,t){return Ws(t)||(t=Ks(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function vc(e,t){return _c(e,t)<0}function yc(e,t){return _c(e,t)>0}function bc(e,t){return _c(e,t)>=0}function _c(e,t){if(Ws(t)||(t=Ks(t)),wc(e,t))return 0;var n=pc(e),r=pc(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:pc(kc(e,t))?-1:1}function Cc(e){return!e.unsigned&&wc(e,lc)?lc:xc(function(e){return Ys(~e.low,~e.high,e.unsigned)}(e),oc)}function xc(e,t){Ws(t)||(t=Ks(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,u=0,l=0,f=0,d=0;return f+=(d+=o+(65535&t.low))>>>16,l+=(f+=i+c)>>>16,u+=(l+=r+s)>>>16,u+=n+a,Ys((f&=65535)<<16|(d&=65535),(u&=65535)<<16|(l&=65535),e.unsigned)}function kc(e,t){return Ws(t)||(t=Ks(t)),xc(e,Cc(t))}function Sc(e,t){if(mc(e))return e.unsigned?ic:rc;if(Ws(t)||(t=Ks(t)),Gs)return Ys(Gs.mul(e.low,e.high,t.low,t.high),Gs.get_high(),e.unsigned);if(mc(t))return e.unsigned?ic:rc;if(wc(e,lc))return gc(t)?lc:rc;if(wc(t,lc))return gc(e)?lc:rc;if(pc(e))return pc(t)?Sc(Cc(e),Cc(t)):Cc(Sc(Cc(e),t));if(pc(t))return Cc(Sc(e,Cc(t)));if(vc(e,nc)&&vc(t,nc))return $s(dc(e)*dc(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,u=65535&t.low,l=0,f=0,d=0,h=0;return d+=(h+=o*u)>>>16,f+=(d+=i*u)>>>16,d&=65535,f+=(d+=o*c)>>>16,l+=(f+=r*u)>>>16,f&=65535,l+=(f+=i*c)>>>16,f&=65535,l+=(f+=o*s)>>>16,l+=n*u+r*c+i*s+o*a,Ys((d&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Ic(e,t){if(Ws(t)||(t=Ks(t)),mc(t))throw Error("division by zero");var n,r,i;if(Gs)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?Ys((e.unsigned?Gs.div_u:Gs.div_s)(e.low,e.high,t.low,t.high),Gs.get_high(),e.unsigned):e;if(mc(e))return e.unsigned?ic:rc;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:Ys(e.low,e.high,!0)}(t)),yc(t,e))return ic;if(yc(t,function(e,t){if(Ws(t)&&(t=fc(t)),0==(t&=63))return e;var n=e.high;return t<32?Ys(e.low>>>t|n<<32-t,n>>>t,e.unsigned):Ys(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return ac;i=ic}else{if(wc(e,lc))return wc(t,oc)||wc(t,sc)?lc:wc(t,lc)?oc:wc(n=function(e,t){return Ws(t)&&(t=fc(t)),0==(t&=63)?e:t<32?Ys(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):Ys(0,e.low<<t-32,e.unsigned)}(Ic(function(e,t){return Ws(t)&&(t=fc(t)),0==(t&=63)?e:t<32?Ys(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):Ys(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),rc)?pc(t)?oc:sc:i=xc(n,Ic(r=kc(e,Sc(t,n)),t));if(wc(t,lc))return e.unsigned?ic:rc;if(pc(e))return pc(t)?Ic(Cc(e),Cc(t)):Cc(Ic(Cc(e),t));if(pc(t))return Cc(Ic(e,Cc(t)));i=rc}for(r=e;bc(r,t);){n=Math.max(1,Math.floor(dc(r)/dc(t)));for(var o=Math.ceil(Math.log(n)/Math.LN2),a=o<=48?1:Js(2,o-48),s=$s(n),c=Sc(s,t);pc(c)||yc(c,r);)c=Sc(s=$s(n-=a,e.unsigned),t);mc(s)&&(s=oc),i=xc(i,s),r=kc(r,c)}return i}const Ec=Ic,Ac=dc;function Oc(e){return e<0?Math.ceil(e):Math.floor(e)}function Tc(e=0,t=0,n=0,r=0,i=0){switch(arguments.length){case 1:return Nc(arguments[0]);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 Nc(e){return Ac(Ec(e,1e4))}function Mc(e){return Tc(0,e,0)}function Pc(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 Tc(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*Tc(n,a,s,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}function Dc(e,t){return en(t)?new Za(1,Yt(Zt("%s cannot be null or empty"))(e)):new Za(0,t)}function Rc(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)}(Pt(".*?@(.*)"),t);return null!=n?Rn(ur(ir((()=>pr((e=>e||""),n))))):void 0}(0,e);switch(t=null!=n?Mn(n)?1:Mn(Rn(n))?0:1:1,t){case 0:return e;case 1:return}}(e);return null!=t?new Za(0,t):new Za(1,"Email is not in the correct format")}const Bc=e=>({tag:"ok",value:e}),Lc=e=>({tag:"error",error:e});class jc{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 jc.isAbsoluteUri(e)?Bc(new jc({original:e,value:new URL(e),kind:t})):Lc("Invalid URI: The format of the URI could not be determined.");case 2:return jc.isAbsoluteUri(e)?Lc("URI is not a relative path."):Bc(new jc({original:e,value:e,kind:t}));case 0:return jc.isAbsoluteUri(e)?Bc(new jc({original:e,value:new URL(e),kind:1})):Bc(new jc({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?Lc("Base URI should have Absolute kind"):"string"==typeof t?Bc(new jc({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?Bc(new jc({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):Bc(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?Lc("Kind must be specified when the baseUri is a string."):jc.tryCreateWithKind(e,t):"number"==typeof t?Lc("Kind should not be specified when the baseUri is an absolute Uri."):jc.tryCreateWithBase(e,t)}static create(e,t=1){const n=jc.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=jc.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 Uc extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}function Fc(e){return function(e){return!en(e)&&function(e,t,n=0){return e.lastIndex=n,e.test(t)}(/^(\d{6})$/gu,e)}(e)?new Za(0,new Uc(0,e)):new Za(1,"Invalid second factor code format.")}class zc extends jt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}Mc(5);class Gc extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function Hc(e){return function(e){return!tn(e)}(e)?new Za(0,new Gc(0,e)):new Za(1,"Invalid invite code format.")}function Wc(e){return e.fields[0]}class Vc extends jt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class Zc extends jt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class qc extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class $c extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class Yc extends jt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Jc extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class Xc extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}Tc(10,0,0,0),Mc(30);class Kc extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initializing","WaitingForInput","Failed"]}}class Qc extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class eu extends jt{constructor(e,t,n,r,i,o,a){super(),this.InviteToken=e,this.MaskedEmail=t,this.MfaCodeForm=n,this.IsValidationPending=r,this.CanRetry=i,this.Ui=o,this.CssOverrides=a}}const tu=(()=>{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 nu(e){return mn((e=>e.passive&&!tu?{capture:e.capture,once:e.once,passive:!1}:e),e)}function ru(e){return null!=(t=e)?(e=>e.capture?{capture:!0}:void 0)(ln(t)):void 0;var t}function iu(e,t){return 0===t.indexOf(e)?t:void 0}function ou(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 au(e,t){return function(e){return 1===e?e=>{let t,n,r,i,o,a;return t=iu("/",e),null!=t?(n=t,"#"+n):(r=iu("#/",e),null!=r?(i=r,i):(o=iu("#",e),null!=o?(a=o,"#/"+sn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=iu("/",e),null!=t?(n=t,n):"/"+e}}(t)(nn("/",Hn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function su(e,t,n){1===t?history.pushState(void 0,"",au(e,n)):history.replaceState(void 0,"",au(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function cu(e,t){return function(e,t){let n,r;const i=xn();let o=i,a=t;for(;!Sn(a);){let t=e(En(a));for(;!Sn(t);)n=o,r=new _n(En(t),void 0),n.tail=r,o=r,t=An(t);a=An(a)}const s=o,c=xn();return s.tail=c,An(i)}((e=>{if(tn(e))return On();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Dt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return On();if(null!=iu("?",t))return Nn(t);{const e=t.split("?");if(bn(((e,t)=>e===t),e,null)||1!==e.length){if(bn(((e,t)=>e===t),e,null)||2!==e.length)return On();if(""===e[1]){const t=e[0];return Nn(decodeURIComponent(t))}{const t=e[0],n=e[1];return zn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Nn(decodeURIComponent(t))}}}}),zn(an(null!=iu("#",e)?sn(e,1,e.length-1):1!==t||null==ou("#",e)&&null==ou("#/",e)?e:"",["/"],null,0)))}const uu=function(e,t,n,r){const i=yr.memo(e,ht(2,hn(pt(2,n),null)));return mr((t=>{e.displayName=t}),dn(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return yr.createElement(i,t)}}((e=>{const t=Ms((t=>{const n=hn(e.onUrlChanged,(e=>{}));!function(e,t,n){t(cu(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(hn(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=Ns((()=>nu(r)),[r]),o=Ns((()=>ru(r)),[r]),a=Ns((()=>e=>{n(e)}),[n]);Ss(Ms((()=>{if(null==i)window.addEventListener(e,a);else{const t=i;window.addEventListener(e,a,t)}return xs((()=>{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=Ns((()=>nu(r)),[r]),o=Ns((()=>ru(r)),[r]),a=Ns((()=>e=>{n(e)}),[n]);Ss(Ms((()=>{if(null==i)window.addEventListener(e,a);else{const t=i;window.addEventListener(e,a,t)}return xs((()=>{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=Ns((()=>nu(i)),[i]),a=Ns((()=>ru(i)),[i]),s=Ns((()=>e=>{r(e)}),[r]);Ss(Ms((()=>{if(null==o)window.addEventListener(n,s);else{const e=o;window.addEventListener(n,s,e)}return xs((()=>{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 lu(e){try{const t=new URLSearchParams(e);return ur(ir((()=>pr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class fu extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const du=document.getElementById("workflows-app"),hu=du.getAttribute("data-identity-url"),mu=du.getAttribute("data-backend-url"),pu=zn(["workflows","app"]),gu=zn(["workflows","embed","v1.0","app"]);class wu extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function vu(e){switch(e.tag){case 0:default:return au(gu,2);case 1:return au(pu,2)}}!function(e){const t=zn(an(e,["."],null,0));let n;switch(n=Mn(t)?4:"autodev-partner"===Dn(t)?0:"test-partner"===Dn(t)?1:"partner"===Dn(t)?2:"sandbox-partner"===Dn(t)?3:4,n){case 0:return new Za(0,new fu(0));case 1:return new Za(0,new fu(1));case 2:return new Za(0,new fu(2));case 3:return new Za(0,new fu(3));case 4:new Za(1,"Invalid environment")}}(jc.create(mu).host);class yu extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class bu extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class _u extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Cu extends jt{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 xu extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class ku extends jt{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 Su{constructor(e,t){this.k=e,this.v=t}}function Iu(e,t){return new Su(e,t)}function Eu(e){return e.k}function Au(e){return e.v}class Ou extends Su{constructor(e,t,n,r,i){super(e,t),this.left=n,this.right=r,this.h=0|i}}function Tu(e,t,n,r,i){return new Ou(e,t,n,r,i)}function Nu(e){return e.left}function Mu(e){return e.right}function Pu(e){return e.h}function Du(e,t){e:for(;;){const n=e,r=t;if(null!=r){const i=r;if(i instanceof Ou){e=Du(n+1,Nu(i)),t=Mu(i);continue e}return n+1|0}return 0|n}}function Ru(e){return Du(0,e)}function Bu(e,t,n,r){let i,o;if(null!=e){const t=e;i=t instanceof Ou?Pu(t):1}else i=0;if(null!=r){const e=r;o=e instanceof Ou?Pu(e):1}else o=0;const a=0|(i<o?o:i);return 0===a?Iu(t,n):Tu(t,n,e,r,a+1)}function Lu(e,t,n,r){let i,o,a,s,c,u;if(null!=e){const t=e;c=t instanceof Ou?Pu(t):1}else c=0;if(null!=r){const e=r;u=e instanceof Ou?Pu(e):1}else u=0;if(u>c+2){const a=ln(r);if(a instanceof Ou){if(i=Nu(a),(null!=i?(o=i,o instanceof Ou?Pu(o):1):0)>c+1){const r=ln(Nu(a));if(r instanceof Ou)return Bu(Bu(e,t,n,Nu(r)),Eu(r),Au(r),Bu(Mu(r),Eu(a),Au(a),Mu(a)));throw new Error("internal error: Map.rebalance")}return Bu(Bu(e,t,n,Nu(a)),Eu(a),Au(a),Mu(a))}throw new Error("internal error: Map.rebalance")}if(c>u+2){const i=ln(e);if(i instanceof Ou){if(a=Mu(i),(null!=a?(s=a,s instanceof Ou?Pu(s):1):0)>u+1){const e=ln(Mu(i));if(e instanceof Ou)return Bu(Bu(Nu(i),Eu(i),Au(i),Nu(e)),Eu(e),Au(e),Bu(Mu(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Bu(Nu(i),Eu(i),Au(i),Bu(Mu(i),t,n,r))}throw new Error("internal error: Map.rebalance")}return Bu(e,t,n,r)}function ju(e,t,n,r){if(null!=r){const i=r,o=0|e.Compare(t,Eu(i));return i instanceof Ou?o<0?Lu(ju(e,t,n,Nu(i)),Eu(i),Au(i),Mu(i)):0===o?Tu(t,n,Nu(i),Mu(i),Pu(i)):Lu(Nu(i),Eu(i),Au(i),ju(e,t,n,Mu(i))):o<0?Tu(t,n,void 0,r,2):0===o?Iu(t,n):Tu(t,n,r,void 0,2)}return Iu(t,n)}function Uu(e,t,n){e:for(;;){const r=e,i=t,o=n;if(null!=o){const a=o,s=0|r.Compare(i,Eu(a));if(0===s)return un(Au(a));if(a instanceof Ou){e=r,t=i,n=s<0?Nu(a):Mu(a);continue e}return}return}}function Fu(e,t){e:for(;;){const n=e,r=t;if(null!=r){const i=r;if(i instanceof Ou){Fu(n,Nu(i)),n(Eu(i),Au(i)),e=n,t=Mu(i);continue e}n(Eu(i),Au(i))}break}}function zu(e,t){Fu(e,t)}function Gu(e,t){if(null!=t){const n=t;if(n instanceof Ou){const t=Gu(e,Nu(n)),r=e(Eu(n),Au(n)),i=Gu(e,Mu(n));return Tu(Eu(n),r,t,i,Pu(n))}return Iu(Eu(n),e(Eu(n),Au(n)))}}function Hu(e,t){return Gu(e,t)}function Wu(e,t){let n;for(let r=0;r<=t.length-1;r++){const i=t[r];n=ju(e,i[0],i[1],n)}return n}class Vu extends jt{constructor(e,t){super(),this.stack=e,this.started=t}}function Zu(e){e:for(;;){const t=e;if(Mn(t))return On();{const n=Rn(t),r=Dn(t);if(null!=r){const i=r;if(i instanceof Ou){e=Fn([Nu(i),Iu(Eu(i),Au(i)),Mu(i)],n);continue e}return t}e=n;continue e}}}function qu(e){return new Vu(Zu(Nn(e)),!1)}function $u(e){if(e.started){const t=e.stack;if(Mn(t))return function(){throw new Error("enumeration already finished")}();if(null!=Dn(t)){const e=Dn(t);if(e instanceof Ou)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Eu(e),Au(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function Yu(e){let t=qu(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>$u(t),"System.Collections.IEnumerator.get_Current":()=>$u(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Mn(t))return!1;if(null!=Dn(t)){if(Dn(t)instanceof Ou)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Zu(Rn(t)),!Mn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Mn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=qu(e)},Dispose(){}}}class Ju{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{Ge(r)}return 0|n}(this)}Equals(e){if(!(e instanceof Ju))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{Ge(n)}}finally{Ge(t)}}}toString(){return"map ["+nn("; ",pr((e=>Qt("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return Yu(this.tree)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Yu(this.tree)}CompareTo(e){const t=this;if(e instanceof Ju)return 0|function(e,t,n){const r=rr(t);try{const t=rr(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{Ge(t)}}finally{Ge(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:ut(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 tl(this,e[0])&&ot(Qu(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;zu(((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|el(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|el(this)}get size(){return 0|el(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return pr((e=>[e[0],e[1]]),this)}get(e){return Qu(this,e)}has(e){return tl(this,e)}keys(){return pr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return pr((e=>e[1]),this)}forEach(e,t){const n=this;mr((t=>{e(t[1],t[0],n)}),n)}}function Xu(e,t){return new Ju(e,t)}function Ku(e){const t=pn();return Xu(t,function(e,t){if(Ue(t))return Wu(e,t);if(t instanceof _n)return function(e,t){return Ln(((t,n)=>ju(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 a=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=ju(r,a[0],a[1],i),n=o}}}(e,void 0,n)}finally{Ge(n)}}}(t,e))}function Qu(e,t){return function(e,t,n){const r=Uu(e,t,n);if(null==r)throw new Error;return ln(r)}(e.comparer,t,e.tree)}function el(e){return Ru(e.tree)}function tl(e,t){return function(e,t,n){e:for(;;){const r=e,i=t,o=n;if(null!=o){const a=o,s=0|r.Compare(i,Eu(a));if(a instanceof Ou){if(s<0){e=r,t=i,n=Nu(a);continue e}if(0===s)return!0;e=r,t=i,n=Mu(a);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function nl(e,t,n){return function(e,t,n){return Xu(e.comparer,ju(e.comparer,t,n,e.tree))}(n,e,t)}function rl(e,t){return function(e,t){return Uu(e.comparer,t,e.tree)}(t,e)}function il(e,t){return function(e,t){return Xu(e.comparer,Hu(t,e.tree))}(t,e)}function ol(){return Ju.empty}function al(e){return new bu(0,"Content-Type",e)}Ju.empty=Xu(pn(),void 0);const sl=new Cu("",new yu(0),On(),!1,void 0,void 0,void 0,new _u(0));function cl(e,t){return en(t)?[t]:an(t,[e],null,0)}function ul(e){return new Cu(e,sl.method,sl.headers,sl.withCredentials,sl.overridenMimeType,sl.overridenResponseType,sl.timeout,sl.content)}function ll(e,t){return new Cu(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function fl(e,t){return new Cu(t.url,t.method,Gn(t.headers,Nn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function dl(e,t){return new Cu(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function hl(e){return function(e){return Wa((t=>e([t.onSuccess,t.onError,t.onCancel])))}((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 xu(0,n.responseText):new xu("arraybuffer"===s?2:"blob"===s?1:3,n.response),c=function(e){const t=pn();return Xu(t,Wu(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=ln(i);r.push(e)}}return r}((e=>{const t=zn(cl(":",e));return Mn(t)?void 0:[Dn(t).toLocaleLowerCase(),nn(":",Rn(t)).trim()]}),cl("\r\n",n.getAllResponseHeaders()))),new ku(i,e,o,n.responseURL,c,a)))};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{Ge(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(un(s.fields[0]));break;default:n.send()}}))}new ku(0,"","","",ol(),new xu(0,""));class ml extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class pl extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class gl{constructor(){this.cache=new Map([])}}function wl(){return new gl}function vl(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function yl(e,t){switch(e.tag){case 2:return function(e,t,n,r,i=0){if("string"==typeof e){const n=e;e=Pt(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=Rt(e,a),c=Rt.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)}(vl(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return vl(t)}}wl(),wl();const bl=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,_l=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Cl=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function xl(e){function t(e){return e.replace(_l,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(bl.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+Dt(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(_l.test(n))return t(n);if(Cl.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 kl(e,t){try{return t.contents=xl(e),!0}catch(e){return!1}}var Sl;function Il(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 El(e,t,n,r,i){try{return i.contents=function(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&Sl.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,void 0);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[t,i]=Il(!0,r);!n&&10!==o.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[a,s]=Il(n,r);if(e>=a&&e<=s)return e}}throw new Error("Input string was not in a correct format.")}(e,t,n,r),!0}catch(e){return!1}}function Al(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 Ol(e,t){try{return t.contents=function(e){const[t,n]=Ct(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Al(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Sl||(Sl={}));class Tl{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Nl{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 $l(this)}GetHashCode(){return Pl(this)}Equals(e){return Dl(this,e)}}function Ml(e){return null!=e.generics?e.generics:[]}function Pl(e){return et([Ke(e.fullname),...Ml(e).map(Pl)])}function Dl(e,t){return""===e.fullname?""===t.fullname&&rt(of(e),of(t),(([e,t],[n,r])=>e===n&&Dl(t,r))):e.fullname===t.fullname&&rt(Ml(e),Ml(t),Dl)}function Rl(e,t,n,r){return new Nl(e,t,n,r)}function Bl(e,t,n,r){return new Nl(e,t,n,void 0,r)}function Ll(...e){return new Nl("",void 0,void 0,void 0,(()=>e))}function jl(e,t,n,r){const i=new Nl(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Tl(i,n,e[n],t)))}));return i}function Ul(...e){return new Nl("System.Tuple`"+e.length,e)}function Fl(e){return new Nl("Microsoft.FSharp.Core.FSharpOption`1",[e])}function zl(e){return new Nl("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Gl=new Nl("System.Object"),Hl=(new Nl("Microsoft.FSharp.Core.Unit"),new Nl("System.Char"),new Nl("System.String")),Wl=new Nl("System.Boolean"),Vl=(new Nl("System.SByte"),new Nl("System.Byte"),new Nl("System.Int16"),new Nl("System.UInt16"),new Nl("System.Int32")),Zl=(new Nl("System.UInt32"),new Nl("System.Single"),new Nl("System.Double"));function ql(e){if(Array.isArray(e))return e[0];if(e instanceof Nl){const t=Jl(e);if(null!=t)return ql(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function $l(e){const t=Jl(e);return null!=t?$l(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>$l(e))).join(",")+"]"}function Yl(e){return null!=Jl(e)}function Jl(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function Xl(e){return null!=e.generics&&e.generics.length>0}function Kl(e){return null!=e.enumCases&&e.enumCases.length>0}function Ql(e){return null==e.generics?e:new Nl(e.fullname,e.generics.map((()=>Gl)))}function ef(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function tf(e){if(Kl(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function nf(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 rf(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function of(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function af(e){if(uf(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function sf(e){return e instanceof Nl?null!=e.cases:e instanceof Lt}function cf(e){return e instanceof Nl?null!=e.fields:e instanceof jt}function uf(e){return e.fullname.startsWith("System.Tuple")}function lf(e){return null==e.fields?[]:e.fields}new Nl("System.Decimal");class ff{constructor(e){this.k=e}}function df(e){return new ff(e)}function hf(e){return e.k}class mf extends ff{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function pf(e,t,n,r){return new mf(e,t,n,r)}function gf(e){return e.left}function wf(e){return e.right}function vf(e){return e.h}function yf(e,t){e:for(;;){const n=e,r=t;if(null!=n){const i=n;if(i instanceof mf){e=gf(i),t=yf(wf(i),r+1);continue e}return r+1|0}return 0|r}}function bf(e){return yf(e,0)}function _f(e,t,n){let r,i;if(null!=e){const t=e;r=t instanceof mf?vf(t):1}else r=0;if(null!=n){const e=n;i=e instanceof mf?vf(e):1}else i=0;const o=0|(r<i?i:r);return 0===o?df(t):pf(t,e,n,o+1)}function Cf(e,t,n){let r,i,o,a,s,c;if(null!=e){const t=e;s=t instanceof mf?vf(t):1}else s=0;if(null!=n){const e=n;c=e instanceof mf?vf(e):1}else c=0;if(c>s+2){const o=ln(n);if(o instanceof mf){if(r=gf(o),(null!=r?(i=r,i instanceof mf?vf(i):1):0)>s+1){const n=ln(gf(o));if(n instanceof mf)return _f(_f(e,t,gf(n)),hf(n),_f(wf(n),hf(o),wf(o)));throw new Error("internal error: Set.rebalance")}return _f(_f(e,t,gf(o)),hf(o),wf(o))}throw new Error("internal error: Set.rebalance")}if(s>c+2){const r=ln(e);if(r instanceof mf){if(o=wf(r),(null!=o?(a=o,a instanceof mf?vf(a):1):0)>c+1){const e=ln(wf(r));if(e instanceof mf)return _f(_f(gf(r),hf(r),gf(e)),hf(e),_f(wf(e),t,n));throw new Error("internal error: Set.rebalance")}return _f(gf(r),hf(r),_f(wf(r),t,n))}throw new Error("internal error: Set.rebalance")}return _f(e,t,n)}function xf(e,t,n){if(null!=n){const r=n,i=0|e.Compare(t,hf(r));if(r instanceof mf)return i<0?Cf(xf(e,t,gf(r)),hf(r),wf(r)):0===i?n:Cf(gf(r),hf(r),xf(e,t,wf(r)));{const i=0|e.Compare(t,hf(r));return i<0?pf(t,void 0,n,2):0===i?n:pf(t,n,void 0,2)}}return df(t)}function kf(e,t,n){e:for(;;){const r=e,i=t,o=n;if(null!=o){const a=o,s=0|r.Compare(i,hf(a));if(a instanceof mf){if(s<0){e=r,t=i,n=gf(a);continue e}if(0===s)return!0;e=r,t=i,n=wf(a);continue e}return 0===s}return!1}}function Sf(e,t){e:for(;;){const n=e,r=t;if(null!=r){const i=r;if(i instanceof mf){Sf(n,gf(i)),n(hf(i)),e=n,t=wf(i);continue e}n(hf(i))}break}}class If extends jt{constructor(e,t){super(),this.stack=e,this.started=t}}function Ef(e){e:for(;;){const t=e;if(Mn(t))return On();{const n=Dn(t),r=Rn(t);if(null!=n){const i=n;if(i instanceof mf){e=Fn([gf(i),df(hf(i)),wf(i)],r);continue e}return t}e=r;continue e}}}function Af(e){return new If(Ef(Nn(e)),!1)}function Of(e){if(e.started){const t=e.stack;if(Mn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Dn(t))return hf(Dn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Tf(e){let t=Af(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Of(t),"System.Collections.IEnumerator.get_Current":()=>Of(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Mn(t))return!1;if(null!=Dn(t)){if(Dn(t)instanceof mf)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ef(Rn(t)),!Mn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Mn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Af(e)},Dispose(){}}}function Nf(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(Mn(a[0]))return Mn(a[1])?0:-1;if(Mn(a[1]))return 1;if(null!=Dn(a[1]))if(null!=Dn(a[0])){const s=Dn(a[0]),c=Dn(a[1]);if(s instanceof mf)if(null==gf(s)){if(!(c instanceof mf)){const i=0|r.Compare(hf(s),hf(c));if(0!==i)return 0|i;e=r,t=Tn(wf(s),Rn(a[0])),n=Tn(void 0,Rn(a[1]));continue e}if(null==gf(c)){const i=0|r.Compare(hf(s),hf(c));if(0!==i)return 0|i;e=r,t=Tn(wf(s),Rn(a[0])),n=Tn(wf(c),Rn(a[1]));continue e}{const a=[i,o];let s,c,u,l,f;switch(Mn(a[0])?Mn(a[1])?s=2:null!=Dn(a[1])?(s=1,l=Rn(a[1]),f=Dn(a[1])):s=2:null!=Dn(a[0])?(s=0,c=Rn(a[0]),u=Dn(a[0])):Mn(a[1])?s=2:null!=Dn(a[1])?(s=1,l=Rn(a[1]),f=Dn(a[1])):s=2,s){case 0:if(u instanceof mf){e=r,t=Fn([gf(u),pf(hf(u),void 0,wf(u),0)],c),n=o;continue e}e=r,t=Fn([void 0,df(hf(u))],c),n=o;continue e;case 1:if(f instanceof mf){e=r,t=i,n=Fn([gf(f),pf(hf(f),void 0,wf(f),0)],l);continue e}e=r,t=i,n=Fn([void 0,df(hf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[i,o];let s,c,u,l,f;switch(Mn(a[0])?Mn(a[1])?s=2:null!=Dn(a[1])?(s=1,l=Rn(a[1]),f=Dn(a[1])):s=2:null!=Dn(a[0])?(s=0,c=Rn(a[0]),u=Dn(a[0])):Mn(a[1])?s=2:null!=Dn(a[1])?(s=1,l=Rn(a[1]),f=Dn(a[1])):s=2,s){case 0:if(u instanceof mf){e=r,t=Fn([gf(u),pf(hf(u),void 0,wf(u),0)],c),n=o;continue e}e=r,t=Fn([void 0,df(hf(u))],c),n=o;continue e;case 1:if(f instanceof mf){e=r,t=i,n=Fn([gf(f),pf(hf(f),void 0,wf(f),0)],l);continue e}e=r,t=i,n=Fn([void 0,df(hf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof mf)){const i=0|r.Compare(hf(s),hf(c));if(0!==i)return 0|i;e=r,t=Rn(a[0]),n=Rn(a[1]);continue e}if(null==gf(c)){const i=0|r.Compare(hf(s),hf(c));if(0!==i)return 0|i;e=r,t=Tn(void 0,Rn(a[0])),n=Tn(wf(c),Rn(a[1]));continue e}{const a=[i,o];let s,c,u,l,f;switch(Mn(a[0])?Mn(a[1])?s=2:null!=Dn(a[1])?(s=1,l=Rn(a[1]),f=Dn(a[1])):s=2:null!=Dn(a[0])?(s=0,c=Rn(a[0]),u=Dn(a[0])):Mn(a[1])?s=2:null!=Dn(a[1])?(s=1,l=Rn(a[1]),f=Dn(a[1])):s=2,s){case 0:if(u instanceof mf){e=r,t=Fn([gf(u),pf(hf(u),void 0,wf(u),0)],c),n=o;continue e}e=r,t=Fn([void 0,df(hf(u))],c),n=o;continue e;case 1:if(f instanceof mf){e=r,t=i,n=Fn([gf(f),pf(hf(f),void 0,wf(f),0)],l);continue e}e=r,t=i,n=Fn([void 0,df(hf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Dn(a[1]);const s=[i,o];let c,u,l,f,d;switch(Mn(s[0])?Mn(s[1])?c=2:null!=Dn(s[1])?(c=1,f=Rn(s[1]),d=Dn(s[1])):c=2:null!=Dn(s[0])?(c=0,u=Rn(s[0]),l=Dn(s[0])):Mn(s[1])?c=2:null!=Dn(s[1])?(c=1,f=Rn(s[1]),d=Dn(s[1])):c=2,c){case 0:if(l instanceof mf){e=r,t=Fn([gf(l),pf(hf(l),void 0,wf(l),0)],u),n=o;continue e}e=r,t=Fn([void 0,df(hf(l))],u),n=o;continue e;case 1:if(d instanceof mf){e=r,t=i,n=Fn([gf(d),pf(hf(d),void 0,wf(d),0)],f);continue e}e=r,t=i,n=Fn([void 0,df(hf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Dn(a[0])){e=r,t=Rn(a[0]),n=Rn(a[1]);continue e}{Dn(a[0]);const s=[i,o];let c,u,l,f,d;switch(Mn(s[0])?Mn(s[1])?c=2:null!=Dn(s[1])?(c=1,f=Rn(s[1]),d=Dn(s[1])):c=2:null!=Dn(s[0])?(c=0,u=Rn(s[0]),l=Dn(s[0])):Mn(s[1])?c=2:null!=Dn(s[1])?(c=1,f=Rn(s[1]),d=Dn(s[1])):c=2,c){case 0:if(l instanceof mf){e=r,t=Fn([gf(l),pf(hf(l),void 0,wf(l),0)],u),n=o;continue e}e=r,t=Fn([void 0,df(hf(l))],u),n=o;continue e;case 1:if(d instanceof mf){e=r,t=i,n=Fn([gf(d),pf(hf(d),void 0,wf(d),0)],f);continue e}e=r,t=i,n=Fn([void 0,df(hf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Nn(t),Nn(n))}function Mf(e,t,n){let r=n;Sf((e=>{t[r]=e,r=r+1|0}),e)}function Pf(e,t){if(Ue(t))return function(e,t){return yn(((t,n)=>xf(e,n,t)),void 0,t)}(e,t);if(t instanceof _n)return function(e,t){return Ln(((t,n)=>xf(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=xf(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),n=o}}(e,void 0,n)}finally{Ge(n)}}}class Df{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{Ge(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof Df&&0===Nf(Rf(this),Bf(this),Bf(e))}toString(){return"set ["+nn("; ",pr((e=>Bt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|Nf(Rf(this),Bf(this),Bf(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 kf(Rf(this),e,Bf(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Mf(Bf(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Lf(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Lf(this)}GetEnumerator(){return Tf(Bf(this))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Tf(Bf(this))}get size(){return 0|Lf(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 kf(Rf(e),t,Bf(e))}(this,e)}keys(){return pr((e=>e),this)}values(){return pr((e=>e),this)}entries(){return pr((e=>[e,e]),this)}forEach(e,t){const n=this;mr((t=>{e(t,t,n)}),n)}}function Rf(e){return e.comparer}function Bf(e){return e.tree}function Lf(e){return bf(Bf(e))}function jf(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 Uf(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new Za(1,function(e,t){const n=2===t.tag?jf(t.fields[0],t.fields[1],!0):1===t.tag?jf(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?jf(t.fields[0],t.fields[1],!0):4===t.tag?jf(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"+nn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:jf(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new Za(0,r.fields[0])}function Ff(e,t){try{return Uf("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new Za(1,"Given an invalid JSON: "+e.message);throw e}}function zf(e,t){return"string"==typeof t?new Za(0,t):new Za(1,[e,new ml(0,"a string",t)])}const Gf=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 Za(0,(e+128&255)-128):new Za(1,[r,new ml(1,n,e,"Value was either too large or too small for a sbyte")]):new Za(1,[r,new ml(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[El(i,511,!1,8,new Ut((()=>t),(e=>{t=0|e}))),t],e[0]?new Za(0,e[1]):new Za(1,[r,new ml(0,n,i)])}return new Za(1,[r,new ml(0,n,i)])},Hf=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 Za(0,255&e):new Za(1,[r,new ml(1,n,e,"Value was either too large or too small for a byte")]):new Za(1,[r,new ml(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[El(i,511,!0,8,new Ut((()=>t),(e=>{t=e}))),t],e[0]?new Za(0,e[1]):new Za(1,[r,new ml(0,n,i)])}return new Za(1,[r,new ml(0,n,i)])},Wf=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 Za(0,(e+32768&65535)-32768):new Za(1,[r,new ml(1,n,e,"Value was either too large or too small for "+n)]):new Za(1,[r,new ml(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[El(i,511,!1,16,new Ut((()=>t),(e=>{t=0|e}))),t],e[0]?new Za(0,e[1]):new Za(1,[r,new ml(0,n,i)])}return new Za(1,[r,new ml(0,n,i)])},Vf=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 Za(0,65535&e):new Za(1,[r,new ml(1,n,e,"Value was either too large or too small for "+n)]):new Za(1,[r,new ml(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[El(i,511,!0,16,new Ut((()=>t),(e=>{t=e}))),t],e[0]?new Za(0,e[1]):new Za(1,[r,new ml(0,n,i)])}return new Za(1,[r,new ml(0,n,i)])},Zf=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 Za(0,~~e):new Za(1,[r,new ml(1,n,e,"Value was either too large or too small for an int")]):new Za(1,[r,new ml(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[El(i,511,!1,32,new Ut((()=>t),(e=>{t=0|e}))),t],e[0]?new Za(0,e[1]):new Za(1,[r,new ml(0,n,i)])}return new Za(1,[r,new ml(0,n,i)])},qf=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 Za(0,e>>>0):new Za(1,[r,new ml(1,n,e,"Value was either too large or too small for "+n)]):new Za(1,[r,new ml(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[El(i,511,!0,32,new Ut((()=>t),(e=>{t=e}))),t],e[0]?new Za(0,e[1]):new Za(1,[r,new ml(0,n,i)])}return new Za(1,[r,new ml(0,n,i)])};function $f(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 Za(1,[o,new ml(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(i=n.length,Je(i)+"` entries"),r)])}return new Za(1,[o,new ml(0,"an array",r)])}function Yf(e,t,n){if(Array.isArray(n)){let r=-1;return qa(jn,yn(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Je(r)+"]",i);return 0===o.tag?new Za(0,Tn(o.fields[0],n.fields[0])):new Za(1,o.fields[0])}return n}),new Za(0,On()),n))}return new Za(1,[t,new ml(0,"a list",n)])}function Jf(e,t,n){if(Array.isArray(n)){let r=-1;const i=n;return yn(((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 Za(0,o)):new Za(1,a.fields[0])}return n}),new Za(0,wn(new Array(i.length),0,i.length,null)),i)}return new Za(1,[t,new ml(0,"an array",n)])}function Xf(e,t,n,r){const i=t(n,r);return 0===i.tag?e(i.fields[0],n,r):new Za(1,i.fields[0])}function Kf(e,t){let n;const r=e;return n=e=>t=>$f(0,r,e,t),e=>r=>Xf(ht(3,(e=>{let n;const r=t;return n=e=>t=>$f(1,r,e,t),t=>r=>Xf(((t,n,r)=>new Za(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function Qf(e){return Ku(e)}function ed(e){return function(e,t){return new Df(e,t)}(t={Compare:ut},Pf(t,e));var t}function td(e,t,n,r){let i;const o=t.length+e|0;if(o!==r.length)return new Za(1,[n,new ml(6,(i=0|r.length,Yt(Zt("Expected array of length %i but got %i"))(o)(i)))]);{let i=new Za(0,On());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const a=i.fields[0],s=Yt(Zt("%s[%i]"))(n)(o),c=t[o-e],u=r[o];i=qa((e=>Tn(e,a)),c(s)(u))}return qa(jn,i)}}function nd(e,t,n,r,i,o){const a=function(e,t){return t.find((e=>ql(e)===r))}(0,rf(n));if(null!=a){const n=a,r=vn((n=>id(e,t,!1,n[1])),lf(n));return qa((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,Bn(e))),0===r.length&&o.length<=1?new Za(0,On()):td(1,r,i,o))}return new Za(1,[i,new ml(6,"Cannot find case "+r+" in "+$l(n))])}function rd(e,t,n,r){const i=new Ut(null);let o;const a=$l(r);let s;if(o=""===a?e:nl(a,i,e),cf(r)){const e=vn((e=>[yl(t,ql(e)),id(o,t,!1,e[1])]),of(r));s=t=>n=>qa((e=>function(e,t){const n=of(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,Bn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new Za(1,[t,new ml(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?qa((e=>Tn(e,i.fields[0])),e[1](t+"."+r)(n[r])):i})),e,new Za(0,On()))}(e,t,n))}else if(sf(r))s=e=>n=>{if("string"==typeof n)return nd(o,t,r,n,e,[]);if(Array.isArray(n)){const i=n;return $a((n=>nd(o,t,r,n,e,i)),zf(e+"[0]",i[0]))}return new Za(1,[e,new ml(0,"a string or array",n)])};else{if(!n){let e;const t=$l(r);throw e=Yt(Zt("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 Za(1,[e,new ml(2,"an extra coder for "+$l(r),t)])}return i.contents=s,s}function id(e,t,n,r){let i,o,a,s;const c=$l(r),u=rl(c,e);if(null==u){if(Yl(r)){const n=id(e,t,!1,Jl(r));return e=>t=>Jf(ht(2,n),e,t)}if(Kl(r)){const e=$l(ef(r));if("System.SByte"===e)return e=>t=>{const n=r,i=e,o=t,a=Gf(i)(o);if(1===a.tag)return new Za(1,a.fields[0]);{const e=a.fields[0];return dr(e,tf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new Za(0,nf(n,e.toString())):new Za(1,[i,new ml(1,$l(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,i=e,o=t,a=Hf(i)(o);if(1===a.tag)return new Za(1,a.fields[0]);{const e=a.fields[0];return dr(e,tf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new Za(0,nf(n,e.toString())):new Za(1,[i,new ml(1,$l(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,i=e,o=t,a=Wf(i)(o);if(1===a.tag)return new Za(1,a.fields[0]);{const e=a.fields[0];return dr(e,tf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new Za(0,nf(n,e.toString(s))):new Za(1,[i,new ml(1,$l(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=Vf(i)(o);if(1===a.tag)return new Za(1,a.fields[0]);{const e=a.fields[0];return dr(e,tf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new Za(0,nf(n,e.toString())):new Za(1,[i,new ml(1,$l(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,i=e,o=t,a=Zf(i)(o);if(1===a.tag)return new Za(1,a.fields[0]);{const e=a.fields[0];return dr(e,tf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new Za(0,nf(n,Je(e))):new Za(1,[i,new ml(1,$l(n),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,i=e,o=t,a=qf(i)(o);if(1===a.tag)return new Za(1,a.fields[0]);{const e=a.fields[0];return dr(e,tf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new Za(0,nf(n,e.toString())):new Za(1,[i,new ml(1,$l(n),o,"Unkown value provided for the enum")])}};{const e=$l(r),t=Jt(Zt("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(Xl(r)){if(uf(r)){const n=vn((n=>id(e,t,!1,n)),af(r));return e=>t=>Array.isArray(t)?qa((e=>Bn(e)),td(0,n,e,t)):new Za(1,[e,new ml(0,"an array",t)])}{const c=$l(Ql(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=id(e,t,!0,Ml(r)[0]),e=>t=>{return n=ht(2,i),r=e,null==(o=t)?new Za(0,void 0):qa(un,n(r,o));var n,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=id(e,t,!1,Ml(r)[0]),e=>t=>Yf(ht(2,o),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return a=id(e,t,!1,Ml(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return qa(wr,yn(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Je(r)+"]",i);return 0===o.tag?new Za(0,fr([o.fields[0]],n.fields[0])):new Za(1,o.fields[0])}return n}),new Za(0,[]),n))}return new Za(1,[t,new ml(0,"a seq",n)])}(ht(2,a),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const n=id(e,t,!1,Ml(r)[0]),i=id(e,t,!1,Ml(r)[1]);let o;const a=zn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new Za(1,[n,new ml(0,"an object",r)]):hr(((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 Za(0,Tn([a.fields[0],e.fields[0]],i.fields[0])):new Za(1,e.fields[0])}return new Za(1,a.fields[0])}return i}),new Za(0,On()),Object.keys(r))}(ht(2,n),ht(2,i),e,t),(s=Kf(ht(2,n),ht(2,i)),e=>t=>Yf(ht(2,s),e,t))]);return o=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const i=e,o=t;if(Mn(i))return new Za(1,[n,new ml(7,o)]);{const a=Uf(n,ht(2,Dn(i)),r);if(1===a.tag){e=Rn(i),t=Gn(o,Nn(a.fields[0]));continue e}return new Za(0,a.fields[0])}}})(a,On());var n,r},e=>t=>function(e,t,n,r){const i=t(n,r);return 1===i.tag?new Za(1,i.fields[0]):new Za(0,e(i.fields[0]))}(Qf,ht(2,o),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const n=id(e,t,!1,Ml(r)[0]);return e=>t=>{const r=Jf(ht(2,n),e,t);return 0===r.tag?new Za(0,ed(r.fields[0])):new Za(1,r.fields[0])}}return rd(e,t,n,r)}}return"System.Boolean"===c?e=>t=>{return n=e,"boolean"==typeof(r=t)?new Za(0,r):new Za(1,[n,new ml(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===c?e=>t=>{return n=e,null==(r=t)?new Za(0,void 0):new Za(1,[n,new ml(0,"null",r)]);var n,r}:"System.String"===c?e=>t=>zf(e,t):"System.Char"===c?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new Za(0,n[0]):new Za(1,[e,new ml(0,"a single character string",t)])}return new Za(1,[e,new ml(0,"a char",t)])}(e,t):"System.SByte"===c?Gf:"System.Byte"===c?Hf:"System.Int16"===c?Wf:"System.UInt16"===c?Vf:"System.Int32"===c?Zf:"System.UInt32"===c?qf:"System.Double"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new Za(0,r):new Za(1,[n,new ml(0,"a float",r)]);var n,r}:"System.Single"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new Za(0,r):new Za(1,[n,new ml(0,"a float32",r)]);var n,r}:"System.DateTime"===c?e=>t=>function(e,t){if("string"==typeof t){let r,i=_t(-621355968e5,0);return r=[xt(t,new Ut((()=>i),(e=>{i=e}))),i],r[0]?new Za(0,1===(n=r[1]).kind?n:_t(n.getTime(),1)):new Za(1,[e,new ml(0,"a datetime",t)])}var n;return new Za(1,[e,new ml(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=Al(-621355968e5,0);return n=[Ol(t,new Ut((()=>r),(e=>{r=e}))),r],n[0]?new Za(0,n[1]):new Za(1,[e,new ml(0,"a datetimeoffset",t)])}return new Za(1,[e,new ml(0,"a datetime",t)])}(e,t):"System.TimeSpan"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Pc(t,new Ut((()=>r),(e=>{r=e}))),r],n[0]?new Za(0,n[1]):new Za(1,[e,new ml(0,"a timespan",t)])}return new Za(1,[e,new ml(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=[kl(t,new Ut((()=>r),(e=>{r=e}))),r],n[0]?new Za(0,n[1]):new Za(1,[e,new ml(0,"a guid",t)])}return new Za(1,[e,new ml(0,"a guid",t)])}(e,t):"System.Object"===c?e=>e=>new Za(0,e):rd(e,t,n,r)}{const e=u;return t=>n=>e.contents(t)(n)}}function od(e,t,n){const r=hn(t,new pl(0));return id(function(e){return null!=e?il(((e,t)=>new Ut(t[1])),e.Coders):ol()}(n),r,!1,e)}class ad extends jt{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}class sd extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class cd extends jt{constructor(e){super(),this.AuthCode=e}}class ud extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class ld extends jt{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}function fd(){return Bl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],ld,(()=>[["CssOverrides",zl(Hl)],["MaskedEmail",Hl]]))}function dd(e){return new ad(e.CssOverrides,e.MaskedEmail)}class hd extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class md extends jt{constructor(e){super(),this.AuthCode=e}}class pd extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class gd extends jt{constructor(e){super(),this.Mfa=e}}function wd(e){return e}function vd(e){return Array.from(e)}function yd(e){return bt(e,"O")}function bd(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 Oc(e/864e5)}(e)),i=Math.abs(function(e){return Oc(e%864e5/36e5)}(e)),o=Math.abs(function(e){return Oc(e%36e5/6e4)}(e)),a=Math.abs(function(e){return Oc(e%6e4/1e3)}(e)),s=Math.abs(function(e){return Oc(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?i:$e(i,2)}:${$e(o,2)}:${$e(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+$e(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 _d(){return null}function Cd(e){return bt(e,"O")}function xd(e,t){return JSON.stringify(t,ht(2,null),un(e))}function kd(e,t,n,r){const i=new Ut(null);let o;const a=$l(r);let s;if(o=""===a?e:nl(a,i,e),cf(r)){const e=vn((e=>{const r=yl(t,ql(e)),i=Sd(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}}),of(r));s=t=>hr(((e,n)=>n(t)(e)),{},e)}else{if(!sf(r)){let e;const t=$l(r);throw e=Yt(Zt("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=rf(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 ql(a);{const e=0|c,r=lf(a),i=wn(new Array(e+1),0,e+1,null);i[0]=ql(a);for(let a=1;a<=e;a++){const e=Sd(o,t,n,r[a-1][1]);i[a]=e(s[a-1])}return i}}}return i.contents=s,s}function Sd(e,t,n,r){const i=$l(r),o=rl(i,e);if(null==o){if(Yl(r)){const i=Sd(e,t,n,Jl(r));return e=>vd(pr(i,e))}if(Kl(r)){const e=$l(ef(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=$l(r);return Jt(Zt("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(Xl(r)){if(uf(r)){const i=vn((r=>Sd(e,t,n,r)),af(r));return e=>{return vd((t=(e,t)=>i[e](t),n=e,lr((()=>rr(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?un(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))));var t,n}}{const i=$l(Ql(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new qe((()=>{return i=Sd(e,t,n,Ml(r)[0]),e=>{return null!=(t=mn(i,e))?ln(t):null;var t};var i}));return e=>null==e?null: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=Sd(e,t,n,Ml(r)[0]);return e=>vd(pr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=Ml(r)[0],o=Sd(e,t,n,Ml(r)[1]);if("System.String"===$l(i)||"System.Guid"===$l(i))return e=>hr(((e,t)=>{const n=t;return e[n[0]]=o(n[1]),e}),{},e);{let r;const a=Sd(e,t,n,i);return r=a,e=>vd(pr((e=>{const t=e;return[r(t[0]),o(t[1])]}),e))}}return kd(e,t,n,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?_d:"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?Cd:"System.DateTimeOffset"===i?yd:"System.TimeSpan"===i?bd:"System.Guid"===i?wd:"System.Object"===i?e=>e:kd(e,t,n,r)}{const e=o;return t=>e.contents(t)}}function Id(e,t,n,r){const i=hn(t,new pl(0)),o=hn(r,!0);return Sd(function(e){return null!=e?il(((e,t)=>new Ut(t[0])),e.Coders):ol()}(n),i,o,e)}function Ed(e){return Va.Delay((()=>{let t;const n=hl(e);return t=Va.Bind(n,(e=>Va.Return(new Za(0,e)))),Va.Bind(t,(t=>{const n=t;if(1===n.tag)return Va.Return(new Za(1,n.fields[0]));{const t=n.fields[0];if(429===t.statusCode||t.statusCode>=500){const t=hl(e);return Va.Bind(t,(e=>Va.Return(new Za(0,e))))}return Va.Return(new Za(0,t))}}))}))}function Ad(e,t){return Va.Delay((()=>{let n,r;const i=Ed((n=ll(new yu(1),ul(function(e){const t=Wc(e);return Yt(Zt("%s/workflows/public-backend/invites/%s/confirm"))(mu)(t)}(e))),dl(new _u(1,(r=new gd(t),xd(0,Id(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Write.ConfirmInvite",[],gd,(()=>[["Mfa",Hl]])),new pl(1),void 0,void 0)(r)))),n)));return Va.Bind(i,(e=>{const t=e;if(1===t.tag)return Va.Return(new Za(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Ff(ht(2,od(jl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],pd,(()=>[[["Item",Bl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],md,(()=>[["AuthCode",Hl]]))]],[],[],[],[]])),new pl(1),void 0)),e.responseText);return t=1===n.tag?new Za(1,n.fields[0]):new Za(0,function(e){switch(e.tag){case 1:return new ud(1);case 2:return new ud(2);case 3:return new ud(3);case 4:return new ud(4);default:return new ud(0,(t=e.fields[0],new cd(t.AuthCode)))}var t}(n.fields[0])),Va.Return(t)}return Va.Return(new Za(1,"Unexpected response from backend"))}}))}))}function Od(e){return function(e){return Va.Delay((()=>{const t=Ed(ll(new yu(1),ul(function(e){const t=Wc(e);return Yt(Zt("%s/workflows/public-backend/invites/%s/activate"))(mu)(t)}(e))));return Va.Bind(t,(e=>{const t=e;if(1===t.tag)return Va.Return(new Za(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Ff(ht(2,od(jl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],hd,(()=>[[["Item",fd()]],[],[],[],[["Item",fd()]]])),new pl(1),void 0)),e.responseText);return t=1===n.tag?new Za(1,n.fields[0]):new Za(0,function(e){switch(e.tag){case 1:return new sd(1);case 2:return new sd(2);case 3:return new sd(3);case 4:return new sd(4,dd(e.fields[0]));default:return new sd(0,dd(e.fields[0]))}}(n.fields[0])),Va.Return(t)}return Va.Return(new Za(1,"Unexpected response from backend"))}}))}))}(e)}function Td(e,t){let n,r,i,o,a,s,c;switch(e.tag){case 1:{const n=e.fields[0];let r,i;switch(3===n.tag?r=1:0===n.tag||1===n.tag?r=2:0===n.fields[0].tag?(r=0,i=n.fields[0].fields[0]):r=1,r){case 0:{let e,n;switch(i.tag){case 4:default:e=0,n=i.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3}switch(e){case 0:return[new eu(t.InviteToken,n.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(1),n.CssOverrides),ss()];case 1:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"We couldn't find this invite. Reach out to your employer to get another one."),t.CssOverrides),ss()];case 2:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"Your invite has expired. Reach out to your employer to get another one."),t.CssOverrides),ss()];case 3:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),t.CssOverrides),ss()]}}case 1:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"Oops, looks like something went wrong. Try refreshing this page."),t.CssOverrides),ss()];case 2:return[t,ss()]}}case 2:{const s=e.fields[0];let c,u;switch(3===s.tag?c=1:0===s.tag||1===s.tag?c=2:0===s.fields[0].tag?(c=0,u=s.fields[0].fields[0]):c=1,c){case 0:switch(u.tag){case 2:return[new eu(t.InviteToken,t.MaskedEmail,(n=t.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:n.Input,IsDirty:n.IsDirty,IsTouched:n.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),fs(new Qc(0))];case 1:return[new eu(t.InviteToken,t.MaskedEmail,(r=t.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ss()];case 4:return[new eu(t.InviteToken,t.MaskedEmail,(i=t.MfaCodeForm,{Error:"Looks like the code hasn't been issued. Reach out to your employer.",Input:i.Input,IsDirty:i.IsDirty,IsTouched:i.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ss()];case 3:return[new eu(t.InviteToken,t.MaskedEmail,(o=t.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ss()];default:return[t,(a=vu(new wu(1)),ls((e=>{su(Nn(a+function(e){const t=nn("&",Hn((e=>nn("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])])),e));return""===t?"":"?"+t}(Nn(["code",u.fields[0].AuthCode]))),1,2)})))]}case 1:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!1,t.CanRetry,new Kc(2,"Oops, looks like something went wrong. Please try again."),t.CssOverrides),ss()];case 2:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!0,t.CanRetry,t.Ui,t.CssOverrides),ss()]}}case 3:{const n=e.fields[0];return[(s=Fc(n),1===s.tag?new eu(t.InviteToken,t.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides):new eu(t.InviteToken,t.MaskedEmail,{Error:void 0,Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides)),ss()]}case 4:return[new eu(t.InviteToken,t.MaskedEmail,(c=t.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides),ss()];default:return[t,fs(new Qc(1,Fs(Od(t.InviteToken),[])))]}}function Nd(e,t){return Va.Delay((()=>Va.Bind(ts(e),(()=>Va.ReturnFrom(t)))))}function Md(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 Pd(e,t=0){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 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return Md(e,"_");case 3:return Md(e,"_").toUpperCase();case 4:return Md(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&i(t),t instanceof Lt){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 Dd(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class Rd{constructor(e,t){const n=new Ut(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"]();Gd(n.contents,e[0],e[1])}}finally{Ge(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return Ve(this)}GetEnumerator(){return Ve(or(this.hashMap.values()))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){Gd(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){jd(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=Ld(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},hr(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Ud(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=Ld(this,e[0]);return null!=t&&(ot(t[1],e[1])&&Wd(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){Gd(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return Hd(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return Fd(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){zd(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return cr(ir((()=>pr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return Wd(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=Ld(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 cr(ir((()=>pr((e=>e[1]),e))))}get size(){return 0|Ud(this)}clear(){jd(this)}delete(e){return Wd(this,e)}entries(){return pr((e=>[e[0],e[1]]),this)}get(e){return Fd(this,e)}has(e){return Hd(this,e)}keys(){return pr((e=>e[0]),this)}set(e,t){return zd(this,e,t),this}values(){return pr((e=>e[1]),this)}forEach(e,t){const n=this;mr((t=>{e(t[1],t[0],n)}),n)}}function Bd(e,t){const n=0|e.comparer.GetHashCode(t);let r,i=null;return r=[(o=e.hashMap,a=n,s=new Ut((()=>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 Ld(e,t){const n=Bd(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Dd(e.hashMap,n[1])[n[2]];case 1:return}}function jd(e){e.hashMap.clear()}function Ud(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{Ge(n)}return 0|t}function Fd(e,t){const n=Ld(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function zd(e,t,n){const r=Bd(e,t);r[0]?r[2]>-1?Dd(e.hashMap,r[1])[r[2]]=[t,n]:Dd(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function Gd(e,t,n){const r=Bd(e,t);if(r[0]){if(r[2]>-1){const e=Qt("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}Dd(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function Hd(e,t){const n=Bd(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function Wd(e,t){const n=Bd(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Dd(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class Vd extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function Zd(e){return new Vd(0,e)}function qd(e){return e.fields[0]}class $d extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class Yd extends jt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const Jd=new Yd(new $d(0,"personal-details"),"Personal Details","apollo-personal-details-app"),Xd=new Yd(new $d(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),Kd=new Yd(new $d(0,"bank"),"Bank","bank-component"),Qd=new Yd(new $d(0,"tax"),"Tax","tax-component"),eh=new Yd(new $d(0,"super"),"Super","super-selection-app"),th=new Yd(new $d(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),nh=new $d(0,"benefits-onboarding"),rh=new Yd(nh,"Benefits","benefits-onboarding"),ih=new Yd(new $d(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app");function oh(e){return new $d(0,e)}function ah(e){return e.fields[0]}class sh extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class ch extends jt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const uh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000000")),"onboarding-default",zn([Kd,Qd,eh])),lh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000001")),"PEBTS",zn([Jd,Xd,Kd,Qd,eh])),fh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000002")),"PS",zn([Jd,eh])),dh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000003")),"BS",zn([Kd,eh])),hh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000004")),"Super",Nn(eh)),mh=new ch(new sh(0,xl("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Nn(th)),ph=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000005")),"Tax",Nn(Qd)),gh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000006")),"PBTS",zn([Jd,Kd,Qd,eh])),wh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000007")),"PEBTSPo",zn([Jd,Xd,Kd,Qd,eh,ih])),vh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000008")),"PEBSPo",zn([Jd,Xd,Kd,eh,ih])),yh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000009")),"PESPo",zn([Jd,Xd,eh,ih])),bh=new ch(new sh(0,xl("00000000-0000-0000-0000-000000000010")),"PETSPo",zn([Jd,Xd,Qd,eh,ih])),_h=new Rd([[uh.Id,uh],[lh.Id,lh],[fh.Id,fh],[dh.Id,dh],[hh.Id,hh],[mh.Id,mh],[ph.Id,ph],[gh.Id,gh],[wh.Id,wh],[vh.Id,vh],[yh.Id,yh],[bh.Id,bh]],{Equals:ot,GetHashCode:nt});class Ch extends jt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class xh extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class kh extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function Sh(e){return new kh(0,e)}function Ih(e){return e.fields[0]}class Eh extends jt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Ah extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class Oh extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class Th extends jt{constructor(e,t,n,r,i,o,a,s,c,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=u}}class Nh extends jt{constructor(e){super(),this.BenefitsOnboarding=e}}class Mh extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite"]}}class Ph extends jt{constructor(e){super(),this.Category=e}}class Dh extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}function Rh(e,t,n){const r=Wn((t=>0===function(...e){switch(e.length){case 2:return Vt(e[0],e[1],!1);case 3:return Vt(e[0],e[1],e[2]);case 4:return Vt(e[0],e[1],!0===e[2]);case 5:return Vt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return Vt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return Vt(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)),ur(ir((()=>fr(n.Configuration.Steps,ir((()=>t?sr(rh):ar()))))))),i=Yt(qt("Invalid ComponentTagName %A%P()",[e])),o=r;return null==o?new Za(1,i):new Za(0,o)}function Bh(e){const t=e.Status;switch(t.tag){case 0:case 2:case 3:return;default:return Sn(n=Zn((e=>!$n((t=>ot(e.Id,t[0])),t.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:un(En(n))}var n}function Lh(){return fn(document.getElementById("external-loading-page-container"))}function jh(){return null!=Lh()}var Uh,Fh=[],zh="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"}(Uh||(Uh={}));var Gh,Hh=function(e){return Object.freeze(e)},Wh=function(e,t){this.inlineSize=e,this.blockSize=t,Hh(this)},Vh=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,Hh(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}(),Zh=function(e){return e instanceof SVGElement&&"getBBox"in e},qh=function(e){if(Zh(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)},$h=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)},Yh="undefined"!=typeof window?window:{},Jh=new WeakMap,Xh=/auto|scroll/,Kh=/^tb|vertical/,Qh=/msie|trident/i.test(Yh.navigator&&Yh.navigator.userAgent),em=function(e){return parseFloat(e||"0")},tm=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Wh((n?t:e)||0,(n?e:t)||0)},nm=Hh({devicePixelContentBoxSize:tm(),borderBoxSize:tm(),contentBoxSize:tm(),contentRect:new Vh(0,0,0,0)}),rm=function(e,t){if(void 0===t&&(t=!1),Jh.has(e)&&!t)return Jh.get(e);if(qh(e))return Jh.set(e,nm),nm;var n=getComputedStyle(e),r=Zh(e)&&e.ownerSVGElement&&e.getBBox(),i=!Qh&&"border-box"===n.boxSizing,o=Kh.test(n.writingMode||""),a=!r&&Xh.test(n.overflowY||""),s=!r&&Xh.test(n.overflowX||""),c=r?0:em(n.paddingTop),u=r?0:em(n.paddingRight),l=r?0:em(n.paddingBottom),f=r?0:em(n.paddingLeft),d=r?0:em(n.borderTopWidth),h=r?0:em(n.borderRightWidth),m=r?0:em(n.borderBottomWidth),p=f+u,g=c+l,w=(r?0:em(n.borderLeftWidth))+h,v=d+m,y=s?e.offsetHeight-v-e.clientHeight:0,b=a?e.offsetWidth-w-e.clientWidth:0,_=i?p+w:0,C=i?g+v:0,x=r?r.width:em(n.width)-_-b,k=r?r.height:em(n.height)-C-y,S=x+p+b+w,I=k+g+y+v,E=Hh({devicePixelContentBoxSize:tm(Math.round(x*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:tm(S,I,o),contentBoxSize:tm(x,k,o),contentRect:new Vh(f,c,x,k)});return Jh.set(e,E),E},im=function(e,t,n){var r=rm(e,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Uh.DEVICE_PIXEL_CONTENT_BOX:return a;case Uh.BORDER_BOX:return i;default:return o}},om=function(e){var t=rm(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Hh([t.borderBoxSize]),this.contentBoxSize=Hh([t.contentBoxSize]),this.devicePixelContentBoxSize=Hh([t.devicePixelContentBoxSize])},am=function(e){if(qh(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},sm=function(){var e=1/0,t=[];Fh.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new om(t.target),i=am(t.target);r.push(n),t.lastReportedSize=im(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},cm=function(e){Fh.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(am(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},um=[],lm=0,fm={attributes:!0,characterData:!0,childList:!0,subtree:!0},dm=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],hm=function(e){return void 0===e&&(e=0),Date.now()+e},mm=!1,pm=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),!mm){mm=!0;var n=hm(e);!function(e){!function(e){if(!Gh){var t=0,n=document.createTextNode("");new MutationObserver((function(){return um.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Gh=function(){n.textContent="".concat(t?t--:t++)}}um.push(e),Gh()}((function(){requestAnimationFrame(e)}))}((function(){var r=!1;try{r=function(){var e,t=0;for(cm(t);Fh.some((function(e){return e.activeTargets.length>0}));)t=sm(),cm(t);return Fh.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:zh}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=zh),window.dispatchEvent(e)),t>0}()}finally{if(mm=!1,e=n-hm(),!lm)return;r?t.run(1e3):e>0?t.run(e):t.start()}}))}},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,fm)};document.body?t():Yh.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dm.forEach((function(t){return Yh.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),dm.forEach((function(t){return Yh.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),gm=new pm,wm=function(e){!lm&&e>0&&gm.start(),!(lm+=e)&&gm.stop()},vm=function(){function e(e,t){this.target=e,this.observedBox=t||Uh.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=im(this.target,this.observedBox,!0);return e=this.target,Zh(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}(),ym=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},bm=new WeakMap,_m=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Cm=function(){function e(){}return e.connect=function(e,t){var n=new ym(e,t);bm.set(e,n)},e.observe=function(e,t,n){var r=bm.get(e),i=0===r.observationTargets.length;_m(r.observationTargets,t)<0&&(i&&Fh.push(r),r.observationTargets.push(new vm(t,n&&n.box)),wm(1),gm.schedule())},e.unobserve=function(e,t){var n=bm.get(e),r=_m(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&Fh.splice(Fh.indexOf(n),1),n.observationTargets.splice(r,1),wm(-1))},e.disconnect=function(e){var t=this,n=bm.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),xm=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.");Cm.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(!$h(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Cm.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(!$h(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Cm.unobserve(this,e)},e.prototype.disconnect=function(){Cm.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class km extends jt{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function Sm(e){return new km(Ih(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function Im(e){jh()||window.parent.postMessage(e,"*")}function Em(){Im(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function Am(e,t){Im(function(e,t){const n={type:"workflowSubmitSuccess",sender:"flare"};return n.workflow=Sm(e),n.profileId=qd(t),n}(e,t))}function Om(e){jh()&&function(e,t){ns(Va.Delay((()=>Va.Bind(ts(e),(()=>(function(){let e,t;const n=Lh();mr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),dn(n))}(),Im({type:"appReady",sender:"flare"}),Em(),Va.Zero()))))))}(e)}function Tm(e){let t;const n=Ls((r=e.inviteCode,[new eu(r,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new Kc(0),On()),ss()]),Td,[]);var r;const i=n[0],o=n[1];Es(zs((()=>Nd(1e3,Od(i.InviteToken))),(e=>{o(new Qc(1,e))})));const a=zs((()=>Nd(500,Ad(i.InviteToken,i.MfaCodeForm.Input))),(e=>{o(new Qc(2,e))}));Es((()=>{Om(0)}));const s=e=>{let t;return d("svg",ft(zn([["className",nn(" ",Gn(zn(["animate-spin","text-primary-base"]),e))],["fill","none"],["viewBox","0 0 24 24"],["xmlns","http://www.w3.org/2000/svg"],(t=zn([d("circle",{className:nn(" ",["opacity-25"]),cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4}),d("path",{className:nn(" ",["opacity-75"]),fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]),["children",yr.Children.toArray(Array.from(t))])])))};return d("div",ft(zn([["className",nn(" ",["h-screen","fade-in"])],(t=ur(ir((()=>fr(pr((e=>d("style",{children:[e]})),i.CssOverrides),ir((()=>{let e,t,n;return sr(d("div",ft(zn([["className",nn(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",ft(zn([["className",nn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(t=[d("div",ft(Nn((n=ur(ir((()=>{let e,t,n,r,c;return fr((e=i.Ui,2===e.tag?sr(d("div",ft(zn([["className",nn(" ",["fade-in"])],(t=[d("i",{className:nn(" ",["text-red-600"]),children:yr.Children.toArray([Fa])}),d("h4",{className:nn(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:nn(" ",["mt-3","mb-5","text-gray-500"]),children:e.fields[0]})],["children",yr.Children.toArray(Array.from(t))])])))):1===e.tag?sr(d("form",ft(zn([["className",nn(" ",["fade-in"])],["onSubmit",e=>{e.preventDefault(),a()}],(n=ur(ir((()=>fr(sr(d("i",{className:nn(" ",["text-primary-base"]),children:yr.Children.toArray([Ua])})),ir((()=>fr(sr(d("h4",{className:nn(" ",["text-2xl","my-4"]),children:"Authenticate Your Account"})),ir((()=>{let e,t;return fr(sr(d("p",ft(zn([["className",nn(" ",["mt-3","mb-5","text-gray-500"])],(e=["Protecting your account is our top priority. Check your email ",(t=hn(i.MaskedEmail,""),d("strong",{children:[t]}))," for the code that we have just sent you."],["children",yr.Children.toArray(Array.from(e))])])))),ir((()=>{let e;return fr(sr(d("div",ft(zn([["className",nn(" ",["mt-1","flex","rounded-md","shadow-sm"])],(e=[d("input",{"aria-describedby":nn(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:nn(" ",["grow","rounded-none","rounded-l-md","border-gray-300","focus:ring-primary-focus","focus:border-primary-focus","focus:z-10"]),placeholder:"Enter the code here",required:!0,maxLength:6,type:"text",onChange:e=>{o(new Qc(3,e.target.value))},onBlur:e=>{o(new Qc(4))}}),d("button",ft(ur(ir((()=>fr(sr(["className",nn(" ",["-ml-px","border","border-gray-300","text-sm","rounded-r-md","px-4","py-2","bg-primary-dark","focus:outline-none","focus:ring-1","focus:ring-primary-focus","focus:border-primary-focus","text-white"])]),ir((()=>fr(sr(["id","button-verify"]),ir((()=>fr(sr(["type","submit"]),ir((()=>fr(sr(["disabled",!(!i.MfaCodeForm.IsTouched||null==i.MfaCodeForm.Error)||i.IsValidationPending]),ir((()=>{let e,t;return i.IsValidationPending?sr((e=[d("div",ft(zn([["className",nn(" ",["flex","justify-center","items-center"])],(t=[s(zn(["h-5","w-5"]))],["children",yr.Children.toArray(Array.from(t))])])))],["children",yr.Children.toArray(Array.from(e))])):sr(["children","Verify"])})))))))))))))))))],["children",yr.Children.toArray(Array.from(e))])])))),ir((()=>{const e=[i.MfaCodeForm.IsDirty&&i.MfaCodeForm.IsTouched,i.MfaCodeForm.Error];let t;switch(t=e[0]&&null!=e[1]?0:1,t){case 0:{const t=e[1];return sr(d("div",{className:nn(" ",["mt-2","text-sm","text-red-600","text-left"]),children:t}))}case 1:return sr(null)}})))})))}))))))))),["children",yr.Children.toArray(Array.from(n))])])))):sr((r=zn([d("div",ft(zn([["className",nn(" ",["flex","justify-center","items-center"])],(c=[s(zn(["h-10","w-10"]))],["children",yr.Children.toArray(Array.from(c))])]))),d("h4",{className:nn(" ",["text-2xl","my-4"]),children:"Verifying your invite"}),d("p",{className:nn(" ",["mt-3","mb-5","text-gray-500"]),children:"Hold tight. It won't be long."})]),d("div",{children:yr.Children.toArray(Array.from(r))})))),ir((()=>{let e,t,n;return sr(d("p",ft(zn([["className",nn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(e=[(t=`Flare HR Pty Ltd © 2015-${n=kt(),St(n)}`,d("small",{children:[t]}))],["children",yr.Children.toArray(Array.from(e))])]))))})))}))),["children",yr.Children.toArray(Array.from(n))]))))],["children",yr.Children.toArray(Array.from(t))])])))],["children",yr.Children.toArray(Array.from(e))])]))))})))))),["children",yr.Children.toArray(Array.from(t))])])))}function Nm(){let e;return Es((()=>{Om(0)})),d("div",ft(zn([["className",nn(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:nn(" ",["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",yr.Children.toArray(Array.from(e))])])))}function Mm(e){this.message=e}Mm.prototype=new Error,Mm.prototype.name="InvalidCharacterError";var Pm="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Mm("'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 Dm(e){this.message=e}Dm.prototype=new Error,Dm.prototype.name="InvalidTokenError";function Rm(e){return function(e,t){return function(e,t,n){e:for(;;){const r=e,i=t,o=n;if(Mn(o)){const e=r;return 1===e.tag?new Za(1,e.fields[0]):new Za(0,jn(e.fields[0]))}{let a;const s=i(Dn(o));if(1===s.tag)a=new Za(1,s.fields[0]);else{const e=r;a=1===e.tag?new Za(1,e.fields[0]):new Za(0,Tn(s.fields[0],e.fields[0]))}if(1===a.tag)return a;e=a,t=i,n=Rn(o);continue e}}}(new Za(0,On()),e,t)}((e=>e),e)}class Bm extends jt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Lm extends jt{constructor(e,t){super(),this.Email=e,this.Phone=t}}function jm(e){let t;const n=e.Logo;if(null!=n){const e=function(e){try{const t=jc.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(r=n)[0]?new Za(0,new qc(0,r)):new Za(1,"Invalid logo url.");t=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else t=new Za(0,void 0);var r,i;if(1===t.tag)return new Za(1,t.fields[0]);{let n;const r=e.CompanyName;if(null!=r){const e=tn(i=r)?new Za(1,"Invalid company name."):new Za(0,new $c(0,i));n=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else n=new Za(0,void 0);if(1===n.tag)return new Za(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=qa((e=>new Jc(0,e)),$a(Rc,Dc("Email",n)));t=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else t=new Za(0,void 0);if(1===t.tag)return new Za(1,t.fields[0]);{let n;const r=e.Phone;if(null!=r){const e=qa((e=>new Xc(0,e)),Dc("Phone",r));n=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else n=new Za(0,void 0);return 1===n.tag?new Za(1,n.fields[0]):new Za(0,new Yc(t.fields[0],n.fields[0]))}}(i);r=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else r=new Za(0,void 0);return 1===r.tag?new Za(1,r.fields[0]):new Za(0,new Zc(n.fields[0],t.fields[0],r.fields[0]))}}}class Um extends jt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class Fm extends jt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class zm extends jt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function Gm(e){return new Za(0,new Yd(oh(e.Id),e.DisplayName,e.ComponentTagName))}class Hm extends jt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class Wm extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Vm extends jt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class Zm extends jt{constructor(e,t){super(),this.Name=e,this.Value=t}}function qm(e){return function(e,t){const n=tn(r=e)?new Za(1,"Tag name is empty"):r.length<100?new Za(0,new Ah(0,r)):new Za(1,"Tag name is too long");var r,i;if(1===n.tag)return new Za(1,n.fields[0]);{const e=tn(i=t)?new Za(1,"Tag value is empty"):i.length<100?new Za(0,new Oh(0,i)):new Za(1,"Tag value is too long");return 1===e.tag?new Za(1,e.fields[0]):new Za(0,new Eh(n.fields[0],e.fields[0]))}}(e.Name,e.Value)}class $m extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}class Ym extends jt{constructor(e){super(),this.BenefitsOnboarding=e}}class Jm extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite"]}}class Xm extends jt{constructor(e){super(),this.Category=e}}function Km(){return Bl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],Xm,(()=>[["Category",Fl(Hl)]]))}function Qm(e){return new Ph(e.Category)}class ep extends jt{constructor(e,t,n,r,i,o,a,s,c,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=u}}function tp(){return Bl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],ep,(()=>[["Id",Vl],["DateCreated",Rl("System.DateTime")],["Configuration",Bl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],Vm,(()=>[["Id",Rl("System.Guid")],["Name",Hl],["Steps",zl(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],zm,(()=>[["Id",Hl],["DisplayName",Hl],["ComponentTagName",Hl]])))]]))],["Status",jl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],Wm,(()=>[[],[["Item",Bl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],Hm,(()=>[["ActivatedDates",zl(Rl("System.DateTime"))],["CompletedSteps",zl(Ul(Hl,Rl("System.DateTime")))]]))]],[["Item",Rl("System.DateTime")]],[["Item",Rl("System.DateTime")]]]))],["Invite",Fl(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],Fm,(()=>[["Code",Hl],["DateIssued",Rl("System.DateTime")],["SecondFactor",Fl(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],Um,(()=>[["Code",Hl],["DateIssued",Rl("System.DateTime")],["NumberOfAttempts",Vl],["DateOfLastAttempt",Fl(Rl("System.DateTime"))]])))],["Branding",Fl(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteBrandingDto",[],Bm,(()=>[["CompanyName",Fl(Hl)],["Logo",Fl(Hl)],["Support",Fl(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SupportDto",[],Lm,(()=>[["Email",Fl(Hl)],["Phone",Fl(Hl)]])))]])))]])))],["Tags",Fl(zl(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],Zm,(()=>[["Name",Hl],["Value",Hl]]))))],["Creator",Fl(Hl)],["StepsConfiguration",Fl(Bl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],Ym,(()=>[["BenefitsOnboarding",Fl(Ll(["Show",jl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],$m,(()=>[[],[]]))]))]])))],["JourneyType",Fl(jl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],Jm,(()=>[[["Item",Km()]],[["Item",Km()]],[["Item",Km()]]])))],["IsBenefitsStepEnabled",Fl(Wl)]]))}function np(e){let t,n;const r=function(e){const t=Rm(Hn(Gm,e.Steps));if(1===t.tag)return new Za(1,t.fields[0]);{const n=function(e){const t=new sh(0,e);return dr(t,_h.keys(),{Equals:ot,GetHashCode:nt})?new Za(0,t):new Za(1,Yt(qt("Invalid Type %A%P()",[e])))}(e.Id);return 1===n.tag?new Za(1,n.fields[0]):new Za(0,new ch(n.fields[0],e.Name,t.fields[0]))}}(e.Configuration);if(1===r.tag)return new Za(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const t=function(e){const t=Rm(Hn((e=>new Za(0,[oh(e[0]),e[1]])),e.CompletedSteps));return 1===t.tag?new Za(1,t.fields[0]):new Za(0,new Ch(e.ActivatedDates,t.fields[0]))}(e.fields[0]);return 1===t.tag?new Za(1,t.fields[0]):new Za(0,new xh(1,t.fields[0]))}case 2:return new Za(0,new xh(2,e.fields[0]));case 3:return new Za(0,new xh(3,e.fields[0]));default:return new Za(0,new xh(0))}}(e.Status);if(1===o.tag)return new Za(1,o.fields[0]);{const r=o.fields[0];let a;if(1===r.tag){const e=r.fields[0],t=Rm(Hn((e=>{const t=[e[0],e[1]],n=t[0];return $n((e=>ot(e.Id,n)),i.Steps)?new Za(0,[n,t[1]]):new Za(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));a=1===t.tag?new Za(1,t.fields[0]):new Za(0,new xh(1,new Ch(e.ActivatedDates,t.fields[0])))}else a=new Za(0,r);if(1===a.tag)return new Za(1,a.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const t=Hc(e.Code);if(1===t.tag)return new Za(1,t.fields[0]);{let n;const r=e.SecondFactor;if(null!=r){const e=function(e){const t=Fc(e.Code);return 1===t.tag?new Za(1,t.fields[0]):new Za(0,new zc(t.fields[0],e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt))}(r);n=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else n=new Za(0,void 0);if(1===n.tag)return new Za(1,n.fields[0]);{let r;const i=e.Branding;if(null!=i){const e=jm(i);r=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else r=new Za(0,void 0);return 1===r.tag?new Za(1,r.fields[0]):new Za(0,new Vc(t.fields[0],e.DateIssued,n.fields[0],r.fields[0]))}}}(o);r=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else r=new Za(0,void 0);if(1===r.tag)return new Za(1,r.fields[0]);{let o;const s=e.Tags;if(null!=s){const e=Rm(Hn(qm,s));o=1===e.tag?new Za(1,e.fields[0]):new Za(0,e.fields[0])}else o=new Za(0,void 0);return 1===o.tag?new Za(1,o.fields[0]):new Za(0,new Th(Sh(e.Id),i,e.DateCreated,a.fields[0],r.fields[0],o.fields[0],(t=e.Creator,null==t?void 0:Zd(t)),(n=e.StepsConfiguration,null==n?void 0:function(e){let t,n;return new Nh((t=e.BenefitsOnboarding,null==t?void 0:(n=t,{Show:1===n.Show.tag?new Dh(1):new Dh(0)})))}(n)),function(e){if(null==e)return new Mh(0,new Ph(void 0));if(1===e.tag){const t=e.fields[0];return new Mh(1,Qm(t))}if(2===e.tag){const t=e.fields[0];return new Mh(2,Qm(t))}{const t=e.fields[0];return new Mh(0,Qm(t))}}(e.JourneyType),e.IsBenefitsStepEnabled))}}}}}class rp extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}class ip extends jt{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n}}class op extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}const ap=np;class sp extends jt{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n}}class cp extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class up extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies"]}}class lp extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function fp(e){return ot(e,Jd)?new Za(0,new up(0)):ot(e,Xd)?new Za(0,new up(1)):ot(e,Kd)?new Za(0,new up(2)):ot(e,Qd)?new Za(0,new up(3)):ot(e,eh)?new Za(0,new up(4)):ot(e,th)?new Za(0,new up(5)):ot(e,ih)?new Za(0,new up(7)):new Za(1,"Invalid step")}function dp(e){switch(e.tag){case 1:return Xd;case 2:return Kd;case 3:return Qd;case 4:return eh;case 5:return th;case 6:return rh;case 7:return ih;default:return Jd}}function hp(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 th.DisplayName;case 6:return rh.DisplayName;case 7:return"Fair Work";default:return"Personal Details"}}function mp(e,t){const n=Rm(Hn(fp,e.Configuration.Steps));return 1===n.tag?new Za(1,n.fields[0]):new Za(0,(r=t,i=n.fields[0],0===r.tag?i:Gn(i,Nn(new up(6)))));var r,i}function pp(e,t){const n=Rm(Hn(fp,function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return On();default:{const n=Hn((e=>e[0]),t.fields[0].CompletedSteps);return Zn((e=>qn(e.Id,n,{Equals:ot,GetHashCode:nt})),e.Configuration.Steps)}}}(e)));return 1===n.tag?new Za(1,n.fields[0]):new Za(0,(r=t,i=n.fields[0],2===r.tag?Gn(i,Nn(new up(6))):i));var r,i}class gp extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class wp extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class vp extends jt{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 yp(e,t){return Va.Delay((()=>{const n=fl((r=Yt(Zt("Bearer %s"))(e),new bu(0,"Authorization",r)),t);var r;let i;const o=hl(n);return i=Va.Bind(o,(e=>Va.Return(new Za(0,e)))),Va.Bind(i,(e=>{const t=e;if(1===t.tag)return Va.Return(new Za(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=hl(n);return Va.Bind(e,(e=>Va.Return(new Za(0,e))))}return Va.Return(new Za(0,e))}}))}))}function bp(e,t,n){return Va.Delay((()=>{let r,i;const o=yp(n,(r=dl(new _u(1,(i=Nn(function(e){return 1===e.tag?new op(1):new op(0,ah(e.fields[0]))}(e)),xd(0,Id(zl(jl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],op,(()=>[[["Item",Hl]],[]]))),new pl(1),void 0,void 0)(i)))),ll(new yu(1),ul(function(e){const t=0|Ih(e);return Yt(Zt("%s/workflows/backend/%i"))(mu)(t)}(t)))),fl(al("application/json"),r)));return Va.Bind(o,(e=>{const t=e;if(1===t.tag)return Va.Return(new Za(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Ff(ht(2,od(tp(),new pl(1),void 0)),e.responseText);return t=1===n.tag?new Za(1,n.fields[0]):ap(n.fields[0]),Va.Return(t)}return Va.Return(new Za(1,"Unexpected response from backend"))}}))}))}function _p(e,t,n,r){let i,o,a,s,c,u,l,f,d,h,m,p;switch(n.tag){case 1:{const e=n.fields[0];return[new vp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(i=dp(e.fields[0]),ot(i.Id,rh.Id)?fs(new wp(5,r.ProcessInstanceId,new cp(1))):fs(new wp(5,r.ProcessInstanceId,new cp(0,ah(i.Id))))):ss()]}case 5:return hs(function(e,t,n){let r;const i=Va.Delay((()=>{let r;return yp(e,(r=dl(new _u(1,xd(0,Id(zl(jl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],cp,(()=>[[["Item",Hl]],[],[]]))),new pl(1),void 0,void 0)(Nn(n)))),ll(new yu(1),ul(function(e){const t=0|Ih(e);return Yt(Zt("%s/workflows/backend/process-instances/%i/analytics-events"))(mu)(t)}(t)))),fl(al("application/json"),r)))}));return r=Va.Bind(i,(e=>{let t;const n=e;return t=1===n.tag?new Za(1,n.fields[0]):new Za(0,void n.fields[0]),Va.Return(t)})),Va.Bind(r,(e=>{let t;const n=e;return t=1===n.tag?void 0:n.fields[0],Va.Return(t)}))}(e,n.fields[0],n.fields[1])),[r,ss()];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 lp(0)),s=Rh(o.tagName,a,i),1===s.tag?ss():ot(s.fields[0].Id,nh)?fs(new wp(7)):fs(new wp(3,s.fields[0].Id,new js(0))))];case 1:return[r,ss()]}}case 7:{const e=r.ProcessInstance;let t,n;switch(2===e.tag&&0===e.fields[0].tag?ot(r.BenefitsOnboarding,new lp(0))?t=1:(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[new vp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new lp(2)),us(zn([fs(new wp(5,r.ProcessInstanceId,new cp(2))),(l=[n,r.BenefitsOnboarding],u=mp(l[0],l[1]),c=1===u.tag?new Za(1,u.fields[0]):new Za(0,(f=u.fields[0],fs(new wp(1,new gp(3,f,f))))),1===c.tag?fs(new wp(1,new gp(4,c.fields[0]))):c.fields[0])]))];case 1:return[r,ss()]}}case 3:{const t=n.fields[0],i=n.fields[1];switch(i.tag){case 1:return[r,ss()];case 2:{const e=i.fields[0];let n,o;const a=e;if(1===a.tag)o=new Za(1,a.fields[0]);else{const e=a.fields[0],t=Bh(e);let n;const i=[e,r.BenefitsOnboarding];if(n=pp(i[0],i[1]),1===n.tag)o=new Za(1,n.fields[0]);else{const i=n.fields[0];let a;const s=[e,r.BenefitsOnboarding];if(a=mp(s[0],s[1]),1===a.tag)o=new Za(1,a.fields[0]);else{const e=a.fields[0];if(1===Pn(e))o=new Za(0,new wp(4,new js(0)));else{const n=[t,r.BenefitsOnboarding];if(null==n[0])if(1===n[1].tag){const t=new up(6);o=new Za(0,new wp(1,new gp(2,t,t,i,e)))}else o=new Za(0,new wp(1,new gp(3,i,e)));else{const t=fp(n[0]);o=1===t.tag?new Za(1,t.fields[0]):new Za(0,(d=t.fields[0],new wp(1,new gp(2,d,d,i,e))))}}}}}n=1===o.tag?new wp(1,new gp(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=Wn((t=>ot(t.Id,e)),t.Configuration.Steps),r=Yt(qt("Invalid ProcessStep Id %A%P()",[e])),i=n;return null==i?new Za(1,r):new Za(0,i)}(e,t);1===r.tag||Im(function(e,t,n,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=Sm(n),i.profileId=qd(r),i.step={name:t,type:ah(e)},i}(e,r.fields[0].DisplayName,t,n))}(t,s.fields[0],r.ProfileId),[new vp(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fs(n)]}case 3:return[new vp(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fs(new wp(1,new gp(4,i.fields[0].message)))];default:return[r,ds((e=>{hs(e)}),(e=>function(e,t,n){return bp(new rp(0,t),e,n)}(r.ProcessInstanceId,t,e)),e,(e=>new wp(3,t,new js(2,e))),(e=>new wp(3,t,new js(3,e))))]}}case 4:{const i=n.fields[0];switch(i.tag){case 1:return[r,ss()];case 2:{const e=i.fields[0];if(1===e.tag)return[new vp(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fs(new wp(1,new gp(4,e.fields[0])))];{const n=e.fields[0];return Am(n,r.ProfileId),[new vp(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(h=[t,(m=[n,r.BenefitsOnboarding],w=m[0],v=m[1],Pn(w.Configuration.Steps)+(0===v.tag?0:1))],1===h[0].tag?1===h[1]?ss():fs(new wp(1,new gp(5))):ss())]}}case 3:return[new vp(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fs(new wp(1,new gp(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 Am(i,r.ProfileId),[r,ss()];case 1:return[r,ds((e=>{hs(e)}),(e=>function(e,t){return bp(new rp(1),e,t)}(r.ProcessInstanceId,e)),e,(e=>new wp(4,new js(2,e))),(e=>new wp(4,new js(3,e))))]}}}}case 6:return[r,(p=window.location.pathname+"/"+window.location.search+window.location.hash,ls((e=>{su(Nn(p),1,2)})))];default:{const e=n.fields[0];let t;switch(e.tag){case 3:t=[r,fs(new wp(1,new gp(4,e.fields[0].message)))];break;case 0:case 1:t=[r,ss()];break;default:{let n,i;const o=e.fields[0];if(1===o.tag)i=new Za(1,o.fields[0]);else{const e=o.fields[0],t=(g=e.IsBenefitsEnabled,new lp(g?1:0));let n;const a=[e.ProcessInstance,t];if(n=pp(a[0],a[1]),1===n.tag)i=new Za(1,n.fields[0]);else{const o=n.fields[0];let a;const s=[e.ProcessInstance,t];if(a=mp(s[0],s[1]),1===a.tag)i=new Za(1,a.fields[0]);else{const n=a.fields[0],s=e=>{const t=[du.clientWidth<640,Pn(n)];return 1===t[1]?(document.title=hp(e),new gp(2,e,e,o,n)):new gp(t[0]?1:2,e,e,o,n)};let c;const u=[Bh(e.ProcessInstance),t];if(null==u[0])c=1===u[1].tag?new Za(0,s(new up(6))):new Za(0,new gp(3,o,n));else{const e=fp(u[0]);c=1===e.tag?new Za(1,e.fields[0]):new Za(0,s(e.fields[0]))}i=1===c.tag?new Za(1,c.fields[0]):new Za(0,[new vp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,e.CssOverrides,t),c.fields[0]])}}}n=1===i.tag?[r,new gp(4,i.fields[0])]:i.fields[0],t=[n[0],fs(new wp(1,n[1]))]}}const i=t[0];return[new vp(i.ProfileId,i.ProcessInstanceId,Us((e=>{const t=e;return 1===t.tag?new Za(1,t.fields[0]):new Za(0,t.fields[0].ProcessInstance)}),e),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),t[1]]}}var g,w,v}var Cp;function xp(){return xp=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},xp.apply(this,arguments)}const kp=function(e){return d("svg",xp({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),Cp||(Cp=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var Sp,Ip,Ep;function Ap(){return Ap=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},Ap.apply(this,arguments)}const Op=function(e){return d("svg",Ap({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Sp||(Sp=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"})),Ip||(Ip=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"})),Ep||(Ep=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 Tp,Np;function Mp(){return Mp=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},Mp.apply(this,arguments)}const Pp=function(e){return d("svg",Mp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Tp||(Tp=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"}))),Np||(Np=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var Dp,Rp,Bp;function Lp(){return Lp=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},Lp.apply(this,arguments)}const jp=function(e){return d("svg",Lp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dp||(Dp=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"})),Rp||(Rp=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"})),Bp||(Bp=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 Up,Fp;function zp(){return zp=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},zp.apply(this,arguments)}const Gp=function(e){return d("svg",zp({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Up||(Up=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"})),Fp||(Fp=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 Hp,Wp,Vp;function Zp(){return Zp=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},Zp.apply(this,arguments)}const qp=function(e){return d("svg",Zp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Hp||(Hp=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"})),Wp||(Wp=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"})),Vp||(Vp=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 $p,Yp;function Jp(){return Jp=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},Jp.apply(this,arguments)}const Xp=function(e){return d("svg",Jp({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$p||($p=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"}))),Yp||(Yp=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};var Kp,Qp,eg,tg,ng,rg,ig;function og(){return og=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},og.apply(this,arguments)}const ag=function(e){return d("svg",og({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),Kp||(Kp=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"})),Qp||(Qp=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"})),eg||(eg=d("rect",{x:66.34,y:129.52,width:259.34,height:15.72,rx:7.8})),tg||(tg=d("rect",{x:66.48,y:178.5,width:259.2,height:15.74,rx:7.8})),ng||(ng=d("rect",{x:66.35,y:227.51,width:203.38,height:15.72,rx:7.78})),rg||(rg=d("rect",{x:66.34,y:276.52,width:112.62,height:15.48,rx:7.61})),ig||(ig=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 sg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Height","Width"]}}function cg(e){const t=Pd(e,1);return d(kp,t)}class ug extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class lg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ToBeCompleted","CompletedAll"]}}function fg(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 dg(e,t){const n=t.state;return 1===n.tag?ot(n.fields[0],e)?new ug(2):new ug(1):function(e,t,n,r){let i;switch(i=qn(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 ug(0);case 1:return new ug(2);case 2:return new ug(3);case 3:return new ug(1);case 4:return new ug(4)}}(e,n.fields[0],n.fields[1],n.fields[2])}function hg(e,t,n){let r;t.dispatch((r=t.state,1===r.tag?new wp(1,new gp(2,e,void 0,r.fields[1],r.fields[2])):new wp(1,new gp(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function mg(e,t){switch(t.tag){case 1:return function(e){const t=Pd(e,1);return d(Pp,t)}([new sg(0,e),new sg(1,e)]);case 2:return function(e){const t=Pd(e,1);return d(jp,t)}([new sg(0,e),new sg(1,e)]);case 3:return function(e){const t=Pd(e,1);return d(Gp,t)}([new sg(0,e),new sg(1,e)]);case 4:return function(e){const t=Pd(e,1);return d(qp,t)}([new sg(0,e),new sg(1,e)]);case 5:return null;case 6:return function(e){const t=Pd(e,1);return d(Xp,t)}([new sg(0,e),new sg(1,e)]);case 7:return function(e){const t=Pd(e,1);return d(ag,t)}([new sg(0,e),new sg(1,e)]);default:return function(e){const t=Pd(e,1);return d(Op,t)}([new sg(0,e),new sg(1,e)])}}function pg(e){const t=ur(ir((()=>{const t=fg(e.state);return fr(pr((n=>function(e,t,n){return d("div",ft(ur(ir((()=>fr(sr(["className",nn(" ",["grid","grid-cols-12","mb-3","items-center"])]),ir((()=>{let r,i,o,a,s,c;return fr(sr((r=[d("div",ft(zn([["className",nn(" ",["col-span-2","sm:col-span-3"])],(i=ur(ir((()=>{let r;return fr(sr(d("div",ft(zn([["className",nn(" ",ur(ir((()=>{switch(dg(e,t).tag){case 4:default:return sr("fl-step-tick-to-complete");case 0:return sr("fl-step-tick-active");case 1:case 2:return sr("fl-step-tick-complete-or-editing")}}))))],(r=[cg([["className",nn(" ",ur(ir((()=>fr(sr("-mt-2"),ir((()=>fr(sr("scale-75"),ir((()=>fr(sr("inline-block"),ir((()=>{switch(dg(e,t).tag){case 4:case 0:default:return sr("invisible");case 1:case 2:return sr("visible")}})))))))))))))]])],["children",yr.Children.toArray(Array.from(r))])])))),ir((()=>n?ar():sr(d("div",{className:nn(" ",["fl-step-tick-progress-bar"])})))))}))),["children",yr.Children.toArray(Array.from(i))])]))),d("div",ft(zn([["className",nn(" ",["col-span-10","sm:col-span-9"])],(o=[d("button",ft(zn([["className",nn(" ",ur(ir((()=>fr(sr("whitespace-nowrap"),ir((()=>fr(sr("border"),ir((()=>fr(sr("inline-flex"),ir((()=>fr(sr("w-full"),ir((()=>fr(sr("rounded-md"),ir((()=>fr(sr("items-center"),ir((()=>{switch(dg(e,t).tag){case 3:case 1:return sr("fl-step-btn-ready-or-complete");case 0:case 2:return sr("fl-step-btn-active-or-editing");default:return sr(Yt(Zt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(a=[d("span",ft(zn([["className",nn(" ",["mx-3","inline-block"])],(s=[mg(36,e)],["children",yr.Children.toArray(Array.from(s))])]))),(c=hp(e),d("span",{children:[c]}))],["children",yr.Children.toArray(Array.from(a))])])))],["children",yr.Children.toArray(Array.from(o))])])))],["children",yr.Children.toArray(Array.from(r))])),ir((()=>ot(dg(e,t),new ug(4))?ar():sr(["onClick",n=>{hg(e,t)}]))))}))))))))}(n,e,ot(n,function(e){const t=function(e){e:for(;;){const t=e;if(Sn(t))return;{const n=An(t);if(Sn(n))return un(En(t));e=n;continue e}}}(e);if(null==t)throw new Error("Collection was empty.");return ln(t)}(t)))),t),ir((()=>1===e.state.tag?sr(d("button",{className:nn(" ",["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 wp(4,new js(0)))}})):sr(null))))})));return d("div",{children:yr.Children.toArray(Array.from(t))})}function gg(e){return!(Pn(fg(e.state))<=3)}function wg(e){return gg(e)?25:36}function vg(e,t){return gg(e)?fr(["text-xs"],t):t}function yg(e){let t;return d("div",ft(zn([["className",nn(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(t=ur(ir((()=>pr((t=>function(e,t){let n;return d("div",ft(zn([["className",nn(" ",["grow","mx-1"])],(n=[d("button",ft(ur(ir((()=>fr(sr(["className",nn(" ",ur(ir((()=>fr(sr("whitespace-nowrap"),ir((()=>fr(sr("border"),ir((()=>fr(sr("inline-flex"),ir((()=>fr(sr("items-center"),ir((()=>fr(sr("justify-center"),ir((()=>fr(sr("w-full"),ir((()=>fr(sr("rounded-md"),ir((()=>{switch(dg(e,t).tag){case 3:case 1:return sr("fl-step-btn-ready-or-complete");case 0:case 2:return sr("fl-step-btn-active-or-editing");default:return sr(Yt(Zt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),ir((()=>{let n,r;return fr(sr((n=[d("span",ft(zn([["className",nn(" ",["md:mr-2","inline-block"])],(r=[mg(wg(t),e)],["children",yr.Children.toArray(Array.from(r))])]))),d("span",{children:hp(e),className:nn(" ",vg(t,["hidden","md:inline-block"]))})],["children",yr.Children.toArray(Array.from(n))])),ir((()=>ot(dg(e,t),new ug(4))?ar():sr(["onClick",n=>{hg(e,t)}]))))}))))))))],["children",yr.Children.toArray(Array.from(n))])])))}(t,e)),fg(e.state))))),["children",yr.Children.toArray(Array.from(t))])])))}function bg(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(zn([["className",nn(" ",["grid","grid-cols-12","mb-1"])],(t=[d("div",{className:nn(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:yr.Children.toArray([ja]),onClick:e=>{i(new wp(1,function(e,t,n,r){return null==t?new gp(3,n,r):new gp(1,e,t,n,r)}(c,s,a,o)))}}),d("div",ft(zn([["className",nn(" ",["col-span-8","text-center"])],(n=[(r=hp(c),d("b",{children:[r]}))],["children",yr.Children.toArray(Array.from(n))])]))),d("div",{className:nn(" ",["col-span-2"])})],["children",yr.Children.toArray(Array.from(t))])])))}class _g extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class Cg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class xg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function kg(e){const t=e.children,n=e.effect,r=e.props,i=e.step;return Es(n),d(1===i.tag?Xd.ComponentTagName:2===i.tag?Kd.ComponentTagName:3===i.tag?Qd.ComponentTagName:4===i.tag?eh.ComponentTagName:5===i.tag?th.ComponentTagName:6===i.tag?rh.ComponentTagName:7===i.tag?ih.ComponentTagName:Jd.ComponentTagName,Pd(r,1),...t)}function Sg(e){let t,n,r;return d("div",ft(zn([["className",nn(" ",["text-center"])],(t=[d("h4",{className:nn(" ",["text-2xl","mb-2"]),children:"Well done!"}),d("p",ft(zn([["className",nn(" ",["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",yr.Children.toArray(Array.from(n))])]))),d("div",ft(zn([["className",nn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left","p-3"])],(r=[d(pg,e)],["children",yr.Children.toArray(Array.from(r))])])))],["children",yr.Children.toArray(Array.from(t))])])))}function Ig(){let e,t;return d("div",ft(zn([["className",nn(" ",["text-center"])],(e=[d("h4",{className:nn(" ",["text-2xl"]),children:"You're all set!"}),(t=zn(["You have submitted all the required information and have successfully completed your onboarding.",d("br",{}),d("p",{children:["You can now close this browser tab."]})]),d("p",{children:yr.Children.toArray(Array.from(t))}))],["children",yr.Children.toArray(Array.from(e))])])))}function Eg(e){let t;const n=e.accessToken,r=e.appMode,i=Ls(function(e){const t=function(e,t){if("string"!=typeof e)throw new Dm("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(Pm(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 Pm(t)}}(e.split(".")[n]))}catch(e){throw new Dm("Invalid token specified: "+e.message)}}(e);return[new vp(Zd(t.sub),Sh(t.workflow.instanceId),new js(0),new gp(0),On(),new lp(0)),ss()]}(n),((e,t)=>_p(n,r,e,t)),[]),o=i[0],a=i[1];switch(Os(zs((()=>function(e,t){return function(e,t){return Va.Delay((()=>{const n=yp(t,ll(new yu(1),ul(function(e){const t=0|Ih(e);return Yt(Zt("%s/workflows/backend/process-instances/%i/activate"))(mu)(t)}(e))));return Va.Bind(n,(e=>{const t=e;if(1===t.tag)return Va.Return(new Za(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Ff(ht(2,od(Bl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],sp,(()=>[["CssOverrides",zl(Hl)],["ProcessInstanceDto",tp()],["IsBenefitsEnabled",Wl]])),new pl(1),void 0)),e.responseText);return t=1===n.tag?new Za(1,n.fields[0]):new Za(0,function(e){let t;return new ip(e.CssOverrides,(t=np(e.ProcessInstanceDto),1===t.tag?(()=>{throw new Error(t.fields[0])})():t.fields[0]),e.IsBenefitsEnabled)}(n.fields[0])),Va.Return(t)}return Va.Return(new Za(1,"Unexpected response from backend"))}}))}))}(e,t)}(o.ProcessInstanceId,n)),(e=>{a(new wp(0,e))})),[]),Os((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{Em()})):new xm((()=>{Em()}))).observe(document.body)}),[]),Os((()=>{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:su(Nn(vu(r)),2,2)}}),[o.CurrentView,o.ProcessInstance]),Es((()=>{window.addEventListener("step-completion",(e=>{a(new wp(2,e))}))})),o.ProcessInstance.tag){case 1:default:return d("div",{children:["Please wait..."]});case 3:case 2:return d("div",ft(zn([["className",nn(" ",["max-w-7xl","mx-auto","pb-2"])],(t=ur(ir((()=>fr(pr((e=>d("style",{children:[e]})),o.CssOverrides),ir((()=>{let e,t,i,s;const c=o.CurrentView;switch(c.tag){case 1:{const t=c.fields[0],n=c.fields[1],r=c.fields[2],i=c.fields[3];return fr(sr(d("div",ft(zn([["className",nn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(e=[d(pg,{dispatch:a,state:null==n?new lg(1,t,r,i):new lg(0,t,n,r,i)})],["children",yr.Children.toArray(Array.from(e))])])))),ir((()=>(Om(0),ar()))))}case 2:{const e=c.fields[0],i=c.fields[1],s=c.fields[2],u=c.fields[3];return sr((t=ur(ir((()=>{let t;return fr(Pn(u)>1?sr(d("div",ft(zn([["className",nn(" ",["pt-2","relative"])],(t=[d(bg,{step:e,readyToCompleteStep:i,completedSteps:s,allSteps:u,dispatch:a}),d(yg,{dispatch:a,state:null==i?new lg(1,e,s,u):new lg(0,e,i,s,u)})],["children",yr.Children.toArray(Array.from(t))])])))):ar(),ir((()=>{let t,i;return sr(d("div",ft(zn([["className",nn(" ",["grid","grid-cols-12","px-1"])],(t=[d("div",ft(zn([["className",nn(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(i=ur(ir((()=>{if(4===e.tag)return sr(d(kg,{step:new up(4),props:[new _g(1,n),new _g(0,Yt(Zt("%s/super-selection/backend/v1.0/"))(mu)),new Cg(0,vu(r))],effect:()=>{a(new wp(6)),Om(2500)},children:[]}));{const t=e;return sr(d(kg,{step:t,props:ur(ir((()=>fr(sr(new _g(1,n)),ir((()=>fr(sr(new _g(0,mu)),ir((()=>ot(t,new up(6))?sr(new xg(0,Je(Ih(o.ProcessInstanceId)))):ar()))))))))),effect:()=>{Om(1500)},children:[]}))}}))),["children",yr.Children.toArray(Array.from(i))])])))],["children",yr.Children.toArray(Array.from(t))])]))))})))}))),d("div",{children:yr.Children.toArray(Array.from(t))})))}case 3:return fr(sr(d("div",ft(zn([["className",nn(" ",["pt-5","px-4"])],(i=[d(Sg,{dispatch:a,state:new lg(1,void 0,c.fields[0],c.fields[1])})],["children",yr.Children.toArray(Array.from(i))])])))),ir((()=>(Om(0),ar()))));case 4:return fr(sr(d("div",{className:nn(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),ir((()=>(Om(0),ar()))));case 5:return sr(d("div",ft(zn([["className",nn(" ",["mt-5","px-4"])],(s=[d(Ig,null)],["children",yr.Children.toArray(Array.from(s))])]))));default:return sr(d("div",{children:["Please wait..."]}))}})))))),["children",yr.Children.toArray(Array.from(t))])])))}}class Ag extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function Og(e){return new Ag(0,e)}class Tg extends jt{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 Ng(){return Bl("Workflows.UI.Auth.Types.Credentials",[],Tg,(()=>[["id_token",Hl],["access_token",Hl],["expires_in",Zl],["refresh_token",Fl(Hl)],["scope",Hl],["token_type",Hl]]))}class Mg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}class Pg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","InviteValidation","AuthCodeExchange","NotFound","LoggedOut"]}}function Dg(e){const t=lu(e);if(null!=t)return mn((e=>e[1]),Wn((e=>"code"===e[0]),t))}function Rg(e){let t,n,r,i,o,a,s;const c=function(e){let t,n,r;switch(Mn(e)?t=2:"workflows"===Dn(e)?Mn(Rn(e))?t=2:"app"===Dn(Rn(e))?(t=0,n=Rn(Rn(e))):"embed"===Dn(Rn(e))?Mn(Rn(Rn(e)))?t=2:"v1.0"===Dn(Rn(Rn(e)))?(t=1,r=Rn(Rn(Rn(e)))):t=2:t=2:t=2,t){case 0:return new Ja(1,n);case 1:return new Ja(0,r);case 2:return new Ja(2,void 0)}}(e);return 1===c.tag?[Mn(c.fields[0])?Mn(c.fields[0])?new Pg(0):(i=lu(Dn(c.fields[0])),null!=i?Mn(i)?new Pg(0):"code"===Dn(i)[0]&&Mn(Rn(i))&&Mn(Rn(c.fields[0]))?(o=Dn(i)[1],new Pg(2,Og(o))):new Pg(0):new Pg(0)):(t=lu(Dn(c.fields[0])),null!=t?Mn(t)?Mn(c.fields[0])?new Pg(0):(i=lu(Dn(c.fields[0])),null!=i?Mn(i)?new Pg(0):"code"===Dn(i)[0]&&Mn(Rn(i))&&Mn(Rn(c.fields[0]))?(o=Dn(i)[1],new Pg(2,Og(o))):new Pg(0):new Pg(0)):"invite"===Dn(t)[0]&&Mn(Rn(t))&&Mn(Rn(c.fields[0]))?(n=Dn(t)[1],r=Hc(n),1===r.tag?new Pg(3):new Pg(1,r.fields[0])):Mn(c.fields[0])?new Pg(0):(i=lu(Dn(c.fields[0])),null!=i?Mn(i)?new Pg(0):"code"===Dn(i)[0]&&Mn(Rn(i))&&Mn(Rn(c.fields[0]))?(o=Dn(i)[1],new Pg(2,Og(o))):new Pg(0):new Pg(0)):Mn(c.fields[0])?new Pg(0):(i=lu(Dn(c.fields[0])),null!=i?Mn(i)?new Pg(0):"code"===Dn(i)[0]&&Mn(Rn(i))&&Mn(Rn(c.fields[0]))?(o=Dn(i)[1],new Pg(2,Og(o))):new Pg(0):new Pg(0))),new wu(1)]:2===c.tag?[new Pg(3),new wu(2)]:[Mn(c.fields[0])||Mn(Rn(c.fields[0]))?new Pg(0):(a=Dg(Dn(Rn(c.fields[0]))),null!=a&&Mn(Rn(Rn(c.fields[0])))?(s=a,new Pg(2,Og(s))):new Pg(0)),new wu(0)]}class Bg extends jt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Lg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut"]}}class jg extends jt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Ug extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class Fg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class zg extends Lt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function Gg(e,t){const n=function(e){return[new Fg(0),fs(new Mg(0,new zg(0),e))]}(t);return[new Bg(e.CurrentPage,n[0],e.AppMode),cs((e=>new Lg(1,e)),n[1])]}var Hg;!function(e){_s(void 0,e)}(("workflows-app",Hg=ys((function(){const e=Rg(cu(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new Bg(t,new Fg(0),n);let i;switch(i=2===t.tag?0:1===t.tag?1:0===t.tag&&ot(n,new wu(1))?2:3,i){case 0:return Gg(r,t.fields[0]);case 1:return[r,ss()];case 2:{const e=function(){const e=fn(window.sessionStorage.getItem("credentials"));if(null!=e){const t=e,n=Ff(ht(2,od(Ng(),void 0,void 0)),t);return 1===n.tag?void 0:n.fields[0]}}();return null==e?[r,fs(new Lg(2))]:[new Bg(r.CurrentPage,new Fg(2,new Za(0,e)),r.AppMode),ss()]}case 3:return[r,fs(new Lg(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=function(e,t,n){let r;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Fg(2,new Za(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),ss()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Fg(2,new Za(0,e.fields[0].fields[0].fields[0])),(r=window.location.pathname,ls((e=>{su(Nn(r),1,2)})))]):[new Fg(1),ds((e=>{hs(e)}),(e=>function(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent("apollo-workflows-app"),i=encodeURIComponent((o=new wu(0),`${window.location.protocol}//${window.location.host}${vu(o)}`));var o;return Va.Delay((()=>{let e,t,o;const a=hl((t=ll(new yu(1),ul(`${hu}/connect/token`)),e=fl(al("application/x-www-form-urlencoded"),t),dl(new _u(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${i}`),e)));return o=Va.Bind(a,(e=>Va.Return(new Za(0,e)))),Va.Bind(o,(e=>{const t=e;if(1===t.tag)return Va.Return(new Za(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=Ff(ht(2,od(Ng(),void 0,void 0)),e.responseText);return Va.Return(t)}return Va.Return(new Za(1,"Unexpected result from backend"))}}))}))}(0,e)),e.fields[1],(t=>{const n=[new zg(1,t),e.fields[1]];return new Mg(0,n[0],n[1])}),(t=>{const n=[new zg(1,new Za(1,t.message)),e.fields[1]];return new Mg(0,n[0],n[1])}))]}(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 Tg(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),xd(0,Id(Ng(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(a),[new Bg(t.CurrentPage,r,t.AppMode),cs((e=>new Lg(1,e)),n[1])]}case 2:return[new Bg(new Pg(4),t.Credentials,t.AppMode),ss()];default:{const n=Rg(e.fields[0])[0],r=new Bg(n,t.Credentials,t.AppMode);return 2===n.tag?Gg(r,n.fields[0]):[r,ss()]}}}),(function(e,t){let n;const r=d("div",ft(zn([["className",nn(" ",["workflows-app","font-inter"])],(n=ur(ir((()=>{const t=e.CurrentPage;switch(t.tag){case 2:return sr(function(){let e,t,n,r,i,o,a,s;return d("div",ft(zn([["className",nn(" ",["h-screen","fade-in"])],(e=[d("div",ft(zn([["className",nn(" ",["h-full","flex","justify-center","items-center"])],(t=[d("div",ft(zn([["className",nn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[(r=zn([(i=zn([d("i",{className:nn(" ",["text-green-700"]),children:yr.Children.toArray([Ua])}),d("h4",{className:nn(" ",["text-2xl","my-4","text-green-700"]),children:"Your identity is confirmed"}),d("p",{className:nn(" ",["mt-3","mb-5","text-gray-500"]),children:"You will be redirected in a moment."})]),d("div",{children:yr.Children.toArray(Array.from(i))})),d("p",ft(zn([["className",nn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(o=[(a=`Flare HR Pty Ltd © 2015-${s=kt(),St(s)}`,d("small",{children:[a]}))],["children",yr.Children.toArray(Array.from(o))])])))]),d("div",{children:yr.Children.toArray(Array.from(r))}))],["children",yr.Children.toArray(Array.from(n))])])))],["children",yr.Children.toArray(Array.from(t))])])))],["children",yr.Children.toArray(Array.from(e))])])))}());case 1:return sr(d(Tm,{inviteCode:t.fields[0]}));case 3:return sr(d("h1",{children:["Not found"]}));case 4:return sr(d(Nm,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 sr(d(Eg,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return sr(d("h1",{children:["Unauthorised"]}))}}}}))),["children",yr.Children.toArray(Array.from(n))])])));return uu({hashMode:2,onUrlChanged:e=>{t(new Lg(0,e))},application:d(m,{},r)})})),function(e,t,n){return bs(((r,i)=>{Ie(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 jg(n,(()=>t(n,r)),e);return d(Ug,i)}(ht(2,e),ht(2,t),n,r)),"workflows-app",Hg)))})()})();
|
|
2
|
+
(()=>{var e={694:(e,n,t)=>{"use strict";var r=t(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,n,t,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 n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return t.PropTypes=t,t}},556:(e,n,t)=>{e.exports=t(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function t(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return e[r](o,o.exports,t),o.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{"use strict";var e,n,r,i,o,s,a={},c=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function u(e,n){for(var t in n)e[t]=n[t];return e}function f(e){var n=e.parentNode;n&&n.removeChild(e)}function d(n,t,r){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof n&&null!=n.defaultProps)for(s in n.defaultProps)void 0===a[s]&&(a[s]=n.defaultProps[s]);return h(n,a,i,o,null)}function h(e,t,i,o,s){var a={type:e,props:t,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!=n.vnode&&n.vnode(a),a}function m(e){return e.children}function p(e,n){this.props=e,this.context=n}function $(e,n){if(null==n)return e.__?$(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?$(e):null}function g(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return g(e)}}function w(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!v.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||setTimeout)(v)}function v(){for(var e;v.__r=i.length;)e=i.sort((function(e,n){return e.__v.__b-n.__v.__b})),i=[],e.some((function(e){var n,t,r,i,o,s;e.__d&&(o=(i=(n=e).__v).__e,(s=n.__P)&&(t=[],(r=u({},i)).__v=i.__v+1,E(s,i,r,n.__n,void 0!==s.ownerSVGElement,null!=i.__h?[o]:null,t,null==o?$(i):o,i.__h),A(t,i),i.__e!=o&&g(i)))}))}function y(e,n,t,r,i,o,s,l,u,f){var d,p,g,w,v,y,C,x=r&&r.__k||c,k=x.length;for(t.__k=[],d=0;d<n.length;d++)if(null!=(w=t.__k[d]=null==(w=n[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.__=t,w.__b=t.__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}E(e,w,g=g||a,i,o,s,l,u,f),v=w.__e,(p=w.ref)&&g.ref!=p&&(C||(C=[]),g.ref&&C.push(g.ref,null,w),C.push(p,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=_(e,w,g,x,v,u),"function"==typeof t.type&&(t.__d=u)):u&&g.__e==u&&u.parentNode!=e&&(u=$(g))}for(t.__e=y,d=k;d--;)null!=x[d]&&("function"==typeof t.type&&null!=x[d].__e&&x[d].__e==t.__d&&(t.__d=$(r,d+1)),N(x[d],x[d]));if(C)for(d=0;d<C.length;d++)T(C[d],C[++d],C[++d])}function b(e,n,t){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,n="function"==typeof r.type?b(r,n,t):_(t,r,r,i,r.__e,n));return n}function C(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,n)})):n.push(e)),n}function _(e,n,t,r,i,o){var s,a,c;if(void 0!==n.__d)s=n.__d,n.__d=void 0;else if(null==t||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,c=0;(a=a.nextSibling)&&c<r.length;c+=2)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function x(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||l.test(n)?t:t+"px"}function k(e,n,t,r,i){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||x(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||x(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?r||e.addEventListener(n,o?S:I,o):e.removeEventListener(n,o?S:I,o);else if("dangerouslySetInnerHTML"!==n){if(i)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function I(e){this.l[e.type+!1](n.event?n.event(e):e)}function S(e){this.l[e.type+!0](n.event?n.event(e):e)}function E(e,t,r,i,o,s,a,c,l){var f,d,h,$,g,w,v,b,C,_,x,k,I,S=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(l=r.__h,c=t.__e=r.__e,t.__h=null,s=[c]),(f=n.__b)&&f(t);try{e:if("function"==typeof S){if(b=t.props,C=(f=S.contextType)&&i[f.__c],_=f?C?C.props.value:f.__:i,r.__c?v=(d=t.__c=r.__c).__=d.__E:("prototype"in S&&S.prototype.render?t.__c=d=new S(b,_):(t.__c=d=new p(b,_),d.constructor=S,d.render=M),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!=S.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=u({},d.__s)),u(d.__s,S.getDerivedStateFromProps(b,d.__s))),$=d.props,g=d.state,h)null==S.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==S.getDerivedStateFromProps&&b!==$&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,_),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,_)||t.__v===r.__v){d.props=b,d.state=d.__s,t.__v!==r.__v&&(d.__d=!1),d.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach((function(e){e&&(e.__=t)})),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=t,d.__P=e,x=n.__r,k=0,"prototype"in S&&S.prototype.render)d.state=d.__s,d.__d=!1,x&&x(t),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,x&&x(t),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)),I=null!=f&&f.type===m&&null==f.key?f.props.children:f,y(e,Array.isArray(I)?I:[I],t,r,i,o,s,a,c,l),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),v&&(d.__E=d.__=null),d.__e=!1}else null==s&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=O(r.__e,t,r,i,o,s,a,l);(f=n.diffed)&&f(t)}catch(e){t.__v=null,(l||null!=s)&&(t.__e=c,t.__h=!!l,s[s.indexOf(c)]=null),n.__e(e,t,r)}}function A(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){n.__e(e,t.__v)}}))}function O(n,t,r,i,o,s,c,l){var u,d,h,m=r.props,p=t.props,g=t.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)){n=u,s[w]=null;break}if(null==n){if(null===g)return document.createTextNode(p);n=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),s=null,l=!1}if(null===g)m===p||l&&n.data===p||(n.data=p);else{if(s=s&&e.call(n.childNodes),d=(m=r.props||a).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!l){if(null!=s)for(m={},w=0;w<n.attributes.length;w++)m[n.attributes[w].name]=n.attributes[w].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===n.innerHTML)||(n.innerHTML=h&&h.__html||""))}if(function(e,n,t,r,i){var o;for(o in t)"children"===o||"key"===o||o in n||k(e,o,null,t[o],r);for(o in n)i&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||k(e,o,n[o],t[o],r)}(n,p,m,o,l),h)t.__k=[];else if(w=t.props.children,y(n,Array.isArray(w)?w:[w],t,r,i,o&&"foreignObject"!==g,s,c,s?s[0]:r.__k&&$(r,0),l),null!=s)for(w=s.length;w--;)null!=s[w]&&f(s[w]);l||("value"in p&&void 0!==(w=p.value)&&(w!==n.value||"progress"===g&&!w||"option"===g&&w!==m.value)&&k(n,"value",w,m.value,!1),"checked"in p&&void 0!==(w=p.checked)&&w!==n.checked&&k(n,"checked",w,m.checked,!1))}return n}function T(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,r)}}function N(e,t,r){var i,o;if(n.unmount&&n.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||T(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){n.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&N(i[o],t,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function M(e,n,t){return this.constructor(e,t)}function P(t,r,i){var o,s,c;n.__&&n.__(t,r),s=(o="function"==typeof i)?null:i&&i.__k||r.__k,c=[],E(r,t=(!o&&i||r).__k=d(m,null,[t]),s||a,a,void 0!==r.ownerSVGElement,!o&&i?[i]:s?null:r.firstChild?e.call(r.childNodes):null,c,!o&&i?i:s?s.__e:r.firstChild,o),A(c,t)}function D(e,n){P(e,n,D)}function R(n,t,r){var i,o,s,a=u({},n.props);for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];return arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),h(n.type,a,i||n.key,o||n.ref,null)}e=c.slice,n={__e:function(e,n,t,r){for(var i,o,s;n=n.__;)if((i=n.__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(n){e=n}throw e}},r=0,p.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof e&&(e=e(u({},t),this.props)),e&&u(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),w(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},p.prototype.render=m,i=[],v.__r=0,s=0;var B,L,j,W,U=0,F=[],z=[],V=n.__b,H=n.__r,G=n.diffed,Z=n.__c,q=n.unmount;function Y(e,t){n.__h&&n.__h(L,e,U||t),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(se,e)}function X(e,n,t){var r=Y(B++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):se(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){L.u=!0;var i=L.shouldComponentUpdate;L.shouldComponentUpdate=function(e,n,t){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,n,t);var s=!1;return o.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(s=!0)}})),!!s&&(!i||i.call(this,e,n,t))}}return r.__N||r.__}function K(e,t){var r=Y(B++,3);!n.__s&&oe(r.__H,t)&&(r.__=e,r.i=t,L.__H.__h.push(r))}function Q(e,t){var r=Y(B++,4);!n.__s&&oe(r.__H,t)&&(r.__=e,r.i=t,L.__h.push(r))}function ee(e,n){var t=Y(B++,7);return oe(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function ne(){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(t){e.__H.__h=[],n.__e(t,e.__v)}}n.__b=function(e){L=null,V&&V(e)},n.__r=function(e){H&&H(e),B=0;var n=(L=e.__c).__H;n&&(j===L?(n.__h=[],L.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(n.__h.forEach(re),n.__h.forEach(ie),n.__h=[])),j=L},n.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==F.push(t)&&W===n.requestAnimationFrame||((W=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),te&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);te&&(n=requestAnimationFrame(t))})(ne)),t.__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},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(r,e.__v)}})),Z&&Z(e,t)},n.unmount=function(e){q&&q(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){t=e}})),t&&n.__e(t,r.__v))};var te="function"==typeof requestAnimationFrame;function re(e){var n=L,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),L=n}function ie(e){var n=L;e.__c=e.__(),L=n}function oe(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function se(e,n){return"function"==typeof n?n(e):n}function ae(e,n){for(var t in n)e[t]=n[t];return e}function ce(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function le(e){this.props=e}(le.prototype=new p).isPureReactComponent=!0,le.prototype.shouldComponentUpdate=function(e,n){return ce(this.props,e)||ce(this.state,n)};var ue=n.__b;n.__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,n){return null==e?null:C(C(e).map(n))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var n=C(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:C},me=n.__e;n.__e=function(e,n,t,r){if(e.then)for(var i,o=n;o=o.__;)if((i=o.__c)&&i.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),i.__c(e,n);me(e,n,t,r)};var pe=n.unmount;function $e(){this.__u=0,this.t=null,this.__b=null}function ge(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function we(){this.u=null,this.o=null}n.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),pe&&pe(e)},($e.prototype=new p).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var i=ge(r.__v),o=!1,s=function(){o||(o=!0,t.__R=null,i?i(a):a())};t.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__a:r.__b=null});n=r.t.pop();)n.forceUpdate()}},c=!0===n.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=ae({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var i=n.__a&&d(m,null,e.fallback);return i&&(i.__h=null),[d(m,null,n.__a?null:e.children),i]};var ve=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function ye(e){return this.getChildContext=function(){return e.context},e.children}function be(e){var n=this,t=e.i;n.componentWillUnmount=function(){P(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),P(d(ye,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(we.prototype=new p).__a=function(e){var n=this,t=ge(n.__v),r=n.o.get(e);return r[0]++,function(i){var o=function(){n.props.revealOrder?(r.push(i),ve(n,e,r)):i()};t?t(o):o()}},we.prototype.render=function(e){this.u=null,this.o=new Map;var n=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},we.prototype.componentDidUpdate=we.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){ve(e,t,n)}))};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 Ie(e,n,t){return null==n.__k&&(n.textContent=""),P(e,n),"function"==typeof t&&t(),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(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var Se=n.event;function Ee(){}function Ae(){return this.cancelBubble}function Oe(){return this.defaultPrevented}n.event=function(e){return Se&&(e=Se(e)),e.persist=Ee,e.isPropagationStopped=Ae,e.isDefaultPrevented=Oe,e.nativeEvent=e};var Te,Ne={configurable:!0,get:function(){return this.class}},Me=n.vnode;n.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var i=-1===n.indexOf("-");for(var o in r={},t){var s=t[o];xe&&"children"===o&&"noscript"===n||"value"===o&&"defaultValue"in t&&null==s||("defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&!ke(t.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"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,t.class!=t.className&&(Ne.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",Ne))}e.$$typeof=Ce,Me&&Me(e)};var Pe=n.__r;n.__r=function(e){Pe&&Pe(e),Te=e.__c};var De={ReactCurrentDispatcher:{current:{readContext:function(e){return Te.__n[e.__c].props.value}}}};function Re(e){return!!e&&e.$$typeof===Ce}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,n){var t=n(),r=J({s:{__:t,h:n}}),i=r[0].s,o=r[1];return Q((function(){i.__=t,i.h=n,i.__!==n()&&o({s:i})}),[e,t,n]),K((function(){return i.__!==i.h()&&o({s:i}),e((function(){i.__!==i.h()&&o({s:i})}))}),[e]),t},startTransition:Be,useRef:function(e){return U=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,n,t){U=6,Q((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))},useMemo:ee,useCallback:function(e,n){return U=8,ee((function(){return e}),n)},useContext:function(e){var n=L.context[e.__c],t=Y(B++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(L)),n.props.value):e.__},useDebugValue:function(e,t){n.useDebugValue&&n.useDebugValue(t?t(e):e)},version:"17.0.2",Children:he,render:Ie,hydrate:function(e,n,t){return D(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(P(null,e),!0)},createPortal:function(e,n){var t=d(be,{__v:e,i:n});return t.containerInfo=n,t},createElement:d,createContext:function(e,n){var t={__c:n="__cC"+s++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(w)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t},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:m,isValidElement:Re,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:le,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:ce(this.props,e)}function r(n){return this.shouldComponentUpdate=t,d(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function n(n){var t=ae({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=fe,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n},flushSync:function(e,n){return e(n)},unstable_batchedUpdates:function(e,n){return e(n)},StrictMode:m,Suspense:$e,SuspenseList:we,lazy:function(e){var n,t,r;function i(i){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return d(t,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,n){var t,r;return(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===(null===(r=Object.getPrototypeOf(n))||void 0===r?void 0:r.constructor)}class Ve{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 He(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ve(e[Symbol.iterator]())}function Ge(e){return{[Symbol.iterator](){return this},next(){const n=e["System.Collections.IEnumerator.MoveNext"]();return{done:!n,value:n?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,n){let t=e.toString(10);for(;t.length<n;)t="0"+t;return t}function Ye(e){const n=e;return"number"==typeof n.offset?n.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Je(e,n){return(e=e<0&&null!=n&&10!==n?4294967295+e+1:e).toString(n)}class Xe{static id(e){return Xe.idMap.has(e)||Xe.idMap.set(e,++Xe.count),Xe.idMap.get(e)}}function Ke(e){let n=0,t=5381;const r=e.length;for(;n<r;)t=33*t^e.charCodeAt(n++);return t}function Qe(e){return 2654435761*e|0}function en(e){return 0===e.length?0:e.reduce(((e,n)=>(e<<5)+e^n))}function nn(e){var n;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 n=e.length,t=new Array(n);for(let r=0;r<n;r++)t[r]=nn(e[r]);return en(t)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object){const n=Object.values(e).map((e=>nn(e)));return en(n)}return Qe(Xe.id(e))}}function tn(e){return null==e?0:We(e)?e.GetHashCode():Qe(Xe.id(e))}function rn(e,n,t){if(null==e)return null==n;if(null==n)return!1;if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(!t(e[r],n[r]))return!1;return!0}function on(e,n){return rn(e,n,sn)}function sn(e,n){var t;return e===n||(null==e?null==n:null!=n&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(n):je(e)?je(n)&&on(e,n):e instanceof Date?n instanceof Date&&0===an(e,n):(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object&&function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;t.sort(),r.sort();for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!sn(e[t[i]],n[r[i]]))return!1;return!0}(e,n)))}function an(e,n){let t,r;return"offset"in e&&"offset"in n?(t=e.getTime(),r=n.getTime()):(t=e.getTime()+Ye(e),r=n.getTime()+Ye(n)),t===r?0:t<r?-1:1}function cn(e,n){return e===n?0:e<n?-1:1}function ln(e,n){return function(e,n,t){if(null==e)return null==n?0:1;if(null==n)return-1;if(e.length!==n.length)return e.length<n.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=t(e[r],n[r]),0!==i)return i;return 0}(e,n,un)}function un(e,n){var t;return e===n?0:null==e?null==n?0:-1:null==n?1:"object"!=typeof e?e<n?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(n):je(e)?je(n)?ln(e,n):-1:e instanceof Date?n instanceof Date?an(e,n):-1:(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object?function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return t.length<r.length?-1:1;t.sort(),r.sort();for(let i=0,o=0;i<t.length;i++){const s=t[i];if(s!==r[i])return s<r[i]?-1:1;if(o=un(e[s],n[s]),0!==o)return o}return 0}(e,n):-1}function fn(e,n,t){return e(n,t)>0?n:t}function dn(e){const n={};for(const t of e)n[t[0]]=t[1];return n}Xe.idMap=new WeakMap,Xe.count=0;const hn=Symbol("curried");function mn(e,n){if(null==n||n.length>1)return n;const t=(...t)=>{let r=n;for(let n=0;n<e;n++)r=r(t[n]);return r};return t[hn]=n,t}function pn(e,n,t){return r=>1===n?t(...e.concat([r])):pn(e.concat([r]),n-1,t)}function $n(e,n){return null==n||1===n.length?n:hn in n?n[hn]:pn([],e,n)}function gn(e,n,t){if(null!=n){if(hn in n){n=n[hn];for(let e=0;e<t.length;e++)n=n(t[e]);return n}return pn(t,e,n)}}function wn(e){const n=e<0,t=(e=Math.abs(e))%36e5/6e4;return(n?"-":"+")+qe(~~(e/36e5),2)+":"+qe(t,2)}function vn(e,n){const t=e.toISOString();return"first"===n?t.substring(0,t.indexOf("T")):t.substring(t.indexOf("T")+1,t.length-1)}function yn(e,n,t){return n.replace(/(\w)\1*/g,(n=>{let r=Number.NaN;switch(n.substring(0,1)){case"y":const i=t?e.getUTCFullYear():e.getFullYear();r=n.length<4?i%100:i;break;case"M":r=(t?e.getUTCMonth():e.getMonth())+1;break;case"d":r=t?e.getUTCDate():e.getDate();break;case"H":r=t?e.getUTCHours():e.getHours();break;case"h":const o=t?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=t?e.getUTCMinutes():e.getMinutes();break;case"s":r=t?e.getUTCSeconds():e.getSeconds();break;case"f":r=t?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?n:r<10&&n.length>1?"0"+r:""+r}))}function bn(e,n,t){return null!=e.offset?function(e,n){var t,r,i;const o=new Date(e.getTime()+(null!==(t=e.offset)&&void 0!==t?t:0));if("string"!=typeof n)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+wn(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==n.length)return yn(o,n,!0);switch(n){case"D":case"d":return vn(o,"first");case"T":case"t":return vn(o,"second");case"O":case"o":return function(e,n){const t=e.toISOString();return t.substring(0,t.length-1)+wn(n)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,n):function(e,n){const t=1===e.kind;if("string"!=typeof n)return t?e.toUTCString():e.toLocaleString();if(1!==n.length)return yn(e,n,t);switch(n){case"D":case"d":return t?vn(e,"first"):e.toLocaleDateString();case"T":case"t":return t?vn(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,n){if(n)return e.toISOString();{const n=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)+(n?wn(-6e4*e.getTimezoneOffset()):"")}}(e,t);default:throw new Error("Unrecognized Date print format")}}(e,n)}function Cn(e,n){const t=new Date(e);return t.kind=0|(null==n?0:n),t}function _n(e){function n(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||n(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let t=new Date(e),r=null;if(isNaN(t.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,n=0;if(null!=i[2]){const e=i[2].split(":");n=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=i[3]&&"PM"===i[3].toUpperCase()&&(n+=720)}if(null!=i[4]){if(null!=i[1])e=new Date(i[1]+" UTC");else{const n=new Date;e=new Date(n.getUTCFullYear()+"/"+(n.getUTCMonth()+1)+"/"+n.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,n-=60*e}}else if(null!=i[1])e=new Date(i[1]);else{const n=new Date;e=new Date(n.getFullYear()+"/"+(n.getMonth()+1)+"/"+n.getDate())}t=new Date(e.getTime()+1e3*n),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))}else n();isNaN(t.getTime())&&n()}return[t,r]}function xn(e,n){try{return n.contents=function(e,n=!1){const[t,r]=_n(e),i=null!=r?n&&"Z"===r?1:2:0;return Cn(t.getTime(),i)}(e),!0}catch(e){return!1}}function kn(){return function(e,n,t,r=0,i=0,o=0,s=0,a){const c=1===a?Date.UTC(e,n-1,t,r,i,o,s):new Date(e,n-1,t,r,i,o,s).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const l=Cn(c,a);return e<=99&&l.setFullYear(e,n-1,t),l}(In(e=Cn(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 In(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const Sn=Symbol("numeric");function En(e){return"number"==typeof e||(null==e?void 0:e[Sn])}function An(e,n){return"number"==typeof e?e*n:e[Sn]().multiply(n)}function On(e,n){return"number"==typeof e?e.toFixed(n):e[Sn]().toFixed(n)}function Tn(e,n){return"number"==typeof e?e.toPrecision(n):e[Sn]().toPrecision(n)}function Nn(e,n){return"number"==typeof e?e.toExponential(n):e[Sn]().toExponential(n)}function Mn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Sn]().toHex()}function Pn(e,n=0){if(0!=(-284&n))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let t="gu";return t+=1&n?"i":"",t+=2&n?"m":"",t+=16&n?"s":"",new RegExp(e,t)}function Dn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Rn(e,n,t=0){if(null==n)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=t;const r=[];let i,o=-1;for(;null!=(i=e.exec(n));)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}function Bn(e,n=0){var t,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let n=0,t="[";for(const r of e){if(0===n)t+=Bn(r);else{if(100===n){t+="; ...";break}t+="; "+Bn(r)}n++}return t+"]"}(e);{const i=null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor;return i===Object&&n<10?"{ "+Object.entries(e).map((([e,t])=>e+" = "+Bn(t,n+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class Ln{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,n){if(0===n.length)return e;{let t="",r=!0;return 1===n.length?(t=Bn(n[0]),r=t.indexOf(" ")>=0):t=n.map((e=>Bn(e))).join(", "),e+(r?" (":" ")+t+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>nn(e)));return e.splice(0,0,Qe(this.tag)),en(e)}Equals(e){return this===e||!!ze(this,e)&&this.tag===e.tag&&on(this.fields,e.fields)}CompareTo(e){return this===e?0:ze(this,e)?this.tag===e.tag?ln(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class jn{toJSON(){return function(e){const n={},t=Object.keys(e);for(let r=0;r<t.length;r++)n[t[r]]=e[t[r]];return n}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,n])=>e+" = "+Bn(n))).join("\n ")+" }";var e}GetHashCode(){return function(e){const n=Object.values(e).map((e=>nn(e)));return en(n)}(this)}Equals(e){return function(e,n){if(e===n)return!0;if(ze(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++)if(!sn(e[t[r]],n[t[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,n){if(e===n)return 0;if(ze(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++){const i=un(e[t[r]],n[t[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class Wn{constructor(e,n){"function"==typeof n?(this.getter=e,this.setter=n):(this.getter=()=>e,this.setter=n=>{e=n})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class Un{constructor(e){this.message=e}}function Fn(e){return function(e){return e instanceof Un||e instanceof Error}(e)?e:new Error(String(e))}const zn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Vn=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,Hn=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Gn(e,n){return function(e,n){return"number"==typeof e?e<n?-1:e>n?1:0:e.CompareTo(n)}(e,n)<0}function Zn(e,n,t){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==n?0:-1:null==n?1:4===(i=t)||5===i?(r(t)&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n?0:e<n?-1:1):(r(t)&&(e=e.toLocaleLowerCase(),n=n.toLocaleLowerCase()),e.localeCompare(n));var i}function qn(e){return{input:e,cont:(n=e,e=>{zn.lastIndex=0;const t=[],r=[];let i=0,o=zn.exec(n);for(;o;){const e=o.index+(o[1]||"").length;t.push(n.substring(i,e).replace(/%%/g,"%")),r.push(o),i=zn.lastIndex,zn.lastIndex-=1,o=zn.exec(n)}return 0===t.length?e(n.replace(/%%/g,"%")):(t.push(n.substring(i).replace(/%%/g,"%")),et(e,t,r))})};var n}function Yn(e,n){let t=0,r=0,i="";Vn.lastIndex=0;let o=Vn.exec(e);for(;o;){const s=o.index+(o[1]||"").length;i+=e.substring(r,s).replace(/%%/g,"%");const[,,a,c,l,u]=o;r=Vn.lastIndex,i+=Qn(n[t++],a,c,l,u),Vn.lastIndex=r-1,o=Vn.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function Jn(e,n){return"string"==typeof n?e(n):n.cont(e)}function Xn(e){return Jn((e=>e),e)}function Kn(e){return Jn((e=>{throw new Error(e)}),e)}function Qn(e,n,t,r,i){let o="";if(n=n||"",i=i||"",En(e))switch("x"!==i.toLowerCase()&&(Gn(e,0)?(e=An(e,-1),o="-"):n.indexOf(" ")>=0?o=" ":n.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=On(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Tn(e,r):Tn(e);break;case"e":case"E":e=null!=r?Nn(e,r):Nn(e);break;case"x":e=Mn(e);break;case"X":e=Mn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?bn(e):Bn(e);if(t="number"==typeof t?t:parseInt(t,10),isNaN(t))e=o+e;else{const r=n.indexOf("0")>=0,i=n.indexOf("-")>=0,s=i||!r?" ":"0";e="0"===s?o+(e=ot(e,t-o.length,s,i)):ot(o+e,t,s,i)}return e}function et(e,n,t,r="",i=-1){return(...o)=>{let s=r;const a=n.slice(),c=t.slice();for(const e of o){const[,,n,t,r,o]=c[0];let l=t;if(i>=0)l=i,i=-1;else if("*"===l){if(e<0)throw new Error("Non-negative number required");i=e;continue}s+=a[0],s+=Qn(e,n,l,r,o),a.splice(0,1),c.splice(0,1)}return 0===c.length?(s+=a[0],e(s)):et(e,a,c,s,i)}}function nt(e,...n){return"object"==typeof e&&n.length>0&&(e=n[0],n.shift()),e.replace(Hn,((e,t,r,i,o,s)=>{if(t<0||t>=n.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let a=n[t];if(En(a))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":a=On(a,o=null!=o?o:2);break;case"g":case"G":a=null!=o?Tn(a,o):Tn(a);break;case"e":case"E":a=null!=o?Nn(a,o):Nn(a);break;case"p":case"P":o=null!=o?o:2,a=On(An(a,100),o)+" %";break;case"d":case"D":a=null!=o?st(String(a),o,"0"):String(a);break;case"x":case"X":a=null!=o?st(Mn(a),o,"0"):Mn(a),"X"===i&&(a=a.toUpperCase());break;default:if(s){let e="";a=s.replace(/([0#,]+)(\.[0#]+)?/,((n,t,r)=>{Gn(a,0)&&(a=An(a,-1),e="-"),r=null==r?"":r.substring(1),a=On(a,Math.max(r.length,0));let[i,o]=a.split(".");o||(o=""),i=st(i,t.replace(/,/g,"").replace(/^#+/,"").length,"0");const s=r.replace(/#+$/,"").length;if(s>o.length?o=function(e,n,t){return ot(e,n,"0",!0)}(o,s):s<o.length&&(o=o.substring(0,s)+o.substring(s).replace(/0+$/,"")),t.indexOf(",")>0){const e=i.length%3,n=Math.floor(i.length/3);let t=e>0?i.substr(0,e)+(n>0?",":""):"";for(let r=0;r<n;r++)t+=i.substr(e+3*r,3)+(r<n-1?",":"");i=t}return o.length>0?i+"."+o:i})),a=e+a}}else a=a instanceof Date?bn(a,s||i):Bn(a);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(a=ot(String(a),Math.abs(r)," ",r<0)),a}))}function tt(e){return"string"!=typeof e||0===e.length}function rt(e){return"string"!=typeof e||/^\s*$/.test(e)}function it(e,n){return Array.isArray(n)?n.join(e):Array.from(n).join(e)}function ot(e,n,t,r){t=t||" ",n-=e.length;for(let i=0;i<n;i++)e=r?e+t:t+e;return e}function st(e,n,t){return ot(e,n,t)}function at(e,n,t,r){if(r="number"==typeof r?r:0,(t="number"==typeof t?t:void 0)&&t<0)throw new Error("Count cannot be less than zero");if(0===t)return[];const i=1==(1&r),o=2==(2&r);n=(n=n||[]).filter((e=>e)).map(Dn),n=n.length>0?n:["\\s"];const s=[],a=new RegExp(n.join("|"),"g");let c=!0,l=0;do{const n=a.exec(e);if(null===n){const n=o?e.substring(l).trim():e.substring(l);(!i||n.length>0)&&s.push(n),c=!1}else{const r=o?e.substring(l,n.index).trim():e.substring(l,n.index);(!i||r.length>0)&&(null!=t&&s.length+1===t?(s.push(o?e.substring(l).trim():e.substring(l)),c=!1):s.push(r)),l=a.lastIndex}}while(c);return s}function ct(e,n){return n.split("").filter((n=>e(n))).join("")}function lt(e,n,t){if(n+(t||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=t?e.substr(n,t):e.substr(n)}class ut{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return nn(this.value)}Equals(e){return null!=e&&sn(this.value,e instanceof ut?e.value:e)}CompareTo(e){return null==e?1:un(this.value,e instanceof ut?e.value:e)}}function ft(e){return null==e||e instanceof ut?new ut(e):e}function dt(e){if(null==e)throw new Error("Option has no value");return e instanceof ut?e.value:e}function ht(e){return null==e?void 0:e}function mt(e){return null==e?[]:[dt(e)]}function pt(e,n){return null!=e?dt(e):n}function $t(e,n){return null!=n?ft(e(dt(n))):void 0}function gt(e,n){return null!=n?e(dt(n)):void 0}function wt(){return e=un,{Compare:(n,t)=>e(n,t)};var e}function vt(e,n){return"function"==typeof e?new e(n):new Array(n)}function yt(e,n,t,r){const i=0|n;return e.fill(r,i,i+t)}function bt(e,n,t){const r=0|n.length,i=vt(t,r);for(let t=0;t<=r-1;t++)i[t]=e(n[t]);return i}function Ct(e,n,t){return t.reduce(e,n)}function _t(e,n,t){if(null==n)return null==t;if(null==t)return!1;{let r=0,i=!0;const o=0|n.length,s=0|t.length;if(o>s)return!1;if(o<s)return!1;for(;r<o&&i;)i=e(n[r],t[r]),r=r+1|0;return i}}function xt(e,n){return e<0||e>=n.length?void 0:ft(n[e])}const kt="Collection was empty.";class It extends jn{constructor(e,n){super(),this.head=e,this.tail=n}toString(){return"["+it("; ",this)+"]"}Equals(e){return this===e||((e,n)=>{e:for(;;){const t=e,r=n,i=[t.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1];if(sn(t.head,r.head)){e=o,n=s;continue e}return!1}return!1}return null==i[1]}})(this,e)}GetHashCode(){return 0|((e,n,t)=>{for(;;){const r=e,i=n,o=t,s=o.tail;if(null==s)return 0|i;{const a=s;if(r>18)return 0|i;e=r+1,n=(i<<1)+nn(o.head)+631*r,t=a}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,n)=>{e:for(;;){const t=e,r=n,i=[t.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1],a=0|un(t.head,r.head);if(0===a){e=o,n=s;continue e}return 0|a}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return new St(this)}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}}class St{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,n=e.it.tail;if(null!=n){const t=n;return e.current=e.it.head,e.it=t,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function Et(){return new It(null,void 0)}function At(e,n){return new It(e,n)}function Ot(e){return null==e.tail}function Tt(e){return 0|((e,n)=>{for(;;){const t=e,r=n.tail;if(null==r)return 0|t;e=t+1,n=r}})(0,e)}function Nt(e){if(null!=e.tail)return e.head;throw new Error(kt+"\\nParameter name: list")}function Mt(e){const n=e.tail;if(null!=n)return n;throw new Error(kt+"\\nParameter name: list")}function Pt(){return Et()}function Dt(e,n){return At(e,n)}function Rt(e){return At(e,Et())}function Bt(e){return Ot(e)}function Lt(e){return Tt(e)}function jt(e){return Nt(e)}function Wt(e){return Mt(e)}function Ut(e){const n=0|Tt(e),t=yt(new Array(n),0,n,null);return((e,n)=>{for(;;){const r=e,i=n;if(Ot(i))break;t[r]=Nt(i),e=r+1,n=Mt(i)}})(0,e),t}function Ft(e,n,t){let r=n,i=t;for(;!Ot(i);)r=e(r,Nt(i)),i=Mt(i);return r}function zt(e){return Ft(((e,n)=>At(n,e)),Et(),e)}function Vt(e,n){Ft(((n,t)=>{e(t)}),void 0,n)}function Ht(e,n){let t=n;for(let n=e.length-1;n>=0;n--)t=At(e[n],t);return t}function Gt(e){return Ht(e,Et())}function Zt(e,n){return Ft(((e,n)=>At(n,e)),n,zt(e))}function qt(e,n){const t=Et(),r=Ft(((n,t)=>{const r=new It(e(t),void 0);return n.tail=r,r}),t,n),i=Et();return r.tail=i,Mt(t)}function Yt(e,n){return function(e,n){return(n=>{e:for(;;){const t=n;if(Ot(t))return;{const r=e(Nt(t));if(null==r){n=Mt(t);continue e}return r}}})(n)}((n=>e(n)?ft(n):void 0),n)}function Jt(e,n){return((n,t)=>{for(;;){const r=n,i=t;if(Ot(i))return;if(e(Nt(i)))return r;n=r+1,t=Mt(i)}})(0,n)}function Xt(e,n){const t=Et(),r=Ft(((n,t)=>{if(e(t)){const e=new It(t,void 0);return n.tail=e,e}return n}),t,n),i=Et();return r.tail=i,Mt(t)}function Kt(e,n,t){return null!=Jt((n=>t.Equals(e,n)),n)}function Qt(e,n){return null!=Jt(e,n)}const er="Enumeration already finished.",nr="Enumeration has not started. Call MoveNext.",tr="The input sequence has an insufficient number of elements.";function rr(){throw new Error(nr)}function ir(){throw new Error(er)}class or{constructor(e){this.f=e}toString(){let e=0,n="seq [";const t=He(this);try{for(;e<4&&t["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=Bn(t["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{Fe(t)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class sr{constructor(e,n,t){this.current=e,this.next=n,this.dispose=t}"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 ar(e,n,t){return new sr(e,n,t)}function cr(e,n,t){let r,i=!1,o=ft(e());const s=()=>{if(null!=o){const e=dt(o);try{t(e)}finally{o=void 0}}},a=()=>{try{s()}finally{r=void 0}};return ar((()=>(i||rr(),null!=r?dt(r):ir())),(()=>{if(i||(i=!0),null!=o){const e=dt(o);let t;try{t=n(e)}catch(e){throw a(),e}return null!=t?(r=t,!0):(a(),!1)}return!1}),s)}function lr(e){return function(e){return new or(e)}(e)}function ur(e){return n="source",null==e&&function(e){throw new Error(e)}(n),He(e);var n}function fr(e){return lr((()=>He(e())))}function dr(e){return lr((()=>function(e){let n,t,r,i=!1,o=!1;const s=()=>{if(o=!0,null!=t){const e=t;try{Fe(e)}finally{t=void 0}}if(null!=n){const e=n;try{Fe(e)}finally{n=void 0}}};return ar((()=>(i?o&&ir():rr(),null!=r?dt(r):ir())),(()=>{let a;if(i||(i=!0),o)return!1;{let i;for(;null==i;){const o=[n,t];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=ft(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{Fe(e)}finally{t=void 0}}else{const e=o[0];e["System.Collections.IEnumerator.MoveNext"]()?(a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),t=He(a)):(s(),i=!1)}else n=He(e)}return dt(i)}}),(()=>{o||s()}))}(e)))}function hr(){return fr((()=>new Array(0)))}function mr(e){return fr((()=>function(e,n){const t=vt(void 0,1);return t[0]=e,t}(e)))}function pr(e){return e instanceof It?Ut(e):Array.from(e)}function $r(e){return je(e)?Gt(e):e instanceof It?e:function(e){let n,t;if(je(e))return Gt(e);if(e instanceof It)return e;{const r=Et();let i=r;const o=He(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n=i,t=new It(e,void 0),n.tail=t,i=t}}finally{Fe(o)}const s=i,a=Et();return s.tail=a,Mt(r)}}(e)}function gr(e,n,t){return lr((()=>{let r=-1;return cr(e,(e=>(r=r+1|0,n(r,e))),t)}))}function wr(e,n){return dr([e,n])}function vr(e,n,t){const r=ur(n);try{let n=!1;for(;!n&&r["System.Collections.IEnumerator.MoveNext"]();)n=t.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Fe(r)}}function yr(e,n,t){const r=ur(t);try{let t=n;for(;r["System.Collections.IEnumerator.MoveNext"]();)t=e(t,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Fe(r)}}function br(e,n){yr(((n,t)=>{e(t)}),void 0,n)}function Cr(e,n){return t=()=>ur(n),r=n=>n["System.Collections.IEnumerator.MoveNext"]()?ft(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{Fe(e)},lr((()=>cr(t,r,i)));var t,r,i}function _r(e){return fr((()=>function(e){return e.slice().reverse()}(pr(e))))}function xr(e,n){return lr((()=>{const t=ur(n);try{for(let n=1;n<=e;n++)if(!t["System.Collections.IEnumerator.MoveNext"]())throw new Error(tr+"\\nParameter name: source");return function(e,n){return ar((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Fe(n)}finally{e()}}))}((()=>{}),t)}catch(e){throw Fe(t),e}}))}function kr(e,n){return fr((()=>dr(Cr(e,n))))}Symbol.iterator;const Ir=Le,Sr=(e,n)=>{K((()=>{const n=e();return()=>{n.Dispose()}}),n)},Er=e=>{Q((()=>{const n=e();return()=>{n.Dispose()}}))};function Ar(e){return{Dispose(){e()}}}function Or(e){return Ir.useState(e)}function Tr(e){var n;n=e,K((()=>{const e=n();return()=>{e.Dispose()}}))}function Nr(e,n){Sr(e,n)}function Mr(e){Dr(e,[])}function Pr(e){Nr(e,[])}function Dr(e,n){Sr((n=>(e(),Ar((()=>{})))),n)}function Rr(e){return Ir.useRef(e)}function Br(e,n){const t=pt(n,[]);return Ir.useMemo(e,t)}function Lr(e){const n=Rr(e),t=function(e,t){const r=pt([],[]);return Ir.useCallback((e=>n.current(e)),r)}();var r;return r=()=>{n.current=e},Er((e=>(r(),Ar((()=>{}))))),t}function jr(e){return Ir.useState(e)}class Wr{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 n=this._id;return this._listeners.set(this._id++,e),n}removeListener(e){return this._listeners.delete(e)}register(e,n){const t=this,r=this.addListener(null==n?e:()=>e(n));return{Dispose(){t.removeListener(r)}}}Dispose(){}}class Ur extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ur.prototype)}}class Fr{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Fr.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function zr(e){return n=>{if(n.cancelToken.isCancelled)n.onCancel(new Ur);else if(n.trampoline.incrementAndCheck())n.trampoline.hijack((()=>{try{e(n)}catch(e){n.onError(Fn(e))}}));else try{e(n)}catch(e){n.onError(Fn(e))}}}const Vr=new class{Bind(e,n){return function(e,n){return zr((t=>{e({onSuccess:e=>{try{n(e)(t)}catch(e){t.onError(Fn(e))}},onError:t.onError,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}(e,n)}Combine(e,n){return this.Bind(e,(()=>n))}Delay(e){return zr((n=>e()(n)))}For(e,n){const t=e[Symbol.iterator]();let r=t.next();return this.While((()=>!r.done),this.Delay((()=>{const e=n(r.value);return r=t.next(),e})))}Return(e){return function(e){return zr((n=>n.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,n){return zr((t=>{e({onSuccess:e=>{n(),t.onSuccess(e)},onError:e=>{n(),t.onError(e)},onCancel:e=>{n(),t.onCancel(e)},cancelToken:t.cancelToken,trampoline:t.trampoline})}))}TryWith(e,n){return zr((t=>{e({onSuccess:t.onSuccess,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline,onError:e=>{try{n(e)(t)}catch(e){t.onError(Fn(e))}}})}))}Using(e,n){return this.TryFinally(n(e),(()=>e.Dispose()))}While(e,n){return e()?this.Bind(n,(()=>this.While(e,n))):this.Return(void 0)}Zero(){return zr((e=>e.onSuccess(void 0)))}};class Hr extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Ok","Error"]}}function Gr(e,n){return 0===n.tag?new Hr(0,e(n.fields[0])):new Hr(1,n.fields[0])}function Zr(e,n){return 0===n.tag?e(n.fields[0]):new Hr(1,n.fields[0])}class qr extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}class Yr extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function Jr(e){}function Xr(e){const n=new Wr("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{n.cancel()}),e),n}function Kr(e){e.cancel()}const Qr=new Wr;function ei(e){return zr((n=>{e({onSuccess:e=>n.onSuccess(function(e){return new qr(0,e)}(e)),onError:e=>n.onSuccess(function(e){return new qr(1,e)}(e)),onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}function ni(e){return zr((n=>e([n.onSuccess,n.onError,n.onCancel])))}function ti(e){return zr((n=>{let t;const r=setTimeout((()=>{n.cancelToken.removeListener(t),n.onSuccess(void 0)}),e);t=n.cancelToken.addListener((()=>{clearTimeout(r),n.onCancel(new Ur)}))}))}function ri(e,n){return function(e,n){return ii(e,n)}(e,n)}function ii(e,n,t,r,i){"function"!=typeof n&&(i=n,n=void 0);const o=new Fr;e({onSuccess:n||Jr,onError:t||Jr,onCancel:r||Jr,cancelToken:i||Qr,trampoline:o})}class oi extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function si(e,n){switch(n.tag){case 1:return new oi(1);case 3:return new oi(3,n.fields[0]);case 2:try{return new oi(2,e(n.fields[0]))}catch(e){return new oi(3,e)}default:return new oi(0)}}function ai(e,n){const t=jr(new oi(0)),r=t[1];let i;const o=Rr(Xr()),s=Rr(o.current);Pr((()=>Ar((()=>{Kr(o.current)})))),i=s;const a=Vr.Delay((()=>Vr.TryWith(Vr.Delay((()=>(r(new oi(1)),Vr.Bind(e,(e=>(r(new oi(2,e)),Vr.Zero())))))),(e=>(r(new oi(3,e)),Vr.Zero())))));return Dr((()=>{ri(a,i.current)}),n),t[0]}function ci(e,n){const t=Rr(Xr());return Pr((()=>Ar((()=>{Kr(t.current)})))),Lr((r=>{var i;null!=(i=t.current)&&i.isCancelled||ri(Vr.Delay((()=>Vr.TryWith(Vr.Delay((()=>(n(new oi(1)),Vr.Bind(e(r),(e=>(n(new oi(2,e)),Vr.Zero())))))),(e=>(n(new oi(3,e)),Vr.Zero()))))),t.current)}))}const li={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function ui(e,n){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+n+e.charAt(1).toLowerCase()))}function fi(e,n=li.None){const t={},r=n;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,n,r){e=function(e,n){switch(n){case li.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case li.SnakeCase:return ui(e,"_");case li.SnakeCaseAllCaps:return ui(e,"_").toUpperCase();case li.KebabCase:return ui(e,"-");case li.None:default:return e}}(e,n),t[e]=r}for(let n of e){let e=li.None;if(null==n&&i(n),n instanceof Ln){const t=n.cases()[n.tag];n=0===n.fields.length?t:[t].concat(n.fields),e=r}if(Array.isArray(n))switch(n.length){case 0:i(n);break;case 1:o(n[0],e,!0);break;case 2:const t=n[1];o(n[0],e,t);break;default:o(n[0],e,n.slice(1))}else"string"==typeof n?o(n,e,!0):i(n)}return t}function di(e,n){if(e.has(n))return e.get(n);throw new Error(`The given key '${n}' was not present in the dictionary.`)}var hi,mi;function pi(){return pi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},pi.apply(this,arguments)}const $i=function(e){return d("svg",pi({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),hi||(hi=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})),mi||(mi=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 gi,wi;function vi(){return vi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},vi.apply(this,arguments)}const yi=function(e){return d("svg",vi({width:64,height:65,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),gi||(gi=d("g",{clipPath:"url(#spinner-large_svg__a)"},d("path",{d:"M64 32.5c0 17.673-14.327 32-32 32-17.673 0-32-14.327-32-32C0 14.827 14.327.5 32 .5c17.673 0 32 14.327 32 32Zm-62.004 0c0 16.57 13.433 30.004 30.004 30.004 16.57 0 30.004-13.433 30.004-30.004C62.004 15.93 48.571 2.496 32 2.496 15.43 2.496 1.996 15.929 1.996 32.5Z",fill:"#D6E2FC"}),d("path",{d:"M32 1.492c0-.548.444-.994.992-.977a32 32 0 0 1 30.993 30.993.968.968 0 0 1-.977.992c-.548 0-.99-.444-1.008-.992A30.015 30.015 0 0 0 32.992 2.5 1.018 1.018 0 0 1 32 1.492Z",fill:"currentColor"}))),wi||(wi=d("defs",null,d("clipPath",{id:"spinner-large_svg__a"},d("path",{fill:"#fff",transform:"translate(0 .5)",d:"M0 0h64v64H0z"})))))};function bi(e){const n=fi(e,1);return d(yi,n)}function Ci(e){switch(e.tag){case 1:return"information request";case 2:return"workflow";default:return"onboarding"}}const _i=d("div",dn(Gt([["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;const n=[(e=Gt([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/report-security-vulnerability",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",children:"Privacy Policy"}),d("span",{children:["."]})]),d("p",{children:Ir.Children.toArray(Array.from(e))})),d("p",{children:["Copyright © 2024 Flare. ABN 46 607 120 892."]})];return["children",Ir.Children.toArray(Array.from(n))]})()])));function xi(e){let n,t;const r=e.journeyType,i=ai(ti(3e3),[]);return d("div",dn(Gt([["className",it(" ",["h-screen","fade-in","flex flex-col justify-between w-full sm:w-[640px] mx-auto"])],(n=[d("div",dn(Gt([["className","flex flex-col mt-10 mx-4 sm:mt-20 justify-center items-center"],(t=[bi([["className","text-primary-base animate-spin"]]),d("h1",{className:"mt-4 font-bold text-2xl sm:text-3xl text-gray-900",children:"Signing you in"}),d("p",{className:"mt-6 sm:mt-8 text-base sm:text-lg text-gray-900",children:1===i.tag||3===i.tag?`We’re authenticating your account and loading your ${Ci(r)}…`:2===i.tag?"This may take a few seconds, please don’t close this window.":`We’re authenticating your account and loading your ${Ci(r)}…`})],["children",Ir.Children.toArray(Array.from(t))])]))),d("div",{className:"mb-6 sm:mb-8",children:Ir.Children.toArray([_i])})],["children",Ir.Children.toArray(Array.from(n))])])))}const ki=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,n){let t,r;void 0===n?(t=null,r=e):(t=e,r=n),this.delegates.forEach((e=>1===e.length?e(r):e(t,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const n="function"==typeof e?e:e.OnNext;return this._addHandler(n),{Dispose:()=>{this._removeHandler(n)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const n=this.delegates.indexOf(e);n>-1&&this.delegates.splice(n,1)}},Ii=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 ki}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 Si{constructor(e,n,t){this.OnNext=e,this.OnError=n||(e=>{}),this.OnCompleted=t||(()=>{})}}function Ei(e,n,t){Vt((t=>{try{t(n)}catch(n){e(n)}}),t)}function Ai(){return Pt()}function Oi(e,n){return qt((n=>t=>{n((n=>{t(e(n))}))}),n)}function Ti(e){return function(e){const n=Et();let t=n;const r=e=>{t=Ft(((e,n)=>{const t=new It(n,void 0);return e.tail=t,t}),t,e)};if(je(e))e.forEach(r);else if(e instanceof It)Vt(r,e);else{const n=He(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)r(n["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Fe(n)}}const i=t,o=Et();return i.tail=o,Mt(n)}(e)}function Ni(e){return Rt(e)}function Mi(e){return Rt((n=>{n(e)}))}function Pi(e,n,t,r,i){return Rt((o=>{e(Vr.Delay((()=>Vr.Bind(ei(n(t)),(e=>{const n=e;return o(1===n.tag?i(n.fields[0]):r(n.fields[0])),Vr.Zero()})))))}))}function Di(e){!function(e,n){let t,r=new Ii(e);r.AutoReset=!1,t=r,function(e,n){n.Subscribe(new Si(e))}(n,t.Elapsed()),t.Enabled=!0,t.Start()}(0,(n=>{ri(e)}))}function Ri(e,n,t,r,i){const o=function(e,n,t,r){const i=0|un(e,t);if(0===i)throw new Error("The step of a range cannot be zero");const o=i>0;return t=>{const i=0|un(t,n);return o&&i<=0||!o&&i>=0?[t,r(t,e)]:void 0}}(n,t,r,i);return fr((()=>{return n=o,t=e,lr((()=>function(e,n){let t,r=n;return ar((()=>{if(null!=t){const e=t[0];return t[1],e}return rr()}),(()=>{if(t=e(r),null!=t){t[0];const e=t[1];return r=e,!0}return!1}),(()=>{}))}(n,t)));var n,t}))}function Bi(e,n,t){return Ri(e,n,t,0,((e,n)=>e+n))}class Li extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Writable","ReadWritable"]}}class ji{constructor(e){this.state=new Li(0,yt(new Array(fn(cn,e,10)),0,fn(cn,e,10),null),0)}}function Wi(e){const n=e.state;if(1===n.tag){const t=0|n.fields[1],r=0|n.fields[2],i=n.fields[0],o=(r+1)%i.length|0;return e.state=o===t?new Li(0,i,t):new Li(1,i,t,o),ft(i[r])}}class Ui extends jn{constructor(e,n,t,r,i,o,s){super(),this.init=e,this.update=n,this.subscribe=t,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=s}}function Fi(e,n,t){return new Ui(e,n,(e=>Ai()),t,mn(2,(e=>{const n=gn(1,t,[e]);return e=>{n(e)}})),(e=>{var n,t;n=e[0],t=e[1],console.error(ft(n),t)}),mn(2,(e=>e)))}function zi(e,n){return new Ui(n.init,n.update,n.subscribe,n.view,e,n.onError,n.syncDispatch)}function Vi(e,n){const t=n.init(e),r=t[0],i=new ji(10);let o=!1,s=r;const a=gn(1,n.syncDispatch,[e=>{if(o)!function(e,n){const t=e.state;if(1===t.tag){const o=0|t.fields[1],s=0|t.fields[2],a=t.fields[0];a[o]=n;const c=(o+1)%a.length|0;e.state=c===s?new Li(1,(r=s,i=a,Array.from(fr((()=>wr(xr(r,i),fr((()=>{return wr((e=r,n=i,gr((()=>ur(n)),((n,t)=>{if(n<e){if(t["System.Collections.IEnumerator.MoveNext"]())return ft(t["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(tr+"\\nParameter name: source")}}),(e=>{Fe(e)}))),fr((()=>kr((e=>mr(null)),Bi(0,1,i.length)))));var e,n}))))))),a.length,0):new Li(1,a,c,s)}else{const r=0|t.fields[1],i=t.fields[0];i[r]=n;const o=(r+1)%i.length|0;e.state=new Li(1,i,o,r)}var r,i}(i,e);else{o=!0;let t=ft(e);for(;null!=t;){const e=dt(t);try{const t=n.update(e,s),r=t[0];n.setState(r,a),Ei((t=>{n.onError([Xn(qn("Error in command while handling: %A"))(e),t])}),a,t[1]),s=r}catch(t){n.onError([Xn(qn("Unable to process the message: %A"))(e),t])}t=Wi(i)}o=!1}}]);n.setState(r,a),Ei((e=>{n.onError(["Error intitializing:",e])}),a,Ti(Gt([(()=>{try{return n.subscribe(r)}catch(e){return n.onError(["Unable to subscribe:",e]),Ai()}})(),t[1]])))}class Hi{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function Gi(){return new Hi}function Zi(e,n,t,r){Vi(n,zi(((e,n)=>{!function(e,n,t){e.state=ft(n),e.dispatcher=t;const r=e.listener;null!=r&&r(n)}(t,e,n)}),e()));const i=function(e){return e.state}(t);if(null!=i)return dt(i);throw new Error("Elmish program has not initialized")}function qi(e,n){return function(e,n,t){const r=Or(Gi)[0],i=Or((()=>Zi(e,n,r))),o=i[1];return Nr((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Zi(e,n,r)),Ar((()=>{!function(e){const n=e.state;if(null!=n){const e=dt(n);Ue(e)&&Fe(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),pt(t,[])),function(e,n){null==e.listener&&(e.listener=n)}(r,o),[i[0],e=>{!function(e,n){const t=e.dispatcher;null!=t&&t(n)}(r,e)}]}(e,void 0,n)}function Yi(e,n,t){return qi((()=>Fi(e,n,((e,n)=>{}))),t)}function Ji(e,n,t){return qi((()=>Fi((()=>e),n,((e,n)=>{}))),t)}class Xi{constructor(e,n,t,r){this.declaringType=e,this.tag=n,this.name=t,this.fields=r}}class Ki{constructor(e,n,t,r,i,o,s){this.fullname=e,this.generics=n,this.construct=t,this.parent=r,this.fields=i,this.cases=o,this.enumCases=s}toString(){return $o(this)}GetHashCode(){return eo(this)}Equals(e){return no(this,e)}}function Qi(e){return null!=e.generics?e.generics:[]}function eo(e){return en([Ke(e.fullname),...Qi(e).map(eo)])}function no(e,n){return""===e.fullname?""===n.fullname&&rn(Io(e),Io(n),(([e,n],[t,r])=>e===t&&no(n,r))):e.fullname===n.fullname&&rn(Qi(e),Qi(n),no)}function to(e,n,t,r){return new Ki(e,n,t,r)}function ro(e,n,t,r){return new Ki(e,n,t,void 0,r)}function io(...e){return new Ki("",void 0,void 0,void 0,(()=>e))}function oo(e,n,t,r){const i=new Ki(e,n,t,void 0,void 0,(()=>{const e=t.prototype.cases();return r().map(((n,t)=>new Xi(i,t,e[t],n)))}));return i}function so(...e){return new Ki("System.Tuple`"+e.length,e)}function ao(e){return new Ki("Microsoft.FSharp.Core.FSharpOption`1",[e])}function co(e){return new Ki("Microsoft.FSharp.Collections.FSharpList`1",[e])}const lo=new Ki("System.Object"),uo=(new Ki("Microsoft.FSharp.Core.Unit"),new Ki("System.Char"),new Ki("System.String")),fo=new Ki("System.Boolean"),ho=(new Ki("System.SByte"),new Ki("System.Byte"),new Ki("System.Int16"),new Ki("System.UInt16"),new Ki("System.Int32")),mo=(new Ki("System.UInt32"),new Ki("System.Single"),new Ki("System.Double"));function po(e){if(Array.isArray(e))return e[0];if(e instanceof Ki){const n=wo(e);if(null!=n)return po(n)+"[]";{const n=e.fullname.lastIndexOf(".");return-1===n?e.fullname:e.fullname.substr(n+1)}}return e.name}function $o(e){const n=wo(e);return null!=n?$o(n)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>$o(e))).join(",")+"]"}function go(e){return null!=wo(e)}function wo(e){var n;return"[]"===e.fullname&&1===(null===(n=e.generics)||void 0===n?void 0:n.length)?e.generics[0]:void 0}function vo(e){return null!=e.generics&&e.generics.length>0}function yo(e){return null!=e.enumCases&&e.enumCases.length>0}function bo(e){return null==e.generics?e:new Ki(e.fullname,e.generics.map((()=>lo)))}function Co(e){var n;return null===(n=e.generics)||void 0===n?void 0:n[0]}function _o(e){if(yo(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function xo(e,n){const t=parseInt(n,10);return function(e,n){if(null!=e.enumCases){if("string"==typeof n){for(const t of e.enumCases)if(t[0]===n)return t;throw new Error(`'${n}' was not found in ${e.fullname}`)}for(const t of e.enumCases)if(t[1]===n)return t;return["",n]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(t)?n:t)[1]}function ko(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Io(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function So(e){if(Oo(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Eo(e){return e instanceof Ki?null!=e.cases:e instanceof Ln}function Ao(e){return e instanceof Ki?null!=e.fields:e instanceof jn}function Oo(e){return e.fullname.startsWith("System.Tuple")}function To(e){return null==e.fields?[]:e.fields}new Ki("System.Decimal");class No extends jn{constructor(e,n){super(),this.CssOverrides=e,this.MaskedEmail=n}}class Mo extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class Po extends jn{constructor(e){super(),this.AuthCode=e}}class Do extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class Ro extends jn{constructor(e,n){super(),this.CssOverrides=e,this.MaskedEmail=n}}function Bo(){return ro("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],Ro,(()=>[["CssOverrides",co(uo)],["MaskedEmail",uo]]))}function Lo(e){return new No(e.CssOverrides,e.MaskedEmail)}class jo extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class Wo extends jn{constructor(e){super(),this.AuthCode=e}}class Uo extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class Fo extends jn{constructor(e){super(),this.Mfa=e}}function zo(e,n){return tt(n)?new Hr(1,Xn(qn("%s cannot be null or empty"))(e)):new Hr(0,n)}function Vo(e){const n=function(e){let n;const t=function(e,n){const t=function(e,n,t=0){return e.lastIndex=t,e.exec(n)}(Pn(".*?@(.*)"),n);return null!=t?Wt($r(fr((()=>Cr((e=>e||""),t))))):void 0}(0,e);switch(n=null!=t?Bt(t)?1:Bt(Wt(t))?0:1:1,n){case 0:return e;case 1:return}}(e);return null!=n?new Hr(0,n):new Hr(1,"Email is not in the correct format")}const Ho=e=>({tag:"ok",value:e}),Go=e=>({tag:"error",error:e});class Zo{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,n){switch(n){case 1:return Zo.isAbsoluteUri(e)?Ho(new Zo({original:e,value:new URL(e),kind:n})):Go("Invalid URI: The format of the URI could not be determined.");case 2:return Zo.isAbsoluteUri(e)?Go("URI is not a relative path."):Ho(new Zo({original:e,value:e,kind:n}));case 0:return Zo.isAbsoluteUri(e)?Ho(new Zo({original:e,value:new URL(e),kind:1})):Ho(new Zo({original:e,value:e,kind:2}));default:return n}}static tryCreateWithBase(e,n){return 1!==e.uri.kind?Go("Base URI should have Absolute kind"):"string"==typeof n?Ho(new Zo({original:new URL(n,e.uri.value).toString(),value:new URL(n,e.uri.value),kind:1})):2===n.uri.kind?Ho(new Zo({original:new URL(n.uri.value,e.uri.value).toString(),value:new URL(n.uri.value,e.uri.value),kind:1})):Ho(e)}static tryCreateImpl(e,n=1){return"string"==typeof e?"number"!=typeof n?Go("Kind must be specified when the baseUri is a string."):Zo.tryCreateWithKind(e,n):"number"==typeof n?Go("Kind should not be specified when the baseUri is an absolute Uri."):Zo.tryCreateWithBase(e,n)}static create(e,n=1){const t=Zo.tryCreateImpl(e,n);switch(t.tag){case"ok":return t.value;case"error":throw new Error(t.error);default:return t}}static tryCreate(e,n=1,t){const r=Zo.tryCreateImpl(e,n);switch(r.tag){case"ok":return t.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 qo extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProfileId"]}}function Yo(e){return new qo(0,e)}function Jo(e){return e.fields[0]}class Xo extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["InviteCode"]}}function Ko(e){return function(e){return!rt(e)}(e)?new Hr(0,new Xo(0,e)):new Hr(1,"Invalid invite code format.")}function Qo(e){return e.fields[0]}class es extends jn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}class ns extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Logo"]}}class ts extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompanyName"]}}class rs extends jn{constructor(e,n){super(),this.Email=e,this.Phone=n}}class is extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Email"]}}class os extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Phone"]}}const ss=e=>Gr((e=>new is(0,e)),Zr(Vo,zo("Email",e))),as=e=>Gr((e=>new os(0,e)),zo("Phone",e));class cs extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Initializing","WaitingForInput","Failed"]}}class ls extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class us extends jn{constructor(e,n,t,r,i,o,s){super(),this.InviteToken=e,this.MaskedEmail=n,this.MfaCodeForm=t,this.IsValidationPending=r,this.CanRetry=i,this.Ui=o,this.CssOverrides=s}}const fs=(()=>{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 ds(e){return $t((e=>e.passive&&!fs?{capture:e.capture,once:e.once,passive:!1}:e),e)}function hs(e){return gt((e=>e.capture?{capture:!0}:void 0),e)}function ms(e,n){return 0===n.indexOf(e)?n:void 0}function ps(e,n){return function(e,n){const t=e.lastIndexOf(n);return t>=0&&t===e.length-n.length}(n,e)?n:void 0}function $s(e,n){return function(e){return 1===e?e=>{let n,t,r,i,o,s;return n=ms("/",e),null!=n?(t=n,"#"+t):(r=ms("#/",e),null!=r?(i=r,i):(o=ms("#",e),null!=o?(s=o,"#/"+lt(s,1,s.length-1)):"#/"+e))}:e=>{let n,t;return n=ms("/",e),null!=n?(t=n,t):"/"+e}}(n)(it("/",qt((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function gs(e,n,t){1===n?history.pushState(void 0,"",$s(e,t)):history.replaceState(void 0,"",$s(e,t));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function ws(e,n){return function(e,n){let t,r;const i=Et();let o=i,s=n;for(;!Ot(s);){let n=e(Nt(s));for(;!Ot(n);)t=o,r=new It(Nt(n),void 0),t.tail=r,o=r,n=Mt(n);s=Mt(s)}const a=o,c=Et();return a.tail=c,Mt(i)}((e=>{if(rt(e))return Pt();{const n=function(e,...n){return 0===n.length?e.trimEnd():e.replace(new RegExp("["+Dn(n.join(""))+"]+$"),"")}(e,"#");if("?"===n)return Pt();if(null!=ms("?",n))return Rt(n);{const e=n.split("?");if(_t(((e,n)=>e===n),e,null)||1!==e.length){if(_t(((e,n)=>e===n),e,null)||2!==e.length)return Pt();if(""===e[1]){const n=e[0];return Rt(decodeURIComponent(n))}{const n=e[0],t=e[1];return Gt([decodeURIComponent(n),"?"+t])}}{const n=e[0];return Rt(decodeURIComponent(n))}}}}),Gt(at(null!=ms("#",e)?lt(e,1,e.length-1):1!==n||null==ps("#",e)&&null==ps("#/",e)?e:"",["/"],null,0)))}const vs=function(e,n,t,r){const i=Ir.memo(e,mn(2,pt($n(2,t),null)));return br((n=>{e.displayName=n}),mt(n)),e=>{const n=function(e,n){if(null==e)return n;{const t=e;return n.key=t(n),n}}(r,e);return Ir.createElement(i,n)}}((e=>{const n=Lr((n=>{const t=pt(e.onUrlChanged,(e=>{}));!function(e,n,t){n(ws(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(pt(e.hashMode,1),t)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",t=e=>{n(e)},r=void 0,i=Br((()=>ds(r)),[r]),o=Br((()=>hs(r)),[r]),s=Br((()=>e=>{t(e)}),[t]);Tr(Lr((()=>{if(null==i)window.addEventListener(e,s);else{const n=i;window.addEventListener(e,s,n)}return Ar((()=>{if(null==o)window.removeEventListener(e,s);else{const n=o;window.removeEventListener(e,s,n)}}))})))}else{const e="popstate",t=n,r=void 0,i=Br((()=>ds(r)),[r]),o=Br((()=>hs(r)),[r]),s=Br((()=>e=>{t(e)}),[t]);Tr(Lr((()=>{if(null==i)window.addEventListener(e,s);else{const n=i;window.addEventListener(e,s,n)}return Ar((()=>{if(null==o)window.removeEventListener(e,s);else{const n=o;window.removeEventListener(e,s,n)}}))})))}const t="CUSTOM_NAVIGATION_EVENT",r=n,i=void 0,o=Br((()=>ds(i)),[i]),s=Br((()=>hs(i)),[i]),a=Br((()=>e=>{r(e)}),[r]);Tr(Lr((()=>{if(null==o)window.addEventListener(t,a);else{const e=o;window.addEventListener(t,a,e)}return Ar((()=>{if(null==s)window.removeEventListener(t,a);else{const e=s;window.removeEventListener(t,a,e)}}))})));const c=e.application;return null==c?null:c}),void 0,void 0,void 0);function ys(e){try{const n=new URLSearchParams(e);return $r(fr((()=>Cr((e=>[e[0],e[1]]),n.entries()))))}catch(e){return}}class bs extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Autodev","Test","Prod","Sandbox"]}}const Cs=document.getElementById("workflows-app"),_s=Cs.getAttribute("data-identity-url"),xs=Cs.getAttribute("data-backend-url"),ks=Gt(["workflows","app"]),Is=Gt(["workflows","embed","v1.0","app"]),Ss="apollo-workflows-app";class Es extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Embedded","Standalone","Unknown"]}}function As(e){switch(e.tag){case 0:default:return $s(Is,2);case 1:return $s(ks,2)}}!function(e){const n=Gt(at(e,["."],null,0));let t;switch(t=Bt(n)?4:"autodev-partner"===jt(n)?0:"test-partner"===jt(n)?1:"partner"===jt(n)?2:"sandbox-partner"===jt(n)?3:4,t){case 0:return new Hr(0,new bs(0));case 1:return new Hr(0,new bs(1));case 2:return new Hr(0,new bs(2));case 3:return new Hr(0,new bs(3));case 4:new Hr(1,"Invalid environment")}}(Zo.create(xs).host);var Os=null;try{Os=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 Ts(e,n,t){this.low=0|e,this.high=0|n,this.unsigned=!!t}function Ns(e){return!0===(e&&e.__isLong__)}Ts.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Ts.prototype.Equals=function(e){return oa(this,e)},Ts.prototype.CompareTo=function(e){return la(this,e)},Ts.prototype.toString=function(e){return na(this,e)},Ts.prototype.toJSON=function(){return na(this)},Ts.prototype[Sn]=function(){const e=this;return{multiply:n=>ha(e,n),toPrecision:n=>String(e)+(0).toPrecision(n).substr(1),toExponential:n=>String(e)+(0).toExponential(n).substr(1),toFixed:n=>String(e)+(0).toFixed(n).substr(1),toHex:()=>{return na(e.unsigned?e:function(e,n,t){return t?function(e,n){return new Ts(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,n)}(e,n):function(e,n){return new Ts(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],n)}(e,n)}((n=e,t?function(e){var n=e.high,t=e.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&n,n>>>8&255,n>>>16&255,n>>>24]}(n):function(e){var n=e.high,t=e.low;return[n>>>24,n>>>16&255,n>>>8&255,255&n,t>>>24,t>>>16&255,t>>>8&255,255&t]}(n)),!0),16);var n,t}}},Ts.prototype.__isLong__,Object.defineProperty(Ts.prototype,"__isLong__",{value:!0});var Ms={},Ps={};function Ds(e,n){var t,r,i;return n?(i=0<=(e>>>=0)&&e<256)&&(r=Ps[e])?r:(t=Bs(e,(0|e)<0?-1:0,!0),i&&(Ps[e]=t),t):(i=-128<=(e|=0)&&e<128)&&(r=Ms[e])?r:(t=Bs(e,e<0?-1:0,!1),i&&(Ms[e]=t),t)}function Rs(e,n){if(isNaN(e))return n?Gs:Hs;if(n){if(e<0)return Gs;if(e>=Fs)return Xs}else{if(e<=-zs)return Ks;if(e+1>=zs)return Js}return e<0?ua(Rs(-e,n)):Bs(e%Us|0,e/Us|0,n)}function Bs(e,n,t){return new Ts(e,n,t)}var Ls=Math.pow;function js(e,n,t){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Hs;if("number"==typeof n?(t=n,n=!1):n=!!n,(t=t||10)<2||36<t)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return ua(js(e.substring(1),n,t));for(var i=Rs(Ls(t,8)),o=Hs,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),c=parseInt(e.substring(s,s+a),t);o=fa(a<8?ha(o,Rs(Ls(t,a))):o=ha(o,i),Rs(c))}return o.unsigned=n,o}function Ws(e,n){return"number"==typeof e?Rs(e,n):"string"==typeof e?js(e,n):Bs(e.low,e.high,"boolean"==typeof n?n:e.unsigned)}var Us=4294967296,Fs=Us*Us,zs=Fs/2,Vs=Ds(1<<24),Hs=Ds(0),Gs=Ds(0,!0),Zs=Ds(1),qs=Ds(1,!0),Ys=Ds(-1),Js=Bs(-1,2147483647,!1),Xs=Bs(-1,-1,!0),Ks=Bs(0,-2147483648,!1);function Qs(e){return e.unsigned?e.low>>>0:e.low}function ea(e){return e.unsigned?(e.high>>>0)*Us+(e.low>>>0):e.high*Us+(e.low>>>0)}function na(e,n){if((n=n||10)<2||36<n)throw RangeError("radix");if(ta(e))return"0";if(ra(e)){if(oa(e,Ks)){var t=Rs(n),r=ma(e,t),i=da(ha(r,t),e);return na(r,n)+Qs(i).toString(n)}return"-"+na(ua(e),n)}for(var o=Rs(Ls(n,6),e.unsigned),s=e,a="";;){var c=ma(s,o),l=(Qs(da(s,ha(c,o)))>>>0).toString(n);if(ta(s=c))return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}}function ta(e){return 0===e.high&&0===e.low}function ra(e){return!e.unsigned&&e.high<0}function ia(e){return 1==(1&e.low)}function oa(e,n){return Ns(n)||(n=Ws(n)),(e.unsigned===n.unsigned||e.high>>>31!=1||n.high>>>31!=1)&&e.high===n.high&&e.low===n.low}function sa(e,n){return la(e,n)<0}function aa(e,n){return la(e,n)>0}function ca(e,n){return la(e,n)>=0}function la(e,n){if(Ns(n)||(n=Ws(n)),oa(e,n))return 0;var t=ra(e),r=ra(n);return t&&!r?-1:!t&&r?1:e.unsigned?n.high>>>0>e.high>>>0||n.high===e.high&&n.low>>>0>e.low>>>0?-1:1:ra(da(e,n))?-1:1}function ua(e){return!e.unsigned&&oa(e,Ks)?Ks:fa(function(e){return Bs(~e.low,~e.high,e.unsigned)}(e),Zs)}function fa(e,n){Ns(n)||(n=Ws(n));var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=n.high>>>16,a=65535&n.high,c=n.low>>>16,l=0,u=0,f=0,d=0;return f+=(d+=o+(65535&n.low))>>>16,u+=(f+=i+c)>>>16,l+=(u+=r+a)>>>16,l+=t+s,Bs((f&=65535)<<16|(d&=65535),(l&=65535)<<16|(u&=65535),e.unsigned)}function da(e,n){return Ns(n)||(n=Ws(n)),fa(e,ua(n))}function ha(e,n){if(ta(e))return e.unsigned?Gs:Hs;if(Ns(n)||(n=Ws(n)),Os)return Bs(Os.mul(e.low,e.high,n.low,n.high),Os.get_high(),e.unsigned);if(ta(n))return e.unsigned?Gs:Hs;if(oa(e,Ks))return ia(n)?Ks:Hs;if(oa(n,Ks))return ia(e)?Ks:Hs;if(ra(e))return ra(n)?ha(ua(e),ua(n)):ua(ha(ua(e),n));if(ra(n))return ua(ha(e,ua(n)));if(sa(e,Vs)&&sa(n,Vs))return Rs(ea(e)*ea(n),e.unsigned);var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=n.high>>>16,a=65535&n.high,c=n.low>>>16,l=65535&n.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*a)>>>16,u+=t*l+r*c+i*a+o*s,Bs((d&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),e.unsigned)}function ma(e,n){if(Ns(n)||(n=Ws(n)),ta(n))throw Error("division by zero");var t,r,i;if(Os)return e.unsigned||-2147483648!==e.high||-1!==n.low||-1!==n.high?Bs((e.unsigned?Os.div_u:Os.div_s)(e.low,e.high,n.low,n.high),Os.get_high(),e.unsigned):e;if(ta(e))return e.unsigned?Gs:Hs;if(e.unsigned){if(n.unsigned||(n=function(e){return e.unsigned?e:Bs(e.low,e.high,!0)}(n)),aa(n,e))return Gs;if(aa(n,function(e,n){if(Ns(n)&&(n=Qs(n)),0==(n&=63))return e;var t=e.high;return n<32?Bs(e.low>>>n|t<<32-n,t>>>n,e.unsigned):Bs(32===n?t:t>>>n-32,0,e.unsigned)}(e,1)))return qs;i=Gs}else{if(oa(e,Ks))return oa(n,Zs)||oa(n,Ys)?Ks:oa(n,Ks)?Zs:oa(t=function(e,n){return Ns(n)&&(n=Qs(n)),0==(n&=63)?e:n<32?Bs(e.low<<n,e.high<<n|e.low>>>32-n,e.unsigned):Bs(0,e.low<<n-32,e.unsigned)}(ma(function(e,n){return Ns(n)&&(n=Qs(n)),0==(n&=63)?e:n<32?Bs(e.low>>>n|e.high<<32-n,e.high>>n,e.unsigned):Bs(e.high>>n-32,e.high>=0?0:-1,e.unsigned)}(e,1),n),1),Hs)?ra(n)?Zs:Ys:i=fa(t,ma(r=da(e,ha(n,t)),n));if(oa(n,Ks))return e.unsigned?Gs:Hs;if(ra(e))return ra(n)?ma(ua(e),ua(n)):ua(ma(ua(e),n));if(ra(n))return ua(ma(e,ua(n)));i=Hs}for(r=e;ca(r,n);){t=Math.max(1,Math.floor(ea(r)/ea(n)));for(var o=Math.ceil(Math.log(t)/Math.LN2),s=o<=48?1:Ls(2,o-48),a=Rs(t),c=ha(a,n);ra(c)||aa(c,r);)c=ha(a=Rs(t-=s,e.unsigned),n);ta(a)&&(a=Zs),i=fa(i,a),r=da(r,c)}return i}const pa=ma,$a=ea;function ga(e){return e<0?Math.ceil(e):Math.floor(e)}function wa(e=0,n=0,t=0,r=0,i=0){switch(arguments.length){case 1:return $a(pa(arguments[0],1e4));case 3:e=0,n=arguments[0],t=arguments[1],r=arguments[2],i=0}return 864e5*e+36e5*n+6e4*t+1e3*r+i}function va(e){return wa(0,e,0)}function ya(e,n){try{return n.contents=function(e){const n=e.search("\\."),t=e.search("\\:");if(-1===n&&-1===t){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return wa(n,0,0,0,0)}if(t>0){const n=/^(-?)((\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!=n&&null!=n[4]&&null!=n[5]){let t=0,r=0,i=0;const o=null!=n[1]&&"-"===n[1]?-1:1,s=+n[4],a=+n[5];if(null!=n[3]&&(t=+n[3]),null!=n[7]&&(i=+n[7]),null!=n[8])switch(n[8].length){case 1:r=100*+n[8];break;case 2:r=10*+n[8];break;case 3:r=+n[8];break;case 4:r=+n[8]/10;break;case 5:r=+n[8]/100;break;case 6:r=+n[8]/1e3;break;case 7:r=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return o*wa(t,s,a,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class ba extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["SecondFactorCode"]}}function Ca(e){return function(e){return!tt(e)&&function(e,n,t=0){return e.lastIndex=t,e.test(n)}(/^(\d{6})$/gu,e)}(e)?new Hr(0,new ba(0,e)):new Hr(1,"Invalid second factor code format.")}class _a extends jn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.NumberOfAttempts=0|t,this.DateOfLastAttempt=r}}va(5);class xa extends jn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.SecondFactor=t,this.Branding=r}}wa(10,0,0,0),va(30);class ka extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Ia extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Header"]}}class Sa extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Ea extends jn{constructor(e,n,t,r,i,o,s,a){super(),this.url=e,this.method=n,this.headers=t,this.withCredentials=r,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=s,this.content=a}}class Aa extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Oa extends jn{constructor(e,n,t,r,i,o){super(),this.statusCode=0|e,this.responseText=n,this.responseType=t,this.responseUrl=r,this.responseHeaders=i,this.content=o}}class Ta{constructor(e,n){this.k=e,this.v=n}}function Na(e,n){return new Ta(e,n)}function Ma(e){return e.k}function Pa(e){return e.v}class Da extends Ta{constructor(e,n,t,r,i){super(e,n),this.left=t,this.right=r,this.h=0|i}}function Ra(e,n,t,r,i){return new Da(e,n,t,r,i)}function Ba(e){return e.left}function La(e){return e.right}function ja(e){return e.h}function Wa(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Da){e=Wa(t+1,Ba(r)),n=La(r);continue e}return t+1|0}return 0|t}}function Ua(e){return Wa(0,e)}function Fa(e,n,t,r){let i,o;i=null!=e?e instanceof Da?ja(e):1:0,o=null!=r?r instanceof Da?ja(r):1:0;const s=0|(i<o?o:i);return 0===s?Na(n,t):Ra(n,t,e,r,s+1)}function za(e,n,t,r){let i,o,s,a,c,l;if(c=null!=e?e instanceof Da?ja(e):1:0,l=null!=r?r instanceof Da?ja(r):1:0,l>c+2){const s=dt(r);if(s instanceof Da){if(i=Ba(s),(null!=i?(o=i,o instanceof Da?ja(o):1):0)>c+1){const r=dt(Ba(s));if(r instanceof Da)return Fa(Fa(e,n,t,Ba(r)),Ma(r),Pa(r),Fa(La(r),Ma(s),Pa(s),La(s)));throw new Error("internal error: Map.rebalance")}return Fa(Fa(e,n,t,Ba(s)),Ma(s),Pa(s),La(s))}throw new Error("internal error: Map.rebalance")}if(c>l+2){const i=dt(e);if(i instanceof Da){if(s=La(i),(null!=s?(a=s,a instanceof Da?ja(a):1):0)>l+1){const e=dt(La(i));if(e instanceof Da)return Fa(Fa(Ba(i),Ma(i),Pa(i),Ba(e)),Ma(e),Pa(e),Fa(La(e),n,t,r));throw new Error("internal error: Map.rebalance")}return Fa(Ba(i),Ma(i),Pa(i),Fa(La(i),n,t,r))}throw new Error("internal error: Map.rebalance")}return Fa(e,n,t,r)}function Va(e,n,t,r){if(null!=r){const i=r,o=0|e.Compare(n,Ma(i));return i instanceof Da?o<0?za(Va(e,n,t,Ba(i)),Ma(i),Pa(i),La(i)):0===o?Ra(n,t,Ba(i),La(i),ja(i)):za(Ba(i),Ma(i),Pa(i),Va(e,n,t,La(i))):o<0?Ra(n,t,void 0,r,2):0===o?Na(n,t):Ra(n,t,r,void 0,2)}return Na(n,t)}function Ha(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,Ma(o));if(0===s)return ft(Pa(o));if(o instanceof Da){e=r,n=i,t=s<0?Ba(o):La(o);continue e}return}return}}function Ga(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Da){Ga(t,Ba(r)),t(Ma(r),Pa(r)),e=t,n=La(r);continue e}t(Ma(r),Pa(r))}break}}function Za(e,n){Ga(e,n)}function qa(e,n){if(null!=n){const t=n;if(t instanceof Da){const n=qa(e,Ba(t)),r=e(Ma(t),Pa(t)),i=qa(e,La(t));return Ra(Ma(t),r,n,i,ja(t))}return Na(Ma(t),e(Ma(t),Pa(t)))}}function Ya(e,n){return qa(e,n)}function Ja(e,n){let t;for(let r=0;r<=n.length-1;r++){const i=n[r];t=Va(e,i[0],i[1],t)}return t}class Xa extends jn{constructor(e,n){super(),this.stack=e,this.started=n}}function Ka(e){e:for(;;){const n=e;if(Bt(n))return Pt();{const t=Wt(n),r=jt(n);if(null!=r){const i=r;if(i instanceof Da){e=Ht([Ba(i),Na(Ma(i),Pa(i)),La(i)],t);continue e}return n}e=t;continue e}}}function Qa(e){return new Xa(Ka(Rt(e)),!1)}function ec(e){if(e.started){const n=e.stack;if(Bt(n))return function(){throw new Error("enumeration already finished")}();if(null!=jt(n)){const e=jt(n);if(e instanceof Da)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Ma(e),Pa(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function nc(e){let n=Qa(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ec(n),"System.Collections.IEnumerator.get_Current":()=>ec(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(Bt(n))return!1;if(null!=jt(n)){if(jt(n)instanceof Da)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Ka(Wt(n)),!Bt(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Bt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=Qa(e)},Dispose(){}}}class tc{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){const n=(e,n)=>(e<<1)+n+631;let t=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=0|n(t,nn(e[0])),t=0|n(t,nn(e[1]))}}finally{Fe(r)}return 0|t}(this)}Equals(e){if(!(e instanceof tc))return!1;{const n=He(this);try{const t=He(e);try{const e=()=>{const r=n["System.Collections.IEnumerator.MoveNext"]();if(r===t["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"](),i=t["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!sn(r[0],i[0])||!sn(r[1],i[1]))&&e()}return!0}return!1};return e()}finally{Fe(t)}}finally{Fe(n)}}}toString(){return"map ["+it("; ",Cr((e=>nt("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return nc(this.tree)}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return nc(this.tree)}CompareTo(e){const n=this;if(e instanceof tc)return 0|function(e,n,t){const r=ur(n);try{const n=ur(t);try{let t=0,i=r["System.Collections.IEnumerator.MoveNext"](),o=n["System.Collections.IEnumerator.MoveNext"]();for(;0===t&&i&&o;)t=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),n["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===t&&(i=r["System.Collections.IEnumerator.MoveNext"](),o=n["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==t?t:i?1:o?-1:0)}finally{Fe(n)}}finally{Fe(r)}}(((e,t)=>{const r=0|n.comparer.Compare(e[0],t[0]);return 0|(0!==r?r:un(e[1],t[1]))}),n,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 ac(this,e[0])&&sn(oc(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){!function(e,n,t){let r=t;Za(((e,t)=>{n[r]=[e,t],r=r+1|0}),e)}(this.tree,e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|sc(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|sc(this)}get size(){return 0|sc(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Cr((e=>[e[0],e[1]]),this)}get(e){return oc(this,e)}has(e){return ac(this,e)}keys(){return Cr((e=>e[0]),this)}set(e,n){throw new Error("Map cannot be mutated")}values(){return Cr((e=>e[1]),this)}forEach(e,n){const t=this;br((n=>{e(n[1],n[0],t)}),t)}}function rc(e,n){return new tc(e,n)}function ic(e){const n=wt();return rc(n,function(e,n){if(je(n))return Ja(e,n);if(n instanceof It)return function(e,n){return Ft(((n,t)=>Va(e,t[0],t[1],n)),void 0,n)}(e,n);{const t=He(n);try{return function(e,n,t){for(;;){const r=e,i=n,o=t;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;{const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,n=Va(r,s[0],s[1],i),t=o}}}(e,void 0,t)}finally{Fe(t)}}}(n,e))}function oc(e,n){return function(e,n,t){const r=Ha(e,n,t);if(null==r)throw new Error;return dt(r)}(e.comparer,n,e.tree)}function sc(e){return Ua(e.tree)}function ac(e,n){return function(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,Ma(o));if(o instanceof Da){if(s<0){e=r,n=i,t=Ba(o);continue e}if(0===s)return!0;e=r,n=i,t=La(o);continue e}return 0===s}return!1}}(e.comparer,n,e.tree)}function cc(e,n,t){return function(e,n,t){return rc(e.comparer,Va(e.comparer,n,t,e.tree))}(t,e,n)}function lc(e,n){return function(e,n){return Ha(e.comparer,n,e.tree)}(n,e)}function uc(e,n){return function(e,n){return rc(e.comparer,Ya(n,e.tree))}(n,e)}function fc(){return tc.empty}function dc(e){return new Ia(0,"Content-Type",e)}tc.empty=rc(wt(),void 0);const hc=new Ea("",new ka(0),Pt(),!1,void 0,void 0,void 0,new Sa(0));function mc(e,n){return tt(n)?[n]:at(n,[e],null,0)}function pc(e){return new Ea(e,hc.method,hc.headers,hc.withCredentials,hc.overridenMimeType,hc.overridenResponseType,hc.timeout,hc.content)}function $c(e,n){return new Ea(n.url,e,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function gc(e,n){return new Ea(n.url,n.method,Zt(n.headers,Rt(e)),n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function wc(e,n){return new Ea(n.url,n.method,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,e)}function vc(e){return ni((n=>{const t=new XMLHttpRequest;t.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),t.onreadystatechange=()=>{let e,r,i,o,s,a,c;4===t.readyState&&n[0]((r=t.responseType,e=""===r||"text"===r?t.responseText:"",i=0|t.status,o=t.responseType,a=t.responseType,s=""===a||"text"===a?new Aa(0,t.responseText):new Aa("arraybuffer"===a?2:"blob"===a?1:3,t.response),c=function(e){const n=wt();return rc(n,Ja(n,e))}(function(e,n,t){const r=[];for(let t=0;t<=n.length-1;t++){const i=e(n[t]);if(null!=i){const e=dt(i);r.push(e)}}return r}((e=>{const n=Gt(mc(":",e));return Bt(n)?void 0:[jt(n).toLocaleLowerCase(),it(":",Wt(n)).trim()]}),mc("\r\n",t.getAllResponseHeaders()))),new Oa(i,e,o,t.responseURL,c,s)))};const r=He(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t.setRequestHeader(e.fields[0],e.fields[1])}}finally{Fe(r)}t.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;t.overrideMimeType(e)}const o=e.overridenResponseType;null==o||(1===o.tag?t.responseType="blob":2===o.tag?t.responseType="arraybuffer":t.responseType="text");const s=e.timeout;if(null==s);else{const e=0|s;t.timeout=0|e}const a=e.content;switch(a.tag){case 1:case 3:case 2:t.send(ft(a.fields[0]));break;default:t.send()}}))}new Oa(0,"","","",fc(),new Aa(0,""));class yc extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class bc extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class Cc{constructor(){this.cache=new Map([])}}function _c(){return new Cc}function xc(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function kc(e,n){switch(e.tag){case 2:return function(e,n,t,r,i=0){if("string"==typeof e){const t=e;e=Pn(n,null!=r?r:0),n=t,r=void 0}if("function"==typeof t)return r=null==r?-1:r,n.substring(0,i)+n.substring(i).replace(e,(function(){let e=arguments[0];if(r){r--;const n=[],i=arguments.length,o="string"!=typeof arguments[i-1];let s=o?i-3:i-2;for(let e=0;e<s;e++)n.push(arguments[e]);n.index=arguments[s++],n.input=arguments[s++],o&&(n.groups=arguments[s]),e=t(n)}return e}));if(t=t.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let o;const s=n.substring(i),a=Rn(e,s),c=Rn.length>r?(o=a[r-1],s.substring(0,o.index+o[0].length)):s;return n.substring(0,i)+c.replace(e,t)+n.substring(i+c.length)}return n.replace(e,t)}(xc(n),"[A-Z]","_$0").toLowerCase();case 0:return n;default:return xc(n)}}_c(),_c();const Ic=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Sc=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Ec=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Ac(e){function n(e){return e.replace(Sc,"$1-$2-$3-$4-$5")}const t=e.trim().toLowerCase();if(Ic.test(t))return function(e,...n){if(0===n.length)return e.trim();const t="["+Dn(n.join(""))+"]+";return e.replace(new RegExp("^"+t),"").replace(new RegExp(t+"$"),"")}(t,"{","}","(",")");if(Sc.test(t))return n(t);if(Ec.test(t))return n(t.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Oc(e,n){try{return n.contents=Ac(e),!0}catch(e){return!1}}var Tc;function Nc(e,n){switch(n){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 Mc(e,n,t,r,i){const o=function(e,n,t){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,i]=r;t=t||function(e,n){if(n&Tc.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,n);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.")}}(t);if(!o.test(i))return function(e,n){const[,t,r,i]=e;return{sign:t||"",prefix:r||"",digits:i,radix:n}}(r,t)}return null}(e,n,i);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[n,i]=Nc(!0,r);!t&&10!==o.radix&&e>=n&&e<=i&&(e=e<<32-r>>32-r);const[s,a]=Nc(t,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}function Pc(e,n,t,r,i){try{return i.contents=Mc(e,n,t,r),!0}catch(e){return!1}}function Dc(e,n){!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.")}}(n);const t=new Date(e);return t.offset=null!=n?n:-6e4*(new Date).getTimezoneOffset(),t}function Rc(e,n){try{return n.contents=function(e){const[n,t]=_n(e),r=null==t?-6e4*n.getTimezoneOffset():"Z"===t?0:6e4*t;return Dc(n.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Tc||(Tc={}));class Bc{constructor(e){this.k=e}}function Lc(e){return new Bc(e)}function jc(e){return e.k}class Wc extends Bc{constructor(e,n,t,r){super(e),this.left=n,this.right=t,this.h=0|r}}function Uc(e,n,t,r){return new Wc(e,n,t,r)}function Fc(e){return e.left}function zc(e){return e.right}function Vc(e){return e.h}function Hc(e,n){e:for(;;){const t=n;if(null!=e){const r=e;if(r instanceof Wc){e=Fc(r),n=Hc(zc(r),t+1);continue e}return t+1|0}return 0|t}}function Gc(e){return Hc(e,0)}function Zc(e,n,t){let r,i;r=null!=e?e instanceof Wc?Vc(e):1:0,i=null!=t?t instanceof Wc?Vc(t):1:0;const o=0|(r<i?i:r);return 0===o?Lc(n):Uc(n,e,t,o+1)}function qc(e,n,t){let r,i,o,s,a,c;if(a=null!=e?e instanceof Wc?Vc(e):1:0,c=null!=t?t instanceof Wc?Vc(t):1:0,c>a+2){const o=dt(t);if(o instanceof Wc){if(r=Fc(o),(null!=r?(i=r,i instanceof Wc?Vc(i):1):0)>a+1){const t=dt(Fc(o));if(t instanceof Wc)return Zc(Zc(e,n,Fc(t)),jc(t),Zc(zc(t),jc(o),zc(o)));throw new Error("internal error: Set.rebalance")}return Zc(Zc(e,n,Fc(o)),jc(o),zc(o))}throw new Error("internal error: Set.rebalance")}if(a>c+2){const r=dt(e);if(r instanceof Wc){if(o=zc(r),(null!=o?(s=o,s instanceof Wc?Vc(s):1):0)>c+1){const e=dt(zc(r));if(e instanceof Wc)return Zc(Zc(Fc(r),jc(r),Fc(e)),jc(e),Zc(zc(e),n,t));throw new Error("internal error: Set.rebalance")}return Zc(Fc(r),jc(r),Zc(zc(r),n,t))}throw new Error("internal error: Set.rebalance")}return Zc(e,n,t)}function Yc(e,n,t){if(null!=t){const r=t,i=0|e.Compare(n,jc(r));if(r instanceof Wc)return i<0?qc(Yc(e,n,Fc(r)),jc(r),zc(r)):0===i?t:qc(Fc(r),jc(r),Yc(e,n,zc(r)));{const i=0|e.Compare(n,jc(r));return i<0?Uc(n,void 0,t,2):0===i?t:Uc(n,t,void 0,2)}}return Lc(n)}function Jc(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,jc(o));if(o instanceof Wc){if(s<0){e=r,n=i,t=Fc(o);continue e}if(0===s)return!0;e=r,n=i,t=zc(o);continue e}return 0===s}return!1}}function Xc(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Wc){Xc(t,Fc(r)),t(jc(r)),e=t,n=zc(r);continue e}t(jc(r))}break}}class Kc extends jn{constructor(e,n){super(),this.stack=e,this.started=n}}function Qc(e){e:for(;;){const n=e;if(Bt(n))return Pt();{const t=jt(n),r=Wt(n);if(null!=t){const i=t;if(i instanceof Wc){e=Ht([Fc(i),Lc(jc(i)),zc(i)],r);continue e}return n}e=r;continue e}}}function el(e){return new Kc(Qc(Rt(e)),!1)}function nl(e){if(e.started){const n=e.stack;if(Bt(n))return function(){throw new Error("Enumeration already started")}();if(null!=jt(n))return jc(jt(n));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function tl(e){let n=el(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>nl(n),"System.Collections.IEnumerator.get_Current":()=>nl(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(Bt(n))return!1;if(null!=jt(n)){if(jt(n)instanceof Wc)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Qc(Wt(n)),!Bt(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Bt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=el(e)},Dispose(){}}}function rl(e,n,t){return null==n?null==t?0:-1:null==t?1:0|function(e,n,t){e:for(;;){const r=e,i=n,o=t,s=[i,o];if(Bt(s[0]))return Bt(s[1])?0:-1;if(Bt(s[1]))return 1;if(null!=jt(s[1]))if(null!=jt(s[0])){const a=jt(s[0]),c=jt(s[1]);if(a instanceof Wc)if(null==Fc(a)){if(!(c instanceof Wc)){const i=0|r.Compare(jc(a),jc(c));if(0!==i)return 0|i;e=r,n=Dt(zc(a),Wt(s[0])),t=Dt(void 0,Wt(s[1]));continue e}if(null==Fc(c)){const i=0|r.Compare(jc(a),jc(c));if(0!==i)return 0|i;e=r,n=Dt(zc(a),Wt(s[0])),t=Dt(zc(c),Wt(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Wc){e=r,n=Ht([Fc(l),Uc(jc(l),void 0,zc(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Lc(jc(l))],c),t=o;continue e;case 1:if(f instanceof Wc){e=r,n=i,t=Ht([Fc(f),Uc(jc(f),void 0,zc(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Lc(jc(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Wc){e=r,n=Ht([Fc(l),Uc(jc(l),void 0,zc(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Lc(jc(l))],c),t=o;continue e;case 1:if(f instanceof Wc){e=r,n=i,t=Ht([Fc(f),Uc(jc(f),void 0,zc(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Lc(jc(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof Wc)){const i=0|r.Compare(jc(a),jc(c));if(0!==i)return 0|i;e=r,n=Wt(s[0]),t=Wt(s[1]);continue e}if(null==Fc(c)){const i=0|r.Compare(jc(a),jc(c));if(0!==i)return 0|i;e=r,n=Dt(void 0,Wt(s[0])),t=Dt(zc(c),Wt(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Wc){e=r,n=Ht([Fc(l),Uc(jc(l),void 0,zc(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Lc(jc(l))],c),t=o;continue e;case 1:if(f instanceof Wc){e=r,n=i,t=Ht([Fc(f),Uc(jc(f),void 0,zc(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Lc(jc(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{jt(s[1]);const a=[i,o];let c,l,u,f,d;switch(Bt(a[0])?Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2:null!=jt(a[0])?(c=0,l=Wt(a[0]),u=jt(a[0])):Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2,c){case 0:if(u instanceof Wc){e=r,n=Ht([Fc(u),Uc(jc(u),void 0,zc(u),0)],l),t=o;continue e}e=r,n=Ht([void 0,Lc(jc(u))],l),t=o;continue e;case 1:if(d instanceof Wc){e=r,n=i,t=Ht([Fc(d),Uc(jc(d),void 0,zc(d),0)],f);continue e}e=r,n=i,t=Ht([void 0,Lc(jc(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==jt(s[0])){e=r,n=Wt(s[0]),t=Wt(s[1]);continue e}{jt(s[0]);const a=[i,o];let c,l,u,f,d;switch(Bt(a[0])?Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2:null!=jt(a[0])?(c=0,l=Wt(a[0]),u=jt(a[0])):Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2,c){case 0:if(u instanceof Wc){e=r,n=Ht([Fc(u),Uc(jc(u),void 0,zc(u),0)],l),t=o;continue e}e=r,n=Ht([void 0,Lc(jc(u))],l),t=o;continue e;case 1:if(d instanceof Wc){e=r,n=i,t=Ht([Fc(d),Uc(jc(d),void 0,zc(d),0)],f);continue e}e=r,n=i,t=Ht([void 0,Lc(jc(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Rt(n),Rt(t))}function il(e,n,t){let r=t;Xc((e=>{n[r]=e,r=r+1|0}),e)}function ol(e,n){if(je(n))return function(e,n){return Ct(((n,t)=>Yc(e,t,n)),void 0,n)}(e,n);if(n instanceof It)return function(e,n){return Ft(((n,t)=>Yc(e,t,n)),void 0,n)}(e,n);{const t=He(n);try{return function(e,n,t){for(;;){const r=e,i=n,o=t;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;e=r,n=Yc(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),t=o}}(e,void 0,t)}finally{Fe(t)}}}class sl{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){let n,t=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)t=0|(n=0|nn(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(t<<1)+n+631)}finally{Fe(r)}return 0|Math.abs(t)}(this)}Equals(e){return e instanceof sl&&0===rl(al(this),cl(this),cl(e))}toString(){return"set ["+it("; ",Cr((e=>Bn(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|rl(al(this),cl(this),cl(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 Jc(al(this),e,cl(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){il(cl(this),e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|ll(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ll(this)}GetEnumerator(){return tl(cl(this))}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return tl(cl(this))}get size(){return 0|ll(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,n){return Jc(al(e),n,cl(e))}(this,e)}keys(){return Cr((e=>e),this)}values(){return Cr((e=>e),this)}entries(){return Cr((e=>[e,e]),this)}forEach(e,n){const t=this;br((n=>{e(n,n,t)}),t)}}function al(e){return e.comparer}function cl(e){return e.tree}function ll(e){return Gc(cl(e))}function ul(e,n,t){try{return"Expecting "+e+" but instead got:"+(t?"\n":" ")+JSON.stringify(n,null,4)}catch(n){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(t?"\n":" ")}}function fl(e,n,t){const r=n(e,t);if(1===r.tag){const e=r.fields[0];return new Hr(1,function(e,n){const t=2===n.tag?ul(n.fields[0],n.fields[1],!0):1===n.tag?ul(n.fields[0],n.fields[1],!1)+"\nReason: "+n.fields[2]:3===n.tag?ul(n.fields[0],n.fields[1],!0):4===n.tag?ul(n.fields[0],n.fields[1],!0)+"\nNode `"+n.fields[2]+"` is unkown.":5===n.tag?"Expecting "+n.fields[0]+".\n"+JSON.stringify(n.fields[1],null,4):7===n.tag?"The following errors were found:\n\n"+it("\n\n",n.fields[0]):6===n.tag?"The following `failure` occurred with the decoder: "+n.fields[0]:ul(n.fields[0],n.fields[1],!1);return 7===n.tag?t:"Error at: `"+e+"`\n"+t}(e[0],e[1]))}return new Hr(0,r.fields[0])}function dl(e,n){try{return fl("$",e,JSON.parse(n))}catch(e){if(e instanceof SyntaxError)return new Hr(1,"Given an invalid JSON: "+e.message);throw e}}function hl(e,n){return"string"==typeof n?new Hr(0,n):new Hr(1,[e,new yc(0,"a string",n)])}const ml=e=>n=>{const t="a sbyte",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new Hr(0,(e+128&255)-128):new Hr(1,[r,new yc(1,t,e,"Value was either too large or too small for "+t)]):new Hr(1,[r,new yc(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pc(i,511,!1,8,new Wn((()=>n),(e=>{n=0|e}))),n],e[0]?new Hr(0,e[1]):new Hr(1,[r,new yc(0,t,i)])}return new Hr(1,[r,new yc(0,t,i)])},pl=e=>n=>{const t="a byte",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new Hr(0,255&e):new Hr(1,[r,new yc(1,t,e,"Value was either too large or too small for "+t)]):new Hr(1,[r,new yc(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pc(i,511,!0,8,new Wn((()=>n),(e=>{n=e}))),n],e[0]?new Hr(0,e[1]):new Hr(1,[r,new yc(0,t,i)])}return new Hr(1,[r,new yc(0,t,i)])},$l=e=>n=>{const t="an int16",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new Hr(0,(e+32768&65535)-32768):new Hr(1,[r,new yc(1,t,e,"Value was either too large or too small for "+t)]):new Hr(1,[r,new yc(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pc(i,511,!1,16,new Wn((()=>n),(e=>{n=0|e}))),n],e[0]?new Hr(0,e[1]):new Hr(1,[r,new yc(0,t,i)])}return new Hr(1,[r,new yc(0,t,i)])},gl=e=>n=>{const t="an uint16",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new Hr(0,65535&e):new Hr(1,[r,new yc(1,t,e,"Value was either too large or too small for "+t)]):new Hr(1,[r,new yc(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pc(i,511,!0,16,new Wn((()=>n),(e=>{n=e}))),n],e[0]?new Hr(0,e[1]):new Hr(1,[r,new yc(0,t,i)])}return new Hr(1,[r,new yc(0,t,i)])},wl=e=>n=>{const t="an int",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new Hr(0,~~e):new Hr(1,[r,new yc(1,t,e,"Value was either too large or too small for "+t)]):new Hr(1,[r,new yc(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pc(i,511,!1,32,new Wn((()=>n),(e=>{n=0|e}))),n],e[0]?new Hr(0,e[1]):new Hr(1,[r,new yc(0,t,i)])}return new Hr(1,[r,new yc(0,t,i)])},vl=e=>n=>{const t="an uint32",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new Hr(0,e>>>0):new Hr(1,[r,new yc(1,t,e,"Value was either too large or too small for "+t)]):new Hr(1,[r,new yc(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pc(i,511,!0,32,new Wn((()=>n),(e=>{n=e}))),n],e[0]?new Hr(0,e[1]):new Hr(1,[r,new yc(0,t,i)])}return new Hr(1,[r,new yc(0,t,i)])};function yl(e,n,t,r){let i;const o=t+".["+Je(e)+"]";if(Array.isArray(r)){const t=r;return e<t.length?n(o,t[e]):new Hr(1,[o,new yc(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(i=t.length,Je(i)+"` entries"),r)])}return new Hr(1,[o,new yc(0,"an array",r)])}function bl(e,n,t){if(Array.isArray(t)){let r=-1;return Gr(zt,Ct(((t,i)=>{if(r=r+1|0,0===t.tag){const o=e(n+".["+Je(r)+"]",i);return 0===o.tag?new Hr(0,Dt(o.fields[0],t.fields[0])):new Hr(1,o.fields[0])}return t}),new Hr(0,Pt()),t))}return new Hr(1,[n,new yc(0,"a list",t)])}function Cl(e,n,t){if(Array.isArray(t)){let r=-1;const i=t;return Ct(((t,i)=>{if(r=r+1|0,0===t.tag){const o=t.fields[0],s=e(n+".["+Je(r)+"]",i);return 0===s.tag?(o[r]=s.fields[0],new Hr(0,o)):new Hr(1,s.fields[0])}return t}),new Hr(0,yt(new Array(i.length),0,i.length,null)),i)}return new Hr(1,[n,new yc(0,"an array",t)])}function _l(e,n,t,r){const i=n(t,r);return 0===i.tag?e(i.fields[0],t,r):new Hr(1,i.fields[0])}function xl(e,n){let t;const r=e;return t=e=>n=>yl(0,r,e,n),e=>r=>_l(mn(3,(e=>{let t;const r=n;return t=e=>n=>yl(1,r,e,n),n=>r=>_l(((n,t,r)=>new Hr(0,[e,n])),mn(2,t),n,r)})),mn(2,t),e,r)}function kl(e){return ic(e)}function Il(e){return function(e,n){return new sl(e,n)}(n={Compare:un},ol(n,e));var n}function Sl(e,n,t,r){let i;const o=n.length+e|0;if(o!==r.length)return new Hr(1,[t,new yc(6,(i=0|r.length,Xn(qn("Expected array of length %i but got %i"))(o)(i)))]);{let i=new Hr(0,Pt());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const s=i.fields[0],a=Xn(qn("%s[%i]"))(t)(o),c=n[o-e],l=r[o];i=Gr((e=>Dt(e,s)),c(a)(l))}return Gr(zt,i)}}function El(e,n,t,r,i,o){const s=function(e,n){return n.find((e=>po(e)===r))}(0,ko(t));if(null!=s){const t=s,r=bt((t=>Ol(e,n,!1,t[1])),To(t));return Gr((e=>function(e,n){const t=(e.fields||[]).length;if(n.length!==t)throw new Error(`Expected an array of length ${t} but got ${n.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...n):{}}(t,Ut(e))),0===r.length&&o.length<=1?new Hr(0,Pt()):Sl(1,r,i,o))}return new Hr(1,[i,new yc(6,"Cannot find case "+r+" in "+$o(t))])}function Al(e,n,t,r){const i=new Wn(null);let o;const s=$o(r);let a;if(o=""===s?e:cc(s,i,e),Ao(r)){const e=bt((e=>[kc(n,po(e)),Ol(o,n,!1,e[1])]),Io(r));a=n=>t=>Gr((e=>function(e,n){const t=Io(e);if(t.length!==n.length)throw new Error(`Expected an array of length ${t.length} but got ${n.length}`);return null!=e.construct?new e.construct(...n):t.reduce(((e,[t,r],i)=>(e[t]=n[i],e)),{})}(r,Ut(e))),function(e,n,t){return null===t||Object.getPrototypeOf(t||!1)!==Object.prototype?new Hr(1,[n,new yc(0,"an object",t)]):function(e,n,t){return n.reduceRight(((n,t)=>e(t,n)),t)}(mn(2,(e=>{const r=e[0];return i=>0===i.tag?Gr((e=>Dt(e,i.fields[0])),e[1](n+"."+r)(t[r])):i})),e,new Hr(0,Pt()))}(e,n,t))}else if(Eo(r))a=e=>t=>{if("string"==typeof t)return El(o,n,r,t,e,[]);if(Array.isArray(t)){const i=t;return Zr((t=>El(o,n,r,t,e,i)),hl(e+"[0]",i[0]))}return new Hr(1,[e,new yc(0,"a string or array",t)])};else{if(!t){let e;const n=$o(r);throw e=Xn(qn("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"))(n),new Error(e)}a=e=>n=>new Hr(1,[e,new yc(2,"an extra coder for "+$o(r),n)])}return i.contents=a,a}function Ol(e,n,t,r){let i,o,s,a;const c=$o(r),l=lc(c,e);if(null==l){if(go(r)){const t=Ol(e,n,!1,wo(r));return e=>n=>Cl(mn(2,t),e,n)}if(yo(r)){const e=$o(Co(r));if("System.SByte"===e)return e=>n=>{const t=r,i=e,o=n,s=ml(i)(o);if(1===s.tag)return new Hr(1,s.fields[0]);{const e=s.fields[0];return vr(e,_o(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new Hr(0,xo(t,e.toString())):new Hr(1,[i,new yc(1,$o(t),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>n=>{const t=r,i=e,o=n,s=pl(i)(o);if(1===s.tag)return new Hr(1,s.fields[0]);{const e=s.fields[0];return vr(e,_o(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new Hr(0,xo(t,e.toString())):new Hr(1,[i,new yc(1,$o(t),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>n=>{const t=r,i=e,o=n,s=$l(i)(o);if(1===s.tag)return new Hr(1,s.fields[0]);{const e=s.fields[0];return vr(e,_o(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new Hr(0,xo(t,e.toString(a))):new Hr(1,[i,new yc(1,$o(t),o,"Unkown value provided for the enum")])}var a};if("System.UInt16"===e)return e=>n=>{const t=r,i=e,o=n,s=gl(i)(o);if(1===s.tag)return new Hr(1,s.fields[0]);{const e=s.fields[0];return vr(e,_o(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new Hr(0,xo(t,e.toString())):new Hr(1,[i,new yc(1,$o(t),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>n=>{const t=r,i=e,o=n,s=wl(i)(o);if(1===s.tag)return new Hr(1,s.fields[0]);{const e=s.fields[0];return vr(e,_o(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new Hr(0,xo(t,Je(e))):new Hr(1,[i,new yc(1,$o(t),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>n=>{const t=r,i=e,o=n,s=vl(i)(o);if(1===s.tag)return new Hr(1,s.fields[0]);{const e=s.fields[0];return vr(e,_o(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new Hr(0,xo(t,e.toString())):new Hr(1,[i,new yc(1,$o(t),o,"Unkown value provided for the enum")])}};{const e=$o(r),n=Kn(qn("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=>n(e)}}if(vo(r)){if(Oo(r)){const t=bt((t=>Ol(e,n,!1,t)),So(r));return e=>n=>Array.isArray(n)?Gr((e=>Ut(e)),Sl(0,t,e,n)):new Hr(1,[e,new yc(0,"an array",n)])}{const c=$o(bo(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=Ol(e,n,!0,Qi(r)[0]),e=>n=>{return t=mn(2,i),r=e,null==(o=n)?new Hr(0,void 0):Gr(ft,t(r,o));var t,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=Ol(e,n,!1,Qi(r)[0]),e=>n=>bl(mn(2,o),e,n);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return s=Ol(e,n,!1,Qi(r)[0]),e=>n=>function(e,n,t){if(Array.isArray(t)){let r=-1;return Gr(_r,Ct(((t,i)=>{if(r=r+1|0,0===t.tag){const o=e(n+".["+Je(r)+"]",i);return 0===o.tag?new Hr(0,wr([o.fields[0]],t.fields[0])):new Hr(1,o.fields[0])}return t}),new Hr(0,[]),t))}return new Hr(1,[n,new yc(0,"a seq",t)])}(mn(2,s),e,n);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const t=Ol(e,n,!1,Qi(r)[0]),i=Ol(e,n,!1,Qi(r)[1]);let o;const s=Gt([e=>n=>function(e,n,t,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new Hr(1,[t,new yc(0,"an object",r)]):yr(((i,o)=>{if(0===i.tag){const s=e(t,o);if(0===s.tag){const e=n(t+"."+o,r[o]);return 0===e.tag?new Hr(0,Dt([s.fields[0],e.fields[0]],i.fields[0])):new Hr(1,e.fields[0])}return new Hr(1,s.fields[0])}return i}),new Hr(0,Pt()),Object.keys(r))}(mn(2,t),mn(2,i),e,n),(a=xl(mn(2,t),mn(2,i)),e=>n=>bl(mn(2,a),e,n))]);return o=e=>n=>{return t=e,r=n,((e,n)=>{e:for(;;){const i=e,o=n;if(Bt(i))return new Hr(1,[t,new yc(7,o)]);{const s=fl(t,mn(2,jt(i)),r);if(1===s.tag){e=Wt(i),n=Zt(o,Rt(s.fields[0]));continue e}return new Hr(0,s.fields[0])}}})(s,Pt());var t,r},e=>n=>function(e,n,t,r){const i=n(t,r);return 1===i.tag?new Hr(1,i.fields[0]):new Hr(0,e(i.fields[0]))}(kl,mn(2,o),e,n)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const t=Ol(e,n,!1,Qi(r)[0]);return e=>n=>{const r=Cl(mn(2,t),e,n);return 0===r.tag?new Hr(0,Il(r.fields[0])):new Hr(1,r.fields[0])}}return Al(e,n,t,r)}}return"System.Boolean"===c?e=>n=>{return t=e,"boolean"==typeof(r=n)?new Hr(0,r):new Hr(1,[t,new yc(0,"a boolean",r)]);var t,r}:"Microsoft.FSharp.Core.Unit"===c?e=>n=>{return t=e,null==(r=n)?new Hr(0,void 0):new Hr(1,[t,new yc(0,"null",r)]);var t,r}:"System.String"===c?e=>n=>hl(e,n):"System.Char"===c?e=>n=>function(e,n){if("string"==typeof n){const t=n;return 1===t.length?new Hr(0,t[0]):new Hr(1,[e,new yc(0,"a single character string",n)])}return new Hr(1,[e,new yc(0,"a char",n)])}(e,n):"System.SByte"===c?ml:"System.Byte"===c?pl:"System.Int16"===c?$l:"System.UInt16"===c?gl:"System.Int32"===c?wl:"System.UInt32"===c?vl:"System.Double"===c?e=>n=>{return t=e,"number"==typeof(r=n)?new Hr(0,r):new Hr(1,[t,new yc(0,"a float",r)]);var t,r}:"System.Single"===c?e=>n=>{return t=e,"number"==typeof(r=n)?new Hr(0,r):new Hr(1,[t,new yc(0,"a float32",r)]);var t,r}:"System.DateTime"===c?e=>n=>function(e,n){if("string"==typeof n){let r,i=Cn(-621355968e5,0);return r=[xn(n,new Wn((()=>i),(e=>{i=e}))),i],r[0]?new Hr(0,1===(t=r[1]).kind?t:Cn(t.getTime(),1)):new Hr(1,[e,new yc(0,"a datetime",n)])}var t;return new Hr(1,[e,new yc(0,"a datetime",n)])}(e,n):"System.DateTimeOffset"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r=Dc(-621355968e5,0);return t=[Rc(n,new Wn((()=>r),(e=>{r=e}))),r],t[0]?new Hr(0,t[1]):new Hr(1,[e,new yc(0,"a datetimeoffset",n)])}return new Hr(1,[e,new yc(0,"a datetime",n)])}(e,n):"System.TimeSpan"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r=0;return t=[ya(n,new Wn((()=>r),(e=>{r=e}))),r],t[0]?new Hr(0,t[1]):new Hr(1,[e,new yc(0,"a timespan",n)])}return new Hr(1,[e,new yc(0,"a timespan",n)])}(e,n):"System.Guid"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r="00000000-0000-0000-0000-000000000000";return t=[Oc(n,new Wn((()=>r),(e=>{r=e}))),r],t[0]?new Hr(0,t[1]):new Hr(1,[e,new yc(0,"a guid",n)])}return new Hr(1,[e,new yc(0,"a guid",n)])}(e,n):"System.Object"===c?e=>e=>new Hr(0,e):Al(e,n,t,r)}{const e=l;return n=>t=>e.contents(n)(t)}}function Tl(e,n,t){const r=pt(n,new bc(0));return Ol(function(e){return null!=e?uc(((e,n)=>new Wn(n[1])),e.Coders):fc()}(t),r,!1,e)}function Nl(e){return e}const Ml=null;function Pl(e){return Array.from(e)}function Dl(e){return bn(e,"O")}function Rl(e){return function(e,n="c",t){if(-1===["c","g","G"].indexOf(n))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return ga(e/864e5)}(e)),i=Math.abs(function(e){return ga(e%864e5/36e5)}(e)),o=Math.abs(function(e){return ga(e%36e5/6e4)}(e)),s=Math.abs(function(e){return ga(e%6e4/1e3)}(e)),a=Math.abs(function(e){return ga(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==n&&"g"!==n?"c"===n?r+".":r+":":""}${"g"===n?i:qe(i,2)}:${qe(o,2)}:${qe(s,2)}${0!==a||"c"!==n&&"g"!==n?"g"===n?"."+qe(a,3):"."+function(e,n,t){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(a):""}`}(e)}function Bl(){return null}function Ll(e){return bn(e,"O")}function jl(e,n){return JSON.stringify(n,mn(2,null),ft(e))}function Wl(e,n,t,r){const i=new Wn(null);let o;const s=$o(r);let a;if(o=""===s?e:cc(s,i,e),Ao(r)){const e=bt((e=>{const r=kc(n,po(e)),i=Ul(o,n,t,e[1]);return n=>o=>{const s=function(e,n){return e[n[0]]}(n,e);return(!t||t&&null!=s)&&(o[r]=i(s)),o}}),Io(r));a=n=>yr(((e,t)=>t(n)(e)),{},e)}else{if(!Eo(r)){let e;const n=$o(r);throw e=Xn(qn("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"))(n),new Error(e)}a=e=>{const i=function(e,n){const t=ko(n)[e.tag];if(null==t)throw new Error(`Cannot find case ${e.name} in union type`);return[t,e.fields]}(e,r),s=i[0],a=i[1],c=0|a.length;if(0===c)return po(s);{const e=0|c,r=To(s),i=yt(new Array(e+1),0,e+1,null);i[0]=po(s);for(let s=1;s<=e;s++){const e=Ul(o,n,t,r[s-1][1]);i[s]=e(a[s-1])}return i}}}return i.contents=a,a}function Ul(e,n,t,r){const i=$o(r),o=lc(i,e);if(null==o){if(go(r)){const i=Ul(e,n,t,wo(r));return e=>Pl(Cr(i,e))}if(yo(r)){const e=$o(Co(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=$o(r);return Kn(qn("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(vo(r)){if(Oo(r)){const i=bt((r=>Ul(e,n,t,r)),So(r));return e=>{return Pl((n=(e,n)=>i[e](n),t=e,gr((()=>ur(t)),((e,t)=>t["System.Collections.IEnumerator.MoveNext"]()?ft(n(e,t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Fe(e)}))));var n,t}}{const i=$o(bo(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new Ze((()=>{return i=Ul(e,n,t,Qi(r)[0]),e=>{return t=()=>Ml,null!=(n=$t(i,e))?dt(n):t();var n,t};var i}));return e=>null==e?Ml: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=Ul(e,n,t,Qi(r)[0]);return e=>Pl(Cr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=Qi(r)[0],o=Ul(e,n,t,Qi(r)[1]);if("System.String"===$o(i)||"System.Guid"===$o(i))return e=>yr(((e,n)=>{const t=n;return e[t[0]]=o(t[1]),e}),{},e);{let r;const s=Ul(e,n,t,i);return r=s,e=>Pl(Cr((e=>{const n=e;return[r(n[0]),o(n[1])]}),e))}}return Wl(e,n,t,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?Bl:"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?Ll:"System.DateTimeOffset"===i?Dl:"System.TimeSpan"===i?Rl:"System.Guid"===i?Nl:"System.Object"===i?e=>e:Wl(e,n,t,r)}{const e=o;return n=>e.contents(n)}}function Fl(e,n,t,r){const i=pt(n,new bc(0)),o=pt(r,!0);return Ul(function(e){return null!=e?uc(((e,n)=>new Wn(n[0])),e.Coders):fc()}(t),i,o,e)}function zl(e){return Vr.Delay((()=>{let n;const t=vc(e);return n=Vr.Bind(t,(e=>Vr.Return(new Hr(0,e)))),Vr.Bind(n,(n=>{const t=n;if(1===t.tag)return Vr.Return(new Hr(1,t.fields[0]));{const n=t.fields[0];if(429===n.statusCode||n.statusCode>=500){const n=vc(e);return Vr.Bind(n,(e=>Vr.Return(new Hr(0,e))))}return Vr.Return(new Hr(0,n))}}))}))}function Vl(e,n){return Vr.Delay((()=>{let t,r;const i=zl((t=$c(new ka(1),pc(function(e){const n=Qo(e);return Xn(qn("%s/workflows/public-backend/invites/%s/confirm"))(xs)(n)}(e))),wc(new Sa(1,(r=new Fo(n),jl(0,Fl(ro("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Write.ConfirmInvite",[],Fo,(()=>[["Mfa",uo]])),new bc(1),void 0,void 0)(r)))),t)));return Vr.Bind(i,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=dl(mn(2,Tl(oo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],Uo,(()=>[[["Item",ro("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],Wo,(()=>[["AuthCode",uo]]))]],[],[],[],[]])),new bc(1),void 0)),e.responseText);return n=1===t.tag?new Hr(1,t.fields[0]):new Hr(0,function(e){switch(e.tag){case 1:return new Do(1);case 2:return new Do(2);case 3:return new Do(3);case 4:return new Do(4);default:return new Do(0,(n=e.fields[0],new Po(n.AuthCode)))}var n}(t.fields[0])),Vr.Return(n)}return Vr.Return(new Hr(1,"Unexpected response from backend"))}}))}))}function Hl(e){return function(e){return Vr.Delay((()=>{const n=zl($c(new ka(1),pc(function(e){const n=Qo(e);return Xn(qn("%s/workflows/public-backend/invites/%s/activate"))(xs)(n)}(e))));return Vr.Bind(n,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=dl(mn(2,Tl(oo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],jo,(()=>[[["Item",Bo()]],[],[],[],[["Item",Bo()]]])),new bc(1),void 0)),e.responseText);return n=1===t.tag?new Hr(1,t.fields[0]):new Hr(0,function(e){switch(e.tag){case 1:return new Mo(1);case 2:return new Mo(2);case 3:return new Mo(3);case 4:return new Mo(4,Lo(e.fields[0]));default:return new Mo(0,Lo(e.fields[0]))}}(t.fields[0])),Vr.Return(n)}return Vr.Return(new Hr(1,"Unexpected response from backend"))}}))}))}(e)}function Gl(e,n){let t,r,i,o,s,a,c;switch(e.tag){case 1:{const t=e.fields[0];let r,i;switch(3===t.tag?r=1:0===t.tag||1===t.tag?r=2:0===t.fields[0].tag?(r=0,i=t.fields[0].fields[0]):r=1,r){case 0:{let e,t;switch(i.tag){case 4:default:e=0,t=i.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3}switch(e){case 0:return[new us(n.InviteToken,t.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new cs(1),t.CssOverrides),Ai()];case 1:return[new us(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new cs(2,"We couldn't find this invite. Reach out to your employer to get another one."),n.CssOverrides),Ai()];case 2:return[new us(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new cs(2,"Your invite has expired. Reach out to your employer to get another one."),n.CssOverrides),Ai()];case 3:return[new us(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new cs(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),n.CssOverrides),Ai()]}}case 1:return[new us(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new cs(2,"Oops, looks like something went wrong. Try refreshing this page."),n.CssOverrides),Ai()];case 2:return[n,Ai()]}}case 2:{const a=e.fields[0];let c,l;switch(3===a.tag?c=1:0===a.tag||1===a.tag?c=2:0===a.fields[0].tag?(c=0,l=a.fields[0].fields[0]):c=1,c){case 0:switch(l.tag){case 2:return[new us(n.InviteToken,n.MaskedEmail,(t=n.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:t.Input,IsDirty:t.IsDirty,IsTouched:t.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),Mi(new ls(0))];case 1:return[new us(n.InviteToken,n.MaskedEmail,(r=n.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),Ai()];case 4:return[new us(n.InviteToken,n.MaskedEmail,(i=n.MfaCodeForm,{Error:"Looks like the code hasn't been issued. Reach out to your employer.",Input:i.Input,IsDirty:i.IsDirty,IsTouched:i.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),Ai()];case 3:return[new us(n.InviteToken,n.MaskedEmail,(o=n.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),Ai()];default:return[n,(s=As(new Es(1)),Ni((e=>{gs(Rt(s+function(e){const n=it("&",qt((e=>it("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])])),e));return""===n?"":"?"+n}(Rt(["code",l.fields[0].AuthCode]))),1,2)})))]}case 1:return[new us(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,!1,n.CanRetry,new cs(2,"Oops, looks like something went wrong. Please try again."),n.CssOverrides),Ai()];case 2:return[new us(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,!0,n.CanRetry,n.Ui,n.CssOverrides),Ai()]}}case 3:{const t=e.fields[0];return[(a=Ca(t),1===a.tag?new us(n.InviteToken,n.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:t,IsDirty:!0,IsTouched:n.MfaCodeForm.IsTouched},n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides):new us(n.InviteToken,n.MaskedEmail,{Error:void 0,Input:t,IsDirty:!0,IsTouched:n.MfaCodeForm.IsTouched},n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides)),Ai()]}case 4:return[new us(n.InviteToken,n.MaskedEmail,(c=n.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides),Ai()];default:return[n,Mi(new ls(1,ai(Hl(n.InviteToken),[])))]}}function Zl(e,n){return Vr.Delay((()=>Vr.Bind(ti(e),(()=>Vr.ReturnFrom(n)))))}class ql{constructor(e,n){const t=new Wn(null);this.comparer=n,t.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();nu(t.contents,e[0],e[1])}}finally{Fe(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}GetEnumerator(){return He(dr(this.hashMap.values()))}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){nu(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){Xl(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const n=Jl(this,e[0]);let t;switch(t=null!=n&&sn(n[1],e[1])?0:1,t){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){var t;t=(t,r)=>{e[n+t]=r},yr(((e,n)=>(t(e,n),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Kl(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const n=Jl(this,e[0]);return null!=n&&(sn(n[1],e[1])&&ru(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,n){nu(this,e,n)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return tu(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return Ql(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,n){eu(this,e,n)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return pr(fr((()=>Cr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return ru(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,n){const t=Jl(this,e);if(null!=t){const e=t;return n.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return pr(fr((()=>Cr((e=>e[1]),e))))}get size(){return 0|Kl(this)}clear(){Xl(this)}delete(e){return ru(this,e)}entries(){return Cr((e=>[e[0],e[1]]),this)}get(e){return Ql(this,e)}has(e){return tu(this,e)}keys(){return Cr((e=>e[0]),this)}set(e,n){return eu(this,e,n),this}values(){return Cr((e=>e[1]),this)}forEach(e,n){const t=this;br((n=>{e(n[1],n[0],t)}),t)}}function Yl(e,n){const t=0|e.comparer.GetHashCode(n);let r,i=null;return r=[(o=e.hashMap,s=t,a=new Wn((()=>i),(e=>{i=e})),!!o.has(s)&&(a.contents=o.get(s),!0)),i],r[0]?[!0,t,r[1].findIndex((t=>e.comparer.Equals(n,t[0])))]:[!1,t,-1];var o,s,a}function Jl(e,n){const t=Yl(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return di(e.hashMap,t[1])[t[2]];case 1:return}}function Xl(e){e.hashMap.clear()}function Kl(e){let n=0,t=He(e.hashMap.values());try{for(;t["System.Collections.IEnumerator.MoveNext"]();)n=n+t["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Fe(t)}return 0|n}function Ql(e,n){const t=Jl(e,n);if(null!=t)return t[1];throw new Error("The item was not found in collection")}function eu(e,n,t){const r=Yl(e,n);r[0]?r[2]>-1?di(e.hashMap,r[1])[r[2]]=[n,t]:di(e.hashMap,r[1]).push([n,t]):e.hashMap.set(r[1],[[n,t]])}function nu(e,n,t){const r=Yl(e,n);if(r[0]){if(r[2]>-1){const e=nt("An item with the same key has already been added. Key: {0}",n);throw new Error(e)}di(e.hashMap,r[1]).push([n,t])}else e.hashMap.set(r[1],[[n,t]])}function tu(e,n){const t=Yl(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function ru(e,n){const t=Yl(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return di(e.hashMap,t[1]).splice(t[2],1),!0;case 1:return!1}}class iu extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessStepId"]}}class ou extends jn{constructor(e,n,t){super(),this.Id=e,this.DisplayName=n,this.ComponentTagName=t}}const su=new ou(new iu(0,"personal-details"),"Personal Details","apollo-personal-details-app"),au=new ou(new iu(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),cu=new ou(new iu(0,"bank"),"Bank","bank-component"),lu=new ou(new iu(0,"tax"),"Tax","tax-component"),uu=new ou(new iu(0,"super"),"Super","super-selection-app"),fu=new ou(new iu(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),du=new iu(0,"benefits-onboarding"),hu=new ou(du,"Benefits","benefits-onboarding"),mu=new ou(new iu(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app");function pu(e){return new iu(0,e)}function $u(e){return e.fields[0]}class gu extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessConfigId"]}}class wu extends jn{constructor(e,n,t){super(),this.Id=e,this.Name=n,this.Steps=t}}const vu=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000000")),"onboarding-default",Gt([cu,lu,uu])),yu=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000001")),"PEBTS",Gt([su,au,cu,lu,uu])),bu=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000002")),"PS",Gt([su,uu])),Cu=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000003")),"BS",Gt([cu,uu])),_u=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000004")),"Super",Rt(uu)),xu=new wu(new gu(0,Ac("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Rt(fu)),ku=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000005")),"Tax",Rt(lu)),Iu=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000006")),"PBTS",Gt([su,cu,lu,uu])),Su=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Gt([su,au,cu,lu,uu,mu])),Eu=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000008")),"PEBSPo",Gt([su,au,cu,uu,mu])),Au=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000009")),"PESPo",Gt([su,au,uu,mu])),Ou=new wu(new gu(0,Ac("00000000-0000-0000-0000-000000000010")),"PETSPo",Gt([su,au,lu,uu,mu])),Tu=new ql([[vu.Id,vu],[yu.Id,yu],[bu.Id,bu],[Cu.Id,Cu],[_u.Id,_u],[xu.Id,xu],[ku.Id,ku],[Iu.Id,Iu],[Su.Id,Su],[Eu.Id,Eu],[Au.Id,Au],[Ou.Id,Ou]],{Equals:sn,GetHashCode:tn});class Nu extends jn{constructor(e,n){super(),this.ActivatedDates=e,this.CompletedSteps=n}}class Mu extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Pu extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessInstanceId"]}}function Du(e){return new Pu(0,e)}function Ru(e){return e.fields[0]}class Bu extends jn{constructor(e,n){super(),this.Name=e,this.Value=n}}class Lu extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["TagName"]}}class ju extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["TagValue"]}}class Wu extends jn{constructor(e,n,t,r,i,o,s,a,c,l){super(),this.Id=e,this.Configuration=n,this.DateCreated=t,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l}}class Uu extends jn{constructor(e){super(),this.BenefitsOnboarding=e}}class Fu extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite"]}}class zu extends jn{constructor(e){super(),this.Category=e}}class Vu extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WhenEnabled","Always"]}}function Hu(e,n,t){const r=Yt((n=>0===function(...e){switch(e.length){case 2:return Zn(e[0],e[1],!1);case 3:return Zn(e[0],e[1],e[2]);case 4:return Zn(e[0],e[1],!0===e[2]);case 5:return Zn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return Zn(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return Zn(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")}}(n.ComponentTagName,e,5)),$r(fr((()=>wr(t.Configuration.Steps,fr((()=>n?mr(hu):hr()))))))),i=Xn(Yn("Invalid ComponentTagName %A%P()",[e])),o=r;return null==o?new Hr(1,i):new Hr(0,o)}function Gu(e){const n=e.Status;switch(n.tag){case 0:case 2:case 3:return;default:return Ot(t=Xt((e=>!Qt((n=>sn(e.Id,n[0])),n.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:ft(Nt(t))}var t}function Zu(){return ht(document.getElementById("external-loading-page-container"))}function qu(){return null!=Zu()}var Yu,Ju=[],Xu="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"}(Yu||(Yu={}));var Ku,Qu=function(e){return Object.freeze(e)},ef=function(e,n){this.inlineSize=e,this.blockSize=n,Qu(this)},nf=function(){function e(e,n,t,r){return this.x=e,this.y=n,this.width=t,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Qu(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(n){return new e(n.x,n.y,n.width,n.height)},e}(),tf=function(e){return e instanceof SVGElement&&"getBBox"in e},rf=function(e){if(tf(e)){var n=e.getBBox(),t=n.width,r=n.height;return!t&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},of=function(e){var n;if(e instanceof Element)return!0;var t=null===(n=null==e?void 0:e.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(t&&e instanceof t.Element)},sf="undefined"!=typeof window?window:{},af=new WeakMap,cf=/auto|scroll/,lf=/^tb|vertical/,uf=/msie|trident/i.test(sf.navigator&&sf.navigator.userAgent),ff=function(e){return parseFloat(e||"0")},df=function(e,n,t){return void 0===e&&(e=0),void 0===n&&(n=0),void 0===t&&(t=!1),new ef((t?n:e)||0,(t?e:n)||0)},hf=Qu({devicePixelContentBoxSize:df(),borderBoxSize:df(),contentBoxSize:df(),contentRect:new nf(0,0,0,0)}),mf=function(e,n){if(void 0===n&&(n=!1),af.has(e)&&!n)return af.get(e);if(rf(e))return af.set(e,hf),hf;var t=getComputedStyle(e),r=tf(e)&&e.ownerSVGElement&&e.getBBox(),i=!uf&&"border-box"===t.boxSizing,o=lf.test(t.writingMode||""),s=!r&&cf.test(t.overflowY||""),a=!r&&cf.test(t.overflowX||""),c=r?0:ff(t.paddingTop),l=r?0:ff(t.paddingRight),u=r?0:ff(t.paddingBottom),f=r?0:ff(t.paddingLeft),d=r?0:ff(t.borderTopWidth),h=r?0:ff(t.borderRightWidth),m=r?0:ff(t.borderBottomWidth),p=f+l,$=c+u,g=(r?0:ff(t.borderLeftWidth))+h,w=d+m,v=a?e.offsetHeight-w-e.clientHeight:0,y=s?e.offsetWidth-g-e.clientWidth:0,b=i?p+g:0,C=i?$+w:0,_=r?r.width:ff(t.width)-b-y,x=r?r.height:ff(t.height)-C-v,k=_+p+y+g,I=x+$+v+w,S=Qu({devicePixelContentBoxSize:df(Math.round(_*devicePixelRatio),Math.round(x*devicePixelRatio),o),borderBoxSize:df(k,I,o),contentBoxSize:df(_,x,o),contentRect:new nf(f,c,_,x)});return af.set(e,S),S},pf=function(e,n,t){var r=mf(e,t),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(n){case Yu.DEVICE_PIXEL_CONTENT_BOX:return s;case Yu.BORDER_BOX:return i;default:return o}},$f=function(e){var n=mf(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=Qu([n.borderBoxSize]),this.contentBoxSize=Qu([n.contentBoxSize]),this.devicePixelContentBoxSize=Qu([n.devicePixelContentBoxSize])},gf=function(e){if(rf(e))return 1/0;for(var n=0,t=e.parentNode;t;)n+=1,t=t.parentNode;return n},wf=function(){var e=1/0,n=[];Ju.forEach((function(t){if(0!==t.activeTargets.length){var r=[];t.activeTargets.forEach((function(n){var t=new $f(n.target),i=gf(n.target);r.push(t),n.lastReportedSize=pf(n.target,n.observedBox),i<e&&(e=i)})),n.push((function(){t.callback.call(t.observer,r,t.observer)})),t.activeTargets.splice(0,t.activeTargets.length)}}));for(var t=0,r=n;t<r.length;t++)(0,r[t])();return e},vf=function(e){Ju.forEach((function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach((function(t){t.isActive()&&(gf(t.target)>e?n.activeTargets.push(t):n.skippedTargets.push(t))}))}))},yf=[],bf=0,Cf={attributes:!0,characterData:!0,childList:!0,subtree:!0},_f=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],xf=function(e){return void 0===e&&(e=0),Date.now()+e},kf=!1,If=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var n=this;if(void 0===e&&(e=250),!kf){kf=!0;var t,r=xf(e);t=function(){var t=!1;try{t=function(){var e,n=0;for(vf(n);Ju.some((function(e){return e.activeTargets.length>0}));)n=wf(),vf(n);return Ju.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Xu}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Xu),window.dispatchEvent(e)),n>0}()}finally{if(kf=!1,e=r-xf(),!bf)return;t?n.run(1e3):e>0?n.run(e):n.start()}},function(e){if(!Ku){var n=0,t=document.createTextNode("");new MutationObserver((function(){return yf.splice(0).forEach((function(e){return e()}))})).observe(t,{characterData:!0}),Ku=function(){t.textContent="".concat(n?n--:n++)}}yf.push(e),Ku()}((function(){requestAnimationFrame(t)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Cf)};document.body?n():sf.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),_f.forEach((function(n){return sf.addEventListener(n,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),_f.forEach((function(n){return sf.removeEventListener(n,e.listener,!0)})),this.stopped=!0)},e}(),Sf=new If,Ef=function(e){!bf&&e>0&&Sf.start(),!(bf+=e)&&Sf.stop()},Af=function(){function e(e,n){this.target=e,this.observedBox=n||Yu.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,n=pf(this.target,this.observedBox,!0);return e=this.target,tf(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=n),this.lastReportedSize.inlineSize!==n.inlineSize||this.lastReportedSize.blockSize!==n.blockSize},e}(),Of=function(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n},Tf=new WeakMap,Nf=function(e,n){for(var t=0;t<e.length;t+=1)if(e[t].target===n)return t;return-1},Mf=function(){function e(){}return e.connect=function(e,n){var t=new Of(e,n);Tf.set(e,t)},e.observe=function(e,n,t){var r=Tf.get(e),i=0===r.observationTargets.length;Nf(r.observationTargets,n)<0&&(i&&Ju.push(r),r.observationTargets.push(new Af(n,t&&t.box)),Ef(1),Sf.schedule())},e.unobserve=function(e,n){var t=Tf.get(e),r=Nf(t.observationTargets,n),i=1===t.observationTargets.length;r>=0&&(i&&Ju.splice(Ju.indexOf(t),1),t.observationTargets.splice(r,1),Ef(-1))},e.disconnect=function(e){var n=this,t=Tf.get(e);t.observationTargets.slice().forEach((function(t){return n.unobserve(e,t.target)})),t.activeTargets.splice(0,t.activeTargets.length)},e}(),Pf=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.");Mf.connect(this,e)}return e.prototype.observe=function(e,n){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!of(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Mf.observe(this,e,n)},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(!of(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Mf.unobserve(this,e)},e.prototype.disconnect=function(){Mf.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Df extends jn{constructor(e,n,t){super(),this.instanceId=0|e,this.name=n,this.type=t}}function Rf(e){return new Df(Ru(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function Bf(e){qu()||window.parent.postMessage(e,"*")}function Lf(){Bf(function(e,n){const t={type:"contentResized",sender:"flare"};return t.height=e,t.width=-1,t}(document.body.offsetHeight))}function jf(e,n){Bf(function(e,n){const t={type:"workflowSubmitSuccess",sender:"flare"};return t.workflow=Rf(e),t.profileId=Jo(n),t}(e,n))}function Wf(e){qu()&&function(e,n){ri(Vr.Delay((()=>Vr.Bind(ti(e),(()=>(function(){let e,n;const t=Zu();br((n=document.body,e=e=>n.removeChild(e),n=>{e(n)}),mt(t))}(),Bf({type:"appReady",sender:"flare"}),Lf(),Vr.Zero()))))))}(e)}function Uf(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Ff(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Uf(Object(t),!0).forEach((function(n){Hf(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Uf(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function zf(e){return zf="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},zf(e)}function Vf(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hf(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Gf(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o=[],s=!0,a=!1;try{for(t=t.call(e);!(s=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==t.return||t.return()}finally{if(a)throw i}}return o}}(e,n)||qf(e,n)||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 Zf(e){return function(e){if(Array.isArray(e))return Yf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qf(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 qf(e,n){if(e){if("string"==typeof e)return Yf(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Yf(e,n):void 0}}function Yf(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var Jf=function(){},Xf={},Kf={},Qf=null,ed={mark:Jf,measure:Jf};try{"undefined"!=typeof window&&(Xf=window),"undefined"!=typeof document&&(Kf=document),"undefined"!=typeof MutationObserver&&(Qf=MutationObserver),"undefined"!=typeof performance&&(ed=performance)}catch(c){}var nd=(Xf.navigator||{}).userAgent,td=void 0===nd?"":nd,rd=Xf,id=Kf,od=Qf,sd=ed,ad=(rd.document,!!id.documentElement&&!!id.head&&"function"==typeof id.addEventListener&&"function"==typeof id.createElement),cd=~td.indexOf("MSIE")||~td.indexOf("Trident/"),ld="___FONT_AWESOME___",ud="fa",fd="svg-inline--fa",dd="data-fa-i2svg",hd="data-fa-pseudo-element",md="data-fa-pseudo-element-pending",pd="data-prefix",$d="data-icon",gd="fontawesome-i2svg",wd="async",vd=["HTML","HEAD","STYLE","SCRIPT"],yd=function(){try{return!0}catch(e){return!1}}(),bd={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"},Cd={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},_d={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},xd={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},kd=/fa[srltdbk]?[\-\ ]/,Id="fa-layers-text",Sd=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Ed={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Ad=[1,2,3,4,5,6,7,8,9,10],Od=Ad.concat([11,12,13,14,15,16,17,18,19,20]),Td=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Nd={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Md=[].concat(Zf(Object.keys(Cd)),["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",Nd.GROUP,Nd.SWAP_OPACITY,Nd.PRIMARY,Nd.SECONDARY]).concat(Ad.map((function(e){return"".concat(e,"x")}))).concat(Od.map((function(e){return"w-".concat(e)}))),Pd=rd.FontAwesomeConfig||{};id&&"function"==typeof id.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 n=Gf(e,2),t=n[0],r=n[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var n=id.querySelector("script["+e+"]");if(n)return n.getAttribute(e)}(t));null!=i&&(Pd[r]=i)}));var Dd=Ff(Ff({},{familyPrefix:ud,styleDefault:"solid",replacementClass:fd,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Pd);Dd.autoReplaceSvg||(Dd.observeMutations=!1);var Rd={};Object.keys(Dd).forEach((function(e){Object.defineProperty(Rd,e,{enumerable:!0,set:function(n){Dd[e]=n,Bd.forEach((function(e){return e(Rd)}))},get:function(){return Dd[e]}})})),rd.FontAwesomeConfig=Rd;var Bd=[],Ld=16,jd={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Wd="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ud(){for(var e=12,n="";e-- >0;)n+=Wd[62*Math.random()|0];return n}function Fd(e){for(var n=[],t=(e||[]).length>>>0;t--;)n[t]=e[t];return n}function zd(e){return e.classList?Fd(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Vd(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Hd(e){return Object.keys(e||{}).reduce((function(n,t){return n+"".concat(t,": ").concat(e[t].trim(),";")}),"")}function Gd(e){return e.size!==jd.size||e.x!==jd.x||e.y!==jd.y||e.rotate!==jd.rotate||e.flipX||e.flipY}var Zd=':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 qd(){var e=ud,n=fd,t=Rd.familyPrefix,r=Rd.replacementClass,i=Zd;if(t!==e||r!==n){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(n),"g");i=i.replace(o,".".concat(t,"-")).replace(s,"--".concat(t,"-")).replace(a,".".concat(r))}return i}var Yd=!1;function Jd(){Rd.autoAddCss&&!Yd&&(function(e){if(e&&ad){var n=id.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e;for(var t=id.head.childNodes,r=null,i=t.length-1;i>-1;i--){var o=t[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}id.head.insertBefore(n,r)}}(qd()),Yd=!0)}var Xd={mixout:function(){return{dom:{css:qd,insertCss:Jd}}},hooks:function(){return{beforeDOMElementCreation:function(){Jd()},beforeI2svg:function(){Jd()}}}},Kd=rd||{};Kd[ld]||(Kd[ld]={}),Kd[ld].styles||(Kd[ld].styles={}),Kd[ld].hooks||(Kd[ld].hooks={}),Kd[ld].shims||(Kd[ld].shims=[]);var Qd=Kd[ld],eh=[],nh=!1;function th(e){var n=e.tag,t=e.attributes,r=void 0===t?{}:t,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?Vd(e):"<".concat(n," ").concat(function(e){return Object.keys(e||{}).reduce((function(n,t){return n+"".concat(t,'="').concat(Vd(e[t]),'" ')}),"").trim()}(r),">").concat(o.map(th).join(""),"</").concat(n,">")}function rh(e,n,t){if(e&&e[n]&&e[n][t])return{prefix:n,iconName:t,icon:e[n][t]}}ad&&((nh=(id.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(id.readyState))||id.addEventListener("DOMContentLoaded",(function e(){id.removeEventListener("DOMContentLoaded",e),nh=1,eh.map((function(e){return e()}))})));var ih=function(e,n,t,r){var i,o,s,a=Object.keys(e),c=a.length,l=void 0!==r?function(e,n){return function(t,r,i,o){return e.call(n,t,r,i,o)}}(n,r):n;for(void 0===t?(i=1,s=e[a[0]]):(i=0,s=t);i<c;i++)s=l(s,e[o=a[i]],o,e);return s};function oh(e){var n=function(e){for(var n=[],t=0,r=e.length;t<r;){var i=e.charCodeAt(t++);if(i>=55296&&i<=56319&&t<r){var o=e.charCodeAt(t++);56320==(64512&o)?n.push(((1023&i)<<10)+(1023&o)+65536):(n.push(i),t--)}else n.push(i)}return n}(e);return 1===n.length?n[0].toString(16):null}function sh(e){return Object.keys(e).reduce((function(n,t){var r=e[t];return r.icon?n[r.iconName]=r.icon:n[t]=r,n}),{})}function ah(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==t&&t,i=sh(n);"function"!=typeof Qd.hooks.addPack||r?Qd.styles[e]=Ff(Ff({},Qd.styles[e]||{}),i):Qd.hooks.addPack(e,sh(n)),"fas"===e&&ah("fa",n)}var ch=Qd.styles,lh=Qd.shims,uh=Object.values(_d),fh=null,dh={},hh={},mh={},ph={},$h={},gh=Object.keys(bd);var wh,vh=function(){var e=function(e){return ih(ch,(function(n,t,r){return n[r]=ih(t,e,{}),n}),{})};dh=e((function(e,n,t){if(n[3]&&(e[n[3]]=t),n[2]){var r=n[2].filter((function(e){return"number"==typeof e}));r.forEach((function(n){e[n.toString(16)]=t}))}return e})),hh=e((function(e,n,t){if(e[t]=t,n[2]){var r=n[2].filter((function(e){return"string"==typeof e}));r.forEach((function(n){e[n]=t}))}return e})),$h=e((function(e,n,t){var r=n[2];return e[t]=t,r.forEach((function(n){e[n]=t})),e}));var n="far"in ch||Rd.autoFetchSvg,t=ih(lh,(function(e,t){var r=t[0],i=t[1],o=t[2];return"far"!==i||n||(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:{}});mh=t.names,ph=t.unicodes,fh=kh(Rd.styleDefault)};function yh(e,n){return(dh[e]||{})[n]}function bh(e,n){return($h[e]||{})[n]}function Ch(e){return mh[e]||{prefix:null,iconName:null}}function _h(){return fh}wh=function(e){fh=kh(e.styleDefault)},Bd.push(wh),vh();var xh=function(){return{prefix:null,iconName:null,rest:[]}};function kh(e){var n=bd[e],t=Cd[e]||Cd[n],r=e in Qd.styles?e:null;return t||r||null}function Ih(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,t=void 0!==n&&n,r=null,i=e.reduce((function(e,n){var i=function(e,n){var t,r=n.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(t=o,~Md.indexOf(t))?null:o}(Rd.familyPrefix,n);if(ch[n]?(n=uh.includes(n)?xd[n]:n,r=n,e.prefix=n):gh.indexOf(n)>-1?(r=n,e.prefix=kh(n)):i?e.iconName=i:n!==Rd.replacementClass&&e.rest.push(n),!t&&e.prefix&&e.iconName){var o="fa"===r?Ch(e.iconName):{},s=bh(e.prefix,e.iconName);o.prefix&&(r=null),e.iconName=o.iconName||s||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||ch.far||!ch.fas||Rd.autoFetchSvg||(e.prefix="fas")}return e}),xh());return"fa"!==i.prefix&&"fa"!==r||(i.prefix=_h()||"fas"),i}var Sh=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var n,t;return n=e,t=[{key:"add",value:function(){for(var e=this,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];var i=t.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(n){e.definitions[n]=Ff(Ff({},e.definitions[n]||{}),i[n]),ah(n,i[n]);var t=_d[n];t&&ah(t,i[n]),vh()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,n){var t=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(t).map((function(n){var r=t[n],i=r.prefix,o=r.iconName,s=r.icon,a=s[2];e[i]||(e[i]={}),a.length>0&&a.forEach((function(n){"string"==typeof n&&(e[i][n]=s)})),e[i][o]=s})),e}}],t&&Vf(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),e}(),Eh=[],Ah={},Oh={},Th=Object.keys(Oh);function Nh(e,n){for(var t=arguments.length,r=new Array(t>2?t-2:0),i=2;i<t;i++)r[i-2]=arguments[i];return(Ah[e]||[]).forEach((function(e){n=e.apply(null,[n].concat(r))})),n}function Mh(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];(Ah[e]||[]).forEach((function(e){e.apply(null,t)}))}function Ph(){var e=arguments[0],n=Array.prototype.slice.call(arguments,1);return Oh[e]?Oh[e].apply(null,n):void 0}function Dh(e){"fa"===e.prefix&&(e.prefix="fas");var n=e.iconName,t=e.prefix||_h();if(n)return n=bh(t,n)||n,rh(Rh.definitions,t,n)||rh(Qd.styles,t,n)}var Rh=new Sh,Bh={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ad?(Mh("beforeI2svg",e),Ph("pseudoElements2svg",e),Ph("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.autoReplaceSvgRoot;!1===Rd.autoReplaceSvg&&(Rd.autoReplaceSvg=!0),Rd.observeMutations=!0,e=function(){jh({autoReplaceSvgRoot:t}),Mh("watch",n)},ad&&(nh?setTimeout(e,0):eh.push(e))}},Lh={noAuto:function(){Rd.autoReplaceSvg=!1,Rd.observeMutations=!1,Mh("noAuto")},config:Rd,dom:Bh,parse:{icon:function(e){if(null===e)return null;if("object"===zf(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:bh(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var n=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],t=kh(e[0]);return{prefix:t,iconName:bh(t,n)||n}}if("string"==typeof e&&(e.indexOf("".concat(Rd.familyPrefix,"-"))>-1||e.match(kd))){var r=Ih(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||_h(),iconName:bh(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=_h();return{prefix:i,iconName:bh(i,e)||e}}}},library:Rh,findIconDefinition:Dh,toHtml:th},jh=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,n=void 0===e?id:e;(Object.keys(Qd.styles).length>0||Rd.autoFetchSvg)&&ad&&Rd.autoReplaceSvg&&Lh.dom.i2svg({node:n})};function Wh(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return th(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(ad){var n=id.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Uh(e){var n=e.icons,t=n.main,r=n.mask,i=e.prefix,o=e.iconName,s=e.transform,a=e.symbol,c=e.title,l=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:t,p=m.width,$=m.height,g="fak"===i,w=[Rd.replacementClass,o?"".concat(Rd.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:Ff(Ff({},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($)})},y=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/$*16*.0625,"em")}:{};h&&(v.attributes[dd]=""),c&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||Ud())},children:[c]}),delete v.attributes.title);var b=Ff(Ff({},v),{},{prefix:i,iconName:o,main:t,mask:r,maskId:l,transform:s,symbol:a,styles:Ff(Ff({},y),f.styles)}),C=r.found&&t.found?Ph("generateAbstractMask",b)||{children:[],attributes:{}}:Ph("generateAbstractIcon",b)||{children:[],attributes:{}},_=C.children,x=C.attributes;return b.children=_,b.attributes=x,a?function(e){var n=e.prefix,t=e.iconName,r=e.children,i=e.attributes,o=e.symbol,s=!0===o?"".concat(n,"-").concat(Rd.familyPrefix,"-").concat(t):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Ff(Ff({},i),{},{id:s}),children:r}]}]}(b):function(e){var n=e.children,t=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(Gd(s)&&t.found&&!r.found){var a={x:t.width/t.height/2,y:.5};i.style=Hd(Ff(Ff({},o),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:n}]}(b)}function Fh(e){var n=e.content,t=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,a=e.watchable,c=void 0!==a&&a,l=Ff(Ff(Ff({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(l[dd]="");var u=Ff({},s.styles);Gd(i)&&(u.transform=function(e){var n=e.transform,t=e.width,r=void 0===t?16:t,i=e.height,o=void 0===i?16:i,s=e.startCentered,a=void 0!==s&&s,c="";return c+=a&&cd?"translate(".concat(n.x/Ld-r/2,"em, ").concat(n.y/Ld-o/2,"em) "):a?"translate(calc(-50% + ".concat(n.x/Ld,"em), calc(-50% + ").concat(n.y/Ld,"em)) "):"translate(".concat(n.x/Ld,"em, ").concat(n.y/Ld,"em) "),(c+="scale(".concat(n.size/Ld*(n.flipX?-1:1),", ").concat(n.size/Ld*(n.flipY?-1:1),") "))+"rotate(".concat(n.rotate,"deg) ")}({transform:i,startCentered:!0,width:t,height:r}),u["-webkit-transform"]=u.transform);var f=Hd(u);f.length>0&&(l.style=f);var d=[];return d.push({tag:"span",attributes:l,children:[n]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}var zh=Qd.styles;function Vh(e){var n=e[0],t=e[1],r=Gf(e.slice(4),1)[0];return{found:!0,width:n,height:t,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Rd.familyPrefix,"-").concat(Nd.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Rd.familyPrefix,"-").concat(Nd.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Rd.familyPrefix,"-").concat(Nd.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Hh={found:!1,width:512,height:512};function Gh(e,n){var t=n;return"fa"===n&&null!==Rd.styleDefault&&(n=_h()),new Promise((function(r,i){if(Ph("missingIconAbstract"),"fa"===t){var o=Ch(e)||{};e=o.iconName||e,n=o.prefix||n}if(e&&n&&zh[n]&&zh[n][e])return r(Vh(zh[n][e]));!function(e,n){yd||Rd.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))}(e,n),r(Ff(Ff({},Hh),{},{icon:Rd.showMissingIcons&&e&&Ph("missingIconAbstract")||{}}))}))}var Zh=function(){},qh=Rd.measurePerformance&&sd&&sd.mark&&sd.measure?sd:{mark:Zh,measure:Zh},Yh='FA "6.1.2"',Jh=function(e){qh.mark("".concat(Yh," ").concat(e," ends")),qh.measure("".concat(Yh," ").concat(e),"".concat(Yh," ").concat(e," begins"),"".concat(Yh," ").concat(e," ends"))},Xh={begin:function(e){return qh.mark("".concat(Yh," ").concat(e," begins")),function(){return Jh(e)}},end:Jh},Kh=function(){};function Qh(e){return"string"==typeof(e.getAttribute?e.getAttribute(dd):null)}function em(e){return id.createElementNS("http://www.w3.org/2000/svg",e)}function nm(e){return id.createElement(e)}function tm(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,t=void 0===n?"svg"===e.tag?em:nm:n;if("string"==typeof e)return id.createTextNode(e);var r=t(e.tag);return Object.keys(e.attributes||[]).forEach((function(n){r.setAttribute(n,e.attributes[n])})),(e.children||[]).forEach((function(e){r.appendChild(tm(e,{ceFn:t}))})),r}var rm={replace:function(e){var n=e[0];if(n.parentNode)if(e[1].forEach((function(e){n.parentNode.insertBefore(tm(e),n)})),null===n.getAttribute(dd)&&Rd.keepOriginalSource){var t=id.createComment(function(e){var n=" ".concat(e.outerHTML," ");return"".concat(n,"Font Awesome fontawesome.com ")}(n));n.parentNode.replaceChild(t,n)}else n.remove()},nest:function(e){var n=e[0],t=e[1];if(~zd(n).indexOf(Rd.replacementClass))return rm.replace(e);var r=new RegExp("".concat(Rd.familyPrefix,"-.*"));if(delete t[0].attributes.id,t[0].attributes.class){var i=t[0].attributes.class.split(" ").reduce((function(e,n){return n===Rd.replacementClass||n.match(r)?e.toSvg.push(n):e.toNode.push(n),e}),{toNode:[],toSvg:[]});t[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=t.map((function(e){return th(e)})).join("\n");n.setAttribute(dd,""),n.innerHTML=o}};function im(e){e()}function om(e,n){var t="function"==typeof n?n:Kh;if(0===e.length)t();else{var r=im;Rd.mutateApproach===wd&&(r=rd.requestAnimationFrame||im),r((function(){var n=!0===Rd.autoReplaceSvg?rm.replace:rm[Rd.autoReplaceSvg]||rm.replace,r=Xh.begin("mutate");e.map(n),r(),t()}))}}var sm=!1;function am(){sm=!0}function cm(){sm=!1}var lm=null;function um(e){if(od&&Rd.observeMutations){var n=e.treeCallback,t=void 0===n?Kh:n,r=e.nodeCallback,i=void 0===r?Kh:r,o=e.pseudoElementsCallback,s=void 0===o?Kh:o,a=e.observeMutationsRoot,c=void 0===a?id:a;lm=new od((function(e){if(!sm){var n=_h();Fd(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Qh(e.addedNodes[0])&&(Rd.searchPseudoElements&&s(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&Rd.searchPseudoElements&&s(e.target.parentNode),"attributes"===e.type&&Qh(e.target)&&~Td.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var n=e.getAttribute?e.getAttribute(pd):null,t=e.getAttribute?e.getAttribute($d):null;return n&&t}(e.target)){var r=Ih(zd(e.target)),o=r.prefix,a=r.iconName;e.target.setAttribute(pd,o||n),a&&e.target.setAttribute($d,a)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(Rd.replacementClass)&&i(e.target);var c}))}})),ad&&lm.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function fm(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},t=function(e){var n,t,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",s=Ih(zd(e));return s.prefix||(s.prefix=_h()),r&&i&&(s.prefix=r,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&o.length>0&&(s.iconName=(n=s.prefix,t=e.innerText,(hh[n]||{})[t]||yh(s.prefix,oh(e.innerText)))),!s.iconName&&Rd.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}(e),r=t.iconName,i=t.prefix,o=t.rest,s=function(e){var n=Fd(e.attributes).reduce((function(e,n){return"class"!==e.name&&"style"!==e.name&&(e[n.name]=n.value),e}),{}),t=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Rd.autoA11y&&(t?n["aria-labelledby"]="".concat(Rd.replacementClass,"-title-").concat(r||Ud()):(n["aria-hidden"]="true",n.focusable="false")),n}(e),a=Nh("parseNodeAttributes",{},e),c=n.styleParser?function(e){var n=e.getAttribute("style"),t=[];return n&&(t=n.split(";").reduce((function(e,n){var t=n.split(":"),r=t[0],i=t.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),t}(e):[];return Ff({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:jd,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var dm=Qd.styles;function hm(e){var n="nest"===Rd.autoReplaceSvg?fm(e,{styleParser:!1}):fm(e);return~n.extra.classes.indexOf(Id)?Ph("generateLayersText",e,n):Ph("generateSvgReplacementMutation",e,n)}function mm(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!ad)return Promise.resolve();var t=id.documentElement.classList,r=function(e){return t.add("".concat(gd,"-").concat(e))},i=function(e){return t.remove("".concat(gd,"-").concat(e))},o=Rd.autoFetchSvg?Object.keys(bd):Object.keys(dm);o.includes("fa")||o.push("fa");var s=[".".concat(Id,":not([").concat(dd,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(dd,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=Fd(e.querySelectorAll(s))}catch(e){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var c=Xh.begin("onTree"),l=a.reduce((function(e,n){try{var t=hm(n);t&&e.push(t)}catch(e){yd||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,t){Promise.all(l).then((function(t){om(t,(function(){r("active"),r("complete"),i("pending"),"function"==typeof n&&n(),c(),e()}))})).catch((function(e){c(),t(e)}))}))}function pm(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;hm(e).then((function(e){e&&om([e],n)}))}var $m=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.transform,r=void 0===t?jd:t,i=n.symbol,o=void 0!==i&&i,s=n.mask,a=void 0===s?null:s,c=n.maskId,l=void 0===c?null:c,u=n.title,f=void 0===u?null:u,d=n.titleId,h=void 0===d?null:d,m=n.classes,p=void 0===m?[]:m,$=n.attributes,g=void 0===$?{}:$,w=n.styles,v=void 0===w?{}:w;if(e){var y=e.prefix,b=e.iconName,C=e.icon;return Wh(Ff({type:"icon"},e),(function(){return Mh("beforeDOMElementCreation",{iconDefinition:e,params:n}),Rd.autoA11y&&(f?g["aria-labelledby"]="".concat(Rd.replacementClass,"-title-").concat(h||Ud()):(g["aria-hidden"]="true",g.focusable="false")),Uh({icons:{main:Vh(C),mask:a?Vh(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:b,transform:Ff(Ff({},jd),r),symbol:o,title:f,maskId:l,titleId:h,extra:{attributes:g,styles:v,classes:p}})}))}},gm={mixout:function(){return{icon:(e=$m,function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(n||{}).icon?n:Dh(n||{}),i=t.mask;return i&&(i=(i||{}).icon?i:Dh(i||{})),e(r,Ff(Ff({},t),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=mm,e.nodeCallback=pm,e}}},provides:function(e){e.i2svg=function(e){var n=e.node,t=void 0===n?id:n,r=e.callback;return mm(t,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,n){var t=n.iconName,r=n.title,i=n.titleId,o=n.prefix,s=n.transform,a=n.symbol,c=n.mask,l=n.maskId,u=n.extra;return new Promise((function(n,f){Promise.all([Gh(t,o),c.iconName?Gh(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Gf(c,2),d=f[0],h=f[1];n([e,Uh({icons:{main:d,mask:h},prefix:o,iconName:t,transform:s,symbol:a,maskId:l,title:r,titleId:i,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var n,t=e.children,r=e.attributes,i=e.main,o=e.transform,s=Hd(e.styles);return s.length>0&&(r.style=s),Gd(o)&&(n=Ph("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),t.push(n||i.icon),{children:t,attributes:r}}}},wm={mixout:function(){return{layer:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.classes,r=void 0===t?[]:t;return Wh({type:"layer"},(function(){Mh("beforeDOMElementCreation",{assembler:e,params:n});var t=[];return e((function(e){Array.isArray(e)?e.map((function(e){t=t.concat(e.abstract)})):t=t.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Rd.familyPrefix,"-layers")].concat(Zf(r)).join(" ")},children:t}]}))}}}},vm={mixout:function(){return{counter:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.title,r=void 0===t?null:t,i=n.classes,o=void 0===i?[]:i,s=n.attributes,a=void 0===s?{}:s,c=n.styles,l=void 0===c?{}:c;return Wh({type:"counter",content:e},(function(){return Mh("beforeDOMElementCreation",{content:e,params:n}),function(e){var n=e.content,t=e.title,r=e.extra,i=Ff(Ff(Ff({},r.attributes),t?{title:t}:{}),{},{class:r.classes.join(" ")}),o=Hd(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[n]}),t&&s.push({tag:"span",attributes:{class:"sr-only"},children:[t]}),s}({content:e.toString(),title:r,extra:{attributes:a,styles:l,classes:["".concat(Rd.familyPrefix,"-layers-counter")].concat(Zf(o))}})}))}}}},ym={mixout:function(){return{text:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.transform,r=void 0===t?jd:t,i=n.title,o=void 0===i?null:i,s=n.classes,a=void 0===s?[]:s,c=n.attributes,l=void 0===c?{}:c,u=n.styles,f=void 0===u?{}:u;return Wh({type:"text",content:e},(function(){return Mh("beforeDOMElementCreation",{content:e,params:n}),Fh({content:e,transform:Ff(Ff({},jd),r),title:o,extra:{attributes:l,styles:f,classes:["".concat(Rd.familyPrefix,"-layers-text")].concat(Zf(a))}})}))}}},provides:function(e){e.generateLayersText=function(e,n){var t=n.title,r=n.transform,i=n.extra,o=null,s=null;if(cd){var a=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/a,s=c.height/a}return Rd.autoA11y&&!t&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Fh({content:e.innerHTML,width:o,height:s,transform:r,title:t,extra:i,watchable:!0})])}}},bm=new RegExp('"',"ug"),Cm=[1105920,1112319];function _m(e,n){var t="".concat(md).concat(n.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(t))return r();var o,s,a,c=Fd(e.children).filter((function(e){return e.getAttribute(hd)===n}))[0],l=rd.getComputedStyle(e,n),u=l.getPropertyValue("font-family").match(Sd),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"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Cd[u[2].toLowerCase()]:Ed[f],p=function(e){var n=e.replace(bm,""),t=function(e,n){var t,r=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&r>1&&(t=e.charCodeAt(1))>=56320&&t<=57343?1024*(i-55296)+t-56320+65536:i}(n),r=t>=Cm[0]&&t<=Cm[1],i=2===n.length&&n[0]===n[1];return{value:oh(i?n[0]:n),isSecondary:r||i}}(h),$=p.value,g=p.isSecondary,w=u[0].startsWith("FontAwesome"),v=yh(m,$),y=v;if(w){var b=(s=ph[o=$],a=yh("fas",o),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});b.iconName&&b.prefix&&(v=b.iconName,m=b.prefix)}if(!v||g||c&&c.getAttribute(pd)===m&&c.getAttribute($d)===y)r();else{e.setAttribute(t,y),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:jd,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},_=C.extra;_.attributes[hd]=n,Gh(v,m).then((function(i){var o=Uh(Ff(Ff({},C),{},{icons:{main:i,mask:xh()},prefix:m,iconName:y,extra:_,watchable:!0})),s=id.createElement("svg");"::before"===n?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return th(e)})).join("\n"),e.removeAttribute(t),r()})).catch(i)}}else r()}))}function xm(e){return Promise.all([_m(e,"::before"),_m(e,"::after")])}function km(e){return!(e.parentNode===document.head||~vd.indexOf(e.tagName.toUpperCase())||e.getAttribute(hd)||e.parentNode&&"svg"===e.parentNode.tagName)}function Im(e){if(ad)return new Promise((function(n,t){var r=Fd(e.querySelectorAll("*")).filter(km).map(xm),i=Xh.begin("searchPseudoElements");am(),Promise.all(r).then((function(){i(),cm(),n()})).catch((function(){i(),cm(),t()}))}))}var Sm=!1,Em=function(e){return e.toLowerCase().split(" ").reduce((function(e,n){var t=n.toLowerCase().split("-"),r=t[0],i=t.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})},Am={mixout:function(){return{parse:{transform:function(e){return Em(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-transform");return t&&(e.transform=Em(t)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var n=e.main,t=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),l={outer:o,inner:{transform:"".concat(s," ").concat(a," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:Ff({},l.outer),children:[{tag:"g",attributes:Ff({},l.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Ff(Ff({},n.icon.attributes),l.path)}]}]}}}},Om={x:0,y:0,width:"100%",height:"100%"};function Tm(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}var Nm,Mm={hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-mask"),r=t?Ih(t.split(" ").map((function(e){return e.trim()}))):xh();return r.prefix||(r.prefix=_h()),e.mask=r,e.maskId=n.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var n,t=e.children,r=e.attributes,i=e.main,o=e.mask,s=e.maskId,a=e.transform,c=i.width,l=i.icon,u=o.width,f=o.icon,d=function(e){var n=e.transform,t=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(t/2*-1," -256)")}}}({transform:a,containerWidth:u,iconWidth:c}),h={tag:"rect",attributes:Ff(Ff({},Om),{},{fill:"white"})},m=l.children?{children:l.children.map(Tm)}:{},p={tag:"g",attributes:Ff({},d.inner),children:[Tm(Ff({tag:l.tag,attributes:Ff(Ff({},l.attributes),d.path)},m))]},$={tag:"g",attributes:Ff({},d.outer),children:[p]},g="mask-".concat(s||Ud()),w="clip-".concat(s||Ud()),v={tag:"mask",attributes:Ff(Ff({},Om),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,$]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(n=f,"g"===n.tag?n.children:[n])},v]};return t.push(y,{tag:"rect",attributes:Ff({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},Om)}),{children:t,attributes:r}}}},Pm={provides:function(e){var n=!1;rd.matchMedia&&(n=rd.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],t={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Ff(Ff({},t),{},{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=Ff(Ff({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Ff(Ff({},t),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:Ff(Ff({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Ff(Ff({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:Ff(Ff({},t),{},{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:n?[]:[{tag:"animate",attributes:Ff(Ff({},i),{},{values:"1;0;0;0;0;1;"})}]}),n||e.push({tag:"path",attributes:Ff(Ff({},t),{},{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:Ff(Ff({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Dm=[Xd,gm,wm,vm,ym,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Im,e}}},provides:function(e){e.pseudoElements2svg=function(e){var n=e.node,t=void 0===n?id:n;Rd.searchPseudoElements&&Im(t)}}},{mixout:function(){return{dom:{unwatch:function(){am(),Sm=!0}}}},hooks:function(){return{bootstrap:function(){um(Nh("mutationObserverCallbacks",{}))},noAuto:function(){lm&&lm.disconnect()},watch:function(e){var n=e.observeMutationsRoot;Sm?cm():um(Nh("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Am,Mm,Pm,{hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-symbol"),r=null!==t&&(""===t||t);return e.symbol=r,e}}}}];Nm={mixoutsTo:Lh}.mixoutsTo,Eh=Dm,Ah={},Object.keys(Oh).forEach((function(e){-1===Th.indexOf(e)&&delete Oh[e]})),Eh.forEach((function(e){var n=e.mixout?e.mixout():{};if(Object.keys(n).forEach((function(e){"function"==typeof n[e]&&(Nm[e]=n[e]),"object"===zf(n[e])&&Object.keys(n[e]).forEach((function(t){Nm[e]||(Nm[e]={}),Nm[e][t]=n[e][t]}))})),e.hooks){var t=e.hooks();Object.keys(t).forEach((function(e){Ah[e]||(Ah[e]=[]),Ah[e].push(t[e])}))}e.provides&&e.provides(Oh)}));var Rm=Lh.parse,Bm=Lh.icon,Lm=t(556),jm=t.n(Lm);function Wm(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Um(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Wm(Object(t),!0).forEach((function(n){zm(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wm(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Fm(e){return Fm="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},Fm(e)}function zm(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Vm(e){return function(e){if(Array.isArray(e))return Hm(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return Hm(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Hm(e,n):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 Hm(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Gm(e){return n=e,(n-=0)==n?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,n){return n?n.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var n}var Zm=["style"],qm=!1;try{qm=!0}catch(c){}function Ym(e){return e&&"object"===Fm(e)&&e.prefix&&e.iconName&&e.icon?e:Rm.icon?Rm.icon(e):null===e?null:e&&"object"===Fm(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 Jm(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?zm({},e,n):{}}var Xm=Le.forwardRef((function(e,n){var t=e.icon,r=e.mask,i=e.symbol,o=e.className,s=e.title,a=e.titleId,c=e.maskId,l=Ym(t),u=Jm("classes",[].concat(Vm(function(e){var n,t=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,s=e.shake,a=e.flash,c=e.spin,l=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,v=e.pull,y=(zm(n={"fa-beat":t,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":s,"fa-flash":a,"fa-spin":c,"fa-spin-reverse":u,"fa-spin-pulse":l,"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),zm(n,"fa-rotate-".concat(w),null!=w&&0!==w),zm(n,"fa-pull-".concat(v),null!=v),zm(n,"fa-swap-opacity",e.swapOpacity),n);return Object.keys(y).map((function(e){return y[e]?e:null})).filter((function(e){return e}))}(e)),Vm(o.split(" ")))),f=Jm("transform","string"==typeof e.transform?Rm.transform(e.transform):e.transform),d=Jm("mask",Ym(r)),h=Bm(l,Um(Um(Um(Um({},u),f),d),{},{symbol:i,title:s,titleId:a,maskId:c}));if(!h)return function(){var e;!qm&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var m=h.abstract,p={ref:n};return Object.keys(e).forEach((function(n){Xm.defaultProps.hasOwnProperty(n)||(p[n]=e[n])})),Km(m[0],p)}));Xm.displayName="FontAwesomeIcon",Xm.propTypes={beat:jm().bool,border:jm().bool,beatFade:jm().bool,bounce:jm().bool,className:jm().string,fade:jm().bool,flash:jm().bool,mask:jm().oneOfType([jm().object,jm().array,jm().string]),maskId:jm().string,fixedWidth:jm().bool,inverse:jm().bool,flip:jm().oneOf([!0,!1,"horizontal","vertical","both"]),icon:jm().oneOfType([jm().object,jm().array,jm().string]),listItem:jm().bool,pull:jm().oneOf(["right","left"]),pulse:jm().bool,rotation:jm().oneOf([0,90,180,270]),shake:jm().bool,size:jm().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:jm().bool,spinPulse:jm().bool,spinReverse:jm().bool,symbol:jm().oneOfType([jm().bool,jm().string]),title:jm().string,titleId:jm().string,transform:jm().oneOfType([jm().string,jm().object]),swapOpacity:jm().bool},Xm.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 Km=function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t)return t;var i=(t.children||[]).map((function(t){return e(n,t)})),o=Object.keys(t.attributes||{}).reduce((function(e,n){var r=t.attributes[n];switch(n){case"class":e.attrs.className=r,delete t.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,n){var t,r=n.indexOf(":"),i=Gm(n.slice(0,r)),o=n.slice(r+1).trim();return i.startsWith("webkit")?e[(t=i,t.charAt(0).toUpperCase()+t.slice(1))]=o:e[i]=o,e}),{});break;default:0===n.indexOf("aria-")||0===n.indexOf("data-")?e.attrs[n.toLowerCase()]=r:e.attrs[Gm(n)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,c=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(r,Zm);return o.attrs.style=Um(Um({},o.attrs.style),a),n.apply(void 0,[t.tag,Um(Um({},o.attrs),c)].concat(Vm(i)))}.bind(null,Le.createElement),Qm={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"]},ep={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 np(e,n){return d(Xm,e,...n)}const tp=np({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"]}},[]),rp=np({icon:ep,size:"5x"},[]),ip=np({icon:Qm,size:"5x"},[]);function op(e){let n;const t=Ji((r=e.inviteCode,[new us(r,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new cs(0),Pt()),Ai()]),Gl,[]);var r;const i=t[0],o=t[1];Mr(ci((()=>Zl(1e3,Hl(i.InviteToken))),(e=>{o(new ls(1,e))})));const s=ci((()=>Zl(500,Vl(i.InviteToken,i.MfaCodeForm.Input))),(e=>{o(new ls(2,e))}));Mr((()=>{Wf(0)}));const a=e=>{let n;return d("svg",dn(Gt([["className",it(" ",Zt(Gt(["animate-spin","text-primary-base"]),e))],["fill","none"],["viewBox","0 0 24 24"],["xmlns","http://www.w3.org/2000/svg"],(n=Gt([d("circle",{className:it(" ",["opacity-25"]),cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4}),d("path",{className:it(" ",["opacity-75"]),fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]),["children",Ir.Children.toArray(Array.from(n))])])))};return d("div",dn(Gt([["className",it(" ",["h-screen","fade-in"])],(n=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),i.CssOverrides),fr((()=>{let e,n,t;return mr(d("div",dn(Gt([["className",it(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",dn(Gt([["className",it(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[d("div",dn(Rt((t=$r(fr((()=>{let e,n,t,r,c;return wr((e=i.Ui,2===e.tag?mr(d("div",dn(Gt([["className",it(" ",["fade-in"])],(n=[d("i",{className:it(" ",["text-red-600"]),children:Ir.Children.toArray([ip])}),d("h4",{className:it(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:it(" ",["mt-3","mb-5","text-gray-500"]),children:e.fields[0]})],["children",Ir.Children.toArray(Array.from(n))])])))):1===e.tag?mr(d("form",dn(Gt([["className",it(" ",["fade-in"])],["onSubmit",e=>{e.preventDefault(),s()}],(t=$r(fr((()=>wr(mr(d("i",{className:it(" ",["text-primary-base"]),children:Ir.Children.toArray([rp])})),fr((()=>wr(mr(d("h4",{className:it(" ",["text-2xl","my-4"]),children:"Authenticate Your Account"})),fr((()=>{let e,n;return wr(mr(d("p",dn(Gt([["className",it(" ",["mt-3","mb-5","text-gray-500"])],(e=["Protecting your account is our top priority. Check your email ",(n=pt(i.MaskedEmail,""),d("strong",{children:[n]}))," for the code that we have just sent you."],["children",Ir.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className",it(" ",["mt-1","flex","rounded-md","shadow-sm"])],(e=[d("input",{"aria-describedby":it(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:it(" ",["grow","rounded-none","rounded-l-md","border-gray-300","focus:ring-primary-focus","focus:border-primary-focus","focus:z-10"]),placeholder:"Enter the code here",required:!0,maxLength:6,type:"text",onChange:e=>{o(new ls(3,e.target.value))},onBlur:e=>{o(new ls(4))}}),d("button",dn($r(fr((()=>wr(mr(["className",it(" ",["-ml-px","border","border-gray-300","text-sm","rounded-r-md","px-4","py-2","bg-primary-dark","focus:outline-none","focus:ring-1","focus:ring-primary-focus","focus:border-primary-focus","text-white"])]),fr((()=>wr(mr(["id","button-verify"]),fr((()=>wr(mr(["type","submit"]),fr((()=>wr(mr(["disabled",!(!i.MfaCodeForm.IsTouched||null==i.MfaCodeForm.Error)||i.IsValidationPending]),fr((()=>{let e,n;return i.IsValidationPending?mr((e=[d("div",dn(Gt([["className",it(" ",["flex","justify-center","items-center"])],(n=[a(Gt(["h-5","w-5"]))],["children",Ir.Children.toArray(Array.from(n))])])))],["children",Ir.Children.toArray(Array.from(e))])):mr(["children","Verify"])})))))))))))))))))],["children",Ir.Children.toArray(Array.from(e))])])))),fr((()=>{const e=[i.MfaCodeForm.IsDirty&&i.MfaCodeForm.IsTouched,i.MfaCodeForm.Error];let n;switch(n=e[0]&&null!=e[1]?0:1,n){case 0:{const n=e[1];return mr(d("div",{className:it(" ",["mt-2","text-sm","text-red-600","text-left"]),children:n}))}case 1:return mr(null)}})))})))}))))))))),["children",Ir.Children.toArray(Array.from(t))])])))):mr((r=Gt([d("div",dn(Gt([["className",it(" ",["flex","justify-center","items-center"])],(c=[a(Gt(["h-10","w-10"]))],["children",Ir.Children.toArray(Array.from(c))])]))),d("h4",{className:it(" ",["text-2xl","my-4"]),children:"Verifying your invite"}),d("p",{className:it(" ",["mt-3","mb-5","text-gray-500"]),children:"Hold tight. It won't be long."})]),d("div",{children:Ir.Children.toArray(Array.from(r))})))),fr((()=>{let e,n,t;return mr(d("p",dn(Gt([["className",it(" ",["mt-16","text-gray-400","text-right","text-xs"])],(e=[(n=`Flare HR Pty Ltd © 2015-${t=kn(),In(t)}`,d("small",{children:[n]}))],["children",Ir.Children.toArray(Array.from(e))])]))))})))}))),["children",Ir.Children.toArray(Array.from(t))]))))],["children",Ir.Children.toArray(Array.from(n))])])))],["children",Ir.Children.toArray(Array.from(e))])]))))})))))),["children",Ir.Children.toArray(Array.from(n))])])))}class sp extends jn{constructor(e,n){super(),this.Email=e,this.Phone=n}}class ap extends jn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}function cp(){return ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],ap,(()=>[["CompanyName",ao(uo)],["Logo",ao(uo)],["Support",ao(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],sp,(()=>[["Email",ao(uo)],["Phone",ao(uo)]])))]]))}class lp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite"]}}function up(){return oo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDto",[],lp,(()=>[[["Item",dp()]],[["Item",dp()]],[["Item",dp()]]]))}class fp extends jn{constructor(e){super(),this.Category=e}}function dp(){return ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],fp,(()=>[["Category",ao(uo)]]))}class hp extends jn{constructor(e){super(),this.MagicCode=e}}class mp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function pp(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 $p(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 gp extends jn{constructor(e,n){super(),this.CssOverrides=e,this.Outcome=n}}class wp extends jn{constructor(e,n){super(),this.MagicCode=e,this.IsChange=n}}class vp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class yp extends jn{constructor(e){super(),this.Outcome=e}}class bp extends jn{constructor(e,n){super(),this.MagicCode=e,this.IsResend=n}}class Cp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeIssued","OneTimeCodeOptionNotAvailable","OneTimeCodeLocked","OneTimeCodeIssuingThrottled","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class _p extends jn{constructor(e){super(),this.Outcome=e}}class xp extends jn{constructor(e){super(),this.OneTimeCode=0|e}}class kp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeMatched","OneTimeCodeFailed","OneTimeCodeExpired","OneTimeCodeNotCurrentlyIssued","OneTimeCodeAlreadyUsed","OneTimeCodeLocked","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Ip extends jn{constructor(e){super(),this.Outcome=e}}class Sp extends jn{constructor(e,n){super(),this.MagicCode=e,this.IsPassThrough=n}}class Ep extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Ap extends jn{constructor(e){super(),this.Outcome=e}}class Op extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Tp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Started","Finished"]}}class Np extends jn{constructor(e,n){super(),this.InviteToken=e,this.MagicCode=n}}class Mp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}class Pp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}}class Dp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}class Rp extends jn{constructor(e,n,t,r){super(),this.CssOverrides=e,this.Page=n,this.Branding=t,this.JourneyType=r}}class Bp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToOnboarding"]}}class Lp{constructor(e){this.magicLink=e,this.backendUrl=`${xs}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function jp(e,n){return Vr.Delay((()=>{let e;const t=vc(n);return e=Vr.Bind(t,(e=>Vr.Return(new Hr(0,e)))),Vr.Bind(e,(e=>{const t=e;if(1===t.tag)return Vr.Return(new Hr(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){let e;const t=ti(2e3);return e=Vr.Bind(t,(()=>Vr.Return(new Hr(0,x$0027_1)))),Vr.Bind(e,(e=>{const t=e;if(1===t.tag)return Vr.Return(new Hr(1,t.fields[0]));{const e=vc(n);return Vr.Bind(e,(e=>Vr.Return(new Hr(0,e))))}}))}return Vr.Return(new Hr(0,e))}}))}))}class Wp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["AuthCode"]}}function Up(e){return new Wp(0,e)}class Fp extends jn{constructor(e,n,t,r,i,o){super(),this.id_token=e,this.access_token=n,this.expires_in=t,this.refresh_token=r,this.scope=i,this.token_type=o}}function zp(){return ro("Workflows.UI.Auth.Types.Credentials",[],Fp,(()=>[["id_token",uo],["access_token",uo],["expires_in",mo],["refresh_token",ao(uo)],["scope",uo],["token_type",uo]]))}class Vp extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["SignIn"]}}function Hp(){return[new Rp(Pt(),new Pp(0),void 0,new lp(0,new fp(void 0))),Mi(new Bp(1,new Tp(0)))]}function Gp(e,n,t,r){let i,o,s,a;const c=function(e){return new Lp(e)}(e);if(1===t.tag){if(1===t.fields[0].tag){if(1===t.fields[0].fields[0].tag)return[r,Mi(new Bp(0,new Pp(6,new Mp(5))))];{let e;const n=t.fields[0].fields[0].fields[0].Outcome;switch(n.tag){case 1:{const t=n.fields[0],r=[t.IsInitialMagicLinkUsed,t.OneTimeCodeOptionAvailable];e=r[0]?r[1]?new Bp(0,new Pp(1,t.FirstName,new Dp(1))):new Bp(0,new Pp(1,t.FirstName,new Dp(0))):r[1]?new Bp(3,!1,new Tp(0)):new Bp(0,new Pp(4));break}case 4:e=new Bp(0,new Pp(5));break;case 2:case 7:e=new Bp(0,new Pp(6,new Mp(2)));break;case 3:e=new Bp(0,new Pp(6,new Mp(4)));break;case 5:e=new Bp(0,new Pp(6,new Mp(3)));break;case 6:e=new Bp(0,new Pp(6,new Mp(1)));break;default:{const t=n.fields[0];e=t.IsInitialMagicLinkUsed?new Bp(0,new Pp(1,t.FirstName,new Dp(2,t.AuthCode))):new Bp(6,t.AuthCode)}}return[new Rp(t.fields[0].fields[0].fields[0].CssOverrides,r.Page,pp(t.fields[0].fields[0].fields[0].Outcome),pt($p(t.fields[0].fields[0].fields[0].Outcome),r.JourneyType)),Mi(e)]}}return[r,Pi((e=>{Di(e)}),(()=>function(e){return Vr.Delay((()=>{let n,t;const r=jp(0,(n=$c(new ka(1),pc(`${e.backendUrl}/magic-link/validate`)),wc(new Sa(1,(t=new hp(e.magicLink.MagicCode),jl(0,Fl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],hp,(()=>[["MagicCode",uo]])),new bc(1),void 0,void 0)(t)))),n)));return Vr.Bind(r,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?dl(mn(2,Tl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],gp,(()=>[["CssOverrides",co(uo)],["Outcome",oo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],mp,(()=>[[["Item",io(["AuthCode",uo],["Branding",ao(cp())],["FirstName",uo],["IsInitialMagicLinkUsed",fo],["JourneyType",up()])]],[["Item",io(["Branding",ao(cp())],["FirstName",uo],["IsInitialMagicLinkUsed",fo],["JourneyType",up()],["OneTimeCodeOptionAvailable",fo])]],[["Item",io(["Branding",ao(cp())],["JourneyType",up()])]],[["Item",io(["Branding",ao(cp())],["JourneyType",up()])]],[["Item",io(["Branding",ao(cp())],["JourneyType",up()])]],[["Item",io(["Branding",ao(cp())],["JourneyType",up()])]],[["Item",io(["Branding",ao(cp())],["JourneyType",up()])]],[]]))]])),new bc(1),void 0)),t.responseText):new Hr(1,"Unexpected response from backend"),Vr.Return(e)}}))}))}(c)),void 0,(e=>new Bp(1,new Tp(1,e))),(e=>new Bp(1,new Tp(1,new Hr(1,e.message)))))]}return 2===t.tag?1===t.fields[1].tag?1===t.fields[1].fields[0].tag?[r,Mi(new Bp(0,new Pp(6,new Mp(5))))]:[r,Mi(new Bp(0,(i=t.fields[1].fields[0].fields[0].Outcome,1===i.tag||4===i.tag?new Pp(6,new Mp(2)):2===i.tag?new Pp(6,new Mp(4)):3===i.tag?new Pp(6,new Mp(1)):5===i.tag?new Pp(5):6===i.tag?new Pp(6,new Mp(3)):new Pp(2,i.fields[0].MaskedEmail))))]:[r,Pi((e=>{Di(e)}),(e=>function(e,n){return Vr.Delay((()=>{let t,r;const i=jp(0,(t=$c(new ka(1),pc(`${e.backendUrl}/magic-link/reissue`)),wc(new Sa(1,(r=new wp(e.magicLink.MagicCode,n),jl(0,Fl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],wp,(()=>[["MagicCode",uo],["IsChange",fo]])),new bc(1),void 0,void 0)(r)))),t)));return Vr.Bind(i,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?dl(mn(2,Tl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],yp,(()=>[["Outcome",oo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],vp,(()=>[[["Item",io(["MaskedEmail",uo])]],[],[],[],[],[],[]]))]])),new bc(1),void 0)),t.responseText):new Hr(1,"Unexpected response from backend"),Vr.Return(e)}}))}))}(c,e)),t.fields[0],(e=>new Bp(2,t.fields[0],new Tp(1,e))),(e=>new Bp(2,t.fields[0],new Tp(1,new Hr(1,e.message)))))]:3===t.tag?1===t.fields[1].tag?1===t.fields[1].fields[0].tag?[r,Mi(new Bp(0,new Pp(6,new Mp(5))))]:[r,Mi(new Bp(0,(o=t.fields[1].fields[0].fields[0].Outcome,1===o.tag?new Pp(4):2===o.tag?new Pp(6,new Mp(0)):3===o.tag?r.Page:4===o.tag||7===o.tag?new Pp(6,new Mp(2)):5===o.tag?new Pp(6,new Mp(4)):6===o.tag?new Pp(6,new Mp(1)):8===o.tag?new Pp(5):9===o.tag?new Pp(6,new Mp(3)):t.fields[0]?r.Page:new Pp(3,o.fields[0].MaskedPhone))))]:[r,Pi((e=>{Di(e)}),(e=>function(e,n){return Vr.Delay((()=>{let t,r;const i=jp(0,(t=$c(new ka(1),pc(`${e.backendUrl}/one-time-code/issue`)),wc(new Sa(1,(r=new bp(e.magicLink.MagicCode,n),jl(0,Fl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],bp,(()=>[["MagicCode",uo],["IsResend",fo]])),new bc(1),void 0,void 0)(r)))),t)));return Vr.Bind(i,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?dl(mn(2,Tl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],_p,(()=>[["Outcome",oo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],Cp,(()=>[[["Item",io(["MaskedPhone",uo])]],[],[],[],[],[],[],[],[],[]]))]])),new bc(1),void 0)),t.responseText):new Hr(1,"Unexpected response from backend"),Vr.Return(e)}}))}))}(c,e)),t.fields[0],(e=>new Bp(3,t.fields[0],new Tp(1,e))),(e=>new Bp(3,t.fields[0],new Tp(1,new Hr(1,e.message)))))]:4===t.tag?1===t.fields[2].tag?1===t.fields[2].fields[0].tag?[r,Mi(new Bp(0,new Pp(6,new Mp(5))))]:[r,(s=t.fields[2].fields[0].fields[0].Outcome,1===s.tag?(t.fields[1]({AttemptsRemaining:s.fields[0].RemainingAttempts}),Ai()):2===s.tag||3===s.tag||4===s.tag?(t.fields[1]({AttemptsRemaining:void 0}),Ai()):5===s.tag?Mi(new Bp(0,new Pp(6,new Mp(0)))):6===s.tag?Mi(new Bp(0,new Pp(6,new Mp(4)))):7===s.tag?Mi(new Bp(0,new Pp(6,new Mp(1)))):8===s.tag?Mi(new Bp(0,new Pp(6,new Mp(2)))):9===s.tag?Mi(new Bp(0,new Pp(5))):10===s.tag?Mi(new Bp(0,new Pp(6,new Mp(0)))):Mi(new Bp(6,s.fields[0].AuthCode)))]:[r,Pi((e=>{Di(e)}),(e=>function(e,n){return Vr.Delay((()=>{let t,r;const i=jp(0,(t=$c(new ka(1),pc(`${e.backendUrl}/one-time-code/validate`)),wc(new Sa(1,(r=new xp(n),jl(0,Fl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],xp,(()=>[["OneTimeCode",ho]])),new bc(1),void 0,void 0)(r)))),t)));return Vr.Bind(i,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?dl(mn(2,Tl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],Ip,(()=>[["Outcome",oo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],kp,(()=>[[["Item",io(["AuthCode",uo])]],[["Item",io(["RemainingAttempts",ho])]],[],[],[],[],[],[],[],[],[]]))]])),new bc(1),void 0)),t.responseText):new Hr(1,"Unexpected response from backend"),Vr.Return(e)}}))}))}(c,e)),t.fields[0],(e=>new Bp(4,t.fields[0],t.fields[1],new Tp(1,e))),(e=>new Bp(4,t.fields[0],t.fields[1],new Tp(1,new Hr(1,e.message)))))]:5===t.tag?1===t.fields[1].tag?1===t.fields[1].fields[0].tag?[r,Mi(new Bp(0,new Pp(6,new Mp(5))))]:[r,Mi((a=t.fields[1].fields[0].fields[0].Outcome,1===a.tag||4===a.tag?new Bp(0,new Pp(6,new Mp(2))):2===a.tag?new Bp(0,new Pp(6,new Mp(4))):3===a.tag?new Bp(0,new Pp(6,new Mp(1))):5===a.tag?new Bp(0,new Pp(5)):6===a.tag?new Bp(0,new Pp(6,new Mp(0))):1===t.fields[0].tag?new Bp(3,!1,new Tp(0)):2===t.fields[0].tag?new Bp(6,t.fields[0].fields[0]):new Bp(2,!1,new Tp(0))))]:[r,Pi((e=>{Di(e)}),(e=>function(e,n){return Vr.Delay((()=>{let t,r;const i=jp(0,(t=$c(new ka(1),pc(`${e.backendUrl}/progress`)),wc(new Sa(1,(r=new Sp(e.magicLink.MagicCode,n),jl(0,Fl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],Sp,(()=>[["MagicCode",uo],["IsPassThrough",fo]])),new bc(1),void 0,void 0)(r)))),t)));return Vr.Bind(i,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?dl(mn(2,Tl(ro("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],Ap,(()=>[["Outcome",oo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],Ep,(()=>[[],[],[],[],[],[],[]]))]])),new bc(1),void 0)),t.responseText):new Hr(1,"Unexpected response from backend"),Vr.Return(e)}}))}))}(c,e)),1!==t.fields[0].tag&&2===t.fields[0].tag,(e=>new Bp(5,t.fields[0],new Tp(1,e))),(e=>new Bp(5,t.fields[0],new Tp(1,new Hr(1,e.message)))))]:6===t.tag?(n([Up(t.fields[0]),r.JourneyType]),[r,Ai()]):[new Rp(r.CssOverrides,t.fields[0],r.Branding,r.JourneyType),Ai()]}var Zp,qp,Yp;function Jp(){return Jp=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Jp.apply(this,arguments)}const Xp=function(e){return d("svg",Jp({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Zp||(Zp=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),qp||(qp=d("path",{d:"M9 24h21M23 17l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Yp||(Yp=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 Kp,Qp,e$,n$;function t$(){return t$=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},t$.apply(this,arguments)}const r$=function(e){return d("svg",t$({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Kp||(Kp=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Qp||(Qp=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"})),e$||(e$=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"})),n$||(n$=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 i$,o$,s$,a$,c$;function l$(){return l$=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l$.apply(this,arguments)}const u$=function(e){return d("svg",l$({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i$||(i$=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),o$||(o$=d("path",{d:"M24 9v13",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),s$||(s$=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"})),a$||(a$=d("path",{d:"m29 17-5 5-5-5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),c$||(c$=d("path",{d:"M39 28H29v3H19v-3H9",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var f$,d$,h$,m$,p$,$$;function g$(){return g$=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},g$.apply(this,arguments)}const w$=function(e){return d("svg",g$({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),f$||(f$=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),d$||(d$=d("path",{d:"M24 18v6h-6",stroke:"#212121",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),h$||(h$=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"})),m$||(m$=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"})),p$||(p$=d("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",d:"M32 29v3"})),$$||($$=d("circle",{cx:32,cy:35,r:1,fill:"currentColor"})))};var v$,y$,b$;function C$(){return C$=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},C$.apply(this,arguments)}const _$=function(e){return d("svg",C$({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),v$||(v$=d("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"})),y$||(y$=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"}))),b$||(b$=d("defs",null,d("clipPath",{id:"error_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};var x$,k$,I$;function S$(){return S$=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},S$.apply(this,arguments)}const E$=function(e){return d("svg",S$({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),x$||(x$=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),k$||(k$=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"}))),I$||(I$=d("defs",null,d("clipPath",{id:"completed_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};function A$(e){return $r(fr((()=>wr(mr(["className","text-primary-base"]),fr((()=>e))))))}function O$(e){const n=fi(A$(e),1);return d(Xp,n)}function T$(e){const n=fi(A$(e),1);return d(u$,n)}function N$(e){const n=fi(A$(e),1);return d(_$,n)}function M$(e){return d("h1",{className:"mt-4 mb-4 sm:mb-8 text-xl sm:text-3xl font-semibold text-gray-900",children:e})}function P$(e){let n;const t=gt((e=>e.Phone),e.Support),r=gt((e=>e.Email),e.Support);return d("p",dn(Gt([["className","text-sm text-gray-900 whitespace-pre-wrap leading-5"],(n=$r(fr((()=>{let n;return wr(mr((n=`Need help? Contact ${pt(e.CompanyName,"your employer")} `,d("span",{children:[n]}))),fr((()=>{let e;return wr((e=[t,r],null==e[0]&&null==e[1]?mr(d("span",{children:["for assistance"]})):wr(mr(d("span",{children:["at "]})),fr((()=>{let e,n,i;return wr((e=t,null==e?mr(null):(n=e,mr((i=`${n}`,d("span",{children:[i]}))))),fr((()=>{let e;return wr((e=[t,r],mr(null!=e[0]&&null!=e[1]?d("span",{children:[" or "]}):null)),fr((()=>mr(null==r?null:d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${r}`,children:r})))))})))})))),fr((()=>mr(d("span",{children:["."]})))))})))}))),["children",Ir.Children.toArray(Array.from(n))])])))}function D$(e,n,t,r){let i;return d("button",dn(Gt([["className",`w-full sm:w-[240px] ${t?"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 ${pt(e,"")}`],["type","button"],["onClick",e=>{n()}],["disabled",t],(i=$r(fr((()=>t?mr(function(e){const n=fi([["className","animate-spin"]],1);return d($i,n)}()):r))),["children",Ir.Children.toArray(Array.from(i))])])))}const R$=bi([["className","text-primary-base animate-spin"]]),B$=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 n;return(null!==(n=e.codePointAt(0))&&void 0!==n?n:0)-35})),n=[..."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 n;return(null!==(n=e.codePointAt(0))&&void 0!==n?n:0)-35})),t=new Uint32Array(e),r=new Uint8Array(n);for(let e=1;e<t.length;++e)t[e]+=t[e-1];return e=>{let n=t.length,i=0;for(;n-i>1;){const r=Math.floor((n+i)/2),o=t[r];if(e<o)n=r;else{if(e===o){n=i=r;break}o<e&&(i=r)}}return r[i]}}();const L$=e=>function(e,n){const t=1<<function(e,n){const t=function(e,n){if(n>=0&&n<e.length)return e.charCodeAt(n);throw new Error("Index out of range.")}(e,n);return B$(t)}(e,0);return 0!=(256&t)}(e);class j$ extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue"]}}class W$ extends jn{constructor(e,n,t,r,i){super(),this.AttemptsRemaining=e,this.CodeInvalid=n,this.CodeInputValue=t,this.ResendTimer=r,this.SignInInProgress=i}}function U$(){return[new W$(void 0,!1,"",void 0,!1),Ai()]}function F$(e,n,t){let r;switch(n.tag){case 1:return 6===t.CodeInputValue.length?(e([Mc(t.CodeInputValue,511,!1,32),n.fields[0]]),[new W$(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,t.ResendTimer,!0),Ai()]):[t,Mi(new j$(3,!0))];case 2:return[new W$(n.fields[0],t.CodeInvalid,t.CodeInputValue,t.ResendTimer,t.SignInInProgress),Mi(new j$(3,!0))];case 3:{const e=n.fields[0];return[new W$(t.AttemptsRemaining,e,e?"":t.CodeInputValue,t.ResendTimer,!1),Ai()]}case 4:return[new W$(t.AttemptsRemaining,t.CodeInvalid,n.fields[0],t.ResendTimer,t.SignInInProgress),Ai()];default:{const e=Rt((e=>{(e=>{Di(e)})(Vr.Delay((()=>Vr.Bind(ei(Vr.Delay((()=>Vr.Bind(ti(1e3),(()=>Vr.Return()))))),(n=>{const t=n;return 0===t.tag?(e((t.fields[0],new j$(0))),Vr.Zero()):Vr.Zero()})))))}));let n;const i=t.ResendTimer;return n=null!=i?i>0?(r=0|i,[r-1,e]):[void 0,Ai()]:[20,e],[new W$(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,n[0],t.SignInInProgress),n[1]]}}}function z$(e){const n=e.reissueLink,t=e.reissueOneTimeCode,r=e.validateOneTimeCode,i=e.maskedPhone,o=Yi(U$,((e,n)=>F$(r,e,n))),s=o[0],a=o[1],c=()=>{a(new j$(1,(e=>{a(new j$(2,e.AttemptsRemaining))})))},l=$r(fr((()=>wr(mr(function(e){const n=fi(A$([]),1);return d(r$,n)}()),fr((()=>wr(mr(M$("Enter your security code")),fr((()=>{let e,r;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2"],(e=[(r=Gt([d("span",{children:["We’ve sent a security code to your mobile number ending in •••"]}),d("span",{className:"font-semibold",children:ct(L$,i)}),d("span",{children:["."]})]),d("p",{children:Ir.Children.toArray(Array.from(r))})),d("p",{children:["Enter your code to sign in."]})],["children",Ir.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","mt-8 flex relative"],(e=$r(fr((()=>{let e;return wr(mr(d("input",dn(Gt([["className","absolute w-full h-full peer z-10 opacity-0"],["type","text"],["inputMode","numeric"],["maxLength",6],["onClick",e=>{const n=e.target;n.selectionStart=0|s.CodeInputValue.length,n.selectionEnd=0|s.CodeInputValue.length,a(new j$(3,!1))}],["onChange",e=>{const n=ct(L$,e.target.value);a(new j$(4,n)),6===n.length&&c()}],(e=s.CodeInputValue,["ref",n=>{null==n||sn(n.value,e)||(n.value=e)}])])))),fr((()=>kr((e=>{const n=$t((e=>e),xt(e,s.CodeInputValue.split(""))),t=$t((e=>e),xt(e-1,s.CodeInputValue.split("")));return mr(d("div",{key:e,className:it(" ",$r(fr((()=>wr(mr("flex justify-center items-center text-xl w-10 h-12 rounded-md ring-inset ring-1 transition ease-in"),fr((()=>wr(s.CodeInvalid?mr("ring-red-600"):mr("ring-gray-400"),fr((()=>wr(mr(2===e?"mr-4":5===e?"":"mr-2"),fr((()=>null!=n||null!=t||0===e?mr("peer-focus:ring-2 peer-focus:ring-primary-base"):hr()))))))))))))),children:pt(n,"")}))}),Bi(0,1,5)))))}))),["children",Ir.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(s.CodeInvalid?mr(d("p",dn(Gt([["className","w-[288px] text-red-600 mt-2 leading-5"],(e=$r(fr((()=>wr(mr("The code you entered is invalid"),fr((()=>{let e,n;return wr((e=s.AttemptsRemaining,null==e?mr(null):(n=0|e,mr(`, you have ${n} attempts remaining`))),fr((()=>wr(mr("."),fr((()=>null==s.AttemptsRemaining?mr(" Try again or click on the link below to resend the code."):mr(null)))))))})))))),["children",Ir.Children.toArray(Array.from(e))])])))):hr(),fr((()=>wr(mr(D$("sm:w-[288px] mt-6",c,s.SignInInProgress,[d("span",{children:["Sign in"]})])),fr((()=>{let e;return mr(d("div",dn(Gt([["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=s.ResendTimer,null!=e?(r=0|e,mr((i=`Message sent. Wait ${r} seconds before trying again.`,d("p",{children:[i]})))):mr((o=Gt([d("span",{children:["Didn’t get the code? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{t(),a(new j$(0))},children:"Resend message"}),d("span",{children:["."]})]),d("p",{children:Ir.Children.toArray(Array.from(o))})))),fr((()=>{let e;return mr((e=Gt([d("span",{children:["Still having trouble? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{n()},children:"Sign in with email instead"}),d("span",{children:["."]})]),d("p",{children:Ir.Children.toArray(Array.from(e))})))})))}))),["children",Ir.Children.toArray(Array.from(e))])]))))}))))))})))})))})))))))));return d(m,{},...l)}function V$(e){const n=e.reissueLink,t=e.brandingOption,r=jr(!1),i=$r(fr((()=>wr(mr(function(e){const n=fi(A$([]),1);return d(w$,n)}()),fr((()=>wr(mr(M$("Access link timed-out")),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2"],(e=[d("p",{children:["Your 5-minute temporary access link has timed-out."]}),d("p",{children:["Get a new link to continue."]})],["children",Ir.Children.toArray(Array.from(e))])])))),fr((()=>wr(mr(D$("mt-8 mb-8 sm:mb-14",(()=>{r[1](!0),n()}),r[0],[d("span",{children:["Get a new link"]})])),fr((()=>mr(null==t?null:P$(t))))))))})))))))));return d(m,{},...i)}function H$(e,n,t){const r=[N$([]),M$(e),d("p",{className:"text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2 mb-8",children:n}),pt(t,null)];return d(m,{},...r)}function G$(e,n,t){return H$(e,n,$t((e=>{let n;return d("div",dn(Gt([["className","mt-8"],(n=[P$(e)],["children",Ir.Children.toArray(Array.from(n))])])))}),t))}function Z$(e){return G$("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 q$(e){const n=e.navigateAuthCodeExchangePage,t=e.magicLink,r=Yi(Hp,((e,r)=>Gp(t,n,e,r))),i=r[0],o=r[1],s=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),i.CssOverrides),fr((()=>{const e=i.Page;return 1===e.tag?mr(function(e,n,t,r){let i;const o=jr(!1);let s;const a=gt((e=>e.CompanyName),n);s=d("span",null!=a?{className:"font-semibold",children:`${a}`}:{children:["your employer"]});const c=[O$([]),M$(`Welcome, ${e}`),d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2 mb-8 sm:mb-14"],(i=$r(fr((()=>1===t.tag?wr(mr(s),fr((()=>wr(mr(d("p",{children:[" has requested additional information from you."]})),fr((()=>mr(d("p",{children:["Sign in to complete your information request."]})))))))):2===t.tag?mr(null):wr(mr(d("p",{children:["Congratulations on the new role!"]})),fr((()=>{let e,n;return mr((e=Gt([(n=`Sign in to complete your ${Ci(t)} with `,d("span",{children:[n]})),s,d("span",{children:["."]})]),d("p",{children:Ir.Children.toArray(Array.from(e))})))})))))),["children",Ir.Children.toArray(Array.from(i))])]))),D$(void 0,(()=>{o[1](!0),r()}),o[0],[d("span",{children:["Continue"]})])];return d(m,{},...c)}(e.fields[0],i.Branding,i.JourneyType,(()=>{o(new Bp(5,e.fields[1],new Tp(0)))}))):2===e.tag?mr(function(e,n){let t,r,i;const o=[T$([]),M$("Check your inbox"),d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2"],(t=[(r=Gt([d("span",{children:["We’ve sent a temporary access link to "]}),d("span",{className:"font-semibold",children:(s=e,a="*",c="•",s.replace(new RegExp(Dn(a),"g"),c))}),d("span",{children:["."]})]),d("p",{children:Ir.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",Ir.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className","text-sm text-gray-900 whitespace-pre-wrap mt-8 sm:mt-14 space-y-4 leading-5"],(i=$r(fr((()=>wr(mr(d("p",{children:["Can’t see the email? Check your spam folder."]})),fr((()=>mr(null==n?null:P$(n)))))))),["children",Ir.Children.toArray(Array.from(i))])])))];var s,a,c;return d(m,{},...o)}(e.fields[0],i.Branding)):3===e.tag?mr(d(z$,{maskedPhone:e.fields[0],validateOneTimeCode:e=>{o(new Bp(4,e[0],e[1],new Tp(0)))},reissueOneTimeCode:()=>{o(new Bp(3,!0,new Tp(0)))},reissueLink:()=>{o(new Bp(2,!0,new Tp(0)))}})):4===e.tag?mr(d(V$,{brandingOption:i.Branding,reissueLink:()=>{o(new Bp(2,!1,new Tp(0)))}})):5===e.tag?mr(function(e,n){const t=pt(gt((e=>e.CompanyName),e),"your employer"),r=$r(fr((()=>wr(mr(function(e){const n=fi(A$([]),1);return d(E$,n)}()),fr((()=>wr(mr(M$("You’re all done")),fr((()=>{let r,i;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2 mb-8 sm:mb-14"],(r=[(i=`Your ${Ci(n)} is now complete and your pay information has now been submitted to ${t}.`,d("p",{children:[i]})),d("p",{children:["You can now close this window."]})],["children",Ir.Children.toArray(Array.from(r))])])))),fr((()=>mr(null==e?null:P$(e)))))})))))))));return d(m,{},...r)}(i.Branding,i.JourneyType)):6===e.tag?1===e.fields[0].tag?mr(H$("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?mr(function(e){let n;return H$("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",dn(Gt([["className","mt-1 sm:mt-8 text-base leading-7 text-gray-900 whitespace-pre-wrap"],(n=[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=>{o(new Bp(2,!0,new Tp(0)))},children:"sign in with email instead"}),d("span",{children:["."]})],["children",Ir.Children.toArray(Array.from(n))])]))))}()):5===e.fields[0].tag?mr(H$("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)):2===e.fields[0].tag?mr(Z$(i.Branding)):3===e.fields[0].tag?mr(G$("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",i.Branding)):mr(G$("Invite expired","Your invite has now expired and you no longer have access.",i.Branding)):mr(R$)}))))));return d(m,{},...s)}function Y$(e){let n,t;const r=e.navigateAuthCodeExchangePage,i=e.inviteCode;return Mr((()=>{Wf(0)})),d("div",dn(Gt([["className","min-h-screen flex flex-col items-center justify-between w-full sm:max-w-[640px] mx-auto text-center pt-8 sm:pt-20 pb-6 sm:pb-8 px-4"],(n=[d("div",dn(Gt([["className","flex flex-col items-center justify-center"],(t=$r(fr((()=>{const e=function(e){const n=at(e,["."],null,0);if(_t(((e,n)=>e===n),n,null)||2!==n.length)return new Hr(1,"Invalid link");{const e=n[1];return new Hr(0,new Np(n[0],e))}}(i);return 0===e.tag?mr(d(q$,{magicLink:e.fields[0],navigateAuthCodeExchangePage:r})):mr(Z$(void 0))}))),["children",Ir.Children.toArray(Array.from(t))])]))),_i],["children",Ir.Children.toArray(Array.from(n))])])))}class J$ extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Home","InviteValidation","InviteV2","AuthCodeExchange","NotFound","LoggedOut"]}}function X$(e){const n=ys(e);if(null!=n)return $t((e=>e[1]),Yt((e=>"code"===e[0]),n))}function K$(e){let n,t,r,i,o,s,a,c,l;const u=function(e){let n,t,r;switch(Bt(e)?n=2:"workflows"===jt(e)?Bt(Wt(e))?n=2:"app"===jt(Wt(e))?(n=0,t=Wt(Wt(e))):"embed"===jt(Wt(e))?Bt(Wt(Wt(e)))?n=2:"v1.0"===jt(Wt(Wt(e)))?(n=1,r=Wt(Wt(Wt(e)))):n=2:n=2:n=2,n){case 0:return new Yr(1,t);case 1:return new Yr(0,r);case 2:return new Yr(2,void 0)}}(e);return 1===u.tag?[Bt(u.fields[0])?Bt(u.fields[0])?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):(i=ys(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new J$(2,o)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0))):(n=ys(jt(u.fields[0])),null!=n?Bt(n)?Bt(u.fields[0])?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):(i=ys(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new J$(2,o)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0))):"invite"===jt(n)[0]&&Bt(Wt(n))&&Bt(Wt(u.fields[0]))?(t=jt(n)[1],r=Ko(t),1===r.tag?new J$(4):new J$(1,r.fields[0])):Bt(u.fields[0])?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):(i=ys(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new J$(2,o)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0))):Bt(u.fields[0])?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):(i=ys(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new J$(2,o)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)):Bt(u.fields[0])?new J$(0):(s=ys(jt(u.fields[0])),null!=s?Bt(s)?new J$(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new J$(3,Up(a))):new J$(0):new J$(0)))),new Es(1)]:2===u.tag?[new J$(4),new Es(2)]:[Bt(u.fields[0])||Bt(Wt(u.fields[0]))?new J$(0):(c=X$(jt(Wt(u.fields[0]))),null!=c&&Bt(Wt(Wt(u.fields[0])))?(l=c,new J$(3,Up(l))):new J$(0)),new Es(0)]}class Q$ extends jn{constructor(e,n,t,r){super(),this.CurrentPage=e,this.Credentials=n,this.AppMode=t,this.JourneyType=r}}class eg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","AuthMsg","DisplayLoggedOut"]}}function ng(){let e;return Mr((()=>{Wf(0)})),d("div",dn(Gt([["className",it(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:it(" ",["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",Ir.Children.toArray(Array.from(e))])])))}function tg(e){this.message=e}tg.prototype=new Error,tg.prototype.name="InvalidCharacterError";var rg="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new tg("'atob' failed: The string to be decoded is not correctly encoded.");for(var t,r,i=0,o=0,s="";r=n.charAt(o++);~r&&(t=i%4?64*t+r:r,i++%4)?s+=String.fromCharCode(255&t>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function ig(e){this.message=e}ig.prototype=new Error,ig.prototype.name="InvalidTokenError";function og(e){return function(e,n){return function(e,n,t){e:for(;;){const r=e,i=n,o=t;if(Bt(o)){const e=r;return 1===e.tag?new Hr(1,e.fields[0]):new Hr(0,zt(e.fields[0]))}{let s;const a=i(jt(o));if(1===a.tag)s=new Hr(1,a.fields[0]);else{const e=r;s=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,Dt(a.fields[0],e.fields[0]))}if(1===s.tag)return s;e=s,n=i,t=Wt(o);continue e}}}(new Hr(0,Pt()),e,n)}((e=>e),e)}class sg extends jn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}class ag extends jn{constructor(e,n){super(),this.Email=e,this.Phone=n}}function cg(e){let n;const t=e.Logo;if(null!=t){const e=function(e){try{const n=Zo.create(e);return n.isAbsoluteUri?[!0,n]:[!1,void 0]}catch(e){return[!1,void 0]}}(r=t)[0]?new Hr(0,new ns(0,r)):new Hr(1,"Invalid logo url.");n=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else n=new Hr(0,void 0);var r,i;if(1===n.tag)return new Hr(1,n.fields[0]);{let t;const r=e.CompanyName;if(null!=r){const e=rt(i=r)?new Hr(1,"Invalid company name."):new Hr(0,new ts(0,i));t=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else t=new Hr(0,void 0);if(1===t.tag)return new Hr(1,t.fields[0]);{let r;const i=e.Support;if(null!=i){const e=function(e){let n;const t=e.Email;if(null!=t){const e=ss(t);n=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else n=new Hr(0,void 0);if(1===n.tag)return new Hr(1,n.fields[0]);{let t;const r=e.Phone;if(null!=r){const e=as(r);t=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else t=new Hr(0,void 0);return 1===t.tag?new Hr(1,t.fields[0]):new Hr(0,new rs(n.fields[0],t.fields[0]))}}(i);r=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else r=new Hr(0,void 0);return 1===r.tag?new Hr(1,r.fields[0]):new Hr(0,new es(t.fields[0],n.fields[0],r.fields[0]))}}}class lg extends jn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.NumberOfAttempts=0|t,this.DateOfLastAttempt=r}}class ug extends jn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.SecondFactor=t,this.Branding=r}}class fg extends jn{constructor(e,n,t){super(),this.Id=e,this.DisplayName=n,this.ComponentTagName=t}}function dg(e){return new Hr(0,new ou(pu(e.Id),e.DisplayName,e.ComponentTagName))}class hg extends jn{constructor(e,n){super(),this.ActivatedDates=e,this.CompletedSteps=n}}class mg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}class pg extends jn{constructor(e,n,t){super(),this.Id=e,this.Name=n,this.Steps=t}}class $g extends jn{constructor(e,n){super(),this.Name=e,this.Value=n}}function gg(e){return function(e,n){const t=rt(r=e)?new Hr(1,"Tag name is empty"):r.length<100?new Hr(0,new Lu(0,r)):new Hr(1,"Tag name is too long");var r,i;if(1===t.tag)return new Hr(1,t.fields[0]);{const e=rt(i=n)?new Hr(1,"Tag value is empty"):i.length<100?new Hr(0,new ju(0,i)):new Hr(1,"Tag value is too long");return 1===e.tag?new Hr(1,e.fields[0]):new Hr(0,new Bu(t.fields[0],e.fields[0]))}}(e.Name,e.Value)}class wg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WhenEnabled","Always"]}}class vg extends jn{constructor(e){super(),this.BenefitsOnboarding=e}}class yg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite"]}}class bg extends jn{constructor(e){super(),this.Category=e}}function Cg(){return ro("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],bg,(()=>[["Category",ao(uo)]]))}function _g(e){return new zu(e.Category)}class xg extends jn{constructor(e,n,t,r,i,o,s,a,c,l){super(),this.Id=0|e,this.DateCreated=n,this.Configuration=t,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l}}function kg(){return ro("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],xg,(()=>[["Id",ho],["DateCreated",to("System.DateTime")],["Configuration",ro("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],pg,(()=>[["Id",to("System.Guid")],["Name",uo],["Steps",co(ro("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],fg,(()=>[["Id",uo],["DisplayName",uo],["ComponentTagName",uo]])))]]))],["Status",oo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],mg,(()=>[[],[["Item",ro("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],hg,(()=>[["ActivatedDates",co(to("System.DateTime"))],["CompletedSteps",co(so(uo,to("System.DateTime")))]]))]],[["Item",to("System.DateTime")]],[["Item",to("System.DateTime")]]]))],["Invite",ao(ro("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],ug,(()=>[["Code",uo],["DateIssued",to("System.DateTime")],["SecondFactor",ao(ro("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],lg,(()=>[["Code",uo],["DateIssued",to("System.DateTime")],["NumberOfAttempts",ho],["DateOfLastAttempt",ao(to("System.DateTime"))]])))],["Branding",ao(ro("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],sg,(()=>[["CompanyName",ao(uo)],["Logo",ao(uo)],["Support",ao(ro("Workflows.Business.Aggregates.CommonDto.SupportDto",[],ag,(()=>[["Email",ao(uo)],["Phone",ao(uo)]])))]])))]])))],["Tags",ao(co(ro("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],$g,(()=>[["Name",uo],["Value",uo]]))))],["Creator",ao(uo)],["StepsConfiguration",ao(ro("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],vg,(()=>[["BenefitsOnboarding",ao(io(["Show",oo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],wg,(()=>[[],[]]))]))]])))],["JourneyType",ao(oo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],yg,(()=>[[["Item",Cg()]],[["Item",Cg()]],[["Item",Cg()]]])))],["IsBenefitsStepEnabled",ao(fo)]]))}function Ig(e){let n,t;const r=function(e){const n=og(qt(dg,e.Steps));if(1===n.tag)return new Hr(1,n.fields[0]);{const t=function(e){const n=new gu(0,e);return vr(n,Tu.keys(),{Equals:sn,GetHashCode:tn})?new Hr(0,n):new Hr(1,Xn(Yn("Invalid Type %A%P()",[e])))}(e.Id);return 1===t.tag?new Hr(1,t.fields[0]):new Hr(0,new wu(t.fields[0],e.Name,n.fields[0]))}}(e.Configuration);if(1===r.tag)return new Hr(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const n=function(e){const n=og(qt((e=>new Hr(0,[pu(e[0]),e[1]])),e.CompletedSteps));return 1===n.tag?new Hr(1,n.fields[0]):new Hr(0,new Nu(e.ActivatedDates,n.fields[0]))}(e.fields[0]);return 1===n.tag?new Hr(1,n.fields[0]):new Hr(0,new Mu(1,n.fields[0]))}case 2:return new Hr(0,new Mu(2,e.fields[0]));case 3:return new Hr(0,new Mu(3,e.fields[0]));default:return new Hr(0,new Mu(0))}}(e.Status);if(1===o.tag)return new Hr(1,o.fields[0]);{const r=o.fields[0];let s;if(1===r.tag){const e=r.fields[0],n=og(qt((e=>{const n=[e[0],e[1]],t=n[0];return Qt((e=>sn(e.Id,t)),i.Steps)?new Hr(0,[t,n[1]]):new Hr(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));s=1===n.tag?new Hr(1,n.fields[0]):new Hr(0,new Mu(1,new Nu(e.ActivatedDates,n.fields[0])))}else s=new Hr(0,r);if(1===s.tag)return new Hr(1,s.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const n=Ko(e.Code);if(1===n.tag)return new Hr(1,n.fields[0]);{let t;const r=e.SecondFactor;if(null!=r){const e=function(e){const n=Ca(e.Code);return 1===n.tag?new Hr(1,n.fields[0]):new Hr(0,new _a(n.fields[0],e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt))}(r);t=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else t=new Hr(0,void 0);if(1===t.tag)return new Hr(1,t.fields[0]);{let r;const i=e.Branding;if(null!=i){const e=cg(i);r=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else r=new Hr(0,void 0);return 1===r.tag?new Hr(1,r.fields[0]):new Hr(0,new xa(n.fields[0],e.DateIssued,t.fields[0],r.fields[0]))}}}(o);r=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else r=new Hr(0,void 0);if(1===r.tag)return new Hr(1,r.fields[0]);{let o;const a=e.Tags;if(null!=a){const e=og(qt(gg,a));o=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,e.fields[0])}else o=new Hr(0,void 0);return 1===o.tag?new Hr(1,o.fields[0]):new Hr(0,new Wu(Du(e.Id),i,e.DateCreated,s.fields[0],r.fields[0],o.fields[0],(n=e.Creator,null==n?void 0:Yo(n)),(t=e.StepsConfiguration,null==t?void 0:function(e){let n,t;return new Uu((n=e.BenefitsOnboarding,null==n?void 0:(t=n,{Show:1===t.Show.tag?new Vu(1):new Vu(0)})))}(t)),function(e){if(null==e)return new Fu(0,new zu(void 0));if(1===e.tag){const n=e.fields[0];return new Fu(1,_g(n))}if(2===e.tag){const n=e.fields[0];return new Fu(2,_g(n))}{const n=e.fields[0];return new Fu(0,_g(n))}}(e.JourneyType),e.IsBenefitsStepEnabled))}}}}}class Sg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompleteStep","Complete"]}}class Eg extends jn{constructor(e,n,t){super(),this.CssOverrides=e,this.ProcessInstance=n,this.IsBenefitsEnabled=t}}class Ag extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompleteStep","Complete"]}}const Og=Ig;class Tg extends jn{constructor(e,n,t){super(),this.CssOverrides=e,this.ProcessInstanceDto=n,this.IsBenefitsEnabled=t}}class Ng extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class Mg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies"]}}class Pg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Hidden","Incomplete","Complete"]}}function Dg(e){return sn(e,su)?new Hr(0,new Mg(0)):sn(e,au)?new Hr(0,new Mg(1)):sn(e,cu)?new Hr(0,new Mg(2)):sn(e,lu)?new Hr(0,new Mg(3)):sn(e,uu)?new Hr(0,new Mg(4)):sn(e,fu)?new Hr(0,new Mg(5)):sn(e,mu)?new Hr(0,new Mg(7)):new Hr(1,"Invalid step")}function Rg(e){switch(e.tag){case 1:return au;case 2:return cu;case 3:return lu;case 4:return uu;case 5:return fu;case 6:return hu;case 7:return mu;default:return su}}function Bg(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 fu.DisplayName;case 6:return hu.DisplayName;case 7:return"Fair Work";default:return"Personal Details"}}function Lg(e,n){const t=og(qt(Dg,e.Configuration.Steps));return 1===t.tag?new Hr(1,t.fields[0]):new Hr(0,(r=n,i=t.fields[0],0===r.tag?i:Zt(i,Rt(new Mg(6)))));var r,i}function jg(e,n){const t=og(qt(Dg,function(e){const n=e.Status;switch(n.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Pt();default:{const t=qt((e=>e[0]),n.fields[0].CompletedSteps);return Xt((e=>Kt(e.Id,t,{Equals:sn,GetHashCode:tn})),e.Configuration.Steps)}}}(e)));return 1===t.tag?new Hr(1,t.fields[0]):new Hr(0,(r=n,i=t.fields[0],2===r.tag?Zt(i,Rt(new Mg(6))):i));var r,i}class Wg extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class Ug extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class Fg extends jn{constructor(e,n,t,r,i,o){super(),this.ProfileId=e,this.ProcessInstanceId=n,this.ProcessInstance=t,this.CurrentView=r,this.CssOverrides=i,this.BenefitsOnboarding=o}}function zg(e,n){return Vr.Delay((()=>{const t=gc((r=Xn(qn("Bearer %s"))(e),new Ia(0,"Authorization",r)),n);var r;let i;const o=vc(t);return i=Vr.Bind(o,(e=>Vr.Return(new Hr(0,e)))),Vr.Bind(i,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=vc(t);return Vr.Bind(e,(e=>Vr.Return(new Hr(0,e))))}return Vr.Return(new Hr(0,e))}}))}))}function Vg(e,n,t){return Vr.Delay((()=>{let r,i;const o=zg(t,(r=wc(new Sa(1,(i=Rt(function(e){return 1===e.tag?new Ag(1):new Ag(0,$u(e.fields[0]))}(e)),jl(0,Fl(co(oo("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],Ag,(()=>[[["Item",uo]],[]]))),new bc(1),void 0,void 0)(i)))),$c(new ka(1),pc(function(e){const n=0|Ru(e);return Xn(qn("%s/workflows/backend/%i"))(xs)(n)}(n)))),gc(dc("application/json"),r)));return Vr.Bind(o,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=dl(mn(2,Tl(kg(),new bc(1),void 0)),e.responseText);return n=1===t.tag?new Hr(1,t.fields[0]):Og(t.fields[0]),Vr.Return(n)}return Vr.Return(new Hr(1,"Unexpected response from backend"))}}))}))}function Hg(e,n,t,r){let i,o,s,a,c,l,u,f,d,h,m,p;switch(t.tag){case 1:{const e=t.fields[0];return[new Fg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(i=Rg(e.fields[0]),sn(i.Id,hu.Id)?Mi(new Ug(5,r.ProcessInstanceId,new Ng(1))):Mi(new Ug(5,r.ProcessInstanceId,new Ng(0,$u(i.Id))))):Ai()]}case 5:return Di(function(e,n,t){let r;const i=Vr.Delay((()=>{let r;return zg(e,(r=wc(new Sa(1,jl(0,Fl(co(oo("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],Ng,(()=>[[["Item",uo]],[],[]]))),new bc(1),void 0,void 0)(Rt(t)))),$c(new ka(1),pc(function(e){const n=0|Ru(e);return Xn(qn("%s/workflows/backend/process-instances/%i/analytics-events"))(xs)(n)}(n)))),gc(dc("application/json"),r)))}));return r=Vr.Bind(i,(e=>{let n;const t=e;return n=1===t.tag?new Hr(1,t.fields[0]):new Hr(0,void t.fields[0]),Vr.Return(n)})),Vr.Bind(r,(e=>{let n;const t=e;return n=1===t.tag?void 0:t.fields[0],Vr.Return(n)}))}(e,t.fields[0],t.fields[1])),[r,Ai()];case 2:{const e=r.ProcessInstance;let n,i;switch(2===e.tag&&0===e.fields[0].tag?(n=0,i=e.fields[0].fields[0]):n=1,n){case 0:return[r,(o=t.fields[0].target,s=!sn(r.BenefitsOnboarding,new Pg(0)),a=Hu(o.tagName,s,i),1===a.tag?Ai():sn(a.fields[0].Id,du)?Mi(new Ug(7)):Mi(new Ug(3,a.fields[0].Id,new oi(0))))];case 1:return[r,Ai()]}}case 7:{const e=r.ProcessInstance;let n,t;switch(2===e.tag&&0===e.fields[0].tag?sn(r.BenefitsOnboarding,new Pg(0))?n=1:(n=0,t=e.fields[0].fields[0]):n=1,n){case 0:return[new Fg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new Pg(2)),Ti(Gt([Mi(new Ug(5,r.ProcessInstanceId,new Ng(2))),(u=[t,r.BenefitsOnboarding],l=Lg(u[0],u[1]),c=1===l.tag?new Hr(1,l.fields[0]):new Hr(0,(f=l.fields[0],Mi(new Ug(1,new Wg(3,f,f))))),1===c.tag?Mi(new Ug(1,new Wg(4,c.fields[0]))):c.fields[0])]))];case 1:return[r,Ai()]}}case 3:{const n=t.fields[0],i=t.fields[1];switch(i.tag){case 1:return[r,Ai()];case 2:{const e=i.fields[0];let t,o;const s=e;if(1===s.tag)o=new Hr(1,s.fields[0]);else{const e=s.fields[0],n=Gu(e);let t;const i=[e,r.BenefitsOnboarding];if(t=jg(i[0],i[1]),1===t.tag)o=new Hr(1,t.fields[0]);else{const i=t.fields[0];let s;const a=[e,r.BenefitsOnboarding];if(s=Lg(a[0],a[1]),1===s.tag)o=new Hr(1,s.fields[0]);else{const e=s.fields[0];if(1===Lt(e))o=new Hr(0,new Ug(4,new oi(0)));else{const t=[n,r.BenefitsOnboarding];if(null==t[0])if(1===t[1].tag){const n=new Mg(6);o=new Hr(0,new Ug(1,new Wg(2,n,n,i,e)))}else o=new Hr(0,new Ug(1,new Wg(3,i,e)));else{const n=Dg(t[0]);o=1===n.tag?new Hr(1,n.fields[0]):new Hr(0,(d=n.fields[0],new Ug(1,new Wg(2,d,d,i,e))))}}}}}t=1===o.tag?new Ug(1,new Wg(4,o.fields[0])):o.fields[0];const a=e;return 1===a.tag?a.fields[0]:function(e,n,t){const r=function(e,n){const t=Yt((n=>sn(n.Id,e)),n.Configuration.Steps),r=Xn(Yn("Invalid ProcessStep Id %A%P()",[e])),i=t;return null==i?new Hr(1,r):new Hr(0,i)}(e,n);1===r.tag||Bf(function(e,n,t,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=Rf(t),i.profileId=Jo(r),i.step={name:n,type:$u(e)},i}(e,r.fields[0].DisplayName,n,t))}(n,a.fields[0],r.ProfileId),[new Fg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Mi(t)]}case 3:return[new Fg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Mi(new Ug(1,new Wg(4,i.fields[0].message)))];default:return[r,Pi((e=>{Di(e)}),(e=>function(e,n,t){return Vg(new Sg(0,n),e,t)}(r.ProcessInstanceId,n,e)),e,(e=>new Ug(3,n,new oi(2,e))),(e=>new Ug(3,n,new oi(3,e))))]}}case 4:{const i=t.fields[0];switch(i.tag){case 1:return[r,Ai()];case 2:{const e=i.fields[0];if(1===e.tag)return[new Fg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Mi(new Ug(1,new Wg(4,e.fields[0])))];{const t=e.fields[0];return jf(t,r.ProfileId),[new Fg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(h=[n,(m=[t,r.BenefitsOnboarding],g=m[0],w=m[1],Lt(g.Configuration.Steps)+(0===w.tag?0:1))],1===h[0].tag?1===h[1]?Ai():Mi(new Ug(1,new Wg(5))):Ai())]}}case 3:return[new Fg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),Mi(new Ug(1,new Wg(4,i.fields[0].message)))];default:{const n=r.ProcessInstance;let t,i;switch(2===n.tag&&0===n.fields[0].tag&&2===n.fields[0].fields[0].Status.tag?(t=0,i=n.fields[0].fields[0]):t=1,t){case 0:return jf(i,r.ProfileId),[r,Ai()];case 1:return[r,Pi((e=>{Di(e)}),(e=>function(e,n){return Vg(new Sg(1),e,n)}(r.ProcessInstanceId,e)),e,(e=>new Ug(4,new oi(2,e))),(e=>new Ug(4,new oi(3,e))))]}}}}case 6:return[r,(p=window.location.pathname+"/"+window.location.search+window.location.hash,Ni((e=>{gs(Rt(p),1,2)})))];default:{const e=t.fields[0];let n;switch(e.tag){case 3:n=[r,Mi(new Ug(1,new Wg(4,e.fields[0].message)))];break;case 0:case 1:n=[r,Ai()];break;default:{let t,i;const o=e.fields[0];if(1===o.tag)i=new Hr(1,o.fields[0]);else{const e=o.fields[0],n=($=e.IsBenefitsEnabled,new Pg($?1:0));let t;const s=[e.ProcessInstance,n];if(t=jg(s[0],s[1]),1===t.tag)i=new Hr(1,t.fields[0]);else{const o=t.fields[0];let s;const a=[e.ProcessInstance,n];if(s=Lg(a[0],a[1]),1===s.tag)i=new Hr(1,s.fields[0]);else{const t=s.fields[0],a=e=>{const n=[Cs.clientWidth<640,Lt(t)];return 1===n[1]?(document.title=Bg(e),new Wg(2,e,e,o,t)):new Wg(n[0]?1:2,e,e,o,t)};let c;const l=[Gu(e.ProcessInstance),n];if(null==l[0])c=1===l[1].tag?new Hr(0,a(new Mg(6))):new Hr(0,new Wg(3,o,t));else{const e=Dg(l[0]);c=1===e.tag?new Hr(1,e.fields[0]):new Hr(0,a(e.fields[0]))}i=1===c.tag?new Hr(1,c.fields[0]):new Hr(0,[new Fg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,e.CssOverrides,n),c.fields[0]])}}}t=1===i.tag?[r,new Wg(4,i.fields[0])]:i.fields[0],n=[t[0],Mi(new Ug(1,t[1]))]}}const i=n[0];return[new Fg(i.ProfileId,i.ProcessInstanceId,si((e=>{const n=e;return 1===n.tag?new Hr(1,n.fields[0]):new Hr(0,n.fields[0].ProcessInstance)}),e),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),n[1]]}}var $,g,w}var Gg;function Zg(){return Zg=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Zg.apply(this,arguments)}const qg=function(e){return d("svg",Zg({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),Gg||(Gg=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var Yg,Jg,Xg;function Kg(){return Kg=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Kg.apply(this,arguments)}const Qg=function(e){return d("svg",Kg({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Yg||(Yg=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"})),Jg||(Jg=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"})),Xg||(Xg=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 ew,nw;function tw(){return tw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},tw.apply(this,arguments)}const rw=function(e){return d("svg",tw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ew||(ew=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"}))),nw||(nw=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var iw,ow,sw;function aw(){return aw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},aw.apply(this,arguments)}const cw=function(e){return d("svg",aw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),iw||(iw=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"})),ow||(ow=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"})),sw||(sw=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 lw,uw;function fw(){return fw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},fw.apply(this,arguments)}const dw=function(e){return d("svg",fw({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),lw||(lw=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"})),uw||(uw=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 hw,mw,pw;function $w(){return $w=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},$w.apply(this,arguments)}const gw=function(e){return d("svg",$w({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),hw||(hw=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"})),mw||(mw=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"})),pw||(pw=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 ww,vw;function yw(){return yw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},yw.apply(this,arguments)}const bw=function(e){return d("svg",yw({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ww||(ww=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"}))),vw||(vw=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};var Cw,_w,xw,kw,Iw,Sw,Ew;function Aw(){return Aw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Aw.apply(this,arguments)}const Ow=function(e){return d("svg",Aw({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),Cw||(Cw=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"})),xw||(xw=d("rect",{x:66.34,y:129.52,width:259.34,height:15.72,rx:7.8})),kw||(kw=d("rect",{x:66.48,y:178.5,width:259.2,height:15.74,rx:7.8})),Iw||(Iw=d("rect",{x:66.35,y:227.51,width:203.38,height:15.72,rx:7.78})),Sw||(Sw=d("rect",{x:66.34,y:276.52,width:112.62,height:15.48,rx:7.61})),Ew||(Ew=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 Tw extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Height","Width"]}}function Nw(e){const n=fi(e,1);return d(qg,n)}class Mw extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class Pw extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ToBeCompleted","CompletedAll"]}}function Dw(e){let n,t;if(1===e.tag?(n=0,t=e.fields[2]):(n=0,t=e.fields[3]),0===n)return t}function Rw(e,n){const t=n.state;return 1===t.tag?sn(t.fields[0],e)?new Mw(2):new Mw(1):function(e,n,t,r){let i;switch(i=Kt(e,r,{Equals:sn,GetHashCode:tn})?sn(n,e)?1:sn(t,e)?2:3:sn(n,e)?0:sn(t,e)?2:4,i){case 0:return new Mw(0);case 1:return new Mw(2);case 2:return new Mw(3);case 3:return new Mw(1);case 4:return new Mw(4)}}(e,t.fields[0],t.fields[1],t.fields[2])}function Bw(e,n,t){let r;n.dispatch((r=n.state,1===r.tag?new Ug(1,new Wg(2,e,void 0,r.fields[1],r.fields[2])):new Ug(1,new Wg(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function Lw(e,n){switch(n.tag){case 1:return function(e){const n=fi(e,1);return d(rw,n)}([new Tw(0,e),new Tw(1,e)]);case 2:return function(e){const n=fi(e,1);return d(cw,n)}([new Tw(0,e),new Tw(1,e)]);case 3:return function(e){const n=fi(e,1);return d(dw,n)}([new Tw(0,e),new Tw(1,e)]);case 4:return function(e){const n=fi(e,1);return d(gw,n)}([new Tw(0,e),new Tw(1,e)]);case 5:return null;case 6:return function(e){const n=fi(e,1);return d(bw,n)}([new Tw(0,e),new Tw(1,e)]);case 7:return function(e){const n=fi(e,1);return d(Ow,n)}([new Tw(0,e),new Tw(1,e)]);default:return function(e){const n=fi(e,1);return d(Qg,n)}([new Tw(0,e),new Tw(1,e)])}}function jw(e){const n=$r(fr((()=>{const n=Dw(e.state);return wr(Cr((t=>function(e,n,t){return d("div",dn($r(fr((()=>wr(mr(["className",it(" ",["grid","grid-cols-12","mb-3","items-center"])]),fr((()=>{let r,i,o,s,a,c;return wr(mr((r=[d("div",dn(Gt([["className",it(" ",["col-span-2","sm:col-span-3"])],(i=$r(fr((()=>{let r;return wr(mr(d("div",dn(Gt([["className",it(" ",$r(fr((()=>{switch(Rw(e,n).tag){case 4:default:return mr("fl-step-tick-to-complete");case 0:return mr("fl-step-tick-active");case 1:case 2:return mr("fl-step-tick-complete-or-editing")}}))))],(r=[Nw([["className",it(" ",$r(fr((()=>wr(mr("-mt-2"),fr((()=>wr(mr("scale-75"),fr((()=>wr(mr("inline-block"),fr((()=>{switch(Rw(e,n).tag){case 4:case 0:default:return mr("invisible");case 1:case 2:return mr("visible")}})))))))))))))]])],["children",Ir.Children.toArray(Array.from(r))])])))),fr((()=>t?hr():mr(d("div",{className:it(" ",["fl-step-tick-progress-bar"])})))))}))),["children",Ir.Children.toArray(Array.from(i))])]))),d("div",dn(Gt([["className",it(" ",["col-span-10","sm:col-span-9"])],(o=[d("button",dn(Gt([["className",it(" ",$r(fr((()=>wr(mr("whitespace-nowrap"),fr((()=>wr(mr("border"),fr((()=>wr(mr("inline-flex"),fr((()=>wr(mr("w-full"),fr((()=>wr(mr("rounded-md"),fr((()=>wr(mr("items-center"),fr((()=>{switch(Rw(e,n).tag){case 3:case 1:return mr("fl-step-btn-ready-or-complete");case 0:case 2:return mr("fl-step-btn-active-or-editing");default:return mr(Xn(qn("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(s=[d("span",dn(Gt([["className",it(" ",["mx-3","inline-block"])],(a=[Lw(36,e)],["children",Ir.Children.toArray(Array.from(a))])]))),(c=Bg(e),d("span",{children:[c]}))],["children",Ir.Children.toArray(Array.from(s))])])))],["children",Ir.Children.toArray(Array.from(o))])])))],["children",Ir.Children.toArray(Array.from(r))])),fr((()=>sn(Rw(e,n),new Mw(4))?hr():mr(["onClick",t=>{Bw(e,n)}]))))}))))))))}(t,e,sn(t,function(e){const n=function(e){e:for(;;){const n=e;if(Ot(n))return;{const t=Mt(n);if(Ot(t))return ft(Nt(n));e=t;continue e}}}(e);if(null==n)throw new Error(kt);return dt(n)}(n)))),n),fr((()=>1===e.state.tag?mr(d("button",{className:it(" ",["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:n=>{e.dispatch(new Ug(4,new oi(0)))}})):mr(null))))})));return d("div",{children:Ir.Children.toArray(Array.from(n))})}function Ww(e){return!(Lt(Dw(e.state))<=3)}function Uw(e){return Ww(e)?25:36}function Fw(e,n){return Ww(e)?wr(["text-xs"],n):n}function zw(e){let n;return d("div",dn(Gt([["className",it(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(n=$r(fr((()=>Cr((n=>function(e,n){let t;return d("div",dn(Gt([["className",it(" ",["grow","mx-1"])],(t=[d("button",dn($r(fr((()=>wr(mr(["className",it(" ",$r(fr((()=>wr(mr("whitespace-nowrap"),fr((()=>wr(mr("border"),fr((()=>wr(mr("inline-flex"),fr((()=>wr(mr("items-center"),fr((()=>wr(mr("justify-center"),fr((()=>wr(mr("w-full"),fr((()=>wr(mr("rounded-md"),fr((()=>{switch(Rw(e,n).tag){case 3:case 1:return mr("fl-step-btn-ready-or-complete");case 0:case 2:return mr("fl-step-btn-active-or-editing");default:return mr(Xn(qn("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),fr((()=>{let t,r;return wr(mr((t=[d("span",dn(Gt([["className",it(" ",["md:mr-2","inline-block"])],(r=[Lw(Uw(n),e)],["children",Ir.Children.toArray(Array.from(r))])]))),d("span",{children:Bg(e),className:it(" ",Fw(n,["hidden","md:inline-block"]))})],["children",Ir.Children.toArray(Array.from(t))])),fr((()=>sn(Rw(e,n),new Mw(4))?hr():mr(["onClick",t=>{Bw(e,n)}]))))}))))))))],["children",Ir.Children.toArray(Array.from(t))])])))}(n,e)),Dw(e.state))))),["children",Ir.Children.toArray(Array.from(n))])])))}function Vw(e){let n,t,r;const i=e.dispatch,o=e.allSteps,s=e.completedSteps,a=e.readyToCompleteStep,c=e.step;return d("div",dn(Gt([["className",it(" ",["grid","grid-cols-12","mb-1"])],(n=[d("div",{className:it(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:Ir.Children.toArray([tp]),onClick:e=>{i(new Ug(1,function(e,n,t,r){return null==n?new Wg(3,t,r):new Wg(1,e,n,t,r)}(c,a,s,o)))}}),d("div",dn(Gt([["className",it(" ",["col-span-8","text-center"])],(t=[(r=Bg(c),d("b",{children:[r]}))],["children",Ir.Children.toArray(Array.from(t))])]))),d("div",{className:it(" ",["col-span-2"])})],["children",Ir.Children.toArray(Array.from(n))])])))}class Hw extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["backend-url","access-token"]}}class Gw extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["app-base-url"]}}class Zw extends Ln{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["workflows-instance-id"]}}function qw(e){const n=e.children,t=e.effect,r=e.props,i=e.step;return Mr(t),d(1===i.tag?au.ComponentTagName:2===i.tag?cu.ComponentTagName:3===i.tag?lu.ComponentTagName:4===i.tag?uu.ComponentTagName:5===i.tag?fu.ComponentTagName:6===i.tag?hu.ComponentTagName:7===i.tag?mu.ComponentTagName:su.ComponentTagName,fi(r,1),...n)}function Yw(e){let n,t,r;return d("div",dn(Gt([["className",it(" ",["text-center"])],(n=[d("h4",{className:it(" ",["text-2xl","mb-2"]),children:"Well done!"}),d("p",dn(Gt([["className",it(" ",["mb-2"])],(t=["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",Ir.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className",it(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left","p-3"])],(r=[d(jw,e)],["children",Ir.Children.toArray(Array.from(r))])])))],["children",Ir.Children.toArray(Array.from(n))])])))}function Jw(){let e,n;return d("div",dn(Gt([["className",it(" ",["text-center"])],(e=[d("h4",{className:it(" ",["text-2xl"]),children:"You're all set!"}),(n=Gt(["You have submitted all the required information and have successfully completed your onboarding.",d("br",{}),d("p",{children:["You can now close this browser tab."]})]),d("p",{children:Ir.Children.toArray(Array.from(n))}))],["children",Ir.Children.toArray(Array.from(e))])])))}function Xw(e){let n;const t=e.accessToken,r=e.appMode,i=Ji(function(e){const n=function(e,n){if("string"!=typeof e)throw new ig("Invalid token specified");var t=!0===(n=n||{}).header?0:1;try{return JSON.parse(function(e){var n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(rg(e).replace(/(.)/g,(function(e,n){var t=n.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(n)}catch(e){return rg(n)}}(e.split(".")[t]))}catch(e){throw new ig("Invalid token specified: "+e.message)}}(e);return[new Fg(Yo(n.sub),Du(n.workflow.instanceId),new oi(0),new Wg(0),Pt(),new Pg(0)),Ai()]}(t),((e,n)=>Hg(t,r,e,n)),[]),o=i[0],s=i[1];switch(Dr(ci((()=>function(e,n){return function(e,n){return Vr.Delay((()=>{const t=zg(n,$c(new ka(1),pc(function(e){const n=0|Ru(e);return Xn(qn("%s/workflows/backend/process-instances/%i/activate"))(xs)(n)}(e))));return Vr.Bind(t,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=dl(mn(2,Tl(ro("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],Tg,(()=>[["CssOverrides",co(uo)],["ProcessInstanceDto",kg()],["IsBenefitsEnabled",fo]])),new bc(1),void 0)),e.responseText);return n=1===t.tag?new Hr(1,t.fields[0]):new Hr(0,function(e){let n;return new Eg(e.CssOverrides,(n=Ig(e.ProcessInstanceDto),1===n.tag?(()=>{throw new Error(n.fields[0])})():n.fields[0]),e.IsBenefitsEnabled)}(t.fields[0])),Vr.Return(n)}return Vr.Return(new Hr(1,"Unexpected response from backend"))}}))}))}(e,n)}(o.ProcessInstanceId,t)),(e=>{s(new Ug(0,e))})),[]),Dr((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{Lf()})):new Pf((()=>{Lf()}))).observe(document.body)}),[]),Dr((()=>{const e=[o.ProcessInstance,o.CurrentView];let n;switch(n=2===e[0].tag?2!==e[1].tag||4!==e[1].fields[0].tag&&5!==e[1].fields[0].tag?1:0:2,n){case 0:case 2:break;case 1:gs(Rt(As(r)),2,2)}}),[o.CurrentView,o.ProcessInstance]),Mr((()=>{window.addEventListener("step-completion",(e=>{s(new Ug(2,e))}))})),o.ProcessInstance.tag){case 1:default:return d("div",{children:["Please wait..."]});case 3:case 2:return d("div",dn(Gt([["className",it(" ",["max-w-7xl","mx-auto","pb-2"])],(n=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),o.CssOverrides),fr((()=>{let e,n,i,a;const c=o.CurrentView;switch(c.tag){case 1:{const n=c.fields[0],t=c.fields[1],r=c.fields[2],i=c.fields[3];return wr(mr(d("div",dn(Gt([["className",it(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(e=[d(jw,{dispatch:s,state:null==t?new Pw(1,n,r,i):new Pw(0,n,t,r,i)})],["children",Ir.Children.toArray(Array.from(e))])])))),fr((()=>(Wf(0),hr()))))}case 2:{const e=c.fields[0],i=c.fields[1],a=c.fields[2],l=c.fields[3];return mr((n=$r(fr((()=>{let n;return wr(Lt(l)>1?mr(d("div",dn(Gt([["className",it(" ",["pt-2","relative"])],(n=[d(Vw,{step:e,readyToCompleteStep:i,completedSteps:a,allSteps:l,dispatch:s}),d(zw,{dispatch:s,state:null==i?new Pw(1,e,a,l):new Pw(0,e,i,a,l)})],["children",Ir.Children.toArray(Array.from(n))])])))):hr(),fr((()=>{let n,i;return mr(d("div",dn(Gt([["className",it(" ",["grid","grid-cols-12","px-1"])],(n=[d("div",dn(Gt([["className",it(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(i=$r(fr((()=>{if(4===e.tag)return mr(d(qw,{step:new Mg(4),props:[new Hw(1,t),new Hw(0,Xn(qn("%s/super-selection/backend/v1.0/"))(xs)),new Gw(0,As(r))],effect:()=>{s(new Ug(6)),Wf(2500)},children:[]}));{const n=e;return mr(d(qw,{step:n,props:$r(fr((()=>wr(mr(new Hw(1,t)),fr((()=>wr(mr(new Hw(0,xs)),fr((()=>sn(n,new Mg(6))?mr(new Zw(0,Je(Ru(o.ProcessInstanceId)))):hr()))))))))),effect:()=>{Wf(1500)},children:[]}))}}))),["children",Ir.Children.toArray(Array.from(i))])])))],["children",Ir.Children.toArray(Array.from(n))])]))))})))}))),d("div",{children:Ir.Children.toArray(Array.from(n))})))}case 3:return wr(mr(d("div",dn(Gt([["className",it(" ",["pt-5","px-4"])],(i=[d(Yw,{dispatch:s,state:new Pw(1,void 0,c.fields[0],c.fields[1])})],["children",Ir.Children.toArray(Array.from(i))])])))),fr((()=>(Wf(0),hr()))));case 4:return wr(mr(d("div",{className:it(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),fr((()=>(Wf(0),hr()))));case 5:return mr(d("div",dn(Gt([["className",it(" ",["mt-5","px-4"])],(a=[d(Jw,null)],["children",Ir.Children.toArray(Array.from(a))])]))));default:return mr(d("div",{children:["Please wait..."]}))}})))))),["children",Ir.Children.toArray(Array.from(n))])])))}}class Kw extends jn{constructor(e,n,t){super(),this.model=e,this.render=n,this.equal=t}}class Qw extends p{constructor(e){super(e)}shouldComponentUpdate(e,n){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function ev(e,n){const t=encodeURIComponent(n.fields[0]),r=encodeURIComponent(Ss),i=encodeURIComponent((o=new Es(0),`${window.location.protocol}//${window.location.host}${As(o)}`));var o;return Vr.Delay((()=>{let e,n,o;const s=vc((n=$c(new ka(1),pc(`${_s}/connect/token`)),e=gc(dc("application/x-www-form-urlencoded"),n),wc(new Sa(1,`grant_type=authorization_code&code=${t}&client_id=${r}&redirect_uri=${i}`),e)));return o=Vr.Bind(s,(e=>Vr.Return(new Hr(0,e)))),Vr.Bind(o,(e=>{const n=e;if(1===n.tag)return Vr.Return(new Hr(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){const n=dl(mn(2,Tl(zp(),void 0,void 0)),e.responseText);return Vr.Return(n)}return Vr.Return(new Hr(1,"Unexpected result from backend"))}}))}))}function nv(e,n,t){let r;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Op(2,new Hr(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),Ai()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Op(2,new Hr(0,e.fields[0].fields[0].fields[0])),(r=window.location.pathname,Ni((e=>{gs(Rt(r),1,2)})))]):[new Op(1),Pi((e=>{Di(e)}),(e=>Vr.Delay((()=>{let n;return Vr.Bind((r=[(n=ev(0,e),Vr.Bind(n,(e=>Vr.Return(e)))),Vr.Delay((()=>Vr.Bind(ti(1500),(()=>Vr.Return()))))],t=()=>function(e){return ni((n=>e.then(n[0]).catch((e=>(e instanceof Ur?n[2]:n[1])(e)))))}(Promise.all(Array.from(r,(e=>{return n=e,new Promise(((e,r)=>ii(n,e,r,r,t||Qr)));var n,t})))),zr((e=>t()(e)))),(e=>Vr.Return(e[0])));var t,r}))),e.fields[1],(n=>{const t=[new Tp(1,n),e.fields[1]];return new Vp(0,t[0],t[1])}),(n=>{const t=[new Tp(1,new Hr(1,n.message)),e.fields[1]];return new Vp(0,t[0],t[1])}))]}function tv(){const e=ht(window.sessionStorage.getItem("credentials"));if(null!=e){const n=e,t=dl(mn(2,Tl(zp(),void 0,void 0)),n);return 1===t.tag?void 0:t.fields[0]}}function rv(e,n){const t=function(e){return[new Op(0),Mi(new Vp(0,new Tp(0),e))]}(n);return[new Q$(e.CurrentPage,t[0],e.AppMode,e.JourneyType),Oi((e=>new eg(2,e)),t[1])]}var iv;!function(e){Vi(void 0,e)}(("workflows-app",iv=Fi((function(){const e=K$(ws(window.location.pathname+window.location.search,2)),n=e[0],t=e[1],r=new Q$(n,new Op(0),t,new lp(0,new fp(void 0)));switch(n.tag){case 1:case 2:case 4:case 5:return[r,Ai()];case 0:{const e=[t,tv()];let n;switch(n=0===e[0].tag||2===e[0].tag||null==e[1]?1:0,n){case 0:return[new Q$(r.CurrentPage,new Op(2,new Hr(0,e[1])),r.AppMode,r.JourneyType),Ai()];case 1:return[r,Mi(new eg(3))]}}default:return rv(r,n.fields[0])}}),(function(e,n){switch(e.tag){case 1:{const t=e.fields[0];return rv(new Q$(new J$(3,t),n.Credentials,n.AppMode,e.fields[1]),t)}case 2:{const t=nv(e.fields[0],n.Credentials,n.AppMode),r=t[0],i=[r,n.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 n;const t=["credentials",(n=new Fp(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),jl(0,Fl(zp(),void 0,void 0,void 0)(n)))];window.sessionStorage.setItem(t[0],t[1])}(s),[new Q$(n.CurrentPage,r,n.AppMode,n.JourneyType),Oi((e=>new eg(2,e)),t[1])]}case 3:return[new Q$(new J$(5),n.Credentials,n.AppMode,n.JourneyType),Ai()];default:{const t=K$(e.fields[0])[0],r=new Q$(t,n.Credentials,n.AppMode,n.JourneyType);return 3===t.tag?rv(r,t.fields[0]):[r,Ai()]}}}),(function(e,n){let t;const r=d("div",dn(Gt([["className",it(" ",["workflows-app","font-inter"])],(t=$r(fr((()=>{const t=e.CurrentPage;switch(t.tag){case 3:return mr(d(xi,{journeyType:e.JourneyType}));case 1:return mr(d(op,{inviteCode:t.fields[0]}));case 2:return mr(d(Y$,{inviteCode:t.fields[0],navigateAuthCodeExchangePage:e=>{let t;n((t=e,new eg(1,t[0],t[1])))}}));case 4:return mr(d("h1",{children:["Not found"]}));case 5:return mr(d(ng,null));default:{const n=e.Credentials;let t,r;switch(2===n.tag&&0===n.fields[0].tag?(t=0,r=n.fields[0].fields[0]):t=1,t){case 0:return mr(d(Xw,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return mr(d("h1",{children:["Unauthorised"]}))}}}}))),["children",Ir.Children.toArray(Array.from(t))])])));return vs({hashMode:2,onUrlChanged:e=>{n(new eg(0,e))},application:d(m,{},r)})})),function(e,n,t){return zi(((r,i)=>{Ie(e((e=>n=>e===n),function(e){return $n(2,e.view)}(t),r,i),document.getElementById(n))}),t)}(((e,n,t,r)=>function(e,n,t,r){const i=new Kw(t,(()=>n(t,r)),e);return d(Qw,i)}(mn(2,e),mn(2,n),t,r)),"workflows-app",iv)))})()})();
|