@flarehr/workflows-progress-app 4.32.0 → 4.34.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see workflows-progress-app.js.LICENSE.txt */
2
- (()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,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:i,resetWarningCache:o};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 o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,o,i,a,s={},u=[],c=/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 o,i,a,s={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=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 m(t,s,o,i,null)}function m(e,n,o,i,a){var s={type:e,props:n,key:o,ref:i,__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 h(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 y(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 y(e)}}function v(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!w.__r++||i!==t.debounceRendering)&&((i=t.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=l({},o)).__v=o.__v+1,N(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?g(o):i,o.__h),O(n,o),o.__e!=i&&y(o)))}))}function b(e,t,n,r,o,i,a,c,l,f){var d,p,y,v,w,b,x,k=r&&r.__k||u,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?m(null,v,null,null,v):Array.isArray(v)?m(h,{children:v},null,null,null):v.__b>0?m(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(y=k[d])||y&&v.key==y.key&&v.type===y.type)k[d]=void 0;else for(p=0;p<S;p++){if((y=k[p])&&v.key==y.key&&v.type===y.type){k[p]=void 0;break}y=null}N(e,v,y=y||s,o,i,a,c,l,f),w=v.__e,(p=v.ref)&&y.ref!=p&&(x||(x=[]),y.ref&&x.push(y.ref,null,v),x.push(p,v.__c||w,v)),null!=w?(null==b&&(b=w),"function"==typeof v.type&&v.__k===y.__k?v.__d=l=_(v,l,e):l=C(e,v,y,k,w,l),"function"==typeof n.type&&(n.__d=l)):l&&y.__e==l&&l.parentNode!=e&&(l=g(y))}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)),T(k[d],k[d]));if(x)for(d=0;d<x.length;d++)I(x[d],x[++d],x[++d])}function _(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?_(r,t,n):C(n,r,r,o,r.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function C(e,t,n,r,o,i){var a,s,u;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,u=0;(s=s.nextSibling)&&u<r.length;u+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function k(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||c.test(t)?n:n+"px"}function S(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||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])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?M:E,i):e.removeEventListener(t,i?M:E,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function E(e){this.l[e.type+!1](t.event?t.event(e):e)}function M(e){this.l[e.type+!0](t.event?t.event(e):e)}function N(e,n,r,o,i,a,s,u,c){var f,d,m,g,y,v,w,_,x,C,k,S,E,M=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,u=n.__e=r.__e,n.__h=null,a=[u]),(f=t.__b)&&f(n);try{e:if("function"==typeof M){if(_=n.props,x=(f=M.contextType)&&o[f.__c],C=f?x?x.props.value:f.__:o,r.__c?w=(d=n.__c=r.__c).__=d.__E:("prototype"in M&&M.prototype.render?n.__c=d=new M(_,C):(n.__c=d=new p(_,C),d.constructor=M,d.render=P),x&&x.sub(d),d.props=_,d.state||(d.state={}),d.context=C,d.__n=o,m=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=M.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,M.getDerivedStateFromProps(_,d.__s))),g=d.props,y=d.state,m)null==M.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==M.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,C)||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,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,y,v)}))}if(d.context=C,d.props=_,d.__v=n,d.__P=e,k=t.__r,S=0,"prototype"in M&&M.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&&(o=l(l({},o),d.getChildContext())),m||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(g,y)),E=null!=f&&f.type===h&&null==f.key?f.props.children:f,b(e,Array.isArray(E)?E:[E],n,r,o,i,a,s,u,c),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),w&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=A(r.__e,n,r,o,i,a,s,c);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(c||null!=a)&&(n.__e=u,n.__h=!!c,a[a.indexOf(u)]=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 A(t,n,r,o,i,a,u,c){var l,d,m,h=r.props,p=n.props,y=n.type,v=0;if("svg"===y&&(i=!0),null!=a)for(;v<a.length;v++)if((l=a[v])&&"setAttribute"in l==!!y&&(y?l.localName===y:3===l.nodeType)){t=l,a[v]=null;break}if(null==t){if(null===y)return document.createTextNode(p);t=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,p.is&&p),a=null,c=!1}if(null===y)h===p||c&&t.data===p||(t.data=p);else{if(a=a&&e.call(t.childNodes),d=(h=r.props||s).dangerouslySetInnerHTML,m=p.dangerouslySetInnerHTML,!c){if(null!=a)for(h={},v=0;v<t.attributes.length;v++)h[t.attributes[v].name]=t.attributes[v].value;(m||d)&&(m&&(d&&m.__html==d.__html||m.__html===t.innerHTML)||(t.innerHTML=m&&m.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||S(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||S(e,i,t[i],n[i],r)}(t,p,h,i,c),m)n.__k=[];else if(v=n.props.children,b(t,Array.isArray(v)?v:[v],n,r,o,i&&"foreignObject"!==y,a,u,a?a[0]:r.__k&&g(r,0),c),null!=a)for(v=a.length;v--;)null!=a[v]&&f(a[v]);c||("value"in p&&void 0!==(v=p.value)&&(v!==t.value||"progress"===y&&!v||"option"===y&&v!==h.value)&&S(t,"value",v,h.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==t.checked&&S(t,"checked",v,h.checked,!1))}return t}function I(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function T(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||I(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&T(o[i],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,o){var i,a,u;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,u=[],N(r,n=(!i&&o||r).__k=d(h,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,u,!i&&o?o:a?a.__e:r.firstChild,i),O(u,n)}function j(e,t){D(e,t,j)}function R(t,n,r){var o,i,a,s=l({},t.props);for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),m(t.type,s,o||t.key,i||t.ref,null)}e=u.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},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=h,o=[],w.__r=0,a=0;var L,F,U,z,G=0,H=[],W=[],$=t.__b,B=t.__r,Y=t.diffed,V=t.__c,q=t.unmount;function J(e,n){t.__h&&t.__h(F,e,G||n),G=0;var r=F.__H||(F.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:W}),r.__[e]}function X(e){return G=1,Z(ae,e)}function Z(e,t,n){var r=J(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=F,!F.u)){F.u=!0;var o=F.shouldComponentUpdate;F.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!!a&&(!o||o.call(this,e,t,n))}}return r.__N||r.__}function Q(e,n){var r=J(L++,3);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__H.__h.push(r))}function K(e,n){var r=J(L++,4);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__h.push(r))}function ee(e,t){var n=J(L++,7);return ie(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=H.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){F=null,$&&$(e)},t.__r=function(e){B&&B(e),L=0;var t=(F=e.__c).__H;t&&(U===F?(t.__h=[],F.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=W,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(oe),t.__h=[])),U=F},t.diffed=function(e){Y&&Y(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==H.push(n)&&z===t.requestAnimationFrame||((z=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!==W&&(e.__=e.__V),e.i=void 0,e.__V=W}))),U=F=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),V&&V(e,n)},t.unmount=function(e){q&&q(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=F,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),F=t}function oe(e){var t=F;e.__c=e.__(),F=t}function ie(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 ue(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ce(e){this.props=e}(ce.prototype=new p).isPureReactComponent=!0,ce.prototype.shouldComponentUpdate=function(e,t){return ue(this.props,e)||ue(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:x(x(e).map(t))},me={map:de,forEach:de,count:function(e){return e?x(e).length:0},only:function(e){var t=x(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:x},he=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);he(e,t,n,r)};var pe=t.unmount;function ge(){this.__u=0,this.t=null,this.__b=null}function ye(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 o=ye(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=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()}},u=!0===t.__h;r.__u++||u||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 o=t.__a&&d(h,null,e.fallback);return o&&(o.__h=null),[d(h,null,t.__a?null:e.children),o]};var we=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=ye(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),we(t,e,r)):o()};n?n(i):i()}},ve.prototype.render=function(e){this.u=null,this.o=new Map;var t=x(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){we(e,n,t)}))};var xe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ce=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,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 Ee(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 Me=t.event;function Ne(){}function Oe(){return this.cancelBubble}function Ae(){return this.defaultPrevented}t.event=function(e){return Me&&(e=Me(e)),e.persist=Ne,e.isPropagationStopped=Oe,e.isDefaultPrevented=Ae,e.nativeEvent=e};var Ie,Te={configurable:!0,get:function(){return this.class}},Pe=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];ke&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Se(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&Ce.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=x(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=x(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Te.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Te))}e.$$typeof=xe,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Ie=e.__c};var je={ReactCurrentDispatcher:{current:{readContext:function(e){return Ie.__n[e.__c].props.value}}}};function Re(e){return!!e&&e.$$typeof===xe}function Le(e){e()}const Fe={useState:X,useReducer:Z,useEffect:Q,useLayoutEffect:K,useInsertionEffect:K,useTransition:function(){return[!1,Le]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=X({s:{__:n,h:t}}),o=r[0].s,i=r[1];return K((function(){o.__=n,o.h=t,o.__!==t()&&i({s:o})}),[e,n,t]),Q((function(){return o.__!==o.h()&&i({s:o}),e((function(){o.__!==o.h()&&i({s:o})}))}),[e]),n},startTransition:Le,useRef:function(e){return G=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){G=6,K((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 G=8,ee((function(){return e}),t)},useContext:function(e){var t=F.context[e.__c],n=J(L++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(F)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:me,render:Ee,hydrate:function(e,t,n){return j(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 Re(e)?R.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:h,isValidElement:Re,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ce,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ue(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:h,Suspense:ge,SuspenseList:ve,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:je};function Ue(e){return Array.isArray(e)||ArrayBuffer.isView(e)}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 $e(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new We(e[Symbol.iterator]())}function Be(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Ye{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Ve(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function qe(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 Ze(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 Ke(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function et(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 Ze(e);default:if(function(e){return"function"==typeof e.GetHashCode}(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]=et(e[r]);return Ke(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=>et(e)));return Ke(t)}return Qe(Xe.id(e))}}function tt(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 nt(e,t){return tt(e,t,rt)}function rt(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)&&nt(e,t):e instanceof Date?t instanceof Date&&0===ot(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 o=0;o<n.length;o++)if(n[o]!==r[o]||!rt(e[n[o]],t[r[o]]))return!1;return!0}(e,t)))}function ot(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+qe(e),r=t.getTime()+qe(t)),n===r?0:n<r?-1:1}function it(e,t){return e===t?0:e<t?-1:1}function at(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,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,st)}function st(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)?at(e,t):-1:e instanceof Date?t instanceof Date?ot(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 o=0,i=0;o<n.length;o++){const a=n[o];if(a!==r[o])return a<r[o]?-1:1;if(i=st(e[a],t[a]),0!==i)return i}return 0}(e,t):-1}function ut(e,t,n){return e(t,n)>0?t:n}function ct(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Xe.idMap=new WeakMap,Xe.count=0;const lt=Symbol("curried");function ft(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[lt]=t,n}function dt(e,t,n){return r=>1===t?n(...e.concat([r])):dt(e.concat([r]),t-1,n)}function mt(e,t){return null==t||1===t.length?t:lt in t?t[lt]:dt([],e,t)}function ht(e,t,n){if(null!=t){if(lt in t){t=t[lt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return dt(n,e,t)}}function pt(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+=pt(r);else{if(100===t){n+="; ...";break}n+="; "+pt(r)}t++}return n+"]"}(e);{const o=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+pt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class gt{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=pt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>pt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>et(e)));return e.splice(0,0,Qe(this.tag)),Ke(e)}Equals(e){return this===e||!!He(this,e)&&this.tag===e.tag&&nt(this.fields,e.fields)}CompareTo(e){return this===e?0:He(this,e)?this.tag===e.tag?at(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+pt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>et(e)));return Ke(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(!rt(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 o=st(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}class vt{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class wt{constructor(e){this.message=e}}function bt(e){return function(e){return e instanceof wt||e instanceof Error}(e)?e:new Error(String(e))}class _t{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return et(this.value)}Equals(e){return null!=e&&rt(this.value,e instanceof _t?e.value:e)}CompareTo(e){return null==e?1:st(this.value,e instanceof _t?e.value:e)}}function xt(e){return null==e||e instanceof _t?new _t(e):e}function Ct(e){if(null==e)throw new Error("Option has no value");return e instanceof _t?e.value:e}function kt(e){return null==e?void 0:e}function St(e){return null==e?[]:[Ct(e)]}function Et(e,t){return null!=e?Ct(e):t}function Mt(e,t){return null!=t?xt(e(Ct(t))):void 0}function Nt(e,t){return null!=t?e(Ct(t)):void 0}function Ot(){return e=st,{Compare:(t,n)=>e(t,n)};var e}function At(e,t){return"function"==typeof e?new e(t):new Array(t)}function It(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function Tt(e,t,n){const r=0|t.length,o=At(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function Pt(e,t,n){return n.reduce(e,t)}function Dt(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,a=0|n.length;if(i>a)return!1;if(i<a)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}function jt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ve(~~(e/36e5),2)+":"+Ve(n,2)}function Rt(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 Lt(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;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 i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}function Ft(e,t,n){return null!=e.offset?function(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+jt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Lt(i,t,!0);switch(t){case"D":case"d":return Rt(i,"first");case"T":case"t":return Rt(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+jt(t)}(i,null!==(o=e.offset)&&void 0!==o?o: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 Lt(e,t,n);switch(t){case"D":case"d":return n?Rt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Rt(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 Ve(e.getFullYear(),4)+"-"+Ve(e.getMonth()+1,2)+"-"+Ve(e.getDate(),2)+"T"+Ve(e.getHours(),2)+":"+Ve(e.getMinutes(),2)+":"+Ve(e.getSeconds(),2)+"."+Ve(e.getMilliseconds(),3)+(t?jt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function Ut(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function zt(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\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!=o){let e,t=0;if(null!=o[2]){const e=o[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(t+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=o[1])e=new Date(o[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 Gt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=zt(e),o=null!=r?t&&"Z"===r?1:2:0;return Ut(n.getTime(),o)}(e),!0}catch(e){return!1}}function Ht(){return Ut(Date.now(),1)}function Wt(){return function(e){return function(e,t,n,r=0,o=0,i=0,a=0,s){const u=1===s?Date.UTC(e,t-1,n,r,o,i,a):new Date(e,t-1,n,r,o,i,a).getTime();if(isNaN(u))throw new Error("The parameters describe an unrepresentable Date.");const c=Ut(u,s);return e<=99&&c.setFullYear(e,t-1,n),c}($t(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)}(Ut(Date.now(),2))}function $t(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const Bt=ot,Yt=Symbol("numeric");function Vt(e){return"number"==typeof e||(null==e?void 0:e[Yt])}function qt(e,t){return"number"==typeof e?e*t:e[Yt]().multiply(t)}function Jt(e,t){return"number"==typeof e?e.toFixed(t):e[Yt]().toFixed(t)}function Xt(e,t){return"number"==typeof e?e.toPrecision(t):e[Yt]().toPrecision(t)}function Zt(e,t){return"number"==typeof e?e.toExponential(t):e[Yt]().toExponential(t)}function Qt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Yt]().toHex()}function Kt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function en(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 o,i=-1;for(;null!=(o=e.exec(t));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}const tn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,nn=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function rn(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function on(e){return{input:e,cont:(t=e,e=>{tn.lastIndex=0;const n=[],r=[];let o=0,i=tn.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=tn.lastIndex,tn.lastIndex-=1,i=tn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),ln(e,n,r))})};var t}function an(e,t){return"string"==typeof t?e(t):t.cont(e)}function sn(e){return an((e=>e),e)}function un(e){return an((e=>{throw new Error(e)}),e)}function cn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",Vt(e))switch("x"!==o.toLowerCase()&&(rn(e,0)?(e=qt(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=Jt(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Xt(e,r):Xt(e);break;case"e":case"E":e=null!=r?Zt(e,r):Zt(e);break;case"x":e=Qt(e);break;case"X":e=Qt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Ft(e):pt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=i+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,a=o||!r?" ":"0";e="0"===a?i+(e=dn(e,n-i.length,a,o)):dn(i+e,n,a,o)}return e}function ln(e,t,n,r="",o=-1){return(...i)=>{let a=r;const s=t.slice(),u=n.slice();for(const e of i){const[,,t,n,r,i]=u[0];let c=n;if(o>=0)c=o,o=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");o=e;continue}a+=s[0],a+=cn(e,t,c,r,i),s.splice(0,1),u.splice(0,1)}return 0===u.length?(a+=s[0],e(a)):ln(e,s,u,a,o)}}function fn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function dn(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function mn(e,t,n){return dn(e,t,n)}function hn(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 o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map(Kt),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let u=!0,c=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(c).trim():e.substring(c);(!o||t.length>0)&&a.push(t),u=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&a.length+1===n?(a.push(i?e.substring(c).trim():e.substring(c)),u=!1):a.push(r)),c=s.lastIndex}}while(u);return a}function pn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const gn="Collection was empty.";class yn extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+fn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1];if(rt(n.head,r.head)){e=i,t=a;continue e}return!1}return!1}return null==o[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,a=i.tail;if(null==a)return 0|o;{const s=a;if(r>18)return 0|o;e=r+1,t=(o<<1)+et(i.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,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1],s=0|st(n.head,r.head);if(0===s){e=i,t=a;continue e}return 0|s}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new vn(this)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}}class vn{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 wn(){return new yn(null,void 0)}function bn(e,t){return new yn(e,t)}function _n(e){return null==e.tail}function xn(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 Cn(e){if(null!=e.tail)return e.head;throw new Error(gn+"\\nParameter name: list")}function kn(e){const t=e.tail;if(null!=t)return t;throw new Error(gn+"\\nParameter name: list")}function Sn(){return wn()}function En(e,t){return bn(e,t)}function Mn(e){return bn(e,wn())}function Nn(e){return _n(e)}function On(e){return xn(e)}function An(e){return Cn(e)}function In(e){return kn(e)}function Tn(e){const t=0|xn(e),n=It(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(_n(o))break;n[r]=Cn(o),e=r+1,t=kn(o)}})(0,e),n}function Pn(e,t,n){let r=t,o=n;for(;!_n(o);)r=e(r,Cn(o)),o=kn(o);return r}function Dn(e){return Pn(((e,t)=>bn(t,e)),wn(),e)}function jn(e,t){Pn(((t,n)=>{e(n)}),void 0,t)}function Rn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=bn(e[t],n);return n}function Ln(e){return Rn(e,wn())}function Fn(e,t){return Pn(((e,t)=>bn(t,e)),t,Dn(e))}function Un(e,t){let n,r;const o=wn();let i=o,a=t;for(;!_n(a);){let t=e(Cn(a));for(;!_n(t);)n=i,r=new yn(Cn(t),void 0),n.tail=r,i=r,t=kn(t);a=kn(a)}const s=i,u=wn();return s.tail=u,kn(o)}function zn(e,t){const n=wn(),r=Pn(((t,n)=>{const r=new yn(e(n),void 0);return t.tail=r,r}),n,t),o=wn();return r.tail=o,kn(n)}function Gn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(_n(n))return;{const r=e(Cn(n));if(null==r){t=kn(n);continue e}return r}}})(t)}((t=>e(t)?xt(t):void 0),t)}function Hn(e,t){const n=Tn(t);return n.sort(e),Ln(n)}const Wn="Enumeration already finished.",$n="Enumeration has not started. Call MoveNext.",Bn="The input sequence has an insufficient number of elements.";function Yn(){throw new Error($n)}function Vn(){throw new Error(Wn)}class qn{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=$e(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=pt(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 Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Jn{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 Xn(e,t,n){return new Jn(e,t,n)}function Zn(e,t,n){let r,o=!1,i=xt(e());const a=()=>{if(null!=i){const e=Ct(i);try{n(e)}finally{i=void 0}}},s=()=>{try{a()}finally{r=void 0}};return Xn((()=>(o||Yn(),null!=r?Ct(r):Vn())),(()=>{if(o||(o=!0),null!=i){const e=Ct(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function Qn(e){return function(e){return new qn(e)}(e)}function Kn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),$e(e);var t}function er(e){return Qn((()=>$e(e())))}function tr(e){return Qn((()=>function(e){let t,n,r,o=!1,i=!1;const a=()=>{if(i=!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 Xn((()=>(o?i&&Vn():Yn(),null!=r?Ct(r):Vn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=[t,n];if(null!=i[0])if(null!=i[1]){const e=i[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=xt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Ge(e)}finally{n=void 0}}else{const e=i[0];e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=$e(s)):(a(),o=!1)}else t=$e(e)}return Ct(o)}}),(()=>{i||a()}))}(e)))}function nr(e){return er((()=>function(e,t){const n=At(void 0,1);return n[0]=e,n}(e)))}function rr(e){return Ue(e)?Ln(e):e instanceof yn?e:function(e){let t,n;if(Ue(e))return Ln(e);if(e instanceof yn)return e;{const r=wn();let o=r;const i=$e(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=o,n=new yn(e,void 0),t.tail=n,o=n}}finally{Ge(i)}const a=o,s=wn();return a.tail=s,kn(r)}}(e)}function or(e,t,n){return Qn((()=>Zn(e,t,n)))}function ir(e,t,n){return Qn((()=>{let r=-1;return Zn(e,(e=>(r=r+1|0,t(r,e))),n)}))}function ar(e,t){return tr([e,t])}function sr(e,t,n){const r=Kn(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 ur(e,t,n){const r=Kn(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 cr(e,t){ur(((t,n)=>{e(n)}),void 0,t)}function lr(e,t){return or((()=>Kn(t)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?xt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))}class fr{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 dr(e){return er((()=>function(e){return e.slice().reverse()}(function(e){return e instanceof yn?Tn(e):Array.from(e)}(e))))}function mr(e,t){return Qn((()=>{const n=Kn(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Bn+"\\nParameter name: source");return function(e,t){return Xn((()=>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}}))}function hr(e,t){return er((()=>tr(lr(e,t))))}const pr=Fe,gr=e=>{Q((()=>{const t=e();return()=>{t.Dispose()}}))},yr=(e,t)=>{Q((()=>{const t=e();return()=>{t.Dispose()}}),t)},vr=e=>{K((()=>{const t=e();return()=>{t.Dispose()}}))};function wr(e){return{Dispose(){e()}}}function br(e){return pr.useState(e)}function _r(e){gr(e)}function xr(e,t){yr(e,t)}function Cr(e){!function(e,t){yr((t=>(e(),wr((()=>{})))),[])}(e)}function kr(e){return pr.useRef(e)}function Sr(e,t){const n=Et(t,[]);return pr.useMemo(e,n)}function Er(e){const t=kr(e),n=function(e,n){const r=Et([],[]);return pr.useCallback((e=>t.current(e)),r)}();var r;return r=()=>{t.current=e},vr((e=>(r(),wr((()=>{}))))),n}class Mr{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Nr{constructor(e,t,n,r,o,i,a){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=a}toString(){return Gr(this)}GetHashCode(){return Ar(this)}Equals(e){return Ir(this,e)}}function Or(e){return null!=e.generics?e.generics:[]}function Ar(e){return Ke([Ze(e.fullname),...Or(e).map(Ar)])}function Ir(e,t){return""===e.fullname?""===t.fullname&&tt(Zr(e),Zr(t),(([e,t],[n,r])=>e===n&&Ir(t,r))):e.fullname===t.fullname&&tt(Or(e),Or(t),Ir)}function Tr(e,t,n,r){return new Nr(e,t,n,r)}function Pr(e,t,n,r){return new Nr(e,t,n,void 0,r)}function Dr(e,t,n,r){const o=new Nr(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Mr(o,n,e[n],t)))}));return o}function jr(e){return new Nr("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Rr(e){return new Nr("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Lr=new Nr("System.Object"),Fr=(new Nr("Microsoft.FSharp.Core.Unit"),new Nr("System.Char"),new Nr("System.String")),Ur=(new Nr("System.Boolean"),new Nr("System.SByte"),new Nr("System.Byte"),new Nr("System.Int16"),new Nr("System.UInt16"),new Nr("System.Int32"),new Nr("System.UInt32"),new Nr("System.Single"),new Nr("System.Double"));function zr(e){if(Array.isArray(e))return e[0];if(e instanceof Nr){const t=Wr(e);if(null!=t)return zr(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Gr(e){const t=Wr(e);return null!=t?Gr(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Gr(e))).join(",")+"]"}function Hr(e){return null!=Wr(e)}function Wr(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function $r(e){return null!=e.generics&&e.generics.length>0}function Br(e){return null!=e.enumCases&&e.enumCases.length>0}function Yr(e){return null==e.generics?e:new Nr(e.fullname,e.generics.map((()=>Lr)))}function Vr(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function qr(e){if(Br(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function Jr(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 Xr(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Zr(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Qr(e){if(to(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Kr(e){return e instanceof Nr?null!=e.cases:e instanceof gt}function eo(e){return e instanceof Nr?null!=e.fields:e instanceof yt}function to(e){return e.fullname.startsWith("System.Tuple")}function no(e){return null==e.fields?[]:e.fields}new Nr("System.Decimal");class ro extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}class oo extends yt{constructor(e,t,n,r,o,i){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=o,this.token_type=i}}function io(){return Pr("Workflows.Progress.UI.Auth.Types.Credentials",[],oo,(()=>[["id_token",Fr],["access_token",Fr],["expires_in",Ur],["refresh_token",jr(Fr)],["scope",Fr],["token_type",Fr]]))}class ao extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}const so=(()=>{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 uo(e){return Mt((e=>e.passive&&!so?{capture:e.capture,once:e.once,passive:!1}:e),e)}function co(e){return Nt((e=>e.capture?{capture:!0}:void 0),e)}function lo(e,t){return 0===t.indexOf(e)?t:void 0}function fo(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 mo(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,a;return t=lo("/",e),null!=t?(n=t,"#"+n):(r=lo("#/",e),null!=r?(o=r,o):(i=lo("#",e),null!=i?(a=i,"#/"+pn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=lo("/",e),null!=t?(n=t,n):"/"+e}}(t)(fn("/",zn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function ho(e,t){return Un((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return Sn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Kt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Sn();if(null!=lo("?",t))return Mn(t);{const e=t.split("?");if(Dt(((e,t)=>e===t),e,null)||1!==e.length){if(Dt(((e,t)=>e===t),e,null)||2!==e.length)return Sn();if(""===e[1]){const t=e[0];return Mn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Ln([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Mn(decodeURIComponent(t))}}}var t}),Ln(hn(null!=lo("#",e)?pn(e,1,e.length-1):1!==t||null==fo("#",e)&&null==fo("#/",e)?e:"",["/"],null,0)))}const po=function(e,t,n,r){const o=pr.memo(e,ft(2,Et(mt(2,n),null)));return cr((t=>{e.displayName=t}),St(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return pr.createElement(o,t)}}((e=>{const t=Er((t=>{const n=Et(e.onUrlChanged,(e=>{}));!function(e,t,n){t(ho(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(Et(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,o=Sr((()=>uo(r)),[r]),i=Sr((()=>co(r)),[r]),a=Sr((()=>e=>{n(e)}),[n]);_r(Er((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return wr((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Sr((()=>uo(r)),[r]),i=Sr((()=>co(r)),[r]),a=Sr((()=>e=>{n(e)}),[n]);_r(Er((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return wr((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Sr((()=>uo(o)),[o]),a=Sr((()=>co(o)),[o]),s=Sr((()=>e=>{r(e)}),[r]);_r(Er((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return wr((()=>{if(null==a)window.removeEventListener(n,s);else{const e=a;window.removeEventListener(n,s,e)}}))})));const u=e.application;return null==u?null:u}),void 0,void 0,void 0);class go{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 yo extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,yo.prototype)}}class vo{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>vo.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function wo(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new yo);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(bt(e))}}));else try{e(t)}catch(e){t.onError(bt(e))}}}const bo=new class{Bind(e,t){return function(e,t){return wo((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(bt(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 wo((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 wo((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return wo((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 wo((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(bt(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 wo((e=>e.onSuccess(void 0)))}};class _o extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function xo(e,t){return 0===t.tag?new _o(0,e(t.fields[0])):new _o(1,t.fields[0])}class Co extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}function ko(e){}const So=new go;function Eo(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new vo;e({onSuccess:t||ko,onError:n||ko,onCancel:r||ko,cancelToken:o||So,trampoline:i})}(e,t)}(e,t)}class Mo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}const No=document.getElementById("workflows-progress-app"),Oo=No.getAttribute("data-identity-url"),Ao=No.getAttribute("data-backend-url"),Io="apollo-workflows-progress-app",To=mo(Ln(["workflows","progress","app"]),2),Po=`${window.location.protocol}//${window.location.host}${To}`;class Do extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone"]}}class jo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","AuthCodeExchange","LoggedOut"]}}function Ro(e){let t,n;if(Nn(e))t=1;else if("workflows"===An(e))if(Nn(In(e)))t=1;else if("progress"===An(In(e)))if(Nn(In(In(e))))t=1;else if("app"===An(In(In(e))))if(Nn(In(In(In(e)))))t=1;else{const r=function(e){const t=function(e){try{const t=new URLSearchParams(e);return rr(er((()=>lr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}(e);if(null!=t)return Mt((e=>e[1]),Gn((e=>"code"===e[0]),t))}(An(In(In(In(e)))));null!=r&&Nn(In(In(In(In(e)))))?(t=0,n=r):t=1}else t=1;else t=1;else t=1;switch(t){case 0:return new jo(1,new ro(0,n));case 1:return new jo(0)}}class Lo extends yt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Fo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut","ProgressComponentReadyEvent"]}}function Uo(){let e;return d("div",ct(Mn((e=[d("h4",{className:"text-2xl",children:"You have been logged out due to inactivity."})],["children",pr.Children.toArray(Array.from(e))]))))}class zo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Go extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Ho extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Wo extends yt{constructor(e,t,n,r,o,i,a,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=a,this.content=s}}class $o extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Bo extends yt{constructor(e,t,n,r,o,i){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=o,this.content=i}}class Yo{constructor(e,t){this.k=e,this.v=t}}function Vo(e,t){return new Yo(e,t)}function qo(e){return e.k}function Jo(e){return e.v}class Xo extends Yo{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function Zo(e,t,n,r,o){return new Xo(e,t,n,r,o)}function Qo(e){return e.left}function Ko(e){return e.right}function ei(e){return e.h}function ti(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Xo){e=ti(n+1,Qo(r)),t=Ko(r);continue e}return n+1|0}return 0|n}}function ni(e){return ti(0,e)}function ri(e,t,n,r){let o,i;o=null!=e?e instanceof Xo?ei(e):1:0,i=null!=r?r instanceof Xo?ei(r):1:0;const a=0|(o<i?i:o);return 0===a?Vo(t,n):Zo(t,n,e,r,a+1)}function oi(e,t,n,r){let o,i,a,s,u,c;if(u=null!=e?e instanceof Xo?ei(e):1:0,c=null!=r?r instanceof Xo?ei(r):1:0,c>u+2){const a=Ct(r);if(a instanceof Xo){if(o=Qo(a),(null!=o?(i=o,i instanceof Xo?ei(i):1):0)>u+1){const r=Ct(Qo(a));if(r instanceof Xo)return ri(ri(e,t,n,Qo(r)),qo(r),Jo(r),ri(Ko(r),qo(a),Jo(a),Ko(a)));throw new Error("internal error: Map.rebalance")}return ri(ri(e,t,n,Qo(a)),qo(a),Jo(a),Ko(a))}throw new Error("internal error: Map.rebalance")}if(u>c+2){const o=Ct(e);if(o instanceof Xo){if(a=Ko(o),(null!=a?(s=a,s instanceof Xo?ei(s):1):0)>c+1){const e=Ct(Ko(o));if(e instanceof Xo)return ri(ri(Qo(o),qo(o),Jo(o),Qo(e)),qo(e),Jo(e),ri(Ko(e),t,n,r));throw new Error("internal error: Map.rebalance")}return ri(Qo(o),qo(o),Jo(o),ri(Ko(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return ri(e,t,n,r)}function ii(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,qo(o));return o instanceof Xo?i<0?oi(ii(e,t,n,Qo(o)),qo(o),Jo(o),Ko(o)):0===i?Zo(t,n,Qo(o),Ko(o),ei(o)):oi(Qo(o),qo(o),Jo(o),ii(e,t,n,Ko(o))):i<0?Zo(t,n,void 0,r,2):0===i?Vo(t,n):Zo(t,n,r,void 0,2)}return Vo(t,n)}function ai(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=n,a=0|r.Compare(o,qo(i));if(0===a)return xt(Jo(i));if(i instanceof Xo){e=r,t=o,n=a<0?Qo(i):Ko(i);continue e}return}return}}function si(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Xo){si(n,Qo(r)),n(qo(r),Jo(r)),e=n,t=Ko(r);continue e}n(qo(r),Jo(r))}break}}function ui(e,t){si(e,t)}function ci(e,t){if(null!=t){const n=t;if(n instanceof Xo){const t=ci(e,Qo(n)),r=e(qo(n),Jo(n)),o=ci(e,Ko(n));return Zo(qo(n),r,t,o,ei(n))}return Vo(qo(n),e(qo(n),Jo(n)))}}function li(e,t){return ci(e,t)}function fi(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=t[r];n=ii(e,o[0],o[1],n)}return n}class di extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function mi(e){e:for(;;){const t=e;if(Nn(t))return Sn();{const n=In(t),r=An(t);if(null!=r){const o=r;if(o instanceof Xo){e=Rn([Qo(o),Vo(qo(o),Jo(o)),Ko(o)],n);continue e}return t}e=n;continue e}}}function hi(e){return new di(mi(Mn(e)),!1)}function pi(e){if(e.started){const t=e.stack;if(Nn(t))return function(){throw new Error("enumeration already finished")}();if(null!=An(t)){const e=An(t);if(e instanceof Xo)throw new Error("Please report error: Map iterator, unexpected stack for current");return[qo(e),Jo(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function gi(e){let t=hi(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>pi(t),"System.Collections.IEnumerator.get_Current":()=>pi(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Nn(t))return!1;if(null!=An(t)){if(An(t)instanceof Xo)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=mi(In(t)),!Nn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Nn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=hi(e)},Dispose(){}}}class yi{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=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,et(e[0])),n=0|t(n,et(e[1]))}}finally{Ge(r)}return 0|n}(this)}Equals(e){if(!(e instanceof yi))return!1;{const t=$e(this);try{const n=$e(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"](),o=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!rt(r[0],o[0])||!rt(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{Ge(n)}}finally{Ge(t)}}}toString(){return"map ["+fn("; ",lr((e=>function(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(nn,((e,n,r,o,i,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(Vt(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=Jt(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?Xt(s,i):Xt(s);break;case"e":case"E":s=null!=i?Zt(s,i):Zt(s);break;case"p":case"P":i=null!=i?i:2,s=Jt(qt(s,100),i)+" %";break;case"d":case"D":s=null!=i?mn(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?mn(Qt(s),i,"0"):Qt(s),"X"===o&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{rn(s,0)&&(s=qt(s,-1),e="-"),r=null==r?"":r.substring(1),s=Jt(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=mn(o,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>i.length?i=function(e,t,n){return dn(e,t,"0",!0)}(i,a):a<i.length&&(i=i.substring(0,a)+i.substring(a).replace(/0+$/,"")),n.indexOf(",")>0){const e=o.length%3,t=Math.floor(o.length/3);let n=e>0?o.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=o.substr(e+3*r,3)+(r<t-1?",":"");o=n}return i.length>0?o+"."+i:o})),s=e+s}}else s=s instanceof Date?Ft(s,a||o):pt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=dn(String(s),Math.abs(r)," ",r<0)),s}))}("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return gi(this.tree)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return gi(this.tree)}CompareTo(e){const t=this;if(e instanceof yi)return 0|function(e,t,n){const r=Kn(t);try{const t=Kn(n);try{let n=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&o&&i;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:o?1:i?-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:st(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 xi(this,e[0])&&rt(bi(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;ui(((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|_i(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|_i(this)}get size(){return 0|_i(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return lr((e=>[e[0],e[1]]),this)}get(e){return bi(this,e)}has(e){return xi(this,e)}keys(){return lr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return lr((e=>e[1]),this)}forEach(e,t){const n=this;cr((t=>{e(t[1],t[0],n)}),n)}}function vi(e,t){return new yi(e,t)}function wi(e){const t=Ot();return vi(t,function(e,t){if(Ue(t))return fi(e,t);if(t instanceof yn)return function(e,t){return Pn(((t,n)=>ii(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=$e(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const a=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=ii(r,a[0],a[1],o),n=i}}}(e,void 0,n)}finally{Ge(n)}}}(t,e))}function bi(e,t){return function(e,t,n){const r=ai(e,t,n);if(null==r)throw new Error;return Ct(r)}(e.comparer,t,e.tree)}function _i(e){return ni(e.tree)}function xi(e,t){return function(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=n,a=0|r.Compare(o,qo(i));if(i instanceof Xo){if(a<0){e=r,t=o,n=Qo(i);continue e}if(0===a)return!0;e=r,t=o,n=Ko(i);continue e}return 0===a}return!1}}(e.comparer,t,e.tree)}function Ci(e,t,n){return function(e,t,n){return vi(e.comparer,ii(e.comparer,t,n,e.tree))}(n,e,t)}function ki(e,t){return function(e,t){return ai(e.comparer,t,e.tree)}(t,e)}function Si(e,t){return function(e,t){return vi(e.comparer,li(t,e.tree))}(t,e)}function Ei(){return yi.empty}yi.empty=vi(Ot(),void 0);const Mi=new Wo("",new zo(0),Sn(),!1,void 0,void 0,void 0,new Ho(0));function Ni(e,t){return"string"!=typeof(n=t)||0===n.length?[t]:hn(t,[e],null,0);var n}function Oi(e){return new Wo(e,Mi.method,Mi.headers,Mi.withCredentials,Mi.overridenMimeType,Mi.overridenResponseType,Mi.timeout,Mi.content)}function Ai(e,t){return new Wo(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ii(e,t){return new Wo(t.url,t.method,Fn(t.headers,Mn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ti(e){return function(e){return wo((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,o,i,a,s,u;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,s=n.responseType,a=""===s||"text"===s?new $o(0,n.responseText):new $o("arraybuffer"===s?2:"blob"===s?1:3,n.response),u=function(e){const t=Ot();return vi(t,fi(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const o=e(t[n]);if(null!=o){const e=Ct(o);r.push(e)}}return r}((e=>{const t=Ln(Ni(":",e));return Nn(t)?void 0:[An(t).toLocaleLowerCase(),fn(":",In(t)).trim()]}),Ni("\r\n",n.getAllResponseHeaders()))),new Bo(o,e,i,n.responseURL,u,a)))};const r=$e(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 o=e.overridenMimeType;if(null==o);else{const e=o;n.overrideMimeType(e)}const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const a=e.timeout;if(null==a);else{const e=0|a;n.timeout=0|e}const s=e.content;switch(s.tag){case 1:case 3:case 2:n.send(xt(s.fields[0]));break;default:n.send()}}))}new Bo(0,"","","",Ei(),new $o(0,""));class Pi extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Di extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class ji{constructor(){this.cache=new Map([])}}function Ri(){return new ji}function Li(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Fi(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=function(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)}(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,o)+t.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],o=arguments.length,i="string"!=typeof arguments[o-1];let a=i?o-3:o-2;for(let e=0;e<a;e++)t.push(arguments[e]);t.index=arguments[a++],t.input=arguments[a++],i&&(t.groups=arguments[a]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const a=t.substring(o),s=en(e,a),u=en.length>r?(i=s[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+u.replace(e,n)+t.substring(o+u.length)}return t.replace(e,n)}(Li(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Li(t)}}Ri(),Ri();const Ui=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,zi=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Gi=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Hi(e,t){try{return t.contents=function(e){function t(e){return e.replace(zi,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ui.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+Kt(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(zi.test(n))return t(n);if(Gi.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch(e){return!1}}var Wi;function $i(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 Bi(e,t,n,r,o){try{return o.contents=function(e,t,n,r,o){const i=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;n=n||function(e,t){if(t&Wi.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 i=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(!i.test(o))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(r,n)}return null}(e,t,void 0);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=$i(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[a,s]=$i(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 Yi(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 Vi(e,t){try{return t.contents=function(e){const[t,n]=zt(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Yi(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Wi||(Wi={}));var qi=null;try{qi=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(u){}function Ji(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Xi(e){return!0===(e&&e.__isLong__)}Ji.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Ji.prototype.Equals=function(e){return Ca(this,e)},Ji.prototype.CompareTo=function(e){return Ma(this,e)},Ji.prototype.toString=function(e){return wa(this,e)},Ji.prototype.toJSON=function(){return wa(this)},Ji.prototype[Yt]=function(){const e=this;return{multiply:t=>Ia(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 wa(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Ji(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 Ji(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}}},Ji.prototype.__isLong__,Object.defineProperty(Ji.prototype,"__isLong__",{value:!0});var Zi={},Qi={};function Ki(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=Qi[e])?r:(n=ta(e,(0|e)<0?-1:0,!0),o&&(Qi[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=Zi[e])?r:(n=ta(e,e<0?-1:0,!1),o&&(Zi[e]=n),n)}function ea(e,t){if(isNaN(e))return t?la:ca;if(t){if(e<0)return la;if(e>=aa)return pa}else{if(e<=-sa)return ga;if(e+1>=sa)return ha}return e<0?Na(ea(-e,t)):ta(e%ia|0,e/ia|0,t)}function ta(e,t,n){return new Ji(e,t,n)}var na=Math.pow;function ra(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return ca;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 Na(ra(e.substring(1),t,n));for(var o=ea(na(n,8)),i=ca,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),u=parseInt(e.substring(a,a+s),n);i=Oa(s<8?Ia(i,ea(na(n,s))):i=Ia(i,o),ea(u))}return i.unsigned=t,i}function oa(e,t){return"number"==typeof e?ea(e,t):"string"==typeof e?ra(e,t):ta(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var ia=4294967296,aa=ia*ia,sa=aa/2,ua=Ki(1<<24),ca=Ki(0),la=Ki(0,!0),fa=Ki(1),da=Ki(1,!0),ma=Ki(-1),ha=ta(-1,2147483647,!1),pa=ta(-1,-1,!0),ga=ta(0,-2147483648,!1);function ya(e){return e.unsigned?e.low>>>0:e.low}function va(e){return e.unsigned?(e.high>>>0)*ia+(e.low>>>0):e.high*ia+(e.low>>>0)}function wa(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(ba(e))return"0";if(_a(e)){if(Ca(e,ga)){var n=ea(t),r=Ta(e,n),o=Aa(Ia(r,n),e);return wa(r,t)+ya(o).toString(t)}return"-"+wa(Na(e),t)}for(var i=ea(na(t,6),e.unsigned),a=e,s="";;){var u=Ta(a,i),c=(ya(Aa(a,Ia(u,i)))>>>0).toString(t);if(ba(a=u))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function ba(e){return 0===e.high&&0===e.low}function _a(e){return!e.unsigned&&e.high<0}function xa(e){return 1==(1&e.low)}function Ca(e,t){return Xi(t)||(t=oa(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function ka(e,t){return Ma(e,t)<0}function Sa(e,t){return Ma(e,t)>0}function Ea(e,t){return Ma(e,t)>=0}function Ma(e,t){if(Xi(t)||(t=oa(t)),Ca(e,t))return 0;var n=_a(e),r=_a(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:_a(Aa(e,t))?-1:1}function Na(e){return!e.unsigned&&Ca(e,ga)?ga:Oa(function(e){return ta(~e.low,~e.high,e.unsigned)}(e),fa)}function Oa(e,t){Xi(t)||(t=oa(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,u=t.low>>>16,c=0,l=0,f=0,d=0;return f+=(d+=i+(65535&t.low))>>>16,l+=(f+=o+u)>>>16,c+=(l+=r+s)>>>16,c+=n+a,ta((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(l&=65535),e.unsigned)}function Aa(e,t){return Xi(t)||(t=oa(t)),Oa(e,Na(t))}function Ia(e,t){if(ba(e))return e.unsigned?la:ca;if(Xi(t)||(t=oa(t)),qi)return ta(qi.mul(e.low,e.high,t.low,t.high),qi.get_high(),e.unsigned);if(ba(t))return e.unsigned?la:ca;if(Ca(e,ga))return xa(t)?ga:ca;if(Ca(t,ga))return xa(e)?ga:ca;if(_a(e))return _a(t)?Ia(Na(e),Na(t)):Na(Ia(Na(e),t));if(_a(t))return Na(Ia(e,Na(t)));if(ka(e,ua)&&ka(t,ua))return ea(va(e)*va(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,u=t.low>>>16,c=65535&t.low,l=0,f=0,d=0,m=0;return d+=(m+=i*c)>>>16,f+=(d+=o*c)>>>16,d&=65535,f+=(d+=i*u)>>>16,l+=(f+=r*c)>>>16,f&=65535,l+=(f+=o*u)>>>16,f&=65535,l+=(f+=i*s)>>>16,l+=n*c+r*u+o*s+i*a,ta((d&=65535)<<16|(m&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Ta(e,t){if(Xi(t)||(t=oa(t)),ba(t))throw Error("division by zero");var n,r,o;if(qi)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?ta((e.unsigned?qi.div_u:qi.div_s)(e.low,e.high,t.low,t.high),qi.get_high(),e.unsigned):e;if(ba(e))return e.unsigned?la:ca;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:ta(e.low,e.high,!0)}(t)),Sa(t,e))return la;if(Sa(t,function(e,t){if(Xi(t)&&(t=ya(t)),0==(t&=63))return e;var n=e.high;return t<32?ta(e.low>>>t|n<<32-t,n>>>t,e.unsigned):ta(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return da;o=la}else{if(Ca(e,ga))return Ca(t,fa)||Ca(t,ma)?ga:Ca(t,ga)?fa:Ca(n=function(e,t){return Xi(t)&&(t=ya(t)),0==(t&=63)?e:t<32?ta(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):ta(0,e.low<<t-32,e.unsigned)}(Ta(function(e,t){return Xi(t)&&(t=ya(t)),0==(t&=63)?e:t<32?ta(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):ta(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),ca)?_a(t)?fa:ma:o=Oa(n,Ta(r=Aa(e,Ia(t,n)),t));if(Ca(t,ga))return e.unsigned?la:ca;if(_a(e))return _a(t)?Ta(Na(e),Na(t)):Na(Ta(Na(e),t));if(_a(t))return Na(Ta(e,Na(t)));o=ca}for(r=e;Ea(r,t);){n=Math.max(1,Math.floor(va(r)/va(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),a=i<=48?1:na(2,i-48),s=ea(n),u=Ia(s,t);_a(u)||Sa(u,r);)u=Ia(s=ea(n-=a,e.unsigned),t);ba(s)&&(s=fa),o=Oa(o,s),r=Aa(r,u)}return o}const Pa=Ta,Da=va;function ja(e){return e<0?Math.ceil(e):Math.floor(e)}function Ra(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Da(Pa(arguments[0],1e4));case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function La(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 Ra(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,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,a=+t[4],s=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+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 i*Ra(n,a,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class Fa{constructor(e){this.k=e}}function Ua(e){return new Fa(e)}function za(e){return e.k}class Ga extends Fa{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Ha(e,t,n,r){return new Ga(e,t,n,r)}function Wa(e){return e.left}function $a(e){return e.right}function Ba(e){return e.h}function Ya(e,t){e:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Ga){e=Wa(r),t=Ya($a(r),n+1);continue e}return n+1|0}return 0|n}}function Va(e){return Ya(e,0)}function qa(e,t,n){let r,o;r=null!=e?e instanceof Ga?Ba(e):1:0,o=null!=n?n instanceof Ga?Ba(n):1:0;const i=0|(r<o?o:r);return 0===i?Ua(t):Ha(t,e,n,i+1)}function Ja(e,t,n){let r,o,i,a,s,u;if(s=null!=e?e instanceof Ga?Ba(e):1:0,u=null!=n?n instanceof Ga?Ba(n):1:0,u>s+2){const i=Ct(n);if(i instanceof Ga){if(r=Wa(i),(null!=r?(o=r,o instanceof Ga?Ba(o):1):0)>s+1){const n=Ct(Wa(i));if(n instanceof Ga)return qa(qa(e,t,Wa(n)),za(n),qa($a(n),za(i),$a(i)));throw new Error("internal error: Set.rebalance")}return qa(qa(e,t,Wa(i)),za(i),$a(i))}throw new Error("internal error: Set.rebalance")}if(s>u+2){const r=Ct(e);if(r instanceof Ga){if(i=$a(r),(null!=i?(a=i,a instanceof Ga?Ba(a):1):0)>u+1){const e=Ct($a(r));if(e instanceof Ga)return qa(qa(Wa(r),za(r),Wa(e)),za(e),qa($a(e),t,n));throw new Error("internal error: Set.rebalance")}return qa(Wa(r),za(r),qa($a(r),t,n))}throw new Error("internal error: Set.rebalance")}return qa(e,t,n)}function Xa(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,za(r));if(r instanceof Ga)return o<0?Ja(Xa(e,t,Wa(r)),za(r),$a(r)):0===o?n:Ja(Wa(r),za(r),Xa(e,t,$a(r)));{const o=0|e.Compare(t,za(r));return o<0?Ha(t,void 0,n,2):0===o?n:Ha(t,n,void 0,2)}}return Ua(t)}function Za(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=n,a=0|r.Compare(o,za(i));if(i instanceof Ga){if(a<0){e=r,t=o,n=Wa(i);continue e}if(0===a)return!0;e=r,t=o,n=$a(i);continue e}return 0===a}return!1}}function Qa(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Ga){Qa(n,Wa(r)),n(za(r)),e=n,t=$a(r);continue e}n(za(r))}break}}class Ka extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function es(e){e:for(;;){const t=e;if(Nn(t))return Sn();{const n=An(t),r=In(t);if(null!=n){const o=n;if(o instanceof Ga){e=Rn([Wa(o),Ua(za(o)),$a(o)],r);continue e}return t}e=r;continue e}}}function ts(e){return new Ka(es(Mn(e)),!1)}function ns(e){if(e.started){const t=e.stack;if(Nn(t))return function(){throw new Error("Enumeration already started")}();if(null!=An(t))return za(An(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function rs(e){let t=ts(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ns(t),"System.Collections.IEnumerator.get_Current":()=>ns(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Nn(t))return!1;if(null!=An(t)){if(An(t)instanceof Ga)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=es(In(t)),!Nn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Nn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=ts(e)},Dispose(){}}}function os(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n,a=[o,i];if(Nn(a[0]))return Nn(a[1])?0:-1;if(Nn(a[1]))return 1;if(null!=An(a[1]))if(null!=An(a[0])){const s=An(a[0]),u=An(a[1]);if(s instanceof Ga)if(null==Wa(s)){if(!(u instanceof Ga)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=En($a(s),In(a[0])),n=En(void 0,In(a[1]));continue e}if(null==Wa(u)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=En($a(s),In(a[0])),n=En($a(u),In(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(Nn(a[0])?Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2:null!=An(a[0])?(s=0,u=In(a[0]),c=An(a[0])):Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Rn([Wa(c),Ha(za(c),void 0,$a(c),0)],u),n=i;continue e}e=r,t=Rn([void 0,Ua(za(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Rn([Wa(f),Ha(za(f),void 0,$a(f),0)],l);continue e}e=r,t=o,n=Rn([void 0,Ua(za(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[o,i];let s,u,c,l,f;switch(Nn(a[0])?Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2:null!=An(a[0])?(s=0,u=In(a[0]),c=An(a[0])):Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Rn([Wa(c),Ha(za(c),void 0,$a(c),0)],u),n=i;continue e}e=r,t=Rn([void 0,Ua(za(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Rn([Wa(f),Ha(za(f),void 0,$a(f),0)],l);continue e}e=r,t=o,n=Rn([void 0,Ua(za(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof Ga)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=In(a[0]),n=In(a[1]);continue e}if(null==Wa(u)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=En(void 0,In(a[0])),n=En($a(u),In(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(Nn(a[0])?Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2:null!=An(a[0])?(s=0,u=In(a[0]),c=An(a[0])):Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Rn([Wa(c),Ha(za(c),void 0,$a(c),0)],u),n=i;continue e}e=r,t=Rn([void 0,Ua(za(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Rn([Wa(f),Ha(za(f),void 0,$a(f),0)],l);continue e}e=r,t=o,n=Rn([void 0,Ua(za(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{An(a[1]);const s=[o,i];let u,c,l,f,d;switch(Nn(s[0])?Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2:null!=An(s[0])?(u=0,c=In(s[0]),l=An(s[0])):Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2,u){case 0:if(l instanceof Ga){e=r,t=Rn([Wa(l),Ha(za(l),void 0,$a(l),0)],c),n=i;continue e}e=r,t=Rn([void 0,Ua(za(l))],c),n=i;continue e;case 1:if(d instanceof Ga){e=r,t=o,n=Rn([Wa(d),Ha(za(d),void 0,$a(d),0)],f);continue e}e=r,t=o,n=Rn([void 0,Ua(za(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==An(a[0])){e=r,t=In(a[0]),n=In(a[1]);continue e}{An(a[0]);const s=[o,i];let u,c,l,f,d;switch(Nn(s[0])?Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2:null!=An(s[0])?(u=0,c=In(s[0]),l=An(s[0])):Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2,u){case 0:if(l instanceof Ga){e=r,t=Rn([Wa(l),Ha(za(l),void 0,$a(l),0)],c),n=i;continue e}e=r,t=Rn([void 0,Ua(za(l))],c),n=i;continue e;case 1:if(d instanceof Ga){e=r,t=o,n=Rn([Wa(d),Ha(za(d),void 0,$a(d),0)],f);continue e}e=r,t=o,n=Rn([void 0,Ua(za(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Mn(t),Mn(n))}function is(e,t,n){let r=n;Qa((e=>{t[r]=e,r=r+1|0}),e)}function as(e,t){if(Ue(t))return function(e,t){return Pt(((t,n)=>Xa(e,n,t)),void 0,t)}(e,t);if(t instanceof yn)return function(e,t){return Pn(((t,n)=>Xa(e,n,t)),void 0,t)}(e,t);{const n=$e(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=Xa(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{Ge(n)}}}class ss{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|et(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 ss&&0===os(us(this),cs(this),cs(e))}toString(){return"set ["+fn("; ",lr((e=>pt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|os(us(this),cs(this),cs(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 Za(us(this),e,cs(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){is(cs(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|ls(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ls(this)}GetEnumerator(){return rs(cs(this))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return rs(cs(this))}get size(){return 0|ls(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 Za(us(e),t,cs(e))}(this,e)}keys(){return lr((e=>e),this)}values(){return lr((e=>e),this)}entries(){return lr((e=>[e,e]),this)}forEach(e,t){const n=this;cr((t=>{e(t,t,n)}),n)}}function us(e){return e.comparer}function cs(e){return e.tree}function ls(e){return Va(cs(e))}function fs(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 ds(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new _o(1,function(e,t){const n=2===t.tag?fs(t.fields[0],t.fields[1],!0):1===t.tag?fs(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?fs(t.fields[0],t.fields[1],!0):4===t.tag?fs(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"+fn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:fs(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new _o(0,r.fields[0])}function ms(e,t){try{return ds("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new _o(1,"Given an invalid JSON: "+e.message);throw e}}function hs(e,t){return"string"==typeof t?new _o(0,t):new _o(1,[e,new Pi(0,"a string",t)])}const ps=e=>t=>{const n="a sbyte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new _o(0,(e+128&255)-128):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!1,8,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},gs=e=>t=>{const n="a byte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new _o(0,255&e):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!0,8,new vt((()=>t),(e=>{t=e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},ys=e=>t=>{const n="an int16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new _o(0,(e+32768&65535)-32768):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!1,16,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},vs=e=>t=>{const n="an uint16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new _o(0,65535&e):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!0,16,new vt((()=>t),(e=>{t=e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},ws=e=>t=>{const n="an int",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new _o(0,~~e):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!1,32,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},bs=e=>t=>{const n="an uint32",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new _o(0,e>>>0):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!0,32,new vt((()=>t),(e=>{t=e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])};function _s(e,t,n,r){let o;const i=n+".["+Je(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,n[e]):new _o(1,[i,new Pi(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(o=n.length,Je(o)+"` entries"),r)])}return new _o(1,[i,new Pi(0,"an array",r)])}function xs(e,t,n){if(Array.isArray(n)){let r=-1;return xo(Dn,Pt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Je(r)+"]",o);return 0===i.tag?new _o(0,En(i.fields[0],n.fields[0])):new _o(1,i.fields[0])}return n}),new _o(0,Sn()),n))}return new _o(1,[t,new Pi(0,"a list",n)])}function Cs(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Pt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],a=e(t+".["+Je(r)+"]",o);return 0===a.tag?(i[r]=a.fields[0],new _o(0,i)):new _o(1,a.fields[0])}return n}),new _o(0,It(new Array(o.length),0,o.length,null)),o)}return new _o(1,[t,new Pi(0,"an array",n)])}function ks(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new _o(1,o.fields[0])}function Ss(e,t){let n;const r=e;return n=e=>t=>_s(0,r,e,t),e=>r=>ks(ft(3,(e=>{let n;const r=t;return n=e=>t=>_s(1,r,e,t),t=>r=>ks(((t,n,r)=>new _o(0,[e,t])),ft(2,n),t,r)})),ft(2,n),e,r)}function Es(e){return wi(e)}function Ms(e){return function(e,t){return new ss(e,t)}(t={Compare:st},as(t,e));var t}function Ns(e,t,n,r){let o;const i=t.length+e|0;if(i!==r.length)return new _o(1,[n,new Pi(6,(o=0|r.length,sn(on("Expected array of length %i but got %i"))(i)(o)))]);{let o=new _o(0,Sn());for(let i=e;i<=r.length-1;i++)if(0===o.tag){const a=o.fields[0],s=sn(on("%s[%i]"))(n)(i),u=t[i-e],c=r[i];o=xo((e=>En(e,a)),u(s)(c))}return xo(Dn,o)}}function Os(e,t,n,r,o,i){const a=function(e,t){return t.find((e=>zr(e)===r))}(0,Xr(n));if(null!=a){const n=a,r=Tt((n=>Is(e,t,!1,n[1])),no(n));return xo((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,Tn(e))),0===r.length&&i.length<=1?new _o(0,Sn()):Ns(1,r,o,i))}return new _o(1,[o,new Pi(6,"Cannot find case "+r+" in "+Gr(n))])}function As(e,t,n,r){const o=new vt(null);let i;const a=Gr(r);let s;if(i=""===a?e:Ci(a,o,e),eo(r)){const e=Tt((e=>[Fi(t,zr(e)),Is(i,t,!1,e[1])]),Zr(r));s=t=>n=>xo((e=>function(e,t){const n=Zr(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],o)=>(e[n]=t[o],e)),{})}(r,Tn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new _o(1,[t,new Pi(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ft(2,(e=>{const r=e[0];return o=>0===o.tag?xo((e=>En(e,o.fields[0])),e[1](t+"."+r)(n[r])):o})),e,new _o(0,Sn()))}(e,t,n))}else if(Kr(r))s=e=>n=>{if("string"==typeof n)return Os(i,t,r,n,e,[]);if(Array.isArray(n)){const s=n;return o=n=>Os(i,t,r,n,e,s),0===(a=hs(e+"[0]",s[0])).tag?o(a.fields[0]):new _o(1,a.fields[0])}return new _o(1,[e,new Pi(0,"a string or array",n)]);var o,a};else{if(!n){let e;const t=Gr(r);throw e=sn(on("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 _o(1,[e,new Pi(2,"an extra coder for "+Gr(r),t)])}return o.contents=s,s}function Is(e,t,n,r){let o,i,a,s;const u=Gr(r),c=ki(u,e);if(null==c){if(Hr(r)){const n=Is(e,t,!1,Wr(r));return e=>t=>Cs(ft(2,n),e,t)}if(Br(r)){const e=Gr(Vr(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,a=ps(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,a=gs(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,a=ys(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString(s))):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}var s};if("System.UInt16"===e)return e=>t=>{const n=r,o=e,i=t,a=vs(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,a=ws(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,Je(e))):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,a=bs(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};{const e=Gr(r),t=un(on("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($r(r)){if(to(r)){const n=Tt((n=>Is(e,t,!1,n)),Qr(r));return e=>t=>Array.isArray(t)?xo((e=>Tn(e)),Ns(0,n,e,t)):new _o(1,[e,new Pi(0,"an array",t)])}{const u=Gr(Yr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===u)return o=Is(e,t,!0,Or(r)[0]),e=>t=>{return n=ft(2,o),r=e,null==(i=t)?new _o(0,void 0):xo(xt,n(r,i));var n,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===u)return i=Is(e,t,!1,Or(r)[0]),e=>t=>xs(ft(2,i),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===u)return a=Is(e,t,!1,Or(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return xo(dr,Pt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Je(r)+"]",o);return 0===i.tag?new _o(0,ar([i.fields[0]],n.fields[0])):new _o(1,i.fields[0])}return n}),new _o(0,[]),n))}return new _o(1,[t,new Pi(0,"a seq",n)])}(ft(2,a),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===u){const n=Is(e,t,!1,Or(r)[0]),o=Is(e,t,!1,Or(r)[1]);let i;const a=Ln([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new _o(1,[n,new Pi(0,"an object",r)]):ur(((o,i)=>{if(0===o.tag){const a=e(n,i);if(0===a.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new _o(0,En([a.fields[0],e.fields[0]],o.fields[0])):new _o(1,e.fields[0])}return new _o(1,a.fields[0])}return o}),new _o(0,Sn()),Object.keys(r))}(ft(2,n),ft(2,o),e,t),(s=Ss(ft(2,n),ft(2,o)),e=>t=>xs(ft(2,s),e,t))]);return i=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(Nn(o))return new _o(1,[n,new Pi(7,i)]);{const a=ds(n,ft(2,An(o)),r);if(1===a.tag){e=In(o),t=Fn(i,Mn(a.fields[0]));continue e}return new _o(0,a.fields[0])}}})(a,Sn());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new _o(1,o.fields[0]):new _o(0,e(o.fields[0]))}(Es,ft(2,i),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===u){const n=Is(e,t,!1,Or(r)[0]);return e=>t=>{const r=Cs(ft(2,n),e,t);return 0===r.tag?new _o(0,Ms(r.fields[0])):new _o(1,r.fields[0])}}return As(e,t,n,r)}}return"System.Boolean"===u?e=>t=>{return n=e,"boolean"==typeof(r=t)?new _o(0,r):new _o(1,[n,new Pi(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===u?e=>t=>{return n=e,null==(r=t)?new _o(0,void 0):new _o(1,[n,new Pi(0,"null",r)]);var n,r}:"System.String"===u?e=>t=>hs(e,t):"System.Char"===u?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new _o(0,n[0]):new _o(1,[e,new Pi(0,"a single character string",t)])}return new _o(1,[e,new Pi(0,"a char",t)])}(e,t):"System.SByte"===u?ps:"System.Byte"===u?gs:"System.Int16"===u?ys:"System.UInt16"===u?vs:"System.Int32"===u?ws:"System.UInt32"===u?bs:"System.Double"===u?e=>t=>{return n=e,"number"==typeof(r=t)?new _o(0,r):new _o(1,[n,new Pi(0,"a float",r)]);var n,r}:"System.Single"===u?e=>t=>{return n=e,"number"==typeof(r=t)?new _o(0,r):new _o(1,[n,new Pi(0,"a float32",r)]);var n,r}:"System.DateTime"===u?e=>t=>function(e,t){if("string"==typeof t){let r,o=Ut(-621355968e5,0);return r=[Gt(t,new vt((()=>o),(e=>{o=e}))),o],r[0]?new _o(0,1===(n=r[1]).kind?n:Ut(n.getTime(),1)):new _o(1,[e,new Pi(0,"a datetime",t)])}var n;return new _o(1,[e,new Pi(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===u?e=>t=>function(e,t){if("string"==typeof t){let n,r=Yi(-621355968e5,0);return n=[Vi(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new _o(0,n[1]):new _o(1,[e,new Pi(0,"a datetimeoffset",t)])}return new _o(1,[e,new Pi(0,"a datetime",t)])}(e,t):"System.TimeSpan"===u?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[La(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new _o(0,n[1]):new _o(1,[e,new Pi(0,"a timespan",t)])}return new _o(1,[e,new Pi(0,"a timespan",t)])}(e,t):"System.Guid"===u?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[Hi(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new _o(0,n[1]):new _o(1,[e,new Pi(0,"a guid",t)])}return new _o(1,[e,new Pi(0,"a guid",t)])}(e,t):"System.Object"===u?e=>e=>new _o(0,e):As(e,t,n,r)}{const e=c;return t=>n=>e.contents(t)(n)}}function Ts(e,t,n){const r=Et(t,new Di(0));return Is(function(e){return null!=e?Si(((e,t)=>new vt(t[1])),e.Coders):Ei()}(n),r,!1,e)}class Ps extends yt{constructor(e,t,n,r,o,i,a){super(),this.Configuration=e,this.LastUpdated=t,this.Status=n,this.Invite=r,this.Creator=o,this.Profile=i,this.Tags=a}}class Ds extends yt{constructor(e,t){super(),this.Name=e,this.Steps=t}}class js extends yt{constructor(e,t){super(),this.Id=e,this.DisplayName=t}}class Rs extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Ls extends yt{constructor(e){super(),this.CompletedSteps=e}}class Fs extends yt{constructor(e,t){super(),this.Type=e,this.Date=t}}class Us extends yt{constructor(e){super(),this.DateIssued=e}}class zs extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Gs extends yt{constructor(e,t,n){super(),this.FirstName=e,this.LastName=t,this.Email=n}}class Hs extends yt{constructor(e,t,n,r){super(),this.FirstName=e,this.LastName=t,this.Email=n,this.ExternalId=r}}class Ws extends yt{constructor(e){super(),this.Data=e}}class $s{constructor(e,t){this.accessToken=t,this.backendUrl=`${e}/workflows/progress-backend`}}function Bs(e){return bo.Delay((()=>{let t,n;n=function(e,t){return function(e,t){const n=Ut(e.getTime()+t,e.kind);if(2===e.kind){const t=e.getTimezoneOffset(),r=n.getTimezoneOffset();return t!==r?Ut(n.getTime()+6e4*(r-t),e.kind):n}return n}(e,-2592e6)}(Ht()),t=Ft(n,"o");const r=(o=e,i=Ai(new zo(0),Oi(`${e.backendUrl}/instances?dateFrom=${t}`)),bo.Delay((()=>{const e=Ii((t=`Bearer ${o.accessToken}`,new Go(0,"Authorization",t)),i);var t;let n;const r=Ti(e);return n=bo.Bind(r,(e=>bo.Return(new _o(0,e)))),bo.Bind(n,(t=>{const n=t;if(1===n.tag)return bo.Return(new _o(1,n.fields[0]));{const t=n.fields[0];if(429===t.statusCode||t.statusCode>=500){const t=Ti(e);return bo.Bind(t,(e=>bo.Return(new _o(0,e))))}return bo.Return(new _o(0,t))}}))})));var o,i;return bo.Bind(r,(e=>{const t=e;if(1===t.tag)return bo.Return(new _o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=ms(ft(2,Ts(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetailList",[],Ws,(()=>[["Data",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetail",[],Ps,(()=>[["Configuration",Pr("Workflows.Api.Models.ProgressBackendModels.ProcessConfig",[],Ds,(()=>[["Name",Fr],["Steps",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessStepConfig",[],js,(()=>[["Id",Fr],["DisplayName",Fr]])))]]))],["LastUpdated",Tr("System.DateTime")],["Status",Dr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceStatus",[],Rs,(()=>[[],[["Item",Pr("Workflows.Api.Models.ProgressBackendModels.ActiveProcessInstance",[],Ls,(()=>[["CompletedSteps",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.CompletedStep",[],Fs,(()=>[["Type",Fr],["Date",Tr("System.DateTime")]])))]]))]],[["Item",Tr("System.DateTime")]],[["Item",Tr("System.DateTime")]]]))],["Invite",jr(Pr("Workflows.Api.Models.ProgressBackendModels.Invite",[],Us,(()=>[["DateIssued",Tr("System.DateTime")]])))],["Creator",jr(Pr("Workflows.Api.Models.ProgressBackendModels.Creator",[],Gs,(()=>[["FirstName",Fr],["LastName",Fr],["Email",Fr]])))],["Profile",Pr("Workflows.Api.Models.ProgressBackendModels.Profile",[],Hs,(()=>[["FirstName",Fr],["LastName",Fr],["Email",Fr],["ExternalId",jr(Fr)]]))],["Tags",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.Tag",[],zs,(()=>[["Name",Fr],["Value",Fr]])))]])))]])),new Di(1),void 0)),e.responseText);return bo.Return(t)}return bo.Return(new _o(1,"Unexpected response from backend"))}}))}))}const Ys=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)}},Vs=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 Ys}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 qs{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function Js(e,t,n){jn((n=>{try{n(t)}catch(t){e(t)}}),n)}function Xs(){return Sn()}function Zs(e,t){return zn((t=>n=>{t((t=>{n(e(t))}))}),t)}function Qs(e){return Mn((t=>{t(e)}))}function Ks(e,t,n,r,o){return Mn((i=>{e(bo.Delay((()=>{return bo.Bind((e=t(n),wo((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new Co(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new Co(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))),(e=>{const t=e;return i(1===t.tag?o(t.fields[0]):r(t.fields[0])),bo.Zero()}));var e})))}))}function eu(e,t,n,r,o){const i=function(e,t,n,r){const o=0|st(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|st(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return er((()=>{return t=i,n=e,Qn((()=>function(e,t){let n,r=t;return Xn((()=>{if(null!=n){const e=n[0];return n[1],e}return Yn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class tu extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class nu{constructor(e){this.state=new tu(0,It(new Array(ut(it,e,10)),0,ut(it,e,10),null),0)}}function ru(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new tu(0,o,n):new tu(1,o,n,i),xt(o[r])}}class ou extends yt{constructor(e,t,n,r,o,i,a){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=a}}function iu(e,t,n){return new ou(e,t,(e=>Xs()),n,ft(2,(e=>{const t=ht(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(xt(t),n)}),ft(2,(e=>e)))}function au(e,t){return new ou(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function su(e,t){const n=t.init(e),r=n[0],o=new nu(10);let i=!1,a=r;const s=ht(1,t.syncDispatch,[e=>{if(i)!function(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],a=0|n.fields[2],s=n.fields[0];s[i]=t;const u=(i+1)%s.length|0;e.state=u===a?new tu(1,(r=a,o=s,Array.from(er((()=>ar(mr(r,o),er((()=>{return ar((e=r,t=o,ir((()=>Kn(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return xt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Bn+"\\nParameter name: source")}}),(e=>{Ge(e)}))),er((()=>hr((e=>nr(null)),eu(0,1,o.length,0,((e,t)=>e+t))))));var e,t}))))))),s.length,0):new tu(1,s,u,a)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new tu(1,o,i,r)}var r,o}(o,e);else{i=!0;let n=xt(e);for(;null!=n;){const e=Ct(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),Js((n=>{t.onError([sn(on("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([sn(on("Unable to process the message: %A"))(e),n])}n=ru(o)}i=!1}}]);t.setState(r,s),Js((e=>{t.onError(["Error intitializing:",e])}),s,function(e){const t=wn();let n=t;const r=e=>{n=Pn(((e,t)=>{const n=new yn(t,void 0);return e.tail=n,n}),n,e)};if(Ue(e))e.forEach(r);else if(e instanceof yn)jn(r,e);else{const t=$e(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ge(t)}}const o=n,i=wn();return o.tail=i,kn(t)}(Ln([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),Xs()}})(),n[1]])))}class uu{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function cu(){return new uu}function lu(e,t,n,r){su(t,au(((e,t)=>{!function(e,t,n){e.state=xt(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const o=function(e){return e.state}(n);if(null!=o)return Ct(o);throw new Error("Elmish program has not initialized")}function fu(e,t){return function(e,t,n){const r=br(cu)[0],o=br((()=>lu(e,t,r))),i=o[1];return xr((()=>(function(e){return e.hasDisposedOnce}(r)&&i(lu(e,t,r)),wr((()=>{!function(e){const t=e.state;if(null!=t){const e=Ct(t);ze(e)&&Ge(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),Et(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,i),[o[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function du(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class mu{constructor(e,t){const n=new vt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();yu(n.contents,e)}}finally{Ge(r)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}GetEnumerator(){return $e(tr(this.hashMap.values()))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){yu(this,e)}"System.Collections.Generic.ICollection`1.Clear"(){pu(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return vu(this,e)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},ur(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|gu(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){return wu(this,e)}get size(){return 0|gu(this)}add(e){return yu(this,e),this}clear(){pu(this)}delete(e){return wu(this,e)}has(e){return vu(this,e)}keys(){return lr((e=>e),this)}values(){return lr((e=>e),this)}entries(){return lr((e=>[e,e]),this)}forEach(e,t){const n=this;cr((t=>{e(t,t,n)}),n)}}function hu(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[(i=e.hashMap,a=n,s=new vt((()=>o),(e=>{o=e})),!!i.has(a)&&(s.contents=i.get(a),!0)),o],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n)))]:[!1,n,-1];var i,a,s}function pu(e){e.hashMap.clear()}function gu(e){let t=0,n=$e(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 yu(e,t){const n=hu(e,t);return n[0]?!(n[2]>-1)&&(du(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function vu(e,t){const n=hu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function wu(e,t){const n=hu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return du(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function bu(e,t){return er((()=>{const n=new mu([],t);return function(e,t){return function(e,t){return or((()=>Kn(t)),(t=>{let n;for(;null==n&&t["System.Collections.IEnumerator.MoveNext"]();)n=e(t["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}),(e=>{Ge(e)}))}((t=>e(t)?xt(t):void 0),t)}((e=>function(e,t){return!t.has(e)&&(t.add(e),!0)}(e,n)),e)}))}class _u extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["All","Completed","InProgress","NotStarted"]}}function xu(e){switch(e.tag){case 1:return"Completed";case 2:return"In progress";case 3:return"Not started";default:return"All"}}class Cu extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetInstanceListCallback","SelectStatusTab"]}}class ku extends yt{constructor(e,t){super(),this.ProcessInstanceList=e,this.SelectedStatusTab=t}}function Su(e){return function(e,t){return Hn(((e,n)=>t.Compare(e,n)),e)}((t=zn((e=>e.Name),Un((e=>e.Tags),e.Data)),n={Equals:(e,t)=>e===t,GetHashCode:Ze},rr(bu(t,n))),{Compare:it});var t,n}function Eu(e,t){return rt(e,new _u(0))?t:new Ws(function(e,t){const n=wn(),r=Pn(((t,n)=>{if(e(n)){const e=new yn(n,void 0);return t.tail=e,e}return t}),n,t),o=wn();return r.tail=o,kn(n)}((t=>{let n;return rt((n=t.Status,1===n.tag?new _u(2):2===n.tag?new _u(1):3===n.tag?void 0:new _u(3)),e)}),t.Data))}function Mu(){let e;e=new CustomEvent("progressComponentReady",{}),window.dispatchEvent(e)}function Nu(){return[new ku(new Mo(0),new _u(0)),Xs()]}function Ou(e,t){if(1===e.tag)return[new ku(t.ProcessInstanceList,e.fields[0]),Xs()];{const i=e.fields[0];let a,s;switch(3===i.tag?a=1:0===i.tag?a=2:1===i.tag?a=3:1===i.fields[0].tag?a=1:(a=0,s=i.fields[0].fields[0]),a){case 0:return Mu(),[new ku(new Mo(2,new Ws((n=e=>e.LastUpdated,r=s.Data,o={Compare:Bt},Hn(((e,t)=>-1*o.Compare(n(e),n(t))),r)))),t.SelectedStatusTab),Xs()];case 1:return Mu(),[new ku(new Mo(3,new Error),t.SelectedStatusTab),Xs()];case 2:return[new ku(new Mo(0),t.SelectedStatusTab),Xs()];case 3:return[new ku(new Mo(1),t.SelectedStatusTab),Xs()]}}var n,r,o}function Au(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 Iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Au(Object(n),!0).forEach((function(t){Du(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Au(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tu(e){return Tu="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},Tu(e)}function Pu(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 Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Lu(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 Ru(e){return function(e){if(Array.isArray(e))return Fu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Lu(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 Lu(e,t){if(e){if("string"==typeof e)return Fu(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)?Fu(e,t):void 0}}function Fu(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 Uu=function(){},zu={},Gu={},Hu=null,Wu={mark:Uu,measure:Uu};try{"undefined"!=typeof window&&(zu=window),"undefined"!=typeof document&&(Gu=document),"undefined"!=typeof MutationObserver&&(Hu=MutationObserver),"undefined"!=typeof performance&&(Wu=performance)}catch(u){}var $u=(zu.navigator||{}).userAgent,Bu=void 0===$u?"":$u,Yu=zu,Vu=Gu,qu=Hu,Ju=Wu,Xu=(Yu.document,!!Vu.documentElement&&!!Vu.head&&"function"==typeof Vu.addEventListener&&"function"==typeof Vu.createElement),Zu=~Bu.indexOf("MSIE")||~Bu.indexOf("Trident/"),Qu="___FONT_AWESOME___",Ku=16,ec="fa",tc="svg-inline--fa",nc="data-fa-i2svg",rc="data-fa-pseudo-element",oc="data-fa-pseudo-element-pending",ic="data-prefix",ac="data-icon",sc="fontawesome-i2svg",uc="async",cc=["HTML","HEAD","STYLE","SCRIPT"],lc=function(){try{return!0}catch(e){return!1}}(),fc={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"},dc={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},mc={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},hc={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},pc=/fa[srltdbk]?[\-\ ]/,gc="fa-layers-text",yc=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,vc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},wc=[1,2,3,4,5,6,7,8,9,10],bc=wc.concat([11,12,13,14,15,16,17,18,19,20]),_c=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],xc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Cc=[].concat(Ru(Object.keys(dc)),["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",xc.GROUP,xc.SWAP_OPACITY,xc.PRIMARY,xc.SECONDARY]).concat(wc.map((function(e){return"".concat(e,"x")}))).concat(bc.map((function(e){return"w-".concat(e)}))),kc=Yu.FontAwesomeConfig||{};Vu&&"function"==typeof Vu.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=ju(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Vu.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(kc[r]=o)}));var Sc=Iu(Iu({},{familyPrefix:ec,styleDefault:"solid",replacementClass:tc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),kc);Sc.autoReplaceSvg||(Sc.observeMutations=!1);var Ec={};Object.keys(Sc).forEach((function(e){Object.defineProperty(Ec,e,{enumerable:!0,set:function(t){Sc[e]=t,Mc.forEach((function(e){return e(Ec)}))},get:function(){return Sc[e]}})})),Yu.FontAwesomeConfig=Ec;var Mc=[],Nc=Ku,Oc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Ac="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ic(){for(var e=12,t="";e-- >0;)t+=Ac[62*Math.random()|0];return t}function Tc(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Pc(e){return e.classList?Tc(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Dc(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function jc(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Rc(e){return e.size!==Oc.size||e.x!==Oc.x||e.y!==Oc.y||e.rotate!==Oc.rotate||e.flipX||e.flipY}var Lc=':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 Fc(){var e=ec,t=tc,n=Ec.familyPrefix,r=Ec.replacementClass,o=Lc;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var Uc=!1;function zc(){Ec.autoAddCss&&!Uc&&(function(e){if(e&&Xu){var t=Vu.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Vu.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}Vu.head.insertBefore(t,r)}}(Fc()),Uc=!0)}var Gc={mixout:function(){return{dom:{css:Fc,insertCss:zc}}},hooks:function(){return{beforeDOMElementCreation:function(){zc()},beforeI2svg:function(){zc()}}}},Hc=Yu||{};Hc[Qu]||(Hc[Qu]={}),Hc[Qu].styles||(Hc[Qu].styles={}),Hc[Qu].hooks||(Hc[Qu].hooks={}),Hc[Qu].shims||(Hc[Qu].shims=[]);var Wc=Hc[Qu],$c=[],Bc=!1;function Yc(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?Dc(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Dc(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Yc).join(""),"</").concat(t,">")}function Vc(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Xu&&((Bc=(Vu.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Vu.readyState))||Vu.addEventListener("DOMContentLoaded",(function e(){Vu.removeEventListener("DOMContentLoaded",e),Bc=1,$c.map((function(e){return e()}))})));var qc=function(e,t,n,r){var o,i,a,s=Object.keys(e),u=s.length,c=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<u;o++)a=c(a,e[i=s[o]],i,e);return a};function Jc(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function Xc(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 Zc(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Xc(t);"function"!=typeof Wc.hooks.addPack||r?Wc.styles[e]=Iu(Iu({},Wc.styles[e]||{}),o):Wc.hooks.addPack(e,Xc(t)),"fas"===e&&Zc("fa",t)}var Qc=Wc.styles,Kc=Wc.shims,el=Object.values(mc),tl=null,nl={},rl={},ol={},il={},al={},sl=Object.keys(fc);var ul,cl=function(){var e=function(e){return qc(Qc,(function(t,n,r){return t[r]=qc(n,e,{}),t}),{})};nl=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})),rl=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})),al=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 Qc||Ec.autoFetchSvg,n=qc(Kc,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e}),{names:{},unicodes:{}});ol=n.names,il=n.unicodes,tl=pl(Ec.styleDefault)};function ll(e,t){return(nl[e]||{})[t]}function fl(e,t){return(al[e]||{})[t]}function dl(e){return ol[e]||{prefix:null,iconName:null}}function ml(){return tl}ul=function(e){tl=pl(e.styleDefault)},Mc.push(ul),cl();var hl=function(){return{prefix:null,iconName:null,rest:[]}};function pl(e){var t=fc[e],n=dc[e]||dc[t],r=e in Wc.styles?e:null;return n||r||null}function gl(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==t&&t,r=null,o=e.reduce((function(e,t){var o=function(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~Cc.indexOf(n))?null:i}(Ec.familyPrefix,t);if(Qc[t]?(t=el.includes(t)?hc[t]:t,r=t,e.prefix=t):sl.indexOf(t)>-1?(r=t,e.prefix=pl(t)):o?e.iconName=o:t!==Ec.replacementClass&&e.rest.push(t),!n&&e.prefix&&e.iconName){var i="fa"===r?dl(e.iconName):{},a=fl(e.prefix,e.iconName);i.prefix&&(r=null),e.iconName=i.iconName||a||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Qc.far||!Qc.fas||Ec.autoFetchSvg||(e.prefix="fas")}return e}),hl());return"fa"!==o.prefix&&"fa"!==r||(o.prefix=ml()||"fas"),o}var yl=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 o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=Iu(Iu({},e.definitions[t]||{}),o[t]),Zc(t,o[t]);var n=mc[t];n&&Zc(n,o[t]),cl()}))}},{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],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];e[o]||(e[o]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[o][t]=a)})),e[o][i]=a})),e}}],n&&Pu(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),vl=[],wl={},bl={},_l=Object.keys(bl);function xl(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(wl[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function Cl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(wl[e]||[]).forEach((function(e){e.apply(null,n)}))}function kl(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return bl[e]?bl[e].apply(null,t):void 0}function Sl(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||ml();if(t)return t=fl(n,t)||t,Vc(El.definitions,n,t)||Vc(Wc.styles,n,t)}var El=new yl,Ml={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Xu?(Cl("beforeI2svg",e),kl("pseudoElements2svg",e),kl("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===Ec.autoReplaceSvg&&(Ec.autoReplaceSvg=!0),Ec.observeMutations=!0,e=function(){Ol({autoReplaceSvgRoot:n}),Cl("watch",t)},Xu&&(Bc?setTimeout(e,0):$c.push(e))}},Nl={noAuto:function(){Ec.autoReplaceSvg=!1,Ec.observeMutations=!1,Cl("noAuto")},config:Ec,dom:Ml,parse:{icon:function(e){if(null===e)return null;if("object"===Tu(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:fl(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=pl(e[0]);return{prefix:n,iconName:fl(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Ec.familyPrefix,"-"))>-1||e.match(pc))){var r=gl(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ml(),iconName:fl(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=ml();return{prefix:o,iconName:fl(o,e)||e}}}},library:El,findIconDefinition:Sl,toHtml:Yc},Ol=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Vu:e;(Object.keys(Wc.styles).length>0||Ec.autoFetchSvg)&&Xu&&Ec.autoReplaceSvg&&Nl.dom.i2svg({node:t})};function Al(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Yc(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Xu){var t=Vu.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Il(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,u=e.title,c=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,m=void 0!==d&&d,h=r.found?r:n,p=h.width,g=h.height,y="fak"===o,v=[Ec.replacementClass,i?"".concat(Ec.familyPrefix,"-").concat(i):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),w={children:[],attributes:Iu(Iu({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=y&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};m&&(w.attributes[nc]=""),u&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(l||Ic())},children:[u]}),delete w.attributes.title);var _=Iu(Iu({},w),{},{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Iu(Iu({},b),f.styles)}),x=r.found&&n.found?kl("generateAbstractMask",_)||{children:[],attributes:{}}:kl("generateAbstractIcon",_)||{children:[],attributes:{}},C=x.children,k=x.attributes;return _.children=C,_.attributes=k,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,a=!0===i?"".concat(t,"-").concat(Ec.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Iu(Iu({},o),{},{id:a}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(Rc(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=jc(Iu(Iu({},i),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(_)}function Tl(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,a=e.extra,s=e.watchable,u=void 0!==s&&s,c=Iu(Iu(Iu({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});u&&(c[nc]="");var l=Iu({},a.styles);Rc(o)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?Ku:n,o=e.height,i=void 0===o?Ku:o,a=e.startCentered,s=void 0!==a&&a,u="";return u+=s&&Zu?"translate(".concat(t.x/Nc-r/2,"em, ").concat(t.y/Nc-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/Nc,"em), calc(-50% + ").concat(t.y/Nc,"em)) "):"translate(".concat(t.x/Nc,"em, ").concat(t.y/Nc,"em) "),(u+="scale(".concat(t.size/Nc*(t.flipX?-1:1),", ").concat(t.size/Nc*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=jc(l);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}var Pl=Wc.styles;function Dl(e){var t=e[0],n=e[1],r=ju(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Ec.familyPrefix,"-").concat(xc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ec.familyPrefix,"-").concat(xc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Ec.familyPrefix,"-").concat(xc.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var jl={found:!1,width:512,height:512};function Rl(e,t){var n=t;return"fa"===t&&null!==Ec.styleDefault&&(t=ml()),new Promise((function(r,o){if(kl("missingIconAbstract"),"fa"===n){var i=dl(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Pl[t]&&Pl[t][e])return r(Dl(Pl[t][e]));!function(e,t){lc||Ec.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Iu(Iu({},jl),{},{icon:Ec.showMissingIcons&&e&&kl("missingIconAbstract")||{}}))}))}var Ll=function(){},Fl=Ec.measurePerformance&&Ju&&Ju.mark&&Ju.measure?Ju:{mark:Ll,measure:Ll},Ul='FA "6.1.2"',zl=function(e){Fl.mark("".concat(Ul," ").concat(e," ends")),Fl.measure("".concat(Ul," ").concat(e),"".concat(Ul," ").concat(e," begins"),"".concat(Ul," ").concat(e," ends"))},Gl={begin:function(e){return Fl.mark("".concat(Ul," ").concat(e," begins")),function(){return zl(e)}},end:zl},Hl=function(){};function Wl(e){return"string"==typeof(e.getAttribute?e.getAttribute(nc):null)}function $l(e){return Vu.createElementNS("http://www.w3.org/2000/svg",e)}function Bl(e){return Vu.createElement(e)}function Yl(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?$l:Bl:t;if("string"==typeof e)return Vu.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(Yl(e,{ceFn:n}))})),r}var Vl={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Yl(e),t)})),null===t.getAttribute(nc)&&Ec.keepOriginalSource){var n=Vu.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(~Pc(t).indexOf(Ec.replacementClass))return Vl.replace(e);var r=new RegExp("".concat(Ec.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Ec.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=n.map((function(e){return Yc(e)})).join("\n");t.setAttribute(nc,""),t.innerHTML=i}};function ql(e){e()}function Jl(e,t){var n="function"==typeof t?t:Hl;if(0===e.length)n();else{var r=ql;Ec.mutateApproach===uc&&(r=Yu.requestAnimationFrame||ql),r((function(){var t=!0===Ec.autoReplaceSvg?Vl.replace:Vl[Ec.autoReplaceSvg]||Vl.replace,r=Gl.begin("mutate");e.map(t),r(),n()}))}}var Xl=!1;function Zl(){Xl=!0}function Ql(){Xl=!1}var Kl=null;function ef(e){if(qu&&Ec.observeMutations){var t=e.treeCallback,n=void 0===t?Hl:t,r=e.nodeCallback,o=void 0===r?Hl:r,i=e.pseudoElementsCallback,a=void 0===i?Hl:i,s=e.observeMutationsRoot,u=void 0===s?Vu:s;Kl=new qu((function(e){if(!Xl){var t=ml();Tc(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Wl(e.addedNodes[0])&&(Ec.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Ec.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Wl(e.target)&&~_c.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(ic):null,n=e.getAttribute?e.getAttribute(ac):null;return t&&n}(e.target)){var r=gl(Pc(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(ic,i||t),s&&e.target.setAttribute(ac,s)}else(u=e.target)&&u.classList&&u.classList.contains&&u.classList.contains(Ec.replacementClass)&&o(e.target);var u}))}})),Xu&&Kl.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",a=gl(Pc(e));return a.prefix||(a.prefix=ml()),r&&o&&(a.prefix=r,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(rl[t]||{})[n]||ll(a.prefix,Jc(e.innerText)))),!a.iconName&&Ec.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}(e),r=n.iconName,o=n.prefix,i=n.rest,a=function(e){var t=Tc(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 Ec.autoA11y&&(n?t["aria-labelledby"]="".concat(Ec.replacementClass,"-title-").concat(r||Ic()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),s=xl("parseNodeAttributes",{},e),u=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}(e):[];return Iu({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Oc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:a}},s)}var nf=Wc.styles;function rf(e){var t="nest"===Ec.autoReplaceSvg?tf(e,{styleParser:!1}):tf(e);return~t.extra.classes.indexOf(gc)?kl("generateLayersText",e,t):kl("generateSvgReplacementMutation",e,t)}function of(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Xu)return Promise.resolve();var n=Vu.documentElement.classList,r=function(e){return n.add("".concat(sc,"-").concat(e))},o=function(e){return n.remove("".concat(sc,"-").concat(e))},i=Ec.autoFetchSvg?Object.keys(fc):Object.keys(nf);i.includes("fa")||i.push("fa");var a=[".".concat(gc,":not([").concat(nc,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(nc,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Tc(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var u=Gl.begin("onTree"),c=s.reduce((function(e,t){try{var n=rf(t);n&&e.push(n)}catch(e){lc||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Jl(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),u(),e()}))})).catch((function(e){u(),n(e)}))}))}function af(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;rf(e).then((function(e){e&&Jl([e],t)}))}var sf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Oc:n,o=t.symbol,i=void 0!==o&&o,a=t.mask,s=void 0===a?null:a,u=t.maskId,c=void 0===u?null:u,l=t.title,f=void 0===l?null:l,d=t.titleId,m=void 0===d?null:d,h=t.classes,p=void 0===h?[]:h,g=t.attributes,y=void 0===g?{}:g,v=t.styles,w=void 0===v?{}:v;if(e){var b=e.prefix,_=e.iconName,x=e.icon;return Al(Iu({type:"icon"},e),(function(){return Cl("beforeDOMElementCreation",{iconDefinition:e,params:t}),Ec.autoA11y&&(f?y["aria-labelledby"]="".concat(Ec.replacementClass,"-title-").concat(m||Ic()):(y["aria-hidden"]="true",y.focusable="false")),Il({icons:{main:Dl(x),mask:s?Dl(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Iu(Iu({},Oc),r),symbol:i,title:f,maskId:c,titleId:m,extra:{attributes:y,styles:w,classes:p}})}))}},uf={mixout:function(){return{icon:(e=sf,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Sl(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:Sl(o||{})),e(r,Iu(Iu({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=of,e.nodeCallback=af,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Vu:t,r=e.callback;return of(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,i=t.prefix,a=t.transform,s=t.symbol,u=t.mask,c=t.maskId,l=t.extra;return new Promise((function(t,f){Promise.all([Rl(n,i),u.iconName?Rl(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(u){var f=ju(u,2),d=f[0],m=f[1];t([e,Il({icons:{main:d,mask:m},prefix:i,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:o,extra:l,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.transform,a=jc(e.styles);return a.length>0&&(r.style=a),Rc(i)&&(t=kl("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},cf={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 Al({type:"layer"},(function(){Cl("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(Ec.familyPrefix,"-layers")].concat(Ru(r)).join(" ")},children:n}]}))}}}},lf={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,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,u=t.styles,c=void 0===u?{}:u;return Al({type:"counter",content:e},(function(){return Cl("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=Iu(Iu(Iu({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=jc(r.styles);i.length>0&&(o.style=i);var a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(Ec.familyPrefix,"-layers-counter")].concat(Ru(i))}})}))}}}},ff={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Oc:n,o=t.title,i=void 0===o?null:o,a=t.classes,s=void 0===a?[]:a,u=t.attributes,c=void 0===u?{}:u,l=t.styles,f=void 0===l?{}:l;return Al({type:"text",content:e},(function(){return Cl("beforeDOMElementCreation",{content:e,params:t}),Tl({content:e,transform:Iu(Iu({},Oc),r),title:i,extra:{attributes:c,styles:f,classes:["".concat(Ec.familyPrefix,"-layers-text")].concat(Ru(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(Zu){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();i=u.width/s,a=u.height/s}return Ec.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,Tl({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},df=new RegExp('"',"ug"),mf=[1105920,1112319];function hf(e,t){var n="".concat(oc).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var i,a,s,u=Tc(e.children).filter((function(e){return e.getAttribute(rc)===t}))[0],c=Yu.getComputedStyle(e,t),l=c.getPropertyValue("font-family").match(yc),f=c.getPropertyValue("font-weight"),d=c.getPropertyValue("content");if(u&&!l)return e.removeChild(u),r();if(l&&"none"!==d&&""!==d){var m=c.getPropertyValue("content"),h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?dc[l[2].toLowerCase()]:vc[f],p=function(e){var t=e.replace(df,""),n=function(e,t){var n,r=e.length,o=e.charCodeAt(0);return o>=55296&&o<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o}(t),r=n>=mf[0]&&n<=mf[1],o=2===t.length&&t[0]===t[1];return{value:Jc(o?t[0]:t),isSecondary:r||o}}(m),g=p.value,y=p.isSecondary,v=l[0].startsWith("FontAwesome"),w=ll(h,g),b=w;if(v){var _=(a=il[i=g],s=ll("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(w=_.iconName,h=_.prefix)}if(!w||y||u&&u.getAttribute(ic)===h&&u.getAttribute(ac)===b)r();else{e.setAttribute(n,b),u&&e.removeChild(u);var x={iconName:null,title:null,titleId:null,prefix:null,transform:Oc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=x.extra;C.attributes[rc]=t,Rl(w,h).then((function(o){var i=Il(Iu(Iu({},x),{},{icons:{main:o,mask:hl()},prefix:h,iconName:b,extra:C,watchable:!0})),a=Vu.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=i.map((function(e){return Yc(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function pf(e){return Promise.all([hf(e,"::before"),hf(e,"::after")])}function gf(e){return!(e.parentNode===document.head||~cc.indexOf(e.tagName.toUpperCase())||e.getAttribute(rc)||e.parentNode&&"svg"===e.parentNode.tagName)}function yf(e){if(Xu)return new Promise((function(t,n){var r=Tc(e.querySelectorAll("*")).filter(gf).map(pf),o=Gl.begin("searchPseudoElements");Zl(),Promise.all(r).then((function(){o(),Ql(),t()})).catch((function(){o(),Ql(),n()}))}))}var vf=!1,wf=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},bf={mixout:function(){return{parse:{transform:function(e){return wf(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=wf(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,i={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),") "),u="rotate(".concat(n.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(u)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Iu({},c.outer),children:[{tag:"g",attributes:Iu({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Iu(Iu({},t.icon.attributes),c.path)}]}]}}}},_f={x:0,y:0,width:"100%",height:"100%"};function xf(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 Cf,kf={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?gl(n.split(" ").map((function(e){return e.trim()}))):hl();return r.prefix||(r.prefix=ml()),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,o=e.main,i=e.mask,a=e.maskId,s=e.transform,u=o.width,c=o.icon,l=i.width,f=i.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="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(o," ").concat(i," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:l,iconWidth:u}),m={tag:"rect",attributes:Iu(Iu({},_f),{},{fill:"white"})},h=c.children?{children:c.children.map(xf)}:{},p={tag:"g",attributes:Iu({},d.inner),children:[xf(Iu({tag:c.tag,attributes:Iu(Iu({},c.attributes),d.path)},h))]},g={tag:"g",attributes:Iu({},d.outer),children:[p]},y="mask-".concat(a||Ic()),v="clip-".concat(a||Ic()),w={tag:"mask",attributes:Iu(Iu({},_f),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=f,"g"===t.tag?t.children:[t])},w]};return n.push(b,{tag:"rect",attributes:Iu({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},_f)}),{children:n,attributes:r}}}},Sf={provides:function(e){var t=!1;Yu.matchMedia&&(t=Yu.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:Iu(Iu({},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 o=Iu(Iu({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Iu(Iu({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Iu(Iu({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Iu(Iu({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Iu(Iu({},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:Iu(Iu({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Iu(Iu({},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:Iu(Iu({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Ef=[Gc,uf,cf,lf,ff,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=yf,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Vu:t;Ec.searchPseudoElements&&yf(n)}}},{mixout:function(){return{dom:{unwatch:function(){Zl(),vf=!0}}}},hooks:function(){return{bootstrap:function(){ef(xl("mutationObserverCallbacks",{}))},noAuto:function(){Kl&&Kl.disconnect()},watch:function(e){var t=e.observeMutationsRoot;vf?Ql():ef(xl("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},bf,kf,Sf,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];Cf={mixoutsTo:Nl}.mixoutsTo,vl=Ef,wl={},Object.keys(bl).forEach((function(e){-1===_l.indexOf(e)&&delete bl[e]})),vl.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(Cf[e]=t[e]),"object"===Tu(t[e])&&Object.keys(t[e]).forEach((function(n){Cf[e]||(Cf[e]={}),Cf[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){wl[e]||(wl[e]=[]),wl[e].push(n[e])}))}e.provides&&e.provides(bl)})),Nl.noAuto,Nl.config,Nl.library,Nl.dom;var Mf=Nl.parse,Nf=(Nl.findIconDefinition,Nl.toHtml,Nl.icon),Of=(Nl.layer,Nl.text,Nl.counter,n(697)),Af=n.n(Of);function If(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 Tf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?If(Object(n),!0).forEach((function(t){Df(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pf(e){return Pf="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},Pf(e)}function Df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jf(e){return function(e){if(Array.isArray(e))return Rf(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 Rf(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)?Rf(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 Rf(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 Lf(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 Ff=["style"],Uf=!1;try{Uf=!0}catch(u){}function zf(e){return e&&"object"===Pf(e)&&e.prefix&&e.iconName&&e.icon?e:Mf.icon?Mf.icon(e):null===e?null:e&&"object"===Pf(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 Gf(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Df({},e,t):{}}var Hf=Fe.forwardRef((function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,s=e.titleId,u=e.maskId,c=zf(n),l=Gf("classes",[].concat(jf(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,u=e.spin,c=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,m=e.inverse,h=e.border,p=e.listItem,g=e.flip,y=e.size,v=e.rotation,w=e.pull,b=(Df(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":m,"fa-border":h,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(y),null!=y),Df(t,"fa-rotate-".concat(v),null!=v&&0!==v),Df(t,"fa-pull-".concat(w),null!=w),Df(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)),jf(i.split(" ")))),f=Gf("transform","string"==typeof e.transform?Mf.transform(e.transform):e.transform),d=Gf("mask",zf(r)),m=Nf(c,Tf(Tf(Tf(Tf({},l),f),d),{},{symbol:o,title:a,titleId:s,maskId:u}));if(!m)return function(){var e;!Uf&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=m.abstract,p={ref:t};return Object.keys(e).forEach((function(t){Hf.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Wf(h[0],p)}));Hf.displayName="FontAwesomeIcon",Hf.propTypes={beat:Af().bool,border:Af().bool,beatFade:Af().bool,bounce:Af().bool,className:Af().string,fade:Af().bool,flash:Af().bool,mask:Af().oneOfType([Af().object,Af().array,Af().string]),maskId:Af().string,fixedWidth:Af().bool,inverse:Af().bool,flip:Af().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Af().oneOfType([Af().object,Af().array,Af().string]),listItem:Af().bool,pull:Af().oneOf(["right","left"]),pulse:Af().bool,rotation:Af().oneOf([0,90,180,270]),shake:Af().bool,size:Af().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Af().bool,spinPulse:Af().bool,spinReverse:Af().bool,symbol:Af().oneOfType([Af().bool,Af().string]),title:Af().string,titleId:Af().string,transform:Af().oneOfType([Af().string,Af().object]),swapOpacity:Af().bool},Hf.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 Wf=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Lf(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Lf(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(r,Ff);return i.attrs.style=Tf(Tf({},i.attrs.style),s),t.apply(void 0,[n.tag,Tf(Tf({},i.attrs),u)].concat(jf(o)))}.bind(null,Fe.createElement),$f={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"]},Bf={prefix:"fas",iconName:"square-pen",icon:[448,512,["pen-square","pencil-square"],"f14b","M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM325.8 139.7C310.1 124.1 284.8 124.1 269.2 139.7L247.8 161.1L318.7 232.1L340.1 210.7C355.8 195 355.8 169.7 340.1 154.1L325.8 139.7zM111.5 303.8L96.48 363.1C95.11 369.4 96.71 375.2 100.7 379.2C104.7 383.1 110.4 384.7 115.9 383.4L176 368.3C181.6 366.9 186.8 364 190.9 359.9L296.1 254.7L225.1 183.8L119.9 288.1C115.8 293.1 112.9 298.2 111.5 303.8z"]};function Yf(e){return d(Hf,e)}const Vf=Yf({icon:{prefix:"fas",iconName:"user",icon:[448,512,[62144,128100],"f007","M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"]}}),qf=Yf({icon:$f}),Jf=Yf({icon:Bf}),Xf=Yf({icon:{prefix:"fas",iconName:"hourglass-start",icon:[384,512,["hourglass-1"],"f251","M352 0C369.7 0 384 14.33 384 32C384 49.67 369.7 64 352 64V74.98C352 117.4 335.1 158.1 305.1 188.1L237.3 256L305.1 323.9C335.1 353.9 352 394.6 352 437V448C369.7 448 384 462.3 384 480C384 497.7 369.7 512 352 512H32C14.33 512 0 497.7 0 480C0 462.3 14.33 448 32 448V437C32 394.6 48.86 353.9 78.86 323.9L146.7 256L78.86 188.1C48.86 158.1 32 117.4 32 74.98V64C14.33 64 0 49.67 0 32C0 14.33 14.33 0 32 0H352zM259.9 369.1L192 301.3L124.1 369.1C106.1 387.1 96 411.6 96 437V448H288V437C288 411.6 277.9 387.1 259.9 369.1V369.1z"]}});var Zf={};function Qf(){return Zf}var Kf={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function ed(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const td={date:ed({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ed({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ed({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var nd={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function rd(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const od={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:rd({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:rd({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:rd({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:rd({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:rd({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function id(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].test(s))return n}(u):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n].test(s))return n}(u);return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(s.length)}}}var ad,sd={ordinalNumber:(ad={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(ad.matchPattern);if(!n)return null;var r=n[0],o=e.match(ad.parsePattern);if(!o)return null;var i=ad.valueCallback?ad.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:id({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:id({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:id({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:id({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:id({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const ud={code:"en-US",formatDistance:function(e,t,n){var r,o=Kf[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:td,formatRelative:function(e,t,n,r){return nd[e]},localize:od,match:sd,options:{weekStartsOn:0,firstWeekContainsDate:1}};var cd=["years","months","weeks","days","hours","minutes","seconds"];function ld(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function fd(e){ld(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function dd(e,t){ld(2,arguments);var n=fd(e),r=fd(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function md(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function hd(e,t){if(ld(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var n=t.years?md(t.years):0,r=t.months?md(t.months):0,o=t.weeks?md(t.weeks):0,i=t.days?md(t.days):0,a=t.hours?md(t.hours):0,s=t.minutes?md(t.minutes):0,u=t.seconds?md(t.seconds):0,c=fd(e),l=r||n?function(e,t){ld(2,arguments);var n=fd(e),r=md(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());return i.setMonth(n.getMonth()+r+1,0),o>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}(c,r+12*n):c,f=i||o?function(e,t){ld(2,arguments);var n=fd(e),r=md(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}(l,i+7*o):l,d=1e3*(u+60*(s+60*a));return new Date(f.getTime()+d)}function pd(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function gd(e){ld(1,arguments);var t=fd(e);return t.setHours(0,0,0,0),t}var yd=864e5;function vd(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}Math.pow(10,8);var wd=6e4,bd=36e5;function _d(e,t){return ld(2,arguments),fd(e).getTime()-fd(t).getTime()}var xd={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},Cd="trunc";function kd(e){return e?xd[e]:xd[Cd]}function Sd(e,t){ld(2,arguments);var n,r=fd(e),o=fd(t),i=dd(r,o),a=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,o));if(a<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);var s=dd(r,o)===-i;(function(e){ld(1,arguments);var t=fd(e);return function(e){ld(1,arguments);var t=fd(e);return t.setHours(23,59,59,999),t}(t).getTime()===function(e){ld(1,arguments);var t=fd(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}(t).getTime()})(fd(e))&&1===a&&1===dd(e,o)&&(s=!1),n=i*(a-Number(s))}return 0===n?0:n}function Ed(e){ld(1,arguments);var t=fd(e.start),n=fd(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t),o=dd(n,r),i=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t);return n.getFullYear()-r.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=dd(n,r)===-o,s=o*(i-Number(a));return 0===s?0:s}(n,t));var o=dd(n,t),i=hd(t,{years:o*r.years});r.months=Math.abs(Sd(n,i));var a=hd(i,{months:o*r.months});r.days=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t),o=vd(n,r),i=Math.abs(function(e,t){ld(2,arguments);var n=gd(e),r=gd(t),o=n.getTime()-pd(n),i=r.getTime()-pd(r);return Math.round((o-i)/yd)}(n,r));n.setDate(n.getDate()-o*i);var a=o*(i-Number(vd(n,r)===-o));return 0===a?0:a}(n,a));var s=hd(a,{days:o*r.days});r.hours=Math.abs(function(e,t,n){ld(2,arguments);var r=_d(e,t)/bd;return kd(null==n?void 0:n.roundingMethod)(r)}(n,s));var u=hd(s,{hours:o*r.hours});r.minutes=Math.abs(function(e,t,n){ld(2,arguments);var r=_d(e,t)/wd;return kd(null==n?void 0:n.roundingMethod)(r)}(n,u));var c=hd(u,{minutes:o*r.minutes});return r.seconds=Math.abs(function(e,t,n){ld(2,arguments);var r=_d(e,t)/1e3;return kd(null==n?void 0:n.roundingMethod)(r)}(n,c)),r}function Md(e){const t=Ht();if(Bt(e,t)>0)return"1 minute ago";{const n=function(e,t){var n,r,o,i,a;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var s=Qf(),u=null!==(n=null!==(r=null==t?void 0:t.locale)&&void 0!==r?r:s.locale)&&void 0!==n?n:ud,c=null!==(o=null==t?void 0:t.format)&&void 0!==o?o:cd,l=null!==(i=null==t?void 0:t.zero)&&void 0!==i&&i,f=null!==(a=null==t?void 0:t.delimiter)&&void 0!==a?a:" ";if(!u.formatDistance)return"";var d=c.reduce((function(t,n){var r="x".concat(n.replace(/(^.)/,(function(e){return e.toUpperCase()}))),o=e[n];return"number"==typeof o&&(l||e[n])?t.concat(u.formatDistance(r,o)):t}),[]).join(f);return d}(function(e){return e.years>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:e.years}:e.months>0?{days:0,hours:0,minutes:0,months:e.months,seconds:0,weeks:0,years:0}:e.weeks>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:e.weeks,years:0}:e.days>0?{days:e.days,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:0}:e.hours>0?{days:0,hours:e.hours,minutes:0,months:0,seconds:0,weeks:0,years:0}:e.minutes>0?{days:0,hours:0,minutes:e.minutes,months:0,seconds:0,weeks:0,years:0}:e.seconds>0?{days:0,hours:0,minutes:0,months:0,seconds:e.seconds,weeks:0,years:0}:{days:0,hours:0,minutes:1,months:0,seconds:0,weeks:0,years:0}}(Ed({end:t,start:e})));return`${n} ago`}}function Nd(e){let t;const n=e=>d("td",{className:"px-6 py-4 whitespace-nowrap",children:pr.Children.toArray(Array.from(e))}),r=e=>d("div",{className:"text-sm text-gray-500",children:e}),o=e=>n([r(e)]),i=(e,t)=>n([d("div",{className:"text-sm text-gray-900",children:e}),r(t)]),a=o("---"),s=Su(e);return d("tbody",ct(Ln([["className","bg-white divide-y divide-gray-200"],(t=rr(er((()=>hr((e=>{let t,u;const c=0|On(e.Configuration.Steps);return u=1===c?"1 step":`${c} steps`,nr(d("tr",ct(Ln([["className","hover:bg-gray-50"],(t=rr(er((()=>{let t;return ar((t=e.Profile.ExternalId,nr(null==t?a:o(t))),er((()=>{let t;return ar(nr((t=`${e.Profile.FirstName} ${e.Profile.LastName}`,n([d("div",{className:"text-sm font-medium text-gray-900",children:t}),r(e.Profile.Email)]))),er((()=>{let t,r;return ar((t=e.Creator,null==t?nr(a):(r=t,nr(i(`${r.FirstName} ${r.LastName}`,r.Email)))),er((()=>{let t,r,c,l;return ar(nr((t=e,r=function(e){switch(e.Status.tag){case 1:return"In progress";case 2:return"Completed";case 3:return"Abandoned";default:return"Not started"}}(t),l=t.Status,c=1===l.tag?"bg-blue-100 text-blue-800":2===l.tag?"bg-green-100 text-green-800":3===l.tag?"bg-gray-100 text-gray-800":"bg-yellow-100 text-yellow-800",n([d("span",{className:fn(" ",["px-2 inline-flex text-xs leading-5 font-semibold rounded",c]),children:r})]))),er((()=>ar(hr((t=>{const n=Gn((e=>e.Name===t),e.Tags);return nr(null==n?a:o(n.Value))}),s),er((()=>ar(nr(i(e.Configuration.Name,u)),er((()=>{let t;return ar((t=e.Invite,nr(null==t?a:o(Md(t.DateIssued)))),er((()=>ar(nr(o(Md(e.LastUpdated))),er((()=>nr(o(function(e){const t=e.Status;switch(t.tag){case 1:{const n=function(e){e:for(;;){const t=e;if(_n(t))return;{const n=kn(t);if(_n(n))return xt(Cn(t));e=n;continue e}}}(t.fields[0].CompletedSteps);if(null!=n){const t=n,r=Gn((e=>e.Id===t.Type),e.Configuration.Steps);return null==r?"A step was completed":`${r.DisplayName} step completed`}return"Workflow started"}case 2:return"Workflow completed";case 3:return"Workflow abandoned";default:return null==e.Invite?"Workflow created":"Invite sent"}}(e)))))))))})))))))))})))})))})))}))),["children",pr.Children.toArray(Array.from(t))])]))))}),e.Data)))),["children",pr.Children.toArray(Array.from(t))])])))}function Od(e){let t;const n=(r=e.backendUrl,o=e.accessToken,new $s(r,o));var r,o;const i=function(e,t,n){return fu((()=>iu(e,t,((e,t)=>{}))),[])}(Nu,Ou),a=i[0],s=i[1];return Cr(function(e,t){const n=kr(new go(!1));return xr((()=>wr((()=>{n.current.cancel()}))),[]),Er((r=>{var o;null!=(o=n.current)&&o.isCancelled||Eo(bo.Delay((()=>bo.TryWith(bo.Delay((()=>(t(new Mo(1)),bo.Bind(e(r),(e=>(t(new Mo(2,e)),bo.Zero())))))),(e=>(t(new Mo(3,e)),bo.Zero()))))),n.current)}))}((()=>Bs(n)),(e=>{s(new Cu(0,e))}))),d("div",ct(Mn((t=rr(er((()=>{const e=a.ProcessInstanceList;switch(e.tag){case 1:default:return nr(d("p",{children:["Loading..."]}));case 2:{const t=e.fields[0];return ar(nr(function(e,t,n){let r;const o=Mn(d("nav",ct(Ln([["className","flex space-x-4 p-1 mb-5 bg-gray-50"],(r=rr(er((()=>zn((r=>{let o,i,a;const s=0|On(Eu(r,t).Data),u=d("span",ct(Ln([["className",fn(" ",rr(er((()=>{if(!rt(r,e))return er((()=>new Array(0)));switch(r.tag){case 1:return nr("text-green-500");case 2:return nr("text-blue-500");case 3:return nr("text-yellow-500");default:return nr("text-gray-800")}}))))],(o=rr(er((()=>1===r.tag?nr(qf):2===r.tag?nr(Jf):3===r.tag?nr(Xf):nr(Vf)))),["children",pr.Children.toArray(Array.from(o))])])));return d("a",ct(Ln([["className",fn(" ",rr(er((()=>ar(nr("flex-1 px-3 py-2 font-medium text-sm rounded-md text-center space-x-2"),er((()=>rt(r,e)?nr("bg-white text-gray-800 filter drop-shadow"):nr("text-gray-600 hover:bg-gray-100 cursor-pointer"))))))))],["onClick",e=>{n(r)}],(i=[u,(a=xu(r),d("span",{children:[a]})),d("span",{className:"text-gray-400",children:`(${s})`})],["children",pr.Children.toArray(Array.from(i))])])))}),Ln([new _u(0),new _u(1),new _u(2),new _u(3)]))))),["children",pr.Children.toArray(Array.from(r))])]))));return d("div",{children:pr.Children.toArray(Array.from(o))})}(a.SelectedStatusTab,t,(e=>{s(new Cu(1,e))}))),er((()=>{const e=Eu(a.SelectedStatusTab,t);return nr(function(e,t){let n,r,o,i;return d("div",ct(Ln([["className","flex flex-col"],(n=[d("div",ct(Ln([["className","-my-2 overflow-x-auto -mx-6"],(r=[d("div",ct(Ln([["className","py-2 align-middle inline-block min-w-full px-6"],(o=[d("div",ct(Ln([["className","shadow overflow-hidden border-b border-gray-200 sm:rounded-lg"],(i=[d("table",{className:"min-w-full divide-y divide-gray-200",children:pr.Children.toArray([e,t])})],["children",pr.Children.toArray(Array.from(i))])])))],["children",pr.Children.toArray(Array.from(o))])])))],["children",pr.Children.toArray(Array.from(r))])])))],["children",pr.Children.toArray(Array.from(n))])])))}(function(e){let t,n;return d("thead",ct(Ln([["className","bg-gray-50"],(t=[(n=rr(er((()=>zn((e=>d("th",{scope:"col",className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:e})),e)))),d("tr",{children:pr.Children.toArray(Array.from(n))}))],["children",pr.Children.toArray(Array.from(t))])])))}(rr(er((()=>ar(nr("Ext. ID"),er((()=>ar(nr("Onboarder"),er((()=>ar(nr("Manager"),er((()=>ar(nr("Status"),er((()=>ar(Su(e),er((()=>ar(nr("Workflow"),er((()=>ar(nr("Invited"),er((()=>ar(nr("Updated"),er((()=>nr("Last Action"))))))))))))))))))))))))))))),Nd(e)))})))}case 3:return nr(d("p",{children:["There was an error loading. Please try refreshing this page."]}))}}))),["children",pr.Children.toArray(Array.from(t))]))))}class Ad extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Id extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function Td(e){return e}const Pd=null;function Dd(e){return Array.from(e)}function jd(e){return Ft(e,"O")}function Rd(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 ja(e/864e5)}(e)),o=Math.abs(function(e){return ja(e%864e5/36e5)}(e)),i=Math.abs(function(e){return ja(e%36e5/6e4)}(e)),a=Math.abs(function(e){return ja(e%6e4/1e3)}(e)),s=Math.abs(function(e){return ja(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?o:Ve(o,2)}:${Ve(i,2)}:${Ve(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Ve(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 Ld(){return null}function Fd(e){return Ft(e,"O")}function Ud(e,t){return JSON.stringify(t,ft(2,null),xt(e))}function zd(e,t,n,r){const o=new vt(null);let i;const a=Gr(r);let s;if(i=""===a?e:Ci(a,o,e),eo(r)){const e=Tt((e=>{const r=Fi(t,zr(e)),o=Gd(i,t,n,e[1]);return t=>i=>{const a=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=a)&&(i[r]=o(a)),i}}),Zr(r));s=t=>ur(((e,n)=>n(t)(e)),{},e)}else{if(!Kr(r)){let e;const t=Gr(r);throw e=sn(on("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 o=function(e,t){const n=Xr(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),a=o[0],s=o[1],u=0|s.length;if(0===u)return zr(a);{const e=0|u,r=no(a),o=It(new Array(e+1),0,e+1,null);o[0]=zr(a);for(let a=1;a<=e;a++){const e=Gd(i,t,n,r[a-1][1]);o[a]=e(s[a-1])}return o}}}return o.contents=s,s}function Gd(e,t,n,r){const o=Gr(r),i=ki(o,e);if(null==i){if(Hr(r)){const o=Gd(e,t,n,Wr(r));return e=>Dd(lr(o,e))}if(Br(r)){const e=Gr(Vr(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=Gr(r);return un(on("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($r(r)){if(to(r)){const o=Tt((r=>Gd(e,t,n,r)),Qr(r));return e=>{return Dd((t=(e,t)=>o[e](t),n=e,ir((()=>Kn(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?xt(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))));var t,n}}{const o=Gr(Yr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new Ye((()=>{return o=Gd(e,t,n,Or(r)[0]),e=>{return n=()=>Pd,null!=(t=Mt(o,e))?Ct(t):n();var t,n};var o}));return e=>null==e?Pd:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o||"System.Collections.Generic.IEnumerable`1[System.Object]"===o){const o=Gd(e,t,n,Or(r)[0]);return e=>Dd(lr(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Or(r)[0],i=Gd(e,t,n,Or(r)[1]);if("System.String"===Gr(o)||"System.Guid"===Gr(o))return e=>ur(((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e}),{},e);{let r;const a=Gd(e,t,n,o);return r=a,e=>Dd(lr((e=>{const t=e;return[r(t[0]),i(t[1])]}),e))}}return zd(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Ld:"System.String"===o?e=>e:"System.Char"===o?e=>e:"System.SByte"===o?e=>e:"System.Byte"===o?e=>e:"System.Int16"===o?e=>e:"System.UInt16"===o?e=>e:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?Fd:"System.DateTimeOffset"===o?jd:"System.TimeSpan"===o?Rd:"System.Guid"===o?Td:"System.Object"===o?e=>e:zd(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function Hd(e,t,n,r){const o=Et(t,new Di(0)),i=Et(r,!0);return Gd(function(e){return null!=e?Si(((e,t)=>new vt(t[0])),e.Coders):Ei()}(n),o,i,e)}class Wd extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function $d(e){const t=encodeURIComponent(e.fields[0]),n=encodeURIComponent(Io),r=encodeURIComponent(Po);return bo.Delay((()=>{let e,o,i;const a=Ti((o=Ai(new zo(1),Oi(`${Oo}/connect/token`)),e=Ii(new Go(0,"Content-Type","application/x-www-form-urlencoded"),o),s=new Ho(1,`grant_type=authorization_code&code=${t}&client_id=${n}&redirect_uri=${r}`),new Wo((u=e).url,u.method,u.headers,u.withCredentials,u.overridenMimeType,u.overridenResponseType,u.timeout,s)));var s,u;return i=bo.Bind(a,(e=>bo.Return(new _o(0,e)))),bo.Bind(i,(e=>{const t=e;if(1===t.tag)return bo.Return(new _o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=ms(ft(2,Ts(io(),void 0,void 0)),e.responseText);return bo.Return(t)}return bo.Return(new _o(1,"Unexpected result from backend"))}}))}))}function Bd(e,t){let n;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Mo(2,new _o(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),Xs()]:[new Mo(2,new _o(0,e.fields[0].fields[0].fields[0])),(n=window.location.pathname,r=e=>{!function(e,t,n){history.pushState(void 0,"",mo(e,2));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Mn(n))},Mn(r))]:[new Mo(1),Ks((e=>{!function(e){!function(e,t){let n,r=new Vs(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new qs(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}(0,(t=>{Eo(e)}))}(e)}),$d,e.fields[1],(t=>{const n=[new Wd(1,t),e.fields[1]];return new ao(0,n[0],n[1])}),(t=>{const n=[new Wd(1,new _o(1,t.message)),e.fields[1]];return new ao(0,n[0],n[1])}))];var r}function Yd(){let e,t;const n=kt(document.getElementById("external-loading-page-container"));cr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),St(n))}function Vd(e,t){const n=function(e){return[new Mo(0),Qs(new ao(0,new Wd(0),e))]}(t);return[new Lo(e.CurrentPage,n[0],e.AppMode),Zs((e=>new Fo(1,e)),n[1])]}function qd(e){let t;const n=e.dispatch,r=e.state;Cr((()=>{window.addEventListener("progressComponentReady",(e=>{n(new Fo(3))}))}));const o=d("div",ct(Ln([["className","bg-white p-6 overflow-x-hidden"],(t=rr(er((()=>{switch(r.CurrentPage.tag){case 1:return nr(function(){let e,t,n,r,o,i,a,s;return d("div",ct(Ln([["className","h-screen"],(e=[d("div",ct(Ln([["className","h-full flex justify-center items-center"],(t=[d("div",ct(Ln([["className","border rounded-lg shadow-md sm:max-w-md p-8 text-center"],(n=[(r=Ln([(o=Ln([d("h4",{className:"text-2xl my-4 text-green-700",children:"Your identity is confirmed"}),d("p",{className:"mt-3 mb-5 text-gray-500",children:"You will be redirected in a moment."})]),d("div",{children:pr.Children.toArray(Array.from(o))})),d("p",ct(Ln([["className","mt-16 text-gray-400 text-right text-xs"],(i=[(a=`Flare HR Pty Ltd © 2015-${s=Wt(),$t(s)}`,d("small",{children:[a]}))],["children",pr.Children.toArray(Array.from(i))])])))]),d("div",{children:pr.Children.toArray(Array.from(r))}))],["children",pr.Children.toArray(Array.from(n))])])))],["children",pr.Children.toArray(Array.from(t))])])))],["children",pr.Children.toArray(Array.from(e))])])))}());case 2:return nr(d(Uo,null));default:{const e=r.Credentials;let t,n;switch(2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return nr(d(Od,{accessToken:n.access_token,backendUrl:Ao}));case 1:return nr(d("h1",{children:["There was an error signing you in. Please try sign in again."]}))}}}}))),["children",pr.Children.toArray(Array.from(t))])])));return po({hashMode:2,onUrlChanged:e=>{n(new Fo(0,e))},application:d(h,{},o)})}var Jd;!function(e){su(void 0,e)}(("workflows-progress-app",Jd=iu((function(){const e=Ro(ho(window.location.pathname+window.location.search,2)),t=rt(window.location,window.parent.location)?new Do(1):new Do(0),n=new Lo(e,new Mo(0),t);let r;switch(r=1===e.tag?0:0===e.tag&&rt(t,new Do(1))?1:2,r){case 0:return Vd(n,e.fields[0]);case 1:{const e=Nt((e=>{return 1===(t=ms(ft(2,Ts(io(),void 0,void 0)),e)).tag?void 0:xt(t.fields[0]);var t}),kt(window.sessionStorage.getItem("credentials")));return null==e?[n,Qs(new Fo(2))]:[new Lo(n.CurrentPage,new Mo(2,new _o(0,e)),n.AppMode),Xs()]}case 2:return[n,Qs(new Fo(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=Bd(e.fields[0],t.Credentials),r=n[0],o=[r,t.AppMode];let i,a;return 2===o[0].tag&&0===o[0].fields[0].tag&&1===o[1].tag?(i=0,a=o[0].fields[0].fields[0]):i=1,0===i&&function(e){let t;const n=["credentials",(t=new oo(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),Ud(0,Hd(io(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(a),[new Lo(t.CurrentPage,r,t.AppMode),Zs((e=>new Fo(1,e)),n[1])]}case 2:return Yd(),[new Lo(new jo(2),t.Credentials,t.AppMode),Xs()];case 3:return Yd(),[t,Xs()];default:{const n=Ro(e.fields[0]),r=new Lo(n,t.Credentials,t.AppMode);return 1===n.tag?Vd(r,n.fields[0]):[r,Xs()]}}}),((e,t)=>d(qd,{state:e,dispatch:t}))),function(e,t,n){return au(((r,o)=>{Ee(e((e=>t=>e===t),function(e){return mt(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new Ad(n,(()=>t(n,r)),e);return d(Id,o)}(ft(2,e),ft(2,t),n,r)),"workflows-progress-app",Jd)))})()})();
2
+ (()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,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:i,resetWarningCache:o};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 o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,o,i,a,s={},u=[],c=/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 o,i,a,s={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=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 m(t,s,o,i,null)}function m(e,n,o,i,a){var s={type:e,props:n,key:o,ref:i,__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 h(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 y(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 y(e)}}function v(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!w.__r++||i!==t.debounceRendering)&&((i=t.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=l({},o)).__v=o.__v+1,N(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?g(o):i,o.__h),O(n,o),o.__e!=i&&y(o)))}))}function b(e,t,n,r,o,i,a,c,l,f){var d,p,y,v,w,b,x,k=r&&r.__k||u,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?m(null,v,null,null,v):Array.isArray(v)?m(h,{children:v},null,null,null):v.__b>0?m(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(y=k[d])||y&&v.key==y.key&&v.type===y.type)k[d]=void 0;else for(p=0;p<S;p++){if((y=k[p])&&v.key==y.key&&v.type===y.type){k[p]=void 0;break}y=null}N(e,v,y=y||s,o,i,a,c,l,f),w=v.__e,(p=v.ref)&&y.ref!=p&&(x||(x=[]),y.ref&&x.push(y.ref,null,v),x.push(p,v.__c||w,v)),null!=w?(null==b&&(b=w),"function"==typeof v.type&&v.__k===y.__k?v.__d=l=_(v,l,e):l=C(e,v,y,k,w,l),"function"==typeof n.type&&(n.__d=l)):l&&y.__e==l&&l.parentNode!=e&&(l=g(y))}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)),T(k[d],k[d]));if(x)for(d=0;d<x.length;d++)I(x[d],x[++d],x[++d])}function _(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?_(r,t,n):C(n,r,r,o,r.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function C(e,t,n,r,o,i){var a,s,u;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,u=0;(s=s.nextSibling)&&u<r.length;u+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function k(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||c.test(t)?n:n+"px"}function S(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||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])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?M:E,i):e.removeEventListener(t,i?M:E,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function E(e){this.l[e.type+!1](t.event?t.event(e):e)}function M(e){this.l[e.type+!0](t.event?t.event(e):e)}function N(e,n,r,o,i,a,s,u,c){var f,d,m,g,y,v,w,_,x,C,k,S,E,M=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,u=n.__e=r.__e,n.__h=null,a=[u]),(f=t.__b)&&f(n);try{e:if("function"==typeof M){if(_=n.props,x=(f=M.contextType)&&o[f.__c],C=f?x?x.props.value:f.__:o,r.__c?w=(d=n.__c=r.__c).__=d.__E:("prototype"in M&&M.prototype.render?n.__c=d=new M(_,C):(n.__c=d=new p(_,C),d.constructor=M,d.render=P),x&&x.sub(d),d.props=_,d.state||(d.state={}),d.context=C,d.__n=o,m=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=M.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,M.getDerivedStateFromProps(_,d.__s))),g=d.props,y=d.state,m)null==M.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==M.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,C)||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,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,y,v)}))}if(d.context=C,d.props=_,d.__v=n,d.__P=e,k=t.__r,S=0,"prototype"in M&&M.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&&(o=l(l({},o),d.getChildContext())),m||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(g,y)),E=null!=f&&f.type===h&&null==f.key?f.props.children:f,b(e,Array.isArray(E)?E:[E],n,r,o,i,a,s,u,c),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),w&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=A(r.__e,n,r,o,i,a,s,c);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(c||null!=a)&&(n.__e=u,n.__h=!!c,a[a.indexOf(u)]=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 A(t,n,r,o,i,a,u,c){var l,d,m,h=r.props,p=n.props,y=n.type,v=0;if("svg"===y&&(i=!0),null!=a)for(;v<a.length;v++)if((l=a[v])&&"setAttribute"in l==!!y&&(y?l.localName===y:3===l.nodeType)){t=l,a[v]=null;break}if(null==t){if(null===y)return document.createTextNode(p);t=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,p.is&&p),a=null,c=!1}if(null===y)h===p||c&&t.data===p||(t.data=p);else{if(a=a&&e.call(t.childNodes),d=(h=r.props||s).dangerouslySetInnerHTML,m=p.dangerouslySetInnerHTML,!c){if(null!=a)for(h={},v=0;v<t.attributes.length;v++)h[t.attributes[v].name]=t.attributes[v].value;(m||d)&&(m&&(d&&m.__html==d.__html||m.__html===t.innerHTML)||(t.innerHTML=m&&m.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||S(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||S(e,i,t[i],n[i],r)}(t,p,h,i,c),m)n.__k=[];else if(v=n.props.children,b(t,Array.isArray(v)?v:[v],n,r,o,i&&"foreignObject"!==y,a,u,a?a[0]:r.__k&&g(r,0),c),null!=a)for(v=a.length;v--;)null!=a[v]&&f(a[v]);c||("value"in p&&void 0!==(v=p.value)&&(v!==t.value||"progress"===y&&!v||"option"===y&&v!==h.value)&&S(t,"value",v,h.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==t.checked&&S(t,"checked",v,h.checked,!1))}return t}function I(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function T(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||I(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&T(o[i],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,o){var i,a,u;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,u=[],N(r,n=(!i&&o||r).__k=d(h,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,u,!i&&o?o:a?a.__e:r.firstChild,i),O(u,n)}function j(e,t){D(e,t,j)}function R(t,n,r){var o,i,a,s=l({},t.props);for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),m(t.type,s,o||t.key,i||t.ref,null)}e=u.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},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=h,o=[],w.__r=0,a=0;var L,F,U,z,G=0,H=[],W=[],$=t.__b,B=t.__r,Y=t.diffed,V=t.__c,q=t.unmount;function J(e,n){t.__h&&t.__h(F,e,G||n),G=0;var r=F.__H||(F.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:W}),r.__[e]}function X(e){return G=1,Z(ae,e)}function Z(e,t,n){var r=J(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=F,!F.u)){F.u=!0;var o=F.shouldComponentUpdate;F.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!!a&&(!o||o.call(this,e,t,n))}}return r.__N||r.__}function Q(e,n){var r=J(L++,3);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__H.__h.push(r))}function K(e,n){var r=J(L++,4);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__h.push(r))}function ee(e,t){var n=J(L++,7);return ie(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=H.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){F=null,$&&$(e)},t.__r=function(e){B&&B(e),L=0;var t=(F=e.__c).__H;t&&(U===F?(t.__h=[],F.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=W,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(oe),t.__h=[])),U=F},t.diffed=function(e){Y&&Y(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==H.push(n)&&z===t.requestAnimationFrame||((z=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!==W&&(e.__=e.__V),e.i=void 0,e.__V=W}))),U=F=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),V&&V(e,n)},t.unmount=function(e){q&&q(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=F,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),F=t}function oe(e){var t=F;e.__c=e.__(),F=t}function ie(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 ue(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ce(e){this.props=e}(ce.prototype=new p).isPureReactComponent=!0,ce.prototype.shouldComponentUpdate=function(e,t){return ue(this.props,e)||ue(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:x(x(e).map(t))},me={map:de,forEach:de,count:function(e){return e?x(e).length:0},only:function(e){var t=x(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:x},he=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);he(e,t,n,r)};var pe=t.unmount;function ge(){this.__u=0,this.t=null,this.__b=null}function ye(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 o=ye(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=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()}},u=!0===t.__h;r.__u++||u||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 o=t.__a&&d(h,null,e.fallback);return o&&(o.__h=null),[d(h,null,t.__a?null:e.children),o]};var we=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=ye(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),we(t,e,r)):o()};n?n(i):i()}},ve.prototype.render=function(e){this.u=null,this.o=new Map;var t=x(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){we(e,n,t)}))};var xe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ce=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,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 Ee(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 Me=t.event;function Ne(){}function Oe(){return this.cancelBubble}function Ae(){return this.defaultPrevented}t.event=function(e){return Me&&(e=Me(e)),e.persist=Ne,e.isPropagationStopped=Oe,e.isDefaultPrevented=Ae,e.nativeEvent=e};var Ie,Te={configurable:!0,get:function(){return this.class}},Pe=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];ke&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Se(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&Ce.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=x(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=x(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Te.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Te))}e.$$typeof=xe,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Ie=e.__c};var je={ReactCurrentDispatcher:{current:{readContext:function(e){return Ie.__n[e.__c].props.value}}}};function Re(e){return!!e&&e.$$typeof===xe}function Le(e){e()}const Fe={useState:X,useReducer:Z,useEffect:Q,useLayoutEffect:K,useInsertionEffect:K,useTransition:function(){return[!1,Le]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=X({s:{__:n,h:t}}),o=r[0].s,i=r[1];return K((function(){o.__=n,o.h=t,o.__!==t()&&i({s:o})}),[e,n,t]),Q((function(){return o.__!==o.h()&&i({s:o}),e((function(){o.__!==o.h()&&i({s:o})}))}),[e]),n},startTransition:Le,useRef:function(e){return G=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){G=6,K((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 G=8,ee((function(){return e}),t)},useContext:function(e){var t=F.context[e.__c],n=J(L++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(F)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:me,render:Ee,hydrate:function(e,t,n){return j(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 Re(e)?R.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:h,isValidElement:Re,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ce,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ue(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:h,Suspense:ge,SuspenseList:ve,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:je};function Ue(e){return Array.isArray(e)||ArrayBuffer.isView(e)}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 $e(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new We(e[Symbol.iterator]())}function Be(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Ye{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Ve(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function qe(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 Ze(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 Ke(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function et(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 Ze(e);default:if(function(e){return"function"==typeof e.GetHashCode}(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]=et(e[r]);return Ke(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=>et(e)));return Ke(t)}return Qe(Xe.id(e))}}function tt(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 nt(e,t){return tt(e,t,rt)}function rt(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)&&nt(e,t):e instanceof Date?t instanceof Date&&0===ot(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 o=0;o<n.length;o++)if(n[o]!==r[o]||!rt(e[n[o]],t[r[o]]))return!1;return!0}(e,t)))}function ot(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+qe(e),r=t.getTime()+qe(t)),n===r?0:n<r?-1:1}function it(e,t){return e===t?0:e<t?-1:1}function at(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,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,st)}function st(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)?at(e,t):-1:e instanceof Date?t instanceof Date?ot(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 o=0,i=0;o<n.length;o++){const a=n[o];if(a!==r[o])return a<r[o]?-1:1;if(i=st(e[a],t[a]),0!==i)return i}return 0}(e,t):-1}function ut(e,t,n){return e(t,n)>0?t:n}function ct(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Xe.idMap=new WeakMap,Xe.count=0;const lt=Symbol("curried");function ft(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[lt]=t,n}function dt(e,t,n){return r=>1===t?n(...e.concat([r])):dt(e.concat([r]),t-1,n)}function mt(e,t){return null==t||1===t.length?t:lt in t?t[lt]:dt([],e,t)}function ht(e,t,n){if(null!=t){if(lt in t){t=t[lt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return dt(n,e,t)}}function pt(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+=pt(r);else{if(100===t){n+="; ...";break}n+="; "+pt(r)}t++}return n+"]"}(e);{const o=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+pt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class gt{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=pt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>pt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>et(e)));return e.splice(0,0,Qe(this.tag)),Ke(e)}Equals(e){return this===e||!!He(this,e)&&this.tag===e.tag&&nt(this.fields,e.fields)}CompareTo(e){return this===e?0:He(this,e)?this.tag===e.tag?at(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+pt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>et(e)));return Ke(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(!rt(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 o=st(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}class vt{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class wt{constructor(e){this.message=e}}function bt(e){return function(e){return e instanceof wt||e instanceof Error}(e)?e:new Error(String(e))}class _t{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return et(this.value)}Equals(e){return null!=e&&rt(this.value,e instanceof _t?e.value:e)}CompareTo(e){return null==e?1:st(this.value,e instanceof _t?e.value:e)}}function xt(e){return null==e||e instanceof _t?new _t(e):e}function Ct(e){if(null==e)throw new Error("Option has no value");return e instanceof _t?e.value:e}function kt(e){return null==e?void 0:e}function St(e){return null==e?[]:[Ct(e)]}function Et(e,t){return null!=e?Ct(e):t}function Mt(e,t){return null!=t?xt(e(Ct(t))):void 0}function Nt(e,t){return null!=t?e(Ct(t)):void 0}function Ot(){return e=st,{Compare:(t,n)=>e(t,n)};var e}function At(e,t){return"function"==typeof e?new e(t):new Array(t)}function It(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function Tt(e,t,n){const r=0|t.length,o=At(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function Pt(e,t,n){return n.reduce(e,t)}function Dt(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,a=0|n.length;if(i>a)return!1;if(i<a)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}function jt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ve(~~(e/36e5),2)+":"+Ve(n,2)}function Rt(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 Lt(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;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 i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}function Ft(e,t,n){return null!=e.offset?function(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+jt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Lt(i,t,!0);switch(t){case"D":case"d":return Rt(i,"first");case"T":case"t":return Rt(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+jt(t)}(i,null!==(o=e.offset)&&void 0!==o?o: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 Lt(e,t,n);switch(t){case"D":case"d":return n?Rt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Rt(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 Ve(e.getFullYear(),4)+"-"+Ve(e.getMonth()+1,2)+"-"+Ve(e.getDate(),2)+"T"+Ve(e.getHours(),2)+":"+Ve(e.getMinutes(),2)+":"+Ve(e.getSeconds(),2)+"."+Ve(e.getMilliseconds(),3)+(t?jt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function Ut(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function zt(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\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!=o){let e,t=0;if(null!=o[2]){const e=o[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(t+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=o[1])e=new Date(o[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 Gt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=zt(e),o=null!=r?t&&"Z"===r?1:2:0;return Ut(n.getTime(),o)}(e),!0}catch(e){return!1}}function Ht(){return Ut(Date.now(),1)}function Wt(){return function(e){return function(e,t,n,r=0,o=0,i=0,a=0,s){const u=1===s?Date.UTC(e,t-1,n,r,o,i,a):new Date(e,t-1,n,r,o,i,a).getTime();if(isNaN(u))throw new Error("The parameters describe an unrepresentable Date.");const c=Ut(u,s);return e<=99&&c.setFullYear(e,t-1,n),c}($t(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)}(Ut(Date.now(),2))}function $t(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const Bt=ot,Yt=Symbol("numeric");function Vt(e){return"number"==typeof e||(null==e?void 0:e[Yt])}function qt(e,t){return"number"==typeof e?e*t:e[Yt]().multiply(t)}function Jt(e,t){return"number"==typeof e?e.toFixed(t):e[Yt]().toFixed(t)}function Xt(e,t){return"number"==typeof e?e.toPrecision(t):e[Yt]().toPrecision(t)}function Zt(e,t){return"number"==typeof e?e.toExponential(t):e[Yt]().toExponential(t)}function Qt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Yt]().toHex()}function Kt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function en(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 o,i=-1;for(;null!=(o=e.exec(t));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}const tn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,nn=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function rn(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function on(e){return{input:e,cont:(t=e,e=>{tn.lastIndex=0;const n=[],r=[];let o=0,i=tn.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=tn.lastIndex,tn.lastIndex-=1,i=tn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),ln(e,n,r))})};var t}function an(e,t){return"string"==typeof t?e(t):t.cont(e)}function sn(e){return an((e=>e),e)}function un(e){return an((e=>{throw new Error(e)}),e)}function cn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",Vt(e))switch("x"!==o.toLowerCase()&&(rn(e,0)?(e=qt(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=Jt(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Xt(e,r):Xt(e);break;case"e":case"E":e=null!=r?Zt(e,r):Zt(e);break;case"x":e=Qt(e);break;case"X":e=Qt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Ft(e):pt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=i+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,a=o||!r?" ":"0";e="0"===a?i+(e=dn(e,n-i.length,a,o)):dn(i+e,n,a,o)}return e}function ln(e,t,n,r="",o=-1){return(...i)=>{let a=r;const s=t.slice(),u=n.slice();for(const e of i){const[,,t,n,r,i]=u[0];let c=n;if(o>=0)c=o,o=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");o=e;continue}a+=s[0],a+=cn(e,t,c,r,i),s.splice(0,1),u.splice(0,1)}return 0===u.length?(a+=s[0],e(a)):ln(e,s,u,a,o)}}function fn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function dn(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function mn(e,t,n){return dn(e,t,n)}function hn(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 o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map(Kt),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let u=!0,c=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(c).trim():e.substring(c);(!o||t.length>0)&&a.push(t),u=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&a.length+1===n?(a.push(i?e.substring(c).trim():e.substring(c)),u=!1):a.push(r)),c=s.lastIndex}}while(u);return a}function pn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const gn="Collection was empty.";class yn extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+fn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1];if(rt(n.head,r.head)){e=i,t=a;continue e}return!1}return!1}return null==o[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,a=i.tail;if(null==a)return 0|o;{const s=a;if(r>18)return 0|o;e=r+1,t=(o<<1)+et(i.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,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1],s=0|st(n.head,r.head);if(0===s){e=i,t=a;continue e}return 0|s}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new vn(this)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}}class vn{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 wn(){return new yn(null,void 0)}function bn(e,t){return new yn(e,t)}function _n(e){return null==e.tail}function xn(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 Cn(e){if(null!=e.tail)return e.head;throw new Error(gn+"\\nParameter name: list")}function kn(e){const t=e.tail;if(null!=t)return t;throw new Error(gn+"\\nParameter name: list")}function Sn(){return wn()}function En(e,t){return bn(e,t)}function Mn(e){return bn(e,wn())}function Nn(e){return _n(e)}function On(e){return xn(e)}function An(e){return Cn(e)}function In(e){return kn(e)}function Tn(e){const t=0|xn(e),n=It(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(_n(o))break;n[r]=Cn(o),e=r+1,t=kn(o)}})(0,e),n}function Pn(e,t,n){let r=t,o=n;for(;!_n(o);)r=e(r,Cn(o)),o=kn(o);return r}function Dn(e){return Pn(((e,t)=>bn(t,e)),wn(),e)}function jn(e,t){Pn(((t,n)=>{e(n)}),void 0,t)}function Rn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=bn(e[t],n);return n}function Ln(e){return Rn(e,wn())}function Fn(e,t){return Pn(((e,t)=>bn(t,e)),t,Dn(e))}function Un(e,t){let n,r;const o=wn();let i=o,a=t;for(;!_n(a);){let t=e(Cn(a));for(;!_n(t);)n=i,r=new yn(Cn(t),void 0),n.tail=r,i=r,t=kn(t);a=kn(a)}const s=i,u=wn();return s.tail=u,kn(o)}function zn(e,t){const n=wn(),r=Pn(((t,n)=>{const r=new yn(e(n),void 0);return t.tail=r,r}),n,t),o=wn();return r.tail=o,kn(n)}function Gn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(_n(n))return;{const r=e(Cn(n));if(null==r){t=kn(n);continue e}return r}}})(t)}((t=>e(t)?xt(t):void 0),t)}function Hn(e,t){const n=Tn(t);return n.sort(e),Ln(n)}const Wn="Enumeration already finished.",$n="Enumeration has not started. Call MoveNext.",Bn="The input sequence has an insufficient number of elements.";function Yn(){throw new Error($n)}function Vn(){throw new Error(Wn)}class qn{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=$e(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=pt(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 Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Jn{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 Xn(e,t,n){return new Jn(e,t,n)}function Zn(e,t,n){let r,o=!1,i=xt(e());const a=()=>{if(null!=i){const e=Ct(i);try{n(e)}finally{i=void 0}}},s=()=>{try{a()}finally{r=void 0}};return Xn((()=>(o||Yn(),null!=r?Ct(r):Vn())),(()=>{if(o||(o=!0),null!=i){const e=Ct(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function Qn(e){return function(e){return new qn(e)}(e)}function Kn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),$e(e);var t}function er(e){return Qn((()=>$e(e())))}function tr(e){return Qn((()=>function(e){let t,n,r,o=!1,i=!1;const a=()=>{if(i=!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 Xn((()=>(o?i&&Vn():Yn(),null!=r?Ct(r):Vn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=[t,n];if(null!=i[0])if(null!=i[1]){const e=i[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=xt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Ge(e)}finally{n=void 0}}else{const e=i[0];e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=$e(s)):(a(),o=!1)}else t=$e(e)}return Ct(o)}}),(()=>{i||a()}))}(e)))}function nr(e){return er((()=>function(e,t){const n=At(void 0,1);return n[0]=e,n}(e)))}function rr(e){return Ue(e)?Ln(e):e instanceof yn?e:function(e){let t,n;if(Ue(e))return Ln(e);if(e instanceof yn)return e;{const r=wn();let o=r;const i=$e(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=o,n=new yn(e,void 0),t.tail=n,o=n}}finally{Ge(i)}const a=o,s=wn();return a.tail=s,kn(r)}}(e)}function or(e,t,n){return Qn((()=>Zn(e,t,n)))}function ir(e,t,n){return Qn((()=>{let r=-1;return Zn(e,(e=>(r=r+1|0,t(r,e))),n)}))}function ar(e,t){return tr([e,t])}function sr(e,t,n){const r=Kn(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 ur(e,t,n){const r=Kn(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 cr(e,t){ur(((t,n)=>{e(n)}),void 0,t)}function lr(e,t){return or((()=>Kn(t)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?xt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))}class fr{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 dr(e){return er((()=>function(e){return e.slice().reverse()}(function(e){return e instanceof yn?Tn(e):Array.from(e)}(e))))}function mr(e,t){return Qn((()=>{const n=Kn(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Bn+"\\nParameter name: source");return function(e,t){return Xn((()=>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}}))}function hr(e,t){return er((()=>tr(lr(e,t))))}const pr=Fe,gr=e=>{Q((()=>{const t=e();return()=>{t.Dispose()}}))},yr=(e,t)=>{Q((()=>{const t=e();return()=>{t.Dispose()}}),t)},vr=e=>{K((()=>{const t=e();return()=>{t.Dispose()}}))};function wr(e){return{Dispose(){e()}}}function br(e){return pr.useState(e)}function _r(e){gr(e)}function xr(e,t){yr(e,t)}function Cr(e){!function(e,t){yr((t=>(e(),wr((()=>{})))),[])}(e)}function kr(e){return pr.useRef(e)}function Sr(e,t){const n=Et(t,[]);return pr.useMemo(e,n)}function Er(e){const t=kr(e),n=function(e,n){const r=Et([],[]);return pr.useCallback((e=>t.current(e)),r)}();var r;return r=()=>{t.current=e},vr((e=>(r(),wr((()=>{}))))),n}class Mr{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Nr{constructor(e,t,n,r,o,i,a){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=a}toString(){return Gr(this)}GetHashCode(){return Ar(this)}Equals(e){return Ir(this,e)}}function Or(e){return null!=e.generics?e.generics:[]}function Ar(e){return Ke([Ze(e.fullname),...Or(e).map(Ar)])}function Ir(e,t){return""===e.fullname?""===t.fullname&&tt(Zr(e),Zr(t),(([e,t],[n,r])=>e===n&&Ir(t,r))):e.fullname===t.fullname&&tt(Or(e),Or(t),Ir)}function Tr(e,t,n,r){return new Nr(e,t,n,r)}function Pr(e,t,n,r){return new Nr(e,t,n,void 0,r)}function Dr(e,t,n,r){const o=new Nr(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Mr(o,n,e[n],t)))}));return o}function jr(e){return new Nr("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Rr(e){return new Nr("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Lr=new Nr("System.Object"),Fr=(new Nr("Microsoft.FSharp.Core.Unit"),new Nr("System.Char"),new Nr("System.String")),Ur=(new Nr("System.Boolean"),new Nr("System.SByte"),new Nr("System.Byte"),new Nr("System.Int16"),new Nr("System.UInt16"),new Nr("System.Int32"),new Nr("System.UInt32"),new Nr("System.Single"),new Nr("System.Double"));function zr(e){if(Array.isArray(e))return e[0];if(e instanceof Nr){const t=Wr(e);if(null!=t)return zr(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Gr(e){const t=Wr(e);return null!=t?Gr(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Gr(e))).join(",")+"]"}function Hr(e){return null!=Wr(e)}function Wr(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function $r(e){return null!=e.generics&&e.generics.length>0}function Br(e){return null!=e.enumCases&&e.enumCases.length>0}function Yr(e){return null==e.generics?e:new Nr(e.fullname,e.generics.map((()=>Lr)))}function Vr(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function qr(e){if(Br(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function Jr(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 Xr(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Zr(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Qr(e){if(to(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Kr(e){return e instanceof Nr?null!=e.cases:e instanceof gt}function eo(e){return e instanceof Nr?null!=e.fields:e instanceof yt}function to(e){return e.fullname.startsWith("System.Tuple")}function no(e){return null==e.fields?[]:e.fields}new Nr("System.Decimal");class ro extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}class oo extends yt{constructor(e,t,n,r,o,i){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=o,this.token_type=i}}function io(){return Pr("Workflows.Progress.UI.Auth.Types.Credentials",[],oo,(()=>[["id_token",Fr],["access_token",Fr],["expires_in",Ur],["refresh_token",jr(Fr)],["scope",Fr],["token_type",Fr]]))}class ao extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}const so=(()=>{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 uo(e){return Mt((e=>e.passive&&!so?{capture:e.capture,once:e.once,passive:!1}:e),e)}function co(e){return Nt((e=>e.capture?{capture:!0}:void 0),e)}function lo(e,t){return 0===t.indexOf(e)?t:void 0}function fo(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 mo(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,a;return t=lo("/",e),null!=t?(n=t,"#"+n):(r=lo("#/",e),null!=r?(o=r,o):(i=lo("#",e),null!=i?(a=i,"#/"+pn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=lo("/",e),null!=t?(n=t,n):"/"+e}}(t)(fn("/",zn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function ho(e,t){return Un((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return Sn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Kt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Sn();if(null!=lo("?",t))return Mn(t);{const e=t.split("?");if(Dt(((e,t)=>e===t),e,null)||1!==e.length){if(Dt(((e,t)=>e===t),e,null)||2!==e.length)return Sn();if(""===e[1]){const t=e[0];return Mn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Ln([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Mn(decodeURIComponent(t))}}}var t}),Ln(hn(null!=lo("#",e)?pn(e,1,e.length-1):1!==t||null==fo("#",e)&&null==fo("#/",e)?e:"",["/"],null,0)))}const po=function(e,t,n,r){const o=pr.memo(e,ft(2,Et(mt(2,n),null)));return cr((t=>{e.displayName=t}),St(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return pr.createElement(o,t)}}((e=>{const t=Er((t=>{const n=Et(e.onUrlChanged,(e=>{}));!function(e,t,n){t(ho(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(Et(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,o=Sr((()=>uo(r)),[r]),i=Sr((()=>co(r)),[r]),a=Sr((()=>e=>{n(e)}),[n]);_r(Er((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return wr((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Sr((()=>uo(r)),[r]),i=Sr((()=>co(r)),[r]),a=Sr((()=>e=>{n(e)}),[n]);_r(Er((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return wr((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Sr((()=>uo(o)),[o]),a=Sr((()=>co(o)),[o]),s=Sr((()=>e=>{r(e)}),[r]);_r(Er((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return wr((()=>{if(null==a)window.removeEventListener(n,s);else{const e=a;window.removeEventListener(n,s,e)}}))})));const u=e.application;return null==u?null:u}),void 0,void 0,void 0);class go{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 yo extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,yo.prototype)}}class vo{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>vo.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function wo(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new yo);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(bt(e))}}));else try{e(t)}catch(e){t.onError(bt(e))}}}const bo=new class{Bind(e,t){return function(e,t){return wo((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(bt(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 wo((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 wo((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return wo((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 wo((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(bt(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 wo((e=>e.onSuccess(void 0)))}};class _o extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function xo(e,t){return 0===t.tag?new _o(0,e(t.fields[0])):new _o(1,t.fields[0])}class Co extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}function ko(e){}const So=new go;function Eo(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new vo;e({onSuccess:t||ko,onError:n||ko,onCancel:r||ko,cancelToken:o||So,trampoline:i})}(e,t)}(e,t)}class Mo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}const No=document.getElementById("workflows-progress-app"),Oo=No.getAttribute("data-identity-url"),Ao=No.getAttribute("data-backend-url"),Io="apollo-workflows-progress-app",To=mo(Ln(["workflows","progress","app"]),2),Po=`${window.location.protocol}//${window.location.host}${To}`;class Do extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone"]}}class jo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","AuthCodeExchange","LoggedOut"]}}function Ro(e){let t,n;if(Nn(e))t=1;else if("workflows"===An(e))if(Nn(In(e)))t=1;else if("progress"===An(In(e)))if(Nn(In(In(e))))t=1;else if("app"===An(In(In(e))))if(Nn(In(In(In(e)))))t=1;else{const r=function(e){const t=function(e){try{const t=new URLSearchParams(e);return rr(er((()=>lr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}(e);if(null!=t)return Mt((e=>e[1]),Gn((e=>"code"===e[0]),t))}(An(In(In(In(e)))));null!=r&&Nn(In(In(In(In(e)))))?(t=0,n=r):t=1}else t=1;else t=1;else t=1;switch(t){case 0:return new jo(1,new ro(0,n));case 1:return new jo(0)}}class Lo extends yt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Fo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut","ProgressComponentReadyEvent"]}}function Uo(){let e;return d("div",ct(Mn((e=[d("h4",{className:"text-2xl",children:"You have been logged out due to inactivity."})],["children",pr.Children.toArray(Array.from(e))]))))}class zo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Go extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Ho extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Wo extends yt{constructor(e,t,n,r,o,i,a,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=a,this.content=s}}class $o extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Bo extends yt{constructor(e,t,n,r,o,i){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=o,this.content=i}}class Yo{constructor(e,t){this.k=e,this.v=t}}function Vo(e,t){return new Yo(e,t)}function qo(e){return e.k}function Jo(e){return e.v}class Xo extends Yo{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function Zo(e,t,n,r,o){return new Xo(e,t,n,r,o)}function Qo(e){return e.left}function Ko(e){return e.right}function ei(e){return e.h}function ti(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Xo){e=ti(n+1,Qo(r)),t=Ko(r);continue e}return n+1|0}return 0|n}}function ni(e){return ti(0,e)}function ri(e,t,n,r){let o,i;o=null!=e?e instanceof Xo?ei(e):1:0,i=null!=r?r instanceof Xo?ei(r):1:0;const a=0|(o<i?i:o);return 0===a?Vo(t,n):Zo(t,n,e,r,a+1)}function oi(e,t,n,r){let o,i,a,s,u,c;if(u=null!=e?e instanceof Xo?ei(e):1:0,c=null!=r?r instanceof Xo?ei(r):1:0,c>u+2){const a=Ct(r);if(a instanceof Xo){if(o=Qo(a),(null!=o?(i=o,i instanceof Xo?ei(i):1):0)>u+1){const r=Ct(Qo(a));if(r instanceof Xo)return ri(ri(e,t,n,Qo(r)),qo(r),Jo(r),ri(Ko(r),qo(a),Jo(a),Ko(a)));throw new Error("internal error: Map.rebalance")}return ri(ri(e,t,n,Qo(a)),qo(a),Jo(a),Ko(a))}throw new Error("internal error: Map.rebalance")}if(u>c+2){const o=Ct(e);if(o instanceof Xo){if(a=Ko(o),(null!=a?(s=a,s instanceof Xo?ei(s):1):0)>c+1){const e=Ct(Ko(o));if(e instanceof Xo)return ri(ri(Qo(o),qo(o),Jo(o),Qo(e)),qo(e),Jo(e),ri(Ko(e),t,n,r));throw new Error("internal error: Map.rebalance")}return ri(Qo(o),qo(o),Jo(o),ri(Ko(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return ri(e,t,n,r)}function ii(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,qo(o));return o instanceof Xo?i<0?oi(ii(e,t,n,Qo(o)),qo(o),Jo(o),Ko(o)):0===i?Zo(t,n,Qo(o),Ko(o),ei(o)):oi(Qo(o),qo(o),Jo(o),ii(e,t,n,Ko(o))):i<0?Zo(t,n,void 0,r,2):0===i?Vo(t,n):Zo(t,n,r,void 0,2)}return Vo(t,n)}function ai(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=n,a=0|r.Compare(o,qo(i));if(0===a)return xt(Jo(i));if(i instanceof Xo){e=r,t=o,n=a<0?Qo(i):Ko(i);continue e}return}return}}function si(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Xo){si(n,Qo(r)),n(qo(r),Jo(r)),e=n,t=Ko(r);continue e}n(qo(r),Jo(r))}break}}function ui(e,t){si(e,t)}function ci(e,t){if(null!=t){const n=t;if(n instanceof Xo){const t=ci(e,Qo(n)),r=e(qo(n),Jo(n)),o=ci(e,Ko(n));return Zo(qo(n),r,t,o,ei(n))}return Vo(qo(n),e(qo(n),Jo(n)))}}function li(e,t){return ci(e,t)}function fi(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=t[r];n=ii(e,o[0],o[1],n)}return n}class di extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function mi(e){e:for(;;){const t=e;if(Nn(t))return Sn();{const n=In(t),r=An(t);if(null!=r){const o=r;if(o instanceof Xo){e=Rn([Qo(o),Vo(qo(o),Jo(o)),Ko(o)],n);continue e}return t}e=n;continue e}}}function hi(e){return new di(mi(Mn(e)),!1)}function pi(e){if(e.started){const t=e.stack;if(Nn(t))return function(){throw new Error("enumeration already finished")}();if(null!=An(t)){const e=An(t);if(e instanceof Xo)throw new Error("Please report error: Map iterator, unexpected stack for current");return[qo(e),Jo(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function gi(e){let t=hi(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>pi(t),"System.Collections.IEnumerator.get_Current":()=>pi(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Nn(t))return!1;if(null!=An(t)){if(An(t)instanceof Xo)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=mi(In(t)),!Nn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Nn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=hi(e)},Dispose(){}}}class yi{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=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,et(e[0])),n=0|t(n,et(e[1]))}}finally{Ge(r)}return 0|n}(this)}Equals(e){if(!(e instanceof yi))return!1;{const t=$e(this);try{const n=$e(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"](),o=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!rt(r[0],o[0])||!rt(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{Ge(n)}}finally{Ge(t)}}}toString(){return"map ["+fn("; ",lr((e=>function(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(nn,((e,n,r,o,i,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(Vt(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=Jt(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?Xt(s,i):Xt(s);break;case"e":case"E":s=null!=i?Zt(s,i):Zt(s);break;case"p":case"P":i=null!=i?i:2,s=Jt(qt(s,100),i)+" %";break;case"d":case"D":s=null!=i?mn(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?mn(Qt(s),i,"0"):Qt(s),"X"===o&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{rn(s,0)&&(s=qt(s,-1),e="-"),r=null==r?"":r.substring(1),s=Jt(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=mn(o,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>i.length?i=function(e,t,n){return dn(e,t,"0",!0)}(i,a):a<i.length&&(i=i.substring(0,a)+i.substring(a).replace(/0+$/,"")),n.indexOf(",")>0){const e=o.length%3,t=Math.floor(o.length/3);let n=e>0?o.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=o.substr(e+3*r,3)+(r<t-1?",":"");o=n}return i.length>0?o+"."+i:o})),s=e+s}}else s=s instanceof Date?Ft(s,a||o):pt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=dn(String(s),Math.abs(r)," ",r<0)),s}))}("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return gi(this.tree)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return gi(this.tree)}CompareTo(e){const t=this;if(e instanceof yi)return 0|function(e,t,n){const r=Kn(t);try{const t=Kn(n);try{let n=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&o&&i;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:o?1:i?-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:st(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 xi(this,e[0])&&rt(bi(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;ui(((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|_i(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|_i(this)}get size(){return 0|_i(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return lr((e=>[e[0],e[1]]),this)}get(e){return bi(this,e)}has(e){return xi(this,e)}keys(){return lr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return lr((e=>e[1]),this)}forEach(e,t){const n=this;cr((t=>{e(t[1],t[0],n)}),n)}}function vi(e,t){return new yi(e,t)}function wi(e){const t=Ot();return vi(t,function(e,t){if(Ue(t))return fi(e,t);if(t instanceof yn)return function(e,t){return Pn(((t,n)=>ii(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=$e(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const a=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=ii(r,a[0],a[1],o),n=i}}}(e,void 0,n)}finally{Ge(n)}}}(t,e))}function bi(e,t){return function(e,t,n){const r=ai(e,t,n);if(null==r)throw new Error;return Ct(r)}(e.comparer,t,e.tree)}function _i(e){return ni(e.tree)}function xi(e,t){return function(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=n,a=0|r.Compare(o,qo(i));if(i instanceof Xo){if(a<0){e=r,t=o,n=Qo(i);continue e}if(0===a)return!0;e=r,t=o,n=Ko(i);continue e}return 0===a}return!1}}(e.comparer,t,e.tree)}function Ci(e,t,n){return function(e,t,n){return vi(e.comparer,ii(e.comparer,t,n,e.tree))}(n,e,t)}function ki(e,t){return function(e,t){return ai(e.comparer,t,e.tree)}(t,e)}function Si(e,t){return function(e,t){return vi(e.comparer,li(t,e.tree))}(t,e)}function Ei(){return yi.empty}yi.empty=vi(Ot(),void 0);const Mi=new Wo("",new zo(0),Sn(),!1,void 0,void 0,void 0,new Ho(0));function Ni(e,t){return"string"!=typeof(n=t)||0===n.length?[t]:hn(t,[e],null,0);var n}function Oi(e){return new Wo(e,Mi.method,Mi.headers,Mi.withCredentials,Mi.overridenMimeType,Mi.overridenResponseType,Mi.timeout,Mi.content)}function Ai(e,t){return new Wo(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ii(e,t){return new Wo(t.url,t.method,Fn(t.headers,Mn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ti(e){return function(e){return wo((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,o,i,a,s,u;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,s=n.responseType,a=""===s||"text"===s?new $o(0,n.responseText):new $o("arraybuffer"===s?2:"blob"===s?1:3,n.response),u=function(e){const t=Ot();return vi(t,fi(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const o=e(t[n]);if(null!=o){const e=Ct(o);r.push(e)}}return r}((e=>{const t=Ln(Ni(":",e));return Nn(t)?void 0:[An(t).toLocaleLowerCase(),fn(":",In(t)).trim()]}),Ni("\r\n",n.getAllResponseHeaders()))),new Bo(o,e,i,n.responseURL,u,a)))};const r=$e(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 o=e.overridenMimeType;if(null==o);else{const e=o;n.overrideMimeType(e)}const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const a=e.timeout;if(null==a);else{const e=0|a;n.timeout=0|e}const s=e.content;switch(s.tag){case 1:case 3:case 2:n.send(xt(s.fields[0]));break;default:n.send()}}))}new Bo(0,"","","",Ei(),new $o(0,""));class Pi extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Di extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class ji{constructor(){this.cache=new Map([])}}function Ri(){return new ji}function Li(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Fi(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=function(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)}(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,o)+t.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],o=arguments.length,i="string"!=typeof arguments[o-1];let a=i?o-3:o-2;for(let e=0;e<a;e++)t.push(arguments[e]);t.index=arguments[a++],t.input=arguments[a++],i&&(t.groups=arguments[a]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const a=t.substring(o),s=en(e,a),u=en.length>r?(i=s[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+u.replace(e,n)+t.substring(o+u.length)}return t.replace(e,n)}(Li(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Li(t)}}Ri(),Ri();const Ui=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,zi=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Gi=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Hi(e,t){try{return t.contents=function(e){function t(e){return e.replace(zi,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ui.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+Kt(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(zi.test(n))return t(n);if(Gi.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch(e){return!1}}var Wi;function $i(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 Bi(e,t,n,r,o){try{return o.contents=function(e,t,n,r,o){const i=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;n=n||function(e,t){if(t&Wi.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 i=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(!i.test(o))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(r,n)}return null}(e,t,void 0);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=$i(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[a,s]=$i(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 Yi(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 Vi(e,t){try{return t.contents=function(e){const[t,n]=zt(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Yi(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Wi||(Wi={}));var qi=null;try{qi=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(u){}function Ji(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Xi(e){return!0===(e&&e.__isLong__)}Ji.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Ji.prototype.Equals=function(e){return Ca(this,e)},Ji.prototype.CompareTo=function(e){return Ma(this,e)},Ji.prototype.toString=function(e){return wa(this,e)},Ji.prototype.toJSON=function(){return wa(this)},Ji.prototype[Yt]=function(){const e=this;return{multiply:t=>Ia(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 wa(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Ji(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 Ji(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}}},Ji.prototype.__isLong__,Object.defineProperty(Ji.prototype,"__isLong__",{value:!0});var Zi={},Qi={};function Ki(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=Qi[e])?r:(n=ta(e,(0|e)<0?-1:0,!0),o&&(Qi[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=Zi[e])?r:(n=ta(e,e<0?-1:0,!1),o&&(Zi[e]=n),n)}function ea(e,t){if(isNaN(e))return t?la:ca;if(t){if(e<0)return la;if(e>=aa)return pa}else{if(e<=-sa)return ga;if(e+1>=sa)return ha}return e<0?Na(ea(-e,t)):ta(e%ia|0,e/ia|0,t)}function ta(e,t,n){return new Ji(e,t,n)}var na=Math.pow;function ra(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return ca;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 Na(ra(e.substring(1),t,n));for(var o=ea(na(n,8)),i=ca,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),u=parseInt(e.substring(a,a+s),n);i=Oa(s<8?Ia(i,ea(na(n,s))):i=Ia(i,o),ea(u))}return i.unsigned=t,i}function oa(e,t){return"number"==typeof e?ea(e,t):"string"==typeof e?ra(e,t):ta(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var ia=4294967296,aa=ia*ia,sa=aa/2,ua=Ki(1<<24),ca=Ki(0),la=Ki(0,!0),fa=Ki(1),da=Ki(1,!0),ma=Ki(-1),ha=ta(-1,2147483647,!1),pa=ta(-1,-1,!0),ga=ta(0,-2147483648,!1);function ya(e){return e.unsigned?e.low>>>0:e.low}function va(e){return e.unsigned?(e.high>>>0)*ia+(e.low>>>0):e.high*ia+(e.low>>>0)}function wa(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(ba(e))return"0";if(_a(e)){if(Ca(e,ga)){var n=ea(t),r=Ta(e,n),o=Aa(Ia(r,n),e);return wa(r,t)+ya(o).toString(t)}return"-"+wa(Na(e),t)}for(var i=ea(na(t,6),e.unsigned),a=e,s="";;){var u=Ta(a,i),c=(ya(Aa(a,Ia(u,i)))>>>0).toString(t);if(ba(a=u))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function ba(e){return 0===e.high&&0===e.low}function _a(e){return!e.unsigned&&e.high<0}function xa(e){return 1==(1&e.low)}function Ca(e,t){return Xi(t)||(t=oa(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function ka(e,t){return Ma(e,t)<0}function Sa(e,t){return Ma(e,t)>0}function Ea(e,t){return Ma(e,t)>=0}function Ma(e,t){if(Xi(t)||(t=oa(t)),Ca(e,t))return 0;var n=_a(e),r=_a(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:_a(Aa(e,t))?-1:1}function Na(e){return!e.unsigned&&Ca(e,ga)?ga:Oa(function(e){return ta(~e.low,~e.high,e.unsigned)}(e),fa)}function Oa(e,t){Xi(t)||(t=oa(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,u=t.low>>>16,c=0,l=0,f=0,d=0;return f+=(d+=i+(65535&t.low))>>>16,l+=(f+=o+u)>>>16,c+=(l+=r+s)>>>16,c+=n+a,ta((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(l&=65535),e.unsigned)}function Aa(e,t){return Xi(t)||(t=oa(t)),Oa(e,Na(t))}function Ia(e,t){if(ba(e))return e.unsigned?la:ca;if(Xi(t)||(t=oa(t)),qi)return ta(qi.mul(e.low,e.high,t.low,t.high),qi.get_high(),e.unsigned);if(ba(t))return e.unsigned?la:ca;if(Ca(e,ga))return xa(t)?ga:ca;if(Ca(t,ga))return xa(e)?ga:ca;if(_a(e))return _a(t)?Ia(Na(e),Na(t)):Na(Ia(Na(e),t));if(_a(t))return Na(Ia(e,Na(t)));if(ka(e,ua)&&ka(t,ua))return ea(va(e)*va(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,u=t.low>>>16,c=65535&t.low,l=0,f=0,d=0,m=0;return d+=(m+=i*c)>>>16,f+=(d+=o*c)>>>16,d&=65535,f+=(d+=i*u)>>>16,l+=(f+=r*c)>>>16,f&=65535,l+=(f+=o*u)>>>16,f&=65535,l+=(f+=i*s)>>>16,l+=n*c+r*u+o*s+i*a,ta((d&=65535)<<16|(m&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Ta(e,t){if(Xi(t)||(t=oa(t)),ba(t))throw Error("division by zero");var n,r,o;if(qi)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?ta((e.unsigned?qi.div_u:qi.div_s)(e.low,e.high,t.low,t.high),qi.get_high(),e.unsigned):e;if(ba(e))return e.unsigned?la:ca;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:ta(e.low,e.high,!0)}(t)),Sa(t,e))return la;if(Sa(t,function(e,t){if(Xi(t)&&(t=ya(t)),0==(t&=63))return e;var n=e.high;return t<32?ta(e.low>>>t|n<<32-t,n>>>t,e.unsigned):ta(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return da;o=la}else{if(Ca(e,ga))return Ca(t,fa)||Ca(t,ma)?ga:Ca(t,ga)?fa:Ca(n=function(e,t){return Xi(t)&&(t=ya(t)),0==(t&=63)?e:t<32?ta(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):ta(0,e.low<<t-32,e.unsigned)}(Ta(function(e,t){return Xi(t)&&(t=ya(t)),0==(t&=63)?e:t<32?ta(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):ta(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),ca)?_a(t)?fa:ma:o=Oa(n,Ta(r=Aa(e,Ia(t,n)),t));if(Ca(t,ga))return e.unsigned?la:ca;if(_a(e))return _a(t)?Ta(Na(e),Na(t)):Na(Ta(Na(e),t));if(_a(t))return Na(Ta(e,Na(t)));o=ca}for(r=e;Ea(r,t);){n=Math.max(1,Math.floor(va(r)/va(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),a=i<=48?1:na(2,i-48),s=ea(n),u=Ia(s,t);_a(u)||Sa(u,r);)u=Ia(s=ea(n-=a,e.unsigned),t);ba(s)&&(s=fa),o=Oa(o,s),r=Aa(r,u)}return o}const Pa=Ta,Da=va;function ja(e){return e<0?Math.ceil(e):Math.floor(e)}function Ra(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Da(Pa(arguments[0],1e4));case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function La(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 Ra(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,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,a=+t[4],s=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+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 i*Ra(n,a,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class Fa{constructor(e){this.k=e}}function Ua(e){return new Fa(e)}function za(e){return e.k}class Ga extends Fa{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Ha(e,t,n,r){return new Ga(e,t,n,r)}function Wa(e){return e.left}function $a(e){return e.right}function Ba(e){return e.h}function Ya(e,t){e:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Ga){e=Wa(r),t=Ya($a(r),n+1);continue e}return n+1|0}return 0|n}}function Va(e){return Ya(e,0)}function qa(e,t,n){let r,o;r=null!=e?e instanceof Ga?Ba(e):1:0,o=null!=n?n instanceof Ga?Ba(n):1:0;const i=0|(r<o?o:r);return 0===i?Ua(t):Ha(t,e,n,i+1)}function Ja(e,t,n){let r,o,i,a,s,u;if(s=null!=e?e instanceof Ga?Ba(e):1:0,u=null!=n?n instanceof Ga?Ba(n):1:0,u>s+2){const i=Ct(n);if(i instanceof Ga){if(r=Wa(i),(null!=r?(o=r,o instanceof Ga?Ba(o):1):0)>s+1){const n=Ct(Wa(i));if(n instanceof Ga)return qa(qa(e,t,Wa(n)),za(n),qa($a(n),za(i),$a(i)));throw new Error("internal error: Set.rebalance")}return qa(qa(e,t,Wa(i)),za(i),$a(i))}throw new Error("internal error: Set.rebalance")}if(s>u+2){const r=Ct(e);if(r instanceof Ga){if(i=$a(r),(null!=i?(a=i,a instanceof Ga?Ba(a):1):0)>u+1){const e=Ct($a(r));if(e instanceof Ga)return qa(qa(Wa(r),za(r),Wa(e)),za(e),qa($a(e),t,n));throw new Error("internal error: Set.rebalance")}return qa(Wa(r),za(r),qa($a(r),t,n))}throw new Error("internal error: Set.rebalance")}return qa(e,t,n)}function Xa(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,za(r));if(r instanceof Ga)return o<0?Ja(Xa(e,t,Wa(r)),za(r),$a(r)):0===o?n:Ja(Wa(r),za(r),Xa(e,t,$a(r)));{const o=0|e.Compare(t,za(r));return o<0?Ha(t,void 0,n,2):0===o?n:Ha(t,n,void 0,2)}}return Ua(t)}function Za(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=n,a=0|r.Compare(o,za(i));if(i instanceof Ga){if(a<0){e=r,t=o,n=Wa(i);continue e}if(0===a)return!0;e=r,t=o,n=$a(i);continue e}return 0===a}return!1}}function Qa(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Ga){Qa(n,Wa(r)),n(za(r)),e=n,t=$a(r);continue e}n(za(r))}break}}class Ka extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function es(e){e:for(;;){const t=e;if(Nn(t))return Sn();{const n=An(t),r=In(t);if(null!=n){const o=n;if(o instanceof Ga){e=Rn([Wa(o),Ua(za(o)),$a(o)],r);continue e}return t}e=r;continue e}}}function ts(e){return new Ka(es(Mn(e)),!1)}function ns(e){if(e.started){const t=e.stack;if(Nn(t))return function(){throw new Error("Enumeration already started")}();if(null!=An(t))return za(An(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function rs(e){let t=ts(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ns(t),"System.Collections.IEnumerator.get_Current":()=>ns(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Nn(t))return!1;if(null!=An(t)){if(An(t)instanceof Ga)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=es(In(t)),!Nn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Nn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=ts(e)},Dispose(){}}}function os(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n,a=[o,i];if(Nn(a[0]))return Nn(a[1])?0:-1;if(Nn(a[1]))return 1;if(null!=An(a[1]))if(null!=An(a[0])){const s=An(a[0]),u=An(a[1]);if(s instanceof Ga)if(null==Wa(s)){if(!(u instanceof Ga)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=En($a(s),In(a[0])),n=En(void 0,In(a[1]));continue e}if(null==Wa(u)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=En($a(s),In(a[0])),n=En($a(u),In(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(Nn(a[0])?Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2:null!=An(a[0])?(s=0,u=In(a[0]),c=An(a[0])):Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Rn([Wa(c),Ha(za(c),void 0,$a(c),0)],u),n=i;continue e}e=r,t=Rn([void 0,Ua(za(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Rn([Wa(f),Ha(za(f),void 0,$a(f),0)],l);continue e}e=r,t=o,n=Rn([void 0,Ua(za(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[o,i];let s,u,c,l,f;switch(Nn(a[0])?Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2:null!=An(a[0])?(s=0,u=In(a[0]),c=An(a[0])):Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Rn([Wa(c),Ha(za(c),void 0,$a(c),0)],u),n=i;continue e}e=r,t=Rn([void 0,Ua(za(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Rn([Wa(f),Ha(za(f),void 0,$a(f),0)],l);continue e}e=r,t=o,n=Rn([void 0,Ua(za(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof Ga)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=In(a[0]),n=In(a[1]);continue e}if(null==Wa(u)){const o=0|r.Compare(za(s),za(u));if(0!==o)return 0|o;e=r,t=En(void 0,In(a[0])),n=En($a(u),In(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(Nn(a[0])?Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2:null!=An(a[0])?(s=0,u=In(a[0]),c=An(a[0])):Nn(a[1])?s=2:null!=An(a[1])?(s=1,l=In(a[1]),f=An(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Rn([Wa(c),Ha(za(c),void 0,$a(c),0)],u),n=i;continue e}e=r,t=Rn([void 0,Ua(za(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Rn([Wa(f),Ha(za(f),void 0,$a(f),0)],l);continue e}e=r,t=o,n=Rn([void 0,Ua(za(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{An(a[1]);const s=[o,i];let u,c,l,f,d;switch(Nn(s[0])?Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2:null!=An(s[0])?(u=0,c=In(s[0]),l=An(s[0])):Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2,u){case 0:if(l instanceof Ga){e=r,t=Rn([Wa(l),Ha(za(l),void 0,$a(l),0)],c),n=i;continue e}e=r,t=Rn([void 0,Ua(za(l))],c),n=i;continue e;case 1:if(d instanceof Ga){e=r,t=o,n=Rn([Wa(d),Ha(za(d),void 0,$a(d),0)],f);continue e}e=r,t=o,n=Rn([void 0,Ua(za(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==An(a[0])){e=r,t=In(a[0]),n=In(a[1]);continue e}{An(a[0]);const s=[o,i];let u,c,l,f,d;switch(Nn(s[0])?Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2:null!=An(s[0])?(u=0,c=In(s[0]),l=An(s[0])):Nn(s[1])?u=2:null!=An(s[1])?(u=1,f=In(s[1]),d=An(s[1])):u=2,u){case 0:if(l instanceof Ga){e=r,t=Rn([Wa(l),Ha(za(l),void 0,$a(l),0)],c),n=i;continue e}e=r,t=Rn([void 0,Ua(za(l))],c),n=i;continue e;case 1:if(d instanceof Ga){e=r,t=o,n=Rn([Wa(d),Ha(za(d),void 0,$a(d),0)],f);continue e}e=r,t=o,n=Rn([void 0,Ua(za(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Mn(t),Mn(n))}function is(e,t,n){let r=n;Qa((e=>{t[r]=e,r=r+1|0}),e)}function as(e,t){if(Ue(t))return function(e,t){return Pt(((t,n)=>Xa(e,n,t)),void 0,t)}(e,t);if(t instanceof yn)return function(e,t){return Pn(((t,n)=>Xa(e,n,t)),void 0,t)}(e,t);{const n=$e(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=Xa(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{Ge(n)}}}class ss{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|et(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 ss&&0===os(us(this),cs(this),cs(e))}toString(){return"set ["+fn("; ",lr((e=>pt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|os(us(this),cs(this),cs(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 Za(us(this),e,cs(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){is(cs(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|ls(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ls(this)}GetEnumerator(){return rs(cs(this))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return rs(cs(this))}get size(){return 0|ls(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 Za(us(e),t,cs(e))}(this,e)}keys(){return lr((e=>e),this)}values(){return lr((e=>e),this)}entries(){return lr((e=>[e,e]),this)}forEach(e,t){const n=this;cr((t=>{e(t,t,n)}),n)}}function us(e){return e.comparer}function cs(e){return e.tree}function ls(e){return Va(cs(e))}function fs(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 ds(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new _o(1,function(e,t){const n=2===t.tag?fs(t.fields[0],t.fields[1],!0):1===t.tag?fs(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?fs(t.fields[0],t.fields[1],!0):4===t.tag?fs(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"+fn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:fs(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new _o(0,r.fields[0])}function ms(e,t){try{return ds("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new _o(1,"Given an invalid JSON: "+e.message);throw e}}function hs(e,t){return"string"==typeof t?new _o(0,t):new _o(1,[e,new Pi(0,"a string",t)])}const ps=e=>t=>{const n="a sbyte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new _o(0,(e+128&255)-128):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!1,8,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},gs=e=>t=>{const n="a byte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new _o(0,255&e):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!0,8,new vt((()=>t),(e=>{t=e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},ys=e=>t=>{const n="an int16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new _o(0,(e+32768&65535)-32768):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!1,16,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},vs=e=>t=>{const n="an uint16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new _o(0,65535&e):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!0,16,new vt((()=>t),(e=>{t=e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},ws=e=>t=>{const n="an int",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new _o(0,~~e):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!1,32,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])},bs=e=>t=>{const n="an uint32",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new _o(0,e>>>0):new _o(1,[r,new Pi(1,n,e,"Value was either too large or too small for "+n)]):new _o(1,[r,new Pi(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Bi(o,511,!0,32,new vt((()=>t),(e=>{t=e}))),t],e[0]?new _o(0,e[1]):new _o(1,[r,new Pi(0,n,o)])}return new _o(1,[r,new Pi(0,n,o)])};function _s(e,t,n,r){let o;const i=n+".["+Je(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,n[e]):new _o(1,[i,new Pi(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(o=n.length,Je(o)+"` entries"),r)])}return new _o(1,[i,new Pi(0,"an array",r)])}function xs(e,t,n){if(Array.isArray(n)){let r=-1;return xo(Dn,Pt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Je(r)+"]",o);return 0===i.tag?new _o(0,En(i.fields[0],n.fields[0])):new _o(1,i.fields[0])}return n}),new _o(0,Sn()),n))}return new _o(1,[t,new Pi(0,"a list",n)])}function Cs(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Pt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],a=e(t+".["+Je(r)+"]",o);return 0===a.tag?(i[r]=a.fields[0],new _o(0,i)):new _o(1,a.fields[0])}return n}),new _o(0,It(new Array(o.length),0,o.length,null)),o)}return new _o(1,[t,new Pi(0,"an array",n)])}function ks(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new _o(1,o.fields[0])}function Ss(e,t){let n;const r=e;return n=e=>t=>_s(0,r,e,t),e=>r=>ks(ft(3,(e=>{let n;const r=t;return n=e=>t=>_s(1,r,e,t),t=>r=>ks(((t,n,r)=>new _o(0,[e,t])),ft(2,n),t,r)})),ft(2,n),e,r)}function Es(e){return wi(e)}function Ms(e){return function(e,t){return new ss(e,t)}(t={Compare:st},as(t,e));var t}function Ns(e,t,n,r){let o;const i=t.length+e|0;if(i!==r.length)return new _o(1,[n,new Pi(6,(o=0|r.length,sn(on("Expected array of length %i but got %i"))(i)(o)))]);{let o=new _o(0,Sn());for(let i=e;i<=r.length-1;i++)if(0===o.tag){const a=o.fields[0],s=sn(on("%s[%i]"))(n)(i),u=t[i-e],c=r[i];o=xo((e=>En(e,a)),u(s)(c))}return xo(Dn,o)}}function Os(e,t,n,r,o,i){const a=function(e,t){return t.find((e=>zr(e)===r))}(0,Xr(n));if(null!=a){const n=a,r=Tt((n=>Is(e,t,!1,n[1])),no(n));return xo((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,Tn(e))),0===r.length&&i.length<=1?new _o(0,Sn()):Ns(1,r,o,i))}return new _o(1,[o,new Pi(6,"Cannot find case "+r+" in "+Gr(n))])}function As(e,t,n,r){const o=new vt(null);let i;const a=Gr(r);let s;if(i=""===a?e:Ci(a,o,e),eo(r)){const e=Tt((e=>[Fi(t,zr(e)),Is(i,t,!1,e[1])]),Zr(r));s=t=>n=>xo((e=>function(e,t){const n=Zr(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],o)=>(e[n]=t[o],e)),{})}(r,Tn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new _o(1,[t,new Pi(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ft(2,(e=>{const r=e[0];return o=>0===o.tag?xo((e=>En(e,o.fields[0])),e[1](t+"."+r)(n[r])):o})),e,new _o(0,Sn()))}(e,t,n))}else if(Kr(r))s=e=>n=>{if("string"==typeof n)return Os(i,t,r,n,e,[]);if(Array.isArray(n)){const s=n;return o=n=>Os(i,t,r,n,e,s),0===(a=hs(e+"[0]",s[0])).tag?o(a.fields[0]):new _o(1,a.fields[0])}return new _o(1,[e,new Pi(0,"a string or array",n)]);var o,a};else{if(!n){let e;const t=Gr(r);throw e=sn(on("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 _o(1,[e,new Pi(2,"an extra coder for "+Gr(r),t)])}return o.contents=s,s}function Is(e,t,n,r){let o,i,a,s;const u=Gr(r),c=ki(u,e);if(null==c){if(Hr(r)){const n=Is(e,t,!1,Wr(r));return e=>t=>Cs(ft(2,n),e,t)}if(Br(r)){const e=Gr(Vr(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,a=ps(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,a=gs(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,a=ys(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString(s))):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}var s};if("System.UInt16"===e)return e=>t=>{const n=r,o=e,i=t,a=vs(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,a=ws(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,Je(e))):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,a=bs(o)(i);if(1===a.tag)return new _o(1,a.fields[0]);{const e=a.fields[0];return sr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new _o(0,Jr(n,e.toString())):new _o(1,[o,new Pi(1,Gr(n),i,"Unkown value provided for the enum")])}};{const e=Gr(r),t=un(on("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($r(r)){if(to(r)){const n=Tt((n=>Is(e,t,!1,n)),Qr(r));return e=>t=>Array.isArray(t)?xo((e=>Tn(e)),Ns(0,n,e,t)):new _o(1,[e,new Pi(0,"an array",t)])}{const u=Gr(Yr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===u)return o=Is(e,t,!0,Or(r)[0]),e=>t=>{return n=ft(2,o),r=e,null==(i=t)?new _o(0,void 0):xo(xt,n(r,i));var n,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===u)return i=Is(e,t,!1,Or(r)[0]),e=>t=>xs(ft(2,i),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===u)return a=Is(e,t,!1,Or(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return xo(dr,Pt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Je(r)+"]",o);return 0===i.tag?new _o(0,ar([i.fields[0]],n.fields[0])):new _o(1,i.fields[0])}return n}),new _o(0,[]),n))}return new _o(1,[t,new Pi(0,"a seq",n)])}(ft(2,a),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===u){const n=Is(e,t,!1,Or(r)[0]),o=Is(e,t,!1,Or(r)[1]);let i;const a=Ln([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new _o(1,[n,new Pi(0,"an object",r)]):ur(((o,i)=>{if(0===o.tag){const a=e(n,i);if(0===a.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new _o(0,En([a.fields[0],e.fields[0]],o.fields[0])):new _o(1,e.fields[0])}return new _o(1,a.fields[0])}return o}),new _o(0,Sn()),Object.keys(r))}(ft(2,n),ft(2,o),e,t),(s=Ss(ft(2,n),ft(2,o)),e=>t=>xs(ft(2,s),e,t))]);return i=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(Nn(o))return new _o(1,[n,new Pi(7,i)]);{const a=ds(n,ft(2,An(o)),r);if(1===a.tag){e=In(o),t=Fn(i,Mn(a.fields[0]));continue e}return new _o(0,a.fields[0])}}})(a,Sn());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new _o(1,o.fields[0]):new _o(0,e(o.fields[0]))}(Es,ft(2,i),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===u){const n=Is(e,t,!1,Or(r)[0]);return e=>t=>{const r=Cs(ft(2,n),e,t);return 0===r.tag?new _o(0,Ms(r.fields[0])):new _o(1,r.fields[0])}}return As(e,t,n,r)}}return"System.Boolean"===u?e=>t=>{return n=e,"boolean"==typeof(r=t)?new _o(0,r):new _o(1,[n,new Pi(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===u?e=>t=>{return n=e,null==(r=t)?new _o(0,void 0):new _o(1,[n,new Pi(0,"null",r)]);var n,r}:"System.String"===u?e=>t=>hs(e,t):"System.Char"===u?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new _o(0,n[0]):new _o(1,[e,new Pi(0,"a single character string",t)])}return new _o(1,[e,new Pi(0,"a char",t)])}(e,t):"System.SByte"===u?ps:"System.Byte"===u?gs:"System.Int16"===u?ys:"System.UInt16"===u?vs:"System.Int32"===u?ws:"System.UInt32"===u?bs:"System.Double"===u?e=>t=>{return n=e,"number"==typeof(r=t)?new _o(0,r):new _o(1,[n,new Pi(0,"a float",r)]);var n,r}:"System.Single"===u?e=>t=>{return n=e,"number"==typeof(r=t)?new _o(0,r):new _o(1,[n,new Pi(0,"a float32",r)]);var n,r}:"System.DateTime"===u?e=>t=>function(e,t){if("string"==typeof t){let r,o=Ut(-621355968e5,0);return r=[Gt(t,new vt((()=>o),(e=>{o=e}))),o],r[0]?new _o(0,1===(n=r[1]).kind?n:Ut(n.getTime(),1)):new _o(1,[e,new Pi(0,"a datetime",t)])}var n;return new _o(1,[e,new Pi(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===u?e=>t=>function(e,t){if("string"==typeof t){let n,r=Yi(-621355968e5,0);return n=[Vi(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new _o(0,n[1]):new _o(1,[e,new Pi(0,"a datetimeoffset",t)])}return new _o(1,[e,new Pi(0,"a datetime",t)])}(e,t):"System.TimeSpan"===u?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[La(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new _o(0,n[1]):new _o(1,[e,new Pi(0,"a timespan",t)])}return new _o(1,[e,new Pi(0,"a timespan",t)])}(e,t):"System.Guid"===u?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[Hi(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new _o(0,n[1]):new _o(1,[e,new Pi(0,"a guid",t)])}return new _o(1,[e,new Pi(0,"a guid",t)])}(e,t):"System.Object"===u?e=>e=>new _o(0,e):As(e,t,n,r)}{const e=c;return t=>n=>e.contents(t)(n)}}function Ts(e,t,n){const r=Et(t,new Di(0));return Is(function(e){return null!=e?Si(((e,t)=>new vt(t[1])),e.Coders):Ei()}(n),r,!1,e)}class Ps extends yt{constructor(e,t,n,r,o,i,a){super(),this.Configuration=e,this.LastUpdated=t,this.Status=n,this.Invite=r,this.Creator=o,this.Profile=i,this.Tags=a}}class Ds extends yt{constructor(e,t){super(),this.Name=e,this.Steps=t}}class js extends yt{constructor(e,t){super(),this.Id=e,this.DisplayName=t}}class Rs extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Ls extends yt{constructor(e){super(),this.CompletedSteps=e}}class Fs extends yt{constructor(e,t){super(),this.Type=e,this.Date=t}}class Us extends yt{constructor(e){super(),this.DateIssued=e}}class zs extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Gs extends yt{constructor(e,t,n){super(),this.FirstName=e,this.LastName=t,this.Email=n}}class Hs extends yt{constructor(e,t,n,r){super(),this.FirstName=e,this.LastName=t,this.Email=n,this.ExternalId=r}}class Ws extends yt{constructor(e){super(),this.Data=e}}class $s{constructor(e,t){this.accessToken=t,this.backendUrl=`${e}/workflows/progress-backend`}}function Bs(e){return bo.Delay((()=>{let t,n;n=function(e,t){return function(e,t){const n=Ut(e.getTime()+t,e.kind);if(2===e.kind){const t=e.getTimezoneOffset(),r=n.getTimezoneOffset();return t!==r?Ut(n.getTime()+6e4*(r-t),e.kind):n}return n}(e,-2592e6)}(Ht()),t=Ft(n,"o");const r=(o=e,i=Ai(new zo(0),Oi(`${e.backendUrl}/instances?dateFrom=${t}`)),bo.Delay((()=>{const e=Ii((t=`Bearer ${o.accessToken}`,new Go(0,"Authorization",t)),i);var t;let n;const r=Ti(e);return n=bo.Bind(r,(e=>bo.Return(new _o(0,e)))),bo.Bind(n,(t=>{const n=t;if(1===n.tag)return bo.Return(new _o(1,n.fields[0]));{const t=n.fields[0];if(429===t.statusCode||t.statusCode>=500){const t=Ti(e);return bo.Bind(t,(e=>bo.Return(new _o(0,e))))}return bo.Return(new _o(0,t))}}))})));var o,i;return bo.Bind(r,(e=>{const t=e;if(1===t.tag)return bo.Return(new _o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=ms(ft(2,Ts(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetailList",[],Ws,(()=>[["Data",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetail",[],Ps,(()=>[["Configuration",Pr("Workflows.Api.Models.ProgressBackendModels.ProcessConfig",[],Ds,(()=>[["Name",Fr],["Steps",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessStepConfig",[],js,(()=>[["Id",Fr],["DisplayName",Fr]])))]]))],["LastUpdated",Tr("System.DateTime")],["Status",Dr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceStatus",[],Rs,(()=>[[],[["Item",Pr("Workflows.Api.Models.ProgressBackendModels.ActiveProcessInstance",[],Ls,(()=>[["CompletedSteps",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.CompletedStep",[],Fs,(()=>[["Type",Fr],["Date",Tr("System.DateTime")]])))]]))]],[["Item",Tr("System.DateTime")]],[["Item",Tr("System.DateTime")]]]))],["Invite",jr(Pr("Workflows.Api.Models.ProgressBackendModels.Invite",[],Us,(()=>[["DateIssued",Tr("System.DateTime")]])))],["Creator",jr(Pr("Workflows.Api.Models.ProgressBackendModels.Creator",[],Gs,(()=>[["FirstName",Fr],["LastName",Fr],["Email",Fr]])))],["Profile",Pr("Workflows.Api.Models.ProgressBackendModels.Profile",[],Hs,(()=>[["FirstName",Fr],["LastName",Fr],["Email",Fr],["ExternalId",jr(Fr)]]))],["Tags",Rr(Pr("Workflows.Api.Models.ProgressBackendModels.Tag",[],zs,(()=>[["Name",Fr],["Value",Fr]])))]])))]])),new Di(1),void 0)),e.responseText);return bo.Return(t)}return bo.Return(new _o(1,"Unexpected response from backend"))}}))}))}const Ys=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)}},Vs=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 Ys}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 qs{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function Js(e,t,n){jn((n=>{try{n(t)}catch(t){e(t)}}),n)}function Xs(){return Sn()}function Zs(e,t){return zn((t=>n=>{t((t=>{n(e(t))}))}),t)}function Qs(e){return Mn((t=>{t(e)}))}function Ks(e,t,n,r,o){return Mn((i=>{e(bo.Delay((()=>{return bo.Bind((e=t(n),wo((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new Co(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new Co(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))),(e=>{const t=e;return i(1===t.tag?o(t.fields[0]):r(t.fields[0])),bo.Zero()}));var e})))}))}function eu(e,t,n,r,o){const i=function(e,t,n,r){const o=0|st(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|st(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return er((()=>{return t=i,n=e,Qn((()=>function(e,t){let n,r=t;return Xn((()=>{if(null!=n){const e=n[0];return n[1],e}return Yn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class tu extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class nu{constructor(e){this.state=new tu(0,It(new Array(ut(it,e,10)),0,ut(it,e,10),null),0)}}function ru(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new tu(0,o,n):new tu(1,o,n,i),xt(o[r])}}class ou extends yt{constructor(e,t,n,r,o,i,a){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=a}}function iu(e,t,n){return new ou(e,t,(e=>Xs()),n,ft(2,(e=>{const t=ht(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(xt(t),n)}),ft(2,(e=>e)))}function au(e,t){return new ou(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function su(e,t){const n=t.init(e),r=n[0],o=new nu(10);let i=!1,a=r;const s=ht(1,t.syncDispatch,[e=>{if(i)!function(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],a=0|n.fields[2],s=n.fields[0];s[i]=t;const u=(i+1)%s.length|0;e.state=u===a?new tu(1,(r=a,o=s,Array.from(er((()=>ar(mr(r,o),er((()=>{return ar((e=r,t=o,ir((()=>Kn(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return xt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Bn+"\\nParameter name: source")}}),(e=>{Ge(e)}))),er((()=>hr((e=>nr(null)),eu(0,1,o.length,0,((e,t)=>e+t))))));var e,t}))))))),s.length,0):new tu(1,s,u,a)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new tu(1,o,i,r)}var r,o}(o,e);else{i=!0;let n=xt(e);for(;null!=n;){const e=Ct(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),Js((n=>{t.onError([sn(on("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([sn(on("Unable to process the message: %A"))(e),n])}n=ru(o)}i=!1}}]);t.setState(r,s),Js((e=>{t.onError(["Error intitializing:",e])}),s,function(e){const t=wn();let n=t;const r=e=>{n=Pn(((e,t)=>{const n=new yn(t,void 0);return e.tail=n,n}),n,e)};if(Ue(e))e.forEach(r);else if(e instanceof yn)jn(r,e);else{const t=$e(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ge(t)}}const o=n,i=wn();return o.tail=i,kn(t)}(Ln([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),Xs()}})(),n[1]])))}class uu{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function cu(){return new uu}function lu(e,t,n,r){su(t,au(((e,t)=>{!function(e,t,n){e.state=xt(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const o=function(e){return e.state}(n);if(null!=o)return Ct(o);throw new Error("Elmish program has not initialized")}function fu(e,t){return function(e,t,n){const r=br(cu)[0],o=br((()=>lu(e,t,r))),i=o[1];return xr((()=>(function(e){return e.hasDisposedOnce}(r)&&i(lu(e,t,r)),wr((()=>{!function(e){const t=e.state;if(null!=t){const e=Ct(t);ze(e)&&Ge(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),Et(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,i),[o[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function du(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class mu{constructor(e,t){const n=new vt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();yu(n.contents,e)}}finally{Ge(r)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}GetEnumerator(){return $e(tr(this.hashMap.values()))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){yu(this,e)}"System.Collections.Generic.ICollection`1.Clear"(){pu(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return vu(this,e)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},ur(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|gu(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){return wu(this,e)}get size(){return 0|gu(this)}add(e){return yu(this,e),this}clear(){pu(this)}delete(e){return wu(this,e)}has(e){return vu(this,e)}keys(){return lr((e=>e),this)}values(){return lr((e=>e),this)}entries(){return lr((e=>[e,e]),this)}forEach(e,t){const n=this;cr((t=>{e(t,t,n)}),n)}}function hu(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[(i=e.hashMap,a=n,s=new vt((()=>o),(e=>{o=e})),!!i.has(a)&&(s.contents=i.get(a),!0)),o],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n)))]:[!1,n,-1];var i,a,s}function pu(e){e.hashMap.clear()}function gu(e){let t=0,n=$e(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 yu(e,t){const n=hu(e,t);return n[0]?!(n[2]>-1)&&(du(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function vu(e,t){const n=hu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function wu(e,t){const n=hu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return du(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function bu(e,t){return er((()=>{const n=new mu([],t);return function(e,t){return function(e,t){return or((()=>Kn(t)),(t=>{let n;for(;null==n&&t["System.Collections.IEnumerator.MoveNext"]();)n=e(t["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}),(e=>{Ge(e)}))}((t=>e(t)?xt(t):void 0),t)}((e=>function(e,t){return!t.has(e)&&(t.add(e),!0)}(e,n)),e)}))}class _u extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["All","Completed","InProgress","NotStarted"]}}function xu(e){switch(e.tag){case 1:return"Completed";case 2:return"In progress";case 3:return"Not started";default:return"All"}}class Cu extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetInstanceListCallback","SelectStatusTab"]}}class ku extends yt{constructor(e,t){super(),this.ProcessInstanceList=e,this.SelectedStatusTab=t}}function Su(e){return function(e,t){return Hn(((e,n)=>t.Compare(e,n)),e)}((t=zn((e=>e.Name),Un((e=>e.Tags),e.Data)),n={Equals:(e,t)=>e===t,GetHashCode:Ze},rr(bu(t,n))),{Compare:it});var t,n}function Eu(e,t){return rt(e,new _u(0))?t:new Ws(function(e,t){const n=wn(),r=Pn(((t,n)=>{if(e(n)){const e=new yn(n,void 0);return t.tail=e,e}return t}),n,t),o=wn();return r.tail=o,kn(n)}((t=>{let n;return rt((n=t.Status,1===n.tag?new _u(2):2===n.tag?new _u(1):3===n.tag?void 0:new _u(3)),e)}),t.Data))}function Mu(){let e;e=new CustomEvent("progressComponentReady",{}),window.dispatchEvent(e)}function Nu(){return[new ku(new Mo(0),new _u(0)),Xs()]}function Ou(e,t){if(1===e.tag)return[new ku(t.ProcessInstanceList,e.fields[0]),Xs()];{const i=e.fields[0];let a,s;switch(3===i.tag?a=1:0===i.tag?a=2:1===i.tag?a=3:1===i.fields[0].tag?a=1:(a=0,s=i.fields[0].fields[0]),a){case 0:return Mu(),[new ku(new Mo(2,new Ws((n=e=>e.LastUpdated,r=s.Data,o={Compare:Bt},Hn(((e,t)=>-1*o.Compare(n(e),n(t))),r)))),t.SelectedStatusTab),Xs()];case 1:return Mu(),[new ku(new Mo(3,new Error),t.SelectedStatusTab),Xs()];case 2:return[new ku(new Mo(0),t.SelectedStatusTab),Xs()];case 3:return[new ku(new Mo(1),t.SelectedStatusTab),Xs()]}}var n,r,o}function Au(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 Iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Au(Object(n),!0).forEach((function(t){Du(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Au(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tu(e){return Tu="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},Tu(e)}function Pu(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 Du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Lu(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 Ru(e){return function(e){if(Array.isArray(e))return Fu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Lu(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 Lu(e,t){if(e){if("string"==typeof e)return Fu(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)?Fu(e,t):void 0}}function Fu(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 Uu=function(){},zu={},Gu={},Hu=null,Wu={mark:Uu,measure:Uu};try{"undefined"!=typeof window&&(zu=window),"undefined"!=typeof document&&(Gu=document),"undefined"!=typeof MutationObserver&&(Hu=MutationObserver),"undefined"!=typeof performance&&(Wu=performance)}catch(u){}var $u=(zu.navigator||{}).userAgent,Bu=void 0===$u?"":$u,Yu=zu,Vu=Gu,qu=Hu,Ju=Wu,Xu=(Yu.document,!!Vu.documentElement&&!!Vu.head&&"function"==typeof Vu.addEventListener&&"function"==typeof Vu.createElement),Zu=~Bu.indexOf("MSIE")||~Bu.indexOf("Trident/"),Qu="___FONT_AWESOME___",Ku=16,ec="fa",tc="svg-inline--fa",nc="data-fa-i2svg",rc="data-fa-pseudo-element",oc="data-fa-pseudo-element-pending",ic="data-prefix",ac="data-icon",sc="fontawesome-i2svg",uc="async",cc=["HTML","HEAD","STYLE","SCRIPT"],lc=function(){try{return!0}catch(e){return!1}}(),fc={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"},dc={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},mc={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},hc={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},pc=/fa[srltdbk]?[\-\ ]/,gc="fa-layers-text",yc=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,vc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},wc=[1,2,3,4,5,6,7,8,9,10],bc=wc.concat([11,12,13,14,15,16,17,18,19,20]),_c=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],xc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Cc=[].concat(Ru(Object.keys(dc)),["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",xc.GROUP,xc.SWAP_OPACITY,xc.PRIMARY,xc.SECONDARY]).concat(wc.map((function(e){return"".concat(e,"x")}))).concat(bc.map((function(e){return"w-".concat(e)}))),kc=Yu.FontAwesomeConfig||{};Vu&&"function"==typeof Vu.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=ju(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Vu.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(kc[r]=o)}));var Sc=Iu(Iu({},{familyPrefix:ec,styleDefault:"solid",replacementClass:tc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),kc);Sc.autoReplaceSvg||(Sc.observeMutations=!1);var Ec={};Object.keys(Sc).forEach((function(e){Object.defineProperty(Ec,e,{enumerable:!0,set:function(t){Sc[e]=t,Mc.forEach((function(e){return e(Ec)}))},get:function(){return Sc[e]}})})),Yu.FontAwesomeConfig=Ec;var Mc=[],Nc=Ku,Oc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Ac="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ic(){for(var e=12,t="";e-- >0;)t+=Ac[62*Math.random()|0];return t}function Tc(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Pc(e){return e.classList?Tc(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Dc(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function jc(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Rc(e){return e.size!==Oc.size||e.x!==Oc.x||e.y!==Oc.y||e.rotate!==Oc.rotate||e.flipX||e.flipY}var Lc=':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 Fc(){var e=ec,t=tc,n=Ec.familyPrefix,r=Ec.replacementClass,o=Lc;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var Uc=!1;function zc(){Ec.autoAddCss&&!Uc&&(function(e){if(e&&Xu){var t=Vu.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Vu.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}Vu.head.insertBefore(t,r)}}(Fc()),Uc=!0)}var Gc={mixout:function(){return{dom:{css:Fc,insertCss:zc}}},hooks:function(){return{beforeDOMElementCreation:function(){zc()},beforeI2svg:function(){zc()}}}},Hc=Yu||{};Hc[Qu]||(Hc[Qu]={}),Hc[Qu].styles||(Hc[Qu].styles={}),Hc[Qu].hooks||(Hc[Qu].hooks={}),Hc[Qu].shims||(Hc[Qu].shims=[]);var Wc=Hc[Qu],$c=[],Bc=!1;function Yc(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?Dc(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Dc(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Yc).join(""),"</").concat(t,">")}function Vc(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Xu&&((Bc=(Vu.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Vu.readyState))||Vu.addEventListener("DOMContentLoaded",(function e(){Vu.removeEventListener("DOMContentLoaded",e),Bc=1,$c.map((function(e){return e()}))})));var qc=function(e,t,n,r){var o,i,a,s=Object.keys(e),u=s.length,c=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<u;o++)a=c(a,e[i=s[o]],i,e);return a};function Jc(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function Xc(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 Zc(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Xc(t);"function"!=typeof Wc.hooks.addPack||r?Wc.styles[e]=Iu(Iu({},Wc.styles[e]||{}),o):Wc.hooks.addPack(e,Xc(t)),"fas"===e&&Zc("fa",t)}var Qc=Wc.styles,Kc=Wc.shims,el=Object.values(mc),tl=null,nl={},rl={},ol={},il={},al={},sl=Object.keys(fc);var ul,cl=function(){var e=function(e){return qc(Qc,(function(t,n,r){return t[r]=qc(n,e,{}),t}),{})};nl=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})),rl=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})),al=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 Qc||Ec.autoFetchSvg,n=qc(Kc,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e}),{names:{},unicodes:{}});ol=n.names,il=n.unicodes,tl=pl(Ec.styleDefault)};function ll(e,t){return(nl[e]||{})[t]}function fl(e,t){return(al[e]||{})[t]}function dl(e){return ol[e]||{prefix:null,iconName:null}}function ml(){return tl}ul=function(e){tl=pl(e.styleDefault)},Mc.push(ul),cl();var hl=function(){return{prefix:null,iconName:null,rest:[]}};function pl(e){var t=fc[e],n=dc[e]||dc[t],r=e in Wc.styles?e:null;return n||r||null}function gl(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==t&&t,r=null,o=e.reduce((function(e,t){var o=function(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~Cc.indexOf(n))?null:i}(Ec.familyPrefix,t);if(Qc[t]?(t=el.includes(t)?hc[t]:t,r=t,e.prefix=t):sl.indexOf(t)>-1?(r=t,e.prefix=pl(t)):o?e.iconName=o:t!==Ec.replacementClass&&e.rest.push(t),!n&&e.prefix&&e.iconName){var i="fa"===r?dl(e.iconName):{},a=fl(e.prefix,e.iconName);i.prefix&&(r=null),e.iconName=i.iconName||a||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Qc.far||!Qc.fas||Ec.autoFetchSvg||(e.prefix="fas")}return e}),hl());return"fa"!==o.prefix&&"fa"!==r||(o.prefix=ml()||"fas"),o}var yl=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 o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=Iu(Iu({},e.definitions[t]||{}),o[t]),Zc(t,o[t]);var n=mc[t];n&&Zc(n,o[t]),cl()}))}},{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],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];e[o]||(e[o]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[o][t]=a)})),e[o][i]=a})),e}}],n&&Pu(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),vl=[],wl={},bl={},_l=Object.keys(bl);function xl(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(wl[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function Cl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(wl[e]||[]).forEach((function(e){e.apply(null,n)}))}function kl(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return bl[e]?bl[e].apply(null,t):void 0}function Sl(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||ml();if(t)return t=fl(n,t)||t,Vc(El.definitions,n,t)||Vc(Wc.styles,n,t)}var El=new yl,Ml={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Xu?(Cl("beforeI2svg",e),kl("pseudoElements2svg",e),kl("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===Ec.autoReplaceSvg&&(Ec.autoReplaceSvg=!0),Ec.observeMutations=!0,e=function(){Ol({autoReplaceSvgRoot:n}),Cl("watch",t)},Xu&&(Bc?setTimeout(e,0):$c.push(e))}},Nl={noAuto:function(){Ec.autoReplaceSvg=!1,Ec.observeMutations=!1,Cl("noAuto")},config:Ec,dom:Ml,parse:{icon:function(e){if(null===e)return null;if("object"===Tu(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:fl(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=pl(e[0]);return{prefix:n,iconName:fl(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Ec.familyPrefix,"-"))>-1||e.match(pc))){var r=gl(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ml(),iconName:fl(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=ml();return{prefix:o,iconName:fl(o,e)||e}}}},library:El,findIconDefinition:Sl,toHtml:Yc},Ol=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Vu:e;(Object.keys(Wc.styles).length>0||Ec.autoFetchSvg)&&Xu&&Ec.autoReplaceSvg&&Nl.dom.i2svg({node:t})};function Al(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Yc(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Xu){var t=Vu.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Il(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,u=e.title,c=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,m=void 0!==d&&d,h=r.found?r:n,p=h.width,g=h.height,y="fak"===o,v=[Ec.replacementClass,i?"".concat(Ec.familyPrefix,"-").concat(i):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),w={children:[],attributes:Iu(Iu({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=y&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};m&&(w.attributes[nc]=""),u&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(l||Ic())},children:[u]}),delete w.attributes.title);var _=Iu(Iu({},w),{},{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Iu(Iu({},b),f.styles)}),x=r.found&&n.found?kl("generateAbstractMask",_)||{children:[],attributes:{}}:kl("generateAbstractIcon",_)||{children:[],attributes:{}},C=x.children,k=x.attributes;return _.children=C,_.attributes=k,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,a=!0===i?"".concat(t,"-").concat(Ec.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Iu(Iu({},o),{},{id:a}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(Rc(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=jc(Iu(Iu({},i),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(_)}function Tl(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,a=e.extra,s=e.watchable,u=void 0!==s&&s,c=Iu(Iu(Iu({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});u&&(c[nc]="");var l=Iu({},a.styles);Rc(o)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?Ku:n,o=e.height,i=void 0===o?Ku:o,a=e.startCentered,s=void 0!==a&&a,u="";return u+=s&&Zu?"translate(".concat(t.x/Nc-r/2,"em, ").concat(t.y/Nc-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/Nc,"em), calc(-50% + ").concat(t.y/Nc,"em)) "):"translate(".concat(t.x/Nc,"em, ").concat(t.y/Nc,"em) "),(u+="scale(".concat(t.size/Nc*(t.flipX?-1:1),", ").concat(t.size/Nc*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=jc(l);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}var Pl=Wc.styles;function Dl(e){var t=e[0],n=e[1],r=ju(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Ec.familyPrefix,"-").concat(xc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ec.familyPrefix,"-").concat(xc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Ec.familyPrefix,"-").concat(xc.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var jl={found:!1,width:512,height:512};function Rl(e,t){var n=t;return"fa"===t&&null!==Ec.styleDefault&&(t=ml()),new Promise((function(r,o){if(kl("missingIconAbstract"),"fa"===n){var i=dl(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Pl[t]&&Pl[t][e])return r(Dl(Pl[t][e]));!function(e,t){lc||Ec.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Iu(Iu({},jl),{},{icon:Ec.showMissingIcons&&e&&kl("missingIconAbstract")||{}}))}))}var Ll=function(){},Fl=Ec.measurePerformance&&Ju&&Ju.mark&&Ju.measure?Ju:{mark:Ll,measure:Ll},Ul='FA "6.1.2"',zl=function(e){Fl.mark("".concat(Ul," ").concat(e," ends")),Fl.measure("".concat(Ul," ").concat(e),"".concat(Ul," ").concat(e," begins"),"".concat(Ul," ").concat(e," ends"))},Gl={begin:function(e){return Fl.mark("".concat(Ul," ").concat(e," begins")),function(){return zl(e)}},end:zl},Hl=function(){};function Wl(e){return"string"==typeof(e.getAttribute?e.getAttribute(nc):null)}function $l(e){return Vu.createElementNS("http://www.w3.org/2000/svg",e)}function Bl(e){return Vu.createElement(e)}function Yl(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?$l:Bl:t;if("string"==typeof e)return Vu.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(Yl(e,{ceFn:n}))})),r}var Vl={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Yl(e),t)})),null===t.getAttribute(nc)&&Ec.keepOriginalSource){var n=Vu.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(~Pc(t).indexOf(Ec.replacementClass))return Vl.replace(e);var r=new RegExp("".concat(Ec.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Ec.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=n.map((function(e){return Yc(e)})).join("\n");t.setAttribute(nc,""),t.innerHTML=i}};function ql(e){e()}function Jl(e,t){var n="function"==typeof t?t:Hl;if(0===e.length)n();else{var r=ql;Ec.mutateApproach===uc&&(r=Yu.requestAnimationFrame||ql),r((function(){var t=!0===Ec.autoReplaceSvg?Vl.replace:Vl[Ec.autoReplaceSvg]||Vl.replace,r=Gl.begin("mutate");e.map(t),r(),n()}))}}var Xl=!1;function Zl(){Xl=!0}function Ql(){Xl=!1}var Kl=null;function ef(e){if(qu&&Ec.observeMutations){var t=e.treeCallback,n=void 0===t?Hl:t,r=e.nodeCallback,o=void 0===r?Hl:r,i=e.pseudoElementsCallback,a=void 0===i?Hl:i,s=e.observeMutationsRoot,u=void 0===s?Vu:s;Kl=new qu((function(e){if(!Xl){var t=ml();Tc(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Wl(e.addedNodes[0])&&(Ec.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Ec.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Wl(e.target)&&~_c.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(ic):null,n=e.getAttribute?e.getAttribute(ac):null;return t&&n}(e.target)){var r=gl(Pc(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(ic,i||t),s&&e.target.setAttribute(ac,s)}else(u=e.target)&&u.classList&&u.classList.contains&&u.classList.contains(Ec.replacementClass)&&o(e.target);var u}))}})),Xu&&Kl.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",a=gl(Pc(e));return a.prefix||(a.prefix=ml()),r&&o&&(a.prefix=r,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(rl[t]||{})[n]||ll(a.prefix,Jc(e.innerText)))),!a.iconName&&Ec.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}(e),r=n.iconName,o=n.prefix,i=n.rest,a=function(e){var t=Tc(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 Ec.autoA11y&&(n?t["aria-labelledby"]="".concat(Ec.replacementClass,"-title-").concat(r||Ic()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),s=xl("parseNodeAttributes",{},e),u=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}(e):[];return Iu({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Oc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:a}},s)}var nf=Wc.styles;function rf(e){var t="nest"===Ec.autoReplaceSvg?tf(e,{styleParser:!1}):tf(e);return~t.extra.classes.indexOf(gc)?kl("generateLayersText",e,t):kl("generateSvgReplacementMutation",e,t)}function of(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Xu)return Promise.resolve();var n=Vu.documentElement.classList,r=function(e){return n.add("".concat(sc,"-").concat(e))},o=function(e){return n.remove("".concat(sc,"-").concat(e))},i=Ec.autoFetchSvg?Object.keys(fc):Object.keys(nf);i.includes("fa")||i.push("fa");var a=[".".concat(gc,":not([").concat(nc,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(nc,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Tc(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var u=Gl.begin("onTree"),c=s.reduce((function(e,t){try{var n=rf(t);n&&e.push(n)}catch(e){lc||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Jl(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),u(),e()}))})).catch((function(e){u(),n(e)}))}))}function af(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;rf(e).then((function(e){e&&Jl([e],t)}))}var sf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Oc:n,o=t.symbol,i=void 0!==o&&o,a=t.mask,s=void 0===a?null:a,u=t.maskId,c=void 0===u?null:u,l=t.title,f=void 0===l?null:l,d=t.titleId,m=void 0===d?null:d,h=t.classes,p=void 0===h?[]:h,g=t.attributes,y=void 0===g?{}:g,v=t.styles,w=void 0===v?{}:v;if(e){var b=e.prefix,_=e.iconName,x=e.icon;return Al(Iu({type:"icon"},e),(function(){return Cl("beforeDOMElementCreation",{iconDefinition:e,params:t}),Ec.autoA11y&&(f?y["aria-labelledby"]="".concat(Ec.replacementClass,"-title-").concat(m||Ic()):(y["aria-hidden"]="true",y.focusable="false")),Il({icons:{main:Dl(x),mask:s?Dl(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Iu(Iu({},Oc),r),symbol:i,title:f,maskId:c,titleId:m,extra:{attributes:y,styles:w,classes:p}})}))}},uf={mixout:function(){return{icon:(e=sf,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Sl(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:Sl(o||{})),e(r,Iu(Iu({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=of,e.nodeCallback=af,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Vu:t,r=e.callback;return of(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,i=t.prefix,a=t.transform,s=t.symbol,u=t.mask,c=t.maskId,l=t.extra;return new Promise((function(t,f){Promise.all([Rl(n,i),u.iconName?Rl(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(u){var f=ju(u,2),d=f[0],m=f[1];t([e,Il({icons:{main:d,mask:m},prefix:i,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:o,extra:l,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.transform,a=jc(e.styles);return a.length>0&&(r.style=a),Rc(i)&&(t=kl("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},cf={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 Al({type:"layer"},(function(){Cl("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(Ec.familyPrefix,"-layers")].concat(Ru(r)).join(" ")},children:n}]}))}}}},lf={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,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,u=t.styles,c=void 0===u?{}:u;return Al({type:"counter",content:e},(function(){return Cl("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=Iu(Iu(Iu({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=jc(r.styles);i.length>0&&(o.style=i);var a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(Ec.familyPrefix,"-layers-counter")].concat(Ru(i))}})}))}}}},ff={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Oc:n,o=t.title,i=void 0===o?null:o,a=t.classes,s=void 0===a?[]:a,u=t.attributes,c=void 0===u?{}:u,l=t.styles,f=void 0===l?{}:l;return Al({type:"text",content:e},(function(){return Cl("beforeDOMElementCreation",{content:e,params:t}),Tl({content:e,transform:Iu(Iu({},Oc),r),title:i,extra:{attributes:c,styles:f,classes:["".concat(Ec.familyPrefix,"-layers-text")].concat(Ru(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(Zu){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();i=u.width/s,a=u.height/s}return Ec.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,Tl({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},df=new RegExp('"',"ug"),mf=[1105920,1112319];function hf(e,t){var n="".concat(oc).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var i,a,s,u=Tc(e.children).filter((function(e){return e.getAttribute(rc)===t}))[0],c=Yu.getComputedStyle(e,t),l=c.getPropertyValue("font-family").match(yc),f=c.getPropertyValue("font-weight"),d=c.getPropertyValue("content");if(u&&!l)return e.removeChild(u),r();if(l&&"none"!==d&&""!==d){var m=c.getPropertyValue("content"),h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?dc[l[2].toLowerCase()]:vc[f],p=function(e){var t=e.replace(df,""),n=function(e,t){var n,r=e.length,o=e.charCodeAt(0);return o>=55296&&o<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o}(t),r=n>=mf[0]&&n<=mf[1],o=2===t.length&&t[0]===t[1];return{value:Jc(o?t[0]:t),isSecondary:r||o}}(m),g=p.value,y=p.isSecondary,v=l[0].startsWith("FontAwesome"),w=ll(h,g),b=w;if(v){var _=(a=il[i=g],s=ll("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(w=_.iconName,h=_.prefix)}if(!w||y||u&&u.getAttribute(ic)===h&&u.getAttribute(ac)===b)r();else{e.setAttribute(n,b),u&&e.removeChild(u);var x={iconName:null,title:null,titleId:null,prefix:null,transform:Oc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=x.extra;C.attributes[rc]=t,Rl(w,h).then((function(o){var i=Il(Iu(Iu({},x),{},{icons:{main:o,mask:hl()},prefix:h,iconName:b,extra:C,watchable:!0})),a=Vu.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=i.map((function(e){return Yc(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function pf(e){return Promise.all([hf(e,"::before"),hf(e,"::after")])}function gf(e){return!(e.parentNode===document.head||~cc.indexOf(e.tagName.toUpperCase())||e.getAttribute(rc)||e.parentNode&&"svg"===e.parentNode.tagName)}function yf(e){if(Xu)return new Promise((function(t,n){var r=Tc(e.querySelectorAll("*")).filter(gf).map(pf),o=Gl.begin("searchPseudoElements");Zl(),Promise.all(r).then((function(){o(),Ql(),t()})).catch((function(){o(),Ql(),n()}))}))}var vf=!1,wf=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},bf={mixout:function(){return{parse:{transform:function(e){return wf(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=wf(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,i={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),") "),u="rotate(".concat(n.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(u)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Iu({},c.outer),children:[{tag:"g",attributes:Iu({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Iu(Iu({},t.icon.attributes),c.path)}]}]}}}},_f={x:0,y:0,width:"100%",height:"100%"};function xf(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 Cf,kf={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?gl(n.split(" ").map((function(e){return e.trim()}))):hl();return r.prefix||(r.prefix=ml()),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,o=e.main,i=e.mask,a=e.maskId,s=e.transform,u=o.width,c=o.icon,l=i.width,f=i.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="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(o," ").concat(i," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:l,iconWidth:u}),m={tag:"rect",attributes:Iu(Iu({},_f),{},{fill:"white"})},h=c.children?{children:c.children.map(xf)}:{},p={tag:"g",attributes:Iu({},d.inner),children:[xf(Iu({tag:c.tag,attributes:Iu(Iu({},c.attributes),d.path)},h))]},g={tag:"g",attributes:Iu({},d.outer),children:[p]},y="mask-".concat(a||Ic()),v="clip-".concat(a||Ic()),w={tag:"mask",attributes:Iu(Iu({},_f),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=f,"g"===t.tag?t.children:[t])},w]};return n.push(b,{tag:"rect",attributes:Iu({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},_f)}),{children:n,attributes:r}}}},Sf={provides:function(e){var t=!1;Yu.matchMedia&&(t=Yu.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:Iu(Iu({},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 o=Iu(Iu({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Iu(Iu({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Iu(Iu({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Iu(Iu({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Iu(Iu({},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:Iu(Iu({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Iu(Iu({},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:Iu(Iu({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Ef=[Gc,uf,cf,lf,ff,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=yf,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Vu:t;Ec.searchPseudoElements&&yf(n)}}},{mixout:function(){return{dom:{unwatch:function(){Zl(),vf=!0}}}},hooks:function(){return{bootstrap:function(){ef(xl("mutationObserverCallbacks",{}))},noAuto:function(){Kl&&Kl.disconnect()},watch:function(e){var t=e.observeMutationsRoot;vf?Ql():ef(xl("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},bf,kf,Sf,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];Cf={mixoutsTo:Nl}.mixoutsTo,vl=Ef,wl={},Object.keys(bl).forEach((function(e){-1===_l.indexOf(e)&&delete bl[e]})),vl.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(Cf[e]=t[e]),"object"===Tu(t[e])&&Object.keys(t[e]).forEach((function(n){Cf[e]||(Cf[e]={}),Cf[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){wl[e]||(wl[e]=[]),wl[e].push(n[e])}))}e.provides&&e.provides(bl)})),Nl.noAuto,Nl.config,Nl.library,Nl.dom;var Mf=Nl.parse,Nf=(Nl.findIconDefinition,Nl.toHtml,Nl.icon),Of=(Nl.layer,Nl.text,Nl.counter,n(697)),Af=n.n(Of);function If(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 Tf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?If(Object(n),!0).forEach((function(t){Df(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pf(e){return Pf="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},Pf(e)}function Df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jf(e){return function(e){if(Array.isArray(e))return Rf(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 Rf(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)?Rf(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 Rf(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 Lf(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 Ff=["style"],Uf=!1;try{Uf=!0}catch(u){}function zf(e){return e&&"object"===Pf(e)&&e.prefix&&e.iconName&&e.icon?e:Mf.icon?Mf.icon(e):null===e?null:e&&"object"===Pf(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 Gf(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Df({},e,t):{}}var Hf=Fe.forwardRef((function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,s=e.titleId,u=e.maskId,c=zf(n),l=Gf("classes",[].concat(jf(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,u=e.spin,c=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,m=e.inverse,h=e.border,p=e.listItem,g=e.flip,y=e.size,v=e.rotation,w=e.pull,b=(Df(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":m,"fa-border":h,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(y),null!=y),Df(t,"fa-rotate-".concat(v),null!=v&&0!==v),Df(t,"fa-pull-".concat(w),null!=w),Df(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)),jf(i.split(" ")))),f=Gf("transform","string"==typeof e.transform?Mf.transform(e.transform):e.transform),d=Gf("mask",zf(r)),m=Nf(c,Tf(Tf(Tf(Tf({},l),f),d),{},{symbol:o,title:a,titleId:s,maskId:u}));if(!m)return function(){var e;!Uf&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=m.abstract,p={ref:t};return Object.keys(e).forEach((function(t){Hf.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Wf(h[0],p)}));Hf.displayName="FontAwesomeIcon",Hf.propTypes={beat:Af().bool,border:Af().bool,beatFade:Af().bool,bounce:Af().bool,className:Af().string,fade:Af().bool,flash:Af().bool,mask:Af().oneOfType([Af().object,Af().array,Af().string]),maskId:Af().string,fixedWidth:Af().bool,inverse:Af().bool,flip:Af().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Af().oneOfType([Af().object,Af().array,Af().string]),listItem:Af().bool,pull:Af().oneOf(["right","left"]),pulse:Af().bool,rotation:Af().oneOf([0,90,180,270]),shake:Af().bool,size:Af().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Af().bool,spinPulse:Af().bool,spinReverse:Af().bool,symbol:Af().oneOfType([Af().bool,Af().string]),title:Af().string,titleId:Af().string,transform:Af().oneOfType([Af().string,Af().object]),swapOpacity:Af().bool},Hf.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 Wf=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Lf(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Lf(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(r,Ff);return i.attrs.style=Tf(Tf({},i.attrs.style),s),t.apply(void 0,[n.tag,Tf(Tf({},i.attrs),u)].concat(jf(o)))}.bind(null,Fe.createElement),$f={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"]},Bf={prefix:"fas",iconName:"square-pen",icon:[448,512,["pen-square","pencil-square"],"f14b","M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM325.8 139.7C310.1 124.1 284.8 124.1 269.2 139.7L247.8 161.1L318.7 232.1L340.1 210.7C355.8 195 355.8 169.7 340.1 154.1L325.8 139.7zM111.5 303.8L96.48 363.1C95.11 369.4 96.71 375.2 100.7 379.2C104.7 383.1 110.4 384.7 115.9 383.4L176 368.3C181.6 366.9 186.8 364 190.9 359.9L296.1 254.7L225.1 183.8L119.9 288.1C115.8 293.1 112.9 298.2 111.5 303.8z"]};function Yf(e){return d(Hf,e)}const Vf=Yf({icon:{prefix:"fas",iconName:"user",icon:[448,512,[62144,128100],"f007","M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"]}}),qf=Yf({icon:$f}),Jf=Yf({icon:Bf}),Xf=Yf({icon:{prefix:"fas",iconName:"hourglass-start",icon:[384,512,["hourglass-1"],"f251","M352 0C369.7 0 384 14.33 384 32C384 49.67 369.7 64 352 64V74.98C352 117.4 335.1 158.1 305.1 188.1L237.3 256L305.1 323.9C335.1 353.9 352 394.6 352 437V448C369.7 448 384 462.3 384 480C384 497.7 369.7 512 352 512H32C14.33 512 0 497.7 0 480C0 462.3 14.33 448 32 448V437C32 394.6 48.86 353.9 78.86 323.9L146.7 256L78.86 188.1C48.86 158.1 32 117.4 32 74.98V64C14.33 64 0 49.67 0 32C0 14.33 14.33 0 32 0H352zM259.9 369.1L192 301.3L124.1 369.1C106.1 387.1 96 411.6 96 437V448H288V437C288 411.6 277.9 387.1 259.9 369.1V369.1z"]}});var Zf={};function Qf(){return Zf}var Kf={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function ed(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const td={date:ed({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ed({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ed({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var nd={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function rd(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const od={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:rd({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:rd({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:rd({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:rd({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:rd({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function id(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].test(s))return n}(u):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n].test(s))return n}(u);return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(s.length)}}}var ad,sd={ordinalNumber:(ad={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(ad.matchPattern);if(!n)return null;var r=n[0],o=e.match(ad.parsePattern);if(!o)return null;var i=ad.valueCallback?ad.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:id({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:id({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:id({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:id({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:id({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const ud={code:"en-US",formatDistance:function(e,t,n){var r,o=Kf[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:td,formatRelative:function(e,t,n,r){return nd[e]},localize:od,match:sd,options:{weekStartsOn:0,firstWeekContainsDate:1}};var cd=["years","months","weeks","days","hours","minutes","seconds"];function ld(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function fd(e){ld(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function dd(e,t){ld(2,arguments);var n=fd(e),r=fd(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function md(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function hd(e,t){if(ld(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var n=t.years?md(t.years):0,r=t.months?md(t.months):0,o=t.weeks?md(t.weeks):0,i=t.days?md(t.days):0,a=t.hours?md(t.hours):0,s=t.minutes?md(t.minutes):0,u=t.seconds?md(t.seconds):0,c=fd(e),l=r||n?function(e,t){ld(2,arguments);var n=fd(e),r=md(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());return i.setMonth(n.getMonth()+r+1,0),o>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}(c,r+12*n):c,f=i||o?function(e,t){ld(2,arguments);var n=fd(e),r=md(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}(l,i+7*o):l,d=1e3*(u+60*(s+60*a));return new Date(f.getTime()+d)}function pd(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function gd(e){ld(1,arguments);var t=fd(e);return t.setHours(0,0,0,0),t}var yd=864e5;function vd(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}Math.pow(10,8);var wd=6e4,bd=36e5;function _d(e,t){return ld(2,arguments),fd(e).getTime()-fd(t).getTime()}var xd={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},Cd="trunc";function kd(e){return e?xd[e]:xd[Cd]}function Sd(e,t){ld(2,arguments);var n,r=fd(e),o=fd(t),i=dd(r,o),a=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,o));if(a<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);var s=dd(r,o)===-i;(function(e){ld(1,arguments);var t=fd(e);return function(e){ld(1,arguments);var t=fd(e);return t.setHours(23,59,59,999),t}(t).getTime()===function(e){ld(1,arguments);var t=fd(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}(t).getTime()})(fd(e))&&1===a&&1===dd(e,o)&&(s=!1),n=i*(a-Number(s))}return 0===n?0:n}function Ed(e){ld(1,arguments);var t=fd(e.start),n=fd(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t),o=dd(n,r),i=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t);return n.getFullYear()-r.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=dd(n,r)===-o,s=o*(i-Number(a));return 0===s?0:s}(n,t));var o=dd(n,t),i=hd(t,{years:o*r.years});r.months=Math.abs(Sd(n,i));var a=hd(i,{months:o*r.months});r.days=Math.abs(function(e,t){ld(2,arguments);var n=fd(e),r=fd(t),o=vd(n,r),i=Math.abs(function(e,t){ld(2,arguments);var n=gd(e),r=gd(t),o=n.getTime()-pd(n),i=r.getTime()-pd(r);return Math.round((o-i)/yd)}(n,r));n.setDate(n.getDate()-o*i);var a=o*(i-Number(vd(n,r)===-o));return 0===a?0:a}(n,a));var s=hd(a,{days:o*r.days});r.hours=Math.abs(function(e,t,n){ld(2,arguments);var r=_d(e,t)/bd;return kd(null==n?void 0:n.roundingMethod)(r)}(n,s));var u=hd(s,{hours:o*r.hours});r.minutes=Math.abs(function(e,t,n){ld(2,arguments);var r=_d(e,t)/wd;return kd(null==n?void 0:n.roundingMethod)(r)}(n,u));var c=hd(u,{minutes:o*r.minutes});return r.seconds=Math.abs(function(e,t,n){ld(2,arguments);var r=_d(e,t)/1e3;return kd(null==n?void 0:n.roundingMethod)(r)}(n,c)),r}function Md(e){const t=Ht();if(Bt(e,t)>0)return"1 minute ago";{const n=function(e,t){var n,r,o,i,a;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var s=Qf(),u=null!==(n=null!==(r=null==t?void 0:t.locale)&&void 0!==r?r:s.locale)&&void 0!==n?n:ud,c=null!==(o=null==t?void 0:t.format)&&void 0!==o?o:cd,l=null!==(i=null==t?void 0:t.zero)&&void 0!==i&&i,f=null!==(a=null==t?void 0:t.delimiter)&&void 0!==a?a:" ";if(!u.formatDistance)return"";var d=c.reduce((function(t,n){var r="x".concat(n.replace(/(^.)/,(function(e){return e.toUpperCase()}))),o=e[n];return"number"==typeof o&&(l||e[n])?t.concat(u.formatDistance(r,o)):t}),[]).join(f);return d}(function(e){return e.years>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:e.years}:e.months>0?{days:0,hours:0,minutes:0,months:e.months,seconds:0,weeks:0,years:0}:e.weeks>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:e.weeks,years:0}:e.days>0?{days:e.days,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:0}:e.hours>0?{days:0,hours:e.hours,minutes:0,months:0,seconds:0,weeks:0,years:0}:e.minutes>0?{days:0,hours:0,minutes:e.minutes,months:0,seconds:0,weeks:0,years:0}:e.seconds>0?{days:0,hours:0,minutes:0,months:0,seconds:e.seconds,weeks:0,years:0}:{days:0,hours:0,minutes:1,months:0,seconds:0,weeks:0,years:0}}(Ed({end:t,start:e})));return`${n} ago`}}function Nd(e){let t;const n=e=>d("td",{className:"px-6 py-4 whitespace-nowrap",children:pr.Children.toArray(Array.from(e))}),r=e=>d("div",{className:"text-sm text-gray-500",children:e}),o=e=>n([r(e)]),i=(e,t)=>n([d("div",{className:"text-sm text-gray-900",children:e}),r(t)]),a=o("---"),s=Su(e);return d("tbody",ct(Ln([["className","bg-white divide-y divide-gray-200"],(t=rr(er((()=>hr((e=>{let t,u;const c=0|On(e.Configuration.Steps);return u=1===c?"1 step":`${c} steps`,nr(d("tr",ct(Ln([["className","hover:bg-gray-50"],(t=rr(er((()=>{let t;return ar((t=e.Profile.ExternalId,nr(null==t?a:o(t))),er((()=>{let t;return ar(nr((t=`${e.Profile.FirstName} ${e.Profile.LastName}`,n([d("div",{className:"text-sm font-medium text-gray-900",children:t}),r(e.Profile.Email)]))),er((()=>{let t,r;return ar((t=e.Creator,null==t?nr(a):(r=t,nr(i(`${r.FirstName} ${r.LastName}`,r.Email)))),er((()=>{let t,r,c,l;return ar(nr((t=e,r=function(e){switch(e.Status.tag){case 1:return"In progress";case 2:return"Completed";case 3:return"Abandoned";default:return"Not started"}}(t),l=t.Status,c=1===l.tag?"bg-blue-100 text-blue-800":2===l.tag?"bg-green-100 text-green-800":3===l.tag?"bg-gray-100 text-gray-800":"bg-yellow-100 text-yellow-800",n([d("span",{className:fn(" ",["px-2 inline-flex text-xs leading-5 font-semibold rounded",c]),children:r})]))),er((()=>ar(hr((t=>{const n=Gn((e=>e.Name===t),e.Tags);return nr(null==n?a:o(n.Value))}),s),er((()=>ar(nr(i(e.Configuration.Name,u)),er((()=>{let t;return ar((t=e.Invite,nr(null==t?a:o(Md(t.DateIssued)))),er((()=>ar(nr(o(Md(e.LastUpdated))),er((()=>nr(o(function(e){const t=e.Status;switch(t.tag){case 1:{const n=function(e){e:for(;;){const t=e;if(_n(t))return;{const n=kn(t);if(_n(n))return xt(Cn(t));e=n;continue e}}}(t.fields[0].CompletedSteps);if(null!=n){const t=n,r=Gn((e=>e.Id===t.Type),e.Configuration.Steps);return null==r?"A step was completed":`${r.DisplayName} step completed`}return"Workflow started"}case 2:return"Workflow completed";case 3:return"Workflow abandoned";default:return null==e.Invite?"Workflow created":"Invite sent"}}(e)))))))))})))))))))})))})))})))}))),["children",pr.Children.toArray(Array.from(t))])]))))}),e.Data)))),["children",pr.Children.toArray(Array.from(t))])])))}function Od(e){let t;const n=(r=e.backendUrl,o=e.accessToken,new $s(r,o));var r,o;const i=function(e,t,n){return fu((()=>iu(e,t,((e,t)=>{}))),[])}(Nu,Ou),a=i[0],s=i[1];return Cr(function(e,t){const n=kr(new go(!1));return xr((()=>wr((()=>{n.current.cancel()}))),[]),Er((r=>{var o;null!=(o=n.current)&&o.isCancelled||Eo(bo.Delay((()=>bo.TryWith(bo.Delay((()=>(t(new Mo(1)),bo.Bind(e(r),(e=>(t(new Mo(2,e)),bo.Zero())))))),(e=>(t(new Mo(3,e)),bo.Zero()))))),n.current)}))}((()=>Bs(n)),(e=>{s(new Cu(0,e))}))),d("div",ct(Mn((t=rr(er((()=>{const e=a.ProcessInstanceList;switch(e.tag){case 1:default:return nr(d("p",{children:["Loading..."]}));case 2:{const t=e.fields[0];return ar(nr(function(e,t,n){let r;const o=Mn(d("nav",ct(Ln([["className","flex space-x-4 p-1 mb-5 bg-gray-50"],(r=rr(er((()=>zn((r=>{let o,i,a;const s=0|On(Eu(r,t).Data),u=d("span",ct(Ln([["className",fn(" ",rr(er((()=>{if(!rt(r,e))return er((()=>new Array(0)));switch(r.tag){case 1:return nr("text-green-500");case 2:return nr("text-blue-500");case 3:return nr("text-yellow-500");default:return nr("text-gray-800")}}))))],(o=rr(er((()=>1===r.tag?nr(qf):2===r.tag?nr(Jf):3===r.tag?nr(Xf):nr(Vf)))),["children",pr.Children.toArray(Array.from(o))])])));return d("a",ct(Ln([["className",fn(" ",rr(er((()=>ar(nr("flex-1 px-3 py-2 font-medium text-sm rounded-md text-center space-x-2"),er((()=>rt(r,e)?nr("bg-white text-gray-800 filter drop-shadow"):nr("text-gray-600 hover:bg-gray-100 cursor-pointer"))))))))],["onClick",e=>{n(r)}],(i=[u,(a=xu(r),d("span",{children:[a]})),d("span",{className:"text-gray-400",children:`(${s})`})],["children",pr.Children.toArray(Array.from(i))])])))}),Ln([new _u(0),new _u(1),new _u(2),new _u(3)]))))),["children",pr.Children.toArray(Array.from(r))])]))));return d("div",{children:pr.Children.toArray(Array.from(o))})}(a.SelectedStatusTab,t,(e=>{s(new Cu(1,e))}))),er((()=>{const e=Eu(a.SelectedStatusTab,t);return nr(function(e,t){let n,r,o,i;return d("div",ct(Ln([["className","flex flex-col"],(n=[d("div",ct(Ln([["className","-my-2 overflow-x-auto -mx-6"],(r=[d("div",ct(Ln([["className","py-2 align-middle inline-block min-w-full px-6"],(o=[d("div",ct(Ln([["className","shadow overflow-hidden border-b border-gray-200 sm:rounded-lg"],(i=[d("table",{className:"min-w-full divide-y divide-gray-200",children:pr.Children.toArray([e,t])})],["children",pr.Children.toArray(Array.from(i))])])))],["children",pr.Children.toArray(Array.from(o))])])))],["children",pr.Children.toArray(Array.from(r))])])))],["children",pr.Children.toArray(Array.from(n))])])))}(function(e){let t,n;return d("thead",ct(Ln([["className","bg-gray-50"],(t=[(n=rr(er((()=>zn((e=>d("th",{scope:"col",className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:e})),e)))),d("tr",{children:pr.Children.toArray(Array.from(n))}))],["children",pr.Children.toArray(Array.from(t))])])))}(rr(er((()=>ar(nr("Ext. ID"),er((()=>ar(nr("Onboarder"),er((()=>ar(nr("Manager"),er((()=>ar(nr("Status"),er((()=>ar(Su(e),er((()=>ar(nr("Workflow"),er((()=>ar(nr("Invited"),er((()=>ar(nr("Updated"),er((()=>nr("Last Action"))))))))))))))))))))))))))))),Nd(e)))})))}case 3:return nr(d("p",{children:["There was an error loading. Please try refreshing this page."]}))}}))),["children",pr.Children.toArray(Array.from(t))]))))}class Ad extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Id extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function Td(e){return e}const Pd=null;function Dd(e){return Array.from(e)}function jd(e){return Ft(e,"O")}function Rd(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 ja(e/864e5)}(e)),o=Math.abs(function(e){return ja(e%864e5/36e5)}(e)),i=Math.abs(function(e){return ja(e%36e5/6e4)}(e)),a=Math.abs(function(e){return ja(e%6e4/1e3)}(e)),s=Math.abs(function(e){return ja(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?o:Ve(o,2)}:${Ve(i,2)}:${Ve(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Ve(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 Ld(){return null}function Fd(e){return Ft(e,"O")}function Ud(e,t){return JSON.stringify(t,ft(2,void 0),xt(e))}function zd(e,t,n,r){const o=new vt(null);let i;const a=Gr(r);let s;if(i=""===a?e:Ci(a,o,e),eo(r)){const e=Tt((e=>{const r=Fi(t,zr(e)),o=Gd(i,t,n,e[1]);return t=>i=>{const a=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=a)&&(i[r]=o(a)),i}}),Zr(r));s=t=>ur(((e,n)=>n(t)(e)),{},e)}else{if(!Kr(r)){let e;const t=Gr(r);throw e=sn(on("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 o=function(e,t){const n=Xr(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),a=o[0],s=o[1],u=0|s.length;if(0===u)return zr(a);{const e=0|u,r=no(a),o=It(new Array(e+1),0,e+1,null);o[0]=zr(a);for(let a=1;a<=e;a++){const e=Gd(i,t,n,r[a-1][1]);o[a]=e(s[a-1])}return o}}}return o.contents=s,s}function Gd(e,t,n,r){const o=Gr(r),i=ki(o,e);if(null==i){if(Hr(r)){const o=Gd(e,t,n,Wr(r));return e=>Dd(lr(o,e))}if(Br(r)){const e=Gr(Vr(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=Gr(r);return un(on("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($r(r)){if(to(r)){const o=Tt((r=>Gd(e,t,n,r)),Qr(r));return e=>{return Dd((t=(e,t)=>o[e](t),n=e,ir((()=>Kn(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?xt(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))));var t,n}}{const o=Gr(Yr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new Ye((()=>{return o=Gd(e,t,n,Or(r)[0]),e=>{return n=()=>Pd,null!=(t=Mt(o,e))?Ct(t):n();var t,n};var o}));return e=>null==e?Pd:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o||"System.Collections.Generic.IEnumerable`1[System.Object]"===o){const o=Gd(e,t,n,Or(r)[0]);return e=>Dd(lr(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Or(r)[0],i=Gd(e,t,n,Or(r)[1]);if("System.String"===Gr(o)||"System.Guid"===Gr(o))return e=>ur(((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e}),{},e);{let r;const a=Gd(e,t,n,o);return r=a,e=>Dd(lr((e=>{const t=e;return[r(t[0]),i(t[1])]}),e))}}return zd(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Ld:"System.String"===o?e=>e:"System.Char"===o?e=>e:"System.SByte"===o?e=>e:"System.Byte"===o?e=>e:"System.Int16"===o?e=>e:"System.UInt16"===o?e=>e:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?Fd:"System.DateTimeOffset"===o?jd:"System.TimeSpan"===o?Rd:"System.Guid"===o?Td:"System.Object"===o?e=>e:zd(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function Hd(e,t,n,r){const o=Et(t,new Di(0)),i=Et(r,!0);return Gd(function(e){return null!=e?Si(((e,t)=>new vt(t[0])),e.Coders):Ei()}(n),o,i,e)}class Wd extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function $d(e){const t=encodeURIComponent(e.fields[0]),n=encodeURIComponent(Io),r=encodeURIComponent(Po);return bo.Delay((()=>{let e,o,i;const a=Ti((o=Ai(new zo(1),Oi(`${Oo}/connect/token`)),e=Ii(new Go(0,"Content-Type","application/x-www-form-urlencoded"),o),s=new Ho(1,`grant_type=authorization_code&code=${t}&client_id=${n}&redirect_uri=${r}`),new Wo((u=e).url,u.method,u.headers,u.withCredentials,u.overridenMimeType,u.overridenResponseType,u.timeout,s)));var s,u;return i=bo.Bind(a,(e=>bo.Return(new _o(0,e)))),bo.Bind(i,(e=>{const t=e;if(1===t.tag)return bo.Return(new _o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=ms(ft(2,Ts(io(),void 0,void 0)),e.responseText);return bo.Return(t)}return bo.Return(new _o(1,"Unexpected result from backend"))}}))}))}function Bd(e,t){let n;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Mo(2,new _o(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),Xs()]:[new Mo(2,new _o(0,e.fields[0].fields[0].fields[0])),(n=window.location.pathname,r=e=>{!function(e,t,n){history.pushState(void 0,"",mo(e,2));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Mn(n))},Mn(r))]:[new Mo(1),Ks((e=>{!function(e){!function(e,t){let n,r=new Vs(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new qs(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}(0,(t=>{Eo(e)}))}(e)}),$d,e.fields[1],(t=>{const n=[new Wd(1,t),e.fields[1]];return new ao(0,n[0],n[1])}),(t=>{const n=[new Wd(1,new _o(1,t.message)),e.fields[1]];return new ao(0,n[0],n[1])}))];var r}function Yd(){let e,t;const n=kt(document.getElementById("external-loading-page-container"));cr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),St(n))}function Vd(e,t){const n=function(e){return[new Mo(0),Qs(new ao(0,new Wd(0),e))]}(t);return[new Lo(e.CurrentPage,n[0],e.AppMode),Zs((e=>new Fo(1,e)),n[1])]}function qd(e){let t;const n=e.dispatch,r=e.state;Cr((()=>{window.addEventListener("progressComponentReady",(e=>{n(new Fo(3))}))}));const o=d("div",ct(Ln([["className","bg-white p-6 overflow-x-hidden"],(t=rr(er((()=>{switch(r.CurrentPage.tag){case 1:return nr(function(){let e,t,n,r,o,i,a,s;return d("div",ct(Ln([["className","h-screen"],(e=[d("div",ct(Ln([["className","h-full flex justify-center items-center"],(t=[d("div",ct(Ln([["className","border rounded-lg shadow-md sm:max-w-md p-8 text-center"],(n=[(r=Ln([(o=Ln([d("h4",{className:"text-2xl my-4 text-green-700",children:"Your identity is confirmed"}),d("p",{className:"mt-3 mb-5 text-gray-500",children:"You will be redirected in a moment."})]),d("div",{children:pr.Children.toArray(Array.from(o))})),d("p",ct(Ln([["className","mt-16 text-gray-400 text-right text-xs"],(i=[(a=`Flare HR Pty Ltd © 2015-${s=Wt(),$t(s)}`,d("small",{children:[a]}))],["children",pr.Children.toArray(Array.from(i))])])))]),d("div",{children:pr.Children.toArray(Array.from(r))}))],["children",pr.Children.toArray(Array.from(n))])])))],["children",pr.Children.toArray(Array.from(t))])])))],["children",pr.Children.toArray(Array.from(e))])])))}());case 2:return nr(d(Uo,null));default:{const e=r.Credentials;let t,n;switch(2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return nr(d(Od,{accessToken:n.access_token,backendUrl:Ao}));case 1:return nr(d("h1",{children:["There was an error signing you in. Please try sign in again."]}))}}}}))),["children",pr.Children.toArray(Array.from(t))])])));return po({hashMode:2,onUrlChanged:e=>{n(new Fo(0,e))},application:d(h,{},o)})}var Jd;!function(e){su(void 0,e)}(("workflows-progress-app",Jd=iu((function(){const e=Ro(ho(window.location.pathname+window.location.search,2)),t=rt(window.location,window.parent.location)?new Do(1):new Do(0),n=new Lo(e,new Mo(0),t);let r;switch(r=1===e.tag?0:0===e.tag&&rt(t,new Do(1))?1:2,r){case 0:return Vd(n,e.fields[0]);case 1:{const e=Nt((e=>{return 1===(t=ms(ft(2,Ts(io(),void 0,void 0)),e)).tag?void 0:xt(t.fields[0]);var t}),kt(window.sessionStorage.getItem("credentials")));return null==e?[n,Qs(new Fo(2))]:[new Lo(n.CurrentPage,new Mo(2,new _o(0,e)),n.AppMode),Xs()]}case 2:return[n,Qs(new Fo(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=Bd(e.fields[0],t.Credentials),r=n[0],o=[r,t.AppMode];let i,a;return 2===o[0].tag&&0===o[0].fields[0].tag&&1===o[1].tag?(i=0,a=o[0].fields[0].fields[0]):i=1,0===i&&function(e){let t;const n=["credentials",(t=new oo(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),Ud(0,Hd(io(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(a),[new Lo(t.CurrentPage,r,t.AppMode),Zs((e=>new Fo(1,e)),n[1])]}case 2:return Yd(),[new Lo(new jo(2),t.Credentials,t.AppMode),Xs()];case 3:return Yd(),[t,Xs()];default:{const n=Ro(e.fields[0]),r=new Lo(n,t.Credentials,t.AppMode);return 1===n.tag?Vd(r,n.fields[0]):[r,Xs()]}}}),((e,t)=>d(qd,{state:e,dispatch:t}))),function(e,t,n){return au(((r,o)=>{Ee(e((e=>t=>e===t),function(e){return mt(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new Ad(n,(()=>t(n,r)),e);return d(Id,o)}(ft(2,e),ft(2,t),n,r)),"workflows-progress-app",Jd)))})()})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/workflows-progress-app",
3
- "version": "4.32.0",
3
+ "version": "4.34.1",
4
4
  "description": "Flare Workflows Progress App",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [