@flarehr/bank-details-app 2.34.1 → 2.35.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";function e(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function t(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function n(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}class r{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function o(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new r(e[Symbol.iterator]())}function i(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}function u(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function s(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class l{static id(e){return l.idMap.has(e)||l.idMap.set(e,++l.count),l.idMap.get(e)}}function c(e){return 2654435761*e|0}function a(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function f(t){var n;if(null==t)return 0;switch(typeof t){case"boolean":return t?1:0;case"number":return c(t);case"string":return function(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}(t);default:if(function(e){return"function"==typeof e.GetHashCode}(t))return t.GetHashCode();if(e(t))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=f(e[r]);return a(n)}(t);if(t instanceof Date)return function(e){return e.getTime()}(t);if((null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor)===Object){const e=Object.values(t).map((e=>f(e)));return a(e)}return c(l.id(t))}}function _(e,t){return function(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}(e,t,d)}function d(t,n){var r;return t===n||(null==t?null==n:null!=n&&"object"==typeof t&&(function(e){return"function"==typeof e.Equals}(t)?t.Equals(n):e(t)?e(n)&&_(t,n):t instanceof Date?n instanceof Date&&0===h(t,n):(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!d(e[n[o]],t[r[o]]))return!1;return!0}(t,n)))}function h(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+s(e),r=t.getTime()+s(t)),n===r?0:n<r?-1:1}function p(e,t){return e===t?0:e<t?-1:1}function v(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,m)}function m(t,n){var r;return t===n?0:null==t?null==n?0:-1:null==n?1:"object"!=typeof t?t<n?-1:1:function(e){return"function"==typeof e.CompareTo}(t)?t.CompareTo(n):e(t)?e(n)?v(t,n):-1:t instanceof Date?n instanceof Date?h(t,n):-1:(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const u=n[o];if(u!==r[o])return u<r[o]?-1:1;if(i=m(e[u],t[u]),0!==i)return i}return 0}(t,n):-1}function g(e,t,n){return e(t,n)>0?t:n}l.idMap=new WeakMap,l.count=0;const y=Symbol("curried");function w(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[y]=t,n}function b(e,t,n){return r=>1===t?n(...e.concat([r])):b(e.concat([r]),t-1,n)}function C(e,t){return null==t||1===t.length?t:y in t?t[y]:b([],e,t)}function E(e,t,n){if(null!=t){if(y in t){t=t[y];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return b(n,e,t)}}class S{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return f(this.value)}Equals(e){return null!=e&&d(this.value,e instanceof S?e.value:e)}CompareTo(e){return null==e?1:m(this.value,e instanceof S?e.value:e)}}function k(e){return null==e||e instanceof S?new S(e):e}function x(e){if(null==e)throw new Error("Option has no value");return e instanceof S?e.value:e}function O(e){return null==e?[]:[x(e)]}function N(e,t){return null!=e?x(e):t}function I(e,t){return null!=t?k(e(x(t))):void 0}const T=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),A=I((e=>e.getAttribute("data-identity-url")),T),U=I((e=>e.getAttribute("data-backend-url")),T);var P,M,D,H,R,L,j={},G=[],F=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function V(e,t){for(var n in t)e[n]=t[n];return e}function W(e){var t=e.parentNode;t&&t.removeChild(e)}function $(e,t,n){var r,o,i,u={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];if(arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===u[i]&&(u[i]=e.defaultProps[i]);return q(e,u,r,o,null)}function q(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++D:o};return null==o&&null!=M.vnode&&M.vnode(i),i}function z(e){return e.children}function B(e,t){this.props=e,this.context=t}function J(e,t){if(null==t)return e.__?J(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?J(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 Z(e){(!e.__d&&(e.__d=!0)&&H.push(e)&&!Q.__r++||R!==M.debounceRendering)&&((R=M.debounceRendering)||setTimeout)(Q)}function Q(){for(var e;Q.__r=H.length;)e=H.sort((function(e,t){return e.__v.__b-t.__v.__b})),H=[],e.some((function(e){var t,n,r,o,i,u;e.__d&&(i=(o=(t=e).__v).__e,(u=t.__P)&&(n=[],(r=V({},o)).__v=o.__v+1,ue(u,o,r,t.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?J(o):i,o.__h),se(n,o),o.__e!=i&&Y(o)))}))}function X(e,t,n,r,o,i,u,s,l,c){var a,f,_,d,h,p,v,m=r&&r.__k||G,g=m.length;for(n.__k=[],a=0;a<t.length;a++)if(null!=(d=n.__k[a]=null==(d=t[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?q(null,d,null,null,d):Array.isArray(d)?q(z,{children:d},null,null,null):d.__b>0?q(d.type,d.props,d.key,null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(_=m[a])||_&&d.key==_.key&&d.type===_.type)m[a]=void 0;else for(f=0;f<g;f++){if((_=m[f])&&d.key==_.key&&d.type===_.type){m[f]=void 0;break}_=null}ue(e,d,_=_||j,o,i,u,s,l,c),h=d.__e,(f=d.ref)&&_.ref!=f&&(v||(v=[]),_.ref&&v.push(_.ref,null,d),v.push(f,d.__c||h,d)),null!=h?(null==p&&(p=h),"function"==typeof d.type&&d.__k===_.__k?d.__d=l=K(d,l,e):l=te(e,d,_,m,h,l),"function"==typeof n.type&&(n.__d=l)):l&&_.__e==l&&l.parentNode!=e&&(l=J(_))}for(n.__e=p,a=g;a--;)null!=m[a]&&("function"==typeof n.type&&null!=m[a].__e&&m[a].__e==n.__d&&(n.__d=J(r,a+1)),ae(m[a],m[a]));if(v)for(a=0;a<v.length;a++)ce(v[a],v[++a],v[++a])}function K(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?K(r,t,n):te(n,r,r,o,r.__e,t));return t}function ee(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){ee(e,t)})):t.push(e)),t}function te(e,t,n,r,o,i){var u,s,l;if(void 0!==t.__d)u=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),u=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function ne(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||F.test(t)?n:n+"px"}function re(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||ne(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ne(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?ie:oe,i):e.removeEventListener(t,i?ie:oe,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function oe(e){this.l[e.type+!1](M.event?M.event(e):e)}function ie(e){this.l[e.type+!0](M.event?M.event(e):e)}function ue(e,t,n,r,o,i,u,s,l){var c,a,f,_,d,h,p,v,m,g,y,w,b,C=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(c=M.__b)&&c(t);try{e:if("function"==typeof C){if(v=t.props,m=(c=C.contextType)&&r[c.__c],g=c?m?m.props.value:c.__:r,n.__c?p=(a=t.__c=n.__c).__=a.__E:("prototype"in C&&C.prototype.render?t.__c=a=new C(v,g):(t.__c=a=new B(v,g),a.constructor=C,a.render=fe),m&&m.sub(a),a.props=v,a.state||(a.state={}),a.context=g,a.__n=r,f=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=C.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=V({},a.__s)),V(a.__s,C.getDerivedStateFromProps(v,a.__s))),_=a.props,d=a.state,f)null==C.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==C.getDerivedStateFromProps&&v!==_&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(v,g),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(v,a.__s,g)||t.__v===n.__v){a.props=v,a.state=a.__s,t.__v!==n.__v&&(a.__d=!1),a.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),a.__h.length&&u.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(v,a.__s,g),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(_,d,h)}))}if(a.context=g,a.props=v,a.__v=t,a.__P=e,y=M.__r,w=0,"prototype"in C&&C.prototype.render)a.state=a.__s,a.__d=!1,y&&y(t),c=a.render(a.props,a.state,a.context);else do{a.__d=!1,y&&y(t),c=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++w<25);a.state=a.__s,null!=a.getChildContext&&(r=V(V({},r),a.getChildContext())),f||null==a.getSnapshotBeforeUpdate||(h=a.getSnapshotBeforeUpdate(_,d)),b=null!=c&&c.type===z&&null==c.key?c.props.children:c,X(e,Array.isArray(b)?b:[b],t,n,r,o,i,u,s,l),a.base=t.__e,t.__h=null,a.__h.length&&u.push(a),p&&(a.__E=a.__=null),a.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=le(n.__e,t,n,r,o,i,u,l);(c=M.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=i)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),M.__e(e,t,n)}}function se(e,t){M.__c&&M.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){M.__e(e,t.__v)}}))}function le(e,t,n,r,o,i,u,s){var l,c,a,f=n.props,_=t.props,d=t.type,h=0;if("svg"===d&&(o=!0),null!=i)for(;h<i.length;h++)if((l=i[h])&&"setAttribute"in l==!!d&&(d?l.localName===d:3===l.nodeType)){e=l,i[h]=null;break}if(null==e){if(null===d)return document.createTextNode(_);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,_.is&&_),i=null,s=!1}if(null===d)f===_||s&&e.data===_||(e.data=_);else{if(i=i&&P.call(e.childNodes),c=(f=n.props||j).dangerouslySetInnerHTML,a=_.dangerouslySetInnerHTML,!s){if(null!=i)for(f={},h=0;h<e.attributes.length;h++)f[e.attributes[h].name]=e.attributes[h].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||re(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]||re(e,i,t[i],n[i],r)}(e,_,f,o,s),a)t.__k=[];else if(h=t.props.children,X(e,Array.isArray(h)?h:[h],t,n,r,o&&"foreignObject"!==d,i,u,i?i[0]:n.__k&&J(n,0),s),null!=i)for(h=i.length;h--;)null!=i[h]&&W(i[h]);s||("value"in _&&void 0!==(h=_.value)&&(h!==e.value||"progress"===d&&!h||"option"===d&&h!==f.value)&&re(e,"value",h,f.value,!1),"checked"in _&&void 0!==(h=_.checked)&&h!==e.checked&&re(e,"checked",h,f.checked,!1))}return e}function ce(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){M.__e(e,n)}}function ae(e,t,n){var r,o;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ce(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){M.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ae(r[o],t,"function"!=typeof e.type);n||null==e.__e||W(e.__e),e.__e=e.__d=void 0}function fe(e,t,n){return this.constructor(e,n)}function _e(e,t,n){var r,o,i;M.__&&M.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],ue(t,e=(!r&&n||t).__k=$(z,null,[e]),o||j,j,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?P.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),se(i,e)}function de(e,t){_e(e,t,de)}function he(e,t,n){var r,o,i,u=V({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];return arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):n),q(e.type,u,r||e.key,o||e.ref,null)}P=G.slice,M={__e:function(e,t,n,r){for(var o,i,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(t){e=t}throw e}},D=0,B.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=V({},this.state),"function"==typeof e&&(e=e(V({},n),this.props)),e&&V(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),Z(this))},B.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Z(this))},B.prototype.render=z,H=[],Q.__r=0,L=0;var pe,ve,me,ge,ye=0,we=[],be=[],Ce=M.__b,Ee=M.__r,Se=M.diffed,ke=M.__c,xe=M.unmount;function Oe(e,t){M.__h&&M.__h(ve,e,ye||t),ye=0;var n=ve.__H||(ve.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:be}),n.__[e]}function Ne(e){return ye=1,Ie(Le,e)}function Ie(e,t,n){var r=Oe(pe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Le(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=ve,!ve.u)){ve.u=!0;var o=ve.shouldComponentUpdate;ve.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));return(i.every((function(e){return!e.__N}))||!i.every((function(e){if(!e.__N)return!0;var t=e.__[0];return e.__=e.__N,e.__N=void 0,t===e.__[0]})))&&(!o||o.call(this,e,t,n))}}return r.__N||r.__}function Te(e,t){var n=Oe(pe++,3);!M.__s&&Re(n.__H,t)&&(n.__=e,n.i=t,ve.__H.__h.push(n))}function Ae(e,t){var n=Oe(pe++,4);!M.__s&&Re(n.__H,t)&&(n.__=e,n.i=t,ve.__h.push(n))}function Ue(e,t){var n=Oe(pe++,7);return Re(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Pe(){for(var e;e=we.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(De),e.__H.__h.forEach(He),e.__H.__h=[]}catch(t){e.__H.__h=[],M.__e(t,e.__v)}}M.__b=function(e){ve=null,Ce&&Ce(e)},M.__r=function(e){Ee&&Ee(e),pe=0;var t=(ve=e.__c).__H;t&&(me===ve?(t.__h=[],ve.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=be,e.__N=e.i=void 0}))):(t.__h.forEach(De),t.__h.forEach(He),t.__h=[])),me=ve},M.diffed=function(e){Se&&Se(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==we.push(t)&&ge===M.requestAnimationFrame||((ge=M.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Me&&(t=requestAnimationFrame(n))})(Pe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==be&&(e.__=e.__V),e.i=void 0,e.__V=be}))),me=ve=null},M.__c=function(e,t){t.some((function(e){try{e.__h.forEach(De),e.__h=e.__h.filter((function(e){return!e.__||He(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],M.__e(n,e.__v)}})),ke&&ke(e,t)},M.unmount=function(e){xe&&xe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{De(e)}catch(e){t=e}})),t&&M.__e(t,n.__v))};var Me="function"==typeof requestAnimationFrame;function De(e){var t=ve,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),ve=t}function He(e){var t=ve;e.__c=e.__(),ve=t}function Re(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Le(e,t){return"function"==typeof t?t(e):t}function je(e,t){for(var n in t)e[n]=t[n];return e}function Ge(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 Fe(e){this.props=e}(Fe.prototype=new B).isPureReactComponent=!0,Fe.prototype.shouldComponentUpdate=function(e,t){return Ge(this.props,e)||Ge(this.state,t)};var Ve=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ve&&Ve(e)};var We="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,$e=function(e,t){return null==e?null:ee(ee(e).map(t))},qe={map:$e,forEach:$e,count:function(e){return e?ee(e).length:0},only:function(e){var t=ee(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:ee},ze=M.__e;M.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ze(e,t,n,r)};var Be=M.unmount;function Je(){this.__u=0,this.t=null,this.__b=null}function Ye(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Be&&Be(e)},(Je.prototype=new B).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ye(r.__v),i=!1,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]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},Je.prototype.componentWillUnmount=function(){this.t=[]},Je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=je({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&$(z,null,e.fallback);return o&&(o.__h=null),[$(z,null,t.__a?null:e.children),o]};var Qe=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 Xe(e){return this.getChildContext=function(){return e.context},e.children}function Ke(e){var t=this,n=e.i;t.componentWillUnmount=function(){_e(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),_e($(Xe,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(Ze.prototype=new B).__a=function(e){var t=this,n=Ye(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Qe(t,e,r)):o()};n?n(i):i()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=ee(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},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Qe(e,n,t)}))};var et="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,tt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,nt="undefined"!=typeof document,rt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function ot(e,t,n){return null==t.__k&&(t.textContent=""),_e(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 it=M.event;function ut(){}function st(){return this.cancelBubble}function lt(){return this.defaultPrevented}M.event=function(e){return it&&(e=it(e)),e.persist=ut,e.isPropagationStopped=st,e.isDefaultPrevented=lt,e.nativeEvent=e};var ct,at={configurable:!0,get:function(){return this.class}},ft=M.vnode;M.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var u=n[i];nt&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==u||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===u?u="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!rt(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&tt.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===u&&(u=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=u)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=ee(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=ee(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(at.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",at))}e.$$typeof=et,ft&&ft(e)};var _t=M.__r;M.__r=function(e){_t&&_t(e),ct=e.__c};var dt={ReactCurrentDispatcher:{current:{readContext:function(e){return ct.__n[e.__c].props.value}}}};function ht(e){return!!e&&e.$$typeof===et}function pt(e){e()}const vt={useState:Ne,useReducer:Ie,useEffect:Te,useLayoutEffect:Ae,useInsertionEffect:Ae,useTransition:function(){return[!1,pt]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Ne({s:{__:n,h:t}}),o=r[0].s,i=r[1];return Ae((function(){o.__=n,o.h=t,o.__!==t()&&i({s:o})}),[e,n,t]),Te((function(){return o.__!==o.h()&&i({s:o}),e((function(){o.__!==o.h()&&i({s:o})}))}),[e]),n},startTransition:pt,useRef:function(e){return ye=5,Ue((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){ye=6,Ae((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:Ue,useCallback:function(e,t){return ye=8,Ue((function(){return e}),t)},useContext:function(e){var t=ve.context[e.__c],n=Oe(pe++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(ve)),t.props.value):e.__},useDebugValue:function(e,t){M.useDebugValue&&M.useDebugValue(t?t(e):e)},version:"17.0.2",Children:qe,render:ot,hydrate:function(e,t,n){return de(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(_e(null,e),!0)},createPortal:function(e,t){var n=$(Ke,{__v:e,i:t});return n.containerInfo=t,n},createElement:$,createContext:function(e,t){var n={__c:t="__cC"+L++,__: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(Z)},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 $.bind(null,e)},cloneElement:function(e){return ht(e)?he.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:z,isValidElement:ht,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:B,PureComponent:Fe,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:Ge(this.props,e)}function r(t){return this.shouldComponentUpdate=n,$(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=je({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=We,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:z,Suspense:Je,SuspenseList:Ze,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 $(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:dt};function mt(e,t=0){var n,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=mt(r);else{if(100===t){n+="; ...";break}n+="; "+mt(r)}t++}return n+"]"}(e);{const o=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+mt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class gt{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n="",r=!0;return 1===t.length?(n=mt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>mt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>f(e)));return e.splice(0,0,c(this.tag)),a(e)}Equals(e){return this===e||!!n(this,e)&&this.tag===e.tag&&_(this.fields,e.fields)}CompareTo(e){return this===e?0:n(this,e)?this.tag===e.tag?v(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class 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+" = "+mt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>f(e)));return a(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!d(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=m(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}function wt(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 bt extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}function Ct(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+u(~~(e/36e5),2)+":"+u(n,2)}function Et(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 St(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}const kt=Symbol("numeric");function xt(e,t){return"number"==typeof e?e.toPrecision(t):e[kt]().toPrecision(t)}function Ot(e,t){return"number"==typeof e?e.toExponential(t):e[kt]().toExponential(t)}function Nt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[kt]().toHex()}function It(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const Tt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function At(e){return{input:e,cont:(t=e,e=>{Tt.lastIndex=0;const n=[],r=[];let o=0,i=Tt.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=Tt.lastIndex,Tt.lastIndex-=1,i=Tt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Mt(e,n,r))})};var t}function Ut(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function Pt(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||(null==e?void 0:e[kt])}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e,t){return"number"==typeof e?-1*e:e[kt]().multiply(-1)}(e),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=function(e,t){return"number"==typeof e?e.toFixed(t):e[kt]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?xt(e,r):xt(e);break;case"e":case"E":e=null!=r?Ot(e,r):Ot(e);break;case"x":e=Nt(e);break;case"X":e=Nt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t,n){return null!=e.offset?function(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Ct(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return St(i,t,!0);switch(t){case"D":case"d":return Et(i,"first");case"T":case"t":return Et(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Ct(t)}(i,null!==(o=e.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return St(e,t,n);switch(t){case"D":case"d":return n?Et(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Et(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return u(e.getFullYear(),4)+"-"+u(e.getMonth()+1,2)+"-"+u(e.getDate(),2)+"T"+u(e.getHours(),2)+":"+u(e.getMinutes(),2)+":"+u(e.getSeconds(),2)+"."+u(e.getMilliseconds(),3)+(t?Ct(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):mt(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=Rt(e,n-i.length,u,o)):Rt(i+e,n,u,o)}return e}function Mt(e,t,n,r="",o=-1){return(...i)=>{let u=r;const s=t.slice(),l=n.slice();for(const e of i){const[,,t,n,r,i]=l[0];let c=n;if(o>=0)c=o,o=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");o=e;continue}u+=s[0],u+=Pt(e,t,c,r,i),s.splice(0,1),l.splice(0,1)}return 0===l.length?(u+=s[0],e(u)):Mt(e,s,l,u,o)}}function Dt(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function Ht(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Rt(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 Lt(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}class jt extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Ht("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1];if(d(n.head,r.head)){e=i,t=u;continue e}return!1}return!1}return null==o[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,u=i.tail;if(null==u)return 0|o;{const s=u;if(r>18)return 0|o;e=r+1,t=(o<<1)+f(i.head)+631*r,n=s}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1],s=0|m(n.head,r.head);if(0===s){e=i,t=u;continue e}return 0|s}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new Gt(this)}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return o(this)}}class Gt{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=t;return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function Ft(){return new jt(null,void 0)}function Vt(e,t){return new jt(e,t)}function Wt(e){return null==e.tail}function $t(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function qt(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function zt(){return Ft()}function Bt(e){return Vt(e,Ft())}function Jt(e){return Wt(e)}function Yt(e){return $t(e)}function Zt(e){return qt(e)}function Qt(e,t,n){let r=t,o=n;for(;!Wt(o);)r=e(r,$t(o)),o=qt(o);return r}function Xt(e,t){Qt(((t,n)=>{e(n)}),void 0,t)}function Kt(e){return function(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Vt(e[t],n);return n}(e,Ft())}function en(e,t){const n=Ft(),r=Qt(((t,n)=>{const r=new jt(e(n),void 0);return t.tail=r,r}),n,t),o=Ft();return r.tail=o,qt(n)}function tn(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,u=0|n.length;if(i>u)return!1;if(i<u)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}const nn="The input sequence has an insufficient number of elements.";function rn(){throw new Error("Enumeration has not started. Call MoveNext.")}function on(){throw new Error("Enumeration already finished.")}class un{constructor(e){this.f=e}toString(){let e=0,n="seq [";const r=o(this);try{for(;e<4&&r["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=mt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{t(r)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class sn{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 ln(e,t,n){return new sn(e,t,n)}function cn(e,t,n){let r,o=!1,i=k(e());const u=()=>{if(null!=i){const e=x(i);try{n(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return ln((()=>(o||rn(),null!=r?x(r):on())),(()=>{if(o||(o=!0),null!=i){const e=x(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),u)}function an(e){return function(e){return new un(e)}(e)}function fn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),o(e);var t}function _n(e){return an((()=>o(e())))}function dn(e){return an((()=>function(e){let n,r,i,u=!1,s=!1;const l=()=>{if(s=!0,null!=r){const e=r;try{t(e)}finally{r=void 0}}if(null!=n){const e=n;try{t(e)}finally{n=void 0}}};return ln((()=>(u?s&&on():rn(),null!=i?x(i):on())),(()=>{let c;if(u||(u=!0),s)return!1;{let u;for(;null==u;){const s=[n,r];if(null!=s[0])if(null!=s[1]){const e=s[1];if(e["System.Collections.IEnumerator.MoveNext"]())i=k(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{t(e)}finally{r=void 0}}else{const e=s[0];e["System.Collections.IEnumerator.MoveNext"]()?(c=e["System.Collections.Generic.IEnumerator`1.get_Current"](),r=o(c)):(l(),u=!1)}else n=o(e)}return x(u)}}),(()=>{s||l()}))}(e)))}function hn(e){return _n((()=>function(e,t){const n=function(e,t){return"function"==typeof e?new e(t):new Array(t)}(void 0,1);return n[0]=e,n}(e)))}function pn(e,t){return dn([e,t])}function vn(e,n){!function(e,n,r){const o=fn(r);try{let r=n;for(;o["System.Collections.IEnumerator.MoveNext"]();)r=e(r,o["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t(o)}}(((t,n)=>{e(n)}),void 0,n)}function mn(e,n){return r=()=>fn(n),o=t=>t["System.Collections.IEnumerator.MoveNext"]()?k(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{t(e)},an((()=>cn(r,o,i)));var r,o,i}function gn(e,n){return an((()=>{const r=fn(n);try{for(let t=1;t<=e;t++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(nn+"\\nParameter name: source");return function(e,n){return ln((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{t(n)}finally{e()}}))}((()=>{}),r)}catch(e){throw t(r),e}}))}Symbol.iterator;const yn=vt;function wn(e){return{Dispose(){e()}}}function bn(e){var t;t=e,Te((()=>{const e=t();return()=>{e.Dispose()}}))}function Cn(e,t){const n=N(t,[]);return yn.useMemo(e,n)}function En(e){const t=(r=e,yn.useRef(r)),n=function(e,n){const r=N([],[]);return yn.useCallback((e=>t.current(e)),r)}();var r,o,i;return o=()=>{t.current=e},i=e=>(o(),wn((()=>{}))),Ae((()=>{const e=i();return()=>{e.Dispose()}})),n}const Sn=(()=>{try{if("undefined"!=typeof window&&"function"==typeof window.addEventListener){const e={passive:!0};window.addEventListener("testPassiveEventSupport",(e=>{}),e),window.removeEventListener("testPassiveEventSupport",(e=>{}))}}catch(e){}return!1})();function kn(e){return I((e=>e.passive&&!Sn?{capture:e.capture,once:e.once,passive:!1}:e),e)}function xn(e){return null!=(t=e)?(e=>e.capture?{capture:!0}:void 0)(x(t)):void 0;var t}function On(e,t){return 0===t.indexOf(e)?t:void 0}function Nn(e,t){return Dt(t,e)?t:void 0}function In(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=On("/",e),null!=t?(n=t,"#"+n):(r=On("#/",e),null!=r?(o=r,o):(i=On("#",e),null!=i?(u=i,"#/"+Lt(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=On("/",e),null!=t?(n=t,n):"/"+e}}(t)(Ht("/",en((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function Tn(e,t){return function(e,t){let n,r;const o=Ft();let i=o,u=t;for(;!Wt(u);){let t=e($t(u));for(;!Wt(t);)n=i,r=new jt($t(t),void 0),n.tail=r,i=r,t=qt(t);u=qt(u)}const s=i,l=Ft();return s.tail=l,qt(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return zt();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+It(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return zt();if(null!=On("?",t))return Bt(t);{const e=t.split("?");if(tn(((e,t)=>e===t),e,null)||1!==e.length){if(tn(((e,t)=>e===t),e,null)||2!==e.length)return zt();if(""===e[1]){const t=e[0];return Bt(decodeURIComponent(t))}{const t=e[0],n=e[1];return Kt([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Bt(decodeURIComponent(t))}}}var t}),Kt(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(It),t=t.length>0?t:["\\s"];const u=[],s=new RegExp(t.join("|"),"g");let l=!0,c=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(c).trim():e.substring(c);(!o||t.length>0)&&u.push(t),l=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(c).trim():e.substring(c)),l=!1):u.push(r)),c=s.lastIndex}}while(l);return u}(null!=On("#",e)?Lt(e,1,e.length-1):1!==t||null==Nn("#",e)&&null==Nn("#/",e)?e:"",["/"],null,0)))}const An=function(e,t,n,r){const o=yn.memo(e,w(2,N(C(2,n),null)));return vn((t=>{e.displayName=t}),O(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return yn.createElement(o,t)}}((e=>{const t=En((t=>{const n=N(e.onUrlChanged,(e=>{}));!function(e,t,n){t(Tn(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(N(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=Cn((()=>kn(r)),[r]),i=Cn((()=>xn(r)),[r]),u=Cn((()=>e=>{n(e)}),[n]);bn(En((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return wn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Cn((()=>kn(r)),[r]),i=Cn((()=>xn(r)),[r]),u=Cn((()=>e=>{n(e)}),[n]);bn(En((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return wn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Cn((()=>kn(o)),[o]),u=Cn((()=>xn(o)),[o]),s=Cn((()=>e=>{r(e)}),[r]);bn(En((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return wn((()=>{if(null==u)window.removeEventListener(n,s);else{const e=u;window.removeEventListener(n,s,e)}}))})));const l=e.application;return null==l?null:l}),void 0,void 0,void 0);class Un extends yt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Pn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}function Mn(e,t,n){Xt((n=>{try{n(t)}catch(t){e(t)}}),n)}function Dn(){return zt()}function Hn(e,t){return en((t=>n=>{t((t=>{n(e(t))}))}),t)}function Rn(e){return Bt((t=>{t(e)}))}function Ln(e,t,n,r){return Bt((o=>{e(t).then((e=>o(n(e)))).catch((e=>o(r(e))))}))}function jn(e,t,n,r,o){const i=function(e,t,n,r){const o=0|m(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|m(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return _n((()=>{return t=i,n=e,an((()=>function(e,t){let n,r=t;return ln((()=>{if(null!=n){const e=n[0];return n[1],e}return rn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class Gn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Fn{constructor(e){var t,n;this.state=new Gn(0,(t=new Array(g(p,e,10)),n=g(p,e,10),t.fill(null,0,0+n)),0)}}function Vn(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 Gn(0,o,n):new Gn(1,o,n,i),k(o[r])}}function Wn(e,n){const r=e.state;if(1===r.tag){const u=0|r.fields[1],s=0|r.fields[2],l=r.fields[0];l[u]=n;const c=(u+1)%l.length|0;e.state=c===s?new Gn(1,(o=s,i=l,Array.from(_n((()=>pn(gn(o,i),_n((()=>{return pn((e=o,n=i,r=()=>fn(n),u=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return k(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(nn+"\\nParameter name: source")}},s=e=>{t(e)},an((()=>{let e=-1;return cn(r,(t=>(e=e+1|0,u(e,t))),s)}))),_n((()=>{return e=e=>hn(null),0,1,n=i.length,t=jn(0,1,n,0,((e,t)=>e+t)),_n((()=>dn(mn(e,t))));var e,t,n})));var e,n,r,u,s}))))))),l.length,0):new Gn(1,l,c,s)}else{const t=0|r.fields[1],o=r.fields[0];o[t]=n;const i=(t+1)%o.length|0;e.state=new Gn(1,o,i,t)}var o,i}class $n 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.syncDispatch=u}}function qn(n,r){const i=r.init(n),u=i[0],s=new Fn(10);let l=!1,c=u;const a=E(1,r.syncDispatch,[e=>{if(l)Wn(s,e);else{l=!0;let t=k(e);for(;null!=t;){const e=x(t);try{const t=r.update(e,c),n=t[0];r.setState(n,a),Mn((t=>{r.onError([Ut(At("Error in command while handling: %A"))(e),t])}),a,t[1]),c=n}catch(t){r.onError([Ut(At("Unable to process the message: %A"))(e),t])}t=Vn(s)}l=!1}}]);r.setState(u,a),Mn((e=>{r.onError(["Error intitializing:",e])}),a,function(n){const r=Ft();let i=r;const u=e=>{i=Qt(((e,t)=>{const n=new jt(t,void 0);return e.tail=n,n}),i,e)};if(e(n))n.forEach(u);else if(n instanceof jt)Xt(u,n);else{const e=o(n);try{for(;e["System.Collections.IEnumerator.MoveNext"]();)u(e["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t(e)}}const s=i,l=Ft();return s.tail=l,qt(r)}(Kt([(()=>{try{return r.subscribe(u)}catch(e){return r.onError(["Unable to subscribe:",e]),Dn()}})(),i[1]])))}class zn extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Bn extends B{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class Jn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Token"]}}class Yn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["QueryString"]}}class Zn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function Qn(e){let t,n,r;switch(Jt(e)?t=0:"oidc"===Yt(e)?Jt(Zt(e))?t=3:"callback"===Yt(Zt(e))?Jt(Zt(Zt(e)))?t=3:Jt(Zt(Zt(Zt(e))))?(t=1,n=Yt(Zt(Zt(e)))):t=3:"silent-refresh"===Yt(Zt(e))?Jt(Zt(Zt(e)))?t=3:Jt(Zt(Zt(Zt(e))))?(t=2,r=Yt(Zt(Zt(e)))):t=3:t=3:t=3,t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new Zn(0);{const e=n;return vn((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),O(t.get("success-redirection-url"))),new Zn(1,new Jn(0,e))}}case 1:return new Zn(2,new Yn(0,n));case 2:return new Zn(3,new Yn(0,r));case 3:return new Zn(4)}}class Xn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Kn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class er extends yt{constructor(e){super(),this.AccessToken=e}}function tr(e){return new er(e.access_token)}class nr extends yt{constructor(e){super(),this.Auth=e}}class rr extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class or extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}const ir=(()=>{const e={};return e.store=k(window.sessionStorage),e})();function ur(){return new UserManager(function(){const e=function(e){return Dt(e,"/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=A,t.client_id="apollo-bank-details-ui",t.redirect_uri=e+"#/oidc/callback?",t.response_type="id_token token",t.scope="openid profile",t.automaticSilentRenew=!0,t.silent_redirect_uri=k(e+"#/oidc/silent-refresh?"),t.post_logout_redirect_uri=e+"#/oidc/logout?",t.accessTokenExpiringNotificationTime=10,t.filterProtocolClaims=!0,t.loadUserInfo=!1,t.clockSkew=2592e3,t.userStore=new WebStorageStateStore(ir),t}())}function sr(e){return e.length>0?Lt(e,1):e}function lr(e){return ur().signinRedirect(k({extraQueryParams:{irt:e.fields[0]}}))}function cr(e){return ur().signinRedirectCallback(sr(e.fields[0]))}function ar(e){return ur().signinSilentCallback(sr(e.fields[0]))}function fr(){return ur().getUser()}var _r;!function(e){qn(void 0,e)}(("bank-details-app",_r=function(e,t,n){return new $n((function(){const e=Qn(Tn(window.location.hash,1)),t=function(){const e=Qn(Tn(window.location.hash,1));return[new nr(new Xn(0)),1===e.tag?Rn(new rr(1,new Kn(0),e.fields[0])):2===e.tag?Rn(new rr(2,new Kn(0),e.fields[0])):3===e.tag?Rn(new rr(3,new Kn(0),e.fields[0])):Rn(new rr(0,new Kn(0)))]}();return[new Un(e,t[0]),Hn((e=>new Pn(1,e)),t[1])]}),t,(e=>Dn()),n,w(2,(e=>{const t=E(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(k(t),n)}),w(2,(e=>e)))}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new nr(new Xn(2,new or(1,e))),Dn()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,Dn()]:[new nr(new Xn(1)),(o=lr,i=e.fields[1],u=t=>new rr(1,new Kn(1,new or(1,t.message)),e.fields[1]),Bt((e=>{o(i).catch((t=>{e(u(t))}))})))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new nr(new Xn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),(r=e=>{!function(e,t,n){history.pushState(void 0,"",In(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Bt(""))},Bt(r))]:[new nr(new Xn(1)),Ln(cr,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new rr(2,new Kn(1,new or(0,t)),e.fields[1]))),(t=>new rr(2,new Kn(1,new or(1,t.message)),e.fields[1])))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("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 nr(new Xn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),Dn()]:[t,Ln(ar,e.fields[1],(t=>new rr(3,new Kn(1,new or(0,t)),e.fields[1])),(t=>new rr(3,new Kn(1,new or(1,t.message)),e.fields[1])))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("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 nr(new Xn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),Dn()]:[new nr(new Xn(1)),Ln(fr,void 0,(e=>new rr(0,new Kn(1,new or(0,e)))),(e=>new rr(0,new Kn(1,new or(1,e.message)))))];var r,o,i,u}(e.fields[0],t.Auth);return[new Un(t.CurrentPage,n[0]),Hn((e=>new Pn(1,e)),n[1])]}return[new Un(Qn(e.fields[0]),t.Auth),Dn()]}),(function(e,t){let n;const r=[U,A];let o,i;switch(null!=r[0]&&null!=r[1]?(o=0,i=r[0]):o=1,o){case 0:switch(e.CurrentPage.tag){case 1:case 2:case 3:n=$("div",{},"Please wait...");break;case 4:n=$("h1",{},"Not found");break;default:{const t=e.Auth.Auth;let r,o;switch(2===t.tag&&0===t.fields[0].tag?(r=0,o=t.fields[0].fields[0]):r=1,r){case 0:u=[],n=$("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 wt(e,"_");case 3:return wt(e,"_").toUpperCase();case 4:return wt(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof gt){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 bt(0,i),new bt(1,o.AccessToken)],1),...u);break;case 1:n=$("h1",{},"Unauthorised")}}}break;case 1:n=$("h1",{},"Invalid attribute configuration")}var u;return An({onUrlChanged:e=>{t(new Pn(0,e))},application:$(z,{},n)})})),function(e,t,n){return function(e,t){return new $n(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}(((r,o)=>{ot(e((e=>t=>e===t),function(e){return C(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new zn(n,(()=>t(n,r)),e);return $(Bn,o)}(w(2,e),w(2,t),n,r)),"bank-details-app",_r)))})();
1
+ (()=>{"use strict";function e(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function t(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function n(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}class r{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function o(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new r(e[Symbol.iterator]())}function i(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}function u(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function l(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class s{static id(e){return s.idMap.has(e)||s.idMap.set(e,++s.count),s.idMap.get(e)}}function c(e){return 2654435761*e|0}function a(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function f(t){var n;if(null==t)return 0;switch(typeof t){case"boolean":return t?1:0;case"number":return c(t);case"string":return function(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}(t);default:if(function(e){return"function"==typeof e.GetHashCode}(t))return t.GetHashCode();if(e(t))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=f(e[r]);return a(n)}(t);if(t instanceof Date)return function(e){return e.getTime()}(t);if((null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor)===Object){const e=Object.values(t).map((e=>f(e)));return a(e)}return c(s.id(t))}}function _(e,t){return function(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}(e,t,d)}function d(t,n){var r;return t===n||(null==t?null==n:null!=n&&"object"==typeof t&&(function(e){return"function"==typeof e.Equals}(t)?t.Equals(n):e(t)?e(n)&&_(t,n):t instanceof Date?n instanceof Date&&0===h(t,n):(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!d(e[n[o]],t[r[o]]))return!1;return!0}(t,n)))}function h(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+l(e),r=t.getTime()+l(t)),n===r?0:n<r?-1:1}function p(e,t){return e===t?0:e<t?-1:1}function v(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,m)}function m(t,n){var r;return t===n?0:null==t?null==n?0:-1:null==n?1:"object"!=typeof t?t<n?-1:1:function(e){return"function"==typeof e.CompareTo}(t)?t.CompareTo(n):e(t)?e(n)?v(t,n):-1:t instanceof Date?n instanceof Date?h(t,n):-1:(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const u=n[o];if(u!==r[o])return u<r[o]?-1:1;if(i=m(e[u],t[u]),0!==i)return i}return 0}(t,n):-1}function g(e,t,n){return e(t,n)>0?t:n}s.idMap=new WeakMap,s.count=0;const y=Symbol("curried");function w(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[y]=t,n}function b(e,t,n){return r=>1===t?n(...e.concat([r])):b(e.concat([r]),t-1,n)}function C(e,t){return null==t||1===t.length?t:y in t?t[y]:b([],e,t)}function E(e,t,n){if(null!=t){if(y in t){t=t[y];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return b(n,e,t)}}class S{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return f(this.value)}Equals(e){return null!=e&&d(this.value,e instanceof S?e.value:e)}CompareTo(e){return null==e?1:m(this.value,e instanceof S?e.value:e)}}function k(e){return null==e||e instanceof S?new S(e):e}function x(e){if(null==e)throw new Error("Option has no value");return e instanceof S?e.value:e}function O(e){return null==e?[]:[x(e)]}function N(e,t){return null!=e?x(e):t}function I(e,t){return null!=t?k(e(x(t))):void 0}const T=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),U=I((e=>e.getAttribute("data-identity-url")),T),P=I((e=>e.getAttribute("data-backend-url")),T);var A,M,D,H,R,L,j,G,F={},V=[],W=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,q=Array.isArray;function $(e,t){for(var n in t)e[n]=t[n];return e}function z(e){var t=e.parentNode;t&&t.removeChild(e)}function B(e,t,n){var r,o,i,u={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];if(arguments.length>2&&(u.children=arguments.length>3?A.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===u[i]&&(u[i]=e.defaultProps[i]);return J(e,u,r,o,null)}function J(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++D:o};return null==o&&null!=M.vnode&&M.vnode(i),i}function Y(e){return e.children}function Z(e,t){this.props=e,this.context=t}function Q(e,t){if(null==t)return e.__?Q(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Q(e):null}function X(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return X(e)}}function K(e){(!e.__d&&(e.__d=!0)&&H.push(e)&&!ee.__r++||R!==M.debounceRendering)&&((R=M.debounceRendering)||L)(ee)}function ee(){var e,t,n,r,o,i,u,l,s;for(H.sort(j);e=H.shift();)e.__d&&(t=H.length,r=void 0,o=void 0,i=void 0,l=(u=(n=e).__v).__e,(s=n.__P)&&(r=[],o=[],(i=$({},u)).__v=u.__v+1,ae(s,u,i,n.__n,void 0!==s.ownerSVGElement,null!=u.__h?[l]:null,r,null==l?Q(u):l,u.__h,o),fe(r,u,o),u.__e!=l&&X(u)),H.length>t&&H.sort(j));ee.__r=0}function te(e,t,n,r,o,i,u,l,s,c,a){var f,_,d,h,p,v,m,g,y,w=0,b=r&&r.__k||V,C=b.length,E=C,S=t.length;for(n.__k=[],f=0;f<S;f++)null!=(h=n.__k[f]=null==(h=t[f])||"boolean"==typeof h||"function"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?J(null,h,null,null,h):q(h)?J(Y,{children:h},null,null,null):h.__b>0?J(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h)?(h.__=n,h.__b=n.__b+1,-1===(g=ie(h,b,m=f+w,E))?d=F:(d=b[g]||F,b[g]=void 0,E--),ae(e,h,d,o,i,u,l,s,c,a),p=h.__e,(_=h.ref)&&d.ref!=_&&(d.ref&&de(d.ref,null,h),a.push(_,h.__c||p,h)),null!=p&&(null==v&&(v=p),(y=d===F||null===d.__v)?-1==g&&w--:g!==m&&(g===m+1?w++:g>m?E>S-m?w+=g-m:w--:w=g<m&&g==m-1?g-m:0),m=f+w,"function"!=typeof h.type||g===m&&d.__k!==h.__k?"function"==typeof h.type||g===m&&!y?void 0!==h.__d?(s=h.__d,h.__d=void 0):s=p.nextSibling:s=oe(e,p,s):s=ne(h,s,e),"function"==typeof n.type&&(n.__d=s))):(d=b[f])&&null==d.key&&d.__e&&(d.__e==s&&(s=Q(d)),he(d,d,!1),b[f]=null);for(n.__e=v,f=C;f--;)null!=b[f]&&("function"==typeof n.type&&null!=b[f].__e&&b[f].__e==n.__d&&(n.__d=b[f].__e.nextSibling),he(b[f],b[f]))}function ne(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?ne(r,t,n):oe(n,r.__e,t));return t}function re(e,t){return t=t||[],null==e||"boolean"==typeof e||(q(e)?e.some((function(e){re(e,t)})):t.push(e)),t}function oe(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function ie(e,t,n,r){var o=e.key,i=e.type,u=n-1,l=n+1,s=t[n];if(null===s||s&&o==s.key&&i===s.type)return n;if(r>(null!=s?1:0))for(;u>=0||l<t.length;){if(u>=0){if((s=t[u])&&o==s.key&&i===s.type)return u;u--}if(l<t.length){if((s=t[l])&&o==s.key&&i===s.type)return l;l++}}return-1}function ue(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||W.test(t)?n:n+"px"}function le(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||ue(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ue(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?ce:se,i):e.removeEventListener(t,i?ce:se,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function se(e){return this.l[e.type+!1](M.event?M.event(e):e)}function ce(e){return this.l[e.type+!0](M.event?M.event(e):e)}function ae(e,t,n,r,o,i,u,l,s,c){var a,f,_,d,h,p,v,m,g,y,w,b,C,E,S,k=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(s=n.__h,l=t.__e=n.__e,t.__h=null,i=[l]),(a=M.__b)&&a(t);e:if("function"==typeof k)try{if(m=t.props,g=(a=k.contextType)&&r[a.__c],y=a?g?g.props.value:a.__:r,n.__c?v=(f=t.__c=n.__c).__=f.__E:("prototype"in k&&k.prototype.render?t.__c=f=new k(m,y):(t.__c=f=new Z(m,y),f.constructor=k,f.render=pe),g&&g.sub(f),f.props=m,f.state||(f.state={}),f.context=y,f.__n=r,_=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=k.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=$({},f.__s)),$(f.__s,k.getDerivedStateFromProps(m,f.__s))),d=f.props,h=f.state,f.__v=t,_)null==k.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==k.getDerivedStateFromProps&&m!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(m,y),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(m,f.__s,y)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=m,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),w=0;w<f._sb.length;w++)f.__h.push(f._sb[w]);f._sb=[],f.__h.length&&u.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(m,f.__s,y),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,h,p)}))}if(f.context=y,f.props=m,f.__P=e,f.__e=!1,b=M.__r,C=0,"prototype"in k&&k.prototype.render){for(f.state=f.__s,f.__d=!1,b&&b(t),a=f.render(f.props,f.state,f.context),E=0;E<f._sb.length;E++)f.__h.push(f._sb[E]);f._sb=[]}else do{f.__d=!1,b&&b(t),a=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++C<25);f.state=f.__s,null!=f.getChildContext&&(r=$($({},r),f.getChildContext())),_||null==f.getSnapshotBeforeUpdate||(p=f.getSnapshotBeforeUpdate(d,h)),te(e,q(S=null!=a&&a.type===Y&&null==a.key?a.props.children:a)?S:[S],t,n,r,o,i,u,l,s,c),f.base=t.__e,t.__h=null,f.__h.length&&u.push(f),v&&(f.__E=f.__=null)}catch(e){t.__v=null,(s||null!=i)&&(t.__e=l,t.__h=!!s,i[i.indexOf(l)]=null),M.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=_e(n.__e,t,n,r,o,i,u,s,c);(a=M.diffed)&&a(t)}function fe(e,t,n){for(var r=0;r<n.length;r++)de(n[r],n[++r],n[++r]);M.__c&&M.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){M.__e(e,t.__v)}}))}function _e(e,t,n,r,o,i,u,l,s){var c,a,f,_=n.props,d=t.props,h=t.type,p=0;if("svg"===h&&(o=!0),null!=i)for(;p<i.length;p++)if((c=i[p])&&"setAttribute"in c==!!h&&(h?c.localName===h:3===c.nodeType)){e=c,i[p]=null;break}if(null==e){if(null===h)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),i=null,l=!1}if(null===h)_===d||l&&e.data===d||(e.data=d);else{if(i=i&&A.call(e.childNodes),a=(_=n.props||F).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!l){if(null!=i)for(_={},p=0;p<e.attributes.length;p++)_[e.attributes[p].name]=e.attributes[p].value;(f||a)&&(f&&(a&&f.__html==a.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||le(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||le(e,i,t[i],n[i],r)}(e,d,_,o,l),f)t.__k=[];else if(te(e,q(p=t.props.children)?p:[p],t,n,r,o&&"foreignObject"!==h,i,u,i?i[0]:n.__k&&Q(n,0),l,s),null!=i)for(p=i.length;p--;)null!=i[p]&&z(i[p]);l||("value"in d&&void 0!==(p=d.value)&&(p!==e.value||"progress"===h&&!p||"option"===h&&p!==_.value)&&le(e,"value",p,_.value,!1),"checked"in d&&void 0!==(p=d.checked)&&p!==e.checked&&le(e,"checked",p,_.checked,!1))}return e}function de(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){M.__e(e,n)}}function he(e,t,n){var r,o;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||de(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){M.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&he(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||z(e.__e),e.__=e.__e=e.__d=void 0}function pe(e,t,n){return this.constructor(e,n)}function ve(e,t,n){var r,o,i,u;M.__&&M.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],u=[],ae(t,e=(!r&&n||t).__k=B(Y,null,[e]),o||F,F,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?A.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,u),fe(i,e,u)}function me(e,t){ve(e,t,me)}function ge(e,t,n){var r,o,i,u,l=$({},e.props);for(i in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==i?r=t[i]:"ref"==i?o=t[i]:l[i]=void 0===t[i]&&void 0!==u?u[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?A.call(arguments,2):n),J(e.type,l,r||e.key,o||e.ref,null)}A=V.slice,M={__e:function(e,t,n,r){for(var o,i,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(t){e=t}throw e}},D=0,Z.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=$({},this.state),"function"==typeof e&&(e=e($({},n),this.props)),e&&$(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),K(this))},Z.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),K(this))},Z.prototype.render=Y,H=[],L="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,j=function(e,t){return e.__v.__b-t.__v.__b},ee.__r=0,G=0;var ye,we,be,Ce,Ee=0,Se=[],ke=[],xe=M.__b,Oe=M.__r,Ne=M.diffed,Ie=M.__c,Te=M.unmount;function Ue(e,t){M.__h&&M.__h(we,e,Ee||t),Ee=0;var n=we.__H||(we.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ke}),n.__[e]}function Pe(e){return Ee=1,Ae(We,e)}function Ae(e,t,n){var r=Ue(ye++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):We(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=we,!we.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var u=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(u=!0)}})),!(!u&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};we.u=!0;var i=we.shouldComponentUpdate,u=we.componentWillUpdate;we.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}u&&u.call(this,e,t,n)},we.shouldComponentUpdate=o}return r.__N||r.__}function Me(e,t){var n=Ue(ye++,3);!M.__s&&Ve(n.__H,t)&&(n.__=e,n.i=t,we.__H.__h.push(n))}function De(e,t){var n=Ue(ye++,4);!M.__s&&Ve(n.__H,t)&&(n.__=e,n.i=t,we.__h.push(n))}function He(e,t){var n=Ue(ye++,7);return Ve(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Re(){for(var e;e=Se.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ge),e.__H.__h.forEach(Fe),e.__H.__h=[]}catch(t){e.__H.__h=[],M.__e(t,e.__v)}}M.__b=function(e){we=null,xe&&xe(e)},M.__r=function(e){Oe&&Oe(e),ye=0;var t=(we=e.__c).__H;t&&(be===we?(t.__h=[],we.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=ke,e.__N=e.i=void 0}))):(t.__h.forEach(Ge),t.__h.forEach(Fe),t.__h=[],ye=0)),be=we},M.diffed=function(e){Ne&&Ne(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Se.push(t)&&Ce===M.requestAnimationFrame||((Ce=M.requestAnimationFrame)||je)(Re)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==ke&&(e.__=e.__V),e.i=void 0,e.__V=ke}))),be=we=null},M.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Ge),e.__h=e.__h.filter((function(e){return!e.__||Fe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],M.__e(n,e.__v)}})),Ie&&Ie(e,t)},M.unmount=function(e){Te&&Te(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{Ge(e)}catch(e){t=e}})),n.__H=void 0,t&&M.__e(t,n.__v))};var Le="function"==typeof requestAnimationFrame;function je(e){var t,n=function(){clearTimeout(r),Le&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Le&&(t=requestAnimationFrame(n))}function Ge(e){var t=we,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),we=t}function Fe(e){var t=we;e.__c=e.__(),we=t}function Ve(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function We(e,t){return"function"==typeof t?t(e):t}function qe(e,t){for(var n in t)e[n]=t[n];return e}function $e(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ze(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function Be(e){this.props=e}(Be.prototype=new Z).isPureReactComponent=!0,Be.prototype.shouldComponentUpdate=function(e,t){return $e(this.props,e)||$e(this.state,t)};var Je=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Je&&Je(e)};var Ye="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Ze=function(e,t){return null==e?null:re(re(e).map(t))},Qe={map:Ze,forEach:Ze,count:function(e){return e?re(e).length:0},only:function(e){var t=re(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:re},Xe=M.__e;M.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Xe(e,t,n,r)};var Ke=M.unmount;function et(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=qe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return et(e,t,n)}))),e}function tt(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return tt(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function nt(){this.__u=0,this.t=null,this.__b=null}function rt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ot(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Ke&&Ke(e)},(nt.prototype=new Z).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=rt(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=u;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=tt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},s=!0===t.__h;r.__u++||s||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},nt.prototype.componentWillUnmount=function(){this.t=[]},nt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=et(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&B(Y,null,e.fallback);return o&&(o.__h=null),[B(Y,null,t.__a?null:e.children),o]};var it=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ut(e){return this.getChildContext=function(){return e.context},e.children}function lt(e){var t=this,n=e.i;t.componentWillUnmount=function(){ve(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),ve(B(ut,{context:t.context},e.__v),t.l)}(ot.prototype=new Z).__a=function(e){var t=this,n=rt(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),it(t,e,r)):o()};n?n(i):i()}},ot.prototype.render=function(e){this.u=null,this.o=new Map;var t=re(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ot.prototype.componentDidUpdate=ot.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){it(e,n,t)}))};var st="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ct=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,at=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ft=/[A-Z0-9]/g,_t="undefined"!=typeof document,dt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function ht(e,t,n){return null==t.__k&&(t.textContent=""),ve(e,t),"function"==typeof n&&n(),e?e.__c:null}Z.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Z.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var pt=M.event;function vt(){}function mt(){return this.cancelBubble}function gt(){return this.defaultPrevented}M.event=function(e){return pt&&(e=pt(e)),e.persist=vt,e.isPropagationStopped=mt,e.isDefaultPrevented=gt,e.nativeEvent=e};var yt,wt={enumerable:!1,configurable:!0,get:function(){return this.class}},bt=M.vnode;M.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||_t&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var u=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===u?o="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||dt(t.type)?"onfocus"===u?o="onfocusin":"onblur"===u?o="onfocusout":at.test(o)?o=u:-1===n.indexOf("-")&&ct.test(o)?o=o.replace(ft,"-$&").toLowerCase():null===i&&(i=void 0):u=o="oninput","oninput"===u&&r[o=u]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=re(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=re(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",wt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=st,bt&&bt(e)};var Ct=M.__r;M.__r=function(e){Ct&&Ct(e),yt=e.__c};var Et=M.diffed;M.diffed=function(e){Et&&Et(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),yt=null};var St={ReactCurrentDispatcher:{current:{readContext:function(e){return yt.__n[e.__c].props.value}}}};function kt(e){return!!e&&e.$$typeof===st}function xt(e){e()}var Ot={useState:Pe,useId:function(){var e=Ue(ye++,11);if(!e.__){for(var t=we.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useReducer:Ae,useEffect:Me,useLayoutEffect:De,useInsertionEffect:De,useTransition:function(){return[!1,xt]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Pe({h:{__:n,v:t}}),o=r[0].h,i=r[1];return De((function(){o.__=n,o.v=t,ze(o.__,t())||i({h:o})}),[e,n,t]),Me((function(){return ze(o.__,o.v())||i({h:o}),e((function(){ze(o.__,o.v())||i({h:o})}))}),[e]),n},startTransition:xt,useRef:function(e){return Ee=5,He((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){Ee=6,De((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:He,useCallback:function(e,t){return Ee=8,He((function(){return e}),t)},useContext:function(e){var t=we.context[e.__c],n=Ue(ye++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(we)),t.props.value):e.__},useDebugValue:function(e,t){M.useDebugValue&&M.useDebugValue(t?t(e):e)},version:"17.0.2",Children:Qe,render:ht,hydrate:function(e,t,n){return me(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(ve(null,e),!0)},createPortal:function(e,t){var n=B(lt,{__v:e,i:t});return n.containerInfo=t,n},createElement:B,createContext:function(e,t){var n={__c:t="__cC"+G++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,K(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return B.bind(null,e)},cloneElement:function(e){return kt(e)?ge.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Y,isValidElement:kt,isElement:kt,isFragment:function(e){return kt(e)&&e.type===Y},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:Z,PureComponent:Be,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:$e(this.props,e)}function r(t){return this.shouldComponentUpdate=n,B(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=qe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ye,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Y,Suspense:nt,SuspenseList:ot,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return B(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:St};function Nt(e,t=0){var n,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=Nt(r);else{if(100===t){n+="; ...";break}n+="; "+Nt(r)}t++}return n+"]"}(e);{const o=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+Nt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class It{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n="",r=!0;return 1===t.length?(n=Nt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>Nt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>f(e)));return e.splice(0,0,c(this.tag)),a(e)}Equals(e){return this===e||!!n(this,e)&&this.tag===e.tag&&_(this.fields,e.fields)}CompareTo(e){return this===e?0:n(this,e)?this.tag===e.tag?v(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Tt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+Nt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>f(e)));return a(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!d(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=m(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}const Ut=0,Pt=1,At=2,Mt=3,Dt=4;function Ht(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}class Rt extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}function Lt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+u(~~(e/36e5),2)+":"+u(n,2)}function jt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Gt(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}const Ft=Symbol("numeric");function Vt(e,t){return"number"==typeof e?e.toPrecision(t):e[Ft]().toPrecision(t)}function Wt(e,t){return"number"==typeof e?e.toExponential(t):e[Ft]().toExponential(t)}function qt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Ft]().toHex()}function $t(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const zt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function Bt(e){return{input:e,cont:(t=e,e=>{zt.lastIndex=0;const n=[],r=[];let o=0,i=zt.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=zt.lastIndex,zt.lastIndex-=1,i=zt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Zt(e,n,r))})};var t}function Jt(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function Yt(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||(null==e?void 0:e[Ft])}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e,t){return"number"==typeof e?-1*e:e[Ft]().multiply(-1)}(e),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=function(e,t){return"number"==typeof e?e.toFixed(t):e[Ft]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Vt(e,r):Vt(e);break;case"e":case"E":e=null!=r?Wt(e,r):Wt(e);break;case"x":e=qt(e);break;case"X":e=qt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t,n){return null!=e.offset?function(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Lt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Gt(i,t,!0);switch(t){case"D":case"d":return jt(i,"first");case"T":case"t":return jt(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Lt(t)}(i,null!==(o=e.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return Gt(e,t,n);switch(t){case"D":case"d":return n?jt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?jt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return u(e.getFullYear(),4)+"-"+u(e.getMonth()+1,2)+"-"+u(e.getDate(),2)+"T"+u(e.getHours(),2)+":"+u(e.getMinutes(),2)+":"+u(e.getSeconds(),2)+"."+u(e.getMilliseconds(),3)+(t?Lt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):Nt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=i+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,u=o||!r?" ":"0";e="0"===u?i+(e=Kt(e,n-i.length,u,o)):Kt(i+e,n,u,o)}return e}function Zt(e,t,n,r="",o=-1){return(...i)=>{let u=r;const l=t.slice(),s=n.slice();for(const e of i){const[,,t,n,r,i]=s[0];let c=n;if(o>=0)c=o,o=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");o=e;continue}u+=l[0],u+=Yt(e,t,c,r,i),l.splice(0,1),s.splice(0,1)}return 0===s.length?(u+=l[0],e(u)):Zt(e,l,s,u,o)}}function Qt(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function Xt(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Kt(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function en(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const tn="Collection was empty.";class nn extends Tt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Xt("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1];if(d(n.head,r.head)){e=i,t=u;continue e}return!1}return!1}return null==o[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,u=i.tail;if(null==u)return 0|o;{const l=u;if(r>18)return 0|o;e=r+1,t=(o<<1)+f(i.head)+631*r,n=l}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1],l=0|m(n.head,r.head);if(0===l){e=i,t=u;continue e}return 0|l}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new rn(this)}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return o(this)}}class rn{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=t;return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function on(){return new nn(null,void 0)}function un(e,t){return new nn(e,t)}function ln(e){return null==e.tail}function sn(e){if(null!=e.tail)return e.head;throw new Error(tn+"\\nParameter name: list")}function cn(e){const t=e.tail;if(null!=t)return t;throw new Error(tn+"\\nParameter name: list")}function an(){return on()}function fn(e){return un(e,on())}function _n(e){return ln(e)}function dn(e){return sn(e)}function hn(e){return cn(e)}function pn(e,t,n){let r=t,o=n;for(;!ln(o);)r=e(r,sn(o)),o=cn(o);return r}function vn(e,t){pn(((t,n)=>{e(n)}),void 0,t)}function mn(e){return function(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=un(e[t],n);return n}(e,on())}function gn(e,t){const n=on(),r=pn(((t,n)=>{const r=new nn(e(n),void 0);return t.tail=r,r}),n,t),o=on();return r.tail=o,cn(n)}function yn(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,u=0|n.length;if(i>u)return!1;if(i<u)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}const wn="Enumeration already finished.",bn="Enumeration has not started. Call MoveNext.",Cn="The input sequence has an insufficient number of elements.";function En(){throw new Error(bn)}function Sn(){throw new Error(wn)}class kn{constructor(e){this.f=e}toString(){let e=0,n="seq [";const r=o(this);try{for(;e<4&&r["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=Nt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{t(r)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class xn{constructor(e,t,n){this.current=e,this.next=t,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function On(e,t,n){return new xn(e,t,n)}function Nn(e,t,n){let r,o=!1,i=k(e());const u=()=>{if(null!=i){const e=x(i);try{n(e)}finally{i=void 0}}},l=()=>{try{u()}finally{r=void 0}};return On((()=>(o||En(),null!=r?x(r):Sn())),(()=>{if(o||(o=!0),null!=i){const e=x(i);let n;try{n=t(e)}catch(e){throw l(),e}return null!=n?(r=n,!0):(l(),!1)}return!1}),u)}function In(e){return function(e){return new kn(e)}(e)}function Tn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),o(e);var t}function Un(e){return In((()=>o(e())))}function Pn(e){return In((()=>function(e){let n,r,i,u=!1,l=!1;const s=()=>{if(l=!0,null!=r){const e=r;try{t(e)}finally{r=void 0}}if(null!=n){const e=n;try{t(e)}finally{n=void 0}}};return On((()=>(u?l&&Sn():En(),null!=i?x(i):Sn())),(()=>{let c;if(u||(u=!0),l)return!1;{let u;for(;null==u;){const l=[n,r];if(null!=l[0])if(null!=l[1]){const e=l[1];if(e["System.Collections.IEnumerator.MoveNext"]())i=k(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{t(e)}finally{r=void 0}}else{const e=l[0];e["System.Collections.IEnumerator.MoveNext"]()?(c=e["System.Collections.Generic.IEnumerator`1.get_Current"](),r=o(c)):(s(),u=!1)}else n=o(e)}return x(u)}}),(()=>{l||s()}))}(e)))}function An(e){return Un((()=>function(e,t){const n=function(e,t){return"function"==typeof e?new e(t):new Array(t)}(void 0,1);return n[0]=e,n}(e)))}function Mn(e,t){return Pn([e,t])}function Dn(e,n){!function(e,n,r){const o=Tn(r);try{let t=n;for(;o["System.Collections.IEnumerator.MoveNext"]();)t=e(t,o["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{t(o)}}(((t,n)=>{e(n)}),void 0,n)}function Hn(e,n){return r=()=>Tn(n),o=t=>t["System.Collections.IEnumerator.MoveNext"]()?k(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{t(e)},In((()=>Nn(r,o,i)));var r,o,i}function Rn(e,n){return In((()=>{const r=Tn(n);try{for(let t=1;t<=e;t++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(Cn+"\\nParameter name: source");return function(e,n){return On((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{t(n)}finally{e()}}))}((()=>{}),r)}catch(e){throw t(r),e}}))}Symbol.iterator;const Ln=Ot;function jn(e){return{Dispose(){e()}}}function Gn(e){var t;t=e,Me((()=>{const e=t();return()=>{e.Dispose()}}))}function Fn(e,t){const n=N(t,[]);return Ln.useMemo(e,n)}function Vn(e){const t=(r=e,Ln.useRef(r)),n=function(e,n){const r=N([],[]);return Ln.useCallback((e=>t.current(e)),r)}();var r,o,i;return o=()=>{t.current=e},i=e=>(o(),jn((()=>{}))),De((()=>{const e=i();return()=>{e.Dispose()}})),n}const Wn=(()=>{try{if("undefined"!=typeof window&&"function"==typeof window.addEventListener){const e={passive:!0};window.addEventListener("testPassiveEventSupport",(e=>{}),e),window.removeEventListener("testPassiveEventSupport",(e=>{}))}}catch(e){}return!1})();function qn(e){return I((e=>e.passive&&!Wn?{capture:e.capture,once:e.once,passive:!1}:e),e)}function $n(e){return null!=(t=e)?(e=>e.capture?{capture:!0}:void 0)(x(t)):void 0;var t}function zn(e,t){return 0===t.indexOf(e)?t:void 0}function Bn(e,t){return Qt(t,e)?t:void 0}function Jn(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=zn("/",e),null!=t?(n=t,"#"+n):(r=zn("#/",e),null!=r?(o=r,o):(i=zn("#",e),null!=i?(u=i,"#/"+en(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=zn("/",e),null!=t?(n=t,n):"/"+e}}(t)(Xt("/",gn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function Yn(e,t){return function(e,t){let n,r;const o=on();let i=o,u=t;for(;!ln(u);){let t=e(sn(u));for(;!ln(t);)n=i,r=new nn(sn(t),void 0),n.tail=r,i=r,t=cn(t);u=cn(u)}const l=i,s=on();return l.tail=s,cn(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return an();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+$t(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return an();if(null!=zn("?",t))return fn(t);{const e=t.split("?");if(yn(((e,t)=>e===t),e,null)||1!==e.length){if(yn(((e,t)=>e===t),e,null)||2!==e.length)return an();if(""===e[1]){const t=e[0];return fn(decodeURIComponent(t))}{const t=e[0],n=e[1];return mn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return fn(decodeURIComponent(t))}}}var t}),mn(function(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map($t),t=t.length>0?t:["\\s"];const u=[],l=new RegExp(t.join("|"),"g");let s=!0,c=0;do{const t=l.exec(e);if(null===t){const t=i?e.substring(c).trim():e.substring(c);(!o||t.length>0)&&u.push(t),s=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(c).trim():e.substring(c)),s=!1):u.push(r)),c=l.lastIndex}}while(s);return u}(null!=zn("#",e)?en(e,1,e.length-1):1!==t||null==Bn("#",e)&&null==Bn("#/",e)?e:"",["/"],null,0)))}const Zn=function(e,t,n,r){const o=Ln.memo(e,w(2,N(C(2,n),null)));return Dn((t=>{e.displayName=t}),O(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return Ln.createElement(o,t)}}((e=>{const t=Vn((t=>{const n=N(e.onUrlChanged,(e=>{}));!function(e,t,n){t(Yn(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(N(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=Fn((()=>qn(r)),[r]),i=Fn((()=>$n(r)),[r]),u=Fn((()=>e=>{n(e)}),[n]);Gn(Vn((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return jn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Fn((()=>qn(r)),[r]),i=Fn((()=>$n(r)),[r]),u=Fn((()=>e=>{n(e)}),[n]);Gn(Vn((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return jn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Fn((()=>qn(o)),[o]),u=Fn((()=>$n(o)),[o]),l=Fn((()=>e=>{r(e)}),[r]);Gn(Vn((()=>{if(null==i)window.addEventListener(n,l);else{const e=i;window.addEventListener(n,l,e)}return jn((()=>{if(null==u)window.removeEventListener(n,l);else{const e=u;window.removeEventListener(n,l,e)}}))})));const s=e.application;return null==s?null:s}),void 0,void 0,void 0);class Qn extends Tt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Xn extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}function Kn(e,t,n){vn((n=>{try{n(t)}catch(t){e(t)}}),n)}function er(){return an()}function tr(e,t){return gn((t=>n=>{t((t=>{n(e(t))}))}),t)}function nr(e){return fn((t=>{t(e)}))}function rr(e,t,n,r){return fn((o=>{e(t).then((e=>o(n(e)))).catch((e=>o(r(e))))}))}function or(e,t,n,r,o){const i=function(e,t,n,r){const o=0|m(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|m(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return Un((()=>{return t=i,n=e,In((()=>function(e,t){let n,r=t;return On((()=>{if(null!=n){const e=n[0];return n[1],e}return En()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class ir extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class ur{constructor(e){var t,n;this.state=new ir(0,(t=new Array(g(p,e,10)),n=g(p,e,10),t.fill(null,0,0+n)),0)}}function lr(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new ir(0,o,n):new ir(1,o,n,i),k(o[r])}}function sr(e,n){const r=e.state;if(1===r.tag){const u=0|r.fields[1],l=0|r.fields[2],s=r.fields[0];s[u]=n;const c=(u+1)%s.length|0;e.state=c===l?new ir(1,(o=l,i=s,Array.from(Un((()=>Mn(Rn(o,i),Un((()=>{return Mn((e=o,n=i,r=()=>Tn(n),u=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return k(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Cn+"\\nParameter name: source")}},l=e=>{t(e)},In((()=>{let e=-1;return Nn(r,(t=>(e=e+1|0,u(e,t))),l)}))),Un((()=>{return e=e=>An(null),0,1,n=i.length,t=or(0,1,n,0,((e,t)=>e+t)),Un((()=>Pn(Hn(e,t))));var e,t,n})));var e,n,r,u,l}))))))),s.length,0):new ir(1,s,c,l)}else{const t=0|r.fields[1],o=r.fields[0];o[t]=n;const i=(t+1)%o.length|0;e.state=new ir(1,o,i,t)}var o,i}class cr extends Tt{constructor(e,t,n,r,o,i,u){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=u}}function ar(n,r){const i=r.init(n),u=i[0],l=new ur(10);let s=!1,c=u;const a=E(1,r.syncDispatch,[e=>{if(s)sr(l,e);else{s=!0;let t=k(e);for(;null!=t;){const e=x(t);try{const t=r.update(e,c),n=t[0];r.setState(n,a),Kn((t=>{r.onError([Jt(Bt("Error in command while handling: %A"))(e),t])}),a,t[1]),c=n}catch(t){r.onError([Jt(Bt("Unable to process the message: %A"))(e),t])}t=lr(l)}s=!1}}]);r.setState(u,a),Kn((e=>{r.onError(["Error intitializing:",e])}),a,function(n){const r=on();let i=r;const u=e=>{i=pn(((e,t)=>{const n=new nn(t,void 0);return e.tail=n,n}),i,e)};if(e(n))n.forEach(u);else if(n instanceof nn)vn(u,n);else{const e=o(n);try{for(;e["System.Collections.IEnumerator.MoveNext"]();)u(e["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t(e)}}const l=i,s=on();return l.tail=s,cn(r)}(mn([(()=>{try{return r.subscribe(u)}catch(e){return r.onError(["Unable to subscribe:",e]),er()}})(),i[1]])))}class fr extends Tt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class _r extends Z{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class dr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Token"]}}class hr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["QueryString"]}}class pr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function vr(e){let t,n,r;switch(_n(e)?t=0:"oidc"===dn(e)?_n(hn(e))?t=3:"callback"===dn(hn(e))?_n(hn(hn(e)))?t=3:_n(hn(hn(hn(e))))?(t=1,n=dn(hn(hn(e)))):t=3:"silent-refresh"===dn(hn(e))?_n(hn(hn(e)))?t=3:_n(hn(hn(hn(e))))?(t=2,r=dn(hn(hn(e)))):t=3:t=3:t=3,t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new pr(0);{const e=n;return Dn((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),O(t.get("success-redirection-url"))),new pr(1,new dr(0,e))}}case 1:return new pr(2,new hr(0,n));case 2:return new pr(3,new hr(0,r));case 3:return new pr(4)}}class mr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class gr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class yr extends Tt{constructor(e){super(),this.AccessToken=e}}function wr(e){return new yr(e.access_token)}class br extends Tt{constructor(e){super(),this.Auth=e}}class Cr extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class Er extends It{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}const Sr=(()=>{const e={};return e.store=k(window.sessionStorage),e})();function kr(){return new UserManager(function(){const e=function(e){return Qt(e,"/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=U,t.client_id="apollo-bank-details-ui",t.redirect_uri=e+"#/oidc/callback?",t.response_type="id_token token",t.scope="openid profile",t.automaticSilentRenew=!0,t.silent_redirect_uri=k(e+"#/oidc/silent-refresh?"),t.post_logout_redirect_uri=e+"#/oidc/logout?",t.accessTokenExpiringNotificationTime=10,t.filterProtocolClaims=!0,t.loadUserInfo=!1,t.clockSkew=2592e3,t.userStore=new WebStorageStateStore(Sr),t}())}function xr(e){return e.length>0?en(e,1):e}function Or(e){return kr().signinRedirect(k({extraQueryParams:{irt:e.fields[0]}}))}function Nr(e){return kr().signinRedirectCallback(xr(e.fields[0]))}function Ir(e){return kr().signinSilentCallback(xr(e.fields[0]))}function Tr(){return kr().getUser()}var Ur;!function(e){ar(void 0,e)}(("bank-details-app",Ur=function(e,t,n){return new cr((function(){const e=vr(Yn(window.location.hash,1)),t=function(){const e=vr(Yn(window.location.hash,1));return[new br(new mr(0)),1===e.tag?nr(new Cr(1,new gr(0),e.fields[0])):2===e.tag?nr(new Cr(2,new gr(0),e.fields[0])):3===e.tag?nr(new Cr(3,new gr(0),e.fields[0])):nr(new Cr(0,new gr(0)))]}();return[new Qn(e,t[0]),tr((e=>new Xn(1,e)),t[1])]}),t,(e=>er()),n,w(2,(e=>{const t=E(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(k(t),n)}),w(2,(e=>e)))}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new br(new mr(2,new Er(1,e))),er()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,er()]:[new br(new mr(1)),(o=Or,i=e.fields[1],u=t=>new Cr(1,new gr(1,new Er(1,t.message)),e.fields[1]),fn((e=>{o(i).catch((t=>{e(u(t))}))})))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new br(new mr(2,new Er(0,wr(e.fields[0].fields[0].fields[0])))),(r=e=>{!function(e,t,n){history.pushState(void 0,"",Jn(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(fn(""))},fn(r))]:[new br(new mr(1)),rr(Nr,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new Cr(2,new gr(1,new Er(0,t)),e.fields[1]))),(t=>new Cr(2,new gr(1,new Er(1,t.message)),e.fields[1])))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("silent refresh expected a user but got none"):[new br(new mr(2,new Er(0,wr(e.fields[0].fields[0].fields[0])))),er()]:[t,rr(Ir,e.fields[1],(t=>new Cr(3,new gr(1,new Er(0,t)),e.fields[1])),(t=>new Cr(3,new gr(1,new Er(1,t.message)),e.fields[1])))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Jt(Bt("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("expected a user but got none"):[new br(new mr(2,new Er(0,wr(e.fields[0].fields[0].fields[0])))),er()]:[new br(new mr(1)),rr(Tr,void 0,(e=>new Cr(0,new gr(1,new Er(0,e)))),(e=>new Cr(0,new gr(1,new Er(1,e.message)))))];var r,o,i,u}(e.fields[0],t.Auth);return[new Qn(t.CurrentPage,n[0]),tr((e=>new Xn(1,e)),n[1])]}return[new Qn(vr(e.fields[0]),t.Auth),er()]}),(function(e,t){let n;const r=[P,U];let o,i;switch(null!=r[0]&&null!=r[1]?(o=0,i=r[0]):o=1,o){case 0:switch(e.CurrentPage.tag){case 1:case 2:case 3:n=B("div",{},"Please wait...");break;case 4:n=B("h1",{},"Not found");break;default:{const t=e.Auth.Auth;let r,o;switch(2===t.tag&&0===t.fields[0].tag?(r=0,o=t.fields[0].fields[0]):r=1,r){case 0:u=[],n=B("bank-component",function(e,t=Ut){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case Pt:return e.charAt(0).toLowerCase()+e.slice(1);case At:return Ht(e,"_");case Mt:return Ht(e,"_").toUpperCase();case Dt:return Ht(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=Ut;if(null==t&&o(t),t instanceof It){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}([new Rt(0,i),new Rt(1,o.AccessToken)],1),...u);break;case 1:n=B("h1",{},"Unauthorised")}}}break;case 1:n=B("h1",{},"Invalid attribute configuration")}var u;return Zn({onUrlChanged:e=>{t(new Xn(0,e))},application:B(Y,{},n)})})),function(e,t,n){return function(e,t){return new cr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}(((r,o)=>{ht(e((e=>t=>e===t),function(e){return C(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new fr(n,(()=>t(n,r)),e);return B(_r,o)}(w(2,e),w(2,t),n,r)),"bank-details-app",Ur)))})();
2
2
  //# sourceMappingURL=bank-details-app.js.map