@flarehr/bank-details-app 2.24.1 → 2.27.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 n(e,n){return Object.getPrototypeOf(e).constructor===Object.getPrototypeOf(n).constructor}function t(e,n){let t=e.toString(10);for(;t.length<n;)t="0"+t;return t}function r(e){const n=e;return"number"==typeof n.offset?n.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class i{static id(e){return i.idMap.has(e)||i.idMap.set(e,++i.count),i.idMap.get(e)}}function o(e){let n=0,t=5381;const r=e.length;for(;n<r;)t=33*t^e.charCodeAt(n++);return t}function u(e){return 2654435761*e|0}function s(e){return 0===e.length?0:e.reduce(((e,n)=>(e<<5)+e^n))}function l(n){if(null==n)return 0;switch(typeof n){case"boolean":return n?1:0;case"number":return u(n);case"string":return o(n);default:if(function(e){return"function"==typeof e.GetHashCode}(n))return n.GetHashCode();if(e(n))return function(e){const n=e.length,t=new Array(n);for(let r=0;r<n;r++)t[r]=l(e[r]);return s(t)}(n);if(n instanceof Date)return function(e){return e.getTime()}(n);if(Object.getPrototypeOf(n).constructor===Object){const e=Object.values(n).map((e=>l(e)));return s(e)}return u(i.id(n))}}function c(e,n,t){if(null==e)return null==n;if(null==n)return!1;if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(!t(e[r],n[r]))return!1;return!0}function a(e,n){return c(e,n,f)}function f(n,t){return n===t||(null==n?null==t:null!=t&&"object"==typeof n&&(function(e){return"function"==typeof e.Equals}(n)?n.Equals(t):e(n)?e(t)&&a(n,t):n instanceof Date?t instanceof Date&&0===_(n,t):Object.getPrototypeOf(n).constructor===Object&&function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;t.sort(),r.sort();for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!f(e[t[i]],n[r[i]]))return!1;return!0}(n,t)))}function _(e,n){let t,i;return"offset"in e&&"offset"in n?(t=e.getTime(),i=n.getTime()):(t=e.getTime()+r(e),i=n.getTime()+r(n)),t===i?0:t<i?-1:1}function h(e,n){return e===n?0:e<n?-1:1}function d(e,n){return function(e,n,t){if(null==e)return null==n?0:1;if(null==n)return-1;if(e.length!==n.length)return e.length<n.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=t(e[r],n[r]),0!==i)return i;return 0}(e,n,p)}function p(n,t){return n===t?0:null==n?null==t?0:-1:null==t?1:"object"!=typeof n?n<t?-1:1:function(e){return"function"==typeof e.CompareTo}(n)?n.CompareTo(t):e(n)?e(t)?d(n,t):-1:n instanceof Date?t instanceof Date?_(n,t):-1:Object.getPrototypeOf(n).constructor===Object?function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return t.length<r.length?-1:1;t.sort(),r.sort();for(let i=0,o=0;i<t.length;i++){const u=t[i];if(u!==r[i])return u<r[i]?-1:1;if(o=p(e[u],n[u]),0!==o)return o}return 0}(n,t):-1}function g(e,n,t){return e(n,t)>0?n:t}i.idMap=new WeakMap,i.count=0;const v="__CURRIED__";function m(e,n){if(null==n||n.length>1)return n;let t;switch(e){case 2:t=(e,t)=>n(e)(t);break;case 3:t=(e,t,r)=>n(e)(t)(r);break;case 4:t=(e,t,r,i)=>n(e)(t)(r)(i);break;case 5:t=(e,t,r,i,o)=>n(e)(t)(r)(i)(o);break;case 6:t=(e,t,r,i,o,u)=>n(e)(t)(r)(i)(o)(u);break;case 7:t=(e,t,r,i,o,u,s)=>n(e)(t)(r)(i)(o)(u)(s);break;case 8:t=(e,t,r,i,o,u,s,l)=>n(e)(t)(r)(i)(o)(u)(s)(l);break;default:throw new Error("Uncurrying to more than 8-arity is not supported: "+e)}return t.__CURRIED__=n,t}function w(e,n){if(null==n||1===n.length)return n;if(v in n)return n.__CURRIED__;switch(e){case 2:return e=>t=>n(e,t);case 3:return e=>t=>r=>n(e,t,r);case 4:return e=>t=>r=>i=>n(e,t,r,i);case 5:return e=>t=>r=>i=>o=>n(e,t,r,i,o);case 6:return e=>t=>r=>i=>o=>u=>n(e,t,r,i,o,u);case 7:return e=>t=>r=>i=>o=>u=>s=>n(e,t,r,i,o,u,s);case 8:return e=>t=>r=>i=>o=>u=>s=>l=>n(e,t,r,i,o,u,s,l);default:throw new Error("Currying to more than 8-arity is not supported: "+e)}}function y(e,n){return n.length>e?(...e)=>(...t)=>n.apply(void 0,e.concat(t)):n}class b{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return l(this.value)}Equals(e){return null!=e&&f(this.value,e instanceof b?e.value:e)}CompareTo(e){return null==e?1:p(this.value,e instanceof b?e.value:e)}}function S(e){return null==e||e instanceof b?new b(e):e}function k(e){if(null==e)throw new Error("Option has no value");return e instanceof b?e.value:e}function C(e){return null==e?[]:[k(e)]}function E(e,n){return null!=e?k(e):n}function x(e,n){return null!=n?S(e(k(n))):void 0}const O=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),A=x((e=>e.getAttribute("data-identity-url")),O),T=x((e=>e.getAttribute("data-backend-url")),O);var P,M,D,N,R,U,I,H={},L=[],j=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function F(e,n){for(var t in n)e[t]=n[t];return e}function W(e){var n=e.parentNode;n&&n.removeChild(e)}function q(e,n,t){var r,i,o,u={};for(o in n)"key"==o?r=n[o]:"ref"==o?i=n[o]:u[o]=n[o];if(arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===u[o]&&(u[o]=e.defaultProps[o]);return V(e,u,r,i,null)}function V(e,n,t,r,i){var o={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++D:i};return null==i&&null!=M.vnode&&M.vnode(o),o}function B(e){return e.children}function z(e,n){this.props=e,this.context=n}function G(e,n){if(null==n)return e.__?G(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?G(e):null}function $(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return $(e)}}function J(e){(!e.__d&&(e.__d=!0)&&N.push(e)&&!Y.__r++||U!==M.debounceRendering)&&((U=M.debounceRendering)||R)(Y)}function Y(){for(var e;Y.__r=N.length;)e=N.sort((function(e,n){return e.__v.__b-n.__v.__b})),N=[],e.some((function(e){var n,t,r,i,o,u;e.__d&&(o=(i=(n=e).__v).__e,(u=n.__P)&&(t=[],(r=F({},i)).__v=i.__v+1,ie(u,i,r,n.__n,void 0!==u.ownerSVGElement,null!=i.__h?[o]:null,t,null==o?G(i):o,i.__h),oe(t,i),i.__e!=o&&$(i)))}))}function Z(e,n,t,r,i,o,u,s,l,c){var a,f,_,h,d,p,g,v=r&&r.__k||L,m=v.length;for(t.__k=[],a=0;a<n.length;a++)if(null!=(h=t.__k[a]=null==(h=n[a])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?V(null,h,null,null,h):Array.isArray(h)?V(B,{children:h},null,null,null):h.__b>0?V(h.type,h.props,h.key,null,h.__v):h)){if(h.__=t,h.__b=t.__b+1,null===(_=v[a])||_&&h.key==_.key&&h.type===_.type)v[a]=void 0;else for(f=0;f<m;f++){if((_=v[f])&&h.key==_.key&&h.type===_.type){v[f]=void 0;break}_=null}ie(e,h,_=_||H,i,o,u,s,l,c),d=h.__e,(f=h.ref)&&_.ref!=f&&(g||(g=[]),_.ref&&g.push(_.ref,null,h),g.push(f,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===_.__k?h.__d=l=K(h,l,e):l=X(e,h,_,v,d,l),"function"==typeof t.type&&(t.__d=l)):l&&_.__e==l&&l.parentNode!=e&&(l=G(_))}for(t.__e=p,a=m;a--;)null!=v[a]&&("function"==typeof t.type&&null!=v[a].__e&&v[a].__e==t.__d&&(t.__d=G(r,a+1)),le(v[a],v[a]));if(g)for(a=0;a<g.length;a++)se(g[a],g[++a],g[++a])}function K(e,n,t){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,n="function"==typeof r.type?K(r,n,t):X(t,r,r,i,r.__e,n));return n}function Q(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){Q(e,n)})):n.push(e)),n}function X(e,n,t,r,i,o){var u,s,l;if(void 0!==n.__d)u=n.__d,n.__d=void 0;else if(null==t||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),u=null;else{for(s=o,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==i)break e;e.insertBefore(i,o),u=o}return void 0!==u?u:i.nextSibling}function ee(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||j.test(n)?t:t+"px"}function ne(e,n,t,r,i){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||ee(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||ee(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?r||e.addEventListener(n,o?re:te,o):e.removeEventListener(n,o?re:te,o);else if("dangerouslySetInnerHTML"!==n){if(i)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function te(e){this.l[e.type+!1](M.event?M.event(e):e)}function re(e){this.l[e.type+!0](M.event?M.event(e):e)}function ie(e,n,t,r,i,o,u,s,l){var c,a,f,_,h,d,p,g,v,m,w,y=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(l=t.__h,s=n.__e=t.__e,n.__h=null,o=[s]),(c=M.__b)&&c(n);try{e:if("function"==typeof y){if(g=n.props,v=(c=y.contextType)&&r[c.__c],m=c?v?v.props.value:c.__:r,t.__c?p=(a=n.__c=t.__c).__=a.__E:("prototype"in y&&y.prototype.render?n.__c=a=new y(g,m):(n.__c=a=new z(g,m),a.constructor=y,a.render=ce),v&&v.sub(a),a.props=g,a.state||(a.state={}),a.context=m,a.__n=r,f=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=y.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=F({},a.__s)),F(a.__s,y.getDerivedStateFromProps(g,a.__s))),_=a.props,h=a.state,f)null==y.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==y.getDerivedStateFromProps&&g!==_&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(g,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(g,a.__s,m)||n.__v===t.__v){a.props=g,a.state=a.__s,n.__v!==t.__v&&(a.__d=!1),a.__v=n,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),a.__h.length&&u.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(g,a.__s,m),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(_,h,d)}))}a.context=m,a.props=g,a.state=a.__s,(c=M.__r)&&c(n),a.__d=!1,a.__v=n,a.__P=e,c=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(r=F(F({},r),a.getChildContext())),f||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(_,h)),w=null!=c&&c.type===B&&null==c.key?c.props.children:c,Z(e,Array.isArray(w)?w:[w],n,t,r,i,o,u,s,l),a.base=n.__e,n.__h=null,a.__h.length&&u.push(a),p&&(a.__E=a.__=null),a.__e=!1}else null==o&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=ue(t.__e,n,t,r,i,o,u,l);(c=M.diffed)&&c(n)}catch(e){n.__v=null,(l||null!=o)&&(n.__e=s,n.__h=!!l,o[o.indexOf(s)]=null),M.__e(e,n,t)}}function oe(e,n){M.__c&&M.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){M.__e(e,n.__v)}}))}function ue(e,n,t,r,i,o,u,s){var l,c,a,f=t.props,_=n.props,h=n.type,d=0;if("svg"===h&&(i=!0),null!=o)for(;d<o.length;d++)if((l=o[d])&&(l===e||(h?l.localName==h:3==l.nodeType))){e=l,o[d]=null;break}if(null==e){if(null===h)return document.createTextNode(_);e=i?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,_.is&&_),o=null,s=!1}if(null===h)f===_||s&&e.data===_||(e.data=_);else{if(o=o&&P.call(e.childNodes),c=(f=t.props||H).dangerouslySetInnerHTML,a=_.dangerouslySetInnerHTML,!s){if(null!=o)for(f={},d=0;d<e.attributes.length;d++)f[e.attributes[d].name]=e.attributes[d].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(function(e,n,t,r,i){var o;for(o in t)"children"===o||"key"===o||o in n||ne(e,o,null,t[o],r);for(o in n)i&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||ne(e,o,n[o],t[o],r)}(e,_,f,i,s),a)n.__k=[];else if(d=n.props.children,Z(e,Array.isArray(d)?d:[d],n,t,r,i&&"foreignObject"!==h,o,u,o?o[0]:t.__k&&G(t,0),s),null!=o)for(d=o.length;d--;)null!=o[d]&&W(o[d]);s||("value"in _&&void 0!==(d=_.value)&&(d!==e.value||"progress"===h&&!d)&&ne(e,"value",d,f.value,!1),"checked"in _&&void 0!==(d=_.checked)&&d!==e.checked&&ne(e,"checked",d,f.checked,!1))}return e}function se(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){M.__e(e,t)}}function le(e,n,t){var r,i;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||se(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){M.__e(e,n)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&le(r[i],n,"function"!=typeof e.type);t||null==e.__e||W(e.__e),e.__e=e.__d=void 0}function ce(e,n,t){return this.constructor(e,t)}function ae(e,n,t){var r,i,o;M.__&&M.__(e,n),i=(r="function"==typeof t)?null:t&&t.__k||n.__k,o=[],ie(n,e=(!r&&t||n).__k=q(B,null,[e]),i||H,H,void 0!==n.ownerSVGElement,!r&&t?[t]:i?null:n.firstChild?P.call(n.childNodes):null,o,!r&&t?t:i?i.__e:n.firstChild,r),oe(o,e)}function fe(e,n){ae(e,n,fe)}function _e(e,n,t){var r,i,o,u=F({},e.props);for(o in n)"key"==o?r=n[o]:"ref"==o?i=n[o]:u[o]=n[o];return arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):t),V(e.type,u,r||e.key,i||e.ref,null)}P=L.slice,M={__e:function(e,n){for(var t,r,i;n=n.__;)if((t=n.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(e)),i=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),i=t.__d),i)return t.__E=t}catch(n){e=n}throw e}},D=0,z.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=F({},this.state),"function"==typeof e&&(e=e(F({},t),this.props)),e&&F(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),J(this))},z.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),J(this))},z.prototype.render=B,N=[],R="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Y.__r=0,I=0;var he,de,pe,ge=0,ve=[],me=M.__b,we=M.__r,ye=M.diffed,be=M.__c,Se=M.unmount;function ke(e,n){M.__h&&M.__h(de,e,ge||n),ge=0;var t=de.__H||(de.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function Ce(e,n,t){var r=ke(he++,2);return r.t=e,r.__c||(r.__=[t?t(n):Ne(void 0,n),function(e){var n=r.t(r.__[0],e);r.__[0]!==n&&(r.__=[n,r.__[1]],r.__c.setState({}))}],r.__c=de),r.__}function Ee(e,n){var t=ke(he++,3);!M.__s&&De(t.__H,n)&&(t.__=e,t.__H=n,de.__H.__h.push(t))}function xe(e,n){var t=ke(he++,4);!M.__s&&De(t.__H,n)&&(t.__=e,t.__H=n,de.__h.push(t))}function Oe(e,n){var t=ke(he++,7);return De(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function Ae(){ve.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(Pe),e.__H.__h.forEach(Me),e.__H.__h=[]}catch(n){e.__H.__h=[],M.__e(n,e.__v)}})),ve=[]}M.__b=function(e){de=null,me&&me(e)},M.__r=function(e){we&&we(e),he=0;var n=(de=e.__c).__H;n&&(n.__h.forEach(Pe),n.__h.forEach(Me),n.__h=[])},M.diffed=function(e){ye&&ye(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==ve.push(n)&&pe===M.requestAnimationFrame||((pe=M.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),Te&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);Te&&(n=requestAnimationFrame(t))})(Ae)),de=null},M.__c=function(e,n){n.some((function(e){try{e.__h.forEach(Pe),e.__h=e.__h.filter((function(e){return!e.__||Me(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],M.__e(t,e.__v)}})),be&&be(e,n)},M.unmount=function(e){Se&&Se(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(Pe)}catch(e){M.__e(e,n.__v)}};var Te="function"==typeof requestAnimationFrame;function Pe(e){var n=de;"function"==typeof e.__c&&e.__c(),de=n}function Me(e){var n=de;e.__c=e.__(),de=n}function De(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function Ne(e,n){return"function"==typeof n?n(e):n}function Re(e,n){for(var t in n)e[t]=n[t];return e}function Ue(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function Ie(e){this.props=e}(Ie.prototype=new z).isPureReactComponent=!0,Ie.prototype.shouldComponentUpdate=function(e,n){return Ue(this.props,e)||Ue(this.state,n)};var He=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),He&&He(e)};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,je=function(e,n){return null==e?null:Q(Q(e).map(n))},Fe={map:je,forEach:je,count:function(e){return e?Q(e).length:0},only:function(e){var n=Q(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:Q},We=M.__e;M.__e=function(e,n,t){if(e.then)for(var r,i=n;i=i.__;)if((r=i.__c)&&r.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),r.__c(e,n);We(e,n,t)};var qe=M.unmount;function Ve(){this.__u=0,this.t=null,this.__b=null}function Be(e){var n=e.__.__c;return n&&n.__e&&n.__e(e)}function ze(){this.u=null,this.o=null}M.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),qe&&qe(e)},(Ve.prototype=new z).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var i=Be(r.__v),o=!1,u=function(){o||(o=!0,t.__R=null,i?i(s):s())};t.__R=u;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__e:r.__b=null});n=r.t.pop();)n.forceUpdate()}},l=!0===n.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(u,u)},Ve.prototype.componentWillUnmount=function(){this.t=[]},Ve.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=Re({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var i=n.__e&&q(B,null,e.fallback);return i&&(i.__h=null),[q(B,null,n.__e?null:e.children),i]};var Ge=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function $e(e){return this.getChildContext=function(){return e.context},e.children}function Je(e){var n=this,t=e.i;n.componentWillUnmount=function(){ae(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),ae(q($e,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(ze.prototype=new z).__e=function(e){var n=this,t=Be(n.__v),r=n.o.get(e);return r[0]++,function(i){var o=function(){n.props.revealOrder?(r.push(i),Ge(n,e,r)):i()};t?t(o):o()}},ze.prototype.render=function(e){this.u=null,this.o=new Map;var n=Q(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},ze.prototype.componentDidUpdate=ze.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){Ge(e,t,n)}))};var Ye="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ze=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ke="undefined"!=typeof document,Qe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Xe(e,n,t){return null==n.__k&&(n.textContent=""),ae(e,n),"function"==typeof t&&t(),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(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var en=M.event;function nn(){}function tn(){return this.cancelBubble}function rn(){return this.defaultPrevented}M.event=function(e){return en&&(e=en(e)),e.persist=nn,e.isPropagationStopped=tn,e.isDefaultPrevented=rn,e.nativeEvent=e};var on,un={configurable:!0,get:function(){return this.class}},sn=M.vnode;M.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var i=-1===n.indexOf("-");for(var o in r={},t){var u=t[o];Ke&&"children"===o&&"noscript"===n||"value"===o&&"defaultValue"in t&&null==u||("defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===u?u="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&!Qe(t.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():i&&Ze.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===u&&(u=void 0),r[o]=u)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=Q(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=Q(t.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&&t.class!=t.className&&(un.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",un)),e.$$typeof=Ye,sn&&sn(e)};var ln=M.__r;M.__r=function(e){ln&&ln(e),on=e.__c};var cn={ReactCurrentDispatcher:{current:{readContext:function(e){return on.__n[e.__c].props.value}}}};function an(e){return!!e&&e.$$typeof===Ye}const fn={useState:function(e){return ge=1,Ce(Ne,e)},useReducer:Ce,useEffect:Ee,useLayoutEffect:xe,useRef:function(e){return ge=5,Oe((function(){return{current:e}}),[])},useImperativeHandle:function(e,n,t){ge=6,xe((function(){"function"==typeof e?e(n()):e&&(e.current=n())}),null==t?t:t.concat(e))},useMemo:Oe,useCallback:function(e,n){return ge=8,Oe((function(){return e}),n)},useContext:function(e){var n=de.context[e.__c],t=ke(he++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(de)),n.props.value):e.__},useDebugValue:function(e,n){M.useDebugValue&&M.useDebugValue(n?n(e):e)},version:"17.0.2",Children:Fe,render:Xe,hydrate:function(e,n,t){return fe(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(ae(null,e),!0)},createPortal:function(e,n){return q(Je,{__v:e,i:n})},createElement:q,createContext:function(e,n){var t={__c:n="__cC"+I++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(J)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t},createFactory:function(e){return q.bind(null,e)},cloneElement:function(e){return an(e)?_e.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:B,isValidElement:an,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:z,PureComponent:Ie,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:Ue(this.props,e)}function r(n){return this.shouldComponentUpdate=t,q(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function n(n,t){var r=Re({},n);return delete r.ref,e(r,(t=n.ref||t)&&("object"!=typeof t||"current"in t)?t:null)}return n.$$typeof=Le,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n},flushSync:function(e,n){return e(n)},unstable_batchedUpdates:function(e,n){return e(n)},StrictMode:B,Suspense:Ve,SuspenseList:ze,lazy:function(e){var n,t,r;function i(i){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return q(t,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:cn};function _n(e){let n=0,t="[";for(const r of e){if(0===n)t+=hn(r);else{if(100===n){t+="; ...";break}t+="; "+hn(r)}n++}return t+"]"}function hn(e,n=0){if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return _n(e);{const t=Object.getPrototypeOf(e).constructor;return t===Object&&n<10?"{ "+Object.entries(e).map((([e,t])=>e+" = "+hn(t,n+1))).join("\n ")+" }":t.name}}return String(e)}function dn(e,n){if(e===n)return 0;if(null==n)return-1;for(;null!=e.tail;){if(null==n.tail)return 1;const t=p(e.head,n.head);if(0!==t)return t;e=e.tail,n=n.tail}return null==n.tail?0:-1}class pn{constructor(e,n){this.head=e,this.tail=n}[Symbol.iterator](){let e=this;return{next:()=>{const n=null==e?void 0:e.head,t=null==(null==e?void 0:e.tail);return e=null==e?void 0:e.tail,{done:t,value:n}}}}toJSON(){return Array.from(this)}toString(){return _n(this)}GetHashCode(){return s(Array.from(this).map(l))}Equals(e){return 0===dn(this,e)}CompareTo(e){return dn(this,e)}}class gn{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){if(0===this.fields.length)return this.name;{let e="",n=!0;if(1===this.fields.length){const t=hn(this.fields[0]);n=t.indexOf(" ")>=0,e=t}else e=this.fields.map((e=>hn(e))).join(", ");return this.name+(n?" (":" ")+e+(n?")":"")}}GetHashCode(){const e=this.fields.map((e=>l(e)));return e.splice(0,0,u(this.tag)),s(e)}Equals(e){return this===e||!!n(this,e)&&this.tag===e.tag&&a(this.fields,e.fields)}CompareTo(e){return this===e?0:n(this,e)?this.tag===e.tag?d(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class vn{toJSON(){return function(e){const n={},t=Object.keys(e);for(let r=0;r<t.length;r++)n[t[r]]=e[t[r]];return n}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,n])=>e+" = "+hn(n))).join("\n ")+" }";var e}GetHashCode(){return function(e){const n=Object.values(e).map((e=>l(e)));return s(n)}(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(!f(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 i=p(e[n[r]],t[n[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class mn{constructor(e,n){"function"==typeof n?(this.getter=e,this.setter=n):(this.getter=()=>e,this.setter=n=>{e=n})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class wn{constructor(e,n,t,r,i,o,u){this.fullname=e,this.generics=n,this.construct=t,this.parent=r,this.fields=i,this.cases=o,this.enumCases=u}toString(){return kn(this)}GetHashCode(){return bn(this)}Equals(e){return Sn(this,e)}}function yn(e){return null!=e.generics?e.generics:[]}function bn(e){return s([o(e.fullname),...yn(e).map(bn)])}function Sn(e,n){return""===e.fullname?""===n.fullname&&c(Cn(e),Cn(n),(([e,n],[t,r])=>e===t&&Sn(n,r))):e.fullname===n.fullname&&c(yn(e),yn(n),Sn)}function kn(e){const n=null==e.generics||function(e){return e.fullname.endsWith("[]")}(e)?[]:e.generics;return n.length>0?e.fullname+"["+n.map((e=>kn(e))).join(",")+"]":e.fullname}function Cn(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}new wn("System.Object"),new wn("Microsoft.FSharp.Core.Unit"),new wn("System.Char"),new wn("System.String"),new wn("System.Boolean"),new wn("System.SByte"),new wn("System.Byte"),new wn("System.Int16"),new wn("System.UInt16"),new wn("System.Int32"),new wn("System.UInt32"),new wn("System.Single"),new wn("System.Double"),new wn("System.Decimal");function En(e,n){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+n+e.charAt(1).toLowerCase()))}function xn(e,n=0){const t={},r=n;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,n,r){e=function(e,n){switch(n){case 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return En(e,"_");case 3:return En(e,"_").toUpperCase();case 4:return En(e,"-");default:return e}}(e,n),t[e]=r}for(let n of e){let e=0;if(null==n&&i(n),n instanceof gn){const t=n.cases()[n.tag];n=0===n.fields.length?t:[t].concat(n.fields),e=r}if(Array.isArray(n))switch(n.length){case 0:i(n);break;case 1:o(n[0],e,!0);break;case 2:const t=n[1];o(n[0],e,t);break;default:o(n[0],e,n.slice(1))}else"string"==typeof n?o(n,e,!0):i(n)}return t}class On extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["backend-url","access-token"]}}var An;!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(An||(An={}));const Tn=Symbol("numeric");function Pn(e,n){return"number"==typeof e?e.toPrecision(n):e[Tn]().toPrecision(n)}function Mn(e,n){return"number"==typeof e?e.toExponential(n):e[Tn]().toExponential(n)}function Dn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Tn]().toHex()}var Nn=null;try{Nn=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(H){}function Rn(e,n,t){this.low=0|e,this.high=0|n,this.unsigned=!!t}function Un(e){return!0===(e&&e.__isLong__)}Rn.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Rn.prototype.Equals=function(e){return lt(this,e)},Rn.prototype.CompareTo=function(e){return _t(this,e)},Rn.prototype.toString=function(e){return it(this,e)},Rn.prototype.toJSON=function(){return it(this)},Rn.prototype[Tn]=function(){const e=this;return{multiply:n=>gt(e,n),toPrecision:n=>String(e)+(0).toPrecision(n).substr(1),toExponential:n=>String(e)+(0).toExponential(n).substr(1),toFixed:n=>String(e)+(0).toFixed(n).substr(1),toHex:()=>{return it(e.unsigned?e:function(e,n,t){return t?function(e,n){return new Rn(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,n)}(e,n):function(e,n){return new Rn(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],n)}(e,n)}((n=e,t?function(e){var n=e.high,t=e.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&n,n>>>8&255,n>>>16&255,n>>>24]}(n):function(e){var n=e.high,t=e.low;return[n>>>24,n>>>16&255,n>>>8&255,255&n,t>>>24,t>>>16&255,t>>>8&255,255&t]}(n)),!0),16);var n,t}}},Rn.prototype.__isLong__,Object.defineProperty(Rn.prototype,"__isLong__",{value:!0});var In={},Hn={};function Ln(e,n){var t,r,i;return n?(i=0<=(e>>>=0)&&e<256)&&(r=Hn[e])?r:(t=Fn(e,(0|e)<0?-1:0,!0),i&&(Hn[e]=t),t):(i=-128<=(e|=0)&&e<128)&&(r=In[e])?r:(t=Fn(e,e<0?-1:0,!1),i&&(In[e]=t),t)}function jn(e,n){if(isNaN(e))return n?Yn:Jn;if(n){if(e<0)return Yn;if(e>=zn)return et}else{if(e<=-Gn)return nt;if(e+1>=Gn)return Xn}return e<0?ht(jn(-e,n)):Fn(e%Bn|0,e/Bn|0,n)}function Fn(e,n,t){return new Rn(e,n,t)}var Wn=Math.pow;function qn(e,n,t){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Jn;if("number"==typeof n?(t=n,n=!1):n=!!n,(t=t||10)<2||36<t)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return ht(qn(e.substring(1),n,t));for(var i=jn(Wn(t,8)),o=Jn,u=0;u<e.length;u+=8){var s=Math.min(8,e.length-u),l=parseInt(e.substring(u,u+s),t);o=dt(s<8?gt(o,jn(Wn(t,s))):o=gt(o,i),jn(l))}return o.unsigned=n,o}function Vn(e,n){return"number"==typeof e?jn(e,n):"string"==typeof e?qn(e,n):Fn(e.low,e.high,"boolean"==typeof n?n:e.unsigned)}var Bn=4294967296,zn=Bn*Bn,Gn=zn/2,$n=Ln(1<<24),Jn=Ln(0),Yn=Ln(0,!0),Zn=Ln(1),Kn=Ln(1,!0),Qn=Ln(-1),Xn=Fn(-1,2147483647,!1),et=Fn(-1,-1,!0),nt=Fn(0,-2147483648,!1);function tt(e){return e.unsigned?e.low>>>0:e.low}function rt(e){return e.unsigned?(e.high>>>0)*Bn+(e.low>>>0):e.high*Bn+(e.low>>>0)}function it(e,n){if((n=n||10)<2||36<n)throw RangeError("radix");if(ot(e))return"0";if(ut(e)){if(lt(e,nt)){var t=jn(n),r=vt(e,t),i=pt(gt(r,t),e);return it(r,n)+tt(i).toString(n)}return"-"+it(ht(e),n)}for(var o=jn(Wn(n,6),e.unsigned),u=e,s="";;){var l=vt(u,o),c=(tt(pt(u,gt(l,o)))>>>0).toString(n);if(ot(u=l))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function ot(e){return 0===e.high&&0===e.low}function ut(e){return!e.unsigned&&e.high<0}function st(e){return 1==(1&e.low)}function lt(e,n){return Un(n)||(n=Vn(n)),(e.unsigned===n.unsigned||e.high>>>31!=1||n.high>>>31!=1)&&e.high===n.high&&e.low===n.low}function ct(e,n){return _t(e,n)<0}function at(e,n){return _t(e,n)>0}function ft(e,n){return _t(e,n)>=0}function _t(e,n){if(Un(n)||(n=Vn(n)),lt(e,n))return 0;var t=ut(e),r=ut(n);return t&&!r?-1:!t&&r?1:e.unsigned?n.high>>>0>e.high>>>0||n.high===e.high&&n.low>>>0>e.low>>>0?-1:1:ut(pt(e,n))?-1:1}function ht(e){return!e.unsigned&&lt(e,nt)?nt:dt(function(e){return Fn(~e.low,~e.high,e.unsigned)}(e),Zn)}function dt(e,n){Un(n)||(n=Vn(n));var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=0,a=0,f=0,_=0;return f+=(_+=o+(65535&n.low))>>>16,a+=(f+=i+l)>>>16,c+=(a+=r+s)>>>16,c+=t+u,Fn((f&=65535)<<16|(_&=65535),(c&=65535)<<16|(a&=65535),e.unsigned)}function pt(e,n){return Un(n)||(n=Vn(n)),dt(e,ht(n))}function gt(e,n){if(ot(e))return e.unsigned?Yn:Jn;if(Un(n)||(n=Vn(n)),Nn)return Fn(Nn.mul(e.low,e.high,n.low,n.high),Nn.get_high(),e.unsigned);if(ot(n))return e.unsigned?Yn:Jn;if(lt(e,nt))return st(n)?nt:Jn;if(lt(n,nt))return st(e)?nt:Jn;if(ut(e))return ut(n)?gt(ht(e),ht(n)):ht(gt(ht(e),n));if(ut(n))return ht(gt(e,ht(n)));if(ct(e,$n)&&ct(n,$n))return jn(rt(e)*rt(n),e.unsigned);var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=65535&n.low,a=0,f=0,_=0,h=0;return _+=(h+=o*c)>>>16,f+=(_+=i*c)>>>16,_&=65535,f+=(_+=o*l)>>>16,a+=(f+=r*c)>>>16,f&=65535,a+=(f+=i*l)>>>16,f&=65535,a+=(f+=o*s)>>>16,a+=t*c+r*l+i*s+o*u,Fn((_&=65535)<<16|(h&=65535),(a&=65535)<<16|(f&=65535),e.unsigned)}function vt(e,n){if(Un(n)||(n=Vn(n)),ot(n))throw Error("division by zero");var t,r,i;if(Nn)return e.unsigned||-2147483648!==e.high||-1!==n.low||-1!==n.high?Fn((e.unsigned?Nn.div_u:Nn.div_s)(e.low,e.high,n.low,n.high),Nn.get_high(),e.unsigned):e;if(ot(e))return e.unsigned?Yn:Jn;if(e.unsigned){if(n.unsigned||(n=function(e){return e.unsigned?e:Fn(e.low,e.high,!0)}(n)),at(n,e))return Yn;if(at(n,function(e,n){if(Un(n)&&(n=tt(n)),0==(n&=63))return e;var t=e.high;return n<32?Fn(e.low>>>n|t<<32-n,t>>>n,e.unsigned):Fn(32===n?t:t>>>n-32,0,e.unsigned)}(e,1)))return Kn;i=Yn}else{if(lt(e,nt))return lt(n,Zn)||lt(n,Qn)?nt:lt(n,nt)?Zn:lt(t=function(e,n){return Un(n)&&(n=tt(n)),0==(n&=63)?e:n<32?Fn(e.low<<n,e.high<<n|e.low>>>32-n,e.unsigned):Fn(0,e.low<<n-32,e.unsigned)}(vt(function(e,n){return Un(n)&&(n=tt(n)),0==(n&=63)?e:n<32?Fn(e.low>>>n|e.high<<32-n,e.high>>n,e.unsigned):Fn(e.high>>n-32,e.high>=0?0:-1,e.unsigned)}(e,1),n),1),Jn)?ut(n)?Zn:Qn:i=dt(t,vt(r=pt(e,gt(n,t)),n));if(lt(n,nt))return e.unsigned?Yn:Jn;if(ut(e))return ut(n)?vt(ht(e),ht(n)):ht(vt(ht(e),n));if(ut(n))return ht(vt(e,ht(n)));i=Jn}for(r=e;ft(r,n);){t=Math.max(1,Math.floor(rt(r)/rt(n)));for(var o=Math.ceil(Math.log(t)/Math.LN2),u=o<=48?1:Wn(2,o-48),s=jn(t),l=gt(s,n);ut(l)||at(l,r);)l=gt(s=jn(t-=u,e.unsigned),n);ot(s)&&(s=Zn),i=dt(i,s),r=pt(r,l)}return i}function mt(e){const n=e<0,r=(e=Math.abs(e))%36e5/6e4;return(n?"-":"+")+t(~~(e/36e5),2)+":"+t(r,2)}function wt(e,n){const t=e.toISOString();return"first"===n?t.substring(0,t.indexOf("T")):t.substring(t.indexOf("T")+1,t.length-1)}function yt(e,n,t){return n.replace(/(\w)\1*/g,(n=>{let r=Number.NaN;switch(n.substring(0,1)){case"y":const i=t?e.getUTCFullYear():e.getFullYear();r=n.length<4?i%100:i;break;case"M":r=(t?e.getUTCMonth():e.getMonth())+1;break;case"d":r=t?e.getUTCDate():e.getDate();break;case"H":r=t?e.getUTCHours():e.getHours();break;case"h":const o=t?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=t?e.getUTCMinutes():e.getMinutes();break;case"s":r=t?e.getUTCSeconds():e.getSeconds();break;case"f":r=t?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?n:r<10&&n.length>1?"0"+r:""+r}))}const bt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/;function St(e){return{input:e,cont:(n=e,e=>bt.test(n)?xt(n,e):e(n))};var n}function kt(e){return function(e,n){return"string"==typeof n?e(n):n.cont(e)}((e=>e),e)}function Ct(e,n,r,i,o,u){let s="";if(r=r||"",u=u||"",function(e){return"number"==typeof e||(null==e?void 0:e[Tn])}(e))switch("x"!==u.toLowerCase()&&(function(e,n){return function(e,n){return"number"==typeof e?e<n?-1:e>n?1:0:e.CompareTo(n)}(e,n)<0}(e,0)?(e=function(e,n){return"number"==typeof e?-1*e:e[Tn]().multiply(-1)}(e),s="-"):r.indexOf(" ")>=0?s=" ":r.indexOf("+")>=0&&(s="+")),o=null==o?null:parseInt(o,10),u){case"f":case"F":e=function(e,n){return"number"==typeof e?e.toFixed(n):e[Tn]().toFixed(n)}(e,o=null!=o?o:6);break;case"g":case"G":e=null!=o?Pn(e,o):Pn(e);break;case"e":case"E":e=null!=o?Mn(e,o):Mn(e);break;case"x":e=Dn(e);break;case"X":e=Dn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,n,r){return null!=e.offset?function(e,n){var t,r,i;const o=new Date(e.getTime()+(null!==(t=e.offset)&&void 0!==t?t:0));if("string"!=typeof n)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+mt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==n.length)return yt(o,n,!0);switch(n){case"D":case"d":return wt(o,"first");case"T":case"t":return wt(o,"second");case"O":case"o":return function(e,n){const t=e.toISOString();return t.substring(0,t.length-1)+mt(n)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,n):function(e,n){const r=1===e.kind;if("string"!=typeof n)return r?e.toUTCString():e.toLocaleString();if(1!==n.length)return yt(e,n,r);switch(n){case"D":case"d":return r?wt(e,"first"):e.toLocaleDateString();case"T":case"t":return r?wt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,n){if(n)return e.toISOString();{const n=null==e.kind||2===e.kind;return t(e.getFullYear(),4)+"-"+t(e.getMonth()+1,2)+"-"+t(e.getDate(),2)+"T"+t(e.getHours(),2)+":"+t(e.getMinutes(),2)+":"+t(e.getSeconds(),2)+"."+t(e.getMilliseconds(),3)+(n?mt(-6e4*e.getTimezoneOffset()):"")}}(e,r);default:throw new Error("Unrecognized Date print format")}}(e,n)}(e):hn(e);if(i="number"==typeof i?i:parseInt(i,10),isNaN(i))e=s+e;else{const n=r.indexOf("0")>=0,t=r.indexOf("-")>=0,o=t||!n?" ":"0";e="0"===o?s+(e=At(e,i-s.length,o,t)):At(s+e,i,o,t)}return n?n+e:e}function Et(e,n,t){return e.replace(bt,((e,r,i,o,u,s)=>{if(null!=t.contents)o=t.contents,t.contents=null;else if("*"===o){if(n<0)throw new Error("Non-negative number required");return t.contents=n,e}return Ct(n,r,i,o,u,s).replace(/%/g,"%%")}))}function xt(e,n,t=new mn(null)){return(...r)=>{let i=e;for(const e of r)i=Et(i,e,t);return bt.test(i)?xt(i,n,t):n(i.replace(/%%/g,"%"))}}function Ot(e,n){const t=e.lastIndexOf(n);return t>=0&&t===e.length-n.length}function At(e,n,t,r){t=t||" ",n-=e.length;for(let i=0;i<n;i++)e=r?e+t:t+e;return e}function Tt(e,n,t){if(n+(t||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=t?e.substr(n,t):e.substr(n)}var Pt={GetHashCode(){return s([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[Tn](){const e=this;return{multiply:n=>e.mul(n),toPrecision:n=>e.toPrecision(n),toExponential:n=>e.toExponential(n),toFixed:n=>e.toFixed(n),toHex:()=>(Number(e)>>>0).toString(16)}}},Mt=1e6,Dt="[big.js] ",Nt=Dt+"Invalid ",Rt=Nt+"decimal places",Ut=Nt+"rounding mode",It=Dt+"Division by zero",Ht=void 0,Lt=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function jt(e,n){var t,r,i;if(0===n&&1/n<0)n="-0";else if(!Lt.test(n+=""))throw Error(Nt+"number");for(e.s="-"==n.charAt(0)?(n=n.slice(1),-1):1,(t=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(t<0&&(t=r),t+=+n.slice(r+1),n=n.substring(0,r)):t<0&&(t=n.length),i=n.length,r=0;r<t&&r<i&&"0"==n.charAt(r);)++r;if(r==i)e.c=[e.e=0];else for(e.e=t-r-1,e.c=[],t=0;r<i;)e.c[t++]=+n.charAt(r++);return Ft(e,qt.DP,qt.RM)}function Ft(e,n,t,r){var i=e.c,o=e.e+n+1;if(o<i.length){if(1===t)r=i[o]>=5;else if(2===t)r=i[o]>5||5==i[o]&&(r||o<0||i[o+1]!==Ht||1&i[o-1]);else if(3===t){const e=i.findIndex(((e,n)=>n>=o&&e>0))<0;r=r||!e}else if(r=!1,0!==t)throw Error(Ut);if(o<1)i.length=1,r?(e.e=-n,i[0]=1):i[0]=e.e=0;else{if(i.length=o--,r)for(;++i[o]>9;)i[o]=0,o--||(++e.e,i.unshift(1));for(o=i.length;!i[--o];)i.pop()}}else if(t<0||t>3||t!==~~t)throw Error(Ut);return e}function Wt(e,n,t,r){var i,o,u=e.constructor,s=!e.c[0];if(t!==Ht){if(t!==~~t||t<(3==n)||t>Mt)throw Error(3==n?Nt+"precision":Rt);for(t=r-(e=new u(e)).e,e.c.length>++r&&Ft(e,t,u.RM),2==n&&(r=e.e+t+1);e.c.length<r;)e.c.push(0)}if(i=e.e,t=(o=e.c.join("")).length,2!=n&&(1==n||3==n&&r<=i||i<=u.NE||i>=u.PE))o=o.charAt(0)+(t>1?"."+o.slice(1):"")+(i<0?"e":"e+")+i;else if(i<0){for(;++i;)o="0"+o;o="0."+o}else if(i>0)if(++i>t)for(i-=t;i--;)o+="0";else i<t&&(o=o.slice(0,i)+"."+o.slice(i));else t>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&(!s||4==n)?"-"+o:o}Pt.abs=function(){var e=new this.constructor(this);return e.s=1,e},Pt.cmp=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.c),o=e.c,u=r.s,s=e.s,l=r.e,c=e.e;if(!i[0]||!o[0])return i[0]?u:o[0]?-s:0;if(u!=s)return u;if(n=u<0,l!=c)return l>c^n?1:-1;for(s=Math.max(i.length,o.length),u=0;u<s;u++)if((l=u<i.length?i[u]:0)!=(c=u<o.length?o[u]:0))return l>c^n?1:-1;return 0},Pt.div=function(e){var n=this.constructor,t=new n(this),r=(e=new n(e),t.c),i=e.c,o=t.s==e.s?1:-1,u=n.DP;if(u!==~~u||u<0||u>Mt)throw Error(Rt);if(!i[0])throw Error(It);if(!r[0])return new n(0*o);var s,l,c,a,f,_=i.slice(),h=s=i.length,d=r.length,p=r.slice(0,s),g=p.length,v=e,m=v.c=[],w=0,y=u+(v.e=t.e-e.e)+1;for(v.s=o,o=y<0?0:y,_.unshift(0);g++<s;)p.push(0);do{for(c=0;c<10;c++){if(s!=(g=p.length))a=s>g?1:-1;else for(f=-1,a=0;++f<s;)if(i[f]!=p[f]){a=i[f]>p[f]?1:-1;break}if(!(a<0))break;for(l=g==s?i:_;g;){if(p[--g]<l[g]){for(f=g;f&&!p[--f];)p[f]=9;--p[f],p[g]+=10}p[g]-=l[g]}for(;!p[0];)p.shift()}m[w++]=a?c:++c,p[0]&&a?p[g]=r[h]||0:p=[r[h]]}while((h++<d||p[0]!==Ht)&&o--);return m[0]||1==w||(m.shift(),v.e--),w>y&&Ft(v,u,n.RM,p[0]!==Ht),v},Pt.eq=function(e){return!this.cmp(e)},Pt.gt=function(e){return this.cmp(e)>0},Pt.gte=function(e){return this.cmp(e)>-1},Pt.lt=function(e){return this.cmp(e)<0},Pt.lte=function(e){return this.cmp(e)<1},Pt.minus=Pt.sub=function(e){var n,t,r,i,o=this.constructor,u=new o(this),s=(e=new o(e),u.s),l=e.s;if(s!=l)return e.s=-l,u.plus(e);var c=u.c.slice(),a=u.e,f=e.c,_=e.e;if(!c[0]||!f[0])return f[0]?(e.s=-l,e):new o(c[0]?u:0);if(s=a-_){for((i=s<0)?(s=-s,r=c):(_=a,r=f),r.reverse(),l=s;l--;)r.push(0);r.reverse()}else for(t=((i=c.length<f.length)?c:f).length,s=l=0;l<t;l++)if(c[l]!=f[l]){i=c[l]<f[l];break}if(i&&(r=c,c=f,f=r,e.s=-e.s),(l=(t=f.length)-(n=c.length))>0)for(;l--;)c[n++]=0;for(l=n;t>s;){if(c[--t]<f[t]){for(n=t;n&&!c[--n];)c[n]=9;--c[n],c[t]+=10}c[t]-=f[t]}for(;0===c[--l];)c.pop();for(;0===c[0];)c.shift(),--_;return c[0]||(e.s=1,c=[_=0]),e.c=c,e.e=_,e},Pt.mod=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.s),o=e.s;if(!e.c[0])throw Error(It);return r.s=e.s=1,n=1==e.cmp(r),r.s=i,e.s=o,n?new t(r):(i=t.DP,o=t.RM,t.DP=t.RM=0,r=r.div(e),t.DP=i,t.RM=o,this.minus(r.times(e)))},Pt.plus=Pt.add=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.s),o=e.s;if(i!=o)return e.s=-o,r.minus(e);var u=r.e,s=r.c,l=e.e,c=e.c;if(!s[0]||!c[0])return c[0]?e:new t(s[0]?r:0*i);if(s=s.slice(),i=u-l){for(i>0?(l=u,n=c):(i=-i,n=s),n.reverse();i--;)n.push(0);n.reverse()}for(s.length-c.length<0&&(n=c,c=s,s=n),i=c.length,o=0;i;s[i]%=10)o=(s[--i]=s[i]+c[i]+o)/10|0;for(o&&(s.unshift(o),++l),i=s.length;0===s[--i];)s.pop();return e.c=s,e.e=l,e},Pt.pow=function(e){var n=this.constructor,t=new n(this),r=new n(1),i=new n(1),o=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(Nt+"exponent");for(o&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return o?i.div(r):r},Pt.round=function(e,n){var t=this.constructor;if(e===Ht)e=0;else if(e!==~~e||e<-Mt||e>Mt)throw Error(Rt);return Ft(new t(this),e,n===Ht?t.RM:n)},Pt.sqrt=function(){var e,n,t,r=this.constructor,i=new r(this),o=i.s,u=i.e,s=new r(.5);if(!i.c[0])return new r(i);if(o<0)throw Error(Dt+"No square root");0===(o=Math.sqrt(i+""))||o===1/0?((n=i.c.join("")).length+u&1||(n+="0"),u=((u+1)/2|0)-(u<0||1&u),e=new r(((o=Math.sqrt(n))==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+u)):e=new r(o),u=e.e+(r.DP+=4);do{t=e,e=s.times(t.plus(i.div(t)))}while(t.c.slice(0,u).join("")!==e.c.slice(0,u).join(""));return Ft(e,r.DP-=4,r.RM)},Pt.times=Pt.mul=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.c),o=e.c,u=i.length,s=o.length,l=r.e,c=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!o[0])return new t(0*e.s);for(e.e=l+c,u<s&&(n=i,i=o,o=n,c=u,u=s,s=c),n=new Array(c=u+s);c--;)n[c]=0;for(l=s;l--;){for(s=0,c=u+l;c>l;)s=n[c]+o[l]*i[c-l-1]+s,n[c--]=s%10,s=s/10|0;n[c]=(n[c]+s)%10}for(s?++e.e:n.shift(),l=n.length;!n[--l];)n.pop();return e.c=n,e},Pt.toExponential=function(e){return Wt(this,1,e,e)},Pt.toFixed=function(e){return Wt(this,2,e,this.e+e)},Pt.toPrecision=function(e){return Wt(this,3,e,e-1)},Pt.toString=function(){return Wt(this)},Pt.valueOf=Pt.toJSON=function(){return Wt(this,4)};var qt=function e(){function n(t){var r=this;if(!(r instanceof n))return t===Ht?e():new n(t);t instanceof n?(r.s=t.s,r.e=t.e,r.c=t.c.slice(),function(e){if((e=Ft(e,28,0)).c.length>1&&!e.c[0]){let n=e.c.findIndex((e=>e));e.c=e.c.slice(n),e.e=e.e-n}}(r)):jt(r,t),r.constructor=n}return n.prototype=Pt,n.DP=28,n.RM=1,n.NE=-29,n.PE=29,n.version="5.2.2",n}();const Vt=qt;new Vt(0),new Vt(1),new Vt(-1),new Vt("79228162514264337593543950335"),new Vt("-79228162514264337593543950335");class Bt{constructor(e){this.f=e}[Symbol.iterator](){return new Bt(this.f)}next(){var e;return this.iter=null!==(e=this.iter)&&void 0!==e?e:this.f(),this.iter.next()}toString(){return"seq ["+Array.from(this).join("; ")+"]"}}function zt(e){return new Bt(e)}function Gt(e,n){return Jt((()=>{let t=!1,r=[e[Symbol.iterator](),void 0];return Kt((()=>{var e,i;let o;if(!t){if(o=null===(e=r[0])||void 0===e?void 0:e.next(),null!=o&&!o.done)return[o.value,r];t=!0,r=[void 0,n[Symbol.iterator]()]}return o=null===(i=r[1])||void 0===i?void 0:i.next(),null==o||o.done?void 0:[o.value,r]}),r)}))}function $t(e,n){return function(e){return Jt((()=>{const n=e[Symbol.iterator]();let t;return Kt((e=>{let r=!1;for(;!r;)if(null==e){const t=n.next();t.done?r=!0:e=t.value[Symbol.iterator]()}else{const n=e.next();n.done?e=void 0:(t=n.value,r=!0)}return null!=e?[t,e]:void 0}),void 0)}))}(function(e,n){return Jt((()=>Kt((n=>{const t=n.next();return t.done?void 0:[e(t.value),n]}),n[Symbol.iterator]())))}(e,n))}function Jt(e){return zt((()=>e()[Symbol.iterator]()))}function Yt(e,n,t){if(function(e){return Array.isArray(e)||ArrayBuffer.isView(e)}(t))return t.reduce(e,n);{let r;for(let i=0,o=t[Symbol.iterator]();r=o.next(),!r.done;i++)n=e(n,r.value,i);return n}}function Zt(e,n){Yt(((n,t)=>{e(t)}),void 0,n)}function Kt(e,n){return zt((()=>{let t=n;const r={next(){const n=e(t);if(null!=n){const e=k(n);if(null!=e)return t=e[1],{done:!1,value:e[0]}}return{done:!0,value:void 0}}};return r}))}function Qt(e,n,t){return 0===function(e,n,t){if(null==n)return null==t?0:-1;if(null==t)return 1;{let e=0,o=0;const u=0|n.length,s=0|t.length;if(u>s)return 1;if(u<s)return-1;for(;e<u&&0===o;)r=n[e],i=t[e],o=p(r,i),e+=1;return 0|o}var r,i}(0,n,t)}function Xt(){return new pn}function er(e){return new pn(e,Xt())}function nr(e,n,t){for(;;){const r=e,i=n,o=t;if(null==o.tail)return i;e=r,n=r(i,o.head),t=o.tail}}function tr(e){return nr(((e,n)=>new pn(n,e)),new pn,e)}function rr(e,n){return tr(nr(((n,t)=>new pn(e(t),n)),new pn,n))}function ir(n){return function(n,t){let r=t;for(let t=function(n){if(e(n))return n.length;{let e=0;for(const t of n)e++;return e}}(n)-1;t>=0;t--)r=new pn(n[t],r);return r}(n,new pn)}Symbol.toStringTag,Symbol.iterator,Symbol.toStringTag,Symbol.iterator;const or=fn;function ur(e){return{Dispose(){e()}}}function sr(e){var n;n=e,Ee((()=>{const e=n();return()=>{e.Dispose()}}))}function lr(e,n){return or.useMemo(e,E(n,[]))}function cr(e){const n=(r=e,or.useRef(r)),t=(i=e=>n.current(e),o=[],or.useCallback(i,E(o,[])));var r,i,o,u,s;return u=()=>{n.current=e},s=e=>(u(),ur((()=>{}))),xe((()=>{const e=s();return()=>{e.Dispose()}})),t}const ar=(()=>{try{"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("testPassiveEventSupport",(e=>{}),{passive:!0}),window.removeEventListener("testPassiveEventSupport",(e=>{})))}catch(e){}return!1})();function fr(e){return x((e=>e.passive&&!ar?{capture:e.capture,once:e.once,passive:!1}:e),e)}function _r(e){return null!=(n=e)?(e=>e.capture?{capture:!0}:void 0)(k(n)):void 0;var n}function hr(e,n){return 0===n.indexOf(e)?n:void 0}function dr(e,n){return Ot(n,e)?n:void 0}function pr(e,n){return function(e){return 1===e?e=>{let n,t,r,i,o,u;return n=hr("/",e),null!=n?(t=n,"#"+t):(r=hr("#/",e),null!=r?(i=r,i):(o=hr("#",e),null!=o?(u=o,"#/"+Tt(u,1,u.length-1)):"#/"+e))}:e=>{let n,t;return n=hr("/",e),null!=n?(t=n,t):"/"+e}}(n)(function(e,n){return Array.isArray(n)?n.join("/"):Array.from(n).join("/")}(0,rr((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function gr(e,n){return function(e){return tr(Yt(((e,n)=>new pn(n,e)),new pn,e))}($t((e=>{if("string"!=typeof(n=e)||/^\s*$/.test(n))return Xt();{const n=function(e,...n){return 0===n.length?e.trimEnd():e.replace(new RegExp("["+function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}(n.join(""))+"]+$"),"")}(e,"#");if("?"===n)return Xt();if(null!=hr("?",n))return er(n);{const e=n.split("?");if(Qt(0,e,null)||1!==e.length){if(Qt(0,e,null)||2!==e.length)return Xt();if(""===e[1]){const n=e[0];return er(decodeURIComponent(n))}{const n=e[0],t=e[1];return ir([decodeURIComponent(n),"?"+t])}}{const n=e[0];return er(decodeURIComponent(n))}}}var n}),ir((null!=hr("#",e)?Tt(e,1,e.length-1):1!==n||null==dr("#",e)&&null==dr("#/",e)?e:"").split("/"))))}const vr=function(e,n,t,r){const i=or.memo(e,m(2,E(w(2,t),null)));return Zt((n=>{e.displayName=n}),C(n)),e=>or.createElement(i,function(e,n){if(null==e)return n;{const t=e;return n.key=t(n),n}}(r,e))}((e=>{const n=cr((n=>{const t=E(e.onUrlChanged,(e=>{}));return function(e,n,t){return n(gr(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(E(e.hashMode,1),t)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",t=e=>{n(e)},r=void 0,i=lr((()=>fr(r)),[r]),o=lr((()=>_r(r)),[r]),u=lr((()=>e=>{t(e)}),[t]);sr(cr((()=>(null==i?window.addEventListener(e,u):window.addEventListener(e,u,i),ur((()=>{null==o?window.removeEventListener(e,u):window.removeEventListener(e,u,o)}))))))}else{const e="popstate",t=n,r=void 0,i=lr((()=>fr(r)),[r]),o=lr((()=>_r(r)),[r]),u=lr((()=>e=>{t(e)}),[t]);sr(cr((()=>(null==i?window.addEventListener(e,u):window.addEventListener(e,u,i),ur((()=>{null==o?window.removeEventListener(e,u):window.removeEventListener(e,u,o)}))))))}const t="CUSTOM_NAVIGATION_EVENT",r=n,i=void 0,o=lr((()=>fr(i)),[i]),u=lr((()=>_r(i)),[i]),s=lr((()=>e=>{r(e)}),[r]);sr(cr((()=>(null==o?window.addEventListener(t,s):window.addEventListener(t,s,o),ur((()=>{null==u?window.removeEventListener(t,s):window.removeEventListener(t,s,u)}))))));const l=e.application;return null==l?null:l}),void 0,void 0,void 0);class mr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Token"]}}class wr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["QueryString"]}}class yr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function br(e){let n,t,r;switch(null!=e.tail?"oidc"===e.head&&null!=e.tail.tail?"callback"===e.tail.head?null!=e.tail.tail.tail&&null==e.tail.tail.tail.tail?(n=1,t=e.tail.tail.head):n=3:"silent-refresh"===e.tail.head&&null!=e.tail.tail.tail&&null==e.tail.tail.tail.tail?(n=2,r=e.tail.tail.head):n=3:n=3:n=0,n){case 0:{const e=window.location.search,n=new URLSearchParams(e),t=n.get("token");if(null==t)return new yr(0);{const e=t;return Zt((e=>{!function(e,n){sessionStorage.setItem("success-redirection-url",n)}(0,e)}),C(n.get("success-redirection-url"))),new yr(1,new mr(0,e))}}case 1:return new yr(2,new wr(0,t));case 2:return new yr(3,new wr(0,r));case 3:return new yr(4)}}class Sr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Ok","Error"]}}class kr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Cr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Started","Finished"]}}class Er extends vn{constructor(e){super(),this.AccessToken=e}}function xr(e){return new Er(e.access_token)}class Or extends vn{constructor(e){super(),this.Auth=e}}class Ar extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class Tr extends vn{constructor(e,n){super(),this.CurrentPage=e,this.Auth=n}}class Pr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["UrlChanged","AuthMsg"]}}class Mr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["DefaultChecked","DefaultValue","Accept","AcceptCharset","AccessKey","Action","AllowFullScreen","AllowTransparency","Alt","aria-atomic","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","Async","AutoComplete","AutoFocus","AutoPlay","Capture","CellPadding","CellSpacing","CharSet","Challenge","Checked","ClassID","ClassName","className","Cols","ColSpan","Content","ContentEditable","ContextMenu","Controls","Coords","CrossOrigin","data-toggle","DateTime","Default","Defer","Dir","Disabled","Download","Draggable","EncType","Form","FormAction","FormEncType","FormMethod","FormNoValidate","FormTarget","FrameBorder","Headers","Height","Hidden","High","Href","HrefLang","HtmlFor","HttpEquiv","Icon","Id","InputMode","Integrity","Is","KeyParams","KeyType","Kind","Label","Lang","List","Loop","Low","Manifest","MarginHeight","MarginWidth","Max","MaxLength","Media","MediaGroup","Method","Min","MinLength","Multiple","Muted","Name","NoValidate","Open","Optimum","Pattern","Placeholder","Poster","Preload","RadioGroup","ReadOnly","Rel","Required","Role","Rows","RowSpan","Sandbox","Scope","Scoped","Scrolling","Seamless","Selected","Shape","Size","Sizes","Span","SpellCheck","Src","SrcDoc","SrcLang","SrcSet","Start","Step","Summary","TabIndex","Target","Title","Type","UseMap","Value","value","Width","Wmode","Wrap","About","Datatype","Inlist","Prefix","Property","Resource","Typeof","Vocab","AutoCapitalize","AutoCorrect","AutoSave","ItemProp","ItemScope","ItemType","ItemID","ItemRef","Results","Security","Unselectable","Custom"]}}function Dr(e,n){return new Mr(64,Yt(((e,n)=>e+" "+n),e,function(e,n){return Jt((()=>Kt((n=>{let t=n.next();for(;!t.done;){const r=e(t.value);if(null!=r)return[k(r),n];t=n.next()}}),n[Symbol.iterator]())))}((e=>{const n=e[0];return e[1]&&"string"==typeof(t=n)&&0!==t.length?n:void 0;var t}),n)))}class Nr extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Nr.prototype)}}function Rr(e){return n=>{if(n.cancelToken.isCancelled)n.onCancel(new Nr);else if(n.trampoline.incrementAndCheck())n.trampoline.hijack((()=>{try{e(n)}catch(e){n.onError(e)}}));else try{e(n)}catch(e){n.onError(e)}}}function Ur(e,n,t){!function(e,n){nr(((n,t)=>{e(t)}),void 0,n)}((t=>{try{t(n)}catch(n){e(n)}}),t)}function Ir(){return Xt()}function Hr(e,n){return rr((n=>t=>{n((n=>{t(e(n))}))}),n)}function Lr(e){return er((n=>{n(e)}))}function jr(e,n,t,r){return er((i=>{e(n).then((e=>i(t(e)))).catch((e=>i(r(e))))}))}new class{Bind(e,n){return function(e,n){return Rr((t=>{e({onSuccess:e=>{try{n(e)(t)}catch(e){t.onError(e)}},onError:t.onError,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}(e,n)}Combine(e,n){return this.Bind(e,(()=>n))}Delay(e){return Rr((n=>e()(n)))}For(e,n){const t=e[Symbol.iterator]();let r=t.next();return this.While((()=>!r.done),this.Delay((()=>{const e=n(r.value);return r=t.next(),e})))}Return(e){return function(e){return Rr((n=>n.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,n){return Rr((t=>{e({onSuccess:e=>{n(),t.onSuccess(e)},onError:e=>{n(),t.onError(e)},onCancel:e=>{n(),t.onCancel(e)},cancelToken:t.cancelToken,trampoline:t.trampoline})}))}TryWith(e,n){return Rr((t=>{e({onSuccess:t.onSuccess,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline,onError:e=>{try{n(e)(t)}catch(e){t.onError(e)}}})}))}Using(e,n){return this.TryFinally(n(e),(()=>e.Dispose()))}While(e,n){return e()?this.Bind(n,(()=>this.While(e,n))):this.Return(void 0)}Zero(){return Rr((e=>e.onSuccess(void 0)))}},new class{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const n=this._id;return this._listeners.set(this._id++,e),n}removeListener(e){return this._listeners.delete(e)}register(e,n){const t=this,r=this.addListener(null==n?e:()=>e(n));return{Dispose(){t.removeListener(r)}}}};class Fr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Writable","ReadWritable"]}}class Wr{constructor(e){var n,t;this.state=new Fr(0,(n=new Array(g(((e,n)=>h(e,n)),e,10)),t=g(((e,n)=>h(e,n)),e,10),n.fill(null,0,0+t)),0)}}function qr(e){const n=e.state;if(1===n.tag){const t=0|n.fields[1],r=0|n.fields[2],i=n.fields[0],o=(r+1)%i.length|0;return e.state=o===t?new Fr(0,i,t):new Fr(1,i,t,o),S(i[r])}}function Vr(e,n){const t=e.state;if(1===t.tag){const o=0|t.fields[1],u=0|t.fields[2],s=t.fields[0];s[o]=n;const l=(o+1)%s.length|0;e.state=l===u?new Fr(1,(r=u,i=s,Array.from(Jt((()=>Gt(function(e,n){return zt((()=>{const t=n[Symbol.iterator]();for(let n=1;n<=e;n++)if(t.next().done)throw new Error("Seq has not enough elements");return t}))}(r,i),Jt((()=>Gt(function(e,n,t=!1){return Jt((()=>{const r=n[Symbol.iterator]();return Kt((n=>{if(n<e){const e=r.next();if(!e.done)return[e.value,n+1];if(!t)throw new Error("Seq has not enough elements")}}),0)}))}(r,i),Jt((()=>{return $t((e=>Jt((()=>[null]))),(e=i.length,Jt((()=>Kt((n=>n<=e?[n,n+1]:void 0),0)))));var e})))))))))),s.length,0):new Fr(1,s,l,u)}else{const r=0|t.fields[1],i=t.fields[0];i[r]=n;const o=(r+1)%i.length|0;e.state=new Fr(1,i,o,r)}var r,i}class Br extends vn{constructor(e,n,t,r,i,o,u){super(),this.init=e,this.update=n,this.subscribe=t,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=u}}function zr(e,n){const t=n.init(e),r=t[0],i=new Wr(10);let o=!1,u=r;const s=function(e,n,t){if(null!=n){if(v in n){n=n.__CURRIED__;for(let e=0;e<t.length;e++)n=n(t[e]);return n}return e=>n.apply(void 0,t.concat([e]))}}(0,n.syncDispatch,[e=>{if(o)Vr(i,e);else{o=!0;let t=S(e);for(;null!=t;){const e=k(t);try{const t=n.update(e,u),r=t[0];n.setState(r,s),Ur((t=>{n.onError([kt(St("Error in command while handling: %A"))(e),t])}),s,t[1]),u=r}catch(t){n.onError([kt(St("Unable to process the message: %A"))(e),t])}t=qr(i)}o=!1}}]);var l,c;n.setState(r,s),Ur((e=>{n.onError(["Error intitializing:",e])}),s,(l=ir([(()=>{try{return n.subscribe(r)}catch(e){return n.onError(["Unable to subscribe:",e]),Ir()}})(),t[1]]),c=l,tr(Yt(((e,n)=>nr(((e,n)=>new pn(n,e)),e,n)),new pn,c))))}class Gr extends vn{constructor(e,n,t){super(),this.model=e,this.render=n,this.equal=t}}class $r extends z{constructor(e){super(e)}shouldComponentUpdate(e,n){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}const Jr=(()=>{const e={};return e.store=S(window.sessionStorage),e})();function Yr(){return new UserManager(function(){const e=function(e){return Ot(e,"/")?e:e+"/"}(window.location.origin+window.location.pathname),n={};return n.authority=A,n.client_id="apollo-bank-details-ui",n.redirect_uri=e+"#/oidc/callback?",n.response_type="id_token token",n.scope="openid profile",n.automaticSilentRenew=!0,n.silent_redirect_uri=S(e+"#/oidc/silent-refresh?"),n.post_logout_redirect_uri=e+"#/oidc/logout?",n.accessTokenExpiringNotificationTime=10,n.filterProtocolClaims=!0,n.loadUserInfo=!1,n.clockSkew=2592e3,n.userStore=new WebStorageStateStore(Jr),n}())}function Zr(e){return e.length>0?Tt(e,1):e}function Kr(){return Yr().getUser()}var Qr;!function(e){zr(void 0,e)}(("bank-details-app",Qr=function(e,n,t){return new Br((function(){const e=br(gr(window.location.hash,1)),n=function(){const e=br(gr(window.location.hash,1));return[new Or(new kr(0)),1===e.tag?Lr(new Ar(1,new Cr(0),e.fields[0])):2===e.tag?Lr(new Ar(2,new Cr(0),e.fields[0])):3===e.tag?Lr(new Ar(3,new Cr(0),e.fields[0])):Lr(new Ar(0,new Cr(0)))]}();return[new Tr(e,n[0]),Hr((e=>new Pr(1,e)),n[1])]}),n,(e=>Ir()),t,((e,n)=>{t(e,n)}),(e=>{var n,t;n=e[0],t=e[1],console.error(S(n),t)}),m(2,(e=>e)))}(0,((e,n)=>function(e,n){if(1===e.tag){const t=function(e,n){const t=e=>[new Or(new kr(2,new Sr(1,e))),Ir()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[n,Ir()]:[new Or(new kr(1)),(r=e=>{return n=e,Yr().signinRedirect(S({extraQueryParams:{irt:n.fields[0]}}));var n},i=e.fields[1],o=n=>new Ar(1,new Cr(1,new Sr(1,n.message)),e.fields[1]),er((e=>{r(i).catch((n=>{e(o(n))}))})))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new Or(new kr(2,new Sr(0,xr(e.fields[0].fields[0].fields[0])))),er((e=>{!function(e,n,t){history.pushState(void 0,"",pr(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(er(""))}))]:[new Or(new kr(1)),jr((e=>{return n=e,Yr().signinRedirectCallback(Zr(n.fields[0]));var n}),e.fields[1],(n=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new Ar(2,new Cr(1,new Sr(0,n)),e.fields[1]))),(n=>new Ar(2,new Cr(1,new Sr(1,n.message)),e.fields[1])))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?t("silent refresh expected a user but got none"):[new Or(new kr(2,new Sr(0,xr(e.fields[0].fields[0].fields[0])))),Ir()]:[n,jr((e=>{return n=e,Yr().signinSilentCallback(Zr(n.fields[0]));var n}),e.fields[1],(n=>new Ar(3,new Cr(1,new Sr(0,n)),e.fields[1])),(n=>new Ar(3,new Cr(1,new Sr(1,n.message)),e.fields[1])))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?t("expected a user but got none"):[new Or(new kr(2,new Sr(0,xr(e.fields[0].fields[0].fields[0])))),Ir()]:[new Or(new kr(1)),jr(Kr,void 0,(e=>new Ar(0,new Cr(1,new Sr(0,e)))),(e=>new Ar(0,new Cr(1,new Sr(1,e.message)))))];var r,i,o}(e.fields[0],n.Auth);return[new Tr(n.CurrentPage,t[0]),Hr((e=>new Pr(1,e)),t[1])]}return[new Tr(br(e.fields[0]),n.Auth),Ir()]}(e,n)),((e,n)=>function(e,n){let t;const r=[T,A];let i,o;switch(null!=r[0]&&null!=r[1]?(i=0,o=r[0]):i=1,i){case 0:switch(e.CurrentPage.tag){case 1:case 2:case 3:t=q("div",{},"Please wait...");break;case 4:t=q("h1",{},"Not found");break;default:{const n=e.Auth.Auth;let r,i;switch(2===n.tag&&0===n.fields[0].tag?(r=0,i=n.fields[0].fields[0]):r=1,r){case 0:u=[],t=q("bank-component",xn([new On(0,o),new On(1,i.AccessToken)],1),...u);break;case 1:t=q("h1",{},"Unauthorised")}}}break;case 1:t=q("h1",{},"Invalid attribute configuration")}var u,s;return vr({onUrlChanged:e=>{n(new Pr(0,e))},application:q(B,{},q("div",xn([(s=[["container-lg",!0],["p-5",!0]],Dr("",s))],1),t))})}(e,n))),function(e,n,t){return function(e,n){return new Br(n.init,n.update,n.subscribe,y(2,n.view),e,n.onError,n.syncDispatch)}(((r,i)=>{Xe(e(((e,n)=>e===n),m(2,function(e){return w(2,y(2,e.view))}(t)),r,i),document.getElementById(n))}),t)}(((e,n,t,r)=>function(e,n,t,r){return q($r,new Gr(t,(()=>n(t,r)),e))}(e,n,t,r)),"bank-details-app",Qr)))})();
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)))})();
2
2
  //# sourceMappingURL=bank-details-app.js.map