@flarehr/workflows-progress-app 2.41.1 → 2.43.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,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,o,i,s,a,u={},c=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function h(t,n,r){var o,i,s,a={};for(s in n)"key"==s?o=n[s]:"ref"==s?i=n[s]:a[s]=n[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return p(t,a,o,i,null)}function p(e,n,o,i,s){var a={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==s?++r:s};return null!=t.vnode&&t.vnode(a),a}function m(e){return e.children}function g(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(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?w(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 _(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!v.__r++||s!==t.debounceRendering)&&((s=t.debounceRendering)||i)(v)}function v(){for(var e;v.__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,s;e.__d&&(i=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,T(s,o,r,t.__n,void 0!==s.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?w(o):i,o.__h),O(n,o),o.__e!=i&&y(o)))}))}function b(e,t,n,r,o,i,s,a,l,f){var d,h,g,y,_,v,b,S=r&&r.__k||c,E=S.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(y=n.__k[d]=null==(y=t[d])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?p(null,y,null,null,y):Array.isArray(y)?p(m,{children:y},null,null,null):y.__b>0?p(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(g=S[d])||g&&y.key==g.key&&y.type===g.type)S[d]=void 0;else for(h=0;h<E;h++){if((g=S[h])&&y.key==g.key&&y.type===g.type){S[h]=void 0;break}g=null}T(e,y,g=g||u,o,i,s,a,l,f),_=y.__e,(h=y.ref)&&g.ref!=h&&(b||(b=[]),g.ref&&b.push(g.ref,null,y),b.push(h,y.__c||_,y)),null!=_?(null==v&&(v=_),"function"==typeof y.type&&null!=y.__k&&y.__k===g.__k?y.__d=l=C(y,l,e):l=x(e,y,g,S,_,l),f||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&g.__e==l&&l.parentNode!=e&&(l=w(g))}for(n.__e=v,d=E;d--;)null!=S[d]&&("function"==typeof n.type&&null!=S[d].__e&&S[d].__e==n.__d&&(n.__d=w(r,d+1)),A(S[d],S[d]));if(b)for(d=0;d<b.length;d++)N(b[d],b[++d],b[++d])}function C(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?C(o,t,n):x(n,o,o,e.__k,o.__e,t));return t}function S(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){S(e,t)})):t.push(e)),t}function x(e,t,n,r,o,i){var s,a,u;if(void 0!==t.__d)s=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),s=null;else{for(a=i,u=0;(a=a.nextSibling)&&u<r.length;u+=2)if(a==o)break e;e.insertBefore(o,i),s=i}return void 0!==s?s:o.nextSibling}function E(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||l.test(t)?n:n+"px"}function k(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||E(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||E(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?I:M,i):e.removeEventListener(t,i?I:M,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 M(e){this.l[e.type+!1](t.event?t.event(e):e)}function I(e){this.l[e.type+!0](t.event?t.event(e):e)}function T(e,n,r,o,i,s,a,u,c){var l,d,h,p,w,y,_,v,C,S,x,E=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,u=n.__e=r.__e,n.__h=null,s=[u]),(l=t.__b)&&l(n);try{e:if("function"==typeof E){if(v=n.props,C=(l=E.contextType)&&o[l.__c],S=l?C?C.props.value:l.__:o,r.__c?_=(d=n.__c=r.__c).__=d.__E:("prototype"in E&&E.prototype.render?n.__c=d=new E(v,S):(n.__c=d=new g(v,S),d.constructor=E,d.render=D),C&&C.sub(d),d.props=v,d.state||(d.state={}),d.context=S,d.__n=o,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=E.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,E.getDerivedStateFromProps(v,d.__s))),p=d.props,w=d.state,h)null==E.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==E.getDerivedStateFromProps&&v!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(v,S),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(v,d.__s,S)||n.__v===r.__v){d.props=v,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(v,d.__s,S),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(p,w,y)}))}d.context=S,d.props=v,d.state=d.__s,(l=t.__r)&&l(n),d.__d=!1,d.__v=n,d.__P=e,l=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(o=f(f({},o),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(y=d.getSnapshotBeforeUpdate(p,w)),x=null!=l&&l.type===m&&null==l.key?l.props.children:l,b(e,Array.isArray(x)?x:[x],n,r,o,i,s,a,u,c),d.base=n.__e,n.__h=null,d.__h.length&&a.push(d),_&&(d.__E=d.__=null),d.__e=!1}else null==s&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=P(r.__e,n,r,o,i,s,a,c);(l=t.diffed)&&l(n)}catch(e){n.__v=null,(c||null!=s)&&(n.__e=u,n.__h=!!c,s[s.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 P(t,n,r,o,i,s,a,c){var l,f,h,p=r.props,m=n.props,g=n.type,y=0;if("svg"===g&&(i=!0),null!=s)for(;y<s.length;y++)if((l=s[y])&&(l===t||(g?l.localName==g:3==l.nodeType))){t=l,s[y]=null;break}if(null==t){if(null===g)return document.createTextNode(m);t=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),s=null,c=!1}if(null===g)p===m||c&&t.data===m||(t.data=m);else{if(s=s&&e.call(t.childNodes),f=(p=r.props||u).dangerouslySetInnerHTML,h=m.dangerouslySetInnerHTML,!c){if(null!=s)for(p={},y=0;y<t.attributes.length;y++)p[t.attributes[y].name]=t.attributes[y].value;(h||f)&&(h&&(f&&h.__html==f.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||k(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]||k(e,i,t[i],n[i],r)}(t,m,p,i,c),h)n.__k=[];else if(y=n.props.children,b(t,Array.isArray(y)?y:[y],n,r,o,i&&"foreignObject"!==g,s,a,s?s[0]:r.__k&&w(r,0),c),null!=s)for(y=s.length;y--;)null!=s[y]&&d(s[y]);c||("value"in m&&void 0!==(y=m.value)&&(y!==t.value||"progress"===g&&!y)&&k(t,"value",y,p.value,!1),"checked"in m&&void 0!==(y=m.checked)&&y!==t.checked&&k(t,"checked",y,p.checked,!1))}return t}function N(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function A(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||N(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]&&A(o[i],n,"function"!=typeof e.type);r||null==e.__e||d(e.__e),e.__e=e.__d=void 0}function D(e,t,n){return this.constructor(e,n)}function j(n,r,o){var i,s,a;t.__&&t.__(n,r),s=(i="function"==typeof o)?null:o&&o.__k||r.__k,a=[],T(r,n=(!i&&o||r).__k=h(m,null,[n]),s||u,u,void 0!==r.ownerSVGElement,!i&&o?[o]:s?null:r.firstChild?e.call(r.childNodes):null,a,!i&&o?o:s?s.__e:r.firstChild,i),O(a,n)}function R(e,t){j(e,t,R)}function F(t,n,r){var o,i,s,a=f({},t.props);for(s in n)"key"==s?o=n[s]:"ref"==s?i=n[s]:a[s]=n[s];return arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),p(t.type,a,o||t.key,i||t.ref,null)}e=c.slice,t={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},r=0,g.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),_(this))},g.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_(this))},g.prototype.render=m,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,v.__r=0,a=0;var U,L,W,G=0,z=[],H=t.__b,B=t.__r,$=t.diffed,q=t.__c,V=t.unmount;function Y(e,n){t.__h&&t.__h(L,e,G||n),G=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function J(e,t,n){var r=Y(U++,2);return r.t=e,r.__c||(r.__=[n?n(t):oe(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=L),r.__}function X(e,n){var r=Y(U++,3);!t.__s&&re(r.__H,n)&&(r.__=e,r.__H=n,L.__H.__h.push(r))}function Z(e,n){var r=Y(U++,4);!t.__s&&re(r.__H,n)&&(r.__=e,r.__H=n,L.__h.push(r))}function Q(e,t){var n=Y(U++,7);return re(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function K(){z.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(te),e.__H.__h.forEach(ne),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}})),z=[]}t.__b=function(e){L=null,H&&H(e)},t.__r=function(e){B&&B(e),U=0;var t=(L=e.__c).__H;t&&(t.__h.forEach(te),t.__h.forEach(ne),t.__h=[])},t.diffed=function(e){$&&$(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==z.push(n)&&W===t.requestAnimationFrame||((W=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ee&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ee&&(t=requestAnimationFrame(n))})(K)),L=void 0},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(te),e.__h=e.__h.filter((function(e){return!e.__||ne(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),q&&q(e,n)},t.unmount=function(e){V&&V(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(te)}catch(e){t.__e(e,n.__v)}};var ee="function"==typeof requestAnimationFrame;function te(e){var t=L;"function"==typeof e.__c&&e.__c(),L=t}function ne(e){var t=L;e.__c=e.__(),L=t}function re(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function oe(e,t){return"function"==typeof t?t(e):t}function ie(e,t){for(var n in t)e[n]=t[n];return e}function se(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 ae(e){this.props=e}(ae.prototype=new g).isPureReactComponent=!0,ae.prototype.shouldComponentUpdate=function(e,t){return se(this.props,e)||se(this.state,t)};var ue=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ue&&ue(e)};var ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,le=function(e,t){return null==e?null:S(S(e).map(t))},fe={map:le,forEach:le,count:function(e){return e?S(e).length:0},only:function(e){var t=S(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:S},de=t.__e;t.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);de(e,t,n)};var he=t.unmount;function pe(){this.__u=0,this.t=null,this.__b=null}function me(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ge(){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),he&&he(e)},(pe.prototype=new g).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=me(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;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({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},u=!0===t.__h;r.__u++||u||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(s,s)},pe.prototype.componentWillUnmount=function(){this.t=[]},pe.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=ie({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&h(m,null,e.fallback);return o&&(o.__h=null),[h(m,null,t.__e?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 ye(e){return this.getChildContext=function(){return e.context},e.children}function _e(e){var t=this,n=e.i;t.componentWillUnmount=function(){j(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)}}),j(h(ye,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ge.prototype=new g).__e=function(e){var t=this,n=me(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()}},ge.prototype.render=function(e){this.u=null,this.o=new Map;var t=S(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},ge.prototype.componentDidUpdate=ge.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){we(e,n,t)}))};var ve="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,be=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ce=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Se(e,t,n){return null==t.__k&&(t.textContent=""),j(e,t),"function"==typeof n&&n(),e?e.__c:null}g.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(g.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var xe=t.event;function Ee(){}function ke(){return this.cancelBubble}function Me(){return this.defaultPrevented}t.event=function(e){return xe&&(e=xe(e)),e.persist=Ee,e.isPropagationStopped=ke,e.isDefaultPrevented=Me,e.nativeEvent=e};var Ie,Te={configurable:!0,get:function(){return this.class}},Oe=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var i=n[o];"value"===o&&"defaultValue"in n&&null==i||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===i?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Ce(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():be.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),r[o]=i)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=S(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=S(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}t&&n.class!=n.className&&(Te.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Te)),e.$$typeof=ve,Oe&&Oe(e)};var Pe=t.__r;t.__r=function(e){Pe&&Pe(e),Ie=e.__c};var Ne={ReactCurrentDispatcher:{current:{readContext:function(e){return Ie.__n[e.__c].props.value}}}};function Ae(e){return!!e&&e.$$typeof===ve}const De={useState:function(e){return G=1,J(oe,e)},useReducer:J,useEffect:X,useLayoutEffect:Z,useRef:function(e){return G=5,Q((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){G=6,Z((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:Q,useCallback:function(e,t){return G=8,Q((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=Y(U++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:fe,render:Se,hydrate:function(e,t,n){return R(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(j(null,e),!0)},createPortal:function(e,t){return h(_e,{__v:e,i:t})},createElement:h,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(_)},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 h.bind(null,e)},cloneElement:function(e){return Ae(e)?F.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Ae,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:g,PureComponent:ae,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:se(this.props,e)}function r(t){return this.shouldComponentUpdate=n,h(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=ie({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=ce,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:pe,SuspenseList:ge,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 h(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ne};function je(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Re(e,t){return Object.getPrototypeOf(e).constructor===Object.getPrototypeOf(t).constructor}class Fe{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 Ue(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Fe(e[Symbol.iterator]())}function Le(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 We{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 Ge(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function ze(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function He(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Be{static id(e){return Be.idMap.has(e)||Be.idMap.set(e,++Be.count),Be.idMap.get(e)}}function $e(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 Ve(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function Ye(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return qe(e);case"string":return $e(e);default:if(function(e){return"function"==typeof e.GetHashCode}(e))return e.GetHashCode();if(je(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ye(e[r]);return Ve(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if(Object.getPrototypeOf(e).constructor===Object){const t=Object.values(e).map((e=>Ye(e)));return Ve(t)}return qe(Be.id(e))}}function Je(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 Xe(e,t){return Je(e,t,Ze)}function Ze(e,t){return e===t||(null==e?null==t:null!=t&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):je(e)?je(t)&&Xe(e,t):e instanceof Date?t instanceof Date&&0===Qe(e,t):Object.getPrototypeOf(e).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]||!Ze(e[n[o]],t[r[o]]))return!1;return!0}(e,t)))}function Qe(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+ze(e),r=t.getTime()+ze(t)),n===r?0:n<r?-1:1}function Ke(e,t){return e===t?0:e<t?-1:1}function et(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,tt)}function tt(e,t){return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):je(e)?je(t)?et(e,t):-1:e instanceof Date?t instanceof Date?Qe(e,t):-1:Object.getPrototypeOf(e).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 s=n[o];if(s!==r[o])return s<r[o]?-1:1;if(i=tt(e[s],t[s]),0!==i)return i}return 0}(e,t):-1}function nt(e,t,n){return e(t,n)>0?t:n}Be.idMap=new WeakMap,Be.count=0;const rt="__CURRIED__";function ot(e,t){if(null==t||t.length>1)return t;let n;switch(e){case 2:n=(e,n)=>t(e)(n);break;case 3:n=(e,n,r)=>t(e)(n)(r);break;case 4:n=(e,n,r,o)=>t(e)(n)(r)(o);break;case 5:n=(e,n,r,o,i)=>t(e)(n)(r)(o)(i);break;case 6:n=(e,n,r,o,i,s)=>t(e)(n)(r)(o)(i)(s);break;case 7:n=(e,n,r,o,i,s,a)=>t(e)(n)(r)(o)(i)(s)(a);break;case 8:n=(e,n,r,o,i,s,a,u)=>t(e)(n)(r)(o)(i)(s)(a)(u);break;default:throw new Error("Uncurrying to more than 8-arity is not supported: "+e)}return n.__CURRIED__=t,n}function it(e,t){if(null==t||1===t.length)return t;if(rt in t)return t.__CURRIED__;switch(e){case 2:return e=>n=>t(e,n);case 3:return e=>n=>r=>t(e,n,r);case 4:return e=>n=>r=>o=>t(e,n,r,o);case 5:return e=>n=>r=>o=>i=>t(e,n,r,o,i);case 6:return e=>n=>r=>o=>i=>s=>t(e,n,r,o,i,s);case 7:return e=>n=>r=>o=>i=>s=>a=>t(e,n,r,o,i,s,a);case 8:return e=>n=>r=>o=>i=>s=>a=>u=>t(e,n,r,o,i,s,a,u);default:throw new Error("Currying to more than 8-arity is not supported: "+e)}}function st(e,t){function n(e,t,r,o){const i=r[o];if(0!==i){const e=i[0],n=i[1];e>1&&(t=it(e,t)),n>1&&(t=ot(n,t))}const s=e(t);return o+1===r.length?s:e=>n(s,e,r,o+1)}return r=>n(e,r,t,0)}function at(e,t=0){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+=at(r);else{if(100===t){n+="; ...";break}n+="; "+at(r)}t++}return n+"]"}(e);{const n=Object.getPrototypeOf(e).constructor;return n===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+at(n,t+1))).join("\n ")+" }":n.name}}return String(e)}class ut{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=at(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>at(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>Ye(e)));return e.splice(0,0,qe(this.tag)),Ve(e)}Equals(e){return this===e||!!Re(this,e)&&this.tag===e.tag&&Xe(this.fields,e.fields)}CompareTo(e){return this===e?0:Re(this,e)?this.tag===e.tag?et(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class ct{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+" = "+at(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>Ye(e)));return Ve(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(Re(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Ze(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(Re(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=tt(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}class lt{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 ft{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class dt{constructor(e,t,n,r,o,i,s){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=s}toString(){return Et(this)}GetHashCode(){return pt(this)}Equals(e){return mt(this,e)}}function ht(e){return null!=e.generics?e.generics:[]}function pt(e){return Ve([$e(e.fullname),...ht(e).map(pt)])}function mt(e,t){return""===e.fullname?""===t.fullname&&Je(jt(e),jt(t),(([e,t],[n,r])=>e===n&&mt(t,r))):e.fullname===t.fullname&&Je(ht(e),ht(t),mt)}function gt(e,t,n,r){return new dt(e,t,n,r)}function wt(e,t,n,r){return new dt(e,t,n,void 0,r)}function yt(e,t,n,r){const o=new dt(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new ft(o,n,e[n],t)))}));return o}function _t(e){return new dt("Microsoft.FSharp.Core.FSharpOption`1",[e])}function vt(e){return new dt("Microsoft.FSharp.Collections.FSharpList`1",[e])}const bt=new dt("System.Object"),Ct=(new dt("Microsoft.FSharp.Core.Unit"),new dt("System.Char"),new dt("System.String")),St=(new dt("System.Boolean"),new dt("System.SByte"),new dt("System.Byte"),new dt("System.Int16"),new dt("System.UInt16"),new dt("System.Int32"),new dt("System.UInt32"),new dt("System.Single"),new dt("System.Double"));function xt(e){if(Array.isArray(e))return e[0];if(e instanceof ft)return e.name;{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}function Et(e){const t=null==e.generics||kt(e)?[]:e.generics;return t.length>0?e.fullname+"["+t.map((e=>Et(e))).join(",")+"]":e.fullname}function kt(e){return e.fullname.endsWith("[]")}function Mt(e){var t;return kt(e)?null===(t=e.generics)||void 0===t?void 0:t[0]:void 0}function It(e){return null!=e.generics&&e.generics.length>0}function Tt(e){return null!=e.enumCases&&e.enumCases.length>0}function Ot(e){return null==e.generics?e:new dt(e.fullname,e.generics.map((()=>bt)))}function Pt(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function Nt(e){if(Tt(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function At(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 Dt(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function jt(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Rt(e){if(Lt(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Ft(e){return e instanceof dt?null!=e.cases:e instanceof ut}function Ut(e){return e instanceof dt?null!=e.fields:e instanceof ct}function Lt(e){return e.fullname.startsWith("System.Tuple")&&!kt(e)}function Wt(e){return null==e.fields?[]:e.fields}function Gt(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):{}}new dt("System.Decimal");class zt{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ye(this.value)}Equals(e){return null!=e&&Ze(this.value,e instanceof zt?e.value:e)}CompareTo(e){return null==e?1:tt(this.value,e instanceof zt?e.value:e)}}function Ht(e){return null==e||e instanceof zt?new zt(e):e}function Bt(e){if(null==e)throw new Error("Option has no value");return e instanceof zt?e.value:e}function $t(e){return null==e?void 0:e}function qt(e){return null==e?[]:[Bt(e)]}function Vt(e,t){return null!=e?Bt(e):t}function Yt(e,t){return null!=t?Ht(e(Bt(t))):void 0}function Jt(e,t){return null!=t?e(Bt(t)):void 0}var Xt;function Zt(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 Qt(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&Xt.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]=Zt(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[s,a]=Zt(n,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}(e,t,n,r),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Xt||(Xt={}));const Kt=Symbol("numeric");function en(e){return"number"==typeof e||(null==e?void 0:e[Kt])}function tn(e,t){return"number"==typeof e?e*t:e[Kt]().multiply(t)}function nn(e,t){return"number"==typeof e?e.toFixed(t):e[Kt]().toFixed(t)}function rn(e,t){return"number"==typeof e?e.toPrecision(t):e[Kt]().toPrecision(t)}function on(e,t){return"number"==typeof e?e.toExponential(t):e[Kt]().toExponential(t)}function sn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Kt]().toHex()}var an=null;try{an=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 un(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function cn(e){return!0===(e&&e.__isLong__)}un.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},un.prototype.Equals=function(e){return Rn(this,e)},un.prototype.CompareTo=function(e){return Wn(this,e)},un.prototype.toString=function(e){return Nn(this,e)},un.prototype.toJSON=function(){return Nn(this)},un.prototype[Kt]=function(){const e=this;return{multiply:t=>Bn(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 Nn(e.unsigned?e:function(e,t,n){return n?function(e,t){return new un(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 un(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}}},un.prototype.__isLong__,Object.defineProperty(un.prototype,"__isLong__",{value:!0});var ln={},fn={};function dn(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=fn[e])?r:(n=pn(e,(0|e)<0?-1:0,!0),o&&(fn[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=ln[e])?r:(n=pn(e,e<0?-1:0,!1),o&&(ln[e]=n),n)}function hn(e,t){if(isNaN(e))return t?Sn:Cn;if(t){if(e<0)return Sn;if(e>=_n)return In}else{if(e<=-vn)return Tn;if(e+1>=vn)return Mn}return e<0?Gn(hn(-e,t)):pn(e%yn|0,e/yn|0,t)}function pn(e,t,n){return new un(e,t,n)}var mn=Math.pow;function gn(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Cn;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 Gn(gn(e.substring(1),t,n));for(var o=hn(mn(n,8)),i=Cn,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),u=parseInt(e.substring(s,s+a),n);i=zn(a<8?Bn(i,hn(mn(n,a))):i=Bn(i,o),hn(u))}return i.unsigned=t,i}function wn(e,t){return"number"==typeof e?hn(e,t):"string"==typeof e?gn(e,t):pn(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var yn=4294967296,_n=yn*yn,vn=_n/2,bn=dn(1<<24),Cn=dn(0),Sn=dn(0,!0),xn=dn(1),En=dn(1,!0),kn=dn(-1),Mn=pn(-1,2147483647,!1),In=pn(-1,-1,!0),Tn=pn(0,-2147483648,!1);function On(e){return e.unsigned?e.low>>>0:e.low}function Pn(e){return e.unsigned?(e.high>>>0)*yn+(e.low>>>0):e.high*yn+(e.low>>>0)}function Nn(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(An(e))return"0";if(Dn(e)){if(Rn(e,Tn)){var n=hn(t),r=$n(e,n),o=Hn(Bn(r,n),e);return Nn(r,t)+On(o).toString(t)}return"-"+Nn(Gn(e),t)}for(var i=hn(mn(t,6),e.unsigned),s=e,a="";;){var u=$n(s,i),c=(On(Hn(s,Bn(u,i)))>>>0).toString(t);if(An(s=u))return c+a;for(;c.length<6;)c="0"+c;a=""+c+a}}function An(e){return 0===e.high&&0===e.low}function Dn(e){return!e.unsigned&&e.high<0}function jn(e){return 1==(1&e.low)}function Rn(e,t){return cn(t)||(t=wn(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function Fn(e,t){return Wn(e,t)<0}function Un(e,t){return Wn(e,t)>0}function Ln(e,t){return Wn(e,t)>=0}function Wn(e,t){if(cn(t)||(t=wn(t)),Rn(e,t))return 0;var n=Dn(e),r=Dn(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:Dn(Hn(e,t))?-1:1}function Gn(e){return!e.unsigned&&Rn(e,Tn)?Tn:zn(function(e){return pn(~e.low,~e.high,e.unsigned)}(e),xn)}function zn(e,t){cn(t)||(t=wn(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,s=t.high>>>16,a=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+a)>>>16,c+=n+s,pn((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(l&=65535),e.unsigned)}function Hn(e,t){return cn(t)||(t=wn(t)),zn(e,Gn(t))}function Bn(e,t){if(An(e))return e.unsigned?Sn:Cn;if(cn(t)||(t=wn(t)),an)return pn(an.mul(e.low,e.high,t.low,t.high),an.get_high(),e.unsigned);if(An(t))return e.unsigned?Sn:Cn;if(Rn(e,Tn))return jn(t)?Tn:Cn;if(Rn(t,Tn))return jn(e)?Tn:Cn;if(Dn(e))return Dn(t)?Bn(Gn(e),Gn(t)):Gn(Bn(Gn(e),t));if(Dn(t))return Gn(Bn(e,Gn(t)));if(Fn(e,bn)&&Fn(t,bn))return hn(Pn(e)*Pn(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,s=t.high>>>16,a=65535&t.high,u=t.low>>>16,c=65535&t.low,l=0,f=0,d=0,h=0;return d+=(h+=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*a)>>>16,l+=n*c+r*u+o*a+i*s,pn((d&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function $n(e,t){if(cn(t)||(t=wn(t)),An(t))throw Error("division by zero");var n,r,o;if(an)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?pn((e.unsigned?an.div_u:an.div_s)(e.low,e.high,t.low,t.high),an.get_high(),e.unsigned):e;if(An(e))return e.unsigned?Sn:Cn;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:pn(e.low,e.high,!0)}(t)),Un(t,e))return Sn;if(Un(t,function(e,t){if(cn(t)&&(t=On(t)),0==(t&=63))return e;var n=e.high;return t<32?pn(e.low>>>t|n<<32-t,n>>>t,e.unsigned):pn(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return En;o=Sn}else{if(Rn(e,Tn))return Rn(t,xn)||Rn(t,kn)?Tn:Rn(t,Tn)?xn:Rn(n=function(e,t){return cn(t)&&(t=On(t)),0==(t&=63)?e:t<32?pn(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):pn(0,e.low<<t-32,e.unsigned)}($n(function(e,t){return cn(t)&&(t=On(t)),0==(t&=63)?e:t<32?pn(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):pn(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),Cn)?Dn(t)?xn:kn:o=zn(n,$n(r=Hn(e,Bn(t,n)),t));if(Rn(t,Tn))return e.unsigned?Sn:Cn;if(Dn(e))return Dn(t)?$n(Gn(e),Gn(t)):Gn($n(Gn(e),t));if(Dn(t))return Gn($n(e,Gn(t)));o=Cn}for(r=e;Ln(r,t);){n=Math.max(1,Math.floor(Pn(r)/Pn(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),s=i<=48?1:mn(2,i-48),a=hn(n),u=Bn(a,t);Dn(u)||Un(u,r);)u=Bn(a=hn(n-=s,e.unsigned),t);An(a)&&(a=xn),o=zn(o,a),r=Hn(r,u)}return o}const qn=zn,Vn=Bn,Yn=$n,Jn=Gn,Xn=function(e,t){return cn(t)||(t=wn(t)),pn(e.low&t.low,e.high&t.high,e.unsigned)},Zn=Wn,Qn=pn,Kn=On,er=Pn;function tr(e,t,n){let r=e,o=0;switch(n){case 0:r=e<<24>>24,o=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,o=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,o=r;break;case 6:r=e>>>0}return pn(r,o>>31,t)}const nr=/(?:Z|[+-](\d+):?([0-5]?\d)?)\s*$/;function rr(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ge(~~(e/36e5),2)+":"+Ge(n,2)}function or(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 ir(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 sr(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," ")+rr(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return ir(i,t,!0);switch(t){case"D":case"d":return or(i,"first");case"T":case"t":return or(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+rr(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 ir(e,t,n);switch(t){case"D":case"d":return n?or(e,"first"):e.toLocaleDateString();case"T":case"t":return n?or(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 Ge(e.getFullYear(),4)+"-"+Ge(e.getMonth()+1,2)+"-"+Ge(e.getDate(),2)+"T"+Ge(e.getHours(),2)+":"+Ge(e.getMinutes(),2)+":"+Ge(e.getSeconds(),2)+"."+Ge(e.getMilliseconds(),3)+(t?rr(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function ar(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function ur(e){if(null===e)throw new Error("Value cannot be null when parsing DateTime");if(""===e.trim())throw new Error("An empty string is not recognized as a valid DateTime");let t=new Date(e);if(isNaN(t.getTime())){const n=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*([+-]\d+(?::\d+)?)?\s*$/.exec(e);if(null==n)throw new Error("The string is not a valid Date.");{let e,r=0;if(null!=n[2]){const e=n[2].split(":");r=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=n[3]&&"PM"===n[3].toUpperCase()&&(r+=720)}if(null!=n[4]){if(null!=n[1])e=new Date(n[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}const t=n[4].substr(1).split(":");let o=60*parseInt(t[0],10)+parseInt(t[1]||"0",10);"+"===n[4][0]&&(o*=-1),r+=60*o}else if(null!=n[1])e=new Date(n[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}t=new Date(e.getTime()+1e3*r),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))}}return t}function cr(e,t){try{return t.contents=function(e,t=!1){const n=ur(e),r=nr.exec(e),o=null!=r?t&&"Z"===r[0]?1:2:0;return ar(n.getTime(),o)}(e),!0}catch(e){return!1}}function lr(){return ar(Date.now(),1)}function fr(){return function(e){return function(e,t,n,r=0,o=0,i=0,s=0,a){const u=1===a?Date.UTC(e,t-1,n,r,o,i,s):new Date(e,t-1,n,r,o,i,s).getTime();if(isNaN(u))throw new Error("The parameters describe an unrepresentable Date.");const c=ar(u,a);return e<=99&&c.setFullYear(e,t-1,n),c}(dr(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)}(ar(Date.now(),2))}function dr(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}function hr(e,t){return function(e,t){const n=ar(e.getTime()+t,e.kind);if(2===e.kind){const t=e.getTimezoneOffset(),r=n.getTimezoneOffset();return t!==r?ar(n.getTime()+6e4*(r-t),e.kind):n}return n}(e,864e5*t)}const pr=Qe;function mr(e,t=0){if(0!=(-276&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Singleline and ECMAScript");let n="g";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function gr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function wr(e,t,n=0){let r;if(r=e instanceof RegExp?(r=e,e=t,r.lastIndex=n,r):r=mr(t,n),!r.global)throw new Error("Non-global RegExp");let o=r.exec(e);const i=[];for(;null!==o;)i.push(o),o=r.exec(e);return i}const yr=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,_r=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,vr=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function br(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function Cr(e){return{input:e,cont:(t=e,e=>{yr.lastIndex=0;const n=[],r=[];let o=0,i=yr.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=yr.lastIndex,yr.lastIndex-=1,i=yr.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Ir(e,n,r))})};var t}function Sr(e,t){let n=0,r=0,o="";_r.lastIndex=0;let i=_r.exec(e);for(;i;){const s=i.index+(i[1]||"").length;o+=e.substring(r,s).replace(/%%/g,"%");const[,,a,u,c,l]=i;o+=Mr(t[n++],a,u,c,l),r=_r.lastIndex,_r.lastIndex-=1,i=_r.exec(e)}return o+=e.substring(r).replace(/%%/g,"%"),o}function xr(e,t){return"string"==typeof t?e(t):t.cont(e)}function Er(e){return xr((e=>e),e)}function kr(e){return xr((e=>{throw new Error(e)}),e)}function Mr(e,t,n,r,o){let i="";if(t=t||"",o=o||"",en(e))switch("x"!==o.toLowerCase()&&(br(e,0)?(e=tn(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=nn(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?rn(e,r):rn(e);break;case"e":case"E":e=null!=r?on(e,r):on(e);break;case"x":e=sn(e);break;case"X":e=sn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?sr(e):at(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,s=o||!r?" ":"0";e="0"===s?i+(e=Or(e,n-i.length,s,o)):Or(i+e,n,s,o)}return e}function Ir(e,t,n,r="",o=-1){return(...i)=>{let s=r;const a=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}s+=a[0],s+=Mr(e,t,c,r,i),a.splice(0,1),u.splice(0,1)}return 0===u.length?(s+=a[0],e(s)):Ir(e,a,u,s,o)}}function Tr(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Or(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 Pr(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)}function Nr(){return e=(e,t)=>tt(e,t),{Compare:(t,n)=>e(t,n)};var e}function Ar(e,t){return"function"==typeof e?new e(t):new Array(t)}function Dr(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function jr(e,t,n){const r=0|t.length,o=Ar(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function Rr(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=Ar(n,e);for(let n=0;n<=e-1;n++)r[n]=t(n);return r}function Fr(e,t,n){return n.reduce(((t,n)=>e(t,n)),t)}function Ur(e,t,n){return 0===function(e,t,n){if(null==t)return null==n?0:-1;if(null==n)return 1;{let e=0,i=0;const s=0|t.length,a=0|n.length;if(s>a)return 1;if(s<a)return-1;for(;e<s&&0===i;)i=0|(r=t[e],o=n[e],tt(r,o)),e=e+1|0;return 0|i}var r,o}(0,t,n)}function Lr(e,t,n,r){return function(e,t,n,r){let o=r;t.length!==n.length&&function(){throw new Error("Arrays had different lengths")}();const i=0|t.length;for(let r=1;r<=i;r++)o=e(0,t[i-r],n[i-r],o);return o}(((t,n,r,o)=>e(n,r,o)),t,n,r)}class Wr extends ct{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Tr("; ",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],s=o[1];if(Ze(n.head,r.head)){e=i,t=s;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,s=i.tail;if(null==s)return 0|o;{const a=s;if(r>18)return 0|o;e=r+1,t=(o<<1)+Ye(i.head)+631*r,n=a}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],s=o[1],a=0|tt(n.head,r.head);if(0===a){e=i,t=s;continue e}return 0|a}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new Gr(this)}[Symbol.iterator](){return Le(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ue(this)}}class Gr{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 zr(){return new Wr(null,void 0)}function Hr(e,t){return new Wr(e,t)}function Br(e){return null==e.tail}function $r(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 qr(e){if(null!=e.tail)return e.head;throw new Error("List was empty\\nParameter name: list")}function Vr(e){const t=e.tail;if(null!=t)return t;throw new Error("List was empty\\nParameter name: list")}function Yr(){return zr()}function Jr(e,t){return Hr(e,t)}function Xr(e){return Hr(e,zr())}function Zr(e){return Br(e)}function Qr(e){return $r(e)}function Kr(e){return qr(e)}function eo(e){return Vr(e)}function to(e){const t=0|$r(e),n=Dr(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(Br(o))break;n[r]=qr(o),e=r+1,t=Vr(o)}})(0,e),n}function no(e,t,n){let r=t,o=n;for(;!Br(o);)r=e(r,qr(o)),o=Vr(o);return r}function ro(e){return no(((e,t)=>Hr(t,e)),zr(),e)}function oo(e,t){no(((t,n)=>{e(n)}),void 0,t)}function io(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Hr(e[t],n);return n}function so(e){return io(e,zr())}function ao(e,t){return no(((e,t)=>Hr(t,e)),t,ro(e))}function uo(e,t){let n,r;const o=zr();let i=o,s=t;for(;!Br(s);){let t=e(qr(s));for(;!Br(t);)n=i,r=new Wr(qr(t),void 0),n.tail=r,i=r,t=Vr(t);s=Vr(s)}const a=i,u=zr();return a.tail=u,Vr(o)}function co(e,t){const n=zr(),r=no(((t,n)=>{const r=new Wr(e(n),void 0);return t.tail=r,r}),n,t),o=zr();return r.tail=o,Vr(n)}function lo(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(Br(n))return;{const r=e(qr(n));if(null==r){t=Vr(n);continue e}return r}}})(t)}((t=>e(t)?Ht(t):void 0),t)}function fo(e,t){const n=to(t);return n.sort(e),so(n)}const ho="The input sequence has an insufficient number of elements.";function po(){throw new Error("Enumeration has not started. Call MoveNext.")}function mo(){throw new Error("Enumeration already finished.")}class go{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=Ue(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=at(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{n.Dispose()}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Le(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class wo{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 yo(e,t,n){return new wo(e,t,n)}function _o(e,t,n){let r,o=!1,i=Ht(e());const s=()=>{if(null!=i){const e=Bt(i);try{n(e)}finally{i=void 0}}},a=()=>{try{s()}finally{r=void 0}};return yo((()=>(o||po(),null!=r?Bt(r):mo())),(()=>{if(o||(o=!0),null!=i){const e=Bt(i);let n;try{n=t(e)}catch(e){throw a(),e}return null!=n?(r=n,!0):(a(),!1)}return!1}),s)}function vo(e){return function(e){return new go(e)}(e)}function bo(e){return t="source",null==e&&function(e){throw new Error(e)}(t),Ue(e);var t}function Co(e){return vo((()=>Ue(e())))}function So(e){return vo((()=>function(e){let t,n,r,o=!1,i=!1;const s=()=>{if(i=!0,null!=n){const e=n;try{e.Dispose()}finally{n=void 0}}if(null!=t){const e=t;try{e.Dispose()}finally{t=void 0}}};return yo((()=>(o?i&&mo():po(),null!=r?Bt(r):mo())),(()=>{let a;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=Ht(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{e.Dispose()}finally{n=void 0}}else{const e=i[0];e["System.Collections.IEnumerator.MoveNext"]()?(a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=Ue(a)):(s(),o=!1)}else t=Ue(e)}return Bt(o)}}),(()=>{i||s()}))}(e)))}function xo(e){return Co((()=>function(e,t){const n=Ar(void 0,1);return n[0]=e,n}(e)))}function Eo(e){return je(e)?so(e):e instanceof Wr?e:function(e){let t,n;if(je(e))return so(e);if(e instanceof Wr)return e;{const r=zr();let o=r;const i=Ue(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=o,n=new Wr(e,void 0),t.tail=n,o=n}}finally{i.Dispose()}const s=o,a=zr();return s.tail=a,Vr(r)}}(e)}function ko(e,t,n){return vo((()=>_o(e,t,n)))}function Mo(e,t,n){return vo((()=>{let r=-1;return _o(e,(e=>(r=r+1|0,t(r,e))),n)}))}function Io(e,t){return So([e,t])}function To(e,t,n){const r=bo(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{r.Dispose()}}function Oo(e,t,n){const r=bo(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{r.Dispose()}}function Po(e,t){Oo(((t,n)=>{e(n)}),void 0,t)}function No(e,t){return ko((()=>bo(t)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?Ht(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{e.Dispose()}))}function Ao(e,t){return vo((()=>{const n=bo(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(ho+"\\nParameter name: source");return function(e,t){return yo((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{t.Dispose()}finally{e()}}))}((()=>{}),n)}catch(e){throw n.Dispose(),e}}))}function Do(e,t){return Co((()=>So(No(e,t))))}const jo=De,Ro=e=>{X((()=>{const t=e();return()=>{t.Dispose()}}))},Fo=(e,t)=>{X((()=>{const t=e();return()=>{t.Dispose()}}),t)};function Uo(e){return{Dispose(){e()}}}function Lo(e){Ro(e)}function Wo(e,t){Fo(e,t)}function Go(e){Ho(e,[])}function zo(e){Wo(e,[])}function Ho(e,t){Fo((t=>(e(),Uo((()=>{})))),t)}function Bo(e){return jo.useRef(e)}function $o(e,t){return jo.useMemo(e,Vt(t,[]))}function qo(e){const t=Bo(e),n=(r=e=>t.current(e),o=[],jo.useCallback(r,Vt(o,[])));var r,o,i,s;return i=()=>{t.current=e},s=e=>(i(),Uo((()=>{}))),Z((()=>{const e=s();return()=>{e.Dispose()}})),n}class Vo extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function Yo(e,t){return 0===t.tag?new Vo(0,e(t.fields[0])):new Vo(1,t.fields[0])}class Jo extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class Xo extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class Zo extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}class Qo extends ct{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 Ko(){return wt("Workflows.Progress.UI.Auth.Types.Credentials",[],Qo,(()=>[["id_token",Ct],["access_token",Ct],["expires_in",St],["refresh_token",_t(Ct)],["scope",Ct],["token_type",Ct]]))}class ei extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}const ti=(()=>{try{"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("testPassiveEventSupport",(e=>{}),{passive:!0}),window.removeEventListener("testPassiveEventSupport",(e=>{})))}catch(e){}return!1})();function ni(e){return Yt((e=>e.passive&&!ti?{capture:e.capture,once:e.once,passive:!1}:e),e)}function ri(e){return Jt((e=>e.capture?{capture:!0}:void 0),e)}const oi=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,ii=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,si=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function ai(e,t){try{return t.contents=function(e){function t(e){return e.replace(ii,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(oi.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+gr(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(ii.test(n))return t(n);if(si.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 ui={GetHashCode(){return Ve([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[Kt](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},ci=1e6,li="[big.js] ",fi=li+"Invalid ",di=fi+"decimal places",hi=li+"Division by zero",pi=void 0,mi=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function gi(e,t){var n,r,o;if(!mi.test(t))throw Error(fi+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),o=t.length,r=0;r<n&&r<o&&"0"==t.charAt(r);)++r;if(r==o)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<o;)e.c[n++]=+t.charAt(r++);return wi(e,_i.DP+1,_i.RM)}function wi(e,t,n,r){var o=e.c;if(n===pi&&(n=_i.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error("[big.js] Invalid rounding mode");if(t<1)r=3===n&&(r||!!o[0])||0===t&&(1===n&&o[0]>=5||2===n&&(o[0]>5||5===o[0]&&(r||o[1]!==pi))),o.length=1,r?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){const i=o.findIndex(((e,n)=>n>=t&&e>0))<0;if(r=1===n&&o[t]>=5||2===n&&(o[t]>5||5===o[t]&&(r||o[t+1]!==pi||1&o[t-1]))||3===n&&(r||!i),o.length=t--,r)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function yi(e,t,n){var r=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>i)for(r-=i;r--;)o+="0";else r<i&&(o=o.slice(0,r)+"."+o.slice(r));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&n?"-"+o:o}ui.abs=function(){var e=new this.constructor(this);return e.s=1,e},ui.cmp=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,s=r.s,a=e.s,u=r.e,c=e.e;if(!o[0]||!i[0])return o[0]?s:i[0]?-a:0;if(s!=a)return s;if(t=s<0,u!=c)return u>c^t?1:-1;for(a=Math.max(o.length,i.length),s=0;s<a;s++)if((u=s<o.length?o[s]:0)!=(c=s<i.length?i[s]:0))return u>c^t?1:-1;return 0},ui.div=function(e){var t=this.constructor,n=new t(this),r=(e=new t(e),n.c),o=e.c,i=n.s==e.s?1:-1,s=t.DP;if(s!==~~s||s<0||s>ci)throw Error(di);if(!o[0])throw Error(hi);if(!r[0])return e.s=i,e.c=[e.e=0],e;var a,u,c,l,f,d=o.slice(),h=a=o.length,p=r.length,m=r.slice(0,a),g=m.length,w=e,y=w.c=[],_=0,v=s+(w.e=n.e-e.e)+1;for(w.s=i,i=v<0?0:v,d.unshift(0);g++<a;)m.push(0);do{for(c=0;c<10;c++){if(a!=(g=m.length))l=a>g?1:-1;else for(f=-1,l=0;++f<a;)if(o[f]!=m[f]){l=o[f]>m[f]?1:-1;break}if(!(l<0))break;for(u=g==a?o:d;g;){if(m[--g]<u[g]){for(f=g;f&&!m[--f];)m[f]=9;--m[f],m[g]+=10}m[g]-=u[g]}for(;!m[0];)m.shift()}y[_++]=l?c:++c,m[0]&&l?m[g]=r[h]||0:m=[r[h]]}while((h++<p||m[0]!==pi)&&i--);return y[0]||1==_||(y.shift(),w.e--,v--),_>v&&wi(w,v,t.RM,m[0]!==pi),w},ui.eq=function(e){return 0===this.cmp(e)},ui.gt=function(e){return this.cmp(e)>0},ui.gte=function(e){return this.cmp(e)>-1},ui.lt=function(e){return this.cmp(e)<0},ui.lte=function(e){return this.cmp(e)<1},ui.minus=ui.sub=function(e){var t,n,r,o,i=this.constructor,s=new i(this),a=(e=new i(e),s.s),u=e.s;if(a!=u)return e.s=-u,s.plus(e);var c=s.c.slice(),l=s.e,f=e.c,d=e.e;if(!c[0]||!f[0])return f[0]?e.s=-u:c[0]?e=new i(s):e.s=1,e;if(a=l-d){for((o=a<0)?(a=-a,r=c):(d=l,r=f),r.reverse(),u=a;u--;)r.push(0);r.reverse()}else for(n=((o=c.length<f.length)?c:f).length,a=u=0;u<n;u++)if(c[u]!=f[u]){o=c[u]<f[u];break}if(o&&(r=c,c=f,f=r,e.s=-e.s),(u=(n=f.length)-(t=c.length))>0)for(;u--;)c[t++]=0;for(u=t;n>a;){if(c[--n]<f[n]){for(t=n;t&&!c[--t];)c[t]=9;--c[t],c[n]+=10}c[n]-=f[n]}for(;0===c[--u];)c.pop();for(;0===c[0];)c.shift(),--d;return c[0]||(e.s=1,c=[d=0]),e.c=c,e.e=d,e},ui.mod=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.s),i=e.s;if(!e.c[0])throw Error(hi);return r.s=e.s=1,t=1==e.cmp(r),r.s=o,e.s=i,t?new n(r):(o=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=o,n.RM=i,this.minus(r.times(e)))},ui.plus=ui.add=function(e){var t,n,r,o=this.constructor,i=new o(this);if(e=new o(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var s=i.e,a=i.c,u=e.e,c=e.c;if(!a[0]||!c[0])return c[0]||(a[0]?e=new o(i):e.s=i.s),e;if(a=a.slice(),t=s-u){for(t>0?(u=s,r=c):(t=-t,r=a),r.reverse();t--;)r.push(0);r.reverse()}for(a.length-c.length<0&&(r=c,c=a,a=r),t=c.length,n=0;t;a[t]%=10)n=(a[--t]=a[t]+c[t]+n)/10|0;for(n&&(a.unshift(n),++u),t=a.length;0===a[--t];)a.pop();return e.c=a,e.e=u,e},ui.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),o=new t("1"),i=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(fi+"exponent");for(i&&(e=-e);1&e&&(r=r.times(n)),e>>=1;)n=n.times(n);return i?o.div(r):r},ui.prec=function(e,t){if(e!==~~e||e<1||e>ci)throw Error(fi+"precision");return wi(new this.constructor(this),e,t)},ui.round=function(e,t){if(e===pi)e=0;else if(e!==~~e||e<-ci||e>ci)throw Error(di);return wi(new this.constructor(this),e+this.e+1,t)},ui.sqrt=function(){var e,t,n,r=this.constructor,o=new r(this),i=o.s,s=o.e,a=new r("0.5");if(!o.c[0])return new r(o);if(i<0)throw Error(li+"No square root");0===(i=Math.sqrt(o+""))||i===1/0?((t=o.c.join("")).length+s&1||(t+="0"),s=((s+1)/2|0)-(s<0||1&s),e=new r(((i=Math.sqrt(t))==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+s)):e=new r(i+""),s=e.e+(r.DP+=4);do{n=e,e=a.times(n.plus(o.div(n)))}while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return wi(e,(r.DP-=4)+e.e+1,r.RM)},ui.times=ui.mul=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,s=o.length,a=i.length,u=r.e,c=e.e;if(e.s=r.s==e.s?1:-1,!o[0]||!i[0])return e.c=[e.e=0],e;for(e.e=u+c,s<a&&(t=o,o=i,i=t,c=s,s=a,a=c),t=new Array(c=s+a);c--;)t[c]=0;for(u=a;u--;){for(a=0,c=s+u;c>u;)a=t[c]+i[u]*o[c-u-1]+a,t[c--]=a%10,a=a/10|0;t[c]=a}for(a?++e.e:t.shift(),u=t.length;!t[--u];)t.pop();return e.c=t,e},ui.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==pi){if(e!==~~e||e<0||e>ci)throw Error(di);for(n=wi(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return yi(n,!0,!!r)},ui.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==pi){if(e!==~~e||e<0||e>ci)throw Error(di);for(e=e+(n=wi(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return yi(n,!1,!!r)},ui.toJSON=ui.toString=function(){var e=this,t=e.constructor;return yi(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},ui.toNumber=function(){var e=Number(yi(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(li+"Imprecise conversion");return e},ui.toPrecision=function(e,t){var n=this,r=n.constructor,o=n.c[0];if(e!==pi){if(e!==~~e||e<1||e>ci)throw Error(fi+"precision");for(n=wi(new r(n),e,t);n.c.length<e;)n.c.push(0)}return yi(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!o)},ui.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(li+"valueOf disallowed");return yi(e,e.e<=t.NE||e.e>=t.PE,!0)};var _i=function e(){function t(n){var r=this;if(!(r instanceof t))return n===pi?e():new t(n);if(n instanceof t)r.s=n.s,r.e=n.e,r.c=n.c.slice(),function(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex((e=>e));e.c=e.c.slice(t),e.e=e.e-t}}(r);else{if("string"!=typeof n){if(!0===t.strict)throw TypeError(fi+"number");n=0===n&&1/n<0?"-0":String(n)}gi(r,n)}r.constructor=t}return t.prototype=ui,t.DP=28,t.RM=1,t.NE=-29,t.PE=29,t.strict=!1,t}();const vi=_i;function bi(e,t){return 0===t.indexOf(e)?t:void 0}function Ci(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 Si(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,s;return t=bi("/",e),null!=t?(n=t,"#"+n):(r=bi("#/",e),null!=r?(o=r,o):(i=bi("#",e),null!=i?(s=i,"#/"+Pr(s,1,s.length-1)):"#/"+e))}:e=>{let t,n;return t=bi("/",e),null!=t?(n=t,n):"/"+e}}(t)(Tr("/",co((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function xi(e,t){return uo((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return Yr();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+gr(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Yr();if(null!=bi("?",t))return Xr(t);{const e=t.split("?");if(Ur(0,e,null)||1!==e.length){if(Ur(0,e,null)||2!==e.length)return Yr();if(""===e[1]){const t=e[0];return Xr(decodeURIComponent(t))}{const t=e[0],n=e[1];return so([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Xr(decodeURIComponent(t))}}}var t}),so((null!=bi("#",e)?Pr(e,1,e.length-1):1!==t||null==Ci("#",e)&&null==Ci("#/",e)?e:"").split("/")))}new vi(0),new vi(1),new vi(-1),new vi("79228162514264337593543950335"),new vi("-79228162514264337593543950335");const Ei=function(e,t,n,r){const o=jo.memo(e,ot(2,Vt(it(2,n),null)));return Po((t=>{e.displayName=t}),qt(t)),e=>jo.createElement(o,function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e))}((e=>{const t=qo((t=>{const n=Vt(e.onUrlChanged,(e=>{}));!function(e,t,n){t(xi(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(Vt(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=$o((()=>ni(r)),[r]),i=$o((()=>ri(r)),[r]),s=$o((()=>e=>{n(e)}),[n]);Lo(qo((()=>(null==o?window.addEventListener(e,s):window.addEventListener(e,s,o),Uo((()=>{null==i?window.removeEventListener(e,s):window.removeEventListener(e,s,i)}))))))}else{const e="popstate",n=t,r=void 0,o=$o((()=>ni(r)),[r]),i=$o((()=>ri(r)),[r]),s=$o((()=>e=>{n(e)}),[n]);Lo(qo((()=>(null==o?window.addEventListener(e,s):window.addEventListener(e,s,o),Uo((()=>{null==i?window.removeEventListener(e,s):window.removeEventListener(e,s,i)}))))))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=$o((()=>ni(o)),[o]),s=$o((()=>ri(o)),[o]),a=$o((()=>e=>{r(e)}),[r]);Lo(qo((()=>(null==i?window.addEventListener(n,a):window.addEventListener(n,a,i),Uo((()=>{null==s?window.removeEventListener(n,a):window.removeEventListener(n,a,s)}))))));const u=e.application;return null==u?null:u}),void 0,void 0,void 0);class ki{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)}}}}class Mi extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Mi.prototype)}}class Ii{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Ii.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Ti(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Mi);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(e)}}));else try{e(t)}catch(e){t.onError(e)}}}const Oi=new class{Bind(e,t){return function(e,t){return Ti((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(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 Ti((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 Ti((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Ti((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 Ti((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(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 Ti((e=>e.onSuccess(void 0)))}};function Pi(e){}function Ni(e){const t=new ki("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{t.cancel()}),e),t}function Ai(e){e.cancel()}function Di(e){return null!=e&&e.isCancelled}const ji=new ki;function Ri(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new Ii;e({onSuccess:t||Pi,onError:n||Pi,onCancel:r||Pi,cancelToken:o||ji,trampoline:i})}(e,t)}(e,t)}class Fi{constructor(e,t){this.k=e,this.v=t}}function Ui(e,t){return new Fi(e,t)}function Li(e){return e.k}function Wi(e){return e.v}class Gi extends Fi{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function zi(e,t,n,r,o){return new Gi(e,t,n,r,o)}function Hi(e){return e.left}function Bi(e){return e.right}function $i(e){return e.h}function qi(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Gi){e=qi(n+1,Hi(o)),t=Bi(o);continue e}return n+1|0}return 0|n}}function Vi(e){return qi(0,e)}function Yi(e,t,n,r){let o,i;if(null!=e){const t=e;o=t instanceof Gi?$i(t):1}else o=0;if(null!=r){const e=r;i=e instanceof Gi?$i(e):1}else i=0;const s=0|(o<i?i:o);return 0===s?Ui(t,n):zi(t,n,e,r,s+1)}function Ji(e,t,n,r){let o,i,s,a,u,c;if(null!=e){const t=e;u=t instanceof Gi?$i(t):1}else u=0;if(null!=r){const e=r;c=e instanceof Gi?$i(e):1}else c=0;if(c>u+2){const s=Bt(r);if(s instanceof Gi){if(o=Hi(s),(null!=o?(i=o,i instanceof Gi?$i(i):1):0)>u+1){const r=Bt(Hi(s));if(r instanceof Gi)return Yi(Yi(e,t,n,Hi(r)),Li(r),Wi(r),Yi(Bi(r),Li(s),Wi(s),Bi(s)));throw new Error("internal error: Map.rebalance")}return Yi(Yi(e,t,n,Hi(s)),Li(s),Wi(s),Bi(s))}throw new Error("internal error: Map.rebalance")}if(u>c+2){const o=Bt(e);if(o instanceof Gi){if(s=Bi(o),(null!=s?(a=s,a instanceof Gi?$i(a):1):0)>c+1){const e=Bt(Bi(o));if(e instanceof Gi)return Yi(Yi(Hi(o),Li(o),Wi(o),Hi(e)),Li(e),Wi(e),Yi(Bi(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Yi(Hi(o),Li(o),Wi(o),Yi(Bi(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return Yi(e,t,n,r)}function Xi(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,Li(o));return o instanceof Gi?i<0?Ji(Xi(e,t,n,Hi(o)),Li(o),Wi(o),Bi(o)):0===i?zi(t,n,Hi(o),Bi(o),$i(o)):Ji(Hi(o),Li(o),Wi(o),Xi(e,t,n,Bi(o))):i<0?zi(t,n,void 0,r,2):0===i?Ui(t,n):zi(t,n,r,void 0,2)}return Ui(t,n)}function Zi(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const s=i,a=0|r.Compare(o,Li(s));if(0===a)return Ht(Wi(s));if(s instanceof Gi){e=r,t=o,n=a<0?Hi(s):Bi(s);continue e}return}return}}function Qi(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Gi){Qi(n,Hi(o)),n(Li(o),Wi(o)),e=n,t=Bi(o);continue e}n(Li(o),Wi(o))}break}}function Ki(e,t){Qi(e,t)}function es(e,t){if(null!=t){const n=t;if(n instanceof Gi){const t=es(e,Hi(n)),r=e(Li(n),Wi(n)),o=es(e,Bi(n));return zi(Li(n),r,t,o,$i(n))}return Ui(Li(n),e(Li(n),Wi(n)))}}function ts(e,t){return es(e,t)}function ns(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=t[r];n=Xi(e,o[0],o[1],n)}return n}class rs extends ct{constructor(e,t){super(),this.stack=e,this.started=t}}function os(e){e:for(;;){const t=e;if(Zr(t))return Yr();{const n=eo(t),r=Kr(t);if(null!=r){const o=r;if(o instanceof Gi){e=io([Hi(o),Ui(Li(o),Wi(o)),Bi(o)],n);continue e}return t}e=n;continue e}}}function is(e){return new rs(os(Xr(e)),!1)}function ss(e){if(e.started){const t=e.stack;if(Zr(t))return function(){throw new Error("enumeration already finished")}();if(null!=Kr(t)){const e=Kr(t);if(e instanceof Gi)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Li(e),Wi(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function as(e){let t=is(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ss(t),"System.Collections.IEnumerator.get_Current":()=>ss(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Zr(t))return!1;if(null!=Kr(t)){if(Kr(t)instanceof Gi)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=os(eo(t)),!Zr(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Zr(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=is(e)},Dispose(){}}}class us{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=Ue(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,Ye(e[0])),n=0|t(n,Ye(e[1]))}}finally{r.Dispose()}return 0|n}(this)}Equals(e){if(!(e instanceof us))return!1;{const t=Ue(this);try{const n=Ue(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!(!Ze(r[0],o[0])||!Ze(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{n.Dispose()}}finally{t.Dispose()}}}toString(){return"map ["+Tr("; ",No((e=>function(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(vr,((e,n,r,o,i,s)=>{let a=t[n];if(en(a))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":a=nn(a,i=null!=i?i:2);break;case"g":case"G":a=null!=i?rn(a,i):rn(a);break;case"e":case"E":a=null!=i?on(a,i):on(a);break;case"p":case"P":i=null!=i?i:2,a=nn(tn(a,100),i)+" %";break;case"d":case"D":a=null!=i?Or(String(a),i,"0"):String(a);break;case"x":case"X":a=null!=i?Or(sn(a),i,"0"):sn(a),"X"===o&&(a=a.toUpperCase());break;default:if(s){let e="";a=s.replace(/(0+)(\.0+)?/,((t,n,r)=>(br(a,0)&&(a=tn(a,-1),e="-"),a=nn(a,null!=r?r.length-1:0),Or(a,(n||"").length-e.length+(null!=r?r.length:0),"0")))),a=e+a}}else a=a instanceof Date?sr(a,s||o):at(a);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(a=Or(String(a),Math.abs(r)," ",r<0)),a}))}("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return as(this.tree)}[Symbol.iterator](){return Le(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return as(this.tree)}CompareTo(e){const t=this;if(e instanceof us)return 0|function(e,t,n){const r=bo(t);try{const t=bo(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{t.Dispose()}}finally{r.Dispose()}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:tt(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!!hs(this,e[0])&&Ze(fs(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;Ki(((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|ds(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ds(this)}get size(){return 0|ds(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return No((e=>[e[0],e[1]]),this)}get(e){return fs(this,e)}has(e){return hs(this,e)}keys(){return No((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return No((e=>e[1]),this)}forEach(e,t){const n=this;Po((t=>{e(t[1],t[0],n)}),n)}}function cs(e,t){return new us(e,t)}function ls(e){const t=Nr();return cs(t,function(e,t){if(je(t))return ns(e,t);if(t instanceof Wr)return function(e,t){return no(((t,n)=>Xi(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=Ue(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const s=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Xi(r,s[0],s[1],o),n=i}}}(e,void 0,n)}finally{n.Dispose()}}}(t,e))}function fs(e,t){return function(e,t,n){const r=Zi(e,t,n);if(null==r)throw new Error;return Bt(r)}(e.comparer,t,e.tree)}function ds(e){return Vi(e.tree)}function hs(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const s=i,a=0|r.Compare(o,Li(s));if(s instanceof Gi){if(a<0){e=r,t=o,n=Hi(s);continue e}if(0===a)return!0;e=r,t=o,n=Bi(s);continue e}return 0===a}return!1}}(e.comparer,t,e.tree)}function ps(e,t,n){return function(e,t,n){return cs(e.comparer,Xi(e.comparer,t,n,e.tree))}(n,e,t)}function ms(e,t){return function(e,t){return Zi(e.comparer,t,e.tree)}(t,e)}function gs(e,t){return function(e,t){return cs(e.comparer,ts(t,e.tree))}(t,e)}function ws(){return us.empty}us.empty=cs(Nr(),void 0);class ys extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}const _s=document.getElementById("workflows-progress-app"),vs=_s.getAttribute("data-identity-url"),bs=_s.getAttribute("data-backend-url"),Cs=Si(so(["workflows","progress","app"]),2),Ss=Er(Sr("%P()//%P()%P()",[window.location.protocol,window.location.host,Cs]));class xs extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone"]}}class Es extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","AuthCodeExchange","LoggedOut"]}}function ks(e){let t,n;if(Zr(e))t=1;else if("workflows"===Kr(e))if(Zr(eo(e)))t=1;else if("progress"===Kr(eo(e)))if(Zr(eo(eo(e))))t=1;else if("app"===Kr(eo(eo(e))))if(Zr(eo(eo(eo(e)))))t=1;else{const r=function(e){try{const t=new URLSearchParams(e);return Eo(Co((()=>No((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}(Kr(eo(eo(eo(e)))));null!=r?Zr(r)?t=1:"code"===Kr(r)[0]?Zr(eo(r))?t=1:"scope"===Kr(eo(r))[0]?Zr(eo(eo(r)))?t=1:"session_state"===Kr(eo(eo(r)))[0]?Zr(eo(eo(eo(r))))?t=1:"token"===Kr(eo(eo(eo(r))))[0]&&Zr(eo(eo(eo(eo(r)))))&&Zr(eo(eo(eo(eo(e)))))?(t=0,n=Kr(r)[1]):t=1:t=1:t=1:t=1:t=1}else t=1;else t=1;else t=1;switch(t){case 0:return new Es(1,new Zo(0,n));case 1:return new Es(0)}}class Ms extends ct{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Is extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut","ProgressComponentReadyEvent"]}}function Ts(){return h("div",{children:jo.Children.toArray([h("h4",{children:["You have been logged out due to inactivity."]})])})}new class{constructor(){}};function Os(e,t){return Oi.Delay(t)}new class{constructor(){}};class Ps extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Ns extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class As extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Ds extends ct{constructor(e,t,n,r,o,i,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.content=s}}class js extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Rs extends ct{constructor(e,t,n,r,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseHeaders=r,this.content=o}}const Fs=new Ds("",new Ps(0),Yr(),!1,void 0,void 0,new As(0));function Us(e,t){return"string"!=typeof(n=t)||0===n.length?[t]:function(e,t,n,r){if(r="number"==typeof r?r:void 0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];if(!Array.isArray(t)){if(0===r)return e.split(t,n);const o=arguments.length;t=Array(o-1);for(let e=1;e<o;e++)t[e-1]=arguments[e]}t=t.map((e=>gr(e))),t=t.length>0?t:[" "];let o=0;const i=[],s=new RegExp(t.join("|"),"g");for(;null==n||n>1;){const t=s.exec(e);if(null===t)break;(!r||t.index-o>0)&&(n=null!=n?n-1:n,i.push(e.substring(o,t.index))),o=s.lastIndex}return(!r||e.length-o>0)&&i.push(e.substring(o)),i}(t,[e],null,0);var n}function Ls(e){return new Ds(e,Fs.method,Fs.headers,Fs.withCredentials,Fs.overridenMimeType,Fs.overridenResponseType,Fs.content)}function Ws(e,t){return new Ds(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function Gs(e,t){return new Ds(t.url,t.method,ao(t.headers,Xr(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function zs(e){return function(e){return Ti((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,s,a;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,a=n.responseType,s=""===a||"text"===a?new js(0,n.responseText):new js("arraybuffer"===a?2:"blob"===a?1:3,n.response),new Rs(o,e,i,function(e){const t=Nr();return cs(t,ns(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=Bt(o);r.push(e)}}return r}((e=>{const t=so(Us(":",e));return Zr(t)?void 0:[Kr(t).toLocaleLowerCase(),Tr(":",eo(t)).trim()]}),Us("\r\n",n.getAllResponseHeaders()))),s)))};const r=Ue(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{r.Dispose()}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;null==o||n.overrideMimeType(o);const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const s=[e.method,e.content];0===s[0].tag?n.send(Ht(void 0)):1===s[1].tag||3===s[1].tag||2===s[1].tag?n.send(Ht(s[1].fields[0])):n.send(Ht(void 0))}))}function Hs(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}new Rs(0,"","",ws(),new js(0,""));class Bs extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class $s extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class qs{constructor(){this.cache=new Map([])}}function Vs(){return new qs}function Ys(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Js(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=mr(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 s=i?o-3:o-2;for(let e=0;e<s;e++)t.push(arguments[e]);t.index=arguments[s++],t.input=arguments[s++],i&&(t.groups=arguments[s]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const s=t.substring(o),a=wr(e,s),u=wr.length>r?(i=a[r-1],s.substring(0,i.index+i[0].length)):s;return t.substring(0,o)+u.replace(e,n)+t.substring(o+u.length)}return t.replace(e,n)}(Ys(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Ys(t)}}Vs(),Vs();class Xs extends ct{constructor(e,t){super(),this.bound=0|e,this.digits=t}}function Zs(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*Zs(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}function Qs(e){return e.bound}function Ks(e,t){return e.digits[t]}function ea(e,t){return tr(Ks(e,t),!1,2)}function ta(e,t,n){e.digits[t]=0|n}function na(e,t){for(;;){const n=e,r=t;if(0===r)return Qn(1,0,!1);if(r%2!=0)return Vn(n,na(Vn(n,n),~~(r/2)));e=Vn(n,n),t=~~(r/2)}}function ra(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*ra(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}Qn(2013265921,0,!1),Qn(2013265921,0,!0),Rr(28,(e=>Zs(2,e)),Int32Array);const oa=16777216,ia=Qn(16777216,0,!1),sa=Qn(16777215,0,!1);function aa(e){return new Xs(e,new Int32Array(e))}function ua(e){const t=0|((e,t)=>{for(;;){const n=e,r=t;if(-1===r||0!==n[r])return r+1|0;e=n,t=r-1}})(e.digits,e.bound-1);return e.bound=0|t,e}function ca(e){const t=0|(e<0?0:e);if(t<oa){const e=aa(1);return e.digits[0]=0|t,ua(e)}{const e=aa(2);for(let n=0;n<=1;n++)e.digits[n]=~~(t/ra(oa,n))%oa|0;return ua(e)}}function la(e){if(1===e.bound)return 0|e.digits[0];{let t=0;for(let n=e.bound-1;n>=0;n--)t=e.digits[n]+oa*t|0;return 0|t}}Qn(16777215,0,!0);const fa=ca(1),da=ca(0);function ha(e){return e.bound-1}function pa(e){return 0===e.bound}function ma(e,t){return-1===function(e,t){return e.bound<t.bound?-1:e.bound>t.bound?1:0|((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return 0;if(r[i]!==o[i])return r[i]<o[i]?-1:1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1)}(e,t)}function ga(e,t,n){for(;;){const r=e,o=t,i=n;if(!(Zn(o,Qn(0,0,!1))>0))break;{const s=qn(ea(r,i),o);ta(r,i,~~Kn(Xn(s,sa))),e=r,t=Yn(s,ia),n=i+1}}}function wa(e,t){const n=0|Qs(e),r=aa(n+1),o=tr(t,!1,2);let i=Qn(0,0,!1);for(let t=0;t<=n-1;t++){const n=qn(qn(i,ea(r,t)),Vn(ea(e,t),o));ta(r,t,~~Kn(Xn(n,sa))),i=Yn(n,ia)}return ga(r,i,n),ua(r)}class ya extends ct{constructor(e,t,n,r,o,i,s){super(),this.bigL=0|e,this.twoToBigL=0|t,this.k=0|n,this.bigK=0|r,this.bigN=0|o,this.split=0|i,this.splits=s}}function _a(e,t,n,r){return new ya(e,ra(2,e),t,n,r,~~(24/e),Rr(~~(24/e),(t=>ra(2,e*t)),Int32Array))}const va=[_a(1,28,268435456,268435456),_a(2,26,67108864,134217728),_a(3,24,16777216,50331648),_a(4,22,4194304,16777216),_a(5,20,1048576,5242880),_a(6,18,262144,1572864),_a(7,16,65536,458752),_a(8,14,16384,131072),_a(9,12,4096,36864),_a(10,10,1024,10240),_a(11,8,256,2816),_a(12,6,64,768),_a(13,4,16,208)];function ba(e,t){return function(e,t){const n=1===Qs(e),r=1===Qs(t);return n&&r?function(e,t){const n=aa(2),r=Vn(tr(e,!1,2),tr(t,!1,2));return ta(n,0,~~Kn(Xn(r,sa))),ta(n,1,~~Kn(Yn(r,ia))),ua(n)}(Ks(e,0),Ks(t,0)):n?wa(t,Ks(e,0)):r?wa(e,Ks(t,0)):function(e,t){const n=aa(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=tr(e.digits[o],!1,2);let s=Qn(0,0,!1),a=o;for(let e=0;e<=t.bound-1;e++){const n=tr(t.digits[e],!1,2),o=qn(qn(tr(r[a],!1,2),s),Vn(i,n));r[a]=0|~~Kn(Xn(o,sa)),s=Yn(o,ia),a=a+1|0}ga(n,s,a)}return ua(n)}(e,t)}(e,t)}function Ca(e,t,n,r){const o=[e.digits,ha(e)],i=o[0],s=[n.digits,ha(n)],a=0|s[1],u=s[0],c=tr(t,!1,2);let l=0,f=Vn(c,tr(u[0],!1,2));for(;Zn(f,Qn(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=~~Kn(Xn(f,sa)),t=Yn(f,ia);e<=i[l+r]?i[l+r]=i[l+r]-e|0:(i[l+r]=i[l+r]+(oa-e)|0,t=qn(t,Qn(1,0,!1))),f=l<a?qn(t,Vn(c,tr(u[l+1],!1,2))):t,l=l+1|0}ua(e)}function Sa(e,t,n,r){const o=[e.digits,ha(e)],i=o[0],s=[n.digits,ha(n)],a=0|s[1],u=s[0],c=tr(t,!1,2);let l=0,f=Vn(c,tr(u[0],!1,2));for(;Zn(f,Qn(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=~~Kn(Xn(f,sa)),t=Yn(f,ia);e<oa-i[l+r]?i[l+r]=i[l+r]+e|0:(i[l+r]=e-(oa-i[l+r])|0,t=qn(t,Qn(1,0,!1))),f=l<a?qn(t,Vn(c,tr(u[l+1],!1,2))):t,l=l+1|0}ua(e)}function xa(e,t,n){const r=[ha(t),ha(e)],o=0|r[1],i=0|r[0];if(o<i+n)return 0;{const r=[t.digits,e.digits],s=r[1],a=r[0],u=0|(0===i?o===n?~~(s[n]/a[0]):~~Kn(Yn(qn(Vn(tr(s[o],!1,2),ia),tr(s[o-1],!1,2)),tr(a[0],!1,2))):o===i+n?~~(s[o]/(a[i]+1)):~~Kn(Yn(qn(Vn(tr(s[o],!1,2),ia),tr(s[o-1],!1,2)),qn(tr(a[i],!1,2),Qn(1,0,!1)))));return 0===u?1!==function(e,t,n,r){if(e.bound+t<n.bound+0)return-1;if(e.bound+t>n.bound+t)return 1;return 0|((e,n,r)=>{e:for(;;){const o=e,i=n,s=r;if(-1===s)return 0;{const a=0|(s<t?0:o[s-t]),u=0|(s<0?0:i[s-0]);if(a===u){e=o,n=i,r=s-1;continue e}return a<u?-1:1}}})(e.digits,n.digits,e.bound+t-1)}(t,n,e)?1:0:0|u}}function Ea(e,t){if(pa(t))throw new Error;if(ha(e)<ha(t))return[da,e];{const n=function(e){return new Xs(e.bound,function(e){return e.slice()}(e.digits))}(e),r=aa(ha(e)-ha(t)+1+1);let o=ha(e);const i=0|ha(t);let s=o-i;const a=e=>{};let u=!1;for(;!u;){a([r,n,s,o]);const e=0|xa(n,t,s);e>0?(Ca(n,e,t,s),Sa(r,e,fa,s),a([r,n,s,o])):(u=0===e&&0===s,u||(o===i+s?(a([r,n,s-1,o]),s=s-1|0):(a([r,n,s-1,o-1]),s=s-1|0,o=o-1|0)))}return[ua(r),ua(n)]}}function ka(e){return ca(e)}function Ma(e){const t=0|ha(e),n=(e,t,r,o)=>{e:for(;;){const i=e,s=t,a=r,u=o;if(Zr(u)){const e=0|la(a);return i&&0===e?s:Jr(He(e),s)}{const c=eo(u),l=Ea(a,Kr(u)[1]),f=l[1],d=l[0];if(i&&pa(d)){e=i,t=s,r=f,o=c;continue e}e=i,t=n(!1,s,f,c),r=d,o=c;continue e}}},r=n(!0,Yr(),e,((e,n,r)=>{for(;;){const o=e,i=n,s=r;if(ha(s)>t)return Jr([i,s],o);e=Jr([i,s],o),n=i+1,r=ba(s,s)}})(Yr(),0,ca(10)));return Zr(r)?"0":Tr("",to(r))}function Ia(e){const t=e;return 0<t.bound?0|t.digits[0]:0}Rr(24,(e=>ra(2,e)-1),Int32Array),Rr(24,(e=>ra(2,e)),Int32Array),Rr(24,(e=>na(Qn(2,0,!1),e))),va[0].bigN,ca(2);class Ta extends ct{constructor(e,t){super(),this.signInt=0|e,this.v=t}toString(){const e=this;switch(0|Na(e)){case-1:return pa(Aa(e))?"0":"-"+Ma(Aa(e));case 0:return"0";case 1:return Ma(Aa(e));default:throw new Error("signs should be +/- 1 or 0")}}Equals(e){return e instanceof Ta&&Da(this,e)}GetHashCode(){return 0|function(e){return 0===Na(e)?1:Na(e)+function(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return 0|t}(Aa(e))|0}(this)}toJSON(e){return at(this)}CompareTo(e){if(e instanceof Ta)return 0|function(e,t){return function(e,t){const n=[Na(e),Na(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:return ma(Aa(e),Aa(t));case 1:return ma(Aa(t),Aa(e));case 2:case 4:case 6:case 7:return!1;case 3:return!pa(Aa(e))||!pa(Aa(t));case 5:return!pa(Aa(t));case 8:return!pa(Aa(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}(e,t)?-1:Da(e,t)?0:1}(this,e);throw new Error("the objects are not comparable\\nParameter name: obj")}}function Oa(e,t){return new Ta(e,t)}function Pa(e){return function(e){return e.bound<=1}(e)&&Ia(e)<Ta.smallLim?Ta.smallPosTab[Ia(e)]:e}function Na(e){return e.signInt}function Aa(e){return e.v}function Da(e,t){const n=[Na(e),Na(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:case 1:return function(e,t){if(e.bound===t.bound)return((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return!0;if(r[i]!==o[i])return!1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1);return!1}(Aa(e),Aa(t));case 2:case 3:return!!pa(Aa(e))&&pa(Aa(t));case 4:return!0;case 5:case 6:return pa(Aa(t));case 7:case 8:return pa(Aa(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function ja(e){return e>=0?Oa(1,Pa(ka(e))):Oa(-1,Pa(-2147483648===e?function(e){return function(e){const t=Zn(e,Qn(0,0,!1))<0?Qn(0,0,!1):e,n=aa(3);for(let e=0;e<=2;e++)n.digits[e]=0|~~Kn((r=Yn(t,na(ia,e)),o=ia,cn(o)||(o=wn(o)),an?pn((r.unsigned?an.rem_u:an.rem_s)(r.low,r.high,o.low,o.high),an.get_high(),r.unsigned):Hn(r,Bn($n(r,o),o))));var r,o;return ua(n)}(e)}(Jn(tr(e,!1,2))):ka(function(e){return-2147483648===e?e:-e}(e))))}function Ra(){return Ta.one}function Fa(){return Ta.zero}function Ua(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 La(e,t){try{return t.contents=function(e){const t=ur(e),n=nr.exec(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n[0]?0:36e5*parseInt(n[1],10)+6e4*parseInt(n[2],10);return Ua(t.getTime(),r)}(e),!0}catch(e){return!1}}function Wa(e){return e<0?Math.ceil(e):Math.floor(e)}function Ga(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return za(arguments[0]);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 za(e){return er(Yn(e,1e4))}function Ha(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 Ga(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,s=+t[4],a=+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*Ga(n,s,a,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}Ta.smallLim=4096,Ta.smallPosTab=Rr(Ta.smallLim,(e=>ka(e))),Ta.one=ja(1),Ta.two=ja(2),Ta.zero=ja(0),Fa(),Ra(),Ta.two,Fa(),Ra();class Ba{constructor(e){this.k=e}}function $a(e){return new Ba(e)}function qa(e){return e.k}class Va extends Ba{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Ya(e,t,n,r){return new Va(e,t,n,r)}function Ja(e){return e.left}function Xa(e){return e.right}function Za(e){return e.h}function Qa(e,t){e:for(;;){const n=e,r=t;if(null!=n){const o=n;if(o instanceof Va){e=Ja(o),t=Qa(Xa(o),r+1);continue e}return r+1|0}return 0|r}}function Ka(e){return Qa(e,0)}function eu(e,t,n){let r,o;if(null!=e){const t=e;r=t instanceof Va?Za(t):1}else r=0;if(null!=n){const e=n;o=e instanceof Va?Za(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?$a(t):Ya(t,e,n,i+1)}function tu(e,t,n){let r,o,i,s,a,u;if(null!=e){const t=e;a=t instanceof Va?Za(t):1}else a=0;if(null!=n){const e=n;u=e instanceof Va?Za(e):1}else u=0;if(u>a+2){const i=Bt(n);if(i instanceof Va){if(r=Ja(i),(null!=r?(o=r,o instanceof Va?Za(o):1):0)>a+1){const n=Bt(Ja(i));if(n instanceof Va)return eu(eu(e,t,Ja(n)),qa(n),eu(Xa(n),qa(i),Xa(i)));throw new Error("internal error: Set.rebalance")}return eu(eu(e,t,Ja(i)),qa(i),Xa(i))}throw new Error("internal error: Set.rebalance")}if(a>u+2){const r=Bt(e);if(r instanceof Va){if(i=Xa(r),(null!=i?(s=i,s instanceof Va?Za(s):1):0)>u+1){const e=Bt(Xa(r));if(e instanceof Va)return eu(eu(Ja(r),qa(r),Ja(e)),qa(e),eu(Xa(e),t,n));throw new Error("internal error: Set.rebalance")}return eu(Ja(r),qa(r),eu(Xa(r),t,n))}throw new Error("internal error: Set.rebalance")}return eu(e,t,n)}function nu(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,qa(r));if(r instanceof Va)return o<0?tu(nu(e,t,Ja(r)),qa(r),Xa(r)):0===o?n:tu(Ja(r),qa(r),nu(e,t,Xa(r)));{const o=0|e.Compare(t,qa(r));return o<0?Ya(t,void 0,n,2):0===o?n:Ya(t,n,void 0,2)}}return $a(t)}function ru(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const s=i,a=0|r.Compare(o,qa(s));if(s instanceof Va){if(a<0){e=r,t=o,n=Ja(s);continue e}if(0===a)return!0;e=r,t=o,n=Xa(s);continue e}return 0===a}return!1}}function ou(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Va){ou(n,Ja(o)),n(qa(o)),e=n,t=Xa(o);continue e}n(qa(o))}break}}class iu extends ct{constructor(e,t){super(),this.stack=e,this.started=t}}function su(e){e:for(;;){const t=e;if(Zr(t))return Yr();{const n=Kr(t),r=eo(t);if(null!=n){const o=n;if(o instanceof Va){e=io([Ja(o),$a(qa(o)),Xa(o)],r);continue e}return t}e=r;continue e}}}function au(e){return new iu(su(Xr(e)),!1)}function uu(e){if(e.started){const t=e.stack;if(Zr(t))return function(){throw new Error("Enumeration already started")}();if(null!=Kr(t))return qa(Kr(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function cu(e){let t=au(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>uu(t),"System.Collections.IEnumerator.get_Current":()=>uu(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Zr(t))return!1;if(null!=Kr(t)){if(Kr(t)instanceof Va)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=su(eo(t)),!Zr(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Zr(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=au(e)},Dispose(){}}}function lu(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,s=[o,i];if(Zr(s[0]))return Zr(s[1])?0:-1;if(Zr(s[1]))return 1;if(null!=Kr(s[1]))if(null!=Kr(s[0])){const a=Kr(s[0]),u=Kr(s[1]);if(a instanceof Va)if(null==Ja(a)){if(!(u instanceof Va)){const o=0|r.Compare(qa(a),qa(u));if(0!==o)return 0|o;e=r,t=Jr(Xa(a),eo(s[0])),n=Jr(void 0,eo(s[1]));continue e}if(null==Ja(u)){const o=0|r.Compare(qa(a),qa(u));if(0!==o)return 0|o;e=r,t=Jr(Xa(a),eo(s[0])),n=Jr(Xa(u),eo(s[1]));continue e}{const s=[o,i];let a,u,c,l,f;switch(Zr(s[0])?Zr(s[1])?a=2:null!=Kr(s[1])?(a=1,l=eo(s[1]),f=Kr(s[1])):a=2:null!=Kr(s[0])?(a=0,u=eo(s[0]),c=Kr(s[0])):Zr(s[1])?a=2:null!=Kr(s[1])?(a=1,l=eo(s[1]),f=Kr(s[1])):a=2,a){case 0:if(c instanceof Va){e=r,t=io([Ja(c),Ya(qa(c),void 0,Xa(c),0)],u),n=i;continue e}e=r,t=io([void 0,$a(qa(c))],u),n=i;continue e;case 1:if(f instanceof Va){e=r,t=o,n=io([Ja(f),Ya(qa(f),void 0,Xa(f),0)],l);continue e}e=r,t=o,n=io([void 0,$a(qa(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const s=[o,i];let a,u,c,l,f;switch(Zr(s[0])?Zr(s[1])?a=2:null!=Kr(s[1])?(a=1,l=eo(s[1]),f=Kr(s[1])):a=2:null!=Kr(s[0])?(a=0,u=eo(s[0]),c=Kr(s[0])):Zr(s[1])?a=2:null!=Kr(s[1])?(a=1,l=eo(s[1]),f=Kr(s[1])):a=2,a){case 0:if(c instanceof Va){e=r,t=io([Ja(c),Ya(qa(c),void 0,Xa(c),0)],u),n=i;continue e}e=r,t=io([void 0,$a(qa(c))],u),n=i;continue e;case 1:if(f instanceof Va){e=r,t=o,n=io([Ja(f),Ya(qa(f),void 0,Xa(f),0)],l);continue e}e=r,t=o,n=io([void 0,$a(qa(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof Va)){const o=0|r.Compare(qa(a),qa(u));if(0!==o)return 0|o;e=r,t=eo(s[0]),n=eo(s[1]);continue e}if(null==Ja(u)){const o=0|r.Compare(qa(a),qa(u));if(0!==o)return 0|o;e=r,t=Jr(void 0,eo(s[0])),n=Jr(Xa(u),eo(s[1]));continue e}{const s=[o,i];let a,u,c,l,f;switch(Zr(s[0])?Zr(s[1])?a=2:null!=Kr(s[1])?(a=1,l=eo(s[1]),f=Kr(s[1])):a=2:null!=Kr(s[0])?(a=0,u=eo(s[0]),c=Kr(s[0])):Zr(s[1])?a=2:null!=Kr(s[1])?(a=1,l=eo(s[1]),f=Kr(s[1])):a=2,a){case 0:if(c instanceof Va){e=r,t=io([Ja(c),Ya(qa(c),void 0,Xa(c),0)],u),n=i;continue e}e=r,t=io([void 0,$a(qa(c))],u),n=i;continue e;case 1:if(f instanceof Va){e=r,t=o,n=io([Ja(f),Ya(qa(f),void 0,Xa(f),0)],l);continue e}e=r,t=o,n=io([void 0,$a(qa(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Kr(s[1]);const a=[o,i];let u,c,l,f,d;switch(Zr(a[0])?Zr(a[1])?u=2:null!=Kr(a[1])?(u=1,f=eo(a[1]),d=Kr(a[1])):u=2:null!=Kr(a[0])?(u=0,c=eo(a[0]),l=Kr(a[0])):Zr(a[1])?u=2:null!=Kr(a[1])?(u=1,f=eo(a[1]),d=Kr(a[1])):u=2,u){case 0:if(l instanceof Va){e=r,t=io([Ja(l),Ya(qa(l),void 0,Xa(l),0)],c),n=i;continue e}e=r,t=io([void 0,$a(qa(l))],c),n=i;continue e;case 1:if(d instanceof Va){e=r,t=o,n=io([Ja(d),Ya(qa(d),void 0,Xa(d),0)],f);continue e}e=r,t=o,n=io([void 0,$a(qa(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Kr(s[0])){e=r,t=eo(s[0]),n=eo(s[1]);continue e}{Kr(s[0]);const a=[o,i];let u,c,l,f,d;switch(Zr(a[0])?Zr(a[1])?u=2:null!=Kr(a[1])?(u=1,f=eo(a[1]),d=Kr(a[1])):u=2:null!=Kr(a[0])?(u=0,c=eo(a[0]),l=Kr(a[0])):Zr(a[1])?u=2:null!=Kr(a[1])?(u=1,f=eo(a[1]),d=Kr(a[1])):u=2,u){case 0:if(l instanceof Va){e=r,t=io([Ja(l),Ya(qa(l),void 0,Xa(l),0)],c),n=i;continue e}e=r,t=io([void 0,$a(qa(l))],c),n=i;continue e;case 1:if(d instanceof Va){e=r,t=o,n=io([Ja(d),Ya(qa(d),void 0,Xa(d),0)],f);continue e}e=r,t=o,n=io([void 0,$a(qa(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Xr(t),Xr(n))}function fu(e,t,n){let r=n;ou((e=>{t[r]=e,r=r+1|0}),e)}function du(e,t){if(je(t))return function(e,t){return Fr(((t,n)=>nu(e,n,t)),void 0,t)}(e,t);if(t instanceof Wr)return function(e,t){return no(((t,n)=>nu(e,n,t)),void 0,t)}(e,t);{const n=Ue(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=nu(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{n.Dispose()}}}class hu{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=Ue(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|Ye(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{r.Dispose()}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof hu&&0===lu(pu(this),mu(this),mu(e))}toString(){return"set ["+Tr("; ",No((e=>at(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|lu(pu(this),mu(this),mu(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 ru(pu(this),e,mu(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){fu(mu(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|gu(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|gu(this)}GetEnumerator(){return cu(mu(this))}[Symbol.iterator](){return Le(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return cu(mu(this))}get size(){return 0|gu(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 ru(pu(e),t,mu(e))}(this,e)}keys(){return No((e=>e),this)}values(){return No((e=>e),this)}entries(){return No((e=>[e,e]),this)}forEach(e,t){const n=this;Po((t=>{e(t,t,n)}),n)}}function pu(e){return e.comparer}function mu(e){return e.tree}function gu(e){return Ka(mu(e))}function wu(e,t){return function(e,t){return new hu(e,t)}(t,du(t,e))}function yu(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 _u(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new Vo(1,function(e,t){const n=2===t.tag?yu(t.fields[0],t.fields[1],!0):1===t.tag?yu(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?yu(t.fields[0],t.fields[1],!0):4===t.tag?yu(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"+Tr("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:yu(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new Vo(0,r.fields[0])}const vu=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 Vo(0,(e+128&255)-128):new Vo(1,[r,new Bs(1,n,e,"Value was either too large or too small for a sbyte")]):new Vo(1,[r,new Bs(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Qt(o,511,!1,8,new lt((()=>t),(e=>{t=0|e}))),t],e[0]?new Vo(0,e[1]):new Vo(1,[r,new Bs(0,n,o)])}return new Vo(1,[r,new Bs(0,n,o)])},bu=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 Vo(0,255&e):new Vo(1,[r,new Bs(1,n,e,"Value was either too large or too small for a byte")]):new Vo(1,[r,new Bs(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Qt(o,511,!0,8,new lt((()=>t),(e=>{t=e}))),t],e[0]?new Vo(0,e[1]):new Vo(1,[r,new Bs(0,n,o)])}return new Vo(1,[r,new Bs(0,n,o)])},Cu=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 Vo(0,(e+32768&65535)-32768):new Vo(1,[r,new Bs(1,n,e,"Value was either too large or too small for "+n)]):new Vo(1,[r,new Bs(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Qt(o,511,!1,16,new lt((()=>t),(e=>{t=0|e}))),t],e[0]?new Vo(0,e[1]):new Vo(1,[r,new Bs(0,n,o)])}return new Vo(1,[r,new Bs(0,n,o)])},Su=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 Vo(0,65535&e):new Vo(1,[r,new Bs(1,n,e,"Value was either too large or too small for "+n)]):new Vo(1,[r,new Bs(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Qt(o,511,!0,16,new lt((()=>t),(e=>{t=e}))),t],e[0]?new Vo(0,e[1]):new Vo(1,[r,new Bs(0,n,o)])}return new Vo(1,[r,new Bs(0,n,o)])},xu=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 Vo(0,~~e):new Vo(1,[r,new Bs(1,n,e,"Value was either too large or too small for an int")]):new Vo(1,[r,new Bs(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Qt(o,511,!1,32,new lt((()=>t),(e=>{t=0|e}))),t],e[0]?new Vo(0,e[1]):new Vo(1,[r,new Bs(0,n,o)])}return new Vo(1,[r,new Bs(0,n,o)])},Eu=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 Vo(0,e>>>0):new Vo(1,[r,new Bs(1,n,e,"Value was either too large or too small for "+n)]):new Vo(1,[r,new Bs(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Qt(o,511,!0,32,new lt((()=>t),(e=>{t=e}))),t],e[0]?new Vo(0,e[1]):new Vo(1,[r,new Bs(0,n,o)])}return new Vo(1,[r,new Bs(0,n,o)])};function ku(e,t,n,r){let o;const i=n+".["+He(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,n[e]):new Vo(1,[i,new Bs(5,"a longer array. Need index `"+He(e)+"` but there are only `"+(o=n.length,He(o)+"` entries"),r)])}return new Vo(1,[i,new Bs(0,"an array",r)])}function Mu(e,t,n){if(Array.isArray(n)){let r=-1;return Yo((e=>ro(e)),Fr(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+He(r)+"]",o);return 0===i.tag?new Vo(0,Jr(i.fields[0],n.fields[0])):new Vo(1,i.fields[0])}return n}),new Vo(0,Yr()),n))}return new Vo(1,[t,new Bs(0,"a list",n)])}function Iu(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Fr(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],s=e(t+".["+He(r)+"]",o);return 0===s.tag?(i[r]=s.fields[0],new Vo(0,i)):new Vo(1,s.fields[0])}return n}),new Vo(0,Dr(new Array(o.length),0,o.length,null)),o)}return new Vo(1,[t,new Bs(0,"an array",n)])}function Tu(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new Vo(1,o.fields[0])}function Ou(e,t){let n;const r=e;return n=e=>t=>ku(0,r,e,t),e=>r=>Tu(ot(3,(e=>{let n;const r=t;return n=e=>t=>ku(1,r,e,t),t=>r=>Tu(((t,n,r)=>new Vo(0,[e,t])),ot(2,n),t,r)})),ot(2,n),e,r)}function Pu(e,t,n,r){let o,i;return t.length!==r.length?new Vo(1,[n,new Bs(6,(o=0|r.length,i=0|t.length,Er(Cr("Expected %i %s but got %i"))(i)(e)(o)))]):Lr(ot(3,st((e=>t=>r=>0===r.tag?Yo((e=>Jr(e,r.fields[0])),t(n,e)):r),[0,[0,2],0])),r,t,new Vo(0,Yr()))}function Nu(e,t,n,r,o,i){const s=function(e,t){return t.find((e=>xt(e)===r))}(0,Dt(n));if(null!=s){const n=s;return 0===i.length?new Vo(0,Gt(n,[])):Yo((e=>Gt(n,to(e))),Pu("union fields",jr((n=>Du(e,t,!1,n[1])),Wt(n)),o,i))}return new Vo(1,[o,new Bs(6,"Cannot find case "+r+" in "+Et(n))])}function Au(e,t,n,r){const o=new lt(null),i=ps(Et(r),o,e);let s;if(Ut(r)){const e=jr((e=>[Js(t,xt(e)),Du(i,t,!1,e[1])]),jt(r));s=t=>n=>Yo((e=>function(e,t){const n=jt(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,to(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new Vo(1,[t,new Bs(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ot(2,(e=>{const r=e[0];return o=>0===o.tag?Yo((e=>Jr(e,o.fields[0])),e[1](t+"."+r)(n[r])):o})),e,new Vo(0,Yr()))}(e,t,n))}else if(Ft(r))s=e=>n=>{if("string"==typeof n)return Nu(i,t,r,n,e,[]);if(Array.isArray(n)){const o=n;return Nu(i,t,r,o[0],e,o.slice(1,o.length))}return new Vo(1,[e,new Bs(0,"a string or array",n)])};else{if(!n){let e;const t=Et(r);throw e=Er(Cr("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}s=e=>t=>new Vo(1,[e,new Bs(2,"an extra coder for "+Et(r),t)])}return o.contents=s,s}function Du(e,t,n,r){let o;const i=Et(r),s=ms(i,e);if(null==s){if(kt(r)){const n=Du(e,t,!1,Mt(r));return e=>t=>Iu(ot(2,n),e,t)}if(Tt(r)){const e=Et(Pt(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,s=vu(o)(i);if(1===s.tag)return new Vo(1,s.fields[0]);{const e=s.fields[0];return To(e,Nt(n),{Equals:(e,t)=>e===t,GetHashCode:e=>qe(e)})?new Vo(0,At(n,e.toString())):new Vo(1,[o,new Bs(1,Et(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,s=bu(o)(i);if(1===s.tag)return new Vo(1,s.fields[0]);{const e=s.fields[0];return To(e,Nt(n),{Equals:(e,t)=>e===t,GetHashCode:e=>qe(e)})?new Vo(0,At(n,e.toString())):new Vo(1,[o,new Bs(1,Et(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,s=Cu(o)(i);if(1===s.tag)return new Vo(1,s.fields[0]);{const e=s.fields[0];return To(e,Nt(n),{Equals:(e,t)=>e===t,GetHashCode:e=>qe(e)})?new Vo(0,At(n,e.toString(a))):new Vo(1,[o,new Bs(1,Et(n),i,"Unkown value provided for the enum")])}var a};if("System.UInt16"===e)return e=>t=>{const n=r,o=e,i=t,s=Su(o)(i);if(1===s.tag)return new Vo(1,s.fields[0]);{const e=s.fields[0];return To(e,Nt(n),{Equals:(e,t)=>e===t,GetHashCode:e=>qe(e)})?new Vo(0,At(n,e.toString())):new Vo(1,[o,new Bs(1,Et(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,s=xu(o)(i);if(1===s.tag)return new Vo(1,s.fields[0]);{const e=s.fields[0];return To(e,Nt(n),{Equals:(e,t)=>e===t,GetHashCode:e=>qe(e)})?new Vo(0,At(n,He(e))):new Vo(1,[o,new Bs(1,Et(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,s=Eu(o)(i);if(1===s.tag)return new Vo(1,s.fields[0]);{const e=s.fields[0];return To(e,Nt(n),{Equals:(e,t)=>e===t,GetHashCode:e=>qe(e)})?new Vo(0,At(n,e.toString())):new Vo(1,[o,new Bs(1,Et(n),i,"Unkown value provided for the enum")])}};{const e=Et(r),t=kr(Cr("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing 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=>{const n=t(e);return e=>n(e)}}}if(It(r)){if(Lt(r)){const n=jr((n=>Du(e,t,!1,n)),Rt(r));return e=>t=>Array.isArray(t)?Yo((e=>to(e)),Pu("tuple elements",n,e,t)):new Vo(1,[e,new Bs(0,"an array",t)])}{const i=Et(Ot(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const n=Du(e,t,!0,ht(r)[0]);return e=>t=>{return r=ot(2,n),o=e,null==(i=t)?new Vo(0,void 0):Yo((e=>Ht(e)),r(o,i));var r,o,i}}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===i){const n=Du(e,t,!1,ht(r)[0]);return e=>t=>Mu(ot(2,n),e,t)}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const n=Du(e,t,!1,ht(r)[0]),i=Du(e,t,!1,ht(r)[1]);let s;const a=so([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new Vo(1,[n,new Bs(0,"an object",r)]):Oo(((o,i)=>{if(0===o.tag){const s=e(n,i);if(0===s.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new Vo(0,Jr([s.fields[0],e.fields[0]],o.fields[0])):new Vo(1,e.fields[0])}return new Vo(1,s.fields[0])}return o}),new Vo(0,Yr()),Object.keys(r))}(ot(2,n),ot(2,i),e,t),(o=Ou(ot(2,n),ot(2,i)),e=>t=>Mu(ot(2,o),e,t))]);return s=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(Zr(o))return new Vo(1,[n,new Bs(7,i)]);{const s=_u(n,ot(2,Kr(o)),r);if(1===s.tag){e=eo(o),t=ao(i,Xr(s.fields[0]));continue e}return new Vo(0,s.fields[0])}}})(a,Yr());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new Vo(1,o.fields[0]):new Vo(0,e(o.fields[0]))}((e=>ls(e)),ot(2,s),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===i){const n=Du(e,t,!1,ht(r)[0]);return e=>t=>{const r=Iu(ot(2,n),e,t);return 0===r.tag?new Vo(0,wu(r.fields[0],{Compare:(e,t)=>tt(e,t)})):new Vo(1,r.fields[0])}}return Au(e,t,n,r)}}return"System.Boolean"===i?e=>t=>{return n=e,"boolean"==typeof(r=t)?new Vo(0,r):new Vo(1,[n,new Bs(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===i?e=>t=>{return n=e,null==(r=t)?new Vo(0,void 0):new Vo(1,[n,new Bs(0,"null",r)]);var n,r}:"System.String"===i?e=>t=>{return n=e,"string"==typeof(r=t)?new Vo(0,r):new Vo(1,[n,new Bs(0,"a string",r)]);var n,r}:"System.SByte"===i?vu:"System.Byte"===i?bu:"System.Int16"===i?Cu:"System.UInt16"===i?Su:"System.Int32"===i?xu:"System.UInt32"===i?Eu:"System.Double"===i?e=>t=>{return n=e,"number"==typeof(r=t)?new Vo(0,r):new Vo(1,[n,new Bs(0,"a float",r)]);var n,r}:"System.Single"===i?e=>t=>{return n=e,"number"==typeof(r=t)?new Vo(0,r):new Vo(1,[n,new Bs(0,"a float32",r)]);var n,r}:"System.DateTime"===i?e=>t=>function(e,t){if("string"==typeof t){let r,o=ar(-621355968e5,0);return r=[cr(t,new lt((()=>o),(e=>{o=e}))),o],r[0]?new Vo(0,1===(n=r[1]).kind?n:ar(n.getTime(),1)):new Vo(1,[e,new Bs(0,"a datetime",t)])}var n;return new Vo(1,[e,new Bs(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===i?e=>t=>function(e,t){if("string"==typeof t){let n,r=Ua(-621355968e5,0);return n=[La(t,new lt((()=>r),(e=>{r=e}))),r],n[0]?new Vo(0,n[1]):new Vo(1,[e,new Bs(0,"a datetimeoffset",t)])}return new Vo(1,[e,new Bs(0,"a datetime",t)])}(e,t):"System.TimeSpan"===i?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Ha(t,new lt((()=>r),(e=>{r=e}))),r],n[0]?new Vo(0,n[1]):new Vo(1,[e,new Bs(0,"a timespan",t)])}return new Vo(1,[e,new Bs(0,"a timespan",t)])}(e,t):"System.Guid"===i?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[ai(t,new lt((()=>r),(e=>{r=e}))),r],n[0]?new Vo(0,n[1]):new Vo(1,[e,new Bs(0,"a guid",t)])}return new Vo(1,[e,new Bs(0,"a guid",t)])}(e,t):"System.Object"===i?e=>e=>new Vo(0,e):Au(e,t,n,r)}{const e=s;return t=>n=>e.contents(t)(n)}}function ju(e,t,n){const r=Vt(e,new $s(0)),o=Bt(n).ResolveType();return Du(function(e){return null!=e?gs(((e,t)=>new lt(t[1])),e.Coders):ws()}(t),r,!1,o)}function Ru(e,t,n,r){return function(e,t){try{return _u("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new Vo(1,"Given an invalid JSON: "+e.message);throw e}}(ot(2,ju(t,n,r)),e)}new class{constructor(){}};class Fu extends ct{constructor(e,t,n,r,o,i,s){super(),this.Configuration=e,this.LastUpdated=t,this.Status=n,this.Invite=r,this.Creator=o,this.Profile=i,this.Tags=s}}class Uu extends ct{constructor(e,t){super(),this.Name=e,this.Steps=t}}class Lu extends ct{constructor(e,t){super(),this.Id=e,this.DisplayName=t}}class Wu extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Gu extends ct{constructor(e){super(),this.CompletedSteps=e}}class zu extends ct{constructor(e,t){super(),this.Type=e,this.Date=t}}class Hu extends ct{constructor(e){super(),this.DateIssued=e}}class Bu extends ct{constructor(e,t){super(),this.Name=e,this.Value=t}}class $u extends ct{constructor(e,t,n){super(),this.FirstName=e,this.LastName=t,this.Email=n}}class qu extends ct{constructor(e,t,n,r){super(),this.FirstName=e,this.LastName=t,this.Email=n,this.ExternalId=r}}class Vu extends ct{constructor(e){super(),this.Data=e}}function Yu(){return wt("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetailList",[],Vu,(()=>[["Data",vt(wt("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetail",[],Fu,(()=>[["Configuration",wt("Workflows.Api.Models.ProgressBackendModels.ProcessConfig",[],Uu,(()=>[["Name",Ct],["Steps",vt(wt("Workflows.Api.Models.ProgressBackendModels.ProcessStepConfig",[],Lu,(()=>[["Id",Ct],["DisplayName",Ct]])))]]))],["LastUpdated",gt("System.DateTime")],["Status",yt("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceStatus",[],Wu,(()=>[[],[["Item",wt("Workflows.Api.Models.ProgressBackendModels.ActiveProcessInstance",[],Gu,(()=>[["CompletedSteps",vt(wt("Workflows.Api.Models.ProgressBackendModels.CompletedStep",[],zu,(()=>[["Type",Ct],["Date",gt("System.DateTime")]])))]]))]],[["Item",gt("System.DateTime")]],[["Item",gt("System.DateTime")]]]))],["Invite",_t(wt("Workflows.Api.Models.ProgressBackendModels.Invite",[],Hu,(()=>[["DateIssued",gt("System.DateTime")]])))],["Creator",_t(wt("Workflows.Api.Models.ProgressBackendModels.Creator",[],$u,(()=>[["FirstName",Ct],["LastName",Ct],["Email",Ct]])))],["Profile",wt("Workflows.Api.Models.ProgressBackendModels.Profile",[],qu,(()=>[["FirstName",Ct],["LastName",Ct],["Email",Ct],["ExternalId",_t(Ct)]]))],["Tags",vt(wt("Workflows.Api.Models.ProgressBackendModels.Tag",[],Bu,(()=>[["Name",Ct],["Value",Ct]])))]])))]]))}class Ju{constructor(e,t){this.accessToken=t,this.backendUrl=Er(Sr("%P()/workflows/progress-backend",[e]))}}function Xu(e){return Os(0,(()=>{let t,n;const r=(o=e,i=Ws(new Ps(0),Ls(Er(Sr("%P()/instances?dateFrom=%P()",[e.backendUrl,(n=lr(),t=hr(n,-30),sr(t,"o"))])))),Os(0,(()=>{const e=Gs((n=Er(Sr("Bearer %P()",[o.accessToken])),new Ns(0,"Authorization",n)),i),t=Oi.Bind(zs(e),(e=>Oi.Return(new Vo(0,e))));var n;return Oi.Delay((()=>Oi.Bind(t,(t=>{let n;const r=t;return 1===r.tag?Oi.Return(new Vo(1,r.fields[0])):Oi.ReturnFrom((n=r.fields[0],429===n.statusCode||n.statusCode>=500?Oi.Bind(zs(e),(e=>Oi.Return(new Vo(0,e)))):function(e,t){return Oi.Return(function(e,t){return new Vo(0,t)}(0,t))}(0,n)))}))))})));var o,i;return Oi.Delay((()=>Oi.Bind(r,(e=>{let t;const n=e;return 1===n.tag?Oi.Return(new Vo(1,n.fields[0])):Oi.ReturnFrom((t=n.fields[0],200===t.statusCode?Oi.Return(Ru(t.responseText,new $s(1),void 0,{ResolveType:Yu})):Oi.Return(new Vo(1,"Unexpected response from backend"))))}))))}))}function Zu(e,t,n,r,o){const i=function(e,t,n,r){const o=0|tt(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|tt(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return Co((()=>{return t=i,n=e,vo((()=>function(e,t){let n,r=t;return yo((()=>{if(null!=n){const e=n[0];return n[1],e}return po()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}function Qu(e,t,n){return t()?n.then((()=>Qu(e,t,n))):Promise.resolve(void 0)}function Ku(e,t){return{then:(e,n)=>{try{return t().then(e,n)}catch(e){if(Ze(n,null))return Promise.reject(e);try{return Promise.resolve(n(e))}catch(e){return Promise.reject(e)}}},catch:e=>{try{return t().catch(e)}catch(t){try{return Promise.resolve(e(t))}catch(e){return Promise.reject(e)}}}}}const ec=new class{constructor(){}};class tc extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class nc{constructor(e){this.state=new tc(0,Dr(new Array(nt(((e,t)=>Ke(e,t)),e,10)),0,nt(((e,t)=>Ke(e,t)),e,10),null),0)}}function rc(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 tc(0,o,n):new tc(1,o,n,i),Ht(o[r])}}function oc(e,t,n){const r=Bo(e[0]),o=Bo(new nc(10)),i=function(e){return jo.useState(e)}(e[0]);let s;const a=Bo(Ni()),u=Bo(a.current);zo((()=>Uo((()=>{Ai(a.current)})))),s=u;const c=()=>{setTimeout((()=>{let e;e=s.current,Di(e)||i[1](r.current)}),0)},l=e=>{const n=(i=Ku(0,(()=>{let n=Ht(e);return Qu(ec,(()=>{let e;return null!=n&&(e=s.current,!Di(e))}),Ku(0,(()=>{const e=t(Bt(n),r.current);return oo((e=>{e(l)}),e[1]),n=rc(o.current),r.current=e[0],c(),Promise.resolve()})))})),new Promise(((e,t)=>{try{Promise.resolve(i).then(e,t)}catch(e){t(e)}})));var i;n.then()},f=qo(l);var d;return Wo((()=>Uo((()=>{let e;Po((e=>{e.Dispose()}),qt((e=r.current,function(e){return null!=e&&"function"==typeof e.Dispose}(e)?e:void 0)))}))),n),Ho((()=>{r.current=e[0],c(),oo((e=>{e(f)}),e[1])}),n),d=()=>{Po(f,qt(rc(o.current)))},Ro((e=>(d(),Uo((()=>{}))))),[i[0],f]}class ic{constructor(e,t){const n=new lt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const r=Ue(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)cc(n.contents,r["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{r.Dispose()}}get[Symbol.toStringTag](){return"HashSet"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return Ue(this)}GetEnumerator(){return Ue(So(this.hashMap.values()))}[Symbol.iterator](){return Le(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){cc(this,e)}"System.Collections.Generic.ICollection`1.Clear"(){ac(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return lc(this,e)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},Oo(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|uc(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){return fc(this,e)}get size(){return 0|uc(this)}add(e){return cc(this,e),this}clear(){ac(this)}delete(e){return fc(this,e)}has(e){return lc(this,e)}keys(){return No((e=>e),this)}values(){return No((e=>e),this)}entries(){return No((e=>[e,e]),this)}forEach(e,t){const n=this;Po((t=>{e(t,t,n)}),n)}}function sc(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[(i=e.hashMap,s=n,a=new lt((()=>o),(e=>{o=e})),!!i.has(s)&&(a.contents=i.get(s),!0)),o],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n)))]:[!1,n,-1];var i,s,a}function ac(e){e.hashMap.clear()}function uc(e){let t=0,n=Ue(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{n.Dispose()}return 0|t}function cc(e,t){const n=sc(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!1;case 1:return n[0]?(Hs(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}}function lc(e,t){const n=sc(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function fc(e,t){const n=sc(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Hs(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function dc(e,t){return Co((()=>{const n=new ic([],t);return function(e,t){return function(e,t){return ko((()=>bo(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=>{e.Dispose()}))}((t=>e(t)?Ht(t):void 0),t)}((e=>function(e,t){return!t.has(e)&&(t.add(e),!0)}(e,n)),e)}))}Symbol.toStringTag,Symbol.iterator;class hc extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["All","Completed","InProgress","NotStarted"]}}function pc(e){switch(e.tag){case 1:return"Completed";case 2:return"In progress";case 3:return"Not started";default:return"All"}}class mc extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetInstanceListCallback","SelectStatusTab"]}}class gc extends ct{constructor(e,t){super(),this.ProcessInstanceList=e,this.SelectedStatusTab=t}}function wc(e){return function(e,t){return fo(((e,n)=>t.Compare(e,n)),e)}((t=co((e=>e.Name),uo((e=>e.Tags),e.Data)),n={Equals:(e,t)=>e===t,GetHashCode:e=>$e(e)},Eo(dc(t,n))),{Compare:(e,t)=>Ke(e,t)});var t,n}function yc(e,t){return Ze(e,new hc(0))?t:new Vu(function(e,t){const n=zr(),r=no(((t,n)=>{if(e(n)){const e=new Wr(n,void 0);return t.tail=e,e}return t}),n,t),o=zr();return r.tail=o,Vr(n)}((t=>{let n;return Ze((n=t.Status,1===n.tag?new hc(2):2===n.tag?new hc(1):3===n.tag?void 0:new hc(3)),e)}),t.Data))}class _c{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}const vc=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)}};function bc(e,t){let n,r=new class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new vc}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new _c(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Cc(e,t,n){oo((n=>{try{n(t)}catch(t){e(t)}}),n)}function Sc(){return Yr()}function xc(e,t){return co((t=>n=>{t((t=>{n(e(t))}))}),t)}function Ec(e){return Xr((t=>{t(e)}))}function kc(e,t,n,r,o){return Xr((i=>{e(Oi.Delay((()=>{return Oi.Bind((e=t(n),Ti((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new Jo(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new Jo(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])),Oi.Zero()}));var e})))}))}function Mc(){window.dispatchEvent(new CustomEvent("progressComponentReady",{}))}function Ic(){return[new gc(new ys(0),new hc(0)),Sc()]}function Tc(e){return Tc="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},Tc(e)}function Oc(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 Pc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Pc(e,t,n[t])}))}return e}function Ac(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Dc=function(){},jc={},Rc={},Fc={mark:Dc,measure:Dc};try{"undefined"!=typeof window&&(jc=window),"undefined"!=typeof document&&(Rc=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(Fc=performance)}catch(u){}var Uc=(jc.navigator||{}).userAgent,Lc=void 0===Uc?"":Uc,Wc=jc,Gc=Rc,zc=Fc,Hc=(Wc.document,!!Gc.documentElement&&!!Gc.head&&"function"==typeof Gc.addEventListener&&"function"==typeof Gc.createElement),Bc=(~Lc.indexOf("MSIE")||Lc.indexOf("Trident/"),"svg-inline--fa"),$c=[1,2,3,4,5,6,7,8,9,10],qc=$c.concat([11,12,13,14,15,16,17,18,19,20]),Vc={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Yc=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",Vc.GROUP,Vc.SWAP_OPACITY,Vc.PRIMARY,Vc.SECONDARY].concat($c.map((function(e){return"".concat(e,"x")}))).concat(qc.map((function(e){return"w-".concat(e)}))),Wc.FontAwesomeConfig||{});Gc&&"function"==typeof Gc.querySelector&&[["data-family-prefix","familyPrefix"],["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=Ac(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Gc.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(Yc[r]=o)}));var Jc=Nc({},{familyPrefix:"fa",replacementClass:Bc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},Yc);Jc.autoReplaceSvg||(Jc.observeMutations=!1);var Xc=Nc({},Jc);Wc.FontAwesomeConfig=Xc;var Zc=Wc||{};Zc.___FONT_AWESOME___||(Zc.___FONT_AWESOME___={}),Zc.___FONT_AWESOME___.styles||(Zc.___FONT_AWESOME___.styles={}),Zc.___FONT_AWESOME___.hooks||(Zc.___FONT_AWESOME___.hooks={}),Zc.___FONT_AWESOME___.shims||(Zc.___FONT_AWESOME___.shims=[]);var Qc=Zc.___FONT_AWESOME___,Kc=[];Hc&&((Gc.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Gc.readyState)||Gc.addEventListener("DOMContentLoaded",(function e(){Gc.removeEventListener("DOMContentLoaded",e),Kc.map((function(e){return e()}))})));var el,tl="pending",nl="settled",rl="fulfilled",ol="rejected",il=function(){},sl=void 0!==n.g&&void 0!==n.g.process&&"function"==typeof n.g.process.emit,al="undefined"==typeof setImmediate?setTimeout:setImmediate,ul=[];function cl(){for(var e=0;e<ul.length;e++)ul[e][0](ul[e][1]);ul=[],el=!1}function ll(e,t){ul.push([e,t]),el||(el=!0,al(cl,0))}function fl(e){var t=e.owner,n=t._state,r=t._data,o=e[n],i=e.then;if("function"==typeof o){n=rl;try{r=o(r)}catch(e){ml(i,e)}}dl(i,r)||(n===rl&&hl(i,r),n===ol&&ml(i,r))}function dl(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===Tc(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?pl(e,r):hl(e,r))}),(function(t){n||(n=!0,ml(e,t))})),!0}}catch(t){return n||ml(e,t),!0}return!1}function hl(e,t){e!==t&&dl(e,t)||pl(e,t)}function pl(e,t){e._state===tl&&(e._state=nl,e._data=t,ll(wl,e))}function ml(e,t){e._state===tl&&(e._state=nl,e._data=t,ll(yl,e))}function gl(e){e._then=e._then.forEach(fl)}function wl(e){e._state=rl,gl(e)}function yl(e){e._state=ol,gl(e),!e._handled&&sl&&n.g.process.emit("unhandledRejection",e._data,e)}function _l(e){n.g.process.emit("rejectionHandled",e)}function vl(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof vl==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){ml(t,e)}try{e((function(e){hl(t,e)}),n)}catch(e){n(e)}}(e,this)}vl.prototype={constructor:vl,_state:tl,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(il),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===ol&&sl&&ll(_l,this)),this._state===rl||this._state===ol?ll(fl,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},vl.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new vl((function(t,n){var r=[],o=0;function i(e){return o++,function(n){r[e]=n,--o||t(r)}}for(var s,a=0;a<e.length;a++)(s=e[a])&&"function"==typeof s.then?s.then(i(a),n):r[a]=s;o||t(r)}))},vl.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new vl((function(t,n){for(var r,o=0;o<e.length;o++)(r=e[o])&&"function"==typeof r.then?r.then(t,n):t(r)}))},vl.resolve=function(e){return e&&"object"===Tc(e)&&e.constructor===vl?e:new vl((function(t){t(e)}))},vl.reject=function(e){return new vl((function(t,n){n(e)}))};var bl={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Cl(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Sl(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function xl(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function El(e){return e.size!==bl.size||e.x!==bl.x||e.y!==bl.y||e.rotate!==bl.rotate||e.flipX||e.flipY}function kl(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="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:o,inner:{transform:"".concat(i," ").concat(s," ").concat(a)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var Ml={x:0,y:0,width:"100%",height:"100%"};function Il(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Tl(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,s=e.transform,a=e.symbol,u=e.title,c=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,p=r.found?r:n,m=p.width,g=p.height,w="fak"===o,y=w?"":"fa-w-".concat(Math.ceil(m/g*16)),_=[Xc.replacementClass,i?"".concat(Xc.familyPrefix,"-").concat(i):"",y].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),v={children:[],attributes:Nc({},f.attributes,{"data-prefix":o,"data-icon":i,class:_,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},b=w&&!~f.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};h&&(v.attributes["data-fa-i2svg"]=""),u&&v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(l||Cl())},children:[u]});var C=Nc({},v,{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:s,symbol:a,styles:Nc({},b,f.styles)}),S=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,s=e.maskId,a=e.transform,u=o.width,c=o.icon,l=i.width,f=i.icon,d=kl({transform:a,containerWidth:l,iconWidth:u}),h={tag:"rect",attributes:Nc({},Ml,{fill:"white"})},p=c.children?{children:c.children.map(Il)}:{},m={tag:"g",attributes:Nc({},d.inner),children:[Il(Nc({tag:c.tag,attributes:Nc({},c.attributes,d.path)},p))]},g={tag:"g",attributes:Nc({},d.outer),children:[m]},w="mask-".concat(s||Cl()),y="clip-".concat(s||Cl()),_={tag:"mask",attributes:Nc({},Ml,{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=f,"g"===t.tag?t.children:[t])},_]};return n.push(v,{tag:"rect",attributes:Nc({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(w,")")},Ml)}),{children:n,attributes:r}}(C):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,i=xl(e.styles);if(i.length>0&&(n.style=i),El(o)){var s=kl({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:Nc({},s.outer),children:[{tag:"g",attributes:Nc({},s.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Nc({},r.icon.attributes,s.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(C),x=S.children,E=S.attributes;return C.children=x,C.attributes=E,a?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Nc({},o,{id:!0===i?"".concat(t,"-").concat(Xc.familyPrefix,"-").concat(n):i}),children:r}]}]}(C):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,s=e.transform;if(El(s)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};o.style=xl(Nc({},i,{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(C)}var Ol=(Xc.measurePerformance&&zc&&zc.mark&&zc.measure,function(e,t,n,r){var o,i,s,a=Object.keys(e),u=a.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,s=e[a[0]]):(o=0,s=n);o<u;o++)s=c(s,e[i=a[o]],i,e);return s});function Pl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof Qc.hooks.addPack||o?Qc.styles[e]=Nc({},Qc.styles[e]||{},i):Qc.hooks.addPack(e,i),"fas"===e&&Pl("fa",t)}var Nl=Qc.styles,Al=Qc.shims,Dl=function(){var e=function(e){return Ol(Nl,(function(t,n,r){return t[r]=Ol(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Nl;Ol(Al,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:i},e}),{})};function jl(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function Rl(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?Sl(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Sl(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Rl).join(""),"</").concat(t,">")}Dl(),Qc.styles;function Fl(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Fl.prototype=Object.create(Error.prototype),Fl.prototype.constructor=Fl;var Ul={fill:"currentColor"},Ll={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Wl=(Nc({},Ul,{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"}),Nc({},Ll,{attributeName:"opacity"}));function Gl(e){var t=e[0],n=e[1],r=Ac(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Xc.familyPrefix,"-").concat(Vc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Xc.familyPrefix,"-").concat(Vc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Xc.familyPrefix,"-").concat(Vc.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}Nc({},Ul,{cx:"256",cy:"364",r:"28"}),Nc({},Ll,{attributeName:"r",values:"28;14;28;28;14;28;"}),Nc({},Wl,{values:"1;0;1;1;0;1;"}),Nc({},Ul,{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"}),Nc({},Wl,{values:"1;0;0;0;0;1;"}),Nc({},Ul,{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"}),Nc({},Wl,{values:"0;0;1;1;0;0;"}),Qc.styles,Qc.styles;var zl=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]=Nc({},e.definitions[t]||{},o[t]),Pl(t,o[t]),Dl()}))}},{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,s=r.icon;e[o]||(e[o]={}),e[o][i]=s})),e}}],n&&Oc(t.prototype,n),e}();function Hl(){Xc.autoAddCss&&!Yl&&(function(e){if(e&&Hc){var t=Gc.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Gc.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],s=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=i)}Gc.head.insertBefore(t,r)}}(function(){var e="fa",t=Bc,n=Xc.familyPrefix,r=Xc.replacementClass,o='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n 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 {\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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: 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: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\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-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\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\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 -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\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}\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: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\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 color: #fff;\n}';if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(r))}return o}()),Yl=!0)}function Bl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Rl(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Hc){var t=Gc.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function $l(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return jl(Vl.definitions,n,r)||jl(Qc.styles,n,r)}var ql,Vl=new zl,Yl=!1,Jl={transform:function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?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}),t):t}(e)}},Xl=(ql=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?bl:n,o=t.symbol,i=void 0!==o&&o,s=t.mask,a=void 0===s?null:s,u=t.maskId,c=void 0===u?null:u,l=t.title,f=void 0===l?null:l,d=t.titleId,h=void 0===d?null:d,p=t.classes,m=void 0===p?[]:p,g=t.attributes,w=void 0===g?{}:g,y=t.styles,_=void 0===y?{}:y;if(e){var v=e.prefix,b=e.iconName,C=e.icon;return Bl(Nc({type:"icon"},e),(function(){return Hl(),Xc.autoA11y&&(f?w["aria-labelledby"]="".concat(Xc.replacementClass,"-title-").concat(h||Cl()):(w["aria-hidden"]="true",w.focusable="false")),Tl({icons:{main:Gl(C),mask:a?Gl(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:b,transform:Nc({},bl,r),symbol:i,title:f,maskId:c,titleId:h,extra:{attributes:w,styles:_,classes:m}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:$l(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:$l(r||{})),ql(n,Nc({},t,{mask:r}))}),Zl=n(697),Ql=n.n(Zl);function Kl(e){return Kl="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},Kl(e)}function ef(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tf(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 nf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tf(Object(n),!0).forEach((function(t){ef(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rf(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}function of(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function sf(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}function af(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=sf(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}),{})}var uf=!1;try{uf=!0}catch(u){}function cf(e){return e&&"object"===Kl(e)&&e.prefix&&e.iconName&&e.icon?e:Jl.icon?Jl.icon(e):null===e?null:e&&"object"===Kl(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 lf(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ef({},e,t):{}}function ff(e){var t=e.forwardedRef,n=rf(e,["forwardedRef"]),r=n.icon,o=n.mask,i=n.symbol,s=n.className,a=n.title,u=n.titleId,c=cf(r),l=lf("classes",[].concat(of(function(e){var t,n=e.spin,r=e.pulse,o=e.fixedWidth,i=e.inverse,s=e.border,a=e.listItem,u=e.flip,c=e.size,l=e.rotation,f=e.pull,d=(ef(t={"fa-spin":n,"fa-pulse":r,"fa-fw":o,"fa-inverse":i,"fa-border":s,"fa-li":a,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(c),null!=c),ef(t,"fa-rotate-".concat(l),null!=l&&0!==l),ef(t,"fa-pull-".concat(f),null!=f),ef(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(d).map((function(e){return d[e]?e:null})).filter((function(e){return e}))}(n)),of(s.split(" ")))),f=lf("transform","string"==typeof n.transform?Jl.transform(n.transform):n.transform),d=lf("mask",cf(o)),h=Xl(c,nf({},l,{},f,{},d,{symbol:i,title:a,titleId:u}));if(!h)return function(){var e;!uf&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var p=h.abstract,m={ref:t};return Object.keys(n).forEach((function(e){ff.defaultProps.hasOwnProperty(e)||(m[e]=n[e])})),df(p[0],m)}ff.displayName="FontAwesomeIcon",ff.propTypes={border:Ql().bool,className:Ql().string,mask:Ql().oneOfType([Ql().object,Ql().array,Ql().string]),fixedWidth:Ql().bool,inverse:Ql().bool,flip:Ql().oneOf(["horizontal","vertical","both"]),icon:Ql().oneOfType([Ql().object,Ql().array,Ql().string]),listItem:Ql().bool,pull:Ql().oneOf(["right","left"]),pulse:Ql().bool,rotation:Ql().oneOf([0,90,180,270]),size:Ql().oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ql().bool,symbol:Ql().oneOfType([Ql().bool,Ql().string]),title:Ql().string,transform:Ql().oneOfType([Ql().string,Ql().object]),swapOpacity:Ql().bool},ff.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var df=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=af(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[sf(t)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,u=rf(r,["style"]);return i.attrs.style=nf({},i.attrs.style,{},a),t.apply(void 0,[n.tag,nf({},i.attrs,{},u)].concat(of(o)))}.bind(null,De.createElement);function hf(e){return h(ff,e)}const pf=hf({icon:{prefix:"fas",iconName:"user",icon:[448,512,[],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"]}}),mf=hf({icon:{prefix:"fas",iconName:"check-circle",icon:[512,512,[],"f058","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"]}}),gf=hf({icon:{prefix:"fas",iconName:"pen-square",icon:[448,512,[],"f14b","M400 480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zM238.1 177.9L102.4 313.6l-6.3 57.1c-.8 7.6 5.6 14.1 13.3 13.3l57.1-6.3L302.2 242c2.3-2.3 2.3-6.1 0-8.5L246.7 178c-2.5-2.4-6.3-2.4-8.6-.1zM345 165.1L314.9 135c-9.4-9.4-24.6-9.4-33.9 0l-23.1 23.1c-2.3 2.3-2.3 6.1 0 8.5l55.5 55.5c2.3 2.3 6.1 2.3 8.5 0L345 199c9.3-9.3 9.3-24.5 0-33.9z"]}}),wf=hf({icon:{prefix:"fas",iconName:"hourglass-start",icon:[384,512,[],"f251","M360 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24zm-64 448H88c0-77.458 46.204-144 104-144 57.786 0 104 66.517 104 144z"]}});var yf={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 _f(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}const vf={date:_f({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:_f({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:_f({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var bf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Cf(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,s=o.width?String(o.width):i;r=e.formattingValues[s]||e.formattingValues[i]}else{var a=e.defaultWidth,u=o.width?String(o.width):e.defaultWidth;r=e.values[u]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const Sf={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:Cf({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Cf({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:Cf({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:Cf({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:Cf({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 xf(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 s,a=i[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?kf(u,(function(e){return e.test(a)})):Ef(u,(function(e){return e.test(a)}));s=e.valueCallback?e.valueCallback(c):c,s=n.valueCallback?n.valueCallback(s):s;var l=t.slice(a.length);return{value:s,rest:l}}}function Ef(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function kf(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var Mf,If={ordinalNumber:(Mf={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(Mf.matchPattern);if(!n)return null;var r=n[0],o=e.match(Mf.parsePattern);if(!o)return null;var i=Mf.valueCallback?Mf.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;var s=e.slice(r.length);return{value:i,rest:s}}),era:xf({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:xf({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:xf({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:xf({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:xf({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 Tf={code:"en-US",formatDistance:function(e,t,n){var r,o=yf[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:vf,formatRelative:function(e,t,n,r){return bf[e]},localize:Sf,match:If,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Of=["years","months","weeks","days","hours","minutes","seconds"];function Pf(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var n=(null==t?void 0:t.format)||Of,r=(null==t?void 0:t.locale)||Tf,o=(null==t?void 0:t.zero)||!1,i=(null==t?void 0:t.delimiter)||" ",s=n.reduce((function(t,n){var i="x".concat(n.replace(/(^.)/,(function(e){return e.toUpperCase()})));return"number"==typeof e[n]&&(o||e[n])?t.concat(r.formatDistance(i,e[n])):t}),[]).join(i);return s}function Nf(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Af(e){Nf(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://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function Df(e,t){Nf(2,arguments);var n=Af(e),r=Af(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function jf(e,t){Nf(2,arguments);var n=Af(e),r=Af(t);return n.getFullYear()-r.getFullYear()}function Rf(e,t){Nf(2,arguments);var n=Af(e),r=Af(t),o=Df(n,r),i=Math.abs(jf(n,r));n.setFullYear(1584),r.setFullYear(1584);var s=Df(n,r)===-o,a=o*(i-Number(s));return 0===a?0:a}function Ff(e,t){Nf(2,arguments);var n=Af(e),r=Af(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return 12*o+i}function Uf(e){Nf(1,arguments);var t=Af(e);return t.setHours(23,59,59,999),t}function Lf(e){Nf(1,arguments);var t=Af(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Wf(e){Nf(1,arguments);var t=Af(e);return Uf(t).getTime()===Lf(t).getTime()}function Gf(e,t){Nf(2,arguments);var n,r=Af(e),o=Af(t),i=Df(r,o),s=Math.abs(Ff(r,o));if(s<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*s);var a=Df(r,o)===-i;Wf(Af(e))&&1===s&&1===Df(e,o)&&(a=!1),n=i*(s-Number(a))}return 0===n?0:n}function zf(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 Hf(e){Nf(1,arguments);var t=Af(e);return t.setHours(0,0,0,0),t}var Bf=864e5;function $f(e,t){Nf(2,arguments);var n=Hf(e),r=Hf(t),o=n.getTime()-zf(n),i=r.getTime()-zf(r);return Math.round((o-i)/Bf)}function qf(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}function Vf(e,t){Nf(2,arguments);var n=Af(e),r=Af(t),o=qf(n,r),i=Math.abs($f(n,r));n.setDate(n.getDate()-o*i);var s=Number(qf(n,r)===-o),a=o*(i-s);return 0===a?0:a}Math.pow(10,8);var Yf=36e5;function Jf(e,t){return Nf(2,arguments),Af(e).getTime()-Af(t).getTime()}var Xf,Zf,Qf={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function Kf(e){return e?Qf[e]:Qf.trunc}function ed(e,t,n){Nf(2,arguments);var r=Jf(e,t)/Yf;return Kf(null==n?void 0:n.roundingMethod)(r)}function td(e,t,n){Nf(2,arguments);var r=Jf(e,t)/6e4;return Kf(null==n?void 0:n.roundingMethod)(r)}function nd(e,t,n){Nf(2,arguments);var r=Jf(e,t)/1e3;return Kf(null==n?void 0:n.roundingMethod)(r)}function rd(e){return Nf(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function od(e){if(Nf(1,arguments),!rd(e)&&"number"!=typeof e)return!1;var t=Af(e);return!isNaN(Number(t))}function id(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 sd(e,t){Nf(2,arguments);var n=Af(e),r=id(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function ad(e,t){Nf(2,arguments);var n=id(t);return sd(e,-n)}function ud(e,t){Nf(2,arguments);var n=Af(e),r=id(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());i.setMonth(n.getMonth()+r+1,0);var s=i.getDate();return o>=s?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}function cd(e,t){Nf(2,arguments);var n=id(t);return ud(e,-n)}function ld(e,t){if(Nf(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var n=t.years?id(t.years):0,r=t.months?id(t.months):0,o=t.weeks?id(t.weeks):0,i=t.days?id(t.days):0,s=t.hours?id(t.hours):0,a=t.minutes?id(t.minutes):0,u=t.seconds?id(t.seconds):0,c=cd(e,r+12*n),l=ad(c,i+7*o),f=a+60*s,d=u+60*f,h=1e3*d,p=new Date(l.getTime()-h);return p}function fd(e){var t=e.start,n=e.end;Nf(1,arguments);var r=Af(t),o=Af(n);if(!od(r))throw new RangeError("Start Date is invalid");if(!od(o))throw new RangeError("End Date is invalid");var i={years:0,months:0,days:0,hours:0,minutes:0,seconds:0},s=Df(r,o);i.years=Math.abs(Rf(r,o));var a=ld(r,{years:s*i.years});i.months=Math.abs(Gf(a,o));var u=ld(a,{months:s*i.months});i.days=Math.abs(Vf(u,o));var c=ld(u,{days:s*i.days});i.hours=Math.abs(ed(c,o));var l=ld(c,{hours:s*i.hours});i.minutes=Math.abs(td(l,o));var f=ld(l,{minutes:s*i.minutes});return i.seconds=Math.abs(nd(f,o)),i}function dd(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}}function hd(e){const t=lr();return pr(e,t)>0?"1 minute ago":Er(Sr("%P() ago",[Pf(dd(fd({end:t,start:e})))]))}function pd(e){const t=e=>h("td",{className:Tr(" ",["px-6","py-4","whitespace-nowrap"]),children:jo.Children.toArray(Array.from(e))}),n=e=>h("div",{className:Tr(" ",["text-sm","text-gray-500"]),children:e}),r=e=>t([n(e)]),o=(e,r)=>t([h("div",{className:Tr(" ",["text-sm","text-gray-900"]),children:e}),n(r)]),i=r("---"),s=wc(e);return h("tbody",{className:Tr(" ",["bg-white","divide-y","divide-gray-200"]),children:jo.Children.toArray(Array.from(Eo(Co((()=>Do((e=>{let a;const u=0|Qr(e.Configuration.Steps);return a=1===u?"1 step":Er(Sr("%P() steps",[u])),xo(h("tr",{className:Tr(" ",["hover:bg-gray-50"]),children:jo.Children.toArray(Array.from(Eo(Co((()=>{let u;return Io((u=e.Profile.ExternalId,xo(null==u?i:r(u))),Co((()=>{let u;return Io(xo((u=Er(Sr("%P() %P()",[e.Profile.FirstName,e.Profile.LastName])),t([h("div",{className:Tr(" ",["text-sm","font-medium","text-gray-900"]),children:u}),n(e.Profile.Email)]))),Co((()=>{let n,u;return Io((n=e.Creator,null==n?xo(i):(u=n,xo(o(Er(Sr("%P() %P()",[u.FirstName,u.LastName])),u.Email)))),Co((()=>{let n,u,c,l;return Io(xo((n=e,u=function(e){switch(e.Status.tag){case 1:return"In progress";case 2:return"Completed";case 3:return"Abandoned";default:return"Not started"}}(n),l=n.Status,c=1===l.tag?so(["bg-blue-100","text-blue-800"]):2===l.tag?so(["bg-green-100","text-green-800"]):3===l.tag?so(["bg-gray-100","text-gray-800"]):so(["bg-yellow-100","text-yellow-800"]),t([h("span",{className:Tr(" ",Eo(Co((()=>Io(xo("px-2"),Co((()=>Io(xo("inline-flex"),Co((()=>Io(xo("text-xs"),Co((()=>Io(xo("leading-5"),Co((()=>Io(xo("font-semibold"),Co((()=>Io(xo("rounded"),Co((()=>c)))))))))))))))))))))),children:u})]))),Co((()=>Io(Do((t=>{const n=lo((e=>e.Name===t),e.Tags);return xo(null==n?i:r(n.Value))}),s),Co((()=>Io(xo(o(e.Configuration.Name,a)),Co((()=>{let t;return Io((t=e.Invite,xo(null==t?i:r(hd(t.DateIssued)))),Co((()=>Io(xo(r(hd(e.LastUpdated))),Co((()=>xo(r(function(e){const t=e.Status;switch(t.tag){case 1:{const n=function(e){e:for(;;){const t=e;if(Br(t))return;{const n=Vr(t);if(Br(n))return Ht(qr(t));e=n;continue e}}}(t.fields[0].CompletedSteps);if(null!=n){const t=n,r=lo((e=>e.Id===t.Type),e.Configuration.Steps);return null==r?"A step was completed":Er(Sr("%P() step completed",[r.DisplayName]))}return"Workflow started"}case 2:return"Workflow completed";case 3:return"Workflow abandoned";default:return null==e.Invite?"Workflow created":"Invite sent"}}(e)))))))))})))))))))})))})))})))})))))}))}),e.Data))))))})}function md(e){const t=(n=e.backendUrl,r=e.accessToken,new Ju(n,r));var n,r;const o=function(e,t,n){return oc($o(e,n),((e,t)=>function(e,t){if(1===e.tag)return[new gc(t.ProcessInstanceList,e.fields[0]),Sc()];{const i=e.fields[0];let s,a;switch(3===i.tag?s=1:0===i.tag?s=2:1===i.tag?s=3:1===i.fields[0].tag?s=1:(s=0,a=i.fields[0].fields[0]),s){case 0:return Mc(),[new gc(new ys(2,new Vu((n=e=>e.LastUpdated,r=a.Data,o={Compare:(e,t)=>pr(e,t)},fo(((e,t)=>-1*o.Compare(n(e),n(t))),r)))),t.SelectedStatusTab),Sc()];case 1:return Mc(),[new gc(new ys(3,new Error),t.SelectedStatusTab),Sc()];case 2:return[new gc(new ys(0),t.SelectedStatusTab),Sc()];case 3:return[new gc(new ys(1),t.SelectedStatusTab),Sc()]}}var n,r,o}(e,t)),n)}(Ic,0,[]),i=o[0],s=o[1];return Go(function(e,n){const r=Bo(Ni());return zo((()=>Uo((()=>{Ai(r.current)})))),qo((e=>{Di(r.current)||Ri(Oi.Delay((()=>Oi.TryWith(Oi.Delay((()=>(n(new ys(1)),Oi.Bind(Xu(t),(e=>(n(new ys(2,e)),Oi.Zero())))))),(e=>(n(new ys(3,e)),Oi.Zero()))))),r.current)}))}(0,(e=>{s(new mc(0,e))}))),h("div",{children:jo.Children.toArray(Array.from(Eo(Co((()=>{const e=i.ProcessInstanceList;switch(e.tag){default:return xo(h("p",{children:["Loading..."]}));case 2:{const t=e.fields[0];return Io(xo(function(e,t,n){const r=Xr(h("nav",{className:Tr(" ",["flex","space-x-4","p-1","mb-5","bg-gray-50"]),children:jo.Children.toArray(Array.from(Eo(Co((()=>co((r=>{let o;const i=0|Qr(yc(r,t).Data),s=h("span",{className:Tr(" ",Eo(Co((()=>Ze(r,e)?1===r.tag?xo("text-green-500"):2===r.tag?xo("text-blue-500"):3===r.tag?xo("text-yellow-500"):xo("text-gray-800"):Co((()=>new Array(0))))))),children:jo.Children.toArray(Array.from(Eo(Co((()=>1===r.tag?xo(mf):2===r.tag?xo(gf):3===r.tag?xo(wf):xo(pf))))))});return h("a",{className:Tr(" ",Eo(Co((()=>Io(xo("flex-1"),Co((()=>Io(xo("px-3"),Co((()=>Io(xo("py-2"),Co((()=>Io(xo("font-medium"),Co((()=>Io(xo("text-sm"),Co((()=>Io(xo("rounded-md"),Co((()=>Io(xo("text-center"),Co((()=>Io(xo("space-x-2"),Co((()=>Ze(r,e)?Io(xo("bg-white"),Co((()=>Io(xo("text-gray-800"),Co((()=>Io(xo("filter"),Co((()=>xo("drop-shadow")))))))))):Io(xo("text-gray-600"),Co((()=>Io(xo("hover:bg-gray-100"),Co((()=>xo("cursor-pointer"))))))))))))))))))))))))))))))))))),onClick:e=>{n(r)},children:jo.Children.toArray([s,(o=pc(r),h("span",{children:[o]})),h("span",{className:Tr(" ",["text-gray-400"]),children:Er(Sr("(%P())",[i]))})])})}),so([new hc(0),new hc(1),new hc(2),new hc(3)])))))))}));return h("div",{children:jo.Children.toArray(Array.from(r))})}(i.SelectedStatusTab,t,(e=>{s(new mc(1,e))}))),Co((()=>{const e=yc(i.SelectedStatusTab,t);return xo((n=function(e){let t;return h("thead",{className:Tr(" ",["bg-gray-50"]),children:jo.Children.toArray([(t=Eo(Co((()=>co((e=>h("th",{scope:"col",className:Tr(" ",["px-6","py-3","text-left","text-xs","font-medium","text-gray-500","uppercase","tracking-wider"]),children:e})),e)))),h("tr",{children:jo.Children.toArray(Array.from(t))}))])})}(Eo(Co((()=>Io(xo("Ext. ID"),Co((()=>Io(xo("Onboarder"),Co((()=>Io(xo("Manager"),Co((()=>Io(xo("Status"),Co((()=>Io(wc(e),Co((()=>Io(xo("Workflow"),Co((()=>Io(xo("Invited"),Co((()=>Io(xo("Updated"),Co((()=>xo("Last Action"))))))))))))))))))))))))))))),r=pd(e),h("div",{className:Tr(" ",["flex","flex-col"]),children:jo.Children.toArray([h("div",{className:Tr(" ",["-my-2","overflow-x-auto","-mx-6"]),children:jo.Children.toArray([h("div",{className:Tr(" ",["py-2","align-middle","inline-block","min-w-full","px-6"]),children:jo.Children.toArray([h("div",{className:Tr(" ",["shadow","overflow-hidden","border-b","border-gray-200","sm:rounded-lg"]),children:jo.Children.toArray([h("table",{className:Tr(" ",["min-w-full","divide-y","divide-gray-200"]),children:jo.Children.toArray([n,r])})])})])})])})])})));var n,r})))}case 3:return xo(h("p",{children:["There was an error loading. Please try refreshing this page."]}))}})))))})}class gd extends ut{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class wd{constructor(e){this.state=new gd(0,Dr(new Array(nt(((e,t)=>Ke(e,t)),e,10)),0,nt(((e,t)=>Ke(e,t)),e,10),null),0)}}function yd(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 gd(0,o,n):new gd(1,o,n,i),Ht(o[r])}}class _d extends ct{constructor(e,t,n,r,o,i,s){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=s}}function vd(e,t){const n=t.init(e),r=n[0],o=new wd(10);let i=!1,s=r;const a=function(e,t,n){if(null!=t){if(rt in t){t=t.__CURRIED__;for(let e=0;e<n.length;e++)t=t(n[e]);return t}return e=>t.apply(void 0,n.concat([e]))}}(0,t.syncDispatch,[e=>{if(i)!function(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],s=0|n.fields[2],a=n.fields[0];a[i]=t;const u=(i+1)%a.length|0;e.state=u===s?new gd(1,(r=s,o=a,Array.from(Co((()=>Io(Ao(r,o),Co((()=>{return Io((e=r,t=o,Mo((()=>bo(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Ht(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(ho+"\\nParameter name: source")}}),(e=>{e.Dispose()}))),Co((()=>Do((e=>xo(null)),Zu(0,1,o.length,0,((e,t)=>e+t))))));var e,t}))))))),a.length,0):new gd(1,a,u,s)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new gd(1,o,i,r)}var r,o}(o,e);else{i=!0;let n=Ht(e);for(;null!=n;){const e=Bt(n);try{const n=t.update(e,s),r=n[0];t.setState(r,a),Cc((n=>{t.onError([Er(Cr("Error in command while handling: %A"))(e),n])}),a,n[1]),s=r}catch(n){t.onError([Er(Cr("Unable to process the message: %A"))(e),n])}n=yd(o)}i=!1}}]);t.setState(r,a),Cc((e=>{t.onError(["Error intitializing:",e])}),a,function(e){const t=zr();let n=t;const r=e=>{n=no(((e,t)=>{const n=new Wr(t,void 0);return e.tail=n,n}),n,e)};if(je(e))e.forEach(r);else if(e instanceof Wr)oo(r,e);else{const t=Ue(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t.Dispose()}}const o=n,i=zr();return o.tail=i,Vr(t)}(so([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),Sc()}})(),n[1]])))}class bd extends ct{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Cd extends g{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function Sd(e){return Array.from(e)}function xd(e){return String(e)}function Ed(e){return String(e)}function kd(e){return String(e)}function Md(e){return String(e)}function Id(){return null}function Td(e,t,n,r){const o=new lt(null),i=ps(Et(r),o,e);let s;if(Ut(r)){const e=jr((e=>{const r=Js(t,xt(e)),o=Od(i,t,n,e[1]);return t=>i=>{const s=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=s)&&(i[r]=o(s)),i}}),jt(r));s=t=>Oo(ot(2,st((e=>n=>n(t,e)),[0,[0,2]])),{},e)}else{if(!Ft(r)){let e;const t=Et(r);throw e=Er(Cr("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}s=e=>{const o=function(e,t){const n=Dt(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),s=o[0],a=o[1],u=0|a.length;if(0===u)return xt(s);{const e=0|u,r=Wt(s),o=Dr(new Array(e+1),0,e+1,null);o[0]=xt(s);for(let s=1;s<=e;s++){const e=Od(i,t,n,r[s-1][1]);o[s]=e(a[s-1])}return o}}}return o.contents=s,s}function Od(e,t,n,r){const o=Et(r),i=ms(o,e);if(null==i){if(kt(r)){const o=Od(e,t,n,Mt(r));return e=>Sd(No(o,e))}if(Tt(r)){const e=Et(Pt(r));if("System.SByte"===e)return e=>xd(e);if("System.Byte"===e)return e=>Ed(e);if("System.Int16"===e)return e=>kd(e);if("System.UInt16"===e)return e=>Md(e);if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Et(r),t=kr(Cr("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing 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 encoder.\n "))(e);return e=>t(e)}}if(It(r)){if(Lt(r)){const o=jr((r=>Od(e,t,n,r)),Rt(r));return e=>{return Sd((t=(e,t)=>o[e](t),n=e,Mo((()=>bo(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?Ht(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{e.Dispose()}))));var t,n}}{const o=Et(Ot(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new We((()=>{return o=Od(e,t,n,ht(r)[0]),e=>{return null!=(t=Yt(o,e))?Bt(t):null;var t};var o}));return e=>null==e?null:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const o=Od(e,t,n,ht(r)[0]);return e=>Sd(No(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=ht(r)[0],i=Od(e,t,n,ht(r)[1]);if("System.String"===Et(o)||"System.Guid"===Et(o))return e=>Oo(((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e}),{},e);{let r;const s=Od(e,t,n,o);return r=e=>s(e),e=>Sd(No((e=>{const t=e;return[r(t[0]),i(t[1])]}),e))}}return Td(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Id:"System.String"===o?e=>e:"System.SByte"===o?e=>xd(e):"System.Byte"===o?e=>Ed(e):"System.Int16"===o?e=>kd(e):"System.UInt16"===o?e=>Md(e):"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?e=>sr(e,"O"):"System.DateTimeOffset"===o?e=>sr(e,"O"):"System.TimeSpan"===o?e=>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 Wa(e/864e5)}(e)),o=Math.abs(function(e){return Wa(e%864e5/36e5)}(e)),i=Math.abs(function(e){return Wa(e%36e5/6e4)}(e)),s=Math.abs(function(e){return Wa(e%6e4/1e3)}(e)),a=Math.abs(function(e){return Wa(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?o:Ge(o,2)}:${Ge(i,2)}:${Ge(s,2)}${0!==a||"c"!==t&&"g"!==t?"g"===t?"."+Ge(a,3):"."+function(e,t,n){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(a):""}`}(e):"System.Guid"===o?e=>e:"System.Object"===o?e=>e:Td(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function Pd(e,t,n,r,o,i){return function(e,t){return JSON.stringify(t,ot(2,null),Ht(e))}(e,function(e,t,n,r){const o=Vt(e,new $s(0)),i=Vt(n,!0),s=Bt(r).ResolveType();return Od(function(e){return null!=e?gs(((e,t)=>new lt(t[0])),e.Coders):ws()}(t),o,i,s)}(n,r,o,i)(t))}function Nd(e){const t=encodeURIComponent(e.fields[0]),n=encodeURIComponent("apollo-workflows-progress-app"),r=encodeURIComponent(Ss);return Os(0,(()=>{let e,o;const i=Oi.Bind(zs((o=Ws(new Ps(1),Ls(Er(Sr("%P()/connect/token",[vs])))),e=Gs(new Ns(0,"Content-Type","application/x-www-form-urlencoded"),o),s=new As(1,Er(Sr("grant_type=authorization_code&code=%P()&client_id=%P()&redirect_uri=%P()",[t,n,r]))),new Ds((a=e).url,a.method,a.headers,a.withCredentials,a.overridenMimeType,a.overridenResponseType,s))),(e=>Oi.Return(new Vo(0,e))));var s,a;return Oi.Delay((()=>Oi.Bind(i,(e=>{let t;const n=e;return 1===n.tag?Oi.Return(new Vo(1,n.fields[0])):Oi.ReturnFrom((t=n.fields[0],200===t.statusCode?Oi.Return(Ru(t.responseText,void 0,void 0,{ResolveType:Ko})):Oi.Return(new Vo(1,"Unexpected result from backend"))))}))))}))}function Ad(){Po((e=>{document.body.removeChild(e)}),qt($t(document.getElementById("external-loading-page-container"))))}function Dd(e,t){const n=function(e){return[new ys(0),Ec(new ei(0,new Xo(0),e))]}(t);return[new Ms(e.CurrentPage,n[0],e.AppMode),xc((e=>new Is(1,e)),n[1])]}function jd(e,t){switch(e.tag){case 1:{const n=function(e,t){let n;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new ys(2,new Vo(1,Er(Sr("SignIn failed: %P()",[e.fields[0].fields[0].fields[0]])))),Sc()]:[new ys(2,new Vo(0,e.fields[0].fields[0].fields[0])),(n=window.location.pathname,Xr((e=>{!function(e,t,n){history.pushState(void 0,"",Si(e,2));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Xr(n))})))]:[new ys(1),kc((e=>{!function(e){bc(0,(t=>{Ri(e)}))}(e)}),(e=>Nd(e)),e.fields[1],(t=>{const n=[new Xo(1,t),e.fields[1]];return new ei(0,n[0],n[1])}),(t=>{const n=[new Xo(1,new Vo(1,t.message)),e.fields[1]];return new ei(0,n[0],n[1])}))]}(e.fields[0],t.Credentials),r=n[0],o=[r,t.AppMode];let i,s;return 2===o[0].tag&&0===o[0].fields[0].tag&&1===o[1].tag?(i=0,s=o[0].fields[0].fields[0]):i=1,0===i&&function(e){const t=["credentials",Pd(0,new Qo(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),void 0,void 0,void 0,{ResolveType:Ko})];window.sessionStorage.setItem(t[0],t[1])}(s),[new Ms(t.CurrentPage,r,t.AppMode),xc((e=>new Is(1,e)),n[1])]}case 2:return Ad(),[new Ms(new Es(2),t.Credentials,t.AppMode),Sc()];case 3:return Ad(),[t,Sc()];default:{const n=ks(e.fields[0]),r=new Ms(n,t.Credentials,t.AppMode);return 1===n.tag?Dd(r,n.fields[0]):[r,Sc()]}}}function Rd(e){const t=e.dispatch,n=e.state;Go((()=>{window.addEventListener("progressComponentReady",(e=>{t(new Is(3))}))}));const r=h("div",{className:Tr(" ",["bg-white","p-6","overflow-x-hidden"]),children:jo.Children.toArray(Array.from(Eo(Co((()=>{switch(n.CurrentPage.tag){case 1:return xo(function(){let e,t;return h("div",{className:Tr(" ",["container","vh-100","fade-in"]),children:jo.Children.toArray([h("div",{className:Tr(" ",["row","h-100","justify-content-center","align-items-center"]),children:jo.Children.toArray([h("div",{className:Tr(" ",["col","col-sm-10","col-md-8","col-lg-5","card","border-light","rounded-lg","shadow-sm"]),children:jo.Children.toArray([h("div",{className:"card-body",children:jo.Children.toArray([h("div",{className:Tr(" ",["pt-4","text-center"]),children:jo.Children.toArray([h("i",{className:Tr(" ",["fas","fa-5x","fa-shield-check","text-success"])}),h("h4",{className:Tr(" ",["my-4","font-weight-normal","text-success"]),children:"Your identity is confirmed"}),h("p",{className:Tr(" ",["mt-3","mb-5","text-muted"]),children:"You will be redirected in a moment."})])}),h("p",{className:Tr(" ",["mt-5","mb-0","text-black-50","text-right"]),children:jo.Children.toArray([(e=Er(Sr("Flare HR Pty Ltd © 2015-%P()",[(t=fr(),dr(t))])),h("small",{children:[e]}))])})])})])})])})])})}());case 2:return xo(h(Ts,null));default:{const e=n.Credentials;let t,r;switch(2===e.tag&&0===e.fields[0].tag?(t=0,r=e.fields[0].fields[0]):t=1,t){case 0:return xo(h(md,{accessToken:r.access_token,backendUrl:bs}));case 1:return xo(h("h1",{children:["There was an error signing you in. Please try sign in again."]}))}}}})))))});return Ei({hashMode:2,onUrlChanged:e=>{t(new Is(0,e))},application:h(m,{},r)})}!function(e){vd(void 0,e)}(("workflows-progress-app",Zf=(e,t)=>h(Rd,{state:e,dispatch:t}),Xf=new _d((function(){const e=ks(xi(window.location.pathname+window.location.search,2)),t=Ze(window.location,window.parent.location)?new xs(1):new xs(0),n=new Ms(e,new ys(0),t);let r;switch(r=1===e.tag?0:0===e.tag&&Ze(t,new xs(1))?1:2,r){case 0:return Dd(n,e.fields[0]);case 1:{const e=Jt((e=>{return 1===(t=Ru(e,void 0,void 0,{ResolveType:Ko})).tag?void 0:Ht(t.fields[0]);var t}),$t(window.sessionStorage.getItem("credentials")));return null==e?[n,Ec(new Is(2))]:[new Ms(n.CurrentPage,new ys(2,new Vo(0,e)),n.AppMode),Sc()]}case 2:return[n,Ec(new Is(2))]}}),((e,t)=>jd(e,t)),(e=>Sc()),Zf,((e,t)=>{Zf(e,t)}),(e=>{var t,n;t=e[0],n=e[1],console.error(Ht(t),n)}),ot(2,(e=>e))),function(e,t,n){return function(e,t){return new _d(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}(((r,o)=>{Se(e(((e,t)=>e===t),ot(2,function(e){return it(2,e.view)}(n)),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){return h(Cd,new bd(n,(()=>t(n,r)),e))}(e,t,n,r)),"workflows-progress-app",Xf)))})()})();
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 v(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 v(e)}}function y(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&&v(o)))}))}function b(e,t,n,r,o,i,a,c,l,f){var d,p,v,y,w,b,x,k=r&&r.__k||u,S=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(y=n.__k[d]=null==(y=t[d])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?m(null,y,null,null,y):Array.isArray(y)?m(h,{children:y},null,null,null):y.__b>0?m(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(v=k[d])||v&&y.key==v.key&&y.type===v.type)k[d]=void 0;else for(p=0;p<S;p++){if((v=k[p])&&y.key==v.key&&y.type===v.type){k[p]=void 0;break}v=null}N(e,y,v=v||s,o,i,a,c,l,f),w=y.__e,(p=y.ref)&&v.ref!=p&&(x||(x=[]),v.ref&&x.push(v.ref,null,y),x.push(p,y.__c||w,y)),null!=w?(null==b&&(b=w),"function"==typeof y.type&&y.__k===v.__k?y.__d=l=_(y,l,e):l=C(e,y,v,k,w,l),"function"==typeof n.type&&(n.__d=l)):l&&v.__e==l&&l.parentNode!=e&&(l=g(v))}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)),I(k[d],k[d]));if(x)for(d=0;d<x.length;d++)T(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,v,y,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,v=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,v,y)}))}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||(y=d.getSnapshotBeforeUpdate(g,v)),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,v=n.type,y=0;if("svg"===v&&(i=!0),null!=a)for(;y<a.length;y++)if((l=a[y])&&"setAttribute"in l==!!v&&(v?l.localName===v:3===l.nodeType)){t=l,a[y]=null;break}if(null==t){if(null===v)return document.createTextNode(p);t=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,p.is&&p),a=null,c=!1}if(null===v)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={},y=0;y<t.attributes.length;y++)h[t.attributes[y].name]=t.attributes[y].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(y=n.props.children,b(t,Array.isArray(y)?y:[y],n,r,o,i&&"foreignObject"!==v,a,u,a?a[0]:r.__k&&g(r,0),c),null!=a)for(y=a.length;y--;)null!=a[y]&&f(a[y]);c||("value"in p&&void 0!==(y=p.value)&&(y!==t.value||"progress"===v&&!y||"option"===v&&y!==h.value)&&S(t,"value",y,h.value,!1),"checked"in p&&void 0!==(y=p.checked)&&y!==t.checked&&S(t,"checked",y,h.checked,!1))}return t}function T(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function I(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||T(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]&&I(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 L(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),y(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),y(this))},p.prototype.render=h,o=[],w.__r=0,a=0;var R,F,U,z,H=0,W=[],G=[],$=t.__b,B=t.__r,Y=t.diffed,V=t.__c,q=t.unmount;function J(e,n){t.__h&&t.__h(F,e,H||n),H=0;var r=F.__H||(F.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:G}),r.__[e]}function X(e){return H=1,Z(ae,e)}function Z(e,t,n){var r=J(R++,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(R++,3);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__H.__h.push(r))}function K(e,n){var r=J(R++,4);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__h.push(r))}function ee(e,t){var n=J(R++,7);return ie(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=W.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),R=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=G,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!==W.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!==G&&(e.__=e.__V),e.i=void 0,e.__V=G}))),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 ve(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ye(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),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=ve(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()}(ye.prototype=new p).__a=function(e){var t=this,n=ve(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()}},ye.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},ye.prototype.componentDidUpdate=ye.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 Te,Ie={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&&(Ie.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ie))}e.$$typeof=xe,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Te=e.__c};var je={ReactCurrentDispatcher:{current:{readContext:function(e){return Te.__n[e.__c].props.value}}}};function Le(e){return!!e&&e.$$typeof===xe}function Re(e){e()}const Fe={useState:X,useReducer:Z,useEffect:Q,useLayoutEffect:K,useInsertionEffect:K,useTransition:function(){return[!1,Re]},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:Re,useRef:function(e){return H=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){H=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 H=8,ee((function(){return e}),t)},useContext:function(e){var t=F.context[e.__c],n=J(R++,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(y)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return d.bind(null,e)},cloneElement:function(e){return Le(e)?L.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:h,isValidElement:Le,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ce,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r: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:ye,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return 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 He(e){ze(e)&&e.Dispose()}function We(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 Ge{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 Ge(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||!!We(this,e)&&this.tag===e.tag&&nt(this.fields,e.fields)}CompareTo(e){return this===e?0:We(this,e)?this.tag===e.tag?at(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class vt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+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(We(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(We(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 yt{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}function wt(e){return function(e){return e instanceof class{constructor(e){this.message=e}}||e instanceof Error}(e)?e:new Error(String(e))}class bt{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 bt?e.value:e)}CompareTo(e){return null==e?1:st(this.value,e instanceof bt?e.value:e)}}function _t(e){return null==e||e instanceof bt?new bt(e):e}function xt(e){if(null==e)throw new Error("Option has no value");return e instanceof bt?e.value:e}function Ct(e){return null==e?void 0:e}function kt(e){return null==e?[]:[xt(e)]}function St(e,t){return null!=e?xt(e):t}function Et(e,t){return null!=t?_t(e(xt(t))):void 0}function Mt(e,t){return null!=t?e(xt(t)):void 0}function Nt(){return e=st,{Compare:(t,n)=>e(t,n)};var e}function Ot(e,t){return"function"==typeof e?new e(t):new Array(t)}function At(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=Ot(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function It(e,t,n){return n.reduce(e,t)}function Pt(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 Dt(e,t,n,r){return function(e,t,n,r){let o=r;t.length!==n.length&&function(){throw new Error("Arrays had different lengths")}();const i=0|t.length;for(let r=1;r<=i;r++)o=e(0,t[i-r],n[i-r],o);return o}(((t,n,r,o)=>e(n,r,o)),t,n,r)}function jt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ve(~~(e/36e5),2)+":"+Ve(n,2)}function Lt(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 Rt(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 Rt(i,t,!0);switch(t){case"D":case"d":return Lt(i,"first");case"T":case"t":return Lt(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 Rt(e,t,n);switch(t){case"D":case"d":return n?Lt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Lt(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 Ht(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 Wt(){return Ut(Date.now(),1)}function Gt(){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){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}class pn extends vt{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 gn(this)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}}class gn{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 vn(){return new pn(null,void 0)}function yn(e,t){return new pn(e,t)}function wn(e){return null==e.tail}function bn(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 _n(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function xn(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function Cn(){return vn()}function kn(e,t){return yn(e,t)}function Sn(e){return yn(e,vn())}function En(e){return wn(e)}function Mn(e){return bn(e)}function Nn(e){return _n(e)}function On(e){return xn(e)}function An(e){const t=0|bn(e),n=At(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(wn(o))break;n[r]=_n(o),e=r+1,t=xn(o)}})(0,e),n}function Tn(e,t,n){let r=t,o=n;for(;!wn(o);)r=e(r,_n(o)),o=xn(o);return r}function In(e){return Tn(((e,t)=>yn(t,e)),vn(),e)}function Pn(e,t){Tn(((t,n)=>{e(n)}),void 0,t)}function Dn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=yn(e[t],n);return n}function jn(e){return Dn(e,vn())}function Ln(e,t){return Tn(((e,t)=>yn(t,e)),t,In(e))}function Rn(e,t){let n,r;const o=vn();let i=o,a=t;for(;!wn(a);){let t=e(_n(a));for(;!wn(t);)n=i,r=new pn(_n(t),void 0),n.tail=r,i=r,t=xn(t);a=xn(a)}const s=i,u=vn();return s.tail=u,xn(o)}function Fn(e,t){const n=vn(),r=Tn(((t,n)=>{const r=new pn(e(n),void 0);return t.tail=r,r}),n,t),o=vn();return r.tail=o,xn(n)}function Un(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(wn(n))return;{const r=e(_n(n));if(null==r){t=xn(n);continue e}return r}}})(t)}((t=>e(t)?_t(t):void 0),t)}function zn(e,t){const n=An(t);return n.sort(e),jn(n)}const Hn="The input sequence has an insufficient number of elements.";function Wn(){throw new Error("Enumeration has not started. Call MoveNext.")}function Gn(){throw new Error("Enumeration already finished.")}class $n{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{He(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Bn{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 Yn(e,t,n){return new Bn(e,t,n)}function Vn(e,t,n){let r,o=!1,i=_t(e());const a=()=>{if(null!=i){const e=xt(i);try{n(e)}finally{i=void 0}}},s=()=>{try{a()}finally{r=void 0}};return Yn((()=>(o||Wn(),null!=r?xt(r):Gn())),(()=>{if(o||(o=!0),null!=i){const e=xt(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 $n(e)}(e)}function Jn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),$e(e);var t}function Xn(e){return qn((()=>$e(e())))}function Zn(e){return qn((()=>function(e){let t,n,r,o=!1,i=!1;const a=()=>{if(i=!0,null!=n){const e=n;try{He(e)}finally{n=void 0}}if(null!=t){const e=t;try{He(e)}finally{t=void 0}}};return Yn((()=>(o?i&&Gn():Wn(),null!=r?xt(r):Gn())),(()=>{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=_t(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{He(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 xt(o)}}),(()=>{i||a()}))}(e)))}function Qn(e){return Xn((()=>function(e,t){const n=Ot(void 0,1);return n[0]=e,n}(e)))}function Kn(e){return Ue(e)?jn(e):e instanceof pn?e:function(e){let t,n;if(Ue(e))return jn(e);if(e instanceof pn)return e;{const r=vn();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 pn(e,void 0),t.tail=n,o=n}}finally{He(i)}const a=o,s=vn();return a.tail=s,xn(r)}}(e)}function er(e,t,n){return qn((()=>Vn(e,t,n)))}function tr(e,t,n){return qn((()=>{let r=-1;return Vn(e,(e=>(r=r+1|0,t(r,e))),n)}))}function nr(e,t){return Zn([e,t])}function rr(e,t,n){const r=Jn(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{He(r)}}function or(e,t,n){const r=Jn(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{He(r)}}function ir(e,t){or(((t,n)=>{e(n)}),void 0,t)}function ar(e,t){return er((()=>Jn(t)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?_t(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{He(e)}))}function sr(e,t){return qn((()=>{const n=Jn(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Hn+"\\nParameter name: source");return function(e,t){return Yn((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{He(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw He(n),e}}))}function ur(e,t){return Xn((()=>Zn(ar(e,t))))}Symbol.iterator;const cr=Fe,lr=(e,t)=>{Q((()=>{const t=e();return()=>{t.Dispose()}}),t)};function fr(e){return{Dispose(){e()}}}function dr(e){return cr.useState(e)}function mr(e){var t;t=e,Q((()=>{const e=t();return()=>{e.Dispose()}}))}function hr(e,t){lr(e,t)}function pr(e){!function(e,t){lr((t=>(e(),fr((()=>{})))),[])}(e)}function gr(e){return cr.useRef(e)}function vr(e,t){const n=St(t,[]);return cr.useMemo(e,n)}function yr(e){const t=gr(e),n=function(e,n){const r=St([],[]);return cr.useCallback((e=>t.current(e)),r)}();var r,o;return r=()=>{t.current=e},o=e=>(r(),fr((()=>{}))),K((()=>{const e=o();return()=>{e.Dispose()}})),n}class wr{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class br{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 Pr(this)}GetHashCode(){return xr(this)}Equals(e){return Cr(this,e)}}function _r(e){return null!=e.generics?e.generics:[]}function xr(e){return Ke([Ze(e.fullname),..._r(e).map(xr)])}function Cr(e,t){return""===e.fullname?""===t.fullname&&tt(Gr(e),Gr(t),(([e,t],[n,r])=>e===n&&Cr(t,r))):e.fullname===t.fullname&&tt(_r(e),_r(t),Cr)}function kr(e,t,n,r){return new br(e,t,n,r)}function Sr(e,t,n,r){return new br(e,t,n,void 0,r)}function Er(e,t,n,r){const o=new br(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new wr(o,n,e[n],t)))}));return o}function Mr(e){return new br("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Nr(e){return new br("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Or=new br("System.Object"),Ar=(new br("Microsoft.FSharp.Core.Unit"),new br("System.Char"),new br("System.String")),Tr=(new br("System.Boolean"),new br("System.SByte"),new br("System.Byte"),new br("System.Int16"),new br("System.UInt16"),new br("System.Int32"),new br("System.UInt32"),new br("System.Single"),new br("System.Double"));function Ir(e){if(Array.isArray(e))return e[0];if(e instanceof br){const t=jr(e);if(null!=t)return Ir(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Pr(e){const t=jr(e);return null!=t?Pr(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Pr(e))).join(",")+"]"}function Dr(e){return null!=jr(e)}function jr(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function Lr(e){return null!=e.generics&&e.generics.length>0}function Rr(e){return null!=e.enumCases&&e.enumCases.length>0}function Fr(e){return null==e.generics?e:new br(e.fullname,e.generics.map((()=>Or)))}function Ur(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function zr(e){if(Rr(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function Hr(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 Wr(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Gr(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function $r(e){if(Vr(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Br(e){return e instanceof br?null!=e.cases:e instanceof gt}function Yr(e){return e instanceof br?null!=e.fields:e instanceof vt}function Vr(e){return e.fullname.startsWith("System.Tuple")}function qr(e){return null==e.fields?[]:e.fields}function Jr(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):{}}new br("System.Decimal");class Xr extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}class Zr extends vt{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 Qr(){return Sr("Workflows.Progress.UI.Auth.Types.Credentials",[],Zr,(()=>[["id_token",Ar],["access_token",Ar],["expires_in",Tr],["refresh_token",Mr(Ar)],["scope",Ar],["token_type",Ar]]))}class Kr extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}const eo=(()=>{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 to(e){return Et((e=>e.passive&&!eo?{capture:e.capture,once:e.once,passive:!1}:e),e)}function no(e){return Mt((e=>e.capture?{capture:!0}:void 0),e)}function ro(e,t){return 0===t.indexOf(e)?t:void 0}function oo(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 io(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,a;return t=ro("/",e),null!=t?(n=t,"#"+n):(r=ro("#/",e),null!=r?(o=r,o):(i=ro("#",e),null!=i?(a=i,"#/"+hn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=ro("/",e),null!=t?(n=t,n):"/"+e}}(t)(fn("/",Fn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function ao(e,t){let n;return Rn((e=>{if(function(e){return"string"!=typeof e||/^\s*$/.test(e)}(e))return Cn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Kt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Cn();if(null!=ro("?",t))return Sn(t);{const e=t.split("?");if(Pt(((e,t)=>e===t),e,null)||1!==e.length){if(Pt(((e,t)=>e===t),e,null)||2!==e.length)return Cn();if(""===e[1]){const t=e[0];return Sn(decodeURIComponent(t))}{const t=e[0],n=e[1];return jn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Sn(decodeURIComponent(t))}}}}),jn((n=null!=ro("#",e)?hn(e,1,e.length-1):1!==t||null==oo("#",e)&&null==oo("#/",e)?e:"",n.split("/"))))}const so=function(e,t,n,r){const o=cr.memo(e,ft(2,St(mt(2,n),null)));return ir((t=>{e.displayName=t}),kt(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return cr.createElement(o,t)}}((e=>{const t=yr((t=>{const n=St(e.onUrlChanged,(e=>{}));!function(e,t,n){t(ao(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(St(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=vr((()=>to(r)),[r]),i=vr((()=>no(r)),[r]),a=vr((()=>e=>{n(e)}),[n]);mr(yr((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return fr((()=>{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=vr((()=>to(r)),[r]),i=vr((()=>no(r)),[r]),a=vr((()=>e=>{n(e)}),[n]);mr(yr((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return fr((()=>{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=vr((()=>to(o)),[o]),a=vr((()=>no(o)),[o]),s=vr((()=>e=>{r(e)}),[r]);mr(yr((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return fr((()=>{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 uo{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 co extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,co.prototype)}}class lo{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>lo.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function fo(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new co);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(wt(e))}}));else try{e(t)}catch(e){t.onError(wt(e))}}}const mo=new class{Bind(e,t){return function(e,t){return fo((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(wt(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 fo((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 fo((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return fo((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 fo((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(wt(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 fo((e=>e.onSuccess(void 0)))}};class ho extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function po(e,t){return 0===t.tag?new ho(0,e(t.fields[0])):new ho(1,t.fields[0])}class go extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}function vo(e){}const yo=new uo;function wo(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new lo;e({onSuccess:t||vo,onError:n||vo,onCancel:r||vo,cancelToken:o||yo,trampoline:i})}(e,t)}(e,t)}class bo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}const _o=document.getElementById("workflows-progress-app"),xo=_o.getAttribute("data-identity-url"),Co=_o.getAttribute("data-backend-url"),ko=io(jn(["workflows","progress","app"]),2),So=`${window.location.protocol}//${window.location.host}${ko}`;class Eo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone"]}}class Mo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","AuthCodeExchange","LoggedOut"]}}function No(e){let t,n;if(En(e))t=1;else if("workflows"===Nn(e))if(En(On(e)))t=1;else if("progress"===Nn(On(e)))if(En(On(On(e))))t=1;else if("app"===Nn(On(On(e))))if(En(On(On(On(e)))))t=1;else{const r=function(e){try{const t=new URLSearchParams(e);return Kn(Xn((()=>ar((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}(Nn(On(On(On(e)))));null!=r?En(r)?t=1:"code"===Nn(r)[0]?En(On(r))?t=1:"scope"===Nn(On(r))[0]?En(On(On(r)))?t=1:"session_state"===Nn(On(On(r)))[0]?En(On(On(On(r))))?t=1:"token"===Nn(On(On(On(r))))[0]&&En(On(On(On(On(r)))))&&En(On(On(On(On(e)))))?(t=0,n=Nn(r)[1]):t=1:t=1:t=1:t=1:t=1}else t=1;else t=1;else t=1;switch(t){case 0:return new Mo(1,new Xr(0,n));case 1:return new Mo(0)}}class Oo extends vt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Ao extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut","ProgressComponentReadyEvent"]}}function To(){let e;return d("div",ct(Sn((e=[d("h4",{className:fn(" ",["text-2xl"]),children:"You have been logged out due to inactivity."})],["children",cr.Children.toArray(Array.from(e))]))))}new class{constructor(){}};function Io(e,t){return mo.Delay(t)}new class{constructor(){}};class Po extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Do extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class jo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Lo extends vt{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 Ro extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Fo extends vt{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 Uo{constructor(e,t){this.k=e,this.v=t}}function zo(e,t){return new Uo(e,t)}function Ho(e){return e.k}function Wo(e){return e.v}class Go extends Uo{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function $o(e,t,n,r,o){return new Go(e,t,n,r,o)}function Bo(e){return e.left}function Yo(e){return e.right}function Vo(e){return e.h}function qo(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Go){e=qo(n+1,Bo(o)),t=Yo(o);continue e}return n+1|0}return 0|n}}function Jo(e){return qo(0,e)}function Xo(e,t,n,r){let o,i;if(null!=e){const t=e;o=t instanceof Go?Vo(t):1}else o=0;if(null!=r){const e=r;i=e instanceof Go?Vo(e):1}else i=0;const a=0|(o<i?i:o);return 0===a?zo(t,n):$o(t,n,e,r,a+1)}function Zo(e,t,n,r){let o,i,a,s,u,c;if(null!=e){const t=e;u=t instanceof Go?Vo(t):1}else u=0;if(null!=r){const e=r;c=e instanceof Go?Vo(e):1}else c=0;if(c>u+2){const a=xt(r);if(a instanceof Go){if(o=Bo(a),(null!=o?(i=o,i instanceof Go?Vo(i):1):0)>u+1){const r=xt(Bo(a));if(r instanceof Go)return Xo(Xo(e,t,n,Bo(r)),Ho(r),Wo(r),Xo(Yo(r),Ho(a),Wo(a),Yo(a)));throw new Error("internal error: Map.rebalance")}return Xo(Xo(e,t,n,Bo(a)),Ho(a),Wo(a),Yo(a))}throw new Error("internal error: Map.rebalance")}if(u>c+2){const o=xt(e);if(o instanceof Go){if(a=Yo(o),(null!=a?(s=a,s instanceof Go?Vo(s):1):0)>c+1){const e=xt(Yo(o));if(e instanceof Go)return Xo(Xo(Bo(o),Ho(o),Wo(o),Bo(e)),Ho(e),Wo(e),Xo(Yo(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Xo(Bo(o),Ho(o),Wo(o),Xo(Yo(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return Xo(e,t,n,r)}function Qo(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,Ho(o));return o instanceof Go?i<0?Zo(Qo(e,t,n,Bo(o)),Ho(o),Wo(o),Yo(o)):0===i?$o(t,n,Bo(o),Yo(o),Vo(o)):Zo(Bo(o),Ho(o),Wo(o),Qo(e,t,n,Yo(o))):i<0?$o(t,n,void 0,r,2):0===i?zo(t,n):$o(t,n,r,void 0,2)}return zo(t,n)}function Ko(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Ho(a));if(0===s)return _t(Wo(a));if(a instanceof Go){e=r,t=o,n=s<0?Bo(a):Yo(a);continue e}return}return}}function ei(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Go){ei(n,Bo(o)),n(Ho(o),Wo(o)),e=n,t=Yo(o);continue e}n(Ho(o),Wo(o))}break}}function ti(e,t){ei(e,t)}function ni(e,t){if(null!=t){const n=t;if(n instanceof Go){const t=ni(e,Bo(n)),r=e(Ho(n),Wo(n)),o=ni(e,Yo(n));return $o(Ho(n),r,t,o,Vo(n))}return zo(Ho(n),e(Ho(n),Wo(n)))}}function ri(e,t){return ni(e,t)}function oi(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=t[r];n=Qo(e,o[0],o[1],n)}return n}class ii extends vt{constructor(e,t){super(),this.stack=e,this.started=t}}function ai(e){e:for(;;){const t=e;if(En(t))return Cn();{const n=On(t),r=Nn(t);if(null!=r){const o=r;if(o instanceof Go){e=Dn([Bo(o),zo(Ho(o),Wo(o)),Yo(o)],n);continue e}return t}e=n;continue e}}}function si(e){return new ii(ai(Sn(e)),!1)}function ui(e){if(e.started){const t=e.stack;if(En(t))return function(){throw new Error("enumeration already finished")}();if(null!=Nn(t)){const e=Nn(t);if(e instanceof Go)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Ho(e),Wo(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function ci(e){let t=si(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ui(t),"System.Collections.IEnumerator.get_Current":()=>ui(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(En(t))return!1;if(null!=Nn(t)){if(Nn(t)instanceof Go)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=ai(On(t)),!En(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!En(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=si(e)},Dispose(){}}}class li{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{He(r)}return 0|n}(this)}Equals(e){if(!(e instanceof li))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{He(n)}}finally{He(t)}}}toString(){return"map ["+fn("; ",ar((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 ci(this.tree)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return ci(this.tree)}CompareTo(e){const t=this;if(e instanceof li)return 0|function(e,t,n){const r=Jn(t);try{const t=Jn(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{He(t)}}finally{He(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 pi(this,e[0])&&rt(mi(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;ti(((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|hi(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|hi(this)}get size(){return 0|hi(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return ar((e=>[e[0],e[1]]),this)}get(e){return mi(this,e)}has(e){return pi(this,e)}keys(){return ar((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return ar((e=>e[1]),this)}forEach(e,t){const n=this;ir((t=>{e(t[1],t[0],n)}),n)}}function fi(e,t){return new li(e,t)}function di(e){const t=Nt();return fi(t,function(e,t){if(Ue(t))return oi(e,t);if(t instanceof pn)return function(e,t){return Tn(((t,n)=>Qo(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=Qo(r,a[0],a[1],o),n=i}}}(e,void 0,n)}finally{He(n)}}}(t,e))}function mi(e,t){return function(e,t,n){const r=Ko(e,t,n);if(null==r)throw new Error;return xt(r)}(e.comparer,t,e.tree)}function hi(e){return Jo(e.tree)}function pi(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Ho(a));if(a instanceof Go){if(s<0){e=r,t=o,n=Bo(a);continue e}if(0===s)return!0;e=r,t=o,n=Yo(a);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function gi(e,t,n){return function(e,t,n){return fi(e.comparer,Qo(e.comparer,t,n,e.tree))}(n,e,t)}function vi(e,t){return function(e,t){return Ko(e.comparer,t,e.tree)}(t,e)}function yi(e,t){return function(e,t){return fi(e.comparer,ri(t,e.tree))}(t,e)}function wi(){return li.empty}li.empty=fi(Nt(),void 0);const bi=new Lo("",new Po(0),Cn(),!1,void 0,void 0,void 0,new jo(0));function _i(e,t){return"string"!=typeof(n=t)||0===n.length?[t]:function(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}(t,[e],null,0);var n}function xi(e){return new Lo(e,bi.method,bi.headers,bi.withCredentials,bi.overridenMimeType,bi.overridenResponseType,bi.timeout,bi.content)}function Ci(e,t){return new Lo(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function ki(e,t){return new Lo(t.url,t.method,Ln(t.headers,Sn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Si(e){return function(e){return fo((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 Ro(0,n.responseText):new Ro("arraybuffer"===s?2:"blob"===s?1:3,n.response),u=function(e){const t=Nt();return fi(t,oi(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=xt(o);r.push(e)}}return r}((e=>{const t=jn(_i(":",e));return En(t)?void 0:[Nn(t).toLocaleLowerCase(),fn(":",On(t)).trim()]}),_i("\r\n",n.getAllResponseHeaders()))),new Fo(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{He(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(_t(s.fields[0]));break;default:n.send()}}))}new Fo(0,"","","",wi(),new Ro(0,""));class Ei extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Mi extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class Ni{constructor(){this.cache=new Map([])}}function Oi(){return new Ni}function Ai(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Ti(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)}(Ai(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Ai(t)}}Oi(),Oi();const Ii=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Pi=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Di=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function ji(e,t){try{return t.contents=function(e){function t(e){return e.replace(Pi,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Ii.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(Pi.test(n))return t(n);if(Di.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 Li;function Ri(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 Fi(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&Li.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]=Ri(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[a,s]=Ri(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 Ui(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 zi(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 Ui(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Li||(Li={}));var Hi=null;try{Hi=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 Wi(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Gi(e){return!0===(e&&e.__isLong__)}Wi.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Wi.prototype.Equals=function(e){return ga(this,e)},Wi.prototype.CompareTo=function(e){return ba(this,e)},Wi.prototype.toString=function(e){return da(this,e)},Wi.prototype.toJSON=function(){return da(this)},Wi.prototype[Yt]=function(){const e=this;return{multiply:t=>ka(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 da(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Wi(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 Wi(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}}},Wi.prototype.__isLong__,Object.defineProperty(Wi.prototype,"__isLong__",{value:!0});var $i={},Bi={};function Yi(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=Bi[e])?r:(n=qi(e,(0|e)<0?-1:0,!0),o&&(Bi[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=$i[e])?r:(n=qi(e,e<0?-1:0,!1),o&&($i[e]=n),n)}function Vi(e,t){if(isNaN(e))return t?ra:na;if(t){if(e<0)return ra;if(e>=Ki)return ua}else{if(e<=-ea)return ca;if(e+1>=ea)return sa}return e<0?_a(Vi(-e,t)):qi(e%Qi|0,e/Qi|0,t)}function qi(e,t,n){return new Wi(e,t,n)}var Ji=Math.pow;function Xi(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return na;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 _a(Xi(e.substring(1),t,n));for(var o=Vi(Ji(n,8)),i=na,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),u=parseInt(e.substring(a,a+s),n);i=xa(s<8?ka(i,Vi(Ji(n,s))):i=ka(i,o),Vi(u))}return i.unsigned=t,i}function Zi(e,t){return"number"==typeof e?Vi(e,t):"string"==typeof e?Xi(e,t):qi(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var Qi=4294967296,Ki=Qi*Qi,ea=Ki/2,ta=Yi(1<<24),na=Yi(0),ra=Yi(0,!0),oa=Yi(1),ia=Yi(1,!0),aa=Yi(-1),sa=qi(-1,2147483647,!1),ua=qi(-1,-1,!0),ca=qi(0,-2147483648,!1);function la(e){return e.unsigned?e.low>>>0:e.low}function fa(e){return e.unsigned?(e.high>>>0)*Qi+(e.low>>>0):e.high*Qi+(e.low>>>0)}function da(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(ma(e))return"0";if(ha(e)){if(ga(e,ca)){var n=Vi(t),r=Sa(e,n),o=Ca(ka(r,n),e);return da(r,t)+la(o).toString(t)}return"-"+da(_a(e),t)}for(var i=Vi(Ji(t,6),e.unsigned),a=e,s="";;){var u=Sa(a,i),c=(la(Ca(a,ka(u,i)))>>>0).toString(t);if(ma(a=u))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function ma(e){return 0===e.high&&0===e.low}function ha(e){return!e.unsigned&&e.high<0}function pa(e){return 1==(1&e.low)}function ga(e,t){return Gi(t)||(t=Zi(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function va(e,t){return ba(e,t)<0}function ya(e,t){return ba(e,t)>0}function wa(e,t){return ba(e,t)>=0}function ba(e,t){if(Gi(t)||(t=Zi(t)),ga(e,t))return 0;var n=ha(e),r=ha(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:ha(Ca(e,t))?-1:1}function _a(e){return!e.unsigned&&ga(e,ca)?ca:xa(function(e){return qi(~e.low,~e.high,e.unsigned)}(e),oa)}function xa(e,t){Gi(t)||(t=Zi(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,qi((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(l&=65535),e.unsigned)}function Ca(e,t){return Gi(t)||(t=Zi(t)),xa(e,_a(t))}function ka(e,t){if(ma(e))return e.unsigned?ra:na;if(Gi(t)||(t=Zi(t)),Hi)return qi(Hi.mul(e.low,e.high,t.low,t.high),Hi.get_high(),e.unsigned);if(ma(t))return e.unsigned?ra:na;if(ga(e,ca))return pa(t)?ca:na;if(ga(t,ca))return pa(e)?ca:na;if(ha(e))return ha(t)?ka(_a(e),_a(t)):_a(ka(_a(e),t));if(ha(t))return _a(ka(e,_a(t)));if(va(e,ta)&&va(t,ta))return Vi(fa(e)*fa(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,qi((d&=65535)<<16|(m&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Sa(e,t){if(Gi(t)||(t=Zi(t)),ma(t))throw Error("division by zero");var n,r,o;if(Hi)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?qi((e.unsigned?Hi.div_u:Hi.div_s)(e.low,e.high,t.low,t.high),Hi.get_high(),e.unsigned):e;if(ma(e))return e.unsigned?ra:na;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:qi(e.low,e.high,!0)}(t)),ya(t,e))return ra;if(ya(t,function(e,t){if(Gi(t)&&(t=la(t)),0==(t&=63))return e;var n=e.high;return t<32?qi(e.low>>>t|n<<32-t,n>>>t,e.unsigned):qi(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return ia;o=ra}else{if(ga(e,ca))return ga(t,oa)||ga(t,aa)?ca:ga(t,ca)?oa:ga(n=function(e,t){return Gi(t)&&(t=la(t)),0==(t&=63)?e:t<32?qi(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):qi(0,e.low<<t-32,e.unsigned)}(Sa(function(e,t){return Gi(t)&&(t=la(t)),0==(t&=63)?e:t<32?qi(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):qi(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),na)?ha(t)?oa:aa:o=xa(n,Sa(r=Ca(e,ka(t,n)),t));if(ga(t,ca))return e.unsigned?ra:na;if(ha(e))return ha(t)?Sa(_a(e),_a(t)):_a(Sa(_a(e),t));if(ha(t))return _a(Sa(e,_a(t)));o=na}for(r=e;wa(r,t);){n=Math.max(1,Math.floor(fa(r)/fa(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),a=i<=48?1:Ji(2,i-48),s=Vi(n),u=ka(s,t);ha(u)||ya(u,r);)u=ka(s=Vi(n-=a,e.unsigned),t);ma(s)&&(s=oa),o=xa(o,s),r=Ca(r,u)}return o}const Ea=Sa,Ma=fa;function Na(e){return e<0?Math.ceil(e):Math.floor(e)}function Oa(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Aa(arguments[0]);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 Aa(e){return Ma(Ea(e,1e4))}function Ta(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 Oa(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*Oa(n,a,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class Ia{constructor(e){this.k=e}}function Pa(e){return new Ia(e)}function Da(e){return e.k}class ja extends Ia{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function La(e,t,n,r){return new ja(e,t,n,r)}function Ra(e){return e.left}function Fa(e){return e.right}function Ua(e){return e.h}function za(e,t){e:for(;;){const n=e,r=t;if(null!=n){const o=n;if(o instanceof ja){e=Ra(o),t=za(Fa(o),r+1);continue e}return r+1|0}return 0|r}}function Ha(e){return za(e,0)}function Wa(e,t,n){let r,o;if(null!=e){const t=e;r=t instanceof ja?Ua(t):1}else r=0;if(null!=n){const e=n;o=e instanceof ja?Ua(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?Pa(t):La(t,e,n,i+1)}function Ga(e,t,n){let r,o,i,a,s,u;if(null!=e){const t=e;s=t instanceof ja?Ua(t):1}else s=0;if(null!=n){const e=n;u=e instanceof ja?Ua(e):1}else u=0;if(u>s+2){const i=xt(n);if(i instanceof ja){if(r=Ra(i),(null!=r?(o=r,o instanceof ja?Ua(o):1):0)>s+1){const n=xt(Ra(i));if(n instanceof ja)return Wa(Wa(e,t,Ra(n)),Da(n),Wa(Fa(n),Da(i),Fa(i)));throw new Error("internal error: Set.rebalance")}return Wa(Wa(e,t,Ra(i)),Da(i),Fa(i))}throw new Error("internal error: Set.rebalance")}if(s>u+2){const r=xt(e);if(r instanceof ja){if(i=Fa(r),(null!=i?(a=i,a instanceof ja?Ua(a):1):0)>u+1){const e=xt(Fa(r));if(e instanceof ja)return Wa(Wa(Ra(r),Da(r),Ra(e)),Da(e),Wa(Fa(e),t,n));throw new Error("internal error: Set.rebalance")}return Wa(Ra(r),Da(r),Wa(Fa(r),t,n))}throw new Error("internal error: Set.rebalance")}return Wa(e,t,n)}function $a(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,Da(r));if(r instanceof ja)return o<0?Ga($a(e,t,Ra(r)),Da(r),Fa(r)):0===o?n:Ga(Ra(r),Da(r),$a(e,t,Fa(r)));{const o=0|e.Compare(t,Da(r));return o<0?La(t,void 0,n,2):0===o?n:La(t,n,void 0,2)}}return Pa(t)}function Ba(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Da(a));if(a instanceof ja){if(s<0){e=r,t=o,n=Ra(a);continue e}if(0===s)return!0;e=r,t=o,n=Fa(a);continue e}return 0===s}return!1}}function Ya(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof ja){Ya(n,Ra(o)),n(Da(o)),e=n,t=Fa(o);continue e}n(Da(o))}break}}class Va extends vt{constructor(e,t){super(),this.stack=e,this.started=t}}function qa(e){e:for(;;){const t=e;if(En(t))return Cn();{const n=Nn(t),r=On(t);if(null!=n){const o=n;if(o instanceof ja){e=Dn([Ra(o),Pa(Da(o)),Fa(o)],r);continue e}return t}e=r;continue e}}}function Ja(e){return new Va(qa(Sn(e)),!1)}function Xa(e){if(e.started){const t=e.stack;if(En(t))return function(){throw new Error("Enumeration already started")}();if(null!=Nn(t))return Da(Nn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Za(e){let t=Ja(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Xa(t),"System.Collections.IEnumerator.get_Current":()=>Xa(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(En(t))return!1;if(null!=Nn(t)){if(Nn(t)instanceof ja)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=qa(On(t)),!En(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!En(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Ja(e)},Dispose(){}}}function Qa(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(En(a[0]))return En(a[1])?0:-1;if(En(a[1]))return 1;if(null!=Nn(a[1]))if(null!=Nn(a[0])){const s=Nn(a[0]),u=Nn(a[1]);if(s instanceof ja)if(null==Ra(s)){if(!(u instanceof ja)){const o=0|r.Compare(Da(s),Da(u));if(0!==o)return 0|o;e=r,t=kn(Fa(s),On(a[0])),n=kn(void 0,On(a[1]));continue e}if(null==Ra(u)){const o=0|r.Compare(Da(s),Da(u));if(0!==o)return 0|o;e=r,t=kn(Fa(s),On(a[0])),n=kn(Fa(u),On(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(En(a[0])?En(a[1])?s=2:null!=Nn(a[1])?(s=1,l=On(a[1]),f=Nn(a[1])):s=2:null!=Nn(a[0])?(s=0,u=On(a[0]),c=Nn(a[0])):En(a[1])?s=2:null!=Nn(a[1])?(s=1,l=On(a[1]),f=Nn(a[1])):s=2,s){case 0:if(c instanceof ja){e=r,t=Dn([Ra(c),La(Da(c),void 0,Fa(c),0)],u),n=i;continue e}e=r,t=Dn([void 0,Pa(Da(c))],u),n=i;continue e;case 1:if(f instanceof ja){e=r,t=o,n=Dn([Ra(f),La(Da(f),void 0,Fa(f),0)],l);continue e}e=r,t=o,n=Dn([void 0,Pa(Da(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(En(a[0])?En(a[1])?s=2:null!=Nn(a[1])?(s=1,l=On(a[1]),f=Nn(a[1])):s=2:null!=Nn(a[0])?(s=0,u=On(a[0]),c=Nn(a[0])):En(a[1])?s=2:null!=Nn(a[1])?(s=1,l=On(a[1]),f=Nn(a[1])):s=2,s){case 0:if(c instanceof ja){e=r,t=Dn([Ra(c),La(Da(c),void 0,Fa(c),0)],u),n=i;continue e}e=r,t=Dn([void 0,Pa(Da(c))],u),n=i;continue e;case 1:if(f instanceof ja){e=r,t=o,n=Dn([Ra(f),La(Da(f),void 0,Fa(f),0)],l);continue e}e=r,t=o,n=Dn([void 0,Pa(Da(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof ja)){const o=0|r.Compare(Da(s),Da(u));if(0!==o)return 0|o;e=r,t=On(a[0]),n=On(a[1]);continue e}if(null==Ra(u)){const o=0|r.Compare(Da(s),Da(u));if(0!==o)return 0|o;e=r,t=kn(void 0,On(a[0])),n=kn(Fa(u),On(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(En(a[0])?En(a[1])?s=2:null!=Nn(a[1])?(s=1,l=On(a[1]),f=Nn(a[1])):s=2:null!=Nn(a[0])?(s=0,u=On(a[0]),c=Nn(a[0])):En(a[1])?s=2:null!=Nn(a[1])?(s=1,l=On(a[1]),f=Nn(a[1])):s=2,s){case 0:if(c instanceof ja){e=r,t=Dn([Ra(c),La(Da(c),void 0,Fa(c),0)],u),n=i;continue e}e=r,t=Dn([void 0,Pa(Da(c))],u),n=i;continue e;case 1:if(f instanceof ja){e=r,t=o,n=Dn([Ra(f),La(Da(f),void 0,Fa(f),0)],l);continue e}e=r,t=o,n=Dn([void 0,Pa(Da(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Nn(a[1]);const s=[o,i];let u,c,l,f,d;switch(En(s[0])?En(s[1])?u=2:null!=Nn(s[1])?(u=1,f=On(s[1]),d=Nn(s[1])):u=2:null!=Nn(s[0])?(u=0,c=On(s[0]),l=Nn(s[0])):En(s[1])?u=2:null!=Nn(s[1])?(u=1,f=On(s[1]),d=Nn(s[1])):u=2,u){case 0:if(l instanceof ja){e=r,t=Dn([Ra(l),La(Da(l),void 0,Fa(l),0)],c),n=i;continue e}e=r,t=Dn([void 0,Pa(Da(l))],c),n=i;continue e;case 1:if(d instanceof ja){e=r,t=o,n=Dn([Ra(d),La(Da(d),void 0,Fa(d),0)],f);continue e}e=r,t=o,n=Dn([void 0,Pa(Da(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Nn(a[0])){e=r,t=On(a[0]),n=On(a[1]);continue e}{Nn(a[0]);const s=[o,i];let u,c,l,f,d;switch(En(s[0])?En(s[1])?u=2:null!=Nn(s[1])?(u=1,f=On(s[1]),d=Nn(s[1])):u=2:null!=Nn(s[0])?(u=0,c=On(s[0]),l=Nn(s[0])):En(s[1])?u=2:null!=Nn(s[1])?(u=1,f=On(s[1]),d=Nn(s[1])):u=2,u){case 0:if(l instanceof ja){e=r,t=Dn([Ra(l),La(Da(l),void 0,Fa(l),0)],c),n=i;continue e}e=r,t=Dn([void 0,Pa(Da(l))],c),n=i;continue e;case 1:if(d instanceof ja){e=r,t=o,n=Dn([Ra(d),La(Da(d),void 0,Fa(d),0)],f);continue e}e=r,t=o,n=Dn([void 0,Pa(Da(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Sn(t),Sn(n))}function Ka(e,t,n){let r=n;Ya((e=>{t[r]=e,r=r+1|0}),e)}function es(e,t){if(Ue(t))return function(e,t){return It(((t,n)=>$a(e,n,t)),void 0,t)}(e,t);if(t instanceof pn)return function(e,t){return Tn(((t,n)=>$a(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=$a(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{He(n)}}}class ts{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{He(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof ts&&0===Qa(ns(this),rs(this),rs(e))}toString(){return"set ["+fn("; ",ar((e=>pt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|Qa(ns(this),rs(this),rs(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 Ba(ns(this),e,rs(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Ka(rs(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|os(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|os(this)}GetEnumerator(){return Za(rs(this))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Za(rs(this))}get size(){return 0|os(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 Ba(ns(e),t,rs(e))}(this,e)}keys(){return ar((e=>e),this)}values(){return ar((e=>e),this)}entries(){return ar((e=>[e,e]),this)}forEach(e,t){const n=this;ir((t=>{e(t,t,n)}),n)}}function ns(e){return e.comparer}function rs(e){return e.tree}function os(e){return Ha(rs(e))}function is(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 as(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new ho(1,function(e,t){const n=2===t.tag?is(t.fields[0],t.fields[1],!0):1===t.tag?is(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?is(t.fields[0],t.fields[1],!0):4===t.tag?is(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]:is(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new ho(0,r.fields[0])}const ss=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 ho(0,(e+128&255)-128):new ho(1,[r,new Ei(1,n,e,"Value was either too large or too small for a sbyte")]):new ho(1,[r,new Ei(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Fi(o,511,!1,8,new yt((()=>t),(e=>{t=0|e}))),t],e[0]?new ho(0,e[1]):new ho(1,[r,new Ei(0,n,o)])}return new ho(1,[r,new Ei(0,n,o)])},us=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 ho(0,255&e):new ho(1,[r,new Ei(1,n,e,"Value was either too large or too small for a byte")]):new ho(1,[r,new Ei(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Fi(o,511,!0,8,new yt((()=>t),(e=>{t=e}))),t],e[0]?new ho(0,e[1]):new ho(1,[r,new Ei(0,n,o)])}return new ho(1,[r,new Ei(0,n,o)])},cs=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 ho(0,(e+32768&65535)-32768):new ho(1,[r,new Ei(1,n,e,"Value was either too large or too small for "+n)]):new ho(1,[r,new Ei(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Fi(o,511,!1,16,new yt((()=>t),(e=>{t=0|e}))),t],e[0]?new ho(0,e[1]):new ho(1,[r,new Ei(0,n,o)])}return new ho(1,[r,new Ei(0,n,o)])},ls=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 ho(0,65535&e):new ho(1,[r,new Ei(1,n,e,"Value was either too large or too small for "+n)]):new ho(1,[r,new Ei(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Fi(o,511,!0,16,new yt((()=>t),(e=>{t=e}))),t],e[0]?new ho(0,e[1]):new ho(1,[r,new Ei(0,n,o)])}return new ho(1,[r,new Ei(0,n,o)])},fs=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 ho(0,~~e):new ho(1,[r,new Ei(1,n,e,"Value was either too large or too small for an int")]):new ho(1,[r,new Ei(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Fi(o,511,!1,32,new yt((()=>t),(e=>{t=0|e}))),t],e[0]?new ho(0,e[1]):new ho(1,[r,new Ei(0,n,o)])}return new ho(1,[r,new Ei(0,n,o)])},ds=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 ho(0,e>>>0):new ho(1,[r,new Ei(1,n,e,"Value was either too large or too small for "+n)]):new ho(1,[r,new Ei(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Fi(o,511,!0,32,new yt((()=>t),(e=>{t=e}))),t],e[0]?new ho(0,e[1]):new ho(1,[r,new Ei(0,n,o)])}return new ho(1,[r,new Ei(0,n,o)])};function ms(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 ho(1,[i,new Ei(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(o=n.length,Je(o)+"` entries"),r)])}return new ho(1,[i,new Ei(0,"an array",r)])}function hs(e,t,n){if(Array.isArray(n)){let r=-1;return po(In,It(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Je(r)+"]",o);return 0===i.tag?new ho(0,kn(i.fields[0],n.fields[0])):new ho(1,i.fields[0])}return n}),new ho(0,Cn()),n))}return new ho(1,[t,new Ei(0,"a list",n)])}function ps(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return It(((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 ho(0,i)):new ho(1,a.fields[0])}return n}),new ho(0,At(new Array(o.length),0,o.length,null)),o)}return new ho(1,[t,new Ei(0,"an array",n)])}function gs(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new ho(1,o.fields[0])}function vs(e,t){let n;const r=e;return n=e=>t=>ms(0,r,e,t),e=>r=>gs(ft(3,(e=>{let n;const r=t;return n=e=>t=>ms(1,r,e,t),t=>r=>gs(((t,n,r)=>new ho(0,[e,t])),ft(2,n),t,r)})),ft(2,n),e,r)}function ys(e){return di(e)}function ws(e){return function(e,t){return new ts(e,t)}(t={Compare:st},es(t,e));var t}function bs(e,t,n,r){let o,i;return t.length!==r.length?new ho(1,[n,new Ei(6,(o=0|r.length,i=0|t.length,sn(on("Expected %i %s but got %i"))(i)(e)(o)))]):Dt(((e,t,r)=>0===r.tag?po((e=>kn(e,r.fields[0])),t(n)(e)):r),r,t,new ho(0,Cn()))}function _s(e,t,n,r,o,i){const a=function(e,t){return t.find((e=>Ir(e)===r))}(0,Wr(n));if(null!=a){const n=a;return 0===i.length?new ho(0,Jr(n,[])):po((e=>Jr(n,An(e))),bs("union fields",Tt((n=>Cs(e,t,!1,n[1])),qr(n)),o,i))}return new ho(1,[o,new Ei(6,"Cannot find case "+r+" in "+Pr(n))])}function xs(e,t,n,r){const o=new yt(null),i=gi(Pr(r),o,e);let a;if(Yr(r)){const e=Tt((e=>[Ti(t,Ir(e)),Cs(i,t,!1,e[1])]),Gr(r));a=t=>n=>po((e=>function(e,t){const n=Gr(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,An(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new ho(1,[t,new Ei(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?po((e=>kn(e,o.fields[0])),e[1](t+"."+r)(n[r])):o})),e,new ho(0,Cn()))}(e,t,n))}else if(Br(r))a=e=>n=>{if("string"==typeof n)return _s(i,t,r,n,e,[]);if(Array.isArray(n)){const o=n;return _s(i,t,r,o[0],e,o.slice(1,o.length))}return new ho(1,[e,new Ei(0,"a string or array",n)])};else{if(!n){let e;const t=Pr(r);throw e=sn(on("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}a=e=>t=>new ho(1,[e,new Ei(2,"an extra coder for "+Pr(r),t)])}return o.contents=a,a}function Cs(e,t,n,r){let o,i,a;const s=Pr(r),u=vi(s,e);if(null==u){if(Dr(r)){const n=Cs(e,t,!1,jr(r));return e=>t=>ps(ft(2,n),e,t)}if(Rr(r)){const e=Pr(Ur(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,a=ss(o)(i);if(1===a.tag)return new ho(1,a.fields[0]);{const e=a.fields[0];return rr(e,zr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ho(0,Hr(n,e.toString())):new ho(1,[o,new Ei(1,Pr(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,a=us(o)(i);if(1===a.tag)return new ho(1,a.fields[0]);{const e=a.fields[0];return rr(e,zr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ho(0,Hr(n,e.toString())):new ho(1,[o,new Ei(1,Pr(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,a=cs(o)(i);if(1===a.tag)return new ho(1,a.fields[0]);{const e=a.fields[0];return rr(e,zr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ho(0,Hr(n,e.toString(s))):new ho(1,[o,new Ei(1,Pr(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=ls(o)(i);if(1===a.tag)return new ho(1,a.fields[0]);{const e=a.fields[0];return rr(e,zr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ho(0,Hr(n,e.toString())):new ho(1,[o,new Ei(1,Pr(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,a=fs(o)(i);if(1===a.tag)return new ho(1,a.fields[0]);{const e=a.fields[0];return rr(e,zr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ho(0,Hr(n,Je(e))):new ho(1,[o,new Ei(1,Pr(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,a=ds(o)(i);if(1===a.tag)return new ho(1,a.fields[0]);{const e=a.fields[0];return rr(e,zr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ho(0,Hr(n,e.toString())):new ho(1,[o,new Ei(1,Pr(n),i,"Unkown value provided for the enum")])}};{const e=Pr(r),t=un(on("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing 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(Lr(r)){if(Vr(r)){const n=Tt((n=>Cs(e,t,!1,n)),$r(r));return e=>t=>Array.isArray(t)?po((e=>An(e)),bs("tuple elements",n,e,t)):new ho(1,[e,new Ei(0,"an array",t)])}{const s=Pr(Fr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===s)return o=Cs(e,t,!0,_r(r)[0]),e=>t=>{return n=ft(2,o),r=e,null==(i=t)?new ho(0,void 0):po(_t,n(r,i));var n,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===s)return i=Cs(e,t,!1,_r(r)[0]),e=>t=>hs(ft(2,i),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===s){const n=Cs(e,t,!1,_r(r)[0]),o=Cs(e,t,!1,_r(r)[1]);let i;const s=jn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new ho(1,[n,new Ei(0,"an object",r)]):or(((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 ho(0,kn([a.fields[0],e.fields[0]],o.fields[0])):new ho(1,e.fields[0])}return new ho(1,a.fields[0])}return o}),new ho(0,Cn()),Object.keys(r))}(ft(2,n),ft(2,o),e,t),(a=vs(ft(2,n),ft(2,o)),e=>t=>hs(ft(2,a),e,t))]);return i=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(En(o))return new ho(1,[n,new Ei(7,i)]);{const a=as(n,ft(2,Nn(o)),r);if(1===a.tag){e=On(o),t=Ln(i,Sn(a.fields[0]));continue e}return new ho(0,a.fields[0])}}})(s,Cn());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new ho(1,o.fields[0]):new ho(0,e(o.fields[0]))}(ys,ft(2,i),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===s){const n=Cs(e,t,!1,_r(r)[0]);return e=>t=>{const r=ps(ft(2,n),e,t);return 0===r.tag?new ho(0,ws(r.fields[0])):new ho(1,r.fields[0])}}return xs(e,t,n,r)}}return"System.Boolean"===s?e=>t=>{return n=e,"boolean"==typeof(r=t)?new ho(0,r):new ho(1,[n,new Ei(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===s?e=>t=>{return n=e,null==(r=t)?new ho(0,void 0):new ho(1,[n,new Ei(0,"null",r)]);var n,r}:"System.String"===s?e=>t=>{return n=e,"string"==typeof(r=t)?new ho(0,r):new ho(1,[n,new Ei(0,"a string",r)]);var n,r}:"System.SByte"===s?ss:"System.Byte"===s?us:"System.Int16"===s?cs:"System.UInt16"===s?ls:"System.Int32"===s?fs:"System.UInt32"===s?ds:"System.Double"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new ho(0,r):new ho(1,[n,new Ei(0,"a float",r)]);var n,r}:"System.Single"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new ho(0,r):new ho(1,[n,new Ei(0,"a float32",r)]);var n,r}:"System.DateTime"===s?e=>t=>function(e,t){if("string"==typeof t){let r,o=Ut(-621355968e5,0);return r=[Ht(t,new yt((()=>o),(e=>{o=e}))),o],r[0]?new ho(0,1===(n=r[1]).kind?n:Ut(n.getTime(),1)):new ho(1,[e,new Ei(0,"a datetime",t)])}var n;return new ho(1,[e,new Ei(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=Ui(-621355968e5,0);return n=[zi(t,new yt((()=>r),(e=>{r=e}))),r],n[0]?new ho(0,n[1]):new ho(1,[e,new Ei(0,"a datetimeoffset",t)])}return new ho(1,[e,new Ei(0,"a datetime",t)])}(e,t):"System.TimeSpan"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Ta(t,new yt((()=>r),(e=>{r=e}))),r],n[0]?new ho(0,n[1]):new ho(1,[e,new Ei(0,"a timespan",t)])}return new ho(1,[e,new Ei(0,"a timespan",t)])}(e,t):"System.Guid"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[ji(t,new yt((()=>r),(e=>{r=e}))),r],n[0]?new ho(0,n[1]):new ho(1,[e,new Ei(0,"a guid",t)])}return new ho(1,[e,new Ei(0,"a guid",t)])}(e,t):"System.Object"===s?e=>e=>new ho(0,e):xs(e,t,n,r)}{const e=u;return t=>n=>e.contents(t)(n)}}function ks(e,t,n){let r;const o=St(e,new Mi(0));return r=xt(n).ResolveType(),Cs(function(e){return null!=e?yi(((e,t)=>new yt(t[1])),e.Coders):wi()}(t),o,!1,r)}function Ss(e,t,n,r){return function(e,t){try{return as("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new ho(1,"Given an invalid JSON: "+e.message);throw e}}(ft(2,ks(t,n,r)),e)}new class{constructor(){}};class Es extends vt{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 Ms extends vt{constructor(e,t){super(),this.Name=e,this.Steps=t}}class Ns extends vt{constructor(e,t){super(),this.Id=e,this.DisplayName=t}}class Os extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class As extends vt{constructor(e){super(),this.CompletedSteps=e}}class Ts extends vt{constructor(e,t){super(),this.Type=e,this.Date=t}}class Is extends vt{constructor(e){super(),this.DateIssued=e}}class Ps extends vt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Ds extends vt{constructor(e,t,n){super(),this.FirstName=e,this.LastName=t,this.Email=n}}class js extends vt{constructor(e,t,n,r){super(),this.FirstName=e,this.LastName=t,this.Email=n,this.ExternalId=r}}class Ls extends vt{constructor(e){super(),this.Data=e}}function Rs(){return Sr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetailList",[],Ls,(()=>[["Data",Nr(Sr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetail",[],Es,(()=>[["Configuration",Sr("Workflows.Api.Models.ProgressBackendModels.ProcessConfig",[],Ms,(()=>[["Name",Ar],["Steps",Nr(Sr("Workflows.Api.Models.ProgressBackendModels.ProcessStepConfig",[],Ns,(()=>[["Id",Ar],["DisplayName",Ar]])))]]))],["LastUpdated",kr("System.DateTime")],["Status",Er("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceStatus",[],Os,(()=>[[],[["Item",Sr("Workflows.Api.Models.ProgressBackendModels.ActiveProcessInstance",[],As,(()=>[["CompletedSteps",Nr(Sr("Workflows.Api.Models.ProgressBackendModels.CompletedStep",[],Ts,(()=>[["Type",Ar],["Date",kr("System.DateTime")]])))]]))]],[["Item",kr("System.DateTime")]],[["Item",kr("System.DateTime")]]]))],["Invite",Mr(Sr("Workflows.Api.Models.ProgressBackendModels.Invite",[],Is,(()=>[["DateIssued",kr("System.DateTime")]])))],["Creator",Mr(Sr("Workflows.Api.Models.ProgressBackendModels.Creator",[],Ds,(()=>[["FirstName",Ar],["LastName",Ar],["Email",Ar]])))],["Profile",Sr("Workflows.Api.Models.ProgressBackendModels.Profile",[],js,(()=>[["FirstName",Ar],["LastName",Ar],["Email",Ar],["ExternalId",Mr(Ar)]]))],["Tags",Nr(Sr("Workflows.Api.Models.ProgressBackendModels.Tag",[],Ps,(()=>[["Name",Ar],["Value",Ar]])))]])))]]))}class Fs{constructor(e,t){this.accessToken=t,this.backendUrl=`${e}/workflows/progress-backend`}}function Us(e){return Io(0,(()=>{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)}(Wt()),t=Ft(n,"o");const r=(o=e,i=Ci(new Po(0),xi(`${e.backendUrl}/instances?dateFrom=${t}`)),Io(0,(()=>{const e=ki((t=`Bearer ${o.accessToken}`,new Do(0,"Authorization",t)),i);var t;let n;const r=Si(e);return n=mo.Bind(r,(e=>mo.Return(new ho(0,e)))),mo.Delay((()=>mo.Bind(n,(t=>{let n,r;const o=t;return 1===o.tag?mo.Return(new ho(1,o.fields[0])):mo.ReturnFrom((n=o.fields[0],429===n.statusCode||n.statusCode>=500?(r=Si(e),mo.Bind(r,(e=>mo.Return(new ho(0,e))))):function(e,t){const n=function(e,t){return new ho(0,t)}(0,t);return mo.Return(n)}(0,n)))}))))})));var o,i;return mo.Delay((()=>mo.Bind(r,(e=>{let t,n;const r=e;return 1===r.tag?mo.Return(new ho(1,r.fields[0])):mo.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ss(t.responseText,new Mi(1),void 0,{ResolveType:Rs}),mo.Return(n)):mo.Return(new ho(1,"Unexpected response from backend"))))}))))}))}const zs=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,t){let n,r;void 0===t?(n=null,r=e):(n=e,r=t),this.delegates.forEach((e=>1===e.length?e(r):e(n,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const t="function"==typeof e?e:e.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}};class Hs{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function Ws(e,t){let n,r=new class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new zs}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new Hs(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Gs(e,t,n){Pn((n=>{try{n(t)}catch(t){e(t)}}),n)}function $s(){return Cn()}function Bs(e,t){return Fn((t=>n=>{t((t=>{n(e(t))}))}),t)}function Ys(e){return Sn((t=>{t(e)}))}function Vs(e,t,n,r,o){return Sn((i=>{e(mo.Delay((()=>{return mo.Bind((e=t(n),fo((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new go(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new go(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])),mo.Zero()}));var e})))}))}function qs(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 Xn((()=>{return t=i,n=e,qn((()=>function(e,t){let n,r=t;return Yn((()=>{if(null!=n){const e=n[0];return n[1],e}return Wn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class Js extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Xs{constructor(e){this.state=new Js(0,At(new Array(ut(it,e,10)),0,ut(it,e,10),null),0)}}function Zs(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 Js(0,o,n):new Js(1,o,n,i),_t(o[r])}}class Qs extends vt{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 Ks(e,t,n){return new Qs(e,t,(e=>$s()),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(_t(t),n)}),ft(2,(e=>e)))}function eu(e,t){return new Qs(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function tu(e,t){const n=t.init(e),r=n[0],o=new Xs(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 Js(1,(r=a,o=s,Array.from(Xn((()=>nr(sr(r,o),Xn((()=>{return nr((e=r,t=o,tr((()=>Jn(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return _t(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Hn+"\\nParameter name: source")}}),(e=>{He(e)}))),Xn((()=>ur((e=>Qn(null)),qs(0,1,o.length,0,((e,t)=>e+t))))));var e,t}))))))),s.length,0):new Js(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 Js(1,o,i,r)}var r,o}(o,e);else{i=!0;let n=_t(e);for(;null!=n;){const e=xt(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),Gs((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=Zs(o)}i=!1}}]);t.setState(r,s),Gs((e=>{t.onError(["Error intitializing:",e])}),s,function(e){const t=vn();let n=t;const r=e=>{n=Tn(((e,t)=>{const n=new pn(t,void 0);return e.tail=n,n}),n,e)};if(Ue(e))e.forEach(r);else if(e instanceof pn)Pn(r,e);else{const t=$e(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{He(t)}}const o=n,i=vn();return o.tail=i,xn(t)}(jn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),$s()}})(),n[1]])))}class nu{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function ru(){return new nu}function ou(e,t,n,r){tu(t,eu(((e,t)=>{!function(e,t,n){e.state=_t(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 xt(o);throw new Error("Elmish program has not initialized")}function iu(e,t){return function(e,t,n){const r=dr(ru)[0],o=dr((()=>ou(e,t,r))),i=o[1];return hr((()=>(function(e){return e.hasDisposedOnce}(r)&&i(ou(e,t,r)),fr((()=>{!function(e){const t=e.state;if(null!=t){const e=xt(t);ze(e)&&He(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),St(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 au(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class su{constructor(e,t){const n=new yt(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"]();fu(n.contents,e)}}finally{He(r)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}GetEnumerator(){return $e(Zn(this.hashMap.values()))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){fu(this,e)}"System.Collections.Generic.ICollection`1.Clear"(){cu(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return du(this,e)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},or(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|lu(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){return mu(this,e)}get size(){return 0|lu(this)}add(e){return fu(this,e),this}clear(){cu(this)}delete(e){return mu(this,e)}has(e){return du(this,e)}keys(){return ar((e=>e),this)}values(){return ar((e=>e),this)}entries(){return ar((e=>[e,e]),this)}forEach(e,t){const n=this;ir((t=>{e(t,t,n)}),n)}}function uu(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[(i=e.hashMap,a=n,s=new yt((()=>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 cu(e){e.hashMap.clear()}function lu(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{He(n)}return 0|t}function fu(e,t){const n=uu(e,t);return n[0]?!(n[2]>-1)&&(au(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function du(e,t){const n=uu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function mu(e,t){const n=uu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return au(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function hu(e,t){return Xn((()=>{const n=new su([],t);return function(e,t){return function(e,t){return er((()=>Jn(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=>{He(e)}))}((t=>e(t)?_t(t):void 0),t)}((e=>function(e,t){return!t.has(e)&&(t.add(e),!0)}(e,n)),e)}))}class pu extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["All","Completed","InProgress","NotStarted"]}}function gu(e){switch(e.tag){case 1:return"Completed";case 2:return"In progress";case 3:return"Not started";default:return"All"}}class vu extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetInstanceListCallback","SelectStatusTab"]}}class yu extends vt{constructor(e,t){super(),this.ProcessInstanceList=e,this.SelectedStatusTab=t}}function wu(e){return function(e,t){return zn(((e,n)=>t.Compare(e,n)),e)}((t=Fn((e=>e.Name),Rn((e=>e.Tags),e.Data)),n={Equals:(e,t)=>e===t,GetHashCode:Ze},Kn(hu(t,n))),{Compare:it});var t,n}function bu(e,t){return rt(e,new pu(0))?t:new Ls(function(e,t){const n=vn(),r=Tn(((t,n)=>{if(e(n)){const e=new pn(n,void 0);return t.tail=e,e}return t}),n,t),o=vn();return r.tail=o,xn(n)}((t=>{let n;return rt((n=t.Status,1===n.tag?new pu(2):2===n.tag?new pu(1):3===n.tag?void 0:new pu(3)),e)}),t.Data))}function _u(){let e;e=new CustomEvent("progressComponentReady",{}),window.dispatchEvent(e)}function xu(){return[new yu(new bo(0),new pu(0)),$s()]}function Cu(e,t){if(1===e.tag)return[new yu(t.ProcessInstanceList,e.fields[0]),$s()];{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 _u(),[new yu(new bo(2,new Ls((n=e=>e.LastUpdated,r=s.Data,o={Compare:Bt},zn(((e,t)=>-1*o.Compare(n(e),n(t))),r)))),t.SelectedStatusTab),$s()];case 1:return _u(),[new yu(new bo(3,new Error),t.SelectedStatusTab),$s()];case 2:return[new yu(new bo(0),t.SelectedStatusTab),$s()];case 3:return[new yu(new bo(1),t.SelectedStatusTab),$s()]}}var n,r,o}function ku(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 Su(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ku(Object(n),!0).forEach((function(t){Nu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ku(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Eu(e){return Eu="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},Eu(e)}function Mu(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 Nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(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)||Tu(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 Au(e){return function(e){if(Array.isArray(e))return Iu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Tu(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 Tu(e,t){if(e){if("string"==typeof e)return Iu(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)?Iu(e,t):void 0}}function Iu(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 Pu=function(){},Du={},ju={},Lu=null,Ru={mark:Pu,measure:Pu};try{"undefined"!=typeof window&&(Du=window),"undefined"!=typeof document&&(ju=document),"undefined"!=typeof MutationObserver&&(Lu=MutationObserver),"undefined"!=typeof performance&&(Ru=performance)}catch(u){}var Fu=(Du.navigator||{}).userAgent,Uu=void 0===Fu?"":Fu,zu=Du,Hu=ju,Wu=Lu,Gu=Ru,$u=(zu.document,!!Hu.documentElement&&!!Hu.head&&"function"==typeof Hu.addEventListener&&"function"==typeof Hu.createElement),Bu=~Uu.indexOf("MSIE")||~Uu.indexOf("Trident/"),Yu="svg-inline--fa",Vu="data-fa-i2svg",qu="data-fa-pseudo-element",Ju="data-prefix",Xu="data-icon",Zu="fontawesome-i2svg",Qu=["HTML","HEAD","STYLE","SCRIPT"],Ku=function(){try{return!0}catch(e){return!1}}(),ec={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"},tc={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},nc={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},rc={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},oc=/fa[srltdbk]?[\-\ ]/,ic="fa-layers-text",ac=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,sc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},uc=[1,2,3,4,5,6,7,8,9,10],cc=uc.concat([11,12,13,14,15,16,17,18,19,20]),lc=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],fc="duotone-group",dc="primary",mc="secondary",hc=[].concat(Au(Object.keys(tc)),["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",fc,"swap-opacity",dc,mc]).concat(uc.map((function(e){return"".concat(e,"x")}))).concat(cc.map((function(e){return"w-".concat(e)}))),pc=zu.FontAwesomeConfig||{};Hu&&"function"==typeof Hu.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=Ou(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Hu.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(pc[r]=o)}));var gc=Su(Su({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:Yu,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),pc);gc.autoReplaceSvg||(gc.observeMutations=!1);var vc={};Object.keys(gc).forEach((function(e){Object.defineProperty(vc,e,{enumerable:!0,set:function(t){gc[e]=t,yc.forEach((function(e){return e(vc)}))},get:function(){return gc[e]}})})),zu.FontAwesomeConfig=vc;var yc=[],wc=16,bc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function _c(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function xc(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Cc(e){return e.classList?xc(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function kc(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Sc(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Ec(e){return e.size!==bc.size||e.x!==bc.x||e.y!==bc.y||e.rotate!==bc.rotate||e.flipX||e.flipY}function Mc(){var e="fa",t=Yu,n=vc.familyPrefix,r=vc.replacementClass,o=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var 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 Nc=!1;function Oc(){vc.autoAddCss&&!Nc&&(function(e){if(e&&$u){var t=Hu.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Hu.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)}Hu.head.insertBefore(t,r)}}(Mc()),Nc=!0)}var Ac={mixout:function(){return{dom:{css:Mc,insertCss:Oc}}},hooks:function(){return{beforeDOMElementCreation:function(){Oc()},beforeI2svg:function(){Oc()}}}},Tc=zu||{};Tc.___FONT_AWESOME___||(Tc.___FONT_AWESOME___={}),Tc.___FONT_AWESOME___.styles||(Tc.___FONT_AWESOME___.styles={}),Tc.___FONT_AWESOME___.hooks||(Tc.___FONT_AWESOME___.hooks={}),Tc.___FONT_AWESOME___.shims||(Tc.___FONT_AWESOME___.shims=[]);var Ic=Tc.___FONT_AWESOME___,Pc=[],Dc=!1;function jc(e){$u&&(Dc?setTimeout(e,0):Pc.push(e))}function Lc(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?kc(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(kc(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Lc).join(""),"</").concat(t,">")}function Rc(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}$u&&((Dc=(Hu.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Hu.readyState))||Hu.addEventListener("DOMContentLoaded",(function e(){Hu.removeEventListener("DOMContentLoaded",e),Dc=1,Pc.map((function(e){return e()}))})));var Fc=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 Uc(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 zc(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 Hc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=zc(t);"function"!=typeof Ic.hooks.addPack||o?Ic.styles[e]=Su(Su({},Ic.styles[e]||{}),i):Ic.hooks.addPack(e,zc(t)),"fas"===e&&Hc("fa",t)}var Wc=Ic.styles,Gc=Ic.shims,$c=Object.values(nc),Bc=null,Yc={},Vc={},qc={},Jc={},Xc={},Zc=Object.keys(ec);function Qc(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~hc.indexOf(n))?null:i}var Kc,el=function(){var e=function(e){return Fc(Wc,(function(t,n,r){return t[r]=Fc(n,e,{}),t}),{})};Yc=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})),Vc=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})),Xc=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 Wc||vc.autoFetchSvg,n=Fc(Gc,(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:{}});qc=n.names,Jc=n.unicodes,Bc=il(vc.styleDefault)};function tl(e,t){return(Yc[e]||{})[t]}function nl(e,t){return(Xc[e]||{})[t]}function rl(e){return qc[e]||{prefix:null,iconName:null}}function ol(){return Bc}function il(e){var t=tc[e]||tc[ec[e]],n=e in Ic.styles?e:null;return t||n||null}function al(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,o=null,i=e.reduce((function(e,t){var n=Qc(vc.familyPrefix,t);if(Wc[t]?(t=$c.includes(t)?rc[t]:t,o=t,e.prefix=t):Zc.indexOf(t)>-1?(o=t,e.prefix=il(t)):n?e.iconName=n:t!==vc.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var i="fa"===o?rl(e.iconName):{},a=nl(e.prefix,e.iconName);i.prefix&&(o=null),e.iconName=i.iconName||a||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Wc.far||!Wc.fas||vc.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==o||(i.prefix=ol()||"fas"),i}Kc=function(e){Bc=il(e.styleDefault)},yc.push(Kc),el();var sl=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]=Su(Su({},e.definitions[t]||{}),o[t]),Hc(t,o[t]);var n=nc[t];n&&Hc(n,o[t]),el()}))}},{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&&Mu(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ul=[],cl={},ll={},fl=Object.keys(ll);function dl(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];var i=cl[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function ml(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=cl[e]||[];o.forEach((function(e){e.apply(null,n)}))}function hl(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ll[e]?ll[e].apply(null,t):void 0}function pl(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||ol();if(t)return t=nl(n,t)||t,Rc(gl.definitions,n,t)||Rc(Ic.styles,n,t)}var gl=new sl,vl={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $u?(ml("beforeI2svg",e),hl("pseudoElements2svg",e),hl("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===vc.autoReplaceSvg&&(vc.autoReplaceSvg=!0),vc.observeMutations=!0,jc((function(){wl({autoReplaceSvgRoot:t}),ml("watch",e)}))}},yl={noAuto:function(){vc.autoReplaceSvg=!1,vc.observeMutations=!1,ml("noAuto")},config:vc,dom:vl,parse:{icon:function(e){if(null===e)return null;if("object"===Eu(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:nl(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=il(e[0]);return{prefix:n,iconName:nl(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(vc.familyPrefix,"-"))>-1||e.match(oc))){var r=al(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ol(),iconName:nl(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=ol();return{prefix:o,iconName:nl(o,e)||e}}}},library:gl,findIconDefinition:pl,toHtml:Lc},wl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Hu:t;(Object.keys(Ic.styles).length>0||vc.autoFetchSvg)&&$u&&vc.autoReplaceSvg&&yl.dom.i2svg({node:n})};function bl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Lc(e)}))}}),Object.defineProperty(e,"node",{get:function(){if($u){var t=Hu.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function _l(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,v="fak"===o,y=[vc.replacementClass,i?"".concat(vc.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:Su(Su({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:y,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=v&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};m&&(w.attributes[Vu]=""),u&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(l||_c())},children:[u]}),delete w.attributes.title);var _=Su(Su({},w),{},{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Su(Su({},b),f.styles)}),x=r.found&&n.found?hl("generateAbstractMask",_)||{children:[],attributes:{}}:hl("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(vc.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Su(Su({},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(Ec(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=Sc(Su(Su({},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 xl(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=Su(Su(Su({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});u&&(c[Vu]="");var l=Su({},a.styles);Ec(o)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,o=e.height,i=void 0===o?16:o,a=e.startCentered,s=void 0!==a&&a,u="";return u+=s&&Bu?"translate(".concat(t.x/wc-r/2,"em, ").concat(t.y/wc-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/wc,"em), calc(-50% + ").concat(t.y/wc,"em)) "):"translate(".concat(t.x/wc,"em, ").concat(t.y/wc,"em) "),(u+="scale(".concat(t.size/wc*(t.flipX?-1:1),", ").concat(t.size/wc*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=Sc(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}function Cl(e){var t=e.content,n=e.title,r=e.extra,o=Su(Su(Su({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=Sc(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}var kl=Ic.styles;function Sl(e){var t=e[0],n=e[1],r=Ou(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(vc.familyPrefix,"-").concat(fc)},children:[{tag:"path",attributes:{class:"".concat(vc.familyPrefix,"-").concat(mc),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(vc.familyPrefix,"-").concat(dc),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var El={found:!1,width:512,height:512};function Ml(e,t){var n=t;return"fa"===t&&null!==vc.styleDefault&&(t=ol()),new Promise((function(r,o){if(hl("missingIconAbstract"),"fa"===n){var i=rl(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&kl[t]&&kl[t][e])return r(Sl(kl[t][e]));!function(e,t){Ku||vc.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Su(Su({},El),{},{icon:vc.showMissingIcons&&e&&hl("missingIconAbstract")||{}}))}))}var Nl=function(){},Ol=vc.measurePerformance&&Gu&&Gu.mark&&Gu.measure?Gu:{mark:Nl,measure:Nl},Al='FA "6.1.2"',Tl=function(e){return Ol.mark("".concat(Al," ").concat(e," begins")),function(){return function(e){Ol.mark("".concat(Al," ").concat(e," ends")),Ol.measure("".concat(Al," ").concat(e),"".concat(Al," ").concat(e," begins"),"".concat(Al," ").concat(e," ends"))}(e)}},Il=function(){};function Pl(e){return"string"==typeof(e.getAttribute?e.getAttribute(Vu):null)}function Dl(e){return Hu.createElementNS("http://www.w3.org/2000/svg",e)}function jl(e){return Hu.createElement(e)}function Ll(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?Dl:jl:n;if("string"==typeof e)return Hu.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){o.setAttribute(t,e.attributes[t])}));var i=e.children||[];return i.forEach((function(e){o.appendChild(Ll(e,{ceFn:r}))})),o}var Rl={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Ll(e),t)})),null===t.getAttribute(Vu)&&vc.keepOriginalSource){var n=Hu.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(~Cc(t).indexOf(vc.replacementClass))return Rl.replace(e);var r=new RegExp("".concat(vc.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===vc.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 Lc(e)})).join("\n");t.setAttribute(Vu,""),t.innerHTML=i}};function Fl(e){e()}function Ul(e,t){var n="function"==typeof t?t:Il;if(0===e.length)n();else{var r=Fl;"async"===vc.mutateApproach&&(r=zu.requestAnimationFrame||Fl),r((function(){var t=!0===vc.autoReplaceSvg?Rl.replace:Rl[vc.autoReplaceSvg]||Rl.replace,r=Tl("mutate");e.map(t),r(),n()}))}}var zl=!1;function Hl(){zl=!0}function Wl(){zl=!1}var Gl=null;function $l(e){if(Wu&&vc.observeMutations){var t=e.treeCallback,n=void 0===t?Il:t,r=e.nodeCallback,o=void 0===r?Il:r,i=e.pseudoElementsCallback,a=void 0===i?Il:i,s=e.observeMutationsRoot,u=void 0===s?Hu:s;Gl=new Wu((function(e){if(!zl){var t=ol();xc(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Pl(e.addedNodes[0])&&(vc.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&vc.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Pl(e.target)&&~lc.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Ju):null,n=e.getAttribute?e.getAttribute(Xu):null;return t&&n}(e.target)){var r=al(Cc(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(Ju,i||t),s&&e.target.setAttribute(Xu,s)}else(u=e.target)&&u.classList&&u.classList.contains&&u.classList.contains(vc.replacementClass)&&o(e.target);var u}))}})),$u&&Gl.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Bl(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}function Yl(e){var t,n,r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",a=al(Cc(e));return a.prefix||(a.prefix=ol()),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,(Vc[t]||{})[n]||tl(a.prefix,Uc(e.innerText)))),!a.iconName&&vc.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Vl(e){var t=xc(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 vc.autoA11y&&(n?t["aria-labelledby"]="".concat(vc.replacementClass,"-title-").concat(r||_c()):(t["aria-hidden"]="true",t.focusable="false")),t}function ql(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Yl(e),r=n.iconName,o=n.prefix,i=n.rest,a=Vl(e),s=dl("parseNodeAttributes",{},e),u=t.styleParser?Bl(e):[];return Su({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:bc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:a}},s)}var Jl=Ic.styles;function Xl(e){var t="nest"===vc.autoReplaceSvg?ql(e,{styleParser:!1}):ql(e);return~t.extra.classes.indexOf(ic)?hl("generateLayersText",e,t):hl("generateSvgReplacementMutation",e,t)}function Zl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!$u)return Promise.resolve();var n=Hu.documentElement.classList,r=function(e){return n.add("".concat(Zu,"-").concat(e))},o=function(e){return n.remove("".concat(Zu,"-").concat(e))},i=vc.autoFetchSvg?Object.keys(ec):Object.keys(Jl);i.includes("fa")||i.push("fa");var a=[".".concat(ic,":not([").concat(Vu,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(Vu,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=xc(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var u=Tl("onTree"),c=s.reduce((function(e,t){try{var n=Xl(t);n&&e.push(n)}catch(e){Ku||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Ul(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),u(),e()}))})).catch((function(e){u(),n(e)}))}))}function Ql(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Xl(e).then((function(e){e&&Ul([e],t)}))}var Kl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?bc: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,v=void 0===g?{}:g,y=t.styles,w=void 0===y?{}:y;if(e){var b=e.prefix,_=e.iconName,x=e.icon;return bl(Su({type:"icon"},e),(function(){return ml("beforeDOMElementCreation",{iconDefinition:e,params:t}),vc.autoA11y&&(f?v["aria-labelledby"]="".concat(vc.replacementClass,"-title-").concat(m||_c()):(v["aria-hidden"]="true",v.focusable="false")),_l({icons:{main:Sl(x),mask:s?Sl(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Su(Su({},bc),r),symbol:i,title:f,maskId:c,titleId:m,extra:{attributes:v,styles:w,classes:p}})}))}},ef={mixout:function(){return{icon:(e=Kl,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:pl(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:pl(o||{})),e(r,Su(Su({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Zl,e.nodeCallback=Ql,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Hu:t,r=e.callback;return Zl(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([Ml(n,i),u.iconName?Ml(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(u){var f=Ou(u,2),d=f[0],m=f[1];t([e,_l({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=Sc(e.styles);return a.length>0&&(r.style=a),Ec(i)&&(t=hl("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},tf={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 bl({type:"layer"},(function(){ml("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(vc.familyPrefix,"-layers")].concat(Au(r)).join(" ")},children:n}]}))}}}},nf={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 bl({type:"counter",content:e},(function(){return ml("beforeDOMElementCreation",{content:e,params:t}),Cl({content:e.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(vc.familyPrefix,"-layers-counter")].concat(Au(i))}})}))}}}},rf={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?bc: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 bl({type:"text",content:e},(function(){return ml("beforeDOMElementCreation",{content:e,params:t}),xl({content:e,transform:Su(Su({},bc),r),title:i,extra:{attributes:c,styles:f,classes:["".concat(vc.familyPrefix,"-layers-text")].concat(Au(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(Bu){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();i=u.width/s,a=u.height/s}return vc.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,xl({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},of=new RegExp('"',"ug"),af=[1105920,1112319];function sf(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var i,a,s,u=xc(e.children).filter((function(e){return e.getAttribute(qu)===t}))[0],c=zu.getComputedStyle(e,t),l=c.getPropertyValue("font-family").match(ac),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])?tc[l[2].toLowerCase()]:sc[f],p=function(e){var t,n,r,o,i=e.replace(of,""),a=(r=(t=i).length,(o=t.charCodeAt(0))>=55296&&o<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o),s=a>=af[0]&&a<=af[1],u=2===i.length&&i[0]===i[1];return{value:Uc(u?i[0]:i),isSecondary:s||u}}(m),g=p.value,v=p.isSecondary,y=l[0].startsWith("FontAwesome"),w=tl(h,g),b=w;if(y){var _=(a=Jc[i=g],s=tl("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(w=_.iconName,h=_.prefix)}if(!w||v||u&&u.getAttribute(Ju)===h&&u.getAttribute(Xu)===b)r();else{e.setAttribute(n,b),u&&e.removeChild(u);var x={iconName:null,title:null,titleId:null,prefix:null,transform:bc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=x.extra;C.attributes[qu]=t,Ml(w,h).then((function(o){var i=_l(Su(Su({},x),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:h,iconName:b,extra:C,watchable:!0})),a=Hu.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=i.map((function(e){return Lc(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function uf(e){return Promise.all([sf(e,"::before"),sf(e,"::after")])}function cf(e){return!(e.parentNode===document.head||~Qu.indexOf(e.tagName.toUpperCase())||e.getAttribute(qu)||e.parentNode&&"svg"===e.parentNode.tagName)}function lf(e){if($u)return new Promise((function(t,n){var r=xc(e.querySelectorAll("*")).filter(cf).map(uf),o=Tl("searchPseudoElements");Hl(),Promise.all(r).then((function(){o(),Wl(),t()})).catch((function(){o(),Wl(),n()}))}))}var ff=!1,df=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})},mf={mixout:function(){return{parse:{transform:function(e){return df(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=df(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:Su({},c.outer),children:[{tag:"g",attributes:Su({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Su(Su({},t.icon.attributes),c.path)}]}]}}}},hf={x:0,y:0,width:"100%",height:"100%"};function pf(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 gf,vf={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?al(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=ol()),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:Su(Su({},hf),{},{fill:"white"})},h=c.children?{children:c.children.map(pf)}:{},p={tag:"g",attributes:Su({},d.inner),children:[pf(Su({tag:c.tag,attributes:Su(Su({},c.attributes),d.path)},h))]},g={tag:"g",attributes:Su({},d.outer),children:[p]},v="mask-".concat(a||_c()),y="clip-".concat(a||_c()),w={tag:"mask",attributes:Su(Su({},hf),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=f,"g"===t.tag?t.children:[t])},w]};return n.push(b,{tag:"rect",attributes:Su({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(v,")")},hf)}),{children:n,attributes:r}}}},yf={provides:function(e){var t=!1;zu.matchMedia&&(t=zu.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:Su(Su({},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=Su(Su({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Su(Su({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Su(Su({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Su(Su({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Su(Su({},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:Su(Su({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Su(Su({},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:Su(Su({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},wf=[Ac,ef,tf,nf,rf,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=lf,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Hu:t;vc.searchPseudoElements&&lf(n)}}},{mixout:function(){return{dom:{unwatch:function(){Hl(),ff=!0}}}},hooks:function(){return{bootstrap:function(){$l(dl("mutationObserverCallbacks",{}))},noAuto:function(){Gl&&Gl.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ff?Wl():$l(dl("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},mf,vf,yf,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];gf={mixoutsTo:yl}.mixoutsTo,ul=wf,cl={},Object.keys(ll).forEach((function(e){-1===fl.indexOf(e)&&delete ll[e]})),ul.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(gf[e]=t[e]),"object"===Eu(t[e])&&Object.keys(t[e]).forEach((function(n){gf[e]||(gf[e]={}),gf[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){cl[e]||(cl[e]=[]),cl[e].push(n[e])}))}e.provides&&e.provides(ll)}));var bf=yl.parse,_f=yl.icon,xf=n(697),Cf=n.n(xf);function kf(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 Sf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kf(Object(n),!0).forEach((function(t){Mf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ef(e){return Ef="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},Ef(e)}function Mf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nf(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}function Of(e){return function(e){if(Array.isArray(e))return Af(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 Af(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)?Af(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 Af(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 Tf(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 If=["style"];function Pf(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Tf(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}),{})}var Df=!1;try{Df=!0}catch(u){}function jf(e){return e&&"object"===Ef(e)&&e.prefix&&e.iconName&&e.icon?e:bf.icon?bf.icon(e):null===e?null:e&&"object"===Ef(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 Lf(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Mf({},e,t):{}}var Rf=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=jf(n),l=Lf("classes",[].concat(Of(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,v=e.size,y=e.rotation,w=e.pull,b=(Mf(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(v),null!=v),Mf(t,"fa-rotate-".concat(y),null!=y&&0!==y),Mf(t,"fa-pull-".concat(w),null!=w),Mf(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)),Of(i.split(" ")))),f=Lf("transform","string"==typeof e.transform?bf.transform(e.transform):e.transform),d=Lf("mask",jf(r)),m=_f(c,Sf(Sf(Sf(Sf({},l),f),d),{},{symbol:o,title:a,titleId:s,maskId:u}));if(!m)return function(){var e;!Df&&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){Rf.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Ff(h[0],p)}));Rf.displayName="FontAwesomeIcon",Rf.propTypes={beat:Cf().bool,border:Cf().bool,beatFade:Cf().bool,bounce:Cf().bool,className:Cf().string,fade:Cf().bool,flash:Cf().bool,mask:Cf().oneOfType([Cf().object,Cf().array,Cf().string]),maskId:Cf().string,fixedWidth:Cf().bool,inverse:Cf().bool,flip:Cf().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Cf().oneOfType([Cf().object,Cf().array,Cf().string]),listItem:Cf().bool,pull:Cf().oneOf(["right","left"]),pulse:Cf().bool,rotation:Cf().oneOf([0,90,180,270]),shake:Cf().bool,size:Cf().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Cf().bool,spinPulse:Cf().bool,spinReverse:Cf().bool,symbol:Cf().oneOfType([Cf().bool,Cf().string]),title:Cf().string,titleId:Cf().string,transform:Cf().oneOfType([Cf().string,Cf().object]),swapOpacity:Cf().bool},Rf.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 Ff=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=Pf(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Tf(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=Nf(r,If);return i.attrs.style=Sf(Sf({},i.attrs.style),s),t.apply(void 0,[n.tag,Sf(Sf({},i.attrs),u)].concat(Of(o)))}.bind(null,Fe.createElement),Uf={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"]},zf={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 Hf(e){return d(Rf,e)}const Wf=Hf({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"]}}),Gf=Hf({icon:Uf}),$f=Hf({icon:zf}),Bf=Hf({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 Yf={};function Vf(){return Yf}var qf={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 Jf(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}const Xf={date:Jf({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Jf({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:Jf({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var Zf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Qf(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 Kf={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:Qf({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Qf({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:Qf({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:Qf({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:Qf({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 ed(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)?nd(u,(function(e){return e.test(s)})):td(u,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(c):c,a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(s.length);return{value:a,rest:l}}}function td(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function nd(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var rd,od={ordinalNumber:(rd={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(rd.matchPattern);if(!n)return null;var r=n[0],o=e.match(rd.parsePattern);if(!o)return null;var i=rd.valueCallback?rd.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;var a=e.slice(r.length);return{value:i,rest:a}}),era:ed({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:ed({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:ed({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:ed({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:ed({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 id={code:"en-US",formatDistance:function(e,t,n){var r,o=qf[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:Xf,formatRelative:function(e,t,n,r){return Zf[e]},localize:Kf,match:od,options:{weekStartsOn:0,firstWeekContainsDate:1}};var ad=["years","months","weeks","days","hours","minutes","seconds"];function sd(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ud(e){sd(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 cd(e,t){sd(2,arguments);var n=ud(e),r=ud(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function ld(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 fd(e,t){sd(2,arguments);var n=ud(e),r=ld(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function dd(e,t){sd(2,arguments);var n=ud(e),r=ld(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());i.setMonth(n.getMonth()+r+1,0);var a=i.getDate();return o>=a?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}function md(e,t){if(sd(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var n=t.years?ld(t.years):0,r=t.months?ld(t.months):0,o=t.weeks?ld(t.weeks):0,i=t.days?ld(t.days):0,a=t.hours?ld(t.hours):0,s=t.minutes?ld(t.minutes):0,u=t.seconds?ld(t.seconds):0,c=ud(e),l=r||n?dd(c,r+12*n):c,f=i||o?fd(l,i+7*o):l,d=s+60*a,m=u+60*d,h=1e3*m,p=new Date(f.getTime()+h);return p}function hd(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 pd(e){sd(1,arguments);var t=ud(e);return t.setHours(0,0,0,0),t}var gd=864e5;function vd(e,t){sd(2,arguments);var n=pd(e),r=pd(t),o=n.getTime()-hd(n),i=r.getTime()-hd(r);return Math.round((o-i)/gd)}function yd(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}function wd(e,t){sd(2,arguments);var n=ud(e),r=ud(t),o=yd(n,r),i=Math.abs(vd(n,r));n.setDate(n.getDate()-o*i);var a=Number(yd(n,r)===-o),s=o*(i-a);return 0===s?0:s}Math.pow(10,8);var bd=36e5;function _d(e,t){return sd(2,arguments),ud(e).getTime()-ud(t).getTime()}var xd,Cd={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function kd(e){return e?Cd[e]:Cd.trunc}function Sd(e,t,n){sd(2,arguments);var r=_d(e,t)/bd;return kd(null==n?void 0:n.roundingMethod)(r)}function Ed(e,t,n){sd(2,arguments);var r=_d(e,t)/6e4;return kd(null==n?void 0:n.roundingMethod)(r)}function Md(e,t){sd(2,arguments);var n=ud(e),r=ud(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return 12*o+i}function Nd(e){sd(1,arguments);var t=ud(e);return t.setHours(23,59,59,999),t}function Od(e){sd(1,arguments);var t=ud(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Ad(e){sd(1,arguments);var t=ud(e);return Nd(t).getTime()===Od(t).getTime()}function Td(e,t){sd(2,arguments);var n,r=ud(e),o=ud(t),i=cd(r,o),a=Math.abs(Md(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=cd(r,o)===-i;Ad(ud(e))&&1===a&&1===cd(e,o)&&(s=!1),n=i*(a-Number(s))}return 0===n?0:n}function Id(e,t,n){sd(2,arguments);var r=_d(e,t)/1e3;return kd(null==n?void 0:n.roundingMethod)(r)}function Pd(e,t){sd(2,arguments);var n=ud(e),r=ud(t);return n.getFullYear()-r.getFullYear()}function Dd(e,t){sd(2,arguments);var n=ud(e),r=ud(t),o=cd(n,r),i=Math.abs(Pd(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=cd(n,r)===-o,s=o*(i-Number(a));return 0===s?0:s}function jd(e){const t=Wt();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=Vf(),u=null!==(n=null!==(r=null==t?void 0:t.locale)&&void 0!==r?r:s.locale)&&void 0!==n?n:id,c=null!==(o=null==t?void 0:t.format)&&void 0!==o?o:ad,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}}(function(e){sd(1,arguments);var t=ud(e.start),n=ud(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(Dd(n,t));var o=cd(n,t),i=md(t,{years:o*r.years});r.months=Math.abs(Td(n,i));var a=md(i,{months:o*r.months});r.days=Math.abs(wd(n,a));var s=md(a,{days:o*r.days});r.hours=Math.abs(Sd(n,s));var u=md(s,{hours:o*r.hours});r.minutes=Math.abs(Ed(n,u));var c=md(u,{minutes:o*r.minutes});return r.seconds=Math.abs(Id(n,c)),r}({end:t,start:e})));return`${n} ago`}}function Ld(e){let t;const n=e=>d("td",{className:fn(" ",["px-6","py-4","whitespace-nowrap"]),children:cr.Children.toArray(Array.from(e))}),r=e=>d("div",{className:fn(" ",["text-sm","text-gray-500"]),children:e}),o=e=>n([r(e)]),i=(e,t)=>n([d("div",{className:fn(" ",["text-sm","text-gray-900"]),children:e}),r(t)]),a=o("---"),s=wu(e);return d("tbody",ct(jn([["className",fn(" ",["bg-white","divide-y","divide-gray-200"])],(t=Kn(Xn((()=>ur((e=>{let t,u;const c=0|Mn(e.Configuration.Steps);return u=1===c?"1 step":`${c} steps`,Qn(d("tr",ct(jn([["className",fn(" ",["hover:bg-gray-50"])],(t=Kn(Xn((()=>{let t;return nr((t=e.Profile.ExternalId,Qn(null==t?a:o(t))),Xn((()=>{let t;return nr(Qn((t=`${e.Profile.FirstName} ${e.Profile.LastName}`,n([d("div",{className:fn(" ",["text-sm","font-medium","text-gray-900"]),children:t}),r(e.Profile.Email)]))),Xn((()=>{let t,r;return nr((t=e.Creator,null==t?Qn(a):(r=t,Qn(i(`${r.FirstName} ${r.LastName}`,r.Email)))),Xn((()=>{let t,r,c,l;return nr(Qn((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?jn(["bg-blue-100","text-blue-800"]):2===l.tag?jn(["bg-green-100","text-green-800"]):3===l.tag?jn(["bg-gray-100","text-gray-800"]):jn(["bg-yellow-100","text-yellow-800"]),n([d("span",{className:fn(" ",Kn(Xn((()=>nr(Qn("px-2"),Xn((()=>nr(Qn("inline-flex"),Xn((()=>nr(Qn("text-xs"),Xn((()=>nr(Qn("leading-5"),Xn((()=>nr(Qn("font-semibold"),Xn((()=>nr(Qn("rounded"),Xn((()=>c)))))))))))))))))))))),children:r})]))),Xn((()=>nr(ur((t=>{const n=Un((e=>e.Name===t),e.Tags);return Qn(null==n?a:o(n.Value))}),s),Xn((()=>nr(Qn(i(e.Configuration.Name,u)),Xn((()=>{let t;return nr((t=e.Invite,Qn(null==t?a:o(jd(t.DateIssued)))),Xn((()=>nr(Qn(o(jd(e.LastUpdated))),Xn((()=>Qn(o(function(e){const t=e.Status;switch(t.tag){case 1:{const n=function(e){e:for(;;){const t=e;if(wn(t))return;{const n=xn(t);if(wn(n))return _t(_n(t));e=n;continue e}}}(t.fields[0].CompletedSteps);if(null!=n){const t=n,r=Un((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",cr.Children.toArray(Array.from(t))])]))))}),e.Data)))),["children",cr.Children.toArray(Array.from(t))])])))}function Rd(e){let t;const n=(r=e.backendUrl,o=e.accessToken,new Fs(r,o));var r,o;const i=function(e,t,n){return iu((()=>Ks(e,t,((e,t)=>{}))),[])}(xu,Cu),a=i[0],s=i[1];return pr(function(e,t){const n=gr(new uo(!1));return hr((()=>fr((()=>{n.current.cancel()}))),[]),yr((r=>{var o;null!=(o=n.current)&&o.isCancelled||wo(mo.Delay((()=>mo.TryWith(mo.Delay((()=>(t(new bo(1)),mo.Bind(e(r),(e=>(t(new bo(2,e)),mo.Zero())))))),(e=>(t(new bo(3,e)),mo.Zero()))))),n.current)}))}((()=>Us(n)),(e=>{s(new vu(0,e))}))),d("div",ct(Sn((t=Kn(Xn((()=>{const e=a.ProcessInstanceList;switch(e.tag){default:return Qn(d("p",{children:["Loading..."]}));case 2:{const t=e.fields[0];return nr(Qn(function(e,t,n){let r;const o=Sn(d("nav",ct(jn([["className",fn(" ",["flex","space-x-4","p-1","mb-5","bg-gray-50"])],(r=Kn(Xn((()=>Fn((r=>{let o,i,a;const s=0|Mn(bu(r,t).Data),u=d("span",ct(jn([["className",fn(" ",Kn(Xn((()=>{if(!rt(r,e))return Xn((()=>new Array(0)));switch(r.tag){case 1:return Qn("text-green-500");case 2:return Qn("text-blue-500");case 3:return Qn("text-yellow-500");default:return Qn("text-gray-800")}}))))],(o=Kn(Xn((()=>1===r.tag?Qn(Gf):2===r.tag?Qn($f):3===r.tag?Qn(Bf):Qn(Wf)))),["children",cr.Children.toArray(Array.from(o))])])));return d("a",ct(jn([["className",fn(" ",Kn(Xn((()=>nr(Qn("flex-1"),Xn((()=>nr(Qn("px-3"),Xn((()=>nr(Qn("py-2"),Xn((()=>nr(Qn("font-medium"),Xn((()=>nr(Qn("text-sm"),Xn((()=>nr(Qn("rounded-md"),Xn((()=>nr(Qn("text-center"),Xn((()=>nr(Qn("space-x-2"),Xn((()=>rt(r,e)?nr(Qn("bg-white"),Xn((()=>nr(Qn("text-gray-800"),Xn((()=>nr(Qn("filter"),Xn((()=>Qn("drop-shadow")))))))))):nr(Qn("text-gray-600"),Xn((()=>nr(Qn("hover:bg-gray-100"),Xn((()=>Qn("cursor-pointer")))))))))))))))))))))))))))))))))))],["onClick",e=>{n(r)}],(i=[u,(a=gu(r),d("span",{children:[a]})),d("span",{className:fn(" ",["text-gray-400"]),children:`(${s})`})],["children",cr.Children.toArray(Array.from(i))])])))}),jn([new pu(0),new pu(1),new pu(2),new pu(3)]))))),["children",cr.Children.toArray(Array.from(r))])]))));return d("div",{children:cr.Children.toArray(Array.from(o))})}(a.SelectedStatusTab,t,(e=>{s(new vu(1,e))}))),Xn((()=>{const e=bu(a.SelectedStatusTab,t);return Qn(function(e,t){let n,r,o,i;return d("div",ct(jn([["className",fn(" ",["flex","flex-col"])],(n=[d("div",ct(jn([["className",fn(" ",["-my-2","overflow-x-auto","-mx-6"])],(r=[d("div",ct(jn([["className",fn(" ",["py-2","align-middle","inline-block","min-w-full","px-6"])],(o=[d("div",ct(jn([["className",fn(" ",["shadow","overflow-hidden","border-b","border-gray-200","sm:rounded-lg"])],(i=[d("table",{className:fn(" ",["min-w-full","divide-y","divide-gray-200"]),children:cr.Children.toArray([e,t])})],["children",cr.Children.toArray(Array.from(i))])])))],["children",cr.Children.toArray(Array.from(o))])])))],["children",cr.Children.toArray(Array.from(r))])])))],["children",cr.Children.toArray(Array.from(n))])])))}(function(e){let t,n;return d("thead",ct(jn([["className",fn(" ",["bg-gray-50"])],(t=[(n=Kn(Xn((()=>Fn((e=>d("th",{scope:"col",className:fn(" ",["px-6","py-3","text-left","text-xs","font-medium","text-gray-500","uppercase","tracking-wider"]),children:e})),e)))),d("tr",{children:cr.Children.toArray(Array.from(n))}))],["children",cr.Children.toArray(Array.from(t))])])))}(Kn(Xn((()=>nr(Qn("Ext. ID"),Xn((()=>nr(Qn("Onboarder"),Xn((()=>nr(Qn("Manager"),Xn((()=>nr(Qn("Status"),Xn((()=>nr(wu(e),Xn((()=>nr(Qn("Workflow"),Xn((()=>nr(Qn("Invited"),Xn((()=>nr(Qn("Updated"),Xn((()=>Qn("Last Action"))))))))))))))))))))))))))))),Ld(e)))})))}case 3:return Qn(d("p",{children:["There was an error loading. Please try refreshing this page."]}))}}))),["children",cr.Children.toArray(Array.from(t))]))))}class Fd extends vt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Ud extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function zd(e){return e}function Hd(e){return Array.from(e)}function Wd(e){return Ft(e,"O")}function Gd(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 Na(e/864e5)}(e)),o=Math.abs(function(e){return Na(e%864e5/36e5)}(e)),i=Math.abs(function(e){return Na(e%36e5/6e4)}(e)),a=Math.abs(function(e){return Na(e%6e4/1e3)}(e)),s=Math.abs(function(e){return Na(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 $d(e){return String(e)}function Bd(e){return String(e)}function Yd(e){return String(e)}function Vd(e){return String(e)}function qd(){return null}function Jd(e){return Ft(e,"O")}function Xd(e,t,n,r){const o=new yt(null),i=gi(Pr(r),o,e);let a;if(Yr(r)){const e=Tt((e=>{const r=Ti(t,Ir(e)),o=Zd(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}}),Gr(r));a=t=>or(((e,n)=>n(t)(e)),{},e)}else{if(!Br(r)){let e;const t=Pr(r);throw e=sn(on("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}a=e=>{const o=function(e,t){const n=Wr(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 Ir(a);{const e=0|u,r=qr(a),o=At(new Array(e+1),0,e+1,null);o[0]=Ir(a);for(let a=1;a<=e;a++){const e=Zd(i,t,n,r[a-1][1]);o[a]=e(s[a-1])}return o}}}return o.contents=a,a}function Zd(e,t,n,r){const o=Pr(r),i=vi(o,e);if(null==i){if(Dr(r)){const o=Zd(e,t,n,jr(r));return e=>Hd(ar(o,e))}if(Rr(r)){const e=Pr(Ur(r));if("System.SByte"===e)return $d;if("System.Byte"===e)return Bd;if("System.Int16"===e)return Yd;if("System.UInt16"===e)return Vd;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Pr(r);return un(on("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing 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 encoder.\n "))(e)}}if(Lr(r)){if(Vr(r)){const o=Tt((r=>Zd(e,t,n,r)),$r(r));return e=>{return Hd((t=(e,t)=>o[e](t),n=e,tr((()=>Jn(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?_t(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{He(e)}))));var t,n}}{const o=Pr(Fr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new Ye((()=>{return o=Zd(e,t,n,_r(r)[0]),e=>{return null!=(t=Et(o,e))?xt(t):null;var t};var o}));return e=>null==e?null:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const o=Zd(e,t,n,_r(r)[0]);return e=>Hd(ar(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=_r(r)[0],i=Zd(e,t,n,_r(r)[1]);if("System.String"===Pr(o)||"System.Guid"===Pr(o))return e=>or(((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e}),{},e);{let r;const a=Zd(e,t,n,o);return r=a,e=>Hd(ar((e=>{const t=e;return[r(t[0]),i(t[1])]}),e))}}return Xd(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?qd:"System.String"===o?e=>e:"System.SByte"===o?$d:"System.Byte"===o?Bd:"System.Int16"===o?Yd:"System.UInt16"===o?Vd:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?Jd:"System.DateTimeOffset"===o?Wd:"System.TimeSpan"===o?Gd:"System.Guid"===o?zd:"System.Object"===o?e=>e:Xd(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function Qd(e,t,n,r,o,i){return function(e,t){return JSON.stringify(t,ft(2,null),_t(e))}(e,function(e,t,n,r){let o;const i=St(e,new Mi(0)),a=St(n,!0);return o=xt(r).ResolveType(),Zd(function(e){return null!=e?yi(((e,t)=>new yt(t[0])),e.Coders):wi()}(t),i,a,o)}(n,r,o,i)(t))}class Kd extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function em(e){const t=encodeURIComponent(e.fields[0]),n=encodeURIComponent("apollo-workflows-progress-app"),r=encodeURIComponent(So);return Io(0,(()=>{let e,o,i;const a=Si((o=Ci(new Po(1),xi(`${xo}/connect/token`)),e=ki(new Do(0,"Content-Type","application/x-www-form-urlencoded"),o),s=new jo(1,`grant_type=authorization_code&code=${t}&client_id=${n}&redirect_uri=${r}`),new Lo((u=e).url,u.method,u.headers,u.withCredentials,u.overridenMimeType,u.overridenResponseType,u.timeout,s)));var s,u;return i=mo.Bind(a,(e=>mo.Return(new ho(0,e)))),mo.Delay((()=>mo.Bind(i,(e=>{let t,n;const r=e;return 1===r.tag?mo.Return(new ho(1,r.fields[0])):mo.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ss(t.responseText,void 0,void 0,{ResolveType:Qr}),mo.Return(n)):mo.Return(new ho(1,"Unexpected result from backend"))))}))))}))}function tm(){let e,t;const n=Ct(document.getElementById("external-loading-page-container"));ir((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),kt(n))}function nm(e,t){const n=function(e){return[new bo(0),Ys(new Kr(0,new Kd(0),e))]}(t);return[new Oo(e.CurrentPage,n[0],e.AppMode),Bs((e=>new Ao(1,e)),n[1])]}function rm(e){let t;const n=e.dispatch,r=e.state;pr((()=>{window.addEventListener("progressComponentReady",(e=>{n(new Ao(3))}))}));const o=d("div",ct(jn([["className",fn(" ",["bg-white","p-6","overflow-x-hidden"])],(t=Kn(Xn((()=>{switch(r.CurrentPage.tag){case 1:return Qn(function(){let e,t,n,r,o,i,a,s;return d("div",ct(jn([["className",fn(" ",["h-screen"])],(e=[d("div",ct(jn([["className",fn(" ",["h-full","flex","justify-center","items-center"])],(t=[d("div",ct(jn([["className",fn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[(r=jn([(o=jn([d("h4",{className:fn(" ",["text-2xl","my-4","text-green-700"]),children:"Your identity is confirmed"}),d("p",{className:fn(" ",["mt-3","mb-5","text-gray-500"]),children:"You will be redirected in a moment."})]),d("div",{children:cr.Children.toArray(Array.from(o))})),d("p",ct(jn([["className",fn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(i=[(a=`Flare HR Pty Ltd © 2015-${s=Gt(),$t(s)}`,d("small",{children:[a]}))],["children",cr.Children.toArray(Array.from(i))])])))]),d("div",{children:cr.Children.toArray(Array.from(r))}))],["children",cr.Children.toArray(Array.from(n))])])))],["children",cr.Children.toArray(Array.from(t))])])))],["children",cr.Children.toArray(Array.from(e))])])))}());case 2:return Qn(d(To,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 Qn(d(Rd,{accessToken:n.access_token,backendUrl:Co}));case 1:return Qn(d("h1",{children:["There was an error signing you in. Please try sign in again."]}))}}}}))),["children",cr.Children.toArray(Array.from(t))])])));return so({hashMode:2,onUrlChanged:e=>{n(new Ao(0,e))},application:d(h,{},o)})}!function(e){tu(void 0,e)}(("workflows-progress-app",xd=Ks((function(){const e=No(ao(window.location.pathname+window.location.search,2)),t=rt(window.location,window.parent.location)?new Eo(1):new Eo(0),n=new Oo(e,new bo(0),t);let r;switch(r=1===e.tag?0:0===e.tag&&rt(t,new Eo(1))?1:2,r){case 0:return nm(n,e.fields[0]);case 1:{const e=Mt((e=>{return 1===(t=Ss(e,void 0,void 0,{ResolveType:Qr})).tag?void 0:_t(t.fields[0]);var t}),Ct(window.sessionStorage.getItem("credentials")));return null==e?[n,Ys(new Ao(2))]:[new Oo(n.CurrentPage,new bo(2,new ho(0,e)),n.AppMode),$s()]}case 2:return[n,Ys(new Ao(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=function(e,t){let n;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new bo(2,new ho(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),$s()]:[new bo(2,new ho(0,e.fields[0].fields[0].fields[0])),(n=window.location.pathname,r=e=>{!function(e,t,n){history.pushState(void 0,"",io(e,2));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Sn(n))},Sn(r))]:[new bo(1),Vs((e=>{!function(e){Ws(0,(t=>{wo(e)}))}(e)}),em,e.fields[1],(t=>{const n=[new Kd(1,t),e.fields[1]];return new Kr(0,n[0],n[1])}),(t=>{const n=[new Kd(1,new ho(1,t.message)),e.fields[1]];return new Kr(0,n[0],n[1])}))];var r}(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){const t=["credentials",Qd(0,new Zr(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),void 0,void 0,void 0,{ResolveType:Qr})];window.sessionStorage.setItem(t[0],t[1])}(a),[new Oo(t.CurrentPage,r,t.AppMode),Bs((e=>new Ao(1,e)),n[1])]}case 2:return tm(),[new Oo(new Mo(2),t.Credentials,t.AppMode),$s()];case 3:return tm(),[t,$s()];default:{const n=No(e.fields[0]),r=new Oo(n,t.Credentials,t.AppMode);return 1===n.tag?nm(r,n.fields[0]):[r,$s()]}}}),((e,t)=>d(rm,{state:e,dispatch:t}))),function(e,t,n){return eu(((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 Fd(n,(()=>t(n,r)),e);return d(Ud,o)}(ft(2,e),ft(2,t),n,r)),"workflows-progress-app",xd)))})()})();