@flarehr/bank-details-app 3.10.0 → 3.12.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -36,3 +36,13 @@ To build the project, run the following commands:
36
36
  ```bash
37
37
  npm run build
38
38
  ```
39
+
40
+ ## Launch in Development Mode
41
+
42
+ To launch the application in development mode, first open the `./Run-App-Dev.fsx` file and update the script settings, specifically the `profileId` and `apiKey` values.
43
+
44
+ Then, run the following fsharp script in the terminal:
45
+
46
+ ```bash
47
+ dotnet fsi .\Run-App-Dev.fsx
48
+ ```
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";function e(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function t(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function n(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 r{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 o(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new r(e[Symbol.iterator]())}function i(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}}}}function u(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function l(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class s{static id(e){return s.idMap.has(e)||s.idMap.set(e,++s.count),s.idMap.get(e)}}function c(e){return 2654435761*e|0}function a(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function f(t){var n;if(null==t)return 0;switch(typeof t){case"boolean":return t?1:0;case"number":return c(t);case"string":return function(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}(t);default:if(function(e){return"function"==typeof e.GetHashCode}(t))return t.GetHashCode();if(e(t))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=f(e[r]);return a(n)}(t);if(t instanceof Date)return function(e){return e.getTime()}(t);if((null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor)===Object){const e=Object.values(t).map((e=>f(e)));return a(e)}return c(s.id(t))}}function _(e,t){return function(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}(e,t,d)}function d(t,n){var r;return t===n||(null==t?null==n:null!=n&&"object"==typeof t&&(function(e){return"function"==typeof e.Equals}(t)?t.Equals(n):e(t)?e(n)&&_(t,n):t instanceof Date?n instanceof Date&&0===h(t,n):(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.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]||!d(e[n[o]],t[r[o]]))return!1;return!0}(t,n)))}function h(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+l(e),r=t.getTime()+l(t)),n===r?0:n<r?-1:1}function p(e,t){return e===t?0:e<t?-1:1}function v(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,m)}function m(t,n){var r;return t===n?0:null==t?null==n?0:-1:null==n?1:"object"!=typeof t?t<n?-1:1:function(e){return"function"==typeof e.CompareTo}(t)?t.CompareTo(n):e(t)?e(n)?v(t,n):-1:t instanceof Date?n instanceof Date?h(t,n):-1:(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.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 u=n[o];if(u!==r[o])return u<r[o]?-1:1;if(i=m(e[u],t[u]),0!==i)return i}return 0}(t,n):-1}function g(e,t,n){return e(t,n)>0?t:n}s.idMap=new WeakMap,s.count=0;const y=Symbol("curried");function w(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[y]=t,n}function b(e,t,n){return r=>1===t?n(...e.concat([r])):b(e.concat([r]),t-1,n)}function C(e,t){return null==t||1===t.length?t:y in t?t[y]:b([],e,t)}function E(e,t,n){if(null!=t){if(y in t){t=t[y];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return b(n,e,t)}}class S{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return f(this.value)}Equals(e){return null!=e&&d(this.value,e instanceof S?e.value:e)}CompareTo(e){return null==e?1:m(this.value,e instanceof S?e.value:e)}}function k(e){return null==e||e instanceof S?new S(e):e}function x(e){if(null==e)throw new Error("Option has no value");return e instanceof S?e.value:e}function O(e){return null==e?[]:[x(e)]}function N(e,t){return null!=e?x(e):t}function I(e,t){return null!=t?k(e(x(t))):void 0}const T=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),U=I((e=>e.getAttribute("data-identity-url")),T),P=I((e=>e.getAttribute("data-backend-url")),T);var A,M,D,H,R,L,j,G,F={},V=[],W=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,q=Array.isArray;function $(e,t){for(var n in t)e[n]=t[n];return e}function z(e){var t=e.parentNode;t&&t.removeChild(e)}function B(e,t,n){var r,o,i,u={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];if(arguments.length>2&&(u.children=arguments.length>3?A.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===u[i]&&(u[i]=e.defaultProps[i]);return J(e,u,r,o,null)}function J(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++D:o};return null==o&&null!=M.vnode&&M.vnode(i),i}function Y(e){return e.children}function Z(e,t){this.props=e,this.context=t}function Q(e,t){if(null==t)return e.__?Q(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?Q(e):null}function X(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 X(e)}}function K(e){(!e.__d&&(e.__d=!0)&&H.push(e)&&!ee.__r++||R!==M.debounceRendering)&&((R=M.debounceRendering)||L)(ee)}function ee(){var e,t,n,r,o,i,u,l,s;for(H.sort(j);e=H.shift();)e.__d&&(t=H.length,r=void 0,o=void 0,i=void 0,l=(u=(n=e).__v).__e,(s=n.__P)&&(r=[],o=[],(i=$({},u)).__v=u.__v+1,ae(s,u,i,n.__n,void 0!==s.ownerSVGElement,null!=u.__h?[l]:null,r,null==l?Q(u):l,u.__h,o),fe(r,u,o),u.__e!=l&&X(u)),H.length>t&&H.sort(j));ee.__r=0}function te(e,t,n,r,o,i,u,l,s,c,a){var f,_,d,h,p,v,m,g,y,w=0,b=r&&r.__k||V,C=b.length,E=C,S=t.length;for(n.__k=[],f=0;f<S;f++)null!=(h=n.__k[f]=null==(h=t[f])||"boolean"==typeof h||"function"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?J(null,h,null,null,h):q(h)?J(Y,{children:h},null,null,null):h.__b>0?J(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h)?(h.__=n,h.__b=n.__b+1,-1===(g=ie(h,b,m=f+w,E))?d=F:(d=b[g]||F,b[g]=void 0,E--),ae(e,h,d,o,i,u,l,s,c,a),p=h.__e,(_=h.ref)&&d.ref!=_&&(d.ref&&de(d.ref,null,h),a.push(_,h.__c||p,h)),null!=p&&(null==v&&(v=p),(y=d===F||null===d.__v)?-1==g&&w--:g!==m&&(g===m+1?w++:g>m?E>S-m?w+=g-m:w--:w=g<m&&g==m-1?g-m:0),m=f+w,"function"!=typeof h.type||g===m&&d.__k!==h.__k?"function"==typeof h.type||g===m&&!y?void 0!==h.__d?(s=h.__d,h.__d=void 0):s=p.nextSibling:s=oe(e,p,s):s=ne(h,s,e),"function"==typeof n.type&&(n.__d=s))):(d=b[f])&&null==d.key&&d.__e&&(d.__e==s&&(s=Q(d)),he(d,d,!1),b[f]=null);for(n.__e=v,f=C;f--;)null!=b[f]&&("function"==typeof n.type&&null!=b[f].__e&&b[f].__e==n.__d&&(n.__d=b[f].__e.nextSibling),he(b[f],b[f]))}function ne(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?ne(r,t,n):oe(n,r.__e,t));return t}function re(e,t){return t=t||[],null==e||"boolean"==typeof e||(q(e)?e.some((function(e){re(e,t)})):t.push(e)),t}function oe(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function ie(e,t,n,r){var o=e.key,i=e.type,u=n-1,l=n+1,s=t[n];if(null===s||s&&o==s.key&&i===s.type)return n;if(r>(null!=s?1:0))for(;u>=0||l<t.length;){if(u>=0){if((s=t[u])&&o==s.key&&i===s.type)return u;u--}if(l<t.length){if((s=t[l])&&o==s.key&&i===s.type)return l;l++}}return-1}function ue(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||W.test(t)?n:n+"px"}function le(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||ue(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ue(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),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?ce:se,i):e.removeEventListener(t,i?ce:se,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function se(e){return this.l[e.type+!1](M.event?M.event(e):e)}function ce(e){return this.l[e.type+!0](M.event?M.event(e):e)}function ae(e,t,n,r,o,i,u,l,s,c){var a,f,_,d,h,p,v,m,g,y,w,b,C,E,S,k=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(s=n.__h,l=t.__e=n.__e,t.__h=null,i=[l]),(a=M.__b)&&a(t);e:if("function"==typeof k)try{if(m=t.props,g=(a=k.contextType)&&r[a.__c],y=a?g?g.props.value:a.__:r,n.__c?v=(f=t.__c=n.__c).__=f.__E:("prototype"in k&&k.prototype.render?t.__c=f=new k(m,y):(t.__c=f=new Z(m,y),f.constructor=k,f.render=pe),g&&g.sub(f),f.props=m,f.state||(f.state={}),f.context=y,f.__n=r,_=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=k.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=$({},f.__s)),$(f.__s,k.getDerivedStateFromProps(m,f.__s))),d=f.props,h=f.state,f.__v=t,_)null==k.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==k.getDerivedStateFromProps&&m!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(m,y),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(m,f.__s,y)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=m,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),w=0;w<f._sb.length;w++)f.__h.push(f._sb[w]);f._sb=[],f.__h.length&&u.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(m,f.__s,y),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,h,p)}))}if(f.context=y,f.props=m,f.__P=e,f.__e=!1,b=M.__r,C=0,"prototype"in k&&k.prototype.render){for(f.state=f.__s,f.__d=!1,b&&b(t),a=f.render(f.props,f.state,f.context),E=0;E<f._sb.length;E++)f.__h.push(f._sb[E]);f._sb=[]}else do{f.__d=!1,b&&b(t),a=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++C<25);f.state=f.__s,null!=f.getChildContext&&(r=$($({},r),f.getChildContext())),_||null==f.getSnapshotBeforeUpdate||(p=f.getSnapshotBeforeUpdate(d,h)),te(e,q(S=null!=a&&a.type===Y&&null==a.key?a.props.children:a)?S:[S],t,n,r,o,i,u,l,s,c),f.base=t.__e,t.__h=null,f.__h.length&&u.push(f),v&&(f.__E=f.__=null)}catch(e){t.__v=null,(s||null!=i)&&(t.__e=l,t.__h=!!s,i[i.indexOf(l)]=null),M.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=_e(n.__e,t,n,r,o,i,u,s,c);(a=M.diffed)&&a(t)}function fe(e,t,n){for(var r=0;r<n.length;r++)de(n[r],n[++r],n[++r]);M.__c&&M.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){M.__e(e,t.__v)}}))}function _e(e,t,n,r,o,i,u,l,s){var c,a,f,_=n.props,d=t.props,h=t.type,p=0;if("svg"===h&&(o=!0),null!=i)for(;p<i.length;p++)if((c=i[p])&&"setAttribute"in c==!!h&&(h?c.localName===h:3===c.nodeType)){e=c,i[p]=null;break}if(null==e){if(null===h)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),i=null,l=!1}if(null===h)_===d||l&&e.data===d||(e.data=d);else{if(i=i&&A.call(e.childNodes),a=(_=n.props||F).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!l){if(null!=i)for(_={},p=0;p<e.attributes.length;p++)_[e.attributes[p].name]=e.attributes[p].value;(f||a)&&(f&&(a&&f.__html==a.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||le(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]||le(e,i,t[i],n[i],r)}(e,d,_,o,l),f)t.__k=[];else if(te(e,q(p=t.props.children)?p:[p],t,n,r,o&&"foreignObject"!==h,i,u,i?i[0]:n.__k&&Q(n,0),l,s),null!=i)for(p=i.length;p--;)null!=i[p]&&z(i[p]);l||("value"in d&&void 0!==(p=d.value)&&(p!==e.value||"progress"===h&&!p||"option"===h&&p!==_.value)&&le(e,"value",p,_.value,!1),"checked"in d&&void 0!==(p=d.checked)&&p!==e.checked&&le(e,"checked",p,_.checked,!1))}return e}function de(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){M.__e(e,n)}}function he(e,t,n){var r,o;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||de(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){M.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&he(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||z(e.__e),e.__=e.__e=e.__d=void 0}function pe(e,t,n){return this.constructor(e,n)}function ve(e,t,n){var r,o,i,u;M.__&&M.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],u=[],ae(t,e=(!r&&n||t).__k=B(Y,null,[e]),o||F,F,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?A.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,u),fe(i,e,u)}function me(e,t){ve(e,t,me)}function ge(e,t,n){var r,o,i,u,l=$({},e.props);for(i in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==i?r=t[i]:"ref"==i?o=t[i]:l[i]=void 0===t[i]&&void 0!==u?u[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?A.call(arguments,2):n),J(e.type,l,r||e.key,o||e.ref,null)}A=V.slice,M={__e:function(e,t,n,r){for(var o,i,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(t){e=t}throw e}},D=0,Z.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=$({},this.state),"function"==typeof e&&(e=e($({},n),this.props)),e&&$(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),K(this))},Z.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),K(this))},Z.prototype.render=Y,H=[],L="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,j=function(e,t){return e.__v.__b-t.__v.__b},ee.__r=0,G=0;var ye,we,be,Ce,Ee=0,Se=[],ke=[],xe=M.__b,Oe=M.__r,Ne=M.diffed,Ie=M.__c,Te=M.unmount;function Ue(e,t){M.__h&&M.__h(we,e,Ee||t),Ee=0;var n=we.__H||(we.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ke}),n.__[e]}function Pe(e){return Ee=1,Ae(We,e)}function Ae(e,t,n){var r=Ue(ye++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):We(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=we,!we.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var u=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(u=!0)}})),!(!u&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};we.u=!0;var i=we.shouldComponentUpdate,u=we.componentWillUpdate;we.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}u&&u.call(this,e,t,n)},we.shouldComponentUpdate=o}return r.__N||r.__}function Me(e,t){var n=Ue(ye++,3);!M.__s&&Ve(n.__H,t)&&(n.__=e,n.i=t,we.__H.__h.push(n))}function De(e,t){var n=Ue(ye++,4);!M.__s&&Ve(n.__H,t)&&(n.__=e,n.i=t,we.__h.push(n))}function He(e,t){var n=Ue(ye++,7);return Ve(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Re(){for(var e;e=Se.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ge),e.__H.__h.forEach(Fe),e.__H.__h=[]}catch(t){e.__H.__h=[],M.__e(t,e.__v)}}M.__b=function(e){we=null,xe&&xe(e)},M.__r=function(e){Oe&&Oe(e),ye=0;var t=(we=e.__c).__H;t&&(be===we?(t.__h=[],we.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=ke,e.__N=e.i=void 0}))):(t.__h.forEach(Ge),t.__h.forEach(Fe),t.__h=[],ye=0)),be=we},M.diffed=function(e){Ne&&Ne(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Se.push(t)&&Ce===M.requestAnimationFrame||((Ce=M.requestAnimationFrame)||je)(Re)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==ke&&(e.__=e.__V),e.i=void 0,e.__V=ke}))),be=we=null},M.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Ge),e.__h=e.__h.filter((function(e){return!e.__||Fe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],M.__e(n,e.__v)}})),Ie&&Ie(e,t)},M.unmount=function(e){Te&&Te(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{Ge(e)}catch(e){t=e}})),n.__H=void 0,t&&M.__e(t,n.__v))};var Le="function"==typeof requestAnimationFrame;function je(e){var t,n=function(){clearTimeout(r),Le&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Le&&(t=requestAnimationFrame(n))}function Ge(e){var t=we,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),we=t}function Fe(e){var t=we;e.__c=e.__(),we=t}function Ve(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function We(e,t){return"function"==typeof t?t(e):t}function qe(e,t){for(var n in t)e[n]=t[n];return e}function $e(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 ze(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function Be(e){this.props=e}(Be.prototype=new Z).isPureReactComponent=!0,Be.prototype.shouldComponentUpdate=function(e,t){return $e(this.props,e)||$e(this.state,t)};var Je=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Je&&Je(e)};var Ye="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Ze=function(e,t){return null==e?null:re(re(e).map(t))},Qe={map:Ze,forEach:Ze,count:function(e){return e?re(e).length:0},only:function(e){var t=re(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:re},Xe=M.__e;M.__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);Xe(e,t,n,r)};var Ke=M.unmount;function et(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=qe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return et(e,t,n)}))),e}function tt(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return tt(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function nt(){this.__u=0,this.t=null,this.__b=null}function rt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ot(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Ke&&Ke(e)},(nt.prototype=new Z).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=rt(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=u;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=tt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},s=!0===t.__h;r.__u++||s||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},nt.prototype.componentWillUnmount=function(){this.t=[]},nt.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]=et(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&B(Y,null,e.fallback);return o&&(o.__h=null),[B(Y,null,t.__a?null:e.children),o]};var it=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 ut(e){return this.getChildContext=function(){return e.context},e.children}function lt(e){var t=this,n=e.i;t.componentWillUnmount=function(){ve(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),ve(B(ut,{context:t.context},e.__v),t.l)}(ot.prototype=new Z).__a=function(e){var t=this,n=rt(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),it(t,e,r)):o()};n?n(i):i()}},ot.prototype.render=function(e){this.u=null,this.o=new Map;var t=re(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},ot.prototype.componentDidUpdate=ot.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){it(e,n,t)}))};var st="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ct=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,at=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ft=/[A-Z0-9]/g,_t="undefined"!=typeof document,dt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function ht(e,t,n){return null==t.__k&&(t.textContent=""),ve(e,t),"function"==typeof n&&n(),e?e.__c:null}Z.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Z.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var pt=M.event;function vt(){}function mt(){return this.cancelBubble}function gt(){return this.defaultPrevented}M.event=function(e){return pt&&(e=pt(e)),e.persist=vt,e.isPropagationStopped=mt,e.isDefaultPrevented=gt,e.nativeEvent=e};var yt,wt={enumerable:!1,configurable:!0,get:function(){return this.class}},bt=M.vnode;M.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||_t&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var u=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===u?o="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||dt(t.type)?"onfocus"===u?o="onfocusin":"onblur"===u?o="onfocusout":at.test(o)?o=u:-1===n.indexOf("-")&&ct.test(o)?o=o.replace(ft,"-$&").toLowerCase():null===i&&(i=void 0):u=o="oninput","oninput"===u&&r[o=u]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=re(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=re(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",wt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=st,bt&&bt(e)};var Ct=M.__r;M.__r=function(e){Ct&&Ct(e),yt=e.__c};var Et=M.diffed;M.diffed=function(e){Et&&Et(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),yt=null};var St={ReactCurrentDispatcher:{current:{readContext:function(e){return yt.__n[e.__c].props.value}}}};function kt(e){return!!e&&e.$$typeof===st}function xt(e){e()}var Ot={useState:Pe,useId:function(){var e=Ue(ye++,11);if(!e.__){for(var t=we.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useReducer:Ae,useEffect:Me,useLayoutEffect:De,useInsertionEffect:De,useTransition:function(){return[!1,xt]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Pe({h:{__:n,v:t}}),o=r[0].h,i=r[1];return De((function(){o.__=n,o.v=t,ze(o.__,t())||i({h:o})}),[e,n,t]),Me((function(){return ze(o.__,o.v())||i({h:o}),e((function(){ze(o.__,o.v())||i({h:o})}))}),[e]),n},startTransition:xt,useRef:function(e){return Ee=5,He((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){Ee=6,De((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:He,useCallback:function(e,t){return Ee=8,He((function(){return e}),t)},useContext:function(e){var t=we.context[e.__c],n=Ue(ye++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(we)),t.props.value):e.__},useDebugValue:function(e,t){M.useDebugValue&&M.useDebugValue(t?t(e):e)},version:"17.0.2",Children:Qe,render:ht,hydrate:function(e,t,n){return me(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(ve(null,e),!0)},createPortal:function(e,t){var n=B(lt,{__v:e,i:t});return n.containerInfo=t,n},createElement:B,createContext:function(e,t){var n={__c:t="__cC"+G++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,K(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return B.bind(null,e)},cloneElement:function(e){return kt(e)?ge.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Y,isValidElement:kt,isElement:kt,isFragment:function(e){return kt(e)&&e.type===Y},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:Z,PureComponent:Be,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:$e(this.props,e)}function r(t){return this.shouldComponentUpdate=n,B(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=qe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ye,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:Y,Suspense:nt,SuspenseList:ot,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 B(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:St};function Nt(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+=Nt(r);else{if(100===t){n+="; ...";break}n+="; "+Nt(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+" = "+Nt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class It{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=Nt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>Nt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>f(e)));return e.splice(0,0,c(this.tag)),a(e)}Equals(e){return this===e||!!n(this,e)&&this.tag===e.tag&&_(this.fields,e.fields)}CompareTo(e){return this===e?0:n(this,e)?this.tag===e.tag?v(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Tt{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+" = "+Nt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>f(e)));return a(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!d(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(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=m(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}const Ut=0,Pt=1,At=2,Mt=3,Dt=4;function Ht(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}class Rt extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}function Lt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+u(~~(e/36e5),2)+":"+u(n,2)}function jt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Gt(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}))}const Ft=Symbol("numeric");function Vt(e,t){return"number"==typeof e?e.toPrecision(t):e[Ft]().toPrecision(t)}function Wt(e,t){return"number"==typeof e?e.toExponential(t):e[Ft]().toExponential(t)}function qt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Ft]().toHex()}function $t(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const zt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function Bt(e){return{input:e,cont:(t=e,e=>{zt.lastIndex=0;const n=[],r=[];let o=0,i=zt.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=zt.lastIndex,zt.lastIndex-=1,i=zt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Zt(e,n,r))})};var t}function Jt(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function Yt(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||(null==e?void 0:e[Ft])}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e,t){return"number"==typeof e?-1*e:e[Ft]().multiply(-1)}(e),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=function(e,t){return"number"==typeof e?e.toFixed(t):e[Ft]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Vt(e,r):Vt(e);break;case"e":case"E":e=null!=r?Wt(e,r):Wt(e);break;case"x":e=qt(e);break;case"X":e=qt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(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," ")+Lt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Gt(i,t,!0);switch(t){case"D":case"d":return jt(i,"first");case"T":case"t":return jt(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Lt(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 Gt(e,t,n);switch(t){case"D":case"d":return n?jt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?jt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return u(e.getFullYear(),4)+"-"+u(e.getMonth()+1,2)+"-"+u(e.getDate(),2)+"T"+u(e.getHours(),2)+":"+u(e.getMinutes(),2)+":"+u(e.getSeconds(),2)+"."+u(e.getMilliseconds(),3)+(t?Lt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):Nt(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,u=o||!r?" ":"0";e="0"===u?i+(e=Kt(e,n-i.length,u,o)):Kt(i+e,n,u,o)}return e}function Zt(e,t,n,r="",o=-1){return(...i)=>{let u=r;const l=t.slice(),s=n.slice();for(const e of i){const[,,t,n,r,i]=s[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}u+=l[0],u+=Yt(e,t,c,r,i),l.splice(0,1),s.splice(0,1)}return 0===s.length?(u+=l[0],e(u)):Zt(e,l,s,u,o)}}function Qt(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function Xt(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Kt(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 en(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const tn="Collection was empty.";class nn extends Tt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Xt("; ",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],u=o[1];if(d(n.head,r.head)){e=i,t=u;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,u=i.tail;if(null==u)return 0|o;{const l=u;if(r>18)return 0|o;e=r+1,t=(o<<1)+f(i.head)+631*r,n=l}}})(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],u=o[1],l=0|m(n.head,r.head);if(0===l){e=i,t=u;continue e}return 0|l}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new rn(this)}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return o(this)}}class rn{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 on(){return new nn(null,void 0)}function un(e,t){return new nn(e,t)}function ln(e){return null==e.tail}function sn(e){if(null!=e.tail)return e.head;throw new Error(tn+"\\nParameter name: list")}function cn(e){const t=e.tail;if(null!=t)return t;throw new Error(tn+"\\nParameter name: list")}function an(){return on()}function fn(e){return un(e,on())}function _n(e){return ln(e)}function dn(e){return sn(e)}function hn(e){return cn(e)}function pn(e,t,n){let r=t,o=n;for(;!ln(o);)r=e(r,sn(o)),o=cn(o);return r}function vn(e,t){pn(((t,n)=>{e(n)}),void 0,t)}function mn(e){return function(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=un(e[t],n);return n}(e,on())}function gn(e,t){const n=on(),r=pn(((t,n)=>{const r=new nn(e(n),void 0);return t.tail=r,r}),n,t),o=on();return r.tail=o,cn(n)}function yn(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,u=0|n.length;if(i>u)return!1;if(i<u)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}const wn="Enumeration already finished.",bn="Enumeration has not started. Call MoveNext.",Cn="The input sequence has an insufficient number of elements.";function En(){throw new Error(bn)}function Sn(){throw new Error(wn)}class kn{constructor(e){this.f=e}toString(){let e=0,n="seq [";const r=o(this);try{for(;e<4&&r["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=Nt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{t(r)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class xn{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 On(e,t,n){return new xn(e,t,n)}function Nn(e,t,n){let r,o=!1,i=k(e());const u=()=>{if(null!=i){const e=x(i);try{n(e)}finally{i=void 0}}},l=()=>{try{u()}finally{r=void 0}};return On((()=>(o||En(),null!=r?x(r):Sn())),(()=>{if(o||(o=!0),null!=i){const e=x(i);let n;try{n=t(e)}catch(e){throw l(),e}return null!=n?(r=n,!0):(l(),!1)}return!1}),u)}function In(e){return function(e){return new kn(e)}(e)}function Tn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),o(e);var t}function Un(e){return In((()=>o(e())))}function Pn(e){return In((()=>function(e){let n,r,i,u=!1,l=!1;const s=()=>{if(l=!0,null!=r){const e=r;try{t(e)}finally{r=void 0}}if(null!=n){const e=n;try{t(e)}finally{n=void 0}}};return On((()=>(u?l&&Sn():En(),null!=i?x(i):Sn())),(()=>{let c;if(u||(u=!0),l)return!1;{let u;for(;null==u;){const l=[n,r];if(null!=l[0])if(null!=l[1]){const e=l[1];if(e["System.Collections.IEnumerator.MoveNext"]())i=k(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{t(e)}finally{r=void 0}}else{const e=l[0];e["System.Collections.IEnumerator.MoveNext"]()?(c=e["System.Collections.Generic.IEnumerator`1.get_Current"](),r=o(c)):(s(),u=!1)}else n=o(e)}return x(u)}}),(()=>{l||s()}))}(e)))}function An(e){return Un((()=>function(e,t){const n=function(e,t){return"function"==typeof e?new e(t):new Array(t)}(void 0,1);return n[0]=e,n}(e)))}function Mn(e,t){return Pn([e,t])}function Dn(e,n){!function(e,n,r){const o=Tn(r);try{let t=n;for(;o["System.Collections.IEnumerator.MoveNext"]();)t=e(t,o["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{t(o)}}(((t,n)=>{e(n)}),void 0,n)}function Hn(e,n){return r=()=>Tn(n),o=t=>t["System.Collections.IEnumerator.MoveNext"]()?k(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{t(e)},In((()=>Nn(r,o,i)));var r,o,i}function Rn(e,n){return In((()=>{const r=Tn(n);try{for(let t=1;t<=e;t++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(Cn+"\\nParameter name: source");return function(e,n){return On((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{t(n)}finally{e()}}))}((()=>{}),r)}catch(e){throw t(r),e}}))}Symbol.iterator;const Ln=Ot;function jn(e){return{Dispose(){e()}}}function Gn(e){var t;t=e,Me((()=>{const e=t();return()=>{e.Dispose()}}))}function Fn(e,t){const n=N(t,[]);return Ln.useMemo(e,n)}function Vn(e){const t=(r=e,Ln.useRef(r)),n=function(e,n){const r=N([],[]);return Ln.useCallback((e=>t.current(e)),r)}();var r,o,i;return o=()=>{t.current=e},i=e=>(o(),jn((()=>{}))),De((()=>{const e=i();return()=>{e.Dispose()}})),n}const Wn=(()=>{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 qn(e){return I((e=>e.passive&&!Wn?{capture:e.capture,once:e.once,passive:!1}:e),e)}function $n(e){return null!=(t=e)?(e=>e.capture?{capture:!0}:void 0)(x(t)):void 0;var t}function zn(e,t){return 0===t.indexOf(e)?t:void 0}function Bn(e,t){return Qt(t,e)?t:void 0}function Jn(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=zn("/",e),null!=t?(n=t,"#"+n):(r=zn("#/",e),null!=r?(o=r,o):(i=zn("#",e),null!=i?(u=i,"#/"+en(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=zn("/",e),null!=t?(n=t,n):"/"+e}}(t)(Xt("/",gn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function Yn(e,t){return function(e,t){let n,r;const o=on();let i=o,u=t;for(;!ln(u);){let t=e(sn(u));for(;!ln(t);)n=i,r=new nn(sn(t),void 0),n.tail=r,i=r,t=cn(t);u=cn(u)}const l=i,s=on();return l.tail=s,cn(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return an();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+$t(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return an();if(null!=zn("?",t))return fn(t);{const e=t.split("?");if(yn(((e,t)=>e===t),e,null)||1!==e.length){if(yn(((e,t)=>e===t),e,null)||2!==e.length)return an();if(""===e[1]){const t=e[0];return fn(decodeURIComponent(t))}{const t=e[0],n=e[1];return mn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return fn(decodeURIComponent(t))}}}var t}),mn(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($t),t=t.length>0?t:["\\s"];const u=[],l=new RegExp(t.join("|"),"g");let s=!0,c=0;do{const t=l.exec(e);if(null===t){const t=i?e.substring(c).trim():e.substring(c);(!o||t.length>0)&&u.push(t),s=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(c).trim():e.substring(c)),s=!1):u.push(r)),c=l.lastIndex}}while(s);return u}(null!=zn("#",e)?en(e,1,e.length-1):1!==t||null==Bn("#",e)&&null==Bn("#/",e)?e:"",["/"],null,0)))}const Zn=function(e,t,n,r){const o=Ln.memo(e,w(2,N(C(2,n),null)));return Dn((t=>{e.displayName=t}),O(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return Ln.createElement(o,t)}}((e=>{const t=Vn((t=>{const n=N(e.onUrlChanged,(e=>{}));!function(e,t,n){t(Yn(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(N(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=Fn((()=>qn(r)),[r]),i=Fn((()=>$n(r)),[r]),u=Fn((()=>e=>{n(e)}),[n]);Gn(Vn((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return jn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Fn((()=>qn(r)),[r]),i=Fn((()=>$n(r)),[r]),u=Fn((()=>e=>{n(e)}),[n]);Gn(Vn((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return jn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Fn((()=>qn(o)),[o]),u=Fn((()=>$n(o)),[o]),l=Fn((()=>e=>{r(e)}),[r]);Gn(Vn((()=>{if(null==i)window.addEventListener(n,l);else{const e=i;window.addEventListener(n,l,e)}return jn((()=>{if(null==u)window.removeEventListener(n,l);else{const e=u;window.removeEventListener(n,l,e)}}))})));const s=e.application;return null==s?null:s}),void 0,void 0,void 0);class Qn extends Tt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Xn extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}function Kn(e,t,n){vn((n=>{try{n(t)}catch(t){e(t)}}),n)}function er(){return an()}function tr(e,t){return gn((t=>n=>{t((t=>{n(e(t))}))}),t)}function nr(e){return fn((t=>{t(e)}))}function rr(e,t,n,r){return fn((o=>{e(t).then((e=>o(n(e)))).catch((e=>o(r(e))))}))}function or(e,t,n,r,o){const i=function(e,t,n,r){const o=0|m(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|m(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return Un((()=>{return t=i,n=e,In((()=>function(e,t){let n,r=t;return On((()=>{if(null!=n){const e=n[0];return n[1],e}return En()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class ir extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class ur{constructor(e){var t,n;this.state=new ir(0,(t=new Array(g(p,e,10)),n=g(p,e,10),t.fill(null,0,0+n)),0)}}function lr(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 ir(0,o,n):new ir(1,o,n,i),k(o[r])}}function sr(e,n){const r=e.state;if(1===r.tag){const u=0|r.fields[1],l=0|r.fields[2],s=r.fields[0];s[u]=n;const c=(u+1)%s.length|0;e.state=c===l?new ir(1,(o=l,i=s,Array.from(Un((()=>Mn(Rn(o,i),Un((()=>{return Mn((e=o,n=i,r=()=>Tn(n),u=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return k(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Cn+"\\nParameter name: source")}},l=e=>{t(e)},In((()=>{let e=-1;return Nn(r,(t=>(e=e+1|0,u(e,t))),l)}))),Un((()=>{return e=e=>An(null),0,1,n=i.length,t=or(0,1,n,0,((e,t)=>e+t)),Un((()=>Pn(Hn(e,t))));var e,t,n})));var e,n,r,u,l}))))))),s.length,0):new ir(1,s,c,l)}else{const t=0|r.fields[1],o=r.fields[0];o[t]=n;const i=(t+1)%o.length|0;e.state=new ir(1,o,i,t)}var o,i}class cr extends Tt{constructor(e,t,n,r,o,i,u){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=u}}function ar(n,r){const i=r.init(n),u=i[0],l=new ur(10);let s=!1,c=u;const a=E(1,r.syncDispatch,[e=>{if(s)sr(l,e);else{s=!0;let t=k(e);for(;null!=t;){const e=x(t);try{const t=r.update(e,c),n=t[0];r.setState(n,a),Kn((t=>{r.onError([Jt(Bt("Error in command while handling: %A"))(e),t])}),a,t[1]),c=n}catch(t){r.onError([Jt(Bt("Unable to process the message: %A"))(e),t])}t=lr(l)}s=!1}}]);r.setState(u,a),Kn((e=>{r.onError(["Error intitializing:",e])}),a,function(n){const r=on();let i=r;const u=e=>{i=pn(((e,t)=>{const n=new nn(t,void 0);return e.tail=n,n}),i,e)};if(e(n))n.forEach(u);else if(n instanceof nn)vn(u,n);else{const e=o(n);try{for(;e["System.Collections.IEnumerator.MoveNext"]();)u(e["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t(e)}}const l=i,s=on();return l.tail=s,cn(r)}(mn([(()=>{try{return r.subscribe(u)}catch(e){return r.onError(["Unable to subscribe:",e]),er()}})(),i[1]])))}class fr extends Tt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class _r extends Z{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class dr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Token"]}}class hr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["QueryString"]}}class pr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function vr(e){let t,n,r;switch(_n(e)?t=0:"oidc"===dn(e)?_n(hn(e))?t=3:"callback"===dn(hn(e))?_n(hn(hn(e)))?t=3:_n(hn(hn(hn(e))))?(t=1,n=dn(hn(hn(e)))):t=3:"silent-refresh"===dn(hn(e))?_n(hn(hn(e)))?t=3:_n(hn(hn(hn(e))))?(t=2,r=dn(hn(hn(e)))):t=3:t=3:t=3,t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new pr(0);{const e=n;return Dn((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),O(t.get("success-redirection-url"))),new pr(1,new dr(0,e))}}case 1:return new pr(2,new hr(0,n));case 2:return new pr(3,new hr(0,r));case 3:return new pr(4)}}class mr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class gr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class yr extends Tt{constructor(e){super(),this.AccessToken=e}}function wr(e){return new yr(e.access_token)}class br extends Tt{constructor(e){super(),this.Auth=e}}class Cr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class Er extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}const Sr=(()=>{const e={};return e.store=k(window.sessionStorage),e})();function kr(){return new UserManager(function(){const e=function(e){return Qt(e,"/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=U,t.client_id="apollo-bank-details-ui",t.redirect_uri=e+"#/oidc/callback?",t.response_type="id_token token",t.scope="openid profile",t.automaticSilentRenew=!0,t.silent_redirect_uri=k(e+"#/oidc/silent-refresh?"),t.post_logout_redirect_uri=e+"#/oidc/logout?",t.accessTokenExpiringNotificationTime=10,t.filterProtocolClaims=!0,t.loadUserInfo=!1,t.clockSkew=2592e3,t.userStore=new WebStorageStateStore(Sr),t}())}function xr(e){return e.length>0?en(e,1):e}function Or(e){return kr().signinRedirect(k({extraQueryParams:{irt:e.fields[0]}}))}function Nr(e){return kr().signinRedirectCallback(xr(e.fields[0]))}function Ir(e){return kr().signinSilentCallback(xr(e.fields[0]))}function Tr(){return kr().getUser()}var Ur;!function(e){ar(void 0,e)}(("bank-details-app",Ur=function(e,t,n){return new cr((function(){const e=vr(Yn(window.location.hash,1)),t=function(){const e=vr(Yn(window.location.hash,1));return[new br(new mr(0)),1===e.tag?nr(new Cr(1,new gr(0),e.fields[0])):2===e.tag?nr(new Cr(2,new gr(0),e.fields[0])):3===e.tag?nr(new Cr(3,new gr(0),e.fields[0])):nr(new Cr(0,new gr(0)))]}();return[new Qn(e,t[0]),tr((e=>new Xn(1,e)),t[1])]}),t,(e=>er()),n,w(2,(e=>{const t=E(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(k(t),n)}),w(2,(e=>e)))}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new br(new mr(2,new Er(1,e))),er()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,er()]:[new br(new mr(1)),(o=Or,i=e.fields[1],u=t=>new Cr(1,new gr(1,new Er(1,t.message)),e.fields[1]),fn((e=>{o(i).catch((t=>{e(u(t))}))})))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new br(new mr(2,new Er(0,wr(e.fields[0].fields[0].fields[0])))),(r=e=>{!function(e,t,n){history.pushState(void 0,"",Jn(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(fn(""))},fn(r))]:[new br(new mr(1)),rr(Nr,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new Cr(2,new gr(1,new Er(0,t)),e.fields[1]))),(t=>new Cr(2,new gr(1,new Er(1,t.message)),e.fields[1])))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("silent refresh expected a user but got none"):[new br(new mr(2,new Er(0,wr(e.fields[0].fields[0].fields[0])))),er()]:[t,rr(Ir,e.fields[1],(t=>new Cr(3,new gr(1,new Er(0,t)),e.fields[1])),(t=>new Cr(3,new gr(1,new Er(1,t.message)),e.fields[1])))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("expected a user but got none"):[new br(new mr(2,new Er(0,wr(e.fields[0].fields[0].fields[0])))),er()]:[new br(new mr(1)),rr(Tr,void 0,(e=>new Cr(0,new gr(1,new Er(0,e)))),(e=>new Cr(0,new gr(1,new Er(1,e.message)))))];var r,o,i,u}(e.fields[0],t.Auth);return[new Qn(t.CurrentPage,n[0]),tr((e=>new Xn(1,e)),n[1])]}return[new Qn(vr(e.fields[0]),t.Auth),er()]}),(function(e,t){let n;const r=[P,U];let o,i;switch(null!=r[0]&&null!=r[1]?(o=0,i=r[0]):o=1,o){case 0:switch(e.CurrentPage.tag){case 1:case 2:case 3:n=B("div",{},"Please wait...");break;case 4:n=B("h1",{},"Not found");break;default:{const t=e.Auth.Auth;let r,o;switch(2===t.tag&&0===t.fields[0].tag?(r=0,o=t.fields[0].fields[0]):r=1,r){case 0:u=[],n=B("bank-component",function(e,t=Ut){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case Pt:return e.charAt(0).toLowerCase()+e.slice(1);case At:return Ht(e,"_");case Mt:return Ht(e,"_").toUpperCase();case Dt:return Ht(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=Ut;if(null==t&&o(t),t instanceof It){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}([new Rt(0,i),new Rt(1,o.AccessToken)],1),...u);break;case 1:n=B("h1",{},"Unauthorised")}}}break;case 1:n=B("h1",{},"Invalid attribute configuration")}var u;return Zn({onUrlChanged:e=>{t(new Xn(0,e))},application:B(Y,{},n)})})),function(e,t,n){return function(e,t){return new cr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}(((r,o)=>{ht(e((e=>t=>e===t),function(e){return C(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new fr(n,(()=>t(n,r)),e);return B(_r,o)}(w(2,e),w(2,t),n,r)),"bank-details-app",Ur)))})();
1
+ (()=>{"use strict";var e,t,n,r,o,i,u,s,c,l,a,f,_={},d=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function g(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function v(t,n,r){var o,i,u,s={};for(u in n)"key"==u?o=n[u]:"ref"==u?i=n[u]:s[u]=n[u];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(u in t.defaultProps)void 0===s[u]&&(s[u]=t.defaultProps[u]);return y(t,s,o,i,null)}function y(e,r,o,i,u){var s={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==u?++n:u,__i:-1,__u:0};return null==u&&null!=t.vnode&&t.vnode(s),s}function w(e){return e.children}function b(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?C(e):null}function S(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 S(e)}}function E(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!k.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(k)}function k(){var e,n,o,i,s,c,l,a;for(r.sort(u);e=r.shift();)e.__d&&(n=r.length,i=void 0,c=(s=(o=e).__v).__e,l=[],a=[],o.__P&&((i=m({},s)).__v=s.__v+1,t.vnode&&t.vnode(i),U(o.__P,i,s,o.__n,o.__P.namespaceURI,32&s.__u?[c]:null,l,null==c?C(s):c,!!(32&s.__u),a),i.__v=s.__v,i.__.__k[i.__i]=i,R(l,i,a),i.__e!=c&&S(i)),r.length>n&&r.sort(u));k.__r=0}function x(e,t,n,r,o,i,u,s,c,l,a){var f,h,p,m,g,v,y=r&&r.__k||d,w=t.length;for(c=I(n,t,y,c,w),f=0;f<w;f++)null!=(p=n.__k[f])&&(h=-1===p.__i?_:y[p.__i]||_,p.__i=f,v=U(e,p,h,o,i,u,s,c,l,a),m=p.__e,p.ref&&h.ref!=p.ref&&(h.ref&&H(h.ref,null,p),a.push(p.ref,p.__c||m,p)),null==g&&null!=m&&(g=m),4&p.__u||h.__k===p.__k?c=O(p,c,e):"function"==typeof p.type&&void 0!==v?c=v:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=g,c}function I(e,t,n,r,o){var i,u,s,c,l,a=n.length,f=a,_=0;for(e.__k=new Array(o),i=0;i<o;i++)null!=(u=t[i])&&"boolean"!=typeof u&&"function"!=typeof u?(c=i+_,(u=e.__k[i]="string"==typeof u||"number"==typeof u||"bigint"==typeof u||u.constructor==String?y(null,u,null,null,null):p(u)?y(w,{children:u},null,null,null):void 0===u.constructor&&u.__b>0?y(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):u).__=e,u.__b=e.__b+1,s=null,-1!==(l=u.__i=T(u,n,c,f))&&(f--,(s=n[l])&&(s.__u|=2)),null==s||null===s.__v?(-1==l&&_--,"function"!=typeof u.type&&(u.__u|=4)):l!=c&&(l==c-1?_--:l==c+1?_++:(l>c?_--:_++,u.__u|=4))):e.__k[i]=null;if(f)for(i=0;i<a;i++)null!=(s=n[i])&&!(2&s.__u)&&(s.__e==r&&(r=C(s)),G(s,s));return r}function O(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=O(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=C(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function N(e,t){return t=t||[],null==e||"boolean"==typeof e||(p(e)?e.some((function(e){N(e,t)})):t.push(e)),t}function T(e,t,n,r){var o,i,u=e.key,s=e.type,c=t[n];if(null===c||c&&u==c.key&&s===c.type&&!(2&c.__u))return n;if(r>(null==c||2&c.__u?0:1))for(o=n-1,i=n+1;o>=0||i<t.length;){if(o>=0){if((c=t[o])&&!(2&c.__u)&&u==c.key&&s===c.type)return o;o--}if(i<t.length){if((c=t[i])&&!(2&c.__u)&&u==c.key&&s===c.type)return i;i++}}return-1}function A(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function M(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||A(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||A(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(s,"$1")),t=t.toLowerCase()in e||"onFocusOut"==t||"onFocusIn"==t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=c,e.addEventListener(t,i?a:l,i)):e.removeEventListener(t,i?a:l,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function P(e){return function(n){if(this.l){var r=this.l[n.type+e];if(null==n.t)n.t=c++;else if(n.t<r.u)return;return r(t.event?t.event(n):n)}}}function U(e,n,r,o,i,u,s,c,l,a){var f,_,d,h,v,y,C,S,E,k,I,O,N,T,A,M,P,U=n.type;if(void 0!==n.constructor)return null;128&r.__u&&(l=!!(32&r.__u),u=[c=n.__e=r.__e]),(f=t.__b)&&f(n);e:if("function"==typeof U)try{if(S=n.props,E="prototype"in U&&U.prototype.render,k=(f=U.contextType)&&o[f.__c],I=f?k?k.props.value:f.__:o,r.__c?C=(_=n.__c=r.__c).__=_.__E:(E?n.__c=_=new U(S,I):(n.__c=_=new b(S,I),_.constructor=U,_.render=F),k&&k.sub(_),_.props=S,_.state||(_.state={}),_.context=I,_.__n=o,d=_.__d=!0,_.__h=[],_._sb=[]),E&&null==_.__s&&(_.__s=_.state),E&&null!=U.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=m({},_.__s)),m(_.__s,U.getDerivedStateFromProps(S,_.__s))),h=_.props,v=_.state,_.__v=n,d)E&&null==U.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),E&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(E&&null==U.getDerivedStateFromProps&&S!==h&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(S,I),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(S,_.__s,I)||n.__v==r.__v)){for(n.__v!=r.__v&&(_.props=S,_.state=_.__s,_.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.some((function(e){e&&(e.__=n)})),O=0;O<_._sb.length;O++)_.__h.push(_._sb[O]);_._sb=[],_.__h.length&&s.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(S,_.__s,I),E&&null!=_.componentDidUpdate&&_.__h.push((function(){_.componentDidUpdate(h,v,y)}))}if(_.context=I,_.props=S,_.__P=e,_.__e=!1,N=t.__r,T=0,E){for(_.state=_.__s,_.__d=!1,N&&N(n),f=_.render(_.props,_.state,_.context),A=0;A<_._sb.length;A++)_.__h.push(_._sb[A]);_._sb=[]}else do{_.__d=!1,N&&N(n),f=_.render(_.props,_.state,_.context),_.state=_.__s}while(_.__d&&++T<25);_.state=_.__s,null!=_.getChildContext&&(o=m(m({},o),_.getChildContext())),E&&!d&&null!=_.getSnapshotBeforeUpdate&&(y=_.getSnapshotBeforeUpdate(h,v)),c=x(e,p(M=null!=f&&f.type===w&&null==f.key?f.props.children:f)?M:[M],n,r,o,i,u,s,c,l,a),_.base=n.__e,n.__u&=-161,_.__h.length&&s.push(_),C&&(_.__E=_.__=null)}catch(e){if(n.__v=null,l||null!=u)if(e.then){for(n.__u|=l?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;u[u.indexOf(c)]=null,n.__e=c}else for(P=u.length;P--;)g(u[P]);else n.__e=r.__e,n.__k=r.__k;t.__e(e,n,r)}else null==u&&n.__v==r.__v?(n.__k=r.__k,n.__e=r.__e):c=n.__e=D(r.__e,n,r,o,i,u,s,l,a);return(f=t.diffed)&&f(n),128&n.__u?void 0:c}function R(e,n,r){for(var o=0;o<r.length;o++)H(r[o],r[++o],r[++o]);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 D(n,r,o,i,u,s,c,l,a){var f,d,h,m,v,y,w,b=o.props,S=r.props,E=r.type;if("svg"==E?u="http://www.w3.org/2000/svg":"math"==E?u="http://www.w3.org/1998/Math/MathML":u||(u="http://www.w3.org/1999/xhtml"),null!=s)for(f=0;f<s.length;f++)if((v=s[f])&&"setAttribute"in v==!!E&&(E?v.localName==E:3==v.nodeType)){n=v,s[f]=null;break}if(null==n){if(null==E)return document.createTextNode(S);n=document.createElementNS(u,E,S.is&&S),l&&(t.__m&&t.__m(r,s),l=!1),s=null}if(null===E)b===S||l&&n.data===S||(n.data=S);else{if(s=s&&e.call(n.childNodes),b=o.props||_,!l&&null!=s)for(b={},f=0;f<n.attributes.length;f++)b[(v=n.attributes[f]).name]=v.value;for(f in b)if(v=b[f],"children"==f);else if("dangerouslySetInnerHTML"==f)h=v;else if(!(f in S)){if("value"==f&&"defaultValue"in S||"checked"==f&&"defaultChecked"in S)continue;M(n,f,null,v,u)}for(f in S)v=S[f],"children"==f?m=v:"dangerouslySetInnerHTML"==f?d=v:"value"==f?y=v:"checked"==f?w=v:l&&"function"!=typeof v||b[f]===v||M(n,f,v,b[f],u);if(d)l||h&&(d.__html===h.__html||d.__html===n.innerHTML)||(n.innerHTML=d.__html),r.__k=[];else if(h&&(n.innerHTML=""),x(n,p(m)?m:[m],r,o,i,"foreignObject"==E?"http://www.w3.org/1999/xhtml":u,s,c,s?s[0]:o.__k&&C(o,0),l,a),null!=s)for(f=s.length;f--;)g(s[f]);l||(f="value","progress"==E&&null==y?n.removeAttribute("value"):void 0!==y&&(y!==n[f]||"progress"==E&&!y||"option"==E&&y!==b[f])&&M(n,f,y,b[f],u),f="checked",void 0!==w&&w!==n[f]&&M(n,f,w,b[f],u))}return n}function H(e,n,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==n||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,r)}}function G(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||H(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]&&G(o[i],n,r||"function"!=typeof e.type);r||g(e.__e),e.__c=e.__=e.__e=void 0}function F(e,t,n){return this.constructor(e,n)}function j(n,r,o){var i,u,s,c;r==document&&(r=document.documentElement),t.__&&t.__(n,r),u=(i="function"==typeof o)?null:o&&o.__k||r.__k,s=[],c=[],U(r,n=(!i&&o||r).__k=v(w,null,[n]),u||_,_,r.namespaceURI,!i&&o?[o]:u?null:r.firstChild?e.call(r.childNodes):null,s,!i&&o?o:u?u.__e:r.firstChild,i,c),R(s,n,c)}function L(e,t){j(e,t,L)}function W(t,n,r){var o,i,u,s,c=m({},t.props);for(u in t.type&&t.type.defaultProps&&(s=t.type.defaultProps),n)"key"==u?o=n[u]:"ref"==u?i=n[u]:c[u]=void 0===n[u]&&void 0!==s?s[u]:n[u];return arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),y(t.type,c,o||t.key,i||t.ref,null)}e=d.slice,t={__e:function(e,t,n,r){for(var o,i,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(t){e=t}throw e}},n=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},b.prototype.render=w,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,s=/(PointerCapture)$|Capture$/i,c=0,l=P(!1),a=P(!0),f=0;var $,V,z,B,q=0,J=[],Y=t,Z=Y.__b,X=Y.__r,K=Y.diffed,Q=Y.__c,ee=Y.unmount,te=Y.__;function ne(e,t){Y.__h&&Y.__h(V,e,q||t),q=0;var n=V.__H||(V.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function re(e){return q=1,oe(we,e)}function oe(e,t,n){var r=ne($++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):we(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=V,!V.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var u=r.__c.props!==e;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(u=!0)}})),i&&i.call(this,e,t,n)||u};V.u=!0;var i=V.shouldComponentUpdate,u=V.componentWillUpdate;V.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}u&&u.call(this,e,t,n)},V.shouldComponentUpdate=o}return r.__N||r.__}function ie(e,t){var n=ne($++,3);!Y.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,V.__H.__h.push(n))}function ue(e,t){var n=ne($++,4);!Y.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,V.__h.push(n))}function se(e){return q=5,le((function(){return{current:e}}),[])}function ce(e,t,n){q=6,ue((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function le(e,t){var n=ne($++,7);return ye(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return q=8,le((function(){return e}),t)}function fe(e){var t=V.context[e.__c],n=ne($++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(V)),t.props.value):e.__}function _e(e,t){Y.useDebugValue&&Y.useDebugValue(t?t(e):e)}function de(){var e=ne($++,11);if(!e.__){for(var t=V.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function he(){for(var e;e=J.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(ve),e.__H.__h=[]}catch(t){e.__H.__h=[],Y.__e(t,e.__v)}}Y.__b=function(e){V=null,Z&&Z(e)},Y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),te&&te(e,t)},Y.__r=function(e){X&&X(e),$=0;var t=(V=e.__c).__H;t&&(z===V?(t.__h=[],V.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(ge),t.__h.forEach(ve),t.__h=[],$=0)),z=V},Y.diffed=function(e){K&&K(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==J.push(t)&&B===Y.requestAnimationFrame||((B=Y.requestAnimationFrame)||me)(he)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),z=V=null},Y.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter((function(e){return!e.__||ve(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Y.__e(n,e.__v)}})),Q&&Q(e,t)},Y.unmount=function(e){ee&&ee(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{ge(e)}catch(e){t=e}})),n.__H=void 0,t&&Y.__e(t,n.__v))};var pe="function"==typeof requestAnimationFrame;function me(e){var t,n=function(){clearTimeout(r),pe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);pe&&(t=requestAnimationFrame(n))}function ge(e){var t=V,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),V=t}function ve(e){var t=V;e.__c=e.__(),V=t}function ye(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function be(e,t){for(var n in t)e[n]=t[n];return e}function Ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Se(e,t){var n=t(),r=re({t:{__:n,u:t}}),o=r[0].t,i=r[1];return ue((function(){o.__=n,o.u=t,Ee(o)&&i({t:o})}),[e,n,t]),ie((function(){return Ee(o)&&i({t:o}),e((function(){Ee(o)&&i({t:o})}))}),[e]),n}function Ee(e){var t,n,r=e.u,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}function ke(e){e()}function xe(e){return e}function Ie(){return[!1,ke]}var Oe=ue;function Ne(e,t){this.props=e,this.context=t}(Ne.prototype=new b).isPureReactComponent=!0,Ne.prototype.shouldComponentUpdate=function(e,t){return Ce(this.props,e)||Ce(this.state,t)};var Te=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Te&&Te(e)};var Ae="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Me=function(e,t){return null==e?null:N(N(e).map(t))},Pe={map:Me,forEach:Me,count:function(e){return e?N(e).length:0},only:function(e){var t=N(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:N},Ue=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);Ue(e,t,n,r)};var Re=t.unmount;function De(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=be({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return De(e,t,n)}))),e}function He(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return He(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Ge(){this.__u=0,this.o=null,this.__b=null}function Fe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function je(){this.i=null,this.l=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Re&&Re(e)},(Ge.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=Fe(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=u;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=He(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},Ge.prototype.componentWillUnmount=function(){this.o=[]},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]=De(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&v(w,null,e.fallback);return o&&(o.__u&=-33),[v(w,null,t.__a?null:e.children),o]};var Le=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function We(e){return this.getChildContext=function(){return e.context},e.children}function $e(e){var t=this,n=e.h;t.componentWillUnmount=function(){j(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.h.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}),j(v(We,{context:t.context},e.__v),t.v)}(je.prototype=new b).__a=function(e){var t=this,n=Fe(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Le(t,e,r)):o()};n?n(i):i()}},je.prototype.render=function(e){this.i=null,this.l=new Map;var t=N(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},je.prototype.componentDidUpdate=je.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Le(e,n,t)}))};var Ve="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ze=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Be=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,qe=/[A-Z0-9]/g,Je="undefined"!=typeof document,Ye=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Ze(e,t,n){return null==t.__k&&(t.textContent=""),j(e,t),"function"==typeof n&&n(),e?e.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.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 Ke(){}function Qe(){return this.cancelBubble}function et(){return this.defaultPrevented}t.event=function(e){return Xe&&(e=Xe(e)),e.persist=Ke,e.isPropagationStopped=Qe,e.isDefaultPrevented=et,e.nativeEvent=e};var tt,nt={enumerable:!1,configurable:!0,get:function(){return this.class}},rt=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var i in t){var u=t[i];if(!("value"===i&&"defaultValue"in t&&null==u||Je&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var s=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===u?u="":"translate"===s&&"no"===u?u=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?i="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||Ye(t.type)?"onfocus"===s?i="onfocusin":"onblur"===s?i="onfocusout":Be.test(i)&&(i=s):s=i="oninput":o&&ze.test(i)?i=i.replace(qe,"-$&").toLowerCase():null===u&&(u=void 0),"oninput"===s&&r[i=s]&&(i="oninputCapture"),r[i]=u}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=N(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=N(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",nt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ve,rt&&rt(e)};var ot=t.__r;t.__r=function(e){ot&&ot(e),tt=e.__c};var it=t.diffed;t.diffed=function(e){it&&it(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),tt=null};var ut={ReactCurrentDispatcher:{current:{readContext:function(e){return tt.__n[e.__c].props.value},useCallback:ae,useContext:fe,useDebugValue:_e,useDeferredValue:xe,useEffect:ie,useId:de,useImperativeHandle:ce,useInsertionEffect:Oe,useLayoutEffect:ue,useMemo:le,useReducer:oe,useRef:se,useState:re,useSyncExternalStore:Se,useTransition:Ie}}};function st(e){return!!e&&e.$$typeof===Ve}function ct(e){return!!e.__k&&(j(null,e),!0)}var lt={useState:re,useId:de,useReducer:oe,useEffect:ie,useLayoutEffect:ue,useInsertionEffect:Oe,useTransition:Ie,useDeferredValue:xe,useSyncExternalStore:Se,startTransition:ke,useRef:se,useImperativeHandle:ce,useMemo:le,useCallback:ae,useContext:fe,useDebugValue:_e,version:"18.3.1",Children:Pe,render:Ze,hydrate:function(e,t,n){return L(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:ct,createPortal:function(e,t){var n=v($e,{__v:e,h:t});return n.containerInfo=t,n},createElement:v,createContext:function(e,t){var n={__c:t="__cC"+f++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return v.bind(null,e)},cloneElement:function(e){return st(e)?W.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:w,isValidElement:st,isElement:st,isFragment:function(e){return st(e)&&e.type===w},isMemo:function(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:b,PureComponent:Ne,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,v(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=be({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ae,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:w,Suspense:Ge,SuspenseList:je,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 v(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ut};function at(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function ft(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function _t(e,t){return Object.getPrototypeOf(e)?.constructor===Object.getPrototypeOf(t)?.constructor}Symbol.iterator;class dt{constructor(e){this.iter=e,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.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function ht(e){return function(e){return null!=e&&"function"==typeof e.GetEnumerator}(e)?e.GetEnumerator():new dt(e[Symbol.iterator]())}function pt(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0}}}}function mt(e,t){return e.toString(10).padStart(t,"0")}function gt(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class vt{static id(e){return vt.idMap.has(e)||vt.idMap.set(e,++vt.count),vt.idMap.get(e)}}function yt(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function wt(e){return 2654435761*e|0}function bt(e){let t=0;const n=e.length;for(let r=0;r<n;r++)t=(t<<5)+t^e[r];return t}function Ct(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return wt(e);case"bigint":return function(e){return yt(e.toString(32))}(e);case"string":return yt(e);default:if(function(e){return null!=e&&"function"==typeof e.GetHashCode}(e))return e.GetHashCode();if(at(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ct(e[r]);return bt(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=>Ct(e)));return bt(t)}return wt(vt.id(e))}}function St(e,t){return function(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}(e,t,Et)}function Et(e,t){return e===t||(null==e?null==t:null!=t&&(function(e){return null!=e&&"function"==typeof e.Equals}(e)?e.Equals(t):at(e)?at(t)&&St(e,t):"object"==typeof e&&(e instanceof Date?t instanceof Date&&0===kt(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]||!Et(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function kt(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+gt(e),r=t.getTime()+gt(t)),n===r?0:n<r?-1:1}function xt(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,It)}function It(e,t){return e===t?0:null==e?null==t?0:-1:null==t?1:function(e){return null!=e&&"function"==typeof e.CompareTo}(e)?e.CompareTo(t):at(e)?at(t)?xt(e,t):-1:"object"!=typeof e?e<t?-1:1:e instanceof Date?t instanceof Date?kt(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 u=n[o];if(u!==r[o])return u<r[o]?-1:1;if(i=It(e[u],t[u]),0!==i)return i}return 0}(e,t):-1}vt.idMap=new WeakMap,vt.count=0;const Ot=new WeakMap;function Nt(e){if(null==e)return null;const t=(t,n)=>e(t)(n);return Ot.set(t,e),t}function Tt(e){return Ot.get(e)??(t=>n=>e(t,n))}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 Mt{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=>Ct(e)));return e.splice(0,0,wt(this.tag)),bt(e)}Equals(e){return this===e||!!_t(this,e)&&this.tag===e.tag&&St(this.fields,e.fields)}CompareTo(e){return this===e?0:_t(this,e)?this.tag===e.tag?xt(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Pt{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=>Ct(e)));return bt(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(_t(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Et(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(_t(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=It(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}function Ut(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}class Rt extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["backend-url","access-token"]}}class Dt{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ct(this.value)}Equals(e){return null!=e&&Et(this.value,e instanceof Dt?e.value:e)}CompareTo(e){return null==e?1:It(this.value,e instanceof Dt?e.value:e)}}function Ht(e){if(null==e)throw new Error("Option has no value");return e instanceof Dt?e.value:e}function Gt(e){return null==e||e instanceof Dt?new Dt(e):e}function Ft(e){return null==e?[]:[Ht(e)]}function jt(e,t){return null!=e?Ht(e):t}function Lt(e,t){return null!=t?Gt(e(Ht(t))):void 0}const Wt=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),$t=Lt((e=>e.getAttribute("data-identity-url")),Wt),Vt=Lt((e=>e.getAttribute("data-backend-url")),Wt),zt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Bt=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],qt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Jt=["January","February","March","April","May","June","July","August","September","October","November","December"];function Yt(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function Zt(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Xt(e,t){let n=t;const r=e[t];let o="",i=!1;for(;t<e.length;){const n=e[++t];if(n===r){i=!0;break}if("\\"===n){if(!(t<e.length))throw new Error("Invalid string format");o+=e[++t]}else o+=n}if(!i)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function Kt(e,t,n){let r=0,o=0,i="";const u=n?nn(e.getTime(),1):e;for(;r<t.length;){const e=t[r];switch(e){case"d":switch(o=Yt(t,r,"d"),r+=o,o){case 1:i+=on(u);break;case 2:i+=mt(on(u),2);break;case 3:i+=zt[fn(u)];break;case 4:i+=Bt[fn(u)]}break;case"f":if(o=Yt(t,r,"f"),r+=o,o<=3){const e=10**(3-o);i+=mt(Math.floor(sn(u)/e),o)}else o<=7&&(i+=(""+sn(u)).padEnd(o,"0"));break;case"F":if(o=Yt(t,r,"F"),r+=o,o<=3){const e=10**(3-o),t=Math.floor(sn(u)/e);0!=t&&(i+=mt(t,o))}else if(o<=7){const e=sn(u);0!=e&&(i+=mt(e,3))}break;case"g":o=Yt(t,r,"g"),r+=o,o<=2&&(i+="A.D.");break;case"h":switch(o=Yt(t,r,"h"),r+=o,o){case 1:i+=un(u)%12;break;case 2:i+=mt(un(u)%12,2)}break;case"H":switch(o=Yt(t,r,"H"),r+=o,o){case 1:i+=un(u);break;case 2:i+=mt(un(u),2)}break;case"K":if(o=Yt(t,r,"K"),r+=o,1===o)switch(Qt(u)){case 1:i+="Z";break;case 2:i+=en(-6e4*u.getTimezoneOffset())}break;case"m":switch(o=Yt(t,r,"m"),r+=o,o){case 1:i+=cn(u);break;case 2:i+=mt(cn(u),2)}break;case"M":switch(o=Yt(t,r,"M"),r+=o,o){case 1:i+=ln(u);break;case 2:i+=mt(ln(u),2);break;case 3:i+=qt[ln(u)-1];break;case 4:i+=Jt[ln(u)-1]}break;case"s":switch(o=Yt(t,r,"s"),r+=o,o){case 1:i+=an(u);break;case 2:i+=mt(an(u),2)}break;case"t":switch(o=Yt(t,r,"t"),r+=o,o){case 1:i+=u.getHours()<12?"A":"P";break;case 2:i+=u.getHours()<12?"AM":"PM"}break;case"y":switch(o=Yt(t,r,"y"),r+=o,o){case 1:i+=u.getFullYear()%100;break;case 2:i+=mt(u.getFullYear()%100,2);break;case 3:i+=mt(u.getFullYear(),3);break;case 4:i+=mt(u.getFullYear(),4);break;case 5:i+=mt(u.getFullYear(),5)}break;case"z":o=Yt(t,r,"z"),r+=o;let s="";switch(Qt(u)){case 1:s="+00:00";break;case 2:s=en(-6e4*u.getTimezoneOffset());break;case 0:s=en(-6e4*rn(u).getTimezoneOffset())}const c="-"===s[0]?"-":"+",l=parseInt(s.substring(1,3),10),a=parseInt(s.substring(4,6),10);switch(o){case 1:i+=`${c}${l}`;break;case 2:i+=`${c}${mt(l,2)}`;break;default:i+=`${c}${mt(l,2)}:${mt(a,2)}`}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[f,_]=Xt(t,r);i+=f,r+=_;break;case"%":const d=Zt(t,r);if(!(d>=0&&d!=="%".charCodeAt(0)))throw new Error("Invalid format string");r+=2,i+=Kt(u,String.fromCharCode(d),n);break;case"\\":const h=Zt(t,r);if(!(h>=0))throw new Error("Invalid format string");r+=2,i+=String.fromCharCode(h);break;default:r++,i+=e}}return i}function Qt(e){return e.kind||0}function en(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+mt(~~(e/36e5),2)+":"+mt(n,2)}function tn(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 nn(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function rn(e){return 2===e.kind?e:nn(e.getTime(),2)}function on(e){return 1===e.kind?e.getUTCDate():e.getDate()}function un(e){return 1===e.kind?e.getUTCHours():e.getHours()}function sn(e){return 1===e.kind?e.getUTCMilliseconds():e.getMilliseconds()}function cn(e){return 1===e.kind?e.getUTCMinutes():e.getMinutes()}function ln(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}function an(e){return 1===e.kind?e.getUTCSeconds():e.getSeconds()}function fn(e){return 1===e.kind?e.getUTCDay():e.getDay()}const _n=Symbol("numeric");function dn(e,t){return"number"==typeof e?e.toPrecision(t):"bigint"==typeof e?e:e[_n]().toPrecision(t)}function hn(e,t){return"number"==typeof e?e.toExponential(t):"bigint"==typeof e?e:e[_n]().toExponential(t)}function pn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):"bigint"==typeof e?BigInt.asUintN(64,e).toString(16):e[_n]().toHex()}function mn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const gn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function vn(e){return{input:e,cont:(t=e,e=>{gn.lastIndex=0;const n=[],r=[];let o=0,i=gn.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=gn.lastIndex,gn.lastIndex-=1,i=gn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),bn(e,n,r))})};var t}function yn(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function wn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||"bigint"==typeof e||e?.[_n]}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e||"bigint"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e){return"number"==typeof e?-1*e:"bigint"==typeof e?e*BigInt(-1):e[_n]().multiply(-1)}(e),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=function(e,t){return"number"==typeof e?e.toFixed(t):"bigint"==typeof e?e:e[_n]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?dn(e,r):dn(e);break;case"e":case"E":e=null!=r?hn(e,r):hn(e);break;case"x":e=pn(e);break;case"X":e=pn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t){return null!=e.offset?function(e,t){const n=new Date(e.getTime()+(e.offset??0));if("string"!=typeof t)return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+en(e.offset??0);if(1!==t.length)return Kt(n,t,!0);switch(t){case"D":case"d":return tn(n,"first");case"T":case"t":return tn(n,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+en(t)}(n,e.offset??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 Kt(e,t,n);switch(t){case"D":case"d":return n?tn(e,"first"):e.toLocaleDateString();case"T":case"t":return n?tn(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 mt(e.getFullYear(),4)+"-"+mt(e.getMonth()+1,2)+"-"+mt(e.getDate(),2)+"T"+mt(e.getHours(),2)+":"+mt(e.getMinutes(),2)+":"+mt(e.getSeconds(),2)+"."+mt(e.getMilliseconds(),3)+(t?en(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(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,u=o||!r?" ":"0";e="0"===u?i+(e=Sn(e,n-i.length,u,o)):Sn(i+e,n,u,o)}return e}function bn(e,t,n,r="",o=-1){return(...i)=>{let u=r;const s=t.slice(),c=n.slice();for(const e of i){const[,,t,n,r,i]=c[0];let l=n;if(o>=0)l=o,o=-1;else if("*"===l){if(e<0)throw new Error("Non-negative number required");o=e;continue}u+=s[0],u+=wn(e,t,l,r,i),s.splice(0,1),c.splice(0,1)}return 0===c.length?(u+=s[0],e(u)):bn(e,s,c,u,o)}}function Cn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Sn(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 En(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const kn="Collection was empty.";function xn(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function In(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,u=0|n.length;if(i>u)return!1;if(i<u)return!1;for(;r<i&&o;)o=e(On(r,t),On(r,n)),r=r+1|0;return o}}function On(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function Nn(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}class Tn extends Pt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Cn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=n.tail,i=r.tail;if(null!=o){if(null!=i){const u=Ht(o),s=Ht(i);if(Et(n.head,r.head)){e=u,t=s;continue e}return!1}return!1}return null==i}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,u=i.tail;if(null==u)return 0|o;{const s=Ht(u);if(r>18)return 0|o;e=r+1,t=(o<<1)+Ct(i.head)+631*r,n=s}}})(0,0,this)}toJSON(){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=n.tail,i=r.tail;if(null!=o){if(null!=i){const u=Ht(o),s=Ht(i),c=0|It(n.head,r.head);if(0===c){e=u,t=s;continue e}return 0|c}return 1}return null!=i?-1:0}})(this,e)}GetEnumerator(){return new An(this)}[Symbol.iterator](){return pt(ht(this))}"System.Collections.IEnumerable.GetEnumerator"(){return ht(this)}}class An{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=Ht(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 Mn(){return new Tn(null,void 0)}function Pn(e,t){return new Tn(e,t)}function Un(e){return null==e.tail}function Rn(e){if(null!=e.tail)return e.head;throw new Error(kn+"\\nParameter name: list")}function Dn(e){const t=e.tail;if(null!=t)return Ht(t);throw new Error(kn+"\\nParameter name: list")}function Hn(){return Mn()}function Gn(e,t){return Pn(e,t)}function Fn(e){return Pn(e,Mn())}function jn(e){return Un(e)}function Ln(e){return Rn(e)}function Wn(e){return Dn(e)}function $n(e){const t=0|function(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=Ht(r)}})(0,e)}(e),n=xn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(Un(o))break;Nn(n,r,Rn(o)),e=r+1,t=Dn(o)}})(0,e),n}function Vn(e,t,n){let r=t,o=n;for(;!Un(o);)r=e(r,Ln(o)),o=Dn(o);return r}function zn(e,t){Vn(((t,n)=>{e(n)}),void 0,t)}function Bn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Pn(On(t,e),n);return n}function qn(e){return Bn(e,Mn())}function Jn(e,t){return Vn(((e,t)=>Pn(t,e)),t,function(e){return Vn(((e,t)=>Pn(t,e)),Mn(),e)}(e))}function Yn(e,t){const n=Mn(),r=Vn(((t,n)=>{const r=new Tn(e(n),void 0);return t.tail=r,r}),n,t),o=Mn();return r.tail=o,Dn(n)}function Zn(e,t){const n=Mn(),r=Vn(((t,n)=>{if(e(n)){const e=new Tn(n,void 0);return t.tail=e,e}return t}),n,t),o=Mn();return r.tail=o,Dn(n)}const Xn="The input sequence has an insufficient number of elements.";function Kn(){throw new Error("Enumeration has not started. Call MoveNext.")}function Qn(){throw new Error("Enumeration already finished.")}class er{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=ht(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{ft(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return pt(ht(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class tr{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 nr(e,t,n){return new tr(e,t,n)}function rr(e,t,n){let r,o=!1,i=Gt(e());const u=()=>{if(null!=i){const e=Ht(i);try{n(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return nr((()=>(o||Kn(),null!=r?Ht(r):Qn())),(()=>{if(o||(o=!0),null!=i){const e=Ht(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),u)}function or(e){return function(e){return new er(e)}(e)}function ir(e){return t="source",null==e&&function(e){throw new Error(e)}(t),ht(e);var t}function ur(e){return or((()=>ht(e())))}function sr(e){return or((()=>function(e){let t,n,r,o=!1,i=!1;const u=()=>{if(i=!0,null!=n){const e=Ht(n);try{ft(e)}finally{n=void 0}}if(null!=t){const e=Ht(t);try{ft(e)}finally{t=void 0}}};return nr((()=>(o?i&&Qn():Kn(),null!=r?Ht(r):Qn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=t;if(null!=i)if(null!=n){const e=Ht(n);if(e["System.Collections.IEnumerator.MoveNext"]())r=Gt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{ft(e)}finally{n=void 0}}else{const e=Ht(i);e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=ht(s)):(u(),o=!1)}else t=ht(e)}return Ht(o)}}),(()=>{i||u()}))}(e)))}function cr(e){return ur((()=>function(e,t){const n=function(e){return"function"==typeof e?new e(1):new Array(1)}(t);return Nn(n,0,e),n}(e)))}function lr(e,t){return sr([e,t])}function ar(e,t){!function(e,t,n){const r=ir(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{ft(r)}}(((t,n)=>{e(n)}),void 0,t)}function fr(e,t){return n=()=>ir(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?Gt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{ft(e)},or((()=>rr(n,r,o)));var n,r,o}function _r(e,t){return or((()=>{const n=ir(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Xn+"\\nParameter name: source");return function(e,t){return nr((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{ft(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw ft(n),e}}))}Symbol.iterator;const dr=lt;function hr(e){return{Dispose(){e()}}}function pr(e,t){return t.startsWith(e)?t:void 0}function mr(e,t){return t.endsWith(e)?t:void 0}function gr(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=pr("/",e),null!=t?(n=t,"#"+n):(r=pr("#/",e),null!=r?(o=r,o):(i=pr("#",e),null!=i?(u=i,"#/"+En(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=pr("/",e),null!=t?(n=t,n):"/"+e}}(t)(Cn("/",Yn((e=>e.indexOf("?")>=0||e.startsWith("#")||e.startsWith("/")?e:encodeURIComponent(e)),e)))}function vr(e,t){return function(e,t){let n,r;const o=Mn();let i=o,u=t;for(;!Un(u);){let t=e(Rn(u));for(;!Un(t);)n=i,r=new Tn(Rn(t),void 0),n.tail=r,i=r,t=Dn(t);u=Dn(u)}const s=i,c=Mn();return s.tail=c,Dn(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return Hn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+mn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Hn();if(null!=pr("?",t))return Fn(t);{const e=t.split("?");if(In(((e,t)=>e===t),e,null)||1!==e.length){if(In(((e,t)=>e===t),e,null)||2!==e.length)return Hn();if(""===On(1,e)){const t=On(0,e);return Fn(decodeURIComponent(t))}{const t=On(0,e),n=On(1,e);return qn([decodeURIComponent(t),"?"+n])}}{const t=On(0,e);return Fn(decodeURIComponent(t))}}}var t}),qn(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&~r),i=!(2&~r);t=(t=t||[]).filter((e=>e)).map(mn),t=t.length>0?t:["\\s"];const u=[],s=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(l).trim():e.substring(l);(!o||t.length>0)&&u.push(t),c=!1}else{const r=i?e.substring(l,t.index).trim():e.substring(l,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(l).trim():e.substring(l)),c=!1):u.push(r)),l=s.lastIndex}}while(c);return u}(null!=pr("#",e)?En(e,1,e.length-1):1!==t||null==mr("#",e)&&null==mr("#/",e)?e:"",["/"],void 0,0)))}const yr=function(e){const t=dr.memo(e,Nt(jt(Lt(Tt,void 0),null)));return ar((t=>{e.displayName=t}),Ft(void 0)),e=>{const n=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(undefined,e);return dr.createElement(t,n)}}((e=>{const t=function(e){const t=dr.useRef(e),n=dr.useCallback((e=>t.current(e)),[]);var r;return r=n=>(t.current=e,hr((()=>{}))),ue((()=>{const e=r();return()=>{e.Dispose()}})),n}((t=>{const n=jt(e.onUrlChanged,(e=>{}));!function(e,t){t(vr(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(jt(e.hashMode,1),n)}));(function(e){const t=dr.useRef(void 0),n=dr.useRef(!1),r=dr.useRef(!1);var o;n.current&&(r.current=!0),o=()=>{return o=n.current?void 0:(n.current=!0,t.current=Gt(e()),r.current?t.current:void 0),{Dispose(){ar((e=>{ft(e)}),Ft(o))}};var o},ie((()=>{const e=o();return()=>{e.Dispose()}}),[])})((()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),hr((()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))))),function(){const e=dr.useRef(!1);dr.useEffect((()=>{e.current||(e.current=!0,(()=>{const e=document.createEvent("CustomEvent");e.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(e)})())}),[])}();const n=e.application;return null==n?null:n}));class wr extends Mt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["Token"]}}class br extends Mt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["QueryString"]}}class Cr extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function Sr(e){let t,n,r;if(jn(e))t=0;else if("oidc"===Ln(e))if(jn(Wn(e)))t=3;else switch(Ln(Wn(e))){case"callback":jn(Wn(Wn(e)))?t=3:jn(Wn(Wn(Wn(e))))?(t=1,n=Ln(Wn(Wn(e)))):t=3;break;case"silent-refresh":jn(Wn(Wn(e)))?t=3:jn(Wn(Wn(Wn(e))))?(t=2,r=Ln(Wn(Wn(e)))):t=3;break;default:t=3}else t=3;switch(t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new Cr(0,[]);{const e=n;return ar((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),Ft(t.get("success-redirection-url"))),new Cr(1,[new wr(e)])}}case 1:return new Cr(2,[new br(n)]);case 2:return new Cr(3,[new br(r)]);default:return new Cr(4,[])}}class Er extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class kr extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Started","Finished"]}}class xr extends Pt{constructor(e){super(),this.AccessToken=e}}function Ir(e){return new xr(e.access_token)}class Or extends Pt{constructor(e){super(),this.Auth=e}}class Nr extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class Tr extends Pt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Ar extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}class Mr{constructor(e){this.k=e}}function Pr(e){return new Mr(e)}function Ur(e){return e.k}class Rr extends Mr{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Dr(e,t,n,r){return new Rr(e,t,n,r)}function Hr(e){return e.left}function Gr(e){return e.right}function Fr(e){return e.h}function jr(e,t){e:for(;;){const n=t;if(null!=e){const r=Ht(e);if(r instanceof Rr){const o=r;e=Hr(o),t=jr(Gr(o),n+1);continue e}return n+1|0}return 0|n}}function Lr(e){return jr(e,0)}function Wr(e,t,n){let r,o,i,u;if(null!=e){const t=Ht(e);i=t instanceof Rr?(r=t,Fr(r)):1}else i=0;if(null!=n){const e=Ht(n);u=e instanceof Rr?(o=e,Fr(o)):1}else u=0;const s=0|(i<u?u:i);return 0===s?Pr(t):Dr(t,e,n,s+1)}function $r(e,t,n){let r,o,i,u,s,c,l,a,f,_;if(null!=e){const t=Ht(e);f=t instanceof Rr?(r=t,Fr(r)):1}else f=0;if(null!=n){const e=Ht(n);_=e instanceof Rr?(o=e,Fr(o)):1}else _=0;if(_>f+2){const r=Ht(n);if(r instanceof Rr){const n=r;if(i=Hr(n),(null!=i?(u=Ht(i),u instanceof Rr?(s=u,Fr(s)):1):0)>f+1){const r=Ht(Hr(n));if(r instanceof Rr){const o=r;return Wr(Wr(e,t,Hr(o)),Ur(o),Wr(Gr(o),Ur(n),Gr(n)))}throw new Error("internal error: Set.rebalance")}return Wr(Wr(e,t,Hr(n)),Ur(n),Gr(n))}throw new Error("internal error: Set.rebalance")}if(f>_+2){const r=Ht(e);if(r instanceof Rr){const e=r;if(c=Gr(e),(null!=c?(l=Ht(c),l instanceof Rr?(a=l,Fr(a)):1):0)>_+1){const r=Ht(Gr(e));if(r instanceof Rr){const o=r;return Wr(Wr(Hr(e),Ur(e),Hr(o)),Ur(o),Wr(Gr(o),t,n))}throw new Error("internal error: Set.rebalance")}return Wr(Hr(e),Ur(e),Wr(Gr(e),t,n))}throw new Error("internal error: Set.rebalance")}return Wr(e,t,n)}function Vr(e,t,n){if(null!=n){const r=Ht(n),o=0|e.Compare(t,Ur(r));if(r instanceof Rr){const i=r;return o<0?$r(Vr(e,t,Hr(i)),Ur(i),Gr(i)):0===o?n:$r(Hr(i),Ur(i),Vr(e,t,Gr(i)))}{const o=0|e.Compare(t,Ur(r));return o<0?Dr(t,void 0,n,2):0===o?n:Dr(t,n,void 0,2)}}return Pr(t)}function zr(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=Ht(n),u=0|r.Compare(o,Ur(i));if(i instanceof Rr){const s=i;if(u<0){e=r,t=o,n=Hr(s);continue e}if(0===u)return!0;e=r,t=o,n=Gr(s);continue e}return 0===u}return!1}}function Br(e,t){e:for(;;){const n=e;if(null!=t){const r=Ht(t);if(r instanceof Rr){const o=r;Br(n,Hr(o)),n(Ur(o)),e=n,t=Gr(o);continue e}n(Ur(r))}break}}class qr extends Pt{constructor(e,t){super(),this.stack=e,this.started=t}}function Jr(e){e:for(;;){const t=e;if(jn(t))return Hn();{const n=Ln(t),r=Wn(t);if(null!=n){const o=Ht(n);if(o instanceof Rr){const t=o;e=Bn([Hr(t),Pr(Ur(t)),Gr(t)],r);continue e}return t}e=r;continue e}}}function Yr(e){return new qr(Jr(Fn(e)),!1)}function Zr(e){if(e.started){const t=e.stack;if(jn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Ln(t))return Ur(Ht(Ln(t)));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Xr(e){let t=Yr(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Zr(t),"System.Collections.IEnumerator.get_Current":()=>Zr(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(jn(t))return!1;if(null!=Ln(t)){if(Ht(Ln(t))instanceof Rr)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Jr(Wn(t)),!jn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!jn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Yr(e)},Dispose(){}}}function Kr(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;if(jn(o))return jn(i)?0:-1;if(jn(i))return 1;if(null!=Ln(i))if(null!=Ln(o)){const u=Ht(Ln(o)),s=Ht(Ln(i));if(u instanceof Rr){const c=u;if(null==Hr(c)){if(!(s instanceof Rr)){const u=0|r.Compare(Ur(c),Ur(s));if(0!==u)return 0|u;e=r,t=Gn(Gr(c),Wn(o)),n=Gn(void 0,Wn(i));continue e}{const u=s;if(null==Hr(u)){const s=0|r.Compare(Ur(c),Ur(u));if(0!==s)return 0|s;e=r,t=Gn(Gr(c),Wn(o)),n=Gn(Gr(u),Wn(i));continue e}{let u,s,c,l,a;switch(jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{let u,s,c,l,a;switch(jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{if(!(s instanceof Rr)){const c=0|r.Compare(Ur(u),Ur(s));if(0!==c)return 0|c;e=r,t=Wn(o),n=Wn(i);continue e}{const c=s;if(null==Hr(c)){const s=0|r.Compare(Ur(u),Ur(c));if(0!==s)return 0|s;e=r,t=Gn(void 0,Wn(o)),n=Gn(Gr(c),Wn(i));continue e}{let u,s,c,l,a;switch(jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}}else{let u,s,c,l,a;switch(Ht(Ln(i)),jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Ln(o)){e=r,t=Wn(o),n=Wn(i);continue e}{let u,s,c,l,a;switch(Ht(Ln(o)),jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Fn(t),Fn(n))}function Qr(e,t,n){let r=n;Br((e=>{Nn(t,r,e),r=r+1|0}),e)}function eo(e,t){return function(t,n,r){const o=(t,n)=>Vr(e,n,t);return r.reduce(o,void 0)}(0,0,t)}class to{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t=0;const n=ht(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=(t<<1)+Ct(n["System.Collections.Generic.IEnumerator`1.get_Current"]())+631|0}finally{ft(n)}return 0|Math.abs(t)}(this)}Equals(e){let t;return e instanceof to&&(t=e,0===Kr(ro(this),oo(this),oo(t)))}toString(){return"set ["+Cn("; ",fr((e=>At(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){return Array.from(this)}CompareTo(e){return 0|Kr(ro(this),oo(this),oo(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 zr(ro(this),e,oo(this))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,t){Qr(oo(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|uo(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|uo(this)}GetEnumerator(){return Xr(oo(this))}[Symbol.iterator](){return pt(ht(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Xr(oo(this))}get size(){return 0|uo(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 so(this,e)}keys(){return fr((e=>e),this)}values(){return fr((e=>e),this)}entries(){return fr((e=>[e,e]),this)}forEach(e,t){const n=this;ar((t=>{e(t,t,n)}),n)}}function no(e,t){return new to(e,t)}function ro(e){return e.comparer}function oo(e){return e.tree}function io(e){return no(e,void 0)}function uo(e){return Lr(oo(e))}function so(e,t){return zr(ro(e),t,oo(e))}function co(e,t){return so(t,e)}function lo(e,t){return function(e,t){return no(ro(e),Vr(ro(e),t,oo(e)))}(t,e)}function ao(e){return Cn("/",e)}function fo(e,t,n){try{ft(n)}catch(n){e(["Error stopping subscription: "+ao(t),n])}}function _o(e,t){zn((t=>{fo(e,t[0],t[1])}),t)}function ho(e,t,n,r,o,i){return zn((t=>{!function(e,t){const n=new Error("Duplicate SubId");e(["Duplicate SubId: "+ao(t),n])}(e,t)}),n),zn((t=>{fo(e,t[0],t[1])}),r),Jn(o,function(n,r){const o=Mn(),i=Vn(((n,r)=>{const o=function(e,t,n,r){try{return[n,r(t)]}catch(t){return void e(["Error starting subscription: "+ao(n),t])}}(e,t,(i=r)[0],i[1]);var i;if(null==o)return n;{const e=new Tn(Ht(o),void 0);return n.tail=e,e}}),o,r),u=Mn();return i.tail=u,Dn(o)}(0,i))}function po(e){return t=(e,t)=>{return n=e[0],r=e[1],o=t[0],i=t[1],u=t[2],co(n,i)?[Gn(n,o),i,u]:[o,lo(n,i),Gn([n,r],u)];var n,r,o,i,u},n=e,r=[Hn(),(o={Compare:It},io(o)),Hn()],function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(t,$n(n),r);var t,n,r,o}const mo=Hn();function go(e,t){const n=no(r={Compare:It},function(e,t){if(at(t))return eo(e,t);if(t instanceof Tn)return function(e,t){return Vn(((t,n)=>Vr(e,n,t)),void 0,t)}(e,t);{const n=ht(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=Vr(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{ft(n)}}}(r,Yn((e=>e[0]),e)));var r;const o=po(t),i=o[1],u=o[0];if(n.Equals(i))return[u,Hn(),e,Hn()];{const t=function(e,t){const n=Mn(),r=Mn(),o=n,u=Vn(((e,t)=>{let n,r;const o=e[0],u=e[1];return(e=>co(e[0],i))(t)?[(n=new Tn(t,void 0),o.tail=n,n),u]:[o,(r=new Tn(t,void 0),u.tail=r,r)]}),[o,r],t),s=Mn();u[0].tail=s;const c=Mn();return u[1].tail=c,[Dn(o),Dn(r)]}(0,e);return[u,t[1],t[0],Zn((e=>!co(e[0],n)),o[2])]}}function vo(e,t,n){zn((n=>{try{n(t)}catch(t){e(t)}}),n)}function yo(){return Hn()}function wo(e,t){return Yn((t=>n=>{t((t=>{n(e(t))}))}),t)}function bo(e,t,n,r){return Fn((o=>{e(t).then((e=>{o(n(e))})).catch((e=>{o(r(e))}))}))}function Co(e,t){return e>t?e:t}function So(e,t,n,r,o){const i=function(e,t,n,r){const o=0|It(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|It(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return ur((()=>{return t=i,n=e,or((()=>function(e,t){let n,r=t;return nr((()=>{if(null!=n){const e=Ht(n)[0];return Ht(n)[1],e}return Kn()}),(()=>{if(n=e(r),null!=n){Ht(n)[0];const e=Ht(n)[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class Eo extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class ko{constructor(e){this.state=new Eo(0,[xn(new Array(Co(e,10)),0,Co(e,10),null),0])}}function xo(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 Eo(0,[o,n]):new Eo(1,[o,n,i]),Gt(On(r,o))}}function Io(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],u=0|n.fields[2],s=n.fields[0];Nn(s,i,t);const c=(i+1)%s.length|0;e.state=new Eo(1,c===u?[(r=u,o=s,Array.from(ur((()=>lr(_r(r,o),ur((()=>{return lr((e=r,t=o,n=()=>ir(t),i=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Gt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Xn+"\\nParameter name: source")}},u=e=>{ft(e)},or((()=>{let e=-1;return rr(n,(t=>(e=e+1|0,i(e,t))),u)}))),ur((()=>{return e=e=>cr(null),n=o.length,t=So(0,1,n,0,((e,t)=>e+t)),ur((()=>sr(fr(e,t))));var e,t,n})));var e,t,n,i,u}))))))),s.length,0]:[s,c,u])}else{const r=0|n.fields[1],o=n.fields[0];Nn(o,r,t);const i=(r+1)%o.length|0;e.state=new Eo(1,[o,i,r])}var r,o}class Oo extends Pt{constructor(e,t,n,r,o,i,u){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.termination=u}}function No(e){return Tt(e.view)}var To;function Ao(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 Mo(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&To.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,o);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=Ao(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[u,s]=Ao(n,r);if(e>=u&&e<=s)return e}}throw new Error(`The input string ${e} was not in a correct format.`)}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(To||(To={}));class Po extends Pt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Uo extends b{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}const Ro=(()=>{try{return Mo("18.3.1".slice(void 0,2),511,!1,32)>=18}catch(e){return!1}})();class Do extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Ok","Error"]}}const Ho=(()=>{const e={};return e.store=Gt(window.sessionStorage),e})();function Go(){return new UserManager(function(){const e=function(e){return e.endsWith("/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=$t,t.client_id="apollo-bank-details-ui",t.redirect_uri=e+"#/oidc/callback?",t.response_type="id_token token",t.scope="openid profile",t.automaticSilentRenew=!0,t.silent_redirect_uri=Gt(e+"#/oidc/silent-refresh?"),t.post_logout_redirect_uri=e+"#/oidc/logout?",t.accessTokenExpiringNotificationTime=10,t.filterProtocolClaims=!0,t.loadUserInfo=!1,t.clockSkew=2592e3,t.userStore=new WebStorageStateStore(Ho),t}())}function Fo(e){return e.length>0?En(e,1):e}function jo(e){return Go().signinRedirect(Gt({extraQueryParams:{irt:e.fields[0]}}))}function Lo(e){return Go().signinRedirectCallback(Fo(e.fields[0]))}function Wo(e){return Go().signinSilentCallback(Fo(e.fields[0]))}function $o(){return Go().getUser()}var Vo;!function(e){!function(e,t){!function(e,t,n){let r;const o=n.init(t),i=o[0],u=n.subscribe(i),s=n.termination,c=new ko(10);let l=!1,a=i,f=mo,_=!1;const d=Tt(e)((e=>{_||(Io(c,e),l||(l=!0,h(),l=!1))})),h=()=>{let e,t=xo(c);for(;!_&&null!=t;){const r=Ht(t);if(s[0](r))_o(n.onError,f),s[1](a),_=!0;else{const o=n.update(r,a),i=o[0],u=n.subscribe(i);n.setState(i,d),vo((e=>{n.onError([yn(vn("Error handling the message: %A"))(r),e])}),d,o[1]),a=i,e=go(f,u),f=ho(n.onError,d,e[0],e[1],e[2],e[3]),t=xo(c)}}};l=!0,n.setState(i,d),vo((e=>{n.onError([yn(vn("Error intitializing:")),e])}),d,o[1]),r=go(f,u),f=ho(n.onError,d,r[0],r[1],r[2],r[3]),h(),l=!1}(Nt((e=>e)),void 0,t)}(0,e)}((Vo=function(e,t,n){return new Oo((function(){const e=Sr(vr(window.location.hash,1)),t=function(){const e=Sr(vr(window.location.hash,1));return[new Or(new Er(0,[])),1===e.tag?Fn((t=>{t(new Nr(1,[new kr(0,[]),e.fields[0]]))})):2===e.tag?Fn((t=>{t(new Nr(2,[new kr(0,[]),e.fields[0]]))})):3===e.tag?Fn((t=>{t(new Nr(3,[new kr(0,[]),e.fields[0]]))})):Fn((e=>{e(new Nr(0,[new kr(0,[])]))}))]}();return[new Tr(e,t[0]),wo((e=>new Ar(1,[e])),t[1])]}),t,(e=>Hn()),n,Nt((e=>{const t=Tt(n)(e);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(Gt(t),n)}),[e=>!1,e=>{}])}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new Or(new Er(2,[new Do(1,[e])])),yo()];switch(e.tag){case 1:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,yo()]:[new Or(new Er(1,[])),(o=jo,i=e.fields[1],u=t=>new Nr(1,[new kr(1,[new Do(1,[t.message])]),e.fields[1]]),Fn((e=>{o(i).catch((t=>{e(u(t))}))})))];case 2:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new Or(new Er(2,[new Do(0,[Ir(e.fields[0].fields[0].fields[0])])])),(r=e=>{!function(e){history.pushState(void 0,"",gr(e,1));const t=document.createEvent("CustomEvent");t.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(t)}(Fn(""))},Fn(r))]:[new Or(new Er(1,[])),bo(Lo,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new Nr(2,[new kr(1,[new Do(0,[t])]),e.fields[1]]))),(t=>new Nr(2,[new kr(1,[new Do(1,[t.message])]),e.fields[1]])))];case 3:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("silent refresh expected a user but got none"):[new Or(new Er(2,[new Do(0,[Ir(e.fields[0].fields[0].fields[0])])])),yo()]:[t,bo(Wo,e.fields[1],(t=>new Nr(3,[new kr(1,[new Do(0,[t])]),e.fields[1]])),(t=>new Nr(3,[new kr(1,[new Do(1,[t.message])]),e.fields[1]])))];default:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("expected a user but got none"):[new Or(new Er(2,[new Do(0,[Ir(e.fields[0].fields[0].fields[0])])])),yo()]:[new Or(new Er(1,[])),bo($o,void 0,(e=>new Nr(0,[new kr(1,[new Do(0,[e])])])),(e=>new Nr(0,[new kr(1,[new Do(1,[e.message])])])))]}var r,o,i,u}(e.fields[0],t.Auth);return[new Tr(t.CurrentPage,n[0]),wo((e=>new Ar(1,[e])),n[1])]}return[new Tr(Sr(e.fields[0]),t.Auth),yo()]}),(function(e,t){let n,r,o;if(0===(null!=Vt&&null!=$t?(r=0,o=Vt):r=1,r))switch(e.CurrentPage.tag){case 1:case 2:case 3:n=v("div",{children:"Please wait..."});break;case 4:n=v("h1",{children:"Not found"});break;default:{const t=e.Auth.Auth;let r,u;2===t.tag&&0===t.fields[0].tag?(r=0,u=t.fields[0].fields[0]):r=1,0===r?(i=[],n=v("bank-component",function(e,t=0){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return Ut(e,"_");case 3:return Ut(e,"_").toUpperCase();case 4:return Ut(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof Mt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}([new Rt(0,[o]),new Rt(1,[u.AccessToken])],1),...i)):n=v("h1",{children:"Unauthorised"})}}else n=v("h1",{children:"Invalid attribute configuration"});var i;return yr({onUrlChanged:e=>{t(new Ar(0,[e]))},application:v(w,{},n)})})),function(e,t,n){let r;return function(e,t){return new Oo(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}(Nt(Ro?(o=document.getElementById(t),r={render:function(e){Ze(e,o)},unmount:function(){ct(o)}},t=>o=>{r.render(e((e=>t=>e===t),No(n),t,o))}):r=>o=>{Ze(e((e=>t=>e===t),No(n),r,o),document.getElementById(t))}),n);var o}(((e,t,n,r)=>function(e,t,n,r){const o=new Po(n,(()=>t(n,r)),e);return v(Uo,o)}(Nt(e),Nt(t),n,r)),"bank-details-app",Vo)))})();
2
2
  //# sourceMappingURL=bank-details-app.js.map