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